.elementor-kit-7{--e-global-color-primary:#8E7D5C;--e-global-color-secondary:#D4C4A8;--e-global-color-text:#333333;--e-global-color-accent:#BF9F62;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-7 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* --- フォント読み込み --- */
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;700&family=Zen+Kaku+Gothic+New:wght@300;400;500;700&display=swap');

:root {
  --color-main: #8E7D5C;
  --color-sub: #D4C4A8;
  --color-text: #333333;
  --color-accent: #BF9F62;
  --color-bg: #F9F9F9; /* 背景のグレー */
  --color-white: #FFFFFF;
  --font-heading: 'Shippori Mincho', serif;
  --font-body: 'Zen Kaku Gothic New', sans-serif;
}

/* --- 全体の箱（フル幅設定） --- */
.detail-wrapper {
  width: 100%;          /* 画面いっぱいに広げる */
  max-width: 100%;      /* 制限を解除 */
  background-color: var(--color-bg);
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.8;
  overflow-x: hidden;   /* 横スクロール防止 */
  padding-bottom: 60px; /* 下部の余白 */
}

/* --- コンテンツが入る白い箱（中央寄せ設定） --- */
.white-block {
  background-color: var(--color-white);
  padding: 60px 40px;
  border-radius: 4px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.02);
  
  /* ここで中央寄せと幅制限をかけます */
  width: 90%;           /* スマホでは端に少し余白を持たせる */
  max-width: 1000px;    /* PCでは最大1000pxまで */
  margin: 0 auto 60px auto; /* 上下左右の余白（左右autoで中央寄せ） */
}

/* --- ヒーローヘッダー（フル幅） --- */
.hero-section {
  position: relative;
  width: 100%;          /* 画面いっぱい */
  height: 40vh;
  min-height: 350px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;  /* 下のコンテンツとの距離 */
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.3);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 20px;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  margin: 0 0 10px 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.hero-sub {
  font-size: 1rem;
  letter-spacing: 0.15em;
  opacity: 0.95;
  font-family: var(--font-body);
  text-transform: uppercase;
}

/* --- 見出しスタイル --- */
.h2-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-main);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}
.h2-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  background-color: var(--color-sub);
  margin: 20px auto 0;
}
.h3-title {
  font-size: 1.4rem;
  color: var(--color-text);
  margin-top: 40px;
  margin-bottom: 20px;
  border-left: 4px solid var(--color-main);
  padding-left: 15px;
  font-family: var(--font-heading);
}

/* --- 各ページ固有のパーツ --- */

/* 1. コンセプト：流れリスト */
.flow-list {
  counter-reset: flow-num;
  list-style: none;
  padding: 0;
}
.flow-item {
  position: relative;
  padding: 0 0 40px 60px;
  border-left: 2px solid var(--color-sub);
}
.flow-item:last-child { border-left: none; }
.flow-item::before {
  counter-increment: flow-num;
  content: counter(flow-num);
  position: absolute;
  left: -21px; top: 0;
  width: 40px; height: 40px;
  background: var(--color-main);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-weight: bold;
  font-family: var(--font-heading);
}
.flow-head { font-weight: bold; font-size: 1.1rem; margin-bottom: 10px; display:block; color: var(--color-main); }

/* 2. スタッフ紹介カード */
.staff-card {
  display: flex;
  gap: 40px;
  margin-bottom: 50px;
  border-bottom: 1px solid #eee;
  padding-bottom: 40px;
}
.staff-card:last-child { border-bottom: none; }
.staff-img {
  width: 280px;
  flex-shrink: 0;
}
.staff-img img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  aspect-ratio: 3/4; /* 縦長写真の比率固定 */
  object-fit: cover;
}
.staff-info h3 {
  font-family: var(--font-heading);
  margin: 0 0 5px 0;
  font-size: 1.8rem;
  color: var(--color-main);
}
.staff-role {
  color: var(--color-accent);
  font-weight: bold;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 20px;
}
.staff-message { font-size: 0.95rem; text-align: justify; }

/* 3. アクセス */
.access-map {
  width: 100%;
  height: 400px;
  margin-bottom: 40px;
  border: 1px solid #ddd;
}
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}
.info-table th,.info-table td {
  padding: 18px;
  border-bottom: 1px solid #eee;
  text-align: left;
}
.info-table th {
  width: 25%;
  color: var(--color-main);
  font-weight: 500;
  background-color: #fafafa; /* 項目名に薄い背景 */
}

/* 4. FAQ */
.faq-item {
  margin-bottom: 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.faq-question {
  background-color: #fcfbf9;
  padding: 20px 25px;
  font-weight: bold;
  color: var(--color-main);
  position: relative;
}
.faq-question::before {
  content: "Q.";
  margin-right: 10px;
  font-size: 1.2rem;
  font-family: var(--font-heading);
}
.faq-answer {
  padding: 25px;
  background-color: #fff;
  border-top: 1px solid #eee;
  line-height: 1.8;
}
.faq-answer::before {
  content: "A.";
  font-weight: bold;
  color: var(--color-accent);
  margin-right: 10px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

/* --- スマホ対応 --- */
@media (max-width: 768px) {
.white-block { 
    width: 94%; /* スマホではギリギリまで広げる */
    padding: 40px 20px; 
 }
.hero-title { font-size: 2rem; }
.staff-card { flex-direction: column; gap: 20px; }
.staff-img { width: 100%; max-width: 300px; margin: 0 auto; }
.info-table th,.info-table td { display: block; width: 100%; border: none; padding: 10px 0; }
.info-table th { margin-top: 15px; border-bottom: 2px solid var(--color-sub); font-size: 1rem; background: none; }
}

/* --- スティッキーフッター設定（ここからコピー） --- */

/* 1. ページ全体の高さを確保 */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* 2. ページを縦並びの箱（Flexbox）にする */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* 最低でも画面の高さ（100%）を確保 */
    min-height: 100dvh; /* スマホのアドレスバー対策（最新ブラウザ用） */
}

/* 3. フッターを一番下に押し下げる魔法のコード */
/* Elementorのフッターだけでなく、標準のfooterタグも念のため対象にする */
footer,
.elementor-location-footer,
.site-footer {
    margin-top: auto!important; /* 上の余白を自動で最大にする＝下に張り付く */
    width: 100%;
}

/* --- スティッキーフッター設定（ここまで） --- *//* End custom CSS */