/* リセットCSS */
* {
 margin: 0;
 padding: 0;
 }
 li {
    list-style-type: none;
  }

  table {
    border-collapse: collapse; 
    border-spacing: 0; 
   }

img {
  display: block; 
}
 a {
    text-decoration: none;
    color: #522707;
 }
 p {
    text-decoration: none;
    color: #522707;
 }
 body {
   font-family: "LXGW Marker Gothic", "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "MS Pゴシック", "MS PGothic", sans-serif;
   color: #522707;
 }

.lxgw-marker-gothic-regular {
  font-family: "LXGW Marker Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
}

#header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  position: relative;
}

.logo img {
  height: 30px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}



/* ハンバーガーアイコンのスタイル */
#hamburger {
  position: relative;
  width: 40px;
  height: 40px;
  border: 2px solid #522707;
  background-color: #f7f4e6;
  border-radius: 5px;
}

#hamburger span {
  display: block;
  position: absolute;
  width: 28px;
  height: 4px;
  background-color: #522707;
  left: 4px;
  transition: 0.5s;
}

#hamburger span:nth-child(1) {
  top: 8px;
}

.open #hamburger span:nth-child(1) {
  transform: rotate(45deg);
  top: 16px;
}


#hamburger span:nth-child(2) {
  top: 16px;
}

.open #hamburger span:nth-child(2) {
  opacity: 0;
}

#hamburger span:nth-child(3) {
  top: 24px;
}

.open #hamburger span:nth-child(3) {
  transform: rotate(-45deg);
  top: 16px;
}



/* 初期非表示にしておく */
#gNav {
  position: absolute;
  width: 100px;
  top: 70px; /* ヘッダーの高さ調整 */
  right: 40px; /* ヘッダーのpaddingに合わせる */
  background: #f7f4e6;
  padding: 20px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  visibility: hidden;
  opacity: 0.9;
  transition: opacity 0.5s ease;
  border-radius: 10px;
  z-index: 2000; 
}

#gNav.open {
  visibility: visible;
  pointer-events: auto; /* 表示時はクリック可能に */
}

/* メニューのスタイル */
#gNav ul {
  flex-direction: column;
  gap: 15px;
  display: flex;
  text-align: center;
}

#gNav li {
  padding: 10px 0;
}

#gNav a {
  font-size: 18px;
}


.slideshow {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.slide-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: fit-content;
}

.slide {
  width: 100%; /* 1枚表示 */
  object-fit: cover;
  flex-shrink: 0;
}

#mainH2 {
  position: absolute;
  top: 70%;
  left: 50%;
  width: 60%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.7); /* 半透明の白土台 */
  padding: 5px 5px;
  border-radius: 10px;
  z-index: 10;
  text-align: center;
}

#mainH2 h2 {
  font-size: 1.1rem;
  color: #522707;
  line-height: 1.4;
  margin: 0;
}

.mobile-br {
  display: block;
}

.introduction {
  text-align: center;
  padding: 20px;
  max-width: 1000px;
  margin: 0 auto;
  font-size: 13px;
  background-color: #f7f4e6;
}

.introduction h2 {
    font-size: inherit;
    font-weight: normal;
    margin: 0;
}
.introPhoto ul {
  display: flex;
  flex-direction: column; /* 縦並び */
  align-items: center;
  gap: 20px; /* 画像間のすき間 */
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.introPhoto ul li {
  flex: 0 0 auto;
}

.introPhoto img {
  width: 230px;
  height: 230px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

#leftP {
  object-position: center 10%;
}

#centerP {
   object-position: center 1px;
}

#rightP {
   object-position: 10% 20%;
}

.button {
  display: inline-block;
  margin-top: 20px;
  width: 260px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background-color: #FFB351;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 4px 4px 0 #3e1e00;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.button:active {
  transform: translate(4px, 4px);
  box-shadow: none; /* 影をなくして押し込まれた感じに */
}


#footer {
  padding: 40px 20px 20px;
  text-align: center;
  font-size: 14px;
}

#footerNav ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 6px 12px;
}

#footerNav ul li:nth-child(7) {
  background-color: #f7f4e6;
  border-radius: 10px;
}

#footerLogo img {
  display: block;
  margin: 20px auto 0;
  width: auto;
  height: auto;
}


/* コンタクトページで使用のCSS */

#contact {
  margin: 0 auto;
  padding: 20px 24px;
} 

#yoyaku {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}


table.calendar {
    width: 80%;
    max-width: 900px;
    margin: 0 auto;
    border-collapse: collapse;
    font-size: 14px;
}

table.calendar th, table.calendar td {
    padding: 8px 4px;
    border: 1px solid #522707;
    text-align: center;
}

.day {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.day button {
    margin-top: 4px;
    font-size: 12px;
    padding: 4px 8px;
    background-color: #f7f4e6;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.day button:hover {
  background-color: #FFB351;
  transform: scale(1.05);
}

.day button.ng {
  background-color: #ccc;
  cursor: not-allowed;
}

.day button.ng:hover {
  background-color: #ccc;
  transform: scale(1.05);
}



.dayday {
  font-weight: bold;
  background-color: #f7f4e6;
  font-size: 16px;
}