.pc-only {
  display: none;
}

/* PCサイズ以上では改行にする */
@media screen and (min-width: 769px) {
  .pc-only {
    display: block;
  }
}
.sp-only {
  display: none;
}
@media (max-width: 768px) {
  .sp-only {
    display: inline;
  } /* 改行が効く */
}

body {
  font-family: "Noto Sans JP", sans-serif;
}

/* ===============================FV=============================== */
main#plan {
  overflow: hidden;
}

.plan-mv {
  background-image: url("./images/plan/plan-mv-pc.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 55px 0;
}

.plan-mv-titlebox * {
  color: #fff;
}

.plan-mv-title {
  font-size: 75px;
  font-weight: bold;
  -webkit-text-stroke: 1px white;
  text-shadow: 0 2px 25px rgba(0, 0, 0, 0.15);
  margin-bottom: 60px;
}

.plan-mv-text {
  font-size: 45px;
  font-weight: bold;
  -webkit-text-stroke: 1px white;
  text-shadow: 0 2px 25px rgba(0, 0, 0, 0.15);
  line-height: normal;
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .plan-mv {
    background: none;
    padding: 0;
  }

  .plan-mv-titlebox * {
    color: #fff;
  }

  .plan-mv-logo {
    max-width: 57%;
    padding-top: 50px;
  }

  .plan-mv-title {
    font-size: 10vw;
    margin-bottom: 20px;
  }

  .plan-mv-text {
    font-size: 6.5vw;
    letter-spacing: 0.1em;
  }
}

/* ===============================about=============================== */

.plan-about {
  background: #f5f6f8;
  padding: 100px 0;
}

.plan-box {
  background: #fff;
  padding: 50px;
}

.plan-about-titlebox {
  border-bottom: 1px solid #cecece;
  text-align: center;
  gap: 1px !important;
}

.plan-about-title {
  color: #3d5281;
  font-weight: 900;
  font-size: 25px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  margin-bottom: 20px;
}

.plan-about-title .big {
  font-size: 40px;
  margin-bottom: -7px;
}

.plan-about-title:before,
.plan-about-title:after {
  content: "";
  display: block;
  height: 40px;
  width: 3px;
  background: #ffcf2e;
}

.plan-about-title:before {
  margin-right: 20px;
  transform: rotate(315deg);
}
.plan-about-title:after {
  margin-left: 20px;
  transform: rotate(45deg);
}

.plan-about-textbox {
  margin-top: 40px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.plan-about-text {
  line-height: 28px;
}
.plan-small-text {
  font-size: 12px;
  color: #646464;
  font-weight: 300;
}

@media (max-width: 768px) {
  .plan-about {
    padding: 40px 0;
  }

  .plan-box {
    padding: 15px;
  }
  .plan-about-title {
    font-size: 13px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    width: fit-content;
    position: relative;
  }
  .plan-about-title .sp-100 {
    width: 100%;
    font-size: 15px;
    margin-bottom: -5px;
  }

  .plan-about-title .big {
    font-size: 23px;
    margin-bottom: -7px;
  }

  .plan-about-title:before,
  .plan-about-title:after {
    position: absolute;
    height: 25px;
  }
  .plan-about-title:before {
    left: 15px;
    right: auto;
    transform: rotate(330deg);
  }
  .plan-about-title:after {
    right: 15px;
    left: auto;
    transform: rotate(30deg);
  }

  .plan-about-text {
    font-size: 14px;
  }
  .plan-small-text {
    font-size: 12px;
  }
  .plan-about-textbox {
    margin-top: 20px;
  }
  .plan-mv-bg {
  }
  .plan-mv {
    position: relative;
  }

  .plan-mv .plan-container {
    position: absolute;
    width: 100%;
  }
}

/* ---------reservebox--------- */
/* 外枠 */
.plan-about-reservebox {
  padding: 40px 16px;
}

/* グリッド：PC横並び / SP縦 */
.plan-about-reserve__grid {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

@media (max-width: 768px) {
  .plan-about-reservebox {
    padding: 40px 0 20px 0;
  }

  .plan-about-reserve__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* カード */
.plan-about-reserveCard {
  border: 1px solid #3d5281;
  border-radius: 8px;
  padding: 34px 28px 28px;
  text-align: center;
}

/* タイトル */
.plan-about-reserveCard__ttl {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 700;
  color: #3d5281;
}

/* 説明文 */
.plan-about-reserveCard__txt {
  margin: 0 0 26px;
  font-size: 14px;
  line-height: 1.8;
  color: #111;
}

/* 電話番号 */
.reserveCard__tel {
  display: inline-block;
  margin-top: 10px;
  color: #3d5281;
  font-weight: 700;
}

@media (max-width: 768px) {
  .plan-about-reserveCard {
    padding: 20px 16px 24px;
  }
  .plan-about-reserveCard__ttl {
    margin: 0 0 10px;
  }
  .plan-about-reserveCard__txt {
    margin: 0 0 17px;
  }
}

/* ボタン共通 */
.reserveBtn {
  position: relative; /* 追加 */
  margin: 0 auto;
  width: min(260px, 100%);
  height: 45px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center; /* ← 文字は中央 */
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  transition: transform 0.15s ease, filter 0.15s ease;
}

/* アイコン */
.reserveBtn__icon {
  position: absolute;
  right: 10px; /* ← ここが「5pxくらい」 */
  width: 26px;
  height: 26px;
}

/* hover */
.reserveBtn:hover {
  transform: translateY(-1px);
  filter: brightness(0.97);
}

/* 色 */
.reserveBtn--yellow {
  background: #f2c94c;
  color: #3d5281 !important;
}

.reserveBtn--navy {
  background: #3d5281;
  color: #fff;
}

@media (max-width: 768px) {
  .reserveBtn {
    font-size: 15px;
    width: min(210px, 100%);
  }

  /* アイコン */
  .reserveBtn__icon {
    right: 8px;
    width: 22px;
    height: 22px;
  }
}

/* ===== 予約するbtn ===== */

.reserveBtn_grd {
  position: relative; /* 追加 */
  margin: 0 auto;
  width: min(260px, 100%);
  height: 65px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center; /* ← 文字は中央 */
  text-decoration: none;
  font-size: 22px;
  font-weight: 600;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.reserveBtn__icon__grd {
  position: absolute;
  right: 14px; /* ← ここが「5pxくらい」 */
  width: 28px;
  height: 28px;
}

/* hover */
.reserveBtn__grd:hover {
  transform: translateY(-1px);
  filter: brightness(0.97);
}

.reserveBtn--grd {
  background: linear-gradient(180deg, #5c6f98, #2d3f67);
  color: #fff !important;
}

@media (max-width: 768px) {
  .reserveBtn_grd {
    position: relative; /* 追加 */
    margin: 0 auto;
    width: min(160px, 100%);
    height: 50px;
    font-size: 16px;
    transition: transform 0.15s ease, filter 0.15s ease;
  }

  .reserveBtn__icon__grd {
    position: absolute;
    right: 10px; /* ← ここが「5pxくらい」 */
    width: 24px;
    height: 24px;
  }

  /* hover */
  .reserveBtn__grd:hover {
    transform: translateY(-1px);
    filter: brightness(0.97);
  }

  .reserveBtn--grd {
    background: linear-gradient(180deg, #5c6f98, #2d3f67);
    color: #fff !important;
  }
}

/* ===============================anchor link=============================== */

.plan-links {
  padding: 40px 16px;
  margin-top: 80px;
  margin-bottom: 60px;
}

/* ===== グリッド ===== */
.plan-links__grid {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

@media (max-width: 768px) {
  .plan-links {
    padding: 40px 0 0 0;
    margin-top: 0;
    margin-bottom: 50px;
  }

  .plan-links__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ===== カード ===== */
.plan-linkCard {
  position: relative;
  padding: 32px 32px 25px;
  background: #fff;
  border-radius: 10px;
  text-decoration: none;
  color: #3d5281;
  text-align: center; /* ← 文字を全部センター */
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04), 0 8px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.plan-linkCard:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 24px 56px rgba(0, 0, 0, 0.08);
}

/* ===== テキスト ===== */
.plan-linkCard__lead {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.5;
  position: relative;
  z-index: 2;
}

.plan-linkCard__ttl {
  margin: 0;
  font-size: 25px;
  font-weight: 700;
  color: #3d5281;
  position: relative;
  z-index: 2;
}

/* ===== 矢印（img） ===== */
.plan-linkCard__arrow {
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

.plan-linkCard__arrowImg {
  width: 46px;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
}

/* ===== 右下ピクト（余白なし版） ===== */
.plan-linkCard__iconImg {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 150px;
  height: auto;
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.plan-linkCard:hover .plan-linkCard__iconImg {
  opacity: 0.7;
}

/* ===== SP ===== */
@media (max-width: 768px) {
  .plan-linkCard {
    padding: 24px 24px 17px;
  }
  .plan-linkCard__lead {
    font-size: 14px;
    margin: 0 0 2px;
  }
  .plan-linkCard__ttl {
    font-size: 22px;
    margin-bottom: -5px;
  }

  .plan-linkCard__arrow {
    margin-top: 18px;
  }

  .plan-linkCard__arrowImg {
    width: 38px;
  }

  .plan-linkCard__iconImg {
    width: 150px;
    transform: translate(0%, 0%);
  }
}

/* ===============================plan-=============================== */

/* ===== 全体 ===== */
.plan-detail_wrap {
  padding-bottom: 100px;
}

/* ===== ヘッダー ===== */
.plan-detail_head {
  background: #3d5281;
  color: #fff;
  padding: 35px 16px 0 16px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04), 0 8px 20px rgba(0, 0, 0, 0.04);
}

.plan-detail_head__inner {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 92px;
}

.plan-detail_head__text {
  text-align: center;
  padding: 0 120px;
  position: relative;
  z-index: 2;
}

.plan-detail_head__ttl {
  font-size: 40px;
  font-weight: 600;
  position: relative;
  z-index: 2;
}

.plan-detail_head__sub {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  padding-bottom: 35px;
}

.plan-detail_head__icon_right {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 300px;
  height: auto;
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.plan-detail_head__icon_left {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 300px;
  height: auto;
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

@media (max-width: 768px) {
  .plan-detail_wrap {
    padding-bottom: 40px;
  }

  /* ===== ヘッダー ===== */
  .plan-detail_head {
    padding: 27px 15px 0 15px;
  }

  .plan-detail_head__text {
    padding: 0;
  }

  .plan-detail_head__ttl {
    font-size: 27px;
    margin-bottom: 10px;
  }

  .plan-detail_head__sub {
    margin: 0;
    font-size: 14px;
    padding-bottom: 25px;
  }

  .plan-detail_head__icon_right {
    position: absolute;
    right: -40px;
    width: 205px;
    height: auto;
  }

  .plan-detail_head__icon_left {
    position: absolute;
    left: -40px;
    width: 205px;
    height: auto;
  }
}

.plan-detail_redbox {
  background: #ecf1fa;
  padding: 50px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04), 0 8px 20px rgba(0, 0, 0, 0.04);
}

/* ===== グリッド ===== */
.plan-detail_grid {
  /*  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px; */
}

@media (min-width: 768.98px) {
  .plan-detail_grid > * {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 40px !important;
  }

  .plan-detail_item.sp-only {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .plan-detail_grid {
    display: block;
    width: calc(100% + 67px);
    margin-left: -33px;
  }

  .plan-detail_grid .swiper-wrapper {
    display: flex;
  }
}

/* ===== カードユニット ===== */
.plan-detail_item {
  display: flex !important;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0 !important;
}

/* 画像（外） */
.plan-detail_item__img {
  border-radius: 10px 10px 0 0;
  overflow: hidden;
}

.plan-detail_item img {
  border-radius: 10px 10px 0 0;
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  margin: 0 !important;
}

/* ===== SP：横スクロール ===== */
@media (max-width: 768px) {
  .plan-detail_redbox {
    padding: 20px 15px 30px;
    overflow: hidden;
  } /* 
  .plan-detail_grid {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding: 0;
  }
 */
  .plan-detail_item {
    flex-shrink: 0;
    display: block;
  }
  /* .plan-detail_item img {
    height: 115px;
    width: 320px;
  } */

  .swiper-slide {
    height: auto;
  }
  .js-plan-detail-swiper .plan-detail_item {
    height: auto;
    display: flex;
    flex-direction: column;
  }
  .swiper-scrollbar {
    background-color: #dddde0 !important;
    position: unset !important;
    width: 50% !important;
    margin: 30px auto 0 !important;
  }
  .swiper-scrollbar-drag {
    background-color: #3d5281 !important;
  }
}
@media (min-width: 768.98px) {
  .swiper-scrollbar {
    display: none;
  }
}
/* 白カード */
.plan-detail_card {
  flex: 1;
  display: flex;
  background: #fff;
  border-radius: 0 0 10px 10px;
  margin: 0 !important;
}

.plan-detail_card__body {
  flex: 1;
  padding: 30px;
}

.plan-detail_card__ttl {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 30px;
  font-weight: 900;
  color: #3d5281;
  border-left: 4px solid #f2c94c;
  padding-left: 20px;
  line-height: 1;
}

.plan-detail_card__ttl__small {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  font-size: 27px;
  font-weight: 900;
  color: #3d5281;
  border-left: 4px solid #f2c94c;
  padding-left: 16px;
  line-height: 1;
}

.plan-detail_card__lead {
  font-size: 16px;
  margin-bottom: 23px;
}

@media (max-width: 768px) {
  /*   .plan-detail_card {
    display: flex;
    margin: 0 !important;
    width: 320px;
  } */

  .plan-detail_card__body {
    padding: 25px 20px;
  }

  .plan-detail_card__ttl {
    font-size: 22px;
    padding-left: 15px;
    margin: 0 0 15px;
  }

  .plan-detail_card__ttl__small {
    font-size: 18px;
  }

  .plan-detail_card__lead {
    font-size: 14px;
    margin-bottom: 13px;
    line-height: 23px;
  }
}

/* 区切り */
.plan-detail_divider {
  height: 1px;
  background: #e6e9f0;
  margin-bottom: 35px;
}

/* ===== 価格 ===== */
.plan-detail_price {
  position: relative;
  margin-bottom: 14px;
}

.plan-detail_price__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #3d5281;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 3px 20px 3px;
  border-radius: 999px;
}

.plan-detail_price__box {
  background: #f4f6fa;
  border-radius: 10px;
  padding: 22px 12px 14px;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: center;
  text-align: center;
}

.plan-detail_price__box__center {
  background: #f4f6fa;
  border-radius: 10px;
  padding: 22px 12px 14px;
  margin-bottom: 20px;
  grid-template-columns: 1fr 1px 1fr;
  align-items: center;
  text-align: center;
}

.plan-detail_price__sep {
  width: 1px;
  height: 54px;
  background: #d9deea;
}

.plan-detail_price__off {
  font-weight: 900;
  line-height: 1;
}

.plan-detail_price__num {
  font-size: 46px;
}

.plan-detail_price__num__small {
  font-size: 35px;
}

.plan-detail_price__pct {
  font-size: 22px;
}

.plan-detail_price__note {
  font-size: 14px;
  font-weight: 600;
  color: #484848;
}

.plan-detail_price__note__margintop {
  font-size: 14px;
  font-weight: 600;
  color: #484848;
  margin-top: 6px;
}

@media (max-width: 768px) {
  .plan-detail_price {
    position: relative;
    margin-bottom: 14px;
  }

  .plan-detail_price__badge {
    top: -13px;
    font-size: 13px;
    padding: 2px 15px;
  }

  .plan-detail_price__num {
    font-size: 32px;
  }

  .plan-detail_price__num__small {
    font-size: 22px;
    letter-spacing: -0.01em;
  }

  .plan-detail_price__pct {
    font-size: 17px;
  }

  .plan-detail_price__note {
    font-size: 12px;
  }

  .plan-detail_price__note__margintop {
    font-size: 12px;
  }
}

/* ===== 条件 ===== */
.plan-detail_meta {
  display: grid;
  gap: 10px;
}

.plan-detail_meta__row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
}

.plan-detail_meta__tag {
  background: #e9eef8;
  color: #3d5281;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.plan-detail_meta__val {
  font-size: 12px;
  line-height: 1.7;
  font-weight: 400;
}

/* ===== CTA ===== */
.plan-detail_cta {
  display: flex;
  justify-content: center;
  margin-top: 45px;
}

.plan-detail_cta__txt {
  font-size: 22px;
  font-weight: 500;
  color: #fff;
}

.plan-detail_cta__btn {
  width: min(240px, 92%);
  height: 66px;
  border-radius: 999px;
  background: linear-gradient(180deg, #5c6f98, #2d3f67);
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 900;
}

@media (max-width: 768px) {
  .plan-detail_meta__tag {
    font-size: 10px;
    height: 20px;
    width: 70px;
  }
  .plan-detail_meta__row {
    grid-template-columns: 80px 1fr;
    gap: 0;
  }
}

/* ===============================fade=============================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 40px, 0);
    transform: translate3d(0, 40px, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
.fadeInUp {
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
}

@-webkit-keyframes fadeInUpBig {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 2000px, 0);
    transform: translate3d(0, 2000px, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
@keyframes fadeInUpBig {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 2000px, 0);
    transform: translate3d(0, 2000px, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
.fadeInUpBig {
  -webkit-animation-name: fadeInUpBig;
  animation-name: fadeInUpBig;
}

@-webkit-keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
