@charset "utf-8";

/* =========================================================
  00) TOKENS / VARIABLES
  - ここだけ触れば全体が変わる（色・余白・影・ブレイクポイント）
========================================================= */
:root{
  /* Brand */
  --main-color: #ff9131;
  --font-color: #fefefe;

  /* Layout */
  --container-max: 1166px;
  --container-w: 92%;

  /* Header */
  --header-h-desktop: 64px;
  --header-h-mobile: 64px;
  --header-bg: var(--main-color);
  --header-fg: var(--font-color);
  --header-pad-x: clamp(12px, 4vw, 24px);

  /* Button / CTA */
  --btn-radius: 999px;
  --btn-padding-y: 1rem;
  --btn-padding-x: 2.2rem;
  --btn-font-size: clamp(1rem, 2.5vw, 1.1rem);
  --btn-min-h: 52px;

  --btn-shadow: 0 10px 25px rgba(0,0,0,0.15);
  --btn-shadow-hover: 0 16px 35px rgba(0,0,0,0.22);

  --glass-opacity: 0.15;
  --glass-blur: 8px;

  --transition: 0.3s ease;

  /* Menu Images */
  --img-ratio: 4 / 5;
  --img-radius: 2px;

  --menu-gap: 14px;

  /* Hero Marquee */
  --marquee-opacity: 0.4;
  --marquee-speed: 18s;

  /* Section (一部で使用している変数：未定義があったので安全値を入れておく) */
  --section-padding-y: 70px;
  --gap-cta: 18px;
  --font-size-lead: 32px;
}


/* =========================================================
  01) BASE / RESET
========================================================= */
body{
  margin: 0;
  background-color: var(--main-color);
  font-family: "Poppins", sans-serif;

  /* ヘッダー固定の分だけ本文を下げる（PC） */
  padding-top: var(--header-h-desktop);
}
html, body{ overflow-x: hidden; }
h2{
  font-size: 1.5rem;
  font-weight: 300;
}
h3{
  font-size: 1.3rem;
  font-weight: 500;
}

p{
  color: var(--font-color);
  text-align: center;
  line-height: 2em;
  padding-top: 16px;
    font-family:  sans-serif;

}

a{
  text-decoration: none;
  color: var(--font-color);
}

/* NOTE: これは「aの中の.blog」にしか効かないので残してあるだけ
   .blog自体に効かせたいなら `.blog{ color: black; }` が正しい */
a .blog{
  color: black;
}
*, *::before, *::after{ box-sizing: border-box; }

/* =========================================================
  02) TYPOGRAPHY (Project-specific headings)
========================================================= */
.h-2{
  font-size: clamp(48px, 5vw, 68px);
  color: var(--font-color);
  text-align: center;
  padding-top: 1em;
  font-family: "Parisienne", cursive;
  font-weight: lighter;
}

.h-3{
  color: var(--main-color);
  text-align: left;
  padding-top: 2em;
  font-family: "Parisienne", cursive;
  font-weight: 400;
}

.h-3rubi{
  color: var(--main-color);
  text-align: left;
  padding-top: 0;
  font-family: "Parisienne", cursive;
  font-weight: 500;
  margin-top: 80px;
}
.h-3rubi2{
  color: var(--main-color);
  text-align: left;
  /* 元CSSは `padding-top: em;` で無効 → 0に固定（意図があるなら数値に） */
  padding-top: 0;
  font-family: "Parisienne", cursive;
}
.h-3rubi3{
font-family: sans-serif;
}
.h-Ito{
  color: var(--font-color);
  /* 元CSSは `padding-top: em;` で無効 → 0に固定 */
  padding-top: 0;
  text-align: center;
  font-family: "Parisienne", cursive;
  font-weight: 400;
}
li.h-3 .h-3rubi2{
  font-family: sans-serif;
}
.h-Ito2{
  color: var(--main-color);
  /* 元CSSは `padding-top: em;` で無効 → 0に固定 */
  padding-top: 20px;
  text-align: center;
  font-family: sans-serif;
  font-weight: 400;
}
.h-ito2-p{
padding: 50px 50px 100px 50px;
}

/* =========================================================
  03) LAYOUT / CONTAINER
========================================================= */
.w-container{
  width: min(var(--container-w), var(--container-max));
  margin: auto;
}

.main-contents{
  display: none;
}


/* =========================================================
  04) HEADER / NAV
========================================================= */
header{
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;
  height: var(--header-h-desktop);
  z-index: 9999;

  background: var(--header-bg);
  display: flex;
  align-items: center;
}

header .w-container{
  width: 100%;
  padding: 0 var(--header-pad-x);
  box-sizing: border-box;
}

.nav-wrapper{
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: static; /* stickyは事故るので使わない */
}

.category-list{
  display: flex;
  gap: clamp(10px, 2vw, 18px);
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--header-fg);
}

.category-list li{
  margin: 0;
  padding: 0;
}

.category-list a{
  color: var(--header-fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
}

/* 使ってるなら残す（未使用なら後で削除OK） */
.list{
  list-style: none;
  color: var(--main-color);
}


/* =========================================================
  05) HERO
========================================================= */
.hero{
  position: relative;
  height: 120vh;
  width: 100%;
  overflow: hidden;
}

.hero-img-wrapper{
  position: absolute;
  inset: 0;
  z-index: 1;
}


/* スマホ */
@media screen and (max-width: 768px) {
  .hero{
  height: 80vh;
}
  .hero-img-wrapper {
    height: 80vh;  
  }
  .menu-img{
    height: 250px;
  }
}
/* スマホここまで↑ */


:root{
  /* 既存値を変数化（後で調整しやすい） */
  --hero-brand-left: 3%;
  --hero-brand-bottom: 5%;
  --hero-brand-shadow: 5px 5px 10px rgba(0,0,0,0.16);

  /* H1（講習会タイトル）の位置：必要ならここで調整 */
  --hero-seo-left: 3%;
  --hero-seo-top: 10%;
  --hero-seo-max-width: 92%;
}

/* 画像はそのまま */
.hero-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ✅ absoluteを効かせるための基準 */
.hero{
  position: relative;
}

/* ✅ ブランド名（元のh1の見た目を移植） */
.hero-brand{
  position: absolute;
  left: var(--hero-brand-left);
  bottom: var(--hero-brand-bottom);
  z-index: 10;
  font-size: clamp(1.25rem, 0.55rem + 9.5vw, 7.5rem);
  color: var(--font-color);
  font-weight: bold;
  text-shadow: var(--hero-brand-shadow);
  margin: 0; /* divなので念のため */
}

/* ✅ H1（講習会タイトル）：読める位置に出す（デザインは控えめ） */
.hero-seo-title{
  position: absolute;
  left: var(--hero-seo-left);
  top: var(--hero-seo-top);
  z-index: 11;            /* ブランドより上に */
  max-width: var(--hero-seo-max-width);
  margin: 0;
  color: var(--font-color);
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 4px 14px rgba(0,0,0,0.28);

  /* 読める程度に小さめ（必要なら調整） */
  font-size: clamp(1rem, 0.7rem + 1.6vw, 1.75rem);
}

/* 既存のリード文はそのまま */
.hero-lead{
  margin: 30px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.5;
  color: var(--font-color);
  margin-bottom: 40px;
  font-family: sans-serif;
}

:root{
  --page-title-padding-y: clamp(40px, 6vw, 90px);
  --page-title-main-size: clamp(1.6rem, 1rem + 2vw, 2.8rem);
  --page-title-sub-size: clamp(0.95rem, 0.8rem + 0.6vw, 1.2rem);
  --page-title-color: var(--font-color);
}

/* セクション中央寄せ */
.page-title{
  text-align: center;
  padding: var(--page-title-padding-y) 0;
}

/* H1 */
.page-title__main{
  font-size: var(--page-title-main-size);
  font-weight: 600;
  margin: 0;
  color: var(--font-color);
  line-height: 1.4;
}
.page-title__main2{
  font-size: var(--page-title-main-size);
  font-weight: 400;
  margin: 0 0 30px 0;
  color: var(--main-color);
  line-height: 1.4;
}

/* サブコピー */
.page-title__sub{
  margin-top: 12px;
  font-size: var(--page-title-sub-size);
  color: var(--page-title-color);
  opacity: 0.85;
}

/* Marquee */
.woman-container{
  --gap-y: clamp(12px, 3vh, 28px);
  --marquee-h: clamp(56px, 10vh, 120px);
  position: relative;
  width: 100%;
  height: var(--marquee-h);
  overflow:hidden;
  pointer-events: none;
}

.woman{
  position: absolute;
  top: 2%;
  transform: translateY(-50%) translateX(100%);
  white-space: nowrap;

  font-size: clamp(2.5rem, 8vw, 8rem);
  line-height: 1.5;

  color: var(--font-color);
  opacity: var(--marquee-opacity);
  -webkit-text-stroke: 1px var(--font-color);
  -webkit-text-fill-color: transparent;

  animation: woman-slide var(--marquee-speed) linear infinite;
}

@keyframes woman-slide{
  0%   { transform: translateY(-50%) translateX(100%); }
  100% { transform: translateY(-50%) translateX(-120%); }
}

.fukuroi{
  position: absolute;
  top: 15%;
  right: 10%;
  z-index: 10;
    font-size: clamp(1.05rem, 0.7rem + 1.8vw, 1.8rem);
  text-shadow: 0 0 10px rgb(0, 0, 0);
  writing-mode: vertical-rl;
  text-orientation: upright;
}

@media (max-width: 768px) {
  .fukuroi {
    font-size: clamp(1.05rem, 0.7rem + 1.8vw, 1.8rem);
right: 2%;
  }
}

/* =========================================================
  06) COMPONENTS
========================================================= */
/* ---- CTA wrapper (hero) ---- */
.hero-cta{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--gap-cta);
  flex-wrap: wrap;
  margin-top: 70px;
  margin-bottom: 70px;
}

/* ---- Buttons (Base) ---- */
.btn{
  /* 見た目ベース */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;

  /* 基本動作 */
  cursor: pointer;
  white-space: nowrap;

  /* 見た目 */
  font-size: var(--btn-font-size);
  font-weight: 600;
  padding: var(--btn-padding-y) var(--btn-padding-x);
  border-radius: var(--btn-radius);
  min-height: var(--btn-min-h); 
  transition: all var(--transition);
  -webkit-tap-highlight-color: transparent;
}

/* ---- Primary / Ghost (ベース色は各自で拡張) ---- */
.btn-primary{
  color: var(--font-color);
  border: none;
    border: 1px solid var(--font-color);

}


.btn-primary:hover{
  background-color: var(--font-color);
  transform: translateY(-2px);
  color: var(--main-color);
}

.btn-ghost{
  color: var(--font-color);
  border: none;
    border: 1px solid var(--font-color);

}
.btn-ghost:hover{
  background-color: var(--font-color);
  transform: translateY(-2px);
  color: var(--main-color);
}

/* ---- CTA Glass Button ---- */
.hiroe-line{
  text-align: center;
  margin-top: 2.5rem;
}

.btn-glass{
  position: relative;

  /* 変数名はプロジェクトに合わせて統一 */
  color:var(--main-color);
  box-shadow: var(--btn-shadow);
  border: 1px solid var(--main-colar);
}

@media (hover:hover){
  .btn-glass:hover{
    transform: translateY(-3px);
    box-shadow: var(--btn-shadow-hover);
    filter: brightness(1.05);
    background-color: var(--main-color);
    color: var(--font-color);
  }
  .btn-glass:hover .btn-arrow{
    transform: translateX(4px);
  }
}

.btn-glass:active{
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  filter: brightness(0.95);
}

.btn-arrow{
  transition: transform var(--transition);
}

/* ---- Slide Text (下線スライド) ---- */
.slide-text{
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin: 0;
  position: relative;
}

.slide-text a{
  color: var(--main-color);
}

.slide-text a:hover{
  color: var(--font-color);
  background-color: var(--main-color);
  padding: 10px;
  /* 元CSSは `border-radius: px;` で無効 → 0に固定（必要なら数値へ） */
  border-radius: 0;
}

.slide-in{
  position: absolute;
  right: 0;
  bottom: -6px;
  width: 20%;
  border-bottom: 2px solid var(--main-color);
  transform-origin: left;
  animation: slide 2s ease-in-out infinite;
}

@keyframes slide{
  0%   { transform: scaleX(0); opacity: .2; }
  50%  { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(0); opacity: .2; }
}

/* ---- Video ---- */
.video-section{
  margin: 100px auto;
}
.video-wrapper{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
}

.video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* =========================================================
  07) SECTION: MENU
========================================================= */
.menu{
  position: relative;
}

.menu-wrapper{
  width: 100%;
  background-image: url("../img/orange-kabe.jpg");
  background-size: contain;
  margin: auto;
  object-fit: cover;
}

/* Images */
.menu-img{
  width: 80%;
  aspect-ratio: var(--img-ratio);
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: var(--img-radius);
  display: block;
  margin: 0 auto;
padding-top: 16px;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.058);


}


/* Grid */
.grid-container{
  display: grid;
 gap: var(--menu-gap);
  grid-template-columns: 1fr; /* mobile */
}

.grid-container2{
  display: grid;
 gap: var(--menu-gap);
  grid-template-columns: 1fr; /* mobile */
  align-items: stretch;
}

.menu-container{
  display: flex;
  flex-direction: column;
  height: 100%;
 gap: 2px;
  border: solid 2px;
  border-radius: 8px;
  color: var(--font-color);
}

.menu-container .card{
  flex: 1;
  display: flex;
  flex-direction: column;
}

.menu-container .card .small{
  margin-top: 80px;
}


.small a{
  color: var(--font-color);
  background-color: var(--main-color);
  border: solid 1px;
    text-align: center;

}

/* NOTE: `.small :hover` は「small配下の全要素」に効いて事故りやすい。
   たぶん `.small a:hover` が正しいので置き換え。 */
.small a:hover{
  background-color: var(--font-color);
  color: var(--main-color);
}

.mini-mese-text{
  text-align: center;
}

.menu-name{
  margin: 8px 0 4px;
  font-size: 18px;
  text-align: center;
  color: var(--font-color);
  font-weight: 500;
}

.menu-title{
  margin: 0 16px 14px 16px;
}

.menu-title2{
  margin: 0 16px 14px 16px;
  text-align: left;
}






/* =========================================================
  09) SECTION: Selected Ingredients (こだわり)
========================================================= */
.Selected-Ingredients{
  position: relative;
  width: 100%;
  background-image: url("haikei.w.png");
  background-size: cover;
  background-repeat: no-repeat;
  padding-top: 50px;
}

/* 本文の箱 */
.Selected-Ingredients-text{
  --content-pad: clamp(16px, 6vw, 64px);

  width: min(var(--container-w), var(--container-max));
  margin: 0 auto;
  padding: var(--content-pad);
  box-sizing: border-box;

  text-align: center;
  font-family: sans-serif;

  font-size: clamp(14px, 3.6vw, 20px);
  line-height: 1.8;
}

.grid .card.Selected-Ingredients-text{
  width: min(720px, 92%);
  margin: 0 auto;
}
:root{ --synapse-max: 780px; }

.synapse-center{
  width: min(92%, var(--synapse-max));
  margin: 0 auto;
}


/* pの折り返し */
.Selected-Ingredients-text p{
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  text-align: left;
}

/* 色（このセクションだけオレンジにしたい意図を尊重） */
.Selected-Ingredients h2,
.Selected-Ingredients p{
  font-weight: 300;
  padding-top: 2px;
  color: #fc7703;
}

/* blur animation */
.blur{
  animation-name: blurAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}

@keyframes blurAnime{
  from{
    filter: blur(10px);
    transform: scale(1.02);
    opacity: 0;
  }
  to{
    filter: blur(0);
    transform: scale(1);
    opacity: 1;
  }
}

/* JSが動かないと永遠に透明になる事故の保険 */
.blurTrigger{
  opacity: 1;
  width: 100%;
  margin-bottom: clamp(24px, 6vw, 100px);
}

/* JSで blur を付けた時だけ「一瞬隠れて→表示」 */
.blurTrigger.blur{
  opacity: 0;
}


/* =========================================================
  10) SECTION: MESSAGE
========================================================= */
.message{
  margin: 0 auto;
  position: relative;
}

.border{
  position: relative;
  text-align: center;
}

.border::before{
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  border-bottom: solid 1px var(--font-color);
  transform: translateX(-50%);
  animation: border_anim 2s linear forwards;
}

@keyframes border_anim{
  0%   { width: 0%; }
  100% { width: 100%; }
}

.message-container{
  position: relative;
}

.message-text{
  background: transparent;
  padding: 50px;
  border-color: var(--font-color);
  line-height: 2em;
  text-align: right;
  overflow: hidden;
  margin: 5% 50px 30px auto;
  font-size: clamp(1rem, 0.909rem + 0.45vw, 1.25rem);
}

.message-text p{
  text-shadow: 10px 10px 10px rgba(19,18,18,0.16);
}

.message-img{
  background: transparent;
  border: solid 1px;
  border-radius: 8px;
  border-color: var(--font-color);
  top: 200px;
  padding: 30px;
  width: 500px;
  display: block;
  overflow: hidden;
  text-align: left;
}

.message-img img{
  width: 100%;
  height: auto;
  display: block;
}


/* =========================================================
  11) SECTION: ACCESS / MAP
========================================================= */
.access-grid-container{
  background-color: var(--font-color);
  display: grid;
  gap: 50px;
  padding: 5%;
  text-align: center;
}

.access{
  margin: 0 auto;
  color: var(--main-color);
  text-align: left;
}

.map{
  width: 100%;
  position: relative;
  padding-top: 56.25%;
}

.map iframe{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.pay{
  color: var(--main-color);
  text-align: left;
  padding: 8px;
}

.salon{
  color: var(--font-color);
  margin: 50px 0 20px;
}

th,
td{
  color: var(--main-color);
  padding: 8px;
  font-weight: normal;
}


/* =========================================================
  12) SECTION: FEATURES
========================================================= */
.features{
  padding: clamp(40px, 6vw, 80px) 0;
}

.features-grid{
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.features .card{
  padding: 20px;
  border-radius: 16px;
}

.features .h-3{
  margin-bottom: 10px;
}

.cta-center{
  margin-top: 32px;
  text-align: center;
}

.profile-link{
  margin:  16px 16px 16px 100px ;
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: 0.2s ease;
  text-align: end;
  width: 70%;
}

.profile-link:hover{
  opacity: 0.7;
  background-color: var(--font-color);
  color: var(--main-color);
}


/* =========================================================
  13) UTILITIES / MISC
========================================================= */
.cat-links{
  color: var(--font-color);
}

.piroe{
  box-shadow: 10px 10px 10px rgba(0,0,0,0.16);
}

.calendar-wrapper{
  margin: 2rem;
}

.calendar-caption{
  color: var(--font-color);
}

/* plugin override */
.xo-event-calendar table.xo-month button{
  color: var(--font-color) !important;
}

.xo-event-calendar table.xo-month button span.nav-prev{
  border-bottom: 2px solid #fefefe;
  border-left: 2px solid #fefefe;
  display: inline-block;
  font-size: 0;
  height: 13px;
  transform: rotate(45deg);
  width: 13px;
}

.xo-event-calendar table.xo-month button span.nav-next{
  border-right: 2px solid #fefefe;
  border-top: 2px solid #fefefe;
  display: inline-block;
  font-size: 0;
  height: 13px;
  transform: rotate(45deg);
  width: 13px;
}

.xo-event-calendar table.xo-month > thead th{
  border-width: 0 1px 0 0;
  color: #ff861d;
  font-size: 0.9em;
  font-weight: 700;
  padding: 1px 0;
  text-align: center;
}

#footer{
  width: 100%;
  box-sizing: border-box;
  padding: clamp(24px, 6vw, 24px);
  text-align: center;
}
.sp-menu.active{
  display: block;
}

.sabu02{
  margin: 50px 0 20px;
}


/* =========================================================
  14) PAGE-TOP
========================================================= */
#page-top{
  position: fixed;
  right: 10%;
  bottom: 10px;
  z-index: 2;
  opacity: 0;
  transform: translateY(100px);
}

#page-top a{
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ffecdc;
  border-radius: 5px;
  width: 60px;
  height: 60px;
  color: var(--main-color);
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.6rem;
  transition: all 0.3s;
}

#page-top a:hover{
  background: #8d7663;
}

#page-top.UpMove{
  animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from { opacity: 0; transform: translateY(100px); }
  to   { opacity: 1; transform: translateY(0); }
}

#page-top.DownMove{
  animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 1; transform: translateY(100px); }
}


/* =========================================================
  15) MEDIA QUERIES
  - 近接ルール：各セクションの近くに置きたい派もいるけど、
    ここでは「最後にまとめる」方式に統一
========================================================= */

/* ---- Tablet ---- */
@media (max-width: 1024px){
  :root{
    --section-padding-y: 60px;
  }
}

/* ---- PC Grid ---- */
@media (min-width: 768px){
  .grid-container{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .grid-container2{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-blog-container{
    grid-template-columns: repeat(2, 2fr);
  }

  /* blurTrigger（PCでだけ調整していた内容を維持） */
  .blurTrigger{
    line-height: 3em;
    text-align: left;
  }

  .access-grid-container{
    grid-template-columns: 1fr 1fr;
  }

  .features-grid{
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

/* ---- Smartphone ---- */
@media (max-width: 768px){
  :root{
    --section-padding-y: 50px;
    --gap-cta: 14px;
  }

  /* hero CTA */
  .hero-cta{
    flex-direction: column;
  }
  .btn{
    max-width: 320px;
  }

  /* CTA glass */
  .btn-glass{
    width: 100%;
    max-width: 420px;
  }

  /* message */
  .message-text{
    left: 0;
    width: 100%;
    padding: 20px;
    transform: none;
    margin: 30px auto;
  }
  .message-img{
    width: 100%;
    max-width: 400px;
    left: 0;
    transform: none;
  }

  /* menu */
  .menu-container{
  }
  .menu-container p{
    padding-top: 8px;
    line-height: normal;
  }

  /* page-top */
  #page-top{
    display: none;
  }
}

/* ---- Header Mobile Bottom Fixed ---- */
@media (max-width: 767px){
  header,
  header .w-container,
  header .nav-wrapper,
  header .nav{
    width: 100%;
  }

  header{
    top: auto;
    bottom: 0;
    height: calc(var(--header-h-mobile) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
  }

  body{
    padding-top: 0;
    padding-bottom: calc(var(--header-h-mobile) + env(safe-area-inset-bottom));
  }

  header .w-container{
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .nav-wrapper{
    justify-content: stretch;
    border: solid 1px var(--font-color);
  }
.nav-item{
border-top:solid 5px;
}
  .category-list{
    width: 100%;
    height: var(--header-h-mobile);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .category-list a{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    white-space: nowrap;
  }

  .category-list li + li{
    border-left: 1px solid rgba(255,255,255,.25);
  }

  /* slide-text（スマホ用のガラス調整：元CSSの意図を維持） */
  .slide-text{
    --cta-bg: rgba(255, 255, 255, 0.18);
    --cta-bg-strong: rgba(255,255,255,.28);
    --cta-border: rgba(255,255,255,.45);
    --cta-radius: 999px;
    --cta-shadow: 0 6px 18px rgba(0,0,0,.18);

    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 44px;
    margin: 24px auto 0;
    padding: 12px 28px;

    border-radius: var(--cta-radius);
    border: 1px solid var(--cta-border);
    background: var(--cta-bg);
    backdrop-filter: blur(4px);

    color: inherit;
    text-decoration: none;
    font-weight: 600;

    box-shadow: var(--cta-shadow);

    transition: transform .15s ease,
                background .2s ease,
                box-shadow .2s ease,
                opacity .2s ease;

    -webkit-tap-highlight-color: transparent;
  }

  .slide-text:hover{
    background: var(--cta-bg-strong);
    box-shadow: 0 8px 22px rgba(0,0,0,.25);
  }

  .slide-text:active{
    transform: scale(.97);
    opacity: .9;
    box-shadow: 0 3px 10px rgba(0,0,0,.25);
  }

  .slide-in{
    animation: none;
  }
}


/* 強調点 */
.emphasis-dot {
  -webkit-text-emphasis: filled dot var(--font-color); /* Safari対応 */
  text-emphasis-position: over;  /* 上に表示 */
  color: var(--font-color);
}
.message-note-link{
  margin-top: 18px;
  font-size: 0.95rem;
}

.message-note-link a{
  text-decoration: underline;
  font-weight: 600;
}

@media (max-width: 767px){
  header{
    position: fixed !important;
    left: 0; right: 0; bottom: 0; top: auto;
    z-index: 2147483647;
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
  }
}
/* 権威リンクは“静かに” */
.authority-note{
  margin: 0 0 18px;
  text-align: left;
  line-height: 1.6;
  font-size: clamp(13px, 3.4vw, 15px);
  opacity: 0.95;
}

.text-link{
  color: var(--main-color);
  text-decoration: underline;
  font-weight: 600;
  transition: opacity .2s ease;
}
.text-link:hover{ opacity: .7; }

/* 講習への橋渡し文は少し強調（でもボタンほど強くしない） */
.bridge-text{
  margin-top: 18px;
  font-weight: 600;
}

.card-p{
  text-align: center;
}

@media (max-width: 767px){
  body.subpage .category-list{
    grid-template-columns: repeat(2, 1fr);
  }
}
:root{
  --faq-item-gap: 18px;
  --faq-answer-opacity: 0.9;
}

/* dlのデフォルト余白を消す */
.faq-list{
  margin: 0;
  padding: 0;
}

/* 1問ずつのブロック */
.faq-item{
  margin-top: 50px;
  color: var(--main-color);
}



/* dt/ddのデフォルト余白を整える */
.faq-q{
  margin: 0 0 30px 0;
  font-weight: 600;
}

dd.faq-a{
  margin: 10px 0 0 0;
color: var(--main-colar);
  line-height: 1.7;
  text-align: center;
}

.Selected-Ingredients h2,
.h-3rubi3{
  font-weight: 400;
  padding-top: 2px;
  color: #fc7703;
}

.h-3rubi2{
  font-weight: 300;
  font-family: sans-serif;
  color: #fc7703;
}

/* =========================================================
   Reserve Calendar
   - Googleカレンダー表示 + 予約導線強化版
   - 既存の section / container / btn に馴染ませる前提
========================================================= */

:root {
  /* =========================
     Frame / Card
  ========================= */
  --calendar-bg: var(--surface-1, rgba(255, 255, 255, 0.96));
  --calendar-border-color: var(--border-color, rgba(0, 0, 0, 0.08));
  --calendar-border-width: 1px;
  --calendar-radius: var(--radius-lg, 24px);
  --calendar-shadow: var(--shadow-md, 0 10px 30px rgba(0, 0, 0, 0.08));

  /* =========================
     Spacing
  ========================= */
  --calendar-shell-padding: clamp(10px, 1.4vw, 16px);
  --calendar-bottom-gap: clamp(14px, 2vw, 20px);
  --calendar-section-gap: clamp(20px, 3vw, 32px);

  /* =========================
     Iframe height
     案件ごとにここを触れば調整しやすい
  ========================= */
  --calendar-height-pc: 720px;
  --calendar-height-tablet: 620px;
  --calendar-height-sp: 540px;

  /* =========================
     CTA width
  ========================= */
  --calendar-cta-max-width: 560px;

  /* =========================
     Typography
  ========================= */
  --calendar-caption-size: 0.9rem;
  --calendar-subtext-size: 0.88rem;
}

/* セクション全体 */
.reserve-calendar {
  position: relative;
}

/* カレンダー外枠
   iframeそのものは装飾しにくいため、
   外側のフレームで見た目を整える */
.reserve-calendar__shell {
  padding: var(--calendar-shell-padding);
  border: var(--calendar-border-width) solid var(--calendar-border-color);
  border-radius: var(--calendar-radius);
  background: var(--calendar-bg);
  box-shadow: var(--calendar-shadow);
  overflow: hidden;
}

/* Googleカレンダー本体 */
.reserve-calendar__iframe {
  display: block;
  width: 100%;
  height: var(--calendar-height-pc);
  border: 0;
  border-radius: calc(var(--calendar-radius) - 8px);
  background: #fff;
}

/* カレンダー下の導線全体
   - 中央寄せ
   - ボタンの幅を揃える
   - 視線が下へ素直に流れるようにする */
.reserve-calendar__bottom {
  display: grid;
  gap: var(--calendar-bottom-gap);
  justify-items: center;
  margin-top: var(--calendar-section-gap);
  text-align: center;
}

/* 不安を消す一文 */
.reserve-calendar__caption {
  margin: 0;
  font-size: var(--calendar-caption-size);
  line-height: 1.8;
  color: var(--text-muted, #666);
}

/* 主CTA / サブCTA の横幅を揃える */
.reserve-calendar__primary-action,
.reserve-calendar__secondary-action {
  width: 100%;
  max-width: var(--calendar-cta-max-width);
}

/* ボタンは横いっぱい使って押しやすく */
.reserve-calendar__primary-action .btn,
.reserve-calendar__secondary-action .btn {
  width: 100%;
}

/* サブ導線は説明 + ボタン */
.reserve-calendar__secondary-action {
  display: grid;
  gap: 10px;
}

/* サブ導線の説明文 */
.reserve-calendar__subtext {
  margin: 0;
  font-size: var(--calendar-subtext-size);
  line-height: 1.7;
  color: var(--text-muted, #666);
}
.section-heading__title{
  color: var(--font-color);
  text-align: center;
}

:root {
  --visual-radius: 16px;
  --visual-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* 外枠 */
.visual-wrapper {
  width: 100%;
  max-width: 960px;
  margin: 24px auto 0;
  border-radius: var(--visual-radius);
  overflow: hidden;
  box-shadow: var(--visual-shadow);
}

/* 画像本体 */
.visual-bg {
  width: 100%;
  height: 0;
  padding-top: 56.25%; /* 16:9 */
  background:  url("video-img-v2.png") center center / cover no-repeat;
}

@media (max-width: 767px) {
  .visual-wrapper {
    margin-top: 20px;
    border-radius: 12px;
  }
}