/* ==============================
   基本設定
============================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #ffffff;
    color: #A68A6A;

    font-family:
        "Yu Gothic",
        "YuGothic",
        "Hiragino Kaku Gothic ProN",
        "Meiryo",
        sans-serif;

    font-weight: 500;
    line-height: 1.8;
}


/* ==============================
   ヘッダー
============================== */

.site-header {
    background: #FFF3E0;
}

.header-inner {
    max-width: 1200px;
    min-height: 90px;

    margin: 0 auto;
    padding: 0 40px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* ==============================
   サイトタイトル
============================== */

.site-title {
    position: relative;

    color: #A68A6A;
    text-decoration: none;

    font-size: 32px;
    font-weight: 700;
}

.site-title::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: -2px;

    width: 0;
    height: 2px;

    background: #8B6B4A;

    transform: translateX(-50%);
    transition: width 0.23s ease;
}

.site-title:hover::after {
    width: 100%;
}


/* ==============================
   メニュー
============================== */

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    position: relative;

    padding: 8px 0;

    color: #A68A6A;
    text-decoration: none;

    font-size: 15px;
    font-weight: 600;
}

.main-nav a::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: 2px;

    width: 0;
    height: 2px;

    background: #8B6B4A;

    transform: translateX(-50%);
    transition: width 0.23s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.x-link img {
    display: block;
    width: 22px;
    height: 22px;
    object-fit: contain;
}

/* ==============================
   ファーストビュー
============================== */

.hero {
    max-width: 1200px;
    min-height: 430px;

    margin: 0 auto;
    padding: 70px 40px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;

    align-items: center;
}

.hero-message h1 {
    margin: 0 0 28px;

    color: #8B6B4A;

    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;

    line-height: 1.45;
    letter-spacing: 0.03em;
}

.nowrap {
    white-space: nowrap;
}

.hero-message p {
    margin: 0;
    font-size: 17px;
}


/* ==============================
   仮写真
============================== */

.hero-photo {
    display: flex;
    justify-content: center;
}
.hero-photo img {
    display: block;
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 10px;
}
.photo-placeholder {
    width: 100%;
    max-width: 480px;
    height: 310px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    background: #f8f3eb;
    border-radius: 10px;

    color: #A68A6A;
}


/* ==============================
   意図的な余白
============================== */

.breathing-space {
    height: 45px;
}

/* ==============================
   お知らせ
============================== */

.home-news {
    width: 75%;
    max-width: 1000px;

    margin: 0 auto;
    padding: 0 0 90px;
}

.home-news h2 {
    margin: 0 0 28px;

    color: #8B6B4A;

    font-size: 25px;
    font-weight: 700;
}

.home-news-list {
    border-top: 1px solid rgba(166, 138, 106, 0.35);
}

.home-news-item {
    display: flex;
    align-items: flex-start;

    gap: 28px;

    padding: 18px 0;

    border-bottom: 1px solid rgba(166, 138, 106, 0.35);
}

.home-news-date {
    flex: 0 0 145px;

    color: #8B6B4A;

    font-size: 14px;
    font-weight: 600;
}

.home-news-text {
    color: #A68A6A;

    font-size: 16px;
    font-weight: 500;
}
.home-news-text a {
    color: #A68A6A;
    text-decoration: underline;
}

.home-news-text a:hover {
    color: #8B6B4A;
}
.home-news-more {
    margin-top: 22px;

    text-align: right;
}

.home-news-more a {
    color: #A68A6A;
    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    transition: color 0.2s ease;
}

.home-news-more a:hover {
    color: #8B6B4A;
    text-decoration: underline;
}

/* ==============================
   A4資料
============================== */

.resources {
    max-width: 1000px;

    margin: 0 auto;
    padding: 20px 40px 100px;
}

.resource-card {
    display: grid;
    grid-template-columns: 220px 1fr;

    gap: 55px;
    align-items: center;

    margin-bottom: 90px;
}

.a4-placeholder {
    width: 210px;
    aspect-ratio: 210 / 297;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    background: #faf8f4;
    border: 1px solid #ded4c8;

    color: #A68A6A;
}
.a4-image {
    width: 210px;
}

.a4-image img {
    display: block;
    width: 100%;
    height: auto;
}
.resource-info h2 {
    margin-top: 0;

    color: #8B6B4A;

    font-size: 25px;
    font-weight: 700;
}

.resource-info p {
    margin-bottom: 28px;
    font-weight: 500;
}


/* ==============================
   閲覧・ダウンロードボタン
============================== */

.resource-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.view-button,
.download-button {
    display: inline-block;

    width: 170px;

    text-align: center;

    padding: 12px 24px;

    border-radius: 5px;

    text-decoration: none;
    font-weight: 600;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease;
}


/* PDFを閲覧：枠だけ */

.view-button {
    background: #ffffff;
    color: #8B6B4A;

    border: 2px solid #8B6B4A;
}

.view-button:hover {
    background: #FFF3E0;
    transform: translateY(-2px);
}


/* ダウンロード：濃い茶色 */

.download-button {
    background: #8B6B4A;
    color: #ffffff;

    border: 2px solid #8B6B4A;
}

.download-button:hover {
    transform: translateY(-2px);
    opacity: 0.88;
}


/* ==============================
   フッター
============================== */

.site-footer {
    background: #FFF3E0;
    color: #A68A6A;
}

.footer-inner {
    max-width: 1000px;

    margin: 0 auto;
    padding: 45px 30px 30px;

    text-align: center;
}

.footer-inner p {
    margin: 0;

    font-size: 14px;
    font-weight: 500;
}
.footer-inner a,
.footer-inner a:visited {
    position: relative;

    color: #A68A6A;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
}

.footer-inner a::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: -2px;

    width: 0;
    height: 2px;

    background: #8B6B4A;

    transform: translateX(-50%);
    transition: width 0.23s ease;
}

.footer-inner a:hover::after,
.footer-inner a:focus-visible::after {
    width: 100%;
}
.footer-inner hr {
    width: 75%;

    margin: 28px auto 22px;

    border: 0;
    border-top: 1px solid rgba(166, 138, 106, 0.45);
}

.copyright {
    font-size: 13px !important;
    font-weight: 500;
}


/* ==============================
   スマートフォン
============================== */

@media (max-width: 650px) {

    .header-inner {
        padding: 20px;

        flex-direction: column;
        gap: 12px;
    }

    .main-nav {
        display: grid;
        grid-template-columns: repeat(3, auto);
        justify-content: center;
        align-items: center;

        column-gap: 24px;
        row-gap: 8px;
    }

    .main-nav a {
        font-size: 20px;
        font-weight: 700;
        text-align: center;
        white-space: nowrap;
    }

    .main-nav .x-link {
        justify-self: center;
    }

    .hero {
        grid-template-columns: 1fr;

        padding: 50px 25px;

        gap: 40px;
    }

    .hero-message h1 {
        font-size: clamp(27px, 8vw, 34px);
    }

    .resource-card {
        grid-template-columns: 1fr;

        justify-items: center;
        gap: 30px;
    }

    .resource-info {
        text-align: center;
    }

    .resource-buttons {
        justify-content: center;
    }
}

/* ==============================
   自己紹介ページ
============================== */

.about-hero {
    max-width: 1200px;

    margin: 0 auto;
    padding: 90px 40px 0;

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;

    align-items: start;
}


/* ==============================
   自己紹介写真
============================== */

.about-photo {
    display: flex;
    justify-content: center;
}
.about-photo-image {
    display: block;
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 10px;
}
.about-photo-placeholder {
    width: 100%;
    max-width: 350px;
    aspect-ratio: 4 / 5;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    background: #f8f3eb;
    border-radius: 10px;

    color: #A68A6A;
}


/* ==============================
   自己紹介 上段メッセージ
============================== */

.about-message h1 {
    margin: 0;

    color: #8B6B4A;

    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 700;

    line-height: 1.55;
    letter-spacing: 0.02em;
}

.about-divider {
    width: 100%;

    margin: 42px 0 36px;

    border-top: 1px solid rgba(166, 138, 106, 0.45);
}

.about-message p {
    margin: 0;

    font-size: 16px;
    font-weight: 500;

    line-height: 2;
}


/* ==============================
   上段とアコーディオンの余白
============================== */

.about-breathing-space {
    height: 95px;
}


/* ==============================
   アコーディオン全体
============================== */

.about-accordion {
    width: 75%;
    max-width: 1000px;

    margin: 0 auto;
    padding-bottom: 110px;
}


/* ==============================
   アコーディオン各項目
============================== */

.accordion-item {
    margin-bottom: 14px;
}

.accordion-item summary {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 58px;

    padding: 15px 22px;

    background: #FFF3E0;

    color: #8B6B4A;

    font-size: 16px;
    font-weight: 600;

    border-radius: 6px;

    cursor: pointer;

    list-style: none;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.accordion-item summary::-webkit-details-marker {
    display: none;
}

.accordion-item summary:hover {
    background: #fbe8cc;
}


/* ==============================
   ＋ / －
============================== */

.accordion-icon {
    position: relative;

    flex: 0 0 22px;

    width: 22px;
    height: 22px;

    margin-left: 20px;
}

.accordion-icon::before,
.accordion-icon::after {
    content: "";

    position: absolute;
    top: 50%;
    left: 50%;

    width: 16px;
    height: 2px;

    background: #8B6B4A;

    transform: translate(-50%, -50%);

    transition:
        transform 0.23s ease,
        opacity 0.23s ease;
}

.accordion-icon::after {
    transform:
        translate(-50%, -50%)
        rotate(90deg);
}

.accordion-item[open] .accordion-icon::after {
    opacity: 0;

    transform:
        translate(-50%, -50%)
        rotate(0deg);
}


/* ==============================
   アコーディオン本文
============================== */

.accordion-content {
    padding: 20px 24px 24px;
}

.accordion-content p {
    margin: 0;

    color: #A68A6A;

    font-size: 15px;
    font-weight: 500;

    line-height: 1.9;
}


/* ==============================
   自己紹介ページ
   スマートフォン
============================== */

@media (max-width: 650px) {

    .about-hero {
        grid-template-columns: 1fr;

        padding: 60px 25px 0;

        gap: 50px;
    }

    .about-photo {
        order: 1;
    }

    .about-message {
        order: 2;
    }

    .about-photo-placeholder {
        max-width: 340px;
    }

    .about-message h1 {
        font-size: clamp(25px, 7vw, 34px);
    }

    .about-divider {
        margin: 34px 0 30px;
    }

    .about-message p {
        font-size: 15px;
        line-height: 1.9;
    }

    .about-breathing-space {
        height: 75px;
    }

    .about-accordion {
        width: auto;

        margin: 0 20px;
        padding-bottom: 80px;
    }

    .accordion-item summary {
        min-height: 56px;

        padding: 14px 18px;

        font-size: 15px;
    }

    .accordion-content {
        padding: 18px 18px 22px;
    }

    .accordion-content p {
        font-size: 14px;
        line-height: 1.9;
    }
}

/* ==============================
   ブログページ
============================== */

.blog-intro {
    padding: 90px 40px 0;
    text-align: center;
}

.blog-intro h1 {
    margin: 0;

    color: #8B6B4A;

    font-size: 42px;
    font-weight: 700;

    line-height: 1.4;
}

.blog-description {
    display: inline-block;
    margin-top: 45px;
    padding-left: 20px;

    border-left: 4px solid #8B6B4A;

    text-align: left;
}

.blog-description p {
    margin: 0;

    font-size: 17px;
    line-height: 1.9;
}
.latest-post {
    width: 75%;
    max-width: 1000px;

    margin: 70px auto 0;
}
.news-list-section {
    margin-bottom: 90px;
}
.post-date {
    margin: 0 0 12px;

    color: #8B6B4A;

    font-size: 15px;
    line-height: 1.6;
}
.post-title {
    margin: 0 0 30px;

    color: #8B6B4A;

    font-size: 28px;
    font-weight: 700;

    line-height: 1.5;
}
.post-content {
    color: #A68A6A;

    font-size: 17px;
    line-height: 2;

    margin-bottom: 60px;
}

.post-content p {
    margin: 0;
}
.post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    margin-top: 60px;
    padding-top: 25px;

    border-top: 1px solid #D8C8B8;
}

.post-navigation .prev-post,
.post-navigation .next-post {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.post-navigation .post-nav-button {
    display: inline-block;
    width: fit-content;

    padding: 10px 18px;

    border: 1px solid #8B6B4A;
    border-radius: 5px;

    background: #ffffff;
    color: #8B6B4A;

    font-weight: 600;
    text-decoration: none;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}

.post-navigation .post-nav-button:hover {
    background: #FFF3E0;
    transform: translateY(-2px);
}

.prev-post {
    text-align: left;
    align-items: flex-start;
}

.next-post {
    text-align: right;
    align-items: flex-end;
}

.post-navigation strong {
    color: #8B6B4A;

    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
}
/* 過去記事 */
.blog-archive {
    width: 75%;
    max-width: 1000px;

    margin: 70px auto 0;
    padding-bottom: 100px;
}

.archive-year {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 15px;

    white-space: nowrap;
}

.archive-months {
    display: flex;
    align-items: center;

    gap: 5px;
}
.year-label {
    color: #8B6B4A;

    font-size: 16px;
    font-weight: 700;
}

.archive-months a {
    color: #A68A6A;
    text-decoration: none;

    font-size: 15px;
    font-weight: 600;

    transition: color 0.2s ease;
}

.archive-months a:hover {
    color: #8B6B4A;
    text-decoration: underline;
}

.archive-months span {
    color: rgba(166, 138, 106, 0.55);

    font-size: 14px;
}
/* 横長画像 */
.post-image-wide {
    margin: 0 0 35px;
}

.post-image-wide img {
    display: block;

    width: 100%;
    max-width: 350px;
    height: auto;

    margin: 0 auto;

    border-radius: 6px;
}
/* 縦長画像 */

.post-layout-vertical {
    margin-bottom: 35px;
}

.post-layout-vertical::after {
    content: "";
    display: block;
    clear: both;
}

.post-image-vertical {
    float: left;
    width: 200px;

    margin: 0 30px 20px 0;
}

.post-image-vertical img {
    display: block;

    width: 100%;
    max-height: 350px;
    height: auto;

    border-radius: 6px;
}

.post-layout-vertical .post-content {
    margin-bottom: 0;
}

.latest-post .post-title a {
    color: #8B6B4A;
    text-decoration: none;
}

.latest-post .post-title a:hover {
    text-decoration: underline;
}
.post-content a {
    color: #8B6B4A;
    text-decoration: underline;
}

.post-content a:hover {
    color: #6F5238;
}

/* ==============================
   実績ページ
============================== */

.works-intro {
    padding: 90px 40px 0;
    text-align: center;
}

.works-intro h1 {
    margin: 0;
    color: #8B6B4A;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.4;
}

.works-grid {
    width: 75%;
    max-width: 1000px;
    margin: 90px auto 0;
    padding-bottom: 100px;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.works-card {
    min-width: 0;
    padding: 32px 28px 30px;
    border: 1px solid #ded4c8;
    border-radius: 10px;
    text-align: center;
}

.works-card h2 {
    margin: 0;
    color: #8B6B4A;
    font-size: 25px;
    font-weight: 700;
}

.works-count {
    margin: 28px 0;
    color: #8B6B4A;
    font-size: 22px;
    font-weight: 700;
}

.works-description {
    min-height: 116px;
    margin: 0 0 28px;
    color: #A68A6A;
    font-size: 15px;
    line-height: 1.9;
    text-align: left;
}

.works-button {
    width: 170px;
    line-height: 1.5;
}

@media (max-width: 650px) {
    .works-intro {
        padding: 60px 25px 0;
    }

    .works-intro h1 {
        font-size: 34px;
    }

    .works-grid {
        width: auto;
        margin: 70px 20px 0;
        padding-bottom: 80px;
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .works-description {
        min-height: 0;
    }
}

/* =========================
   講演実績ページ
========================= */

.lecture-list {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 30px 60px;
}

.lecture-item {
    padding: 25px 0;
}

.lecture-item h2 {
    margin: 0 0 25px;
}

.lecture-item p {
    margin: 0 0 15px;
    line-height: 1.8;
}

.lecture-impression {
    margin-top: 15px;
    line-height: 1.8;
}

.lecture-list hr {
    margin: 25px 0;
    border: 0;
    border-top: 1px solid #ccc;
}
/* ==============================
   お知らせページ：ページ送り
============================== */

.news-pagination {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
    margin-top: 35px;
}

.news-pagination-prev {
    justify-self: start;
}

.news-pagination-current {
    justify-self: center;
    color: #A68A6A;
    font-weight: 600;
}

.news-pagination-next {
    justify-self: end;
}

.news-pagination a {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid #8B6B4A;
    border-radius: 5px;
    background: #ffffff;
    color: #8B6B4A;
    font-weight: 600;
    text-decoration: none;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}

.news-pagination a:hover {
    background: #FFF3E0;
    transform: translateY(-2px);
}
/* ==============================
   講演実績ページ：ページ送り
============================== */

.lecture-pagination {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
    margin-top: 35px;
}

.lecture-pagination-prev {
    justify-self: start;
}

.lecture-pagination-current {
    justify-self: center;
    color: #A68A6A;
    font-weight: 600;
}

.lecture-pagination-next {
    justify-self: end;
}

.lecture-pagination a {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid #8B6B4A;
    border-radius: 5px;
    background: #ffffff;
    color: #8B6B4A;
    font-weight: 600;
    text-decoration: none;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}

.lecture-pagination a:hover {
    background: #FFF3E0;
    transform: translateY(-2px);
}
/* ==============================
   ブログ月別記事：ページ送り
============================== */

.blog-pagination {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
    margin-top: 35px;
}

.blog-pagination-prev {
    justify-self: start;
}

.blog-pagination-current {
    justify-self: center;
    color: #A68A6A;
    font-weight: 600;
}

.blog-pagination-next {
    justify-self: end;
}

.blog-pagination a {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid #8B6B4A;
    border-radius: 5px;
    background: #ffffff;
    color: #8B6B4A;
    font-weight: 600;
    text-decoration: none;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}

.blog-pagination a:hover {
    background: #FFF3E0;
    transform: translateY(-2px);
}
/* ==============================
   お問い合わせページ
============================== */

.contact-form-section {
    width: 75%;
    max-width: 800px;

    margin: 70px auto 0;
    padding-bottom: 100px;
}

.contact-form {
    width: 100%;
}


/* ==============================
   お問い合わせ：各入力項目
============================== */

.contact-field {
    margin-bottom: 36px;
}

.contact-field label {
    display: block;

    margin-bottom: 10px;

    color: #8B6B4A;

    font-size: 16px;
    font-weight: 700;
}


/* ==============================
   必須・任意表示
============================== */

.contact-required,
.contact-optional {
    display: inline-block;

    margin-left: 8px;
    padding: 2px 8px;

    border-radius: 4px;

    font-size: 12px;
    font-weight: 700;

    line-height: 1.5;
}

.contact-required {
    background: #8B6B4A;
    color: #ffffff;
}

.contact-optional {
    background: #FFF3E0;
    color: #8B6B4A;

    border: 1px solid #D8C8B8;
}


/* ==============================
   入力欄
============================== */

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;

    padding: 12px 14px;

    border: 1px solid #D8C8B8;
    border-radius: 6px;

    background: #ffffff;
    color: #A68A6A;

    font-family: inherit;
    font-size: 16px;
    font-weight: 500;

    line-height: 1.6;
}
/* 自動入力時も通常の入力欄と同じ表示にする */
.contact-field input:-webkit-autofill,
.contact-field input:-webkit-autofill:hover,
.contact-field input:-webkit-autofill:focus {
    -webkit-text-fill-color: #A68A6A;
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset;
    box-shadow: 0 0 0 1000px #ffffff inset;
    caret-color: #A68A6A;
}
.contact-field input,
.contact-field select {
    min-height: 48px;
}

.contact-field textarea {
    min-height: 220px;

    resize: vertical;
}


/* ==============================
   入力欄：フォーカス
============================== */

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    outline: 3px solid rgba(139, 107, 74, 0.18);
    outline-offset: 2px;

    border-color: #8B6B4A;
}


/* ==============================
   補足説明
============================== */

.contact-help {
    margin: 8px 0 0;

    color: #A68A6A;

    font-size: 14px;
    font-weight: 500;

    line-height: 1.7;
}

/* 内容：見出しと文字数表示 */
.contact-message-heading {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}

.contact-message-heading label {
    margin-bottom: 0;
}

.contact-message-help {
    margin: 0;
}
.contact-mobile-break {
    display: none;
}
/* ==============================
   送信確認ボタン
============================== */

.contact-actions {
    margin-top: 55px;

    text-align: center;
}

.contact-submit-button {
    width: auto;
    min-width: 220px;

    padding: 13px 28px;

    font-family: inherit;
    font-size: 16px;

    cursor: pointer;
}


/* ==============================
   お問い合わせページ
   スマートフォン
============================== */

@media (max-width: 650px) {

    .contact-form-section {
        width: auto;

        margin: 55px 20px 0;
        padding-bottom: 80px;
    }

    .contact-field {
        margin-bottom: 30px;
    }

    .contact-field label {
        font-size: 15px;
    }

    .contact-field input,
    .contact-field select,
    .contact-field textarea {
        font-size: 16px;
    }

    .contact-field textarea {
        min-height: 200px;
    }

    .contact-actions {
        margin-top: 45px;
    }

    .contact-submit-button {
        width: 100%;
        max-width: 320px;
    }

    .contact-mobile-break {
        display: block;
    }

}
/* ==============================
   お問い合わせ：送信前確認モーダル
============================== */

.contact-confirm-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;
}

.contact-confirm-modal[hidden] {
    display: none;
}

.contact-confirm-modal-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.45);
}

.contact-confirm-modal-dialog {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 700px;
    max-height: calc(100vh - 60px);

    overflow-y: auto;

    padding: 38px 40px;

    background: #ffffff;
    border: 1px solid #D8C8B8;
    border-radius: 10px;

    color: #A68A6A;
}

.contact-confirm-modal-dialog h2 {
    margin: 0 0 30px;

    color: #8B6B4A;

    font-size: 26px;
    font-weight: 700;

    line-height: 1.5;
    text-align: center;
}
/* ==============================
   お問い合わせ：送信内容の確認
============================== */

.contact-confirm-summary {
    margin: 0 0 32px;
    border: 1px solid #D8C8B8;
    border-radius: 8px;
    overflow: hidden;
}

.contact-confirm-summary-row {
    display: grid;
    grid-template-columns: 170px 1fr;
    border-bottom: 1px solid #E8DED3;
}

.contact-confirm-summary-row:last-child {
    border-bottom: 0;
}

.contact-confirm-summary-label,
.contact-confirm-summary-value {
    padding: 13px 16px;
    font-size: 15px;
    line-height: 1.8;
}

.contact-confirm-summary-label {
    background: #FFF3E0;
    color: #8B6B4A;
    font-weight: 700;
}

.contact-confirm-summary-value {
    color: #6F5238;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}
.contact-confirm-section {
    margin-bottom: 28px;
}

.contact-confirm-section h3 {
    margin: 0 0 10px;

    color: #8B6B4A;

    font-size: 17px;
    font-weight: 700;
}

.contact-confirm-section p {
    margin: 0 0 12px;

    font-size: 15px;
    font-weight: 500;

    line-height: 1.9;
}

.contact-privacy-detail-button {
    padding: 0;

    border: 0;
    background: transparent;

    color: #8B6B4A;

    font-family: inherit;
    font-size: inherit;
    font-weight: 700;

    text-decoration: underline;
    cursor: pointer;
}

.contact-privacy-detail-button:hover {
    color: #6F5238;
}

.contact-privacy-detail-button:focus {
    outline: 3px solid rgba(139, 107, 74, 0.18);
    outline-offset: 3px;
}

.contact-confirm-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 16px;

    margin-top: 38px;
}

.contact-confirm-actions .download-button {
    width: 200px;
    min-width: 0;

    font-family: inherit;
    font-size: 16px;

    cursor: pointer;
}

#contact-confirm-back-button {
    background: #ffffff;
    border: 1px solid #8B6B4A;

    color: #8B6B4A;
}

#contact-confirm-back-button:hover {
    background: #F3E8DC;
}
/* ==============================
   個別相談：予約最終確認モーダル
============================== */

#booking-final-confirm-modal .contact-confirm-modal-backdrop {
    background: rgba(0, 0, 0, 0.35);
}

#booking-final-confirm-modal .contact-confirm-modal-dialog {
    width: 90%;
    max-width: 420px;
    max-height: calc(100vh - 60px);
    padding: 32px;

    background: #FFFDF9;
    border: 1px solid #E8D8C4;
    border-radius: 10px;

    color: #8B6B4A;
    text-align: center;
}

#booking-final-confirm-modal .contact-confirm-modal-dialog h2 {
    margin: 0 0 28px;

    color: #8B6B4A;

    font-size: 18px;
    font-weight: bold;
}

#booking-final-confirm-modal .logout-confirm-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

#booking-final-confirm-modal .logout-confirm-yes,
#booking-final-confirm-modal .logout-confirm-no {
    min-width: 90px;
    width: 110px;
    padding: 12px 24px;

    border: 1px solid #8B6B4A;
    border-radius: 6px;

    font: inherit;
    font-weight: bold;
    cursor: pointer;
}

#booking-final-confirm-modal .logout-confirm-yes {
    background: #8B6B4A;
    color: #ffffff;
}

#booking-final-confirm-modal .logout-confirm-no {
    background: #ffffff;
    color: #8B6B4A;
}

#booking-final-confirm-modal .logout-confirm-yes:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

#booking-final-confirm-modal .logout-confirm-no:hover {
    transform: translateY(-2px);
    background: #FFF3E0;
}


/* ==============================
   お問い合わせ：確認モーダル
   スマートフォン
============================== */

@media (max-width: 650px) {

    .contact-confirm-modal {
        padding: 20px;
    }

    .contact-confirm-modal-dialog {
        max-height: calc(100vh - 40px);

        padding: 28px 22px;
    }

    .contact-confirm-modal-dialog h2 {
        margin-bottom: 25px;

        font-size: 22px;
    }
        .contact-confirm-summary-row {
        grid-template-columns: 1fr;
    }

    .contact-confirm-summary-label,
    .contact-confirm-summary-value {
        padding: 11px 14px;
        font-size: 14px;
    }
    .contact-confirm-section {
        margin-bottom: 24px;
    }

    .contact-confirm-section h3 {
        font-size: 16px;
    }

    .contact-confirm-section p {
        font-size: 14px;
    }

    .contact-confirm-actions {
        flex-direction: column;
        align-items: center;

        margin-top: 32px;
    }

    .contact-confirm-actions .download-button {
        width: 100%;
        max-width: 320px;
    }
}
/* ==============================
   お問い合わせ：プライバシーポリシー詳細
============================== */
.contact-confirm-modal-dialog.contact-privacy-mode {
    height: calc(100vh - 60px);
    overflow-y: hidden;

    display: flex;
    flex-direction: column;
}
#contact-privacy-view:not([hidden]) {
    min-height: 0;
    flex: 1;

    display: flex;
    flex-direction: column;
}
.contact-privacy-header {

    padding: 0 0 18px;

    background: #ffffff;
    border-bottom: 1px solid #E8DED3;
}

.contact-privacy-header h2 {
    margin: 0;

    color: #8B6B4A;

    font-size: 26px;
    font-weight: 700;

    line-height: 1.5;
    text-align: center;
}

.contact-privacy-back-button {
    position: relative;
    display: inline-block;

    margin: 0 0 16px;
    padding: 0;

    border: 0;
    background: transparent;

    color: #2563EB;

    font-family: inherit;
    font-size: 15px;
    font-weight: 600;

    text-decoration: none;
    cursor: pointer;
}

.contact-privacy-back-button::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: -2px;

    width: 0;
    height: 2px;

    background: #123A8C;

    transform: translateX(-50%);
    transition: width 0.23s ease;
}

.contact-privacy-back-button:hover::after {
    width: 100%;
}

.contact-privacy-back-button:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.20);
    outline-offset: 4px;
}

.contact-privacy-body {
    min-height: 0;
    overflow-y: auto;
    flex: 1;
    padding-top: 28px;

    color: #6F5238;

    font-size: 15px;
    font-weight: 500;

    line-height: 1.9;
}

.contact-privacy-body > p:first-child {
    margin-top: 0;
}

.contact-privacy-section {
    margin-top: 34px;
}

.contact-privacy-section h3 {
    margin: 0 0 12px;

    color: #8B6B4A;

    font-size: 18px;
    font-weight: 700;

    line-height: 1.6;
}

.contact-privacy-section p {
    margin: 0 0 14px;
}

.contact-privacy-section ul,
.contact-privacy-section ol {
    margin: 0 0 14px;
    padding-left: 1.8em;
}

.contact-privacy-section li {
    margin-bottom: 6px;
}

.contact-privacy-updated {
    margin: 36px 0 0;

    font-size: 14px;
    text-align: right;
}

@media (max-width: 650px) {

    .contact-privacy-header {
        padding-bottom: 16px;
    }

    .contact-privacy-header h2 {
        font-size: 22px;
    }

    .contact-privacy-back-button {
        margin-bottom: 14px;

        font-size: 14px;
    }

    .contact-privacy-body {
        padding-top: 24px;

        font-size: 14px;
    }

    .contact-privacy-section {
        margin-top: 30px;
    }

    .contact-privacy-section h3 {
        font-size: 16px;
    }

    .contact-privacy-updated {
        margin-top: 30px;

        font-size: 13px;
    }
}
/* ==============================
   お問い合わせ：送信完了
============================== */

.contact-complete {
    position: relative;
    text-align: center;
    padding: 10px 5px;
}

.contact-complete-check {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #8B6B4A;
    color: #ffffff;

    font-size: 38px;
    font-weight: 700;
}

.contact-complete h2 {
    margin-bottom: 25px;
}

.contact-complete hr {
    margin: 0 0 30px;
    border: 0;
    border-top: 1px solid #D8C8B8;
}

.contact-complete p {
    margin: 0 0 25px;
    color: #6F5238;
    font-size: 16px;
    line-height: 2;
}

.contact-complete-button {
    width: 270px;
    margin-top: 10px;
    font-family: inherit;
    font-size: 16px;
    cursor: pointer;
}

.contact-complete-close {
    position: absolute;
    top: -18px;
    right: -5px;

    padding: 5px 10px;

    border: 0;
    background: transparent;
    color: #8B6B4A;

    font-size: 36px;
    line-height: 1;
    cursor: pointer;
}
/* ==============================
   個別相談ページ
============================== */

.consultation-calendar {
    width: 75%;
    max-width: 1000px;
    margin: 20px auto 0;
    padding-bottom: 70px;
}
.consultation-calendar-heading {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    margin-bottom: 25px;
}

.consultation-calendar-heading h2 {
    grid-column: 2;
    margin: 0;
}

.consultation-month-prev {
    grid-column: 1;
    justify-self: start;
}

.consultation-month-next {
    grid-column: 3;
    justify-self: end;
}

.consultation-month-prev,
.consultation-month-next {
    color: #8B6B4A;
    font-weight: 600;
    text-decoration: none;
}

.consultation-month-prev:hover,
.consultation-month-next:hover {
    text-decoration: underline;
}

.consultation-month-prev:focus-visible,
.consultation-month-next:focus-visible {
    outline: 3px solid rgba(139, 107, 74, 0.30);
    outline-offset: 3px;
}
.consultation-calendar-month {
    margin-bottom: 60px;
}

.consultation-calendar-month h2 {
    margin: 0;
    color: #8B6B4A;
    font-size: 25px;
    font-weight: 700;
    text-align: center;
}

.consultation-calendar-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.consultation-calendar-table th,
.consultation-calendar-table td {
    border: 1px solid #D8C8B8;
    text-align: center;
}

.consultation-calendar-table th {
    padding: 10px 5px;
    background: #FFF3E0;
    color: #8B6B4A;
    font-weight: 700;
}

.consultation-calendar-day,
.consultation-calendar-empty {
    height: 90px;
}

.consultation-calendar-link,
.consultation-calendar-unavailable {
    width: 100%;
    height: 100%;
    padding: 10px 5px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    color: #A68A6A;
    text-decoration: none;
}

.consultation-calendar-link {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.consultation-calendar-link:hover {
    background: #FFF3E0;
}

.consultation-calendar-link:focus-visible {
    outline: 3px solid rgba(139, 107, 74, 0.30);
    outline-offset: -4px;
}

.consultation-calendar-link strong,
.consultation-calendar-unavailable strong {
    margin-top: 4px;
    color: #8B6B4A;
    font-size: 20px;
}


/* ==============================
   個別相談：相談枠
============================== */

.consultation-slots-public {
    width: 75%;
    max-width: 800px;
    margin: 45px auto 0;
    padding-bottom: 35px;
}

.consultation-slots-public h2 {
    margin: 0 0 45px;
    color: #8B6B4A;
    font-size: 25px;
    font-weight: 700;
    text-align: center;
}

.consultation-slot-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.consultation-slot-item {
    margin-bottom: 14px;
}

.consultation-slot-link,
.consultation-slot-unavailable {
    display: block;
    width: 100%;
    padding: 15px 20px;

    border: 1px solid #D8C8B8;
    border-radius: 6px;

    color: #8B6B4A;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

.consultation-slot-link {
    background: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.consultation-slot-link:hover {
    background: #FFF3E0;
}

.consultation-slot-link:focus-visible {
    outline: 3px solid rgba(139, 107, 74, 0.30);
    outline-offset: 2px;
}

.consultation-slot-unavailable {
    background: #faf8f4;
}

.consultation-slots-public > p {
    margin: 45px 0 0;
    text-align: center;
}

.consultation-back-button {
    display: inline-block;
    min-width: 220px;
    padding: 12px 24px;

    border: 1px solid #8B6B4A;
    border-radius: 5px;

    background: #ffffff;
    color: #8B6B4A;

    font-weight: 600;
    text-align: center;
    text-decoration: none;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}

.consultation-back-button:hover {
    background: #FFF3E0;
    transform: translateY(-2px);
}

.consultation-back-button:focus-visible {
    outline: 3px solid rgba(139, 107, 74, 0.30);
    outline-offset: 3px;
}
.consultation-return-button {
    width: auto;
    min-width: 220px;
    padding: 12px 24px;
    white-space: nowrap;
}
/* ==============================
   個別相談：予約入力フォーム
============================== */

.consultation-booking-form {
    margin-top: 45px;
}
.consultation-slots-public > p.consultation-selected-time {
    margin: 0 0 45px;
    font-weight: 700;
    text-align: center;
}

.consultation-booking-confirmation h3 {
    margin: 0 0 45px;
    text-align: center;
}
/* 個別相談：確認画面の操作ボタン */
.consultation-confirm-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-top: 45px;
}

.consultation-confirm-actions p {
    margin: 0;
}

@media (max-width: 650px) {
    .consultation-confirm-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .consultation-confirm-actions .consultation-back-button {
        width: 100%;
    }
}

/* ==============================
   個別相談ページ
   スマートフォン
============================== */

@media (max-width: 650px) {

    .consultation-calendar {
        width: auto;
        margin: 55px 20px 0;
        padding-bottom: 55px;
    }

    .consultation-calendar-month {
        margin-bottom: 45px;
    }

    .consultation-calendar-month h2 {
        font-size: 22px;
    }

    .consultation-calendar-table th {
        padding: 8px 2px;
        font-size: 14px;
    }

    .consultation-calendar-day,
    .consultation-calendar-empty {
        height: 70px;
    }

    .consultation-calendar-link,
    .consultation-calendar-unavailable {
        padding: 6px 2px;
        font-size: 14px;
    }

    .consultation-calendar-link strong,
    .consultation-calendar-unavailable strong {
        font-size: 18px;
    }

    .consultation-slots-public {
        width: auto;
        margin: 0 20px;
        padding-bottom: 80px;
    }

    .consultation-slots-public h2 {
        font-size: 22px;
    }

    .consultation-slot-link,
    .consultation-slot-unavailable {
        padding: 14px 10px;
        font-size: 15px;
    }
}