/* フォントの読み込み */
@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic&display=swap');



:root {
    /* ヘッダーの背景色 */
    --header_background_color: rgb(255, 255, 255);
    /* ヘッダー周りの色（反映が微妙） */
    --header_line: rgb(255, 255, 255);
    /* ヘッダーの項目hover時の下線の色 */
    --header_underline: rgba(212, 234, 200, 1);
    /* 以下使用していない曲線 */
    /* --radius: 20px;
--radius_bottom: 0px 0px 20px 20px;
--radius_top: 20px 20px 0px 0px; */
}

* {
    font-family: 'Zen Maru Gothic', sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0px;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

.zen-maru-gothic-regular {
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
}




body {
    margin: 0;
    padding: 0;
    background: #f9f8fc;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}



.space {
    padding-top: 60px;
}

svg {
    display: block;
    /* インラインスペースを除去 */
}

.top img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

@media screen and (max-width: 768px) {
    .top img {
        content: url(main_mini.png);
    }
}

#front {
    background-color: #f9f8fc;
}

h2 {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 40px;
    color: #494d5f;
    font-size: 1.8em;
}

.upper-section svg {
    vertical-align: top;
    transform: translateY(-1px);
}

.lower-section svg {
    vertical-align: bottom;
    transform: translateY(1px);
}

.upper-section,
.lower-section {
    background-color: #f9f8fc;
    position: relative;
}

.upper-section svg path {
    stroke: none;
}

.wave {
    display: block;
    width: 100%;
    height: 200px;
}

.text1 {
    transform: translateY(1px);
    color: #f9f8fc;
    /* ←ブラウザによって隙間ができるので入れている */
}

.text2 {
    transform: translateY(1px);
    color: #d9d4e7;
    /* ←ブラウザによって隙間ができるので入れている */
}


/* ヘッダー */

.main_spacer {
    background-color: antiquewhite;
    height: 150vh;
}

.header-pc {
    display: none;
}

.header-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    /* メニューがヘッダーの上に表示されるように */
    position: fixed;
    width: 100%;
    z-index: 100;
}

.header-logo img {
    height: 40px;
    /* ロゴの高さを適宜調整 */
}

/* ハンバーガーボタン */
.header-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 110;
    /* メニューより手前に表示 */
}

.header-hamburger-bar {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

/* ナビゲーションメニュー（スライドイン部分） */
.header-nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    visibility: hidden;
    overflow-y: auto;
    /* ↓ padding の行をここから削除する */
    /* padding: 80px 30px 30px; ← この行を削除 */
}

.header-nav-menu-inner {
    padding: 80px 30px 30px;
}

.header-nav-section {
    margin-bottom: 2em;
}

.header-nav-title {
    margin: 0 0 1em 0;
    color: #888;
    font-size: 0.9em;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5em;
}

.header-nav-section li {
    margin-bottom: 1em;
}

.header-nav-section a {
    font-size: 1.1em;
    transition: color 0.2s;
    font-size: 14px;
    color: #333;
}

.header-nav-section a:hover {
    color: black;
}

/* --- アクティブ時のスタイル --- */

/* メニュー表示時：ヘッダーに is-active クラスを追加 */
.header-mobile.is-active .header-nav-menu {
    transform: translateX(0);
    /* 画面内にスライドイン */
    visibility: visible;
}

/* アイコンを「×」にする */
.header-mobile.is-active .header-hamburger-bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.header-mobile.is-active .header-hamburger-bar:nth-child(2) {
    opacity: 0;
}

.header-mobile.is-active .header-hamburger-bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (min-width: 820px) {
    .header-mobile {
        display: none;
    }

    .header-pc {
        display: flex;
        height: 60px;
        position: fixed;
        width: 100%;
        z-index: 10;
        align-items: center;
        background-color: var(--header_background_color);
        /* border-radius: var(--radius_bottom); */
    }

    .header_top {
        display: flex;
        /* width: 100%; */
        height: 60px;
        background-color: var(--header_background_color);
        /* position: absolute; */
        z-index: 30;
        align-items: center;
        padding-inline: 60px;
        /* border-radius: var(--radius_bottom); */
    }

    .header_top a {
        height: 60%;
    }

    .header_top img {
        height: 100%;
    }

    .header_bottom {
        /* width: 100%; */
        height: 60px;
        background-color: var(--header_background_color);
        /* border-radius: var(--radius_bottom); */
        padding-inline: calc((100% - min(80vw, 1000px)) / 2);
        display: flex;
        justify-content: center;
        align-items: center;
        /* position: absolute; */
        top: 40px;
        z-index: 25;
        padding-inline: 60px;
        margin-left: auto;
    }

    .header_bottom::before {
        /* content: "";
    display: inline-block;
    position: absolute;
    top: 0px;
    left: 10%;
    width: 80%;
    height: 2px;
    border-radius: var(--radius);
    background: var(--header_line); */
        display: none;
    }

    .header_title {
        margin-inline: 8px;
        font-size: 14px;
        padding-inline: 4px;
    }

    .header_title:hover {
        border-bottom: 4px solid var(--header_underline);

        .header_title_hover {
            display: block;
            animation: slideDown 0.1s ease-in-out;
        }
    }

    .header_title_hover {
        display: none;
        padding-top: 64px;
        position: absolute;
        top: 0px;
        left: 0px;
        width: 100%;
        padding-inline: calc((100% - min(80vw, 1000px)) / 2);
        padding-bottom: 12px;
        /* border-radius: 0px 0px 20px 20px; */
        background-color: var(--header_background_color);
        z-index: -1;
        font-size: 16px;
        border: 1px solid var(--header_line);
        border-top: none;
        text-align: center;
    }

    .header_title_hover a {
        padding-inline: 8px;
        /* hoverした時に出る文字の色 */
        color: black;
    }

    .header_title_hover a:hover {
        border-bottom: 4px solid var(--header_underline);
    }

    @keyframes slideDown {
        from {
            transform: translateY(-20px);
            opacity: 0;
        }

        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    .header_title li {
        padding-block: 8px;
    }
}

/*なみなみ*/
.u-pc1 {
    display: none;
}

@media screen and (min-width: 768px) {
    .u-pc1 {
        display: block;
    }

    .u-sp1 {
        display: none;
    }
}

.u-sp2 {
    display: block;
    background: #d9d4e7;
    transform: translateY(4px);

}

.u-pc2 {
    display: none;
    background: #d9d4e7;
    transform: translateY(2px);
}

.u-pc2 svg,
.u-sp2 svg {
    position: relative;
    top: -2px;
}

.svg {
    background: #d9d4e7;
}


@media screen and (min-width: 768px) {
    .u-sp2 {
        display: none;
        transform: translateY(2px);
    }

    .u-pc2 {
        display: block;
        transform: translateY(2px);
    }
}

.svg {
    position: relative;
    z-index: 10;
    line-height: 0;
}

.svg svg {
    display: block;
    width: 100%;
    height: auto;
}


.svg path {
    display: block;
}


/*おしらせ*/

a {
    text-decoration: none;
    color: #333;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/*.news-inner {
    width: 80%;
    background-color: #fff;
    margin: 0 auto;
    padding: 65px 0 100px;
}*/


/*.sub_ttl {
    font-size: 30px;
    text-align: center;
    margin-bottom: 40px;
}*/

.news-wrapper {
    width: 80%;
    margin: 0 auto;
    background-color: #f9f8fc;
}

.news {
    padding-top: 30px;
    padding-bottom: 30px;
    margin: 70px auto;
    border: 1px solid #E6E6E6;
    border-radius: 10px;
    width: 70%;
    text-align: center;
    background-color: #d9d4e7;
}


.news_list {
    margin: 0 5%;
}

.news_list_item {
    padding: 25px 0;
    border-bottom: 1px solid #E6E6E6;
}

.news_list_item:first-child {
    border-top: 1px solid #E6E6E6;
}

.news_list_item:hover {
    color: #9c9c9c;
}

.news_list_item a {
    position: relative;
    display: flex;
    padding-right: 30px;
}

.news_list_date {
    font-size: 15px;
    display: flex;
    margin-right: 15px;
    align-items: center;
}

.news_item {
    background: #F6C6A2;
    border-radius: 14px;
    width: 6em;
    /* 親要素の文字サイズを基準 */
    text-align: center;
    margin-left: 20px;
}

.arrow {
    width: 25px;
    height: 1px;
    background: #707070;
    position: absolute;
    top: 50%;
    right: 0;
}

.arrow::after {
    content: "";
    display: block;
    width: 6px;
    height: 1px;
    background: #707070;
    transform: rotate(45deg);
    position: absolute;
    right: 0px;
    bottom: 2px;
}

.seeall-wrapper {
    text-align: center;
    margin-top: 20px;
    /* 必要なら調整 */
}

.seeall {
    font-weight: bold;
    color: #676161;
    cursor: pointer;
    display: inline-block;
    transition: background 0.3s;
    padding: 16px 16px;
    border-radius: 12px;
}

.seeall:hover {
    color: #9c9c9c;
}

@media screen and (max-width: 1024px) {
    .news_list_item a {
        display: block;
    }
}

@media screen and (max-width: 769px) {
    .news_list_item a {
        font-size: 14px;
    }

    .news {
        width: 90%;
    }
}

@media screen and (max-width: 480px) {
    .arrow {
        display: none;
    }

    .news_list_item a {
        padding-right: 0;
    }
}

/*特集*/

/* 全体を包むラッパー */
.tokushu-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    background: #f9f8fc;
    padding-top: 70px;
    padding-bottom: 70px;
}

/* グリッド */
.tokushu {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 720px;
    width: 100%;
    background: #f9f8fc;
    justify-items: center;
}

/* 画面が768px以下なら2列にする */
@media screen and (max-width: 768px) {
    .tokushu {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* 四角ボタン */
.oval-btn {
    width: 150px;
    height: 150px;
    border-radius: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #E9B2BC;

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: white;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

/* ホバー */
.oval-btn:hover {
    background-color: #FDCEDF;
}


/*企画をさがす*/

.annai-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem 4rem;
    background: #d9d4e7;
    /*margin-bottom: 100px;*/
}


/* グリッド */
.annai {
    display: grid;
    grid-template-columns: repeat(3, 2fr);
    gap: 16px;
    max-width: 720px;
    width: 100%;
    background-color: #d9d4e7;
    justify-items: center;
    margin-bottom: 100px;

}


/* 画面が768px以下なら2列にする */
@media screen and (max-width: 768px) {
    .annai {
        grid-template-columns: repeat(2, 1fr);
    }
}


.henkei-btn {
    width: 150px;
    height: 150px;
    border-radius: 35% 35% 13% 35% / 35% 35% 13% 35%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f9f8fc;

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: #E9B2BC;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.henkei-btn:hover {
    background-color: #e5eaf8;
}

.container {
    width: 80%;
    /* セクションの最大幅 */
    margin: 10px auto;
    /* ページ中央に配置 & 上下余白を設定 */
    padding: 40px 0;
    /* 内側の余白を調整 */
    overflow: hidden;
}


.container:nth-child(even) {
    background-color: #F9F5F6;
    /* セクションごとの背景色変更 */
    border-radius: 30px;
    /* カーブを追加 */
}


.all:hover {
    background: #ffd3df;
    /*文字だけホバーできるように変えたい*/
    /* ホバー時の色変更 */
}


/*comingsoon*/
.comingsoon {
    padding: 60px;
    background-color: #d9d4e7;
}

.comingsoontext {
    text-align: center;
}

/* セクション共通スタイル */
.section {
    padding: 80px 0 100px;
    /* 上80px 下100px */
    background-color: #d9d4e7;
    color: #232946;
    text-align: center;
}

.section .wrapper {
    width: 70%;
    margin: 0 auto;
    max-width: 1000px;
    padding-top: 20px;
}

@media (max-width: 768px) {
    .section .wrapper {
        width: 90%;
    }
}

.section h1 {
    margin: 0 auto 40px;
    padding-bottom: 6px;
    font-size: 1.25rem;
    font-weight: 700;
    border-bottom: 2px solid #232946;
    display: inline-block;
}

#policy h2,
#about h2 {
    padding: 0.25em 0.5em;
    color: #232946;
    background: transparent;
    border-left: solid 5px #7db4e6;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: left;
    margin: 0 auto;
    width: 80%;
}

.section text {
    color: #232946;
    width: 80%;
    margin: 0 auto;
    text-align: left;
    box-sizing: border-box;
    padding-bottom: 40px;
    line-height: 1.8;
}


/* news*/
#news {
    padding: 80px 0 100px;
    text-align: center;
    background-color: #d9d4e7;
    width: 100%;
    margin: 0;
}

#news article {
    margin-bottom: 40px;
    padding: 40px 40px 35px;
    text-align: left;
    border-radius: 20px;
    background-color: #fff;
}

#news article .text_date {
    font-size: 0.85rem;
}

#news article h2 {
    margin-bottom: 30px;
    padding-bottom: 12px;
    font-size: 1.15rem;
    line-height: 1.8em;
    border-bottom: 3px solid #d9d4e7;
}

#news article .text {
    line-height: 2.0em;
    font-size: 0.85rem;
    color: #232946;
}

#access {
    padding: 80px 0 100px;
    color: #232946;
    background-color: #d9d4e7;
    width: 100%;
    margin: 0;
    text-align: center;
    display: block;
}

#access .text,
#access .link {
    color: #232946;
    width: 80%;
    margin: 0 auto;
    text-align: left;
    box-sizing: border-box;
    padding-bottom: 40px;
}

#access .link a {
    color: #232946;
    text-decoration: underline;
    display: inline-block;
}

#access .link a:hover {
    color: #9c9c9c;
}

.map {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    height: 0;
}

.map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#kounai {
    padding: 80px 0 100px;
    color: #232946;
    background-color: #d9d4e7;
    display: flex;
    justify-content: center;
}

#kounai .wrapper {
    width: 80%;
    max-width: 800px;
    padding: 20px;
}

.kounaimap {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    padding-top: 80px;
    padding-bottom: 80px;
}

@media screen and (max-width: 768px) {
    .kounaimap {
        width: 100%;
    }

    .kounai .item img {
        width: 15px;
        height: auto;
    }
}

#kounai .item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
}

#kounai .item img {
    width: 48px;
    height: auto;
    margin-right: 16px;
    flex-shrink: 0;
}

#kounai .text {
    line-height: 1.6;
    color: #232946;
    font-size: 1rem;
    text-align: left;
}

#kounai .text h3 {
    margin: 0 0 4px;
    padding: 0;
    font-size: 1.1em;
}

#kounai .text p {
    margin: 0;
    padding: 0;
}

#kounai .detail {
    color: #232946;
    width: 90%;
    margin: 0 auto;
    text-align: left;
    box-sizing: border-box;
    padding-top: 50px;
    padding-bottom: 40px;
}

/*ポリシー*/
#policy .text {
    color: #232946;
    width: 80%;
    margin: 0 auto;
    text-align: left;
    box-sizing: border-box;
    padding-bottom: 40px;
    line-height: 1.8;
}

/*かすみ祭について*/
#about .text {
    color: #232946;
    width: 80%;
    margin: 0 auto;
    text-align: left;
    box-sizing: border-box;
    padding-bottom: 40px;
    line-height: 1.8;
}

#about {
    background-color: #f9f8fc;
}