/* Approved copy cleanup and phrase-aware layouts, 2026-10-19. */
.phrase{display:inline-block;white-space:nowrap;max-width:100%}
.heading-line{display:block}
main p,main li,main dd,main summary{line-break:strict;word-break:normal;text-wrap:pretty}
.hero-content{padding-top:80px}
.hero-description{margin-top:28px;max-width:570px}
.hero-actions{display:grid;grid-template-columns:1fr;gap:12px;width:360px;max-width:43vw;margin-top:28px;pointer-events:auto}
.hero .hero-actions .cta{min-width:0;width:100%;margin:0;gap:14px;padding:17px 19px;min-height:88px;font-size:19px}
.hero .hero-actions .cta small{font-size:10px;letter-spacing:.04em}
.hero-actions .cta-diagnosis{background:var(--blue);box-shadow:0 8px 0 -5px #2359db28}
.hero-actions .cta-diagnosis:before{background:#1748bc}
.hero-actions .cta-diagnosis .cta-arrow{color:var(--blue)}
.support-heading h2{max-width:100%}
.wordmark,.desktop-nav a,.header-line,.business-button,.text-link{word-break:keep-all}
.brand-symbol{flex-shrink:0}
.wordmark{font-size:clamp(24px,2.3vw,32px)}
.desktop-nav{gap:clamp(14px,1.7vw,25px)}
.desktop-nav a{white-space:nowrap}
.site-footer .wordmark{font-size:26px}
.faq-list summary>.faq-question{font-size:inherit;color:inherit;font-weight:inherit;min-width:0;flex:1;flex-shrink:1;line-height:inherit}
.contact-heading{isolation:isolate}
.contact-heading:after{z-index:-1}
@media(min-width:901px) and (max-width:1100px){
 .site-header{gap:18px;padding-inline:24px}
 .wordmark{font-size:23px;gap:10px}
 .desktop-nav{gap:14px;font-size:10px}
 .header-line{font-size:10px;padding-inline:13px;gap:12px}
 .hero-actions{max-width:48vw}
 .hero .hero-actions .cta{font-size:16px;padding:16px;gap:9px}
 .hero-actions .cta-arrow{width:32px;height:32px;font-size:22px}
}
@media(min-width:641px) and (max-width:900px){
 .wordmark{font-size:26px}
 .hero .hero-actions .cta{font-size:16px;padding-inline:15px;gap:8px}
 .hero-actions .cta-arrow{width:30px;height:30px;font-size:21px}
}
@media(max-width:640px){
 .site-header,.site-header.scrolled{padding-inline:16px;gap:10px}
 .wordmark{font-size:clamp(16px,4.65vw,23px);gap:8px;letter-spacing:-.065em}
 .wordmark small{font-size:7px}
 .brand-symbol{width:28px}
 .header-line{font-size:9px;min-height:38px;padding-inline:10px;gap:7px;white-space:nowrap}
 .header-line>span{display:none}
 .menu-toggle{width:22px}
 .menu-toggle>span{width:22px}
 .mobile-menu nav a{font-size:clamp(17px,5vw,21px);line-height:1.7}
 .hero-content{padding-top:35px;padding-bottom:78px}
 .hero-art{top:145px}
 .hero-description{margin-top:350px;font-size:12px;line-height:2;max-width:none}
 .hero-actions{width:100%;max-width:none;gap:11px;margin-top:24px}
 .hero .hero-actions .cta{min-height:72px;min-width:0;font-size:17px;padding:13px 19px;gap:14px}
 .hero .hero-actions .cta small{font-size:9px;letter-spacing:0}
 .hero-actions .cta-arrow{width:29px;height:29px;font-size:20px}
 .hero-footer{bottom:21px}
 .intro-title-lead{font-size:clamp(23px,6.7vw,37px);white-space:nowrap}
 .support-heading h2{font-size:clamp(25px,7.1vw,34px)}
 .support-heading h2 .phrase{display:block}
 .concerns h2{font-size:clamp(28px,7.7vw,34px);line-height:1.6}
 .line-copy h2{font-size:clamp(26px,7.6vw,33px);line-height:1.55}
 .business-copy h2{font-size:clamp(26px,7.5vw,32px)}
 .company h2{font-size:clamp(27px,7.3vw,34px);letter-spacing:-.045em;white-space:nowrap}
 .closing h2{font-size:clamp(26px,7.9vw,34px)}
 .contact-heading h1{font-size:clamp(27px,8.4vw,38px)}
 .cta,.business-button,.header-line,.text-link{word-break:keep-all;overflow-wrap:normal}
 .cta>span:first-child{min-width:0}
 .concerns-answer strong{font-size:clamp(14px,4.15vw,18px)}
 .site-footer .wordmark{font-size:clamp(23px,6.4vw,30px)}
 .site-footer nav{gap:14px 20px}
 .contact-page .wordmark{font-size:clamp(17px,4.65vw,23px)}
}
@media(max-width:359px){
 .site-header,.site-header.scrolled{padding-inline:13px;gap:8px}
 .wordmark{gap:7px}
 .header-line{font-size:8px;padding-inline:8px}
 .hero-art{top:140px;height:300px}
 .hero-description{margin-top:335px;font-size:11px}
 .hero .hero-actions .cta{font-size:16px;padding-inline:17px;gap:12px}
 .hero .hero-actions .cta small{font-size:8px}
 .hero-actions .cta-arrow{width:25px;height:25px;font-size:18px}
 .intro-title-lead{font-size:23px}
}
/* 差し替え枠：写真を外した場所。動画・新しい画像ができたら中身を入れ替える */
.media-slot{width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:12px;background:repeating-linear-gradient(135deg,#eaf1f8 0 14px,#f4f8fc 14px 28px);border:2px dashed #9fb6d3;color:#5a7193;font-size:13px;font-weight:700;text-align:center;line-height:1.5}
.media-slot>video,.media-slot>img{width:100%;height:100%;object-fit:cover;display:block}
.media-slot:has(>video),.media-slot:has(>img){padding:0;border:0;background:none}
/* FV動画：静止画の上に重ねて再生。動きを減らす設定では静止画のまま */
.media-slot.has-video{position:relative}
.media-slot.has-video>video{position:absolute;inset:0}
@media (prefers-reduced-motion:reduce){.media-slot.has-video>video{display:none}}
/* ===== FV：全面動画（Zoff採用サイト型） ===== */
.site-header{top:14px;left:14px;right:14px;border-radius:12px;border:0;box-shadow:0 6px 24px #0f1e3214}
.hero.hero--video{margin-top:0;height:100svh;min-height:600px;max-height:none;background:#0f1a28;color:#fff}
.hero-media{position:absolute;inset:0;z-index:0;overflow:hidden}
.hero-video{width:100%;height:100%;object-fit:cover;object-position:50% 40%;display:block}
.hero-media:after{content:'';position:absolute;inset:0;background:linear-gradient(to top,#0b1626b3 0%,#0b162659 32%,#0b162600 62%),linear-gradient(to right,#0b162640 0%,#0b162600 55%)}
.hero--video .hero-content{position:absolute;left:0;right:0;bottom:92px;max-width:none;margin:0;padding:0 6vw}
.hero--video h1{color:#fff;font-size:clamp(44px,5.2vw,80px);line-height:1.3;letter-spacing:-.04em;text-shadow:0 2px 24px #0b162640}
.hero--video .hero-en{margin-top:14px;font:500 clamp(12px,1vw,15px)/1.6 Arial,sans-serif;letter-spacing:.08em;color:#ffffffd9;animation:rise .9s .6s var(--ease) both}
.hero--video .hero-actions{display:flex;gap:12px;width:auto;max-width:none;margin-top:30px}
.hero--video .hero-actions .cta{width:auto;min-width:240px;min-height:68px;font-size:17px;padding:12px 16px 12px 22px;gap:22px}
.hero--video .hero-footer{bottom:28px}
.hero--video .scroll-link{color:#fff}
@media(prefers-reduced-motion:reduce){.hero-video{display:none}.hero-media{background:#0f1a28 url(assets/media/fv-hero-poster.webp) 50% 40%/cover}}
@media(prefers-reduced-motion:reduce) and (max-width:767px){.hero-media{background-image:url(assets/media/fv-hero-sp-poster.webp)}}
@media(max-width:767px){
 .site-header{top:10px;left:10px;right:10px;border-radius:10px}
 .hero.hero--video{height:100svh;min-height:560px}
 .hero-video{object-position:50% 50%}
 .hero-media:after{background:linear-gradient(to top,#0b1626d9 0%,#0b162680 40%,#0b162600 70%)}
 .hero--video .hero-content{bottom:64px;padding:0 20px}
 .hero--video h1{font-size:clamp(34px,10vw,46px)}
 .hero--video .hero-actions{flex-direction:column;gap:10px;margin-top:22px}
 .hero--video .hero-actions .cta{width:100%;min-width:0;min-height:60px;font-size:16px}
 .hero--video .hero-footer{bottom:18px}
}
/* 「アンコールキャリアとは」の写真枠は傾けずにまっすぐ置く */
.scene-photo-a{transform:translateY(var(--scene-photo-a,0px))}
.scene-photo-b{transform:translateY(var(--scene-photo-b,0px))}
.scene-photo-c{transform:translateY(var(--scene-photo-c,0px))}
/* 「アンコールキャリアとは」：流れ×写真を同じ大きさのカード3枚で見せる（Zoff型） */
.about-steps{list-style:none;padding:0;margin:72px auto 0;max-width:1200px;display:grid;grid-template-columns:repeat(3,1fr);gap:24px;position:relative;z-index:1}
.about-step{background:#ffffffcc;border-radius:12px;padding:16px 16px 22px;box-shadow:0 1px 0 #d6e0ec}
.about-step-photo{margin:0;aspect-ratio:4/3;border-radius:8px;overflow:hidden;background:#e7eef6}
.about-step-photo img{width:100%;height:100%;object-fit:cover;display:block}
.about-step p{margin-top:16px;font-size:13px;line-height:1.7;color:#3a4a63}
.about-step-index{display:block;font:700 13px/1 Arial,sans-serif;letter-spacing:.06em;color:var(--blue);margin-bottom:8px}
.about-step b{display:block;font-size:21px;color:#11284c;letter-spacing:-.01em}
@media(max-width:767px){
 .about-steps{grid-template-columns:1fr;gap:14px;margin-top:40px}
 .about-step{display:grid;grid-template-columns:44% 1fr;gap:14px;align-items:center;padding:12px}
 .about-step p{margin-top:0;font-size:11px}
 .about-step b{font-size:17px}
}
/* ===== 写真が主役（Zoff型の延長）：白ベース・飾りなし・全幅の写真 ===== */
body{background:#fff}
.concerns,.line-section,.faq{background:#fff;border-radius:0}
.concerns{border-top:1px solid #e3e9f1}
.faq{border-top:1px solid #e3e9f1}
.about-rings,.concerns-mark,.business-ribbon,.closing-graphic{display:none}

/* 全幅の写真（動画）の帯 */
.photo-band{position:relative;height:72vh;min-height:420px;max-height:760px;overflow:hidden;color:#fff;margin-top:40px}
.band-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.photo-band:after{content:'';position:absolute;inset:0;background:linear-gradient(to top,#0b1626b3 0%,#0b162633 45%,#0b162600 70%)}
.photo-band-copy{position:absolute;z-index:1;left:6vw;bottom:64px;font-size:clamp(30px,4.2vw,62px);font-weight:700;line-height:1.35;letter-spacing:-.03em}
.photo-band-copy span{display:block}

/* LINEセクション：作り物のスマホ画面の代わりに写真 */
.line-section{padding-block:110px}
.line-photo{margin:0;aspect-ratio:4/3;overflow:hidden;border-radius:6px}
.line-photo img{width:100%;height:100%;object-fit:cover;display:block}

/* 最後のCTA：全面の動画の上にコピーとボタン */
.closing{background:#0b1626;color:#fff;min-height:82vh;display:grid;place-items:center}
.closing-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.closing:after{content:'';position:absolute;inset:0;background:#0b1626a6;z-index:-1}
.closing h2,.closing .eyebrow,.closing p{color:#fff}
.closing p{opacity:.9}
@media(prefers-reduced-motion:reduce){.band-video,.closing-video{display:none}.photo-band{background:#0b1626 url(assets/media/band-office-poster.webp) center/cover}.closing{background:#0b1626 url(assets/media/closing-walk-poster.webp) center/cover}}
@media(max-width:767px){
 .photo-band{height:62vh;min-height:360px;margin-top:24px}
 .band-video{object-position:58% 50%}
 .photo-band-copy{left:20px;right:20px;bottom:40px;font-size:30px}
 .line-section{padding-block:70px}
 .line-photo{margin-top:36px}
 .closing{min-height:72vh}
 .closing-video{object-position:50% 50%}
}
/* ===== スマホ仕上げ（11/11） ===== */
/* iPhoneで動画の上に出る再生ボタンを出さない（再生できない時は静止画のまま見せる） */
video::-webkit-media-controls,video::-webkit-media-controls-start-playback-button,video::-webkit-media-controls-overlay-play-button{display:none!important;-webkit-appearance:none}
.chapter-photo{display:none}
@media(max-width:767px){
 /* ヘッダー：浮いた白い箱をやめ、細い帯に。LINEボタンは下の固定ボタンに任せる */
 .site-header,.site-header.scrolled{top:0;left:0;right:0;height:56px;border-radius:0;box-shadow:none;background:#ffffffeb;border-bottom:1px solid #e3e9f1}
 .site-header .header-line{display:none}
 .menu-toggle{margin-left:auto}
 .wordmark{font-size:21px}
 .mobile-menu{top:56px}
 /* FV：ボタンは横並びで小さく */
 .hero--video .hero-content{bottom:58px}
 .hero--video .hero-actions{flex-direction:row;gap:8px;margin-top:20px}
 .hero--video .hero-actions .cta{flex:1;min-height:52px;padding:10px 12px 10px 16px;font-size:15px;gap:6px;border-radius:6px}
 .hero--video .hero-actions .cta small{display:none}
 .hero--video .hero-actions .cta-arrow{width:24px;height:24px;font-size:16px;border:0}
 /* 下の固定ボタン：細く1行に */
 .mobile-line{left:12px;right:12px}
 .mobile-line a{min-height:50px;padding:8px 18px;font-size:15px;border-radius:8px}
 .mobile-line small{display:none}
 .mobile-line b{font-size:22px}
 /* 写真の帯 */
 .photo-band{height:58svh;min-height:380px;margin-top:0}
 .band-video{object-position:42% 50%}
 .photo-band-copy{left:20px;bottom:36px;font-size:28px}
 /* サポート：追いかけてくる水色の箱をやめ、各ステップに写真を付ける */
 .story-stage{display:none}
 .story-chapter{min-height:0;opacity:1;padding:34px 0;scroll-margin-top:70px}
 .chapter-photo{display:block;margin:0 0 22px;aspect-ratio:4/3;border-radius:6px;overflow:hidden;background:#e7eef6}
 .chapter-photo img{width:100%;height:100%;object-fit:cover;display:block}
 .chapter-label{margin-bottom:10px}
 .chapter-label>span{font-size:30px}
 .story-chapter h3{font-size:23px;margin-bottom:14px}
 /* 最後のCTA */
 .closing{min-height:auto;padding:90px 20px 80px}
}
/* 動画は再生が始まってから見せる。それまで（再生できない端末でも）同じ場面の写真を出し、iPhoneの再生ボタンを見せない */
.hero-video,.band-video,.closing-video{opacity:0;transition:opacity .5s}
.hero-video.is-playing,.band-video.is-playing,.closing-video.is-playing{opacity:1}
.hero-media{background:#0f1a28 50% 50%/cover no-repeat}
.photo-band{background:#0f1a28 url(assets/media/band-office-poster.webp) 50% 50%/cover no-repeat}
.closing{background:#0b1626 url(assets/media/closing-walk-poster.webp) 50% 50%/cover no-repeat}
@media(max-width:767px){.photo-band{background-position:42% 50%}}
