body {
    font-family: "Noto Serif JP", serif;
    background-image: url(bg1.webp);
}

#mask {
    transition: all 2s;
}

#mask.active {
    background: #000;
    opacity: .8;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
}

.header {
    width: 100%;
    height: 108px;
    position: relative;
}

.header-white {
    width: 100%;
    height: 90px;
    background-image:url(bg2.jpg);
}

.header-navy {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 80px;
    background-image: url(bg3.jpg);
}

.logo {
    position: absolute;
    height: 50px;
    padding-bottom: 3px;
}

#hmb-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    z-index: 400;
    width: 60px;
    height: 60px;
    color: #e9e9e9;
    cursor: pointer;
}

#hmb-btn span {
    position: absolute;
    right :12px;
    width: 36px;
    height: 2px;
    background: #dcba32;
    border-radius: 8px;
    transition: .5s;
}

#hmb-btn span:first-child {
    top: 15px;
}

#hmb-btn span:nth-child(2) {
    top: 28px;
}
    
#hmb-btn span:last-child {
    top: 41px;
}

/*btn avtive*/
#hmb-btn.active span:first-child {
    transform: rotate(45deg);
    top: 28px;
    background: #282828;
}

#hmb-btn.active span:nth-child(2) {
    display: none;
}

#hmb-btn.active span:last-child {
    transform: rotate(-45deg);
    top:28px;
    background: #282828;
}
/*btn avtive*/

#drawer-nav {
    position: fixed;
    top: 0;
    right: -350px;
    z-index: 300;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 350px;
    height: 100vh;
    background-color: rgb(165, 165, 165);
    transition: 0.4s;
}

/*ドロワーavtive*/
#drawer-nav.active {
    right: 0;
}
/*ドロワーavtive*/

.d-nav-list {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    align-items: center;
    height: 60%;
}

.top-box {
    position: relative;
    width: 75%;
    margin: 0 auto;
}

.top-image {
    display: block;
    width: 100%;
    margin: auto;
    opacity: 0.8;
}

.grobal-nav {
    position: absolute;
    width: 100%;
    top: 10px;
    z-index: 100;
}

.g-nav-list {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 64%;
    margin: auto;  
}

.g-nav-list li {
    font-family: "Rye", serif;
    color: #efefef;
    transition: .3s;
}

.g-nav-list li:hover {
    color: #b7b7b7;
}

.g-nav-list a {
    position: relative;
    display: inline-block;
}

.g-nav-list a::after {
    position: absolute;
    bottom: 0;
    left: 50%;
    content: '';
    width: 0;
    height: 1px;
    background-color: #282828;
    transition: .3s;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.g-nav-list a:hover::after {
    width: 100%;
}

main {
    width: 960px;
    margin: 25px auto 70px;
    color: #e9e9e9;
}

h2 {
    font-family: "Baskervville SC", serif;
    color:#81cfbe;
    font-size: 1.5rem;
}

.category-title {
    width: 190px;
    margin: 0 auto 30px;
    text-align: center;
}

.category-title p {
    font-size: calc(1rem * 0.75);
    font-weight: 500;
}

.category-title img {
    max-width: 100%;
    height: auto;
    position: relative;
    top: -13px;
}

.section-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    padding: 50px;
    background: rgba(255,255,255,0.1);
    border: solid 1px #e9e9e9;
    outline: solid 3px #e9e9e9;
    outline-offset: 4px;
    text-align: center;
}

/*ニュース*/

.news,
.information {
    margin: 60px 0;
}

.news-info {
    width: 400px;
    margin: 0 auto 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9e9e9;
}

.triangle {
    font-size: 0.7rem;
    color: #af9452;
}

.flyer-title {
    margin-bottom: 15px;
}

.flyer-image {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.flyer-image a {
  width: 48%;
  display: block;
}

.flyer-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/*インフォメーション*/

.items-title{
    font-size: 1.2rem;
    text-align: center;
}

.youtube {
    width: 100%;
    aspect-ratio: 16 / 9; /* アスペクト比を指定 */
    position: relative; /* 子要素のための基準を設定 */
}

.youtube-placeholder {
    position: absolute; /* 親要素に基づいて配置 */
    width: 100%;
    height: 100%; /* 親要素と同じ高さ */
    background-image: url('https://img.youtube.com/vi/imo7PpZpn1E/hqdefault.jpg');
    background-size: cover; /* 背景画像を親要素にフィット */
    background-position: center; /* 背景画像の中心を表示 */
    background-repeat: no-repeat; /* 繰り返しを防止 */

}

.youtube-placeholder button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 15px 25px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
}

iframe {
    width: 100%;
    height: 100%;
}

/*フレックス*/

.flex-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

/*マップ*/

.access,
.about {
    width: 47%;
}

.map-info {
    text-align: center;
    line-height: 1.6;
}

.map-image {
    margin: 16px 0;
}

.g-map {
    position: relative;
    width: 100%; /* 親要素の幅に合わせる */
    height: 100%; /* 親要素の高さに合わせる */
}

.g-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* 親要素の幅に合わせる */
    height: 100%; /* 親要素の高さに合わせる */
}

/*アバウト*/

.about-info dl {
    margin-bottom: 17px;
}

.about-info dl:last-child {
    margin :0;
}

.about-info dd {
    line-height: 1.6;
}

.about-info dd p {
    text-align: center;
    margin: 1.4rem 0 0.93rem;
}

.about-info img {
    display: block;
    width: 30%;
    margin: auto;
}
    
.tel {
    font-weight: 700;
    text-decoration: underline;
}

.mail {
    text-decoration: underline;
}

/*フッター*/

footer { 
    background: #6E6E6E;
    margin-top: 40px;
}

.footer-inner {
    padding: 30px 0;
    text-align: center;
    color: #fff;
}

.copy-right {
    font-family: 'Marcellus', serif;
    font-size: 10px;
    letter-spacing: 0.1em;
}



/*---レスポンシブ----*/

@supports (-webkit-touch-callout: none) {
.flyer-image img {
    height: auto !important;
    object-fit: contain !important;
  }
}

@media screen and (max-width:768px){
body{
    font-size: 0.85rem;
}

.header {
    height: 98px;
}

.header-white {
    height: 83px;
}

.header-navy {
    height: 73px;
}

.logo {
    height: 43px;
}

.g-nav-list {
    width: 82%;
}

.hamburger-box {
    top: 8px;
    right: 8px;
}

#drawer-nav {
    width: 100%;
    right: -100%;
}

.top-box {
    width: 100%;
}

.nav {
    width: 95%;
}

.nav li {
    font-size: 0.82rem;
}

main {
    width: 87%;
    padding-bottom: 0;
}

.section-box {
    padding: 34px 20px 38px;
}

.category-title {
    width: 165px;
    margin: 0 auto;
    text-align: center;
}

h2 {
    font-size: 1.25rem;
}

/*---マップ---*/

.news {
    margin: 40px 0 60px;
}

.news-info {
    width: 260px;
}

/*---フレックス---*/

.flex-container {
    display: block;
}

/*---マップ---*/

.access {
    width: 100%;
}

.map-image {
    margin: 16px 0;
}

.g-map {
    width: 100%;
    aspect-ratio: 1 / 0.8;  /* 横1に対して縦0.8の比率 */
}

.g-map iframe {
    width: 100%;
    height: 100%;
}

/*---アバウト---*/

.about {
    width: 100%;
    margin-top: 60px;
}

.about-info dd {
    font-size: 0.8rem
}
}