@charset "UTF-8";
/*  */
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1:wght@100..900&display=swap');

body {
  margin: 0;
  font-family: "M PLUS 1", メイリオ, sans-serif;
  color: #333;
  transition: font-size 0.3s;
  background: #fff2c2;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: #333;
}

li {
  list-style-position: inside;
  list-style-type: none;
}

body.small-font {
  font-size: 14px;
}

body.medium-font {
  font-size: 16px;
}

body.large-font {
  font-size: 20px;
}

header {
  background-color: #fff;
  border-top: 4px solid #2f6e1b;
  z-index: 1001;
}

.wrapper {
  position: relative;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.header-inner {
  padding: 16px 0;
}

p {
  margin: 16px auto;
}

.margin-clear {
  margin: 0;
}

.text-box-margin {
  margin-bottom: 32px;
}

.center {
  text-align: center;
}

.bold {
  font-size: xx-large;
  font-weight: bold;
  text-align: center;
}

.font-bold {
  font-size: x-large;
  font-weight: bold;
  color: #2f6e1b;
}

.bold a {
  display: block;
}

.orange {
  background: #ffd98a;
}

.green {
  color: #2f6e1b;
}

.orange-txt {
  color: #ffa337;
  font-weight: bold;
}

/* h2見出し */
.ttl {
  padding-left: 28px;
  margin: 16px auto;
}

h2 {
  position: relative;
  background: #ffd98a;
  padding: 2px 5px 2px 25px;
  font-size: 20px;
  border-radius: 0 10px 10px 0;
}

h2:before {
  font-family: "Font Awesome 6 Free";
  content: "\f075";
  display: inline-block;
  line-height: 40px;
  position: absolute;
  padding: 0em;
  color: white;
  background: #ffa337;
  font-weight: 900;
  width: 40px;
  text-align: center;
  height: 40px;
  line-height: 34px;
  left: -1.35em;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  border: solid 3px white;
  border-radius: 50%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 5px;
}

.logo-img {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.logo-img img {
  width: 100%;
  height: 100%;
}

.logo-text h1 {
  display: flex;
  flex-direction: column;
}

.sub-text {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: -18px;
}

.main-text {
  font-size: 52px;
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: -8px;
  text-align: center;
}

.main-nav {
  width: 100%;
  margin: 0 auto;
}

.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  border-collapse: collapse;
  border-top: 1px solid #dcdcdc;
  border-bottom: 1px solid #dcdcdc;
}

.nav-item {
  width: calc(100% / 8);
  text-align: center;
}

.nav-item+.nav-item {
  border-left: 1px solid #dcdcdc;
}

.nav-item:first-child {
  border-left: 1px solid #dcdcdc;
}

.nav-item:last-child {
  border-right: 1px solid #dcdcdc;
}

.main-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  padding: 16px 0;
  font-weight: bold;
  text-decoration: none;
}

.main-nav a:hover {
  color: #FFF;
  background-color: #ffa337;
  text-decoration: none;
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 8px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease-in-out;
    z-index: 1003;
    padding-top: 60px;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 0;
    display: none;
    border-top: none;
    border-bottom: none;
  }

  .main-nav.open {
    right: 0;
  }

  .main-nav.open ul {
    display: flex;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    top: -60px;
    right: 16px;
    z-index: 1004;
    font-size: 2rem;
    color: #2f6e1b;
    background: none;
    border: none;
    cursor: pointer;
  }
}

/* オーバーレイ（共通） */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  /* 半透明黒 */
  z-index: 1002;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
  /* 非表示時はクリック無効 */
}

.overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  /* 表示時クリック有効 */
}

.menu-toggle {
  display: none;
}

/* font size */
.font-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 0px;
  top: 0px;
  background: #fff;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.15);
  border-radius: 0px 0px 4px 4px;
  padding: 10px;
  z-index: 1000;
  max-width: calc(100% - 16px);
  width: auto;
}

.font-controls p {
  margin: 10px;
}

.form-box button,
.font-controls button {
  background-color: #f0f0f0;
  border: 1px solid #333;
  border-radius: 3px;
  margin-left: 4.8px;
  padding: 1px 6px;
}

@media screen and (max-width: 768px) {
  .font-controls {
    position: static;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    justify-content: center;
    text-align: center;
    padding: 10px 0;
  }

  .logo {
    justify-content: center;
  }
}

.site-main {
  padding: 1rem 0;
  background-color: #fff2c2;
}

@media screen and (max-width: 768px) {
  .site-main {
    padding: 1rem;
  }
}

.container {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.container>* {
  flex: 1;
  min-width: 400px;
}

/* スマホ用：400px以下でも折り返せるように上書き */
@media (max-width: 480px) {
  .container>* {
    min-width: 100%;
    /* 親幅いっぱいに広げる */
  }

  .sidebar {
    order: 2;
    /* 任意：sidebar を下にしたい場合 */
  }

  .main-content {
    order: 1;
  }
}

.main-content {
  flex: 2;
}

.sidebar {
  flex: 1;
}

.main-image {
  width: 100%;
  height: auto;
}

.link-list img {
  padding: 5px;
}

.base-logo {
  max-height: 60px;
}

.info-text {
  margin-top: 1rem;
  padding: 1rem;
  font-weight: bold;
  border: 1px solid #dcdcdc;
  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3) inset;
}

.facility-name {
  color: #2f6e1b;
  font-size: 1.2rem;
}

.site-footer {
  background: #2f6e1b;
  color: white;
  text-align: center;
  padding: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .main-nav ul {
    flex-direction: column;
    display: none;
  }

  .main-nav.open ul {
    display: flex;
  }

  .nav-item {
    width: 100%;
  }

  .nav-item+.nav-item,
  .nav-item:first-child {
    border-left: none;
  }

  .nav-item:last-child {
    border-right: none;
  }

  .menu-toggle {
    display: block;
  }
}

/* 画像に文字を重ねる */
.image-container {
  position: relative;
  display: inline-block;
  max-width: 100%;
  margin-top: 1rem;
}

.image-container img {
  display: block;
  width: 100%;
  height: auto;
}

.overlay-text {
  position: absolute;
  top: 60%;
  right: 0;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 10px 15px;
  font-size: 1rem;
  color: #333;
  border-radius: 8px 0 0 8px;
  max-width: 90%;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .overlay-text {
    font-size: 0.9rem;
    padding: 8px 12px;
  }
}

@media (max-width: 480px) {
  .overlay-text {
    font-size: 0.8rem;
    padding: 6px 10px;
    top: 58%;
  }
}

/* 画像 */
.image-box {
  width: 100%;
  max-height: 400px;
  margin: 0 auto;
  overflow: hidden;
}

.image-box img {
  width: 100%;
  height: auto;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 6px;
  border-radius: 8px;
}

/*  */
.right {
  text-align: right;
}

.sign {
  width: 300px;
  height: 100px;
}

/* 更新情報・お知らせ */
.news-list {
  margin-bottom: 32px;
}

.news-list li {
  border-bottom: 1px dotted #333;
  padding-bottom: 8px;
}

.facebook_part {
  width: 100% !important;
}

.twitter_part {
  width: 100% !important;
  margin-top: 16px;
}

/* スライドショー */
/* スライダー全体 */
.slider-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}

/* 各スライド内の画像 */
.slider img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ◀▶の左右矢印ボタン */
.slick-prev,
.slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(47, 110, 27, 0.6);
  border-radius: 50%;
  z-index: 10;
  border: none;
  font-size: 24px;
  line-height: 40px;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  cursor: pointer;
  padding: 0;
  font-family: sans-serif;
}

/* ホバー時の色 */
.slick-prev:hover,
.slick-next:hover {
  background: rgba(47, 110, 27, 0.7);
  color: rgba(255, 255, 255, 1);
}

/* デフォルトの矢印文字削除 */
.slick-prev::before,
.slick-next::before {
  content: '';
}

/* ◀ ボタン位置 */
.slick-prev {
  left: 10px;
}

/* ▶ ボタン位置 */
.slick-next {
  right: 10px;
}

/* ドット（下部のページネーション） */
.slick-dots {
  position: absolute;
  bottom: -34px;
  width: 100%;
  display: flex !important;
  justify-content: center;
  padding: 10px 0;
  margin: 0;
  list-style: none;
  gap: 10px;
}

/* ドット1個ずつ */
.slick-dots li {
  width: 14px;
  height: 14px;
}

/* ドットの中のボタン */
.slick-dots li button {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(47, 110, 27, 0.4);
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 0;
  /* 数字などを非表示に */
}

/* アクティブなドット */
.slick-dots li.slick-active button {
  background: rgba(47, 110, 27, 1);
}

/* ドットボタンの中の疑似要素を空にする */
.slick-dots li button::before {
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(47, 110, 27, 0.4);
}

/* アクティブなドットの疑似要素 */
.slick-dots li.slick-active button::before {
  background: rgba(47, 110, 27, 1);
}

/* スマホ対応 */
@media (max-width: 768px) {

  .slick-prev,
  .slick-next {
    width: 30px;
    height: 30px;
    font-size: 20px;
    line-height: 30px;
  }

  .slick-dots {
    bottom: -30px;
  }
}

/* 2つのスライダー */
.double-slider-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
  margin-top: 32px;
}

.half-slider {
  display: flex;
  flex-direction: column;
  flex: 1 1 calc(50% - 1rem);
  max-width: calc(50% - 1rem);
}

@media screen and (max-width: 480px) {
  .half-slider {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

.subpage-slider-container {
  position: relative;
  width: 100%;
}

.subpage-slider {
  width: 100%;
}

.subpage-slider img {
  width: 100%;
  height: 312.8px;
  object-fit: cover;
}

/* fade-text キャプション */
.slider .fade-text,
.subpage-slider .fade-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 1rem;
  text-align: center;
  box-sizing: border-box;
  opacity: 1;
  transition: opacity 0.4s ease;
}

/* スライドホバー時にキャプションを表示 */
.slider div:hover .fade-text,
.subpage-slider div:hover .fade-text {
  opacity: 1;
}

/* スライド項目の位置調整（relativeにする） */
.slider div,
.subpage-slider div {
  position: relative;
}

@media (max-width: 768px) {

  .slider .fade-text,
  .subpage-slider .fade-text {
    font-size: 0.9rem;
    padding: 6px 10px;
  }
}

/*  */
.price-list {
  max-width: 100%;
  margin: 16px auto;
  padding: 0;
  list-style: none;
  font-family: sans-serif;
}

.price-line {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding: 0;
}

.price-line::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-bottom: 1px dashed #333;
  z-index: 0;
}

.menu-name,
.menu-price {
  background: #fff2c2;
  position: relative;
  z-index: 1;
  padding: 0 5px;
}

.menu-note {
  margin-top: 4px;
  padding-left: 5px;
}

/* flex */
.flex-box {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

@media (max-width: 480px) {
  .flex-box {
    flex-direction: column;
  }
}

/* Grid */
.grid-section {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 2rem auto;
  max-width: 960px;
}

.grid-item {
  flex: 1 1 calc(50% - 0.5rem);
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.grid-item p {
  margin: 0;
  color: #333;
  line-height: 1.6;
  padding: 0.5rem 0.8rem 1rem;
}

.step-icon {
  font-size: 2rem;
  margin: 1rem 0 0.5rem;
}

.step-title {
  display: block;
  font-weight: bold;
  color: #2f6e1b;
  margin-bottom: 0.3rem;
}

/* アニメーション効果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadein {
  animation: fadeInUp 0.8s ease forwards;
}

/* スマホ対応：1カラム表示 */
@media (max-width: 480px) {
  .grid-item {
    flex: 1 1 100%;
  }
}

/* table */
.table {
  margin: 2rem auto;
  max-width: 960px;
  padding: 0 1rem;
  overflow: auto;
}

.main-table {
  width: 100%;
  margin-top: 16px;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.main-table th,
.main-table td {
  padding: 1rem;
  border-bottom: 1px solid #333;
}

.main-table th {
  font-weight: bold;
}

.main-table td:nth-child(2) {
  border-left: 1px solid #333;
}

.main-table tr:last-child td {
  border-bottom: none;
}

/* company-table */
.company-table {
  width: 100%;
  margin: 32px auto;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.company-table tr {
  border-bottom: 1px solid #eee;
}

.company-table tr:last-child {
  border-bottom: none;
}

.company-table th,
.company-table td {
  padding: 1rem;
}

.company-table th {
  background: #ffd98a;
  font-weight: bold;
}

.history th {
  text-align: left;
}

/* 作業の流れ部分 */
.gl-day-layout {
  display: flex;
  gap: 2rem;
  max-width: 960px;
  margin: 2rem auto;
  padding: 0 1rem;
  flex-wrap: wrap;
}

.gl-day-images {
  flex: 1 1 40%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gl-day-img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.gl-day-table {
  flex: 1 1 60%;
}

.gl-day-table table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.gl-day-table th,
.gl-day-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.gl-day-table th {
  background: #ffd98a;
  color: #333;
  font-weight: bold;
  width: 100px;
  white-space: nowrap;
}

.gl-day-table tr:last-child td {
  border-bottom: none;
}

.day-table-contact {
  margin-top: 2.5rem;
  text-align: center;
}

/* スマホ対応：縦並びに切り替え */
@media (max-width: 768px) {
  .gl-day-layout {
    flex-direction: column;
  }

  .gl-day-images,
  .gl-day-table {
    flex: 1 1 100%;
  }
}

/* form */
.form-box {
  margin: 1rem auto;
  padding: 0 1rem;
  text-align: center;
  /* form全体の中央寄せ用 */
}

.form-box p,
.form-box form {
  display: inline-block;
  text-align: left;
  max-width: 530px;
  width: 100%;
}

.form-box input,
.form-box option,
.form-box select,
.form-box textarea {
  background: #fff;
  border: 1px solid rgb(209, 209, 209);
  padding: 8px;
  width: 100%;
  /* 入力欄の幅を揃える */
  box-sizing: border-box;
  margin-top: 4px;
}

.form-box label {
  display: block;
}

/* ▼ reCAPTCHAを入力欄と同じ幅に中央配置 */
.form-box .g-recaptcha {
  display: flex;
  justify-content: center;
  margin: 0 auto 1.5em;
  max-width: 100%;
}

/* ▼ 送信ボタンを中央寄せ */
.form-box button {
  display: block;
  margin: 0 auto;
  background-color: #f0f0f0;
  border: 1px solid rgb(209, 209, 209);
  border-radius: 3px;
  padding: 8px 16px;
  cursor: pointer;
}

/* ホバー時のスタイル */
.form-box button:hover {
  background-color: #ffa337;
  color: #fff;
}

.required {
  color: red;
}

@media screen and (max-width: 480px) {

  .form-box input,
  .form-box textarea,
  .form-box select {
    width: 100%;
  }
}


/* page topボタン */
#pagetop {
  padding-top: 40px;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
}

#pagetop a {
  text-decoration: none;
  text-align: center;
  display: block;
  color: #2f6e1b;
  font-size: 30px;
  font-weight: bold;
  background: #9ed58d;
  width: 54px;
  line-height: 54px;
  border-radius: 50%;
}