.section { padding: 128px 10vw; background: var(--paper); border-top: 1px solid var(--line); }
.section-kicker { margin: 0 0 18px; color: #397d95; font: 700 15px Outfit, sans-serif; letter-spacing: .15em; }
.section h2, .footer h2 { margin: 0; font-size: clamp(36px, 4.3vw, 66px); line-height: 1.28; letter-spacing: .03em; }
.button { display: inline-flex; align-items: center; gap: 32px; padding: 15px 0; border: 0; border-bottom: 1px solid currentColor; background: none; font-weight: 700; }
.button span { font-size: 22px; transition: transform .2s; }
.button:hover { gap: 38px; }
.button:hover span { transform: translateX(6px); }

.intro { border-top: 0; }
.intro-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); gap: 10vw; align-items: end; }
.intro-layout p { margin: 0; font-size: 17px; line-height: 2; }
.intro-layout p + p { margin-top: 18px; color: #526779; }
.media-frame, .profile-visual, .work-media { overflow: hidden; background: #eaf0f5; border: 1px dashed #9cb5c2; }
.media-frame img, .media-frame video, .media-frame iframe, .profile-visual img, .profile-visual video, .work-media img, .work-media video { display: block; width: 100%; height: 100%; border: 0; object-fit: cover; }
.media-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; color: #537183; text-align: center; }
.media-placeholder span { font: 600 11px Outfit, sans-serif; letter-spacing: .16em; }
.media-placeholder p { margin: 8px 0 0; font-size: 13px; }
.about-media { width: min(100%, 960px); aspect-ratio: 16 / 9; margin: 68px auto 0; }

.services > h2 { margin-bottom: 46px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 42px; }
.service-card { position: relative; display: flex; flex-direction: column; min-height: 360px; padding: 28px; overflow: hidden; border: 1px solid var(--line); background: rgba(255, 255, 255, .56); transition: transform .3s ease, border-color .3s ease, background-color .3s ease, box-shadow .3s ease, color .3s ease; }
.service-card::after { position: absolute; right: -18px; bottom: -29px; color: rgba(26, 43, 60, .045); font: 600 112px/1 Outfit, sans-serif; letter-spacing: -.06em; transition: color .3s ease, transform .3s ease; }
.service-card:nth-child(1)::after { content: "01"; }
.service-card:nth-child(2)::after { content: "02"; }
.service-card:nth-child(3)::after { content: "03"; }
.service-card > * { position: relative; z-index: 1; }
.service-card-head { display: flex; align-items: center; justify-content: space-between; min-height: 20px; }
.service-number, .strength-grid span, .flow-list span { color: #4d839a; font: 600 13px Outfit, sans-serif; }
.service-badge { padding: 4px 8px; border: 1px solid rgba(77, 131, 154, .45); color: #4d839a; font: 600 10px Outfit, sans-serif; letter-spacing: .1em; }
.service-card-title { margin-top: 48px; }
.service-card-title > span { color: #667c8c; font: 500 12px Outfit, sans-serif; letter-spacing: .1em; }
.service-card h3 { margin: 7px 0 0; font-size: 24px; }
.service-card ul { margin: 30px 0 0; padding: 0; list-style: none; font-size: 15px; line-height: 2; }
.service-card li::before { content: "—"; margin-right: 8px; color: #4d839a; }
.service-card-footer { margin-top: auto; }
.service-price { margin: 24px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: #4d839a; font: 500 13px "Noto Sans JP", sans-serif; }
.service-price strong { margin-left: 8px; color: var(--ink); font: 600 20px Outfit, "Noto Sans JP", sans-serif; }
.service-price small { display: block; margin-top: 7px; color: #667c8c; font-size: 11px; line-height: 1.6; }
.service-detail-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding-bottom: 4px; border-bottom: 1px solid currentColor; color: var(--ink); font-size: 13px; font-weight: 700; }
.service-detail-link span { font-size: 17px; transition: transform .2s ease; }
.service-detail-link:hover,
.service-detail-link:focus-visible { color: var(--accent); }
.service-detail-link:hover span,
.service-detail-link:focus-visible span { transform: translateX(5px); }

.strength-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px; margin-top: 52px; }
.strength-grid article { padding-top: 22px; border-top: 1px solid var(--line); }
.strength-grid h3 { margin: 20px 0 12px; font-size: 20px; }
.strength-grid p { margin: 0; color: #526779; font-size: 16px; line-height: 2; }
.strength-grid small { display: block; margin-top: 12px; color: #667c8c; font-size: 12px; line-height: 1.7; }

.profile-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10vw; align-items: start; }
.profile-layout h2 { margin: 0; font-family: Outfit, "Noto Sans JP", sans-serif; }
.profile-layout h2 span { color: #4d839a; font-size: 15px; letter-spacing: .16em; }
.profile-layout > div > p { max-width: 410px; margin: 32px 0 0; color: #526779; font-size: 16px; line-height: 2; }
.profile-visual { aspect-ratio: 4 / 3; max-width: 410px; margin-top: 32px; }
.profile-visual--portrait { aspect-ratio: 2 / 3; max-width: 360px; }
.profile-details { margin: 0; padding: 0; border-top: 1px solid var(--line); }
.profile-details > div { display: grid; grid-template-columns: 155px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.profile-details dt { color: #4d839a; font: 600 13px Outfit, "Noto Sans JP", sans-serif; letter-spacing: .08em; }
.profile-details dd { margin: 0; font-size: 16px; line-height: 1.8; }

.section-heading > p { margin: 18px 0 0; color: #526779; font-size: 16px; }
.works-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 900px; margin-top: 46px; }
.work-card { border: 1px solid var(--line); }
.work-media { aspect-ratio: 16 / 10; border-width: 0 0 1px; }
.work-info { padding: 22px 24px 24px; }
.work-info span { color: #4d839a; font: 500 12px Outfit, sans-serif; letter-spacing: .1em; }
.work-info h3 { margin: 32px 0 6px; font: 500 28px Outfit, sans-serif; letter-spacing: .06em; }
.work-info p { margin: 0; font-size: 15px; }
.work-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; margin-top: 22px; padding: 11px 16px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; }
.work-button span { font-size: 16px; line-height: 1; transition: transform .2s; }
.work-button:hover, .work-button:focus-visible { border-color: var(--accent); background: var(--accent); color: var(--ink); box-shadow: 0 8px 18px rgba(26,43,60,.18); transform: translateY(-2px); }
.work-button:hover span, .work-button:focus-visible span { transform: translate(2px, -2px); }

.flow-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 48px 0 0; padding: 0; list-style: none; }
.flow-list li { padding-top: 20px; border-top: 1px solid var(--line); }
.flow-list h3 { margin: 22px 0 10px; font-size: 16px; }
.flow-list p { margin: 0; color: #526779; font-size: 14px; line-height: 1.9; }

.footer { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 360px); grid-template-areas: "kicker pages" "title pages" "copy pages" "button pages"; column-gap: clamp(56px, 12vw, 180px); min-height: 470px; padding: 115px 10vw 42px; background: var(--ink); color: #fff; }
.footer .section-kicker { grid-area: kicker; color: var(--accent); }
.footer h2 { grid-area: title; }
.footer > p:not(.section-kicker) { grid-area: copy; margin: 30px 0 0; color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.9; }
.button-footer { grid-area: button; justify-self: start; margin-top: 32px; color: var(--accent); }
.button-footer:hover, .button-footer:focus-visible { color: #fff; }
.copyright { position: absolute; bottom: 38px; left: 50%; color: rgba(255,255,255,.58); font: 500 10px Outfit, sans-serif; transform: translateX(-50%); }
.copyright:hover, .copyright:focus-visible { color: var(--accent); transform: translate(-50%, -2px); }
.footer-pages { grid-area: pages; align-self: center; width: 100%; margin: 0; padding: 8px 0 8px 38px; border-left: 1px solid rgba(255,255,255,.24); }
.footer-pages p { margin: 0 0 15px; color: var(--accent); font: 700 15px Outfit, sans-serif; letter-spacing: .15em; }
.footer-page-list { display: grid; gap: 14px; }
.footer-page-list a, .footer-page-list span { color: rgba(255,255,255,.86); font-size: 15px; }
.footer-page-list a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.footer-page-list a:hover { color: var(--accent); }
.footer-page-list small { margin-left: 5px; color: rgba(255,255,255,.48); font-size: 11px; }
.footer-social { margin-top: 38px; padding-top: 27px; border-top: 1px solid rgba(255,255,255,.18); }
.footer-social > p { margin: 0 0 14px; color: var(--accent); font: 700 13px Outfit, sans-serif; letter-spacing: .15em; }
.footer-social-list { display: flex; gap: 10px; }
.footer-social-list a { position: relative; display: grid; width: 42px; height: 42px; place-items: center; overflow: hidden; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: transparent; transition: border-color .2s, background .2s, transform .2s; }
.social-icon { position: absolute; width: 18px; height: 18px; object-fit: contain; transition: opacity .2s; }
.social-icon--hover { opacity: 0; }
.footer-social-list a:hover, .footer-social-list a:focus-visible { border-color: #fff; background: #fff; outline: 0; transform: translateY(-3px); }
.footer-social-list a:hover .social-icon--default, .footer-social-list a:focus-visible .social-icon--default { opacity: 0; }
.footer-social-list a:hover .social-icon--hover, .footer-social-list a:focus-visible .social-icon--hover { opacity: 1; }
