/* =========================================================
   Reset / Base
========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.6rem;
  line-height: 1.8;
  color: #222;
  background: #f8f7f4;
  font-feature-settings: "palt";
  letter-spacing: 1px;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  display: block;
}

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

button {
  font: inherit;
}

.sp-br {
  display: none;
}

.pc-br {
  display: block;
}

@media screen and (max-width: 767px) {
  .pc-br {
    display: none;
  }
  .sp-br {
    display: block;
  }
}

/* =========================================================
   Layout / Common
========================================================= */
.inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.page-wrap {
  overflow: hidden;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(2.6rem, 2.2rem + 1vw, 4rem);
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}

.section-subtitle {
  margin: 0 0 36px;
  text-align: center;
  color: #666;
  font-size: 1.4rem;
}

.sp-break {
  display: inline;
}

@media screen and (max-width: 767px) {
  .sp-break {
    display: block;
  }
}

/* =========================
   loading
========================= */

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #18b3af 0%, #119e9a 100%);
  transition:
    opacity 0.7s ease,
    visibility 0.7s ease;
}

.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-loader__inner {
  text-align: center;
}

.site-loader__logo {
  width: min(72vw, 280px);
  display: block;
  margin: 0 auto;
  animation: loaderLogo 1.8s ease-in-out infinite;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.12));
}

@keyframes loaderLogo {
  0% {
    transform: translateY(0) scale(0.96);
    opacity: 0.65;
  }

  50% {
    transform: translateY(-8px) scale(1);
    opacity: 1;
  }

  100% {
    transform: translateY(0) scale(0.96);
    opacity: 0.65;
  }
}

@media (max-width: 767px) {
  .site-loader__logo {
    width: min(78vw, 180px);
  }
}

/* アニメーション */

/* =========================
   Scroll Animation
========================= */

.js-reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  will-change: opacity, transform;
}

.js-reveal.is-show {
  opacity: 1;
  transform: translateY(0);
}

.js-reveal--left {
  transform: translateX(-36px);
}

.js-reveal--right {
  transform: translateX(36px);
}

.js-reveal--scale {
  transform: translateY(24px) scale(0.96);
}

.js-reveal--left.is-show,
.js-reveal--right.is-show,
.js-reveal--scale.is-show {
  transform: translateX(0) translateY(0) scale(1);
}

.js-delay-1 {
  transition-delay: 0.12s;
}

.js-delay-2 {
  transition-delay: 0.24s;
}

.js-delay-3 {
  transition-delay: 0.36s;
}

@keyframes bannerFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* 動き苦手な人向け */
@media (prefers-reduced-motion: reduce) {
  .js-reveal,
  .js-reveal--left,
  .js-reveal--right,
  .js-reveal--scale {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .thc-present-banner {
    animation: none;
  }
}

/* =========================================================
   Hero
========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background: #8ebcf0;
}

/* ========================================
  ① ブラー背景
======================================== */
.hero__blur {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../img/fv-bg_pc.webp");
  background-size: cover;
  background-position: center;
  filter: blur(40px);
  transform: scale(1.1);
}

.hero__blur::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
}

/* ========================================
  ② メイン画像
======================================== */
.hero__bg {
  position: relative;
  z-index: 1;
  max-width: 1920px;
  margin: 0 auto;
}

.hero__bg picture,
.hero__bg img {
  display: block;
  width: 100%;
}

.hero__bg img {
  height: auto;
}

/* ========================================
  ③ ロゴ
======================================== */
.hero__logo {
  position: absolute;
  top: 16.5%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: clamp(320px, 52vw, 960px);
  opacity: 0;
  animation: heroLogoFadeUp 1.2s ease 0.25s forwards;
}

.hero__logo picture,
.hero__logo img {
  display: block;
  width: 100%;
}

.hero__logo img {
  height: auto;
}

/* ========================================
  ④ スクロール誘導
======================================== */
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 2;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  opacity: 0;

  animation: heroScrollFade 1s ease 1s forwards;
}

.hero-scroll__text {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
}

.hero-scroll__arrow {
  position: relative;
  width: 1px;
  height: 48px;
  background: rgba(255, 255, 255, 0.45);
  overflow: hidden;
}

.hero-scroll__arrow::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: #fff;
  animation: heroScrollLine 2s ease-in-out infinite;
}

.hero-scroll:hover {
  opacity: 0.85;
}

/* ========================================
  Animation
======================================== */
@keyframes heroLogoFadeUp {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(24px);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes heroScrollFade {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes heroScrollLine {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

/* ========================================
  SP
======================================== */
@media screen and (max-width: 767px) {
  .hero__blur {
    background-image: url("../img/fv-bg_sp.webp");
    filter: blur(24px);
  }

  .hero__logo {
    top: 9.3%;
    width: min(83.6%, 540px);
  }

  .hero-scroll {
    bottom: 18px;
    gap: 6px;
  }

  .hero-scroll__text {
    font-size: 1rem;
  }

  .hero-scroll__arrow {
    height: 36px;
  }
}

/* =========================================================
   Message
========================================================= */
.message {
  position: relative;
  overflow: hidden;
  padding: 92px 0 88px;
  background: #f3f3f3;
}

.message__inner {
  position: relative;
  z-index: 2;
}

.message__content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.message__content p {
  margin: 0;
  color: #00a7ab;
  font-weight: 700;
  font-size: clamp(1.6rem, 1.2rem + 0.6vw, 2.4rem);
  line-height: 2.4;
  letter-spacing: 0.02em;
}

.message__content p + p {
  margin-top: 18px;
}

/* 段落のかたまりごとの余白 */
.message__content p:nth-child(2),
.message__content p:nth-child(4),
.message__content p:nth-child(5),
.message__content p:nth-child(6) {
  margin-bottom: 42px;
}

.message__logo {
  width: min(100%, 560px);
  margin: 54px auto 0;
}

.message__logo img {
  width: 100%;
  height: auto;
  margin: 0 auto;
}

/* ========================================
  background confetti
======================================== */
.message__bg {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
}

.message__bg--left {
  left: 0;
  width: min(24vw, 280px);
  background-image: url("../img/message_left-bg.webp");
  background-position: left top;
}

.message__bg--right {
  right: 0;
  width: min(24vw, 280px);
  background-image: url("../img/message_right-bg.webp");
  background-position: right top;
}

/* テキストが紙吹雪に近づきすぎないための中央余白 */
.message__content,
.message__logo {
  position: relative;
  z-index: 2;
}

/* ========================================
  SP
======================================== */
@media screen and (max-width: 767px) {
  .message {
    padding: 72px 0 64px;
  }

  .message__content {
    max-width: 100%;
    padding: 0 18px;
  }

  .message__content p {
    font-size: clamp(1.8rem, 1.45rem + 0.9vw, 2.4rem);
    line-height: 2;
  }

  .message__content p + p {
    margin-top: 12px;
  }

  .message__content p:nth-child(2),
  .message__content p:nth-child(4),
  .message__content p:nth-child(5),
  .message__content p:nth-child(6) {
    margin-bottom: 28px;
  }

  .message__logo {
    width: min(100%, 420px);
    margin-top: 40px;
    padding: 0 18px;
  }

  .message__bg--left,
  .message__bg--right {
    width: 92px;
    background-size: 100% auto;
    opacity: 0.95;
  }

  .message__bg--left {
    left: -10px;
    background-position: left top;
  }

  .message__bg--right {
    right: -10px;
    background-position: right top;
  }
}

/* =========================================================
   Common Section Heading
========================================================= */
.section-heading {
  text-align: center;
}

.section-heading__sub {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0 26px;
  font-size: clamp(1.4rem, 1.2rem + 0.3vw, 1.8rem);
  font-weight: 500;
  line-height: 1.4;
  border-top: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  padding: 10px 20px;
}

.section-heading__sub::before {
  right: 100%;
  margin-right: 18px;
}

.section-heading__sub::after {
  left: 100%;
  margin-left: 18px;
}

.section-heading__title {
  margin: 22px 0 0;
  font-size: clamp(3.2rem, 2.2rem + 1.4vw, 5.2rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 1.5px;
}

.section-heading--white {
  color: #fff;
}

@media screen and (max-width: 767px) {
  .section-heading__sub {
    font-size: 1.2rem;
  }

  .section-heading__title {
    margin-top: 16px;
    font-size: clamp(2.8rem, 2.1rem + 1.5vw, 4rem);
    line-height: 1.5;
  }
}

/* =========================================================
   Greeting
========================================================= */
.greeting {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
  color: #fff;
  background: linear-gradient(135deg, #0b8f8d 0%, #22aaa5 25%, #08ada9 50%, #19908e 75%, #08ada9 100%);
  background-size: 250% 250%;
  animation: greetingFlow 8s ease-in-out infinite;
}

@keyframes greetingFlow {
  0% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 50% 0%;
  }
  50% {
    background-position: 100% 50%;
  }
  75% {
    background-position: 50% 100%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.greeting__inner {
  max-width: 980px;
}

.greeting__head {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 820px;
  margin: 52px auto 0;
}

.greeting__image {
  flex: 0 0 260px;
  width: 260px;
}

.greeting__image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

.greeting__profile {
  flex: 1 1 auto;
}

.greeting__position {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 1.5rem + 0.3vw, 2.2rem);
  font-weight: 500;
  line-height: 1.6;
}

.greeting__name {
  margin: 0;
  font-size: clamp(4.2rem, 3rem + 1.6vw, 6.4rem);
  font-weight: 500;
  line-height: 1.2;
}

.greeting__body {
  max-width: 820px;
  margin: 52px auto 0;
}

.greeting__body p {
  margin: 0;
  font-size: clamp(1.8rem, 1.45rem + 0.35vw, 2.4rem);
  font-weight: 500;
  line-height: 2.25;
}

.greeting__body p + p {
  margin-top: 22px;
}

/* SPだけ改行 */
.sp-break {
  display: inline;
}

@media screen and (max-width: 767px) {
  .sp-break {
    display: block;
  }
}

@media screen and (max-width: 767px) {
  .greeting {
    padding: 64px 0 72px;
  }

  .greeting__head {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    text-align: center;
  }

  .greeting__image {
    flex: none;
    width: min(52vw, 220px);
  }

  .greeting__position {
    margin-bottom: 8px;
    font-size: 1.8rem;
    line-height: 1.5;
  }

  .greeting__name {
    font-size: clamp(3.4rem, 2.8rem + 1.8vw, 4.8rem);
    line-height: 1.25;
  }

  .greeting__body {
    margin-top: 36px;
  }

  .greeting__body p {
    font-size: clamp(1.6rem, 1.45rem + 0.5vw, 2rem);
    line-height: 2;
  }

  .greeting__body p + p {
    margin-top: 18px;
  }
}

/* =========================================================
   Section Heading
========================================================= */
.section-heading--teal {
  color: #08ada9;
}

.section-heading-white {
  color: #ffffff;
}
/* =========================================================
   Comment Section
========================================================= */
.comment {
  padding: 88px 0 96px;
  background: #f3f3f3;
}

.comment .section-heading {
  margin-bottom: 56px;
}

.comment .section-heading__sub {
  border-top: 1px solid #08ada9;
  border-bottom: 1px solid #08ada9;
}

/* =========================================================
   Comment Slider
========================================================= */
.comment-slider {
  margin: 0 -12px;
}

.comment-card {
  padding: 0 12px;
}

.comment-slider .slick-list {
  overflow: visible;
  padding: 24px 0 20px;
}

.comment-slider .slick-track {
  display: flex;
  align-items: center;
}

.comment-slider .slick-slide {
  height: auto;
  opacity: 0.7;
  transition: opacity 0.35s ease;
}

.comment-slider .slick-slide > div {
  height: 100%;
}

.comment-slider .slick-center {
  opacity: 1;
  z-index: 2;
}

/* =========================================================
   Comment Card
========================================================= */
.comment-card__link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 24px;
  background: #ddd;
  transform: scale(0.88);
  transform-origin: center center;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    opacity 0.35s ease;
}

.comment-slider .slick-center .comment-card__link {
  transform: scale(1);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.comment-card__link:hover {
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.comment-card__image {
  position: relative;
  aspect-ratio: 380 / 520;
  overflow: hidden;
}

.comment-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comment-card__body {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 18px 16px 25px 16px;
  text-align: center;
  background: rgba(8, 173, 169, 0.88);
  backdrop-filter: blur(2px);
}

.comment-slider .slick-center .comment-card__body {
  background: rgba(8, 173, 169, 0.94);
}

.comment-card__role {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  margin: 0 0 14px;
  padding: 6px 8px;
  border-radius: 2px;
  background: #fff;
  color: #08ada9;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.5px;
}

.comment-card__name {
  margin: 0;
  color: #fff;
  font-size: clamp(2.6rem, 2rem + 0.8vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
}

.comment-card__name span {
  font-size: 0.72em;
}

/* =========================================================
   Comment Slider Dots
========================================================= */
.comment-slider .slick-dots {
  bottom: -80px;
}

.comment-slider .slick-dots li {
  margin: 0 3px;
}

.comment-slider .slick-dots li button:before {
  font-size: 12px;
  color: #cfcfcf;
  opacity: 1;
}

.comment-slider .slick-dots li.slick-active button:before {
  color: #08ada9;
}

/* =========================================================
   Comment Popup
========================================================= */
.popup-content--comment {
  width: min(820px, calc(100vw - 32px));
}

.popup-content__inner--comment {
  padding: 40px 32px;
}

.comment-popup__image {
  max-width: 360px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 24px;
}

.comment-popup__image img {
  display: block;
  width: 80%;
  height: auto;
  margin: auto;
  border-radius: 20px;
}

.comment-popup__meta {
  margin-top: 28px;
  text-align: center;
}

.comment-popup__role {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  margin: 0 0 16px;
  padding: 6px 10px;
  border-radius: 4px;
  background: #08ada9;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}

.comment-popup__name {
  margin: 0;
  color: #08ada9;
  font-size: clamp(2.7rem, 2.2rem + 0.8vw, 4.6rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.comment-popup__name span {
  font-size: 0.72em;
}

.comment-popup__text {
  max-width: 620px;
  margin: 32px auto 0;
}

.comment-popup__text p {
  margin: 0;
  color: #333;
  font-size: clamp(1.3rem, 1.3rem + 0.2vw, 1.8rem);
  line-height: 2;
}

.comment-popup__text p + p {
  margin-top: 18px;
}

/* =========================================================
   Responsive
========================================================= */
@media screen and (max-width: 1024px) {
  .comment {
    padding: 72px 0 88px;
  }

  .comment .section-heading {
    margin-bottom: 44px;
  }

  .comment-slider {
    margin: 0 -10px;
  }

  .comment-card {
    padding: 0 10px;
  }

  .comment-card__link {
    transform: scale(0.92);
  }

  .comment-slider .slick-center .comment-card__link {
    transform: scale(1);
  }

  .comment-card__body {
    padding: 14px 12px 22px 14px;
  }

  .comment-card__name {
    font-size: clamp(2.4rem, 2rem + 0.8vw, 3.4rem);
  }
}
/* =========================================================
   Comment Arrow
========================================================= */
.comment-slider-wrap {
  position: relative;
}

.comment-arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: #08ada9;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.15);
  transition:
    background 0.25s ease,
    transform 0.25s ease,
    opacity 0.25s ease;
}

.comment-arrow:hover {
  background: #079996;
}

.comment-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

/* 左右位置 */
.comment-arrow--prev {
  left: -28px;
}

.comment-arrow--next {
  right: -28px;
}

/* 矢印本体 */
.comment-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

/* 左 */
.comment-arrow--prev::before {
  transform: translate(-35%, -50%) rotate(-135deg);
}

/* 右 */
.comment-arrow--next::before {
  transform: translate(-65%, -50%) rotate(45deg);
}

/* disabled */
.comment-arrow.slick-disabled {
  opacity: 0.35;
  pointer-events: none;
}

/* ========================================
   tab
======================================== */
@media screen and (max-width: 1200px) {
  .comment-arrow {
    width: 38px;
    height: 38px;
  }

  .comment-arrow--prev {
    left: 0px;
  }

  .comment-arrow--next {
    right: 0px;
  }
}

/* ========================================
   SP
======================================== */
@media screen and (max-width: 767px) {
  .comment-arrow {
    width: 44px;
    height: 44px;
  }

  .comment-arrow--prev {
    left: -8px;
  }

  .comment-arrow--next {
    right: -8px;
  }

  .comment-arrow::before {
    width: 10px;
    height: 10px;
  }
}

/* =========================================================
   History
========================================================= */

.history-slider {
  margin: 0 -10px;
}

.history-card__link {
  display: block;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.history-card__link:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.12);
}

.history-card__image--dummy {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, #c79a3b 0%, #8a6c3d 100%);
}

.history-card__content {
  padding: 24px 20px 26px;
}

.history-card__year {
  margin: 0 0 6px;
  font-size: 1.4rem;
  font-weight: 700;
  color: #8a6c3d;
}

@media screen and (max-width: 767px) {
  .history {
    padding: 64px 0;
  }

  .history-card__content {
    padding: 20px 16px 22px;
  }
}

/* =========================================================
   Slick Slider
========================================================= */
.slick-prev,
.slick-next {
  z-index: 2;
  width: 48px;
  height: 48px;
}

.slick-prev {
  left: -8px;
}

.slick-next {
  right: -8px;
}

.slick-prev:before,
.slick-next:before {
  font-size: 48px;
  color: #222;
}

.slick-dots {
  bottom: -42px;
}

.slick-dots li button:before {
  font-size: 12px;
}

@media screen and (max-width: 767px) {
  .slick-prev {
    left: 0;
  }

  .slick-next {
    right: 0;
  }
}

/* =========================================================
   Popup / Modal
========================================================= */
.popup-content {
  position: relative;
  z-index: 2;
  width: min(900px, calc(100vw - 32px));
  height: calc(90vh - 40px);
  margin: 20px auto;
  overflow: auto;
  border-radius: 28px;
  background: #f4f4f4;
  color: #222;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* Chrome / Safari */
.history-modal__dialog::-webkit-scrollbar {
  display: none;
}

.popup-content__inner {
  padding: 40px 28px;
}

.popup-content__year {
  margin: 0 0 8px;
  font-size: 1.4rem;
  font-weight: 700;
  color: #8a6c3d;
}

.popup-content__title {
  margin: 0 0 18px;
  font-size: 2.8rem;
  line-height: 1.4;
  font-weight: 900;
}

.popup-content__inner p:last-child {
  margin-bottom: 0;
}

.popup-close {
  position: sticky;
  top: 16px;
  margin-left: auto;
  margin-right: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2.6rem;
  line-height: 1;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #2b2b2b;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.popup-close:hover {
  opacity: 0.9;
}

.mfp-bg {
  background: rgba(0, 0, 0, 0.58);
  opacity: 1;
}

.mfp-wrap {
  overflow-x: hidden;
  overflow-y: auto;
}

.mfp-container {
  padding: 16px;
}

.mfp-inline-holder .mfp-content {
  width: auto;
  max-width: 100%;
}

.mfp-close {
  display: none !important;
}

body.is-locked {
  position: fixed;
  width: 100%;
  left: 0;
}

@media screen and (max-width: 767px) {
  .popup-content {
    border-radius: 20px;
    height: 100%;
    width: 100%;
    height: 80vh;
    margin: 0 auto;
    border-radius: 20px;
  }

  .popup-content__inner {
    padding: 32px 20px;
  }

  .popup-content__title {
    font-size: 2.2rem;
  }

  .popup-close {
    top: 1%;
    right: 0%;
    width: 40px;
    height: 40px;
    font-size: 2.2rem;
    margin-right: 7px;
  }
}

/* =========================================================
   History Timeline
========================================================= */
.history {
  padding: 80px 0 100px;
  background: #01b4ac;
  color: #fff;
  overflow: hidden;
}

.history__inner {
  width: min(800px, calc(100% - 40px));
  margin: 100px auto 0;
}

.history__list {
  display: flex;
  flex-direction: column;
}

.history__row {
  display: grid;
  grid-template-columns: 180px 1fr;
  column-gap: 42px;
  align-items: center;
}

.history__row--text .history__side,
.history__row--year-only .history__side {
  min-height: 120px;
}

@media screen and (max-width: 767px) {
  .history__row--text .history__side,
  .history__row--year-only .history__side {
    min-height: 60px;
  }
}

/* =========================================================
   Timeline Side
========================================================= */
.history__side {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.history__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.8);
  transform: translateX(-50%);
}

.history__year {
  position: absolute;
  left: 50%;
  z-index: 2;
  padding: 20px 0;
  background: #01b4ac;
  font-family: "Inter", sans-serif;
  font-size: clamp(42px, 5.3vw, 64px);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transform: translateX(-50%);
}

.history__year--hidden {
  visibility: hidden;
}

.history__point,
.history__point-simple {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
}

.history__point {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #fff;
  color: #27b8b7;
  font-size: 2.3rem;
  display: flex;
  align-items: center;
  padding-left: 2%;
}

.history__point-month {
  font-size: 70%;
  padding-top: 8%;
  margin-left: -4%;
}

.history__point-simple {
  font-size: 1.8rem;
}

.history__point::after,
.history__point-simple::after {
  content: "";
  position: absolute;
  top: 50%;
  height: 1px;
  background: rgba(255, 255, 255, 0.8);
  transform: translateY(-50%);
}

.history__point::after {
  left: 100%;
  width: 90px;
}

.history__point-simple::after {
  left: 50%;
  width: 120px;
}

.history__point--empty {
  opacity: 0;
}

.history__point--empty::after {
  display: none;
}

/* =========================================================
   Timeline Main
========================================================= */
.history__main {
  min-width: 0;
  padding: 16px 0;
}

.history__lead {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 700;
  line-height: 1.6;
}

/* =========================================================
   Card
========================================================= */
.history-card {
  width: min(100%, 650px);
  min-height: 210px;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0;
  align-items: center;
  padding: 30px 20px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
}

.history-card--simple {
  display: block;
  padding: 30px 34px 25px 0;
  line-height: 1;
}

.history-card__image img {
  display: block;
  max-width: 100%;
  height: auto;
}

.history-card__body {
  text-align: center;
}

.history-card__title {
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
  letter-spacing: 1.2px;
}

.history-card-simple .history-card__title {
  text-align: left;
}

.history-card__text {
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 400;
  line-height: 1.7;
  margin: 0;
  letter-spacing: 1.5px;
}

.history-card__text strong {
  font-size: 180%;
}

.history-card__note {
  margin-top: 6px;
  font-size: 1.2rem;
  line-height: 1.5;
}

/* =========================================================
   Button
========================================================= */
.history-card__button {
  position: relative;
  min-width: 220px;
  margin-top: 8px;
  padding: 10px 24px 10px 24px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #27b8b7;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.4;
  cursor: pointer;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.history-card__button::before,
.history-card__button::after {
  content: "";
  position: absolute;
  top: 50%;
  background: #27b8b7;
  transform: translateY(-50%);
}

.history-card__button::before {
  right: 22px;
  width: 14px;
  height: 1px;
}

.history-card__button::after {
  right: 28px;
  width: 1px;
  height: 14px;
}

.history-card__button:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

/* =========================================================
   Responsive
========================================================= */
@media screen and (max-width: 767px) {
  .history {
    padding: 64px 0 80px;
  }

  .history__inner {
    width: min(100%, calc(100% - 24px));
    margin-top: 64px;
  }

  .history__main {
    min-width: 0;
    padding: 24px 0;
  }

  .history__row {
    grid-template-columns: 80px 1fr;
    column-gap: 4px;
  }

  .history__year {
    padding: 0 4px;
    font-size: 3rem;
  }

  .history__point {
    width: 42px;
    height: 42px;
    font-size: 1.6rem;
  }

  .history__point::after,
  .history__point-simple::after {
    width: 18px;
  }

  .history__lead {
    font-size: 2rem;
    line-height: 1.6;
  }

  .history-card {
    width: 100%;
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 16px;
    border-radius: 14px;
  }

  .history-card__image {
    max-width: 140px;
    margin: 0 auto;
  }

  .history-card__body {
    text-align: center;
  }

  .history-card__title {
    font-size: 1.6rem;
    padding-bottom: 7px !important;
    letter-spacing: 1.5px;
  }

  .history-card__text {
    font-size: 1.4rem;
  }

  .history-card__button {
    width: 100%;
    min-width: 0;
    max-width: 220px;
    font-size: 1.4rem;
  }
}

/* =========================================================
   History Modal
========================================================= */
.history-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.history-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.history-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 71, 67, 0.86);
}

.history-modal .mfp-container {
  height: auto;
  right: 0;
  left: 0;
  margin: auto;
  width: min(900px, calc(100vw - 32px));
  top: 3%;
  padding: 0;
}

/* =========================================================
   Dialog
========================================================= */
.history-modal__dialog {
  position: relative;
  z-index: 2;
  width: min(900px, calc(100vw - 32px));
  height: calc(90vh - 40px);
  margin: 20px auto;
  overflow: auto;
  border-radius: 28px;
  background: #ffffff;
  color: #222;
  scrollbar-width: none;
}

.history-modal__dialog::-webkit-scrollbar {
  display: none;
}

.history-modal__inner {
  padding: 56px 54px 40px;
}

/* =========================================================
   Close
========================================================= */
.history-modal__close {
  position: sticky;
  top: 10px;
  margin-left: auto;
  margin-right: 8px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2.6rem;
  line-height: 1;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #2b2b2b;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.history-modal__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 3px;
  background: #fff;
}

.history-modal__close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.history-modal__close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* =========================================================
   Head
========================================================= */
.history-modal__head {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: center;
}

.history-modal__head-image img {
  display: block;
  max-width: 100%;
  height: auto;
}

.history-modal__head-body {
  text-align: left;
}

.history-modal__date {
  margin-bottom: 8px;
  color: #15b7b1;
  font-size: 1.8rem;
  margin-top: 0;
}

.history-modal__title {
  margin: 0;
  color: #15b7b1;
  font-size: clamp(18px, 2.8vw, 30px);
  font-weight: 400;
  line-height: 1.35;
}

.history-modal__lead {
  margin: 0;
  color: #15b7b1;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.5;
}

.history-modal__lead strong {
  font-size: 1.35em;
}

.history-modal__note {
  margin-top: 8px;
  font-size: 1.2rem;
}

/* =========================================================
   Summary
========================================================= */
.history-modal__summary {
  margin-top: 20px;
  padding: 20px;
  background: #19b1aa;
  color: #fff;
}

.history-modal__summary p {
  margin: 0;
  font-size: 1.5rem;
  line-height: 2;
  text-align: left;
}

/* =========================================================
   Comment Slider
========================================================= */
.history-modal__comment {
  position: relative;
  margin-top: 34px;
}

.history-modal__comment-title {
  margin-bottom: 18px;
  color: #1599b7;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 400;
  text-align: center;
}

/* slick */
.history-comment-slider .slick-track {
  display: flex;
}

.history-comment-slider .slick-slide {
  height: auto;
}

.history-comment-slider .slick-slide > div {
  height: 100%;
}

/* Card */
.history-modal__comment-card {
  height: 100%;
  background: #f7f7f7;
  border-radius: 20px;
  overflow: hidden;
}

.history-modal__comment-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
  background: #1f9ebf;
  color: #fff;
}

.history-modal__comment-head-2 {
  background: #19b1a9;
}

.history-modal__comment-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.history-modal__comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.history-modal__comment-name {
  margin: 0;
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 400;
  line-height: 1.2;
  text-align: left;
}

.history-modal__comment-name span {
  font-size: 70%;
}

.history-modal__comment-body {
  padding: 24px;
  text-align: left;
}

.history-modal__comment-body p {
  font-size: 1.4rem;
  line-height: 2;
}

.history-modal__comment-body p span {
  font-size: 10px;
}

.history-modal__comment-body p a {
  color: cornflowerblue;
  text-decoration: underline;
}

.history-modal__comment-body p + p {
  margin-top: 1.2em;
}

/* =========================================================
   Arrow
========================================================= */
.history-modal__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 18px;
  height: 18px;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform: translateY(-50%);
  padding: 0;
}

.history-modal__arrow::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-top: 2px solid #111;
  border-right: 2px solid #111;
  margin: auto;
}

.history-modal__arrow--prev {
  left: -28px;
}

.history-modal__arrow--prev::before {
  transform: rotate(-135deg);
}

.history-modal__arrow--next {
  right: -28px;
}

.history-modal__arrow--next::before {
  transform: rotate(45deg);
}

.history-modal__arrow:hover {
  opacity: 0.65;
}

/* =========================================================
   Dots
========================================================= */
.history-modal__comment .slick-dots {
  position: static;
  margin-top: 18px;
  display: flex !important;
  justify-content: center;
  gap: 10px;
}

.history-modal__comment .slick-dots li {
  margin: 0;
}

.history-modal__comment .slick-dots li button {
  width: 8px;
  height: 8px;
  padding: 0;
}

.history-modal__comment .slick-dots li button::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cfcfcf;
  opacity: 1;
  font-size: 0;
}

.history-modal__comment .slick-dots li.slick-active button::before {
  background: #15b7b1;
}

/* =========================================================
   Body Lock
========================================================= */
body.is-modal-open {
  overflow: hidden;
}

/* =========================================================
   SP
========================================================= */
@media screen and (max-width: 767px) {
  .history-modal__dialog {
    width: 100%;
    height: 93vh;
    margin: 0 auto;
    border-radius: 20px;
  }

  .history-modal__inner {
    padding: 44px 18px 24px;
  }

  .history-modal__close {
    top: 1.5%;
    right: 1%;
    width: 40px;
    height: 40px;
  }

  .history-modal__head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .history-modal__head-image {
    max-width: 180px;
    margin: 0 auto;
  }

  .history-modal__head-body {
    text-align: center;
  }

  .history-modal__summary {
    margin-top: 24px;
    padding: 16px;
  }

  .history-modal__summary p,
  .history-modal__comment-body p {
    font-size: 1.3rem;
    line-height: 1.9;
  }

  .history-modal__comment {
    margin-top: 24px;
  }

  .history-modal__comment-head {
    padding: 12px 16px;
  }

  .history-modal__comment-avatar {
    width: 42px;
    height: 42px;
  }

  .history-modal__comment-name {
    font-size: 2rem;
  }

  .history-modal__comment-body {
    padding: 18px 16px;
  }

  .history-modal__arrow--prev {
    left: -4px;
  }

  .history-modal__arrow--next {
    right: -4px;
  }

  .history-modal__comment .slick-dots {
    margin-top: 14px;
    gap: 8px;
  }
  .history-modal .mfp-container {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .history-modal__dialog {
    width: 100%;
    height: auto;
    max-height: calc(100dvh - 64px);
    margin: 0;
    overflow-y: auto;
    border-radius: 20px;
    -webkit-overflow-scrolling: touch;
  }

  .history-modal__inner {
    padding: 44px 18px 24px;
  }
}

/* =========================================================
   クイズ
========================================================= */

.thc-quiz-container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.thc-quiz-section {
  padding: 100px 0;
  background: #099790;
  color: #fff;
}

.thc-quiz-section__heading {
  margin-bottom: 28px;
}

.thc-quiz-section__lead {
  margin: 0 auto 44px;
  max-width: 760px;
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
  font-size: 22px;
  line-height: 2;
}

.thc-quiz {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.thc-quiz__screen {
  display: none;
}

.thc-quiz__screen.is-active {
  display: block;
}

.thc-quiz__opening {
  text-align: center;
}

.thc-quiz__opening-card {
  max-width: 940px;
  margin: 0 auto;
  background: #f2f2f2;
  color: #18b3af;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
  padding: 72px 40px 64px;
}

.thc-quiz__opening-copy {
  margin: 0 0 18px;
  font-size: clamp(18px, 2vw, 26px);
  letter-spacing: 0.08em;
  font-weight: 500;
}

.thc-quiz__opening-logo {
  margin-bottom: 34px;
  width: 100%;
}

.thc-quiz__opening-logo img {
  max-width: 350px;
  padding: 0 20px;
  margin: auto;
}

.thc-quiz__opening-logo-main {
  display: block;
  font-size: clamp(44px, 8vw, 78px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.thc-quiz__opening-logo-sub {
  display: block;
  margin-top: 10px;
  font-size: clamp(18px, 3vw, 32px);
  letter-spacing: 0.18em;
  font-weight: 600;
}

.thc-quiz__opening-title {
  margin: 0;
  font-size: clamp(26px, 6vw, 48px);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: 2px;
}

.thc-quiz__opening-text {
  margin: 30px 0 0;
  font-size: clamp(18px, 2.6vw, 30px);
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 2px;
}

.thc-quiz__opening-btn-wrap {
  margin-top: 14px;
}

.thc-quiz__btn {
  border: none;
  cursor: pointer;
  transition: 0.25s ease;
}

.thc-quiz__btn:hover {
  transform: translateY(-2px);
}

.thc-quiz__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.thc-quiz__btn--start {
  min-width: 460px;
  max-width: 100%;
  padding: 10px 30px;
  border-radius: 100px;
  background: #efe861;
  color: #1d9e9b;
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  letter-spacing: 2px;
}

.thc-quiz__shell {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  align-items: start;
}

.thc-quiz__side {
  position: sticky;
  top: 24px;
}

.thc-quiz__side-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  padding: 22px 18px;
  backdrop-filter: blur(10px);
}

.thc-quiz__side-title {
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.thc-quiz__count {
  margin: 0 0 12px;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
}

.thc-quiz__count small {
  font-size: 16px;
  font-weight: 700;
  opacity: 0.82;
}

.thc-quiz__progress-track {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  overflow: hidden;
}

.thc-quiz__progress-bar {
  width: 0;
  height: 100%;
  background: #fff;
  border-radius: 999px;
  transition: width 0.3s ease;
}

.thc-quiz__main-card,
.thc-quiz__result-card {
  background: #fff;
  color: #223434;
  border-radius: 10px;
  padding: 34px 30px 30px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.thc-quiz__qno {
  margin: 0 0 12px;
  color: #18a8a4;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.thc-quiz__question {
  margin: 0;
  font-size: clamp(16px, 2.4vw, 24px);
  line-height: 1.6;
  font-weight: 600;
  color: #173434;
}

.thc-quiz__choices {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.thc-quiz__choice {
  position: relative;
}

.thc-quiz__choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.thc-quiz__choice-label {
  display: block;
  width: 100%;
  padding: 18px 20px;
  border: 2px solid #d7eceb;
  border-radius: 10px;
  background: #f9fdfd;
  color: #244040;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
  cursor: pointer;
  transition: 0.25s ease;
}

.thc-quiz__choice-label:hover {
  border-color: #8bd6d2;
  transform: translateY(-1px);
}

.thc-quiz__choice input:checked + .thc-quiz__choice-label {
  border-color: #18b3af;
  background: #eaf9f8;
  box-shadow: 0 8px 18px rgba(24, 179, 175, 0.12);
}

.thc-quiz__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
}

.thc-quiz__hint {
  margin: 0;
  font-size: 14px;
  color: #5b7575;
}

.thc-quiz__nav {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.thc-quiz__btn--nav {
  min-width: 150px;
  padding: 14px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
}

.thc-quiz__btn--prev,
.thc-quiz__btn--restart {
  background: #eef7f7;
  color: #18a8a4;
}

.thc-quiz__btn--next,
.thc-quiz__btn--retry {
  background: #18b3af;
  color: #fff;
}

.thc-quiz__result-head {
  text-align: center;
  margin-bottom: 20px;
}

.thc-quiz__result-label {
  margin: 0 0 8px;
  color: #18a8a4;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.thc-quiz__result-title {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.3;
  font-weight: 800;
  color: #173434;
}

.thc-quiz__score {
  margin: 0;
  text-align: center;
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 700;
  color: #18a8a4;
}

.thc-quiz__rank {
  margin: 14px 0 0;
  text-align: center;
  font-size: clamp(22px, 2.8vw, 44px);
  font-weight: 800;
  line-height: 1.4;
  color: #173434;
}

.thc-quiz__message {
  margin: 10px 0 0;
  text-align: center;
  font-size: 16px;
  line-height: 1.9;
  color: #4c6666;
}

.thc-quiz__result-body {
  margin-top: 30px;
  padding: 22px;
  border-radius: 10px;
  background: #f7fbfb;
}

.thc-quiz__result-caption {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 800;
  color: #173434;
  text-align: center;
}

.thc-quiz__review-scroll {
  max-height: 520px;
  overflow: auto;
  padding-right: 8px;
}

.thc-quiz__review-list {
  display: grid;
  gap: 14px;
}

.thc-quiz__review-item {
  border: 1px solid #d8e8e7;
  border-radius: 10px;
  padding: 18px;
  background: #fbfefe;
}

.thc-quiz__review-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.thc-quiz__review-q {
  margin: 0;
  font-weight: 800;
  color: #1d3737;
  line-height: 1.8;
}

.thc-quiz__review-status {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 18px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
}

.thc-quiz__review-status.is-correct {
  background: #e4f7ea;
  color: #1f8a49;
}

.thc-quiz__review-status.is-wrong {
  background: #fff0f0;
  color: #cf4a4a;
}

.thc-quiz__review-line {
  margin: 6px 0;
  font-size: 14px;
  color: #4a6262;
  line-height: 1.8;
}

.thc-quiz__review-line strong {
  display: inline-block;
  min-width: 88px;
  margin-right: 8px;
  color: #183333;
}

.thc-quiz__review-exp {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #d8e8e7;
}

.thc-quiz__review-exp-title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 800;
  color: #18a8a4;
}

.thc-quiz__review-exp-text {
  margin: 0;
  font-size: 14px;
  color: #4f6868;
  line-height: 1.8;
}

.thc-quiz__developer-comment {
  margin-top: 14px;
  padding: 18px 26px;
  border-radius: 10px;
  background: #eefafa;
}

.thc-quiz__developer-label {
  display: inline-block;
  margin: 0 0 8px;
  padding: 4px 20px;
  border-radius: 999px;
  background: #18b3af;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.thc-quiz__developer-name {
  margin: 0 0 10px;
  color: #173434;
  font-size: 15px;
  font-weight: 800;
}

.thc-quiz__developer-text {
  margin: 0;
  color: #405f5f;
  font-size: 14px;
  line-height: 1.9;
  text-align: left;
  white-space: pre-line;
}

.thc-quiz__result-note {
  margin-top: 24px;
  padding: 20px 22px;
  border-radius: 18px;
  color: #148c89;
  font-size: 20px;
  line-height: 2.2;
  text-align: center;
  font-weight: 600;
}

.thc-quiz__result-message-box {
  margin-top: 16px;
  padding: 20px 16px;
  background: #f6f6f696;
}

.thc-quiz__result-message-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  text-align: center;
}

.thc-quiz__result-message-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
}

.thc-quiz__result-btns {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.thc-quiz__btn--retry,
.thc-quiz__btn--restart {
  padding: 15px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
}

.thc-quiz__question {
  white-space: pre-line;
}

@media screen and (max-width: 960px) {
  .thc-quiz__shell {
    grid-template-columns: 1fr;
  }

  .thc-quiz__side {
    position: static;
  }
}

@media screen and (max-width: 767px) {
  .thc-quiz__opening-logo img {
    max-width: 250px;
    padding: 0 20px;
    margin: auto;
  }
  .thc-quiz__result-note {
    margin-top: 14px;
    font-size: 15px;
    padding: 20px 0;
  }
  .thc-quiz-section {
    padding: 78px 0;
  }

  .thc-quiz-container {
    width: min(100% - 24px, 1120px);
  }

  .thc-quiz-section__lead {
    margin-bottom: 32px;
    font-size: 14px;
  }

  .thc-quiz__opening-card {
    padding: 42px 20px 38px;
    border-radius: 10px;
  }

  .thc-quiz__btn--start {
    width: 100%;
    min-width: 0;
    padding: 12px 18px;
  }

  .thc-quiz__main-card,
  .thc-quiz__result-card {
    padding: 24px 18px 22px;
  }

  .thc-quiz__bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .thc-quiz__nav {
    flex-direction: column;
  }

  .thc-quiz__btn--nav {
    width: 100%;
  }

  .thc-quiz__review-scroll {
    padding-right: 0;
  }

  .thc-quiz__review-top {
    flex-direction: column;
  }
  .thc-quiz__message {
    font-size: 13px;
  }

  .thc-quiz__result-message-title {
    font-size: 15px;
  }
  .thc-quiz__result-message-text {
    font-size: 14px;
  }
  .thc-quiz__choice-label {
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
  }
  .thc-quiz__result-body {
    padding: 22px 10px;
  }
  .thc-quiz__review-line strong {
    width: 100%;
  }
  .thc-quiz__developer-comment {
    padding: 18px 14px;
  }
}

/* プレゼントキャンペーン */

.thc-present-section {
  padding: 100px 0;
  background: #f8fdfd;
  position: relative;
  overflow: hidden;
}

.thc-present-section .section-heading__sub {
  border-top: 1px solid #08ada9;
  border-bottom: 1px solid #08ada9;
}

.thc-present-container {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
}

.thc-present-lead {
  margin: 26px auto 40px;
  text-align: center;
  font-size: 18px;
  line-height: 1.9;
  color: #244040;
}

.thc-present-banner {
  display: block;
  max-width: 760px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.1);
  transition: 0.25s ease;
}

.thc-present-banner:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
}

.thc-present-banner img {
  width: 100%;
  display: block;
}

.thc-present-note {
  margin-top: 36px;
  padding: 28px;
  background: #fff;
  border: 1px solid #dceeee;
}

.thc-present-note h3 {
  margin: 0 0 14px;
  font-size: 18px;
  color: #18b3af;
}

.thc-present-note p {
  margin: 0;
  font-size: 14px;
  line-height: 2;
  color: #4c6666;
}

.thc-present-click-note {
  margin-top: 16px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: #18b3af;
  letter-spacing: 0.04em;
}

.thc-present-click-note {
  margin-top: 18px;
  text-align: center;
  font-size: 14px;
  line-height: 1.9;
  color: #4c6666;
}

.thc-present-copy-guide {
  margin: 18px 0 12px;
  text-align: center;
  font-size: 14px;
  color: #244040;
}

.thc-present-copy-tag {
  display: block;
  margin: 0 auto;
  padding: 14px 22px;
  border: none;
  border-radius: 999px;
  background: #18b3af;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: 0.25s ease;
}

.thc-present-copy-tag:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.thc-present-copy-tag:active {
  transform: scale(0.97);
}

.thc-present-copy-result {
  min-height: 22px;
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #18b3af;
  font-weight: 700;
}

@media (max-width: 767px) {
  .thc-present-copy-tag {
    width: 100%;
    max-width: 320px;
    font-size: 14px;
  }

  .thc-present-click-note,
  .thc-present-copy-guide {
    font-size: 11px;
  }
}

@media (max-width: 767px) {
  .thc-present-click-note {
    font-size: 12px;
    margin-top: 12px;
  }
}

@media (max-width: 767px) {
  .thc-present-section {
    padding: 72px 0;
  }

  .thc-present-lead {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .thc-present-note {
    padding: 20px 16px;
  }
}

/* =========================================================
   Future
========================================================= */

.future-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0 110px;

  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.45) 0%, transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(255, 255, 255, 0.32) 0%, transparent 24%),
    radial-gradient(circle at 50% 85%, rgba(8, 173, 169, 0.1) 0%, transparent 38%),
    linear-gradient(180deg, #dff2f2 0%, #d5ebeb 42%, #cfe7e7 100%);
}

.future-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;

  background-image:
    linear-gradient(rgba(255, 255, 255, 0.7) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.7) 1px, transparent 1px);

  background-size: 48px 48px;
}

.future-section::after {
  content: "";
  position: absolute;
  inset: auto -10% -180px auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  filter: blur(60px);
  pointer-events: none;
}

.future-section {
  background-size: cover;
  animation: futureBgMove 12s ease-in-out infinite alternate;
}

@keyframes futureBgMove {
  from {
    background-position:
      0 0,
      100% 0,
      50% 100%,
      0 0;
  }
  to {
    background-position:
      8% 2%,
      92% 4%,
      48% 92%,
      0 0;
  }
}

.future-section .section-heading__sub {
  border-top: 1px solid #08ada9;
  border-bottom: 1px solid #08ada9;
}

.future-container {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
}

/* =====================
   未来カード
===================== */

.future-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 56px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(8, 173, 169, 0.2);
}

.future-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  background: #fff;
}

.future-card + .future-card {
  border-left: 1px solid #dceeee;
}

.future-card__image {
  aspect-ratio: 500 / 300;
  overflow: hidden;
}

.future-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.future-card__body {
  position: relative;
  padding: 26px 26px 30px;
}

.future-card__body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  width: 64px;
  height: 4px;
  background: #18b3af;
  transform: translateY(-50%);
}

.future-card__number {
  margin: 0 0 10px;
  color: #18b3af;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.future-card__title {
  margin: 0;
  color: #173434;
  font-size: clamp(25px, 2.6vw, 36px);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.05em;
}

/* =====================
   メッセージBOX
===================== */

.future-message {
  position: relative;
  margin-top: 44px;
  padding: 40px 0;
}

.future-message::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 50%;
  width: 1px;
  height: 36px;
  background: #18b3af;
  transform: translateX(-50%);
}

.future-profile {
  display: grid;
  grid-template-columns: 124px 1fr;
  gap: 26px;
  align-items: center;
  margin-bottom: 34px;
  padding-bottom: 30px;
  border-bottom: 1px solid #83cfcf;
}

.future-profile__image {
  width: 124px;
  overflow: hidden;
  border-radius: 10px;
}

.future-profile__image img {
  width: 100%;
  height: auto;
}

.future-profile__position {
  margin: 0 0 8px;
  color: #18b3af;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.future-profile__name {
  margin: 0;
  color: #173434;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.future-message__text {
  max-width: 820px;
  margin: 0 auto;
}

.future-message__text p {
  margin: 0;
  color: #244040;
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 500;
  line-height: 2.2;
  letter-spacing: 0.04em;
}

.future-message__text p + p {
  margin-top: 20px;
}

/* =====================
   SP
===================== */

@media screen and (max-width: 767px) {
  .future-section {
    padding: 72px 0 80px;
  }

  .future-section::before {
    top: 42px;
    font-size: 64px;
    letter-spacing: 0.02em;
  }

  .future-container {
    width: min(100% - 24px, 980px);
  }

  .future-cards {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .future-card + .future-card {
    border-left: 0;
    border-top: 1px solid #dceeee;
  }

  .future-card__body {
    padding: 22px 18px 26px;
  }

  .future-card__body::before {
    left: 18px;
    width: 52px;
  }

  .future-card__title {
    font-size: 24px;
  }

  .future-message {
    margin-top: 34px;
    padding: 32px 20px 30px;
  }

  .future-profile {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 26px;
    padding-bottom: 24px;
    text-align: center;
  }

  .future-profile__image {
    width: 104px;
    margin: 0 auto;
  }

  .future-profile__position {
    font-size: 13px;
  }

  .future-profile__name {
    font-size: 34px;
  }

  .future-message__text p {
    font-size: 14px;
    line-height: 2;
  }

  .future-message__text p + p {
    margin-top: 16px;
  }
}

.future-section {
  padding: 100px 0 110px;
  background: #d5ebeb;
}

.future-container {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
}

/* ======================
 row
====================== */

.future-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
  margin-top: 56px;
}

.future-row--reverse .future-row__image {
  order: 2;
}

.future-row--reverse .future-row__content {
  order: 1;
}

.future-row__image {
  overflow: hidden;
  border-radius: 10px;
}

.future-row__image img {
  width: 100%;
  display: block;
}

.future-row__num {
  margin: 0 0 8px;
  color: #08ada9;
  font-size: 80px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
}

.future-row__title {
  margin: 0;
  color: #173434;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.4;
}

.future-row__text {
  margin: 18px 0 0;
  color: #244040;
  font-size: 16px;
  line-height: 2;
}

/* ======================
 message
====================== */

.future-message {
  margin-top: 70px;
}

.future-profile {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 34px;
}

.future-profile img {
  width: 120px;
  border-radius: 10px;
}

.future-profile p {
  margin: 0 0 6px;
  color: #08ada9;
  font-size: 17px;
  font-weight: 700;
}

.future-profile h3 {
  margin: 0;
  color: #173434;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 700;
  line-height: 1;
}

.future-message__text {
  color: #173434;
}

.future-message__text p {
  margin: 0;
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 2.25;
  font-weight: 500;
}

.future-message__text p + p {
  margin-top: 22px;
}

/* ======================
 sp
====================== */

@media (max-width: 767px) {
  .future-section {
    padding: 74px 0 82px;
  }

  .future-row__content {
    margin-top: -20%;
  }

  .future-container {
    width: min(100% - 24px, 980px);
  }

  .future-row {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 38px;
  }

  .future-row--reverse .future-row__image,
  .future-row--reverse .future-row__content {
    order: initial;
  }

  .future-row__title {
    font-size: 28px;
  }

  .future-row__text {
    font-size: 14px;
  }

  .future-message {
    margin-top: 48px;
  }

  .future-profile {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }

  .future-profile img {
    width: 88px;
  }

  .future-profile h3 {
    font-size: 34px;
  }

  .future-message__text p {
    font-size: 14px;
    line-height: 2;
  }

  .future-message__text p + p {
    margin-top: 16px;
  }
}

/* =========================================================
   Footer
========================================================= */

.thc-footer {
  padding: 68px 0 34px;
  background: #089f9b;
  color: #fff;
}

.thc-footer__inner {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
}

.thc-footer__logo {
  text-align: center;
}

.thc-footer__logo img {
  width: min(320px, 72vw);
  margin: 0 auto;
}

.thc-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
}

.thc-footer__nav li {
  margin: 0;
}

.thc-footer__nav a {
  position: relative;
  display: inline-block;
  font-size: 14px;
  line-height: 1.8;
  transition: opacity 0.25s ease;
}

.thc-footer__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.7);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.thc-footer__nav a:hover {
  opacity: 0.85;
}

.thc-footer__nav a:hover::after {
  transform: scaleX(1);
}

.thc-footer__store {
  margin-top: 34px;
  text-align: center;
}

.thc-footer__store a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  transition: 0.25s ease;
}

.thc-footer__store a:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.thc-footer__store span {
  font-size: 14px;
  font-weight: 700;
}

.thc-footer__store img {
  width: 14px;
  height: 14px;
}

.thc-footer__copy {
  display: block;
  margin-top: 34px;
  text-align: center;
  font-size: 12px;
  line-height: 1.8;
  opacity: 0.78;
}

/* =====================
   SP
===================== */

@media screen and (max-width: 767px) {
  .thc-footer {
    padding: 54px 0 28px;
  }

  .thc-footer__logo img {
    width: min(260px, 74vw);
  }

  .thc-footer__nav {
    flex-direction: column;
    gap: 12px;
    margin-top: 34px;
  }

  .thc-footer__nav a {
    font-size: 13px;
  }

  .thc-footer__store {
    margin-top: 28px;
  }

  .thc-footer__store a {
    width: 100%;
    justify-content: center;
    padding: 13px 18px;
  }

  .thc-footer__copy {
    margin-top: 28px;
    font-size: 11px;
  }
}

/* =========================================================
   Performance Patch
   見た目を大きく変えずにSP負荷を下げる
========================================================= */

/* 画面外セクションの描画負荷を軽減 */
.message,
.greeting,
.comment,
.history,
.thc-quiz-section,
.thc-present-section,
.future-section {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

/* will-changeを常時持たせすぎない */
.js-reveal {
  will-change: auto;
}

.js-reveal:not(.is-show) {
  will-change: opacity, transform;
}

/* ローディング後の描画負荷を完全に消す */
.site-loader.is-hidden {
  display: none;
}

/* blur/filterはSPで地味に重いので軽減 */
@media screen and (max-width: 767px) {
  .hero__blur {
    filter: blur(12px);
    transform: scale(1.04);
  }

  .site-loader__logo {
    filter: none;
  }
}

/* SPでは常時ふわふわアニメを止める */
@media screen and (max-width: 767px) {
  .thc-present-banner {
    animation: none;
  }

  .greeting {
    animation: none;
    background-size: auto;
  }

  .future-section {
    animation: none;
  }
}

/* SPのコメントスライダー負荷軽減：見た目差分かなり小さめ */
@media screen and (max-width: 767px) {
  .comment-slider .slick-list {
    overflow: hidden;
  }

  .comment-slider .slick-slide {
    opacity: 1;
    transition: none;
  }

  .comment-card__link,
  .comment-slider .slick-center .comment-card__link {
    transform: none;
    transition: none;
    box-shadow: none;
  }

  .comment-card__body {
    backdrop-filter: none;
  }

  .comment-card__link:hover,
  .comment-slider .slick-center .comment-card__link {
    box-shadow: none;
  }
}

/* SPのモーダル負荷軽減 */
@media screen and (max-width: 767px) {
  .popup-content,
  .history-modal__dialog {
    box-shadow: none;
    -webkit-overflow-scrolling: touch;
  }

  .popup-close,
  .history-modal__close,
  .comment-arrow {
    box-shadow: none;
  }

  .comment-popup__image {
    border-radius: 16px;
  }

  .comment-popup__image img {
    border-radius: 14px;
  }
}

/* hover演出はSPでは不要 */
@media (hover: none) {
  .history-card__button:hover,
  .thc-present-banner:hover,
  .thc-present-copy-tag:hover,
  .thc-footer__store a:hover,
  .comment-card__link:hover {
    transform: none;
    box-shadow: none;
    opacity: 1;
  }
}

/* 端末が省電力/動き軽減設定なら全体的に止める */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* 年表モーダル：背景スクロール & Chrome UIズレ対策 */
html.is-history-modal-open,
body.is-history-modal-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body.is-history-modal-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}

@media screen and (max-width: 767px) {
  .history-modal {
    height: 100svh;
    overscroll-behavior: contain;
  }

  .history-modal .mfp-container {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100svh;
    min-height: 100svh;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .history-modal__dialog {
    width: 100%;
    height: auto;
    max-height: calc(100svh - 64px);
    margin: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
}

/* hoverできる端末だけhover演出 */
@media (hover: hover) and (pointer: fine) {
  .history-card__button:hover {
    opacity: 0.92;
    transform: translateY(-2px);
  }
}

/* タッチ端末ではhover無効 */
@media (hover: none) {
  .history-card__button:hover {
    opacity: 1;
    transform: none;
  }
}
