* {
  box-sizing: border-box;
}

body {
  background-color: #f4fbff;
  font-family: Arial, sans-serif;
}
body {
  margin: 0;
  font-family: "Poppins", Arial, Helvetica, sans-serif;
  background-color: #f4f9fc;
  color: #22384a;
  line-height: 1.7;
}

/* Header */
header {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.85), transparent 22%),
    radial-gradient(circle at 80% 15%, rgba(255, 255, 255, 0.55), transparent 20%),
    linear-gradient(135deg, #eaf7ff, #cfe8f6, #dbe9f0);
  color: #22384a;
  text-align: center;
  padding: 48px 20px 30px;
  border-bottom: 5px solid #6fa8c9;
  position: relative;
  overflow: hidden;
}

/* 60s style thin lines */
header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      120deg,
      rgba(255, 255, 255, 0.22) 0px,
      rgba(255, 255, 255, 0.22) 2px,
      transparent 2px,
      transparent 18px
    );
  opacity: 0.45;
  pointer-events: none;
}

/* Soft wave */
header::after {
  content: "";
  position: absolute;
  left: -5%;
  bottom: -35px;
  width: 110%;
  height: 80px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 50% 50% 0 0;
  pointer-events: none;
}

/* Bring text and navigation forward */
.site-title,
nav {
  position: relative;
  z-index: 1;
}

/* Site Title */
.site-title h1 {
  margin: 0;
  font-family: "Satisfy", cursive;
  font-size: 4.4rem;
  font-weight: normal;
  color: #e5e8ec;
  letter-spacing: 1px;
  text-shadow:
    2px 2px 0 #4f9fc7,
    4px 4px 8px rgba(34, 56, 74, 0.28);
  transform: rotate(-1deg);
}

.site-title p {
  margin: 8px 0;
  font-size: 1rem;
  font-weight: 500;
  color: #22384a;
}

.jp-subtitle {
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: #2f4f66;
}

/* Creator Note */
.creator-note {
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #6a7680;
  letter-spacing: 0.5px;
}

.creator-note.japanese {
  margin-top: 2px;
  font-size: 0.82rem;
}

/* Navigation - button style */
nav {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 15px 20px;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  background-color: #4f9fc7;
  padding: 9px 16px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(47, 111, 149, 0.18);
}

nav a:hover {
  background-color: #2f6f95;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Main */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 20px;
}

/* Hero Section */
.hero {
  text-align: center;
  margin-top: 25px;
  margin-bottom: 40px;
  padding: 0 20px;
}

.hero-photo-frame {
  max-width: 950px;
  height: 300px;
  margin: 0 auto;
  padding: 0;
  border-radius: 28px;
  box-shadow: 0 10px 24px rgba(34, 56, 74, 0.22);
  position: relative;
  overflow: hidden;
  display: block;
  background-color: #efe4d2;
}

.hero-photo-frame::before {
  display: none;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 48%;
  display: block;
  border: none;
  outline: none;
  border-radius: 28px;
  box-shadow: none;
  filter: sepia(12%) contrast(1.05) brightness(1.03);
  animation: gentlePhotoMove 8s ease-in-out infinite;
}

.hero-text {
  margin-top: 22px;
}

.hero-text h2 {
  color: #2d7197;
  font-size: 1.9rem;
  margin-bottom: 8px;
}

.hero-text p {
  color: #4f6f86;
}

/* Page Banner */
.page-banner {
  max-width: 950px;
  margin: 35px auto;
  padding: 0 20px;
  text-align: center;
  overflow: hidden;
  border-radius: 24px;
}

.page-banner img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 24px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

/* Moving Banner */
.moving-banner img {
  animation: fanBannerMove 8s ease-in-out infinite alternate;
  transform-origin: center;
}

/* Content Cards */
.content-card {
  background-color: #ffffff;
  border-left: 6px solid #9ccbe2;
  border-radius: 18px;
  padding: 28px;
  margin: 28px auto;
  box-shadow: 0 6px 16px rgba(79, 159, 199, 0.14);
}

.content-card h2 {
  color: #2f6f95;
  margin-top: 0;
  font-size: 1.8rem;
}

.content-card h3 {
  color: #4f9fc7;
}

.content-card p {
  color: #34404a;
}

.content-card ul {
  padding-left: 24px;
}

.content-card li {
  margin-bottom: 8px;
}

/* Japanese Text */
.japanese {
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

/* Welcome Section */
.welcome-section {
  max-width: 950px;
  margin: 40px auto;
  padding: 0 20px;
}

.welcome-card {
  background-color: rgba(255, 255, 255, 0.94);
  padding: 35px 45px;
  margin-bottom: 35px;
  border-radius: 22px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border-left: 6px solid #8fc7e8;
}

.welcome-card h2 {
  text-align: center;
  color: #2d7197;
  font-size: 2rem;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.welcome-card p {
  text-align: left;
  line-height: 1.9;
  font-size: 1.05rem;
  color: #1f2f3f;
  margin-bottom: 18px;
}

.welcome-card.japanese p {
  line-height: 2.1;
  font-size: 1rem;
}

/* Home Page Link Boxes */
.link-boxes {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 35px 0;
  flex-wrap: wrap;
}

.box {
  background-color: #ffffff;
  color: #34404a;
  text-decoration: none;
  padding: 25px;
  width: 260px;
  text-align: center;
  border-radius: 20px;
  border: 2px solid #b8ebe7;
  font-size: 1.2rem;
  font-weight: 600;
  box-shadow: 0 6px 14px rgba(101, 198, 196, 0.18);
  transition: 0.3s;
}

.box span {
  font-size: 0.95rem;
  color: #6a7680;
}

.box:hover {
  background-color: #fff6c9;
  transform: translateY(-4px);
}

/* Gallery Page */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.gallery-grid figure {
  background-color: #ffffff;
  padding: 15px;
  border-radius: 18px;
  margin: 0;
  box-shadow: 0 6px 14px rgba(101, 198, 196, 0.15);
}

.gallery-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
}

.gallery-grid figcaption {
  text-align: center;
  margin-top: 10px;
  font-weight: 600;
  color: #4f5e68;
}

/* Memory and Note Boxes */
.memory-card,
.note-box {
  background-color: #f5fbfb;
  border-radius: 18px;
  padding: 25px;
  margin: 30px auto;
  border: 1px solid #d7ecec;
  box-shadow: 0 4px 12px rgba(101, 198, 196, 0.12);
}

.memory-card h3,
.note-box h3 {
  color: #f26b8a;
  margin-top: 0;
}

/* Fan Memories Page */
.fan-intro {
  border-left: 6px solid #f2a7bc;
}

.fashion-card {
  border-left: 6px solid #8cc8e8;
  background: linear-gradient(135deg, #fff8fb, #f8fcff);
}

.fan-message {
  border-left: 6px solid #dca4d6;
  background: linear-gradient(135deg, #fffaf3, #fff7fb);
}

.memory-prompts {
  border-left: 6px solid #8fc7e8;
  background: linear-gradient(135deg, #ffffff, #f7fbff);
}

.memory-prompts ul,
.japanese-list {
  list-style: none;
  padding-left: 0;
  margin-top: 16px;
}

.memory-prompts li,
.japanese-list li {
  background-color: #f6fbff;
  margin-bottom: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  border-left: 4px solid #8fc7e8;
  color: #34495e;
}

.memory-prompts li::before,
.japanese-list li::before {
  content: "♡ ";
  color: #6aaed6;
  font-weight: bold;
}

/* Movie Links */
.movie-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.movie-links a {
  display: inline-block;
  background-color: #2d7197;
  color: white;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 25px;
  font-weight: 600;
  transition: 0.3s;
}

.movie-links a:hover {
  background-color: #174c69;
  transform: translateY(-2px);
}

/* Small Memory Photo */
.memory-photo,
.tiny-memory-photo,
.small-memory-photo {
  max-width: 260px;
  margin: 30px auto;
  text-align: center;
}

.memory-photo img,
.tiny-memory-photo img,
.small-memory-photo img {
  width: 220px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.photo-caption,
.memory-photo .photo-caption,
.tiny-memory-photo .photo-caption,
.small-memory-photo .photo-caption {
  font-size: 0.8rem;
  margin-top: 8px;
  color: #5f6f7a;
  font-style: italic;
}

.photo-caption.japanese,
.memory-photo .photo-caption.japanese,
.tiny-memory-photo .photo-caption.japanese,
.small-memory-photo .photo-caption.japanese {
  font-style: normal;
}

/* Journal Page */
.journal-intro {
  border-left: 6px solid #8fc7e8;
}

.journal-note {
  border-left: 6px solid #d6b16a;
  background: linear-gradient(135deg, #ffffff, #fffaf1);
}

.journal-intro h2,
.journal-note h2 {
  color: #2d7197;
}

/* Header Drum Image */
.header-drum {
  position: absolute;
  top: 25px;
  left: 45px;
  width: 150px;
  height: auto;
  z-index: 2;
  opacity: 0.95;
  filter: drop-shadow(0 6px 10px rgba(34, 56, 74, 0.22));
  animation: drumHitAndPause 2s ease-in-out infinite;
}

/* General Links */
a {
  color: #f26b8a;
}

a:hover {
  color: #65c6c4;
}

/* Footer */
footer {
  text-align: center;
  background-color: #cfe8f6;
  color: #22384a;
  padding: 25px 20px;
  margin-top: 40px;
  border-top: 5px solid #6fa8c9;
}

footer p {
  margin: 6px 0;
}

/* Animations */
@keyframes gentlePhotoMove {
  0% {
    transform: scale(1) translateY(0);
  }

  50% {
    transform: scale(1.03) translateY(-6px);
  }

  100% {
    transform: scale(1) translateY(0);
  }
}

@keyframes softOceanMove {
  0% {
    transform: scale(1.05) translateX(0);
  }

  50% {
    transform: scale(1.08) translateX(-12px);
  }

  100% {
    transform: scale(1.05) translateX(0);
  }
}

@keyframes drumHitAndPause {
  0% {
    transform: translate(0, 0) rotate(-5deg);
  }

  8% {
    transform: translate(18px, 12px) rotate(10deg);
  }

  16% {
    transform: translate(-8px, 20px) rotate(-8deg);
  }

  24% {
    transform: translate(12px, 8px) rotate(7deg);
  }

  32% {
    transform: translate(0, 0) rotate(-5deg);
  }

  100% {
    transform: translate(0, 0) rotate(-5deg);
  }
}

@keyframes fanBannerMove {
  0% {
    transform: scale(1) translateY(0);
  }

  50% {
    transform: scale(1.03) translateY(-6px);
  }

  100% {
    transform: scale(1.01) translateY(4px);
  }
}

/* Mobile Design */
@media screen and (max-width: 700px) {
  .site-title h1 {
    font-size: 2.8rem;
  }

  .site-title p {
    font-size: 0.95rem;
  }

  nav {
    gap: 8px;
    padding: 12px 10px 18px;
  }

  nav a {
    font-size: 0.86rem;
    padding: 8px 13px;
  }

  .hero-photo-frame {
    height: 220px;
  }

  .hero-text {
    margin: 18px auto 0;
  }

  .hero-text h2 {
    font-size: 1.5rem;
  }

  .welcome-card {
    padding: 28px 24px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    height: 220px;
  }

  .box {
    width: 90%;
  }

  .page-banner {
    padding: 0 12px;
  }

  .moving-banner img {
    animation: none;
  }

  .header-drum {
    width: 90px;
    top: 18px;
    left: 18px;
  }
}
/* Featured Journal Button on Home */
.journal-feature {
  max-width: 760px;
  margin: 45px auto;
  padding: 34px 38px;
  text-align: center;
  background: linear-gradient(135deg, #ffffff, #fff8e8);
  border-radius: 24px;
  border: 2px solid #e7c77d;
  box-shadow: 0 10px 26px rgba(150, 110, 40, 0.14);
}

.journal-feature h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-family: "Satisfy", cursive;
  font-size: 2.7rem;
  color: #2d7197;
}

.journal-feature p {
  margin: 8px 0;
  color: #34404a;
  font-size: 1rem;
}

.journal-button {
  display: inline-block;
  margin-top: 22px;
  background-color: #d69b36;
  color: #ffffff;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 28px;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(150, 110, 40, 0.22);
  transition: 0.3s;
}

.journal-button:hover {
  background-color: #b87d22;
  color: #ffffff;
  transform: translateY(-3px);
}
/* Suzuran Flower Image on Journal Page */
.journal-flower {
  max-width: 900px;
  margin: 35px auto 25px;
  padding: 0 20px;
  text-align: center;
}

.journal-flower img {
  width: 100%;
  height: 260px;
  display: block;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(47, 111, 149, 0.15);
  object-fit: cover;
  object-position: center;
}
.heart-image {
  max-width: 950px;
  margin: 30px auto;
  text-align: center;
}

.heart-image img {
  width: 100%;
  height: 280px;
  display: block;
  border-radius: 24px;
  object-fit: cover;
  object-position: center 65%;
  filter: brightness(1.35) contrast(1.05) saturate(1.55) sepia(0.2) hue-rotate(320deg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.gallery-grid {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.gallery-grid figure {
  margin: 0;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-grid figure:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.gallery-grid img {
  width: 100%;
  height: 260px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.gallery-grid figcaption {
  padding: 16px;
  text-align: center;
  font-weight: 600;
  color: #315f7a;
  background: #fff8fb;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    height: 240px;
  }
}
.gallery-grid figure.family-trip-photo img {
  object-position: center top;
}
.gallery-category-grid {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.gallery-category-card {
  display: block;
  text-decoration: none;
  color: #233;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
}

.gallery-category-card img {
  width: 100%;
  height: 230px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.gallery-category-card.family-trip-photo img {
  object-position: center top;
}

.gallery-category-card h3 {
  margin: 18px 16px 6px;
  color: #315f7a;
  font-size: 1.3rem;
  text-align: center;
}

.gallery-category-card p {
  margin: 0 16px 20px;
  text-align: center;
  color: #555;
  font-size: 0.95rem;
}

.photo-gallery-grid {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.photo-gallery-grid figure {
  margin: 0;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
}

.photo-gallery-grid img {
  width: 100%;
  height: 260px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.photo-gallery-grid figcaption {
  padding: 16px;
  text-align: center;
  font-weight: 600;
  color: #315f7a;
  background: #fff8fb;
}

.back-link {
  text-align: center;
  margin: 40px auto;
}

.back-link a {
  display: inline-block;
  padding: 12px 24px;
  background: #315f7a;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
}

.back-link a:hover {
  background: #24495f;
}

@media (max-width: 900px) {
  .gallery-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-category-grid {
    grid-template-columns: 1fr;
  }

  .photo-gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-category-card img,
  .photo-gallery-grid img {
    height: 240px;
  }
}
.heart-image {
  max-width: 950px;
  margin: 30px auto 40px;
  padding: 0 24px;
  text-align: center;
}

.heart-image img {
  width: 100%;
  height: 280px;
  display: block;
  border-radius: 24px;
  object-fit: cover;
  object-position: center 65%;
  filter: brightness(1.35) contrast(1.05) saturate(1.55) sepia(0.2) hue-rotate(320deg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.email-button {
  display: inline-block;
  margin-top: 22px;
  padding: 13px 26px;
  background: #315f7a;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
  transition: transform 0.3s ease, background 0.3s ease;
}

.email-button:hover {
  background: #24495f;
  transform: translateY(-3px);
}
.email-button {
  display: inline-block;
  margin-top: 22px;
  padding: 13px 26px;
  background: #315f7a;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
  transition: transform 0.3s ease, background 0.3s ease;
}

.email-button:hover {
  background: #24495f;
  transform: translateY(-3px);
}

.heart-image {
  max-width: 950px;
  margin: 30px auto 40px;
  padding: 0 24px;
  text-align: center;
}

.heart-image img {
  width: 100%;
  height: 280px;
  display: block;
  border-radius: 24px;
  object-fit: cover;
  object-position: center 65%;
  filter: brightness(1.35) contrast(1.05) saturate(1.55) sepia(0.2) hue-rotate(320deg);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.memory-section {
  max-width: 950px;
  margin: 40px auto;
  padding: 0 24px;
}

.memory-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 22px;
  padding: 28px;
  margin-bottom: 26px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
}

.memory-card h3 {
  color: #315f7a;
  margin-top: 0;
}

.memory-card p {
  line-height: 1.8;
}
.qa-section {
  max-width: 950px;
  margin: 40px auto;
  padding: 0 24px;
}

.qa-card {
  background: rgba(255, 255, 255, 0.94);
  border-left: 6px solid #8fc7e8;
  border-radius: 22px;
  padding: 28px;
  margin-bottom: 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
}

.qa-card h3 {
  color: #315f7a;
  margin-top: 0;
}

.qa-card p {
  line-height: 1.8;
}
.music-link-section {
  border-left: 6px solid #f2a7bc;
  background: linear-gradient(135deg, #ffffff, #fff8fb);
}

.music-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.music-button {
  display: inline-block;
  padding: 13px 22px;
  background-color: #315f7a;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
  transition: transform 0.3s ease, background 0.3s ease;
}

.music-button:hover {
  background-color: #24495f;
  color: white;
  transform: translateY(-3px);
}
/* Only adjust Childhood Gallery image 2 and image 5 */
.childhood-page .photo-gallery-grid figure:nth-of-type(2) img,
.childhood-page .photo-gallery-grid figure:nth-of-type(5) img {
  object-position: center top;
}
/* Show full Family Memory 2 photo without cutting faces */
.family-2-full {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
}
.photo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: start;
}

.photo-gallery-grid figure {
  margin: 0;
  padding: 18px 18px 22px;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(40, 60, 80, 0.10);
}

.photo-gallery-grid figure::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  bottom: 85px;
  background: rgba(210, 190, 170, 0.28);
  filter: blur(26px);
  border-radius: 24px;
  z-index: 0;
}

.photo-gallery-grid figure img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  border-radius: 20px;
  border: 10px solid #f7f1ea;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
  object-fit: contain;
}

.photo-gallery-grid figure figcaption {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  text-align: center;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.5;
  color: #2f5d7e;
}
.photo-gallery-grid figcaption {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.8;
  color: #315f78;
}
/* Soft Japanese font for memory text */
.japanese,
.jp-subtitle,
.content-card .japanese,
.photo-gallery-grid figcaption {
  font-family: "Zen Maru Gothic", "Yu Gothic", Meiryo, sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.04em !important;
  line-height: 1.9 !important;
}

/* Photo captions */
.photo-gallery-grid figcaption {
  color: #315f78 !important;
  font-size: 1rem !important;
}
/* Make individual gallery photos larger */
.photo-gallery-grid {
  max-width: 1250px !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 34px !important;
}

.photo-gallery-grid figure {
  padding: 22px 22px 26px !important;
}

.photo-gallery-grid figure img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  border-radius: 22px !important;
}

/* Keep mobile view clean */
@media (max-width: 700px) {
  .photo-gallery-grid {
    grid-template-columns: 1fr !important;
    padding: 0 16px !important;
  }
}
/* Special Thanks section */
.special-thanks {
  background: linear-gradient(135deg, #fffaf0, #eef8ff);
  border: 2px solid rgba(214, 180, 95, 0.55);
  box-shadow: 0 16px 34px rgba(75, 95, 120, 0.18);
  position: relative;
  overflow: hidden;
}

.special-thanks::before {
  content: "Thank You";
  position: absolute;
  top: 18px;
  right: 28px;
  font-family: "Satisfy", cursive;
  font-size: 3rem;
  color: rgba(205, 165, 80, 0.18);
  transform: rotate(-8deg);
  pointer-events: none;
}

.special-thanks h2 {
  color: #8a6a2f;
  font-family: "Satisfy", cursive;
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 8px;
}

.special-subtitle {
  text-align: center;
  color: #315f78;
  font-family: "Zen Maru Gothic", "Yu Gothic", Meiryo, sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 28px;
}

.special-thanks .japanese {
  font-family: "Zen Maru Gothic", "Yu Gothic", Meiryo, sans-serif;
  color: #2f5268;
  line-height: 2;
  letter-spacing: 0.04em;
}
/* Responsive design for mobile */
@media (max-width: 700px) {

  body {
    font-size: 15px;
  }

  header {
    padding: 24px 14px 18px;
  }

  .site-title h1 {
    font-size: 2.2rem !important;
    line-height: 1.1;
  }

  .site-title p {
    font-size: 0.95rem !important;
  }

  .jp-subtitle {
    font-size: 0.9rem !important;
    line-height: 1.6;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 10px 8px;
  }

  nav a {
    font-size: 0.85rem !important;
    padding: 7px 10px !important;
  }

  main {
    padding: 18px 12px;
  }

  .content-card,
  .note-box,
  .special-thanks,
  .official-movie-links {
    width: 100%;
    max-width: 100%;
    padding: 22px 18px !important;
    margin: 22px auto !important;
    border-radius: 20px !important;
  }

  .content-card h2,
  .note-box h2 {
    font-size: 1.45rem !important;
    line-height: 1.3;
  }

  .content-card p,
  .note-box p,
  .japanese {
    font-size: 0.95rem !important;
    line-height: 1.8 !important;
  }

  .page-banner {
    margin: 18px auto 22px;
    padding: 0 10px;
  }

  .page-banner img {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
    border-radius: 18px;
  }

  .movie-links {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .movie-links a {
    width: 100%;
    font-size: 0.9rem !important;
    padding: 11px 14px !important;
    text-align: center;
    border-radius: 18px !important;
  }

  .special-thanks::before {
    font-size: 2rem !important;
    top: 10px;
    right: 12px;
  }

  .special-thanks h2 {
    font-size: 2rem !important;
  }

  .special-subtitle {
    font-size: 0.95rem !important;
    line-height: 1.6;
  }

  footer {
    padding: 24px 14px;
  }

  footer p {
    font-size: 0.9rem;
  }
}
/* Smaller mobile layout */
@media (max-width: 700px) {

  body {
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  header {
    padding: 18px 10px 14px !important;
  }

  .site-title h1 {
    font-size: 1.9rem !important;
    line-height: 1.05 !important;
  }

  .site-title p,
  .jp-subtitle,
  .creator-note {
    font-size: 0.78rem !important;
    line-height: 1.4 !important;
    margin: 4px 0 !important;
  }

  nav {
    gap: 6px !important;
    padding: 8px 6px 12px !important;
  }

  nav a {
    font-size: 0.75rem !important;
    padding: 6px 9px !important;
    border-radius: 18px !important;
  }

  main {
    padding: 12px 10px !important;
  }

  .hero {
    margin-top: 14px !important;
    margin-bottom: 24px !important;
    padding: 0 8px !important;
  }

  .hero-photo-frame {
    height: 180px !important;
    border-radius: 20px !important;
  }

  .hero-photo-frame img {
    border-radius: 20px !important;
  }

  .hero-text h2 {
    font-size: 1.25rem !important;
    margin-bottom: 5px !important;
  }

  .hero-text p {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
  }

  .welcome-section,
  .memory-section,
  .qa-section {
    margin: 22px auto !important;
    padding: 0 10px !important;
  }

  .welcome-card,
  .content-card,
  .memory-card,
  .note-box,
  .special-thanks,
  .journal-feature {
    padding: 18px 15px !important;
    margin: 18px auto !important;
    border-radius: 16px !important;
  }

  .welcome-card h2,
  .content-card h2,
  .note-box h2,
  .journal-feature h2 {
    font-size: 1.25rem !important;
    line-height: 1.25 !important;
    margin-bottom: 12px !important;
  }

  .welcome-card p,
  .content-card p,
  .memory-card p,
  .note-box p,
  .journal-feature p,
  .japanese {
    font-size: 0.84rem !important;
    line-height: 1.6 !important;
    margin-bottom: 11px !important;
  }

  .page-banner {
    margin: 14px auto 18px !important;
    padding: 0 8px !important;
  }

  .page-banner img {
    max-height: 210px !important;
    border-radius: 16px !important;
  }

  .journal-button,
  a.journal-button,
  a.journal-button:link,
  a.journal-button:visited {
    font-size: 0.82rem !important;
    padding: 10px 20px !important;
    border-radius: 24px !important;
    margin-top: 14px !important;
  }

  .header-drum {
    width: 70px !important;
    top: 12px !important;
    left: 12px !important;
  }

  footer {
    padding: 18px 10px !important;
    margin-top: 24px !important;
  }

  footer p {
    font-size: 0.78rem !important;
    line-height: 1.4 !important;
  }
}
/* FINAL strong mobile text-size fix */
@media screen and (max-width: 900px) {

  html,
  body {
    font-size: 12px !important;
    line-height: 1.4 !important;
    -webkit-text-size-adjust: 100%;
  }

  header {
    padding: 12px 8px 10px !important;
  }

  .site-title h1 {
    font-size: 1.45rem !important;
    line-height: 1.05 !important;
    margin: 0 0 4px !important;
  }

  .site-title p,
  .jp-subtitle,
  .creator-note,
  .creator-note.japanese {
    font-size: 0.68rem !important;
    line-height: 1.35 !important;
    margin: 2px 0 !important;
  }

  nav {
    gap: 4px !important;
    padding: 6px 4px 8px !important;
    margin-top: 8px !important;
  }

  nav a {
    font-size: 0.64rem !important;
    padding: 5px 7px !important;
    border-radius: 14px !important;
  }

  main {
    padding: 8px 7px !important;
  }

  .hero {
    margin-top: 8px !important;
    margin-bottom: 14px !important;
    padding: 0 4px !important;
  }

  .hero-photo-frame {
    height: 140px !important;
    border-radius: 14px !important;
  }

  .hero-text h2 {
    font-size: 0.95rem !important;
    line-height: 1.2 !important;
    margin: 8px 0 4px !important;
  }

  .hero-text p {
    font-size: 0.7rem !important;
    line-height: 1.4 !important;
  }

  .welcome-section,
  .memory-section,
  .qa-section {
    margin: 12px auto !important;
    padding: 0 5px !important;
  }

  .welcome-card,
  .content-card,
  .memory-card,
  .note-box,
  .qa-card,
  .special-thanks,
  .journal-feature {
    padding: 12px 10px !important;
    margin: 12px auto !important;
    border-radius: 14px !important;
  }

  .welcome-card h2,
  .content-card h2,
  .note-box h2,
  .memory-card h3,
  .qa-card h3,
  .journal-feature h2,
  .special-thanks h2 {
    font-size: 0.95rem !important;
    line-height: 1.25 !important;
    margin-bottom: 7px !important;
  }

  p,
  li,
  .welcome-card p,
  .content-card p,
  .memory-card p,
  .note-box p,
  .qa-card p,
  .journal-feature p,
  .special-thanks p,
  .japanese {
    font-size: 0.68rem !important;
    line-height: 1.45 !important;
    margin-bottom: 7px !important;
  }

  .page-banner {
    margin: 8px auto 12px !important;
    padding: 0 4px !important;
  }

  .page-banner img {
    max-height: 160px !important;
    border-radius: 12px !important;
  }

  .journal-button,
  a.journal-button,
  a.journal-button:link,
  a.journal-button:visited,
  .email-button,
  .music-button,
  .movie-links a,
  .back-link a {
    font-size: 0.68rem !important;
    padding: 7px 13px !important;
    border-radius: 18px !important;
    margin-top: 8px !important;
  }

  .header-drum {
    width: 50px !important;
    top: 7px !important;
    left: 7px !important;
  }

  footer {
    padding: 12px 8px !important;
    margin-top: 14px !important;
  }

  footer p {
    font-size: 0.65rem !important;
    line-height: 1.35 !important;
  }
}
