@charset "UTF-8";

/* -----------------------------
変数定義
----------------------------- */
:root {
    /* カラー */
    --color-green:#006417;
    --color-primary: #70C498;
    --color-secondary: #9FD6B9;
    --color-tertiary:#E2F2EF;
    --color-accent: #d87070;
    --color-text: #333;
    --color-white: #fff;
    --color-gray: #959595;
    --color-footer: #70C498;
    
    /* レイアウト */
    --width-content: 100%;
    --width-narrow: 80%;
    --space-unit: 30px;
    --space-space: 15px;
    --space-section: 60px;
    --space-btn: 45px;
    
    /* その他 */
    --duration: 0.7s;
}

/* -----------------------------
ベース
----------------------------- */
body {
    font-family: "Yu Gothic", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* -----------------------------
レイアウト
----------------------------- */
.wrapper {
    width: var(--width-narrow);
    margin: 0 auto;
    position: relative;
    padding: 0 var(--space-unit);
    box-sizing: border-box;
    color: var(--color-text);
}

/* -----------------------------
共通コンポーネント
----------------------------- */
.sec-ttl {
    font-size: 48px;
    font-weight: bold;
    color: #666;
    font-family: Source Han Serif, serif,'Noto Serif JP','Hiragino Mincho ProN';
    text-align: center;
    padding-bottom: var(--space-unit);
}

.menu-ttl {
    text-align: left;
    font-family: Source Han Serif, serif,'Noto Serif JP','Hiragino Mincho ProN';
    font-weight: bold;
    color: #666;
    font-size: 36px;
}

.lead {
    font-size: 14px;
    line-height: calc(26 / 14);
    text-align: center;
    padding-bottom: var(--space-unit);
}

.subtxt {
    font-size: 14px;
    line-height: calc(26 / 14);
    font-weight: normal;
    font-family: 'Noto Sans JP', "Yu Gothic";
    color: #555;
    display: block;
}

.subtxt2 {
    font-size: 14px;
    line-height: calc(30 / 14);
    font-weight: normal;
    font-family: 'Noto Sans JP', "Yu Gothic";
    color: #555;
    display: block;
    text-align: left;
}

.sub {
    color: var(--color-white);
    font-size: 12px;
    line-height: calc(26 / 14);
    font-weight: normal;
    font-family: 'Noto Sans JP', "Yu Gothic";
    display: block;
    padding-bottom: var(--space-space);
}

/* ボタン共通 */
.btn {
    display: block;
    text-align: center;
    font-weight: bold;
    transition: all var(--duration);
    margin: 0 auto;
}

/* プライマリーボタン */
.btn-primary {
    width: 290px;
    height: 55px;
    line-height: 55px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 5px;
    line-height: 55px;
    border-radius: 5px;
    font-weight: normal;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* セカンダリーボタン */
.btn-secondary {
    width: 150px;
    height: 45px;
    line-height: 45px;
    border-radius: 5px;
    box-shadow: 0px 2px 3.6px 2.4px rgba(0, 0, 0, 0.16);
    font-size: 15px;
    color: var(--color-text);
    background: #fff;
}

/* Learn more ボタン共通サイズ調整 */
.btn-primary2 {
    display: inline-block;
    padding: 14px 30px;     /* ← 内側の余白で高さ調整 */
    font-size: 16px;
    border-radius: 30px;
    background-color: var(--color-primary);
    color: var(--color-white);
    text-decoration: none;
    font-weight: bold;
    min-width: 200px;       /* ← ボタンの最低幅を設定 */
    text-align: center;
}

.btn-primary3 {
    display: inline-block;
    padding: 14px 30px;     /* ← 内側の余白で高さ調整 */
    font-size: 16px;
    border-radius: 30px;
    background-color: #D8BFD8;
    color: var(--color-white);
    text-decoration: none;
    font-weight: bold;
    min-width: 200px;       /* ← ボタンの最低幅を設定 */
    text-align: center;
}

.btn-primary4 {
    width: 290px;
    height: 55px;
    line-height: 55px;
    color: var(--color-primary);
    border-radius: 5px;
    width: 100%;
    font-weight: normal;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--color-white);
    cursor: pointer;
    font-size: 16px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.btn-menu {
    display: inline-block;
    padding-bottom: var(--space-space);
}

/* ボタン横並び（PC用） */
.btn-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* 行を折り返すように */
    padding-bottom: var(--space-btn);
}

.btn-row .btn {
display: inline-block;
}

/* ページトップボタン */
.pagetop {
    display: none;
    position: fixed;
    bottom: 75px;
    right: 15px;
    z-index: 9999;
    width: 50px;
    height: 50px;
    background-color: #70c498bd;
    border: 2px solid var(--color-secondary);
    border-radius: 50%;
    opacity: 1;
}

.pagetop:before {
    position: absolute;
    content: "";
    height: 10px;
    width: 10px;
    border-top: 3px solid var(--color-white);
    border-right: 3px solid var(--color-white);
    translate: 0 20%;
    rotate: -45deg;
    top: calc(50% - 5px); 
    left: calc(50% - 5px);
}

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

/* ホバー制御 */
@media (hover: hover) and (pointer: fine) {
    .btn-primary:hover,
    .btn-secondary:hover,
    .pagetop a:hover {
        opacity: 0.7;
    }
}

@media (hover: none) or (pointer: coarse) {
    /* タッチデバイスでの即時反応 */
    .btn-primary:active,
    .btn-secondary:active,
    .pagetop a:hover {
        opacity: 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);
    }
}

/* ボタン縦並び（スマホ用） */
@media screen and (max-width: 768px) {
    .btn-row {
        flex-direction: column;
        align-items: center;
        gap: 15px; /* ボタンの縦間隔 */
    }

    .btn-row .btn {
        width: 80%; /* 必要に応じて幅調整 */
    }

    .access-content {
        flex-direction: column;
    }
    
    .access-map {
        aspect-ratio: 4 / 3;
    }
    
    .sec-ttl {
        font-size: 24px;
    }

    .location {
        flex-direction: column;
    }
    
    .location-info,
    .location-map {
        max-width: 100%;
    }
    
    .location-map {
        aspect-ratio: 4 / 3;
        margin-top: 20px;
    }
    }

/* レスポンシブ ーーーーーーーーー
タブレット ーーーーーーーーーーー*/
@media screen and (min-width: 768px) and (max-width: 1199px) {
    /* ハンバーガーメニュー（SP） */
    .menu {
    display: block;
    position: absolute;
    width: 30px;
    top: 10px;
    right: 10px;
    height: 30px;
    margin: 10px;
    }

    .menu span {
    display: block;
    height: 3px;
    background: #333;
    position: absolute;
    width: 100%;
    left: 0;
    transition: 0.5s ease-in-out;
    border-radius: 3px;
    }

    .menu span:nth-child(1) {
        top: 5px;
    }

    .menu span:nth-child(2) {
        top: 15px;
    }

    .menu span:nth-child(3) {
        top: 25px;
    }

    .open .menu span:nth-child(1) {
        top: 12px;
        rotate: 135deg;
    }

    .open .menu span:nth-child(2) {
        width: 0;
        left: 50%;
    }

    .open .menu span:nth-child(3) {
        top: 12px;
        rotate: -135deg;
    }

    .logo img {
        margin: 0 auto;
        height: 85px;
        margin: 0;
    }

    .sidebar {
        width: 0;
    }
    .fixed-area {
        width: 100%;
        z-index: 9999;
        height: auto;
        padding: var(--space-unit);
    }

    /* ボタン全体を下部に固定配置 */
    .btn-group {
      position: fixed;        /* 画面に固定 */
      bottom: 0;              /* 下部に配置 */
      left: 0;
      width: 100%;            /* 横幅いっぱいに表示 */
      background: #fff;       /* 背景色（必要に応じて調整） */
      display: flex;          /* 横並びにする */
      justify-content: space-around; /* 均等配置 */
      box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1); /* 上に薄い影をつける */
      z-index: 9999;          /* 最前面に表示（他の要素に隠れないように） */
    }
  
    /* ボタンの見た目調整：横並びで等幅に、中央寄せ */
    .btn-group .btn {
      flex: 1;                /* 幅を均等にする */
      margin-bottom: 0;       /* 下余白をリセット */
      font-size: 14px;
      padding: 15px 5px;
    }
  
    /* 小さい文字（補足）もスマホに合わせてサイズ調整 */
    .btn-group .subtxt {
      display: block;
      font-size: 10px;
      margin-top: 4px;
    }
  
    /* bodyの下に空白を作ることで固定ボタンが他要素と重ならないように */
    body {
      padding-bottom: 70px;  /* .btn-group の高さに合わせて調整 */
    }
  
    main {
        width: 100%;
        margin-top: 100px;
    }

    /* 検索フォーム（SP） */
    .search {
        display: none;
    }

    .search-sp {
        display: flex;
        justify-content: center;
        position: relative;
        padding: var(--space-space);
    }

    .search-sp input {
        width: 230px;
        height: 37px;
        border-radius: 5px;
        border: 1px solid var(--color-gray);
        box-sizing: border-box;
        font-size: 20px;
        padding-left: 30px;
        background: var(--color-white);
    }

    .search-sp input:focus {
        outline: none;
        border: 1px solid var(--color-accent);
    }

    .search-sp .search-icon {
        position: absolute;
        top: calc(50% - 8px);
        left: calc(50% - 108px);
    }
    
    .wrapper {
        width: 100%;
    }

    .container {
        width: 100%;
    }
    
    .nav-list {
        width: 100%;
    }

    .card {
        width: 33.3333%;
    }

    .box-list {
        justify-content: center;
    }

    .box {
        width: 80%;
    }

    .footer-nav {
        width: calc(100% - 230px);
    }

    /* セクション01 */
    .sec-01 {
        width: 100%;
        padding: var(--space-unit);
        box-sizing: border-box;
        padding-bottom: var(--space-section);
    }

    .sec-01 .wrapper {
        width: 100%;
        padding-bottom: var(--space-section) 0; 
    }
    /* セクション02 */
    .sec-02 {
        padding: 0;
        padding-bottom: var(--space-section);
    }
    /* セクション03 */
    .sec-03 {
        width: 100%;
        padding: var(--space-unit);
        box-sizing: border-box;
        padding-bottom: var(--space-section);
    }

    .sec-03 .wrapper {
        width: 100%;
        padding-bottom: var(--space-section) 0; 
    }

    .cpt-lead {
        align-items: center;
        padding: 0;
        font-size: 14px;
        line-height: calc(26 / 14);
        text-align: left;
        padding-bottom: var(--space-unit);
    }
    /* セクション04 */
    /* セクション05 */
    /* セクション06 */
    .sec-06 {
        width: 100%;
        padding: var(--space-unit);
        box-sizing: border-box;
    }

    .sec-06 .wrapper {
        width: 100%;
        padding-bottom: var(--space-section);
    }
    .sec06-ttl {
        font-size: 28px;
        margin: 5px 0;
    }
    .sec06subtxt {
        font-size: 18px;
        padding: 10px;
        margin: 0;
    }
    .card-list2 {
        padding-bottom: 0;
    }
    /* セクション07 */


    /* QAページ */
    .qa-page .wrapper .sec-01 .sec-02 .sec-03 {
        width: 100%;
        padding: var(--space-unit);
        box-sizing: border-box;
        padding-bottom: var(--space-section);
    }

    body.single .wrapper {
        width: var(--width-narrow);
    }
}

    /* -----------------------------
    レスポンシブ - スマートフォン
    ----------------------------- */
    @media screen and (max-width: 767px) {
        .wrapper {
            width: 100%;
            padding: 0;
        }

        .fixed-area {
            /* height: 100vh; */
            background-color: #fff;
            /* border-right: 1px solid #eee; */
            /* padding: 45px;
            box-sizing: border-box;
            overflow-y: auto;
            position: fixed; */
            width: 100%;
            z-index: 9999;
            height: auto;
            padding: 30px;
        }
        .sidebar {
            width: 0;
        }

        main {
            box-sizing: border-box;
            width: 100%;
        }

        .btn-group {
            display: none;
        }

        .logo img {
            margin: 0;
            height: 65px;
        }
    
        .fixed-area {
            width: 100%;
            z-index: 9999;
            height: auto;
            padding: var(--space-space);
        }
        .main-content {
            width: 100%;
            margin-top: 120px;
        }
        .sec-ttl {
            font-size: 24px;
            padding: 10px var(--space-space);
        }


        .subtxt {
            font-size: 12px;
        }

        .lead {
            text-align: left;
            width: -webkit-fill-available;
        }

        /* ヘッダー（SP） */
        .header .wrapper {
            padding: 0 var(--space-space);
            display: block;
            height: auto;
        }

        .logo {
            margin: 10px 0;
        }

        .search {
            display: none;
        }

        /* 検索フォーム（SP） */
        .search-sp {
            display: flex;
            justify-content: center;
            position: relative;
            /* padding: var(--space-unit) 0; */
        }

        .search-sp input {
            width: 230px;
            height: 37px;
            border-radius: 5px;
            border: 1px solid var(--color-gray);
            box-sizing: border-box;
            font-size: 20px;
            padding-left: 30px;
            background: var(--color-white);
        }

        .search-sp input:focus {
            outline: none;
            border: 1px solid var(--color-accent);
        }

        .search-sp .search-icon {
            position: absolute;
            top: calc(50% - 8px);
            left: calc(50% - 108px);
        }

        /* ナビゲーション（SP） */
        .nav {
            height: 100%;
            display: none;
        }

        .nav-list {
            width: 100%;
            flex-direction: column;
        }

        .nav-list > li {
            width: 100%;
        }

        /* ハンバーガーメニュー（SP） */
        .menu {
            display: block;
            position: absolute;
            top: 10px;
            right: 10px;
            width: 30px;
            height: 30px;
        }

        .menu span {
            display: block;
            height: 3px;
            background: var(--color-secondary);
            position: absolute;
            width: 100%;
            left: 0;
            transition: 0.5s ease-in-out;
            border-radius: 3px;
        }

        .menu span:nth-child(1) {
            top: 5px;
        }

        .menu span:nth-child(2) {
            top: 15px;
        }

        .menu span:nth-child(3) {
            top: 25px;
        }

        .open .menu span:nth-child(1) {
            top: 12px;
            rotate: 135deg;
        }

        .open .menu span:nth-child(2) {
            width: 0;
            left: 50%;
        }

        .open .menu span:nth-child(3) {
            top: 12px;
            rotate: -135deg;
        }

        /* ボタン全体を下部に固定配置 */
        .btn-group {
        position: fixed;        /* 画面に固定 */
        bottom: 0;              /* 下部に配置 */
        left: 0;
        width: 100%;            /* 横幅いっぱいに表示 */
        background: #fff;       /* 背景色（必要に応じて調整） */
        display: flex;          /* 横並びにする */
        justify-content: space-around; /* 均等配置 */
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1); /* 上に薄い影をつける */
        z-index: 9999;          /* 最前面に表示（他の要素に隠れないように） */
        }
    
        /* ボタンの見た目調整：横並びで等幅に、中央寄せ */
        .btn-group .btn {
        flex: 1;                /* 幅を均等にする */
        margin-bottom: 0;       /* 下余白をリセット */
        font-size: 13px;
        padding: 15px 5px;
        }
    
        /* 小さい文字（補足）もスマホに合わせてサイズ調整 */
        .btn-group .subtxt {
        display: block;
        font-size: 10px;
        }
    
        /* bodyの下に空白を作ることで固定ボタンが他要素と重ならないように */
        body {
        padding-bottom: 65px;  /* .btn-group の高さに合わせて調整 */
        }
        

        /* セクション01（SP） */
        .sec-01 {
            width: 100%;
            padding: 0 var(--space-unit);
            box-sizing: border-box;
        }
        
        .card-list {
            flex-direction: column;
        }

        .card {
            width: 100%;
        }

        /* セクション02（SP） */
        .sec-02 {
            width: 100%;
            padding: var(--space-unit);
            padding-bottom: 30px;
            box-sizing: border-box;
        }

        .sec-02 .wrapper {
            width: 100%;
        }

        .news-list dd {
            padding-left: 6rem;
        }

        /* セクション03（SP） concept*/
        .sec-03 {
            width: 100%;
            padding: 0 var(--space-unit);
            box-sizing: border-box;
        }

        .sec-03 .wrapper {
            width: 100%;
            padding-bottom: var(--space-unit);
        }

        .cpt-wrapper {
            display: block;
        }

        .cpt-lead {
            font-size: 16px;
            padding: 0;
            padding-bottom: var(--space-space);
        }

        .sec-05 {
            padding: 30px 0;
        }

        .box {
            width: 100%;
            margin-bottom: var(--space-unit);
        }

        .box:last-of-type {
            margin-bottom: 30px;
        }

        .box-ttl {
            font-size: 14px;
        }

        .box-txt {
            font-size: 12px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* セクション04 (SP)*/
        .sec-04 {
            width: 100%;
            padding: 0 var(--space-unit);
            box-sizing: border-box;
            padding-bottom: var(--space-unit);
        }

        .sec-04 .wrapper {
            width: 100%;
        }
        
        /* セクション05 (SP)*/
        .box-img {
            width: 40%;
        }

        .box-ttl {
            padding-bottom: var(--space-space);
        }
        .box-content {
            align-items: center;
            padding: 0 15px;
            width: 100%;
            color: var(--color-text);
        }

        .box-list {
            padding-bottom: 0;
        }

        /* セクション06（SP） */
        .sec-06 {
            width: 100%;
            padding: 0 var(--space-unit);
            box-sizing: border-box;
        }

        .sec-06 .wrapper {
            width: 100%;
            padding-bottom: 0;
        }

        .sec-06 h2 {
            padding: 30px 0 0 0;
        }

        .card-list2 {
            --grid-gap: 0;
            display: block;
            padding-bottom: 0;
        }
        .sec06-ttl {
            font-size: 24px;
            padding-bottom: var(--space-space);
        }
        .sec06subtxt {
            font-size: 16px;
            margin: 5px;
        }
        
        /* セクション07 (SP) */
        .sec-07 {
            width: 100%;
            padding: 0 var(--space-unit);
            box-sizing: border-box;
        }

        .sec-07 .wrapper {
            width: 100%;
        }

        .faq-accordion {
            margin: 0 auto;
            padding-bottom: 30px;
        }
        
        /* フッター（SP） */
        .footer .wrapper {
            padding: 0 var(--space-unit) var(--space-unit) var(--space-unit);
            padding-left: var(--space-unit);
            padding-right: var(--space-unit);
            width: 100%;
        }

        .footer-nav {
            display: none;
        }

        /* ページトップ（SP） */
        .pagetop {
            bottom: 85px;
            right: 5px;
        }

        /* スライダー（SP） */
        .slick-slide {
            padding: 0;
        }
        
        /* QAページ */
        .qa-page  .sec-01{
            width: 100%;
            padding: var(--space-unit);
            box-sizing: border-box;
            }

        .qa-page  .sec-02{
            width: 100%;
            padding: var(--space-unit);
            box-sizing: border-box;
            }

        .qa-page  .sec-03{
            width: 100%;
            padding: var(--space-unit);
            box-sizing: border-box;
            }

        /* menuページ */
        .menu-sec-02,
        .menu-sec-03{
            width: 100%;
            padding: 0 var(--space-unit);
            box-sizing: border-box;
        }

        .menu-page .slider-wrapper {
            padding: 0;
            padding-bottom: 20%;
        }

        .tableWrap {
            display: block;
            overflow-x: scroll;
            white-space: nowrap;
        }

        .menu-ttl {
            text-align: left;
            font-family: Source Han Serif, serif, 'Noto Serif JP', 'Hiragino Mincho ProN';
            font-weight: bold;
            color: #666;
            font-size: 18px;
        }

        .subtxt2 {
            font-size: 10px;
        }

        /* accessページ */
        .access {
            padding: 0;
        }

        .access-page .access{
            width: 100%;
            padding:0 var(--space-unit);
            box-sizing: border-box;
        }

        .access-content {
            flex-direction: column;
        }
        
        .access-map {
            aspect-ratio: 4 / 3;
        }
        
        .sec-ttl {
            font-size: 24px;
        }
    
        .location {
            flex-direction: column;
        }
        
        .location-info,
        .location-map {
            max-width: 100%;
        }
        
        .location-map {
            aspect-ratio: 4 / 3;
            margin-top: 20px;
        }

        body.single .wrapper {
            width: var(--width-narrow);
        }

        
    }