@charset "utf-8";
/* CSS Document */
/* ========================================
   Base & Variables
======================================== */
:root {
  /* 色 */
  --color-main: #18b7cd;
  --color-text: #000;
  --color-white: #fff;

  /* フォント */
  --font-mincho:
    "NotoSerifJP-Local", "Hiragino Mincho ProN", "YuMincho", "Yu Mincho",
    "HiraMinProN-W3", "MS PMincho", "MS Mincho", serif;
  --font-gothic:
    "NotoSansJP-Local", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", "Meiryo", "MS PGothic", sans-serif;

  /* 横幅 */
  --container-width: 980px;

  /* 角丸 */
  --radius-sm: 5px;
  --radius-md: 10px;
  --radius-lg: 20px;

  /* アニメーションの速さ */
  --transition-default: all 0.6s ease;
  --transition-fast: all 0.4s ease;

  /* 重なり順 */
  --z-header: 99;
  --z-menubtn: 100;
  --z-modal: 9999;
}

/* ==========================================
   1. フォント定義
   ========================================== */
/* Noto Serif JP - Light (300) */
@font-face {
  font-family: "NotoSerifJP-Local";
  src: url("../fonts/NotoSerifJP-Light.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}

/* Noto Serif JP - Regular (400) */
@font-face {
  font-family: "NotoSerifJP-Local";
  src: url("../fonts/NotoSerifJP-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

/* Noto Serif JP - Medium (500) */
@font-face {
  font-family: "NotoSerifJP-Local";
  src: url("../fonts/NotoSerifJP-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

/* Noto Serif JP - Black (900) */
@font-face {
  font-family: "NotoSerifJP-Local";
  src: url("../fonts/NotoSerifJP-Black.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}

/* Noto Sans JP - Light (300) */
@font-face {
  font-family: "NotoSansJP-Local";
  src: url("../fonts/NotoSansJP-Light.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}

/* Noto Sans JP - Regular (400) */
@font-face {
  font-family: "NotoSansJP-Local";
  src: url("../fonts/NotoSansJP-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

/* Noto Sans JP - SemiBold (600) */
@font-face {
  font-family: "NotoSansJP-Local";
  src: url("../fonts/NotoSansJP-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

/* ==========================================
   2. サイト全体のベース設定
   ========================================== */
body {
  font-family: var(--font-mincho);
  font-weight: 300;
  color: var(--color-text);
  background-color: #fff;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.05em;
}

a img {
  transition: var(--transition-fast);
  display: block;
}

a img:hover,
a:hover img {
  opacity: 0.7;
}

.header-logo a:hover img,
.footer-logo a:hover img {
  opacity: 1;
}

/* ページ内リンク */
section[id],
div[id] {
  scroll-margin-top: 130px;
}

/* 横スクロール（はみ出し）防止 */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.modal-overlay,
.section-full {
  width: 100%;
}

/* ==========================================
   3. ゴシック体の指定
   ========================================== */
p,
.text-gothic {
  font-family: var(--font-gothic);
  font-weight: 300;
}

/* ========================================
   Layout & Utility
======================================== */
.inner {
  width: min(100% - 40px, var(--container-width));
  margin-inline: auto;
  margin-bottom: 150px;
}

.pc-only {
  display: block;
}

.sp-only {
  display: none;
}

/* 共通見出し */
.heading-box {
  display: flex;
  flex-flow: column;
  line-height: 1.6;
  margin: 0 0 50px 0;
}

.heading-en {
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 0.1em;
  position: relative;
}

.heading-jp {
  font-size: 20px;
  font-weight: 300;
  color: var(--color-main);
  letter-spacing: 0.1em;
}

/* 左側のライン装飾 */
.heading-en::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 100%;
  margin-right: 20px;
  width: 100px;
  height: 1.5px;
  background-color: var(--color-main);
}

/* ベースとなる矢印アイコン共通設定 */
.icon-arrow {
  position: relative;
}

.icon-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 13px;
  height: 15px;
  transform: translateY(-50%);
  background-color: var(--color-main);
  -webkit-mask: url("../images/icon-arrow.svg") no-repeat center / contain;
  mask: url("../images/icon-arrow.svg") no-repeat center / contain;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}

/* --- パターン別バリエーション --- */
/* 白色の矢印 */
.icon-arrow.is-white::after {
  background-color: var(--color-white);
  right: 5%;
}
.icon-arrow.is-white:hover:after {
  background-color: var(--color-text);
}

/* 黒色の矢印 */
.icon-arrow.is-black::after {
  background-color: var(--color-text);
}

/* 角度変更 */
/* 下矢印 */
.icon-arrow.is-down::after {
  transform: translateY(-50%) rotate(90deg);
  width: 11px;
  height: 13px;
  right: 10%;
}

/* 左矢印 */
.icon-arrow.is-left::after {
  transform: translateY(-50%) rotate(180deg);
  left: 10%;
}

/* ホバー時 */
/* --- 右向き（標準）のホバー時：右に3px動かす --- */
.icon-arrow:not(.is-down, .is-left):hover::after {
  transform: translateY(-50%) translateX(3px);
}

/* --- 下向き矢印（ホバー時：下に3px動かす） --- */
.icon-arrow.is-down:hover::after {
  transform: translateY(calc(-50% + 3px)) rotate(90deg);
  background-color: #fff;
}

.icon-arrow.is-left:hover::after {
  transform: translateY(-50%) translateX(-3px) rotate(180deg);
  background-color: #fff;
}

/* 区切り線（100%） */
.line-lg {
  width: 100%;
  height: 1px;
  background-color: #a0a0a0;
  border: none;
  margin: 30px auto;
}

/* 区切り線（150px） */
.line-md {
  width: 156px;
  height: 1px;
  background-color: var(--color-white);
  border: none;
}

/* 区切り線（50px） */
.line-sm {
  width: 50px;
  height: 1px;
  background-color: var(--color-main);
  border: none;
  margin: 0 auto;
}

/* ========================================
   Media Query (横幅768px以下)
======================================== */
@media (max-width: 768px) {
  body,
  #wrapper {
    overflow-x: hidden;
  }
  .pc-only {
    display: none;
  }
  .sp-only {
    display: block;
  }
  .inner {
    width: min(100% - 32px, var(--container-width));
  }
  .heading-en {
    font-size: 32px;
    line-height: 1.6;
  }
  .heading-jp {
    font-size: 16px;
    line-height: 1.6;
  }
  .heading-en::before {
    display: none;
  }
}
