:root {
  --main-color: #2b6cb0;
  --accent-color: #f59e0b;
  --bg-light: #f7f7f7;
  --text-color: #333;
  --base-font: "Noto Sans JP", sans-serif;
}

html { scroll-behavior: smooth; }

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--base-font);
  color: var(--text-color);
  line-height: 1.7;
}

img{
  max-width: 100%;
}

/* common */

.inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section.full {
  background: var(--bg-light);
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 700;
}

/* 2段タイトル */
.section-title.is-double {
  line-height: 1.2;
}

.section-title.is-double .en {
  display: block;
  font-size: 3rem;
  letter-spacing: 0.08em;
  color: var(--main-color ); 
}

.section-title.is-double .jp {
  display: block;
  margin-top: 0.4rem;
  font-size: 1rem;
  font-weight: 500;
}

/* 1段タイトル */
.section-title:not(.is-double) {
  font-size: 1.8rem;
}

@media (max-width: 768px) {
  .section-title {
  text-align: center;
  margin-bottom: 1.4rem;
  font-weight: 700;
}
  .section-title:not(.is-double) {
  font-size: 1.5rem;
}
}

/* layout */
.center-text {
  text-align: center;
  margin-top: 30px;
}
.space{
  margin: 5rem 0 2rem 0;
}
.bold{
  font-weight: 900;
  font-size: 1.2em;
}
.yellow{
  background-color: yellow;
}

/* header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #fff;
  z-index: 1000;
  border-bottom: 1px solid #eee;
  box-shadow: 0 0 8px silver;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo a {
  text-decoration: none;
  color: var(--main-color);
}

.nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  text-decoration: none;
  color: var(--text-color);
}

.hamburger {
  display: none;
}

@media (max-width: 768px) {

  /* ハンバーガー表示 */
  .hamburger {
    display: block;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
  }

  /* nav 初期状態：非表示 */
  .nav {
    position: fixed;
    top: 60px;              /* ヘッダーの高さ */
    left: 0;
    width: 100%;
    background: #fff;
    display: none;
  }

  /* open が付いたら表示 */
  .nav.open {
    display: block;
  }

  .nav ul {
    flex-direction: column;
    padding: 20px;
  }

  .nav li {
    border-bottom: 1px solid #eee;
  }

  .nav a {
    display: block;
    padding: 12px 0;
  }
}


/* hero */
.hero {
  position: relative;
  height: 100vh;
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
  text-shadow: 0 0 15px #000;
}
.hero-content h2{
  font-size: 64px;
  line-height: 1em;
  margin-top: 0;
}
.hero-content h2 span{
  font-size: 24px;
}
.subtitle01{
  font-size: 28px;
  font-weight: 900;
}
.subtitle01 span{
  background-color: var(--main-color);
}
.subtitle02{
  font-size: 29.5px;
  line-height: 1em;
  font-weight: 900;
  margin-bottom: 10px;
}
.subtitle03{
  font-size: 28px;
  line-height: 1em;
  font-weight: 900;
}
.lead{
  font-size: 18px;
}
    @media (max-width: 768px) {
      .hero-content h2{
        font-size: 36px;
        line-height: 1.2em;
        margin-top: 0.5em;
      }
    .subtitle01{
      font-size: 16px;
      line-height: 1.5em;
      font-weight: 900;
    }
    .subtitle02{
      font-size: 18px;
      line-height: 1.5em;
      font-weight: 900;
    }
    .subtitle03{
      font-size: 18px;
      line-height: 1.5em;
      font-weight: 900;
    }
      .lead{
        font-size: 16px;
      }
    }


/* box */
.box-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.box {
  background: #fff;
  padding: 24px;
  border-radius: 8px;
}



/* nayami */
.nayami{
}
.nayami .box-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.nayami-box {
  background: #ddd;
  padding: 24px;
  border-radius: 8px;
  text-align: center;
  font-weight: 400;
  
}
.nayami .center-text{
  font-size: 36px;
  font-weight: 900;
}
  @media (max-width: 768px) {
    .nayami .box-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 20px;
    }
  }

/* select */
.select{
}
.select .box-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.select-box {
  background: rgb(251, 240, 217);
  padding: 24px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
}
.select .center-text{
  font-size: 36px;
  font-weight: 900;
}
  @media (max-width: 768px) {
    .select .box-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 20px;
    }
  }

/* value */
.section.full.value{
  background-image: url(images/back_cover_04.jpg);
  background-size: cover;
  background-position: center;
}
.value{
}
.value .section-title .en{
  color: white;
}
.value .section-title .jp{
  color: white;
}
.value .box-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.value img{
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}
.value .box span{
  background-color: var(--main-color);
  color: white;
  font-size: 1.3em;
  font-weight: 400;
}

/* bonus */
.bonus{
}
.bonus .box-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.bonus img{
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}
.bonus .box span{
  background-color: var(--main-color);
  color: white;
  font-size: 1.3em;
  font-weight: 400;
}

/*appeal*/
.section.full.appeal{
  background-image: url(images/back_cover_03.jpg);
  background-size: cover;
  background-position: center;
}
.section.full.appeal .inner{
  color: white;
  text-align: center;
}
.appeal-point{
  font-weight: 900;
  font-size: 24px;
}

/* merit */
/* feature 2column */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 80px;
}
.feature-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 10px 10px 0 var(--main-color);
}

.feature-text h4 {
  margin-top: 0;
  font-size: 1.4rem;
}
.feature-text h4 span{
  background-color: var(--main-color);
  color: #fff;
  padding: 5px;
}

/* 左右反転 */
.feature.reverse {
  direction: rtl;
}

.feature.reverse > * {
  direction: ltr;
}
@media (max-width: 768px) {
  .feature {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .feature.reverse {
    direction: ltr;
  }
}

/* table */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
}

.info-table th,
.info-table td {
  border: 1px solid #ddd;
  padding: 12px;
}

/* member */
.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 5rem;
}

.member img {
  width: 70%;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
}
.member h4 {
  color: var(--main-color);
  font-size: 36px;
  margin-top: -100px;
}
.member h4 span{
  background-color: var(--main-color);
  color: #fff;
  font-size: 16px;
  padding: 10px;
}
.member-grid table{
  background: #fff;
  border-radius: 30px;
  padding: 15px;
  font-size: 0.9em;
  box-shadow: 0 0 8px silver;
  width: 100%;
}
.member-grid table td{
  border-bottom: 1px dotted silver;
    padding: 1em;
}
.member-grid table td:first-child {
  width: 120px;
}

@media (max-width: 870px) {
  .member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
}

/* faq */
.faq{
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-left: 10px solid var(--main-color);
  padding-left: 1rem;
  font-size: 1.2rem;
}
.faq-answer {
  padding: 0.5rem 0 0 1.8rem;
  color: #555;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px dotted #aaa;
}



/* pagetop */
.pagetop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  text-decoration: none;
}

/* footer */
.footer {
  background: #111;
  color: #fff;
  padding: 40px 0;
  text-align: center;
}

/* responsive */
@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    background: #fff;
    width: 100%;
  }

  .nav.open {
    display: block;
  }

  .nav ul {
    flex-direction: column;
    padding: 20px;
  }

  .hamburger {
    display: block;
    background: none;
    border: none;
    font-size: 24px;
  }
}

/* animation */
/* ふわっと前の状態 */
.fadein {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 表示された後 */
.fadein.is-visible {
  opacity: 1;
  transform: translateY(0);
}
