@charset "utf-8";
html {
    font-size: 62.5%;
    scroll-padding-top: 90px;
}
body {
    scroll-padding-top: 90px;
    margin: 0 auto;
    padding: 0 auto;
    width: 100%;
    color: #432;
    font-size: 1.6rem;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    text-align: center;
}
li {
    list-style: none;
}
img {
    width: 100%;
    max-width: 900px;
}
p {
    margin: 2% 0
}
header {
    background-color: #fff;
    position: sticky;
    top: 0;
    width: 100%;
    line-height: 1;
    z-index: 10;
}
.ht {
    display: flex;
    justify-content: space-between;
    padding: 1% 10%;
}
.logo a {
    display: flex;
    align-items: center;
}
.logo img {
    width: 15%;
    margin-right: 5px;
}
h1 {
    font-size: 2.6rem;
    font-weight: 700;
    text-align: left;
}
.h-contact {
    display: flex;
    align-items: center;
    font-size: 2rem;
    white-space: nowrap;
}
.h-contact span {
    font-size: 1.8rem;
    padding-left: 1rem;
}
.button {
    color: #009a47;
    background-color: yellow;
    border: 2px solid #009a47;
    border-radius: 10px;
    margin: 0 0 0 15px;
    padding: 15px 20px;
}
[type="checkbox"] {
    display: none;
}

/* ナビゲーションメニュー */
.nav-content {
    background-color: #009a47; /* メニューの背景色 */
    color: #fff; /* メニューテキストの色 */
}
.nav-list {
    display: flex;
    justify-content: center; /* メニューアイテムを中央揃えに */
}
.nav-item {
    background-color: #009a47; /* メニューアイテムの背景色 */
     /* border-left: 1px solid #fff;メニューアイテムの左ボーダー */
    position: relative;
    transition: background-color .3s; /* 背景色の変化をアニメーション化 */
}
/* .nav-item:last-child {
    border-right: 1px solid #fff; 最後のメニューアイテムの右ボーダー
} */
/* メニューアイテムのホバースタイル */
.nav-item:hover .drop-menu-list { 
    transform: scaleY(1); /* ドロップダウンメニューの表示 */
}
.nav-item:hover {
    background-color: #009a47; /* メニューアイテムのホバー時の背景色 */
    transition: background-color .3s; /* 背景色の変化をアニメーション化 */
}
.drop-menu-item:hover {
    opacity: .9; /* ドロップダウンメニューアイテムのホバー時の不透明度 */
    transition: opacity .3s; /* 不透明度の変化をアニメーション化 */
}
.nav-item a {
    align-items: center;
    color: #fff; /* メニューアイテム内のリンクテキストの色 */
    display: flex;
    height: 50px;
    justify-content: center;
    text-decoration: none; /* リンクの下線を非表示 */
    width: 120px;
}
/* ドロップダウンメニュー */
.drop-menu {
    position: relative;
}
.drop-menu-list {
    position: absolute;
    top: 100%;
    transform: scaleY(0); /* ドロップダウンメニューの非表示 */
    transform-origin: center top; /* 変形を適応する基準を設定 */
    transition: transform .3s; /* 表示の変化をアニメーション化 */
    width: max-content;
    z-index: 1;
}
.drop-menu-item {
    background-color: #006b32; /* ドロップダウンメニューの背景色 */
    transition: opacity .3s; /* 不透明度の変化をアニメーション化 */
}
.home-go a {
    display: none;
}
/* ナビゲーションメニュー */

a:hover {
    opacity: 0.6;
    filter: brightness(100%);
}
.logo a:hover {
    opacity: 1;
}
.wrapper {
    max-width: 1300px;
    margin: 0 auto;
}
.about2 {
    padding: 6%;
    background: linear-gradient(#fff, #c5e2c5)
}
h2 {
    font-size: 4rem;
    font-weight: 700;
    text-align: center;
    padding-bottom: 5%;
}
.sub {
    font-size: 2.4rem;
    font-weight: 700;
    color: #009a47;
    display: block;
}
.access-content {
    display: flex;
    justify-content: space-around;
}
.address, .map-wrap{
    width: 100%;
    padding: 2%;
}
.address-img {
    text-align: left;
}
table {
    width: 100%;
}
.table tr th, .table tr td {
    font-size: 1.8rem;
    vertical-align: text-top;
    text-align: left;
    padding: 2rem 7rem 1em 0;
    border-bottom: solid 2px rgba(255, 255, 255, 0.3)
}
.map, .map iframe {
    width: 100%;
    height: 100%;
}
.access-button a {
    color: #009a47;
    background-color: #fff;
    font-size: 2.4rem;
    border-radius: 10px;
    padding: 15px 20px;
}
footer {
    background-color: #009a47;
}
footer p {
    color: #fff;
    font-size: 1.8rem;
    margin: 0;
    padding: 2% 0;
}
@media (max-width: 760px) {
    /* header */
    .ht {
        padding: 1% 4%;
    }
    h1 {
        font-size: 2rem;
    }
    .h-contact {
        position: absolute;
        top: 15px;
        right: 50px;
    }
    .h-contact span {
        display: none;
    }
    .button {
        color: #443322;
        background-color: transparent;
        border: none;
        margin-left: 9px;
        padding: 5px 10px;
    }
    /* header */
    /* ↓↓menu */
    .nav {
        display: flex;
        justify-content: flex-end;
        position: absolute;
        top: 0;
        right: 0;
    }
    .drop-menu-list { 
        width: 100%;
    }
    .nav-list {
        display: block;
    }
    .nav-item, .nav-item:last-child {
        border: none;
    }
    .nav-item a {
        width: unset;
        height: 40px;
    }
    .drop-menu, .drop-menu-item, .drop-menu-list, .drop-menu-item:hover {
        transition: none;
        position: unset;
        transform: none;
    }
    .drop-menu-item a {
        display: flex;
        justify-content: left;
        margin-left: 55%;
    }
    .arrow::before {
        content: '＞';
    }
    /* チェックボックスを非表示にする */
    .drawer_hidden {
        display: none;
    }
    
    /* ハンバーガーアイコンの設置スペース */
    .drawer_open {
        display: flex;
        height: 60px;
        width: 60px;
        justify-content: center;
        align-items: center;
        position: relative;
        z-index: 100;/* 重なり順を一番上にする */
        cursor: pointer;
    }
  
    /* ハンバーガーメニューのアイコン */
    .drawer_open span,
    .drawer_open span:before,
    .drawer_open span:after {
        content: '';
        display: block;
        height: 3px;
        width: 25px;
        border-radius: 3px;
        background: #333;
        transition: 0.5s;
        position: absolute;
    }
    
    /* 三本線の一番上の棒の位置調整 */
    .drawer_open span:before {
        bottom: 8px;
    }
    
    /* 三本線の一番下の棒の位置調整 */
    .drawer_open span:after {
        top: 8px;
    }
    
    /* アイコンがクリックされたら真ん中の線を透明にする */
    #drawer_input:checked ~ .drawer_open span {
        background: rgba(255, 255, 255, 0);
    }
    
    /* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
    #drawer_input:checked ~ .drawer_open span::before {
        bottom: 0;
        transform: rotate(45deg);
    }
    #drawer_input:checked ~ .drawer_open span::after {
        top: 0;
        transform: rotate(-45deg);
    }
    /* メニューのデザイン*/
    .nav-content {
        width: 100%;
        font-size: 1.3rem;
        position: fixed;
        left: 100%; /* メニューを画面の外に飛ばす */
        z-index: 99;
        background-color: rgba(0, 0, 0, 0.3);
        transition: .5s;
        height: 100%;
        top: 0;
    /* 追加 */
        overscroll-behavior: contain;
        overflow-y: scroll;
        scrollbar-width: none;
        -ms-overflow-style: none;
        touch-action: none;
    /* スクロールバー非表示 */
        scrollbar-width: none; 
        -ms-overflow-style: none;
    /* スマホのタッチアクション無効 */
        touch-action: none;
    }
    .nav-content::-webkit-scrollbar {
        display: none;
    }
    /* メニュー黒ポチを消す */
    .nav-list {
        list-style: none;
    }
    /* アイコンがクリックされたらメニューを表示 */
    #drawer_input:checked ~ .nav-content {
        left: 0;/* メニューを画面に入れる */
    }
    .home-go a {
        display: unset;
        background-color: yellow;
        color: #009a47;
        font-size: 2rem;
        align-items: center;
        display: flex;
        height: 50px;
        justify-content: center;
        text-decoration: none;
    }
    /* ↑↑menu */
    h2 {
        font-size: 3rem;
    }
    .access-content {
        display: block;
    }
    .address {
        display: flex;
        align-items: flex-end;
    }
    .address, .address-img{
        width: 100%;
        text-align: center;
    }
    table {
        margin: 0 auto;
        width: 100%;
    }
    .table tr th, .table tr td {
        font-size: 1.6rem;
        padding: 2%;
    }
    iframe {
        width: 88%;
        height: 60%;
    }
}
@media(max-width: 450px)  {
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 2rem;
    }
    .sub {
        font-size: 1.8rem;
    }
    p {
        font-size: 1.6rem;
    }
    .address-img {
        display: none;
    }
}