@charset "UTF-8";
/* ==================================================
  common：base.css を読み込まないページ用の土台
  （現在は新しいTOPだけで読み込む）
  header.css / footer.css が前提にしている base.css のリセット・
  ユーティリティを、同じ値で最小限だけ移植している
  ※ 全ページで読み込んでも見た目が変わらないよう、base.css と同じ値にしている
    （2026-11-25 /contact・/blog で確認）
================================================== */

/* ---------- 共通の変数 ---------- */
/*
  --px：デザイン幅1pxあたりの大きさ。Figmaの数値をそのまま使う
  - 文字：clamp(最小, calc(デザイン値 * var(--px)), デザイン値)
      例）font-size: clamp(20px, calc(30 * var(--px)), 30px);
  - 余白・幅：min(calc(デザイン値 * var(--px)), デザイン値)
      例）padding-block: min(calc(120 * var(--px)), 120px);
  - 文字には必ず最小値を付ける（タブレット幅で小さくなりすぎるため）
*/
:root {
    /* PC：Figma 1440px基準（2026-11-25 Figmaで確認） */
    --px: calc(100vw / 1440);
}

@media screen and (max-width: 767px) {
    :root {
        /* SP：Figma 375px基準 */
        --px: calc(100vw / 375);
    }
}

/* ---------- リセット（base.css 1〜147行相当） ---------- */
/* box-sizing は base.css に合わせて content-box のまま（header/footer の幅計算が前提にしているため）
   border-box は下の「新しいデザインの共通部品」で .t2 / .t2-contact の範囲に限定して指定する */
/* figure は対象外（ブロックエディターの画像の余白が消えるため。base.css と同じ） */
:where(body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, form, fieldset, input, textarea, p, blockquote, th, td) {
    margin: 0;
    padding: 0;
}

/* マーカーは li だけで消す（base.css と同じ） */
:where(li) {
    list-style: none;
}

:where(h1, h2, h3, h4, h5, h6) {
    font-size: 100%;
    font-weight: normal;
}

:where(address, caption, em, strong, th) {
    font-style: normal;
    font-weight: normal;
}

:where(table) {
    border-collapse: collapse;
    border-spacing: 0;
}

:where(fieldset, img) {
    border: 0;
}

/* font の一括指定だと line-height まで継承され、入力欄が高くなるため個別に指定（base.css と同じ） */
:where(input, textarea, select) {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
}

html {
    width: 100%;
}

body {
    width: 100%;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 2;
    letter-spacing: 0.02em;
    color: #3d3a39;
    background-color: #f3f5f9;
}

img {
    width: 100%;
    max-width: none;
    height: auto;
    vertical-align: top;
}

a {
    color: #000;
    text-decoration: none;
    outline: none;
    transition: all 0.3s;
    -webkit-tap-highlight-color: transparent;
}

a:hover {
    color: #83bb08;
}

a:focus,
a:active {
    color: #000;
}

#container {
    width: 100%;
    margin: auto;
}

/* ---------- header / footer で使うユーティリティ ---------- */
/* header.php の電話番号で <middle> <xsmall> を使用 */
xsmall,
.xsmall {
    font-size: 80%;
    line-height: 1.6;
}

middle,
.middle {
    font-size: 120%;
    font-weight: bold;
    line-height: 1.6;
}

.pc_br {
    display: block;
}

.sp_br {
    display: none;
}

@media screen and (max-width: 767px) {
    middle,
    .middle {
        font-size: 110%;
    }

    .pc_br {
        display: none;
    }

    .sp_br {
        display: block;
    }
}
@media screen and (min-width: 768px) {
    .sp_only {
        display: none !important;
    }
}

@media screen and (max-width: 767px) {
    .sp_only {
        display: block;
    }
    .pc_only {
        display: none !important;
        color: var(--main-green);
    }
}

/* ==================================================
  新しいデザインの共通部品（新しいTOP と footer.php の CONTACT で使う）
  クラスは接頭辞 .t2- を付け、既存CSSと衝突させない
  - 変数：TOP と CONTACT（CTAボタン）の両方で使うものだけ。TOPだけの変数は top2.css
  - CONTACT（template-parts/contact.php）もここ
================================================== */

/* ---------- 変数（TOP・CONTACT 共通） ---------- */
/*
  --u：デザインの1px。PCは画面幅1440px、SPは375pxのときに1px（PCは1pxで止める）
      余白・幅：calc(値 * var(--u))
*/
:root {
    --c-text: #3d3a39;
    --c-green: #8fc31f;
    --c-green-deep: #6a9a01;
    --c-orange: #f7b01a;
    --c-blue: #00b9ef;
    --shadow: 3px 3px 10px rgb(0 0 0 / 0.02), 14px 12px 18px rgb(0 0 0 / 0.012), 31px 27px 25px rgb(0 0 0 / 0.012);
    --u: min(var(--px), 1px);
    --inner: 1160px;
}

@media screen and (max-width: 767px) {
    :root {
        /* SP：375px基準。大きい画面では1.3倍で止める */
        --u: min(var(--px), 1.3px);
    }
}

/* ---------- 基本（TOP の main.t2 と CONTACT の範囲だけ） ---------- */
:is(.t2, .t2-contact) {
    color: var(--c-text);
    letter-spacing: 0.02em;
}

:is(.t2, .t2-contact),
:is(.t2, .t2-contact) *,
:is(.t2, .t2-contact) *::before,
:is(.t2, .t2-contact) *::after {
    box-sizing: border-box;
}

/* common.css の :where(em) { font-weight: normal } を打ち消し、親の太さを引き継ぐ */
:is(.t2, .t2-contact) :where(em) {
    font-style: normal;
    font-weight: inherit;
}

:is(.t2, .t2-contact) :where(strong) {
    font-weight: 700;
}

:is(.t2, .t2-contact) :where(img) {
    width: auto;
    max-width: 100%;
}

/* ---------- 共通：レイアウト ---------- */
.t2-inner {
    width: min(var(--inner), 100% - 40px);
    margin-inline: auto;
}

.t2-sec--white {
    background-color: #fff;
}

/* ---------- 共通：見出し ---------- */
.t2-head--center {
    text-align: center;
}

.t2-label {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 14px;
    font-family: "Arial Black", "Arial", sans-serif;
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 2px;
    color: var(--c-text);
}

.t2-label::before {
    width: 15px;
    height: 15px;
    content: "";
    border: 3px solid var(--c-green);
    border-radius: 50%;
}

.t2-head--center .t2-label {
    justify-content: center;
}

@media screen and (max-width: 767px) {
    .t2-head--center {
        text-align: left;
    }

    .t2-head--center .t2-label {
        justify-content: flex-start;
    }
}

/* ---------- 共通：CTAボタン ---------- */
.t2-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    justify-content: center;
    padding-top: 23px;
}

.t2-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    padding-inline: 40px 60px;
    font-size: clamp(16px, calc(19 * var(--px)), 19px);
    font-weight: 700;
    line-height: 1;
    color: #fff;
    letter-spacing: 0.02em;
    border-radius: 58px;
    box-shadow: var(--shadow);
    transition: opacity 0.3s;
}

.t2-btn:hover,
.t2-btn:focus {
    color: #fff;
    opacity: 0.85;
}

.t2-btn--apply {
    width: 346px;
    background-color: var(--c-green-deep);
}

.t2-btn--dl {
    width: 265px;
    background-color: var(--c-orange);
}

/* 右の丸い矢印 */
.t2-btn::after {
    position: absolute;
    top: 50%;
    right: 19px;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    font-size: 13px;
    color: var(--c-green-deep);
    content: "→";
    background-color: #fff;
    border-radius: 50%;
    translate: 0 -50%;
}

.t2-btn--dl::after {
    color: var(--c-orange);
}

/* 左の光る点（試してみる） */
.t2-btn--apply::before {
    position: absolute;
    top: 50%;
    left: 24px;
    width: 12px;
    height: 12px;
    content: "";
    background-color: #daff88;
    border-radius: 50%;
    box-shadow:
        0 0 0 3px rgb(218 255 136 / 0.35),
        0 0 10px 2px rgb(218 255 136 / 0.8);
    translate: 0 -50%;
}

/* 上の吹き出し */
.t2-btn__note {
    position: absolute;
    top: -23px;
    left: 50%;
    padding: 5px 16px;
    font-size: 14px;
    line-height: 1.2;
    color: var(--c-text);
    white-space: nowrap;
    background-color: #fff;
    border: 2px solid #fff;
    border-radius: 99px;
    filter: drop-shadow(0 4px 4px rgb(0 0 0 / 0.08));
    translate: -50% 0;
}

.t2-btn__note::after {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 12px;
    height: 7px;
    content: "";
    background-color: #fff;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    translate: -50% 0;
}

@media screen and (max-width: 767px) {
    .t2-cta {
        flex-direction: column;
        gap: 34px;
        align-items: center;
        padding-top: 24px;
    }

    .t2-btn {
        width: 100%;
        max-width: 335px;
        height: 60px;
        font-size: 16px;
    }

    .t2-btn__note {
        top: -24px;
        padding: 5px 16px;
        font-size: 14px;
    }
}

/* ==================================================
  CONTACT（template-parts/contact.php。全ページ共通）
================================================== */
.t2-contact {
    clear: both; /* 下層ページの float（ページ送りなど）が解除されていなくても回り込まない */
    padding-block: calc(80 * var(--u));
}

.t2-contact .ct-head {
    margin-bottom: calc(30 * var(--u));
}
.t2-contact .ct-head__title {
    font-size: clamp(24px, calc(40 * var(--px)), 40px);
    font-weight: 700;
    line-height: 1.5;
}
.t2-contact .ct-head__lead {
    margin-top: 15px;
    font-size: clamp(14px, calc(16 * var(--px)), 16px);
    line-height: 1.6;
}

@media screen and (max-width: 767px) {
    .t2-contact {
        padding-block: 48px;
    }

    /* お問い合わせだけ中央揃え */
    .t2-contact .ct-head {
        margin-bottom: 20px;
        text-align: center;
    }

    .t2-contact .t2-label {
        justify-content: center;
    }

    .t2-contact .ct-head__title {
        font-size: 24px;
        line-height: 1.4;
    }

    .t2-contact .ct-head__lead {
        margin-top: 10px;
        font-size: 14px;
        line-height: 1.5;
    }
}
