/* TOPを正本とする全ページ共通ヘッダー。各ページCSSの後に読み込む。 */
:is(.designed-home,.renewal-subpage) .header-cta{font-size:16px;font-weight:600;background:var(--pink);color:var(--ink);border:0;box-shadow:none;border-radius:40px;gap:30px;min-height:58px;line-height:1.6;transition:filter .2s,transform .2s}
:is(.designed-home,.renewal-subpage) .header-cta:hover{filter:brightness(.96);transform:translateY(-2px)}

:is(.designed-home,.renewal-subpage) .site-header{position:relative;height:88px;padding:16px 4%;border:0;background:#fffdfcf5;gap:22px}
:is(.designed-home,.renewal-subpage) .brand{width:220px}
:is(.designed-home,.renewal-subpage) .desktop-nav{gap:52px}
:is(.designed-home,.renewal-subpage) .header-cta{border:0;min-height:58px;background:var(--pink);color:var(--ink);padding:12px 24px}@media(max-width:1390px) and (min-width:1181px){
:is(.designed-home,.renewal-subpage) .site-header{gap:15px;padding-inline:25px}
:is(.designed-home,.renewal-subpage) .brand{width:190px}
:is(.designed-home,.renewal-subpage) .desktop-nav{gap:46px}
:is(.designed-home,.renewal-subpage) .header-cta{padding-inline:18px}}
@media(max-width:800px){
:is(.designed-home,.renewal-subpage) .site-header{height:80px;padding:14px 20px;gap:12px}
:is(.designed-home,.renewal-subpage) .brand{width:185px}
:is(.designed-home,.renewal-subpage) .menu-toggle{border:0;padding:6px 8px}
:is(.designed-home,.renewal-subpage) .header-cta{display:none}}
@media(max-width:370px){
:is(.designed-home,.renewal-subpage) .site-header{padding-inline:16px}
:is(.designed-home,.renewal-subpage) .brand{width:165px}}

:is(.designed-home,.renewal-subpage) .menu-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
:is(.designed-home,.renewal-subpage) .menu-toggle{position:relative;width:40px;min-width:40px;height:44px;padding:8px;border:0;min-height:44px}
:is(.designed-home,.renewal-subpage) .menu-symbol{font-size:0;display:block;width:22px;height:16px;margin:0;border-block:1px solid var(--ink);position:relative}
:is(.designed-home,.renewal-subpage) .menu-symbol:before{content:"";position:absolute;left:0;right:0;top:6px;border-top:1px solid var(--ink)}
:is(.designed-home,.renewal-subpage) .menu-toggle[aria-expanded=true] .menu-symbol{border:0;transform:rotate(45deg)}
:is(.designed-home,.renewal-subpage) .menu-toggle[aria-expanded=true] .menu-symbol:before{top:7px}
:is(.designed-home,.renewal-subpage) .menu-toggle[aria-expanded=true] .menu-symbol:after{content:"";position:absolute;left:10px;top:-3px;height:22px;border-left:1px solid var(--ink)}
:is(.designed-home,.renewal-subpage) .site-header{height:80px}@media(max-width:800px){
:is(.designed-home,.renewal-subpage) .site-header{height:68px;padding:10px 16px;gap:8px}
:is(.designed-home,.renewal-subpage) .brand{width:130px;margin-right:auto}
:is(.designed-home,.renewal-subpage) .header-cta{display:inline-flex;min-height:42px;padding:10px 12px;font-size:16px;line-height:1.4;margin:0;gap:6px}
:is(.designed-home,.renewal-subpage) .header-cta>span{display:none}
:is(.designed-home,.renewal-subpage) .menu-toggle{margin:0;width:32px;min-width:32px;padding-inline:5px}}
@media(max-width:370px){
:is(.designed-home,.renewal-subpage) .site-header{padding-inline:12px;gap:6px}
:is(.designed-home,.renewal-subpage) .brand{width:105px}
:is(.designed-home,.renewal-subpage) .header-cta{padding:9px 8px;font-size:16px}
:is(.designed-home,.renewal-subpage) .menu-toggle{width:28px;min-width:28px;padding-inline:3px}}



.design-trial .button{background:linear-gradient(105deg,#c73556,#c64166);color:#fff;min-width:290px;margin-top:25px}
.design-trial .button:focus-visible{outline:3px solid var(--ink)}
.design-trial{position:relative;display:grid;grid-template-columns:1fr 1fr;background:linear-gradient(115deg,#ffccd3,#ffe6e9);border-radius:60px;overflow:hidden;margin-top:15px;margin-bottom:75px}
.design-trial-copy{padding:45px 25px 45px 45px;text-align:center;position:relative;z-index:1}
.design-trial-copy>p:first-child{font-size:16px;letter-spacing:.15em;margin-bottom:24px}
.design-trial h2{font-size:32px;line-height:1.7}
.design-trial-copy h2+p{margin-top:20px}
.design-trial-photo{position:relative;min-width:0}
.design-trial-photo img{width:100%;height:100%;object-fit:cover;object-position:65% center}
.design-trial-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#ffe0e5,transparent 35%)}
.design-trial-photo>span{position:absolute;bottom:12px;right:20px;font-size:16px;background:#fff8f7dd;padding:0 8px;z-index:1}
:is(.designed-home,.renewal-subpage) .site-footer{position:relative;grid-template-columns:.9fr 1.6fr;gap:45px;padding-top:25px}
:is(.designed-home,.renewal-subpage) .footer-brand{display:block}
:is(.designed-home,.renewal-subpage) .footer-brand img{width:270px;height:auto}
:is(.designed-home,.renewal-subpage) .footer-brand p{font-size:16px;margin-top:20px}
:is(.designed-home,.renewal-subpage) .footer-nav{grid-template-columns:repeat(3,1fr);gap:2px 24px}
:is(.designed-home,.renewal-subpage) .footer-nav a{font-size:16px}
:is(.designed-home,.renewal-subpage) .footer-bottom{font-size:16px;gap:18px}@media(max-width:1180px){
.design-trial h2{font-size:28px}
.design-trial-copy{padding:35px 25px}
:is(.designed-home,.renewal-subpage) .footer-nav{grid-template-columns:1fr 1fr}}
@media(max-width:800px){
.design-trial{order:8}
.design-trial{display:flex;flex-direction:column;border-radius:32px;margin-top:10px;margin-bottom:40px;background:linear-gradient(140deg,#ffd2d9,#ffe6e9)}
.design-trial-copy{padding:30px 22px 25px}
.design-trial h2{font-size:clamp(23px,6vw,30px);letter-spacing:.01em}
.design-trial-copy>p:first-child{font-size:16px;margin-bottom:18px}
.design-trial-copy p{font-size:18px}
.design-trial-copy .button{min-width:0;width:100%;padding:15px 18px;gap:15px}
.design-trial-photo{height:270px}
.design-trial-photo img{object-position:65% 30%}
.design-trial-photo:after{background:linear-gradient(180deg,#ffe0e56b,transparent 35%)}
:is(.designed-home,.renewal-subpage) .site-footer{display:block;padding-top:10px;padding-bottom:115px}
:is(.designed-home,.renewal-subpage) .footer-brand{margin-bottom:25px}
:is(.designed-home,.renewal-subpage) .footer-brand img{width:225px}
:is(.designed-home,.renewal-subpage) .footer-brand p{font-size:16px;line-height:1.6;margin-top:16px}
:is(.designed-home,.renewal-subpage) .footer-nav{display:grid;grid-template-columns:1fr 1fr;gap:8px 20px}
:is(.designed-home,.renewal-subpage) .footer-nav a{font-size:16px}
:is(.designed-home,.renewal-subpage) .footer-bottom{font-size:16px;padding-top:20px}}
@media(max-width:370px){
:is(.designed-home,.renewal-subpage) .footer-nav{grid-template-columns:1fr}}

.design-trial-photo{overflow:hidden}
.design-trial-photo img{transform:scale(1.6);transform-origin:65% 40%}
.design-trial{margin-top:10px;margin-bottom:55px;border-radius:50px}
.design-trial-copy{padding:35px 30px}
.design-trial h2{font-weight:500}
.design-trial-photo img{transform:scale(2.05);transform-origin:66% 25%}
:is(.designed-home,.renewal-subpage) .site-footer{padding-top:15px;gap:30px}
:is(.designed-home,.renewal-subpage) .footer-brand p{margin-top:12px}
:is(.designed-home,.renewal-subpage) .footer-nav a{padding-block:5px}
:is(.designed-home,.renewal-subpage) .footer-bottom{gap:24px;padding-top:20px}@media(max-width:800px){
.design-trial{margin-top:10px;margin-bottom:35px;border-radius:30px}
.design-trial-copy{padding:28px 22px 24px}
.design-trial h2{font-size:25px}
.design-trial-copy p{font-size:16px}
.design-trial-copy .button{font-size:18px;min-height:54px}
.design-trial-photo{height:320px}
.design-trial-photo img{transform:scale(2.1);transform-origin:66% 30%}
:is(.designed-home,.renewal-subpage) .site-footer{padding-bottom:28px}
:is(.designed-home,.renewal-subpage) .footer-brand p{font-size:16px}
:is(.designed-home,.renewal-subpage) .footer-nav a{padding-block:4px;font-size:16px}
:is(.designed-home,.renewal-subpage) .footer-bottom{gap:14px;font-size:16px}}
@media(max-width:370px){
.design-trial h2{font-size:23px}}

.design-trial .button{background:linear-gradient(105deg,#df4665,#e9658a);font-size:20px;font-weight:700}

.design-trial{isolation:isolate;position:relative;z-index:1;border-radius:60px 65px 60px 65px;overflow:hidden;background:linear-gradient(100deg,#ffcdd6 0%,#ffe1e6 55%,#fff8f7 85%)}
.design-trial:before{content:"";position:absolute;left:-4%;top:28%;height:105%;width:82%;border:24px solid #fff8f735;border-radius:50%;transform:rotate(-23deg);z-index:0;pointer-events:none}
.design-trial-photo{overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 25%);mask-image:linear-gradient(90deg,transparent,#000 25%)}
.design-trial-photo:after{background:linear-gradient(90deg,#ffe0e578,transparent 35%)}
.design-trial-photo img{transform:scale(2.05);transform-origin:66% 20%}
:is(.designed-home,.renewal-subpage) .site-footer{isolation:isolate}
:is(.designed-home,.renewal-subpage) .site-footer:before{content:"";position:absolute;top:-100px;bottom:0;left:calc(50% - 50vw);width:100vw;background:url('./assets/flow-footer.svg') center bottom/100% 100% no-repeat;z-index:-1;pointer-events:none}
:is(.designed-home,.renewal-subpage) .site-footer:after{content:"";position:absolute;right:-30px;bottom:12px;width:170px;height:210px;background:url('./assets/leaf-sprig.svg') center/contain no-repeat;transform:rotate(18deg);opacity:.6;z-index:-1;pointer-events:none}@media(max-width:1180px) and (min-width:801px){
:is(.designed-home,.renewal-subpage) .site-footer:after{right:-15px}}
@media(max-width:800px){
.design-trial{border-radius:32px;margin-top:12px;background:linear-gradient(145deg,#ffccd6,#ffe1e6 55%,#fff8f7);z-index:2}
.design-trial:before{left:-30%;top:8%;width:150%;height:58%;border-width:18px}
.design-trial-copy{position:relative;z-index:2}
.design-trial-photo{height:320px;margin-top:-18px;-webkit-mask-image:linear-gradient(180deg,transparent,#000 20%);mask-image:linear-gradient(180deg,transparent,#000 20%)}
.design-trial-photo img{transform:scale(2.1);transform-origin:66% 30%}
.design-trial-photo:after{background:linear-gradient(180deg,#ffe0e56b,transparent 30%)}
:is(.designed-home,.renewal-subpage) .site-footer:before{top:-75px;background-size:180% 100%;background-position:15% bottom;opacity:.7}
:is(.designed-home,.renewal-subpage) .site-footer:after{right:0;bottom:20px;width:100px;height:160px;opacity:.45}}

:is(.designed-home,.renewal-subpage) .site-footer:after{right:0}@media(max-width:1180px) and (min-width:801px){
:is(.designed-home,.renewal-subpage) .site-footer:after{right:15px}}
@media(max-width:800px){
:is(.designed-home,.renewal-subpage) .site-footer:after{right:8px}}

/* 下層でもTOPと同じ体験導線・フッターの文字とボタンを使う。 */
.design-trial .button{border:0;border-radius:40px;box-shadow:none;line-height:1.6}
.site-footer .text-link{border:0;font-size:16px}


.design-wrap{width:min(1240px,calc(100% - 112px));margin-inline:auto}
.design-instructor>.design-wrap{position:relative}@media(max-width:1180px){
.design-wrap{width:calc(100% - 72px)}}
@media(max-width:800px){
.design-wrap{width:calc(100% - 40px)}}

.design-wrap{width:min(1280px,calc(100% - 144px))}@media(min-width:801px) and (max-width:1180px){
.design-wrap{width:calc(100% - 72px)}}
@media(max-width:800px){
.design-wrap{width:calc(100% - 40px)}}

/* 濃い塗りボタンは指定した初回体験予約だけ。他の案内はテキストリンク。 */
body a.booking-cta{background:linear-gradient(105deg,#df4665,#e9658a);color:#fff;border:0;border-radius:40px;font-weight:700;box-shadow:none;text-decoration:none}
body a.text-link{background:none;border:0;border-bottom:1px solid #ee9cae;border-radius:0;box-shadow:none;color:var(--ink);padding:12px 0;min-height:0;min-width:0;max-width:100%;width:fit-content;gap:24px;font-weight:500;line-height:1.8;text-decoration:none}
body a.text-link:hover{background:none;color:var(--accent,#c4385a)}
.design-hero-copy>.text-link{margin-top:24px;font-size:20px}
.design-feature .feature-more.text-link{display:flex;margin:26px auto 0;padding:12px 0;width:fit-content}
.design-instructor-links a{background:none;border-radius:0;padding:15px 0;border-bottom:1px solid #ee9cae}
.site-footer a.text-link{border:0;padding-block:5px;font-size:16px}
body .header-cta.booking-cta{background:linear-gradient(105deg,#df4665,#e9658a);color:#fff;font-weight:700}
body .design-trial .booking-cta{font-size:20px}
@media(max-width:800px){body .design-trial .booking-cta{font-size:18px}.design-hero-copy>.text-link{font-size:18px}}

/* 予約CV：2026-10-27支給PC/SPデザイン。拡大transformを使わず写真の範囲を指定。 */
.design-trial.trial-banner{display:block;min-height:540px;border-radius:48px;background:radial-gradient(ellipse at 30% 46%,#fff7f6 0%,#ffe9ed 44%,#ffccd8 100%);isolation:isolate}
.trial-banner:before{inset:0;width:auto;height:auto;border:0;border-radius:0;transform:none;background:url('./assets/trial-banner-waves.svg') center/100% 100% no-repeat;z-index:3}
.trial-banner:after{content:'';position:absolute;bottom:88px;left:10px;width:78px;height:130px;background:url('./assets/leaf-sprig.svg') center/contain no-repeat;transform:rotate(22deg);opacity:.65;z-index:3;pointer-events:none}
.trial-banner .design-trial-copy{width:64%;padding:80px 0 85px 7.5%;text-align:left;z-index:4}
.trial-banner .design-trial-copy>p:first-child{font-size:20px;font-weight:500;letter-spacing:.12em;margin-bottom:28px}
.trial-banner .design-trial-copy>p:first-child:after{content:'';display:block;width:64px;height:1px;background:#ed9bb0;margin-top:24px}
body .trial-banner h2{font-size:clamp(32px,3.4vw,49px);font-weight:500;letter-spacing:.04em;line-height:1.65;margin:0}
.trial-banner-highlight{position:relative;isolation:isolate;white-space:nowrap}
.trial-banner-highlight:after{content:'';position:absolute;z-index:-1;left:5%;right:5%;bottom:.03em;height:.26em;background:#ffcbd7b3;border-radius:40% 30% 15% 20%;transform:rotate(-1deg)}
.trial-banner .design-trial-copy h2+p{font-size:20px;line-height:1.8;margin-top:24px;letter-spacing:0}
body .trial-banner .booking-cta{position:relative;display:flex;align-items:center;justify-content:center;gap:38px;width:490px;max-width:94%;min-width:0;min-height:76px;padding:18px 32px;margin-top:34px;font-size:25px;line-height:1.6;box-shadow:0 12px 22px #d9476b24;background:linear-gradient(110deg,#e4456c,#d94468);transform:none}
.trial-banner .booking-cta>span{font-size:32px;line-height:1}
.trial-banner .design-trial-photo{position:absolute;inset:0 0 0 35%;height:auto;margin:0;border-radius:0;-webkit-mask-image:linear-gradient(90deg,transparent,#000 32%);mask-image:linear-gradient(90deg,transparent,#000 32%);overflow:hidden;z-index:1}
.trial-banner .design-trial-photo img{position:absolute;width:180%;max-width:none;height:auto;left:-48%;top:-3%;object-fit:initial;transform:none}
.trial-banner .design-trial-photo:after{display:none}
@media(min-width:801px) and (max-width:1180px){
 .design-trial.trial-banner{min-height:450px}
 .trial-banner .design-trial-copy{padding:55px 0 60px 6%;width:67%}
 .trial-banner .design-trial-copy>p:first-child{font-size:18px}
 body .trial-banner h2{font-size:34px}
 .trial-banner .design-trial-copy h2+p{font-size:18px;max-width:390px}
 body .trial-banner .booking-cta{width:370px;font-size:21px;min-height:65px}
 .trial-banner .design-trial-photo img{width:205%;left:-58%;top:0}
}
@media(max-width:800px){
 .design-trial.trial-banner{display:flex;flex-direction:column;min-height:0;border-radius:34px;background:radial-gradient(ellipse at 50% 35%,#fff8f7,#ffe5eb 65%,#ffceda)}
 .trial-banner:before{background-size:200% 100%;background-position:40% center;z-index:3}
 .trial-banner:after{left:auto;right:-9px;top:17px;bottom:auto;width:60px;height:90px;transform:rotate(-25deg);opacity:.65}
 .trial-banner .design-trial-copy{width:100%;padding:36px 22px 24px;text-align:center}
 .trial-banner .design-trial-copy>p:first-child{font-size:16px;letter-spacing:.07em;margin-bottom:23px}
 .trial-banner .design-trial-copy>p:first-child:after{width:46px;margin:16px auto 0}
 body .trial-banner h2{font-size:clamp(23px,7.3vw,40px);line-height:1.65;letter-spacing:.015em}
 .trial-banner .design-trial-copy h2+p{font-size:16px;line-height:1.8;margin-top:22px;text-wrap:wrap}
 body .trial-banner .booking-cta{width:100%;max-width:none;min-height:60px;padding:16px 20px;margin-top:28px;font-size:18px;gap:22px}
 .trial-banner .booking-cta>span{font-size:28px}
 .trial-banner .design-trial-photo{position:relative;inset:auto;width:calc(100% - 10px);height:auto;aspect-ratio:1.18;margin:0 5px 5px;border-radius:44% 44% 28px 28px / 9% 9% 28px 28px;-webkit-mask-image:none;mask-image:none}
 .trial-banner .design-trial-photo img{width:210%;left:-71%;top:-6%;height:auto;transform:none}
}
@media(max-width:370px){
 .trial-banner .design-trial-copy{padding:30px 16px 22px}
 body .trial-banner h2{font-size:23px;letter-spacing:0}
 body .trial-banner .booking-cta{padding-inline:14px;gap:14px;font-size:17px}
}

.trial-banner-phrase{display:inline-block}

/* 現行本番の感想・評価・属性を、そのまま新デザインへ引き継ぐ。 */
.customer-voice-stars{color:#b83d5c;font-size:18px;letter-spacing:.14em;line-height:1.6;margin:0 0 24px}
.customer-voice-quote{font-family:var(--serif);font-size:16px;line-height:1.85;letter-spacing:.02em;margin:0 0 28px}
.customer-voice-author{font-size:16px;line-height:1.7;padding-top:20px;border-top:1px solid #f0dce2;margin-top:auto;color:#6e555d}
.home-voice-card,.voice-cards .customer-voice-card{display:flex;flex-direction:column}
@media(max-width:800px){.customer-voice-quote{font-size:16px;line-height:1.9}.customer-voice-stars{margin-bottom:20px}.customer-voice-author{padding-top:18px}}

/* フッターSNS：支給アイコンと2026-10-28指定リンク。 */
.site-footer .footer-social{display:flex;flex-wrap:wrap;gap:8px 24px;margin-top:20px}
.site-footer .footer-social a{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:6px 0;font-size:16px;line-height:1.5;text-decoration:none}
.site-footer .footer-social img{width:24px;height:24px;flex:none}
.site-footer .footer-social a:hover{text-decoration:underline;text-underline-offset:5px}
.site-footer .footer-social a:focus-visible{outline:2px solid var(--accent,#c4385a);outline-offset:5px;border-radius:2px}

/* 予約導線はグロナビから画面下の追従バーへ。 */
body.has-booking-dock{padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))}
html:has(.booking-dock){scroll-padding-bottom:calc(112px + env(safe-area-inset-bottom,0px))}
.booking-dock{position:fixed;inset:auto 0 0;z-index:30;display:flex;justify-content:center;padding:12px 24px calc(12px + env(safe-area-inset-bottom,0px));background:#fff8f7f5;border-top:1px solid #f0d9df;box-shadow:0 -4px 20px #2b242408}
body .booking-dock .fixed-booking-button{display:flex;align-items:center;justify-content:center;gap:40px;width:min(440px,100%);min-height:60px;padding:16px 28px;font-size:20px;line-height:1.4;transform:none}
.booking-dock .fixed-booking-button>span{font-size:24px;line-height:1}
@media(max-width:800px){
 body.has-booking-dock{padding-bottom:calc(82px + env(safe-area-inset-bottom,0px))}
 .booking-dock{padding:10px 20px calc(10px + env(safe-area-inset-bottom,0px))}
 body .booking-dock .fixed-booking-button{min-height:56px;font-size:18px;padding:14px 22px;gap:28px}
 body.has-booking-dock .site-header .brand{width:185px}
}
@media(max-width:370px){body.has-booking-dock .site-header .brand{width:165px}.booking-dock{padding-inline:16px}}

/* フッター内のリンク表現を統一。フォーカス枠は維持する。 */
.site-footer .footer-nav a{text-decoration:none;border-bottom:0}

/* 予約バーの待避領域をフッター内に収め、背景下の空白をなくす。 */
body.has-booking-dock{padding-bottom:0}.has-booking-dock .site-footer{padding-bottom:109px}@media(max-width:800px){.has-booking-dock .site-footer{padding-bottom:101px}}

/* グロナビの内容をMV・本文と同じ最大1280px領域に揃える。 */
@media(min-width:1181px){:is(.designed-home,.renewal-subpage) .site-header{padding-inline:max(72px,calc((100% - 1280px)/2))}}
@media(min-width:801px) and (max-width:1180px){:is(.designed-home,.renewal-subpage) .site-header{padding-inline:36px}}
@media(max-width:800px){:is(.designed-home,.renewal-subpage) .site-header{padding-inline:20px}}

/* 支給 export-2.svg：外部サイトへのリンクを示す。 */
a[href^="http"][target="_blank"]:not([href^="https://sta.tasuki.ibjapan.jp/"]):not([href^="https://tasuki.ibjapan.jp/"])::after{content:"";display:inline-block;width:18px;height:18px;flex:0 0 18px;margin-left:8px;vertical-align:-3px;background-color:currentColor;-webkit-mask:url('./assets/icon-external-link.svg') center/contain no-repeat;mask:url('./assets/icon-external-link.svg') center/contain no-repeat}
a[href^="http"][target="_blank"]:not([href^="https://sta.tasuki.ibjapan.jp/"]):not([href^="https://tasuki.ibjapan.jp/"])>span[aria-hidden="true"]{display:none}
.site-footer .footer-nav a[href^="http"][target="_blank"]{display:block}
