/* B案のファーストビュー + A案のサービスアイコン。トップだけに適用。 */
@font-face { font-family: "Zen Maru Gothic"; font-style: normal; font-weight: 500; font-display: swap; src: url("./assets/zen-maru-gothic-medium.ttf") format("truetype"); }
@font-face { font-family: "Zen Maru Gothic"; font-style: normal; font-weight: 700; font-display: swap; src: url("./assets/zen-maru-gothic-bold.ttf") format("truetype"); }
.home-selected .home-entry h2 { font-family: "Zen Maru Gothic", Meiryo, sans-serif; font-weight: 700; }
.home-selected .home-entry-copy > span:last-child { font-family: "Zen Maru Gothic", Meiryo, sans-serif; font-weight: 500; }
.home-selected .ai-home-feature.section-shell {
 display: block; width: min(960px, calc(100% - 64px));
 padding: 48px 64px; margin: 32px auto 80px;
}
.home-selected .ai-home-feature .eyebrow { margin: 0 0 16px; }
.home-selected .ai-home-feature h2 { font: 500 34px / 1.6 var(--serif); margin: 0 0 24px; letter-spacing: .015em; }
.home-selected .ai-home-feature > div:last-child { max-width: none; }
.home-selected .ai-home-feature > div:last-child > p { margin: 0 0 24px; font-size: 18px; line-height: 1.9; }
.home-selected .ai-home-feature .button { background: #202522; display: flex; width: fit-content; min-width: 0; margin: 0 auto; border-radius: 4px; font-size: 17px; padding: 16px 24px; }
.home-selected .ai-home-feature .button:hover { background: #0f1110; }
.service-wave-band { position: relative; isolation: isolate; background: #f3f5f2; padding: 58px 0 92px; }
.service-wave { position: absolute; z-index: 0; top: -80px; left: 0; display: block; width: 100%; height: 82px; color: #f3f5f2; pointer-events: none; }
.service-wave path { fill: currentColor; }
.service-choices { position: relative; z-index: 1; padding-block: 0; }
.service-choice-heading { max-width: 760px; margin: 0 0 38px; }
.service-choice-heading .eyebrow { margin: 0 0 14px; color: #626a65; font-size: 13px; font-weight: 700; letter-spacing: .16em; }
.service-choice-heading h2 { margin: 0; font: 500 clamp(34px, 3.4vw, 48px) / 1.5 var(--serif); letter-spacing: .02em; }
.service-choice-heading > p:last-child { max-width: 38em; margin: 20px 0 0; font-size: 18px; line-height: 1.9; }
.service-choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.service-choice { display: flex; flex-direction: column; min-width: 0; padding: 32px; overflow: hidden; background: #fff; border: 1px solid #dfe4e0; border-radius: 12px; box-shadow: 0 14px 34px rgba(28, 39, 33, .06); scroll-margin-top: 32px; }
.service-choice-image { display: block; flex: none; width: calc(100% + 64px); max-width: none; height: clamp(190px, 17vw, 260px); margin: -32px -32px 28px; object-fit: cover; object-position: center; border-bottom: 1px solid #e2e5db; }
.service-choice-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; color: #626a65; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.service-choice-kicker span { display: inline-grid; place-items: center; width: 30px; height: 30px; border: 1px solid #cbd2cd; border-radius: 50%; color: #25352c; font-size: 12px; letter-spacing: 0; }
.choice-label { font-size: 16px; color: #6e7c64; margin: 0 0 16px; }
.service-choice h3 { font: 500 clamp(25px, 2.1vw, 32px) / 1.5 var(--serif); margin: 0 0 16px; }
.choice-description { font-size: 18px; line-height: 1.85; margin: 0 0 28px;  }
.service-choice summary { cursor: pointer; font-size: 16px; font-weight: 600; border-top: 1px solid #d9ded2; padding-top: 20px; }
.choice-options { display: grid; gap: 20px; margin-top: 24px; }
/* Left to right: blue, aqua, mint. Keep the same lightness and gradient direction. */
#lp-services { --choice-light: #eaf9fa; --choice-deep: #d3edf0; --choice-hover-light: #e0f5f7; --choice-hover-deep: #c1e4e8; --choice-ink: #243e44; --choice-price: #215663; }
#system-services { --choice-light: #edf9f3; --choice-deep: #d6eee2; --choice-hover-light: #e2f6ec; --choice-hover-deep: #c5e5d6; --choice-ink: #293f37; --choice-price: #285b46; }
.choice-options a { display: grid; gap: 8px; padding: 20px 16px; background: linear-gradient(125deg, var(--choice-light, #edf7ff) 0%, var(--choice-deep, #d8eaf8) 100%); color: var(--choice-ink, #203c50); border-radius: 6px; font-size: 16px; line-height: 1.7; }
.choice-options a:hover,
.choice-options a:focus-visible { background: linear-gradient(125deg, var(--choice-hover-light, #e2f2ff) 0%, var(--choice-hover-deep, #c6e0f4) 100%); }
.choice-options a span:last-child { color: var(--choice-price, #1b4b6a); font-weight: 700; }
@media (max-width: 1050px) {
 .service-choice-grid { gap: 20px; }
 .service-choice { padding: 24px; }
 .service-choice-image { width: calc(100% + 48px); margin: -24px -24px 24px; }
 .choice-description { font-size: 16px;  }
}
@media (max-width: 760px) {
 .home-selected .ai-home-feature.section-shell { width: calc(100% - clamp(36px, 10vw, 44px)); padding: 28px 24px; margin-block: 24px 56px; }
 .home-selected .ai-home-feature h2 { font-size: 26px; text-wrap: balance; margin-bottom: 20px; }
 .home-selected .ai-home-feature > div:last-child > p { font-size: 16px; margin-bottom: 20px; }
 .home-selected .ai-home-feature .button { width: 100%; font-size: 16px; padding: 14px; }
 .service-choice-grid { grid-template-columns: 1fr; gap: 20px; }
 .service-choice-image { height: clamp(210px, 58vw, 280px); }
 .service-choice h3 { font-size: 26px; min-height: 0; margin-bottom: 12px; }
 .choice-description { min-height: 0; margin-bottom: 20px; }
 .service-wave-band { padding: 42px 0 64px; }
 .service-wave { top: -56px; height: 58px; }
 .service-choice-heading { margin-bottom: 28px; }
 .service-choice-heading h2 { font-size: clamp(30px, 8vw, 36px); }
 .service-choice-heading > p:last-child { margin-top: 16px; font-size: 16px; }
}
.home-selected { background: #fffefb; color: #203c2d; }
.home-selected .about-contact .monogram,
.home-selected .contact-actions a { background: #fff; }
.home-selected .section-shell,
.home-selected .site-header { width: min(1440px, calc(100% - 64px)); }
.home-selected .site-header { min-height: 100px; border: 0; }
.home-selected .brand { font-family: var(--serif); font-size: 42px; font-weight: 500; letter-spacing: .025em; }
.home-selected .hero { display: grid; grid-template-columns: .95fr 1.25fr; gap: 32px; padding: 20px 0 34px; align-items: center; }
.home-selected .hero-copy { min-width: 0; padding: 20px 0 20px 20px; }
.home-selected .hero h1 { margin: 0 0 40px; font-size: clamp(30px, 3vw, 44px); line-height: 1.75; letter-spacing: .015em; font-weight: 500; }
.home-selected .hero h1 span { display: block; }
.home-selected .hero-lead { margin: 0 0 38px; font-size: 18px; line-height: 1.9; }
.home-selected .hero-actions { --green: #202522; --green-dark: #0f1110; display: flex; gap: 20px; flex-wrap: wrap; }
.home-selected .hero-actions .button { min-width: 190px; padding: 16px 24px; border-radius: 4px; font-size: 16px; letter-spacing: .03em; justify-content: center; align-items: center; text-align: center; }
.home-selected .hero-actions .button span[aria-hidden] { display: none; }
.home-selected .hero figure { margin: 0; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; contain: none; position: relative; isolation: isolate; background: #f3f1e9; }
.home-selected .hero .hero-slide { display: block; position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; object-position: center; border-radius: 0; filter: none; opacity: 0; animation: hero-slide-cycle 24s cubic-bezier(.45, 0, .25, 1) infinite; }
.home-selected .hero .hero-slide-web { animation-delay: 0s; }
.home-selected .hero .hero-slide-lp { animation-delay: -16s; }
.home-selected .hero .hero-slide-ai { animation-delay: -8s; }
.home-selected .hero .reference-visual::after { content: ""; position: absolute; z-index: 2; inset: auto 0 0; height: 38%; background: linear-gradient(to top, rgba(13, 29, 24, .54) 0%, rgba(13, 29, 24, .16) 48%, transparent 100%); pointer-events: none; }
.home-selected .hero-slide-label { position: absolute; z-index: 3; left: 24px; bottom: 22px; display: flex; align-items: center; gap: 11px; padding: 0; border: 0; background: none; color: #fff; text-shadow: 0 1px 8px rgba(7, 17, 13, .52); font-size: 11px; font-weight: 700; letter-spacing: .2em; line-height: 1; opacity: 0; animation: hero-label-cycle 24s cubic-bezier(.45, 0, .25, 1) infinite; }
.home-selected .hero-slide-label-index { color: #f1d98f; font-size: 10px; letter-spacing: .08em; }
.home-selected .hero-slide-label-rule { display: block; width: 28px; height: 1px; background: rgba(255, 255, 255, .78); }
.home-selected .hero-slide-label-web { animation-delay: 0s; }
.home-selected .hero-slide-label-lp { animation-delay: -16s; }
.home-selected .hero-slide-label-ai { animation-delay: -8s; }
@keyframes hero-slide-cycle { 0%,24% { opacity: 1; transform: scale(1.002); } 35%,89% { opacity: 0; transform: scale(1.025); } 100% { opacity: 1; transform: scale(1.002); } }
@keyframes hero-label-cycle { 0%,24% { opacity: 1; transform: translateY(0); } 35%,89% { opacity: 0; transform: translateY(3px); } 100% { opacity: 1; transform: translateY(0); } }
.home-entries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: clamp(22px, 2.4vw, 32px); margin: clamp(40px, 4vw, 56px) auto 72px; background: #f3f5f2; border: 1px solid #e1e5e2; border-radius: 18px; }
.home-entry { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 24px; align-items: start; padding: 30px 24px; border: 1px solid #e4e7e4; border-radius: 9px; background: #fff; box-shadow: 0 12px 30px rgba(28, 39, 33, .05); transition: background .2s, border-color .2s, box-shadow .2s; }
.home-entry:hover { background: #f8faf8; border-color: #cfd6d1; box-shadow: 0 14px 34px rgba(28, 39, 33, .08); }
.home-entry-icon { --icon-accent: #dfc06c; display: block; width: 80px; height: 80px; overflow: hidden; border-radius: 50%; background: linear-gradient(145deg, #4a504d 0%, #303532 56%, #1d211f 100%); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), inset 0 10px 20px rgba(255, 255, 255, .04), 0 6px 16px rgba(24, 31, 27, .14); transition: transform .2s ease, box-shadow .2s ease; }
.home-entry-icon svg { display: block; width: 100%; height: 100%; }
.home-entry-icon .icon-surface { fill: rgba(255, 253, 244, .07); }
.home-entry-icon .icon-accent { stroke: var(--icon-accent); }
.home-entry-icon .icon-accent-fill { fill: var(--icon-accent); stroke: none; }
.home-entry-icon .icon-dot { fill: currentColor; stroke: none; }
.home-entry:hover .home-entry-icon { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), inset 0 10px 20px rgba(255, 255, 255, .05), 0 9px 20px rgba(24, 48, 35, .18); }
.home-entry-copy { display: contents; }
.home-entry-copy > span:last-child { grid-column: 1 / -1; }
.home-entry-rule { grid-column: 1 / -1; justify-self: center; }
.home-entry { row-gap: 0; }
.home-entry h2 { font: 500 24px / 1.5 var(--serif); letter-spacing: .015em; margin: 0; }
.home-entry-copy > span:last-child { display: block; font-size: 16px; line-height: 1.9; }
.home-entry-rule { display: block; width: 30px; height: 2px; background: #d7ddd9; margin: 12px 0; }

.home-selected .ai-home-feature.section-shell { background: #f4f6f4; border: 1px solid #e0e5e1; }
.home-tools {
 display: block;
 margin-block: clamp(72px, 8vw, 120px); padding: clamp(44px, 5vw, 76px);
 border: 1px solid #dde4df; border-radius: 18px; background: #f4f6f1;
}
.home-tools-copy .eyebrow { margin: 0 0 14px; color: #626a65; font-size: 13px; font-weight: 700; letter-spacing: .16em; }
.home-tools-copy h2 { margin: 0; font: 500 clamp(34px, 3.4vw, 48px) / 1.5 var(--serif); letter-spacing: .02em; }
.home-tools-copy > p:not(.eyebrow) { max-width: 34em; margin: 22px 0 0; font-size: 17px; line-height: 1.9; }
.home-tools-link { display: inline-flex; align-items: center; gap: 24px; margin-top: 30px; padding: 15px 22px; border-radius: 4px; background: #202522; color: #fff; font-size: 16px; font-weight: 700; }
.home-tools-link:hover,.home-tools-link:focus-visible { background: #0f1110; }
.home-tools-list { margin: 36px 0 0; padding: 0; border-top: 1px solid #d8dfda; list-style: none; }
.home-tools-list li { display: grid; gap: 2px; padding: 18px 0; border-bottom: 1px solid #d8dfda; }
.home-tools-list strong { font: 500 20px/1.5 var(--serif); }
.home-tools-list small { color: #67736c; font-size: 14px; line-height: 1.6; }
@media (max-width: 1100px) {
 .home-selected .hero { grid-template-columns: 1fr 1fr; gap: 24px; }
 .home-selected .hero-copy { padding-left: 0; }
 .home-selected .hero h1 { font-size: 32px; }
 .home-entry { grid-template-columns: 60px 1fr; gap: 18px; padding: 24px 18px; align-items: start; }
 .home-entry-icon { width: 60px; height: 60px; }
 .home-entry h2 { font-size: 21px; }
}
@media (max-width: 760px) {
 .home-selected .section-shell,.home-selected .site-header { width: calc(100% - clamp(36px, 10vw, 44px)); }
 .home-selected .site-header { min-height: 76px; }
 .home-selected .brand { font-size: 32px; }
 .home-selected .hero { grid-template-columns: 1fr; gap: 24px; padding: 28px 0 32px; }
 .home-selected .hero-slide-label { left: 16px; bottom: 16px; gap: 8px; font-size: 10px; letter-spacing: .16em; }
 .home-selected .hero-slide-label-rule { width: 22px; }
 .home-selected .hero-copy { padding: 0; }
 .home-selected .hero h1 { font-size: clamp(25px, 6.4vw, 34px); line-height: 1.7; margin-bottom: 24px; letter-spacing: 0; }
 .home-selected .hero-lead { font-size: 16px; margin-bottom: 26px; }
 .home-selected .hero-actions { gap: 16px; display: grid; grid-template-columns: 1fr 1fr; }
 .home-selected .hero-actions .button { min-width: 0; min-height: 50px; padding: 12px 8px; font-size: 14px; justify-content: center; }
 .home-entries { grid-template-columns: 1fr; gap: 20px; padding: 18px; margin: 0 auto 56px; border-radius: 14px; }
 .home-entry { grid-template-columns: 52px 1fr; gap: 16px; padding: 24px 20px; align-items: start; }
 .home-entry-icon { width: 52px; height: 52px; }
 .home-entry-copy { display: contents; }
 .home-entry h2 { font-size: 21px; text-wrap: balance; }
 .home-entry-rule { display: none; }
 .home-entry-copy > span:last-child { grid-column: 1 / -1; font-size: 16px; }
 .home-tools { width: calc(100% - clamp(36px, 10vw, 44px)); margin-block: 64px; padding: 32px 22px; border-radius: 14px; }
 .home-tools-copy h2 { font-size: clamp(30px, 8vw, 36px); }
 .home-tools-copy > p:not(.eyebrow) { margin-top: 16px; font-size: 16px; }
 .home-tools-link { width: 100%; justify-content: space-between; margin-top: 24px; }
 .home-tools-list li { padding: 16px 14px; }
 .home-tools-list strong { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
 .home-selected .hero .hero-slide,.home-selected .hero-slide-label { animation: none; }
 .home-selected .hero .hero-slide-web,.home-selected .hero-slide-label-web { opacity: 1; transform: none; }
}

.service-choice details { margin-top: auto; }
.home-selected .choice-options a[href="/web-production"] > span:not(:last-child),
.home-selected .choice-options a[href="/lp-production"] > span:not(:last-child),
.home-selected .about-block p { font-weight: 500; }
