* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

/* ====================
   Lightbox
 ==================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: zoom-out;
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
  display: block;
  cursor: default;
}

.lightbox_close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.lightbox_close::before,
.lightbox_close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: #ffffff;
  border-radius: 2px;
}

.lightbox_close::before {
  transform: translateY(-50%) rotate(45deg);
}

.lightbox_close::after {
  transform: translateY(-50%) rotate(-45deg);
}

.js_lightbox_open {
  cursor: zoom-in;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  color: #243029;
  line-height: 1.7;
  background: #ffffff;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3 {
  font-family: "Noto Sans JP", sans-serif;
  margin: 0;
}

p {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

section {
  padding: 64px 20px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

/* ====================
   ヘッダー
 ==================== */
.header {
  background: #46b377;
  padding: 14px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header_inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  color: #ffffff;
  font-family: sans-serif;
  font-weight: 700;
  font-size: 18px;
  margin: 0;
}

.header_tabs {
  display: flex;
  gap: 10px;
}

.header_tab {
  border: none;
  background: #ffffff;
  color: #16704a;
  font-weight: 900;
  font-size: 14px;
  padding: 7px 24px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.header_tab.active {
  background: #ffd23d;
  color: #0c5a52;
}

/* ====================
   ヒーロー
 ==================== */
.hero {
  position: relative;
  background: url('../img/main_v.jpeg') top center / auto 100% no-repeat;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 0;
}

/* .hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #60BF8085 0%, #4EB06E75 68%, #4EB06E3D 100%);
} */

.hero_content {
  position: relative;
  z-index: 1;
  padding: 64px 40px;
}

.hero_badges {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.hero_badge {
  display: inline-block;
  background: #ffd23d;
  color: #0c5a52;
  font-size: 24px;
  font-weight: 900;
  padding: 5px 16px;
  border-radius: 6px;
}

.hero_title_group {
  max-width: 420px;
  width: 100%;
  margin: 0 0 20px;
}

.hero_title {
  margin: 0 0 12px;
}

.hero_title img {
  width: 100%;
  height: auto;
}

.hero_catch {
  color: #3C884C;
  font-size: 24px;
  font-weight: 700;
}

.hero_balloon {
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
  color: #333;
  font-weight: 800;
  font-size: 24px;
  line-height: 1.6;
  margin: 0;
  justify-content: center;
}

.hero_balloon::before,
.hero_balloon::after {
  content: '';
  width: 2px;
  align-self: stretch;
  background: currentColor;
  border-radius: 1px;
}
.hero_balloon::before {
  transform: rotate(-25deg);
}
.hero_balloon::after {
  transform: rotate(25deg);
}


/* ====================
   サブキャッチ
 ==================== */
.subcatch {
  background: #fff;
  padding: 28px 20px;
  text-align: center;
}

.subcatch p {
  color: #333;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.9;
  margin: 0 auto 20px;
  max-width: 760px;
}

.subcatch_info {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  border: 1.5px solid #ccc;
  border-radius: 6px;
  padding: 14px 28px;
}

.subcatch_year {
  background: #ffd23d;
  color: #0c5a52;
  font-family: sans-serif;
  font-weight: 900;
  font-size: 22px;
  padding: 4px 14px;
  border-radius: 6px;
  white-space: nowrap;
}

.subcatch_detail {
  color: #333;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* ====================
   対象選択
 ==================== */
.target_select {
  background: #16704a;
  padding: 22px 20px;
}

.target_select_inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.target_label {
  color: #cdeede;
  font-weight: 700;
  font-size: 18px;
  margin: 0;
}

.target_buttons {
  display: flex;
  gap: 12px;
}

.target_btn {
  border: none;
  border-bottom: 4px solid #0b4a2e;
  background: #ffffff;
  color: #16704a;
  font-weight: 900;
  font-size: 17px;
  padding: 16px 52px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.1s, border-bottom-width 0.1s;
}

.target_btn:hover:not(.active) {
  background: #eaf7ee;
}

.target_btn:active {
  transform: translateY(2px);
  border-bottom-width: 2px;
}

.target_btn.active {
  background: #ffd23d;
  color: #0c5a52;
  border-bottom-color: #b89000;
}

/* ====================
   イントロ
 ==================== */
.intro {
  background: #eaf7ee;
  background-image: radial-gradient(#c2e6cd 2.2px, transparent 2.3px);
  background-size: 18px 18px;
}

.intro_inner {
  display: flex;
  gap: 56px;
  align-items: center;
}

.intro_title {
  color: #1e7a48;
  font-weight: 900;
  font-size: 36px;
  line-height: 1.35;
  margin: 0;
}

.intro_lead {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px 24px;
  color: #41504a;
  font-size: 17px;
  line-height: 1.85;
  margin: 0;
  flex: 1;
}

.intro_box {
  background: #ffffff;
  border: 3px solid #1e7a48;
  border-radius: 22px;
  padding: 40px 22px 26px;
  position: relative;
}

.intro_tag {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffd23d;
  color: #15532f;
  font-weight: 900;
  font-size: 18px;
  padding: 8px 26px;
  border-radius: 16px;
  white-space: nowrap;
}

.intro_table {
  margin: 0;
}

.intro_row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 4px;
  border-bottom: 2px dashed #cdddd3;
}

.intro_row:last-child {
  border-bottom: none;
}

.intro_row dt {
  flex: 0 0 92px;
  background: #1e7a48;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  padding: 7px 0;
  border-radius: 9px;
  text-align: center;
  line-height: 1.5;
}

.intro_row dd {
  margin: 0;
  font-weight: 900;
  font-size: 24px;
  color: #15532f;
}

.intro_row dd span {
  background: #eaf7ee;
  color: #1e7a48;
  font-weight: 800;
  font-size: 18px;
  padding: 4px 14px;
  border-radius: 20px;
  margin: 0 4px;
  white-space: nowrap;
}

/* ====================
   こんな方におすすめ
 ==================== */
.recommend {
  background: #eaf7ee;
  background-image: radial-gradient(#c2e6cd 2.2px, transparent 2.3px);
  background-size: 18px 18px;
}

.recommend_title {
  color: #16704a;
  font-weight: 900;
  font-size: 32px;
  margin-bottom: 40px;
  line-height: 1.25;
  text-align: center;
}

.recommend_inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: center;
}

.recommend_image_wrap {
  position: relative;
  align-self: flex-start;
}

.recommend_image_wrap img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  border: 4px solid #16704a;
  display: block;
  object-fit: cover;
  object-position: calc(100% + 40px) top;
}

.recommend_badge {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 44px;
  height: 44px;
  background: #ffd23d;
  color: #0c5a52;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: sans-serif;
  font-weight: 900;
  font-size: 24px;
}

.recommend_list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.recommend_item {
  background: #ffffff;
  border-radius: 14px;
  padding: 20px 18px;
  font-size: 20px;
  font-weight: 700;
  color: #111111;
  line-height: 1.5;
}

/* ====================
   テスト結果でわかること
 ==================== */
.results {
  background: #fbfdfb;
}

.results_title {
  color: #15532f;
  font-weight: 900;
  font-size: 30px;
  text-align: center;
  margin-bottom: 32px;
}

.results_cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.results_card {
  background: #ffffff;
  border-radius: 18px;
  padding: 22px 20px 20px;
  border: 1px solid #7cc69a;
}

.results_card_title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1e7a48;
  font-weight: 700;
  font-size: 20px;
  margin: 0 0 10px;
}

.results_card_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1e7a48;
  flex-shrink: 0;
}

.results_card_icon img {
  width: 18px;
  height: 18px;
  display: block;
  filter: brightness(0) invert(1);
}

.results_card:nth-child(2) .results_card_icon {
  background: #16b8c9;
}

.results_card:nth-child(3) .results_card_icon {
  background: #ff7a2f;
}

.results_card:nth-child(3) .results_card_title::before {
  background: #ff7a2f;
}

.results_card_text {
  font-size: 16px;
  color: #48564f;
  line-height: 1.85;
}

/* ====================
   成績表について
 ==================== */
.report {
  background: #eaf7ee;
  background-image: radial-gradient(#c2e6cd 2.2px, transparent 2.3px);
  background-size: 18px 18px;
}

.report_title {
  color: #15532f;
  font-weight: 900;
  font-size: 30px;
  text-align: center;
  margin-bottom: 12px;
}

.report_lead {
  text-align: center;
  font-size: 16px;
  color: #5f6f65;
  margin-bottom: 32px;
}

.report_body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.report_image {
  position: relative;
}

.report_image img {
  width: 100%;
  border-radius: 14px;
  display: block;
}

.report_zoom {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 22px;
  height: 22px;
  background: #15532FEB;
  border-radius: 50%;
  pointer-events: none;
}

.report_zoom::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 13px;
  height: 13px;
  background-color: #fff;
  -webkit-mask-image: url('../img/magnifying-glass-plus-solid-full.svg');
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-image: url('../img/magnifying-glass-plus-solid-full.svg');
  mask-size: contain;
  mask-repeat: no-repeat;
}

.report_label {
  position: absolute;
  color: #111;
  font-weight: 900;
  font-size: 21px;
  line-height: 1;
  pointer-events: none;
}

.report_list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}

.report_row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 16px;
}

.report_row dt {
  flex: none;
  width: 30px;
  height: 30px;
  color: #111111;
  font-weight: 900;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.report_row dd {
  margin: 0;
  font-weight: 700;
  color: #243029;
  font-size: 17px;
}

.report_row dd span {
  display: block;
  font-size: 15px;
  font-weight: 400;
  color: #5f6f65;
  line-height: 1.6;
  margin-top: 2px;
}

/* ====================
   動画
 ==================== */
.video {
  background: #15532f;
}

.video_title {
  color: #ffffff;
  font-weight: 900;
  font-size: 26px;
  text-align: center;
  margin-bottom: 24px;
}

.video_player {
  border-radius: 18px;
  overflow: hidden;
}

/* ====================
   実施スケジュール
 ==================== */
.schedule {
  background: #fbfdfb;
}

.schedule_title {
  color: #15532f;
  font-weight: 900;
  font-size: 30px;
  text-align: center;
  margin-bottom: 32px;
}

.schedule_cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.schedule_card {
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #7cc69a;
}

.schedule_card_head {
  background: #7cc69a;
  padding: 18px 20px;
}

.schedule_tag {
  display: inline-block;
  background: #ffd23d;
  color: #15532f;
  font-weight: 900;
  font-size: 16px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.schedule_sub {
  color: #ffffff;
  font-weight: 700;
  font-size: 17px;
  margin: 0;
}

.schedule_table {
  margin: 0;
  padding: 18px 20px 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.schedule_table > div {
  display: flex;
  gap: 12px;
  font-size: 16px;
}

.schedule_table dt {
  flex: 0 0 76px;
  color: #5f6f65;
  font-weight: 700;
}

.schedule_table dd {
  margin: 0;
  color: #243029;
  font-weight: 500;
}

.schedule_note {
  font-size: 14px;
  color: #90a096;
  padding: 4px 20px 16px;
  margin: 0;
}

/* ====================
   よくある質問
 ==================== */
.faq {
  background: #eaf7ee;
  background-image: radial-gradient(#c2e6cd 2.2px, transparent 2.3px);
  background-size: 18px 18px;
}

.faq_title {
  color: #15532f;
  font-weight: 900;
  font-size: 30px;
  text-align: center;
  margin-bottom: 28px;
}

.faq_list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq_item {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
}

.faq_question {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  font-weight: 700;
  font-size: 17px;
  color: #243029;
  cursor: pointer;
}

.faq_question::-webkit-details-marker {
  display: none;
}

.faq_question::after {
  content: '';
  flex: none;
  margin-left: auto;
  width: 8px;
  height: 8px;
  border-right: 2.5px solid #1e7a48;
  border-bottom: 2.5px solid #1e7a48;
  transform: rotate(45deg);
  transition: transform 0.2s;
}

.faq_item[open] .faq_question::after {
  transform: rotate(225deg);
}

.faq_q_num {
  flex: none;
  width: 32px;
  height: 32px;
  color: #111111;
  font-weight: 900;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq_q_text {
  flex: 1;
  line-height: 1.5;
}

.faq_arrow {
  flex: none;
  color: #1e7a48;
  font-size: 20px;
  transition: transform 0.2s;
}

.faq_item[open] .faq_arrow {
  transform: rotate(180deg);
}

.faq_answer {
  padding: 0 20px 18px 47px;
  font-size: 16px;
  color: #48564f;
  line-height: 1.85;
}

/* ====================
   CTA
 ==================== */
.cta {
  background: linear-gradient(160deg, #34955f 0%, #1e7a48 50%, #15532f 100%);
  text-align: center;
}

.cta_title {
  color: #ffffff;
  font-weight: 900;
  font-size: 30px;
  margin-bottom: 16px;
}

.cta_text {
  color: #e7f3eb;
  font-size: 17px;
  line-height: 1.95;
}

/* ====================
   目次・FAB
 ==================== */
.fab {
  position: fixed;
  bottom: 20px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 0;
  background: #1e7a48;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0,0,0,.3);
  border-radius: 14px;
  font-family: inherit;
}

.fab_menu {
  left: 24px;
  width: 52px;
  height: 52px;
}

.fab_menu span {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .05em;
}

.fab_top {
  right: 24px;
  width: 52px;
  height: 52px;
}

#nav_overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(15,45,28,.45);
}

#nav_drawer {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 80;
  width: 260px;
  max-width: 84vw;
  background: #fff;
  box-shadow: 6px 0 26px rgba(0,0,0,.28);
  padding: 18px 14px;
  overflow-y: auto;
}

.nav_drawer_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 0 4px 10px;
  border-bottom: 2px solid #eef5ef;
}

.nav_drawer_head b {
  font-weight: 800;
  font-size: 14px;
  color: #16704a;
  letter-spacing: .06em;
}

.nav_drawer_head button {
  border: 0;
  background: transparent;
  color: #5f6f65;
  cursor: pointer;
  display: flex;
  padding: 0;
}

#nav_drawer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

#nav_drawer li button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  color: #41504a;
  padding: 11px 10px;
  border-radius: 10px;
  line-height: 1.4;
}

#nav_drawer li button:hover {
  background: #eef5ef;
  color: #16704a;
}

/* ====================
   フッター
 ==================== */
.footer {
  background: #0e3a22;
  padding: 28px 20px;
  text-align: center;
}

.footer_copy {
  color: #9fc4ac;
  font-size: 15px;
  line-height: 1.7;
}

/* ====================
   レスポンシブ（SP）
 ==================== */
@media (max-width: 768px) {
  section {
    padding: 44px 16px;
  }

  .subcatch_info {
    flex-direction: column;
    gap: 12px;
  }

  .target_buttons {
    flex-direction: column;
  }

  .hero {
    min-height: 100vw;
    align-items: flex-end;
    background: url('../img/main_v.jpeg') right -150px top / auto 100% no-repeat;
  }

  .hero_badges {
    flex-direction: column;
    align-items: stretch;
    width: fit-content;
  }

  .hero_badge {
    font-size: 14px;
    text-align: center;
  }

  .hero_content {
    padding: 36px 20px 100px;
  }

  .hero_catch {
    font-size: 14px;
  }
  .hero_badges {
    flex-direction: column;
  }
  
  .hero_badge {
    font-size: 14px;
  }

  .hero_balloon {
    font-size: 14px;
  }

  .hero_title_group {
    max-width: 200px;
  }

  .logo {
    font-size: 15px;
  }

  .hero_title img {
    max-width: 200px;
  }

  .header_tab {
    font-size: 13px;
    padding: 6px 16px;
  }

  .subcatch p {
    font-size: 18px;
  }

  .intro_inner {
      gap: 28px;
      flex-direction: column;
  }

  .recommend_inner {
    grid-template-columns: 132px 1fr;
    gap: 12px;
  }
  .recommend_list {
    gap: 8px;
  }
  .recommend_item {
    padding: 12px;
    font-size: 13px;
  }

  .recommend_image_wrap {
    width: 132px;
    flex-shrink: 0;
    margin-right: 20px;
  }

  .intro_title {
    font-size: 28px;
    text-align: center;
  }

  .intro_row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .recommend_title,
  .results_title,
  .report_title,
  .schedule_title,
  .faq_title,
  .cta_title,
  .video_title {
    font-size: 24px;
  }
  .report_body {
      grid-template-columns: 1fr;
      gap: 28px;
  }
  .results_cards {
    grid-template-columns: 1fr;
  }

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

  .faq_question,
  .faq_answer {
    font-size: 13px;
  }
}
