@charset "utf-8";

/*==============================
/fde/ 専用スタイル
style.css を読み込んだ後に重ねて使う。
ブレークポイントは style.css:1177 と同じ 750px（768px ではない）。
===============================*/

/*--------------------------
1. #ssm の前提を解除
   style.css:153-163 の固定背景 background.jpg は
   トップのキャンバス演出用なので記事ページでは消す
---------------------------*/
#ssm.fde {
    background-color: #fff;
    background-image: none;
}

/* header h1 を div に置き換えたので h1 相当のリセットを移植（style.css:336-341） */
header .fde-sitelogo {
    font-size: inherit;
    font-weight: inherit;
    line-height: 1;
    margin: 0;
}

/* .to-top は style.css:230 で display:none。JS でクラスを足して出す */
.to-top.is-visible {
    display: block;
}

/*--------------------------
1b. 全ページ共通のコンテンツ幅
   パンくず・本文・一覧・テーブルをすべてこの枠に入れて左端と幅を揃える
---------------------------*/
.fde-content {
    margin: 0 auto;
    max-width: 900px;
    text-align: left;
}

/*--------------------------
2. 固定ヘッダー分の余白
   header は position:fixed; top:40px; height:140px なので下端は 180px。
   セクション側に .bg-* の padding:120px があるため、ここは差分のみ。
---------------------------*/
.fde-main {
    padding-top: 80px;
}

/*--------------------------
3. 長文記事タイポグラフィ
   body{text-align:center}（style.css:145）と
   h1-h6{font-size:100%}（style.css:34-40）を明示的に打ち消す
---------------------------*/
#ssm .fde-article .inner {
    max-width: none;
    text-align: left;
    width: 100%;
}
.fde-article {
    font-size: 17px;
    letter-spacing: 0.04em;
    line-height: 2;
}
.fde-article h1 {
    color: #625515;
    font-family: zen-old-mincho, sans-serif;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    line-height: 1.6;
    margin-bottom: 24px;
}
.fde-article .fde-lead {
    color: #7a7258;
    font-size: 1rem;
    margin-bottom: 8px;
}
.fde-article .fde-meta {
    color: #908b77;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    margin-bottom: 48px;
}
.fde-article h2 {
    border-left: 4px solid #86aab1;
    color: #625515;
    font-family: zen-old-mincho, sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1.7;
    margin: 72px 0 24px;
    padding-left: 16px;
}
.fde-article h3 {
    color: #86aab1;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    margin: 40px 0 16px;
}
.fde-article p {
    margin-bottom: 1.8em;
}
.fde-article ul,
.fde-article ol {
    margin: 0 0 1.8em 1.2em;
}
.fde-article li {
    margin-bottom: 0.6em;
    margin-left: 0;
}
.fde-article ol > li {
    list-style-type: decimal;
}
.fde-article ul > li {
    list-style-type: disc;
}
/* style.css:98-108 で a はグローバルに text-decoration:none かつ色指定なし */
.fde-article a {
    color: #86aab1;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    transition: 0.4s;
}
.fde-article a:hover {
    opacity: 0.7;
}
.fde-article strong {
    color: #625515;
    font-weight: 600;
}
.fde-article table {
    margin-bottom: 1.8em;
    width: 100%;
}
.fde-article th,
.fde-article td {
    border: 1px solid #e2dfd2;
    font-size: 0.9rem;
    line-height: 1.7;
    padding: 12px 16px;
    text-align: left;
    vertical-align: top;
}
.fde-article th {
    background: #f7f7f7;
    font-weight: 600;
    white-space: nowrap;
}
.fde-article .fde-note {
    background: #f7f7f7;
    border-radius: 8px;
    color: #7a7258;
    font-size: 0.85rem;
    line-height: 1.8;
    margin-bottom: 2em;
    padding: 20px 24px;
}
.fde-article .fde-steps {
    counter-reset: fde-step;
    list-style: none;
    margin: 0 0 1.8em;
}
.fde-article .fde-steps > li {
    counter-increment: fde-step;
    list-style: none;
    margin-bottom: 1.2em;
    padding-left: 48px;
    position: relative;
}
.fde-article .fde-steps > li::before {
    align-items: center;
    background: #86aab1;
    border-radius: 50%;
    color: #fff;
    content: counter(fde-step);
    display: flex;
    font-size: 0.8rem;
    height: 32px;
    justify-content: center;
    left: 0;
    position: absolute;
    top: 2px;
    width: 32px;
}
.fde-article .fde-steps > li strong {
    display: block;
    margin-bottom: 4px;
}

/*--------------------------
4. パンくず
---------------------------*/
.fde-breadcrumb {
    color: #908b77;
    font-size: 0.8rem;
    margin-bottom: 32px;
    text-align: left;
}
.fde-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
}
.fde-breadcrumb li {
    list-style: none;
    margin: 0;
}
.fde-breadcrumb li + li::before {
    color: #c9c4ae;
    content: "／";
    margin-right: 8px;
}
.fde-breadcrumb a {
    color: #86aab1;
}
.fde-breadcrumb a:hover {
    text-decoration: underline;
}

/*--------------------------
5. 記事一覧カード
   枠の値は #about .in-box（style.css:596-601）から転写
---------------------------*/
.fde-card-list {
    display: flex;
    flex-wrap: wrap;
    gap: 32px 4%;
    margin-top: 48px;
    text-align: left;
}
.fde-card {
    border: 1px solid #e2dfd2;
    border-radius: 8px;
    box-sizing: border-box;
    display: block;
    padding: 32px;
    transition: 0.4s;
    width: 48%;
}
.fde-card:hover {
    box-shadow: 0 4px 16px #6a6a6a20;
    transform: translateY(-4px);
}
.fde-card .cat {
    background: #86aab1;
    border-radius: 24px;
    color: #fff;
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    padding: 2px 16px;
}
.fde-card .date {
    color: #908b77;
    font-size: 0.75rem;
    margin: 12px 0 0;
}
.fde-card h3 {
    color: #625515;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.6;
    margin: 8px 0 12px;
}
.fde-card p {
    color: #7a7258;
    font-size: 0.85rem;
    line-height: 1.7;
}
.fde-related {
    margin-top: 96px;
}
.fde-related.no-title {
    margin-top: 0;
}
.fde-related h2 {
    border-left: 4px solid #86aab1;
    color: #625515;
    font-family: zen-old-mincho, sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    padding-left: 16px;
}

/*--------------------------
5b. 実績テーブル
---------------------------*/
.fde-records {
    margin-top: 64px;
    text-align: left;
}
.fde-records h2 {
    border-left: 4px solid #86aab1;
    color: #625515;
    font-family: zen-old-mincho, sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    padding-left: 16px;
}
.fde-records > p {
    color: #7a7258;
    line-height: 1.9;
}
.fde-records table {
    margin-top: 28px;
    width: 100%;
}
.fde-records th,
.fde-records td {
    border: 1px solid #e2dfd2;
    font-size: 0.9rem;
    line-height: 1.7;
    padding: 12px 20px;
    text-align: left;
}
.fde-records tr.grp th {
    background: #86aab1;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    padding: 8px 20px;
}
.fde-records td.ind {
    color: #625515;
    font-weight: 600;
    width: 42%;
}
.fde-records .fde-note {
    background: #f7f7f7;
    border-radius: 8px;
    color: #7a7258;
    font-size: 0.85rem;
    line-height: 1.8;
    margin-top: 24px;
    padding: 20px 24px;
}

.fde-404-code {
    color: #86aab1;
    font-family: zen-old-mincho, sans-serif;
    font-size: 4rem;
    letter-spacing: 0.1em;
    line-height: 1;
    margin-bottom: 16px;
}
@media screen and (max-width: 750px) {
    .fde-404-code {
        font-size: 2.6rem;
    }
}
.fde-more-links {
    list-style: none;
    margin: 32px 0 0;
}
/* .fde-article ul > li { list-style-type: disc } に勝つ必要があるため
   .fde-article を前置して詳細度を上げる */
.fde-more-links li,
.fde-article .fde-more-links li {
    list-style: none;
    list-style-type: none;
    margin: 0 0 0.6em;
}
.fde-more-links a::after {
    content: " →";
}

/*--------------------------
5c. 対比ブロック（よくあるケース／シパシパーメの場合）と動画
---------------------------*/
.fde-compare {
    display: flex;
    gap: 24px;
    margin: 32px 0 32px;
}
.fde-compare-col {
    border: 1px solid #e2dfd2;
    border-radius: 8px;
    box-sizing: border-box;
    flex: 1 1 0;
    padding: 28px 28px 16px;
}
.fde-compare-col h3 {
    font-size: 0.95rem;
    letter-spacing: 0.15em;
    margin: 0 0 16px;
}
.fde-compare-col.is-general h3 {
    color: #908b77;
}
.fde-compare-col.is-ours {
    background: #f4f8f9;
    border-color: #86aab1;
}
.fde-compare-col.is-ours h3 {
    color: #86aab1;
}
.fde-compare-col ul {
    margin: 0 0 0 1.1em;
}
.fde-compare-col li {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 0.8em;
}
.fde-video {
    aspect-ratio: 16 / 9;
    margin: 32px 0 48px;
    width: 100%;
}
.fde-video iframe {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    display: block;
    height: 100%;
    width: 100%;
}

/*--------------------------
6. 目次
   スクロール位置は style.css:129 の :target{scroll-margin-top:100px} が効く
---------------------------*/
.fde-toc {
    background: #f7f7f7;
    border-radius: 8px;
    margin: 48px 0;
    padding: 32px 40px;
    text-align: left;
}
.fde-toc > p {
    font-family: zen-old-mincho, sans-serif;
    letter-spacing: 0.2em;
    margin-bottom: 16px;
}
.fde-toc ol {
    margin: 0 0 0 1.2em;
}
.fde-toc li {
    list-style-type: decimal;
    margin-bottom: 0.5em;
}
.fde-toc a {
    color: #625515;
    text-decoration: none;
}
.fde-toc a:hover {
    color: #86aab1;
    text-decoration: underline;
}

/*--------------------------
7. CTA
   ボタンは #news .inner .btn-area a.btn（style.css:545-573）から転写
---------------------------*/
.fde-cta .inner {
    text-align: center;
}
.fde-cta h2 {
    font-family: zen-old-mincho, sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    margin-bottom: 24px;
}
.fde-cta p {
    margin-bottom: 40px;
}
.fde-cta-btn {
    display: flex;
    justify-content: center;
}
.fde-cta .btn {
    background: #fff;
    border: 1px solid #908b77;
    border-radius: 50px;
    box-shadow: 0 3px 0 #675f39;
    box-sizing: border-box;
    color: #625515;
    display: inline-block;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    padding: 20px 56px;
    position: relative;
    top: 0;
    transition: box-shadow 0.4s, top 0.4s;
}
.fde-cta .btn:hover {
    box-shadow: none;
    top: 3px;
}

/*--------------------------
8. セクション見出し（一覧ページ）
---------------------------*/
.fde-section-head {
    text-align: left;
}
.fde-section-head h1 {
    color: #625515;
    font-family: zen-old-mincho, sans-serif;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    line-height: 1.6;
    margin-bottom: 24px;
}
.fde-section-head p {
    color: #7a7258;
    line-height: 1.9;
}
/* style.css:98-108 は a に色を与えないため、ここを書かないと
   ブラウザ既定の青/紫リンクが出る（.fde-article 以外の本文リンク） */
.fde-section-head a,
.fde-note a {
    color: #86aab1;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    transition: 0.4s;
}
.fde-section-head a:hover,
.fde-note a:hover {
    opacity: 0.7;
}

/*--------------------------
9. SP — style.css:1177 と同じ 750px
---------------------------*/
@media screen and (max-width: 750px) {
    /* SP の header は top:0; height:100px で下端 100px、.bg-* の padding は 80px */
    .fde-main {
        padding-top: 40px;
    }
    /* style.css:1243 の #ssm .inner{width:80%} は入れ子の記事側 .inner にも当たり、
       80% x 80% = 64% まで本文が細くなってしまうので打ち消す */
    #ssm .fde-article .inner {
        width: 100%;
    }
    .fde-article {
        font-size: 15px;
        line-height: 1.85;
    }
    .fde-article h1 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    .fde-article .fde-meta {
        margin-bottom: 32px;
    }
    .fde-article h2 {
        font-size: 1.15rem;
        margin: 48px 0 16px;
        padding-left: 12px;
    }
    .fde-article h3 {
        font-size: 1rem;
        margin: 28px 0 12px;
    }
    .fde-article table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    .fde-article .fde-note {
        padding: 16px 20px;
    }
    .fde-article .fde-steps > li {
        padding-left: 40px;
    }
    .fde-article .fde-steps > li::before {
        height: 28px;
        width: 28px;
    }
    .fde-breadcrumb {
        font-size: 0.7rem;
        margin-bottom: 24px;
    }
    .fde-card-list {
        gap: 20px;
        margin-top: 32px;
    }
    .fde-records {
        margin-top: 48px;
    }
    .fde-records h2 {
        font-size: 1.15rem;
        padding-left: 12px;
    }
    .fde-records th,
    .fde-records td {
        font-size: 0.8rem;
        padding: 10px 12px;
    }
    .fde-records td.ind {
        width: 45%;
    }
    .fde-records .fde-note {
        font-size: 0.8rem;
        padding: 16px 18px;
    }
    .fde-card {
        padding: 24px;
        width: 100%;
    }
    .fde-related {
        margin-top: 64px;
    }
    .fde-compare {
        flex-direction: column;
        gap: 16px;
    }
    .fde-compare-col {
        padding: 20px 20px 10px;
    }
    .fde-compare-col li {
        font-size: 0.9rem;
    }
    .fde-video {
        margin: 24px 0 36px;
    }
    .fde-toc {
        margin: 32px 0;
        padding: 24px;
    }
    .fde-section-head h1 {
        font-size: 1.4rem;
    }
    .fde-cta h2 {
        font-size: 1.2rem;
    }
    .fde-cta .btn {
        font-size: 0.85rem;
        padding: 18px 32px;
        width: 100%;
    }
    .fde-cta-btn {
        padding: 0 20px;
    }
}
