@charset "utf-8";

/*
VARIABLES
================================================ */

.fixed-background {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100vw;
    height: 100vh;
    background-image: url('https://megumipiano.jp/background0705.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

:root {
    --light-green: #d5edeb;
    --green: #63dbd0;
    --brown: #403632;
    --light-grey: #eee;
    --white: #fff;
    --oswald-font: 'Oswald', sans-serif;
}
title{
    font-size: 20px;
}

a{
    text-decoration: none;
    color: rgb(11, 36, 48);
}
p{
    font-size: 18px;
    line-height: 2;
    margin: 0 20px;
}
li{
    font-size: 18px;
    margin: 0 20px;
}
.main-nav{
    display: flex;
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-top: 34px;
    list-style: none;
    
}
/* 一番上の文字を右寄せに */
.page-header {
    display: flex;
    justify-content: flex-end; /* ← 右寄せ */
    align-items: center;
    padding: 10px 20px;
}

.page-header h1 {
    margin: 0;
}

.page-header h1 a {
    font-size: 36px;
    font-weight: bold;
    color: #403632;
    text-decoration: none;
}

img{
    width: 100%;
    margin: auto;
    display: flex;
}
.red_str{
    color: red;
}


.cost{
    width: 70%;
    display: block;
}
footer{
    background: #432;
    text-align: center;
    padding: 26px 0;
}
footer p {
    color: #fff;
    font-size: 0.875rem;
}
.access{
    width: 50%;
}
.center_sentence{
    text-align: center;

}
/*
/* ==== ハンバーガーメニュー ==== */
.btn-menu {
    position: fixed;
    left: 1rem;
    top: 1rem;
    z-index: 4;
    width: 42px;              /* コンパクトに */
    height: 42px;             /* 四角形に */
    padding: 8px;
    border: 2px solid #63dbd0; /* メインカラーに合わせたボーダー */
    border-radius: 8px;        /* 角を少し丸く */
    background-color: rgba(255, 255, 255, 0.9); /* 背景を柔らかい白に */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease;
}
.btn-menu:hover {
    background-color: #63dbd0;  /* ホバー時はメインカラー */
    border-color: #63dbd0;
}
.btn-menu:hover svg {
    fill: white;               /* ホバー時は白いアイコン */
}
.btn-menu svg {
    fill: #2f4f4f;             /* 深めの緑グレーで統一感 */
    width: 24px;
    height: 24px;
    margin: auto;
    display: block;
}

/* 閉じるボタン */
#menu-close {
    border: 2px solid #fff;
    background-color: transparent;
}
#menu-close svg {
    fill: #fff;
}

/* スライドメニューパネル */
#menu-panel {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 4;
    padding: 7rem 2rem 2rem;
    width: max(65vw, 220px);
    height: 100vh;
    background-color: rgba(47, 79, 79, 0.95); /* 深緑グレーの半透明 */
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    translate: 100vw;
}
.menu-list a {
    color: #d5edeb;
    text-decoration: none;
    font-size: 1.6rem;
    transition: 0.3s;
}
.menu-list a:hover {
    color: #63dbd0; /* メインカラー */
}



/* モバイル版 align-items: center;flex-direction: column;
------------------------------- */
@media (max-width: 600px) {

h1{
    font-size: 25px;
    text-align: right;
    margin-right: 0%;
    padding-right: 0%;
}
h2{
    text-align: center;
}
h3{
    text-align: center;
}
.main-nav{
    flex-direction: column;
    margin-left: 180px;

}
.page-header{
    flex-direction: column;
}
.mobile-center{
    text-align: center;
}

}
/* ======== PC版デザイン調整 ======== */
@media (min-width: 601px) {
    body {
        font-family: "游ゴシック体", "Yu Gothic", "Hiragino Sans", sans-serif;
        background-color: rgba(255, 255, 255, 0.9);
        max-width: 100%;
    }

    .background_blue {
        max-width: 900px;
        margin: 0 auto;
        background-color: rgba(255, 255, 255, 0.85);
        padding: 40px 60px;
        border-radius: 16px;
        box-shadow: 0 0 20px rgba(0,0,0,0.1);
    }

    h1 a {
        font-size: 36px;
        font-weight: bold;
        color: #403632;
        text-decoration: none;
    }

    h2 {
        font-size: 28px;
        color: #403632;
        border-bottom: 3px solid #63dbd0;
        padding-bottom: 8px;
        margin-top: 50px;
    }

    h3 {
        font-size: 22px;
        margin-top: 30px;
        color: #2a2a2a;
    }

    p, li {
        font-size: 18px;
        line-height: 2;
        color: #333;
        margin-bottom: 12px;
    }

    ul, ol {
        margin-left: 20px;
    }

    img {
        border-radius: 12px;
        margin-bottom: 30px;
        box-shadow: 0 0 10px rgba(0,0,0,0.15);
        max-width: 900px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    footer {
        margin-top: 60px;
        background: #403632;
        color: white;
        padding: 20px 0;
        text-align: center;
        font-size: 14px;
    }
}
/* ===== PC用メニュー表示設定 ===== */
.pc-menu {
    display: none;
}

@media (min-width: 801px) {
    /* スマホメニュー非表示 */
    #menu-open,
    #menu-panel {
        display: none;
    }

    /* PCメニュー表示 */
    .pc-menu {
        display: flex;
        justify-content: center;
        gap: 2rem;
        list-style: none;
        margin: 20px 0;
        padding: 0;
        background: rgba(255, 255, 255, 0.85);
        border-top: 2px solid #63dbd0;
        border-bottom: 2px solid #63dbd0;
    }

    .pc-menu li a {
        font-size: 18px;
        color: #333;
        text-decoration: none;
        padding: 10px 15px;
        transition: 0.3s;
    }

    .pc-menu li a:hover {
        background-color: #63dbd0;
        color: white;
        border-radius: 8px;
    }
}

/* ===== タイトルを中央寄せ ===== */
.page-header {
    display: flex;
    justify-content: center; /* 中央寄せ */
    align-items: center;
    padding: 10px 0; /* 上下余白を小さく */
}

.page-header h1 {
    margin: 0;
}

.page-header h1 a {
    font-size: 32px;
    font-weight: bold;
    color: #403632;
    text-decoration: none;
}

/* ===== PCメニューを上に詰める ===== */
@media (min-width: 801px) {
    .pc-menu {
        display: flex;
        justify-content: center;
        gap: 2rem;
        list-style: none;
        margin: 5px 0 20px 0; /* ← 上の余白を小さく */
        padding: 0;
        background: rgba(255, 255, 255, 0.85);
        border-top: 2px solid #63dbd0;
        border-bottom: 2px solid #63dbd0;
    }

    .pc-menu li a {
        font-size: 18px;
        color: #333;
        text-decoration: none;
        padding: 10px 15px;
        transition: 0.3s;
    }

    .pc-menu li a:hover {
        background-color: #63dbd0;
        color: white;
        border-radius: 8px;
    }
}

/* ===== スマホ版調整 ===== */
@media (max-width: 600px) {
    h1 {
        text-align: center; /* ← 中央寄せに変更 */
        font-size: 25px;
        margin: 10px 0;
        padding: 0;
    }
}
/* ===== ヘッダー背景を背景画像に調和させる ===== */
.page-header {
    display: flex;
    justify-content: center; /* 中央寄せ */
    align-items: center;
    padding: 15px 0;
    background: linear-gradient(
        rgba(255, 255, 255, 0.8),
        rgba(213, 237, 235, 0.6)
    ); /* やわらかい白×ライトグリーンのグラデーション */
    backdrop-filter: blur(6px); /* 背景ぼかしで上品に */
    border-bottom: 2px solid rgba(99, 219, 208, 0.4); /* 下線を淡く */
    border-radius: 0 0 12px 12px; /* 下の角を丸く */
}

/* タイトル文字の調整 */
.page-header h1 a {
    font-size: 32px;
    font-weight: bold;
    color: #2f4f4f; /* 深めの緑グレーで上品に */
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.6);
    text-decoration: none;
}
/* YouTube 埋め込みのレスポンシブ対応 */
.youtube-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9比率 */
    margin: 20px auto;
    max-width: 900px;
}

.youtube-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
