@charset "utf-8";
/* CSS Document */

.plan-points {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin: auto;
}
@media screen and (max-width: 767px) {
    .plan-points {
        display: block;;
    }
}
.circle_width {
    width: 25%;
    border-radius: 50%;
    background: #FFFFFF;
    border: 8px solid #CFDFE6;
}
@media screen and (max-width: 767px) {
    .circle_width {
        width: 100%;
    }
}
.circle_height {
    position: relative;
    padding-top: 100%;
    height: 0;
}
.circle_height p {
    position: absolute;
    top: calc((100% - 1em)/2);
    left: 0;
    right: 0;
    margin: 0;
    text-align: center;
    color: #003090;
    font-weight: bold;
    font-size: clamp(16px, 3vw, 36px);
    text-align: left;
    padding: 0 5% 0 40%
}
.vertical-text {
    position: absolute;
    left: 10%;
    writing-mode: vertical-rl;
    background: #003090;
    color: #fff;
    height: 10rem;
    bottom: 0;
    font-size: 1rem;
}

.price-toggle-switch {
    background-color: #fff;
    border: 1px solid #707070;
}

/* 料金表　*/
.price-plan {
    display: flex;
    justify-content: space-between;
}
.plan-card {
    position: relative;
    width: 32%;
    background-color: #fff;
    text-align: center;
    box-shadow: 0px 3px 6px #00000029;
}
.plan-card__contents {
    padding: 1rem 2rem 6rem;
}

.plan-card__title {
    background-color: #003090;
    color: #fff;
    padding: .5rem 2rem;
    font-size: 1.5rem;
    font-weight: bold;
}
.plan-card__eyebrow {
    color: #707070;
    font-size: 1.5rem;
    font-weight: bold;
}
.plan-card__price {
    color: #003090;
    font-size: 2.4rem;
    font-weight: bold;
    border-bottom: 1px dashed #707070;
}
.plan-card__price .small {
    font-size: 1.2rem;
}
.plan-card p {
    color: #707070;
}
.plan-card__list {
    text-align: left;
    line-height: 2;
}
.plan-card__list li {
    text-indent: -1rem;
    padding-left: 1rem;
}


/* コンテナ設定 */
.price-table-container {
  width: 100%;
  margin: 20px auto;
overflow: hidden; /* 端のはみ出しをカット */}

.price-table {
width: calc(100% + 40px); /* 左右の隙間分（20px × 2）を広げる */
  margin-left: -20px;       /* 左側の隙間を外に追い出す */
  margin-right: -20px;      /* 右側の隙間を外に追い出す */
  border-collapse: separate;
  border-spacing: 20px 0;   /* カラム間の隙間は維持 */
  table-layout: fixed;      /* カラム幅を均等にする場合に推奨 */
}

/* ヘッダー部分 */
.price-table th {
  background-color: #eeeeee;
  padding: 15px 20px;
  text-align: left;
  font-size: 14px;
  color: #333;
  border-bottom: 3px solid #777; /* 上部の太い線 */
  white-space: nowrap;
}

/* ボディ部分（各セル） */
.price-table td {
  padding: 15px 20px;
  border-bottom: 1px dashed #bbb; /* 横の点線 */
  vertical-align: middle;
}

/* パック名 */
.price-table td:first-child {
  font-weight: bold;
  color: #000;
}

/* 金額共通（右寄せ） */
.price, .unit-price, .contact-text {
  text-align: right;
  font-weight: bold;
  color: #003399; /* 画像に近い濃い青色 */
}

/* 金額の数字サイズ */
.price {
  font-size: 1.5rem;
}
.price-year {
    font-size: 1.2rem;
    color: #000;
}
.unit-price {
  font-size: 20px;
}

/* 単位部分の調整 */
.price span, .unit-price span {
  font-size: 1rem;
  margin-left: 4px;
  margin-right: 4px;
}
@media screen and (max-width: 767px) {
    .price span, .unit-price span {
        font-size: 3vw;
        margin-left: 2px;
        margin-right: 2px;
    }
}

.price-text {
    padding: 15px 20px;
    border-bottom: 1px dashed #bbb;
    vertical-align: middle;
    border-top: 3px solid #777;
}
@media screen and (max-width: 767px) {
    .price-text {
        padding: 15px 5px;
    }
}
/* お問い合わせください */
.contact-text {
  color: #003399;
  letter-spacing: 0.05em;
}

/* --- レスポンシブ対応（スマホ表示） --- */
@media screen and (max-width: 767px) {
    .price-plan {
        display: block;
    }
    .plan-card{
        width: 100%;
        margin: 20px 0;
    }
  .price-table {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    border-spacing: 0;  }
  
  .price-table th {
    font-size: 12px;
    padding: 10px 5px;
  }
    .price-table td {
        padding: 10px 5px;
        font-size: 3vw;
    }
  .price {
    font-size: 18px;
    font-size: 4vw !important;
  }
  
  .unit-price {
    font-size: 16px;
  }
}

.is-ok {
    font-size: 1.5rem;
    font-weight: 900;
    color: #003399;
}
.is-ng {
    font-size: 1.5rem;
    font-weight: 900;
}


/*  3つの料金プラン特長 */

.feature-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 40px 20px;
  background-color: #e6f2f8; /* 背景の薄い水色 */
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
}

.feature-item {
  position: relative; /* ラベルの起点 */
  display: flex;
  align-items: center;
}

/* 縦書きの青いラベル */
.feature-label {
  writing-mode: vertical-rl; /* 縦書き設定 */
  background-color: #003399; /* 濃い青色 */
  color: #fff;
  padding: 15px 5px;
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 0.07em;
  z-index: 2;
  position: absolute;
    bottom: 60px;
    left: 32px;;
    
    white-space: nowrap;
}

/* 白い円 */
.feature-circle {
  width: 280px;
  height: 280px;
  background-color: #fff;
  border-radius: 50%;
  border: 8px solid #d1e4ee; /* 円の縁取り */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
    padding: 0 0 0 2rem;
}

/* 円の中のテキスト */
.feature-content {
  color: #003399;
  font-weight: bold;
  line-height: 1.3;
}

.feature-content .value {
  font-size: 60px;
  letter-spacing: -0.05em;
}

.feature-content .unit {
  font-size: 2rem;
  margin-left: 2px;
}

.feature-content .text-large {
  font-size: 2rem;
  white-space: nowrap;
}

/* --- レスポンシブ --- */
@media screen and (max-width: 768px) {
  .feature-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  
  .feature-circle {

  }
  
  .feature-content .value {
    font-size: 50px;
  }
}


.price-toggle-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #999;
    border-radius: 50px;
    padding: 4px;
    height: 54px; /* 高さは適宜調整 */
    cursor: pointer;
    z-index: 0;
}

.price-toggle-container input[type="radio"] {
    display: none;
}

.price-toggle-container label {
    z-index: 2;
    padding: 10px 24px; /* ここで文字周りの余白を調整 */
    font-weight: bold;
    font-size: 1.1rem;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.discount-text {
    font-size: 0.85rem;
    font-weight: normal;
}

/* 背景のスライダー（JSでwidthとleftを制御） */
.price-toggle-slider {
    position: absolute;
    top: 4px;
    height: calc(100% - 8px);
    background-color: #003399;
    border-radius: 40px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

/* 選択時の文字色変更 */
#billing-monthly:checked ~ label[for="billing-monthly"],
#billing-yearly:checked ~ label[for="billing-yearly"] {
    color: #ffffff;
}

.title-block img {
    margin-left: 0;
}