@charset "UTF-8";

/* ========================================
CSS変数
======================================== */
:root {
  /* カラー */
  --color-accent: #326ace;
  --color-accent-light: #1d8fe1;
  --color-text-dark: #333333;
  --color-white: #ffffff;
  --color-danger: #ec0c0c;

  /* グラデーション */
  --color-gradient-bg: linear-gradient(to right, #f5f7fa 0%, #e3eeff 100%);
  --color-gradient-bg-vertical: linear-gradient(
    to bottom,
    #f5f7fa 0%,
    #e3eeff 100%
  );
  --color-gradient-accent: linear-gradient(to right, #1d8fe1 0%, #326ace 100%);
  --color-gradient-light: linear-gradient(to right, #ebf2f8 0%, #bfe0ed 100%);

  /* シャドウ */
  --box-shadow: 0 0 50px 0 rgba(29, 143, 225, 0.3);

  /* フォントファミリー */
  --font-main: "Noto Sans JP", sans-serif;
  --font-title: "Zen Maru Gothic", sans-serif;
  --font-en: "Montserrat", sans-serif;

  /* フォントサイズ */
  --fz-xxl: 80px;
  --fz-xl: 36px;
  --fz-lg: 26px;
  --fz-md: 20px;
  --fz-base: 16px;
  --fz-sm: 14px;

  /* 見出し用サイズ（上記変数を参照） */
  --fz-h2-ja: var(--fz-xl); /* h2日本語 */
  --fz-h2-en: var(--fz-xxl); /* h2英語 */
  --fz-h3: var(--fz-lg);
  --fz-h4: var(--fz-md);

  /* 通常テキスト用サイズ */
  --fz-text-main: var(--fz-base); /* 本文 */
  --fz-text-caption: var(--fz-sm); /* キャプション・注釈 */

  /* 見出し用line-height・letter-spacing */
  --lh-h2-ja: 1.4; /* 例: 36px→50.4px */
  --lh-h2-en: 1; /* 例: 80px→80px */
  --lh-h3: 1.4;
  --lh-h4: 1.4;
  --ls-h2-ja: 0;
  --ls-h2-en: 0.1em;
  --ls-h3: 0.1em;
  --ls-h4: 0.05em;

  /* 通常テキスト用line-height・letter-spacing */
  --lh-text-main: 2; /* 16px→32px */
  --lh-text-caption: 1.5;
  --ls-text-main: 0.1em;
  --ls-text-caption: 0.05em;

  /* レイアウト */
  --header-height-pc: 100px;
  --header-height-sp: 60px;
  --inner-width: 1100px;

  /* ブレークポイント */
  --breakpoint-sm: 600px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1000px;

  /* 見出し下のマージン */
  --h2-title-margin-pc: 60px;
  --h2-title-margin-sp: 40px;
  --h3-title-margin-pc: 24px;
  --h3-title-margin-sp: 20px;
  --h4-title-margin-pc: 16px;
  --h4-title-margin-sp: 12px;
}

/* ========================================
レスポンシブ対応
======================================== */
@media (max-width: 768px) {
  :root {
    --fz-xxl: calc(80px * 0.6);
    --fz-xl: calc(36px * 0.8);
    --fz-lg: calc(26px * 0.8);
    /* --fz-md, --fz-base, --fz-smはそのまま */
  }
}

/* ========================================
ベーススタイル
======================================== */
html,
body {
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  font-size: var(--fz-text-main);
  line-height: var(--lh-text-main);
  letter-spacing: var(--ls-text-main);
  color: var(--color-text-dark);
}

/* ========================================
見出しスタイル
======================================== */
.page-title,
h2,
.h2-jap {
  font-family: var(--font-title);
  font-size: var(--fz-h2-ja);
  line-height: var(--lh-h2-ja);
  letter-spacing: var(--ls-h2-ja);
  font-weight: 700;
}

.page-title {
  background: linear-gradient(to right, #1d8fe1, #326ace);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.h2-en {
  font-family: var(--font-en);
  font-size: var(--fz-h2-en);
  line-height: var(--lh-h2-en);
  background: linear-gradient(to right, #1d8fe1, #326ace);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 400;
  text-transform: uppercase;
}

h3 {
  font-family: var(--font-title);
  font-size: var(--fz-h3);
  line-height: var(--lh-h3);
  letter-spacing: var(--ls-h3);
  font-weight: 700;
  position: relative;
  width: fit-content;
}

h3::after {
  content: "";
  display: block;
  height: 4px;
  width: 100%;
  margin-top: 4px;
  background: var(--color-gradient-accent);
  border-radius: 2px;
}

h4 {
  font-size: var(--fz-h4);
  line-height: var(--lh-h4);
  letter-spacing: var(--ls-h4);
  font-weight: 700;
  color: var(--color-accent-light);
}

/* ========================================
見出し用マージンクラス
======================================== */
.page-title,
.h2-title {
  margin-bottom: var(--h2-title-margin-pc);
}

.h3-title {
  margin-bottom: var(--h3-title-margin-pc);
}

@media (max-width: 768px) {
  .page-title,
  .h2-title {
    margin-bottom: var(--h2-title-margin-sp);
  }

  .h3-title {
    margin-bottom: var(--h3-title-margin-sp);
  }
}

/* ========================================
レイアウト用クラス
======================================== */
.section-outer {
  padding-block: 80px;
}

.section-inner {
  width: min(100%, var(--inner-width));
  margin-inline: auto;
  padding-inline: 16px;
  box-sizing: border-box;
}

.section-block {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

@media (max-width: 768px) {
  .section-outer {
    padding-block: 60px;
  }

  .section-block {
    gap: 40px;
  }
}

/* ========================================
ユーティリティクラス
======================================== */
/* フォントサイズ */
.fz-text-caption {
  font-size: var(--fz-text-caption);
  line-height: var(--lh-text-caption);
  letter-spacing: var(--ls-text-caption);
}

/* フォントウェイト */
.fw-700 {
  font-weight: 700;
}

/* 色 */
.red {
  color: var(--color-danger);
}

/* マージン */
.mt-8 {
  margin-top: 8px;
}

/* 強調 */
.text-large {
  font-size: calc(var(--fz-base) * 1.3);
}

/* ========================================
インタラクション
======================================== */
a:hover {
  cursor: pointer;
}

/* ========================================
header
======================================== */
.header {
  width: 100vw;
  height: var(--header-height-pc);
  background: var(--color-gradient-bg);
  display: flex;
  align-items: center;
}
@media (max-width: 768px) {
  .header {
    height: var(--header-height-sp);
  }
}
.header__container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 16px;
}
.header__logo {
  max-width: 300px;
}
.header__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 1000px) {
  .header__right .tel {
    display: none;
  }
}
@media (max-width: 768px) {
  .header__right .cta {
    display: none;
  }
}

/* ========================================
footer
======================================== */
.footer {
  height: 60px;
  background: linear-gradient(to right, #1d8fe1, #326ace);
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer__copyright {
  color: var(--color-white);
  text-align: center;
}

/* ========================================
cta parts
======================================== */
.tel {
  height: 70px;
  padding-inline: 12px;
  position: relative;
  border-radius: 10px;
  z-index: 1;
  display: flex;
  align-items: center;
  background: var(--color-white);
}
.tel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px; /* ボーダーの太さ */
  background: var(--color-gradient-accent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}
.tel-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.tel-link:hover,
.tel-link:focus {
  opacity: 0.7;
}
.tel-icon {
  width: 30px;
  height: 30px;
}
.tel-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1;
  background: var(--color-gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tel-label {
  font-size: var(--fz-text-caption);
  font-weight: 700;
}
.tel-number {
  font-size: var(--fz-md);
  font-weight: 700;
  letter-spacing: 0.1em;
}
.tel-time {
  font-size: var(--fz-text-caption);
  letter-spacing: 0;
}

/* ======================================== */
.button {
  background: var(--color-gradient-accent);
  border-radius: 10px;
  height: 70px;
  color: var(--color-white);
  display: flex;
}
.button-link {
  display: flex;
  width: 100%;
  padding-inline: 12px;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}
.cta-img {
  width: 102px;
  height: 58px;
}
@media (max-width: 768px) {
  .cta-img {
    transform: scale(0.8);
    transform-origin: center;
  }
}
.button-label,
.button-title,
.cta-label,
.cta-title {
  display: block;
  font-family: var(--font-title);
  color: var(--color-white);
  font-weight: 700;
}
.cta-label {
  letter-spacing: 0.4em;
  line-height: calc(var(--fz-base) * 1.1);
  text-align: center;
}
.button-title,
.cta-title {
  margin-top: 4px;
  font-size: var(--fz-md);
  letter-spacing: 0;
  line-height: 1.1;
  text-align: center;
}
.button-arrow,
.cta-arrow {
  width: 20px;
  height: 20px;
  margin-left: 8px;
}
.button-link:hover,
.button-link:focus,
.cta-link:hover,
.cta-link:focus {
  opacity: 0.7;
}

/* ------------------------------ */
/* scroll animation */
/* ------------------------------ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.is-active {
  opacity: 1;
  transform: translateY(0);
}
