@charset "UTF-8";

/* 画面幅の基準
   〜767px   スマートフォン
   768px〜   タブレット
   1024px〜  PC
*/

:root {
    --color-hero-fallback: #b7d4ea;
    --color-ground: aliceblue;
    --color-text: #1a1a1a;
    --font-gothic: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    --font-mincho: "Zen Old Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
    --hero-padding-x: 20px;
    --hero-padding-y: 24px;
    --panel-radius: 12px;
    /* 白の下地は透過20%（残る白さは80%）。文字を読みやすくする */
    --panel-bg: rgba(255, 255, 255, 0.8);
    --panel-shadow: 0 8px 24px rgba(20, 40, 60, 0.12);
    --photo-shadow: 0 10px 28px rgba(20, 40, 60, 0.16);
    /* マゼンタ指定はこの色 */
    --color-brand: #e300b8;
    --color-brand-bright: #ff4ec8;
    --header-offset: 18px;
    --brand-icon-size: 48px;
    --brand-pad-y: 6px;
}

html,
body {
    min-height: 100%;
    max-width: 100%;
    background-color: var(--color-ground);
    color: var(--color-text);
    font-family: var(--font-gothic);
    font-weight: 400;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    /* hidden だと iPhone が横にはみ出しを指で引きずれる。
       clip は横スクロール自体を作らない */
    overflow-x: clip;
    overscroll-behavior-x: none;
}

body {
    position: relative;
    z-index: 0;
}

/* 全ページ共通。地色（aliceblue）の上に bg_img を薄く固定し、
   画面全体に色のニュアンスを足す。中身より背面に置く */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: url("../images/bg_img.jpeg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.42;
}

.section:not(.section--consult) {
    background-color: transparent;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    /* ロゴとメニュー以外のすき間は、下の内容をクリックできるようにする */
    pointer-events: none;
    padding:
        calc(env(safe-area-inset-top, 0px) + var(--header-offset))
        calc(env(safe-area-inset-right, 0px) + var(--hero-padding-x))
        0
        calc(env(safe-area-inset-left, 0px) + var(--hero-padding-x));
}

.brand {
    position: relative;
    z-index: 3;
    pointer-events: auto;
    display: flex;
    align-items: center;
    flex: 0 1 auto;
    gap: 10px;
    width: fit-content;
    max-width: calc(100% - 64px);
    padding: var(--brand-pad-y) 18px var(--brand-pad-y) 8px;
    background-color: var(--panel-bg);
    /* 高さいっぱいで半円になる角丸 */
    border-radius: 999px;
    /* ヘッダーのメニューと同じ、少し弱い影 */
    box-shadow: 0 6px 16px rgba(20, 40, 60, 0.08);
}

.brand__icon {
    display: block;
    flex: 0 0 auto;
    width: auto;
    height: var(--brand-icon-size);
}

.brand__name {
    color: var(--color-brand);
    font-family: var(--font-gothic);
    font-size: clamp(0.84rem, 3.4vw, 1.05rem);
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.4;
}

.global-nav {
    position: relative;
    z-index: 3;
    pointer-events: auto;
    display: none;
    margin-left: auto;
    padding: 8px 8px 8px 18px;
    background-color: var(--panel-bg);
    border-radius: var(--panel-radius);
    /* ヘッダーのメニューだけ、共通の影より少し弱くする */
    box-shadow: 0 6px 16px rgba(20, 40, 60, 0.08);
}

.global-nav__list {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.2vw, 20px);
}

.global-nav__link {
    color: var(--color-text);
    font-family: var(--font-gothic);
    font-size: 0.84rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
}

.global-nav__link:hover,
.global-nav__link:focus-visible,
.mobile-menu__link:hover,
.mobile-menu__link:focus-visible {
    color: var(--color-brand);
}

.btn-magenta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.62em 1.25em;
    border-radius: 999px;
    background-color: var(--color-brand);
    color: #ffffff;
    font-family: var(--font-gothic);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(227, 0, 184, 0.28);
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.btn-magenta:hover,
.btn-magenta:focus-visible {
    background-color: #ee22c4;
    box-shadow: 0 0 8px rgba(255, 150, 220, 0.35), 0 6px 16px rgba(227, 0, 184, 0.28);
}

.menu-toggle {
    position: relative;
    z-index: 6;
    pointer-events: auto;
    display: none;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-left: auto;
    padding: 0;
    border: 0;
    border-radius: var(--panel-radius);
    background-color: var(--panel-bg);
    box-shadow: 0 6px 16px rgba(20, 40, 60, 0.08);
    cursor: pointer;
    appearance: none;
}

.menu-toggle__lines {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 20px;
}

.menu-toggle__line {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background-color: var(--color-brand);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-open .menu-toggle__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open .menu-toggle__line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open .menu-toggle__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* メニューを右へずらすと、その分がページの横幅になる。
   画面と同じ大きさの枠で切って、横ぶれの原因にしない */
.mobile-menu-frame {
    position: fixed;
    inset: 0;
    z-index: 5;
    overflow: hidden;
    pointer-events: none;
    contain: paint;
}

.mobile-menu-frame:has(.mobile-menu.is-open) {
    pointer-events: auto;
}

.mobile-menu {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding:
        calc(env(safe-area-inset-top, 0px) + 144px)
        calc(env(safe-area-inset-right, 0px) + 28px)
        calc(env(safe-area-inset-bottom, 0px) + 32px)
        calc(env(safe-area-inset-left, 0px) + 28px);
    background-color: var(--color-ground);
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.4s ease, visibility 0.4s ease;
}

/* 白地の上に bg_img を薄く重ね、ページ全体と同じニュアンスにする */
.mobile-menu::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: url("../images/bg_img.jpeg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.42;
}

.mobile-menu nav {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-menu.is-open {
    transform: translateX(0);
    visibility: visible;
}

.mobile-menu__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0.35rem;
}

.mobile-menu__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    color: var(--color-text);
    font-family: var(--font-gothic);
    font-size: 1.12rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-align: center;
    text-decoration: none;
}

.mobile-menu .btn-magenta {
    align-self: center;
    margin-top: 1.6rem;
    padding: 0.8em 1.5em;
    font-size: 1rem;
}

/* メニュー下の空きに、フッターと同じ文章と画像を置く */
.mobile-menu__message {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(280px, 86%);
    margin-top: auto;
    margin-inline: auto;
    padding-top: 24px;
}

.mobile-menu__message-text {
    margin: 0 0 12px;
    color: #1a2744;
    font-family: var(--font-gothic);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.75;
    text-align: center;
}

.mobile-menu__banner {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .mobile-menu__message {
        width: min(420px, 72%);
    }

    .mobile-menu__message-text {
        font-size: 0.95rem;
    }
}

body.is-menu-open {
    overflow: hidden;
}

.hero {
    position: relative;
    width: 100%;
    max-width: 100%;
    /* 中身が少ないときは画面いっぱい。多いときは下へ伸びる */
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    background-color: var(--color-hero-fallback);
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero__video {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center center;
    background-color: var(--color-hero-fallback);
}

/* iOS が自動再生できないときに出す再生ボタンを隠す */
.hero__video::-webkit-media-controls,
.hero__video::-webkit-media-controls-start-playback-button,
.hero__video::-webkit-media-controls-overlay-play-button {
    display: none !important;
    -webkit-appearance: none;
    opacity: 0;
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(18px, 3.2vh, 36px);
    box-sizing: border-box;
    width: min(1080px, 100%);
    min-width: 0;
    min-height: 100vh;
    min-height: 100dvh;
    margin-inline: auto;
    padding:
        calc(env(safe-area-inset-top, 0px) + var(--header-offset) + var(--brand-icon-size) + (var(--brand-pad-y) * 2) + 16px)
        calc(env(safe-area-inset-right, 0px) + var(--hero-padding-x))
        calc(env(safe-area-inset-bottom, 0px) + var(--hero-padding-y) + 72px)
        calc(env(safe-area-inset-left, 0px) + var(--hero-padding-x));
}

.hero__catch,
.hero__message {
    background-color: var(--panel-bg);
    border-radius: var(--panel-radius);
    box-shadow: var(--panel-shadow);
}

.hero__catch {
    padding: clamp(16px, 2.2vh, 26px) clamp(18px, 3vw, 36px) clamp(18px, 2.4vh, 28px);
    text-align: center;
}

.hero__eyebrow {
    margin-bottom: 0.75em;
    font-size: clamp(0.78rem, 1.15vw, 0.95rem);
    font-weight: 500;
    letter-spacing: 0.14em;
    line-height: 1.6;
}

.hero__title {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 0.85em;
    row-gap: 0.12em;
    font-family: var(--font-mincho);
    font-size: clamp(1.28rem, 2.55vw, 2.15rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.45;
}

.hero__lower {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.9fr);
    gap: clamp(16px, 2.2vw, 28px);
    align-items: stretch;
    min-width: 0;
    max-width: 100%;
}

.hero__message {
    padding: clamp(22px, 3.2vh, 40px) clamp(20px, 2.4vw, 34px);
}

.hero__heading {
    margin-bottom: 1.05em;
    font-family: var(--font-mincho);
    font-size: clamp(1.12rem, 1.85vw, 1.5rem);
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.5;
}

.hero__lead {
    font-size: clamp(0.84rem, 1.05vw, 0.95rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 2;
}

.hero__keep {
    white-space: nowrap;
}

.hero__photo {
    position: relative;
    height: 100%;
    min-height: clamp(210px, 34vh, 360px);
    overflow: hidden;
    border-radius: var(--panel-radius);
    box-shadow: var(--photo-shadow);
    background-color: rgba(255, 255, 255, 0.35);
}

.hero__photo-item {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    /* 8枚 × 4秒。前後が重なる約0.8秒だけ入れ替える */
    animation: hero-photo 32s ease-in-out infinite;
}

.hero__photo-item:nth-child(2) { animation-delay: -28s; }
.hero__photo-item:nth-child(3) { animation-delay: -24s; }
.hero__photo-item:nth-child(4) { animation-delay: -20s; }
.hero__photo-item:nth-child(5) { animation-delay: -16s; }
.hero__photo-item:nth-child(6) { animation-delay: -12s; }
.hero__photo-item:nth-child(7) { animation-delay: -8s; }
.hero__photo-item:nth-child(8) { animation-delay: -4s; }

/* 各画像は先頭の約4秒だけ見え、末尾で次の周回へつながる */
@keyframes hero-photo {
    0% { opacity: 1; }
    10% { opacity: 1; }
    12.5% { opacity: 0; }
    97.5% { opacity: 0; }
    100% { opacity: 1; }
}

@media (min-width: 768px) {
    :root {
        --hero-padding-x: 40px;
        --hero-padding-y: 32px;
        --header-offset: 22px;
        --brand-icon-size: 64px;
    }

    .brand {
        gap: 12px;
    }

    .brand__name {
        font-size: 1.05rem;
    }
}

@media (min-width: 1024px) {
    :root {
        --hero-padding-x: 64px;
        --hero-padding-y: 40px;
    }
}

@media (max-width: 767px) {
    .hero__lower {
        grid-template-columns: 1fr;
    }

    .hero__photo {
        min-height: 0;
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .hero__title {
        font-size: clamp(1.2rem, 5.4vw, 1.55rem);
    }
}

@media (max-width: 1023px) {
    .global-nav {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
    }
}

@media (min-width: 1024px) {
    .brand {
        max-width: none;
    }

    .global-nav {
        display: block;
    }

    .menu-toggle,
    .mobile-menu-frame {
        display: none;
    }
}

@media (min-width: 1280px) {
    .global-nav__link {
        font-size: 0.95rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero__photo-item {
        animation: none;
        opacity: 0;
    }

    .hero__photo-item:first-child {
        opacity: 1;
    }

    .mobile-menu,
    .menu-toggle__line,
    .btn-magenta {
        transition: none;
    }

    html.has-reveal .section,
    html.has-reveal .section__mark,
    html.has-reveal .section__label,
    html.has-reveal .strength-card,
    html.has-reveal .work-card {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .deco-tree {
        animation: none;
    }

    .service-card__flip {
        transition: none;
    }
}

.hero__cta {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    width: fit-content;
    max-width: calc(100% - 32px);
    margin-inline: auto;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 22px);
    padding: 0.85em 1.6em;
    font-size: clamp(0.92rem, 1.5vw, 1.05rem);
}

.section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 72vh;
    max-width: 100%;
    background-color: var(--color-ground);
    /* 右から入るカードなどが、ページの横幅を押し広げないようにする */
    overflow-x: clip;
}

.section__inner {
    position: relative;
    width: min(1080px, 100%);
    min-width: 0;
    margin-inline: auto;
    padding:
        clamp(72px, 12vh, 120px)
        var(--hero-padding-x);
}

.section__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: var(--color-text);
    font-family: var(--font-mincho);
    font-size: clamp(1.45rem, 2.6vw, 2.05rem);
    font-weight: 600;
    letter-spacing: 0.1em;
    line-height: 1.5;
    text-align: center;
}

.section__mark {
    display: block;
    width: 46px;
    height: 2px;
    border-radius: 999px;
    background-color: var(--color-brand);
}

/* 画面に入るまで下に隠し、入ったらふわっと上げる */
html.has-reveal .section {
    opacity: 0;
    transform: translateY(72px);
    transition: opacity 0.9s ease, transform 1s ease;
}

html.has-reveal .section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 制作実績はセクションごとではなく、案件カードを1枚ずつ出す */
html.has-reveal .section.section--works {
    opacity: 1;
    transform: none;
    transition: none;
}

html.has-reveal .section__mark,
html.has-reveal .section__label {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.8s ease, transform 0.9s ease;
}

html.has-reveal .section.is-visible .section__mark {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.12s;
}

html.has-reveal .section.is-visible .section__label {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.26s;
}

.section--strength {
    justify-content: flex-start;
}

.strength__title {
    max-width: 100%;
    margin: 0 auto clamp(28px, 4vh, 40px);
    padding: 0;
    background: none;
    color: #1a2744;
    font-family: var(--font-gothic);
    font-size: clamp(1.45rem, 3vw, 2.35rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.45;
    text-align: center;
}

.section__inner > .strength__title:last-child {
    margin-bottom: 0;
}

.strength__accent {
    display: inline-block;
    /* 右端を暗い紫まで落とすと黒っぽく見えるので、ブランドのマゼンタで止める */
    background-image: linear-gradient(100deg, #ff7ad4 0%, #e300b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.strength__lead {
    max-width: 40em;
    margin: 0 auto clamp(36px, 6vh, 56px);
    color: var(--color-text);
    font-family: var(--font-mincho);
    font-size: clamp(1.12rem, 1.75vw, 1.32rem);
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 2;
    text-align: center;
}

/* スマホでは「通じて」の直後で改行しない */
@media (max-width: 767px) {
    .strength__keep {
        white-space: nowrap;
    }
}

.strength__cards {
    display: grid;
    gap: 22px;
    max-width: 820px;
    margin-inline: auto;
    padding: 0;
    list-style: none;
}

.strength-card {
    padding: clamp(22px, 3vw, 32px);
    background-color: #ffffff;
    border-radius: var(--panel-radius);
    box-shadow: 0 8px 22px rgba(30, 50, 80, 0.08);
}

.strength-card__title {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 14px;
    padding: 0.55em 1.8em 0.55em 1.35em;
    background-image: linear-gradient(100deg, #2f7bff 0%, #3ec8c4 100%);
    color: #ffffff;
    font-family: var(--font-gothic);
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    font-weight: 700;
    font-style: italic;
    letter-spacing: 0.04em;
    line-height: 1.5;
    /* 左端は半円。右端の斜めはそのまま */
    border-radius: 999px 0 0 999px;
    -webkit-mask-image:
        linear-gradient(#000, #000),
        linear-gradient(to bottom right, #000 50%, transparent 50%);
    -webkit-mask-position: left center, right center;
    -webkit-mask-size: calc(100% - 16px) 100%, 16px 100%;
    -webkit-mask-repeat: no-repeat;
    mask-image:
        linear-gradient(#000, #000),
        linear-gradient(to bottom right, #000 50%, transparent 50%);
    mask-position: left center, right center;
    mask-size: calc(100% - 16px) 100%, 16px 100%;
    mask-repeat: no-repeat;
}

.strength-card__text {
    color: var(--color-text);
    font-family: var(--font-gothic);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.9;
}

html.has-reveal .strength-card {
    opacity: 0;
    transform: translateX(72px);
    transition: opacity 0.7s ease, transform 0.85s ease;
}

html.has-reveal .strength-card.is-in {
    opacity: 1;
    transform: translateX(0);
}

/* サービス一覧。見出しの帯は強みと同じ形で、色の強調は付けない */
.service__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    margin-inline: auto;
    padding: 0;
    list-style: none;
}

@media (min-width: 768px) {
    .service__list {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }
}

.service-card {
    display: flex;
    border-radius: var(--panel-radius);
    background-color: transparent;
    box-shadow: 0 8px 22px rgba(30, 50, 80, 0.08);
    perspective: 1100px;
}

/* カード全体を、サービス詳細へのリンクにする */
.service-card__link {
    display: flex;
    flex: 1 1 auto;
    width: 100%;
    color: inherit;
    text-decoration: none;
}

/* 表面と裏面を重ね、ホバーで裏返す */
.service-card__flip {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    width: 100%;
    min-height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.65s ease;
}

/* マウス操作のときだけ裏返す。タップ中に面が動くと、リンク先へ進めなくなる */
@media (hover: hover) and (pointer: fine) {
    .service-card:hover .service-card__flip,
    .service-card:focus-within .service-card__flip {
        transform: rotateY(180deg);
    }
}

.service-card__face,
.service-card__back {
    border-radius: var(--panel-radius);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.service-card__face {
    flex: 1 1 auto;
    width: 100%;
    padding: clamp(22px, 3vw, 32px);
    background-color: #ffffff;
}

.service-card__back {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 1.4em;
    background-color: #2f7efd;
    color: #ffffff;
    font-family: var(--font-gothic);
    font-size: clamp(1.05rem, 1.6vw, 1.28rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.7;
    text-align: center;
    transform: rotateY(180deg);
}

.service-card__title {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 10px;
    padding: 0.55em 1.2em;
    border-radius: 999px;
    background-color: #2f7efd;
    color: #ffffff;
    font-family: var(--font-gothic);
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.5;
}

.service-card__text {
    margin-bottom: 14px;
    color: var(--color-brand);
    font-family: var(--font-gothic);
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.7;
}

.service-card__keep {
    white-space: nowrap;
}

.service-card__label {
    margin-bottom: 6px;
    color: #2f7bff;
    font-family: var(--font-gothic);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.5;
}

.service-card__points {
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-card__points li {
    position: relative;
    padding-left: 1.1em;
    color: var(--color-text);
    font-family: var(--font-gothic);
    font-size: 0.92rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.7;
}

.service-card__points li::before {
    content: "";
    position: absolute;
    top: 0.65em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #3ec8c4;
}

/* 飾り写真。正円に切り、参考サイトと同じ速さで上下に浮かせる */
.deco-tree {
    display: block;
    flex-shrink: 0;
    width: min(160px, 42vw);
    height: min(160px, 42vw);
    margin-inline: auto;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
    pointer-events: none;
    animation: floaty 6.5s ease-in-out infinite;
}

.deco-tree--01,
.deco-tree--man {
    margin-bottom: 28px;
}

/* おすすめ見出しの右。広い画面だけ木の写真と同じ大きさで、見出しと横に並べる */
@media (min-width: 768px) {
    #recommend .section__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .deco-tree--man {
        position: relative;
        z-index: 0;
        grid-area: 1 / 1;
        justify-self: end;
        align-self: center;
        width: clamp(100px, 11vw, 180px);
        height: clamp(100px, 11vw, 180px);
        margin: 0;
    }

    #recommend .price-heading {
        grid-area: 1 / 1;
        align-self: center;
        z-index: 1;
        margin-bottom: 0;
    }

    #recommend .service-recommend {
        margin-top: 28px;
    }
}

.deco-tree--02 {
    margin-bottom: 4px;
    animation-delay: -2.2s;
}

.deco-tree--03 {
    margin-top: 4px;
    margin-bottom: clamp(36px, 6vh, 64px);
    animation-delay: -4.4s;
}

@keyframes floaty {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

/* タブレット以上は、写真を各見出しと同じ内側の枠へ入れる */
@media (min-width: 768px) {
    .deco-tree--02,
    .deco-tree--03 {
        position: absolute;
        z-index: 0;
        width: clamp(100px, 11vw, 180px);
        height: clamp(100px, 11vw, 180px);
        margin: 0;
    }

    .deco-tree--02 {
        top: clamp(72px, 12vh, 120px);
        left: max(var(--hero-padding-x), calc((100% - 1080px) / 2 + var(--hero-padding-x)));
    }

    .deco-tree--03 {
        top: clamp(108px, 16vh, 170px);
        right: max(var(--hero-padding-x), calc((100% - 1080px) / 2 + var(--hero-padding-x)));
    }
}

/* PCでは tree01 も見出しの右、同じ枠の中に置く。カードはページ中央のまま */
@media (min-width: 1024px) {
    .section--strength .section__inner {
        width: min(1280px, 100%);
    }

    .section__inner > :not(.deco-tree) {
        position: relative;
        z-index: 1;
    }

    .deco-tree--01 {
        position: absolute;
        z-index: 0;
        top: clamp(72px, 12vh, 120px);
        right: var(--hero-padding-x);
        width: clamp(100px, 11vw, 180px);
        height: clamp(100px, 11vw, 180px);
        margin: 0;
    }
}

/* パッケージプラン。料金は現行サイトの内容を、このサイトの色で仮組み */
.plan__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    margin: 8px 0 0;
    padding: 16px 0 0;
    list-style: none;
}

.plan-card,
.plan-pack {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(30, 50, 80, 0.08);
}

.plan-card {
    position: relative;
    padding: 28px 18px 26px;
    background-color: #f4f8fd;
    border: 2px solid transparent;
}

.plan-card--featured {
    background-color: #ffffff;
    border-color: var(--color-brand);
}

.plan-card__badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0.35em 1.05em;
    border-radius: 999px;
    background-color: var(--color-brand);
    color: #ffffff;
    font-family: var(--font-gothic);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.4;
    white-space: nowrap;
}

.plan-card__icon {
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    margin-bottom: 10px;
    padding: 6px;
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(30, 50, 80, 0.06);
}

.plan-card__icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.plan-card__symbol {
    margin: 0 0 8px;
    color: #24356a;
    font-family: var(--font-gothic);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.plan-card__name,
.plan-pack__name {
    margin: 0;
    color: #1a2744;
    font-family: var(--font-gothic);
    font-size: clamp(1.05rem, 1.5vw, 1.28rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.5;
}

.plan-card__catch {
    margin: 6px 0 12px;
    color: var(--color-brand);
    font-family: var(--font-gothic);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.5;
}

.plan-card__price,
.plan-pack__price {
    margin: 0 0 14px;
    color: #1a2744;
    font-family: var(--font-gothic);
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.3;
}

.plan-card__text,
.plan-pack__text {
    margin: 0 0 22px;
    color: #3a4458;
    font-family: var(--font-gothic);
    font-size: 0.92rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.85;
}

.plan-card__more {
    margin-top: auto;
    padding: 0.55em 1.45em;
    border-radius: 999px;
    background-color: #2f7efd;
    color: #ffffff;
    font-family: var(--font-gothic);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.4;
    text-decoration: none;
}

.plan-card__more:hover,
.plan-card__more:focus-visible {
    background-color: #1a6bef;
}

.plan-pack {
    gap: 0;
    margin-top: 28px;
    padding: clamp(28px, 4vw, 42px) clamp(20px, 4vw, 48px);
    background-image: linear-gradient(180deg, #f7fbff 0%, #ffffff 58%, #fff6fb 100%);
}

.plan-pack__badge {
    margin: 0 0 14px;
    padding: 0.4em 1.15em;
    border-radius: 999px;
    background-color: #d9f1f4;
    color: #1d6d78;
    font-family: var(--font-gothic);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.4;
}

.plan-pack__name {
    margin-bottom: 8px;
    font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.plan-pack__price span {
    font-size: 0.62em;
    font-weight: 500;
}

.plan-pack .plan-card__more {
    margin-top: 4px;
}

@media (min-width: 768px) {
    .plan__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
        gap: 18px;
    }
}

/* 相談は独立したセクション。写真は画面の左右端まで敷く */
.section--consult {
    min-height: 0;
    scroll-margin-top: calc(env(safe-area-inset-top, 0px) + var(--header-offset) + var(--brand-icon-size) + (var(--brand-pad-y) * 2) + 12px);
    background-color: #1e5c48;
    background-image: url("../images/cta_bg.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.section--consult .section__inner {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-top: clamp(48px, 8vh, 96px);
    padding-bottom: clamp(48px, 8vh, 96px);
}

.consult__panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(760px, 100%);
    padding: clamp(28px, 4vw, 48px) clamp(18px, 3vw, 40px);
    border-radius: 16px;
    /* 白の下地は透過20%（残る白さは80%） */
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: var(--panel-shadow);
    color: var(--color-text);
    text-align: center;
}

.consult__keep {
    white-space: nowrap;
}

.consult__break {
    display: inline;
}

@media (max-width: 767px) {
    .consult__break {
        display: block;
    }

}

.consult__title {
    margin: 0 0 18px;
    color: var(--color-text);
    font-family: var(--font-mincho);
    font-size: clamp(1.25rem, 2.2vw, 1.7rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.5;
}

.consult__lead,
.consult__note {
    max-width: 38em;
    margin: 0;
    color: var(--color-text);
    font-family: var(--font-gothic);
    font-size: clamp(0.92rem, 1.3vw, 1.02rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.9;
}

.consult__lead {
    font-size: clamp(1.05rem, 1.5vw, 1.18rem);
}

.consult__voices {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 12px;
    max-width: 46em;
    margin: 22px 0 18px;
    padding: 0;
    list-style: none;
    font-family: var(--font-gothic);
    font-size: clamp(1.08rem, 1.6vw, 1.24rem);
    color: var(--color-text);
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.7;
}

@media (max-width: 767px) {
    /* 狭いカードでも、引用が1文字だけで改行されないようにする */
    .consult__voices {
        flex-direction: column;
        align-items: center;
        font-size: 0.98rem;
        letter-spacing: 0.02em;
    }
}

.consult__note {
    margin-bottom: 22px;
    font-size: clamp(1.05rem, 1.5vw, 1.18rem);
}

.consult__cta {
    padding: 0.85em 1.6em;
    font-size: clamp(0.95rem, 1.4vw, 1.05rem);
    font-weight: 700;
}


.consult__points {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 12px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    font-family: var(--font-gothic);
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.6;
}

.consult__points li {
    display: inline-flex;
    align-items: center;
    padding: 0.35em 0.85em;
    border-radius: var(--panel-radius);
    background-color: #dbf1f4;
    color: #2d6d79;
}

/* お知らせ。公開中サイトと同じ、水色の見出しと日付・タイトルの横並び */
.news {
    max-width: 100%;
    overflow-x: clip;
    padding: clamp(40px, 7vh, 64px) var(--hero-padding-x) clamp(28px, 5vh, 48px);
}

.news__inner {
    width: min(860px, 100%);
    margin-inline: auto;
}

.news__title {
    position: relative;
    margin: 0 0 16px;
    padding: 8px 28px 8px 24px;
    /* 強みの見出しと同じ、青から水色へのグラデーション */
    background-color: #2f7bff;
    background-image: linear-gradient(100deg, #2f7bff 0%, #3ec8c4 100%);
    color: #ffffff;
    /* 左端は半円。長さと右端の斜めはそのまま */
    border-radius: 999px 0 0 999px;
    -webkit-mask-image:
        linear-gradient(#000, #000),
        linear-gradient(to bottom right, #000 50%, transparent 50%);
    -webkit-mask-position: left center, right center;
    -webkit-mask-size: calc(100% - 16px) 100%, 16px 100%;
    -webkit-mask-repeat: no-repeat;
    mask-image:
        linear-gradient(#000, #000),
        linear-gradient(to bottom right, #000 50%, transparent 50%);
    mask-position: left center, right center;
    mask-size: calc(100% - 16px) 100%, 16px 100%;
    mask-repeat: no-repeat;
}

.news__title-label {
    margin: 0;
    color: #ffffff;
    font-family: var(--font-gothic);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.3;
}

/* 記事タイトル列の左端に合わせる。日付列は幅30%・最大11rem */
.news__to-list {
    position: absolute;
    top: 50%;
    left: calc(4px + min(30%, 11rem) + 8px);
    transform: translateY(-50%);
    color: #ffffff;
    font-family: var(--font-gothic);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
}

a.news__to-list:hover,
a.news__to-list:focus-visible {
    color: #ffffff;
    text-decoration: underline;
}

.news__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.news__row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 8px 4px;
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 1rem;
    font-weight: 400;
    line-height: 2;
    text-decoration: none;
}

a.news__row:hover {
    color: #999999;
}

.news__date {
    flex: 0 0 30%;
    max-width: 11em;
    font-style: italic;
    text-align: center;
    white-space: nowrap;
}

.news__text {
    flex: 1 1 70%;
    min-width: 0;
    text-align: left;
}

.news__empty,
.news-archive__empty {
    margin: 12px 0 4px;
    color: #3a4458;
    font-family: var(--font-gothic);
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    line-height: 1.8;
    text-align: center;
}

@media (max-width: 767px) {
    .news__row {
        font-size: 0.9rem;
    }

    /* 狭い幅では「お知らせ」と重ならない位置まで右へ寄せる */
    .news__to-list {
        left: max(7.6rem, calc(4px + min(30%, 11rem) + 8px));
        font-size: 0.82rem;
    }
}

/* ブログ一覧。画像とタイトルの4件。幅の違う写真も同じ枠に収める */
.blog-list {
    max-width: 100%;
    overflow-x: clip;
    padding: 8px var(--hero-padding-x) clamp(40px, 7vh, 64px);
}

.blog-list__inner {
    width: min(860px, 100%);
    margin-inline: auto;
}

.blog-list__title {
    margin: 0 0 18px;
    color: #1a2744;
    font-family: var(--font-gothic);
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.4;
}

.blog-list__items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.blog-card {
    min-width: 0;
}

.blog-list__head {
    position: relative;
    margin-bottom: 18px;
}

.blog-list__head .blog-list__title {
    margin: 0;
}

/* 「お知らせ一覧へ」と同じ、日付列の右端に合わせる */
.blog-list__to-list {
    position: absolute;
    top: 50%;
    left: calc(4px + min(30%, 11rem) + 8px);
    transform: translateY(-50%);
    color: #1a2744;
    font-family: var(--font-gothic);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
}

.blog-list__to-list:hover,
.blog-list__to-list:focus-visible {
    color: var(--color-brand);
}

@media (max-width: 767px) {
    /* お知らせ一覧へと同じ位置。この指定は上の left より後ろに置く */
    .blog-list__to-list {
        left: max(7.6rem, calc(4px + min(30%, 11rem) + 8px));
        font-size: 0.82rem;
    }
}

a.blog-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

a.blog-card:hover .blog-card__title,
a.blog-card:focus-visible .blog-card__title {
    color: var(--color-brand);
}

.blog-card__image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 6 / 5;
    object-fit: cover;
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(30, 50, 80, 0.05);
}

.blog-card__title {
    margin: 10px 0 0;
    color: #1a2744;
    font-family: var(--font-gothic);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.5;
    text-align: center;
}

@media (min-width: 768px) {
    .blog-list__items {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
    }
}

/* お知らせの個別ページ。あとでWordPressの投稿テンプレートにする想定 */
.news-article {
    max-width: 100%;
    overflow-x: clip;
    padding:
        calc(env(safe-area-inset-top, 0px) + 108px)
        var(--hero-padding-x)
        clamp(48px, 8vh, 80px);
}

.news-article__inner {
    /* 制作実績の白いカードと同じ幅。中の最大は 1080px で、左右の余白を引いた分 */
    width: min(952px, 100%);
    margin-inline: auto;
    padding: clamp(28px, 4vw, 40px) clamp(22px, 4vw, 40px);
    border-radius: var(--panel-radius);
    background-color: #ffffff;
    box-shadow: 0 8px 22px rgba(30, 50, 80, 0.08);
}

.news-article__back {
    margin: 0 0 18px;
    font-family: var(--font-gothic);
    font-size: 0.88rem;
    letter-spacing: 0.04em;
}

.news-article__date {
    margin: 0;
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 0.95rem;
    font-style: italic;
    letter-spacing: 0.04em;
    line-height: 1.6;
}

.news-article__category {
    display: inline-block;
    margin: 10px 0 0;
    padding: 0.2em 0.75em;
    border-radius: 999px;
    background-color: #dbf1f4;
    color: #2d6d79;
    font-family: var(--font-gothic);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.5;
}

.news-article__title {
    margin: 16px 0 22px;
    color: #1a2744;
    font-family: var(--font-gothic);
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.55;
}

.news-article__note {
    margin: 0 0 14px;
    color: #3a4458;
    font-family: var(--font-gothic);
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    line-height: 1.7;
    text-align: center;
}

.news-article__figure {
    display: block;
    margin: 0 0 24px;
}

.news-article__figure img {
    display: block;
    width: min(500px, 100%);
    height: auto;
    margin-inline: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(30, 50, 80, 0.05);
}

.news-article__body {
    margin: 0;
    color: #1a1a1a;
    font-family: var(--font-gothic);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.9;
}

.news-article__body > * + * {
    margin-top: 1.2em;
}

.news-article__body a {
    color: #2f7efd;
}

.news-article__body a:hover,
.news-article__body a:focus-visible {
    text-decoration: underline;
}

.news-article__body img {
    display: block;
    width: min(500px, 100%);
    height: auto;
    margin-inline: auto;
    border-radius: 12px;
}

.news-article__more {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

@media (min-width: 768px) {
    .news-article {
        padding-top: calc(env(safe-area-inset-top, 0px) + 124px);
    }
}

/* お知らせ一覧。あとでWordPressの投稿一覧に差し替える */
.news-archive {
    max-width: 100%;
    overflow-x: clip;
    padding:
        calc(env(safe-area-inset-top, 0px) + 108px)
        var(--hero-padding-x)
        clamp(48px, 8vh, 80px);
}

.news-archive__inner {
    /* 制作実績の白いカードと同じ幅 */
    width: min(952px, 100%);
    margin-inline: auto;
    /* 枠の上端をその分だけ上げて、見出しの位置は他の下層ページと同じ高さに保つ */
    margin-top: calc(clamp(40px, 7vh, 72px) - clamp(24px, 3vw, 36px));
    padding: clamp(24px, 3vw, 36px) clamp(20px, 3.5vw, 36px) clamp(12px, 2vw, 20px);
    border-radius: var(--panel-radius);
    background-color: #ffffff;
    box-shadow: 0 8px 22px rgba(30, 50, 80, 0.08);
}

.news-archive__title {
    margin: 0 0 12px;
    color: #1a2744;
    font-family: var(--font-gothic);
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.65;
    text-align: center;
}

.news-archive__lead {
    margin: 0 0 28px;
    color: #243044;
    font-family: var(--font-gothic);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.9;
    text-align: center;
}

.news-archive__list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid #d5e4ee;
}

.news-archive__row {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 16px 4px;
    border-bottom: 1px solid #d5e4ee;
    color: #1a2744;
    font-family: var(--font-gothic);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.7;
    text-decoration: none;
}

a.news-archive__row:hover,
a.news-archive__row:focus-visible {
    color: #5b8fe0;
}

.news-archive__date {
    flex: 0 0 7.2em;
    color: #3a4458;
    font-style: italic;
    white-space: nowrap;
}

.news-archive__text {
    flex: 1 1 auto;
    min-width: 0;
}

@media (min-width: 768px) {
    .news-archive {
        padding-top: calc(env(safe-area-inset-top, 0px) + 124px);
    }
}

@media (max-width: 767px) {
    .news-archive__row {
        gap: 10px;
        font-size: 0.9rem;
    }

    .news-archive__date {
        flex-basis: 6.6em;
    }
}

/* 仮のフッター。相談セクションの写真のすぐ下に置く */
.site-footer {
    background-color: #f7fafc;
    color: #3a4458;
}

.site-footer__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    width: min(1080px, 100%);
    margin-inline: auto;
    padding: clamp(40px, 6vh, 64px) var(--hero-padding-x) clamp(28px, 4vh, 40px);
    text-align: center;
}

/* スマホではバナー側を上、いままでのフッター内容を下にする */
.site-footer__message {
    order: 1;
}

.site-footer__info {
    order: 2;
}

.site-footer__message-text {
    margin: 0 0 12px;
    color: #1a2744;
    font-family: var(--font-gothic);
    font-size: clamp(0.88rem, 1.3vw, 0.98rem);
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.8;
    text-align: center;
}

/* スマホだけ、2行目が「す。」だけにならないよう途中で改行する */
@media (min-width: 768px) {
    .site-footer__message-sp {
        display: none;
    }
}

.site-footer__banner {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

@media (min-width: 768px) {
    .site-footer__inner {
        flex-direction: row;
        align-items: center;
        gap: clamp(28px, 4vw, 48px);
        text-align: left;
    }

    .site-footer__info {
        order: 1;
        flex: 1 1 48%;
    }

    .site-footer__message {
        order: 2;
        flex: 1 1 46%;
    }

    .site-footer__list {
        justify-content: flex-start;
    }
}

.site-footer__name {
    margin: 0 0 18px;
    color: #1a2744;
    font-family: var(--font-gothic);
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.5;
}

.site-footer__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__list a {
    color: #1a2744;
    font-family: var(--font-gothic);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.5;
    text-decoration: none;
}

.site-footer__list a:hover,
.site-footer__list a:focus-visible {
    color: var(--color-brand);
}

.site-footer__about {
    max-width: 36em;
    margin: 22px 0 0;
    font-family: var(--font-gothic);
    font-size: 0.88rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.9;
}

.site-footer__copy {
    margin: 18px 0 0;
    color: #6b7588;
    font-family: var(--font-gothic);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    line-height: 1.6;
}

/* 下層ページでも、ロゴからトップへ戻れるようにする */
a.brand {
    color: inherit;
    text-decoration: none;
}

.global-nav__link[aria-current="page"],
.mobile-menu__link[aria-current="page"],
.site-footer__list a[aria-current="page"] {
    color: var(--color-brand);
}

/* 料金ページ。区切りは多めだが、各ブロックは中身の高さに合わせる */
.page-price .section,
.page-service .section,
.page-about .section,
.page-works .section,
.page-faq .section,
.page-privacy .section,
.page-contact .section {
    min-height: 0;
    /* 固定ヘッダーの下に見出しが隠れないようにする */
    scroll-margin-top: calc(env(safe-area-inset-top, 0px) + var(--header-offset) + var(--brand-icon-size) + (var(--brand-pad-y) * 2) + 12px);
}

.page-price .section:not(.section--consult) .section__inner,
.page-service .section:not(.section--consult) .section__inner,
.page-about .section:not(.section--consult) .section__inner,
.page-works .section:not(.section--consult) .section__inner,
.page-faq .section:not(.section--consult) .section__inner,
.page-privacy .section:not(.section--consult) .section__inner,
.page-contact .section:not(.section--consult) .section__inner {
    padding-top: clamp(40px, 7vh, 72px);
    padding-bottom: clamp(40px, 7vh, 72px);
}

.page-top {
    /* 画面上部に重なるヘッダーのぶん、本文を下げる */
    padding-top: calc(env(safe-area-inset-top, 0px) + 108px);
}

.page-price .page-top .section__inner,
.page-service .page-top .section__inner,
.page-about .page-top .section__inner,
.page-works .page-top .section__inner,
.page-faq .page-top .section__inner,
.page-privacy .page-top .section__inner,
.page-contact .page-top .section__inner {
    padding-top: clamp(8px, 2vh, 16px);
}

.price-title {
    max-width: 18em;
    margin: 0 auto 20px;
    color: var(--color-text);
    font-family: var(--font-mincho);
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.65;
    text-align: center;
}

/* 広い画面では2行。スマホだけ、ここで改行して「制作」が孤立しないようにする */
@media (min-width: 768px) {
    .price-title__sp {
        display: none;
    }
}

.price-keep {
    white-space: nowrap;
}

/* ごく狭い画面では、1行に収まらない語句を切らずに折り返す */
@media (max-width: 340px) {
    .price-keep {
        white-space: normal;
    }
}

.price-lead {
    max-width: 40em;
    margin: 0 auto 16px;
    color: var(--color-text);
    font-family: var(--font-gothic);
    font-size: clamp(0.92rem, 1.3vw, 1.02rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 2;
    text-align: center;
}

.price-note {
    margin: 0 auto 22px;
    color: #3a4458;
    font-family: var(--font-gothic);
    font-size: 0.86rem;
    letter-spacing: 0.04em;
    line-height: 1.8;
    text-align: center;
}

.price-actions {
    display: flex;
    justify-content: center;
}

.price-jump {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.price-jump a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0.4em 1.1em;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: var(--panel-shadow);
    color: var(--color-text);
    font-family: var(--font-gothic);
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.price-jump a:hover,
.price-jump a:focus-visible {
    color: var(--color-brand);
}

/* 下層ページのページ内ボタンは、サービス名と同じ青にする */
.page-service .price-jump a,
.page-price .price-jump a,
.page-about .price-jump a {
    background-color: #2f7efd;
    box-shadow: 0 6px 16px rgba(47, 126, 253, 0.28);
    color: #ffffff;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.page-service .price-jump a:hover,
.page-service .price-jump a:focus-visible,
.page-price .price-jump a:hover,
.page-price .price-jump a:focus-visible,
.page-about .price-jump a:hover,
.page-about .price-jump a:focus-visible {
    background-color: #1a6bef;
    box-shadow: 0 8px 18px rgba(26, 107, 239, 0.4);
    color: #ffffff;
}

.price-heading {
    margin: 0 auto 28px;
    color: var(--color-text);
    font-family: var(--font-mincho);
    font-size: clamp(1.28rem, 2.2vw, 1.7rem);
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.5;
    text-align: center;
}

/* 制作実績・料金・事業者概要のセクション見出しはゴシック。サービスページは明朝のまま */
.page-works .price-heading,
.page-price .price-heading,
.page-about .price-heading {
    font-family: var(--font-gothic);
    /* 読み込んでいるゴシックの太さは700まで */
    font-weight: 700;
}

.price-anchor {
    scroll-margin-top: calc(env(safe-area-inset-top, 0px) + var(--header-offset) + var(--brand-icon-size) + (var(--brand-pad-y) * 2) + 12px);
}

.price-pack__copy {
    margin: 0 0 8px;
    color: var(--color-brand);
    font-family: var(--font-gothic);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.7;
}

.price-pack .plan-pack__text {
    max-width: 36em;
}

.price-table-wrap {
    width: min(640px, 100%);
    margin: 8px auto 22px;
    overflow: hidden;
    border-radius: 12px;
    background-color: #ffffff;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
}

.price-table th,
.price-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #e4eef6;
    color: #3a4458;
    font-family: var(--font-gothic);
    font-size: 0.92rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 1.7;
    text-align: left;
    vertical-align: top;
}

.price-table th {
    width: 46%;
    color: #1a2744;
    font-weight: 700;
}

.price-table tr:last-child th,
.price-table tr:last-child td {
    border-bottom: 0;
}

.price-detail {
    position: relative;
    margin-top: 22px;
    padding: clamp(24px, 3vw, 36px);
    border: 2px solid transparent;
    border-radius: 16px;
    background-color: #ffffff;
    box-shadow: 0 8px 22px rgba(30, 50, 80, 0.08);
    text-align: left;
}

.price-detail--featured {
    margin-top: 40px;
    border-color: var(--color-brand);
}

.price-table-wrap--wide {
    width: min(860px, 100%);
}

/* プラン選びの目安。白枠の左端に文字が寄りすぎないようにする */
.price-table-wrap--wide .price-table th,
.price-table-wrap--wide .price-table td {
    padding-left: clamp(28px, 4vw, 40px);
    padding-right: clamp(28px, 4vw, 40px);
}

.price-detail__badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0.35em 1.05em;
    border-radius: 999px;
    background-color: var(--color-brand);
    color: #ffffff;
    font-family: var(--font-gothic);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.4;
    white-space: nowrap;
}

.price-detail__head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.price-detail__icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 72px;
    height: 72px;
    padding: 6px;
    border-radius: 12px;
    background-color: #f4f8fd;
}

.price-detail__icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.price-detail__symbol {
    margin: 0 0 2px;
    color: #24356a;
    font-family: var(--font-gothic);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.price-detail__name {
    margin: 0;
    color: #1a2744;
    font-family: var(--font-gothic);
    font-size: clamp(1.05rem, 1.6vw, 1.28rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.4;
}

.price-detail__price {
    margin: 4px 0;
    color: #1a2744;
    font-family: var(--font-gothic);
    font-size: clamp(1.15rem, 1.8vw, 1.4rem);
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.4;
}

.price-detail__catch {
    margin: 0;
    color: var(--color-brand);
    font-family: var(--font-gothic);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.6;
}

.price-detail__intro {
    margin: 0 0 18px;
    color: #3a4458;
    font-family: var(--font-gothic);
    font-size: 0.92rem;
    letter-spacing: 0.03em;
    line-height: 1.9;
}

.price-detail__grid {
    display: grid;
    gap: 18px 28px;
}

.price-detail__label {
    margin: 0 0 8px;
    color: #1a2744;
    font-family: var(--font-gothic);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.5;
}

.price-check {
    margin: 0;
    padding: 0;
    list-style: none;
}

.price-check li {
    position: relative;
    padding-left: 1.35em;
    color: #3a4458;
    font-family: var(--font-gothic);
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    line-height: 1.85;
}

.price-check li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #1a2744;
    font-weight: 700;
}

.price-detail__recommend {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 12px;
    background-color: #f7fbff;
}

.price-detail__recommend p {
    margin: 0;
    color: #3a4458;
    font-family: var(--font-gothic);
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    line-height: 1.9;
}

.price-options {
    display: grid;
    gap: 18px;
}

.price-option {
    padding: clamp(20px, 3vw, 28px);
    border-radius: 16px;
    background-color: #ffffff;
    box-shadow: 0 8px 22px rgba(30, 50, 80, 0.08);
}

.price-option__name {
    margin: 0 0 8px;
    color: #1a2744;
    font-family: var(--font-gothic);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.5;
    text-align: left;
}

.price-option__text {
    margin: 0 0 14px;
    color: #3a4458;
    font-family: var(--font-gothic);
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    line-height: 1.85;
    text-align: left;
}

.price-option .price-table-wrap {
    width: 100%;
    margin: 0;
}

.price-flow {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.price-step {
    padding: 18px 18px 16px;
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: var(--panel-shadow);
    text-align: left;
}

.price-step__num {
    display: block;
    margin-bottom: 6px;
    color: var(--color-brand);
    font-family: var(--font-mincho);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.4;
}

.price-step__name {
    margin: 0 0 6px;
    color: #1a2744;
    font-family: var(--font-gothic);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.5;
}

.price-step p {
    margin: 0;
    color: #3a4458;
    font-family: var(--font-gothic);
    font-size: 0.88rem;
    letter-spacing: 0.03em;
    line-height: 1.8;
}

.price-faq {
    display: grid;
    gap: 10px;
}

.price-faq__item {
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0 8px 22px rgba(30, 50, 80, 0.08);
}

.price-faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    color: #1a2744;
    font-family: var(--font-gothic);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.6;
    text-align: left;
    cursor: pointer;
    list-style: none;
}

.price-faq__item summary::-webkit-details-marker {
    display: none;
}

.price-faq__item summary::after {
    content: "＋";
    flex: 0 0 auto;
    color: var(--color-brand);
    font-weight: 500;
}

.price-faq__item[open] summary::after {
    content: "－";
}

.price-faq__item p {
    margin: 0;
    padding: 0 18px 16px;
    color: #3a4458;
    font-family: var(--font-gothic);
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    line-height: 1.9;
}

@media (min-width: 768px) {
    .page-top {
        padding-top: calc(env(safe-area-inset-top, 0px) + 124px);
    }

    .price-detail__grid,
    .price-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .price-table th,
    .price-table td {
        display: block;
        width: 100%;
    }

    .price-table th {
        padding-bottom: 0;
        border-bottom: 0;
    }

    .price-table td {
        padding-top: 4px;
    }

    .price-detail__head {
        align-items: flex-start;
    }
}

/* よくある質問のページ見出しは、制作実績などの見出しと同じゴシック・同じ大きさ */
.page-faq .price-title {
    font-family: var(--font-gothic);
    font-size: clamp(1.28rem, 2.2vw, 1.7rem);
    font-weight: 700;
}

/* サービスページ。料金ページと同じ白いカードとチェックで揃える */
.page-service .price-title {
    max-width: 22em;
}
.service-list {
    display: grid;
    gap: 18px;
}

.service-offer {
    display: grid;
    gap: 22px;
    padding: clamp(22px, 3vw, 32px);
    border-radius: 16px;
    background-color: #ffffff;
    box-shadow: 0 8px 22px rgba(30, 50, 80, 0.08);
    text-align: left;
}

.service-offer__photo {
    display: block;
    width: min(100%, 280px);
    height: auto;
    margin-inline: auto;
    aspect-ratio: 1;
    border-radius: 16px;
    object-fit: cover;
}

/* 画像がまだないカード用の仮のグレー枠 */
.service-offer__photo--empty {
    background-color: #d5d8de;
}

@media (min-width: 768px) {
    .service-offer {
        grid-template-columns: minmax(0, 1fr) clamp(180px, 26vw, 280px);
        align-items: center;
        gap: clamp(20px, 3vw, 36px);
    }

    .service-offer__photo {
        width: 100%;
        margin-inline: 0;
    }
}

.service-offer__name {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 12px;
    padding: 0.55em 1.2em;
    border-radius: 999px;
    background-color: #2f7efd;
    color: #ffffff;
    font-family: var(--font-gothic);
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.5;
}

.service-offer__catch {
    margin: 0 0 12px;
    color: var(--color-brand);
    font-family: var(--font-gothic);
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.7;
}

.service-offer__text {
    margin: 0 0 16px;
    color: #3a4458;
    font-family: var(--font-gothic);
    font-size: 0.92rem;
    letter-spacing: 0.03em;
    line-height: 1.9;
}

.service-policy {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-policy__item {
    padding: 20px 18px 18px;
    border-radius: 16px;
    background-color: #2f7efd;
    box-shadow: 0 8px 22px rgba(47, 126, 253, 0.22);
    text-align: left;
}

.service-policy__name {
    margin: 0 0 8px;
    color: #ffffff;
    font-family: var(--font-gothic);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.5;
}

.service-policy__item p {
    margin: 0;
    color: #ffffff;
    font-family: var(--font-gothic);
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    line-height: 1.85;
}

.service-recommend {
    padding: clamp(22px, 3vw, 32px);
    border-radius: 16px;
    background-color: #ffffff;
    box-shadow: 0 8px 22px rgba(30, 50, 80, 0.08);
}

.service-recommend .price-check {
    display: grid;
    gap: 4px 28px;
}

/* おすすめ欄の印は、トップのサービス一覧と同じ緑の丸にする */
.service-recommend .price-check li {
    padding-left: 1.1em;
}

.service-recommend .price-check li::before {
    content: "";
    top: 0.65em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #3ec8c4;
}

.service-bridge {
    max-width: 40em;
    margin-inline: auto;
    text-align: center;
}

.service-bridge .price-lead {
    margin-bottom: 22px;
}

@media (min-width: 768px) {
    .service-policy {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
    }

    .service-recommend .price-check {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* 事業者概要。下層ページの白カードと表に合わせる */
.page-about .price-title {
    max-width: 16em;
}

.about-table-wrap {
    /* ヒーローの白い角丸（.hero__catch）と同じ横幅 */
    width: 100%;
    background-color: #ffffff;
}

.about-table th {
    width: 8.5em;
}

.about-note {
    display: block;
    margin-top: 0.25em;
    color: #2d6d79;
    font-size: 0.86rem;
    font-weight: 500;
}

.about-link {
    color: #2f7efd;
    font-weight: 500;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.about-link:hover,
.about-link:focus-visible {
    color: #1a6bef;
    text-decoration: underline;
}

.about-works {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.about-works li {
    position: relative;
    padding-left: 1.1em;
}

.about-works li::before {
    content: "";
    position: absolute;
    top: 0.65em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #3ec8c4;
}

/* PCでは左列を上から埋め、そのあと右列に続ける */
@media (min-width: 1024px) {
    .about-works {
        grid-template-rows: repeat(5, auto);
        grid-auto-flow: column;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: clamp(24px, 4vw, 64px);
    }
}

.about-profile,
.about-name {
    margin-inline: auto;
    padding: clamp(22px, 3vw, 36px);
    border-radius: 16px;
    background-color: #ffffff;
    box-shadow: 0 8px 22px rgba(30, 50, 80, 0.08);
    text-align: left;
}

.about-profile {
    /* ヒーローの白い角丸（.hero__catch）と同じ横幅 */
    width: 100%;
    display: grid;
    justify-items: center;
    gap: 22px;
}

.about-profile__photo {
    display: block;
    width: min(168px, 46vw);
    height: auto;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--photo-shadow);
}

.about-profile__body {
    width: 100%;
}

.about-profile__name {
    margin: 0 0 14px;
    color: #1a2744;
    font-family: var(--font-mincho);
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.4;
}

.about-profile__kana {
    display: inline-block;
    margin-left: 0.7em;
    color: #2d6d79;
    font-family: var(--font-gothic);
    font-size: 0.72em;
    font-weight: 500;
    letter-spacing: 0.08em;
}

.about-profile__text,
.about-name__text {
    margin: 0 0 14px;
    color: var(--color-text);
    font-family: var(--font-gothic);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.9;
}

.about-profile__text:last-child,
.about-name__text:last-child {
    margin-bottom: 0;
}

.about-profile__line {
    margin: 6px 0 20px;
    border: 0;
    border-top: 1px solid #d7e4ef;
}

.about-quote {
    color: var(--color-brand);
    font-weight: 700;
}

.about-name {
    width: min(760px, 100%);
    text-align: center;
}

.about-name__brand {
    display: inline-block;
    margin: 0.15em 0;
    color: var(--color-brand);
    font-family: var(--font-gothic);
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .about-profile {
        grid-template-columns: 180px minmax(0, 1fr);
        align-items: start;
        justify-items: stretch;
        gap: 32px;
    }

    .about-profile__photo {
        width: 168px;
        margin-top: 4px;
    }
}

/* 制作実績。モック画像は背景が透明なPNG。今は全案件に同じサンプルを入れている */
.page-works .price-title {
    max-width: 22em;
}

.work-list {
    display: grid;
    gap: 22px;
}

.work-card {
    display: grid;
    gap: 18px;
    padding: clamp(22px, 3vw, 32px);
    border-radius: 16px;
    background-color: #ffffff;
    box-shadow: 0 8px 22px rgba(30, 50, 80, 0.08);
}

/* 画面に入った案件から、下からふわっと上げる */
html.has-reveal .work-card {
    opacity: 0;
    transform: translateY(64px);
    transition: opacity 0.9s ease, transform 1.05s ease;
}

html.has-reveal .work-card.is-in {
    opacity: 1;
    transform: translateY(0);
}

.work-card__visual {
    width: 100%;
    margin: 0;
}

/* モック画像自体も、下の「サイトをみる」と同じページへ進む */
a.work-card__visual {
    display: block;
    color: inherit;
    text-decoration: none;
}

.work-card__visual img {
    display: block;
    width: 100%;
    height: auto;
}

.work-card__lock {
    display: inline-flex;
    align-items: center;
    padding: 0.28em 0.75em;
    border-radius: var(--panel-radius);
    background-color: #dbf1f4;
    color: #2d6d79;
    font-family: var(--font-gothic);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.4;
}

.work-card__title {
    /* 下線を文字の幅に合わせるため、見出し自体を文字の長さにする */
    width: fit-content;
    max-width: 100%;
    margin: 0 0 14px;
    color: #1a2744;
    font-family: var(--font-gothic);
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.5;
}

/* 左の青から右の水色へ、案件名の長さでつなぐ */
.work-card__title::after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    margin-top: 10px;
    border-radius: 2px;
    background-image: linear-gradient(to right, #2f7efd 0%, #7ec4ff 55%, #d4f1ff 100%);
}

.work-card__text,
.work-card__note {
    margin: 0 0 12px;
    color: var(--color-text);
    font-family: var(--font-gothic);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.9;
}

.work-card__note {
    color: #3a4458;
    font-size: 0.88rem;
}

.work-card__points {
    display: grid;
    gap: 12px;
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
    /* アイコンも説明も、添付と同じ青にする */
    color: #5b8fe0;
}

.work-card__points li {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding-left: 0;
    color: inherit;
    font-family: var(--font-gothic);
    font-size: 0.84rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.65;
}

.work-point__icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
}

.work-point__glyph {
    display: block;
    width: 18px;
    height: 18px;
    overflow: visible;
}

.icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.work-card__label {
    margin: 14px 0 6px;
    color: #2d6d79;
    font-family: var(--font-gothic);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.work-card__more {
    display: inline-flex;
    margin-top: 8px;
}

.work-card__lock {
    margin-top: 4px;
    background-color: #eef1f4;
    color: #5c6778;
}

@media (min-width: 768px) {
    .work-card {
        /* 左にモック、右に文章。画像側を広くして大きく見せる */
        grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
        align-items: center;
        gap: clamp(16px, 2.4vw, 28px);
    }
}

/* 見出し以外のゴシック本文を、少し濃く、1px大きくする */
.page-home .hero__eyebrow {
    color: #111111;
    font-size: clamp(calc(0.78rem + 1px), calc(1.15vw + 1px), calc(0.95rem + 1px));
}

.page-home .hero__lead {
    color: #111111;
    font-size: clamp(calc(0.84rem + 1px), calc(1.05vw + 1px), calc(0.95rem + 1px));
}

.page-home .strength-card__text {
    color: #111111;
    font-size: calc(0.95rem + 1px);
}

.page-home .service-card__text {
    color: #c4009e;
    font-size: calc(0.98rem + 1px);
}

.page-home .plan-card__catch,
.page-price .plan-card__catch {
    color: #c4009e;
    font-size: calc(0.95rem + 1px);
}

.page-home .service-card__label {
    color: #1a66e6;
    font-size: calc(0.82rem + 1px);
}

.page-home .service-card__points li,
.page-home .plan-card__text,
.page-home .plan-pack__text,
.page-price .plan-card__text,
.page-price .plan-pack__text {
    color: #243044;
    font-size: calc(0.92rem + 1px);
}

.page-home .service-card__points li {
    color: #111111;
}

.page-home .consult__lead,
.page-home .consult__note,
.page-service .consult__lead,
.page-service .consult__note,
.page-price .consult__lead,
.page-price .consult__note,
.page-about .consult__lead,
.page-about .consult__note,
.page-faq .consult__lead,
.page-privacy .consult__lead,
.page-faq .consult__note,
.page-privacy .consult__note,
.page-works .consult__lead,
.page-works .consult__note,
.page-news .consult__lead,
.page-news .consult__note,
.page-news-archive .consult__lead,
.page-news-archive .consult__note {
    color: #111111;
    font-size: clamp(calc(1.05rem + 1px), calc(1.5vw + 1px), calc(1.18rem + 1px));
}

.page-home .consult__voices,
.page-service .consult__voices,
.page-price .consult__voices,
.page-about .consult__voices,
.page-faq .consult__voices,
.page-privacy .consult__voices,
.page-works .consult__voices {
    color: #111111;
    font-size: clamp(calc(1.08rem + 1px), calc(1.6vw + 1px), calc(1.24rem + 1px));
}

.page-home .consult__points,
.page-service .consult__points,
.page-price .consult__points,
.page-about .consult__points,
.page-faq .consult__points,
.page-privacy .consult__points,
.page-works .consult__points,
.page-news .consult__points,
.page-news-archive .consult__points {
    font-size: calc(0.92rem + 1px);
}

.page-home .consult__points li,
.page-service .consult__points li,
.page-price .consult__points li,
.page-about .consult__points li,
.page-faq .consult__points li,
.page-privacy .consult__points li,
.page-works .consult__points li,
.page-news .consult__points li,
.page-news-archive .consult__points li {
    color: #245e68;
}

.page-home .site-footer__message-text,
.page-service .site-footer__message-text,
.page-price .site-footer__message-text,
.page-about .site-footer__message-text,
.page-faq .site-footer__message-text,
.page-privacy .site-footer__message-text,
.page-contact .site-footer__message-text,
.page-works .site-footer__message-text,
.page-news .site-footer__message-text,
.page-news-archive .site-footer__message-text {
    color: #121c33;
    font-size: clamp(calc(0.88rem + 1px), calc(1.3vw + 1px), calc(0.98rem + 1px));
}

.page-home .site-footer__about,
.page-service .site-footer__about,
.page-price .site-footer__about,
.page-about .site-footer__about,
.page-faq .site-footer__about,
.page-privacy .site-footer__about,
.page-contact .site-footer__about,
.page-works .site-footer__about,
.page-news .site-footer__about,
.page-news-archive .site-footer__about {
    color: #243044;
    font-size: calc(0.88rem + 1px);
}

.page-home .site-footer__copy,
.page-service .site-footer__copy,
.page-price .site-footer__copy,
.page-about .site-footer__copy,
.page-faq .site-footer__copy,
.page-privacy .site-footer__copy,
.page-contact .site-footer__copy,
.page-works .site-footer__copy,
.page-news .site-footer__copy,
.page-news-archive .site-footer__copy {
    color: #556070;
    font-size: calc(0.78rem + 1px);
}

.page-service .price-lead,
.page-price .price-lead,
.page-about .price-lead,
.page-faq .price-lead,
.page-privacy .price-lead,
.page-contact .price-lead,
.page-works .price-lead {
    color: #111111;
    font-size: clamp(calc(0.92rem + 1px), calc(1.3vw + 1px), calc(1.02rem + 1px));
}

.page-service .price-note,
.page-price .price-note {
    color: #243044;
    font-size: calc(0.86rem + 1px);
}

.page-price .price-pack__copy,
.page-service .service-offer__catch,
.page-about .about-quote,
.page-about .about-name__brand {
    color: #c4009e;
}

.page-price .price-pack__copy {
    font-size: calc(1rem + 1px);
}

.page-service .service-offer__catch {
    font-size: calc(0.98rem + 1px);
}

.page-about .about-name__brand {
    font-size: clamp(calc(1.15rem + 1px), calc(2vw + 1px), calc(1.4rem + 1px));
}

.page-service .service-offer__text,
.page-price .price-detail__intro,
.page-price .price-table td,
.page-about .price-table td,
.page-price .price-option__text {
    color: #243044;
    font-size: calc(0.92rem + 1px);
}

.page-price .price-option__text,
.page-price .price-check li,
.page-service .price-check li,
.page-price .price-detail__recommend p,
.page-price .price-faq__item p,
.page-faq .price-faq__item p {
    font-size: calc(0.9rem + 1px);
}

.page-price .price-check li,
.page-service .price-check li,
.page-price .price-detail__recommend p,
.page-price .price-faq__item p,
.page-faq .price-faq__item p {
    color: #243044;
}

.page-price .price-step p {
    color: #243044;
    font-size: calc(0.88rem + 1px);
}

.page-price .price-table th,
.page-about .price-table th {
    color: #121c33;
    font-size: calc(0.92rem + 1px);
}

.page-service .service-policy__item p {
    font-size: calc(0.9rem + 1px);
}

.page-about .about-profile__text,
.page-about .about-name__text {
    color: #111111;
    font-size: calc(0.95rem + 1px);
}

.page-about .about-profile__kana,
.page-about .about-note,
.page-works .work-card__label {
    color: #245e68;
}

.page-about .about-note,
.page-works .work-card__label {
    font-size: calc(0.86rem + 1px);
}

.page-works .work-card__label {
    font-size: calc(0.82rem + 1px);
}

.page-about .about-profile__kana {
    font-size: calc(0.72em + 1px);
}

.page-about .about-link {
    color: #1a66e6;
}

.page-works .work-card__text {
    color: #111111;
}

.page-works .work-card__text {
    font-size: calc(0.95rem + 1px);
}

.page-works .work-card__points li {
    font-size: calc(0.84rem + 1px);
}

.page-works .work-card__note {
    color: #243044;
    font-size: calc(0.88rem + 1px);
}

.page-works .work-card__lock {
    color: #445066;
    font-size: calc(0.8rem + 1px);
}

@media (max-width: 767px) {
    .page-home .consult__voices,
    .page-service .consult__voices,
    .page-price .consult__voices,
    .page-about .consult__voices,
.page-faq .consult__voices,
.page-privacy .consult__voices,
    .page-works .consult__voices {
        font-size: calc(0.98rem + 1px);
    }
}

/* プライバシーポリシー。制作実績カードと同じ幅の白い枠 */
.policy-card {
    width: min(952px, 100%);
    margin-inline: auto;
    padding: clamp(28px, 4vw, 48px) clamp(22px, 4vw, 40px);
    border-radius: var(--panel-radius);
    background-color: #ffffff;
    box-shadow: 0 8px 22px rgba(30, 50, 80, 0.08);
}

.policy-card__heading {
    margin: 40px 0 18px;
    color: #1a2744;
    font-family: var(--font-gothic);
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.5;
    text-align: left;
    scroll-margin-top: calc(env(safe-area-inset-top, 0px) + var(--header-offset) + var(--brand-icon-size) + (var(--brand-pad-y) * 2) + 12px);
}

.policy-card__heading:first-child {
    margin-top: 0;
}

.policy-card__subhead {
    margin: 28px 0 10px;
    color: #1a2744;
    font-family: var(--font-gothic);
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.6;
}

.policy-card p,
.policy-card li {
    margin: 0;
    color: #243044;
    font-family: var(--font-gothic);
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    line-height: 1.9;
}

.policy-card p + p,
.policy-card ul + p {
    margin-top: 12px;
}

.policy-card ul {
    margin: 12px 0 0;
    padding-left: 1.4em;
}

.policy-card li + li {
    margin-top: 0.35em;
}

.policy-card a {
    color: #1a66e6;
}

.policy-card a:hover,
.policy-card a:focus-visible {
    text-decoration: underline;
}

.page-privacy .price-jump a {
    background-color: #2f7efd;
    box-shadow: 0 6px 16px rgba(47, 126, 253, 0.28);
    color: #ffffff;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.page-privacy .price-jump a:hover,
.page-privacy .price-jump a:focus-visible {
    background-color: #1a6bef;
    box-shadow: 0 8px 18px rgba(26, 107, 239, 0.4);
    color: #ffffff;
}

/* ブログ一覧。左に画像、右に日付・タイトル・冒頭 */
.blog-archive__list {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.blog-archive__item {
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr);
    gap: 8px 22px;
    align-items: start;
    padding: 20px 0;
    border-top: 1px solid #d5e4ee;
}

.blog-archive__item:first-child {
    border-top: 0;
}

.blog-archive__media {
    display: block;
}

.blog-archive__image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 6 / 5;
    object-fit: cover;
    border-radius: 12px;
    background-color: #f4f8fb;
}

.blog-archive__body {
    min-width: 0;
}

.blog-archive__date {
    display: block;
    margin: 0;
    color: #333333;
    font-family: var(--font-gothic);
    font-size: 0.95rem;
    font-style: italic;
    letter-spacing: 0.04em;
    line-height: 1.6;
}

.blog-archive__title {
    margin: 4px 0 8px;
    color: #1a2744;
    font-family: var(--font-gothic);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.55;
}

.blog-archive__title a {
    color: inherit;
    text-decoration: none;
}

.blog-archive__title a:hover,
.blog-archive__title a:focus-visible {
    color: var(--color-brand);
}

.blog-archive__lead {
    margin: 0;
    color: #243044;
    font-family: var(--font-gothic);
    font-size: 0.92rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.85;
}

.blog-archive__more {
    color: #1a66e6;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.blog-archive__more:hover,
.blog-archive__more:focus-visible {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .blog-archive__item {
        grid-template-columns: 108px minmax(0, 1fr);
        gap: 6px 14px;
        padding: 16px 0;
    }

    .blog-archive__title {
        font-size: 0.95rem;
    }

    .blog-archive__lead {
        font-size: 0.84rem;
    }
}

/* お問い合わせ。見出しは制作実績と同じゴシック */
.page-contact .price-title {
    font-family: var(--font-gothic);
    font-size: clamp(1.28rem, 2.2vw, 1.7rem);
    font-weight: 700;
}

.contact-card {
    width: min(952px, 100%);
}

.contact-form__row {
    display: grid;
    grid-template-columns: 11.5em minmax(0, 1fr);
    gap: 12px 28px;
    align-items: center;
    margin-top: 26px;
}

.contact-form__row:first-child {
    margin-top: 0;
}

.contact-form__row--area {
    align-items: start;
}

.contact-form__label {
    color: #1a1a1a;
    font-family: var(--font-gothic);
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.6;
}

.contact-form__req {
    margin-left: 2px;
    color: #e10600;
    font-weight: 700;
}

.contact-form__input {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border: 1px solid #e4e4e4;
    border-radius: 8px;
    background-color: #f3f3f3;
    color: #1a1a1a;
    font-family: var(--font-gothic);
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    line-height: 1.6;
}

.contact-form__input::placeholder {
    color: #b5b5b5;
}

.contact-form__input:focus {
    outline: 2px solid rgba(227, 0, 184, 0.35);
    outline-offset: 1px;
    background-color: #ffffff;
}

.contact-form__textarea {
    min-height: 168px;
    resize: vertical;
}

.contact-form__agree {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #1a1a1a;
    font-family: var(--font-gothic);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    line-height: 1.7;
}

.contact-form__agree input {
    flex: 0 0 auto;
    width: 1.05em;
    height: 1.05em;
    margin-top: 0.28em;
    accent-color: var(--color-brand);
}

.contact-form__agree a {
    color: #1a66e6;
    text-decoration: none;
}

.contact-form__agree a:hover,
.contact-form__agree a:focus-visible {
    text-decoration: underline;
}

.contact-form__actions {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

button.contact-form__submit,
button.contact-confirm__edit {
    min-width: 180px;
    min-height: 48px;
    border: 0;
    cursor: pointer;
    font-size: 1rem;
}

.contact-form[hidden],
.contact-confirm[hidden] {
    display: none;
}

.contact-confirm__title {
    margin: 0 0 12px;
    color: #1a2744;
    font-family: var(--font-gothic);
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.5;
    text-align: center;
}

.contact-confirm__lead {
    margin: 0 0 24px;
    color: #243044;
    font-family: var(--font-gothic);
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    line-height: 1.8;
    text-align: center;
}

.contact-confirm__list {
    margin: 0;
}

.contact-confirm__list dt {
    margin-top: 16px;
    color: #1a2744;
    font-family: var(--font-gothic);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.contact-confirm__list dd {
    margin: 4px 0 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #e6eef3;
    color: #243044;
    font-family: var(--font-gothic);
    font-size: 0.98rem;
    letter-spacing: 0.03em;
    line-height: 1.8;
    white-space: pre-wrap;
}

@media (max-width: 767px) {
    .contact-form__row {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 20px;
    }

    .contact-form__row--agree > span:first-child {
        display: none;
    }
}

/* Contact Form 7 の入力欄を、これまでのグレーの欄に合わせる */
.page-contact .wpcf7 form > label {
    display: grid;
    grid-template-columns: 11.5em minmax(0, 1fr);
    gap: 12px 28px;
    align-items: center;
    margin: 26px 0 0;
    color: #1a1a1a;
    font-family: var(--font-gothic);
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.6;
    text-align: left;
}

.page-contact .wpcf7 form > label:first-of-type {
    margin-top: 0;
}

.page-contact .wpcf7 form > label:has(textarea) {
    align-items: start;
}

.page-contact .wpcf7 .wpcf7-form-control-wrap {
    min-width: 0;
    font-weight: 500;
}

.page-contact .wpcf7 input.wpcf7-text,
.page-contact .wpcf7 input.wpcf7-email,
.page-contact .wpcf7 input.wpcf7-tel,
.page-contact .wpcf7 textarea.wpcf7-textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border: 1px solid #e4e4e4;
    border-radius: 8px;
    background-color: #f3f3f3;
    color: #1a1a1a;
    font-family: var(--font-gothic);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    line-height: 1.6;
}

.page-contact .wpcf7 textarea.wpcf7-textarea {
    min-height: 168px;
    resize: vertical;
}

.page-contact .wpcf7 input.wpcf7-text::placeholder,
.page-contact .wpcf7 input.wpcf7-email::placeholder,
.page-contact .wpcf7 input.wpcf7-tel::placeholder,
.page-contact .wpcf7 textarea.wpcf7-textarea::placeholder {
    color: #b5b5b5;
}

.page-contact .wpcf7 input.wpcf7-text:focus,
.page-contact .wpcf7 input.wpcf7-email:focus,
.page-contact .wpcf7 input.wpcf7-tel:focus,
.page-contact .wpcf7 textarea.wpcf7-textarea:focus {
    outline: 2px solid rgba(227, 0, 184, 0.35);
    outline-offset: 1px;
    background-color: #ffffff;
}

.page-contact .wpcf7 .wpcf7-acceptance {
    display: flex;
    justify-content: center;
    margin-top: 28px;
    font-weight: 500;
}

.page-contact .wpcf7 .wpcf7-list-item label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-weight: 500;
}

.page-contact .wpcf7 .wpcf7-acceptance input {
    width: 1.05em;
    height: 1.05em;
    margin-top: 0.28em;
    accent-color: var(--color-brand);
}

.page-contact .wpcf7 .wpcf7-acceptance a {
    color: #1a66e6;
    text-decoration: none;
}

.page-contact .wpcf7 form > p {
    margin: 18px 0 0;
    color: #243044;
    font-family: var(--font-gothic);
    font-size: 0.98rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    line-height: 1.8;
    text-align: left;
}

.page-contact .wpcf7 form > p:has(.wpcf7-submit),
.page-contact .wpcf7 form > p:has(.wpcf7-previous) {
    position: relative;
    text-align: center;
}

.page-contact .wpcf7 .wpcf7-spinner {
    position: absolute;
    margin-left: 8px;
}

.page-contact .wpcf7 input.wpcf7-submit,
.page-contact .wpcf7 input.wpcf7-previous {
    min-width: 180px;
    min-height: 48px;
    margin: 28px 8px 0;
    padding: 0.62em 1.25em;
    border: 0;
    border-radius: 999px;
    background-color: var(--color-brand);
    color: #ffffff;
    font-family: var(--font-gothic);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(227, 0, 184, 0.28);
}

.page-contact .wpcf7 input.wpcf7-submit:hover,
.page-contact .wpcf7 input.wpcf7-submit:focus-visible,
.page-contact .wpcf7 input.wpcf7-previous:hover,
.page-contact .wpcf7 input.wpcf7-previous:focus-visible {
    background-color: #ee22c4;
    box-shadow: 0 0 8px rgba(255, 150, 220, 0.35), 0 6px 16px rgba(227, 0, 184, 0.28);
}

.page-contact .wpcf7-response-output {
    margin: 18px 0 0;
    text-align: center;
    font-family: var(--font-gothic);
}

.page-contact .wpcf7 form.sent .wpcf7-response-output {
    width: fit-content;
    max-width: 100%;
    margin: 28px auto 0;
    padding: 0.55em 1.35em;
    border: 0;
    border-radius: 999px;
    background-color: #d9f1f4;
    color: #1d6d78;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .page-contact .wpcf7 form > label {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 20px;
    }
}
