@charset "UTF-8";

/* =========================================================
   保証ページ  guarantee.css
   ビジネス向け・落ち着いた雰囲気の装飾
   ========================================================= */

:root {
    --g-base:   #3a3a37;   /* 本文テキスト  */
    --g-sub:    #6b6b66;   /* 補足テキスト  */
    --g-accent: #7a6a53;   /* アクセント（木・土を思わせる落ち着いたブラウン）*/
    --g-line:   #e2ddd4;   /* 罫線・区切り  */
    --g-bg:     #f7f5f1;   /* カード背景    */
    --g-white:  #ffffff;
}

/* ---------- 共通レイアウト（他ページ experience.css と統一）---------- */
.wrapper {
    max-width: calc(1200px - 32px);
    margin: 0 auto;
    padding: 64px 16px;
    font-family: "m-plus-2p", sans-serif;
    font-weight: 400;
    font-style: normal;
}
.wrapper section {
    margin-bottom: 64px;
}

/* ---------- 共通トーン ---------- */
.wrapper .cpt {
    color: var(--g-base);
}

/* 画像ボックス（experience.css と共通）*/
.img-box {
    max-width: 450px;
    margin: 24px auto 0;
    padding: 16px 0;
}
.img-box img {
    display: block;
    width: 100%;
    height: auto;
}

/* ---------- 導入セクション ---------- */
.guarantee-intro {
    text-align: center;
}

.guarantee-intro h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 22px;
    margin-bottom: 34px;
    font-size: 2.0rem;
    font-weight: 400;
    letter-spacing: .08em;
    line-height: 1.8;
}
@media screen and (min-width: 768px) {
    .guarantee-intro h2 {
        font-size: 2.4rem;
    }
}

.guarantee-intro h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 56px;
    height: 2px;
    background: var(--g-accent);
}

.guarantee-lead {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.6rem;
    line-height: 1.8;
    letter-spacing: .08em;
    text-align: justify;
    color: var(--g-sub);
}

.guarantee-lead p + p {
    margin-top: 16px;
}

/* ---------- リストセクション見出し ---------- */
.guarantee-list h3 {
    position: relative;
    text-align: center;
    margin: 68px 0 44px;
    font-size: 2.0rem;
    font-weight: 400;
    letter-spacing: .08em;
}
@media screen and (min-width: 768px) {
    .guarantee-list h3 {
        font-size: 2.4rem;
    }
}

.guarantee-list h3::before,
.guarantee-list h3::after {
    content: "";
    display: inline-block;
    width: 34px;
    height: 1px;
    margin: 0 18px;
    vertical-align: middle;
    background: var(--g-line);
}

/* ---------- 保証カード ---------- */
.guarantee-card {
    position: relative;
    background: var(--g-bg);
    border: 1px solid var(--g-line);
    border-left: 4px solid var(--g-accent);
    border-radius: 4px;
    padding: 34px 40px 38px;
    margin-bottom: 26px;
    transition: box-shadow .3s ease, transform .3s ease;
}

.guarantee-card:hover {
    box-shadow: 0 8px 24px rgba(90, 78, 60, .08);
    transform: translateY(-2px);
}

/* ヘッダー（番号＋タイトル＋年数） */
.guarantee-card-head {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 20px;
    margin-bottom: 22px;
    border-bottom: 1px dashed var(--g-line);
}

.guarantee-no {
    flex: 0 0 auto;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 3.0rem;
    font-weight: 700;
    line-height: 1;
    color: var(--g-accent);
    letter-spacing: .02em;
}

.guarantee-title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 14px;
}

.guarantee-title-main {
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: .08em;
    color: var(--g-base);
}
@media screen and (min-width: 768px) {
    .guarantee-title-main {
        font-size: 2.0rem;
    }
}

.guarantee-term {
    display: inline-block;
    padding: 3px 12px;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: .05em;
    color: var(--g-white);
    background: var(--g-accent);
    border-radius: 2px;
    white-space: nowrap;
}

/* 本文 */
.guarantee-card-body p {
    font-size: 1.6rem;
    line-height: 1.8;
    letter-spacing: .08em;
    text-align: justify;
    color: var(--g-sub);
}

.guarantee-card-body p + p {
    margin-top: 14px;
}

.guarantee-note {
    margin-top: 18px !important;
    padding: 14px 18px;
    background: var(--g-white);
    border: 1px solid var(--g-line);
    border-radius: 3px;
    font-size: 1.4rem;
}

/* ---------- リンクボタン ---------- */
.btn-link {
    width: 400px;
    margin: 32px auto 64px;
    background-color: #FFFFFF;
}

.btn-link a {
    display: block;           /* 高さを内容に合わせて可変にする */
    height: auto;
    min-height: 0;
    box-sizing: border-box;
    padding: 12px 26px;
    font-weight: 400;
    line-height: 1.6;
    text-align: center;
    white-space: normal;      /* 折り返しを許可 */
    word-break: break-word;
}

/* ---------- レスポンシブ ---------- */
@media screen and (max-width: 768px) {
    .guarantee-card {
        padding: 26px 22px 30px;
    }

    .guarantee-card-head {
        gap: 14px;
    }

    .guarantee-no {
        font-size: 26px;
    }

    .guarantee-title-main {
        font-size: 17px;
    }

    .guarantee-list h3::before,
    .guarantee-list h3::after {
        width: 20px;
        margin: 0 12px;
    }
}

/* スマホでのみ改行（PCでは無効化）*/
.sp-only {
    display: inline;
}
@media screen and (min-width: 768px) {
    .sp-only {
        display: none;
    }
}