html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  color: rgb(26, 26, 26);
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  background-color: #f9f2e0;
  overflow-x: hidden;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 10px 0;
  font-weight: bold;
}



.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4%;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}

.logo img {
  height: 50px;
  width: auto;
  display: block;
}

.logo span {
  font-size: 2rem;
  font-weight: bold;
  color: #575757;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 40px;
  margin: 0;
  padding: 0;
}

.main-nav ul li a {
  text-decoration: none;
  color: #575757;
  transition: color 0.3s;
}

.main-nav ul li a:hover {
  color: #52c285;
}

.btn-reserve {
  background: #f9e6c2;
  padding: 8px 15px;
  border-radius: 5px;
}

.btn-access {
  background: #52c285;
  color: #fff;
  padding: 8px 20px;
  border-radius: 20px;
  text-decoration: none;
}

.btn-access:hover {
  background: #343434;
  color: #f8f3e1;
  transition: 0.3s;
}

section.main-visual {
  margin-top: 70px;
  width: 100%;
  max-width: 1920px;
  position: relative;
}

.main-visual-inner {
  position: relative;
  width: 100%;
}

.slider-container {
  margin-left: 10%;
  position: relative;
  height: 75vh;
  border-radius: 0 0 0 60px;
  overflow: hidden;
  z-index: 10;
  background: #f7f7f7;
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.05);
}

.slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 1;
}

.slider .slide.active {
  opacity: 1;
  z-index: 2;
}

.main-content {
  position: absolute;
  top: 70%;
  left: 20%;
  transform: translateY(-50%);
  z-index: 20;
  width: 100%;
  pointer-events: none;
}

.main-content .copy {
  color: #333;
  font-size: 2.2rem;
  font-weight: bold;
  line-height: 1.6;
  margin-left: -5%;
  display: inline-block;
  padding: 10px 20px;
  border-radius: 10px;
  text-shadow: 2px 2px 0px #fff;
}

.time-table-wrapper {
  position: absolute;
  right: 2%;
  bottom: -11%;
  z-index: 50;
  background: #fff;
  padding: 20px 30px;
  border-radius: 15px;
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.05);
  font-weight: bold;
}

.time-table {
  border-collapse: collapse;
  width: 100%;
  text-align: center;
}

.time-table th {
  padding: 10px 8px;
  border-bottom: 1px solid #ddd;
}

.time-table td {
  padding: 12px 8px;
}

.time-table td.time-label {
  text-align: left;
  padding-right: 20px;
}

.time-table td:not(.time-label) {
  color: #54c386;
  font-size: 1.1rem;
}

.closed-days {
  text-align: right;
  margin-top: 10px;
  font-size: 0.8rem;
  color: #666;
}

.news_bg {
  background-color: #fff;
  width: 100%;
  max-width: 800px;
  text-align: center;
  margin: 150px auto;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

section.news {
  padding: 30px;
}

.news ul {
  background-color: #fff;
  text-align: left;
  list-style: none;
  max-width: 80%;
  margin: 0 auto;
}

.news li {
  padding: 30px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  gap: 30px;
}

.news li:last-child {
  border-bottom: none;
}

.news time {
  color: #095395;
  min-width: 100px;
  width: 30%;
  text-align: right;
}

h3 {
  font-weight: bold;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
}

h3 span {
  font-size: 1rem;
  display: block;
  margin-top: -5px;
}

section {
  margin: 200px auto;
  max-width: 1200px;
  width: 94%;
}

.features-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.feature-item {
  background: #fff;
  padding: 40px 20px;
  border-radius: 20px;
  text-align: center;
  flex: 1;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.icon-wrap {
  width: 80px;
  height: 80px;
  background: #fdf8ef;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px;
}

.icon-wrap .material-symbols-outlined {
  font-size: 40px;
  color: #52c285;
}

.feature-item h4 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
}

.feature-item p {
  line-height: 1.8;
  text-align: justify;
}

section.map {
  max-width: 1200px;
  margin: 150px auto;
}

section.map div {
  height: 500px;
  overflow: hidden;
  position: relative;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

section.map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* --------他ページ  ------ */
.page-visual {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 0px;
  text-align: center;
  margin-top: 70px;
  color: #fff;
  position: relative;
}

.header_service {
  background-image: url("../images/service/header_service.webp");
}

.header_about {
  background-image: url("../images/about/header_about.webp");
}

.header_contact {
  background-image: url("../images/contact/header_contact.webp");
}

.page-visual::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

.page-visual h2 {
  position: relative;
  z-index: 1;
  font-size: 2.5rem;
  font-weight: bold;
  letter-spacing: 5px;
}

.page-visual h2 span {
  display: block;
  font-size: 1rem;
  color: #fff;
  opacity: 0.9;
}

section {
  max-width: 1000px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin: 0 auto;
}

.service-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-img {
  overflow: hidden;
  height: 200px;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.1);
}

.service-body {
  padding: 25px;
}

.service-body h4 {
  font-size: 1.5rem;
  color: #52c285;
  margin-bottom: 15px;
  border-bottom: 2px solid #fdf8ef;
  padding-bottom: 10px;
  font-weight: bold;
}

.price-list {
  max-width: 1000px;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.design-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.design-table th {
  background: #52c285;
  color: #fff;
  padding: 15px;
  text-align: left;
}

.design-table td {
  padding: 15px;
  border-bottom: 1px solid #eee;
}

.design-table .category {
  background: #fdf8ef;
  font-weight: bold;
  color: #333;
  width: 200px;
}

.table-note {
  margin-top: 15px;
  font-size: 0.9rem;
  color: #666;
}


.director-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin: auto;
  max-width: 1200px;
}

.director-image {
  flex: 1;
}

.director-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.director-text {
  flex: 1.5;
}

.director-text h4 {
  font-size: 1.8rem;
  color: #575757;
  margin-bottom: 20px;
  line-height: 1.4;
}

.director-profile {
  margin-top: 30px;
  background: #f9f9f9;
  padding: 20px;
  border-left: 4px solid #4CAF50;
}

.director-profile h5 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #575757;
}

/* --- スタッフ紹介セクション --- */
.staff-intro {
  margin: 100px auto;
  max-width: 1000px;
  /* 2列で見やすくするため少し幅を絞っています */
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* 2列スタイル */
  gap: 40px;
  margin-top: 40px;
}

.staff-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.staff-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.staff-info {
  padding: 20px;
  text-align: center;
}

.staff-info h5 {
  color: #52c285;
  margin-bottom: 10px;
  font-weight: bold;
}

.staff-info h5 span {
  display: block;
  font-size: 1.4rem;
  color: #575757;
}

.staff-info p {
  line-height: 1.6;
  text-align: left;
  margin-top: 10px;
  color: #666;
}


.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.gallery-item {
  text-align: center;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.reservation-info {
  position: relative;
  max-width: 800px;
  margin: 0 auto 40px;
  padding: 40px;
  text-align: center;
  background-color: #fff;
  border-radius: 10px;
  line-height: 1.8;
  color: #333;
}

.info-label {
  display: block;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: #ccc;
  margin-bottom: 20px;
}


.reservation-info::before {
  top: 10px;
  left: 10px;
  border-right: none;
  border-bottom: none;
}

.info-main-text {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.highlight-red {
  color: #d9534f;
}

.underline {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.warning-text {
  font-size: 0.85rem;
  color: #d9534f;
  display: inline-block;
  margin-top: 10px;
}

.contact-form-section {
  max-width: 800px;
  margin: 80px auto;
  padding: 0 4%;
}

.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 50px;
  font-weight: bold;
}

.form-group label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
}

.form-group label span {
  background: #ff6b6b;
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 10px;
  vertical-align: middle;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1.2rem;
  width: 100%;
  box-sizing: border-box;
}

.radio-group {
  display: flex;
  gap: 80px;
  margin-top: 10px;
}

::placeholder {
  color: #999;
}

.radio-group label {
  font-weight: normal;
  cursor: pointer;
}

.radio-group input {
  width: auto;
  margin-right: 5px;
}

.btn-submit {
  width: 100%;
  background: #52c285;
  color: #fff;
  padding: 15px;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.btn-submit:hover {
  background: #343434;
  color: #f8f3e1;
}

.contact-form p.point {
  font-size: 0.9rem;
  margin-top: 30px;
}

.green {
  background: #666;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  gap: 40px;
}

.green a {
  font-weight: bold;
  background: #52c285;
  color: #fff;
  padding: 8px 20px;
  border-radius: 20px;
  text-decoration: none;
}

.green a:hover {
  background: #343434;
  color: #f8f3e1;
  transition: 0.3s;
}

.green img.left {
  width: 20%;
}

.green .right {
  width: 50%;
}

.green .right p {
  margin-bottom: 20px;
}



/* --- フッター --- */
.site-footer {
  background-color: #fff;
  padding: 60px 4% 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

#js-loader {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #fff;
  z-index: 9999;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-content {
  text-align: center;
  animation: logo-fade 1.5s ease-in-out infinite alternate;
}

.loader-content img {
  width: 150px;
  height: auto;
  margin-bottom: 10px;
}

.loader-content p {
  font-size: 3rem;
  font-weight: bold;
  color: #333;
}

@keyframes logo-fade {
  0% {
    transform: scale(0.95);
    opacity: 0.7;
  }

  100% {
    transform: scale(1.05);
    opacity: 1;
  }
}

.loader.is-hide {
  opacity: 0;
  visibility: hidden;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-info {
  flex: 1;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 20px;
  display: block;
}

.footer-tel {
  font-size: 2rem;
  font-weight: bold;
  color: #52c285;
  margin-bottom: 10px;
}

.footer-address {
  color: #666;
}

.footer-nav {
  flex: 1;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  font-weight: bold;
}

.footer-nav a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: #52c285;
}

.copyright {
  text-align: center;
  font-size: 0.8rem;
  color: #999;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

/* --- TOPへ戻るボタン --- */
.page-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #343434;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 100;
  opacity: 0;
  transform: translateY(100px);
  transition: 0.3s;

}

.page-top.is-show {
  opacity: 1;
  transform: translateY(0);
}

.page-top:hover {
  background-color: #52c285;
  color: #f8f3e1;
}


/* --- 予約一覧 --- */
.admin-container {
  max-width: 1200px;
  margin: 40px auto;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.admin-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 20px;
}

.admin-container table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.admin-container th,
.admin-container td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: left;
}

.admin-container th {
  background-color: #00a86b;
  color: white;
}

.admin-container tr:nth-child(even) {
  background-color: #f9f9f9;
}

.admin-container tr:hover {
  background-color: #f1f1f1;
}

.admin-container .date-cell {
  white-space: nowrap;
  font-size: 0.9em;
  color: #666;
}


/* --- スマホ・タブレット対応の追加 --- */
.menu-btn {
  display: none;
  /* PCでは隠す */
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2000;
  padding: 0;
}

.menu-btn span {
  width: 100%;
  height: 2px;
  background-color: #575757;
  transition: all 0.3s;
}

@media (max-width: 1200px) {
  section.features {
    width: 94%;
  }

  section.map {
    width: 94%
  }
}


@media (max-width: 950px) {

  .menu-btn {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    transition: right 0.3s;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1500;
  }

  .main-nav.is-active {
    right: 0;
  }

  .main-nav ul {
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
  }

  .menu-btn.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .menu-btn.is-active span:nth-child(2) {
    opacity: 0;
  }

  .menu-btn.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }


  .main-nav {
    gap: 20px;
    font-size: 1.2rem;
  }

  .main-nav ul {
    gap: 30px;
    flex-direction: column;
  }

  .slider-container {
    margin-left: 0;
    height: 50vh;
    border-radius: 0;
  }

  section {
    margin: 100px auto;
    width: 94%;
    margin-top: 50px;
  }

  .main-content {
    position: static;
    transform: none;
    padding: 20px 4%;
    box-sizing: border-box;
  }

  .main-content .copy {
    margin-left: 0;
    font-size: 1.2rem;
    text-shadow: none;
    background: rgba(255, 255, 255, 0.8);
    display: block;
  }

  .time-table-wrapper {
    position: static;
    margin: 20px 4%;
    box-sizing: border-box;
  }

  .time-table th,
  .time-table td {
    padding: 5px;
    font-size: 1rem;
    text-align: left;
  }

  section.news {
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 20px;
    max-width: 100%;
  }

  .news_bg {
    margin: 0;
    background: none;
  }

  .news li {
    border-bottom: 1px solid #eee;
    display: block;
  }

  .news time {
    text-align: left;
    display: block;
    margin-bottom: 10px;
  }

  h3 {
    font-size: 1.5rem;
  }

  section.map {
    margin: 100px auto;
  }

  .feature-item h4 {
    font-size: 1.3rem;
  }

  .site-footer {
    padding: 20px 4% 20px;
  }

  .footer-inner {
    align-items: center;
  }

  .footer-nav {
    display: none;
  }

  .page-visual {
    padding: 70px 0px;
  }

  .service-card:hover {
    transform: none;
  }

  .service-card:hover .service-img img {
    transform: none;
  }

  .service-body h4 {
    font-size: 1.3rem;
  }

  .table-scroll::-webkit-scrollbar {
    height: 8px;
  }

  .table-scroll::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
  }

  .staff-grid {
    gap: 20px;
  }

  .director-content {
    flex-direction: column;
  }

  .features-grid {
    flex-direction: column;
  }

  .feature-item {
    margin-bottom: 20px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-logo img {
    margin: 0 auto 20px;
  }

  .footer-nav ul {
    display: block;
  }

  .footer-nav li {
    margin-bottom: 15px;
  }


  .green {
    display: grid;
  }

  .green img.left {
    width: 100%;
  }

  .green .right {
    width: 100%;
  }

  div.green .link {
    text-align: center;
  }

  .footer-info {
    text-align: left;
  }

}

@media (max-width: 767px) {
  .service-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .staff-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

}