@charset "UTF-8";

/* 基本設定 */
*{padding:0;margin:0;}

.wrapper{
  width: 100%;
  background:#cccccc;
  background-repeat: repeat;
  /* ここは全幅のまま */
}

.container{
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  background: #fff;          /* ★白箱を固定（重要） */
}

html, body{
  margin: 0;
  padding: 0;
}

/* =========================================================
   Header + Global Nav (JS Drawer / Fully Responsive)
   ========================================================= */

/* ---------- Theme Variables ---------- */
:root{
  --header-bg-pc: rgba(255,255,255,0.78);   /* PC：白半透明 */
  --header-bg-sp: rgba(30,90,168,0.84);     /* SP：青半透明 */
  --nav-bg: #1E5AA8;                        /* グローバルメニュー：ビジネスブルー */

  --text: #222;
  --text-invert: #fff;

  --line: rgba(255,255,255,.35);
  --shadow: rgba(0,0,0,.08);

  /* JSが実測して入れる（初期は仮） */
  --header-offset: 0px;
}

/* ---------- Layout Base ---------- */
.site-header{ width:100%; }

.header-inner{
  width:100%;
  max-width:1280px;
  margin:0 auto;
  position:relative;
}

/* ヘッダー高を本文に反映（固定値は使わない） */
@media (max-width:768px){
  body{ padding-top: var(--header-offset); }
}

/* ---------- Brand (Top Bar) ---------- */
.brand{
  background: var(--header-bg-pc);
  min-height: 90px;
  display:flex;
  align-items:center;
  gap: 18px;
  padding: 16px 24px;
  position:relative;
  box-sizing:border-box;

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.brand-link{
  color: var(--text);
  text-decoration:none;
  font-size: 28px;
  letter-spacing: 2px;
  line-height: 1.25;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- PC右側：電話・営業時間・ボタン ---------- */
.header-contact{
  margin-left: auto;
  display:flex;
  align-items:center;
  gap: 30px;
}

.header-tel{ display:flex; flex-direction:column; gap: 2px; }

.header-tel__link{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  color: var(--text);
  text-decoration:none;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .5px;
}

.header-tel__icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(30,90,168,0.10);
  color: #1E5AA8;
}

.header-hours{
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 12px;
  letter-spacing: .6px;
  color: rgba(0,0,0,.65);
  line-height: 1.4;
}

.header-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 44px;
  padding: 0 50px;
  border-radius: 999px;
  background: #E08A2F;  /* 目立つが派手すぎないオレンジ */
  color: #fff;
  text-decoration:none;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 14px;
  white-space: nowrap;
}

.header-cta:hover{ opacity: .88; }

/* ---------- Global Nav (PC default) ---------- */
.global-nav{ background: var(--nav-bg); }

.nav-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-around;
}

.nav-item{
  flex: 1 1 140px;
  text-align:center;
  border-right: 1px solid rgba(255,255,255,.22);
}

.nav-item:last-child{ border-right:none; }

.nav-item a{
  display:block;
  padding: 12px 10px;
  color: var(--text-invert);
  text-decoration:none;
  letter-spacing: 1px;
  font-size: 13px;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-weight: 500;
  position:relative;
}

/* ★音符アイコン無し（完全削除） */
.nav-item a::before{
  content:none !important;
  display:none !important;
}

.nav-item a:hover{ opacity:.78; }

.nav-item--cta a{ font-weight: 700; }

/* ---------- SNS（SPでは表示、PCでは非表示の指定で制御） ---------- */
.nav-sns{
  display:flex;
  gap:18px;
  justify-content:flex-end;
  padding: 10px 18px 14px;
}

.nav-sns-link{
  color: var(--text-invert);
  text-decoration:none;
  font-size: 13px;
  letter-spacing: 1px;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-weight: 500;
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.nav-sns-link:hover{ opacity:.8; }

.nav-sns-link--blog::before,
.nav-sns-link--insta::before{
  content:'';
  width:18px;
  height:18px;
  background-repeat:no-repeat;
  background-size:contain;
  background-position:center;
  filter: brightness(0) invert(1); /* 白っぽく */
}

.nav-sns-link--blog::before{ background-image: url("../images/blog-aicon.png"); }
.nav-sns-link--insta::before{ background-image: url("../images/insta.png"); }

/* ---------- Hamburger Button (JS) ---------- */
.nav-button{
  display:none; /* PCでは非表示、SPで表示 */
  position:absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width:44px;
  height:44px;
  border:none;
  background: transparent;
  cursor:pointer;
  border-radius: 10px;
  align-items:center;
  justify-content:center;
}

.nav-button:focus-visible{
  outline: 2px solid rgba(255,255,255,.75);
  outline-offset: 2px;
}

.nav-icon{
  position:relative;
  display:block;
  width:26px;
  height:2px;
  background: #fff;
  border-radius:1px;
}

.nav-icon::before,
.nav-icon::after{
  content:'';
  position:absolute;
  left:0;
  width:26px;
  height:2px;
  background:#fff;
  border-radius:1px;
}

.nav-icon::before{ top:-8px; }
.nav-icon::after{ top: 8px; }

/* 開いた時のアイコン（×） */
.site-header.nav-open .nav-icon{ background: transparent; }
.site-header.nav-open .nav-icon::before{ top:0; transform: rotate(45deg); }
.site-header.nav-open .nav-icon::after{ top:0; transform: rotate(-45deg); }

/* ---------- Overlay ---------- */
.nav-overlay{
  position: fixed;
  inset: 0;
  background:#000;
  opacity:0;
  pointer-events:none;
  transition: opacity .45s ease;
  z-index:1090;
}

/* ---------- PC Only: hide selected items ---------- */
@media (min-width:769px){
  .nav-pc-hide{ display:none !important; }
}

/* ---------- SP Layout ---------- */
@media (max-width:768px){

  /* SPヘッダー固定 */
  .site-header{
    position: fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1100;
  }

  .header-inner{ max-width:none; }

  /* SP上段バー：青系半透明 */
  .brand{
    background: var(--header-bg-sp);
    min-height: 56px;
    padding: 0 0 0 3%;
    box-shadow: 0 1px 3px var(--shadow);
  }

  /* SPでは右側（電話・営業時間・ボタン）を非表示 */
  .header-contact{ display:none; }

  .brand-link{
    color:#fff;
    font-size: 18px;
    letter-spacing: 1.5px;
    max-width: 76vw;
    overflow:hidden;
    text-overflow: ellipsis;
  }

  .nav-button{ display:inline-flex; }

  /* ドロワー（初期は閉） */
  .global-nav{
    position: fixed;
    top:0;
    left:0;
    width: min(90vw, 330px);
    height: 100dvh;
    background: var(--nav-bg);
    transform: translateX(-105%);
    transition: transform .45s ease;
    z-index:1101;
    padding: 18px 0 18px 5%;
    box-shadow: 6px 0 25px rgba(0,0,0,.15);
    overflow:auto;
    -webkit-overflow-scrolling: touch;

    pointer-events: none;
  }

  .nav-list{ display:block; }

  .nav-item{
    border-right:none;
    width:95%;
    text-align:left;
    border-bottom: 1px dashed rgba(255,255,255,.45);
  }

  .nav-item a{
    padding: 12px 0 12px 10%;
    font-size: 15px;
  }

  /* SP：矢印 */
  .nav-item a::after{
    content:'';
    width:6px;
    height:6px;
    border-top: 1px solid rgba(255,255,255,.8);
    border-right: 1px solid rgba(255,255,255,.8);
    position:absolute;
    top:50%;
    right:18px;
    transform: translateY(-50%) rotate(45deg);
  }

  /* SP：SNSは縦並び */
  .nav-sns{
    display:block;
    padding: 18px 0 0;
  }

  .nav-sns-link{
    display:flex;
    padding: 10px 0;
    font-size: 15px;
  }

  /* 開いた状態（JSが header に nav-open を付与） */
  .site-header.nav-open .global-nav{
    transform: translateX(0%);
    pointer-events: auto;
  }

  .site-header.nav-open .nav-overlay{
    opacity: .35;
    pointer-events: auto;
  }

  /* ★「完全に閉じた状態」だけ非表示（ちら見え対策） */
  .global-nav.is-fully-closed{ visibility: hidden; }
}

/* スクロールロック */
html.is-nav-open,
body.is-nav-open{
  overflow:hidden;
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce){
  .global-nav,
  .nav-overlay{ transition:none; }
}




/* =========================================
   見出しコンポーネント（軽やか版・完全版）
   ========================================= */

/* ===== ベース ===== */
.section-heading{
  width: 100%;
  margin: 70px auto 70px;
  box-sizing: border-box;
}

.section-heading__content{
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

/* ===== 日本語見出し ===== */
.section-heading__main{
  margin: 0;
  text-align: center;
  line-height: 1.6;
  letter-spacing: 2px;
  color: #333;
  font-family: "Noto Serif JP","Yu Mincho","ヒラギノ明朝 ProN","MS P明朝",serif;
  font-weight: 600;
  font-size: 26px; /* PC */
}

/* H1用の上段小テキスト */
.section-heading__sub{
  display: inline-block;
  font-size: 14px;
  letter-spacing: 3px;
  font-weight: 500;
  margin-bottom: 4px;
}

/* ===== 下線（軽やか細線） ===== */
.title-sen1{
  width: min(720px, 86%);
  height: 1px;
  background: #1E5AA8;   /* グローバルメニューと統一 */
  margin: 26px auto;     /* ← 上下均等（軽やかにやや広め） */
}

/* ===== 英語見出し ===== */
.section-heading__en{
  margin: 0;  /* 上の余白は線側で調整済み */
  text-align: center;
  font-size: 17px;
  letter-spacing: 2px;
  color: #555;
  font-family: "Noto Serif JP","Yu Mincho","ヒラギノ明朝 ProN","MS P明朝",serif;
  font-weight: 500;
}

/* =========================================
   SP（スマホ）
   ========================================= */
@media (max-width: 767px){

  .section-heading{
    margin: 55px auto 55px;
  }

  .section-heading__main{
    font-size: 21px;   /* SP指定 */
    letter-spacing: 1.5px;
  }

  .section-heading__sub{
    font-size: 13px;
    letter-spacing: 2px;
  }

  .section-heading__en{
    font-size: 15px;
    letter-spacing: 1.5px;
  }
}
.title-sen1{
  /* 見た目（線） */
  width: 92%;
  max-width: 900px;
  border-bottom: 1px solid #1E5AA8;/* 既存の統一カラーに合わせる */

  /* 余白（線の上下） */
  margin: 5px auto;               /* PC：上下にゆとり */

  /* アニメーション（既存挙動を維持） */
  transform-origin: center;
  transform: scaleX(0);
  transition: transform 1.3s ease-out;
}

/* アニメON */
.title-sen1.title-sen1-active{
  transform: scaleX(1);
}

/* SP調整 */
@media (max-width: 767px){
  .title-sen1{
    width: 96%;
    margin: 5px auto;             /* SP：現状の余白を踏襲 */
  }
}

/* =========================================================
   HERO 完全安定版（整理済み）
   PC：右側に重ねる
   SP：画像の下に表示（重なり完全防止）＋ボタンはみ出し防止
   ========================================================= */

/* ================= 共通 ================= */

.hero{
  position: relative;
  width: 100%;
  margin-bottom: 80px;
  overflow: hidden;
}

.hero__bg{
  width: 100%;
  height: clamp(340px, 42vw, 520px);
}

.hero__bg-image{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ================= PC ================= */

.hero__content{
  position: absolute;
  right: clamp(16px, 6vw, 80px);
  top: 50%;
  transform: translateY(-50%);
  width: min(520px, 42vw);

  padding: 36px 42px;
  background: rgba(255,255,255,0.85);
  border-radius: 18px;
  box-shadow: 0 18px 36px rgba(0,0,0,0.18);
  text-align: center;
  box-sizing: border-box;
}

.hero__title{
  margin: 0 0 16px;
  font-family: "Noto Serif JP","Yu Mincho",serif;
  font-size: 30px;
  font-weight: 700;
  color: #1E5AA8;
  letter-spacing: 2px;
  line-height: 1.4;
}

.hero__lead{
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}

.hero__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 46px;
  padding: 0 34px;
  min-width: 220px;

  background: #1E5AA8;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  box-sizing: border-box;
}

/* テキスト（ここを動かすので競合しない） */
.hero__btn-text{
  display: inline-block;
  transition: transform 0.2s ease;
}

/* PCのみ */
@media (hover: hover){
  .hero__btn:hover .hero__btn-text{
    transform: translateY(-5px);
  }
}
/* =========================================================
   SP（ここが重要）
   ========================================================= */
@media (max-width: 767px){

  .hero{
    overflow: visible;
    margin-bottom: 50px;
  }

  .hero__bg{
    height: clamp(240px, 60vw, 340px);
  }

  /* ★ absolute完全解除：画像の下に来る */
  .hero__content{
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    transform: none !important;

    width: 100%;
    margin: 0;
    padding: 30px 16px;

    background: rgba(30,90,168,0.06);
    border-top: 1px solid rgba(30,90,168,0.25);

    box-shadow: none;
    border-radius: 0;
    text-align: center;
    box-sizing: border-box;
  }

  /* カード */
  .hero__content-inner{
    width: min(520px, 100%);
    margin: 0 auto;
    padding: 24px 20px;

    background: #fff;
    border-radius: 18px;
    box-shadow: 0 16px 28px rgba(0,0,0,0.12);

    box-sizing: border-box;
  }

  .hero__title{
    font-size: 22px;
    margin-bottom: 14px;
  }

  .hero__lead{
    font-size: 14px;
    margin-bottom: 18px;
  }

  /* ★ボタン：カード内に絶対収める（最強指定） */
  .hero__content-inner .hero__btn{
    display: block !important;      /* flex干渉を避けて安定 */
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    box-sizing: border-box !important;
    padding: 12px 16px !important;  /* SPは固定paddingで安全 */
    height: auto !important;        /* 高さはpaddingで作る */

    margin: 0 !important;
    border-radius: 999px;
    text-align: center;

    overflow: hidden;              /* 念のため */
  }
}


/* =========================================
   トップページ 紹介（レスポンシブ統一版）
   ========================================= */

.top-shoukai{
  width: 100%;
  margin-bottom: 100px;
  box-sizing: border-box;
}

.top-shoukai-inner{
  width: 100%;
  max-width: 700px;        /* ← PC横幅 */
  margin: 0 auto;          /* 中央寄せ */
  padding: 0 20px;         /* ← SP左右余白 */
  box-sizing: border-box;
}

.top-shoukai-inner > p{
  font-size: 16px;
  color: #404040;
  letter-spacing: 1px;
  line-height: 180%;
  font-family: "Noto Sans JP", "Yu Gothic", "メイリオ", sans-serif;
  font-weight: 400;
}

/* =========================================
   SP微調整
   ========================================= */

@media (max-width: 767px){

  .top-shoukai{
    margin-bottom: 80px;
  }

  .top-shoukai-inner{
    padding: 0 18px;   /* 少しだけ余白を調整 */
  }

  .top-shoukai-inner > p{
    font-size: 15px;
    line-height: 185%;
  }
}


/* =========================================================
   Services 完全版（タイトル強調＋下線＋ボタン下固定）
   ========================================================= */

.services{
  width: 100%;
  max-width: 1180px;
  margin: 40px auto 100px;
  padding: 0 20px;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
}

.services__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* ---------- Card ---------- */
.service-card{
  background: #fff;
  border: 1px solid rgba(30,90,168,0.12);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 22px rgba(0,0,0,0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

@media (hover:hover){
  .service-card:hover{
    transform: none;
    box-shadow: 0 16px 30px rgba(0,0,0,0.12);
  }
}

/* ---------- Image ---------- */
.service-card__media{
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

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

/* ---------- Title ---------- */
.service-card__title{
  position: relative;
  margin: 18px 18px 10px;
  font-size: 22px;              /* PC大きめ */
  font-weight: 700;
  color: #1E5AA8;
  letter-spacing: .03em;
  padding-bottom: 10px;
}

/* 下線 */
.service-card__title::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: #1E5AA8;
}

/* ---------- Text ---------- */
.service-card__text{
  flex: 1;
  margin: 0 18px 20px;
  font-size: 15px;
  line-height: 1.9;
  color: #374151;
}

/* ---------- Button ---------- */

.service-card__btn{
  display:block;
  width:92%;
  max-width:260px;
  margin:0 auto 22px;
  padding:8px 14px;
  text-align:center;
  border-radius:999px;
  text-decoration:none;
  font-weight:700;
  font-size:14px;
  background:#1E5AA8;
  color:#fff;
  box-sizing:border-box;
  transition:transform .2s ease, box-shadow .2s ease;
}

/* 下に固定 */
.service-card__btn{
  margin-top:auto;
}

@media (hover:hover){

  .service-card__btn:hover{
    transform:translateY(-3px);
    box-shadow:0 8px 18px rgba(0,0,0,0.18);
  }

}


/* ===== SP調整 ===== */

@media (max-width:640px){

  .service-card__btn{
    width:92%;
    max-width:260px;
    margin:0 auto 22px;
  }

}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1024px){
  .services__grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px){
  .services{
    padding: 0 14px;
  }

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

  .service-card__title{
    font-size: 20px;  /* SP */
  }

  .service-card__text{
    font-size: 14px;
  }
}

/* ===============================
   スマホではみ出し完全防止
   =============================== */
@media (max-width: 640px){

  .services{
    padding: 0 14px;
  }

  .services__grid{
    grid-template-columns: 1fr;
  }

  .service-card{
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .service-card__media,
  .service-card__title,
  .service-card__text,
  .service-card__btn{
    max-width: 100%;
    box-sizing: border-box;
  }



}


/* ==============================
Profile（サイト全体と統一版・整理済み）
- 色：--nav-bg / --text を基準に統一
- 本文：ゴシック統一
- 画像：CSSでサイズ固定（SP中央 / PC左）
============================== */
.profile{
  --profile-accent:var(--nav-bg,#1E5AA8);
  --profile-text:var(--text,#222);
  --profile-text-soft:rgba(0,0,0,.78);
  --profile-border:rgba(30,90,168,0.18);
  --profile-th-bg:rgba(30,90,168,0.06);
  --profile-radius:14px;
  width:100%;
  margin:0 auto 80px;
}
.profile__inner{
  width:100%;
  max-width:900px;
  margin:0 auto;
  padding:0 16px;
  box-sizing:border-box;
}
.profile__grid{
  display:grid;
  grid-template-columns:1fr;
  gap:30px;
  align-items:start;
}
/* 左：写真（SPは中央） */
.profile__media{
  margin:0;
  text-align:center;
}
.profile__image{
  width:320px;
  height:426px;
  object-fit:cover;
  display:block;
  margin:0 auto;
  border-radius:var(--profile-radius);
}
/* 右：情報 */
.profile__content{
  width:100%;
}
.profile__header{
  margin-bottom:14px;
}
.profile__name{
  margin:0 0 6px;
  font-size:20px;
  line-height:1.7;
  color:var(--profile-text);
  letter-spacing:1px;
  font-family:"Noto Serif JP","Yu Mincho","ヒラギノ明朝 ProN","MS P明朝",serif;
  font-weight:600;
}
.profile__name-en{
  font-size:0.9em;
  letter-spacing:0.5px;
  color:rgba(0,0,0,.65);
}
.profile__divider{
  width:100%;
  margin-top:8px;
}
/* 経歴・趣味（表風） */
.profile__meta{
  width:100%;
  margin:18px 0 22px;
  border:1px solid var(--profile-border);
  border-radius:12px;
  overflow:hidden;
  background:#fff;
}
.profile__meta-row{
  display:grid;
  grid-template-columns:110px 1fr;
}
.profile__meta-row+.profile__meta-row{
  border-top:1px solid var(--profile-border);
}
.profile__meta-title{
  margin:0;
  padding:10px 12px;
  background:var(--profile-th-bg);
  border-right:1px solid var(--profile-border);
  font-weight:400;
  font-size:14px;
  color:var(--profile-text);
  letter-spacing:1px;
  text-align:center;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family:"Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
}
.profile__meta-desc{
  margin:0;
  padding:10px 12px;
  font-size:14px;
  line-height:1.7;
  color:var(--profile-text);
  letter-spacing:1px;
  font-family:"Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
}
/* 本文 */
.profile__body{
  width:100%;
}
.profile__body p{
  margin:0 0 14px;
  font-size:16px;
  line-height:1.9;
  color:var(--profile-text-soft);
  letter-spacing:0.04em;
  font-family:"Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-weight:400;
}
.profile__body p:last-child{
  margin-bottom:0;
}
/* ==============================
PC（2カラム・左寄せ・間隔拡大）
============================== */
@media (min-width:768px){
  .profile__inner{
    padding:0 20px;
  }
  .profile__grid{
    grid-template-columns:320px 1fr;
    gap:48px;
  }
  .profile__media{
    text-align:left;
  }
  .profile__image{
    margin:0;
  }
}
/* ==============================
小さいスマホ調整
============================== */
@media (max-width:420px){
  .profile__meta-row{
    grid-template-columns:92px 1fr;
  }
  .profile__body p{
    font-size:15px;
    line-height:1.95;
  }
  .profile__image{
    width:260px;
    height:346px;
  }
}

/* =========================
共通設定
========================= */
:root{
  --radius:14px;
  --accent:var(--nav-bg,#1E5AA8);
  --text-main:var(--text,#222);
  --text-soft:rgba(0,0,0,.78);
  --border-main:rgba(30,90,168,0.18);
}

/* =========================
Features
========================= */
.features{
  width:100%;
  margin:40px auto 100px;
}
.features__inner{
  width:100%;
  max-width:1100px;
  margin:auto;
  padding:0 20px;
  box-sizing:border-box;
}
.features__grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

/* =========================
card
========================= */
.feature-card{
  position:relative;
  background:#ffffff;
  border:1px solid var(--border-main);
  border-radius:var(--radius);
  overflow:hidden;
  padding:48px 20px 30px;
  box-sizing:border-box;
}
.feature-card__topbar{
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:4px;
  background:var(--accent);
  border-top-left-radius:var(--radius);
  border-top-right-radius:var(--radius);
}
.feature-card__badge{
  position:absolute;
  top:0;
  left:0;
  background:var(--accent);
  color:#fff;
  font-size:20px;
  padding:6px 12px;
  border-bottom-right-radius:var(--radius);
  font-family:"Noto Serif JP","Yu Mincho","ヒラギノ明朝 ProN","MS P明朝",serif;
}
.feature-card__title{
  font-size:18px;
  margin:10px 0 12px;
  color:var(--accent);
  font-weight:600;
  font-family:"Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
}
.feature-card__icon{
  display:inline-block;
  width:10px;
  height:10px;
  background:var(--accent);
  border-radius:50%;
  margin-right:6px;
}
.feature-card__text{
  font-size:16px;
  line-height:1.9;
  color:var(--text-soft);
  font-family:"Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  letter-spacing:0.04em;
}

/* =========================
tablet
========================= */
@media (max-width:1000px){
  .features__grid{
    grid-template-columns:repeat(2,1fr);
  }
}

/* =========================
sp
========================= */
@media (max-width:640px){

  .features{
    margin:50px auto 110px;
  }

  .features__grid{
    grid-template-columns:1fr;
    gap:50px;
  }

  .feature-card{
    padding:56px 18px 38px;
  }

  .feature-card__title{
    margin:14px 0 14px;
  }

  .feature-card__text{
    font-size:15px;
    line-height:2;
  }

}


/* =========================
Q&A Accordion（配色統一版）
========================= */
.card-accordion{
  margin:18px 0;
}
/* ===== ボタン（質問） ===== */
.card-accordion-btn{
  position:relative;
  width:92%;
  max-width:750px;
  margin:0 auto 20px;
  display:flex;
  justify-content:flex-start;
  align-items:center;
  padding:16px 56px 16px 18px;
  background:#ffffff;
  color:var(--text, #222);
  font-size:16px;
  font-weight:400;
  letter-spacing:1px;
  line-height:160%;
  font-family:"Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  text-align:left;
  border:1px solid rgba(30,90,168,0.5);
  border-radius:12px;
  cursor:pointer;
  transition:transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card-accordion-btn:hover{
  box-shadow:3px 3px 6px rgba(0,0,0,0.12);
  border-color:rgba(30,90,168,0.28);
}
.card-accordion-btn:focus-visible{
  outline:2px solid rgba(30,90,168,0.35);
  outline-offset:3px;
}
.card-accordion-text{
  display:block;
  width:100%;
  padding-right:10px;
}
.card-accordion.is-open .card-accordion-btn{
  border-color:rgba(30,90,168,0.45);
}
/* ＋／×アイコン */
.card-accordion-icon{
  position:absolute;
  right:18px;
  top:50%;
  width:20px;
  height:20px;
  transform:translateY(-50%);
}
.card-accordion-icon::before,
.card-accordion-icon::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:20px;
  height:1px;
  background:var(--nav-bg, #1E5AA8);
  border-radius:2px;
  transform:translate(-50%, -50%);
  transition:transform 0.35s ease;
}
.card-accordion-icon::after{
  transform:translate(-50%, -50%) rotate(90deg);
}
.card-accordion.is-open .card-accordion-icon::before{
  transform:translate(-50%, -50%) rotate(45deg);
}
.card-accordion.is-open .card-accordion-icon::after{
  transform:translate(-50%, -50%) rotate(-45deg);
}
/* ===== 開閉エリア ===== */
.card-accordion-content{
  max-height:0;
  overflow:hidden;
  transition:max-height 0.5s ease;
}
.card-accordion-inner{
  width:92%;
  max-width:750px;
  margin:0 auto 25px;
  padding:14px 18px 18px;
  background:#ffffff;
  border-top:none;
  border-radius:0 0 12px 12px;
}
.qa-answer{
  margin:0;
  font-size:16px;
  color:rgba(0,0,0,.78);
  letter-spacing:1px;
  line-height:180%;
  font-family:"Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-weight:400;
}
/* ===== SP微調整 ===== */
@media (max-width:767px){
  .card-accordion{
    margin:14px 0;
  }
  .card-accordion-btn{
    width:92%;
    padding:14px 50px 14px 16px;
    font-size:15px;
  }
  .card-accordion-icon{
    right:14px;
    width:18px;
    height:18px;
  }
  .card-accordion-icon::before,
  .card-accordion-icon::after{
    width:18px;
  }
  .card-accordion-inner{
    width:92%;
    padding:12px 16px 16px;
    margin-bottom:20px;
  }
  .qa-answer{
    font-size:15px;
  }
}
/* 動きを減らす */
@media (prefers-reduced-motion:reduce){
  .card-accordion-btn,
  .card-accordion-icon::before,
  .card-accordion-icon::after,
  .card-accordion-content{
    transition:none;
  }
}

.qa-more{
  width:92%;
  max-width:350px;
  margin:22px auto 120px;
  text-align:center;
}
.qa-more__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  padding:10px 18px;
  box-sizing:border-box;
  background:var(--nav-bg,#1E5AA8);
  color:#ffffff;
  font-size:16px;
  font-weight:600;
  letter-spacing:1px;
  line-height:1.4;
  font-family:"Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  text-decoration:none;
  border:1px solid rgba(30,90,168,0.28);
  border-radius:25px;
  transition:transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.qa-more__btn:hover{
  border-color:rgba(30,90,168,0.45);
  box-shadow:3px 3px 6px rgba(0,0,0,0.12);
  transform:translateY(-1px);
}
.qa-more__btn:focus-visible{
  outline:2px solid rgba(30,90,168,0.35);
  outline-offset:3px;
}
@media (max-width:767px){
  .qa-more{
    margin:26px auto 0;
  }
  .qa-more__btn{
    font-size:15px;
    padding:13px 16px;
  }
}
@media (prefers-reduced-motion:reduce){
  .qa-more__btn{
    transition:none;
  }
}

/* =========================
Contact（レスポンシブ統合版）
========================= */
.contact{
  --contact-accent:var(--nav-bg,#1E5AA8);
  --contact-text:var(--text,#222);
  --contact-text-soft:rgba(0,0,0,.78);
  --contact-border:rgba(30,90,168,0.18);
  --contact-radius:14px;
  position:relative;
  width:100%;
  max-width:1280px;
  margin:30px auto 0;
  padding:0px 16px 40px;
  box-sizing:border-box;
  text-align:center;
  font-family:"Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  background:url("../images/pc-toiawase-back.webp") center/cover no-repeat;
  overflow:hidden;
}
.contact::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(255,255,255,0.9);
  backdrop-filter:brightness(0.95);
  z-index:0;
}
.contact>*{
  position:relative;
  z-index:1;
}
.contact__surface{
  width:100%;
}
.contact .tokuchou{
  margin:0 auto 24px;
}
.contact__notes{
  width:min(92%,750px);
  margin:0 auto 22px;
  padding:0;
  list-style:none;
  color:var(--contact-text);
  font-size:15px;
  line-height:1.8;
  text-align:center;
}
.contact__inner{
  width:100%;
  margin:0 auto;
  padding:28px 18px;
  box-sizing:border-box;
  background:rgba(255,255,255,0.2);
  border-radius:var(--contact-radius);
}
.contact__grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0;
  margin:0 auto 26px;
}
.contact-card{
  position:relative;
  padding:22px 18px;
  text-align:left;
  background:rgba(255,255,255,0.2);
}
.contact-card:not(:last-child)::after{
  content:"";
  position:absolute;
  top:10%;
  right:0;
  width:1px;
  height:80%;
  background:rgba(0,0,0,0.10);
}
.contact-card__title{
  margin:0 0 12px;
  text-align:center;
  font-size:18px;
  font-weight:700;
  letter-spacing:.02em;
  color:var(--contact-accent);
  font-family:"Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  padding-bottom:10px;
  border-bottom:1px solid rgba(0,0,0,0.12);
}
.contact-card__lead{
  margin:0 0 18px;
  padding:0 10px;
  font-size:14px;
  line-height:1.9;
  color:var(--contact-text-soft);
  letter-spacing:.04em;
  font-family:"Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
}
.contact-card__actions{
  text-align:center;
}
.contact-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:240px;
  max-width:100%;
  padding:14px 0;
  border-radius:10px;
  text-decoration:none;
  font-weight:700;
  font-size:15px;
  color:#fff;
  text-align:center;
  transition:opacity .2s ease, transform .02s ease, box-shadow .2s ease;
}
.contact-btn:active{
  transform:translateY(1px);
}
.contact-btn--mail{
  background:linear-gradient(90deg,var(--contact-accent),#4aa3ff);
  box-shadow:0 4px 12px rgba(30,90,168,.18);
}
.contact-btn--line{
  background:#06C755;
  box-shadow:0 4px 12px rgba(6,199,85,.22);
}
.contact-btn--form{
  background:linear-gradient(90deg,#ff9800,#ffb74d);
  box-shadow:0 4px 12px rgba(255,152,0,.22);
}
.contact-btn:hover{
  opacity:.92;
}
.contact__notes-sub{
  width:min(92%,750px);
  margin:10px auto 0;
  padding:0;
  list-style:none;
  color:var(--contact-text-soft);
  font-size:13px;
  line-height:1.8;
  text-align:center;
}
@media (max-width:960px){
  .contact__grid{
    grid-template-columns:1fr;
    gap:20px;
  }
  .contact-card{
    border:1px solid var(--contact-border);
    border-radius:var(--contact-radius);
    background:#ffffff;
  }
  .contact-card:not(:last-child)::after{
    content:none;
  }
}
@media (max-width:640px){
  .contact{
    margin:20px auto 0;
    padding:40px 14px 50px;
  }
  .contact__inner{
    padding:26px 14px;
  }
  .contact__notes{
    margin:0 auto 18px;
    text-align:left;
  }
  .contact-btn{
    width:100%;
  }
}
@media (prefers-reduced-motion:reduce){
  .contact-btn{
    transition:none;
  }
}










/* =========================================================
   注文の流れ（order-flow）
   - 既存テンプレ配色（ビジネスブルー #1E5AA8 / text #222）に整合
   - クラス衝突回避のため taiken-flow → order-flow に変更
   ========================================================= */

:root{
  /* 既存テーマ変数があればそれを優先して利用 */
  --of-text: var(--text, #222);
  --of-border: rgba(30,90,168,0.18);
  --of-card-bg: #fff;

  /* アクセント：既存のナビ色に合わせる */
  --of-accent: var(--nav-bg, #1E5AA8);

  /* 影：テンプレのカード感に合わせて控えめ */
  --of-shadow: 0 10px 22px rgba(0,0,0,0.08);

  /* 数字 */
  --of-num-size: 50px;
  --of-num-color: var(--of-accent);
  --of-num-shift-y: 6px;

  /* 矢印（三角） */
  --of-arrow-size: 12px;
}

.order-flow{
  width: 100%;
  margin-bottom: 120px;
  box-sizing: border-box;
}

.order-flow__inner{
  width: min(800px, 92%);
  margin: 0 auto;
  box-sizing: border-box;
}

.order-flow__list{
  margin: 0;
  padding: 0;
}

.order-flow__item{
  list-style: none;
}

.order-flow__card{
  position: relative;
  background: var(--of-card-bg);
  border: 1px solid var(--of-border);
  border-radius: 14px;
  box-shadow: var(--of-shadow);
  box-sizing: border-box;
  padding: 22px 18px 18px;
}

.order-flow__num{
  position: absolute;
  top: 6px;
  left: 12px;

  width: var(--of-num-size);
  height: var(--of-num-size);

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: transparent;
  border: none;

  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-style: normal;

  font-size: calc(var(--of-num-size) * 0.86);
  line-height: 1;
  color: var(--of-num-color);

  text-shadow: 1px 1px 0 rgba(0,0,0,0.08);

  transform: translateY(var(--of-num-shift-y));
}

/* 「1.」表記 */
.order-flow__num::after{
  content: ".";
  margin-left: 2px;
}

/* タイトル */
.order-flow__title{
  margin: 0;
  padding: 6px 0 10px;

  /* 数字分の左余白 */
  padding-left: calc(var(--of-num-size) + 14px);

  font-size: 24px;
  letter-spacing: 1px;
  color: var(--of-text);
  font-family: "Noto Serif JP", serif;
  font-weight: 500;

  border-bottom: 1px solid var(--of-border);
}

/* 本文 */
.order-flow__text{
  margin: 0;
  padding: 12px 20px 12px;

  font-size: 15px;
  line-height: 1.9;
  letter-spacing: .04em;
  color: rgba(0,0,0,0.78);
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-weight: 400;
}

/* カード間の下向き三角 */
.order-flow__arrow{
  width: 0;
  height: 0;
  margin: 22px auto 16px;

  border-left: var(--of-arrow-size) solid transparent;
  border-right: var(--of-arrow-size) solid transparent;
  border-top: calc(var(--of-arrow-size) + 4px) solid var(--of-accent);
}

/* 最後は矢印なし（HTML上も無いが保険） */
.order-flow__item:last-child .order-flow__arrow{
  display: none;
}

/* SP微調整 */
@media (max-width: 767px){

  :root{
    --of-num-shift-y: 0px;
  }

  .order-flow{
    margin-bottom: 100px;
  }

  .order-flow__inner{
    width: 100%;
    padding: 0 18px;
  }

  .order-flow__card{
    padding: 20px 16px 16px;
    border-radius: 14px;
  }

  .order-flow__title{
    font-size: 19px;
  }

  .order-flow__text{
    font-size: 15px;
  }

  .order-flow__arrow{
    margin: 12px auto 16px;
  }
}

/* =========================================================
   料金表（fee-plan）完全版
   - SPでも2列を横並び維持（縦積み無効）
   - 既存テーマカラーに馴染む設計
   ========================================================= */

:root{
  --fee-accent: var(--nav-bg, #1E5AA8);
  --fee-border: rgba(168, 183, 197, 1);
  --fee-th-bg: rgba(168, 183, 197, 0.10);
  --fee-text: #333;
  --fee-details-bg: #eaf4fc;
}

/* --- wrapper --- */
.fee-plan{
  width: 100%;
  max-width: 700px;
  margin: 0 auto 60px;
  padding: 0 20px;
  box-sizing: border-box;
}

/* --- title --- */
.fee-plan__title{
  width: 100%;
  line-height: 1;
  background: #fff;
  margin-bottom: 20px;
  padding: 18px 20px 12px;
  border-bottom: 1px solid var(--fee-accent);
  box-sizing: border-box;
}

.fee-plan__title > p{
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  color: var(--fee-accent);
  letter-spacing: 2px;
  font-family: "Noto Serif JP","Yu Mincho","ヒラギノ明朝 ProN","MS P明朝",serif;
}

/* --- table wrap --- */
.fee-plan__tableWrap{
  width: 100%;
  margin: 20px auto 40px;
  box-sizing: border-box;
}

/* --- table --- */
.fee-plan__table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--fee-border);
  background: #fff;
  table-layout: fixed; /* 列幅安定 */
}

.fee-plan__table th{
  text-align: left;
  background: var(--fee-th-bg);
  border-right: 1px solid var(--fee-border);
  border-bottom: 1px solid var(--fee-border);
  width: 45%;
  font-weight: 400;
  letter-spacing: 2px;
  padding: 8px 10px;
  box-sizing: border-box;
}

.fee-plan__table th > p{
  margin: 0;
  text-align: left;
  padding-left: 40px;
  padding-right: 10px;
  font-weight: 400;
  font-size: 15px;
  color: var(--fee-text);
  letter-spacing: 1px;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
}

.fee-plan__table td{
  text-align: left;
  background: #fff;
  border-bottom: 1px solid var(--fee-border);
  width: 55%;
  font-size: 15px;
  color: var(--fee-text);
  font-weight: 400;
  padding: 8px 10px 8px 40px;
  letter-spacing: 1px;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  box-sizing: border-box;
}

.fee-plan__table tr:last-child th,
.fee-plan__table tr:last-child td{
  border-bottom: none;
}

/* --- note --- */
.fee-plan__note{
  width: 100%;
  margin: 10px 0 0;
  padding-left: 20px;
  font-size: 15px;
  color: var(--fee-text);
  letter-spacing: 1px;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  box-sizing: border-box;
}

/* --- details box --- */
.fee-plan__details{
  width: 100%;
  background: var(--fee-details-bg);
  padding: 25px 10px;
  box-sizing: border-box;
}

.fee-plan__details > p{
  margin: 0;
  font-size: 14px;
  color: var(--fee-text);
  line-height: 1.7;
  letter-spacing: 1px;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
}

/* =========================================================
   SP（2列横並び固定）
   ========================================================= */
@media (max-width: 767px){

  .fee-plan{
    padding: 0 18px;
    margin-bottom: 50px;
  }

  .fee-plan__title{
    padding: 16px 16px 10px;
  }

  .fee-plan__title > p{
    font-size: 18px;
    letter-spacing: 1.5px;
  }

  /* ★ここが重要：SPでも table-cell を強制して縦積みを無効化 */
  .fee-plan__table{
    width: 100%;
    table-layout: fixed;
  }

  .fee-plan__table th,
  .fee-plan__table td{
    display: table-cell !important;
    width: 50% !important;
    vertical-align: middle;
    text-align: center;          /* 画像2寄せ（不要なら削除OK） */
    padding: 10px 8px !important;
  }

  .fee-plan__table th{
    border-right: 1px solid var(--fee-border);
  }

  .fee-plan__table th > p{
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center;          /* 不要なら削除OK */
    font-size: 14px;
  }

  .fee-plan__table td{
    font-size: 14px;
  }

  .fee-plan__note{
    padding-left: 6px;
    font-size: 14px;
  }

  .fee-plan__details{
    padding: 20px 12px;
  }

  .fee-plan__details > p{
    font-size: 14px;
    line-height: 1.75;
  }
}






































































































/* =========================
   問い合わせフォーム
   ========================= */

.cform{
  width: 100%;
  padding: clamp(28px, 4vw, 56px) 0;
}

.cform__inner{
  width: min(92%, 860px);
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 18px;
  padding: clamp(18px, 3vw, 34px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}

.cform__head{
  margin-bottom: 18px;
}

.cform__title{
  margin: 0 0 8px;
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: 0.04em;
  font-family: "Noto Serif JP","Yu Mincho","Hiragino Mincho ProN",serif;
}

.cform__lead{
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(0,0,0,0.62);
  letter-spacing: 0.04em;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
}

.cform__form{
  margin-top: 18px;
}

/* ---- Grid ---- */
.cform__grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px){
  .cform__grid{
    grid-template-columns: 1fr 1fr;
    gap: 18px 18px;
  }
  .cform__field--full{
    grid-column: 1 / -1;
  }
}

/* ---- Field ---- */
.cform__field{
  display: block;
}

.cform__label{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: rgba(0,0,0,0.78);
  font-weight: 700;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
}

.cform__badge{
  display: inline-block;
  font-size: 12px;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.cform__badge--req{
  background: rgba(30,90,168,0.10);
  color: #1E5AA8;
  border-color: rgba(30,90,168,0.18);
}

.cform__badge--opt{
  background: rgba(0,0,0,0.04);
  color: rgba(0,0,0,0.55);
  border-color: rgba(0,0,0,0.10);
}

.cform__control{
  width: 100%;
  box-sizing: border-box;
  border-radius: 12px;
  border: 1px solid rgba(30,90,168,0.20);
  background: #fff;
  padding: 12px 12px;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: #222;
  outline: none;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
}

.cform__control:focus{
  border-color: rgba(30,90,168,0.55);
  box-shadow: 0 0 0 4px rgba(30,90,168,0.12);
}

.cform__control--textarea{
  resize: vertical;
  min-height: 160px;
}

.cform__help{
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(0,0,0,0.55);
  letter-spacing: 0.04em;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
}

/* ---- Check ---- */
.cform__check{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 12px;
  background: rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.08);
}

.cform__checkInput{
  margin-top: 4px;
  width: 18px;
  height: 18px;
}

.cform__checkText{
  font-size: 14px;
  line-height: 1.8;
  color: rgba(0,0,0,0.78);
  letter-spacing: 0.04em;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
}

/* ---- Actions ---- */
.cform__actions{
  margin-top: 18px;
  text-align: center;
}

.cform__submit{
  appearance: none;
  border: none;
  cursor: pointer;
  width: min(320px, 100%);
  padding: 14px 18px;
  border-radius: 999px;
  background: #1E5AA8;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.08em;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

@media (hover:hover){
  .cform__submit:hover{
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.14);
    opacity: .96;
  }
}

.cform__note{
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(0,0,0,0.55);
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
}


/* =========================================================
   Footer (Responsive / Class renamed)  ※Blue theme
   ========================================================= */

/* フッター内だけ box-sizing を安定させる */
.footer, .footer * , .footer *::before, .footer *::after{
  box-sizing: border-box;
}

/* ---------- Footer Theme Variables ---------- */
:root{
  /* 既にヘッダー側で使っている場合は統一OK */
  --footer-blue: #1E5AA8;                 /* グローバルメニューと同系 */
  --footer-blue-dark: #164A8A;
  --footer-blue-soft: rgba(30,90,168,.10);

  --footer-text: rgba(255,255,255,.92);
  --footer-text-soft: rgba(255,255,255,.78);
  --footer-line: rgba(255,255,255,.22);

  --footer-link: rgba(255,255,255,.92);
  --footer-link-hover: #ffffff;

  --footer-radius: 14px;
}

/* PC/SP 出し分け（元仕様を維持） */
.footer__sp{ display:none; }
.footer__pc{ display:block; }

@media (max-width: 767px){
  .footer__pc{ display:none; }
  .footer__sp{ display:block; }
}

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

.footerPc{
  width: 100%;
  background: var(--footer-blue);
}

.footerPc__inner{
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 44px 20px 26px;
}

.footerPc__cols{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 40px;
  row-gap: 30px;
}

/* 見出し帯 */
.footerPc__title{
  width: 100%;
  padding-bottom: 10px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--footer-line);
  line-height: 1;
}

.footerPc__title > p{
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--footer-text);
  font-family: "Noto Serif JP", serif;   /* 見出しだけ明朝 */
}

/* 教室情報テーブル */
.footerPc__infoTable{
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 18px auto 10px;
}

.footerPc__infoTable th{
  width: 30%;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--footer-text-soft);
  text-align: left;
  vertical-align: top;
  padding-bottom: 12px;
  line-height: 160%;
  font-family: "Noto Sans JP", "Yu Gothic", "メイリオ", sans-serif;
}

.footerPc__infoTable td{
  width: 70%;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--footer-text);
  vertical-align: top;
  padding-bottom: 12px;
  line-height: 160%;
  font-family: "Noto Sans JP", "Yu Gothic", "メイリオ", sans-serif;
}

.footerPc__infoTable td > a{
  color: var(--footer-link);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.footerPc__infoTable td > a:hover{
  color: var(--footer-link-hover);
  opacity: .9;
}

/* PC：体験レッスンボタン（ブルー系で統一） */
.footerPc__cta{
  display: block;
  background-color: rgba(255,255,255,.12);
  width: 230px;
  margin: 20px 0 0;
  text-align: center;
  padding: 10px 0;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);
}

.footerPc__cta:hover{
  background-color: rgba(255,255,255,.18);
}

.footerPc__cta > a{
  display: block;
  position: relative;
  font-size: 14px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 1.5px;
  font-family: "Noto Sans JP", "Yu Gothic", "メイリオ", sans-serif;
  line-height: 1.6;
}

/* 右側の矢印（白で統一） */
.footerPc__cta > a::after{
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 0;
  height: 0;
  margin: -3px 0 0 0;
  border-top: 6px solid #ffffff;
  border-left: 6px solid transparent;
  transform: rotate(45deg);
}

/* PC：メニュー */
.footerPc__menu{
  width: 100%;
  padding-left: 0;
  margin: 0;
}

.footerPc__menu > li{
  width: 100%;
  list-style: none;
  padding: 7px 0;
  border-bottom: 1px solid var(--footer-line);
}

.footerPc__menu > li > a{
  position: relative;
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--footer-text);
  text-decoration: none;
  padding-left: 18px;
  font-family: "Noto Sans JP", "Yu Gothic", "メイリオ", sans-serif;
  font-weight: 400;
}

.footerPc__menu > li > a:hover{
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 矢印（白系） */
.footerPc__menu > li > a::before{
  content: "";
  position: absolute;
  top: 52%;
  left: 0;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid rgba(255,255,255,.75);
  border-right: 1.5px solid rgba(255,255,255,.75);
  transform: translateY(-50%) rotate(45deg);
}

/* PC：マップ */
.footerPc__map{
  width: 100%;
  margin-top: 18px;
  border-radius: var(--footer-radius);
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.14);
}

/* PC：コピーライト */
.footerPcCopyright{
  width: 100%;
  background: var(--footer-blue-dark);
  padding: 18px 10px;
}

.footerPcCopyright > p{
  font-size: 12px;
  color: rgba(255,255,255,.78);
  text-align: center;
  letter-spacing: 1px;
  font-family: "Noto Sans JP", "Yu Gothic", "メイリオ", sans-serif;
  font-weight: 400;
}

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

/* 体験レッスンCTA */
.footerSpCta{
  width: 100%;
  padding: 30px 0;
  background: var(--footer-blue);
}

.footerSpCta__title{
  width: 92%;
  margin: 0 auto;
  padding-bottom: 8px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--footer-line);
}

.footerSpCta__title > p{
  font-size: 18px;
  color: #ffffff;
  padding-bottom: 4px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 1.5px;
  font-family: "Noto Serif JP", serif;  /* SP見出しも明朝 */
}

.footerSpCta__text{
  width: 85%;
  margin: 0 auto 24px;
}

.footerSpCta__text > p{
  font-size: 14px;
  color: rgba(255,255,255,.88);
  letter-spacing: 1px;
  line-height: 180%;
  font-family: "Noto Sans JP", "Yu Gothic", "メイリオ", sans-serif;
  font-weight: 400;
}

/* SP：申込みボタン（ブルーの中で見える白系） */
.footerSpCta__btn{
  background: rgba(255,255,255,.14);
  width: 74%;
  margin: 0 auto 12px;
  border-radius: 999px;
  text-align: center;
  padding: 12px 0;
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 10px 20px rgba(0,0,0,.15);
}

.footerSpCta__btn > a{
  display: block;
  position: relative;
  font-size: 16px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 1.5px;
  font-family: "Noto Sans JP", "Yu Gothic", "メイリオ", sans-serif;
}

.footerSpCta__btn > a::after{
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 6px;
  height: 6px;
  border-top: 2px solid rgba(255,255,255,.85);
  border-right: 2px solid rgba(255,255,255,.85);
  transform: translateY(-50%) rotate(45deg);
}

/* SP：メニュー（2列維持） */
.footerSpMenu{
  width: 100%;
  background: var(--footer-blue);
  padding: 26px 0 18px;
  border-top: 1px solid var(--footer-line);
}

.footerSpMenu__inner{
  width: 95%;
  margin: 0 auto;
  display: flex;
}

.footerSpMenu__col{
  width: 50%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footerSpMenu__col--left{
  padding-left: 10px;
}

.footerSpMenu__col--right{
  padding-left: 10px;
  border-left: 1px solid var(--footer-line);
}

.footerSpMenu__item{
  list-style: none;
  position: relative;
  padding-left: 26px;
  padding-bottom: 14px;
}

.footerSpMenu__item > a{
  font-size: 14px;
  color: rgba(255,255,255,.92);
  text-decoration: none;
  letter-spacing: 1.5px;
  font-family: "Noto Sans JP", "Yu Gothic", "メイリオ", sans-serif;
  font-weight: 400;
}

.footerSpMenu__item > a:hover{
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footerSpMenu__item::before{
  content: "";
  position: absolute;
  top: 45%;
  left: 10px;
  width: 6px;
  height: 6px;
  border-top: 1.5px solid rgba(255,255,255,.75);
  border-right: 1.5px solid rgba(255,255,255,.75);
  transform: translateY(-50%) rotate(45deg);
}

/* SP：コピーライト */
.footerSpCopyright{
  width: 100%;
  clear: both;
  text-align: center;
  padding-top: 18px;
  padding-bottom: 60px;
  background: var(--footer-blue-dark);
  border-top: 1px solid rgba(255,255,255,.12);
}

.footerSpCopyright p{
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.78);
  line-height: 180%;
  letter-spacing: 1.5px;
  font-family: "Noto Sans JP", "Yu Gothic", "メイリオ", sans-serif;
  font-weight: 400;
}




/* =========================================================
   SP固定CTA（体験レッスンのみ / 上品グラデーション版）
   - スクロール時に位置が変わって見える問題を抑制（safe-areaと下余白を同期）
   ========================================================= */

:root{
  /* CTAバーの“実占有”高さの目安（バー上下padding + ボタンmin-height）
     padding-top 10 + padding-bottom 10 + min-height 50 = 70px */
  --sp-fixed-cta-space: 70px;
}

/* 固定CTA（SPのみ表示） */
#sp-fixed-cta{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 99;

  padding: 10px 12px;
  box-sizing: border-box;

  /* 背景：ほんのり紙感 + 透明感 */
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  /* 端末の安全領域（iPhoneホームバー）対応 */
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));

  /* iOSでfixedが描画ブレする対策（効く端末がある） */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

/* CTA本体リンク */
#sp-fixed-cta .sp-fixed-cta__link{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-height: 50px;
  box-sizing: border-box;

  text-decoration: none;
  border-radius: 14px;

  /* 上品オレンジグラデ */
  background: linear-gradient(135deg, #ff8a4a 0%, #ff6a2a 55%, #ff8740 100%);

  /* 立体感（控えめ） */
  box-shadow:
    0 10px 22px rgba(0,0,0,0.12),
    inset 0 1px 0 rgba(255,255,255,0.35);

  /* 枠は薄く */
  border: 1px solid rgba(255,255,255,0.22);

  /* タップ感 */
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
  -webkit-tap-highlight-color: transparent;

  /* 文字 */
  font-family: "Noto Sans JP", "Yu Gothic", "メイリオ", sans-serif;
  letter-spacing: 0.08em;
  color: #fff;
}

/* 五線譜っぽい細線（うっすら） */
#sp-fixed-cta .sp-fixed-cta__link::before{
  content: "";
  position: absolute;
  inset: 8px 12px;
  border-radius: 12px;
  pointer-events: none;

  background:
    linear-gradient(to bottom,
      rgba(255,255,255,0.18) 0%,
      rgba(255,255,255,0.18) 2%,
      rgba(255,255,255,0) 2%,
      rgba(255,255,255,0) 24%,
      rgba(255,255,255,0.18) 24%,
      rgba(255,255,255,0.18) 26%,
      rgba(255,255,255,0) 26%,
      rgba(255,255,255,0) 48%,
      rgba(255,255,255,0.18) 48%,
      rgba(255,255,255,0.18) 50%,
      rgba(255,255,255,0) 50%,
      rgba(255,255,255,0) 72%,
      rgba(255,255,255,0.18) 72%,
      rgba(255,255,255,0.18) 74%,
      rgba(255,255,255,0) 74%,
      rgba(255,255,255,0) 100%
    );
  opacity: 0.55;
}

/* ラベル */
#sp-fixed-cta .sp-fixed-cta__label{
  position: relative;
  padding-right: 36px; /* 右矢印分 */
  padding-left: 30px;  /* 左音符分 */
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

/* 左：音符 */
#sp-fixed-cta .sp-fixed-cta__label::before{
  content: "♪";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-52%);
  font-size: 18px;
  opacity: 0.9;
}

/* 右：矢印 */
#sp-fixed-cta .sp-fixed-cta__label::after{
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid rgba(255,255,255,0.95);
  border-right: 2px solid rgba(255,255,255,0.95);
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.2s ease;
}

/* hover / active */
#sp-fixed-cta .sp-fixed-cta__link:hover{
  filter: brightness(1.02);
}
#sp-fixed-cta .sp-fixed-cta__link:hover .sp-fixed-cta__label::after{
  transform: translateY(-50%) rotate(45deg) translateX(3px);
}
#sp-fixed-cta .sp-fixed-cta__link:active{
  transform: translateY(1px) scale(0.995);
  box-shadow:
    0 8px 18px rgba(0,0,0,0.12),
    inset 0 1px 0 rgba(255,255,255,0.30);
}

/* フォーカス可視化 */
#sp-fixed-cta .sp-fixed-cta__link:focus-visible{
  outline: 3px solid rgba(255,255,255,0.95);
  outline-offset: 3px;
}

/* CTA分の下余白（コンテンツが隠れないように） */
body{
  padding-bottom: calc(var(--sp-fixed-cta-space) + env(safe-area-inset-bottom, 0px));
}

/* PCでは非表示 + 余白解除 */
@media (min-width: 768px){
  .for-sp{ display: none; }
  body{ padding-bottom: 0; }
}

/* 動きを減らす（ユーザー設定に配慮） */
@media (prefers-reduced-motion: reduce){
  #sp-fixed-cta .sp-fixed-cta__link,
  #sp-fixed-cta .sp-fixed-cta__label::after{
    transition: none;
  }
}


/* ===== 文字アニメ：今回HTMLで使用しているものだけ ===== */

/* 初期状態（JSで文字を<span>分割して入る想定） */
.mojianime1 span,
.mojianime2 span,
.mojianime3 span,
.mojianime7 span{
  display: inline-block;
  opacity: 0;
  transform: translate(0, 0) rotateY(0deg);
  will-change: transform, opacity;
  backface-visibility: visible;
  transform-style: preserve-3d;
}

/* アニメーションごとの初期位置 */
.mojianime1 span{ transform: translate(-10px, -10px) rotateY(0deg); }
.mojianime2 span{ transform: translate(0, -10px) rotateY(0deg); }
.mojianime3 span{ transform: translate(0, 10px) rotateY(0deg); }
.mojianime7 span{ opacity: 0; transform: translateY(0); }




/* ===== 左からスライド：image-left-allのみ使用 ===== */
.image-left-all{
  opacity: 0;
  transform: translateX(-30px);
  transition: transform 1s ease-out, opacity 1s ease-out;
}
.image-left-all-active{
  transform: translateX(0);
  opacity: 1;
}


/* ふわっと下から（初期） */
.reveal{
  opacity: 0;
  transform: translateY(30px);
  transition: transform 1s ease-out, opacity 1s ease-out;
  will-change: transform, opacity;
}

/* 表示状態 */
.reveal.is-active{
  opacity: 1;
  transform: translateY(0);
}

/* 動きが苦手な人向け（推奨） */
@media (prefers-reduced-motion: reduce){
  .reveal{
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===========================
   SP固定メニュー PC非表示
=========================== */
@media (min-width: 768px){
  #sp-fixed-menu{
    display: none;
  }
}

@media (max-width: 767px){
  body{
    padding-bottom: 20px; /* 固定メニューの高さに合わせる */
  }
}
/* ===== SP固定CTAが原因の横スクロールを確実に潰す ===== */
#sp-fixed-cta,
#sp-fixed-cta *{
  box-sizing: border-box;
}

#sp-fixed-cta{
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
}
/* ===== 横はみ出し根本対策（最優先） ===== */
*, *::before, *::after{
  box-sizing: border-box;
}