html {
  font-size: 100%;
}

body {
  color: #00081a; 
  font-family: "Noto Sans JP";
  background-color: #f5f0e1;
}

a {
  text-decoration: none;
}

p {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

img {
  max-width: 100%;
}

li {
  list-style: none;
  font-size: 1.2rem;
}

.wrapper {
  max-width: 960px;
  margin: 0 auto 130px auto;
  font-size: 0.9rem;
  padding: 0 4%;
}

.sec-title {
  font-size: 1.5rem;
  text-align: center; 
  margin-bottom: 45px;
  color: #452A19;
}

/* header */
#header {
  background-color: #ece7e1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  position: relative;
  z-index: 1100;
}

#header .logo {
  width: 110px;
  height: 50px;
}

/* ナビゲーションリスト */
.nav-list {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-list li a {
  color: #452A19;
  transition: all 0.3s
}

.nav-list li a:hover {
  opacity: 0.5;
}

.nav-list li a.btn {
  vertical-align: middle;
  margin-top: -2px;
  padding: 4px 12px;
  background-color: #616B07;
  color: #ffffff;
  border-radius: 20px; 
  font-size: 1.0rem;
}


/* ハンバーガーメニュー */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #452A19;
  display: block;
  transition: 0.3s;
}

/* main */
.slideshow {
  width: 100%;
  height: 100vh;
  min-height: 300px;
  position: relative;
  overflow: hidden;
  margin-bottom: 70px;
}

.slideshow img {
  width: 100%;
  height: 100%;
  position: absolute;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  object-fit: cover;
}

.slideshow img.active {
  opacity: 1;
}


/* ご挨拶 */
#ご挨拶 ul {
  margin-bottom: 30px;
}

#ご挨拶 ul li {
  margin-bottom: 3px;
}

#ご挨拶 ul li:nth-child(5) {
  margin-bottom: 30px;
}

#ご挨拶 p:nth-child(3) {
  margin-bottom: 50px;
}

#ご挨拶 p:nth-child(4) {
  text-align-last: center;
}

/* お知らせ */
#お知らせ {
  background-color: #FDFCF5;
}

#お知らせ p {
  text-align: center;
}

#お知らせ p:nth-child(4) {
  margin-bottom: 40px;
}

#お知らせ ul {
  margin-bottom: 40px;
}

#お知らせ ul li {
  text-align: center;
}

/* 施術案内 */
#施術案内 .container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;  
}

.card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0px 4px 8px rgda(0, 0, 0, 0.1);
  width: 300px;
  padding: 20px;
}

.card img {
  width: 100;
  border-radius: 12px;
  display: block;
  margin: auto;
  margin-top: 10px;
  margin-bottom: 10px;
}

.card h3 {
  color: #452A19;
  margin-top: 10px;
  text-align: center;
  margin-bottom: 10px;
  font-size: 1.4rem;
}

.card li {
  color: #452A19;
  font-size: 22px;
  list-style: none;
  text-align: center;
}

.card p {
  color: #00081a;
  font-style: 14px;
  line-height: 1.3;
  margin-top: 10px;
  margin-bottom: 10px;
}

#施術案内 .btn {
  display: block;
  width: fit-content;
  margin: 10px auto 0;
  padding: 10px 20px;
  background-color: #616B07;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 17px;
}

#施術案内 .btn:hover {
  background-color: #919F74;
}

#施術案内 h3 {
  border-bottom: 2px solid #452A19;
  padding-bottom: 5px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 10px;
}

th, td {
  border: 1px solid #452A19;
  padding: 10px;
  text-align: left;
}

th {
  background-color: #AD7D4C;
  color: #ffffff;
}

/* 施術日カレンダー */
#施術日カレンダー .container {
  max-width: 700px;
  margin: 40px auto;
  padding: 20px ;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}
#施術日カレンダー h3 {
  color: #452A19;
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;     
}
#施術日カレンダー .calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  padding: 10px;
  background-color: #ece7e1;
  border-radius: 10px;
}
.day, .weekday {
  padding: 15px;
  border-radius: 8px;
  font-size: 23px; /* 数字を大きく変更 */
  font-weight: bold;
  background-color: #ffffff;
  border: 1px solid #ece7e1;
  transition: all 0.3s ease;
  text-align: center;
}
.weekday {
  background-color: #FDFCF5;
  color: #00081a;
}
.weekday:nth-child(1) { color: red; } /* 日曜日 */
.weekday:nth-child(7) { color: blue; } /* 土曜日 */
.open { background-color: #4B986A; color: #ffffff; } /* 施術日 */
.closed { background-color: #CD622C; color: #ffffff; } /* 休術日 */
.day:hover {
  transform: scale(1.1);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}
#施術日カレンダー .nav-buttons button {
  margin-bottom: 10px; 
  margin-right: 40px;
  margin-left: 40px;
}
#施術日カレンダー .btn {
  background-color: #493759;
  color: #ffffff;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}
#施術日カレンダー .btn:hover {
  background-color: #2D0425;
}
.legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
  font-size: 16px;
  font-weight: bold;
}
.legend-item {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 5px;
}
.legend-item.open {
  background-color: #4B986A; /* 施術日（緑色） */
}
.legend-item.closed {
  background-color: #CD622C; /* 休術日（丹色） */
}

/* アクセス */
.transport-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.transport-table th, .transport-table td {
  padding: 10px;
  text-align: left;
}

.highlight {
  font-weight: bold;
}

#アクセス figure {
  padding: 20px;
  text-align: center;
}

#アクセス figure img {
  width: 250px;  
}

#アクセス .container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;  
}
#アクセス h3 {
  border-bottom: 2px solid #452A19;
  padding-bottom: 5px;
  font-size: 1.3rem;
}

/* お問い合わせ */
#お問い合わせ p {
  text-align: center;
  margin-bottom: 20px;
}

#お問い合わせ dl {
  display: flex;
  flex-wrap: wrap;
}

#お問い合わせ dt {
  width: 25%;
  margin-bottom: 10px;
}

#お問い合わせ dd {
  width: 75%;
  margin-bottom: 10px;
}

#お問い合わせ dd input,
#お問い合わせ dd textarea {
  width: 100%;
  border: 1px solid #452A19;
  padding: 10px;
  background-color: #FDFCF5;
  color: #1C1C1C;
}

#お問い合わせ dd textarea {
  height: 10rem;
}

#お問い合わせ .g-recaptcha {
  text-align: center;
  margin: 20px auto;
  width: fit-content;
}

#お問い合わせ .button {
  text-align: center;
}

#お問い合わせ .button input {
  border: 1px solid #452A19;
  background-color: #433D3C;
  width: 200px;
  padding: 15px 0;
  color: #ffffff;
  transition: all 0.3s;
}

#お問い合わせ .button input:hover {
  background-color: #919F74;
  color: #00081a;
}

/* SNS */
.sns-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

.sns-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 16px;
  transition: background 0.3s ease;
}

.sns-btn img {
  width: 28px !important;
  height: 28px !important;
  flex-shrink: 0;
}

.sns-btn.line {
  background-color: #00c300;
  color: white;
}

.sns-btn.line:hover {
  background-color: #00a300;
}

.sns-btn.instagram {
  background-color: #E1306C;
  color: white;
}

.sns-btn.instagram:hover {
  background-color: #C12B60;
}

/* aside */
.site-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 5%;
  background: #ece7e1;
  position: relative;
}

/* 左側のロゴ */
.logo-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-container img {
  width: 200px;
  height: auto;
}

/* 中央のコンテンツ（ナビゲーションと基本情報） */
.center-container {
  flex: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ナビゲーションメニュー（上部） */
.nav-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.nav-links a {
  color: #452A19;
  text-decoration: none;
  font-weight: bold;
}

.nav-links a:hover {
  text-decoration: underline;
}

/* 基本情報 */
.info-container {
  text-align: center;
}

.site-info-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 2px solid #452A19;
}

.site-info p {
  margin: 5px 0;
  font-size: 16px;
}

.site-info a {
  color: #452A19;
  text-decoration: none;
  font-weight: bold;
}

.site-info a:hover {
  text-decoration: underline;
}

/* フッター */
footer{
  background-color: #616B07;
  color: #ffffff;
  text-align: center;
  padding: 10px;
}

/* スマホ用スタイル */
@media (max-width: 1024px) {
  .hamburger {
    display: flex;
  }

  .nav-list {
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #ece7e1;
    flex-direction: column;
    width: 100%;
    display: none;
    text-align: center;
    padding: 10px 0;
    border-top: 1px solid #ece7e1;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-list.active {
    display: flex;
  }
}

  /* main */
  @media (max-width: 768px) {
    .slideshow {
        height: 40vh;
        min-height: 200px;
    }
  }

  /* 施術日カレンダー */
  @media (max-width: 600px) {
    .container { max-width: 95%; padding: 10px; }
    .calendar { gap: 1px; }
    .day, .weekday { font-size: 14px; padding: 8px; }
    .nav-buttons { flex-direction: column; gap: 5px; }
  } 
  
  /* お問い合わせ */
  @media (max-width: 768px) {
    #お問い合わせ dl {
      flex-direction: column;
    }

    #お問い合わせ dt {
      width: 100%;
      margin-bottom: 5px;
    }

    #お問い合わせ dd {
      width: 100%;
    }
  }

  /* aside */
  @media (max-width: 768px) {
    .site-info {
      flex-direction: column;
      text-align: center;
      padding: 20px;
    }

    .logo-container {
      margin-bottom: 20px;
    }

    .nav-links {
      flex-direction: column;
      gap: 10px;
    }
  }
