@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;
　font-family: "Noto Sans JP", "Yu Gothic", "メイリオ", sans-serif;
　font-size:	16px;
}

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

/* ---------- Theme Variables ---------- */
:root{
  --header-bg-pc: rgba(255,255,255,0.78);   /* PC：白半透明 */
  --header-bg-sp: rgba(241,102,130,0.84);   /* SP：ピンク半透明 */
  --nav-bg: #f16682;                        /* グローバルメニュー：メインピンク */

  --text: #333333;
  --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 Sans JP", "Yu Gothic", "メイリオ", sans-serif;
  font-weight: 400;
  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(241,102,130,0.10);
  color: #f16682;
}

.header-hours{
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-size: 12px;
  letter-spacing: .6px;
  color: rgba(51,51,51,.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: #ffaa55;  /* 強調オレンジ */
  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: 16px;
  }



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

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

  /* 開いた状態（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; }
}

/* =========================
   サブメニュー
   ========================= */

.nav-item--has-sub{
  position: relative;
}

/* 親リンク */
.nav-parent-link{
  position: relative;
}

/* 矢印 */
.nav-parent-link::after{
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 7px;
  height: 7px;
  border-right: 1px solid rgba(255,255,255,.9);
  border-bottom: 1px solid rgba(255,255,255,.9);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.3s ease;
}

.nav-item--has-sub.is-open .nav-parent-link::after{
  transform: translateY(-20%) rotate(-135deg);
}

/* サブメニュー本体 */
.nav-submenu{
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--nav-bg);
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease;
}

/* =========================
   PC：下に重ねて表示
   ========================= */
@media (min-width: 769px){

  .nav-submenu{
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 50;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
  }

  .nav-item--has-sub.is-open .nav-submenu{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-submenu__item a{
    display: block;
    padding: 12px 10px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    text-align: center;
    font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
    border-top: 1px solid rgba(255,255,255,.18);
    background: var(--nav-bg);
  }

  .nav-submenu__item a:hover{
    opacity: .85;
  }
}

/* =========================
   SP：その場で下に開く
   ========================= */
@media (max-width: 768px){

  /* 通常メニューだけに矢印 */
  .nav-item:not(.nav-item--has-sub) 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);
  }

  .nav-submenu{
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transform: none;
  }

  .nav-item--has-sub.is-open .nav-submenu{
    max-height: 220px;
    opacity: 1;
    visibility: visible;
  }

  .nav-submenu__item a{
    display: block;
    padding: 12px 0 12px 15%;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
    border-top: 1px dashed rgba(255,255,255,.28);
    background: var(--nav-bg);
  }

  .nav-submenu__item a:hover{
    opacity: .8;
  }
}
/* =========================================
   見出しコンポーネント
   ========================================= */

/* ===== ベース ===== */
:root{
  --section-heading-margin-pc: 50px;
  --section-heading-margin-sp: 30px;
}

.section-heading{
  width: 100%;
  margin: var(--section-heading-margin-pc) auto;
  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: #333333;
  font-family: "Noto Sans JP", "Yu Gothic", "メイリオ", sans-serif;
  font-weight: 500;
  font-size: 26px;
}

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

/* ===== 下線 ===== */
.title-sen1{
  width: 40%;
  max-width: 150px;
  height: 3px;
  margin: 5px auto;
  background: #f38fa9;
  transform-origin: center;
  transform: scaleX(0);
  transition: transform 1.3s ease-out;
}

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

/* ===== 英語見出し ===== */
.section-heading__en{
  margin: 0;
  text-align: center;
  font-size: 17px;
  letter-spacing: 2px;
  color: #555555;
  font-family: "Noto Sans JP", "Yu Gothic", "メイリオ", sans-serif;
  font-weight: 500;
}

/* =========================================
   SP（スマホ）
   ========================================= */
@media (max-width: 767px){
  .section-heading{
    margin: var(--section-heading-margin-sp) auto;
  }

  .section-heading__main{
    font-size: 21px;
    letter-spacing: 1.5px;
  }

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

  .title-sen1{
    width: 40%;
    margin: 5px auto;
  }

  .section-heading__en{
    font-size: 16px;
    letter-spacing: 1.5px;
  }

  /* トップページは少し詰める */
  .top-page{
    --section-heading-margin-sp: 20px;
  }

  /* 下層ページは少しゆとりを残す */
  .sub-page{
    --section-heading-margin-sp: 40px;
  }
}
/* =========================================================
   HERO 完全安定版（整理済み）
   PC：右側に重ねる
   SP：画像の下に表示（重なり完全防止）＋ボタンはみ出し防止
   ========================================================= */

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

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

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

.hero__bg picture{
  display: block;
  width: 100%;
  height: 100%;
}

.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 Sans JP", "Yu Gothic", "メイリオ", sans-serif;
  font-size: 30px;
  font-weight: 500;
  color: #f16682;
  letter-spacing: 2px;
  line-height: 1.4;
}

.hero__lead{
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.8;
  color: #333333;
  text-align: left;
}

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

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

  background: #f16682;
  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(255,192,203,0.20);
    border-top: 1px solid rgba(241,102,130,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: 16px;
    margin-bottom: 18px;
    text-align: left;
	font-family: "Noto Sans JP", "Yu Gothic", "メイリオ", sans-serif;  
  }
.hero__btn{
font-family: "Noto Sans JP", "Yu Gothic", "メイリオ", sans-serif;
}
  /* ★ボタン：カード内に絶対収める（最強指定） */
  .hero__content-inner .hero__btn{
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;

    box-sizing: border-box !important;
    padding: 12px 16px !important;
    height: auto !important;

    margin: 0 !important;
    border-radius: 999px;
    text-align: center;
    font-family: "Noto Sans JP", "Yu Gothic", "メイリオ", sans-serif;
    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: 16px;
    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(241,102,130,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: #f16682;
  letter-spacing: .03em;
  padding-bottom: 10px;
}

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

/* ---------- Text ---------- */
.service-card__text{
  flex: 1;
  margin: 0 18px 20px;
  font-size: 16px;
  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:#f16682;
  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: 16px;
  }
}

/* ===============================
   スマホではみ出し完全防止
   =============================== */
@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
============================== */
.profile{
  --profile-accent: var(--nav-bg, #f16682);
  --profile-text: var(--text, #333333);
  --profile-text-soft: rgba(51, 51, 51, 0.82);
  --profile-border: rgba(241, 102, 130, 0.18);
  --profile-bg-soft: #fffafc;
  --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;
}

/* 左：写真 */
.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: 18px;
}

.profile__name{
  margin: 0 0 6px;
  font-size: 20px;
  line-height: 1.7;
  color: var(--profile-text);
  letter-spacing: 1px;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-weight: 600;
}

.profile__name-en{
  font-size: 0.9em;
  letter-spacing: 0.5px;
}

.profile__divider{
  width: 100%;
  margin-top: 8px;
}

/* 本文エリア */
.profile__body{
  width: 100%;
}

/* 経歴・職歴ブロック */
.profile-history{
  margin-top: 26px;
}

.profile-history:first-child{
  margin-top: 0;
}

.profile-history__title{
  position: relative;
  margin: 0 0 14px;
  padding-left: 14px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--profile-text);
  letter-spacing: 0.08em;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-weight: 700;
}

.profile-history__title::before{
  content: "";
  position: absolute;
  top: 0.35em;
  left: 0;
  width: 6px;
  height: 1.2em;
  background: var(--profile-accent);
  border-radius: 999px;
}

.profile-history__list{
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--profile-border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.profile-history__item{
  display: grid;
  grid-template-columns: 110px 1fr;
}

.profile-history__item + .profile-history__item{
  border-top: 1px solid var(--profile-border);
}

.profile-history__year{
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 14px 12px;
  background: var(--profile-bg-soft);
  border-right: 1px solid var(--profile-border);
  font-size: 16px;
  line-height: 1.7;
  color: var(--profile-text);
  letter-spacing: 0.06em;
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-weight: 700;
  text-align: center;
  box-sizing: border-box;
}

.profile-history__detail{
  padding: 14px 16px;
  box-sizing: border-box;
}

.profile-history__detail p{
  margin: 0;
  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-history__detail p + p{
  margin-top: 4px;
}

/* ==============================
PC
============================== */
@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;
  }
}

/* ==============================
SP
============================== */
@media (max-width: 767px){
  .profile-history__item{
    grid-template-columns: 1fr;
  }

  .profile-history__year{
    justify-content: flex-start;
    text-align: left;
    border-right: none;
    border-bottom: 1px solid var(--profile-border);
    padding: 10px 14px;
  }

  .profile-history__detail{
    padding: 12px 14px;
  }
  .profile-history__detail p{
    font-size: 16px;
  }	
	
	
}

/* ==============================
小さいスマホ
============================== */
@media (max-width: 420px){
  .profile__image{
    width: 260px;
    height: 346px;
  }

  .profile__name{
    font-size: 18px;
  }

  .profile-history__title{
    font-size: 17px;
  }

  .profile-history__detail p{
    font-size: 16px;
    line-height: 1.85;
  }
}
/* =========================
共通設定
========================= */
:root{
  --radius:14px;
  --accent:var(--nav-bg,#f16682);
  --text-main:var(--text,#333333);
  --text-soft:rgba(51,51,51,.78);
  --border-main:rgba(241,102,130,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:19px;
  margin:10px 0 12px;
  color:var(--accent);
  font-weight:500;
  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;
	font-size:22px;  
  }

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

}


/* =========================================
   診療時間表
   ========================================= */

.shinryoujikan-wrap{
  width: min(100%, 800px);
  margin: 0 auto;
  padding: 20px 0;
  background: #ffffff;
}

.shinryoujikan-table-wrap{
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.shinryoujikan-table{
  width: 100%;
  min-width: 700px;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
  border-top: 1px solid #dfdfdf;
  background: #ffffff;
}

.shinryoujikan-table th,
.shinryoujikan-table td{
  padding: 10px 0;
  text-align: center;
  border-left: 1px solid #dfdfdf;
  border-bottom: 1px solid #dfdfdf;
  box-sizing: border-box;
  font-family: "Noto Sans JP", "Yu Gothic", "メイリオ", sans-serif;	
}

.shinryoujikan-table th{
  width: 200px;
  color: #ffffff;
  background: #f16682;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 3px;
  padding-right: 2%;
  padding-left: 2%;
}

.shinryoujikan-table td{
  width: 85px;
  background: #ffffff;
  color: #333333;
  font-weight: 700;
  font-size: 13px;
}

.shinryoujikan-table td:last-child{
  border-right: 1px solid #dfdfdf;
}

.shinryoujikan-note{
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.8;
  color: #333333;
  font-family: "Noto Sans JP", "Yu Gothic", "メイリオ", sans-serif;	
}

/* =========================================
   SP
   ========================================= */
@media (max-width: 767px){
  .shinryoujikan-wrap{
    width: 92%;
    padding: 16px 0;
  }

  .shinryoujikan-table th{
    font-size: 13px;
    letter-spacing: 1px;
    width: 140px;
    white-space: nowrap;
  }

  .shinryoujikan-table td{
    font-size: 13px;
    width: 60px;
    white-space: nowrap;
  }

  .shinryoujikan-note{
    font-size: 13px;
    line-height: 1.7;
  }
}


/* =========================
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, #333333);
  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(241,102,130,0.50);
  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(241,102,130,0.28);
}
.card-accordion-btn:focus-visible{
  outline:2px solid rgba(241,102,130,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(241,102,130,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, #f16682);
  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(51,51,51,.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:16px;
  }
  .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:16px;
  }
}
/* 動きを減らす */
@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,#f16682);
  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(241,102,130,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(241,102,130,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(241,102,130,0.35);
  outline-offset:3px;
}
@media (max-width:767px){
  .qa-more{
    margin:26px auto 0;
  }
  .qa-more__btn{
    font-size:16px;
    padding:13px 16px;
  }
}
@media (prefers-reduced-motion:reduce){
  .qa-more__btn{
    transition:none;
  }
}


/* =========================
   アクセス（完全レスポンシブ）
========================= */

.access{
  width: 100%;
  margin: 0 auto 40px;
  box-sizing: border-box;
}

/* GoogleMap：比率固定（PC/SPで崩れない） */
.access__map{
  width: min(800px, 92%);
  margin: 0 auto 20px;
  position: relative;

  /* 16:9にしたい場合 */
  aspect-ratio: 16 / 9;

  /* 見た目が既存の雰囲気に合うなら */
  border-radius: 10px;
  overflow: hidden;
}

/* iframeを枠にフィット */
.access__map > iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* 文章 */
.access__text{
  width: min(750px, 92%);
  margin: 0 auto;
  box-sizing: border-box;
}

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

/* SP微調整（必要なら） */
@media (max-width: 767px){
  .access{
    margin-bottom: 40px;
  }

  .access__map{
    width: 100%;
    margin: 0 auto 20px;
    border-radius: 0;          /* 端まで使うなら0に */
    aspect-ratio: 4 / 3;       /* スマホは縦を少し高めにしたい場合 */
  }

  .access__text{
    width: 85%;
  }

  .access__text > p{
    font-size: 16px;
    color: #3f3f3f;            /* 既存SPの色に寄せるなら */
  }
}


/* =========================
Contact（2列版）
========================= */
.contact{
  --contact-accent:var(--nav-bg,#f16682);
  --contact-text:var(--text,#333333);
  --contact-text-soft:rgba(51,51,51,.78);
  --contact-border:rgba(241,102,130,0.18);
  --contact-radius:14px;
  position:relative;
  width:100%;
  max-width:1280px;
  margin:30px auto 0;
  padding:0 16px 40px;
  box-sizing:border-box;
  text-align:center;
  font-family:"Noto Sans JP","Yu Gothic","メイリオ",sans-serif;

}

.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:16px;
  line-height:1.8;
  text-align:center;
}

.contact__inner{
  wwidth: min(720px, 92%);  
  margin:0 auto;
  padding:28px 18px;
  box-sizing:border-box;
  border-radius:var(--contact-radius);
}

.contact__grid{
  display:grid;
  grid-template-columns:repeat(2, 400px);
  justify-content:center;
  gap:20px;
}

.contact-card{
  position:relative;
  padding:18px 14px;
  text-align:left;
  background:#ffffff;
  border:3px solid var(--contact-border);
  border-radius:var(--contact-radius);
}

.contact-card__title{
  margin:0 0 12px;
  text-align:center;
  font-size:18px;
  font-weight:700;
  letter-spacing:.02em;
  color:#333333;
  font-family:"Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  padding-bottom:10px;
  border-bottom:1px solid rgba(51,51,51,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;
  text-align:center;
}

.contact-card__tel{
  font-size:28px;
  font-weight:700;
  color:var(--contact-accent);
  text-decoration:none;
  line-height:1.4;
}

.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:16px;
  color:#fff;
  text-align:center;
  transition:opacity .2s ease, transform .02s ease, box-shadow .2s ease;
}

.contact-btn:active{
  transform:translateY(1px);
}

.contact-btn--tel{
  background:linear-gradient(90deg,var(--contact-accent),#f38fa9);
  box-shadow:0 4px 12px rgba(241,102,130,.18);
}

.contact-btn--line{
  background:#06C755;
  box-shadow:0 4px 12px rgba(6,199,85,.22);
}

.contact-btn:hover{
  opacity:.92;
}

@media (max-width:767px){
  .contact{
    margin:20px auto 0;
    padding:0px 14px 50px;
  }

  .contact__inner{
    padding:26px 14px;
  }

  .contact__notes{
    margin:0 auto 18px;
    text-align:left;
  }

  .contact__grid{
    grid-template-columns:1fr;
    gap:20px;
  }

  .contact-btn{
    width:100%;
  }

  .contact-card__tel{
    font-size:24px;
  }
}

@media (prefers-reduced-motion:reduce){
  .contact-btn{
    transition:none;
  }
}



/* =========================
   料金表
   ========================= */

.price-list{
  padding: 0 20px 90px;
  background:#ffffff;
}

/* PCで中央700px */
.price-list__inner{
  width:100%;
  max-width:700px;
  margin:0 auto;
}

.price-list__box{
  width:100%;
  border:1px solid #f2c9d2;
  border-radius:12px;
  overflow:hidden;
  background:#fff;
}

.price-list__items{
  margin:0;
  padding:0;
}

/* 1行 */
.price-list__row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;

  padding:20px 70px;
  border-bottom:1px solid #eeeeee;
}

.price-list__row:last-child{
  border-bottom:none;
}

/* メニュー */
.price-list__menu{
  margin:0;
  font-size:16px;
  color:#333;
  font-family:"Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  letter-spacing:1px;
}

/* 金額 */
.price-list__price{
  margin:0;
  font-size:20px;
  font-weight:700;
  color:#333;
  text-align:right;
  white-space:nowrap;
}

.price-list__tax{
  font-size:14px;
  font-weight:400;
  margin-left:4px;
}

/* =========================
   タブレット
   ========================= */

@media (max-width:900px){

.price-list__row{
  padding:18px 20px;
}

.price-list__menu{
  font-size:16px;
}

.price-list__price{
  font-size:18px;
}

}

/* =========================
   スマホ
   ========================= */

@media (max-width:768px){

.price-list{
  padding:0 14px 70px;
}

.price-list__inner{
  max-width:100%;
}

.price-list__row{
  padding:16px 16px;
  gap:12px;
}

/* スマホでも横並び維持 */
.price-list__menu{
  font-size:16px;
}

.price-list__price{
  font-size:17px;
  font-family: "Noto Sans JP", "Yu Gothic", "メイリオ", sans-serif;	
}

.price-list__tax{
  font-size:14px;
  font-family: "Noto Sans JP", "Yu Gothic", "メイリオ", sans-serif;	
}

}

/* 小さいスマホ */

@media (max-width:480px){

.price-list__row{
  padding:14px 14px;
}

.price-list__menu{
  font-size:14px;
}

.price-list__price{
  font-size:16px;
}

.price-list__tax{
  font-size:12px;
}

}


/* =========================
   施術説明
   ========================= */

.treatment-intro{
  padding: 0px 20px 50px;
  background:#ffffff;
}

.treatment-intro__inner{
  width:100%;
  max-width:980px;
  margin:0 auto;
}

/* 横並びレイアウト */

.treatment-intro__grid{
  display:flex;
  align-items:center;
  gap:50px;
}

/* 写真 */

.treatment-intro__photo{
  flex:0 0 45%;
}

.treatment-intro__photo img{
  width:100%;
  height:auto;
  display:block;
  border-radius:12px;
}

/* テキスト */

.treatment-intro__text{
  flex:1;
}

.treatment-intro__title{
  margin:0 0 20px;
  font-size:26px;
  font-weight:600;
  color:#333;
  letter-spacing:1px;
  font-family:"Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
}

.treatment-intro__text p{
  margin:0 0 16px;
  font-size:16px;
  line-height:1.9;
  color:#444;
  letter-spacing:0.5px;
  font-family:"Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
}


/* =========================
   タブレット
   ========================= */

@media (max-width:900px){

.treatment-intro__grid{
  gap:40px;
}

.treatment-intro__title{
  font-size:22px;
}

.treatment-intro__text p{
  font-size:16px;
}

}


/* =========================
   スマホ
   ========================= */

@media (max-width:768px){

.treatment-intro{
  padding:0px 14px 40px;
}

.treatment-intro__grid{
  flex-direction:column;
  gap:24px;
}

.treatment-intro__photo{
  width:100%;
}
.treatment-intro__title{
  font-size:20px;
}
.treatment-intro__text{
  width:100%;
}

.treatment-intro__text p{
  font-size:16px;
  line-height:1.8;
}

}


/* 小さいスマホ */

@media (max-width:480px){

.treatment-intro__title{
  font-size:18px;
}

.treatment-intro__text p{
  font-size:16px;
}

}



/* =========================================================
   交通事故治療の流れ
========================================================= */

:root{
  --tf-text: var(--text, #404040);
  --tf-border: var(--border, #cccccc);
  --tf-card-bg: #ffffff;

  --tf-shadow: 4px 4px 0 rgba(0,0,0,0.10);

  --tf-num-color: #ff87a0;
  --tf-arrow-color: var(--tf-num-color);

  --tf-num-size: 50px;
  --tf-arrow-size: 12px;

  --tf-num-shift-y: 7px;
}

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

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

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

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

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

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

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

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

  background: none;
  border: none;

  font-family: "Noto Serif JP", serif;
  font-weight: 400;

  font-size: calc(var(--tf-num-size) * 0.9);
  line-height: 1;

  color: var(--tf-num-color);
  text-shadow: 1px 1px 0 rgba(0,0,0,0.10);

  transform-origin: center;
  transform: translateY(var(--tf-num-shift-y));
}

.jiko-flow__num::after{
  content: ".";
  margin-left: 2px;
}

.jiko-flow__title{
  margin: 0;
  padding: 6px 0 10px;
  padding-left: calc(var(--tf-num-size) + 14px);

  font-size: 24px;
  letter-spacing: 1px;
  color: var(--tf-text);
  font-family: "Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-weight: 500;

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

.jiko-flow__text{
  margin: 0;
  padding-top: 12px;

  font-size: 16px;
  line-height: 180%;
  letter-spacing: 1px;
  color: var(--tf-text);
  font-family: "Noto Sans JP", "Yu Gothic", "メイリオ", sans-serif;
}

.jiko-flow__arrow{
  width: 0;
  height: 0;
  margin: 30px auto 18px;

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

.jiko-flow__item:last-child .jiko-flow__arrow{
  display: none;
}

@media (max-width: 767px){

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

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

  .jiko-flow__card{
    padding: 20px 16px 16px;
  }

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

  .jiko-flow__text{
    font-size: 16px;
  }

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

}

/* =========================================
   交通事故治療説明
========================================= */

.jiko-info{
  width:100%;
  margin-bottom:100px;
  box-sizing:border-box;
}

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

/* ボックス */

.jiko-info__box{
  margin-bottom:50px;
}

/* タイトル */

.jiko-info__title{
  margin:0 0 16px;

  font-size:22px;
  letter-spacing:1px;
  color:#333;

  font-family:"Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
  font-weight:600;

  border-left:5px solid var(--nav-bg,#f16682);
  padding-left:12px;
}

/* 本文 */

.jiko-info__text{
  margin:0;

  font-size:16px;
  line-height:180%;
  letter-spacing:1px;
  color:#404040;

  font-family:"Noto Sans JP","Yu Gothic","メイリオ",sans-serif;
}


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

@media (max-width:767px){

  .jiko-info{
    margin-bottom:80px;
  }

  .jiko-info__title{
    font-size:19px;
  }

  .jiko-info__text{
    font-size:16px;
  }

}


























/* 駐車場セクション */
.parking{
  padding: 80px 20px;
  background:#fff;
}

.parking-inner{
  width:min(100%,800px);
  margin:0 auto;
}

/* タイトル */
.parking-title{
  text-align:center;
  font-size:clamp(22px,3vw,28px);
  line-height:1.4;
  margin-bottom:50px;
}

/* 写真＋テキスト */
.parking-content{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:40px;
  margin-bottom:100px;
}

/* 写真 */
.parking-photo{
  flex:0 0 400px;
  width:400px;
}

.parking-photo img{
  width:100%;
  height:auto;
  display:block;
  border-radius:6px;
}

/* テキスト（アクセスと完全統一） */
.parking-text{
  flex:0 1 500px;
  max-width:500px;

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

  text-align:left;
}

/* タブレット */
@media screen and (max-width:900px){

.parking{
  padding:70px 20px;
}

.parking-title{
  margin-bottom:40px;
}

.parking-content{
  gap:30px;
  margin-bottom:80px;
}

.parking-photo{
  flex:0 0 320px;
  width:320px;
}

.parking-text{
  flex:1 1 auto;
  max-width:460px;
  font-size:16px;
}

}

/* スマホ */
@media screen and (max-width:768px){

.parking{
  padding:60px 16px;
}

.parking-title{
  margin-bottom:30px;
}

.parking-content{
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap:24px;
  margin-bottom:60px;
}

.parking-photo{
  flex:none;
  width:min(100%,400px);
}

.parking-text{
  width:min(100%,500px);
  max-width:500px;
  font-size:16px;
}

}

/* 小さいスマホ */
@media screen and (max-width:480px){

.parking{
  padding:50px 12px;
}

.parking-title{
  font-size:22px;
  margin-bottom:24px;
}

.parking-content{
  gap:20px;
  margin-bottom:50px;
}

.parking-photo{
  width:100%;
}

.parking-photo img{
  border-radius:4px;
}

.parking-text{
  font-size:16px;
  line-height:180%;
}

}


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

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

/* ---------- Footer Theme Variables ---------- */
:root{
  /* 既にヘッダー側で使っている場合は統一OK */
  --footer-blue: #f16682;
  --footer-blue-dark: #d85d79;
  --footer-blue-soft: rgba(241,102,130,.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 Sans JP", "Yu Gothic", "メイリオ", sans-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 Sans JP", "Yu Gothic", "メイリオ", sans-serif;
}

.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：メニュー（1列表示） */
.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;
}

/* 列を1列にする */
.footerSpMenu__col{
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 左右の装飾を削除 */
.footerSpMenu__col--left{
  padding-left: 10px;
}

.footerSpMenu__col--right{
  padding-left: 10px;
  border-left: none;
}

.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
   ========================================================= */

:root{
  --sp-fixed-cta-space: 84px;
  --sp-fixed-cta-accent: #f16682;
  --sp-fixed-cta-accent-hover: #e45f7a;
  --sp-fixed-cta-text: #ffffff;
  --sp-fixed-cta-shadow: rgba(241,102,130,0.22);
}

/* 固定CTA全体 */
#sp-fixed-cta,
#sp-fixed-cta *{
  box-sizing: border-box;
}

#sp-fixed-cta{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;

  width: 100%;
  max-width: 100%;
  z-index: 9999;

  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));

  background: rgba(255,255,255,0.82);


  box-shadow: 0 -4px 14px rgba(0,0,0,0.06);

  /* Chromeでの固定位置ズレ対策 */
  transform: none;
  -webkit-transform: none;
}

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

  width: 100%;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 999px;

  text-decoration: none;
  background: var(--sp-fixed-cta-accent);
  color: var(--sp-fixed-cta-text);
  border: 1px solid rgba(255,255,255,0.35);

  box-shadow:
    0 8px 18px var(--sp-fixed-cta-shadow),
    inset 0 1px 0 rgba(255,255,255,0.22);

  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease;

  -webkit-tap-highlight-color: transparent;
}

/* ラベル */
#sp-fixed-cta .sp-fixed-cta__label{
  position: relative;
  display: inline-block;
  padding-right: 22px;

  font-family: "Noto Sans JP", "Yu Gothic", "メイリオ", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-align: center;
}

/* 右矢印 */
#sp-fixed-cta .sp-fixed-cta__label::after{
  content: "";
  position: absolute;
  top: 50%;
  right: 2px;
  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);
}

/* hover */
#sp-fixed-cta .sp-fixed-cta__link:hover{
  background: var(--sp-fixed-cta-accent-hover);
}

/* active */
#sp-fixed-cta .sp-fixed-cta__link:active{
  box-shadow:
    0 6px 14px var(--sp-fixed-cta-shadow),
    inset 0 1px 0 rgba(255,255,255,0.18);
}

/* focus */
#sp-fixed-cta .sp-fixed-cta__link:focus-visible{
  outline: 3px solid rgba(241,102,130,0.22);
  outline-offset: 3px;
}

/* SP：CTA分の下余白 */
@media (max-width: 767px){
  body{
    padding-bottom: calc(var(--sp-fixed-cta-space) + env(safe-area-inset-bottom, 0px));
  }
}

/* PCでは非表示 */
@media (min-width: 768px){
  #sp-fixed-cta,
  .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;
  }
}


/* ===== 横はみ出し根本対策（最優先） ===== */
*, *::before, *::after{
  box-sizing: border-box;
}

.pc-br {
  display: none;
}

@media screen and (min-width: 768px) {
  .pc-br {
    display: inline;
  }
}

.sp-br {
  display: inline;
}

@media screen and (min-width: 768px) {
  .sp-br {
    display: none;
  }
}