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

* {
    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;
}

.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-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;
}

.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: #f7efe5;
    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 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 {
        flex-wrap: wrap;
        justify-content: center;

        gap: 8px 20px;
    }

    .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-placeholder {
    width: 100%;
    max-width: 390px;
    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 a {
    display: flex;
    flex-direction: column;

    color: #8B6B4A;
    text-decoration: none;
}

.post-navigation a:hover {
    text-decoration: underline;
}

.prev-post {
    text-align: left;
}

.next-post {
    text-align: right;
}
.post-navigation span {
    margin-bottom: 8px;

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

.post-navigation strong {
    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;
}