@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;
}
.main-v {
    position: relative;
}
.mt {
    width: 100%;
    position: absolute;
    z-index: 7;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit-transform: translateY(-50%) translateX(-50%);
}
.mt p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 5rem;
    font-weight: 700;
    text-align: center;
    border: 2.5rem solid;
    border-radius: 50px;
    margin: 0 15%;
}
/* スライドの動き等速 */
.swiper-wrapper {
    transition-timing-function: linear;
}
/* 画像のサイズ調整 */
.swiper-slide img {
    height: auto;
    width: 100%;
}
.entry .swiper-wrapper {
    margin-top: 0;
}
.entry .swiper-wrapper img {
    width: 70%;
}
.wrapper {
    max-width: 1300px;
    margin: 0 auto;
}
.content-wrapper {
    margin: 0 auto;
    font-size: 1.8rem;
}
h2 {
    font-size: 4rem;
    font-weight: 700;
    text-align: center;
    padding-bottom: 5%;
}
.about h2 {
    padding-bottom: 0;
}
.sub {
    font-size: 2.4rem;
    font-weight: 700;
    color: #009a47;
    display: block;
}
a:hover {
    opacity: 0.6;
    filter: brightness(100%);
}
.logo a:hover {
    opacity: 1;
}
.about {
    background-image: url(../images/about_bg1.png);
    padding: 6%;
}
.about div {
    text-align: center;
}
.about img {
    max-width: 600px;
    padding: 6%;
}
.about2 {
    padding: 6%;
    background: linear-gradient(#fff, #c5e2c5)
}
.about2-content {
    display: flex;
    justify-content: center;
}
.about2-content div {
    margin: 2%
}
.about2-title {
    padding-top: 6%;
}
.about2-content img {
    width: 100%;
}
.entry {
    padding-top: 6%;
}
.entry-text {
    margin: 15px auto;
}
.access {
    color: #fff;
    background-image: url(../images/access-bg.png);
    background-size: cover;
    background-repeat: repeat;
    background-position: center top;
    padding: 6% 0;
    margin: 0 auto;
}
.access-t {
    background-image: url(../images/access-item1.png), url(../images/access-item2.png);
    background-position: top left, top right;
    background-repeat: no-repeat;
}
.access .sub {
    color: #fff;
}
.access-content {
    display: flex;
    justify-content: space-around;
    margin: 4%
}
.address, .map-wrap{
    width: 100%;
    padding: 4%;
}
.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;
}
.recruit {
    padding: 6%;
}
.recruit .recruit-content img {
    margin-bottom: 5%;
}
.contact {
    padding: 6%;
    background-image: url(../images/about_bg1.png);
}
.contact-content p {
    margin: 0 auto;
}
.tel {
    margin: 10px auto;
    font-size: 2.8rem;
}
.form {
    margin-bottom: 50px;
}
.form a {
    color: #fff;
    font-size: 2.4rem;
    background-color: #009a47;
    padding: 15px 20px;
    border-radius: 10px;
}
p, .entry-text, .tel {
    margin: 50px auto;
}
footer {
    background-color: #009a47;
}
footer p {
    color: #fff;
    font-size: 1.8rem;
    margin: 0;
    padding: 2% 0;
}
@media (max-width: 760px) {
    .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;
    }
    .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;
    }
    .mt {
        display: none;
    }
    h2 {
        font-size: 3rem;
    }
    main img {
        width: 100%;
    }
    .about2-content {
        margin-bottom: 20px;
        display: block;
        padding: 6%;
    }
    .about2-content1 {
        padding-bottom: 80px;
    }
    .form a {
        font-size: 1.4rem;
    }
    .access-t {
        background-image: url(../images/access-item-media.png), url(../images/access-item1-media.png);
        background-position: bottom left, bottom right;
        background-repeat: no-repeat;
        padding: 0;
    }
    .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%;
    }
    .access-button a {
        font-size: 1.4rem;
    }
    p, .entry-text, .tel {
        margin: 30px auto;
    }
}
@media(max-width: 450px)  {
    h1 {
        font-size: 2.2rem;
    }
    h2 {
        font-size: 2rem;
    }
    .form a {
        font-size: 1.6rem;
    }
    .access-t {
        background-image: none;
        padding: 0;
    }
    .access-button a {
        font-size: 1.6rem;
    }
    .sub {
        font-size: 1.8rem;
    }
    p {
        font-size: 1.6rem;
    }
    .table tr th, .table tr td {
        font-size: 1.4rem;
    }
    .tel {
        font-size: 1.6rem;
    }
    p, .entry-text, .tel {
        margin: 20px auto;
    }
}