* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

p {
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-weight: 400;
}

body {
    color: #333;
    line-height: 1.6;
}

.logo {
    height: 100%;
}

.logo img {
    padding-left: 2%;
    height: 100%;
    width: auto;
    display: block;
    /* 念のため上限 */
}

/*ニュースコンテンツ部パディング*/
main {
    padding: 3.3vmax;
}

/*ニュースコンテンツ部パディング*/

/*ニュースセクション*/
.news-section {
    max-width: 960px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.news-title {
    font-family: "Noto Serif JP", serif;
    font-size: 2.8rem;
    color: #c4836a;
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.news-title span {
    font-size: 1rem;
    color: #c4836a;
}

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

.news-list li {
    display: flex;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid #ddd;
    font-size: 0.95rem;
    color: #333;
}

.news-date {
    width: 100px;
    color: #777;
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-weight: 400;
}

.news-label {
    font-size: 0.8rem;
    padding: 0.3rem 0.7rem;
    border-radius: 2px;
    margin-right: 1rem;
    font-weight: bold;
    display: inline-block;
}

.label-gray {
    background-color: #888;
    color: #fff;
}

.label-orange {
    background-color: #e3b2a4;
    color: #fff;
}

.news-text {
    flex: 1;
    font-family: "Noto Serif JP", serif;
    color: inherit;
    text-decoration: none;
    font-optical-sizing: auto;
    font-weight: 400;
    letter-spacing: 0.03em;
}

/* ハンバーガーメニュー用 */

.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}


.hero {
    height: 75vh;
    background: url('https://via.placeholder.com/1920x800') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 70px;
    position: relative;
}

.hero h1 {
    background: rgba(255, 255, 255, 0.8);
    padding: 1rem 2rem;
    border-radius: 4px;
    font-size: 2rem;
    color: #111;
}

main {
    max-width: 900px;
    margin: 0 auto;
}

section h2 {
    margin-bottom: 1rem;
    font-size: 1.75rem;
    border-left: 4px solid #333;
    padding-left: 0.5rem;
}

section p {
    margin-top: 1rem;
    color: #555;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.fade-in.in-view {
    opacity: 1;
    transform: translateY(0);
}

/*カバー画像*/
.cover-text {
    background-image: url('../img/cover.webp');
    /* お好きな背景画像パスに変更 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    height: 1000px;
    padding: 4rem 2rem;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

/* 背景に半透明の黒フィルターを重ねて文字を読みやすくする */
.cover-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    /* 透明度調整OK */
    z-index: 0;
}

.cover-text p,
.cover-text h2 {
    position: relative;
    z-index: 1;
}

/* プロフィール部分 */

.about-section {
    width: 100%;
    height: auto;
    background-color: #f7efec;
    padding-top: 12vw;
    padding-bottom: 12vw;
}

.about-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.about-text {
    flex: 1 1 520px;
    font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    color: #3b3b3b;
}

.about-text h2 {
    color: #c4836a;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid #c4836a;
    padding-left: 0.7rem;
}

.about-text h3 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    font-weight: normal;
}

.about-text p {
    margin-bottom: 1.2rem;
    line-height: 1.9;
    letter-spacing: 0.05em;
}

.about-image {
    flex: 1 1 420px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/*ボタンエリア*/
.button-area {
    justify-content: center;
}

.button01 {
    margin: 50px;
    display: flex;
}

/*ボタンエリア*/

/* 001 */
.button01 a {
    text-decoration: none;
    background: #fff;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 300px;
    padding: 10px 30px;
    color: #000;
    transition: 0.3s ease-in-out;
    font-weight: 500;
}

.button01 a:before {
    content: '';
    position: absolute;
    top: calc(50% - 2px);
    right: -2em;
    transform: translateY(calc(-50% - 2px)) rotate(30deg);
    width: 12px;
    height: 2px;
    background-color: #d4967d;
    transition: 0.3s;
}

.button01 a:after {
    content: '';
    position: absolute;
    top: 50%;
    right: -2em;
    transform: translateY(-50%);
    width: 60px;
    height: 2px;
    background-color: #d4967d;
    transition: 0.3s;
}

.button01 a:hover:before,
.button01 a:hover:after {
    right: -2.5em;
}

.button01 a:hover {
    background: #d4967d;
    color: #fff;
}

/* メディアクエリ */
/* ───────────── スマホ用：画面幅が768px以下のとき ───────────── */
@media screen and (max-width: 768px) {

    /* 全体共通余白調整 */
    body {
        font-size: 90%;
    }

    /* ヘッダー */
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    /* ハンバーガーの初期状態：非表示（PC時） */

    /* ヘッダー基本スタイル */
    #main-header {
        position: fixed;
        padding: 1rem 1.5rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* 右上の "menu" ボタン */
    .menu-button {
        font-family: "Noto Serif JP", serif;
        font-optical-sizing: auto;
        font-weight: 400;
        display: block;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1000;
        background: none;
        border: none;
        font-size: 1.2rem;
        color: #333;
        cursor: pointer;
    }

    .menu-button:hover {
        opacity: 1;
    }

    .cover-text {
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center top;
        background-color: #000;
        /* 背景透け対策（任意） */
        width: 100%;
        height: 50vh;
        padding: 6rem 2rem;
    }

    /* ニュースリスト */

    .news-title {
        font-size: 1.8rem;
    }

    .news-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .news-date,
    .news-label,
    .news-text {
        width: auto;
    }

    /* プロフィール（ABOUT）セクション */
    .about-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-text {
        flex: 1 1 100%;
        width: 80%;
    }

    .about-text h2 {
        font-size: 24px;
        width: 100%;
    }

    .about-image {
        flex: 1 1 100%;
    }

    .about-image img {
        width: 80%;
    }

    .about-buttons {
        flex-direction: column;
        align-items: center;
    }

    .button01 {
        margin: 50px;
        display: block;
    }

    .button01 a {
        margin: 20px;
    }
}