/*
Theme Name: Dear Tomorrow LP
Theme URI: https://unitedpeople.jp/
Author: United People
Description: 『拝啓アシタ DEAR TOMORROW』公式サイト用シングルページテーマ。
Version: 1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: dear-tomorrow
*/

*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:74px}
body{margin:0;background:#f6f0e6;color:#3b3833;font-family:"Zen Kaku Gothic New",system-ui,sans-serif;-webkit-font-smoothing:antialiased}
img{max-width:100%}
a{color:inherit}

.dt-page{width:100%;overflow-x:hidden}

/* ===================== HEADER / NAV ===================== */
.site-header{position:sticky;top:0;z-index:50;display:flex;align-items:center;justify-content:space-between;padding:14px clamp(18px,5vw,54px);background:rgba(251,249,245,.82);backdrop-filter:blur(10px);border-bottom:1px solid rgba(0,0,0,.05)}
.site-header__brand{text-decoration:none;color:#3b3833;display:flex;align-items:center;flex-shrink:0}
.site-header__logo-img{display:block;height:36px;width:auto}

@media(max-width:480px){
  .site-header__logo-img{height:26px}
}

.nav-desktop{display:flex;align-items:center;gap:clamp(12px,1.6vw,22px)}
.nav-desktop a.nav-link{text-decoration:none;color:#6f6a60;font-size:16px;letter-spacing:.1em;white-space:nowrap;padding-bottom:2px}
.nav-desktop a.nav-link:hover{color:#3b3833;border-bottom:2px solid #e6c65e}
.nav-desktop__x{display:flex;align-items:center;justify-content:center;flex-shrink:0}
.nav-desktop__x:hover{opacity:.6}
.nav-desktop__x img{display:block;width:18px;height:18px}

.nav-toggle{display:none;width:40px;height:40px;border:none;background:transparent;color:#3b3833;font-size:20px;cursor:pointer;align-items:center;justify-content:center;border-radius:8px}

.nav-mobile{display:none;position:sticky;top:69px;z-index:49;background:#fbf9f5;border-bottom:1px solid rgba(0,0,0,.06);padding:8px clamp(18px,5vw,54px) 18px;box-shadow:0 12px 24px rgba(90,75,45,.08)}
.nav-mobile.is-open{display:block}
.nav-mobile a{display:block;text-decoration:none;color:#4a453c;font-size:14px;letter-spacing:.06em;padding:13px 4px;border-bottom:1px solid #efe8db}
.nav-mobile a:last-child{border-bottom:none}

@media(max-width:1000px){
  .nav-desktop{display:none !important}
  .nav-toggle{display:flex !important}
}

/* ===================== HERO ===================== */
.hero{position:relative;min-height:clamp(540px,84vh,900px);display:flex;align-items:flex-end;overflow:hidden}
.hero__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:62% 42%;display:block}
.hero__scrim{position:absolute;inset:0;background:linear-gradient(to top,rgba(246,240,230,.96) 0%,rgba(246,240,230,.5) 26%,rgba(246,240,230,0) 56%),linear-gradient(102deg,rgba(246,240,230,.72) 0%,rgba(246,240,230,.1) 38%,rgba(246,240,230,0) 60%)}
.hero__content{position:relative;z-index:1;width:100%;max-width:1180px;margin:0 auto;padding:clamp(40px,6vw,80px) clamp(20px,6vw,90px) clamp(44px,6vw,72px)}
.hero__badge{display:inline-block;background:#ecca5f;color:#4a3f1c;font-weight:500;font-size:clamp(13px,1.7vw,17px);letter-spacing:.1em;line-height:1.5;padding:11px 24px;border-radius:26px;margin-bottom:24px;box-shadow:0 6px 20px rgba(200,169,74,.3)}
.hero__eyebrow{font-size:clamp(13px,1.6vw,16px);letter-spacing:.32em;color:#a08f68;margin-bottom:10px}
.hero__title{margin:0 0 20px;font-weight:300;font-size:clamp(44px,7vw,86px);line-height:1.28;letter-spacing:.04em;color:#332f2a;text-shadow:0 1px 18px rgba(246,240,230,.6)}
.hero__tagline{margin:0 0 14px;font-weight:400;font-size:clamp(17px,2vw,24px);line-height:1.9;letter-spacing:.03em;color:#3b3833}
.hero__desc{margin:0 0 30px;font-weight:300;font-size:clamp(15px,1.7vw,19px);line-height:2.05;color:#544e44;max-width:540px}
.hero__desc mark{background:linear-gradient(transparent 60%, rgb(245, 226, 163) 60%);color:inherit}
.hero__actions{display:flex;flex-wrap:wrap;gap:12px}

.btn{text-decoration:none;font-size:13px;letter-spacing:.08em;padding:14px 30px;border-radius:30px;display:inline-block}
.btn--primary{background:#3b3833;color:#fbf9f5}
.btn--secondary{border:1px solid #cabda4;color:#4a453c;background:rgba(251,249,245,.55)}
.btn--secondary:hover{border-color:#e6c65e;color:#3b3833;background:rgba(251,249,245,.85)}

/* ===================== SECTION LABEL / HEADING ===================== */
.section-label{display:flex;align-items:center;gap:12px;justify-content:center;margin-bottom:14px}
.section-label__line{width:26px;height:2px;background:#e6c65e}
.section-label__text{font-size:clamp(16px,2vw,20px);letter-spacing:.28em;color:#b0a68e}
.section-heading{margin:0;font-weight:300;font-size:clamp(24px,3vw,34px);letter-spacing:.06em;text-align:center}
.section-heading-row{text-align:center;margin-bottom:clamp(34px,4vw,50px)}

.back-to-top{text-align:right}
.back-to-top a{text-decoration:none;font-size:12px;letter-spacing:.1em;color:#a89e8a}

/* ===================== TRAILER ===================== */
.section-trailer{padding:clamp(60px,8vw,110px) clamp(20px,6vw,90px);background:#33302b;color:#f4ede1}
.section-trailer .inner{max-width:1000px;margin:0 auto}
.section-trailer .section-label__text{color:#d9c583}
.section-trailer .section-heading{margin:0 0 34px}
.trailer-box{display:block;position:relative;aspect-ratio:16/9;border-radius:16px;overflow:hidden;background:repeating-linear-gradient(135deg,#2b2823 0 16px,#312d27 16px 32px);box-shadow:0 20px 50px rgba(0,0,0,.35)}
.trailer-box__inner{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
.trailer-box__label{font-weight:300;font-size:clamp(28px,4vw,44px);letter-spacing:.08em;color:#f4ede1}
.section-trailer .back-to-top{margin-top:0}
.section-trailer .back-to-top a{color:#c9beac}

.full-bleed-still{background:#33302b}
.full-bleed-still img{display:block;width:100%;height:auto}

/* ===================== COMMENTS ===================== */
.section-comments{padding:clamp(60px,8vw,110px) clamp(20px,6vw,90px);background:#f1eadd}
.section-comments .inner{max-width:780px;margin:0 auto}
.comments-list{display:flex;flex-direction:column}
.comment{padding:clamp(34px,4vw,48px) 0;border-bottom:1px solid #e2d7bf}
.comment__text{margin:0 0 18px;font-weight:300;font-size:clamp(16px,1.8vw,19px);line-height:2;color:#3b3833;white-space:pre-line}
.comment__attribution{font-size:22px;font-weight:400;letter-spacing:.08em;color:#3b3833}
.comment__role{font-size:13px;font-weight:300;letter-spacing:.1em;color:#8a857b}
.section-comments .back-to-top{max-width:780px;margin:0 auto}
.section-comments .back-to-top a{color:#a89e8a}

/* ===================== ABOUT ===================== */
.section-about{padding:clamp(64px,9vw,120px) clamp(20px,6vw,90px)}
.section-about .inner{max-width:1080px;margin:0 auto}
.about-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:clamp(36px,4vw,64px);align-items:start}
.about-grid h3{margin:0 0 22px;font-weight:400;font-size:clamp(22px,2.6vw,30px);line-height:1.7;letter-spacing:.03em}
.about-grid p{margin:0;font-weight:300;font-size:clamp(15px,1.6vw,18px);line-height:2.1;color:#655f54}
.about-grid p a{text-decoration:underline;text-underline-offset:3px}
.section-about .back-to-top{max-width:1080px;margin:0 auto}
.section-about .back-to-top a{color:#a89e8a}

/* ===================== QUOTE STILL ===================== */
.quote-still{position:relative;background:#231f1a;overflow:hidden}
.quote-still__img{display:block;width:100%;height:clamp(360px,58vw,640px);object-fit:cover;opacity:.8;filter:brightness(1.25)}
.quote-still__scrim{position:absolute;inset:0;background:linear-gradient(100deg,rgba(20,17,13,.86) 0%,rgba(20,17,13,.5) 42%,rgba(20,17,13,.15) 68%,rgba(20,17,13,0) 100%)}
.quote-still__content{position:absolute;inset:0;display:flex;align-items:center}
.quote-still__content .inner{max-width:1180px;width:100%;margin:0 auto;padding:0 clamp(20px,6vw,90px)}
.quote-still__text{max-width:640px}
.quote-still__bar{width:40px;height:2px;background:#e6c65e;margin-bottom:24px}
.quote-still__heading{margin:0 0 20px;font-weight:300;font-size:clamp(30px,4.4vw,52px);line-height:1.55;letter-spacing:.05em;color:#f6f0e6}
.quote-still__credit{font-size:15px;letter-spacing:.1em;color:#d9c583}

/* ===================== DIRECTOR ===================== */
.section-director{padding:clamp(64px,9vw,120px) clamp(20px,6vw,90px);background:#faf5ec}
.section-director .inner{max-width:1080px;margin:0 auto}
.director-message{column-count:2;column-gap:clamp(28px,4vw,56px);font-weight:300;font-size:clamp(14px,1.4vw,16px);line-height:2.1;color:#565148}
.director-message p{margin:0 0 22px;break-inside:avoid}
.director-message p:last-child{margin-bottom:0}
.director-profile{max-width:1080px;margin:clamp(48px,6vw,72px) auto 0;padding-top:clamp(40px,5vw,56px);border-top:1px solid #e9e1d2;display:grid;grid-template-columns:200px 1fr;gap:clamp(24px,3vw,40px);align-items:start}
.director-portrait{display:block;width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:14px;box-shadow:0 10px 28px rgba(120,100,60,.12);margin-bottom:14px}
.director-name{font-size:14px;font-weight:500;letter-spacing:.04em;margin-bottom:4px}
.director-name-en{font-size:10.5px;letter-spacing:.14em;color:#a89e8a}
.profile-label{font-size:clamp(13px,1.5vw,15px);letter-spacing:.22em;color:#c8a94a;margin-bottom:18px}
.profile-text{margin:0;font-weight:300;font-size:clamp(14px,1.4vw,16px);line-height:2.1;color:#565148}
.profile-link{display:inline-block;margin-top:14px;font-size:12.5px;letter-spacing:.06em;color:#a89e60;text-decoration:none}
.section-director .back-to-top{max-width:1080px;margin:0 auto}
.section-director .back-to-top a{color:#a89e8a}

/* ===================== STAFF & PARTICIPANTS ===================== */
.section-staff{padding:clamp(64px,9vw,120px) clamp(20px,6vw,90px)}
.section-staff .inner{max-width:1080px;margin:0 auto}
.staff-still{display:block;width:100%;aspect-ratio:21/9;object-fit:cover;border-radius:18px;box-shadow:0 14px 40px rgba(120,100,60,.12);margin-bottom:clamp(34px,4vw,52px)}
.staff-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:clamp(28px,4vw,56px)}
.staff-grid__label{font-size:clamp(15px,1.8vw,18px);letter-spacing:.22em;color:#c8a94a;margin-bottom:18px}
.cast-list{display:flex;flex-direction:column;gap:14px;font-size:17px;font-weight:300;line-height:1.6}
.staff-list{display:flex;flex-direction:column;gap:15px;font-size:15px;font-weight:300;line-height:1.7;color:#5f5a50}
.staff-list__role{color:#a89e8a}
.credits-row{margin-top:clamp(38px,4vw,56px);padding-top:28px;border-top:1px solid #e9e1d2;display:flex;flex-wrap:wrap;gap:10px 26px;font-size:15px;letter-spacing:.06em;color:#8a857b}
.copyright-line{margin-top:16px;font-size:10.5px;letter-spacing:.08em;color:#b0a898}
.section-staff .back-to-top{max-width:1080px;margin:0 auto}
.section-staff .back-to-top a{color:#a89e8a}

/* ===================== THEATERS ===================== */
.section-theaters{padding:clamp(64px,9vw,120px) clamp(20px,6vw,90px);background:#faf5ec}
.section-theaters .inner{max-width:1080px;margin:0 auto}
.theaters-updated{text-align:right;font-size:11px;letter-spacing:.06em;color:#a89e8a;margin-bottom:18px}
.theater-regions{display:flex;flex-direction:column;gap:clamp(36px,4vw,48px)}
.theater-region__name{font-size:19px;letter-spacing:.14em;color:#4a453c;font-weight:500;margin-bottom:16px;padding-bottom:12px;border-bottom:2px solid #e6c65e}
.theater-table-head{display:grid;grid-template-columns:1fr 2fr 1.4fr;gap:10px;padding:12px 6px;font-size:14px;letter-spacing:.08em;color:#a89e8a;border-bottom:1px solid #e9e1d2}
.theater-row{display:grid;grid-template-columns:1fr 2fr 1.4fr;gap:10px;padding:16px 6px;font-size:16px;letter-spacing:.03em;color:#5f5a50;border-bottom:1px solid #f0ead9;align-items:center}
.theater-row a{text-decoration:underline;text-underline-offset:3px}
.theater-row__tel{color:#a89e8a;font-size:13px;margin-left:8px}
.theaters-note{margin-top:clamp(30px,4vw,44px);display:flex;flex-direction:column;gap:6px;font-size:11.5px;letter-spacing:.04em;color:#8a857b}
.theaters-note a{color:#8a857b}
.section-theaters .back-to-top{max-width:1080px;margin:0 auto}
.section-theaters .back-to-top a{color:#a89e8a}

/* ===================== FOOTER / CONTACT ===================== */
.site-footer{padding:clamp(56px,7vw,96px) clamp(20px,6vw,90px);background:#33302b;color:#e9e2d5}
.footer-grid{max-width:1080px;margin:0 auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:clamp(30px,4vw,54px);align-items:start}
.footer-brand{display:flex;align-items:center;margin-bottom:16px}
.footer-brand__logo-img{display:block;height:26px;width:auto;filter:brightness(0) invert(1)}
.footer-col p{margin:0;font-size:12px;line-height:2;color:#b6ac9c;font-weight:300}
.footer-col-title{font-size:11px;letter-spacing:.24em;color:#d9c583;margin-bottom:16px}
.footer-mm-text{margin:0 0 14px;font-size:12.5px;line-height:2;font-weight:300;color:#cfc5b4}
.footer-link{color:#e9e2d5;text-decoration:none;font-size:12.5px}
.footer-link:hover{color:#e6c65e}
.footer-contact{display:flex;align-items:center;gap:18px}
.footer-contact__logo{flex-shrink:0}
.footer-contact__logo img{display:block;height:52px;width:auto}
.footer-contact__text{font-size:12.5px;line-height:2;font-weight:300;color:#cfc5b4}
.footer-contact__text a{color:#e9e2d5;text-decoration:none}
.footer-contact__text a:hover{color:#e6c65e}
.footer-bottom{max-width:1080px;margin:clamp(40px,5vw,60px) auto 0;padding-top:28px;border-top:1px solid rgba(255,255,255,.1);font-size:10.5px;letter-spacing:.08em;color:#8f867a}

/* ===================== NEWS (blog) ===================== */
.news-header{padding:clamp(56px,8vw,96px) clamp(20px,6vw,90px) clamp(30px,4vw,48px);background:#f6f0e6}
.news-header .inner{max-width:860px;margin:0 auto;text-align:center}
.news-header .section-heading{margin:0}
.news-list-section{padding:0 clamp(20px,6vw,90px) clamp(80px,9vw,120px);background:#f6f0e6}
.news-list-section .inner{max-width:860px;margin:0 auto}
.news-list{display:flex;flex-direction:column;gap:clamp(44px,5vw,64px)}
.news-item{display:grid;grid-template-columns:260px 1fr;gap:clamp(24px,3vw,40px);align-items:start;padding-bottom:clamp(44px,5vw,64px);border-bottom:1px solid #e6ddc9}
.news-item__thumb{display:block}
.news-item__thumb img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px;box-shadow:0 10px 28px rgba(120,100,60,.12)}
.news-item__thumb-placeholder{display:block;width:100%;aspect-ratio:4/3;border-radius:10px;background:repeating-linear-gradient(135deg,#efe9dd 0 13px,#f6f1e7 13px 26px)}
.news-item__date{font-size:12.5px;letter-spacing:.1em;color:#a89e8a;margin-bottom:10px}
.news-item__title{margin:0 0 14px;font-weight:500;font-size:clamp(18px,2vw,22px);line-height:1.6;letter-spacing:.02em}
.news-item__title a{text-decoration:none;color:inherit}
.news-item__excerpt{margin:0 0 14px;font-weight:300;font-size:15px;line-height:1.9;color:#655f54}
.news-item__more{text-decoration:none;font-size:13px;letter-spacing:.06em;color:#8a6d1f;border-bottom:1px solid #cbb87a;padding-bottom:2px}
.news-item__more:hover{color:#3b3833;border-color:#3b3833}
.news-pagination{margin-top:clamp(24px,3vw,40px);display:flex;gap:8px;justify-content:center;font-size:13px;letter-spacing:.04em}
.news-pagination .page-numbers{text-decoration:none;color:#6f6a60;padding:6px 12px;border-radius:6px}
.news-pagination .page-numbers.current{background:#e6c65e;color:#3b3833}

@media(max-width:640px){
  .news-item{grid-template-columns:1fr}
}

.news-article{padding:clamp(56px,8vw,96px) clamp(20px,6vw,90px) clamp(80px,9vw,120px);background:#f6f0e6}
.news-article .inner{max-width:760px;margin:0 auto}
.news-article__title{margin:0 0 28px;font-weight:400;font-size:clamp(26px,3.4vw,36px);line-height:1.6;letter-spacing:.02em}
.news-article__thumb{margin-bottom:clamp(32px,4vw,48px)}
.news-article__thumb img{display:block;width:100%;height:auto;border-radius:14px;box-shadow:0 14px 40px rgba(120,100,60,.12)}
.news-article__content{font-weight:300;font-size:16px;line-height:2.1;color:#3b3833}
.news-article__content p{margin:0 0 22px}
.news-article .back-to-top{margin-top:clamp(48px,6vw,64px)}
