/* ========================================
   CSS変数定義（デザイントークン）
======================================== */
:root {
  /* 配色システム */
  --bg: #F7FBF9;            /* ほんのり緑がかった白（ベース） */
  --primary-1: #AECBD6;     /* メイン1 */
  --primary-2: #9DB8A3;     /* メイン2 */
  --accent: #E9C5C1;        /* アクセント（やわらかいピンク） */
  --text: #2F2F2F;
  --muted: #6E6E6E;
  --line: #E6ECEA;
  --white: #FFFFFF;

  /* グラデーション */
  --grad-soft: linear-gradient(135deg, var(--primary-1) 0%, var(--primary-2) 100%);
  --grad-accent: linear-gradient(135deg, var(--accent) 0%, var(--primary-1) 100%);

  /* シャドウ・角丸 */
  --shadow: 0 6px 20px rgba(0,0,0,.08);
  --shadow-hover: 0 12px 30px rgba(0,0,0,.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  /* タイポグラフィ */
  --font-jp: 'Noto Sans JP', sans-serif;
  --font-en: 'Poppins', sans-serif;

  /* レイアウト */
  --container-max: 1200px;
  --container-padding: 24px;
  --header-height: 80px;
  
  /* ブレークポイント用（JS連携） */
  --bp-tablet: 1024px;
  --bp-mobile: 768px;
}

/* ========================================
   リセット・ベース
======================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-jp);
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

ul {
  list-style: none;
}

/* フォーカスリング */
*:focus-visible {
  outline: 2px solid var(--primary-2);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ========================================
   レイアウトユーティリティ
======================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section-placeholder {
  display: none; /* 将来拡張用セクションは非表示 */
}

/* ========================================
   ボタンコンポーネント
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  text-align: center;
  min-width: 160px;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--grad-soft);
  color: var(--white);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn--line {
  background: #00C300;
  color: var(--white);
  position: relative;
}

.btn--line:hover {
  background: #00A800;
  transform: translateY(-2px);
}

.btn--line::before {
  content: "";
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M19.365 9.863c.349 0 .63.285.63.631 0 .345-.281.63-.63.63H17.61v1.125h1.755c.349 0 .63.283.63.63 0 .344-.281.629-.63.629h-2.386c-.345 0-.627-.285-.627-.629V8.108c0-.345.282-.63.627-.63h2.386c.349 0 .63.285.63.63 0 .349-.281.63-.63.63H17.61v1.125h1.755zm-3.855 3.016c0 .27-.174.51-.432.596-.064.021-.133.031-.199.031-.211 0-.391-.09-.51-.25l-2.443-3.317v2.94c0 .344-.279.629-.631.629-.346 0-.627-.285-.627-.629V8.108c0-.27.173-.51.43-.595.06-.023.136-.033.194-.033.195 0 .375.104.495.254l2.462 3.33V8.108c0-.345.281-.63.63-.63.345 0 .631.285.631.63v4.771zm-5.741 0c0 .344-.282.629-.631.629-.345 0-.627-.285-.627-.629V8.751H6.753c-.349 0-.63-.285-.63-.63 0-.345.281-.63.63-.63h3.683c.349 0 .63.285.63.63 0 .345-.281.63-.63.63H8.769v4.128zm-4.587-1.972c0 .344-.282.629-.631.629-.345 0-.627-.285-.627-.629V8.108c0-.345.282-.63.627-.63.349 0 .631.285.631.63v1.799z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 8px;
}

/* ========================================
   ヘッダー
======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.header--scrolled {
  box-shadow: var(--shadow);
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.header__logo a {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 18px;
  color: var(--text);
}

.rirum-logo {
  font-family: 'Cinzel Decorative', serif;
  font-size: 20px;
  letter-spacing: 0.09em;
  color: inherit; /* フッター内でも色が親要素に合わせる */
}

/* フッター専用の見た目（少し淡くしたい場合） */
.footer .rirum-logo {
  color: #fff; /* ←背景が暗めなら白文字推奨 */
  font-size: 18px; /* 少し小さめで上品に見せるなら調整 */
}

.header__nav {
  display: flex;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__nav-link {
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
  transition: color 0.3s ease;
  position: relative;
  padding: 8px 0;
}

.header__nav-link:hover {
  color: var(--primary-2);
}

.header__nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-2);
  transition: width 0.3s ease;
}

.header__nav-link:hover::after {
  width: 100%;
}

.header__nav-link--cta {
  background:  linear-gradient(135deg,#eac4d5,#d8a7b1);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
}

.header__nav-link--cta::after {
  display: none;
}

.header__nav-link--cta:hover {
  color: var(--white);
  transform: translateY(-1px);
}

/* ハンバーガーメニュー */
.header__hamburger {
  display: none;
  flex-direction: column;
  width: 30px;
  height: 24px;
  justify-content: space-between;
  z-index: 1001;
}

.header__hamburger-line {
  width: 100%;
  height: 3px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.header__hamburger--active .header__hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.header__hamburger--active .header__hamburger-line:nth-child(2) {
  opacity: 0;
}

.header__hamburger--active .header__hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* モバイルナビ */
.header__mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background: var(--white);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.header__mobile-nav--active {
  opacity: 1;
  visibility: visible;
}

.header__mobile-list {
  padding: 40px var(--container-padding);
}

.header__mobile-link {
  display: block;
  padding: 20px 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  transition: color 0.3s ease;
}

.header__mobile-link:hover {
  color: var(--primary-2);
}


/* ========================================
   ヒーロー（FV） — ベース
======================================== */
.hero {
  position: relative;
  height: clamp(590px, 62vw, 750px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  clip-path: inset(0);
}

/* 背景レイヤー */
.hero__background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* 背景画像（<img>でもOK） */
.hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* オーバーレイ（上は透明→下が薄暗く） */
.hero__background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.05) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* 前面テキストなど */
.hero__content {
  position: relative;
  transform: translateY(8px); /* 全体を下に */
  z-index: 2;
}

/* サイド画像（ベース） */
.fv-side{
  position:absolute; bottom:0; width:auto; height:auto;
  max-height:100%; pointer-events:none; opacity:.95; z-index:1;
}
.fv-side--left{ left:0; top:0; bottom:0; height:100%; width:auto; object-fit:cover; }
.fv-side--right{ right:0; bottom:clamp(-100px,-7vw,-40px); top:auto; width:clamp(24vw,33vw,33vw); height:auto; }

/* ロゴ（位置とサイズを下げ気味に） */
.hero__logo{
  display:flex;
  justify-content:center;
  position:relative;
  z-index:2;

  /* ↑に余白を足してロゴ全体を下へ押す */
  margin-top: clamp(30px, 8vh, 180px); /* 画面が高いほど大きく下がる */
  margin-bottom: 12px;                  /* ロゴ下の余白（タイトルとの間） */
}

.hero__logo-img{
  /* サイズは可変にしておくと画面幅で良い感じに */
  width: clamp(180px, 28vw, 320px);
  max-width: none;
  height: auto;
  object-fit: contain;
}

/* 変数 */
:root{
  --font-ja: "a-otf-ryumin-pr6n", serif;
  --accent: #716c48;
  --subshadow-x: 1px;   /* コピーの白影：横 */
  --subshadow-y: 1px;   /* コピーの白影：縦 */
  --subshadow-opacity: .95;
}

/* コンテンツ */
.hero__container{
  position:relative; z-index:2; text-align:center; color:var(--white);
  max-width:800px; padding:0 var(--container-padding); margin:0 auto;
}

/* FVコピー（オリーブ＋白影） */
.hero__subtitle{
  font-size:32px; font-weight:30; margin-bottom:24px; letter-spacing:.1em;
  line-height:1; opacity:0; transform:translateY(30px);
  animation:fadeInUp 1s ease .5s forwards;
  font-family:var(--font-ja); color:var(--accent);
  text-shadow: var(--subshadow-x) var(--subshadow-y) 0 rgba(255,255,255,var(--subshadow-opacity));
  white-space:pre-line;
}


/* タイトル「自爪育成ネイルケア」をScroll直前に寄せる */
.hero__title{
  /* ここでさらに下へ。ロゴの下からの距離をvhで確保 */
  margin-top: clamp(14px, 1vh, 56px);

  /* 書体はScrollに合わせた指定を維持（前に設定したもの） */
  font-family: sans-serif;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: #fff;
  text-shadow: none;
  position: relative;

  /* Scrollとの距離が詰まりすぎる場合の下余白 */
  margin-bottom: 12px;
}

/* モバイルは下げすぎないように微調整 */
@media (max-width: 767px){
  .hero__logo{ margin-top: clamp(24px, 12vh, 80px); }
  .hero__title{ margin-top: clamp(12px, 4vh, 32px); }
}

/* サブタイトル（必要なら残す場合） */
.hero__title-main,
.hero__title-sub {
  font-family: var(--font-ja);
  font-size: 18px;
  position: relative;
  color: var(--accent);
  margin-top: 15px;
  text-shadow: 1px 1px 0 rgba(255,255,255,.95); /* 白影（右下1px） */
}

.hero__title-main {
  margin-top: 35px;
  font-size: 20px;
}

/* 説明文（今回はプライベートサロン削除のため未使用だが残しておくなら） */
.hero__description {
  font-size: 18px;
  font-weight: 300;
  letter-spacing: .1em;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 1.1s forwards;
}

/* Scroll インジケータ */
.hero__scroll-indicator{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 4vh; /* ← ここがポイント。vh単位で調整。例: 5vh = 画面の高さの5%上 */
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--white);
  cursor: pointer;
  opacity: 0;
  animation: fadeIn 1s ease 1.5s forwards;
}

/* 💻 PCでさらに下にしたい場合 */
@media (min-width: 1024px){
  .hero__scroll-indicator{
    bottom: 2vh; /* ← 画面の最下部ギリギリまで */
  }
}
.hero__scroll-text{ font-size:14px; font-weight:300; letter-spacing:.1em; margin-bottom:12px; }
.hero__scroll-arrow{ width:1px; height:30px; background:var(--white); position:relative; animation:scrollBounce 2s ease-in-out infinite; }
.hero__scroll-arrow::after{
  content:""; position:absolute; bottom:-8px; left:50%; transform:translateX(-50%);
  width:0; height:0; border-left:4px solid transparent; border-right:4px solid transparent; border-top:8px solid var(--white);
}

/* ========================================
   Responsive（まとめて管理）
   1024px → 900px → 768px → 600px
======================================== */

/* <= 1024px */
@media (max-width:1024px){
  .hero{ height:640px; }
}

/* <= 900px（スマホ寄り開始） */
@media (max-width:900px){

  /* サイド画像 */
  .fv-side--left{
    top:auto; bottom:0; height:80%; width:auto; left:-12vw; object-fit:cover;
  }
  .fv-side--right{
    transform:scaleY(-1); top:20px; bottom:auto; right:-8px; width:34vw; height:auto;
  }

  /* ★コピーを全体的に下げる：コンテナに上パディング */
  .hero__container{ padding-top:24px; padding-bottom:72px; }

  /* 見出し（自爪育成ネイルケア）をさらに下へ */
  .hero__title-main{ margin-top:40px; }  /* 56 / 72 に上げればもっと下がる */

  /* 説明文とScrollのクリアランス */
  .hero__description{ font-size:16px; line-height:1.6; margin-bottom:56px; }
  .hero__scroll-indicator{ bottom:16px; }

  /* ロゴはここから縮む（基準300px → 可変） */
  .hero__logo{ margin-top:10px; }
  .hero__logo-img{ width:clamp(180px, 32vw, 240px); }  /* ← ここで確実に小さくなる */
}

/* <= 768px（主要スマホ） */
@media (max-width:768px){
  .hero{ height:560px; }
  .fv-side{ max-height:75%; }

  /* コピーをさらに下げたいなら余白追加＋左寄せ */
  .hero__container{ padding-top:80px; }
  .hero__subtitle{
    font-size:18px; line-height:1.2;
    text-align:left; margin-left:-20px; margin-right:auto; display:inline-block;
  }

  /* ロゴをもう一段小さく */
  .hero__logo-img{ width:clamp(160px, 42vw, 220px); }
}

/* <= 600px（狭小） */
@media (max-width:600px){
  .hero__description{ font-size:15px; margin-bottom:48px; }
  .hero__title-main{ margin-top:56px; }        /* 見出しさらに下へ */
  .hero__logo-img{ width:clamp(140px, 48vw, 200px); }
  .hero__title-sub{ font-size: 13px;}
  
}
/* ========================================
   最新記事
=============================== */
.section-title {
  font-family: 'Cinzel Decorative', serif;
  font-weight: 800;
  letter-spacing: 0.05em;
  font-size: clamp(28px, 3.2vw, 48px);
  color: #111;
  text-transform: uppercase;
}

/* ========================================
   Rirum Philosophy（想い）
======================================== */
#home-philosophy {
  text-align: center;
  padding: 100px 20px 120px; /* ←以前 160px 180px → 少し圧縮 */
  background: var(--bg-grad, #aecbd6);
}

.sp-break {
  display: inline; /* PCでは同じ行に */
}

@media (max-width: 768px) {
  .sp-break {
    display: block; /* SPのときだけ改行される */
  }
}

.philosophy-inner {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
}

/* 上コピー（白・大きめ・存在感維持） */
.philosophy-lead {
  font-family: var(--font-ja);
  font-size: clamp(40px, 8vw, 90px);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  line-height: 1.6;
}

/* 下コピー（アクセントカラーで柔らかく） */
.philosophy-text {
  font-family: var(--font-base, "Noto Sans JP", sans-serif);
  font-size: clamp(16px, 2.2vw, 22px);
  color: var(--accent, #d8a7b1);
  font-weight: 400;
  letter-spacing: 0.04em;
}
/* ========================================
   メニューカード
======================================== */
.menu-cards {
  padding: 120px 0;
  background: linear-gradient(135deg, #F0F8F5 0%, var(--bg) 100%);}

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

.menu-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  background: var(--white);
  opacity: 0;
  transform: translateY(30px);
}

.menu-card.animate {
  animation: fadeInUp 0.6s ease forwards;
}

.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.menu-card__image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.menu-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.menu-card:hover .menu-card__image img {
  transform: scale(1.05);
}

.menu-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
}

.menu-card__content {
  padding: 24px;
}

.menu-card__title {
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.menu-card__description {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* ========================================
   オーナー
======================================== */
.owner {
  padding: 120px 0;
  background: var(--grad-soft); 
}

.owner__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.owner__card.animate {
  animation: fadeInUp 0.8s ease forwards;
}

.owner__content {
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: center;
  gap: 48px;
}

.owner__image {
  padding: 48px;
}

.owner__photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.owner__info {
  padding: 48px 48px 48px 0;
}

.owner__header {
  margin-bottom: 32px;
}

.owner__title {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.owner__subtitle {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 16px;
}

.owner__name {
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
}

.owner__description {
  margin-bottom: 32px;
}

.owner__description p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.owner__credentials {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.owner__credentials li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--muted);
}

.owner__credentials li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-2);
  font-weight: bold;
}

/* ========================================
   お問い合わせ
======================================== */
.contact {
  padding: 120px 0;
  background: linear-gradient(135deg, #F0F8F5 0%, var(--bg) 100%);
}

.contact__header {
  text-align: center;
  margin-bottom: 80px;
}

/* Contact 見出しをNEWSと同じスタイルに */
.contact__title{
  font-family: 'Cinzel Decorative', serif;
  font-weight: 400;
  letter-spacing: .08em;
  font-size: clamp(28px, 3.2vw, 48px);
  color: none;                 /* 背景が淡いなら白が映える */
}

.contact__subtitle {
  font-size: 18px;
  color: var(--muted);
}


.contact__form-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 32px;
}

/* フォーム */
.contact__form {
  opacity: 0;
  transform: translateY(30px);
}

.contact__form.animate {
  animation: fadeInUp 0.8s ease forwards;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}

.required {
  color: #E74C3C;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 16px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s ease;
  background: var(--white);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-2);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  display: block;
  font-size: 12px;
  color: #E74C3C;
  margin-top: 4px;
  min-height: 16px;
}

/* reCAPTCHA風ダミー */
.recaptcha-dummy {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: #F9F9F9;
}

.recaptcha-dummy input[type="checkbox"] {
  width: 20px;
  height: 20px;
}

.recaptcha-dummy label {
  font-size: 14px;
  cursor: pointer;
  margin: 0;
}

.recaptcha-icon {
  width: 40px;
  height: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%234285F4'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
  background-size: contain;
  margin-left: auto;
}

.contact__submit {
  margin-top: 24px;
  width: 100%;
  background:  linear-gradient(135deg,#eac4d5,#d8a7b1);
}

/* LINE CTA */
.contact__line-section {
  opacity: 0;
  transform: translateX(30px);
}

.contact__line-section.animate {
  animation: fadeInRight 0.8s ease 0.3s forwards;
}

.line-cta {
  position: sticky;
  top: 120px;
}

.line-cta__bubble {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 2px solid var(--line);
  position: relative;
}

.line-cta__bubble::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 40px;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-right: 12px solid var(--white);
}

.line-cta__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}

.line-cta__text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 24px;
}

/* 両カラム（フォーム・LINE CTA）の基本幅 */
.contact__form-section {
  flex: 1 1 60%;
}
.contact__line-section {
  flex: 0 0 35%;
}

/* =========================
   Contact レイアウト（最終版）
   PC：フォーム | LINE
   SP：LINE（上）→ フォーム（下）
========================= */

/* --- PCレイアウト --- */
.contact__content {
  display: grid;
  grid-template-columns: 1fr 400px;  /* 左フォーム・右LINE */
  grid-template-areas: "form line";
  gap: 80px;
  align-items: start;
}

/* エリア割り当て */
.contact__form-section { grid-area: form; }
.contact__line-section { grid-area: line; }

/* stickyはPCだけ有効 */
.line-cta {
  position: sticky;
  top: 120px;
}

/* --- SPレイアウト --- */
@media (max-width: 768px) {
  .contact__content {
    grid-template-columns: 1fr;
    grid-template-areas:
      "line"
      "form"; /* ← ここが逆順（LINEが上） */
    gap: 32px;
  }

  /* 幅を100%にして中央寄せ */
  .contact__form-section,
  .contact__line-section {
    width: 100%;
    max-width: 640px;
    margin-inline: auto;
  }

  /* SPではstickyを無効化 */
  .line-cta {
    position: static;
    top: auto;
  }
}


/* ========================================
   フッター
======================================== */
.footer {
  background: var(--text);
  color: var(--white);
  padding: 48px 0 24px;
}

.footer__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer__logo {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 16px;
}

.footer__nav-list {
  display: flex;
  gap: 24px;
}

.footer__nav-link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer__nav-link:hover {
  color: var(--white);
}

.footer__copyright {
  text-align: center;
}

.footer__copyright p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   アニメーション
======================================== */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes scrollBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* ========================================
   レスポンシブ対応
======================================== */
@media (max-width: 1024px) {
  :root {
    --container-padding: 20px;
    --header-height: 70px;
  }

  .header__nav {
    display: none;
  }

  .header__hamburger {
    display: flex;
  }

  .menu-cards__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .owner__content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .owner__image {
    order: -1;
    padding: 32px 32px 0;
  }

  .owner__info {
    padding: 0 32px 32px;
  }

  .contact__content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .line-cta {
    position: static;
  }
}

@media (max-width: 768px) {
  :root {
    --container-padding: 16px;
    --header-height: 60px;
  }

  .hero {
    min-height: 500px;
  }

  .hero__subtitle {
  font-size: clamp(20px, 4vw, 28px); /* ←最小20px・推奨5vw・最大36px */
  font-weight: 300;
  line-height: 1.0;
}

  .hero__title-main {
    font-size: clamp(30px, 10vw, 64px);
  }

  .hero__title-sub {
    font-size: clamp(13px, 4vw, 16px);
  }

  .menu-cards {
    padding: 80px 0;
  }

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

  .menu-card__image {
    height: 160px;
  }

  .menu-card__content {
    padding: 20px;
  }

  .owner {
    padding: 80px 0;
  }

  .owner__content {
    gap: 24px;
  }

  .owner__image {
    padding: 24px 24px 0;
  }

  .owner__info {
    padding: 0 24px 24px;
  }

  .owner__name {
    font-size: 24px;
  }

  .contact {
    padding: 80px 0;
  }

  .contact__header {
    margin-bottom: 48px;
  }

  .contact__title {
    font-size: 32px;
  }

  .contact__content {
    gap: 32px;
  }

  .footer__content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer__nav-list {
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero__scroll-indicator {
    bottom: 20px;
  }

  .menu-card__image {
    height: 140px;
  }

  .owner__credentials {
    gap: 8px;
  }

  .owner__credentials li {
    font-size: 13px;
  }

  .line-cta__bubble {
    padding: 24px;
  }

  .form-input,
  .form-textarea {
    padding: 12px;
  }
}
/* ===== 最新記事セクション ===== */
#home-latest { padding: 60px 0; }
#home-latest .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
#home-latest h2 { text-align: center; font-size: 32px; font-weight: 700; margin: 0 0 40px; color: #333; }
@media (max-width: 767px) {
  #home-latest { padding: 40px 0; }
  #home-latest h2 { font-size: 24px; margin-bottom: 30px; }
}

#home-latest .latestSwiper { position: relative; margin-bottom: 40px; }
#home-latest .latest-card {
  display: block; background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,.08); text-decoration: none; color: inherit;
  transition: transform .3s ease, box-shadow .3s ease;
}
#home-latest .latest-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,.12); }
#home-latest .thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #e9ecef; }
#home-latest .meta { padding: 12px 14px; }
#home-latest time { font-size: 12px; color: #666; display: block; margin-bottom: 8px; }
#home-latest h3 { font-size: 16px; line-height: 1.5; margin: 0; font-weight: 600; color: #333; }

/* Swiper UI */
#home-latest .swiper-pagination { bottom: -30px; }
#home-latest .swiper-pagination-bullet { background: #ddd; opacity: 1; }
#home-latest .swiper-pagination-bullet-active { background: #333; }
#home-latest .swiper-button-next, #home-latest .swiper-button-prev {
  color: #333; width: 40px; height: 40px; margin-top: -20px;
}
#home-latest .swiper-button-next:after, #home-latest .swiper-button-prev:after { font-size: 18px; }
@media (max-width: 767px) { #home-latest .swiper-button-next, #home-latest .swiper-button-prev { display: none; } }

/* View more */
#home-latest .view-more-wrapper { text-align: center; }
#home-latest .view-more-btn {
  display: inline-block; padding: 10px 22px; border: 1px solid #ddd; border-radius: 999px;
  text-decoration: none; color: #333; font-weight: 500; background: #fff; transition: .3s;
}
#home-latest .view-more-btn:hover { background: #f8f9fa; border-color: #bbb; color: #222; }

/* ===== 想いセクション ===== */
#home-philosophy{
  position: relative;
  /* ▼FVと同じ背景を使いたい場合は、このURLをFVの背景画像に置き換えてね */
  background-image: url("images/fv_bag@1.5x.png");
  background-size: cover;
  background-position: center;

  isolation: isolate;           /* overlayのブレンド用 */
  color: #fff;
}
#home-philosophy::before{
  /* 読みやすさのための薄いオーバーレイ */
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.15));
  z-index:-1;
}
#home-philosophy .philosophy-inner{
  max-width: 1000px; margin: 0 auto; padding: 72px 24px;
  text-align: center;
}
#home-philosophy .philosophy-ttl{
  font-size: clamp(18px, 2.6vw, 24px);
  letter-spacing: .08em;
  margin: 0 0 16px;
  font-weight: 700;
}
#home-philosophy .philosophy-lead{
  font-size: clamp(18px, 3.2vw, 22px);
  line-height: 1.9;
  margin: 0 0 14px;
  font-weight: 600;
}
#home-philosophy .philosophy-text{
  font-size: clamp(14px, 2.4vw, 16px);
  line-height: 2;
  opacity: .95;
  margin: 0;
}
#home-philosophy .btn-outline{
  display:inline-block; margin-top: 24px; padding: 10px 22px;
  border:1px solid rgba(255,255,255,.7); color:#fff; border-radius:999px;
  text-decoration:none; transition:.25s;
}
#home-philosophy .btn-outline:hover{ background: rgba(255,255,255,.12); }

/* モバイル余白調整 */
@media (max-width: 767px){
  #home-philosophy .philosophy-inner{ padding: 56px 20px; }
}