/* =================================
Base
================================= */
:root {
    --font-base: "IBM Plex Sans JP", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", sans-serif;

    --text: #383838;
    --muted: #484848;

    --bg: #fff;
    --bg-soft: #EAF8F7;

    --main: #33D1C6;
    --primary: #EFA718;
    --primary-dark: #d98f12;

    --radius: 8px;
    --radius-pill: 9999px;

    --canvas: 1440px;
    --gutter: 160px;
    --container: calc(var(--canvas) - (var(--gutter) * 2));

    --space-inline: clamp(16px, 4vw, 30px);

    /* Type scale */
    --fs-h2: clamp(2.4rem, 1.8rem + 1.2vw, 3.2rem);
    --fs-h3: clamp(2.0rem, 1.6rem + 0.9vw, 2.6rem);
    --fs-h4: clamp(1.8rem, 1.5rem + 0.6vw, 2.2rem);
    --fs-p: clamp(1.5rem, 1.35rem + 0.25vw, 1.7rem);
    --fs-btn: clamp(1.8rem, 1.5rem + 0.6vw, 2.2rem);

    /* よく使うギャップ */
    --gap-1: 10px;
    --gap-2: 18px;
    --gap-3: 24px;
    --gap-4: 32px;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-base);
    font-size: var(--fs-p);
    line-height: 1.7;
    letter-spacing: 0.04em;
    color: var(--text);
    background: var(--bg);
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

strong {
    font-weight: 700;
}

.c-skiplink {
    position: absolute;
    left: -9999px;
    top: 8px;
    background: #000;
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    z-index: 2000;
}

.c-skiplink:focus {
    left: 8px;
}

/* =================================
Layout
================================= */

.l-container {
    max-width: min(var(--container), calc(100% - (var(--space-inline) * 2)));
    margin-inline: auto;
    padding-inline: var(--space-inline);
}

.l-main {
    min-height: 60vh;
}

.l-section {
    padding-bottom: 80px;
}

.l-section__head {
    text-align: center;
    margin-bottom: 40px;
}

.l-grid {
    display: grid;
    gap: var(--gap-3);
}

.l-grid--2 {
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-4);
}

.l-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

/* =================================
Layout: Header / Footer
================================= */

.l-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px) saturate(120%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.l-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 16px;
    padding-inline: var(--space-inline);
}

.l-header__left {
    display: flex;
    align-items: center;
}

.l-header__nav {
    display: block;
}

/* Footer */
.l-footer {
    padding: 0;
    background: transparent;
}

.l-footer__silhouette {
    height: 200px;
    margin-top: 50px;

    background-color: #fff;
    background-image: url("../images/footer-silhouette.png");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
}

.l-footer__body {
    background: #FADBA6;
    padding: 38px 0 18px;
}

.l-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.l-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.l-footer__nav {
    margin-left: auto;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

/* =================================
Components
================================= */

/* Section dots */
.c-section-dots {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gap-1);
    margin-bottom: 40px;
}

.c-section-dots span {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    display: block;
}

/* Brand */
.c-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.c-brand__logo {
    width: 50px;
    height: 53px;
    display: block;
    flex-shrink: 0;
}

.c-brand__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.c-brand__tagline {
    margin: 0;
    line-height: 1.2;
}

.c-brand__name {
    font-size: 3.2rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.1em;
}

/* Nav */
.c-nav {
    display: flex;
    align-items: center;
    gap: var(--gap-2);
}

/* modifier：pill */
.c-nav--pill .c-nav__link {
    border-radius: 0;
}

.c-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;

    padding: 10px 14px;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.2;

    background: transparent;

    transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
    overflow: hidden;
}

.c-nav__link:hover,
.c-nav__link:focus-visible {
    background: var(--primary);
    color: #fff;
    transform: translateY(-1px);
}

/* shine */
.c-nav__link::after {
    content: "";
    position: absolute;
    top: -40%;
    left: -30%;
    width: 40%;
    height: 180%;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.35) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: translateX(-140%) rotate(18deg);
    opacity: 0;
    pointer-events: none;
}

.c-nav__link:hover::after,
.c-nav__link:focus-visible::after {
    opacity: 1;
    animation: navShine 0.65s ease-out 1;
}

@keyframes navShine {
    from {
        transform: translateX(-140%) rotate(18deg);
    }

    to {
        transform: translateX(360%) rotate(18deg);
    }
}

.c-nav__link--contact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.c-nav__icon {
    display: block;
    width: 1.2em;
    height: 1.2em;
    flex-shrink: 0;
    transform: translateY(-1px);
}

/* Headings / Text */
.c-heading {
    font-size: var(--fs-h2);
    font-weight: 700;
    line-height: 1.2;
}

.c-subtitle {
    font-size: var(--fs-h3);
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
}

.c-text {
    color: var(--text);
}

/* Buttons */
.c-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    line-height: 1;
    border: 1px solid transparent;
    transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}

.c-button:hover {
    transform: translateY(-1px);
}

.c-button--primary {
    background: var(--primary);
    color: #fff;
}

.c-button--primary:hover {
    background: var(--primary-dark);
}

/* CTA（セクション個別管理） */
.c-button--cta {
    padding: 0.9em 1.2em;
    border-radius: 0;
    font-size: var(--fs-btn);
    margin: 20px 0;
}

/* Shine（button） */
.c-button--shine {
    position: relative;
    overflow: hidden;
}

.c-button--shine::after {
    content: "";
    position: absolute;
    top: -40%;
    left: -30%;
    width: 40%;
    height: 180%;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.28) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: translateX(-140%) rotate(18deg);
    opacity: 0;
    pointer-events: none;
}

.c-button--shine:hover::after,
.c-button--shine:focus-visible::after {
    opacity: 1;
    animation: btnShine 0.65s ease-out 1;
}

@keyframes btnShine {
    from {
        transform: translateX(-140%) rotate(18deg);
    }

    to {
        transform: translateX(360%) rotate(18deg);
    }
}

/* primary専用：矢印つき */
.c-button--primary.c-button--arrow {
    display: inline-flex;
    align-items: center;
    gap: 1.2em;
}

/* ===== 通常矢印（常に表示） ===== */
.c-button__arrow {
    position: relative;
    display: inline-block;
    width: 32px;
    height: 1px;
    background: currentColor;
    vertical-align: middle;
}

.c-button__arrow::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 10px;
    height: 8px;
    border-top: 1px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
}

/* ===== 走る矢印 ===== */
.c-button__arrowRun {
    position: absolute;
    inset: 0;
    background: currentColor;
    opacity: 0;
    transform: translateX(0);
    pointer-events: none;
}

.c-button__arrowRun::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 10px;
    height: 8px;
    border-top: 1px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
}

/* ===== PCだけ：一瞬消える→走る ===== */
@media (hover: hover) and (pointer: fine) {

    .c-button--primary.c-button--arrow:hover .c-button__arrow {
        animation: baseBlink .55s ease 1;
    }

    .c-button--primary.c-button--arrow:hover .c-button__arrowRun {
        animation: runArrow .55s cubic-bezier(.22, .61, .36, 1) 1;
    }
}

/* 通常矢印 */
@keyframes baseBlink {
    0% {
        opacity: 1;
    }

    10% {
        opacity: 0;
    }

    45% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* 走る矢印 */
@keyframes runArrow {
    0% {
        opacity: 0;
        transform: translateX(-10px);
    }

    45% {
        opacity: 0;
        transform: translateX(-10px);
    }

    /* 重なり防止 */
    60% {
        opacity: 1;
        transform: translateX(-6px);
    }

    90% {
        opacity: 1;
        transform: translateX(10px);
    }

    100% {
        opacity: 0;
        transform: translateX(14px);
    }
}

/* Cards */
.c-card {
    border-radius: var(--radius);
    padding: 40px 20px;
}

.c-card--soft {
    background: var(--bg-soft);
}

.c-card__icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
}

.c-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.c-card__title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
    text-align: center;
}

.c-card__text {
    color: var(--muted);
}

/* Voice */
.p-voice .l-grid {
    gap: 40px;
}

.c-voice {
    text-align: center;
}

.c-voice__avatar {
    border-radius: 50%;
    display: block;
    margin: 0 auto 20px;
}

.c-voice__text {
    color: var(--muted);
    font-size: 1.4rem;
    text-align: left;
}

.c-voice__meta {
    font-size: 1.6rem;
    font-weight: 700;
    display: inline;
    background-image: linear-gradient(to bottom,
            transparent 60%,
            rgba(32, 198, 198, 0.4) 60%);
    background-size: 100% 1.2em;
    background-repeat: repeat-y;
}

/* Blog card */
.c-blog-card__link {
    display: block;
}

.c-blog-card__thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #e9e9e9;
    overflow: hidden;
}

.c-blog-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.c-blog-card__body {
    padding-top: 10px;
}

.c-blog-card__date {
    font-size: 1.2rem;
    color: var(--muted);
    display: inline-block;
    margin-bottom: 6px;
}

.c-blog-card__title {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.4;
}

/* FAQ badges */
.c-qbadge,
.c-abadge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    font-weight: 700;
    flex: 0 0 auto;
}

.c-qbadge {
    background: #20c6c6;
    color: #fff;
}

.c-abadge {
    background: var(--primary);
    color: #fff;
}

.c-abox {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--muted);
}

/* Footer nav */
.c-footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    font-size: 1.4rem;
}

.c-footer-nav li {
    display: inline-flex;
    align-items: center;
}

.c-footer-nav li:not(:first-child)::before {
    content: "|";
    margin: 0 14px;
    color: rgba(0, 0, 0, 0.35);
}

.c-copyright {
    display: block;
    text-align: center;
    margin-top: 18px;
    font-size: 1.2rem;
    color: rgba(0, 0, 0, 0.55);
}

/* PAGE TOP */
.c-pagetop {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 76px;
    height: 76px;

    display: grid;
    place-items: center;

    border: 2px solid var(--main);
    border-radius: 9999px;
    background: #fff;
    color: var(--main);
    text-decoration: none;

    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;

    transition: opacity .18s ease, transform .18s ease;
    z-index: 999;
}

.c-pagetop.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.c-pagetop__label {
    font-size: 12px;
    line-height: 1.05;
    letter-spacing: 0.08em;
    text-align: center;
}

/* hover（PCだけ） */
@media (hover: hover) and (pointer: fine) {
    .c-pagetop:hover {
        opacity: 1;
        transform: translateY(-1px);
    }
}

@media (max-width: 767px) {
    .c-pagetop {
        width: 68px;
        height: 68px;
        right: 14px;
        bottom: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .c-pagetop {
        transition: none;
    }
}

/* =================================
Pages: Top
================================= */

/* ----- Hero ----- */

.p-hero {
    position: relative;
    overflow: hidden;
    min-height: 98vh;
}

.p-hero__wave {
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 260px;
    z-index: 1;
    pointer-events: none;
}

.p-hero__bg {
    position: absolute;
    inset: -20%;
    z-index: 0;
    pointer-events: none;

    background:
        radial-gradient(75% 75% at 12% 18%, rgba(245, 166, 35, 0.18), transparent 62%),
        linear-gradient(0deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)),
        radial-gradient(60% 60% at 16% 22%, rgba(245, 166, 35, 0.06), transparent 68%),
        radial-gradient(70% 70% at 86% 38%, rgba(51, 209, 198, 0.06), transparent 70%),
        linear-gradient(135deg, #F5A623 0%, #F8DFA9 26%, #33D1C6 45%);

    filter: blur(12px);
    will-change: transform;
    animation: none;
}

.p-hero--bg-animate .p-hero__bg {
    animation: heroBgMove 14s ease-in-out infinite alternate;
}

@keyframes heroBgMove {
    0% {
        transform: translate3d(-8%, -4%, 0) scale(1.06);
    }

    50% {
        transform: translate3d(8%, 4%, 0) scale(1.10);
    }

    100% {
        transform: translate3d(-6%, 7%, 0) scale(1.08);
    }
}

.p-hero__inner {
    position: relative;
    z-index: 2;
    display: block;
    margin: 0;
}

.p-hero__copy {
    padding-top: 120px;
}

.p-hero__title {
    font-size: 4.8rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.5;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.p-hero__hl {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.1em 0.3em 0;
    border-radius: 8px;

    background: linear-gradient(90deg, #0FAE9A 0%, #33D1C6 55%, #AEFAF5 100%);
    color: #fff;
    font-weight: 700;

    margin-right: 0.15em;
}

.p-hero__particle {
    font-size: 0.75em;
    font-weight: 600;
}

.p-hero__note-text {
    margin: 0;
    font-size: 2.0rem;
    font-weight: 700;
    line-height: 1.6;
}

.u-highlight,
.highlight {
    background-image: linear-gradient(0deg, #efa718 0.55em, transparent 0.55em);
}

.p-hero__media {
    position: absolute;
    right: 0;
    z-index: 2;
    pointer-events: none;

    height: 85vh;
    width: auto;
    aspect-ratio: 1066 / 680;

    margin: 0;
    overflow: visible;
}

.p-hero__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: right center;
}

/* ----- Concept ----- */

.p-concept+.p-concept {
    margin-top: 56px;
}

.l-grid--2.p-concept {
    grid-template-columns: 1fr 1.25fr;
    align-items: center;
    gap: 0px;
}

.l-grid--2.p-concept.p-concept--reverse {
    grid-template-columns: 1.25fr 1fr;
}

.p-concept__img {
    margin: 0;
    overflow: hidden;
    display: flex;
    justify-content: flex-end;
}

.p-concept__img img {
    display: block;
    width: auto;
    height: 434px;
    object-fit: cover;
    object-position: center;
}

.p-concept .c-text {
    max-width: 40ch;
}

/* Overlay layout */
.p-concept--overlay {
    position: relative;
    overflow: visible;
    min-height: 520px;
    background: #f3f3f3;
}

/* =================================
Concept overlay：画像基準（位置だけ比率化）
================================= */

/* figure：画像と菌の基準 */
.p-concept__media {
    position: relative;
    margin: 0;
}

/* ベース画像 */
.p-concept__media img {
    width: 100%;
    height: auto;
    display: block;
}

/* 通常ばい菌 */
.p-concept__media>.p-germ {
    position: absolute;
    z-index: 2;
    width: 180px;
    height: auto;
    pointer-events: none;

    animation: germFloat 3.8s ease-in-out infinite;
    will-change: transform;
    opacity: 0.95;
}

/* =========================
位置だけ px → % に変更
（基準画像：1120 × 520）
========================= */

/* 左上（germ-1）※直下にある場合のみ */
.p-concept__media>.p-germ--1 {
    left: 8.93%;
    top: 23.08%;
}

/* 右下（germ-2） */
.p-concept__media>.p-germ--2 {
    left: 74.11%;
    top: 61.54%;
}

/* ヒントテキスト（デフォルト非表示） */
.p-germTalk__hint {
    position: absolute;

    top: -28px;
    left: 50%;
    transform: translateX(-50%);

    display: none;
    margin: 0;

    font-size: 12px;
    line-height: 1.4;
    color: rgba(56, 56, 56, .55);
    white-space: nowrap;
    letter-spacing: .06em;
    text-align: center;
}

/* マウス操作できる端末だけ表示 */
@media (hover: hover) and (pointer: fine) {
    .p-germTalk__hint {
        display: block;
    }
}

/* =========================
左：吹き出し付きばい菌
========================= */
.p-germTalk {
    width: 180px;
    height: 180px;
    position: absolute;
    z-index: 4;

    --gt-line: #33D1C6;
    --gt-bg: #EAF8F7;
    --gt-peek: 6px;
}

.p-germTalk__btn {
    position: absolute;
    inset: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

/* 左の菌（ボタン内） */
.p-germTalk .p-germ {
    position: absolute;
    left: 0;
    top: 0;
    width: 180px;
    height: auto;

    animation: germFloat 3.8s ease-in-out infinite;
    will-change: transform;
    opacity: 0.95;
}

.p-germTalk__balloon {
    position: absolute;
    left: 0;
    bottom: calc(100% + 10px);
    width: 360px;
    max-width: 360px;

    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition:
        opacity .18s ease,
        transform .22s cubic-bezier(.22, .61, .36, 1);
    z-index: 5;

    isolation: isolate;
}

/* 背面（ドット＋オレンジ） */
.p-germTalk__bg {
    position: absolute;
    inset: 0;
    transform: translate(var(--gt-peek), var(--gt-peek));
    z-index: 0;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .06));
}

.p-germTalk__bgShape {
    fill: var(--gt-bg);
}

.p-germTalk__bgDots {
    fill: url(#gt-dot-pattern);
    stroke: none;
}

.p-germTalk__outline {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.p-germTalk__outlineShape {
    fill: none;
    stroke: var(--gt-line);
    stroke-width: 1;
    stroke-linejoin: round;
}

.p-germTalk__text::first-line {
    font-size: 1.05em;
    font-weight: 600;
}

.p-germTalk__text {
    position: relative;
    z-index: 2;
    padding: 36px 40px 50px 40px;
    font-family: "Yomogi", "Hiragino Maru Gothic ProN", "Noto Sans JP", sans-serif;
    letter-spacing: 0.04em;
    text-shadow: 0.3px 0 0 currentColor;
    font-size: 14px;
    line-height: 1.5;
    color: #2f2f2f;
    max-width: 360px;
    text-align: left;
}

/* 表示 */
.p-germTalk:hover .p-germTalk__balloon,
.p-germTalk:focus-within .p-germTalk__balloon {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* キーボード用：フォーカス見える化 */
.p-germTalk__btn:focus-visible {
    outline: 3px solid var(--gt-line);
    outline-offset: 6px;
    border-radius: 999px;
}

@keyframes germFloat {
    0% {
        transform: translate3d(0, 0, 0) rotate(-2deg);
    }

    50% {
        transform: translate3d(0.35rem, -0.6rem, 0) rotate(2deg);
    }

    100% {
        transform: translate3d(0, 0, 0) rotate(-2deg);
    }
}

.p-concept__overlay {
    position: absolute;
    left: 16px;
    max-width: 520px;
    z-index: 1;
}

.p-concept__overlay--top {
    top: 36px;
}

.c-subtitle--accent {
    font-size: 3.2rem;
    text-shadow:
        -0.8px -0.8px 0 #fff,
        0.8px -0.8px 0 #fff,
        -0.8px 0.8px 0 #fff,
        0.8px 0.8px 0 #fff;
    -webkit-text-stroke: 0.8px #fff;

    background-image: linear-gradient(0deg, #C40000 0.5em, transparent 0.5em);
}

.p-concept__overlay--bottom {
    bottom: 28px;
}

.p-concept__overlay--bottom .c-text {
    margin: 0;
    line-height: 1.6;
    max-width: none;
}

/* ----- Steps（背景なし版）----- */

.c-step {
    background: transparent;
    padding: 0;
    min-height: auto;
    border-radius: 0;
    overflow: visible;
    position: relative;
}

.c-step__thumb {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
    background: #d9d9d9;
    margin-bottom: 10px;
}

.c-step__label,
.c-step__title {
    display: inline-block;
}

.c-step__label {
    margin: 0;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-right: 8px;
}

.c-step__title {
    margin: 2px 0 0;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.25;
    display: inline;
}

/* ----- Flow Carousel ----- */

.c-flow-carousel {
    position: relative;
}

.c-flow-carousel__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    position: relative;
    z-index: 1;
}

.c-flow-carousel__viewport::-webkit-scrollbar {
    display: none;
}

.c-flow-carousel__track {
    width: 100%;
    display: flex;
    gap: var(--gap-3);
    padding: 0;
    margin: 0;
    list-style: none;
}

.c-flow-carousel__track .c-step {
    flex: 0 0 calc((100% - (24px * 2)) / 3);
    scroll-snap-align: start;
}

.c-flow-carousel__prev,
.c-flow-carousel__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 120px;
    border: 0;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    z-index: 10;
}

.c-flow-carousel__prev {
    left: -28px;
}

.c-flow-carousel__next {
    right: -28px;
}

.c-flow-carousel__prev span,
.c-flow-carousel__next span {
    font-size: 48px;
    line-height: 1;
}

.c-flow-carousel__prev:focus-visible,
.c-flow-carousel__next:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

.c-flow-carousel__prev.is-hidden,
.c-flow-carousel__next.is-hidden {
    display: none;
}

.p-flow__cta,
.p-blog__cta {
    margin-top: 28px;
    text-align: center;
}

/* ----- FAQ ----- */

.c-faq {
    margin: 0 auto;
    background: var(--bg-soft);
    border-radius: var(--radius);
    padding: 18px;
}

.c-faq__item {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 10px 0;
}

.c-faq__item:first-child {
    border-top: none;
}

.c-faq__q {
    cursor: pointer;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-weight: 700;
    position: relative;
    padding-right: 28px;
}

.c-faq__q::after {
    content: "›";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    font-size: 2.2rem;
    color: #888;
    transition: transform 0.25s ease, color 0.2s ease;
}

.c-faq__item[open]>.c-faq__q::after {
    transform: translateY(-50%) rotate(-90deg);
    color: var(--primary);
}

.c-faq__a {
    margin-top: 10px;
}

.c-faq__more.is-collapsed {
    display: none;
}

.c-faq__cta {
    margin-top: 16px;
    text-align: center;
}

.c-faq__toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.c-faq__toggleIcon {
    display: inline-block;
    width: 1.2em;
    text-align: center;
    font-weight: 700;
}

/* ----- Area ----- */

.p-area__grid {
    align-items: center;
}

.p-area__text {
    position: relative;
    padding: 24px 0;
    padding-left: 40px;
}

.p-area__icon {
    position: absolute;
    left: 0;
    top: 0;
    transform: translateY(-50%);
    width: 100px;
    height: auto;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

.p-area__lead,
.p-area__sublead,
.p-area__body {
    position: relative;
    z-index: 1;
    margin: 0;
}

.p-area__lead {
    font-size: var(--fs-h3);
    font-weight: 700;
    line-height: 1.3;
    color: var(--main);
    margin-bottom: 24px;
}

.p-area__sublead {
    font-size: 2rem;
    line-height: 1.5;
}

.p-area__body {
    color: var(--text);
    max-width: 36em;
}

.p-area__map {
    margin: 0;
    display: grid;
    place-items: center;
}

.p-area__map img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ----- Contact ----- */

.p-contact {
    padding-top: 80px;
    background: rgba(51, 209, 198, 0.6);
}

.p-contact .l-section__head {
    margin-bottom: 28px;
}

.p-contact__panel {
    background: #fff;
    border-radius: var(--radius);
    padding: 34px 44px;
}

.p-contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.p-contact__title {
    margin: 0 0 10px;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
}

.p-contact__desc {
    font-size: 1.4rem;
    margin: 0;
    line-height: 1.5;
}

.p-contact__right {
    text-align: center;
}

.p-contact__tel {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.p-contact__telMain {
    display: inline-flex;
    align-items: center;
}

.p-contact__telIcon {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 30px;
}

.p-contact__telLink {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.p-contact__telLink:hover {
    text-decoration: underline;
}

.p-contact__telMeta {
    font-size: 1.4rem;
}

.p-contact__note {
    margin: 0;
    font-size: 1.4rem;
    line-height: 1.5;
}

/* =================================
Utilities（必要最小限）
================================= */

/* 将来 u- 系を増やすときはここに集約 */

/* =========================
Header: Hamburger
========================= */

/* PCでは非表示（デフォルト） */
.c-hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--primary);
    border: 0;
    border-radius: 0;
    cursor: pointer;
}

.c-hamburger__bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    position: relative;
}

.c-hamburger__bar::before,
.c-hamburger__bar::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: #fff;
}

.c-hamburger__bar::before {
    top: -7px;
}

.c-hamburger__bar::after {
    top: 7px;
}

.c-hamburger:focus-visible {
    outline: 3px solid rgba(239, 167, 24, 0.35);
    outline-offset: 3px;
}

/* Drawer */
.c-drawer {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
}

.c-drawer.is-open {
    display: block;
}

.c-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .35);
}

.c-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(360px, 88vw);
    height: 100%;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    border-left: 1px solid rgba(0, 0, 0, .08);
    padding: 16px;
    overflow-y: auto;
}

.c-drawer__head {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.c-drawer__close {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
    font-size: 20px;
}

.c-drawer__nav {
    display: grid;
    gap: 8px;
}

.c-drawer__nav .c-nav__link {
    width: 100%;
    justify-content: flex-start;
}

/* =================================
Responsive (organized)
- Mobile: 0–767
- Tablet: 768–1023
- <=1023 shared
- prefers-reduced-motion
================================= */

@media (min-width: 1024px) and (max-width: 1280px) {

    .p-hero {
        min-height: 75vh;
    }

    .p-hero__media {
        height: 60vh;
        max-height: 550px;
    }

    .p-hero__title {
        font-size: clamp(3.6rem, 3vw, 4.2rem);
    }

    .p-hero__copy {
        padding-top: 80px;
    }
}

/* =========================
<=1023px (Tablet+SP 共通)
========================= */
@media (max-width: 1023px) {

    /* Layout */
    .l-section {
        padding: 0;
        padding-bottom: 40px;
    }

    .l-grid--2 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .c-brand__name {
        font-size: 2.2rem;
    }

    /* Hero */
    .p-hero__title {
        font-size: 3.6rem;
    }

    /* Area */
    .p-area__text {
        padding-left: 84px;
    }

    .p-area__icon {
        width: 68px;
    }

    /* Header: Hamburger (show) */
    .l-header__nav {
        display: none;
    }

    .c-hamburger {
        display: inline-flex;
    }

    /* Drawer orange band */
    .c-drawer__panel::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 20%;
        background: var(--primary);
        z-index: 0;
    }

    .c-drawer__panel>* {
        position: relative;
        z-index: 1;
    }
}

@media (hover: none) and (pointer: coarse) {
    .p-germTalk__balloon {
        display: none !important;
    }
}

/* =========================
Tablet (768–1023px)
========================= */
@media (min-width: 768px) and (max-width: 1023px) {

    /* Container */
    .l-container {
        padding-inline: var(--space-inline);
    }

    #concept.l-section {
        position: relative;
        z-index: 5;
        padding: 0;
        margin-top: -40px;
    }

    /* Concept */
    .l-grid--2.p-concept,
    .l-grid--2.p-concept.p-concept--reverse {
        gap: 24px;
        padding-left: 0;
    }

    /* Concept image */
    .p-concept__img img {
        width: 100%;
        height: clamp(240px, 32vw, 320px);
    }

    .p-concept__img {
        justify-content: center;
    }

    /* Overlay */
    .p-concept--overlay {
        min-height: clamp(360px, 46vw, 460px);
        margin-bottom: 40px;
    }

    /* Hero */
    .p-hero {
        min-height: 70vh;
    }

    .p-hero__copy {
        padding-top: 40px;
    }

    .p-hero__media {
        height: min(50vh, 520px);
    }

    .p-area__icon {
        top: 20px;
        left: 40px;
    }

    .p-area__text {
        padding-bottom: 0;
    }

    .p-contact {
        padding-top: 40px;
    }

    .p-contact__tel {
        justify-content: flex-start;
    }

    .p-contact__right {
        text-align: left;
    }
}

/* =========================
Mobile / SP (<=767px)
========================= */
@media (max-width: 767px) {

    /* Layout */

    .l-section__head {
        margin-bottom: 28px;
    }

    .l-grid--3 {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* dots */
    .c-section-dots {
        margin-bottom: 30px;
    }

    /* Header */
    .l-header__inner {
        min-height: 64px;
    }

    /* Brand */
    .c-brand__logo {
        width: 40px;
        height: 40px;
    }

    .c-brand__tagline {
        font-size: 1.1rem;
    }

    .c-brand__name {
        font-size: 1.8rem;
    }

    /* SP First View Layout */
    .l-container {
        padding-inline: 16px;
    }

    .p-hero {
        min-height: auto;
        padding-bottom: 50px;
        overflow: hidden;
    }

    .p-hero__inner {
        margin: 0;
        display: flex;
        flex-direction: column;
        position: relative;
        z-index: 2;
    }

    .p-hero__media {
        position: relative;
        order: 1;

        width: calc(100% + 24px);
        margin: 0 -24px 24px 24px;

        aspect-ratio: 1066 / 680;
        height: auto;
        max-height: min(52vh, 360px);

        overflow: hidden;
        pointer-events: none;
    }

    .p-hero__media img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: right top;
    }

    .p-hero__copy {
        order: 2;
        padding-top: 0;
    }

    .p-hero__title {
        font-size: 2.2rem;
        line-height: 1.35;
        margin-bottom: 12px;
    }

    .p-hero__hl {
        font-size: 0.95em;
    }

    .p-hero__note-text {
        margin: 10px auto 0;
        font-size: 1.4rem;
    }

    .p-hero__wave {
        height: 160px;
        bottom: -20px;
        width: calc(100% + 48px);
    }

    /* Concept */
    .l-grid--2.p-concept,
    .l-grid--2.p-concept.p-concept--reverse {
        grid-template-columns: 1fr !important;
        gap: 20px;
        padding-left: 0;
    }

    .p-concept+.p-concept {
        margin-top: 40px;
    }

    .p-concept__img img {
        width: 100%;
        height: auto;
        display: block;
        aspect-ratio: 343 / 220;
        object-fit: cover;
    }

    .p-concept .c-text {
        max-width: none;
    }

    /* 2枚目 Overlay */
    .p-concept--overlay {
        display: flex;
        flex-direction: column;
        text-align: center;
        background: none;
        min-height: auto;
    }

    .p-concept--overlay .p-concept__media {
        order: 2;
        margin: 0;
        position: relative;
        inset: auto;
    }

    .p-concept--overlay .p-concept__media img {
        width: 100%;
        height: auto;
        display: block;
        aspect-ratio: 343 / 220;
        object-fit: cover;
    }

    .p-concept--overlay .p-concept__overlay--top {
        order: 1;
        position: static;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;

        margin: 0 0 8px;
        max-width: none;
        pointer-events: auto;
    }

    .p-concept--overlay .p-concept__overlay--bottom {
        order: 3;
        position: static;
        margin-top: 16px;
        max-width: none;
    }

    .p-concept__overlay--bottom .c-text {
        max-width: none;
    }

    .c-subtitle--accent {
        font-size: var(--fs-h3);
    }

    /* germs */
    .p-concept--overlay .p-concept__media .p-germ {
        position: absolute;
        z-index: 4;
        width: clamp(88px, 22vw, 140px);
        height: auto;
        pointer-events: none;

        left: auto;
        top: auto;
    }

    .p-concept--overlay .p-concept__media .p-germ--1 {
        left: 0;
        top: 0;
        transform: translate(-18%, -18%);
    }

    .p-concept--overlay .p-concept__media .p-germ--2 {
        right: 0;
        bottom: 0;
        transform: translate(18%, 18%);
    }

    /* Flow */
    .c-flow-carousel__track .c-step {
        flex-basis: 100%;
    }

    .c-blog-card__thumb {
        max-width: 350px;
        margin-inline: auto;
    }

    .c-blog-card__body {
        padding-top: 0;
        max-width: 350px;
        margin-inline: auto;
        text-align: left;
    }

    /* Area（SP） */
    .p-area__text {
        padding: 16px 0 0;
        padding-left: 0;
    }

    .p-area__icon {
        top: 0;
        left: 0;
        transform: none;
        width: 64px;
        opacity: 0.18;
    }

    .p-area__lead {
        padding-left: 72px;
        min-height: 64px;
        display: flex;
        align-items: center;
        margin-bottom: 8px;
    }

    .p-area__sublead,
    .p-area__body {
        padding-left: 0;
    }

    /* Contact（SP） */

    .p-contact {
        padding-top: 24px;
    }

    .p-contact__panel {
        padding: 24px 18px;
    }

    .p-contact__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .p-contact__left {
        text-align: left;
    }

    .p-contact__title {
        font-size: 2.4rem;
    }

    .p-contact__desc {
        font-size: 1.4rem;
        line-height: 1.6;
    }

    .p-contact__right {
        text-align: left;
    }

    .p-contact__tel {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
        gap: 6px 10px;
    }

    .p-contact__telIcon,
    .p-contact__telLink {
        display: inline-flex;
        align-items: center;
    }

    .p-contact__telLink {
        font-size: 2.2rem;
    }

    .p-contact__telMeta {
        flex-basis: 100%;
        font-size: 1.2rem;
    }

    .p-contact__note {
        font-size: 1.2rem;
        line-height: 1.6;
    }

    .c-button--cta {
        width: 100%;
        min-width: 0;
        display: flex;
        justify-content: center;
        margin: 16px auto;
    }

    /* Footer（SP） */
    .l-footer__silhouette {
        height: 120px;
        margin-top: 32px;
    }

    .l-footer__inner {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
    }

    .l-footer__brand {
        justify-content: center;
    }

    .l-footer__nav {
        margin-left: 0;
        justify-content: center;
    }

    .c-footer-nav {
        justify-content: center;
        gap: 10px;
    }

    .c-footer-nav li {
        justify-content: center;
    }

    .c-footer-nav li:not(:first-child)::before {
        display: none;
    }

    .l-footer__ig img {
        width: 32px;
        height: 32px;
    }

    .c-copyright {
        margin-top: 14px;
        font-size: 1.1rem;
    }

}

/* =========================
prefers-reduced-motion
========================= */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .p-hero--bg-animate .p-hero__bg {
        animation: none;
    }

    .p-germ {
        animation: none;
    }
}

/* =========================
Pages: Service
========================= */

.p-service .p-service-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Hero */
.p-service-hero {
    position: relative;
    min-height: clamp(220px, 22vw, 340px);
    display: grid;
    place-items: center;
    overflow: hidden;
}

/* 背景画像 */
.p-service-hero__bg {
    position: absolute;
    inset: 0;

    background-image: url("../images/service_hero.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 65%;

    filter: saturate(0.95);
    transform: scale(1.02);
}

/* 白いオーバーレイ */
.p-service-hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.55);
}

.p-service-hero__inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.p-service-hero__title {
    font-size: clamp(2.2rem, 2.6vw, 3.2rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--bg);
    -webkit-text-stroke: 0.5px var(--primary);
}

/* Intro */
.p-service-intro {
    padding-top: 48px;
    padding-bottom: 28px;
}

.p-service-intro__text {
    line-height: 2;
    font-weight: 700;
    color: var(--text, #2b2b2b);
    text-align: center;
}

/* Reason block */
.p-service-reason {
    padding-bottom: 0;
}

.p-service-reason__grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
}

.p-service-reason__media {
    margin: 0;
    justify-items: center;
    padding-bottom: 40px;
}

.p-service-reason__media img {
    width: 80%;
    height: auto;
    display: block;
    border-radius: 0;
}

.p-service-reason__kicker {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.7;
    color: var(--text, #2b2b2b);
}

.p-service-reason__title {
    font-size: clamp(2rem, 2.4vw, 2.8rem);
    font-weight: 700;
    margin: 0 0 14px;
    color: var(--text, #2b2b2b);
}

.p-service-reason__list {
    margin: 0;
    padding-left: 1.2em;
    display: grid;
    gap: 10px;
    font-weight: 700;
}

.p-service-reason__list li {
    position: relative;
    list-style: none;
    padding-left: 1.3em;
}

.p-service-reason__list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #c84040;
}

/* Price cards */
.p-service-price {
    padding-bottom: 40px;
}

.p-service-price__title {
    text-align: center;
    font-size: clamp(2rem, 2.4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 20px;
}

.p-service-cards {
    display: grid;
    gap: 20px;
}

.p-service-card {
    border: 1px solid rgba(240, 161, 26, 0.55);
    background: #fff;
    padding: 22px 24px;
}

.p-service-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 2.5vw, 28px);
    align-items: stretch;
}

.p-service-card {
    height: 100%;
    border: 1px solid rgba(240, 161, 26, 0.55);
    padding: 22px 24px;
    display: flex;
    align-items: center;
}

.p-service-card__grid {
    display: grid;
    grid-template-columns: 200px minmax(0, 340px);
    gap: 24px;
    align-items: center;

    width: fit-content;
    margin-inline: auto;
}

.p-service-card__icon {
    max-width: 200px;
}

.p-service-card__icon img {
    width: 100%;
    height: auto;
    display: block;
}

.p-service-card__name {
    display: inline-block;
    padding: 14px 20px 10px;

    background: var(--primary);
    color: #fff;

    font-weight: 700;
    font-size: 1.8rem;
    line-height: 1.3;
}

.p-service-card__price {
    margin: 10px 0 10px;
    font-weight: 700;
    color: #2b2b2b;
}

.p-service-card__price span {
    color: #c84040;
    font-size: 1.8rem;
}

.p-service-card__notes {
    font-size: 1.6rem;
    margin: 0;
    display: grid;
    color: var(--text, #2b2b2b);
}

.p-service-price__note {
    margin-top: 20px;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
}

/* Utilities (if not exists) */
.u-br-sp {
    display: none;
}

/* =========================
Responsive
========================= */

/* 1023px以下：タブレット〜小さめPC */
@media (max-width: 1023px) {

    .p-service-hero__title {
        font-size: clamp(2.0rem, 4.5vw, 3.0rem);
    }

    .p-service-price__title {
        font-size: clamp(1.8rem, 3.2vw, 2.4rem);
        margin-bottom: 16px;
    }

    .p-service-intro {
        padding-top: 40px;
        padding-bottom: 22px;
    }

    .p-service-intro__text {
        font-size: clamp(1.3rem, 2.4vw, 1.5rem);
        text-align: left;
        line-height: 1.6;
    }

    .p-service-reason__grid {
        grid-template-columns: 1fr;
    }

    .p-service-reason__media {
        padding-bottom: 20px;
    }

    .p-service-reason__media img {
        width: min(520px, 92%);
        margin-inline: auto;
    }

    .p-service-reason__kicker {
        font-size: clamp(1.3rem, 2.4vw, 1.5rem);
        line-height: 1.7;
    }

    .p-service-reason__title {
        font-size: clamp(1.8rem, 3.0vw, 2.2rem);
        margin: 12px 0 12px;
    }

    .p-service-reason__body {
        display: grid;
        justify-items: center;
        padding-bottom: 30px;
    }

    .p-service-reason__title,
    .p-service-reason__list {
        max-width: 520px;
        margin-inline: auto;
    }

    .p-service-reason__list {
        gap: 8px;
        padding-left: 0;
        text-align: left;
    }

    .p-service-price {
        padding-bottom: 32px;
    }

    .p-service-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .p-service-card {
        padding: 18px 18px;
    }

    .p-service-card__grid {
        grid-template-columns: 200px 1fr;
        gap: 16px;
    }

    .p-service-card__name {
        font-size: clamp(1.5rem, 2.6vw, 1.7rem);
        padding: 12px 16px 9px;
        line-height: 1.25;
    }

    .p-service-card__price {
        margin: 8px 0 8px;
        font-size: clamp(1.4rem, 2.2vw, 1.6rem);
    }

    .p-service-card__price span {
        font-size: clamp(1.6rem, 2.6vw, 1.8rem);
    }

    .p-service-card__notes {
        font-size: clamp(1.3rem, 2.1vw, 1.5rem);
    }

    .p-service-price__note {
        margin-top: 16px;
        font-size: clamp(1.6rem, 2.0vw, 1.9rem);
        text-align: left;
    }
}

/* 767px以下：スマホ */
@media (max-width: 767px) {

    .u-br-sp {
        display: inline;
    }

    .p-service-intro {
        padding-top: 28px;
        padding-bottom: 16px;
    }

    .p-service-price {
        padding-bottom: 24px;
    }

    .p-service-price__title {
        font-size: clamp(1.8rem, 3.0vw, 2.2rem);
        margin-bottom: 14px;
    }

    .p-service-cards {
        gap: 14px;
    }

    .p-service-card {
        padding: 16px 14px;
    }

    .p-service-card__grid {
        grid-template-columns: 1fr;
        gap: 12px;
        width: 100%;
        margin-inline: 0;
    }

    .p-service-card__icon {
        max-width: min(240px, 70vw);
        margin: 0 auto;
    }

    .p-service-card__name {
        font-size: clamp(1.4rem, 4.8vw, 1.6rem);
        padding: 11px 14px 8px;
        line-height: 1.2;
        text-align: center;
    }

    .p-service-card__price {
        margin: 6px 0 6px;
        font-size: clamp(1.3rem, 4.2vw, 1.5rem);
    }

    .p-service-card__price span {
        font-size: clamp(1.5rem, 4.8vw, 1.7rem);
    }

    .p-service-card__notes {
        font-size: clamp(1.2rem, 4vw, 1.4rem);
        text-align: left;
    }

    .p-service-price__note,
    .p-service-intro__text {
        font-weight: 700;
    }

    .p-service-price__note {
        font-size: clamp(1.4rem, 3.0vw, 1.7rem);
        line-height: 1.8;
        text-align: left;
    }
}

/* =================================
Pages: Flow
================================= */

.p-flow .p-service-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Hero */
.p-flow-hero {
    position: relative;
    min-height: clamp(220px, 22vw, 340px);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.p-flow-hero__bg {
    position: absolute;
    inset: 0;
    background-image: url("../images/flow_hero.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    filter: saturate(0.95);
    transform: scale(1.02);
}

.p-flow-hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.55);
}

.p-flow-hero__inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.p-flow-hero__title {
    font-size: clamp(2.2rem, 2.6vw, 3.2rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--bg);
    -webkit-text-stroke: 0.5px var(--primary);
}

/* Intro */
.p-flow-intro {
    padding-top: 48px;
    padding-bottom: 28px;
}

.p-flow-intro__text {
    line-height: 2;
    font-weight: 700;
    color: var(--text);
    text-align: center;
}

/* Steps section */
.p-flow-steps {
    padding-top: 40px;
    padding-bottom: 40px;
}

.p-flow-steps__title {
    text-align: center;
    font-size: clamp(2rem, 2.4vw, 2.8rem);
    font-weight: 800;
    color: var(--primary);
    margin: 0 0 24px;
}

.p-flow-steps__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 22px;
    justify-items: center;
}

/* Step card */
.p-flow-step {
    width: min(1120px, 100%);
    background: #fff;
    border: 1px solid rgba(51, 209, 198, 0.55);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

/* 上の帯 */
.p-flow-step__head {
    background: var(--main);
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 14px 18px;
    font-size: 1.6rem;
}

/* 中身（画像＋テキスト） */
.p-flow-step__body {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 18px;
    align-items: center;
    padding: 18px;
}

.p-flow-step__media {
    margin: 0;
}

.p-flow-step__media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.p-flow-step__text {
    margin: 0;
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--text);
}

/* STEP間の矢印 */
.p-flow-steps__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0;
    justify-items: center;
}

/* 矢印スペーサー */
.p-flow-arrow {
    width: min(920px, 100%);
    height: 60px;
    position: relative;
}

.p-flow-arrow::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -35%);
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 30px solid var(--primary);
}

/* Caution box */
.p-flow-caution {
    padding: 28px 24px;
    background: #eaf9f7;
    max-width: 900px;
    margin-inline: auto;
    margin-bottom: 40px;
}

.p-flow-caution__title {
    margin: 0 0 14px;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 800;
    color: #c84040;
}

.p-flow-caution__list {
    margin: 0;
    padding-left: 1.2em;
    display: grid;
    gap: 8px;
    color: var(--text);
    font-size: 1.4rem;
    line-height: 1.7;
}

/* SP */
@media (max-width: 767px) {
    .p-flow-steps {
        padding-top: 26px;
        padding-bottom: 44px;
    }

    .p-flow-step__body {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .p-flow-step__text {
        font-size: 1.4rem;
    }
}

/* =================================
Pages: Blog
================================= */

.p-blog .p-service-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Hero */
.p-blog-hero {
    position: relative;
    min-height: clamp(220px, 22vw, 340px);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.p-blog-hero__bg {
    position: absolute;
    inset: 0;
    background-image: url("../images/blog_hero.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    filter: saturate(0.95);
    transform: scale(1.02);
}

.p-blog-hero__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.55);
}

.p-blog-hero__inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.p-blog-hero__title {
    font-size: clamp(2.2rem, 2.6vw, 3.2rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--bg);
    -webkit-text-stroke: 0.5px var(--primary);
}

/* Intro */
.p-blog-intro {
    padding-top: 46px;
    padding-bottom: 18px;
}

.p-blog-intro__text {
    font-weight: 700;
    line-height: 2;
    color: var(--text);
}

/* Blog grid */
.p-blog-list {
    padding-top: 18px;
    padding-bottom: 54px;
}

.p-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    align-items: start;
}

@media (max-width: 1023px) {
    .p-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .p-blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Card */
.p-blog-card__link {
    display: grid;
    gap: 10px;
    color: inherit;
    text-decoration: none;
}

.p-blog-card__thumb {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f2f2f2;
    border-radius: 4px;
}

.p-blog-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.p-blog-card__meta {
    margin: 0;
    font-size: 1.2rem;
    color: var(--muted, #666);
}

.p-blog-card__title {
    margin: 0;
    font-size: 1.4rem;
    line-height: 1.7;
    color: var(--text, #2b2b2b);
}

/* ----- blog -----*/
.p-pagination {
    margin-top: 40px;
    text-align: center;
}

.p-pagination .page-numbers {
    text-decoration: none;
    padding-bottom: 4px;
    position: relative;
    transition: color 0.2s ease;
}

.p-pagination .page-numbers::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;

    background-image: repeating-linear-gradient(to right,
            currentColor 0px,
            currentColor 2px,
            transparent 2px,
            transparent 5px);

    transition: background-image 0.2s ease;
}

.p-pagination .page-numbers:hover {
    color: #33D1C6;
}

.p-pagination .page-numbers.current {
    font-weight: 600;
    color: #33D1C6;
}

.p-blog-intro {
    padding-top: 60px;
    padding-bottom: 0;
    text-align: center;
}

.p-blog-intro__text {
    font-size: 1.6rem;
    line-height: 1.8;
    color: #555;
}

/* hover */
@media (hover:hover) {
    .p-blog-card__link:hover .p-blog-card__img {
        transform: scale(1.02);
        transition: transform 0.2s ease;
    }
}

/* Pager */
.p-blog-pager {
    margin-top: 30px;
    text-align: center;
}

.p-blog-pager__next {
    display: inline-block;
    padding: 10px 14px;
    color: var(--text);
    text-decoration: none;
}

.p-blog-pager__next:hover {
    text-decoration: underline;
}

/* =========================
Overlay germs：配置を変数で統一（安定版）
- germ1：左上基準（吹き出し付き）
- germ2：右下基準（通常）
========================= */

/* 既定（PC）：画像基準 */
.p-concept--overlay .p-concept__media {
    --g-size: 180px;

    --g1-left: 8.93%;
    --g1-top: 23.08%;

    --g2-right: 6.00%;
    --g2-bottom: 8.00%;
}

.p-concept--overlay .p-germTalk--1 {
    left: var(--g1-left);
    top: var(--g1-top);
}

.p-concept--overlay .p-concept__media>.p-germ--2 {
    left: auto;
    top: auto;
    right: var(--g2-right);
    bottom: var(--g2-bottom);
}

.p-concept--overlay .p-germTalk,
.p-concept--overlay .p-germTalk .p-germ,
.p-concept--overlay .p-concept__media>.p-germ--2 {
    width: var(--g-size);
}

/* =========================
SP（<=767）
========================= */
@media (max-width: 767px) {
    .p-concept--overlay .p-concept__media {
        --g-size: clamp(88px, 22vw, 140px);

        --g1-left: 0%;
        --g1-top: 0%;

        --g2-right: 0%;
        --g2-bottom: 0%;
    }
}

/* =========================
Tablet（768–1023）
========================= */
@media (min-width: 768px) and (max-width: 1023px) {
    .p-concept--overlay .p-concept__media {
        --g-size: clamp(120px, 16vw, 180px);

        --g1-left: 12%;
        --g1-top: 32%;

        --g2-right: 6%;
        --g2-bottom: 6%;
    }
}

/* ===== CF7 radio reset ===== */
/* destyle対策：ラジオ/チェックはOS標準の見た目に戻す */
input[type="radio"],
input[type="checkbox"] {
    -webkit-appearance: auto;
    appearance: auto;
    accent-color: var(--main);
}

/* ----- コンタクトフォーム ----- */

.wpcf7-list-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 16px 8px 0;
}

.wpcf7-list-item-label {
    line-height: 1.4;
}

.p-contact-page .wpcf7 form {
    max-width: 720px;
    margin: 0 auto;
}

.wpcf7 form input[type="text"],
.wpcf7 form input[type="email"],
.wpcf7 form input[type="tel"],
.wpcf7 form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--main);
    border-radius: 8px;
    background: #fff;
    font-size: 1.4rem;
    transition: 0.2s ease;
}

.wpcf7 form textarea {
    min-height: 140px;
    resize: vertical;
}

.p-contact-submit {
    text-align: center;
}

.c-required {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    padding: 4px 8px;
    margin-left: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    background: var(--primary);
    border-radius: 4px;
    position: relative;
    top: -1px;
}

.p-contact-intro {
    max-width: 720px;
    margin: 0 auto 40px;
    padding-top: 40px;
}

.p-contact-block {
    margin-bottom: 24px;
}

.p-contact-block__title {
    position: relative;
    padding-left: 14px;
    font-weight: 600;
}

.p-contact-block__title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.3em;
    width: 4px;
    height: 1.2em;
    background: var(--main);
    border-radius: 2px;
}

.p-contact-block__text {
    line-height: 1.8;
    margin: 0;
}

/* ===== Contact: Privacy text (page内) ===== */
.p-contact-privacy {
    max-width: 720px;
    margin: 16px auto 0;
    font-size: 1.2rem;
    color: var(--muted);
    line-height: 1.8;
}

.p-contact-privacy__block {
    margin: 0 0 14px;
}

.p-contact-privacy__title {
    position: relative;
    padding-left: 14px;
    font-weight: 600;
    margin: 0 0 6px;
    color: var(--text);
}

.p-contact-privacy__title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.25em;
    width: 4px;
    height: 1.2em;
    background: var(--main);
    border-radius: 2px;
}

.p-contact-privacy__text {
    margin: 0;
}

/* パンくず */
.c-breadcrumb {
    margin: 24px 0;
    font-size: 1.3rem;
}

.l-breadcrumbWrap {
    padding-inline: var(--space-inline);
}

.c-breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.c-breadcrumb__item {
    display: flex;
    align-items: center;
}

.c-breadcrumb__item::after {
    content: " <";
    margin-left: 8px;
    opacity: 0.5;
}

.c-breadcrumb__item:last-child::after {
    content: "";
}

.c-breadcrumb a {
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.c-breadcrumb a:hover {
    opacity: 0.7;
}

.c-breadcrumb [aria-current="page"] {
    color: var(--primary);
    font-weight: 700;
}