@charset "UTF-8";

/* 変数定義 */
:root {
    /* カラー */
    --color-primary: #F6E27A;
    --color-secondary: #FAF5F3;
    --color-accent: #b99572;
    --color-footer: #F6E27A;
    --color-black: #333;

    /* レイアウト */
    --width-content: 1200px;
    --space-unit: 60px;
    --space-section: 60px;

    /* その他 */
    --flex-gap: 30px;
    --duration: 0.7s;
}

/* ベース */
html {
    overflow-x: hidden;
    width: 100%;
}
body {
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
    overflow-x: hidden;
    font-size: 20px;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100vw;
    color: #333;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}
video {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* レイアウト */
.wrapper {
    width: 100%;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box; 
}

/* 全体の固定背景 */
.paper-bg {
    position: fixed;
    width: 100%;
    height: 100vh;
    z-index: -2;
    top: 0;
    left: 0;
    right: 0;
}
.paper-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

/* sec-01だけ個別背景を維持 */
.sec-01 {
    background-image: url(../img/bg-sec02-02.webp);
    background-color: rgba(255,255,255,0.8);
    background-blend-mode: lighten;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    padding: 60px 0;
    position: relative;
}

/* その他のセクションは背景画像なし */
.sec-02, .sec-03, .sec-04, .sec-05, .qa, .news {
    padding: 60px 0;
}
/* ローディング画面の背景（ここは前回と同じ） */
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #b99572;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s, visibility 0.5s;
}

/* ファビコン画像のサイズとアニメーション設定 */
.loader-logo {
    width: 100px;  /* 画像の大きさ（好みで調整してください） */
    height: auto; /* 縦横比を維持 */
    animation: pulse 1.5s infinite ease-in-out;
}

/* ふわふわ動くアニメーションの定義 */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* 読み込み完了後に消す設定（前回と同じ） */
#loading.loaded {
    opacity: 0;
    visibility: hidden;
}


/* 共通 */
.sec-ttl {
    font-size: 36px;
    font-weight: lighter;
    text-align: center;
    color: #333;
}
.lead {
    font-size: 20px;
    font-weight: lighter;
    text-align: left;
}
.ttl-box {
    padding-bottom: var(--space-section);
}
.eg {
    font-size: 20px;
    text-align: center;
    padding: 5px 0;
}
/* header */
.header {
    background-color: #e1d38d;
    padding: 0 30px;
} 

/* ロゴ */
.logo img {
    margin: 0;
    max-height: 90px;
}

/* ページトップボタン */
.pagetop {
    display: none;
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 9999;
    width: 70px;
    height: 70px;
    background-color: var(--color-accent);
    border-radius: 50%;
    opacity: 1;
}
.pagetop:before {
    position: absolute;
    content: "";
    height: 10px;
    width: 10px;
    border-top: 3px solid var(--color-secondary);
    border-right: 3px solid var(--color-secondary);
    translate: 0 20%;
    rotate: -45deg;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
}

.pagetop:hover {
    transition: all var(--duration);
}

/* leftarea */
.left-area {
    width: 100%;
    background-color: #b99572;
}

.left-area .main-movie {
    width: 90%;
    max-height: 100%; /* 親の高さを超えないように */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 50% 50% 0 0; /* 窓の形 */
}

.main-movie::before {
    content: "";
    position: absolute;
    top: 15px;
    bottom: 15px;
    left: 15px;
    right: 15px;
    border-radius: 50% 50% 0 0;
    border: 1px solid rgba(255, 255, 255, 0.6);
    pointer-events: none;
    z-index: 1;
}

.main-movie::after {
    content: "";
    position: absolute;
    top: 30px;
    bottom: 30px;
    left: 30px;
    right: 30px;
    border-radius: 50% 50% 0 0;
    border: 1px solid rgba(255, 255, 255, 0.6);
    pointer-events: none;
    z-index: 1;
}

.left-area video {
    width: 100%;
    height: 100%; /* 親の高さに合わせる */
    object-fit: cover;
}
/* rightarea */
.right-area {
    width: 100%;
    margin-left: 0;
    box-sizing: border-box;
}

/* セクション03 個別記事 */
.left-area2 {
    width: 50%;
    margin-left: calc(50% - 600px);
    }

/* グローバルナビ */
.nav {
    background: #e1d38d;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-list {
    display: flex;
    gap: var(--flex-gap);
}
.nav-link {
    position: relative;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #b99572;
    transition: width 0.6s ease;
}
.nav-link:hover::after {
    width: 100%;
}
.nav-link:hover {
    color: #b99572;
}


/* メインビジュアル */
.slider {
    overflow: hidden;
    width: 100%;
}

.slider img {
    width: 100%;
    margin: 0 auto;
    padding: 30px 30px;
    border-radius: 40px;
}

/* セクション01 */
.sec-01 {
    align-items: center;
    padding: 60px 30px;
}
.sec-01 .wrapper {
    display: grid;;
    grid-template-rows: auto 1fr;
    box-sizing: border-box;
    justify-content: center;
}

.catchphrase {
    font-size: 30px;
    text-align: center;
}

.text-and-cards .lead {
    text-align: left;
    width: 100%;
    line-height: 1.5;
}


/* セクション02 */
.sec-02 {
    padding: 60px 30px;
    border-bottom: 1px dashed var(--color-accent);
}
.ttl-box {
    text-align: center;
}
.sec-ttl {
    font-size: 2rem;
    font-weight: normal;
    letter-spacing: 0.1em;
}
.eg {
    font-size: 0.8rem;
    color: var(--color-accent);
    letter-spacing: 0.2em;
    font-family: sans-serif; 
    text-transform: uppercase;
}
.item {
    display: grid;
    grid-template-columns: repeat(12, 1fr); /* 12分割グリッド */
    align-items: center;
    margin-bottom: 120px; /* アイテム間の余白 */
}
.item:last-child {
    margin-bottom: 0;
}

/* 画像エリア */
.image {
    grid-column: 1 / 7;
    grid-row: 1;
    margin: 0;
    z-index: 1;
}

.image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 3 / 2; /* 画像比率を固定(重要) */
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05); /* 非常に薄い影 */
}

/* テキストコンテンツエリア(白い箱) */
.text-content {
    grid-column: 6 / 13; 
    grid-row: 1;
    z-index: 2;
    background: #f7f7f7;
    padding: 60px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0, 0.05);
}

/* 中身のレイアウト */
.text-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* 左揃え */
}

/* 数字のデザイン */
.number {
    font-family: sans-serif;
    font-size: 3rem;
    color: #F6E27A;
    margin-bottom: -10px; 
    font-weight: bold;
}
.box-ttl {
    font-size: 1.5rem;
    letter-spacing: 0.15em;
    margin-bottom: 24px;
    border-bottom: 1px dashed var(--color-accent);
    padding-bottom: 10px;
    width: 100%;
}
.box-txt {
    font-size: 0.95rem;
    line-height: 2;
    color: var(--color-black);
    margin: 0;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", sans-serif; 
}
/* --- 逆向き(偶数番目)のレイアウト --- */
.item.reverse .image {
    grid-column: 7 / 13;
}

.item.reverse .text-content {
    grid-column: 1 / 8;
}

/* セクション03 */
.sec-03 {
    padding: 60px 30px;
    border-bottom: 1px dashed var(--color-accent);
}
.card-container {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    padding-bottom: 60px;
}
.card-img {
    width: 555px;
    height: 350px;
    position: relative;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    position: absolute;
    top: 0;  /* 念のため指定 */
    left: 0; /* 2枚とも左端（同じ位置）に配置 */
}

/* 2枚目の画像（上に重なる画像）の設定 */
.card-img img:last-of-type {
    opacity: 0; /* 最初は透明にして見えなくする */
    z-index: 2; /* 念のため手前に配置 */
    transition: opacity .7s; /* 透明度を0.7秒かけて変化させる */
}

.card-img:hover img:last-of-type {
    opacity: 1;
}

.card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: calc(50% - 70px);
    height: 100%;
}
.card-body::after {
    content: '';
    display: block;
    border-bottom: 1px dashed var(--color-accent);
    position: absolute;
    bottom: -110px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
}
.card-ttl {
    padding-bottom: 30px;
    text-align: center;
}
.card-txt {
    margin: 0;
    text-align: left;
}
.about-btn {
    text-align: right;
}
.textlink02 a {
    position: relative;
    display: inline-block;
    text-decoration: none;

}

.textlink02 a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    border-bottom: 1px dashed var(--color-accent);
    transition: width 0.5s;
}

.textlink02 a:hover::after {
    width: 100%;
}
.gift {
    padding: 60px 30px;
}


/* セクション04 */
.sec-04 {
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
    border-bottom: 1px dashed var(--color-accent);
}

.slideshow {
    width: 100%;
}

.slideshow img {
    height: 400px;
    margin: 0;
    display: block;
    object-fit: cover;
    width: auto !important;
}

/* セクション05 */
.sec-05 {
    padding: 60px 30px;
    border-bottom: 1px dashed var(--color-accent);
}
.sec-05 iframe {
    width: 100%;
    height: 500px;
    object-fit: cover; 
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.sec-05 address {
    padding: 30px 0;
    text-align: left; 
    color: var(--color-black);
    line-height: 1.5;
}
.sec-05 .address-content {
    justify-items: center;
}
.insta {
    padding: 20px 30px 20px;
    border: 1px solid var(--color-black);
    border-radius: 9999px;
    display: inline-block;
    color: #333;
    transition: 0.25s ease;
}
.insta:hover {
    color: var(--color-accent); /* ここに変更したい色を指定（例：タルトっぽいゴールド） */
    border-color: var(--color-accent);
}

/* QA */
.qa {
    padding: 60px 30px;
    border-bottom: 1px dashed var(--color-accent);
}
.qa-6 {
    margin-bottom: 10px;
    border-bottom: 1px solid #E6E6E6;
}
.qa-6 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em 1em 3em;
    color: #333333;
    font-weight: 600;
    cursor: pointer;
}
.qa-6 summary::before,
.qa-6 p::before {
    position: absolute;
    left: 1em;
    font-weight: 600;
    font-size: 1.3em;
}
.qa-6 summary::before {
    color: var(--color-accent);
    content: "Q";
}
.qa-6 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #333333b3;
    border-right: 3px solid #333333b3;
    content: '';
    transition: transform .5s;
}
.qa-6[open] summary::after {
    transform: rotate(225deg);
}
.qa-6 p {
    position: relative;
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 3em 1.5em;
    color: #333;
    transition: transform .5s, opacity .5s;
}
.qa-6[open] p {
    transform: none;
    opacity: 1;
}
.qa-6 p::before {
    color: #F6E27A;
    line-height: 1.2;
    content: "A";
}

/* news */
.news {
    padding: 60px 30px;
    width: 100%;
}
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sub_ttl {
    font-size: 30px;
    text-align: center;
    margin-bottom: 40px;
}
/* ここからがニュース記事のCSS */
.news_list_item {
    padding: 25px 0;
    border-bottom: 1px solid #E6E6E6;
}
.news_list_item:first-child {
    border-top: 1px solid #E6E6E6;
}
.news_list_item a {
    position: relative;
    display: flex;
    padding-right: 30px;
}
.news_list_date {
    font-size: 20px;
    display: flex;
    margin-right: 60px;
    align-items: center;
    flex-shrink: 0;
}
.news_list_date time {
    width: 100px;
    font-size: 20px;
}
.news_list_item a > p {
    font-size: 20px;
    line-height: 1.6;
    margin: 0;
}
.news_list_item a {
    transition: color 0.3s ease;
}

/* 1. 通常時の設定：色がふわっと変わるように準備 */
.news_list_item a,
.news_list_item .news_list_date,
.news_list_item p {
    color: #333;
    transition: color 0.3s ease;
}

/* 2. ホバー時の設定：aタグにカーソルが乗ったら中身の色を一括変更 */
.news_list_item a:hover,
.news_list_item a:hover .news_list_date,
.news_list_item a:hover p {
    color: var(--color-accent); /* ここに変更したい色を指定（例：タルトっぽいゴールド） */
}
.btn2 {
    text-align: right;
}
.textlink03 a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    padding: 30px 0 0 0;

}
.textlink03 a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    border-bottom: 1px dashed var(--color-accent);
    transition: width 0.5s;
}
.textlink03 a:hover::after {
    width: 100%;
}

/* news-single */

.news-single { /* news-single とは異なるので注意 */
    width: calc(100% + -250px);
    padding: 60px 300px;
}
.news-single .wrapper {
    display: flex;
    flex-direction: column; /* 縦に並べる */
    align-items: center;    /* 中央寄せ */
}

.news-single .article-date,
.news-single .article-body,
.news-single .news-single-img,
.news-single .sec-ttl {
    width: 100%; /* 各要素が横幅いっぱい（wrapperの幅）に広がるようにする */
}
.news-single .sec-ttl { 
    font-size: 1.5em;
    margin-bottom: 60px;
    text-align: left;
    font-weight: normal;
    }
.news-single .article-date { 
    text-align: left;
    display: block; 
    }
    
.news-single .article-body p {
    font-size: 1em;
    line-height: 1.8;
    text-align: justify;
    padding: 30px 0;
    }

.article-body-content {
    padding: 1em 1.5em;
    margin: 2em 0;
    border: solid 1px #333;
    line-height: 1.8;
}

.article-body-content p {
    margin: 0;
    padding: 0;
}

.single-btn {
    margin: 60px auto 0;
    text-align: right; 
}

.textlink04 a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    text-align: left;
}

.textlink04 a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    border-bottom: 1px dashed var(--color-accent);
    transition: width 0.5s;
}

.textlink04 a:hover::after {
    width: 100%;
}

/* フッター */
.footer {
    width: calc(100% + 60px);
    margin: 0 -30px;
}

.footer2 {
    width: calc(100% + -230px);
}

.copyright {
    background-color: #F6E27A;
    padding: 30px 0;
    text-align: center;
    justify-content: center;
}
.wrap {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main {
    flex: 1;
}

/* アニメーション関連のCSS */
.f-up {
    opacity: 0;
}

.f-up.fadeup {
    animation: fadeupanime 1s forwards;
}

@keyframes fadeupanime {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ハンバーガーメニュー */
.menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: 1px solid #b99572;
    border-radius: 4px;
    cursor: pointer;
    padding: 8px 10px;
    z-index: 10;
    box-sizing: content-box;
}

.menu span {
    width: 100%;
    height: 2px;
    background-color: #b99572;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 1px;
}

.header.open .menu span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.header.open .menu span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.header.open .menu span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* オーバーレイ */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(190, 170, 110, 0.85);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    z-index: 999;
}

.header.open + .overlay {
    opacity: 1;
    visibility: visible;
}

/* レスポンシブ対応 */
/* PC (1400px以上) */
@media screen and (min-width: 1400px) {
    /* 左側の動画を固定位置に */
    .left-area {
        position: fixed;
        top: 0;
        left: 0;
        width: calc(50% - 250px);
        height: 100vh;
        padding: 0 30px;
        background-color: #b99572;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .left-area .main-movie {
        max-height: 90vh; /* PC時は90vhに制限 */
    }
    
    .header {
        position: fixed;
        top: 0;
        right: 0;
        width: 250px;
        height: 100vh;
        z-index: 1000;
        padding: 30px;
        background-color: #e1d38d;
    }
    
    .nav {
        height: 100%;
        flex-direction: column;
        justify-content: flex-start;
        gap: 60px;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 30px;
        width: 100%;
    }
    
    .nav-link {
        display: block;
        width: 100%;
    }
    
    /* 右側コンテンツは50%キープ */
    .right-area {
        width: 50%;
        margin-left: calc(50% - 250px);
    }

}

/* タブレット (768px〜1399px) */
@media screen and (min-width: 768px) and (max-width: 1399px) {
    /* 左側の動画をライトエリアの上部に表示 */
    .left-area {
        width: calc(100% + 30px);
        margin: 0 -15px;
        padding: 30px;
        padding-top: 92px;
        background-color: #b99572;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100vh;
    }
    
    /* 右側エリアを全幅に */
    .right-area {
        width: 100%;
        margin-left: 0;
    }
    
    /* ヘッダーを上部固定 */
    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: #e1d38d;
    }
    
    /* ハンバーガーメニューを表示 */
    .menu {
        display: flex;
    }
    
    /* ナビゲーションリストを横からスライド */
    .nav-list {
        display: flex;
        position: fixed;
        top: 0;
        right: -30%;
        width: 30%;
        height: 100vh;
        background: #e1d38d;
        flex-direction: column;
        gap: 30px;
        padding: 100px 30px 30px;
        transition: right 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
    }
    
    .nav-list li {
        text-align: left;
        width: 100%;
    }
    
    .nav-list .nav-link {
        display: block;
        padding: 10px 0;
        font-size: 20px;
        transition: all 0.3s ease;
    }
    
    .nav-list .nav-link:hover {
        padding-left: 10px;
    }
    
    .header.open .nav-list {
        right: 0;
    }
    
    /* ヘッダーのナビを調整 */
    .nav {
        position: relative;
    }
    
    /* セクション02のグリッド比率を調整 */
    .item .image {
        grid-column: 1 / 8;
    }
    
    .item .text-content {
        grid-column: 7 / 13;
        padding: 30px;
    }
    
    /* リバースのグリッド比率を調整 */
    .item.reverse .image {
        grid-column: 6 / 13;
    }
    
    .item.reverse .text-content {
        grid-column: 1 / 7;
    }
    
    /* セクション03を50%ずつ横並びに */
    .card-img {
        width: 50%; 
        height: auto;
        aspect-ratio: 555 / 350;
    }
    
    .card-body {
        width: 50%;
    }
    
    .card-body::after {
        bottom: -46px;
    }
    
    /* 4. 記事セクション内部の調整 */
    .news {
        width: 100%;
        padding: 40px 30px;
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    /* お好みで：タイトルなどを中央揃えにする場合 */
    .sec-ttl {
        text-align: center; 
    }
    
    /* 戻るボタンの位置調整 */
    .textlink04 {
        margin-top: auto;
        padding-top: 50px;
        padding-bottom: 50px;
        right: 60px;
    }

    .news-single {
        width: calc(100% - 0px);
        padding: 120px 60px 30px 60px;
    }

    .news-single .sec-ttl {
        font-size: 1.5em; /* フォントサイズを調整 */
        margin-bottom: 30px;
    }

    .news-single .article-date {
        font-size: 0.85em;
        margin-bottom: 30px;
    }

    .news-single .article-body p {
        font-size: 0.95em;
        line-height: 1.55;
    }

    .footer2 {
        width: 100%;
    }
}

/* スマホ (767px以下) */
@media screen and (max-width: 767px) {
    /* 左側の動画をライトエリアの上部に表示 */
    .left-area {
        width: calc(100% + 30px);
        margin: 0 -15px;
        padding: 15px;
        padding-top: 105px;
        background-color: var(--color-accent);
        display: flex;
        justify-content: center;
        align-items: center;
        height: 80vh;
    }
    
    /* 右側エリアを全幅に */
    .right-area {
        width: 100%;
        margin-left: 0;
    }
    
    /* ヘッダーを上部固定 */
    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background-color: #e1d38d;
    }
    
    /* ハンバーガーメニューを表示 */
    .menu {
        display: flex;
    }
    
    /* ナビゲーションリストを横からスライド（スマホは50%幅） */
    .nav-list {
        display: flex;
        position: fixed;
        top: 0;
        right: -50%;
        width: 50%;
        height: 100vh;
        background: #e1d38d;
        flex-direction: column;
        gap: 30px;
        padding: 100px 30px 30px;
        transition: right 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
    }
    
    .nav-list li {
        text-align: left;
        width: 100%;
    }
    
    .nav-list .nav-link {
        display: block;
        padding: 10px 0;
        font-size: 16px;
        transition: all 0.3s ease;
    }
    
    .nav-list .nav-link:hover {
        padding-left: 10px;
    }
    
    .header.open .nav-list {
        right: 0;
    }
    
    .lead {
        font-size: 15px;
    }

    .sec-01-img img {
        width: 50%;
    }

    /* セクション02を縦並びに */
    .item {
        display: flex;
        flex-direction: column;
        margin-bottom: 60px;
    }
    
    .item .image {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .item .text-content {
        width: 100%;
        padding: 30px;
    }
    
    /* 逆順も同じレイアウトに */
    .item.reverse {
        flex-direction: column;
    }
    
    .item.reverse .image {
        width: 100%;
    }
    
    .item.reverse .text-content {
        width: 100%;
    }
    
    /* セクション03を縦並びに */
    .card-container {
        flex-direction: column;
        gap: 20px;
        padding-bottom: 60px;
    }
    
    .card-img {
        width: 100%; 
        height: auto;
        aspect-ratio: 555 / 350;
    }
    
    .card-body {
        width: 100%;
    }
    
    .card-body::after {
        bottom: -30px;
        width: 50%;
    }
    
    /* お知らせを縦並びに */
    .news_list_item a {
        flex-direction: column;
        align-items: flex-start;
        padding-right: 0;
    }
    
    .news_list_date {
        margin-bottom: 10px;
        width: 100%;
    }
    
    .news_list_item a > p {
        font-size: 15px;
    }

    /* 記事セクション自体の余白調整 */
    .news {
        padding: 60px 30px;
        width: 100%;
    }
    .news-single {
        width: 100%; /* スマホでは幅を100%に */
        padding: 120px 30px 30px 30px; /* パディングを調整 */
    }

    .news-single .sec-ttl {
        font-size: 1.5em; /* フォントサイズを小さく */
        margin-bottom: 30px;
    }

    .news-single .article-date {
        font-size: 0.8em;
        margin-bottom: 10px;
    }

    .news-single .article-body p {
        font-size: 0.8em; /* フォントサイズを小さく */
        line-height: 1.6; /* 行の高さを調整 */
    }

    .article-body-content p {
        font-size: 1rem;
    }

    .textlink04 {
        right: 30px;
        font-size: 1rem;
    }

    .footer2 {
        width: 100%
    }
}

/* --------------------------------------------------
画像の切り替え動作（共通・PC・スマホ）
   -------------------------------------------------- */

/* 1. PC（マウス操作ができる端末）だけホバーで動くようにする */
@media (hover: hover) {
    .card-img:hover img {
        left: 0;
    }
}

/* 2. スマホ・タブレット（JavaScriptでクラスがついた時）に動くようにする */
.card-img.is-active img {
    left: 0;
}