@charset "UTF-8";

/* ==========================================================================
   Design Tokens
   ========================================================================== */
:root {
  interpolate-size: allow-keywords;

  /* color */
  --color-primary: #004fa3;
  --color-primary-dark: #003c7c;
  --color-text: #232323;
  --color-navy: #1f2a44;
  --color-slate: #33405e;
  --color-ink: #46506b;
  --color-red: #dd3333;
  --color-border: #c7ccd8;
  --color-border-strong: #9098ab;
  --color-placeholder: #9098ab;
  --color-bg-cell: #f4f6fa;
  --color-bg-page: #f2fdff;
  --color-card-border: #93c7ff;
  --color-white: #fff;
  --color-gold: #b99e33;
  --color-btn-dot: #eace5c;
  --color-btn-dot-gold: #f9e07d;
  --color-coral: #e54444;
  --color-green: #019c89;
  --color-orange: #f97b0c;
  --color-bg-answer: #e1effe;

  /* gradient */
  --grad-line: linear-gradient(90deg, #00b67f, #005fc3);
  --grad-band-green: linear-gradient(90deg, #019c89, #026f60);
  --grad-band-blue: linear-gradient(90deg, #004fa3, #003771);
  --grad-panel-green: linear-gradient(270deg, #51b5a9, #2ba394);
  --grad-panel-blue: linear-gradient(90deg, #5392d2, #1c68ba);

  /* font family */
  --font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-en: "Poppins", "Noto Sans JP", sans-serif;

  /* font size (1rem = 16px) */
  --fs-10: 0.625rem;
  --fs-12: 0.75rem;
  --fs-13: 0.8125rem;
  --fs-14: 0.875rem;
  --fs-15: 0.9375rem;
  --fs-16: 1rem;
  --fs-17: 1.0625rem;
  --fs-18: 1.125rem;
  --fs-19: 1.1875rem;
  --fs-20: 1.25rem;
  --fs-21: 1.3125rem;
  --fs-22: 1.375rem;
  --fs-24: 1.5rem;
  --fs-25: 1.5625rem;
  --fs-26: 1.625rem;
  --fs-27: 1.6875rem;
  --fs-28: 1.75rem;
  --fs-29: 1.8125rem;
  --fs-30: 1.875rem;
  --fs-32: 2rem;
  --fs-33: 2.0625rem;
  --fs-34: 2.125rem;
  --fs-35: 2.1875rem;
  --fs-36: 2.25rem;
  --fs-39: 2.4375rem;
  --fs-40: 2.5rem;
  --fs-44: 2.75rem;
  --fs-46: 2.875rem;
  --fs-56: 3.5rem;
  --fs-57: 3.5625rem;
  --fs-100: 6.25rem;

  /* spacing */
  --space-section-sm: 48px;
  --space-section-md: 80px;
  --space-section-lg: 100px;

  --header-height: clamp(64px, 5.5vw, 95px);
}

@media (max-width: 1280px) {
  :root {
    --header-height: 64px;
  }
}

html {
  scroll-padding-top: calc(var(--header-height) + 8px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

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

body,
h1,
h2,
h3,
h4,
h5,
p,
figure,
ul,
ol,
dl,
dd {
  margin: 0;
}

body {
  font-family: var(--font-base);
  font-size: var(--fs-16);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-text-size-adjust: 100%;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

fieldset {
  margin: 0;
  padding: 0;
  border: none;
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.l-inner {
  width: clamp(1000px, 79.4vw, 1372px);
  margin-inline: auto;
}

.l-inner--small {
  width: clamp(900px, 71.2vw, 1230px);
}

.l-inner--large {
  width: clamp(1000px, 84.3vw, 1456px);
}

@media (max-width: 1024px) {
  .l-inner {
    width: clamp(520px, 92vw, 944px);
  }

  .l-inner--small {
    width: clamp(520px, 92vw, 944px);
  }

  .l-inner--large {
    width: clamp(520px, 92vw, 944px);
  }
}

@media (max-width: 767px) {
  .l-inner {
    width: calc(100% - 30px);
  }

  .l-inner--small {
    width: calc(100% - 30px);
  }

  .l-inner--large {
    width: calc(100% - 30px);
  }
}

/* ==========================================================================
   Header
   ========================================================================== */
.l-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-white);
}

.header {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.39vw, 24px);
  height: var(--header-height);
  padding-inline: clamp(10px, 0.81vw, 14px) clamp(14px, 1.62vw, 28px);
}

.header__logo {
  flex-shrink: 0;
}

.header__logo a {
  display: block;
  transition: opacity 0.3s;
}

.header__logo a:hover {
  opacity: 0.7;
}

.header__logo img {
  width: clamp(176px, 18.29vw, 316px);
}

.header__nav {
  margin-inline: auto;
}

.header__navList {
  display: flex;
  gap: clamp(12px, 1.74vw, 30px);
}

.header__navLink {
  display: block;
  padding-block: 8px;
  font-size: clamp(var(--fs-12), 0.93vw, var(--fs-16));
  font-weight: 500;
  transition: color 0.3s;
}

.header__navLink:hover {
  color: var(--color-primary);
}

.header__info {
  flex-shrink: 0;
  text-align: left;
}

.header__tel {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-en);
  font-size: clamp(var(--fs-18), 1.74vw, var(--fs-30));
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.header__tel::before {
  content: "";
  width: clamp(15px, 1.22vw, 21px);
  height: clamp(20px, 1.62vw, 28px);
  background-color: var(--color-text);
  mask: url(../img/common/tel.svg) no-repeat center / contain;
  -webkit-mask: url(../img/common/tel.svg) no-repeat center / contain;
}

.header__hours {
  font-size: clamp(11px, 0.87vw, 15px);
  white-space: nowrap;
}

.header__cta {
  flex-shrink: 0;
}

.header > .header__cta {
  min-width: 0;
  min-height: clamp(40px, 3.3vw, 57px);
  padding: 8px clamp(28px, 2.78vw, 48px) 8px clamp(16px, 1.85vw, 32px);
  font-size: clamp(var(--fs-12), 1.04vw, var(--fs-18));
}

.header > .header__cta::after {
  right: clamp(12px, 1.39vw, 24px);
}

.header__toggle {
  display: none;
}

.header__drawerInfo {
  display: none;
}

@media (max-width: 1280px) {
  .header__info {
    display: none;
  }
}

/* ヘッダーのみ1280pxでSP表示へ切替 */
@media (max-width: 1280px) {
  .header {
    justify-content: space-between;
    padding-inline: 16px;
  }

  .header__logo img {
    width: 220px;
  }

  .header > .header__cta {
    display: none;
  }

  /* SPナビは全面ドロワー化。開閉はJS（.js-header）で is-open を付与 */
  .header__nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    margin-inline: 0;
    padding: 48px 28px 40px;
    background:
      linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)),
      var(--color-white) url(../img/common/bg_menu.jpg) no-repeat center top / cover;
    overflow-y: auto;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.3s, visibility 0.3s;
  }

  .l-header.is-open .header__nav {
    visibility: visible;
    transform: translateX(0);
  }

  .header__navList {
    flex-direction: column;
    gap: 5px;
    max-width: 283.5px;
    margin-inline: auto;
  }

  .header__navLink {
    position: relative;
    padding-block: 12px;
    border-bottom: 1px solid rgba(0, 79, 163, 0.3);
    font-size: var(--fs-16);
  }

  /* 行右端の青丸 */
  .header__navLink::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 9px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--color-primary);
    transform: translateY(-50%);
  }

  .header__drawerInfo {
    display: block;
    margin-top: 36px;
    text-align: center;
  }

  .header__drawerInfo .c-button {
    display: flex;
    width: min(287px, 100%);
    margin-inline: auto;
    font-size: var(--fs-15);
  }

  .header__drawerInfo .c-button + .c-button {
    margin-top: 23px;
  }

  .header__drawerInfo .header__tel {
    margin-top: 35px;
    font-size: var(--fs-30);
  }

  .header__drawerInfo .header__tel::before {
    width: 21px;
    height: 28px;
  }

  .header__drawerInfo .header__hours {
    margin-top: 10px;
    font-size: var(--fs-15);
  }

  .header__toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 48px;
    height: 48px;
  }

  .header__toggleBar {
    width: 26px;
    height: 2px;
    background-color: var(--color-primary);
    transition: transform 0.3s, opacity 0.3s;
  }

  .l-header.is-open .header__toggleBar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .l-header.is-open .header__toggleBar:nth-child(2) {
    opacity: 0;
  }

  .l-header.is-open .header__toggleBar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

/* ==========================================================================
   Page Head（下層ページ共通タイトル）
   ========================================================================== */
.l-pageHead {
  padding-top: clamp(56px, 6vw, 104px);
}

.pageHead__heading {
  text-align: center;
}

.pageHead__ja {
  font-size: clamp(var(--fs-28), 2.7vw, var(--fs-46));
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.2;
  color: var(--color-primary);
}

.pageHead__en {
  margin-top: 18px;
  font-family: var(--font-en);
  font-size: clamp(var(--fs-14), 1.2vw, var(--fs-20));
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.l-footer {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-block: 47px 0;
}

.footer__logo a {
  display: block;
  transition: opacity 0.3s;
}

.footer__logo a:hover {
  opacity: 0.7;
}

.footer__logo img {
  width: 380px;
}

.footer__navArea {
  text-align: right;
}

.footer__navList {
  display: flex;
  gap: 30px;
}

.footer__navLink {
  display: block;
  padding-block: 4px;
  font-size: var(--fs-16);
  font-weight: 500;
  transition: opacity 0.3s;
}

.footer__navLink:hover {
  opacity: 0.7;
}

.footer__privacy {
  margin-top: 20px;
  text-align: left;
}

.footer__privacyLink {
  display: inline-block;
  padding-block: 4px;
  font-size: var(--fs-16);
  font-weight: 500;
  transition: opacity 0.3s;
}

.footer__privacyLink:hover {
  opacity: 0.7;
}

.footer__copyright {
  padding-block: 68px;
  font-size: var(--fs-14);
  font-weight: 500;
  text-align: center;
}

.footer__copyright small {
  font-size: inherit;
}

@media (max-width: 1024px) {
  .footer {
    flex-direction: column;
    align-items: center;
    padding-block: 40px 0;
  }

  .footer__logo img {
    width: 300px;
  }

  .footer__navArea {
    text-align: center;
  }

  .footer__navList {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 24px;
  }

  .footer__privacy {
    text-align: center;
  }

  .footer__copyright {
    padding-block: 32px;
  }
}

@media (max-width: 767px) {
  .footer {
    align-items: stretch;
    gap: 0;
    padding-block: 33px 0;
  }

  .footer__navArea {
    order: 1;
    width: 100%;
    max-width: 393px;
    margin-inline: auto;
    text-align: left;
    padding-left: 33px;
  }

  .footer__navList {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 143px));
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    justify-content: start;
    column-gap: 32px;
    row-gap: 4px;
  }

  .footer__navLink {
    padding-block: 8px;
    line-height: 1.45;
    border-bottom: none;
  }

  .footer__privacy {
    margin-top: 8px;
    text-align: left;
  }

  .footer__privacyLink {
    padding-block: 8px;
    line-height: 1.45;
  }

  .footer__logo {
    order: 2;
    margin-top: 51px;
    text-align: center;
  }

  .footer__logo a {
    display: inline-block;
  }

  .footer__logo img {
    width: 319px;
    max-width: 100%;
  }

  .footer__copyright {
    padding-block: 21px 81px;
    font-size: var(--fs-12);
  }
}

/* ==========================================================================
   Section Head
   ========================================================================== */
.sectionHead {
  text-align: center;
}

.sectionHead__ja {
  display: inline-block;
  font-size: clamp(var(--fs-28), 2.3vw, var(--fs-40));
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1.4;
  color: var(--color-primary);
}

.sectionHead__ja::after {
  content: "";
  display: block;
  width: calc(100% + 40px);
  height: 5px;
  margin: 8px 0 0 -20px;
  border-radius: 3px;
  background: var(--grad-line);
}

.sectionHead__en {
  margin-top: 10px;
  font-family: var(--font-en);
  font-size: clamp(var(--fs-14), 1.16vw, var(--fs-20));
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-text);
}

/* 濃色背景用 */
.sectionHead--white .sectionHead__ja {
  color: var(--color-white);
}

.sectionHead--white .sectionHead__en {
  color: var(--color-white);
}

/* 左寄せ（SPでは中央に戻す） */
.sectionHead--left {
  text-align: left;
}

.sectionHead--left .sectionHead__ja::after {
  width: calc(100% + 23px);
  margin-left: 0;
}

@media (max-width: 767px) {
  .sectionHead__ja {
    font-size: var(--fs-24);
  }

  .sectionHead__en {
    font-size: var(--fs-13);
  }

  .sectionHead--left {
    text-align: center;
  }

  .sectionHead--left .sectionHead__ja::after {
    width: calc(100% + 40px);
    margin-left: -20px;
  }
}

/* ==========================================================================
   Components
   ========================================================================== */

/* ボタン*/
.c-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 268px;
  min-height: 57px;
  padding: 12px 32px;
  border-radius: 100vmax;
  background-color: var(--color-primary);
  font-size: var(--fs-18);
  font-weight: 700;
  color: var(--color-white);
  text-align: center;
  transition: background-color 0.3s;
}

.c-button:hover {
  background-color: var(--color-primary-dark);
}

.c-button--arrow {
  position: relative;
  padding-right: 48px;
}

.c-button--arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-btn-dot);
  transform: translateY(-50%);
}

.c-button--ghost {
  border: 2px solid var(--color-primary);
  background-color: var(--color-white);
  color: var(--color-primary);
}

.c-button--ghost:hover {
  background-color: var(--color-bg-cell);
}

/* カラーバリエーション */
.c-button--gold {
  background-color: var(--color-gold);
}

.c-button--gold:hover {
  background-color: #9e8628;
}

.c-button--gold.c-button--arrow::after {
  background-color: var(--color-btn-dot-gold);
}

.c-button--coral {
  background-color: var(--color-coral);
}

.c-button--coral:hover {
  background-color: #cf3030;
}

.c-button--white {
  background-color: var(--color-white);
  color: var(--color-primary);
}

.c-button--white:hover {
  background-color: var(--color-bg-cell);
}

.c-button--xl {
  min-height: 103px;
  font-size: clamp(var(--fs-20), 1.75vw, var(--fs-30));
  letter-spacing: 0.03em;
}

.c-button--xl.c-button--arrow {
  padding-right: 64px;
}

.c-button--xl.c-button--arrow::after {
  right: 45px;
  width: 16px;
  height: 16px;
}

.c-button--lg {
  min-height: 93px;
  font-size: clamp(var(--fs-18), 1.56vw, var(--fs-27));
  letter-spacing: 0.03em;
}

.c-button--lg.c-button--arrow {
  padding-right: 56px;
}

.c-button--lg.c-button--arrow::after {
  right: 32px;
  width: 14px;
  height: 14px;
}

@media (max-width: 767px) {
  .c-button {
    min-width: 240px;
    min-height: 44px;
    font-size: var(--fs-15);
  }

  .c-button--xl {
    min-height: 72px;
  }

  .c-button--lg {
    min-height: 56px;
    font-size: var(--fs-18);
  }

  .header__drawerInfo .c-button {
    min-height: 52px;
  }
}

.c-tag {
  display: inline-block;
  padding: 1px 10px;
  border-radius: 2px;
  background-color: var(--color-gold);
  font-size: var(--fs-14);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-white);
}

/* 必須ラベル */
.c-required {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 5px;
  background-color: var(--color-red);
  font-size: var(--fs-13);
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-white);
}

/* ==========================================================================
   Utility
   ========================================================================== */
.u-red {
  color: var(--color-red);
}

.u-center {
  text-align: center;
}

.u-right {
  text-align: right;
}

.u-brSp {
  display: none;
}

@media (max-width: 767px) {
  .u-brPc {
    display: none;
  }

  .u-brSp {
    display: inline;
  }
}

/* スクリーンリーダー用（視覚的に非表示） */
.u-visuallyHidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

/* ==========================================================================
   Scroll Animation（表示アニメーション）
   common.js が画面内に入った要素へ .is-inview を付与して動かす。
   ========================================================================== */
.is-anim [data-anim="fade"],
.is-anim [data-anim="up"],
.is-anim [data-anim="down"],
.is-anim [data-anim="left"],
.is-anim [data-anim="right"],
.is-anim [data-anim="zoom"] {
  opacity: 0;
  transition:
    opacity 0.8s ease var(--anim-delay, 0s),
    translate 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) var(--anim-delay, 0s),
    scale 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) var(--anim-delay, 0s);
}

.is-anim [data-anim="up"] {
  translate: 0 24px;
}

.is-anim [data-anim="down"] {
  translate: 0 -24px;
}

.is-anim [data-anim="left"] {
  translate: 32px 0;
}

.is-anim [data-anim="right"] {
  translate: -32px 0;
}

.is-anim [data-anim="zoom"] {
  scale: 0.85;
}

.is-anim [data-anim].is-inview {
  opacity: 1;
  translate: none;
  scale: none;
}
