.section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

#price_list {
  border-bottom: 0;
  padding-bottom: 0;
}


.nav-buttons {
  list-style: none;
  padding: 20px 10px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.nav-buttons li {
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
  top: 0;
  transition: 0.4s;
  padding: 4px;
  background: #fff;
}

.nav-buttons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 1rem 2rem;
  border: 2px solid var(--theme-color02);
  font-family: "Zen Old Mincho", serif;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
  color: #333;
}

.nav-buttons li:hover {
  top: -0.2rem;
  background: #a6c3a7;
}

.section-title {
  font-size: 30px;
  font-weight: 600;
  margin: 60px 0 20px;
  position: relative;
  font-family: "Zen Old Mincho", serif;
}
.section-title::before {
  content: "—";
  color: #6b8d73;
  margin-right: 10px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
  background: #fff;
  border: 1px solid #787878;
  font-family: "Zen Old Mincho", serif;
  table-layout: fixed;
}

.price-table th {
  background: #75a376;
  color: #fff;
  padding: 10px 14px;
  font-weight: 600;
  text-align: left;
  font-size: 16px;
}

.price-table td {
  width: 50%;
  border-top: 1px solid #787878;
  border-right: 1px solid #787878;
  padding: 20px 14px;
  font-size: 18px;
  color: #166656;
  vertical-align: middle;
}
.price-table td.price_font {
  color: #333;
}
.price-table td:last-child {
  text-align: right;
  white-space: nowrap;
}

.table-title {
  background: #75a376;
  color: #fff;
  font-weight: 600;
  padding: 25px 14px;
  font-size: 20px;
  text-align: center;
  font-family: "Zen Old Mincho", serif;
}

.secondline {
  font-size: 15px;
  width: 100%;
  display: block;
  overflow-wrap: break-word;
  margin: 5px 0 0 2px;
  line-height: 1.5em;
  padding-left: 1em;
  text-indent: -1em;
}

.noind {
  padding-left: 0em;
  text-indent: 0em;
}

.note {
  font-size: 13px;
  color: #555;
  margin-top: -20px;
  text-align: right;
}

.info-box {
  border: 1px solid #cfd8cf;
  padding: 20px 40px;
  margin: 20px 0 40px;
}

.info-box h4 {
  font-size: 20px;
  text-align: center;
  color: #75a376;
  margin-top: 0;
  margin-bottom: 20px;
  font-family: "Zen Old Mincho", serif;
  font-weight: 700;
}

.info-box ul {
  padding-left: 18px;
  margin: 0;
  list-style: disc;
}

.info-box ul.rl {
  width: 50%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, auto);
  column-gap: 20px; /* 列の間隔 */
  row-gap: 6px; /* 行の間隔 */
  padding-left: 0;
  list-style: none;
}

.info-box ul.rl li {
  position: relative;
  padding-left: 1.2em;
}

.info-box ul.rl li::before {
  content: "・";
  position: absolute;
  left: 0;
}

.intro-text {
  text-align: left;
  margin-bottom: 30px;
  line-height: 1.6;
}

.flowchart-section {
  padding: 20px 0;
  margin-bottom: 40px;
}

.flow-container {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  text-align: center;
  margin-bottom: 40px;
  font-family: "Zen Old Mincho", serif;
}

.flow-row-wrapper {
  display: contents;
}

.flow-box {
  flex: 1;
  min-width: 150px;
  padding: 15px 10px;
  box-sizing: border-box;
  font-weight: bold;
  color: #333;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.flow-box.step,
.flow-box.final-step {
  background-color: #d2e9ca;
  border: 1px solid #c9e6c9;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.08),
  inset 0 0 0 2px rgba(255, 255, 255, 0.7);
}

.flow-box.result {
  background-color: #75a376;
  color: #333;
  border: 1px solid #7cb57c;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.08),
  inset 0 0 0 2px rgba(255, 255, 255, 0.7);
}

.box-title {
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

.flow-operator {
  font-size: 30px;
  font-weight: bold;
  margin: 0 10px;
  color: #555;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.checklist-section {
  background-color: #f0f7f0;
  padding: 25px;
  border-radius: 5px;
  border: 1px solid #e0e7e0;
  text-align: center;
}

.checklist-title {
  font-size: 18px;
  font-weight: bold;
  color: #38761d;
  margin-top: 0;
  margin-bottom: 20px;
  padding-bottom: 5px;
  border-bottom: 2px solid #a0d4a0;
  display: inline-block;
}

.checklist {
  list-style: none;
  padding: 0;
  text-align: left;
  margin: 0 auto 20px auto;
}

.checklist li {
  margin-bottom: 10px;
  list-style: none;
  background: url(./img/ckm01.png) no-repeat left center;
  padding-left: 2em;
}
.note2 {
  font-size: 16px !important;
  font-weight: 700;
  color: #176659;
  margin-bottom: 25px;
  text-align: center;
}

.details-button {
  width: 30em;
  display: block;
  background-color: #75a376;
  color: white;
  text-align: center;
  padding: 10px 20px;
  margin: 0 auto;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  transition: background-color 0.3s;
}

.details-button:hover {
  background-color: #4a8a4a;
}

.arrow {
  margin-left: 5px;
}

@media (max-width: 600px) {
  .nav-buttons a {
    font-size: 13px;
    padding: 8px;
  }
  .price-table td,
  .price-table th {
    font-size: 14px;
  }
}

/*================================
TABLET横 1080px～0px
================================*/
@media (max-width: 1080px) {
}

/*================================
TABLET縦 834px～0px
================================*/
@media (max-width: 834px) {
.info-box ul.rl {
  width: 100%;
  padding-left: 10%;
}

}

/*================================
SP表示 667px～0px
================================*/
@media (max-width: 667px) {
  .nav-buttons {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-table td {
    display: block;
    width: 100%;
    word-break: break-all;
    text-align: left;
    border-right: none;
    padding: 10px 14px;
  }
  .price-table td:last-child {
    text-align: left;
    margin-top: 5px;
  }
  .price-table th {
    font-size: 14px;
  }
  .price-table td.price_font {
    font-size: 13px;
    text-align: right;
  }
  .secondline {
    font-size: 13px;
  }
  .info-box {
    padding: 20px 20px;
    margin: 20px 0 40px;
  }

  .info-box ul.rl {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, auto);
    column-gap: 20px;
    row-gap: 6px;
    padding-left: 0;
    list-style: none;
  }
  
  .flow-container {
    flex-direction: column;
    align-items: stretch;
  }

  .flow-box.result {
    width: 100%;
    margin-bottom: 15px;
  }

  .flow-operator {
    font-size: 24px;
    margin: 0 0 10px 0;
    align-self: flex-start;
  }

  .flow-operator.fo_ec {
    font-size: 24px;
    margin: 0 0 10px 0;
    writing-mode: vertical-rl;
    align-self: center;
  }

  .flow-row-wrapper {
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
    width: 100%;
    justify-content: space-between;
  }

  .flow-row-wrapper .flow-box {
    flex: 1 1 25%;
    min-width: unset;
    margin: 0;
    padding: 8px 4px;
    box-sizing: border-box;
    font-size: 11px;
    line-height: 1.2;
  }

  .flow-row-wrapper .flow-operator {
    font-size: 16px;
    margin: 0 3px;
    align-self: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .flow-row-wrapper .flow-operator:last-of-type {
    display: none;
  }

  .flow-row-wrapper .box-title {
    font-size: 12px;
  }

  .flow-row-wrapper .box-subtitle {
    font-size: 11px;
  }

  .flow-row-wrapper .box-small-text {
    font-size: 10px;
  }

  .checklist {
    padding: 0 5px;
  }

  .checklist li {
    line-height: 1.5;
  }

  .details-button {
    width: 80%;
  }
  .checklist li {
    background: url(./img/ckm01.png) no-repeat left 4px;
    padding-left: 2em;
  }
}
/*================================

================================*/
@media (max-width: 430px) {
.info-box ul.rl {
  display: block;
}
}