@charset "utf-8";
.priceBtn {
  padding: 5px 10px;
  width: fit-content;
  background: #72a788;
  color: #fff;
  border: 1px solid #999;
  margin: 0 auto 10px;
  cursor: pointer;
}
.priceModal {}
.priceModal h3 {
  padding: 0;
  color: #126936;
}
.priceModal p {
  text-align: left;
}
.priceModal table {
  margin: 0 0 10px;
}
/* モーダル共通設定 */
[class*="pricePopup"] {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10001;
  background: #fff;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  /* --- ここからスマホ対策の追加 --- */
  max-height: 80vh; /* 画面の高さの80%を最大にする */
  overflow-y: auto; /* 中身が溢れたら内部でスクロールさせる */
  -webkit-overflow-scrolling: touch; /* iOSでのスクロールを滑らかにする */
}
/* 背景オーバーレイ */
.modalOverlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
}
.modalContent {
  padding: 30px;
}
.mcBox {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: flex-end;
}
/* 閉じるボタン */
.modalClose {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 10002;
  background: #555;
  display: block;
}
.modalClose span {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
}
.modalClose span::before, .modalClose span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px; /* 線の長さ */
  height: 2px; /* 線の太さ */
  background: #fff;
}
.modalClose span::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.modalClose span::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
body.modalOpen {
  overflow: hidden;
  position: fixed; /* これを足すとiOSでも強力に止まります */
  width: 100%;
}
#S01 .detail {
  padding: 0 0 3em;
}
#S01 th:nth-child(1) {
  width: 25%;
}
#S01 th:nth-child(2) {
  width: 15%;
}
#S01 th:nth-child(3) {
  width: 20%;
}
#S01 th:nth-child(4) {
  width: 40%;
}
#S01 td:nth-child(1) {
  text-align: left;
  font-weight: 600;
  color: #3f2b0c;
}
#S01 td:nth-child(4) {
  font-size: 0.8em;
  text-align: left;
}
#planBox ul {
  display: flex;
  flex-flow: wrap;
  gap: 20px;
  list-style: none;
  padding: 0;
}
#planBox li {
  padding: 2em 1em;
  border: 1px solid #e4e5e5;
  border-radius: 20px;
  box-shadow: 2px 3px 7px -5px #777777;
  margin: 0 0 2em;
  width: calc(100% / 3 - 20px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
#planBox h3 {
  padding: 0 0 1em;
  color: #126936;
  display: flex;
  flex-flow: column;
  justify-content: center;
  margin: 0;
}
#planBox h3 small {
  font-weight: 400;
  font-size: 0.6em;
  letter-spacing: 0;
  color: #999;
}
#planBox h3::before {
  font-family: 'Material Symbols Outlined';
  display: block;
  content: "\f562";
  font-size: 2.5em;
  font-weight: 200;
  padding: 0 0 20px;
}
#planBox .price {
  font-size: 2em;
  font-weight: 600;
  display: inline-block;
  border-bottom: 8px solid #ffe57f;
  margin: 0 auto 46px;
  width: fit-content;
}
#planBox .popup {
  margin: 0 auto 10px;
}
#planBox .price span {
  font-size: 0.5em;
}
#planBox .subject {
  margin: auto -2em -2em;
  padding: 2em;
  background: #f8f9f840;
  flex-grow: 1;
  border-top: 1px dashed #c1bebe;
}
#planBox .subject p {
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  text-align: left;
}
#S02 table {
  width: 100%;
  table-layout: fixed; /* 各列幅厳密 */
  border-collapse: collapse;
}
#S02 th {
  background: #126936;
}
#S02 th:nth-child(1), #S02 td:nth-child(1) {
  width: 220px;
}
#S02 th:not(:nth-child(1)), #S02 td:not(:nth-child(1)) {
  width: calc((100% - 250px) / 5);
}
#S02 td:nth-child(1) {
  text-align: left;
  font-weight: 600;
}
#option {
  padding: 3em 0 0;
}
#option p {
  text-align: left;
}
#option ul {
  display: flex;
  flex-flow: wrap;
  column-gap: 10px;
  row-gap: 5px;
}
#option ul li {
  padding: 0;
  width: calc(100% / 2 - 10px);
}
#option dl {
  padding: 0;
  flex-flow: inherit;
}
#option dl dt, #option dl dd {
  font-size: 0.9em;
  padding: 10px;
  margin: 0;
}
#option dl dt {
  width: 75%;
}
#option dl dd {
  width: 25%;
  text-align: center;
}
#S03 ul {
  gap: 20px;
}
#S03 ul li {
  width: 100%;
}
#S03 th:nth-child(1) {
  width: 400px;
}
#S03 td:nth-child(1) {
  text-align: left;
}
/*----------------------------------------------------------- 1240px */
@media screen and (max-width: 1240px) {
  #option ul li {
    padding: 0;
    width: 100%;
  }
  #S03 ul {
    flex-flow: column;
  }
  #S03 th:nth-child(1) {
    width: 70%;
  }
}
/*----------------------------------------------------------- 1024px */
@media screen and (max-width: 1024px) {
  #planBox li {
    width: calc(100% / 2 - 20px);
  }
}
/*----------------------------------------------------------- 768px */
@media screen and (max-width: 768px) {
  #planBox li {
    width: 100%;
  }
}