*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --teal: #4EA99E;
  --teal-light: #3DB8A9;
  --teal-soft: #E8F5F3;
  --teal-bg: #F0FAF8;
  --white: #FFFFFF;
  --warm-white: #FAFAF8;
  --sand: #F7F0E4;
  --sand-light: #FBF7F0;
  --dark: #1A1A1A;
  --dark-secondary: #3A3A3A;
  --gray: #6B6B6B;
  --gray-light: #9A9A9A;
  --gray-border: #E8E8E4;
  --serif: 'Shippori Mincho B1', 'YuMincho', '游明朝', serif;
  --serif-en: 'DM Serif Display', 'Georgia', serif;
  --sans: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', sans-serif;
  --sans-en: 'DM Sans', 'Zen Kaku Gothic New', sans-serif;
  --nav-height: 72px;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--sans); font-weight: 400; color: var(--dark); background: var(--warm-white); line-height: 1.8; font-size: 15px; overflow-x: hidden; letter-spacing: 0.03em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 900px; margin: 0 auto; padding: 0 24px; }

.fade-in { opacity: 0; transform: translateY(32px); transition: opacity 0.8s cubic-bezier(0.25,0.1,0.25,1), transform 0.8s cubic-bezier(0.25,0.1,0.25,1); }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nav-height); display: flex; align-items: center; background: rgba(250,250,248,0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 1px 0 rgba(0,0,0,0.06); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.nav__logo { font-family: var(--serif); font-size: 17px; font-weight: 500; letter-spacing: 0.1em; color: var(--dark); }
.nav__logo span { font-weight: 600; letter-spacing: 0.08em; }
.nav__links { display: flex; gap: 32px; list-style: none; }
.nav__links a { font-size: 13px; font-weight: 400; letter-spacing: 0.04em; color: var(--dark-secondary); transition: color 0.3s ease; position: relative; }
.nav__links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--teal); transition: width 0.3s ease; }
.nav__links a:hover { color: var(--teal); }
.nav__links a:hover::after { width: 100%; }
.nav__hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.nav__hamburger span { display: block; width: 20px; height: 1.5px; background: var(--dark); transition: transform 0.3s ease, opacity 0.3s ease; }
.nav__hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; }
.nav__hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.nav__mobile { display: none; position: fixed; top: var(--nav-height); left: 0; right: 0; bottom: 0; background: rgba(250,250,248,0.98); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); z-index: 999; padding: 40px 24px; }
.nav__mobile.active { display: flex; flex-direction: column; gap: 0; }
.nav__mobile a { font-size: 18px; font-weight: 400; padding: 20px 0; border-bottom: 1px solid var(--gray-border); display: block; }

/* BREADCRUMB */
.breadcrumb { padding-top: calc(var(--nav-height) + 32px); padding-bottom: 16px; }
.breadcrumb__list { display: flex; align-items: center; gap: 8px; list-style: none; font-size: 13px; color: var(--gray-light); }
.breadcrumb__list a { color: var(--gray-light); transition: color 0.3s ease; }
.breadcrumb__list a:hover { color: var(--teal); }
.breadcrumb__separator { color: var(--gray-border); }

/* MESSAGE HERO */
.msg-hero { padding: 60px 0 0; text-align: center; }
.msg-hero__label { font-family: var(--serif-en); font-size: 14px; font-weight: 400; letter-spacing: 0.15em; color: var(--teal); margin-bottom: 16px; font-style: italic; }
.msg-hero__title { font-family: var(--serif); font-size: clamp(32px, 5vw, 52px); font-weight: 500; line-height: 1.5; letter-spacing: 0.08em; color: var(--dark); margin-bottom: 20px; }

/* MESSAGE LAYOUT */
.msg-layout { padding: 80px 0 120px; }
.msg-layout__inner { display: grid; grid-template-columns: 380px 1fr; gap: 80px; align-items: start; }

/* Photo column (sticky) */
.msg-photo { position: sticky; top: calc(var(--nav-height) + 32px); }
.msg-photo__image { aspect-ratio: 3/4; background: linear-gradient(160deg, #D4CBC0 0%, #BFB5A8 100%); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-family: var(--sans-en); font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 32px; }
.msg-photo__name { font-family: var(--serif); font-size: 28px; font-weight: 500; letter-spacing: 0.12em; margin-bottom: 4px; }
.msg-photo__name-en { font-family: var(--sans-en); font-size: 14px; font-weight: 400; color: var(--gray-light); letter-spacing: 0.06em; margin-bottom: 6px; }
.msg-photo__title { font-size: 14px; color: var(--teal); font-weight: 500; margin-bottom: 32px; }
.msg-photo__divider { width: 40px; height: 1px; background: var(--gray-border); margin-bottom: 24px; }

/* Credentials */
.msg-credentials { list-style: none; }
.msg-credentials li { font-size: 13px; color: var(--gray); padding: 6px 0; line-height: 1.6; display: flex; align-items: baseline; gap: 8px; }
.msg-credentials li::before { content: ''; display: block; width: 4px; height: 4px; border-radius: 50%; background: var(--teal); flex-shrink: 0; margin-top: 6px; }

/* Content column */
.msg-content {}
.msg-content__quote { font-family: var(--serif); font-size: clamp(24px, 3.5vw, 34px); font-weight: 400; line-height: 1.8; color: var(--dark); margin-bottom: 48px; padding-left: 28px; border-left: 3px solid var(--teal); letter-spacing: 0.06em; }
.msg-content__lead { font-size: 16px; font-weight: 400; line-height: 2.4; color: var(--dark-secondary); margin-bottom: 40px; letter-spacing: 0.04em; }

.msg-content__section { margin-bottom: 48px; }
.msg-content__section-title { font-family: var(--serif); font-size: 20px; font-weight: 500; letter-spacing: 0.06em; margin-bottom: 20px; color: var(--dark); position: relative; padding-left: 20px; }
.msg-content__section-title::before { content: ''; position: absolute; left: 0; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-soft); border: 2px solid var(--teal); }
.msg-content__text { font-size: 15px; line-height: 2.4; color: var(--gray); }
.msg-content__text p + p { margin-top: 20px; }

.msg-content__signature { margin-top: 64px; text-align: right; }
.msg-content__sig-title { font-size: 13px; color: var(--gray-light); margin-bottom: 4px; }
.msg-content__sig-name { font-family: var(--serif); font-size: 24px; font-weight: 500; letter-spacing: 0.12em; }

/* FOOTER */
.footer { padding: 80px 0 40px; background: #F2F2EF; }
.footer__inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.footer__logo { font-size: 16px; font-weight: 600; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer__brand-desc { font-size: 13px; color: var(--gray); line-height: 1.9; }
.footer__col-title { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; margin-bottom: 20px; color: var(--dark); }
.footer__col-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer__col-links a { font-size: 13px; color: var(--gray); transition: color 0.3s ease; }
.footer__col-links a:hover { color: var(--teal); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 32px; border-top: 1px solid var(--gray-border); }
.footer__copy { font-family: var(--sans-en); font-size: 12px; color: var(--gray-light); letter-spacing: 0.02em; }
.footer__bottom-links { display: flex; gap: 24px; list-style: none; }
.footer__bottom-links a { font-size: 12px; color: var(--gray-light); transition: color 0.3s ease; }
.footer__bottom-links a:hover { color: var(--teal); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .msg-layout__inner { grid-template-columns: 300px 1fr; gap: 48px; }
  .footer__inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-height: 60px; }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .msg-hero { padding: 40px 0 0; }
  .msg-layout { padding: 48px 0 80px; }
  .msg-layout__inner { grid-template-columns: 1fr; gap: 48px; }
  .msg-photo { position: static; text-align: center; }
  .msg-photo__image { max-width: 280px; margin: 0 auto 32px; }
  .msg-photo__divider { margin: 0 auto 24px; }
  .msg-credentials { max-width: 320px; margin: 0 auto; }
  .msg-content__quote { font-size: 22px; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
}
