@charset "utf-8";

/* ======================================
   Base（本文は Mac 標準、見出し/ロゴ/ドックは Noto）
====================================== */
html,
body {
    margin: 0;
    padding: 0;
    background: #fdfcf7;
    color: #333;
    font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
    /* 本文系 */
    font-size: 14px;
    /* 本文小さめ */
    line-height: 1.95;
    /* 漢字に配慮して広め */
    letter-spacing: 0.1em;
    /* 字間も広め */
    -webkit-font-smoothing: antialiased;
}

/* 見出し/ロゴ/ドックは Noto Sans JP */
h1,
h2,
h3,
h4,
h5,
h6,
.header-brand,
.dock-item {
    font-family: "Noto Sans JP", sans-serif;
}

/* 固定ヘッダーぶんの上余白（ヘッダー68px想定） */
body {
    padding-top: 68px;
}

/* メイン幅と左右余白 */
.container {
    max-width: 760px;
    margin: 0 auto;
    padding: 72px 20px 48px;
    /* 下は後でドック/山で上書き */
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    /* 背景イラストより前 */
}

/* ======================================
   Section（セクション間だけ区切り線）
====================================== */
.section {
    padding: 40px 20px;
}

.section + .section {
    border-top: 1px solid #e0e0e0;
}

.section__content {
    margin: 0 auto;
}

/* Aboutセクションだけ線を外す */
.section.about {
    border-top: none;
}

/* blogセクションだけpaddingをなくす*/
.section-blog {
    padding: 20px 0px;
}

/* ======================================
   Headings（見出しはNotoでメリハリ）
====================================== */
h2 {
    margin: 0 0 34px;
    /* 見出し下の呼吸を深めに */
    font-size: 25px;
    line-height: 1.35;
    font-weight: 700;
    color: #111;
    letter-spacing: 0.045em;
}

h3 {
    display: flex;
    /* 丸番号と横並び */
    align-items: center;
    /* 縦中央揃え（番号とテキスト） */
    margin: 28px 0 12px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: #111;
    letter-spacing: 0.04em;
}

/* ごあいさつだけ中央揃え */
.about h2 {
    text-align: center;
}

/* ======================================
   Text / Links（本文はMac標準のまま）
====================================== */
.section__content p {
    margin: 0 0 1em;
    padding-left: 1.25em;
    /* 見出しより一段下げる */
    box-sizing: border-box;
}

.section__content__nogap p {
    padding: 0;
}

strong {
    font-weight: 600;
    color: #111;
}

a {
    color: #0a3a6b;
    text-decoration: underline;
    text-underline-offset: 5px;
    /* 文字と下線を離す */
    text-decoration-thickness: 1.3px;
    /* 線の太さ */
}

a:hover,
a:focus {
    text-decoration: underline;
    text-underline-offset: 5px;
}

/* キーボード操作時の可視フォーカス */
a:focus-visible {
    outline: 2px solid #666;
    outline-offset: 2px;
}

/* ======================================
   Lists
====================================== */
ul,
ol {
    margin: .5em 0 1.25em;
    padding-left: 2.25em;
    /* 段落より深めのインデント */
    box-sizing: border-box;
}

li {
    margin: .4em 0;
}

.guide-list {
    list-style: disc;
}

/* 見出し直後の密度調整 */
h3 + p {
    margin-top: 0;
}

p + ul {
    margin-top: .6em;
}

/* ======================================
   Service / Pricing Blocks
====================================== */
.service,
.pricing-group {
    margin-bottom: 28px;
}

/* 丸番号（H3左） */
.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-right: 18px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    flex-shrink: 0;
}

/* 本文・リストは番号幅に合わせてさらに下げる */
.service p,
.service ul,
.pricing-group p,
.pricing-group ul {
    margin-left: 52px;
    /* 34px + 余白に整合 */
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.7;
    color: #333;
}

/* ======================================
   News
====================================== */
.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-list li {
    margin: 6px 0;
    padding-left: 1.25em;
    /* 本文と揃える */
    line-height: 1.9;
}

/* ======================================
   Logo / Footer（本文側コピーライト）
====================================== */
.logo {
    width: 186px;
    max-width: 60%;
    height: auto;
    display: block;
    margin: 0 auto 28px;
}

/* 追加：フッターの中央寄せを強制 */
footer,
.footer,
.footer .section__content {
    text-align: center;
}

/* 追加：フッター内の要素の余計な字下げを無効化 */
.footer .section__content p,
.footer .section__content small,
.footer .section__content a,
footer small {
    display: inline-block;
    /* 中央に気持ちよく収まる */
    padding-left: 0 !important;
    margin-left: 0 !important;
}

footer small {
    color: #666;
    margin-top: 6px;
}

/* ======================================
   Contact Info
====================================== */
.contact-info p {
    margin: 0 0 1em;
    padding-left: 1.25em;
    /* 本文と揃える */
}

.contact-info strong {
    display: inline-block;
    margin-bottom: 2px;
    color: #111;
}

/* ======================================
   nav: ナビゲーション
====================================== */

.site-nav {
    display: none;
}

/* ======================================
   Fixed Header（上固定）
====================================== */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 68px;
    /* ロゴサイズに合わせて高さ調整 */
    background: #fdfcf7;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    /* 細線 */
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-inner {
    max-width: 760px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
}

.header-brand {
    font-weight: 900;
    font-size: 30px;
    /* タイトル感を出す */
    letter-spacing: 0.1em;
    /* 少し広めに */
    color: #111;
}

/* ヘッダーブランド専用の上書き（グローバル a より強い指定） */
.header-brand a {
    color: inherit;
    /* 通常のテキスト色を継承 */
    text-decoration: none;
    /* 下線を消す */
}

.header-brand a:hover {
    text-decoration: none;
    opacity: .85;
}

/* ======================================
   Fixed Dock（下固定・左右二分割）
====================================== */
.fixed-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, .98);
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    /* 黒寄りの細線 */
    z-index: 1200;
    backdrop-filter: saturate(120%) blur(2px);
}

.dock-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 10px 16px;
    /* 高さはこのpaddingで決まる */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    /* 2項目の間隔 */
}

.dock-divider {
    width: 1px;
    align-self: stretch;
    background: #bbb;
}

.dock-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #111;
    font-weight: 900;
    font-size: 16px;
    letter-spacing: 0.01em;
    padding: 6px 10px;
    border-radius: 6px;
    transition: background .2s ease, transform .2s ease;
}

.dock-item i {
    font-size: 18px;
}

.dock-item:hover {
    background: #f6f6f6;
    transform: translateY(-1px);
}

/* ======================================
   Background Illustration（山の背景）
====================================== */
.bg-illustration {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
    z-index: 0;
    pointer-events: none;
}

.bg-illustration img {
    display: block;
    width: 100%;
    height: auto;
}

/* ======================================
   Responsive
====================================== */
@media (max-width: 767px) {

    /* ヘッダー少し低く、本文余白も調整 */
    .fixed-header {
        height: 56px;
    }

    body {
        padding-top: 56px;
    }

    /* 山は拡大率は維持し、10%だけ上にずらす */
    .bg-illustration img {
        width: 190%;
        margin-left: -30%;
        transform: translateY(-7%);
    }

    /* ドック微調整 */
    .dock-inner {
        max-width: 100%;
        padding: 10px 12px;
        gap: 16px;
    }

    .dock-item {
        font-size: 12.5px;
        gap: 6px;
        padding: 6px 6px;
    }

    .dock-item i {
        font-size: 16px;
    }

    /* タイポ微調整（SP） */
    h2 {
        font-size: 23px;
        margin-bottom: 30px;
    }

    h3 {
        font-size: 15px;
        margin: 26px 0 12px;
    }

    .logo {
        width: 198px;
        margin-bottom: 28px;
    }
}

@media (min-width: 1280px) {
    .dock-inner {
        max-width: 1024px;
    }

    /* 横長画面で広がり過ぎ防止 */
}

/* ======================================
   共通一覧スタイル（Podcast & Blog）
   - 下線はオフ、タイトルのみ hover で下線
   - 日付→タイトル→要約のメリハリを統一
====================================== */

/* リスト本体 */
.episode-list,
.post-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* 各アイテム */
.episode-item,
.post-item {
    border-top: 1px solid #e0e0e0;
    padding: 16px 0;
}

.episode-item:first-child,
.post-item:first-child {
    border-top: none;
    padding-top: 4px;
}

/* 行全体をクリック領域に（※Podcastの予告などdivでも崩れないよう両対応） */
.episode-link,
.post-link {
    display: block;
    padding: 6px 0;
    color: inherit;
    text-decoration: none !important;
    /* 一覧は基本下線オフ */
}

/* hoverは背景色で軽く反応、タイトルだけ下線 */
.episode-link:hover,
.post-link:hover {
    background: #f8f7f2;
    border-radius: 6px;
    transition: background .15s ease;
}

/* キーボード操作のフォーカス */
.episode-link:focus-visible,
.post-link:focus-visible {
    outline: 2px solid #666;
    outline-offset: 4px;
    border-radius: 4px;
}

/* 日付（メタ） */
.ep-meta time,
.post-meta time {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 13px;
    color: #333;
    letter-spacing: .06em;
    font-weight: 600;
    display: inline-block;
}

/* タイトル（主役） */
.ep-title,
.post-title {
    display: block;
    margin: 6px 0 10px;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    font-size: 16.5px;
    line-height: 1.45;
    letter-spacing: .02em;
    color: #111;
    text-decoration: none !important;
}

/* hover時はタイトルだけ下線に */
.episode-link:hover .ep-title,
.post-link:hover .post-title {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* 要約（任意）— 本文トーンに寄せる */
.ep-desc,
.post-excerpt {
    display: block;
    margin-top: 2px;
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    padding-left: 1.25em;
    /* サイト全体の段落と揃える */
}

/* Podcastのプラットフォームボタン（下線無しのまま） */
.podcast-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-left: 1.25em;
    /* 本文と揃える */
    margin-top: 8px;
}

.podcast-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #111;
    font-weight: 700;
    font-size: 13px;
    padding: 6px 10px;
    border: 1px solid #000;
    border-radius: 6px;
}

.podcast-btn:hover {
    background: #f6f6f6;
}

/* エピソード下の個別アクション（聴く 等） */
.ep-actions {
    display: flex;
    gap: 12px;
    padding-left: 1.25em;
    margin-top: 6px;
}

.ep-actions a {
    text-decoration: none;
    color: #111;
    font-weight: 600;
}

.ep-actions a:hover {
    text-decoration: underline;
}

/* SP/PC微調整 */
@media (max-width: 767px) {

    .ep-title,
    .post-title {
        font-size: 16px;
    }
}

@media (min-width: 768px) {

    .episode-item,
    .post-item {
        padding: 18px 0;
    }

    .ep-title,
    .post-title {
        font-size: 18.5px;
    }
}

/* ※一覧で要約を出さない場合は下を有効化
.ep-desc, .post-excerpt { display: none; }
*/

/* ======================================
   Blog: パンくずリスト
====================================== */
.post-breadcrumb {
    font-size: 12.5px;
    color: #666;
    padding: 12px 0 0 1.25rem;
}

.post-breadcrumb a {
    color: #666;
    text-decoration: none;
    /* 下線オフ */
}

.post-breadcrumb a:hover {
    text-decoration: underline;
    /* hover時のみ軽く下線 */
}

.post-breadcrumb span {
    margin: 0 6px;
}

/* ======================================
   Blog: 記事末尾「記事一覧へ」リンク
====================================== */

/* 単独で置かれている時だけ中央寄せ */
.post-nav:has(> .post-list:only-child) {
    justify-content: center;
}

/* リンク自体のスタイル */
.post-nav .post-list {
    text-decoration: none !important;
    /* 下線オフ */
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #111;
    padding: 8px 14px;
    border: 1px solid #000;
    border-radius: 6px;
    transition: background .2s ease, transform .2s ease;
}

/* hover / focus 時の反応 */
.post-nav .post-list:hover,
.post-nav .post-list:focus {
    text-decoration: none;
    background: #f6f6f6;
    transform: translateY(-1px);
}

/* 記事末尾「記事一覧へ」ボタンのセンタリング（記事ページ用） */
.post-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding: 30px 20px;
    border-top: 1px solid #888;
    justify-content: space-between;
    /* 既定のままでOK */
}

/* ここがポイント：post-nav 内の post-list（=ボタン）だけ中央寄せ */
.post-nav .post-list {
    margin-left: auto;
    margin-right: auto;
    /* flex内でオートマージン → 中央に配置 */
    display: inline-flex;
    /* 中身（アイコン＋文字）を横並びに */
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

/* ホバー時の見た目（任意） */
.post-nav .post-list:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* 任意：記事末ブロックの罫線を柔らかく */
.post-nav {
    border-top: 1px solid #e0e0e0;
}

/* ===== Blog: カテゴリ一覧（ピルのみ） ===== */
.cat-nav {
    margin: 0 0 20px 1.25rem;
    /* 本文の左インデントに揃える */
}

.cat-nav__head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: #111;
    margin-bottom: 8px;
}

.cat-nav__head i {
    font-size: 14px;
}

.cat-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cat-pill {
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    color: #111;
    font-weight: 700;
    font-size: 13px;
    padding: 6px 12px;
    border: 1px solid #000;
    border-radius: 999px;
    transition: background .2s ease, transform .2s ease;
}

.cat-pill:hover {
    background: #f6f6f6;
    transform: translateY(-1px);
}

.cat-pill:focus-visible {
    outline: 2px solid #666;
    outline-offset: 2px;
    border-radius: 12px;
}

@media (max-width: 767px) {
    .cat-pill {
        font-size: 12.5px;
        padding: 6px 10px;
    }
}

/* 記事末尾カテゴリ表示 */
.post-categories {
    margin: 20px 0;
    padding-left: 1.25rem;
    font-size: 14px;
    color: #555;
}

.post-categories-label {
    margin-right: 8px;
    font-weight: 600;
    color: #111;
}

.post-categories a {
    display: inline-block;
    margin: 4px 6px 0 0;
    padding: 4px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    border: 1px solid #000;
    border-radius: 999px;
    /* ←ピル型にするポイント */
    transition: background .2s ease;
}

.post-categories a:hover {
    background: #f6f6f6;
}
