/* 第13節の初回実画面確認で固定した全体表示・余白・可読性の補正。 */
.section{padding:clamp(60px,5vw,72px) 0}
html{scroll-padding-top:76px}
.hero-phrase{display:block;white-space:normal}.hero-word{white-space:nowrap}
.heading-phrase{display:block;white-space:nowrap}
.arrow{width:1em;height:1em;flex:0 0 1em;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8}
.button{white-space:nowrap}
.hero-actions .button{white-space:nowrap;flex:0 0 auto}
.hero-cta-block .hero-actions{margin-top:0;gap:12px}
.term-nowrap{display:inline-block;white-space:nowrap}
.service-visual figcaption{padding:8px 12px;color:#466277;font-size:.78rem;line-height:1.5;background:#f7fbfe}
@media(max-width:720px){.service-visual .image-note-detail{display:block}}
.hero-copy{grid-column:1;grid-row:1}.hero-workset{grid-column:2;grid-row:1 / span 2}.hero-cta-block{grid-column:1;grid-row:2;align-self:start}
.hero-workset{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:start;min-height:0}
.hero-work,.hero-work--main,.hero-work--small{position:static;width:auto;margin:0}
.hero-work--main{grid-row:span 1}.hero-work--small{width:48%;justify-self:end;align-self:end}
.hero-workset p{position:static;grid-column:1/-1;margin:0;font-size:.78rem}
.works-feature{grid-template-columns:1fr}.works-secondary{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.redesign-page .work-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.redesign-page .work-grid .work-card:first-child{grid-column:1/-1}
html.fx-on .reveal{opacity:1;transform:translateY(6px);transition:transform .45s ease}html.fx-on .reveal.is-on{transform:none}
.hero-copy h1,.section-title,.service-feature h3,.service-row h3,.work-card h3,.audience-card h2,.contact h2,.page-hero h1,.page-hero h2,.page-hero h3{ text-wrap:balance }
p,li,figcaption,a.button,.text-link{ text-wrap:pretty }
@media(max-width:900px){.hero-workset{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);min-height:0}}
@media(max-width:900px){.hero-copy,.hero-workset,.hero-cta-block{grid-column:auto;grid-row:auto;min-width:0}}
@media(max-width:720px){.hero-copy,.hero-workset,.hero-cta-block{grid-column:auto;grid-row:auto;min-width:0}.hero-copy{order:1}.hero-cta-block{order:2}.hero-workset{order:3;grid-template-columns:minmax(0,1fr);gap:12px;min-height:0;min-width:0}.hero-work--small{width:54%}.hero-workset *{min-width:0}.hero-workset p{font-size:.72rem}.works-secondary,.redesign-page .work-grid{grid-template-columns:1fr;gap:34px}.redesign-page .work-grid .work-card:first-child{grid-column:auto}.hero-phrase{white-space:normal}.hero-cta-block{margin-top:4px}}
@media(max-width:720px){.mobile-menu{max-height:calc(100dvh - 64px);overflow-y:auto}}
@media(max-width:720px){html{scroll-padding-top:64px}}

/* V8: 事業名の識別、方向追従ヘッダー、同格の制作画面を共通化する。 */
@font-face{font-family:"Space Grotesk";src:url("assets/fonts/SpaceGrotesk%5Bwght%5D.ttf") format("truetype");font-style:normal;font-weight:300 700;font-display:swap}
.site-header{transition:transform .22s ease}
.site-header.is-hidden{transform:translateY(-100%)}
.site-header:focus-within{transform:translateY(0)}
.brand{display:inline-grid;gap:2px;color:var(--navy);font-family:"Space Grotesk",-apple-system,BlinkMacSystemFont,sans-serif;font-weight:700;letter-spacing:0;line-height:1;text-decoration:none}
.brand-name{font-size:clamp(1.75rem,2.2vw,1.875rem)}
.brand-reading{font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;font-size:.68rem;font-weight:700;letter-spacing:.08em}
.button--secondary{background:transparent;border-color:var(--navy);color:var(--navy)}
.button--secondary:hover{background:var(--navy);color:#fff}
.entry-band a{display:grid;gap:7px;padding:20px}
.entry-label{display:flex;justify-content:space-between;gap:12px;font-weight:700}
.entry-preview{font-size:.86rem;font-weight:400;line-height:1.55}
.hero-brand{display:grid;gap:4px;margin:0 0 20px;color:var(--navy);line-height:1}
.hero-brand-name{font-family:"Space Grotesk",-apple-system,BlinkMacSystemFont,sans-serif;font-size:clamp(3rem,4.4vw,3.5rem);font-weight:700;letter-spacing:-.045em}
.hero-brand-reading{font-size:.8rem;font-weight:700;letter-spacing:.12em}
.hero-copy h1{font-size:clamp(2.25rem,3.2vw,2.625rem)}
.hero-work--small{width:100%;justify-self:stretch;align-self:stretch}
@media(max-width:900px){.hero-workset{grid-template-columns:1fr}}
@media(max-width:720px){.brand-name{font-size:clamp(1.5rem,6.7vw,1.625rem)}.brand-reading{font-size:.62rem}.hero-brand-name{font-size:clamp(2.125rem,10vw,2.5rem)}.hero-copy h1{font-size:clamp(1.875rem,8.2vw,2rem)}.hero-work--small{width:100%;justify-self:stretch;align-self:stretch}.entry-band a{gap:5px;padding:17px 20px}.entry-preview{font-size:.84rem}}
@media(prefers-reduced-motion:reduce){.site-header{transition:none}}
html[data-motion="off"] .site-header{transition:none}

/* 2026-10-02: 操作高を確保し、案内の自動反復を短い導入だけにする。 */
.desktop-nav a{display:inline-flex;min-height:44px;align-items:center}
.brand{min-height:44px;padding:4px 0;align-content:center}
.site-footer a{display:inline-flex;min-height:44px;align-items:center}
.site-footer .shell{align-items:center}
.scroll-cue:after{animation-iteration-count:2}
@media(max-width:720px){.site-footer .shell{align-items:flex-start}}


/* 2026-10-03 R6: 拡大文字を縮小せず収め、写真風紹介の注記を背景なしにする。 */
.button{max-width:100%;white-space:normal}
.hero-actions .button{flex:0 1 auto;white-space:normal}
.hero-copy,.hero-cta-block,.contact-action,.page-hero>.shell{min-width:0}
.hero-word{max-width:100%;white-space:normal}
.heading-phrase{white-space:normal}
.hero-copy h1,.page-hero h1{word-break:auto-phrase}
.hero-copy h1 .heading-word,.page-hero h1 .heading-word,.preparation h2 .heading-word{display:inline-block;white-space:nowrap}
.service-feature figure.service-visual,.redesign-page .service-row figure.service-visual{overflow:visible;border:0;background:transparent}
.service-visual img{border:1px solid var(--line)}
.service-visual figcaption{padding:8px 0 0;background:transparent;text-align:right}
@media(max-width:720px){
  .header-inner{display:flex;flex-wrap:wrap;gap:8px 12px;padding-block:8px}
  .brand{min-width:0;max-width:100%;width:max-content}
  .menu-button{margin-left:auto;white-space:nowrap}
}


/* 2026-10-03 ACT business candidate: 依頼内容と料金・相談の関係を明確にする。 */
.service-price-summary{display:grid;gap:10px;margin:20px 0 10px;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--navy)}
.service-price-summary>div{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 16px;min-width:0}
.service-price-summary dt{max-width:100%;font-size:.94rem;line-height:1.6}
.service-price-summary dd{margin:0;max-width:100%;font-weight:700;line-height:1.6}
.service-price-summary .price-amount,.service-price-summary .price-tax{display:inline-block;white-space:nowrap}
.service-price-summary .price-tax{font-size:.88em;font-weight:400}
.service-price-condition{margin:0 0 10px;font-size:.94rem;line-height:1.8;color:var(--ink)}
.service-feature .text-link{max-width:100%}.service-link-label{min-width:0}
.page-hero-actions{display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center;margin-top:20px}
.page-hero-actions>p{margin:0}
.service-row-copy{min-width:0}
.service-row-copy>p{margin:0 0 10px}
.pricing-jump-links{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 32px}
.pricing-jump-links a{display:inline-flex;align-items:center;min-height:44px;max-width:100%;padding:8px 14px;border:1px solid var(--navy);color:var(--navy);background:transparent;font-weight:700;font-size:.94rem;line-height:1.5;text-decoration:none}
.pricing-jump-links a:hover{color:#fff;background:var(--navy)}
.pricing-jump-links a:focus-visible,.relay-motion-control:focus-visible{outline:3px solid var(--navy);outline-offset:3px}
.pricing[id],.pricing h3[id]{scroll-margin-block-start:2.5em}
.contact-heading-word{display:inline-block;white-space:nowrap}
.relay-diagram{margin:0 0 38px;padding:20px 24px;border:1px solid var(--line);background:var(--pale);color:var(--ink)}
.relay-map{display:grid;grid-template-columns:minmax(0,1fr) 80px minmax(0,1.15fr);align-items:center;max-width:760px;margin:0 auto}
.relay-services{display:grid;gap:8px;list-style:none;padding:0;margin:0;color:var(--navy);font-weight:700;text-align:center}
.relay-services li{display:grid;align-content:center;min-height:44px;padding:7px 12px;border:1px solid var(--line);background:#fff;line-height:1.5}
.relay-junction{position:relative;height:100%;min-height:148px}
.relay-junction:before{content:"";position:absolute;left:50%;top:calc(16.6667% - 2.6667px);bottom:calc(16.6667% - 2.6667px);width:1px;background:#8caabd}
.relay-branch,.relay-trunk{position:absolute;left:0;width:50%;height:1px;background:#8caabd}
.relay-branch--web{top:calc(16.6667% - 2.6667px)}.relay-branch--sns{top:50%}.relay-branch--app{top:calc(83.3333% + 2.6667px)}
.relay-trunk{left:50%;top:50%}
.relay-branch:after,.relay-trunk:after{content:"";position:absolute;inset:0;background:var(--blue);opacity:0;transform-origin:left center}
.relay-destination{padding:12px 18px;border:1px solid var(--navy);background:#fff;color:var(--navy);text-align:center;line-height:1.6}
.relay-destination span{display:block;max-width:100%}
.relay-destination-name{font-family:"Space Grotesk",-apple-system,BlinkMacSystemFont,sans-serif;font-weight:700;font-size:1.12em}
.relay-diagram figcaption{margin:14px 0 0;font-size:.94rem;line-height:1.7}
.relay-motion-tools{min-height:44px;margin-top:6px}
.relay-motion-control{display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;padding:8px 12px;border:1px solid var(--navy);background:transparent;color:var(--navy);font:inherit;font-size:.9rem;line-height:1.5;cursor:pointer}
.relay-motion-control[hidden]{display:none}
.relay-motion-control:hover:not(:disabled){background:var(--navy);color:#fff}
.relay-motion-control:disabled{border-color:var(--line);color:var(--ink);cursor:default}
.relay-diagram.is-playing .relay-branch:after,.relay-diagram.is-playing .relay-trunk:after{animation:relay-line .9s ease-in-out both}
.relay-diagram.is-playing .relay-branch--sns:after{animation-delay:.12s}
.relay-diagram.is-playing .relay-branch--app:after{animation-delay:.24s}
.relay-diagram.is-playing .relay-trunk:after{animation-delay:.35s}
.relay-diagram.is-playing .relay-destination{animation:relay-destination 1.8s ease-out both}
@keyframes relay-line{0%{transform:scaleX(0);opacity:0}20%{opacity:1}65%{transform:scaleX(1);opacity:1}100%{transform:scaleX(1);opacity:0}}
@keyframes relay-destination{0%,100%{box-shadow:0 0 0 0 rgba(47,115,184,0)}55%{box-shadow:0 0 0 4px rgba(47,115,184,.2)}}
@media(max-width:900px){.redesign-page .service-row-copy{grid-column:2}}
@media(max-width:720px){.redesign-page .service-row-copy{grid-column:auto}.no-js .site-header{position:static}}
@media(max-width:520px){
  .relay-diagram{padding:16px}
  .relay-map{grid-template-columns:minmax(0,1fr)}
  .relay-services{display:flex;flex-wrap:wrap;padding:8px;border:1px solid var(--line);background:#fff}
  .relay-services li{flex:1 1 5em;min-width:0;max-width:100%}
  .relay-junction{height:32px;min-height:0;width:1px;margin:auto}
  .relay-junction:before,.relay-branch{display:none}
  .relay-trunk{left:0;top:0;width:1px;height:100%}
  .relay-trunk:after{transform-origin:center top}
  .relay-diagram.is-playing .relay-trunk:after{animation-name:relay-line-vertical;animation-delay:0s}
}
@keyframes relay-line-vertical{0%{transform:scaleY(0);opacity:0}20%{opacity:1}65%{transform:scaleY(1);opacity:1}100%{transform:scaleY(1);opacity:0}}
@media(prefers-reduced-motion:reduce){.relay-diagram.is-playing .relay-branch:after,.relay-diagram.is-playing .relay-trunk:after,.relay-diagram.is-playing .relay-destination{animation:none!important;box-shadow:none}.relay-branch:after,.relay-trunk:after{opacity:0!important}}
html[data-motion="off"] .relay-diagram.is-playing .relay-branch:after,html[data-motion="off"] .relay-diagram.is-playing .relay-trunk:after,html[data-motion="off"] .relay-diagram.is-playing .relay-destination{animation:none!important;box-shadow:none}

/* A2: 採用した2例だけを表示し、制作サンプル欄の空き列を残さない。 */
.works-feature.work-grid--two{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.redesign-page .work-grid.work-grid--two .work-card:first-child{grid-column:auto}
.work-grid--two .work-card{display:flex;flex-direction:column;align-items:flex-start}
.work-grid--two .work-card img{width:100%}
.work-grid--two .sample-button{margin-top:auto}
@media(max-width:720px){.works-feature.work-grid--two{grid-template-columns:1fr;gap:34px}}

/* 2026-10-04: user-requested opening, motion controls and footer repair. */
.hero-stage{background:linear-gradient(118deg,#f7fbfe 0%,#f7fbfe 52%,var(--pale) 52%)}
.hero-stage .hero-layout{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:40px;min-height:calc(100svh - var(--act-header-height,77px));padding:24px 0 60px;align-items:center}
.hero-stage .redesign-hero{display:flex;flex-direction:column;gap:24px;min-width:0;overflow:visible;background:transparent}
.hero-stage .hero-copy,.hero-stage .hero-cta-block{grid-column:auto;grid-row:auto}
.hero-stage .hero-copy,.hero-stage .hero-cta-block,.hero-stage .hero-scroll{order:0}
.hero-stage .hero-workset{grid-column:2;grid-row:1;max-width:340px;width:100%;justify-self:center;gap:12px}
.hero-stage .hero-workset p{line-height:1.65}
.hero-intro{background:#f7fbfe;padding:28px 0 32px;border-top:1px solid var(--line)}
.hero-intro .lead{margin:0;max-width:960px}
.hero-scroll{margin-top:1.25em;display:flex;align-items:center;justify-content:flex-start;gap:16px;min-width:0}
.hero-stage .hero-scroll .scroll-cue{position:relative;inset:auto;transform:none;display:inline-flex;align-items:center;justify-content:center;min-width:48px;min-height:58px;padding:10px;border:0;background:transparent;color:var(--navy);letter-spacing:normal;cursor:pointer}
.hero-scroll .scroll-cue:after{content:none;animation:none}
.hero-scroll .scroll-cue:disabled{cursor:default;opacity:1}
.scroll-cue-track{position:relative;display:block;width:26px;height:38px;border:2px solid currentColor;border-radius:15px}
.scroll-cue-track:before{content:"";position:absolute;left:50%;top:6px;width:6px;height:6px;background:currentColor;border-radius:50%;transform:translateX(-50%)}
.scroll-cue[data-scroll-state="running"] .scroll-cue-track:before{animation:act-scroll-dot 2.4s ease-in-out infinite}
@keyframes act-scroll-dot{0%,12%{transform:translate(-50%,0);opacity:1}78%,100%{transform:translate(-50%,17px);opacity:0}}
.scroll-cue-guide{position:absolute;z-index:2;bottom:calc(100% + 4px);left:0;width:max-content;max-width:calc(100vw - 40px);padding:4px 8px;border:1px solid var(--line);background:#fff;color:var(--navy);font-size:.76rem;line-height:1.6;letter-spacing:0;visibility:hidden;pointer-events:none}
.scroll-cue:not(:disabled):focus-visible .scroll-cue-guide,.scroll-cue[data-feedback="true"] .scroll-cue-guide{visibility:visible}
@media(hover:hover){.scroll-cue:not(:disabled):hover .scroll-cue-guide{visibility:visible}}
.cue-target{display:inline-flex;align-items:center;gap:8px;min-height:44px;max-width:100%;color:var(--navy);font-size:.9rem;font-weight:700;text-underline-offset:5px}
.hero-scroll .scroll-cue:focus-visible{outline:3px solid var(--navy);outline-offset:3px}
.site-footer{background:var(--pale);color:var(--navy);border-top:1px solid var(--line)}
.site-footer .shell{display:grid;justify-items:center;justify-content:center;align-items:center;gap:8px;text-align:center}
.site-footer a{color:var(--navy)}
.site-footer a:focus-visible{outline-color:var(--navy)}

.relay-map{grid-template-columns:minmax(0,1fr) 110px minmax(0,1.15fr)}
.relay-junction:before{width:2px;background:#6b8da5}
.relay-branch,.relay-trunk{height:2px;background:#6b8da5}
.relay-branch:after,.relay-trunk:after{inset:auto;left:-4px;top:-3px;width:8px;height:8px;border-radius:50%;background:var(--blue);opacity:0;transform:none}
.relay-diagram.is-playing .relay-branch:after{animation:act-relay-dot-x 1.1s ease-in-out both}
.relay-diagram.is-playing .relay-branch--sns:after{animation-delay:1.1s}
.relay-diagram.is-playing .relay-branch--app:after{animation-delay:2.2s}
.relay-diagram.is-playing .relay-trunk:after{animation:act-relay-dot-x 1.1s 3.3s ease-in-out both}
.relay-diagram.is-playing .relay-destination{animation:none}
.relay-services li,.relay-destination{transition:background-color .15s,color .15s,border-color .15s}
.relay-diagram[data-relay-phase="web"] .relay-services li:nth-child(1),.relay-diagram[data-relay-phase="sns"] .relay-services li:nth-child(2),.relay-diagram[data-relay-phase="app"] .relay-services li:nth-child(3),.relay-diagram[data-relay-phase="destination"] .relay-destination{background:var(--navy);border-color:var(--navy);color:#fff}
@keyframes act-relay-dot-x{0%{left:-4px;opacity:0}12%{opacity:1}88%{opacity:1}100%{left:calc(100% - 4px);opacity:0}}
.relay-motion-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin-top:12px}
.relay-motion-status{flex:1 1 15em;margin:0;max-width:100%;color:var(--navy);font-weight:700;font-size:.9rem;line-height:1.6}
.relay-motion-control{flex:0 1 auto;min-width:9.5em;background:#fff}
@media(max-width:900px){
 .hero-stage .hero-layout{grid-template-columns:minmax(0,1fr) minmax(0,.75fr);gap:28px}
}
@media(max-width:720px){
 .hero-stage{background:#f7fbfe}
 .hero-stage .hero-layout{grid-template-columns:minmax(0,1fr);min-height:0;gap:0;padding:0 0 28px}
 .hero-stage .redesign-hero{min-height:calc(100svh - var(--act-header-height,65px));padding:18px 0 14px;gap:16px;justify-content:center}
 .hero-stage .hero-workset{grid-column:auto;grid-row:auto;max-width:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}
 .hero-stage .hero-workset p{grid-column:1/-1;font-size:.78rem}
 .hero-stage .hero-brand{margin-bottom:16px}
 .hero-intro{padding:24px 0}
 .hero-scroll{gap:10px}
 .site-footer .shell{align-items:center}
}
@media(max-width:520px){
 .relay-map{grid-template-columns:minmax(0,1fr)}
 .relay-services{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:0;border:0;background:transparent}
 .relay-services li{padding:8px 4px;min-width:0;min-height:48px;line-height:1.5}
 .relay-junction{width:100%;height:72px;min-height:0;margin:0}
 .relay-junction:before{display:block;left:16.6667%;right:16.6667%;top:35px;bottom:auto;width:auto;height:2px}
 .relay-branch{display:block;top:0;width:2px;height:36px}
 .relay-branch--web{left:16.6667%}.relay-branch--sns{left:50%}.relay-branch--app{left:83.3333%}
 .relay-trunk{left:50%;top:36px;width:2px;height:36px}
 .relay-branch:after,.relay-trunk:after{left:-3px;top:-4px;transform:none;transform-origin:center}
 .relay-diagram.is-playing .relay-branch:after{animation-name:act-relay-dot-y}
 .relay-diagram.is-playing .relay-trunk:after{animation:act-relay-dot-y 1.1s 3.3s ease-in-out both}
}
@keyframes act-relay-dot-y{0%{top:-4px;opacity:0}12%{opacity:1}88%{opacity:1}100%{top:calc(100% - 4px);opacity:0}}
@media(prefers-reduced-motion:reduce){
 html.fx-on .reveal{opacity:1!important;transform:none!important}
 .scroll-cue-track:before,.relay-branch:after,.relay-trunk:after{animation:none!important}
}
html[data-motion="off"] .reveal{opacity:1!important;transform:none!important}
html[data-motion="off"] .scroll-cue-track:before{animation:none!important}

/* Keep service names whole when enlarged text makes three columns too narrow. */
.relay-diagram{container:act-relay-diagram / inline-size}
@container act-relay-diagram (max-width:calc(9em + 46px)){
 .relay-map{grid-template-columns:minmax(0,1fr)}
 .relay-services{grid-template-columns:minmax(0,1fr);padding:8px;border:1px solid var(--line);background:#fff}
 .relay-junction{width:100%;height:48px;min-height:0;margin:0}
 .relay-junction:before,.relay-branch{display:none}
 .relay-trunk{left:50%;top:0;width:2px;height:48px}
 .relay-trunk:after{left:-3px;top:-4px}
 .relay-diagram.is-playing .relay-trunk:after{animation:act-relay-dot-y 1.1s 3.3s ease-in-out both}
}
@supports not (container-type:inline-size){
 @media(max-width:520px){
  .relay-services{grid-template-columns:minmax(0,1fr);padding:8px;border:1px solid var(--line);background:#fff}
  .relay-junction{height:48px}
  .relay-junction:before,.relay-branch{display:none}
  .relay-trunk{top:0;height:48px}
 }
}
