/*
 Theme Name: Arkhe Child
 Template: arkhe
 Theme URI: https://arkhe-theme.com/
 Description: Child theme for Arkhe
 Author: Cez_Ymmt
 Version: 1.0
*/

/* ======================================== */
/* ベース設定とフォント */
/* ======================================== */
h1.entry-title{
 display:none;
}

/* Arkheの自動FVを完全に無効化 */
.l-fv,
.l-fv__inner,
.l-fv__bg,
.l-fv__img,
.l-fv__content {
  display: none !important;
}


html, body {
  margin: 0;
  padding: 0;
  font-family: 'Zen Old Mincho', serif;
  background: #fff;
  line-height: 1.5;
  overflow-x: hidden;
}

.lp-wrapper {
  max-width: 100%;
  overflow-x: clip; /* hiddenではなくclip */
}

/* 共通中央コンテナ */
.l-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* 狭めたいセクション用 */
.l-container--narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}


/* 見出しだけゴシック系 */
h1, h2, h3, h4, h5, h6{
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 600;
  color: #007B43;
  margin: 0.5rem auto;
  text-align: center;
}

p{
  font-weight: 400;
  color: #433D3C;
  letter-spacing: 0.1em;
  margin: 0.1rem auto;
}

/* =========================================================
   🔷 セクション共通 
========================================================= */
.section {
  width: 100%;
  max-width: 900px;
  margin: 3rem auto;
  padding: 1.5rem;
}

/* =========================================================
   🟠 2. ヘッダー（PC+モバイル共通：タイトル横並び）
========================================================= */

.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  background: #fff;
  padding: 0 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  z-index: 9999;
  transition: height 0.3s ease;
}

.site-header.scrolled {
  height: 48px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

/* 🔹ロゴ */
.header-logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}
.site-header.scrolled .header-logo img {
  height: 32px;
}

/* =========================================================
   🟢 h1（所在地＋屋号）を PC/SP 共通で横並びにする
========================================================= */
.site-title {
  margin: 0;
  padding: 0;
  display: flex;                 /* ← 横並びに変更 */
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1em;                      /* ← 2語の間に余白 */
  line-height: 1;
  white-space: nowrap;
}

/* 所在地テキスト */
.site-title .site-location {
  font-size: 1.2rem;
  color: #6D7972;
  letter-spacing: 0.1em;
}

/* 屋号テキスト */
.site-title .site-name {
  font-size: 2rem;
  font-weight: 700;
  color: #007B43;
  letter-spacing: 0.3em;
}

/* =========================================================
   🟡 モバイル用微調整
========================================================= */
@media (max-width: 768px) {
  .site-title{
    gap:0.5em;
  }

  .site-title .site-name {
    font-size: 1.4rem;
  }

  .site-title .site-location {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
  }
}

/* ======================================== */
/* 3. First View（FVセクション） */
/* ======================================== */
.fv {
  width: 100%;
  margin: 0 auto;
}

/* PC・共通 */
.fv-image {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  aspect-ratio: 16 / 8;
  background-image: url("https://kochi-lp.xrea.jp/wp-content/uploads/2025/12/1.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(108%);
}

/* スクロール時（ヘッダー縮小対応） */
body.is-scrolled .fv-image {
  aspect-ratio: 14 / 7;          /* 高さ変化させない */
}

/* ============================= */
/* モバイル版（左右トリミング） */
/* ============================= */
@media (max-width: 768px) {

  .fv {
    margin-top: 60px;            /* ← fixedヘッダー分 */
  }

  .fv-image {
    width: 100%;
    max-width: 100%;
    height: 55vh;
    aspect-ratio: 4 / 5;         /* ← スマホ向け縦比率 */
    background-size: cover;      /* ← 左右を自然にカット */
    background-position: center;
  }
}

/* ============================= */
/* fv下テキスト */
/* ============================= */
.fv-text {
  display: none;
}

@media (max-width: 768px) {
  .fv-text {
    display: block;
    background: #ffffff;
    padding: 1em 0.5em 0.5em;
    text-align: center;
  }

  .fv-text h2 {
    font-family: 'Zen Old Mincho', serif;
    font-size: 1.8em;
    font-weight: 800;
    line-height: 1.7;
    letter-spacing: 0.1em;
    color: #433D3C;
    margin: 0 auto;
    max-width: 90%;
  }

  .fv-catch {
    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: 0.1em;
    color: #433D3C;
    margin: 0 auto;
    max-width: 90%;
  }
}

/* ======================================== */
/* 4. CTAセクション（通常配置版・重なり解消）*/
/* ======================================== */
.cta-section{
  clear: both;
  display: brock; 
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  max-width: 1000px;
  margin: 2rem auto;
}

.cta-buttons img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

/* モバイル */
@media (max-width: 768px) {

  .cta-buttons {
    flex-direction: column !important;
    align-items: center;
    margin: 1rem auto !important;
    position: relative !important;
    top: auto !important;
    transform: none !important;
    gap: 0.1rem;
  }

  .cta-buttons > * {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* ======================================== */
/* 6. 問題提起セクション (Problem Section) */
/* ======================================== */
.problem-section {
  background: #B2BCAC;
  margin-top: -1rem;
  padding: 1rem 1rem;
  text-align: center;
}

.problem-inner {
  max-width: 900px; /* セクション幅の最大値 */
  margin: 0 auto;
}

/* 導入文・メッセージの共通スタイル */
.lead-text,
.message-text,
.end-text {
  font-size: 1em;
  line-height: 1.5;
  color: #433D3C;
  margin: 1.2rem auto;
  text-align: center;
  max-width: 800px;
}

@media (max-width: 768px) {
.message-text{
 text-align: left;
  }
}

.highlight {
  font-weight: 700;
  color: #3A715A;
}

/* 🔹 グリッド（6項目） */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 800px;
  margin: 1.5rem auto;
}

/* 🔸 各項目のデザイン */
.problem-item {
  background: #ffffff;
  border: 2px solid #C9E0D1;
  border-radius: 5px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem; /* 高さ調整して均一感 */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* テキスト本体 */
.problem-text {
  font-size: 0.8rem;
  color: #433D3C;
  font-weight: 600;
  text-align: justify;
  margin: 0;
}

/* ========================================= */
/* PCレイアウト（2列×3行、中央寄せ）       */
/* ========================================= */
@media (min-width: 769px) {
  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 30px; /* 横と縦の間隔を調整 */
  }

  .problem-text {
    font-size: 0.8rem;
    text-align: justify;
  }

  .lead-text,
  .message-text,
  .end-text {
    font-size: 1.05rem;
  }
}

/* ========================================= */
/* モバイル版（1列・読みやすさ優先）        */
/* ========================================= */
@media (max-width: 768px) {
  .problem-section {
    padding: 2rem 1rem;
  }

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    width: 92%;
  }

  .problem-item {
    padding: 10px;
    min-height: 3rem;
  }

  .problem-text {
    font-size: 0.9rem;
    line-height: 1.2;
    text-align: left;
  }
}

/* ======================================== */
/* 7. タブブロック・メニュー・お客様の声   */
/* ======================================== */
/* タブ全体のコンテナ */
.tab-block {
  width: 100%;
  max-width: 900px;
  margin: 3rem auto;
  text-align: center;
  padding: 0;
  position: relative;
  z-index: 0;
}

/* タブ切り替えボタン並び */
.tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0; /* 均等幅・境界線で区切るのでgap不要 */
  margin-bottom: 1rem;
  width: 100%;
  max-width: 800px;
  margin: 2rem auto;
}

.tab-btn {
  flex: 1;                     /* ← 幅均等に拡張 */
  background: #E6F2EB;         /* 通常背景色（淡いグリーン） */
  color: #007B43;
  border: 1px solid #C9E0D1;   /* 境界線で区切る */
  padding: 12px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 0 !important; /* ← 角丸を完全に削除 */
  transition: background 0.3s ease, color 0.3s ease;
}

.tab-btn.active {
  background: #007B43;         /* アクティブ時の背景 */
  color: #fff;
  border-color: #007B43;
}

.tab-btn:hover {
  opacity: 0.9;
}

/* ===== タブコンテンツ共通 ===== */
.tab-content {
  display: none;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  background: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: hidden;
}

.tab-content.active {
  display: block;
}


/* --- 🟢 メニュー画像（切れないフル幅対応版） --- */
.menu-section {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  background: none !important;
}

.menu-image {
  width: 100%;
  margin: 0;
  padding: 0;
}

.menu-image img {
  display: block;
  width: 100% !important;   /* ← 100vwではなく100%に変更 */
  height: auto;
  max-width: none !important;
  border-radius: 0 !important;
  object-fit: cover;
}

/* --- 🟢 お客様の声（スライダー専用） --- */
.voice-section {
  margin: 0;
  padding: 1rem 0;
  background: none !important;
}

/* スライダーを画面幅ぴったりに */
.voice-slider {
.voice-slider {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}
}

/* スライドアイテム */
.voice-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s;
}

.voice-item.active {
  opacity: 1;
  visibility: visible;
  position: relative;
  z-index: 1;
}

/*  🎯 16:9固定＋フル幅 */
.voice-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0 !important;
  display: block;
}


/* --- 🔘 ドットナビ --- */
.voice-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.voice-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #C9E0D1;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.voice-dots .dot.active {
  background: #3A715A;
  transform: scale(1.2);
}


/* ===== PC調整 ===== */
@media (min-width: 769px) {
  .tabs {
    flex-direction: row;
    justify-content: center;
  }
}

/* ===== モバイル調整 ===== */
@media (max-width: 768px) {
  .tabs {
    flex-direction: row; /* ← 縦並びにしない */
    width: 100%;
    max-width: 95%;
  }

  .tab-btn {
    padding: 14px 0;
    font-size: 0.95rem;
  }
}

  /* ======================================== */
/* 8. 料金・日程セクション (Price) */
/* ======================================== */
.price {
  padding: 1rem 20px; 
  background: #8A9A85;
  text-align: center;
  overflow: visible;
}

.price h2 {
  color: #fff;
  margin: 1rem;
  letter-spacing: 0.5em;
}

.price-table {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.4fr;
  gap: 15px;
  align-items: stretch;
}

.price-card {
  background: #E6F2EB;
  padding: 1em;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: auto;
}

.price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.price-card h3 {
  color: #433D3C;
  font-size: 1.2em;
  margin-bottom: 20px;
  font-weight: bold;
  border-bottom: 2px solid #8A9A85;
  padding-bottom: 10px;
}

.price-card h4 {
  color: #433D3C;
  font-size: 1.2em;
  margin-bottom: 20px;
  font-weight: bold;
  border-bottom: 2px solid #8A9A85;
  padding-top: 0.5rem;
}

.small-title{
  font-size: 0.8em;
  letter-spacing: 0.2em;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  color: #433D3C;
  margin-top: -1rem;
}

.price-list li {
  padding: 0.1rem 0;
  font-size: 1em;
  font-family: 'arial';
  font-weight: bold;
  border-bottom: 1px solid rgba(138, 154, 133, 0.2);
}

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

.price-list .time {
  font-size: 0.9em;
  font-weight: normal;
  color: #666;
}

.price-list .additional {
  font-size: 1em;
  color: #433D3C;
}

.note {
  font-size: 1em;
  color: #fff;
  margin-top: 1em;
  line-height: 1.6;
  text-align: center;
  letter-spacing: 0.2em;
}

.note-small {
  font-size: 0.8em;
  color: #433D3C;
  margin-top: 1em;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-align: justify;
}

.calendar-card {
  display: flex;
  flex-direction: column;
}

.calendar-embed {
  width: 100%;
  aspect-ratio: 1 / 1;   /* 正方形で安定 */
  overflow: hidden;
}

.calendar-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
.price-table {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .price {
    /* ★修正: モバイル版の上下パディングを1.5remに、左右は15pxを維持 */
    padding: 1.5rem 15px; 
  }
  
  .price h2 {
    font-size: 1.6em;
    margin-bottom: 30px;
  }
  
  .price-card {
    padding: 20px 15px;
  }
}

/* ========================================= */
/* PROFILE セクション
/* ========================================= */
.profile-section {
  margin: 1rem auto;
  text-align: center;
  width: 100%;
  padding: 2rem 0;
  background-color: #F7F4F0;
}

/* 内側ボックス */
.profile-box {
  max-width: 800px;
  width: 95%;
  margin: 0 auto;
  padding: 0.8rem 1rem;
  border-radius: 12px;
}

/* プロフィール画像（円形＆200x200固定） */
.profile-image {
  width: 200px;
  height: 200px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #C9E0D1; /* あってもなくてもOK */
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 本文 */
.profile-text { 
  max-width: 800px;
}

.profile-section h2{
  font-size: 1.5em;
  font-weight: 700;
  letter-spacing: 0.3em;
  padding-bottom: 0.8em;
  color: #007b43;
}

.profile-section h3{
  font-size: 1.3em;
  letter-spacing: 0.2em;
  font-weight: bold;
  padding-bottom: 1em;
}

.profile-section h4{
  font-size: 0.8em;
  color: #8A9A85;
  letter-spacing: 0.2em;
  font-weight: 500;
}

.profile-section h5{
  font-size: 1em;
  color: #6D7972;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.profile-section h6{
  font-size: 1em;
  font-weight: 600;
}

.profile-section p{
  font-size: 0.95em;
  margin: 0 1.5em;
  color: #433D3C;
 text-align: justify;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .profile-name, .profile-title {
    text-align: center;
  }
  .profile-box {
    width: 95%;
  }

  .profile-text {
    width: 98%;
    margin: 0 auto;
  }
}

/* ======================================== */
/* 10. FaQセクション (Accordion) */
/* ======================================== */
.faq {
  padding-top: 10px;
  padding-bottom: 40px;
  background: #ffffff;
}

/* FAQ メイントップ見出し（中央寄せ） */
.faq h2,
.faq h3 {
  font-size: 1.2em;
  font-weight: 700;
  letter-spacing: 0.3em;
  padding-bottom: 0.5em;
  margin: 0 auto;
  text-align: center;
}

.accordion-wrapper {
  width: 100%;
  max-width: 700px;
  margin: 10px auto;
  text-align: left;
}

.accordion-item {
  width: 90%;
  margin: 10px auto;
  overflow: hidden;
  background-color: #fff;
  transition: box-shadow 0.3s ease;
  position: relative;
  border-bottom: 2px solid #000;
  padding-left: 1.5em;
}

.accordion-item:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

.accordion-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0.6rem;
  height: 100%;
  background-color: #000;
  z-index: 2;
}

.accordion-toggle {
  position: relative;
  min-height: 0.5rem;
  padding: 0.5em 1rem 0.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background-color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
  border: none !important;
  box-sizing: border-box;
  outline: none;
}

/* 🚩 質問タイトルの h3（← 左寄せに変更） */
.accordion-toggle h3 {
  flex-grow: 1;
  font-size: 1em;
  font-weight: 500;
  color: #000;
  text-align: left !important;   /* ← 決定的 */
  opacity: 1;
  display: block;
  letter-spacing: normal;
}

.accordion-toggle:focus {
  box-shadow: 0 0 0 3px #C9E0D1 inset;
  outline: none;
}

.accordion-toggle:hover {
  background-color: #f8f8f8;
}

.rotate-icon {
  width: 1.5em;
  height: 1.5em;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: #000;
}

.accordion-item.active .rotate-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
  background-color: #fff;
  font-size: 0.9em;
  color: #433D3C;
  line-height: 1.5;
  box-sizing: border-box;
  text-align: left !important;
}

.accordion-item.active .accordion-content {
  margin: 1em 2em 0.5em;
}

.accordion-content a {
  color: #007B43;
  text-decoration: underline;
}

.accordion-content a:hover {
  color: #3A715A;
}

@media (max-width: 768px) {
  .accordion-item { width: 95%; }

  .accordion-toggle {
    min-height: 1.5rem;
    padding: 0.25rem;
  }

  .rotate-icon {
    width: 1.8em;
    height: 1.8em;
  }

  .accordion-item.active .accordion-content {
    margin: 1em 2em 0.25em;
  }
}

/* ============================== */
/* 11. アイコン横並び（6サービス） */
/* ============================== */

.media-link-section {
  margin-top: 1rem;
  padding: 20px 40px;
  text-align: center;
  background: #ffffff;
  border-top: 2px solid #D3D7CF;    /* 上の線 */
}

.media-link-section h2 {
  font-size: 1.3em;
  color: #007B43;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: 0.3em;
}

/* PC：横60%の中で均等配置 */
.media-link-wrapper {
  width: 60%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between; /* ← 均等配置 */
  align-items: center;
  gap: 10px;
}

/* ==========================================================
   MEDIA（SNS・プラットフォーム）セクション
========================================================== */
/* セクション全体（上下の線を追加） */
.media-section {
  width: 95%;
  padding: 1rem 0;
}

/* アイコンの横並び（PC版：60%中央揃え） */
.media-link-wrapper {
  width: 60%;
  margin: 0 auto;
}

.media-icons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

/* 各アイコンリンク */
.media-icon-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.media-icon-link img {
  width: 50px;
  height: 50px;
  display: block;
  object-fit: contain;
  margin-bottom: 8px;
}

/* アイコン下の文字 */
.media-icon-link span {
  font-size: 0.9em;
  font-weight: 600;
  color: #433D3C;
}

/* ==========================================================
   モバイル版（横80%で均等配置・アイコン広め）
========================================================== */
@media (max-width: 768px) {

  /* セクション幅（80% → 今回は90%に調整済み？ならここで変更OK） */
  .media-link-wrapper {
    width: 90%;
  }

  /* アイコン間隔広め */
  .media-icons {
    gap: 2.2rem;
    justify-content: center;
  }

  /* 各アイコンリンク */
  .media-icon-link {
    padding: 0;
    width: 50px;
    height: 50px;
    background: none !important;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* アイコン画像（余白消しのため少し大きめ） */
  .media-icon-link img {
    width: 110%;
    height: 110%;
    object-fit: contain;
  }
}

/* ======================================== */
/* 12. 連絡先セクション */
/* ======================================== */
.contact {
  width: 100%;
  background: #D3D7CF;
  text-align: center;
  margin: 0 auto;
  padding: 1em 0;    /* ← ここがポイント！ 1em auto は NG */
}

/* タイトル */
.contact h2 {
  font-size: 1.4em;
  margin: 1em auto 0.5em;
}

.contact h3 {
  font-size: 1em;
  margin: 0.5em auto;
  color: #433D3C;
  font-weight: 400;
}

.contact h4 {
  font-size: 1.2em;
  margin-bottom: 0.5em;
}

/* 段落（説明文・営業時間など） */
.contact p {
  font-size: 0.9em;
  letter-spacing: 0.1em;  /* ← カンマではなくドット */
  margin: 0.3em auto;
}

/* 営業時間ブロック */
.contact .info {
  margin-top: 1rem;
  font-size: 1em;
  line-height: 1.8;
}

/* メールリンク */
.contact .info a {
  color: #007B43;
  text-decoration: underline;
}

.contact .info a:hover {
  color: #3A715A;
}

/* ======================================== */
/* 13. フッター */
/* ======================================== */
.lp-footer { 
  margin-top: -35px;
  background: #B2BCAC; 
  padding: 1em 1em; 
  text-align: center; 
  font-size: 0.9em; 
  line-height: 1.6;
}

.lp-footer p {
    margin: 0;
    padding: 2px 0;
}

.lp-footer a {
  color: #007B43;
  text-decoration: none;
}

.lp-footer a:hover {
  text-decoration: underline;
}

