/* ═══════════════════════════════════════════════════════
   Healthfreak, Inc. — v9.1
   大和園DNA / ロゴトリミング済み対応版
   ═══════════════════════════════════════════════════════ */

/* ════════════════════════════════════════════
   LOADER
   ════════════════════════════════════════════ */
#loader {
    position: fixed;
    inset: 0;
    background: var(--bg, #F3F1EF);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    gap: 20px;
}
#loader__logo {
    width: 80px;
    height: auto;
    mix-blend-mode: multiply;
    opacity: 0;
    transform: translateY(20px);
    animation: ldrFadeUp 1s cubic-bezier(.4,0,.2,1) .1s forwards;
}
#loader__name {
    font-size: 15px;
    letter-spacing: .22em;
    color: #2e2e2c;
    font-weight: 600;
    opacity: 0;
    transform: translateY(8px);
    animation: ldrFadeUp .8s cubic-bezier(.4,0,.2,1) .7s forwards;
}
#loader__rule {
    width: 1px;
    height: 0;
    background: rgba(82,122,56,.4);
    animation: ldrLineDown .6s cubic-bezier(.4,0,.2,1) 1.15s forwards;
}
#loader__copy {
    font-size: 11px;
    letter-spacing: .22em;
    color: #527A38;
    font-weight: 400;
    opacity: 0;
    transform: translateY(6px);
    animation: ldrFadeUp .7s cubic-bezier(.4,0,.2,1) 1.4s forwards;
}
#loader.is-done {
    animation: ldrOut .8s cubic-bezier(.4,0,.2,1) forwards;
    pointer-events: none;
}
@keyframes ldrFadeUp {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes ldrLineDown {
    to { height: 32px; }
}
@keyframes ldrOut {
    0%   { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.03); }
}

:root {
    --bg:      #F3F1EF;
    --white:   #FFFFFF;
    --black:   #111110;
    --muted:   #767270;
    --sage:    #527A38;
    --sage-lt: #C4D8A6;
    --rose:    #C05870;
    --sky:     #4080A0;
    --font: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'YuGothic', sans-serif;
    --sp-200: 200px;
    --sp-160: 160px;
    --sp-120: 120px;
    --sp-100: 100px;
    --sp-64:   64px;
    --sp-40:   40px;
    --gutter: clamp(20px, 5vw, 80px);
    --W: 1160px;
    --HH: 72px;
    --ease: cubic-bezier(.16,1,.3,1);
}

*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body {
    background: var(--bg);
    color: var(--black);
    font-family: var(--font);
    font-weight: 400;
    font-size: 16px;
    line-height: 2.4;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { display:block; max-width:100%; }
a { color:inherit; text-decoration:none; }
em { font-style:normal; }
strong, b { font-weight:700; }

/* ── BUTTONS ── */
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--sage); color: #fff;
    padding: 14px 32px; border-radius: 4px;
    font-size: 13px; font-weight: 600;
    letter-spacing: .08em;
    transition: background .3s var(--ease);
    cursor: pointer;
}
.btn-primary:hover { background: #3a5728; }
.btn-text {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--black); font-size: 13px; font-weight: 600;
    letter-spacing: .08em;
    border-bottom: 1px solid rgba(17,17,16,.25);
    padding-bottom: 2px;
    transition: gap .3s var(--ease), border-color .3s;
    cursor: pointer;
}
.btn-text:hover { gap: 14px; border-color: var(--black); }

/* ── SECTION GRID ── */
.sec-row {
    max-width: var(--W);
    margin: 0 auto;
    padding: var(--sp-160) var(--gutter);
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 0 var(--sp-64);
    align-items: start;
}
.sec-label {
    writing-mode: vertical-rl;
    font-size: 9px; font-weight: 700;
    letter-spacing: .4em; text-transform: uppercase;
    color: var(--sage);
    position: sticky;
    top: calc(var(--HH) + 40px);
    padding-top: 4px;
    border-top: 2px solid var(--sage);
}
.sec-label--lt { color: rgba(255,255,255,.4); border-top-color: rgba(255,255,255,.3); }

/* ════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════ */
.hd {
    position: fixed; inset: 0 0 auto; z-index: 960;
    height: var(--HH);
    transition: background .5s var(--ease), box-shadow .5s;
}
.hd.is-scrolled {
    background: rgba(243,241,239,.97);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0,0,0,.07);
}
.hd__inner {
    /* ★ max-width なし・padding のみ → 完全に左右端まで広がる */
    width: 100%;
    padding: 0 clamp(28px, 4vw, 64px);
    height: 100%;
    display: flex; align-items: center; justify-content: space-between;
}

/* ★ ロゴ：トリミング済み透過PNG を使用
/* HF_logo横.png：mix-blend-mode:multiply で黒背景をクリームに溶かす */
.hd__logo {
    height: 44px;
    width: auto;
    mix-blend-mode: multiply;
    transition: opacity .2s;
}
.hd__logo-link:hover .hd__logo { opacity: .6; }

.hd__nav {
    display: flex; align-items: center; gap: 2.5rem;
}
.hd__nav a {
    font-size: 13px; font-weight: 600;
    letter-spacing: .08em; color: var(--black);
    transition: color .2s;
}
.hd__nav a:hover { color: var(--sage); }
.hd__contact {
    background: var(--sage) !important; color: #fff !important;
    padding: 8px 20px; border-radius: 4px;
    font-size: 13px !important;
    transition: background .3s !important;
}
.hd__contact:hover { background: #3a5728 !important; }

/* ════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════ */
.hero {
    min-height: 100svh;
    background: var(--bg);
    position: relative;
    overflow: hidden;
    padding-top: var(--HH);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 80px;
}

/* 右端：巨大キャッチ */
.hero__catch {
    position: absolute;
    right: var(--gutter);
    top: 50%; transform: translateY(-52%);
    text-align: right;
}
.hero__catch-kicker {
    font-size: 9px; font-weight: 700;
    letter-spacing: .4em; text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp .6s var(--ease) .1s forwards;
}
.hero__h1 {
    font-size: clamp(3.5rem, 10vw, 10rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: .04em;
    display: flex; flex-direction: column; align-items: flex-end;
}
.h1-line {
    display: block;
    opacity: 0; transform: translateY(20px);
    animation: fadeUp .8s var(--ease) var(--d,.2s) forwards;
}
.h1-line:nth-child(1){--d:.2s} .h1-line:nth-child(2){--d:.32s}
.h1-line:nth-child(3){--d:.44s} .h1-line:nth-child(4){--d:.56s}
.h1-line--green { color: var(--sage); }

/* 左下：サブテキスト */
.hero__sub-wrap {
    padding-left: var(--gutter);
    max-width: 500px;
    display: flex; gap: 32px; align-items: flex-start;
    opacity: 0;
    animation: fadeUp 1s var(--ease) .75s forwards;
}
.hero__sub-vert {
    display: flex; flex-direction: column;
    align-items: center; gap: 12px;
    padding-top: 4px; flex-shrink: 0;
}
.hero__vert-bar {
    width: 1px; height: 48px;
    background: var(--sage); display: block;
}
.hero__vert-label {
    writing-mode: vertical-rl;
    font-size: 8px; font-weight: 600;
    letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
}
.hero__tagline {
    font-size: 12px; font-weight: 500;
    letter-spacing: .1em; color: var(--muted);
    margin-bottom: 8px; line-height: 1.8;
}
.hero__desc {
    font-size: 13px; font-weight: 400;
    line-height: 2.0; color: var(--black); margin-bottom: 32px;
}
.hero__btns { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }

/* ★ ヒーローロゴ：右下ウォーターマーク
   トリミング済みPNG使用 → 明確に見える */
/* HFロゴ：ヒーロー左中央に大きく
   テキストの邪魔をしない左寄り配置
   mix-blend-mode:multiply で背景に溶け込む */
.hero__bg-logo {
    position: absolute;
    left: clamp(40px, 6vw, 100px);
    top: 50%;
    transform: translateY(-46%);
    opacity: 0;
    animation: fadeIn 1.4s ease .6s forwards;
    pointer-events: none;
    user-select: none;
}
.hero__bg-logo img {
    /* 大きく、でも主役テキストを邪魔しない */
    height: clamp(220px, 32vw, 480px);
    width: auto;
    mix-blend-mode: multiply;
    /* 薄く：存在感はあるが背景に溶ける */
    opacity: .18;
}

/* scroll */
.hero__scroll-wrap {
    position: absolute; bottom: 44px; left: var(--gutter);
    display: flex; align-items: center; gap: 14px;
    opacity: 0;
    animation: fadeIn 1s ease 1.4s forwards;
}
.hero__scroll-txt {
    font-size: 8px; font-weight: 700;
    letter-spacing: .36em; text-transform: uppercase; color: var(--muted);
}
.hero__scroll-bar {
    display: block; width: 48px; height: 1px;
    background: rgba(17,17,16,.15); position: relative; overflow: hidden;
}
.hero__scroll-bar::after {
    content: ''; position: absolute; inset: 0;
    background: var(--sage);
    animation: scanLine 2.2s ease 1.8s infinite;
    transform-origin: left;
}
@keyframes scanLine { 0%{transform:scaleX(0)} 50%{transform:scaleX(1)} 100%{transform:scaleX(0) translateX(100%)} }
@keyframes fadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }

/* ── TICKER ── */
.ticker {
    background: var(--sage);
    overflow: hidden; padding: 13px 0; white-space: nowrap;
}
.ticker__track {
    display: inline-flex; align-items: center;
    animation: ticker 40s linear infinite;
}
.ticker__track span {
    font-size: 9px; font-weight: 700;
    letter-spacing: .28em; text-transform: uppercase;
    color: rgba(255,255,255,.85); padding: 0 2.5rem;
}
.ticker__track b { font-style:normal; color:rgba(255,255,255,.2); font-size:.375rem; font-weight:400; }
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ════════════════════════════════════════════
   ABOUT
   ════════════════════════════════════════════ */
.about { background: var(--white); }
.about__head { margin-bottom: var(--sp-100); }
.about__h2 {
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 900; line-height: 1.45; letter-spacing: .3em;
}
.about__h2 em { color: var(--sage); }
.about__lead {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 700; color: var(--sage);
    line-height: 1.8; letter-spacing: .12em; margin-bottom: 40px;
}
.about__p {
    font-size: 15px; font-weight: 400;
    line-height: 2.4; letter-spacing: .06em; margin-bottom: 24px;
}
.about__dots {
    list-style: none;
    display: flex; flex-direction: column; gap: 16px;
    margin: var(--sp-40) 0;
}
.about__dots li {
    display: flex; align-items: center; gap: 14px;
    font-size: 10px; font-weight: 700;
    letter-spacing: .24em; text-transform: uppercase; color: var(--muted);
}
.dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.dot--sage { background: var(--sage); }
.dot--rose { background: var(--rose); }
.dot--sky  { background: var(--sky); }
.about__sig {
    font-size: 13px; font-weight: 400; color: var(--muted); letter-spacing: .1em;
    padding-top: var(--sp-40); margin-top: var(--sp-40);
    border-top: 1px solid rgba(17,17,16,.08);
}

/* DigitalPlatform × Data Driven × Healthcare Solution */
.about__platform {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 40px 0;
    padding: 36px 40px;
    background: var(--bg);
    border-left: 3px solid var(--sage);
    border-radius: 0 4px 4px 0;
}
.about__platform-item {
    font-size: 14px; font-weight: 400;
    line-height: 1.8; letter-spacing: .04em;
    color: var(--black);
}
.about__platform-item span {
    display: inline-block;
    font-size: 11px; font-weight: 700;
    letter-spacing: .16em; text-transform: uppercase;
    color: var(--sage);
    margin-right: 12px;
    min-width: 160px;
}
.about__platform-cross {
    font-size: 18px; font-weight: 300;
    color: var(--sage); opacity: .4;
    padding: 4px 0 4px 8px;
    line-height: 1;
}

/* ════════════════════════════════════════════
   BUSINESS
   ════════════════════════════════════════════ */
.biz { background: var(--bg); }
.biz__head { margin-bottom: var(--sp-100); }
.biz__h2 {
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 900; line-height: 1.15; letter-spacing: .04em; margin-bottom: 24px;
}
.biz__sub {
    font-size: 15px; font-weight: 400; color: var(--muted);
    line-height: 2.4; letter-spacing: .06em;
}
.biz__grid {
    display: flex; flex-direction: column; gap: 3px;
}
.biz-card {
    background: var(--white); border-radius: 8px; padding: 48px;
    position: relative; overflow: hidden;
    opacity: 0; transform: translateY(24px);
    transition: opacity .8s var(--ease), transform .8s var(--ease), box-shadow .4s;
}
.biz-card.is-vis { opacity:1; transform:none; }
.biz-card:hover { box-shadow: 0 12px 48px rgba(0,0,0,.07); transform: translateY(-2px); }
.biz-card.is-vis:hover { transform: translateY(-2px); }
.biz-card__top-bar { position:absolute; top:0; left:0; right:0; height:3px; background:var(--bar); }
.biz-card__no {
    font-size: 56px; font-weight: 900;
    color: rgba(17,17,16,.04); line-height: 1; letter-spacing: -.04em; margin-bottom: 20px;
}
.biz-card__cat {
    font-size: 9px; font-weight: 700;
    letter-spacing: .3em; text-transform: uppercase; color: var(--sage); margin-bottom: 20px;
}
.biz-card__h3 {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 700; line-height: 1.7; letter-spacing: .08em; margin-bottom: 20px;
}
.biz-card__p {
    font-size: 14px; font-weight: 400; line-height: 2.4; letter-spacing: .04em; color: var(--muted);
}

/* ════════════════════════════════════════════
   COMPANY
   ════════════════════════════════════════════ */
.co { background: var(--white); }
.co__head { margin-bottom: var(--sp-100); }
.co__h2 {
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 900; letter-spacing: .3em; line-height: 1.35; margin-bottom: 32px;
}
.co__vision {
    font-size: 15px; font-weight: 400; color: var(--sage);
    line-height: 2.4; letter-spacing: .08em; max-width: 560px; margin-bottom: 24px;
}
.co__ceo { font-size: 13px; font-weight: 400; color: var(--muted); letter-spacing: .1em; }
.co__dl { display: flex; flex-direction: column; max-width: 760px; }
.co__row {
    display: grid; grid-template-columns: 8.5rem 1fr;
    gap: 0 32px; padding: 28px 0;
}
.co__row + .co__row { border-top: 1px solid rgba(17,17,16,.06); }
.co__row dt {
    font-size: 9px; font-weight: 700;
    letter-spacing: .22em; text-transform: uppercase; color: var(--sage); padding-top: .2rem;
}
.co__row dd { font-size: 14px; font-weight: 400; line-height: 2.0; letter-spacing: .04em; }
.co__row dd small { font-size: 12px; color: var(--muted); }

/* ════════════════════════════════════════════
   CONTACT
   ════════════════════════════════════════════ */
/* ════════════════════════════════════════════
   CONTACT
   ════════════════════════════════════════════ */
.ct {
    background: #EEF4E8;
    position: relative;
    overflow: hidden;
}
.ct::before {
    content: '';
    position: absolute;
    right: -15%; top: -20%;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(82,122,56,.06) 0%, transparent 65%);
    pointer-events: none;
}
/* ct::after — ロゴ背景装飾なし */

/* 2カラムレイアウト */
.ct__wrap {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    max-width: var(--W);
    margin: 0 auto;
    padding: var(--sp-200) var(--gutter);
    position: relative; z-index: 1;
}

/* 左エリア */
.ct__left {
    display: flex;
    flex-direction: column;
    padding-top: 8px;
}
.ct__eyebrow {
    display: block;
    font-size: 9px; font-weight: 700;
    letter-spacing: .5em; text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 20px;
}
.ct__h2 {
    font-size: clamp(2.2rem, 3.5vw, 3.8rem);
    font-weight: 900; color: #1a2c0f;
    line-height: 1.15; letter-spacing: .04em;
    margin-bottom: 28px;
}
.ct__rule {
    width: 32px; height: 2px;
    background: var(--sage);
    opacity: .3;
    margin-bottom: 32px;
}
.ct__sub {
    font-size: 13px; font-weight: 400;
    color: rgba(30,50,15,.5); line-height: 2.4;
    letter-spacing: .06em;
    margin-bottom: 48px;
    flex-grow: 1;
}

/* 右エリア */
.ct__right {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* 個人情報アコーディオン */
.ct__privacy {
    margin-bottom: 28px;
    border: 1px solid rgba(82,122,56,.15);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgba(82,122,56,.06);
}
.ct__privacy-toggle {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between;
    padding: 15px 20px;
    background: transparent;
    border: none; cursor: pointer;
    font-family: var(--font);
    font-size: 12px; font-weight: 600;
    letter-spacing: .08em;
    color: rgba(30,50,15,.5);
    transition: background .2s, color .2s;
}
.ct__privacy-toggle:hover {
    background: rgba(82,122,56,.04);
    color: var(--sage);
}
.ct__privacy-icon {
    transition: transform .3s var(--ease);
    flex-shrink: 0;
    color: var(--sage);
}
.ct__privacy-toggle[aria-expanded="true"] .ct__privacy-icon {
    transform: rotate(180deg);
}
.ct__privacy-body {
    max-height: 0; overflow: hidden;
    transition: max-height .4s var(--ease);
    font-size: 11px; line-height: 2.1; letter-spacing: .04em;
    color: rgba(30,50,15,.45);
    padding: 0 20px;
}
.ct__privacy-body.is-open {
    max-height: 600px;
    padding: 4px 20px 16px;
}
.ct__privacy-body p { margin-bottom: 10px; }
.ct__privacy-body p:last-child { margin-bottom: 0; }
.ct__link {
    color: var(--sage);
    border-bottom: 1px solid rgba(82,122,56,.3);
    transition: color .2s, border-color .2s;
}
.ct__link:hover { color: #2d5018; border-color: var(--sage); }
.ct__agree-label {
    display: flex; align-items: center; gap: 12px;
    cursor: pointer;
    font-size: 12px; font-weight: 600;
    color: rgba(30,50,15,.6);
    letter-spacing: .06em;
    user-select: none;
    padding: 14px 20px;
    border-top: 1px solid rgba(82,122,56,.08);
    transition: color .2s;
}
.ct__agree-label:hover { color: var(--sage); }
.ct__agree-check { position: absolute; opacity: 0; width: 0; height: 0; }
.ct__agree-box {
    width: 18px; height: 18px; flex-shrink: 0;
    border: 1.5px solid rgba(82,122,56,.3);
    border-radius: 3px; background: transparent;
    transition: background .2s, border-color .2s;
    display: flex; align-items: center; justify-content: center;
}
.ct__agree-check:checked + .ct__agree-box {
    background: var(--sage); border-color: var(--sage);
}
.ct__agree-check:checked + .ct__agree-box::after {
    content: ''; display: block;
    width: 9px; height: 5px;
    border-left: 1.5px solid #fff;
    border-bottom: 1.5px solid #fff;
    transform: rotate(-45deg) translateY(-2px);
}

/* フォーム本体 */
.ct__form {
    display: flex; flex-direction: column; gap: 18px;
    transition: opacity .3s;
}
.ct__form.is-disabled { opacity: .3; pointer-events: none; }
.ct__honeypot { position: absolute; left: -9999px; overflow: hidden; }

.ct__field { display: flex; flex-direction: column; gap: 6px; }
.ct__row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.ct__label {
    font-size: 10px; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
    color: rgba(30,50,15,.45);
    display: flex; align-items: center; gap: 8px;
}
.ct__req {
    font-size: 8px; font-weight: 700; letter-spacing: .08em;
    color: #fff; background: rgba(192,88,112,.75);
    padding: 2px 5px; border-radius: 2px;
}

.ct__input, .ct__textarea, .ct__select {
    width: 100%;
    background: #fff;
    border: 1px solid rgba(82,122,56,.2);
    border-radius: 6px;
    color: #1a2c0f;
    font-family: var(--font); font-size: 13px;
    letter-spacing: .04em; line-height: 1.6;
    transition: border-color .25s, box-shadow .25s;
}
.ct__input, .ct__select { padding: 13px 14px; }
.ct__textarea { padding: 13px 14px; resize: vertical; }
.ct__input::placeholder, .ct__textarea::placeholder {
    color: rgba(30,50,15,.22);
}
.ct__input:focus, .ct__textarea:focus, .ct__select:focus {
    outline: none;
    border-color: var(--sage);
    box-shadow: 0 0 0 3px rgba(82,122,56,.1);
}
.ct__input.is-error, .ct__textarea.is-error, .ct__select.is-error {
    border-color: rgba(192,88,112,.6);
    box-shadow: 0 0 0 3px rgba(192,88,112,.08);
}

.ct__select-wrap { position: relative; }
.ct__select {
    appearance: none; -webkit-appearance: none;
    cursor: pointer; padding-right: 36px;
}
.ct__select option { background: #fff; color: #1a2c0f; }
.ct__select-arrow {
    position: absolute; right: 12px; top: 50%;
    transform: translateY(-50%); pointer-events: none;
    color: rgba(82,122,56,.5);
}

/* メッセージ */
.ct__form-msg {
    font-size: 12px; line-height: 1.8;
    transition: all .3s;
}
.ct__form-msg.is-error { color: #b04060; }
.ct__form-msg.is-success {
    color: #2d5a18; font-weight: 600;
    padding: 14px 18px;
    background: rgba(82,122,56,.08);
    border: 1px solid rgba(82,122,56,.2);
    border-radius: 6px;
}

/* 送信ボタン */
.ct__submit {
    display: flex; align-items: center; justify-content: center; gap: 14px;
    width: 100%; padding: 18px 40px;
    background: var(--sage);
    border: none; border-radius: 6px;
    color: #fff; font-family: var(--font);
    font-size: 13px; font-weight: 700; letter-spacing: .14em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(82,122,56,.25);
    transition: background .25s, gap .3s var(--ease), opacity .2s, box-shadow .25s;
    margin-top: 4px;
}
.ct__submit:hover:not(:disabled) { background: #3a5828; gap: 20px; box-shadow: 0 6px 24px rgba(82,122,56,.35); }
.ct__submit:disabled { opacity: .25; cursor: not-allowed; box-shadow: none; }
.ct__submit.is-loading .ct__submit-text::after {
    content: '…';
}

/* ════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════ */
.ft {
    background: #3D5C2A;
    padding: 80px clamp(32px, 6vw, 100px) 0;
    position: relative;
    overflow: hidden;
}

/* 背景装飾ロゴ */
.ft__bg-logo {
    position: absolute;
    right: -60px; top: 50%;
    transform: translateY(-60%);
    width: 420px;
    pointer-events: none;
    z-index: 0;
}
.ft__bg-logo img {
    width: 100%; height: auto;
    filter: brightness(10);
    opacity: .04;
}

/* グリッド：左・中・右 */
.ft__inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr;
    align-items: start;
    gap: 4rem;
    padding-bottom: 60px;
    position: relative; z-index: 1;
}

/* 左：ブランド */
.ft__brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ft__logo {
    height: 40px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    display: block;
    mix-blend-mode: multiply;
    opacity: .85;
}
.ft__tagline {
    font-size: 9px; font-weight: 400;
    color: rgba(255,255,255,.4);
    letter-spacing: .28em; text-transform: uppercase;
    line-height: 1;
}

/* 中央：住所・Pマーク */
.ft__info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.ft__addr {
    font-size: 11px; font-weight: 300;
    color: rgba(255,255,255,.6);
    line-height: 2.2; letter-spacing: .04em;
}
.ft__pmark-wrap {
    display: inline-flex;
    align-items: center; gap: 10px;
    background: rgba(255,255,255,.92);
    border-radius: 6px;
    padding: 8px 12px;
    width: fit-content;
}
.ft__pmark-img {
    height: 34px; width: auto; display: block;
}
.ft__pmark {
    font-size: 9px; font-weight: 600;
    color: #2A3D1E;
    letter-spacing: .04em;
    line-height: 1.8;
    white-space: nowrap;
}

/* 右：ナビ */
.ft__nav-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.ft__nav-label {
    font-size: 8px; font-weight: 700;
    letter-spacing: .35em; text-transform: uppercase;
    color: rgba(255,255,255,.35);
    margin-bottom: 20px;
}
.ft__nav {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ft__nav a {
    font-size: 11px; font-weight: 500;
    letter-spacing: .12em; text-transform: uppercase;
    color: rgba(255,255,255,.7);
    transition: color .2s, letter-spacing .2s;
    line-height: 1;
}
.ft__nav a:hover {
    color: #fff;
    letter-spacing: .16em;
}

/* 下段 */
.ft__bottom {
    padding: 24px 0;
    position: relative; z-index: 1;
}
.ft__copy {
    font-size: 10px; font-weight: 300;
    color: rgba(255,255,255,.3);
    letter-spacing: .1em;
}

/* ── カード「詳しく見る」 ── */
.biz-card { cursor: pointer; }
.biz-card__more {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 24px;
    font-size: 11px; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase;
    color: var(--sage);
    border-bottom: 1px solid rgba(82,122,56,.3);
    padding-bottom: 2px;
    transition: gap .3s var(--ease), border-color .3s;
}
.biz-card:hover .biz-card__more { gap: 10px; border-color: var(--sage); }

/* ════════════════════════════════════════════
   MODAL
   ════════════════════════════════════════════ */
.modal-overlay {
    position: fixed; inset: 0; z-index: 9000;
    background: rgba(10,16,6,.72);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
    opacity: 0; pointer-events: none;
    transition: opacity .35s var(--ease);
}
.modal-overlay.is-open { opacity: 1; pointer-events: all; }
.modal {
    background: var(--white);
    border-radius: 4px;
    width: 100%; max-width: 760px;
    max-height: 88vh; overflow-y: auto;
    position: relative;
    transform: translateY(24px) scale(.98);
    transition: transform .4s var(--ease);
}
.modal-overlay.is-open .modal { transform: translateY(0) scale(1); }
.modal__close {
    position: sticky; top: 0; float: right;
    margin: 20px 20px 0 0;
    width: 40px; height: 40px;
    background: rgba(17,17,16,.06); border: none; border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--black);
    transition: background .2s, transform .2s; z-index: 1;
}
.modal__close:hover { background: rgba(17,17,16,.12); transform: rotate(90deg); }
.modal__content { display: none; padding: 48px 56px 56px; }
.modal__content.is-active { display: block; }
.modal__accent {
    height: 3px; background: var(--accent);
    margin: -48px -56px 40px;
    width: calc(100% + 112px);
}
.modal__no {
    font-size: 48px; font-weight: 900;
    color: rgba(17,17,16,.05); line-height: 1;
    letter-spacing: -.04em; margin-bottom: 8px;
}
.modal__cat {
    font-size: 9px; font-weight: 700;
    letter-spacing: .3em; text-transform: uppercase;
    color: var(--sage); margin-bottom: 16px;
}
.modal__h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 900; line-height: 1.5; letter-spacing: .06em;
    margin-bottom: 40px; padding-bottom: 32px;
    border-bottom: 1px solid rgba(17,17,16,.08);
}
.modal__body { font-size: 15px; line-height: 2.4; letter-spacing: .04em; }
.modal__body p { margin-bottom: 20px; }
.modal__body p:last-child { margin-bottom: 0; }
.modal__body h4 {
    font-size: 11px; font-weight: 700;
    letter-spacing: .2em; text-transform: uppercase;
    color: var(--sage); margin: 32px 0 12px;
}
.modal__body ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.modal__body ul li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 2.0; }
.modal__body ul li::before {
    content: ''; display: block;
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--sage); flex-shrink: 0; margin-top: .65em;
}
.modal__link {
    color: var(--sage); font-size: 13px;
    border-bottom: 1px solid rgba(82,122,56,.3);
    transition: border-color .2s;
}
.modal__link:hover { border-color: var(--sage); }

/* モーダル画像：横並び */
.modal__imgs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 40px;
}
/* 画像1枚の場合：全幅 */
.modal__imgs--single {
    grid-template-columns: 1fr;
}
.modal__imgs img {
    width: 100%; height: auto;
    border-radius: 4px;
    border: 1px solid rgba(17,17,16,.08);
}

/* PDFダウンロードリンク */
.modal__pdf-link {
    display: inline-flex; align-items: center; gap: 10px;
    margin: 32px 0 0;
    padding: 14px 24px;
    background: var(--bg);
    border: 1px solid rgba(17,17,16,.12);
    border-radius: 4px;
    font-size: 13px; font-weight: 600;
    letter-spacing: .06em; color: var(--black);
    transition: background .2s, border-color .2s, gap .3s var(--ease);
}
.modal__pdf-link:hover {
    background: #ebe9e7;
    border-color: rgba(17,17,16,.22);
    gap: 14px;
    color: var(--sage);
}

/* ── REVEAL ── */
.js-up { opacity:0; transform:translateY(24px); transition:opacity .9s var(--ease),transform .9s var(--ease); }
.js-up.is-vis { opacity:1; transform:none; }
.js-up--d1 { transition-delay:.12s; }
.js-up--d2 { transition-delay:.24s; }

/* ── RESPONSIVE ── */
/* ════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════ */

/* ── ハンバーガーボタン（PC時は非表示） ── */
.hd__burger {
    display: none;
    flex-direction: column; justify-content: center; align-items: center;
    gap: 5px;
    width: 40px; height: 40px;
    background: none; border: none; cursor: pointer;
    padding: 4px; z-index: 1001;
}
.hd__burger span {
    display: block; width: 22px; height: 2px;
    background: var(--black);
    border-radius: 2px;
    transition: transform .3s var(--ease), opacity .3s, width .3s;
    transform-origin: center;
}
.hd__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hd__burger.is-open span:nth-child(2) { opacity: 0; width: 0; }
.hd__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── タブレット ── */
@media (max-width: 1024px) {
    .sec-row { grid-template-columns: 1fr; }
    .sec-col-label { display: none; }
    .biz-card { padding: 40px 32px; }
    .co__row { grid-template-columns: 7rem 1fr; }
    .ct__row2 { grid-template-columns: 1fr 1fr; }
}

/* ── モバイル ── */
@media (max-width: 768px) {
    :root { --gutter: 20px; }

    /* ヘッダー */
    .hd__burger { display: flex; }
    .hd__inner { position: relative; }

    /* モバイルナビ */
    .hd__nav {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(243,241,239,.97);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: center; justify-content: center;
        gap: 0;
        padding: 80px 40px 40px;
        transform: translateX(100%);
        transition: transform .4s var(--ease);
        z-index: 950;
        overflow-y: auto;
    }
    .hd__nav.is-open { transform: translateX(0); }
    .hd__nav a {
        font-size: 22px; font-weight: 700;
        letter-spacing: .1em; color: var(--black);
        padding: 16px 0; border-bottom: 1px solid rgba(17,17,16,.06);
        width: 100%; text-align: center;
        transition: color .2s;
    }
    .hd__nav a:last-child { border-bottom: none; }
    .hd__nav a:hover { color: var(--sage); }
    .hd__nav .hd__contact {
        margin-top: 24px;
        background: var(--sage); color: #fff;
        border-radius: 4px; padding: 14px 32px;
        font-size: 15px;
        border-bottom: none;
    }
    .hd__nav .hd__contact:hover { background: #3d5c2a; }

    /* Hero */
    .hero {
        min-height: 100svh;
        padding-top: var(--HH);
        flex-direction: column;
        justify-content: flex-end;
        gap: 0;
    }
    .hero__bg-logo { display: none; }
    .hero__catch {
        position: static;
        transform: none;
        text-align: left;
        padding: 0 var(--gutter);
        margin-bottom: 32px;
    }
    .hero__catch-kicker { text-align: left; }
    .hero__h1 {
        font-size: clamp(2.8rem, 12vw, 5rem);
        align-items: flex-start;
    }
    .hero__sub-wrap {
        padding: 0 var(--gutter) 60px;
        gap: 16px;
    }
    .hero__sub { font-size: 10px; }
    .hero__btns { flex-direction: column; gap: 12px; }
    .hero__btn { width: 100%; text-align: center; justify-content: center; }

    /* About */
    .about__platform { padding: 24px 20px; }
    .about__platform-item span { display: block; min-width: auto; margin: 0 0 2px; }

    /* Business */
    .biz__grid { grid-template-columns: 1fr; }
    .biz-card { padding: 32px 24px; }

    /* Company */
    .co__row { grid-template-columns: 1fr; gap: .5rem; }

    /* Contact */
    .ct__wrap { grid-template-columns: 1fr; gap: 40px; }
    .ct__h2 { font-size: 2.4rem; }
    .ct__row2 { grid-template-columns: 1fr; gap: 16px; }
    .ct__submit { padding: 16px 24px; }

    /* Modal */
    .modal__content { padding: 32px 24px 40px; }
    .modal__accent { margin: -32px -24px 28px; width: calc(100% + 48px); }
    .modal__imgs { grid-template-columns: 1fr; }

    /* Footer */
    .ft { padding: 52px var(--gutter) 0; }
    .ft__bg-logo { display: none; }

    .ft__inner {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding-bottom: 0;
    }

    /* ① ナビ */
    .ft__nav-wrap {
        order: 1;
        padding-bottom: 32px;
        border-bottom: 1px solid rgba(255,255,255,.1);
    }
    .ft__nav-label { margin-bottom: 16px; }
    .ft__nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px 18px;
    }
    .ft__nav a {
        font-size: 10px;
        letter-spacing: .1em;
    }

    /* ② 住所・Pマーク */
    .ft__info {
        order: 2;
        padding: 32px 0;
        border-bottom: 1px solid rgba(255,255,255,.1);
        gap: 20px;
    }
    .ft__addr { font-size: 11px; line-height: 2; }
    .ft__pmark-wrap { padding: 8px 12px; gap: 8px; }
    .ft__pmark-img { height: 30px; }
    .ft__pmark { font-size: 8.5px; }

    /* ③ ロゴ（最下部） */
    .ft__brand {
        order: 3;
        padding: 32px 0 8px;
        gap: 12px;
    }
    .ft__logo { height: 32px; max-width: 200px; }
    .ft__tagline { font-size: 8px; letter-spacing: .2em; }

    /* コピーライト */
    .ft__bottom { padding: 16px 0 28px; }
    .ft__copy { font-size: 9px; }
}

/* ── 小型スマホ ── */
@media (max-width: 390px) {
    .hero__h1 { font-size: 2.6rem; }
    .modal__content { padding: 24px 16px 32px; }
    .modal__accent { margin: -24px -16px 24px; width: calc(100% + 32px); }
}