/* ============================================================
   トップページ専用スタイル（design_handoff_top_page 準拠）
   接頭辞 fp- はこのファイル専用。他ページのCSSとは独立。
   ============================================================ */

:root {
    --fp-bg: #f6f1e7;
    --fp-card: #fffdf8;
    --fp-beige: #efe9da;
    --fp-beige2: #f4efe3;
    --fp-text: #2c2820;
    --fp-sub: #6b6356;
    --fp-sub2: #8a8071;
    --fp-line: #d6ccb8;
    --fp-line2: #e0d6c1;
    --fp-green: #3f6b3f;
    --fp-orange: #cf7a2c;
    --fp-red: #bd3b2c;
    --fp-gold: #e8c98e;
    --fp-dark: #2c2820;
    --fp-dark2: #332e25;
    --fp-dark3: #231f18;
    --fp-dark-sub: #c9bfab;
    /* もとのサイトと同じ筆文字フォント（Yuji Syuku）を使用 */
    --fp-serif: 'Yuji Syuku', serif;
    --fp-sans: 'Yuji Syuku', 'Noto Sans JP', serif;
}

/* ページ内アンカーはスムーズスクロールで移動（固定ヘッダー分の余白も確保） */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

.fp-body {
    margin: 0;
    /* もとのサイトと同じ和紙テクスチャ背景 */
    background-color: #f6f1e7;
    background-image: url('../img/SiteBkgd1Layer.png');
    background-repeat: repeat;
    background-size: 500px;
    font-family: var(--fp-sans);
    color: var(--fp-text);
    -webkit-font-smoothing: antialiased;
    font-size: 17px;
    line-height: 1.9;
}

.fp-body *,
.fp-body *::before,
.fp-body *::after {
    box-sizing: border-box;
}

/* ページは全幅（ヒーローも100%）。内側の .fp-inner で幅を制御する */
.fp-page {
    width: 100%;
}

/* :where で詳細度を0にし、ボタン等の色指定が確実に勝つようにする */
:where(.fp-page) a {
    text-decoration: none;
    color: inherit;
}

.fp-page img {
    display: block;
    max-width: 100%;
}

/* :where で詳細度を0にし、各セクションの余白指定が確実に勝つようにする */
:where(.fp-page) :where(h1, h2, h3, h4, p) {
    margin: 0;
}

/* ---------- 共通パーツ ---------- */
.fp-inner {
    max-width: 1140px;
    margin: 0 auto;
}

.fp-inner--1000 {
    max-width: 1000px;
}

.fp-inner--880 {
    max-width: 880px;
}

.fp-inner--860 {
    max-width: 860px;
}

.fp-label {
    font-size: 14px;
    letter-spacing: .24em;
    color: var(--fp-red);
    font-weight: 700;
}

.fp-btn {
    display: inline-block;
    border-radius: 3px;
    font-weight: 700;
    text-align: center;
    transition: opacity .2s, transform .2s;
}

.fp-btn:hover {
    opacity: .85;
}

.fp-btn--green {
    background: var(--fp-green);
    color: #fff;
}

.fp-btn--orange {
    background: var(--fp-orange);
    color: #fff;
}

.fp-btn--gold {
    background: var(--fp-gold);
    color: var(--fp-dark);
}

.fp-btn--outline-green {
    border: 1.5px solid var(--fp-green);
    color: var(--fp-green);
}

.fp-btn--outline-orange {
    border: 1.5px solid var(--fp-orange);
    color: var(--fp-orange);
}

.fp-btn--outline-gold {
    border: 1.5px solid var(--fp-gold);
    color: var(--fp-gold);
}

.fp-btn--cream {
    background: #fbf7ec;
    color: var(--fp-text);
}

/* ---------- ヘッダー ---------- */
.fp-header {
    position: sticky;
    top: 0;
    z-index: 50;
    /* 元サイト（.header-wrap）と同じ半透明オリーブのグラデーション（透過） */
    background: linear-gradient(0deg, #68730003 10%, #606b006f 90%);
    background-size: 500px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 34px;
}

.fp-header__brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: none;
}

.fp-header__logo img {
    height: 52px;
    width: auto;
    transition: opacity .5s ease;
}

.fp-header__logo:hover img {
    opacity: .7;
}

.fp-header__tagline {
    font-size: 12.5px;
    color: #4c4224;
    letter-spacing: .12em;
    border-left: 1px solid #4c4224aa;
    padding-left: 14px;
    white-space: nowrap;
}

/* 元サイトのヘッダーと同じ雰囲気（Yuji Syuku・#4c4224・えんじボタン） */
.fp-header__nav {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 16px;
    letter-spacing: -0.05em;
    color: #4c4224;
}

.fp-header__nav a {
    transition: opacity .3s ease;
}

.fp-header__nav a:hover {
    opacity: .7;
}

.fp-header__contact {
    background: #953d30;
    color: #dadfdb !important;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 18px;
    white-space: nowrap;
    transition: background-color .3s ease, transform .2s;
}

.fp-header__contact:hover {
    background: #bf8b83;
    transform: scale(1.05);
    opacity: 1;
}

/* ---------- ヒーロー ---------- */
.fp-hero {
    position: relative;
    /* ヘッダー（オリーブ帯）とヒーローの間に和紙背景のゆとりを挟む */
    margin-top: 28px;
}

.fp-hero__slides {
    position: relative;
    /* 大きな画面では横幅に対して520px固定だと縦が足りず、
       cover指定で上下が過剰に切れて窮屈に見えるため画面幅に応じて縦も拡大する */
    height: clamp(520px, 42vw, 760px);
    overflow: hidden;
}

.fp-hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 38%;
    opacity: 0;
    transition: opacity 1.6s ease;
    will-change: opacity;
}

.fp-hero__slide.is-active {
    opacity: 1;
}

.fp-hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(28, 24, 16, .62) 0%, rgba(28, 24, 16, .30) 45%, rgba(28, 24, 16, 0) 75%);
}

.fp-hero__content {
    position: absolute;
    left: 54px;
    top: 50%;
    transform: translateY(-50%);
    max-width: 740px;
    color: #fbf7ec;
}

.fp-hero__eyebrow {
    font-size: 14px;
    letter-spacing: .3em;
    font-weight: 700;
    color: var(--fp-gold);
    margin-bottom: 26px;
}

.fp-hero__title {
    font-family: var(--fp-serif);
    font-weight: 800;
    font-size: 55px;
    line-height: 1.55;
    margin: 0 0 30px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .4);
}

.fp-hero__lead {
    font-size: 18px;
    line-height: 2.2;
    margin: 0 0 42px;
    color: #efe8d8;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .4);
}

.fp-hero__cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.fp-hero__cta .fp-btn {
    padding: 15px 30px;
    font-size: 18px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}

/* ヒーロー画像の前へ / 次への切り替え矢印 */
.fp-hero__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(28, 24, 16, .38);
    color: #fbf7ec;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, opacity .2s;
    -webkit-tap-highlight-color: transparent;
}

.fp-hero__nav:hover {
    background: rgba(28, 24, 16, .62);
}

.fp-hero__nav--prev {
    left: 16px;
}

.fp-hero__nav--next {
    right: 16px;
}

.fp-hero__nav::before {
    content: "";
    width: 13px;
    height: 13px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
}

.fp-hero__nav--prev::before {
    transform: rotate(-135deg);
    margin-left: 5px;
}

.fp-hero__nav--next::before {
    transform: rotate(45deg);
    margin-right: 5px;
}

/* ---------- 施工写真マーキー ---------- */
@keyframes fp-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.fp-marquee {
    padding: 26px 0;
    overflow: hidden;
    border-bottom: 1px solid #e3dac6;
}

.fp-marquee__track {
    display: flex;
    gap: 18px;
    width: max-content;
    /* ヒーローと同じ3枚×2ループ。見た目の速度が遅くなりすぎないよう秒数を調整 */
    animation: fp-marquee 36s linear infinite;
}

.fp-marquee__track:hover {
    animation-play-state: paused;
}

.fp-marquee__track img {
    height: 220px;
    width: auto;
    border-radius: 4px;
}

/* ---------- 二つの専門 ---------- */
.fp-whatwedo {
    padding: 80px 34px 70px;
}

.fp-sec-head {
    text-align: center;
    margin-bottom: 44px;
}

.fp-sec-head__title {
    font-family: var(--fp-serif);
    font-weight: 700;
    font-size: 36px;
    margin: 16px 0 14px;
}

.fp-sec-head__lead {
    font-size: 16px;
    color: var(--fp-sub2);
}

.fp-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.fp-duo__card {
    background: var(--fp-card);
    border: 1px solid var(--fp-line);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(60, 50, 30, .07);
}

.fp-duo__card--dark {
    background: var(--fp-dark);
    border-color: var(--fp-dark);
    box-shadow: 0 3px 14px rgba(60, 50, 30, .14);
}

.fp-duo__img {
    height: 190px;
    position: relative;
    background-size: cover;
    background-position: center;
}

.fp-duo__img-label {
    position: absolute;
    left: 16px;
    bottom: 14px;
    font-family: var(--fp-serif);
    font-weight: 800;
    font-size: 26px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .6);
}

.fp-duo__new {
    position: absolute;
    left: 16px;
    top: 14px;
    background: var(--fp-red);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    padding: 5px 12px;
    border-radius: 99px;
}

.fp-duo__body {
    padding: 24px 26px;
}

.fp-duo__card--dark .fp-duo__body {
    color: #ece4d3;
}

.fp-duo__tag {
    font-size: 15px;
    font-weight: 700;
    color: var(--fp-green);
    margin-bottom: 8px;
}

.fp-duo__card--dark .fp-duo__tag {
    color: var(--fp-gold);
}

.fp-duo__text {
    font-size: 16px;
    line-height: 2;
    color: #4a443a;
    margin: 0 0 16px;
}

.fp-duo__card--dark .fp-duo__text {
    color: var(--fp-dark-sub);
}

.fp-duo__body .fp-btn {
    padding: 12px 26px;
    font-size: 16px;
}

.fp-duo__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ---------- 明示バー（緑帯） ---------- */
.fp-statement {
    background: var(--fp-green);
    color: #f3efe4;
    padding: 22px 34px;
}

.fp-statement__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    text-align: center;
}

.fp-statement__title {
    font-family: var(--fp-serif);
    font-weight: 800;
    font-size: 23px;
}

.fp-statement__points {
    display: flex;
    gap: 26px;
    font-size: 16px;
    font-weight: 700;
    color: #e8e2d2;
    flex-wrap: wrap;
    justify-content: center;
}

.fp-statement__points span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fp-statement__points i {
    color: var(--fp-gold);
    font-style: normal;
}

/* ---------- 写真送信フォーム ---------- */
.fp-form-sec {
    background: var(--fp-green);
    padding: 80px 34px;
    color: #f3efe4;
}

.fp-form-sec__head {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

.fp-pill {
    display: inline-block;
    background: var(--fp-orange);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    padding: 6px 16px;
    border-radius: 99px;
}

.fp-form-sec__title {
    font-family: var(--fp-serif);
    font-weight: 800;
    font-size: 38px;
    margin: 22px 0 18px;
    line-height: 1.5;
    color: #fbf7ec;
}

.fp-form-sec__lead {
    font-size: 17.5px;
    line-height: 2;
    color: #dce6d4;
    margin: 0 0 44px;
}

.fp-form-card {
    max-width: 620px;
    margin: 0 auto;
    background: var(--fp-card);
    border: 1px solid var(--fp-line);
    border-radius: 6px;
    padding: 28px 30px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .16);
    color: var(--fp-text);
}

.fp-form-card .fp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.fp-form-card .fp-form-grid {
    display: grid;
    gap: 14px;
}

.fp-form-card label {
    display: block;
    font-size: 14px;
    color: var(--fp-sub);
    font-weight: 500;
}

.fp-form-card .fp-form-label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 5px;
}

.fp-badge {
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 2px;
    line-height: 1.6;
}

.fp-badge--req {
    background: var(--fp-red);
}

.fp-badge--opt {
    background: #a89e8c;
}

.fp-form-card input[type="text"],
.fp-form-card input[type="email"],
.fp-form-card input[type="tel"],
.fp-form-card textarea {
    width: 100%;
    border: 1px solid var(--fp-line);
    border-radius: 3px;
    background: #faf7f0;
    padding: 9px 12px;
    /* 入力文字は読みやすさ優先でゴシック体 */
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 17px;
    color: var(--fp-text);
}

.fp-form-card input[type="text"],
.fp-form-card input[type="email"],
.fp-form-card input[type="tel"] {
    height: 40px;
}

.fp-form-card textarea {
    height: 76px;
    resize: vertical;
}

.fp-form-card .fp-dropzone {
    border: 2px dashed var(--fp-green);
    border-radius: 4px;
    background: #f4f7ef;
    padding: 14px;
    text-align: center;
    color: var(--fp-green);
    font-size: 14px;
    font-weight: 700;
}

.fp-form-card .fp-dropzone input[type="file"] {
    width: 100%;
    border: 0;
    background: transparent;
    font-size: 14px;
    color: var(--fp-green);
}

.fp-form-card input[type="submit"] {
    width: 100%;
    background: var(--fp-orange);
    color: #fff;
    text-align: center;
    padding: 14px;
    border: 0;
    border-radius: 3px;
    font-weight: 700;
    font-size: 18px;
    font-family: var(--fp-sans);
    box-shadow: 0 3px 10px rgba(207, 122, 44, .3);
    cursor: pointer;
    margin-top: 18px;
    transition: opacity .2s;
}

.fp-form-card input[type="submit"]:hover {
    opacity: .85;
}

.fp-form-card .fp-form-note {
    font-size: 12.5px;
    color: var(--fp-sub2);
    line-height: 1.7;
    margin: 10px 0 0;
    text-align: center;
}

.fp-form-card .wpcf7-not-valid-tip {
    font-size: 13px;
    color: var(--fp-red);
}

.fp-form-card .wpcf7 form .wpcf7-response-output {
    margin: 14px 0 0;
    padding: 10px 14px;
    border-radius: 3px;
    font-size: 15px;
}

/* ご相談内容ラジオ（トップページ 写真送信フォーム） */
.fp-form-inquiry-type {
    margin-bottom: 18px;
}

.fp-form-inquiry-type .wpcf7-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
}

.fp-form-inquiry-type .wpcf7-list-item {
    margin: 0;
}

.fp-form-inquiry-type .wpcf7-list-item label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    cursor: pointer;
}

.fp-form-sec__tel {
    max-width: 620px;
    margin: 26px auto 0;
    text-align: center;
}

.fp-form-sec__tel-note {
    display: block;
    font-size: 16px;
    color: #dce6d4;
    margin-bottom: 14px;
}

.fp-form-sec__tel-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.fp-tel-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fbf7ec;
    color: var(--fp-text);
    padding: 13px 24px;
    border-radius: 3px;
    font-weight: 700;
    font-size: 17.5px;
    letter-spacing: .04em;
}

.fp-tel-btn small {
    font-size: 12.5px;
    font-weight: 700;
    color: #fbf7ec;
    background: var(--fp-green);
    border-radius: 2px;
    padding: 2px 7px;
    letter-spacing: .1em;
}

/* ---------- 3つの疑問 ---------- */
.fp-questions {
    padding: 88px 34px 40px;
    text-align: center;
}

.fp-questions__title {
    font-family: var(--fp-serif);
    font-weight: 800;
    font-size: 34px;
    margin: 22px 0 20px;
}

.fp-questions__lead {
    font-size: 16px;
    color: var(--fp-sub2);
    margin: 0 0 58px;
}

.fp-questions__grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.fp-q-card {
    background: var(--fp-card);
    border: 1px solid var(--fp-line);
    border-radius: 5px;
    padding: 26px 22px;
    text-align: left;
}

.fp-q-card--green {
    border-top: 4px solid var(--fp-green);
}

.fp-q-card--orange {
    border-top: 4px solid var(--fp-orange);
}

.fp-q-card--red {
    border-top: 4px solid var(--fp-red);
}

.fp-q-card__num {
    font-family: var(--fp-serif);
    font-weight: 800;
    font-size: 36px;
}

.fp-q-card--green .fp-q-card__num {
    color: var(--fp-green);
}

.fp-q-card--orange .fp-q-card__num {
    color: var(--fp-orange);
}

.fp-q-card--red .fp-q-card__num {
    color: var(--fp-red);
}

.fp-q-card__title {
    font-size: 19px;
    margin: 10px 0 8px;
    line-height: 1.6;
    font-weight: 700;
}

.fp-q-card__text {
    font-size: 15px;
    color: var(--fp-sub);
    line-height: 1.9;
}

/* ---------- Q見出し共通 ---------- */
.fp-q-head {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 14px;
}

.fp-q-head__num {
    font-family: var(--fp-serif);
    font-weight: 800;
    font-size: 24px;
    flex: none;
}

.fp-q-head__title {
    font-family: var(--fp-serif);
    font-weight: 700;
    font-size: 30px;
}

.fp-q-lead {
    font-size: 19px;
    color: var(--fp-sub2);
    margin: 0 0 36px;
    line-height: 1.9;
}

/* ---------- Q1 竹垣の種類 ---------- */
.fp-types {
    padding: 76px 34px;
}

.fp-types__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.fp-type-card {
    background: var(--fp-card);
    border: 1px solid var(--fp-line);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(60, 50, 30, .05);
}

.fp-type-card__img {
    height: 160px;
    background-size: cover;
    background-position: center;
}

.fp-type-card__body {
    padding: 16px 18px;
}

.fp-type-card__title {
    font-family: var(--fp-serif);
    font-size: 20px;
    margin: 0 0 6px;
    font-weight: 700;
}

.fp-type-card__text {
    font-size: 14px;
    color: var(--fp-sub);
    line-height: 1.8;
    margin: 0 0 10px;
}

.fp-type-card__tag {
    display: inline-block;
    font-size: 13px;
    color: var(--fp-green);
    background: #eef2e8;
    padding: 3px 10px;
    border-radius: 99px;
}

.fp-center-btn {
    text-align: center;
    margin-top: 36px;
}

.fp-center-btn .fp-btn {
    padding: 12px 28px;
    font-size: 16px;
}

/* ---------- WHAT WE DO 内 Before / After ---------- */
.fp-ba {
    margin-top: 56px;
}

.fp-ba__label {
    font-family: var(--fp-serif);
    font-size: 18px;
    font-weight: 700;
    color: var(--fp-ink, #3a352c);
    margin: 0 0 18px;
    padding-left: 12px;
    border-left: 3px solid var(--fp-green);
}

/* ---------- 施工事例カード（最新3件） ---------- */
.fp-latest-card {
    display: block;
    background: var(--fp-card);
    border: 1px solid var(--fp-line);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(60, 50, 30, .05);
    text-decoration: none;
    color: inherit;
    transition: transform .25s ease, box-shadow .25s ease;
}

.fp-latest-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(60, 50, 30, .12);
}

.fp-latest-card__img {
    height: 190px;
    background-size: cover;
    background-position: center;
}

.fp-latest-card__body {
    padding: 16px 18px;
}

.fp-latest-card__title {
    font-family: var(--fp-serif);
    font-size: 19px;
    line-height: 1.6;
    margin: 0;
    font-weight: 700;
}

/* ---------- Q2 施工事例 ---------- */
.fp-cases {
    background: var(--fp-beige);
    padding: 76px 34px;
}

.fp-cases__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.fp-case-card {
    background: var(--fp-card);
    border: 1px solid var(--fp-line);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(60, 50, 30, .05);
}

.fp-case-card__imgs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
}

.fp-case-card__img {
    height: 130px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.fp-case-card__ba {
    position: absolute;
    left: 8px;
    top: 8px;
    background: rgba(44, 40, 32, .72);
    color: #fff;
    font-size: 12px;
    letter-spacing: .06em;
    padding: 2px 8px;
    border-radius: 2px;
}

.fp-case-card__body {
    padding: 14px 16px;
}

.fp-case-card__tag {
    display: inline-block;
    font-size: 12.5px;
    color: var(--fp-orange);
    background: #f7ece0;
    padding: 2px 9px;
    border-radius: 99px;
}

.fp-case-card__title {
    font-family: var(--fp-serif);
    font-size: 18px;
    margin: 9px 0 0;
    font-weight: 700;
}

.fp-voices {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.fp-voice {
    background: var(--fp-card);
    border: 1px solid var(--fp-line2);
    border-radius: 5px;
    padding: 18px 20px;
}

.fp-voice__quote {
    color: var(--fp-orange);
    line-height: 1;
    margin-bottom: 10px;
}

.fp-voice__quote svg {
    width: 20px;
    height: 20px;
    display: block;
}

.fp-voice__text {
    font-size: 15px;
    line-height: 1.9;
    color: #433d31;
    margin: 0 0 10px;
}

.fp-voice__name {
    font-size: 13px;
    color: var(--fp-sub2);
}

.fp-cases__btns {
    text-align: center;
    margin-top: 36px;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.fp-cases__btns .fp-btn {
    padding: 12px 26px;
    font-size: 16px;
}

.fp-mini-cta {
    margin-top: 30px;
    background: var(--fp-card);
    border: 1px dashed var(--fp-green);
    border-radius: 5px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.fp-mini-cta__text {
    font-family: var(--fp-serif);
    font-weight: 700;
    font-size: 19px;
    color: var(--fp-text);
}

.fp-mini-cta .fp-btn {
    padding: 12px 24px;
    font-size: 16px;
}

/* ---------- Q3 価格 ---------- */
.fp-price {
    padding: 76px 34px;
}

.fp-price__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.fp-price-card {
    background: var(--fp-card);
    border: 1px solid var(--fp-line);
    border-radius: 5px;
    padding: 22px 18px;
    text-align: center;
}

.fp-price-card--catalog {
    background: var(--fp-beige2);
    border: 1.5px solid var(--fp-orange);
}

.fp-price-card__name {
    font-size: 16px;
    color: var(--fp-sub);
}

.fp-price-card__price {
    font-family: var(--fp-serif);
    font-size: 28px;
    font-weight: 800;
    color: var(--fp-green);
    margin: 10px 0 4px;
}

.fp-price-card__price small {
    font-size: 16px;
}

.fp-price-card__catalog {
    font-family: var(--fp-serif);
    font-size: 20px;
    font-weight: 800;
    color: var(--fp-orange);
    margin: 12px 0 6px;
    line-height: 1.5;
}

.fp-price-card__note {
    font-size: 14px;
    color: var(--fp-sub2);
}

.fp-price__cta {
    margin-top: 36px;
    background: var(--fp-beige2);
    border: 1px solid var(--fp-line2);
    border-radius: 5px;
    padding: 22px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.fp-price__cta-text {
    font-size: 16px;
    color: #433d31;
    line-height: 1.8;
}

.fp-price__cta-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.fp-price__cta-btns .fp-btn {
    padding: 13px 26px;
    font-size: 17px;
}

/* ---------- 信頼の裏付け ---------- */
.fp-why {
    background: var(--fp-dark);
    color: #ece4d3;
    padding: 80px 34px;
}

.fp-why .fp-label {
    color: var(--fp-gold);
}

.fp-why__title {
    font-family: var(--fp-serif);
    font-weight: 700;
    font-size: 34px;
    margin: 16px 0 0;
    color: #fbf7ec;
}

.fp-why__head {
    text-align: center;
    margin-bottom: 48px;
}

.fp-why__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.fp-why-card {
    border: 1px solid #4a4438;
    border-radius: 6px;
    padding: 26px;
    background: var(--fp-dark2);
}

.fp-why-card__label {
    font-size: 13px;
    color: var(--fp-gold);
    font-weight: 700;
    letter-spacing: .1em;
}

.fp-why-card__title {
    font-family: var(--fp-serif);
    font-size: 23px;
    margin: 12px 0 10px;
    color: #fbf7ec;
    font-weight: 700;
}

.fp-why-card__text {
    font-size: 15px;
    line-height: 1.95;
    color: var(--fp-dark-sub);
}

.fp-why-card__logos {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.fp-why-card__logos span {
    background: #4a4438;
    border-radius: 2px;
    font-size: 12.5px;
    color: var(--fp-dark-sub);
    padding: 5px 12px;
}

.fp-why .fp-center-btn {
    margin-top: 42px;
}

.fp-why .fp-center-btn .fp-btn {
    padding: 12px 30px;
}

/* ---------- 竹垣のほかにも ---------- */
.fp-more {
    padding: 76px 34px;
}

.fp-more__title {
    font-family: var(--fp-serif);
    font-weight: 700;
    font-size: 29px;
    margin: 0 0 14px;
    text-align: center;
}

.fp-more__lead {
    font-size: 16px;
    color: var(--fp-sub2);
    margin: 0 0 40px;
    text-align: center;
}

.fp-more__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.fp-more-card {
    background: var(--fp-card);
    border: 1px solid var(--fp-line);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(60, 50, 30, .05);
}

.fp-more-card__img {
    height: 150px;
    background-size: cover;
    background-position: center;
}

.fp-more-card__body {
    padding: 18px 20px;
}

.fp-more-card__title {
    font-family: var(--fp-serif);
    font-size: 20px;
    margin: 0 0 6px;
    font-weight: 700;
}

.fp-more-card__text {
    font-size: 14px;
    color: var(--fp-sub);
    line-height: 1.8;
    margin: 0 0 12px;
}

.fp-more-card__link {
    font-size: 15px;
    color: var(--fp-orange);
    font-weight: 700;
}

/* ---------- FAQ ---------- */
.fp-faq {
    padding: 76px 34px;
    background: var(--fp-beige);
}

.fp-faq__title {
    font-family: var(--fp-serif);
    font-weight: 700;
    font-size: 29px;
    margin: 0 0 40px;
    text-align: center;
}

.fp-faq__list {
    display: grid;
    gap: 14px;
}

.fp-faq-item {
    background: var(--fp-card);
    border: 1px solid var(--fp-line);
    border-radius: 5px;
    padding: 20px 24px;
}

.fp-faq-item__q,
.fp-faq-item__a {
    display: flex;
    gap: 12px;
    align-items: baseline;
}

.fp-faq-item__q {
    margin-bottom: 8px;
}

.fp-faq-item__q i,
.fp-faq-item__a i {
    font-family: var(--fp-serif);
    font-weight: 800;
    font-size: 20px;
    font-style: normal;
    flex: none;
}

.fp-faq-item__q i {
    color: var(--fp-green);
}

.fp-faq-item__a i {
    color: var(--fp-orange);
}

.fp-faq-item__q b {
    font-size: 17.5px;
}

.fp-faq-item__a p {
    font-size: 16px;
    line-height: 1.95;
    color: #4a443a;
}

/* ---------- お問い合わせ ---------- */
.fp-contact {
    background: var(--fp-green);
    padding: 80px 34px;
    color: #f3efe4;
    text-align: center;
}

.fp-contact__title {
    font-family: var(--fp-serif);
    font-weight: 800;
    font-size: 38px;
    margin: 22px 0 18px;
    color: #fbf7ec;
}

.fp-contact__lead {
    font-size: 17px;
    color: #dce6d4;
    margin: 0 0 40px;
}

.fp-contact__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 36px;
    max-width: 600px;
    margin: 0 auto 32px;
    text-align: left;
    font-size: 17px;
}

.fp-contact__list span {
    display: flex;
    gap: 10px;
    align-items: center;
}

.fp-contact__list i {
    color: var(--fp-gold);
    font-weight: 700;
    font-style: normal;
}

.fp-contact__btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.fp-contact__btns .fp-btn {
    padding: 15px 32px;
    font-size: 18px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .2);
}

.fp-contact__tel-note {
    margin: 16px 0 0;
    font-size: 15px;
    color: #dce6d4;
}

/* ---------- お知らせ ---------- */
.fp-news {
    padding: 76px 34px 72px;
}

.fp-news__title {
    font-family: var(--fp-serif);
    font-weight: 700;
    font-size: 29px;
    margin: 0 0 40px;
    text-align: center;
}

.fp-news .recent-blog-posts-container {
    display: grid;
    gap: 14px;
}

.fp-news .recent-blog-post {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--fp-card);
    border: 1px solid var(--fp-line);
    border-radius: 5px;
    padding: 14px 20px;
    box-shadow: 0 2px 8px rgba(60, 50, 30, .05);
    transition: border-color .2s;
}

.fp-news .recent-blog-post:hover {
    border-color: var(--fp-green);
}

.fp-news .post-thumbnail {
    flex: none;
}

.fp-news .post-thumbnail img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.fp-news .post-date {
    font-size: 14px;
    color: var(--fp-sub2);
    margin: 0 0 4px;
}

.fp-news .post-title {
    font-family: var(--fp-serif);
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    line-height: 1.7;
}

/* ---------- 後押しピル帯 ---------- */
.fp-pills {
    padding: 48px 34px;
}

.fp-pills__inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.fp-pills__inner a {
    background: var(--fp-card);
    border: 1px solid var(--fp-line);
    border-radius: 99px;
    padding: 10px 20px;
    font-size: 16px;
    transition: border-color .2s, color .2s;
}

.fp-pills__inner a:hover {
    border-color: var(--fp-green);
    color: var(--fp-green);
}

/* フッターは全ページ共通の site-footer.css（uf- 接頭辞）に移管 */

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 1023px) {
    .fp-header__nav-links {
        display: none;
    }

    .fp-header__tagline {
        display: none;
    }
}

@media (max-width: 767px) {
    .fp-header {
        padding: 10px 18px;
    }

    .fp-header__logo img {
        height: 36px;
    }

    /* モバイルはヒーロー内容を通常フローに戻し、写真は背景として敷く。
       絶対配置のままだと内容が画像高さを超えてマーキーに隠れるため。 */
    .fp-hero {
        overflow: hidden;
    }

    .fp-hero__slides {
        position: absolute;
        inset: 0;
        height: 100%;
    }

    .fp-hero__content {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        transform: none;
        max-width: none;
        z-index: 2;
        min-height: 440px;
        box-sizing: border-box;
        padding: 40px 24px 44px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .fp-hero__nav {
        width: 38px;
        height: 38px;
        background: rgba(28, 24, 16, .3);
    }

    .fp-hero__nav--prev {
        left: 8px;
    }

    .fp-hero__nav--next {
        right: 8px;
    }

    .fp-hero__nav::before {
        width: 10px;
        height: 10px;
    }

    .fp-hero__title {
        font-size: 36px;
    }

    .fp-hero__lead {
        font-size: 16px;
        line-height: 1.9;
    }

    .fp-hero__cta .fp-btn {
        padding: 13px 20px;
        font-size: 16px;
    }

    .fp-marquee__track img {
        height: 150px;
    }

    .fp-whatwedo,
    .fp-questions,
    .fp-types,
    .fp-cases,
    .fp-price,
    .fp-why,
    .fp-more,
    .fp-faq,
    .fp-form-sec,
    .fp-contact,
    .fp-news {
        padding-left: 18px;
        padding-right: 18px;
    }

    .fp-news .recent-blog-post {
        align-items: flex-start;
    }

    .fp-news .post-thumbnail img {
        width: 56px;
        height: 56px;
    }

    .fp-duo,
    .fp-questions__grid,
    .fp-cases__grid,
    .fp-voices,
    .fp-why__grid,
    .fp-more__grid {
        grid-template-columns: 1fr;
    }

    .fp-types__grid,
    .fp-price__grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .fp-price-card {
        min-width: 0;
        padding: 18px 10px;
    }

    .fp-price-card__name {
        font-size: 15px;
    }

    .fp-price-card__price {
        font-size: 22px;
    }

    .fp-price-card__price small {
        font-size: 13px;
    }

    .fp-price-card__catalog {
        font-size: 18px;
    }

    .fp-price-card__note {
        font-size: 12px;
    }

    .fp-form-card {
        padding: 22px 18px;
    }

    .fp-form-card .fp-form-row {
        grid-template-columns: 1fr;
    }

    .fp-sec-head__title {
        font-size: 29px;
    }

    .fp-form-sec__title,
    .fp-contact__title {
        font-size: 30px;
    }

    .fp-questions__title {
        font-size: 26px;
    }

    .fp-q-head__title {
        font-size: 25px;
    }

    .fp-contact__list {
        grid-template-columns: 1fr;
    }

    .fp-price__cta {
        justify-content: center;
        text-align: center;
    }
}
