

:root {
  --navy: #02162e;
  --gold: #c89b3c;
  --ivory: #f7f4ed;
  --white: #ffffff;
  --text: #4b4b4b;
  --line-light: rgba(255, 255, 255, 0.25);
}

/* ==================================================
   PLAN HERO
================================================== */

.plan-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 420px;
  overflow: hidden;
  background:
    linear-gradient(
      rgba(255, 255, 255, 0.25),
      rgba(255, 255, 255, 0.25)
    ),
    url("../images/plan-hero.jpg") center 60% / cover no-repeat;
}

.plan-hero .hero-text {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 80px));
  margin: 0 auto;
  color: var(--navy);
}

.plan-hero .hero-text h1 {
  margin: 0;
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.18em;
}

.plan-hero .hero-text h2 {
  margin: 12px 0 30px;
  font-family: "Shippori Mincho", serif;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.5;
}

.plan-hero .hero-text h3 {
  margin: 0;
  font-family: "Shippori Mincho", serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.plan-hero .hero-text p {
  margin: 0;
  font-family: "Shippori Mincho", serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: 0.03em;
}


/* ==================================================
   PLAN LIST
================================================== */

.plan-list {
  width: 100%;
  padding: 80px 40px 90px;
  text-align: center;
  background: var(--white);
}

.section-en {
  margin: 0;
  color: var(--gold);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.24em;
}

.plan-list > h2 {
  margin: 14px 0 50px;
  color: var(--navy);
  font-family: "Shippori Mincho", serif;
  font-size: clamp(30px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.4;
}


/* ==================================================
   PLAN CARDS
================================================== */

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  width: min(1200px, 100%);
  margin: 0 auto;
}

.plan-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
  text-align: left;
  box-shadow: 0 12px 28px rgba(2, 22, 46, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.plan-card:hover {
  
  box-shadow: 0 18px 38px rgba(2, 22, 46, 0.18);
}

.plan-card img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.plan-body {
  position: relative;
  height: 100%;
  padding: 34px 30px 36px;
}

.plan-body h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 10px;
  margin: 0 0 18px;
  color: var(--white);
  font-family: "Shippori Mincho", serif;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.45;
}

.plan-body small {
  margin: 0;
  color: var(--gold);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.plan-body ul {
  margin: 0 0 20px;
  padding: 18px 0;
  list-style: none;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.plan-body li {
  margin: 0 0 7px;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

.plan-body li:last-child {
  margin-bottom: 0;
}

.plan-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  letter-spacing: 0.03em;
}


/* HTMLには現在ありませんが、後から追加しても使える設定 */
.badge {
  position: absolute;
  top: -55px;
  left: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 95px;
  height: 95px;
  color: var(--navy);
  background: var(--gold);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}


/* ==================================================
   PLAN NOTES
================================================== */

.note {
  width: min(1200px, 100%);
  margin: 30px auto 0;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  text-align: left;
}

.note span{
    display:block;
    margin-bottom:6px;
}


/* ==================================================
   料金に含まれるもの
================================================== */

.included-section {
  width: 100%;
  padding: 100px 30px 110px;
  background: var(--ivory);
}

.included-inner {
  width: min(900px, 100%);
  margin: 0 auto;
}

.included-title {
  margin: 0 0 55px;
  color: var(--navy);
  font-family: "Shippori Mincho", serif;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.03em;
  text-align: center;
}


/* ---------- 含まれる項目 ---------- */

.included-list {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 60px;
  margin-bottom: 45px;
}

.included-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 155px;
  min-height: 170px;
  padding: 28px 18px 24px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(2, 22, 46, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.included-item:hover {
 
  box-shadow: 0 14px 30px rgba(2, 22, 46, 0.1);
}

.included-item__icon {
  display: block;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  object-fit: contain;
}

.included-item p {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}


/* ---------- 注意書き ---------- */

.included-notes {
  width: fit-content;
  margin: 0 auto;
}

.included-notes p {
  margin-bottom: 18px;
  font-size: 18px;
  line-height: 1.9;
  text-align: left;
}

.included-notes p:last-child {
  margin-bottom: 0;
}


/* ==================================================
   タブレット：1024px以下
================================================== */

@media screen and (max-width: 1024px) {

  .plan-hero .hero-text {
    width: min(100% - 56px, 960px);
  }

  .plan-hero {
    min-height: 390px;
    background-position: center 58%;
  }

  .plan-list {
    padding: 75px 28px 80px;
  }

  .plans {
    gap: 20px;
  }

  .plan-body {
    padding: 30px 24px 32px;
  }

  .plan-body h3 {
    font-size: 21px;
  }

  .plan-body li {
    font-size: 14px;
  }

  .note {
    font-size: 14px;
  }

  .included-section {
    padding: 90px 28px 100px;
  }
}


/* ==================================================
   スマートフォン：768px以下
================================================== */

@media screen and (max-width: 768px) {

  .plan-hero .hero-text {
    width: min(100% - 40px, 700px);
  }

  .plan-hero {
    min-height: 380px;
    background-position: 55% center;
  }

  .plan-hero .hero-text h1 {
    font-size: 42px;
  }

  .plan-hero .hero-text h2 {
    font-size: 25px;
  }

  .plan-hero .hero-text h3 {
    font-size: 20px;
  }

  .plan-hero .hero-text p {
    font-size: 15px;
  }

  .plan-list {
    padding: 65px 20px 72px;
  }

  .plan-list > h2 {
    margin-bottom: 38px;
  }

  .plans {
    grid-template-columns: 1fr;
    gap: 24px;
    width: min(560px, 100%);
  }

  .plan-card:hover,
  .included-item:hover {
    transform: none;
  }

  .plan-body {
    padding: 30px 28px 32px;
  }

  .plan-body h3 {
    font-size: 23px;
  }

  .plan-body li {
    font-size: 15px;
  }

  .note {
    width: min(560px, 100%);
    margin-top: 28px;
    font-size: 13px;
  }

  .note br {
    display: none;
  }

  .included-section {
    padding: 75px 20px 82px;
  }

  .included-title {
    margin-bottom: 42px;
    font-size: 34px;
  }

  .included-list {
    gap: 28px;
    margin-bottom: 38px;
  }

  .included-item {
    width: 145px;
    min-height: 160px;
  }

   .included-notes {
    width: fit-content;
    max-width: 90%;
    margin: 0 auto;
  }

  .included-notes p {
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
  }

  .included-notes p:last-child {
    margin-bottom: 0;
  }

}


/* ==================================================
   小さいスマートフォン：480px以下
================================================== */

@media screen and (max-width: 480px) {

  .plan-hero .hero-text {
    width: calc(100% - 32px);
  }

  .plan-hero {
    min-height: 350px;
    background-position: 58% center;
  }

  .plan-hero .hero-text h1 {
    font-size: 34px;
    letter-spacing: 0.12em;
  }

  .plan-hero .hero-text h2 {
    margin-bottom: 22px;
    font-size: 22px;
  }

  .plan-hero .hero-text h3 {
    font-size: 18px;
  }

  .plan-hero .hero-text p {
    font-size: 13px;
  }

  .plan-list {
    padding: 55px 16px 62px;
  }

  .section-en {
    font-size: 15px;
    letter-spacing: 0.19em;
  }

  .plan-list > h2 {
    margin: 12px 0 30px;
    font-size: 29px;
  }

  .plans {
    gap: 20px;
  }

  .plan-body {
    padding: 26px 20px 28px;
  }

  .plan-body h3 {
    display: block;
    margin-bottom: 16px;
    font-size: 21px;
  }

  .plan-body small {
    display: block;
    margin-top: 5px;
    font-size: 11px;
  }

  .plan-body ul {
    padding: 15px 0;
  }

  .plan-body li {
    font-size: 13px;
    line-height: 1.75;
  }

  .plan-body p {
    font-size: 13px;
  }

  .note {
    font-size: 12px;
    line-height: 1.8;
  }

  .included-section {
    padding: 60px 16px 68px;
  }

  .included-title {
    margin-bottom: 32px;
    font-size: 29px;
  }

  .included-list {
    gap: 14px;
    margin-bottom: 32px;
  }

  .included-item {
    width: calc(50% - 7px);
    min-height: 145px;
    padding: 22px 12px 20px;
  }

  .included-item__icon {
    width: 45px;
    height: 45px;
    margin-bottom: 14px;
  }

  .included-item p {
    font-size: 16px;
  }

  .included-notes p {
    margin-bottom: 10px;
    font-size: 12px;
    line-height: 1.75;
  }
}


/* ==================================================
   430px以下
================================================== */

@media screen and (max-width: 430px) {

  .included-notes p {
    margin-bottom: 9px;
    font-size: 10px;
    line-height: 1.75;
  }
  
}


  /* ==================================================
   390px以下
================================================== */

@media screen and (max-width: 390px) {

  .included-notes p {
    margin-bottom: 8px;
    font-size: 10px;
    line-height: 1.7;
  }
}



/* ==================================================
   さらに小さいスマートフォン：360px以下
================================================== */

@media screen and (max-width: 360px) {

  .plan-hero .hero-text {
    width: calc(100% - 26px);
  }

  .plan-hero {
    min-height: 325px;
  }

  .plan-hero .hero-text h1 {
    font-size: 30px;
  }

  .plan-hero .hero-text h2 {
    font-size: 20px;
  }

  .plan-hero .hero-text h3 {
    font-size: 16px;
  }

  .plan-hero .hero-text p {
    font-size: 12px;
  }

  .plan-list {
    padding-right: 13px;
    padding-left: 13px;
  }

  .plan-list > h2 {
    font-size: 26px;
  }

  .plan-body {
    padding-right: 17px;
    padding-left: 17px;
  }

  .plan-body h3 {
    font-size: 19px;
  }

  .plan-body li,
  .plan-body p {
    font-size: 12px;
  }

  .included-title {
    font-size: 26px;
  }

  .included-list {
    gap: 10px;
  }

  .included-item {
    width: calc(50% - 5px);
    min-height: 135px;
  }

  .included-notes p {
    margin-bottom: 7px;
    font-size: 9px;
    line-height: 1.7;
  }
}



