@charset "utf-8";
/*====================================

    Service Plan Table Styles

====================================*/

/* プランナビゲーションコンテナ */
.plan-nav-container {
  width: 100%;
  margin: 0 auto 80px;
}

/* ナビゲーションリンク */
.plan-nav {
  display: grid;
  /* grid-template-columns: repeat(4, 1fr); */
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0;
  max-width: 100%;
}

.plan-nav a.plan-nav-link,
a.plan-nav-link {
  background: #133aa5;
  color: #ffffff;
  text-align: center;
  font-size: 2.4rem; /* 24px */
  font-size: clamp(1.4rem, 24/1160 * 100vw, 2.4rem);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  border-radius: 10px;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 10px;
  min-height: 100px;
}

.plan-nav a.plan-nav-link::after,
a.plan-nav-link::after {
  content: "▼";
  font-size: 1.4rem; /* 14px */
  display: block;
  color: #ffffff;
}

.plan-nav a.plan-nav-link:hover,
a.plan-nav-link:hover {
  background: #2563eb;
  opacity: 0.9;
  color: #ffffff;
}

/* プランセクション */
.plan-section {
  margin-bottom: 100px;
  scroll-margin-top: 100px;
}

.plan-section:last-child {
  margin-bottom: 0;
}

.plan-section-title {
  font-size: 4rem; /* 40px */
  font-weight: 700;
  color: #1e3a8a;
  text-align: center;
  /* margin-bottom: 30px; */
}

.plan-content-desc {
  text-align: center;
  font-size: 1.6rem; /* 16px */
  color: #666;
  padding: 60px 0;
}

.plan-fee-info {
  text-align: center;
  font-size: 1.6rem; /* 16px */
  /* color: #333; */
  line-height: 1.8;
  margin: 20px 0 0;
  padding: 0;
}

.plan-fee-info span {
  display: inline-block;
}

/* プランテーブル */
.plan-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  /* max-width: 1100px; */
  margin: 0 auto;
  position: relative;
}

.plan-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 4px;
  font-size: 1.5rem; /* 15px */
  background: #fff;
  border: none;
  padding-top: 60px;
  position: relative;
  margin-top: 16px;
}

.plan-table thead tr {
  background: transparent;
}

.plan-table th {
  background: #133aa5;
  color: #fff;
  font-weight: 700;
  padding: 20px 5px;
  text-align: center;
  border: 1px solid #707070;
  position: relative;
  vertical-align: middle;
  font-size: 2rem; /* 20px */
  line-height: 1.6;
  /* width: 243px; */
}

.plan-table th:first-child {
  background: #133aa5;
  border: 1px solid #707070;
}

th.plan-table-header {
  width: 19%;
}

#plan-rpp {
  padding-bottom: 50px;
}

/* RPP運用代行プラン用のテーブル幅設定 */
.plan-table-rpp th.plan-table-header {
  width: 25%;
}

/* オートRPPプラン用のテーブル幅設定 */
.plan-table-auto {
  max-width: 800px;
  margin-inline: auto;
  margin-top: 0;
  padding-top: 30px;
}

.plan-table-auto th.plan-table-header {
  width: 33%;
}

/* オプション用のリストスタイル */
.option-list-wrap {
  max-width: 800px;
  margin: 54px auto 0;
}

.option-item {
  margin-bottom: 20px;
}

.option-row {
  display: flex;
}

.option-row .option-label {
  background: #4a8dd8;
  color: #fff;
  font-weight: 700;
  padding: 30px 15px;
  text-align: center;
  font-size: 2rem; /* 20px */
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 33.33%;
  margin-right: 2px;
  border: 1px solid #707070;
}

.option-row .option-cell {
  background: #e8eef7;
  color: #333;
  padding: 30px 15px;
  text-align: center;
  font-size: 1.7rem; /* 17px */
  line-height: 1.4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 33.33%;
  border: 1px solid #707070;
}

.option-row .option-cell:not(:last-child) {
  border-right: none;
}

.option-note {
  text-align: left;
  font-size: 1.4rem; /* 14px */
  color: #333;
  line-height: 1.8;
  padding: 10px 0;
  background: transparent;
  font-weight: normal;
}

/* おすすめヘッダー */
.plan-table-header.plan-recommended {
  background: #133aa5;
  border-color: #707070;
  position: relative;
  padding: 20px 15px;
  z-index: 1;
}

.plan-recommend-label {
  position: absolute;
  top: -30%;
  left: 0;
  right: 0;
  background: #e3a906;
  color: #fff;
  font-weight: 700;
  padding: 20px 15px;
  margin: 0;
  border: 1px solid #707070;
  border-bottom: none;
  z-index: 2;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* gap: 5px; */
  line-height: 1.4;
  box-sizing: border-box;
  height: 130%;
}

.recommend-text {
  font-size: 2.1rem; /* 21px */
  font-size: clamp(1.6rem, 21/1160 * 100vw, 2.1rem);

  letter-spacing: 0.1em;
  position: relative;
}

.recommend-text::before {
  content: "＼";
  margin-right: 2px;
}

.recommend-text::after {
  content: "／";
  margin-left: 2px;
}

.plan-recommend-label .plan-label {
  font-size: 2.1rem; /* 21px */
  font-size: clamp(1.6rem, 21/1160 * 100vw, 2.1rem);
  font-weight: bold;
  margin: 0;
}

.plan-recommend-label .plan-price {
  font-size: 2.1rem; /* 21px */
  font-size: clamp(1.6rem, 21/1160 * 100vw, 2.1rem);

  font-weight: bold;
  margin: 0;
}

.plan-name {
  font-size: 1.5rem; /* 15px */
  line-height: 1.3;
}

.plan-label {
  font-size: 2.1rem; /* 21px */
  font-size: clamp(1.6rem, 21/1160 * 100vw, 2.1rem);

  font-weight: bold;
  display: inline-block;
}

.plan-price {
  font-size: 2.1rem; /* 21px */
  font-size: clamp(1.6rem, 21/1160 * 100vw, 2.1rem);

  font-weight: bold;
  display: inline-block;
}

/* テーブルボディ */
.plan-table tbody tr {
  border: none;
  min-height: 100px;
}

.plan-table-label {
  background: #538edc;
  color: #fff;
  font-weight: 700;
  padding: 20px 15px;
  text-align: center;
  border: 1px solid #707070;
  white-space: nowrap;
  min-width: 140px;
  vertical-align: middle;
  font-size: 2.2rem; /* 22px */
  line-height: 1.5;
  height: 100px;
}

.plan-table-label:last-child {
  height: auto;
}

.plan-table-cell {
  padding: 20px 15px;
  text-align: center;
  vertical-align: middle;
  background: #e8eef7;
  border: 1px solid #707070;
  line-height: 1.2;
  font-size: 1.7rem; /* 17px */
  /* color: #333; */
}

/* おすすめカラム */
.plan-table-cell.plan-recommended-col {
  background: #fff5d9;
  font-weight: 500;
}

/* 広告費条件の行 */
.plan-table-cell.plan-fee-condition {
  background: #133aa5;
  color: #fff;
  font-weight: 700;
  font-size: 3.3rem; /* 33px */
  padding: 25px 20px;
  text-align: center;
}

/* レスポンシブ対応---------------------------------------- */
@media screen and (max-width: 768px) {
  .plan-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .plan-nav a.plan-nav-link,
  a.plan-nav-link {
    font-size: 1.6rem; /* 16px */
    min-height: 70px;
  }

  .plan-nav a.plan-nav-link::after,
  a.plan-nav-link::after {
    font-size: 1.2rem;
  }

  .plan-section {
    margin-bottom: 80px;
  }

  .plan-section-title {
    font-size: 2rem; /* 20px */
    margin-bottom: 20px;
  }

  .plan-table-wrap {
    margin: 0 -10px;
  }

  .plan-table {
    /* font-size: 1.2rem; 12px */
    min-width: 700px;
    border: none;
  }

  .plan-table th,
  .plan-table-label {
    padding: 14px 10px;
    font-size: 1.6rem; /* 16px */
    border: 1px solid #707070;
  }

  .plan-table th:first-child {
    width: 10%;
  }

  .plan-table-cell {
    padding: 14px 10px;
    font-size: 1.6rem; /* 16px */
    border: 1px solid #707070;
  }

  .plan-name {
    font-size: 1.2rem; /* 12px */
  }

  .plan-recommend-label {
    padding: 12px 8px;
    /* top: -85px; */
    gap: 3px;
  }

  .recommend-text {
    /* font-size: 2rem; 20px */
  }

  .plan-recommend-label .plan-label {
    font-size: 1.5rem; /* 15px */
  }

  .plan-recommend-label .plan-price {
    font-size: 1.8rem; /* 18px */
  }

  .plan-table-header.plan-recommended {
    padding: 14px 10px;
  }

  .option-row .option-label {
    font-size: 1.6rem; /* 16px */
    padding: 20px 10px;
  }

  .option-row .option-cell {
    font-size: 1.6rem; /* 16px */
    padding: 20px 10px;
  }

  .option-note {
    font-size: 1.5rem; /* 15px */
  }

  .plan-table-auto {
    min-width: 600px;
  }

  .plan-table-cell.plan-fee-condition {
    font-size: 1.9rem; /* 19px */
  }
}

@media screen and (max-width: 480px) {
  .plan-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .plan-nav a.plan-nav-link,
  a.plan-nav-link {
    font-size: 1.4rem;
    min-height: 55px;
  }

  .plan-table {
    /* font-size: 1.1rem; 11px */
    min-width: 700px;
    border: none;
  }

  .plan-table th,
  .plan-table-label,
  .plan-table-cell {
    padding: 12px 5px;
    font-size: 1.5rem; /* 15px */
    border: 1px solid #707070;
  }

  .plan-name {
    font-size: 1.1rem; /* 11px */
  }

  #plan-consulting .plan-price {
    /* font-size: 2.1rem; 21px */
    /* font-size: clamp(1.6rem, 21/1160 * 100vw, 2.1rem); */
    font-size: 1.4rem;
  }

  .plan-recommend-label {
    padding: 10px 6px;
    /* top: -75px; */
    gap: 2px;
  }

  .recommend-text {
    font-size: 1.4rem; /* 14px */
  }

  .plan-recommend-label .plan-label {
    font-size: 1.5rem; /* 15px */
  }

  .plan-recommend-label .plan-price {
    font-size: 1.5rem; /* 15px */
  }

  .plan-table-header.plan-recommended {
    padding: 12px 8px;
  }

  .option-row .option-label {
    font-size: 1.4rem; /* 14px */
    padding: 20px 8px;
  }

  .option-row .option-cell {
    font-size: 1.4rem; /* 14px */
    padding: 20px 8px;
  }

  .option-note {
    font-size: 1.5rem; /* 15px */
  }

  .plan-table-auto {
    min-width: 450px;
  }

  #plan-consulting .plan-table-label {
    min-width: 110px;
  }

  .plan-table-rpp .plan-table-cell.plan-fee-condition {
    font-size: 1.9rem; /* 19px */
  }

  /* RPP運用代行プランはSP時に横スクロールなし */
  #plan-rpp .plan-table-wrap {
    overflow-x: visible;
  }

  .plan-table-rpp {
    min-width: auto;
    width: 100%;
  }

  .plan-table-rpp.plan-table {
    padding-top: 20px;
  }

  .plan-table-rpp .plan-table-label,
  .plan-table-rpp .plan-table-cell {
    font-size: 1.4rem; /* 14px */
    padding: 10px 5px;
    line-height: 1.5;
    word-break: break-word;
  }

  .plan-table-rpp .plan-table-cell:not(.plan-fee-condition) {
    background: #e8eef7;
  }

  .plan-table-cell span {
    font-size: 85%;
  }

  .plan-table-rpp .plan-table-label {
    width: 22%;
    min-width: 100px;
    white-space: wrap;
    height: auto;
    height: 70px;
  }

  .plan-table-rpp .plan-table-cell:not(.plan-fee-condition) {
    width: 26%;
  }

  /* レポート行のみフォントサイズを小さく */
  .plan-table-rpp .report-row .plan-table-cell {
    font-size: 1.1rem; /* 11px */
    letter-spacing: 0.01em;
  }

  /* .scroll-hint-icon {
    left: 75% !important;
  } */

  #plan-auto .scroll-hint-icon {
    left: 30% !important;
  }

  /* SP時の商品まで/商品以上のテキストサイズ調整 */
  .sp-small-text {
    font-size: 1.2rem; /* 12px */
  }

  /* オートRPPプランはSP時に横スクロールなし */
  #plan-auto .plan-table-wrap {
    overflow-x: visible;
  }

  .plan-table-auto {
    min-width: auto;
    width: 100%;
  }

  .plan-table-auto .plan-table-label,
  .plan-table-auto .plan-table-cell {
    font-size: 1.4rem; /* 14px */
    padding: 10px 5px;
    line-height: 1.5;
    word-break: break-word;
  }

  .plan-table-auto .plan-table-label {
    width: 28%;
    min-width: 90px;
    white-space: wrap;
    height: auto;
    height: 70px;
  }

  .plan-table-auto .plan-table-cell {
    width: 36%;
  }

  .plan-table-auto th {
    font-size: 1.4rem; /* 14px */
    padding: 10px 5px;
  }

  .plan-table-auto .plan-name {
    font-size: 1.1rem; /* 11px */
  }

  /* コンサルプランはSP時にRPP運用代行プランと同様のスタイル */
  #plan-consulting .plan-table {
    min-width: 550px;
  }

  #plan-consulting .plan-table-label,
  #plan-consulting .plan-table-cell {
    font-size: 1.4rem; /* 14px */
    padding: 8px 3px;
    line-height: 1.5;
    word-break: break-word;
  }

  #plan-consulting th {
    font-size: 1.3rem; /* 13px */
    padding: 8px 3px;
  }

  #plan-consulting .plan-table-label {
    width: 18%;
    min-width: 80px;
  }

  #plan-consulting .plan-table-header {
    width: 20.5%;
    min-width: 70px;
  }

  #plan-consulting .plan-table-cell {
    width: 20.5%;
    min-width: 70px;
  }
}
