:root {
  --ink: #112033;
  --muted: #53616d;
  --teal: #16b9b5;
  --teal-dark: #078b88;
  --yellow: #ffc20d;
  --paper: #ffffff;
  --soft: #eefafa;
  --line: rgba(17, 32, 51, 0.12);
  --shadow: 0 18px 44px rgba(5, 76, 84, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #f7fbfb;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0%, #f7fbfb 48%, #fff8dc 100%);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  min-height: clamp(500px, 62vw, 650px);
  padding: clamp(52px, 8vw, 104px) clamp(22px, 5vw, 74px);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 16px 44px rgba(5, 76, 84, 0.08);
}

.hero__background {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.62;
  filter: saturate(1.18) contrast(1.04);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.78) 46%, rgba(255, 255, 255, 0.12) 100%),
    radial-gradient(circle at 78% 20%, rgba(22, 185, 181, 0.12), transparent 34%),
    radial-gradient(circle at 92% 86%, rgba(255, 194, 13, 0.12), transparent 34%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.55rem, 6vw, 5.1rem);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 950;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero__lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: #273541;
  font-size: clamp(1rem, 2vw, 1.22rem);
  font-weight: 760;
  line-height: 2;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(7, 139, 136, 0.18);
}

.button--primary,
.button--cta {
  color: #fff;
  background: linear-gradient(135deg, #18c9c4, #078f8c);
}

.button--ghost {
  color: var(--teal-dark);
  background: #fff;
  border: 1px solid rgba(7, 139, 136, 0.22);
}

.section {
  width: min(1120px, calc(100% - 36px));
  margin: 26px auto;
  padding: clamp(28px, 4.5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 40px rgba(17, 32, 51, 0.06);
}

.section__title {
  margin-bottom: 24px;
}

.section__title h2,
.detail-grid h2,
.recommend-card h2,
.cta h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3.3vw, 2.5rem);
  line-height: 1.35;
  font-weight: 950;
}

.policy__grid,
.included__grid,
.plan-grid,
.detail-grid,
.recommend-section {
  display: grid;
  gap: 16px;
}

.policy__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.policy__grid div {
  padding: 22px;
  border-radius: 8px;
  background: var(--soft);
}

.policy__grid b,
.policy__grid span {
  display: block;
}

.policy__grid b {
  margin-bottom: 10px;
  font-size: 1.04rem;
}

.policy__grid span,
.plan-card__summary,
.detail-grid p,
.recommend-card p {
  color: var(--muted);
  font-weight: 740;
  line-height: 1.8;
}

.included__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.included__grid span {
  min-height: 58px;
  padding: 17px 18px;
  border: 1px solid rgba(22, 185, 181, 0.22);
  border-radius: 8px;
  background: #fff;
  font-weight: 850;
}

.plan-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 480px;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.plan-card--featured {
  border: 2px solid var(--yellow);
  box-shadow: 0 18px 38px rgba(255, 194, 13, 0.18);
}

.recommend-section {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.recommend-section:not(.section) {
  width: min(1120px, calc(100% - 36px));
  margin: 26px auto;
}

.recommend-card {
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(22, 185, 181, 0.24);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(17, 32, 51, 0.06);
}

.recommend-card--accent {
  border-color: rgba(255, 194, 13, 0.48);
  background: #fffdf3;
}

.recommend-card strong {
  display: block;
  margin: 18px 0;
  color: var(--teal-dark);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  line-height: 1.3;
}

.plan-card__number {
  margin: 0 0 10px;
  color: var(--teal-dark);
  font-weight: 950;
}

.plan-card h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  line-height: 1.35;
}

.plan-card__tag {
  margin: 0 0 18px;
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: var(--soft);
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
}

.plan-card strong {
  display: block;
  color: var(--teal-dark);
  font-size: 2rem;
  line-height: 1.2;
}

.plan-card ul,
.maintenance ul {
  margin: 18px 0 0;
  padding-left: 1.2em;
  color: #263542;
  font-weight: 760;
  line-height: 1.8;
}

.plan-badge {
  position: absolute;
  top: -18px;
  right: 18px;
  width: auto;
  margin: 0;
  padding: 7px 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--yellow);
  font-size: 0.86rem;
  font-weight: 950;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-weight: 790;
}

th,
td {
  padding: 16px;
  border: 1px solid var(--line);
  text-align: left;
}

th {
  color: #fff;
  background: var(--teal-dark);
}

tbody tr:nth-child(even) {
  background: #f7fbfb;
}

.detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

dl {
  margin: 22px 0 0;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 780;
}

dd {
  margin: 0;
  text-align: right;
  font-weight: 900;
}

.maintenance {
  grid-column: 1 / -1;
  background: #f8fffe;
}

.cta {
  width: min(1120px, calc(100% - 36px));
  margin: 34px auto 64px;
  padding: clamp(34px, 6vw, 60px);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #0faaa6, #087c79);
  text-align: center;
  box-shadow: var(--shadow);
}

.cta p {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 900;
}

.cta h2 {
  max-width: 760px;
  margin: 0 auto 28px;
}

.cta__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.button--cta {
  min-width: min(100%, 300px);
  background: linear-gradient(135deg, #ffc20d, #f0a800);
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.16);
}

.button--catalog {
  min-width: min(100%, 300px);
  color: var(--teal-dark);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.button:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: 4px;
}

.page-bottom-nav {
  width: min(1120px, calc(100% - 36px));
  margin: -36px auto 64px;
  display: flex;
  justify-content: flex-end;
}

.home-return-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(7, 139, 136, 0.22);
  border-radius: 999px;
  background: #fff;
  color: var(--teal-dark);
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(5, 76, 84, 0.1);
}

@media (max-width: 980px) {
  .policy__grid,
  .plan-grid,
  .detail-grid,
  .recommend-section {
    grid-template-columns: 1fr 1fr;
  }

  .included__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .policy__grid,
  .plan-grid,
  .detail-grid,
  .recommend-section,
  .maintenance {
    grid-template-columns: 1fr;
  }

  .hero {
    width: min(100% - 28px, 1120px);
    min-height: 560px;
    padding-top: 42px;
  }

  .hero h1 span {
    white-space: normal;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .section,
  .recommend-section:not(.section),
  .cta {
    width: min(100% - 28px, 1120px);
  }

  .page-bottom-nav {
    width: min(100% - 28px, 1120px);
    margin-top: -40px;
  }

  .included__grid {
    grid-template-columns: 1fr;
  }

  .plan-card {
    min-height: auto;
  }

  dl div {
    display: block;
  }

  dd {
    margin-top: 5px;
    text-align: left;
  }

}
