@charset "utf-8";
/* ======================================================
   デザイントークン（フォント・カラー）
====================================================== */
/*サイト*/
:root {
  /*----- フォントサイズ -----*/
  --font-xxs: clamp(0.75rem, 0.735rem + 0.06vw, 0.813rem); /* 12–13px */
  --font-xs: clamp(0.875rem, 0.86rem + 0.06vw, 0.938rem); /* 14–15px */
  --font-s: clamp(1rem, 0.985rem + 0.06vw, 1.063rem); /* 16–17px */
  --font-m: clamp(1.125rem, 1.095rem + 0.13vw, 1.25rem); /* 18–20px */
  --font-l: clamp(1.375rem, 1.284rem + 0.39vw, 1.75rem); /* 22–28px */
  --font-xl: clamp(1.75rem, 1.568rem + 0.78vw, 2.5rem); /* 28–40px */
  --font-xxl: clamp(2.25rem, 1.947rem + 1.29vw, 3.5rem); /* 36–56px */
  /* ディスプレイフォント（飾るための文字） */
  --font-xxxl: clamp(6.625rem, 1.125rem + 6.88vw, 9.375rem); /* 150px – 106px */

  /*----- ベースカラー（元色）-----*/
  --main-color: #6fb7a7; /* ブランドのメインカラー */
  --base-color: #ffffff; /* ベースカラー */
  --accent-color: #f2a6b3; /* アクセントカラー */

  /* 背景用（薄い） */
  --bg-main: color-mix(in srgb, var(--main-color) 10%, white);
  --bg-accent: color-mix(in srgb, var(--accent-color) 10%, white);
  --bg-base: var(--base-color);

  /* 初期値 */
  --page-bg: var(--bg-base);

  /*----- Main（メインカラー）-----*/
  /* 1〜4：白を混ぜた淡いトーン */
  --main-1: color-mix(in srgb, var(--main-color) 15%, white); /*  10〜19% */
  --main-2: color-mix(in srgb, var(--main-color) 25%, white); /*  20〜29% */
  --main-3: color-mix(in srgb, var(--main-color) 35%, white); /*  30〜39% */
  --main-4: color-mix(in srgb, var(--main-color) 45%, white); /*  40〜49% */
  /* 5：基準色 */
  --main-5: var(--main-color); /* zone 5: base */
  /* 6〜9：黒を混ぜた濃いトーン */
  --main-6: color-mix(in srgb, var(--main-color) 65%, black); /*  60〜69% */
  --main-7: color-mix(in srgb, var(--main-color) 75%, black); /*  70〜79% */
  --main-8: color-mix(in srgb, var(--main-color) 85%, black); /*  80〜89% */
  --main-9: color-mix(in srgb, var(--main-color) 92%, black); /*  90%〜深 */
  /*----- Base（白ベースのグレースケール）-----*/

  /*-----Accent（アクセントカラー）-----*/
  /* 1〜4：白を混ぜた淡いトーン */
  --accent-1: color-mix(in srgb, var(--accent-color) 5%, white);
  --accent-2: color-mix(in srgb, var(--accent-color) 10%, white);
  --accent-3: color-mix(in srgb, var(--accent-color) 35%, white);
  --accent-4: color-mix(in srgb, var(--accent-color) 45%, white);
  /* 5：基準色 */
  --accent-5: var(--accent-color);
  /* 6〜9：黒を混ぜた濃いトーン */
  --accent-6: color-mix(in srgb, var(--accent-color) 65%, black);
  --accent-7: color-mix(in srgb, var(--accent-color) 75%, black);
  --accent-8: color-mix(in srgb, var(--accent-color) 85%, black);
  --accent-9: color-mix(in srgb, var(--accent-color) 92%, black);

  /*----- Base（白ベースのグレースケール）-----*/
  --base-1: #fff;
  --base-2: #f7f8fb;

  /* Neutral gray scale */
  --gray-0: color-mix(in srgb, white, black 2%); /* 白98% + 黒2% */
  --gray-1: color-mix(in srgb, white, black 10%); /* 白90% + 黒10% */
  --gray-2: color-mix(in srgb, white, black 20%); /* 白80% + 黒20% */
  --gray-3: color-mix(in srgb, white, black 30%); /* 白70% + 黒30% */
  --gray-4: color-mix(in srgb, white, black 40%); /* 白60% + 黒40% */
  --gray-5: color-mix(in srgb, white, black 50%); /* 白50% + 黒50% */
  --gray-6: color-mix(in srgb, white, black 60%); /* 白40% + 黒60% */
  --gray-7: color-mix(in srgb, white, black 70%); /* 白30% + 黒70% */
  --gray-8: color-mix(in srgb, white, black 80%); /* 白20% + 黒80% */
  --gray-9: color-mix(in srgb, white, black 90%); /* 白10% + 黒90% */
  --gray-10: color-mix(in srgb, white, black 98%); /* 白2% + 黒98% */

  /*----- テキスト -----*/
  --text-main: #545b62; /* 本文：優しいチャコールグレー */
  --text-dark: #3a3f44; /* 見出し：ロゴに馴染む深い墨色 */
  --text-soft: #8e959c; /* 補足：控えめなグレー */
  --text-strong: #b00000; /* 大切・目立たせたい 暗めの赤色*/

  /*----- その他 -----*/
  --radius: 12px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
  --shadow-right: 0 18px 40px rgba(0, 0, 0, 0.1);
  --shadow-soft: 0 10px 26px rgba(0, 0, 0, 0.08);
  --border: 1px solid #c9a24d;
  --border-soft: 1px solid rgba(0, 0, 0, 0.1);
}

.bg-main {
  --page-bg: linear-gradient(180deg, var(--bg-main-soft) 0%, white 100%);
}

.bg-accent {
  --page-bg: linear-gradient(180deg, var(--bg-accent-soft) 0%, white 100%);
}

/*-----　ヘッダーの高さ -----*/
:root {
  --header-h: 100px;
}
@media (max-width: 768px) {
  :root {
    --header-h: 70px;
  }
}
@media (max-width: 375px) {
  :root {
    --header-h: 50px;
  }
}
/* ======================================================
   all（リセット／ベース）
====================================================== */
html,
body {
  overflow-x: hidden;
}
*,
::before,
::after {
  padding: 0;
  margin: 0;
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}
* {
  box-sizing: border-box;
}
ul li {
  list-style-type: none;
}
a {
  text-decoration: none;
  color: inherit;
  pointer-events: auto;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.anchor-target {
  scroll-margin-top: var(--header-h);
}
/* メニュー表示中のスクロール禁止 */
.no-scroll {
  overflow: hidden;
}
/* 電話番号リンク（PCではクリック不可）※ルールどおり801px基準 */
@media (min-width: 801px) {
  a[href^="tel:"] {
    pointer-events: none !important;
  }
}
/*--------------フォント／本文ベース----------------*/
body {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  text-align: justify;
  letter-spacing: 0.02em;
  font-optical-sizing: auto;
  font-size: var(--font-s);
  color: var(--text-main);
  line-height: 1.7;
  /* padding-top: var(--header-h); */
  overflow-x: hidden;
  background-color: #fff;
}
.bold {
  font-weight: bold;
}
/* ======================================================
  背景
====================================================== */
/* １ */
.green-1::before {
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background-color: var(--main-1);
  opacity: 0.5;
  z-index: -1;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.pink-1::before {
  bottom: -65px;
  right: 0;
  width: 66%;
  height: 60%;
  background-color: var(--accent-2);
  opacity: 0.8;
  z-index: -2;
  box-shadow: var(--shadow-right);
}
/* ２ */
.green-2::before {
  top: 43%;
  right: 0;
  width: 75%;
  height: 61%;
  /* transform: translateX(-50%); */
  background-color: var(--main-1);
  opacity: 0.6;
  z-index: -1;
  border-radius: var(--radius);
  box-shadow: var(--shadow-right);
}
.pink-2::before {
  top: 15%;
  left: 0;
  width: 37%;
  height: 61%;
  background-color: var(--accent-2);
  opacity: 0.9;
  box-shadow: var(--shadow);
  z-index: -2;
}
/* ３ */
.green-3::before {
  top: 7%;
  left: 0;
  width: 65%;
  height: 100%;
  background-color: var(--main-1);
  opacity: 0.5;
  z-index: -1;
  box-shadow: var(--shadow);
}
/* ４ */
.green-4::before {
  top: 10%;
  right: 0;
  width: 65%;
  height: 90%;
  background-color: var(--main-1);
  opacity: 0.4;
  z-index: -2;
  box-shadow: var(--shadow-right);
}

.pink-4::before {
  top: 40%;
  left: 0;
  width: 45%;
  height: 75%;
  background-color: var(--accent-3);
  opacity: 0.3;
  z-index: -2;
  box-shadow: var(--shadow);
}
/* ５ */
.pink-5::after {
  top: 10%;
  right: 0;
  width: 40%;
  height: 70%;
  background-color: var(--accent-3);
  box-shadow: var(--shadow-right);
  opacity: 0.4;
  z-index: -2;
}
/* ６ */
.green-6::before {
  top: 24%;
  left: 0;
  width: 100%;
  height: 84%;
  background-color: var(--main-1);
  opacity: 0.5;
  z-index: -1;
  box-shadow: var(--shadow);
}

/* ======================================================
  パターン
====================================================== */
[class^="ptn-box-"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
@media (max-width: 600px) {
  [class^="ptn-box-"] {
    display: none;
  }
}

/* 左 */
.ptn-1-1,
.ptn-2-1,
.ptn-3-1,
.ptn-4-1,
.ptn-5-1,
.ptn-6-1,
.ptn-7-1 {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  height: clamp(10.438rem, 3.188rem + 9.06vw, 14.063rem); /* 225-167 */
}
@media (max-width: 600px) {
  .ptn-1-1,
  .ptn-2-1,
  .ptn-3-1,
  .ptn-4-1,
  .ptn-5-1,
  .ptn-6-1,
  .ptn-7-1 {
    top: 62px;
  }
}
/* 右 */
.ptn-1-2,
.ptn-2-2,
.ptn-3-2,
.ptn-4-2,
.ptn-5-2,
.ptn-6-2,
.ptn-7-2 {
  position: absolute;
  z-index: 3;
  bottom: 0;
  right: 0;
  height: clamp(10.438rem, 3.188rem + 9.06vw, 14.063rem); /* 225-167 */
}
@media (max-width: 600px) {
  .ptn-1-2,
  .ptn-2-2,
  .ptn-3-2,
  .ptn-4-2,
  .ptn-5-2,
  .ptn-6-2,
  .ptn-7-2 {
    bottom: -91px;
  }
}
/* -----------------------------------------------------
   改行クラス（br-xxx）※デザインルール準拠
----------------------------------------------------- */
/* まず全て非表示 */
.br-pc,
.br-pc-s,
.br-pc-l,
.br-tb,
.br-tb-l,
.br-tb-m,
.br-tb-s,
.br-sp,
.br-sp-l,
.br-sp-m,
.br-sp-s {
  display: none;
}

/* -------------------------
   PC（1280px〜）※既存
------------------------- */
@media (min-width: 1280px) {
  .br-pc {
    display: inline;
  }
}

@media (min-width: 1280px) and (min-height: 801px) {
  .br-pc-l {
    display: inline;
  }
}

@media (min-width: 1280px) and (max-height: 800px) {
  .br-pc-s {
    display: inline;
  }
}

/* -------------------------
   タブレット（768〜1279px）
------------------------- */

/* TB 共通 */
@media (min-width: 768px) and (max-width: 1279px) {
  .br-tb {
    display: inline;
  }
}

/* TB-L（iPad Pro） */
@media (min-width: 1024px) and (max-width: 1279px) {
  .br-tb-l {
    display: inline;
  }
}

/* TB-M（iPad Air） */
@media (min-width: 800px) and (max-width: 1023px) {
  .br-tb-m {
    display: inline;
  }
}

/* TB-S（iPad mini） */
@media (min-width: 768px) and (max-width: 799px) {
  .br-tb-s {
    display: inline;
  }
}

/* -------------------------
スマホ（〜767px）
------------------------- */
/*SP 共通 */
@media (max-width: 767px) {
  .br-sp {
    display: inline;
  }
}

/* SP-L（大きめスマホ）*/
@media (min-width: 481px) and (max-width: 767px) {
  .br-sp-l {
    display: inline;
  }
}

/* SP-M（標準スマホ） */
@media (min-width: 376px) and (max-width: 480px) {
  .br-sp-m {
    display: inline;
  }
}

/* SP-S（小型スマホ）*/
@media (max-width: 375px) {
  .br-sp-s {
    display: inline;
  }
}

/* -----------------------------------------------------
   オーバーレイ　※上にrelativeをつけること
-----------------------------------------------------  */

/*↑＋↓*/
.overlay {
  position: absolute;
  inset: 0; /* top: 0; right: 0; bottom: 0; left: 0; を省略 */
  background: linear-gradient(
    135deg,
    rgba(0, 8, 17, 0.6),
    rgba(20, 30, 60, 0.45)
  );
}

/*上*/
.overlay-front {
  position: relative;
  z-index: 2;
}

.page-title {
  position: relative;
  overflow: hidden;
}

/* オーバーレイ */
.overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* 白50% */
.overlay-white-50 {
  background: rgba(255, 255, 255, 0.5);
}

/* 文字を前に出す */
.bg-text,
.jp-text {
  position: relative;
  z-index: 2;
}
/* ======================================================
   main
====================================================== */
/*--------------【all】----------------*/
#main {
  margin: 0 auto;
  position: relative;
  /* overflow-x: hidden; */
}
.anchor-target {
  scroll-margin-top: var(--header-h);
}
.back {
  position: relative;
}

/*--------------【セクション】----------------*/
.section {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
  /*scroll-margin-top: 70px; */ /* resアンカーリンクTOP */
}
@media (max-width: 767px) {
  .section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}
/*--------------【インナー】----------------*/
.inner {
  position: relative;
  z-index: 2;
  width: 1200px;
  margin: 0 auto;
}
/* 横幅いっぱいにしたいときだけ使う modifier */
.inner--full {
  width: 100%;
  margin-inline: 0;
  padding-inline: 0;
}
@media (max-width: 1280px) {
  .inner {
    width: 80%;
  }
}
@media (max-width: 1024px) {
  /* タブレット以下のサイズ */
  .inner {
    width: 80%;
  }
}
@media (max-width: 767px) {
  /* スマホ以下のサイズ */
  .inner {
    width: 90%;
  }
}
/* ======================================================
   タイトル
====================================================== */
.page-title {
  position: relative;
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url(../image/common/page-title.png);
  background-position: center;
  background-size: cover;
}

.bg-text {
  position: absolute;
  font-family: "Petit Formal Script", cursive;
  font-style: italic;
  font-size: clamp(6.625rem, 1.125rem + 6.88vw, 9.375rem);
  color: rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  user-select: none;
}

.jp-text {
  position: relative;
  font-family: "Klee One", cursive;
  font-size: var(--font-l);
  letter-spacing: 0.15em;
  color: #000000;
}
@media (max-width: 1024px) {
  .page-title {
    height: 150px;
  }
  .bg-text {
    font-size: clamp(6.625rem, 1.125rem + 6.88vw, 9.375rem);
  }
}
@media (max-width: 767px) {
  .page-title {
    height: 130px;
  }
  .bg-text {
    font-size: clamp(5.313rem, 4.05rem + 5.37vw, 6.625rem);
  }
}
/*--------------【セクションタイトル】----------------*/
/* タイトルボックス */
.title-box_left {
  text-align: left;
}
.title-box_center {
  text-align: center;
  margin: 50px auto 0;
}
.title-box-bottom {
  margin-bottom: 50px;
}
@media (max-width: 450px) {
  .title-box-bottom {
    margin-bottom: 20px;
  }
}
/* タイトル */
.section-title {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 26px;
}
.section-title span {
  font-size: var(--font-s);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--main-9);
}
.section-title p {
  margin: 0;
  color: var(--text-dark); /* 黒に近いグレー */
  font-family: "Klee One", cursive;
  font-weight: 600;
  font-size: var(--font-xl);
  letter-spacing: 0.08em;
  line-height: 1.5;
}
.section-title img {
  width: 100px;
}
@media (max-width: 767px) {
  .section-title {
    text-align: center;
  }
  .section-title img {
    width: 85px;
  }
}

/*--------------【フッター用】----------------*/
.footer-title-box {
  margin: 0 auto;
}
.footer-title span,
.footer-title p {
  color: #fff !important;
}
/* ======================================================
   ボタン
====================================================== */
.btn-box {
  text-align: center;
  margin-top: 50px;
}
.btn-view-more {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  z-index: 2;

  padding: 14px 28px;
  border-radius: var(--radius);
  color: var(--accent-9);
  text-decoration: none;

  overflow: visible; /* ← 切られ防止 */
  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease;
}

/* 塗り（最初は下にズレてる） */
.btn-view-more::before {
  content: "";
  position: absolute;

  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  background: var(--accent-3);
  border-radius: var(--radius);

  transform: translate(8px, 8px);

  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease;
}

/* 枠（最初は上にいる） */
.btn-view-more::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--accent-color);
  border-radius: var(--radius);

  transform: translate(0, 0);
  z-index: 2;
  transition: transform 0.25s ease;
}

/* hoverで位置を入れ替える */
.btn-view-more:hover::before {
  transform: translate(0, 0); /* 塗りが上へ */
}
.btn-view-more:hover::after {
  transform: translate(8px, 8px); /* 枠が下へ */
}

/* 文字は常に一番上 */
.btn-view-more .text,
.btn-view-more .arrow {
  position: relative;
  z-index: 3;
}

/* 矢印 */
.btn-view-more .arrow {
  transition: transform 0.3s ease;
}
.btn-view-more:hover .arrow {
  transform: translateX(6px);
}

/* ======================================================
　コンタクト用ボタン
====================================================== */

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: 0.1em;
  font-size: var(--font-s);
  text-transform: uppercase;
  white-space: nowrap;
  background: var(--gold-gradient-1);
  color: #fff;
  box-shadow: 0 14px 30px rgba(191, 165, 106, 0.25);
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.contact-btn:hover {
  background: var(--gold-gradient-2);
  border: var(--border);
}

/* ======================================================
  header
====================================================== */
/* ヘッダーは常に固定 */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  width: 100%;
  z-index: 1000;
  padding: 0 10px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  background-color: transparent;
  box-shadow: none;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

/* スクロール後 */
#header.is-scrolled {
  background-color: var(--main-1); /* 今使っている色でOK */
  box-shadow: var(--shadow);
}

/* =========================
  ロゴ
========================= */
#header-logo {
  height: 100% !important;
}
.company_logo {
  height: 100%;
}
/* =========================
   グローバルナビ本体
========================= */
.g-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 30%;
  height: 100vh;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 45px;

  background-color: var(--base-2);
  z-index: 1500;

  /* 初期状態：右に隠す */
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
}

/* 開いた状態 */
.g-nav.is-open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

/* =========================
  パネル
========================= */
.g-nav {
  position: fixed;
  inset: 0;
  width: auto;
  height: auto;
  display: block;
  /* background: rgba(0, 0, 0, 0.35); */
  background-image: url(../image/common/header-pc.png);
  background-position: left;
  background-size: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 9999;
}
/* 右から出るパネル */
.g-nav__panel {
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  width: 65%;
  height: 100vh;
  background: var(--base-1);
  color: var(--text-main);

  transform: translateX(100%);
  transition: transform 0.35s ease;

  display: flex;
  flex-direction: column;
}

/* 開いた状態 */
.g-nav.is-open {
  opacity: 1;
  pointer-events: auto;
}
.g-nav.is-open .g-nav__panel {
  transform: translateX(0);
  background-image: url(../image/common/back.png);
  background-size: cover;
}
/* 閉じる途中 */
.g-nav.is-closing {
  opacity: 0;
  pointer-events: none;
}

.g-nav.is-closing .g-nav__panel {
  transform: translateX(100%);
}

@keyframes nav-close {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(16px);
  }
}
@media (max-width: 1024px) {
  .g-nav {
    background-image: url(../image/common/header-res.png);
    background-position: left;
    background-size: cover;
  }

  /* .g-nav__panel {
    background: rgba(255, 255, 255, 0.5);
  } */
}
@media (max-width: 767px) {
}
/* =========================
ナビの中身
========================= */
.g-nav__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  height: var(--header-h);
  background-color: var(--main-1);
  box-shadow: var(--shadow);
}
.g-nav__title {
  margin: 0;
  font-size: var(--font-m);
  color: var(--main-color) !important;
  letter-spacing: 0.12em;
}

/* 中身：ここをスクロールさせる */
.g-nav__body {
  padding: 8px 20px 18px;
  overflow-y: auto; /* ★大量メニューでもOK */
  -webkit-overflow-scrolling: touch;
  flex: 1; /* ★フッターを下に固定 */
  background-image: url(../image/common/back.png);
  background-size: cover;
}

/*:::::::::::【セクション】:::::::::::*/
.g-nav__section {
  padding: 10px 0;
}
.g-nav__section-title {
  color: var(--main-9);
  font-weight: 700;
  margin: 8px 0 10px;
  font-size: var(--font-s);
  letter-spacing: 0.12em;
  opacity: 0.75;
}

/*:::::::::::【仕切り線】:::::::::::*/
.g-nav__divider {
  border: 0;
  height: 1px;
  background: var(--text-main);
  margin: 14px 0;
}

/*:::::::::::【通常リンク】:::::::::::*/
.g-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  text-decoration: none;
  color: var(--text-main);
  /* 枠全体のボーダー（画像のような区切り線）が必要なら残す */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* 文字を囲んだスパン */
.g-nav__text {
  position: relative; /* 線の基準 */
  display: inline-block; /* 必須：これがないとwidthが効かない */
}

/* 文字の下だけに現れる線 */
.g-nav__text::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px; /* 文字との距離を微調整 */
  width: 0;
  height: 1px;
  background-color: var(--text-main);
  transition: width 0.3s ease; /* 何を、何秒で、どう動かすか */
}

/* ホバーした時、中のspanのafterを伸ばす */
.g-nav__link:hover .g-nav__text::after {
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
}
/*:::::::::::【右矢印付きリンク】:::::::::::*/
.g-nav__link--arrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  text-decoration: none;
  color: var(--main-color);
  font-size: var(--font-s);
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.g-nav__link--arrow::after {
  content: "›";
  font-size: var(--font-s);
  opacity: 0.7;
  color: var(--main-color);
}

/*:::::::::::【ヘッダーお問い合わせ】:::::::::::*/
.g-nav__footer {
  padding: 16px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.g-nav__cta {
  display: block;
  text-decoration: none;
  color: var(--text-main);
  padding-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
}

.g-nav__cta-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  opacity: 0.8;
}
.g-nav__cta-value {
  display: block;
  font-size: var(--font-m);
  font-weight: 600;
  margin-top: 2px;
}

.g-nav__sns {
  display: inline-block;
  margin-top: 12px;
  text-decoration: none;
  color: var(--text-main);
  opacity: 0.85;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  padding-bottom: 4px;
}

/* =========================
インスタグラムリンク(共通)
========================= */
/* Instagram */
.insta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--font-s);
  letter-spacing: 0.15em;
  text-decoration: none;
  padding-bottom: 4px;

  border-bottom: 1px solid transparent;
}

.ig-icon {
  flex: 0 0 auto;
}

/* =========================
headerインスタグラムリンク
========================= */
/* Instagram */
.g-nav__sns {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--font-s);
  letter-spacing: 0.15em;
  text-decoration: none;
  padding-bottom: 4px;
}

.header-ig-icon {
  width: 28px;
  height: 28px;
}

/* =========================
headerスクロール
========================= */

/* スクロール領域（例：メニューの中身） */
.g-nav__body {
  overflow: auto;
}

/* 幅 */
.g-nav__body::-webkit-scrollbar {
  width: 10px;
}

/* 背景（トラック） */
.g-nav__body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.06);
  border-radius: 999px;
}

/* つまみ（サム） */
.g-nav__body::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 999px;
}

/* ホバー時 */
.g-nav__body::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.4);
}

/* -----------------------------------------------------
  header：ハンバーガーボタン
----------------------------------------------------- */

.hamburger {
  display: block;
}

#nav-toggle.hamburger {
  position: relative;
  width: 88px;
  height: 50px;
  cursor: pointer;
  border: none;
  padding: 0;
  z-index: 99999;
}

#nav-toggle .hamburger-icon {
  position: relative;
  right: -20px;

  display: block;
  width: 100%;
  height: 100%;
}

#nav-toggle .hamburger-icon span {
  position: absolute;
  left: 13px;
  height: 2px;
  background: #000;
  transition: all 0.4s;
  display: block;
}

/* 上の線 */
#nav-toggle .hamburger-icon span:nth-child(1) {
  top: 22px;
  width: 50%;
}

/* 下の線 */
#nav-toggle .hamburger-icon span:nth-child(2) {
  top: 29px;
  width: 30%;
}

/* ここが重要：開いてる時(aria-expanded=true)に× */
#nav-toggle[aria-expanded="true"] .hamburger-icon span:nth-child(1) {
  top: 20px;
  left: 16px;
  transform: translateY(6px) rotate(-45deg);
  width: 35%;
}

#nav-toggle[aria-expanded="true"] .hamburger-icon span:nth-child(2) {
  top: 32px;
  left: 16px;
  transform: translateY(-6px) rotate(45deg);
  width: 35%;
}
/* ×になった時の色 */
#nav-toggle[aria-expanded="true"] .hamburger-icon span {
  background: var(--main-color);
}
/* ======================================================
   footer
====================================================== */

/*--------------【お問い合わせリンク】----------------*/

.contact-cta {
  position: relative;
  padding: clamp(56px, 7vw, 92px) 16px 72px;
  overflow: hidden;
}

.contact-cta__bg {
  position: absolute;
  inset: 0;
  background-image: url("../image/common/footer-cta.png"); /* ←差し替え */
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.contact-cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.contact-cta__inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.contact-cta__kicker {
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: 0.14em;
  opacity: 0.95;
}

.contact-cta__title {
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: 0.18em;
  font-weight: 700;
}

.contact-cta__lead {
  margin: 0 auto 28px;
  max-width: 860px;
  font-size: var(--font-xs);
  line-height: 2;
  opacity: 0.95;
}

/*--------------
【カード】
----------------*/
.contact-cta__card {
  margin: 0 auto;
  max-width: 980px;
  background: var(--base-color);
  border-radius: 14px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  /* gap: 18px; */
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

/* Items */
.contact-cta__item {
  color: var(--text-main);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* 中央に寄せたいなら */
  gap: 10px;
  height: 100%; /* ← これで各列の高さに追従 */
  padding: 22px 18px;
}

/* アイコン枠（中央寄せ） */
.contact-cta__tag {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 10px;
  padding: 0; /* 余計な余白を消す */
  height: auto; /* 今の height:20px は不要 */
}

/* アイコン画像サイズを固定 */
.contact-cta__tag img,
.contact-cta__tag svg {
  width: 36px; /* お好みで 28〜40 */
  height: 36px;
  display: block;
  object-fit: contain;
}
.mail-icon {
  width: 28px !important;
  height: 36px !important;
}
.contact-cta__tel {
  font-family: "Petit Formal Script", cursive;
  font-size: var(--font-l);
  font-weight: bold;
  letter-spacing: 0.04em;
  color: var(--main-9);
}

.st1,
.st2 {
  fill: var(--main-color);
}

.contact-cta__text {
  font-family: "Klee One", cursive;
  font-weight: bold;
  font-size: var(--font-l);
  letter-spacing: 0.08em;
  color: var(--main-9);
}

.contact-cta__hours {
  font-size: 12px;
  color: var(--text-soft);
}

.contact-cta__divider {
  width: 1px;
  height: 86px;
  background: color-mix(in srgb, var(--text-soft) 25%, transparent);
}

/* Action area */
.contact-cta__item--action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 100%;
  width: 100%;
  transition: background 0.2s ease;
}
/* 中のリンクを100%にする */
.contact-cta__item--action > a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* hover */
.contact-cta__item--action:hover {
  background-color: var(--accent-2);
  border-radius: 10px; /* ←角丸おすすめ */
}
.contact-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.06em;
  min-width: 220px;

  font-size: var(--font-m);
  color: var(--main-9);
  /* background: var(--main-color);
  color: #fff;
  box-shadow: 0 10px 22px color-mix(in srgb, var(--main-color) 35%, transparent); */
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    opacity 0.15s ease;
}

.contact-cta__btn:active {
  transform: translateY(0);
  opacity: 0.95;
}

.contact-cta__btnicon {
  display: inline-flex;
}

@media (max-width: 1024px) {
  .contact-cta__card {
    max-width: 85%;
  }
}
/* =========================
footerインスタグラムリンク
========================= */
.insta-icon {
  margin-top: 5px;
  width: 28px !important;
  height: 28px !important;
}
/* Instagram */
.ontact-cta__box {
  padding-bottom: 0;
}
.footer__sns {
  font-family: "Petit Formal Script", cursive;
  font-weight: bold;
  letter-spacing: 0.15em !important;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-cta__card {
    grid-template-columns: 1fr;
    padding: 18px 14px;
  }

  .contact-cta__divider,
  .contact-cta__divider--hide-sp {
    display: none;
  }

  .contact-cta__item {
    padding: 6px 0 20px;
    border-bottom: 1px solid var(--gray-1);
  }
  .contact-cta__item:last-child {
    padding: 20px 0;
    border-bottom: none;
  }
  .contact-cta__btn {
    width: 100%;
    max-width: 420px;
  }
}

/*--------------【会社情報 + アクセス】----------------*/
/* セクション全体（白背景＋軽く余白） */
.footer-company {
  background-color: var(--base-2);
  background-image: url(../image/common/footer-info-back.png);
  background-size: cover;
  padding: 30px 20px;
  border-top: 1px solid #eeeeee;
}
.footer-company-inner {
  width: 75%;
  margin: 0 auto;
  display: flex;
  gap: 100px;
  align-items: stretch;
  position: relative;
}
/* 真ん中の縦仕切り線 */
.footer-company-inner::before {
  content: "";
  position: absolute;
  top: 10%;
  bottom: 10%;
  left: 50%;
  width: 1px;
  background-color: #dddddd;
  transform: translateX(-50%);
}
.footer-company-block {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 50px 0;
  box-sizing: border-box;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
@media (max-width: 1024px) {
  .footer-company-inner {
    width: 100%;
    gap: 37px;
  }
}
@media (max-width: 767px) {
  .footer-company-inner {
    flex-direction: column;
    gap: 10px;
  }
  /* 中央の縦線はスマホでは非表示 */
  .footer-company-inner::before {
    display: none;
  }
  .footer-company-block {
    padding: 10px 10px 0 10px;
  }
}
/* 概要アクセス タイトル */
.footer-info-title {
  text-align: left;
  font-size: var(--font-m);
  font-weight: bold;
}
.green-line {
  margin: 10px auto;
  width: 100%;
  height: 25px;
  background-image: url(../image/common/footer-line.png);
  background-size: contain;
  background-repeat: repeat-x;
}

/* 会社概要 */
.footer-address-list {
  width: 90%;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  text-align: left;
}
.footer-address-list li {
  display: flex;
  gap: 30px;
  align-items: baseline;
  font-size: var(--font-s);
  margin-bottom: 10px;
}
.footer-label {
  min-width: 5em;
  font-weight: 600;
  color: #666666;
}
.footer-text a {
  text-decoration: none;
}
.footer-text a:hover {
  text-decoration: underline;
}

/* 地図 */
.footer-map-frame {
  flex: 1;
  min-height: 320px;
  position: relative;
  width: 100%;
  padding-top: 0;
  overflow: hidden;
}
.footer-map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}

@media (max-width: 767px) {
  .footer-info-title {
    text-align: center;
  }

  .footer-company-info {
    width: 100%;
    border-bottom: 1px solid #eeeeee; /* スマホでは横の仕切りに */
    padding-bottom: 20px;
  }
  .footer-company-map {
    width: 100%;
    padding-top: 10px;
  }
  .footer-company-name {
    text-align: center;
  }
  /* ▼▼ ここからがポイント ▼▼ */
  /* リスト全体を中央寄せしつつ、横幅をやや絞る */
  .footer-address-list {
    margin: 0 auto;
  }
  /* 1行ずつは左寄せのまま */
  .footer-address-list li {
    justify-content: flex-start; /* center をやめる */
    text-align: left;
  }
  /* ラベル列の幅をそろえて右寄せにする */
  .footer-label {
    min-width: 4em; /* 住所 / TEL / FAX / 定休日 の幅を統一 */
  }
  /* テキスト側は残りスペースを使う */
  .footer-text {
    flex: 1;
  }
  /* ▲▲ ここまでがポイント ▲▲ */
  .footer-map-title,
  .footer-map-text {
    text-align: center;
    border-bottom: none;
    margin-bottom: 0;
  }
  .footer-company-map {
    width: 100%;
    padding-top: 10px;
  }
  .footer-company-name {
    text-align: center;
  }
  .footer-address-list li {
    justify-content: center;
    text-align: left;
  }
  .footer-title,
  .footer-map-text {
    text-align: center;
    border-bottom: none;
    margin-bottom: 0;
  }
  .footer-map-frame iframe {
    height: 100%;
  }
}
/* ======================================================
   コピーライト
====================================================== */
.copyright {
  color: #fff;
  font-size: var(--font-xs); /* 13px 相当 */
  text-align: center;
  padding: 1rem 2rem;
  background-color: var(--main-5);
}
/* ======================================================
   ページトップボタン
====================================================== */
/*========= ページトップのためのCSS ===============*/
/*リンクを右下に固定*/
#page-top {
  position: fixed;
  right: 0;
  bottom: 30px;
  z-index: 2;
  /*はじめは非表示*/
  opacity: 0;
  transform: translateY(150px);
}

/*　上に上がる動き　*/
#page-top.UpMove {
  animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime {
  from {
    opacity: 0;
    transform: translateY(150px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*　下に下がる動き　*/
#page-top.DownMove {
  animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 1;
    transform: translateY(150px);
  }
}

/*画像の切り替えと動き*/
#page-top a {
  /*aタグの形状*/
  display: block;
  width: 100px;
  height: 100px;
  color: #333;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.6rem;
  /*背景画像の指定*/
  background: url("../image/common/pagetop_1.png") no-repeat center;
  background-size: contain;
  transform: rotate(14deg);
}

#page-top.floatAnime a {
  width: 100px;
  height: 100px;
  /*背景画像の指定*/
  background: url("../image/common/pagetop_2.png") no-repeat center;
  background-size: contain;
  /*アニメーションの指定*/
  animation: floatAnime 2s linear infinite;
  opacity: 0;
}

@keyframes floatAnime {
  0% {
    transform: translateX(0);
    opacity: 0;
  }
  25% {
    transform: translateX(-6px);
    opacity: 1;
  }
  50% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(6px);
    opacity: 1;
  }
}
