/*
Theme Name: のうこつの窓口
Theme URI: https://noukotu.co.jp/
Author: のうこつの窓口
Author URI: https://noukotu.co.jp/
Description: のうこつの窓口 公式サイト - 和モダン・禅ミニマリズムデザイン
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: noukotu
Tags: japanese, memorial, minimal
*/

/* ============================================================
   Google Fonts は functions.php で wp_enqueue_style() で読み込む
   ============================================================ */

/* ─── CSS カスタムプロパティ ─── */
:root {
  --color-orange: #c8602a;
  --color-orange-dark: #a04820;
  --color-orange-light: #fdf0e8;
  --color-green: #5c8a5c;
  --color-beige: #faf8f3;
  --color-beige-dark: #f0ebe0;
  --color-paper: #f5f0e8;
  --color-dark: #2c2c2c;
  --color-text: #3a2e26;
  --color-muted: #9a8a7a;
  --color-border: #c8b89a;
  --font-serif: 'Noto Serif JP', serif;
  --font-sans: 'Noto Sans JP', sans-serif;
}

/* ─── リセット & ベース ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--color-beige);
  color: var(--color-text);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
}

ul,
ol {
  list-style: none;
}

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

/* ─── コンテナ ─── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── セクション共通 ─── */
.section-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--color-muted);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-dark);
  text-align: center;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.section-title-line {
  width: 3rem;
  height: 2px;
  background: var(--color-orange);
  margin: 0 auto 3rem;
}

/* ─── ヘッダー ─── */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(250, 248, 243, 0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(200, 184, 154, 0.5);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s;
}

#site-header.scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* PC ヘッダー内レイアウト */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 2rem;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background-color: var(--color-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text-top {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--color-green);
  line-height: 1;
}

.logo-text-main {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-dark);
  letter-spacing: 0.05em;
  line-height: 1;
}

/* PC ナビ */
.header-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.header-nav a {
  position: relative;
  padding: 0.5rem 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  color: var(--color-text);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.75rem;
  right: 0.75rem;
  height: 2px;
  background: var(--color-orange);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}

.header-nav a:hover,
.header-nav a.current-menu-item {
  color: var(--color-orange);
  opacity: 1;
}

.header-nav a:hover::after,
.header-nav a.current-menu-item::after {
  transform: scaleX(1);
}

/* 電話 + CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header-tel-label {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  color: var(--color-muted);
  text-align: right;
  line-height: 1;
  margin-bottom: 2px;
}

.header-tel a {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-orange);
  letter-spacing: 0.05em;
}

.header-contact-btn {
  padding: 0.5rem 1rem;
  background: var(--color-orange);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  border-radius: 2px;
  transition: opacity 0.2s;
}

.header-contact-btn:hover {
  opacity: 0.85;
  color: #fff;
}

/* ハンバーガー（スマホ） */
.hamburger-btn {
  display: none;
  width: 40px;
  height: 40px;
  background: var(--color-dark);
  border-radius: 2px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 200;
}

.hamburger-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  transition: all 0.3s;
}

.hamburger-btn.open span:nth-child(1) {
  transform: rotate(45deg) translate(2px, 3px);
}

.hamburger-btn.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.open span:nth-child(3) {
  transform: rotate(-45deg) translate(2px, -3px);
}

/* スマホ ドロワー */
.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 150;
  opacity: 0;
  transition: opacity 0.3s;
}

.drawer-overlay.open {
  opacity: 1;
}

.drawer-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: var(--color-beige);
  z-index: 160;
  transform: translateX(100%);
  transition: transform 0.35s;
  overflow-y: auto;
  border-left: 1px solid rgba(200, 184, 154, 0.4);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
}

.drawer-nav.open {
  transform: translateX(0);
}

.drawer-inner {
  padding: 5rem 1.5rem 2rem;
}

.drawer-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--color-muted);
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed var(--color-border);
  margin-bottom: 0.5rem;
}

.drawer-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px dashed var(--color-border);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-dark);
  transition: color 0.2s;
}

.drawer-nav a:hover,
.drawer-nav a.current {
  color: var(--color-orange);
  opacity: 1;
}

.drawer-nav a svg {
  color: var(--color-orange);
  flex-shrink: 0;
}

.drawer-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--color-border);
  text-align: center;
}

.drawer-tel {
  display: block;
  padding: 0.75rem;
  background: var(--color-orange);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 2px;
  margin-bottom: 0.5rem;
}

.drawer-tel-note {
  font-size: 0.7rem;
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.drawer-contact-btn {
  display: block;
  padding: 0.625rem;
  background: var(--color-green);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 2px;
  text-align: center;
}

/* ─── ヒーローセクション ─── */
#hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-image: url('assets/images/hero_main.webp');
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(250, 248, 243, 0.85) 0%, rgba(250, 248, 243, 0.4) 50%, rgba(250, 248, 243, 0.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding-top: 80px;
  padding: 80px 4rem 0;
}

.hero-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.hero-copy {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.hero-text-v {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--font-serif);
  font-weight: 300;
  color: var(--color-dark);
  letter-spacing: 0.2em;
  line-height: 1.8;
}

.hero-text-v.large {
  font-size: 3rem;
}

.hero-text-v.small {
  font-size: 1.1rem;
  color: #5a5a5a;
  margin-top: 1rem;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 4rem;
}

.hero-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}

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

.hero-btn-primary {
  background: var(--color-orange);
  color: #fff;
}

.hero-btn-secondary {
  background: rgba(250, 248, 243, 0.9);
  border: 1px solid var(--color-orange);
  color: var(--color-orange);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: bounce 2s infinite;
}

.hero-scroll-text {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--color-muted);
}

.hero-scroll-line {
  width: 1px;
  height: 3rem;
  background: linear-gradient(to bottom, var(--color-muted), transparent);
}

/* ─── ご案内メニューセクション ─── */
#main-menu {
  padding: 5rem 0;
}

.menu-list {
  max-width: 760px;
  margin: 0 auto;
  border: 1px dashed var(--color-border);
  border-radius: 2px;
  overflow: hidden;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px dashed var(--color-border);
  background: #fff;
  transition: background 0.2s;
  text-decoration: none;
  color: var(--color-dark);
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item:hover {
  background: var(--color-orange-light);
}

.menu-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px dashed var(--color-orange);
  background: var(--color-orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}

.menu-item:hover .menu-icon-wrap {
  background: var(--color-orange);
}

.menu-icon-wrap svg {
  color: var(--color-orange);
  transition: color 0.2s;
}

.menu-item:hover .menu-icon-wrap svg {
  color: #fff;
}

.menu-text {
  flex: 1;
}

.menu-text-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-dark);
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.menu-text-desc {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--color-muted);
}

.menu-arrow {
  color: var(--color-orange);
  flex-shrink: 0;
}

/* ─── おすすめ情報セクション ─── */
#recommend {
  padding: 5rem 0;
  background: var(--color-paper);
}

.recommend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.recommend-card {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.recommend-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.recommend-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.recommend-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.recommend-card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  background: var(--color-orange);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  border-radius: 2px;
}

.recommend-card-body {
  padding: 1.25rem;
}

.recommend-card-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 1rem;
}

.recommend-card-meta {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--color-muted);
  margin-bottom: 0.25rem;
}

.recommend-card-price {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-orange);
}

.recommend-cta {
  text-align: center;
  margin-top: 2.5rem;
}

.btn-outline-orange {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border: 1.5px solid var(--color-orange);
  color: var(--color-orange);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}

.btn-outline-orange:hover {
  background: var(--color-orange);
  color: #fff;
  opacity: 1;
}

/* ─── ニュースセクション ─── */
#news {
  padding: 5rem 0;
}

.news-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}

.news-list {}

.news-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px dashed var(--color-border);
  transition: background 0.2s;
  cursor: pointer;
}

.news-item:hover {
  background: var(--color-orange-light);
  padding-left: 0.5rem;
}

.news-date {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--color-muted);
  white-space: nowrap;
  padding-top: 2px;
}

.news-tag {
  padding: 0.15rem 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
}

.news-title {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--color-dark);
  line-height: 1.6;
}

.news-sidebar {}

.news-banner {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.news-banner img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.news-banner-text {
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
}

.news-cta-box {
  background: var(--color-dark);
  color: #fff;
  padding: 1.5rem;
  border-radius: 2px;
  text-align: center;
}

.news-cta-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.news-cta-tel {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-orange);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.news-cta-time {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
}

.btn-orange {
  display: inline-block;
  padding: 0.625rem 1.5rem;
  background: var(--color-orange);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 2px;
  transition: opacity 0.2s;
}

.btn-orange:hover {
  opacity: 0.85;
  color: #fff;
}

/* ─── 墓じまいセクション ─── */
#hakajimae-top {
  padding: 5rem 0;
  background: var(--color-paper);
}

.hakajimae-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.hakajimae-img {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}

.hakajimae-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.hakajimae-img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
  padding: 1.5rem;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
}


.hakajimae-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px dashed var(--color-border);
}

.step-num {
  width: 32px;
  height: 32px;
  background: var(--color-orange);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-title {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.25rem;
}

.step-desc {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--color-muted);
}

.hakajimae-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.hakajimae-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  padding: 1rem;
  text-align: center;
}

.hakajimae-card-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.hakajimae-card-title {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.25rem;
}

.hakajimae-card-val {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--color-orange);
  font-weight: 700;
}

/* ─── お客様の声セクション ─── */
#voice-top {
  padding: 5rem 0;
}

.voice-hero {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  height: 200px;
}

.voice-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.voice-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.voice-hero-quote {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  letter-spacing: 0.1em;
}

.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.voice-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  padding: 1.5rem;
  position: relative;
}

.voice-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: var(--color-orange-light);
  color: var(--color-orange);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  border-radius: 2px;
  margin-bottom: 0.75rem;
}

.voice-stars {
  color: #f59e0b;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.voice-title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.voice-body {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: #5a5a5a;
  line-height: 1.7;
}

.voice-meta {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--color-muted);
  margin-top: 0.75rem;
}

.voice-cta {
  text-align: center;
  margin-top: 2rem;
}

.voice-link-wrap {
  margin-top: 20px;
  text-align: right;
}

.voice-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 3px;
  background: #c8602a;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.voice-link::after {
  content: "›";
  margin-left: 10px;
  font-size: 20px;
  line-height: 1;
}

.voice-link:hover {
  color: #fff;
  opacity: 0.8;
}

/* ─── Q&Aセクション ─── */
#qa-top {
  padding: 5rem 0;
  position: relative;
  background: var(--color-paper);
}

.qa-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.06;
}

.qa-inner {
  position: relative;
  z-index: 1;
}

.qa-list {
  max-width: 760px;
  margin: 0 auto;
}

.qa-item {
  border-bottom: 1px dashed var(--color-border);
}

.qa-question {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-dark);
  transition: color 0.2s;
}

.qa-question:hover {
  color: var(--color-orange);
}

.qa-q-badge {
  width: 28px;
  height: 28px;
  background: var(--color-orange);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.qa-toggle {
  margin-left: auto;
  color: var(--color-orange);
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.qa-item.open .qa-toggle {
  transform: rotate(45deg);
}

.qa-answer {
  display: none;
  padding: 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: #5a5a5a;
  line-height: 1.8;
}

.qa-item.open .qa-answer {
  display: block;
}

.qa-answer-box {
  display: flex;
  white-space: pre-line;
}

.qa-a-badge {
  display: inline-block;
  width: 28px;
  height: 28px;
  background: var(--color-green);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 28px;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 700;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.qa-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ─── 会社紹介（About）セクション ─── */
#about {
  padding: 5rem 0;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 2px;
}

.about-content {}

.about-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--color-orange);
  margin-bottom: 0.5rem;
}

.about-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.about-desc {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: #5a5a5a;
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.about-feature {
  text-align: center;
  padding: 1rem;
  background: var(--color-orange-light);
  border-radius: 2px;
}

.about-feature-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-orange);
}

.about-feature-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--color-dark);
  margin-top: 0.25rem;
}

/* ─── CTA バナー ─── */
#cta-banner {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-dark) 100%);
  text-align: center;
}

.cta-sub {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn-tel {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: #fff;
  color: var(--color-orange);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 2px;
  transition: background 0.2s;
}

.cta-btn-tel:hover {
  background: var(--color-orange-light);
  color: var(--color-orange);
  opacity: 1;
}

.cta-btn-mail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border: 2px solid #fff;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}

.cta-btn-mail:hover {
  background: #fff;
  color: var(--color-orange);
  opacity: 1;
}

/* ─── フッター ─── */
#site-footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 1.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--color-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

.footer-desc {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.footer-tel {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-orange);
}

.footer-nav-title {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
}

.footer-nav-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
}

.footer-nav-list a {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.footer-nav-list a:hover {
  color: #fff;
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links a:hover {
  color: rgba(255, 255, 255, 0.8);
  opacity: 1;
}

.footer-copy {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ─── 下層ページ共通 ─── */
.page-hero {
	  text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1rem;
  background: linear-gradient(rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.38)), center/cover no-repeat;
}

/* .page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transform: translate(30%, -30%);
} */

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.page-hero p {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
  color: #fff;
  opacity: 1;
}

.breadcrumb-sep {
  margin: 0 0.25rem;
}

/* 下層 コンテンツエリア */
.subpage-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.subpage-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* サイドバー */
.sidebar {}

.sidebar-menu {
  border: 1.5px dashed var(--color-orange);
  border-radius: 2px;
  overflow: hidden;
}

.sidebar-menu-head {
  background: var(--color-orange);
  color: #fff;
  text-align: center;
  padding: 0.75rem 1rem;
}

.sidebar-menu-head .en {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
}

.sidebar-menu-head .ja {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 2px;
}

.sidebar-nav {
  background: #fff;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px dashed #e0c9b8;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: #4a3728;
  transition: background 0.2s;
}

.sidebar-nav a:last-child {
  border-bottom: none;
}

.sidebar-nav a:hover,
.sidebar-nav a.current {
  background: var(--color-orange-light);
  color: var(--color-orange);
  opacity: 1;
}

.sidebar-nav a .s-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px dashed var(--color-orange);
  background: var(--color-orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-orange);
  transition: background 0.2s, color 0.2s;
}

.sidebar-nav a:hover .s-icon,
.sidebar-nav a.current .s-icon {
  background: var(--color-orange);
  color: #fff;
}

.sidebar-nav a .s-label {
  flex: 1;
}

.sidebar-nav a .s-arrow {
  color: var(--color-orange);
  opacity: 0.6;
}

.sidebar-cta {
  margin-top: 1.5rem;
  border: 1.5px solid var(--color-orange);
  border-radius: 2px;
  background: linear-gradient(135deg, #fff8f3 0%, var(--color-orange-light) 100%);
  padding: 1.25rem 1rem;
  text-align: center;
}

.sidebar-cta-note {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: #8b6355;
  margin-bottom: 0.25rem;
}

.sidebar-cta-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--color-orange);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.sidebar-cta-time {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  color: #8b6355;
  margin-bottom: 0.75rem;
}

.sidebar-cta-btn {
  display: block;
  padding: 0.625rem;
  background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-dark) 100%);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 2px;
  text-align: center;
  transition: opacity 0.2s;
}

.sidebar-cta-btn:hover {
  opacity: 0.9;
  color: #fff;
}

/* 下層 メインコンテンツ */
.subpage-main {}

.content-section {
  margin-bottom: 2.5rem;
}

.content-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-dark);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-orange);
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}

.content-text {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: #5a5a5a;
  line-height: 1.9;
}

/* 下層 CTA バナー */
.subpage-cta {
  padding: 3rem 1rem;
  background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-dark) 100%);
  text-align: center;
}

.subpage-cta p {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.subpage-cta h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
}

.subpage-cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.subpage-cta-tel {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: #fff;
  color: var(--color-orange);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 2px;
}

.subpage-cta-tel:hover {
  background: var(--color-orange-light);
  color: var(--color-orange);
  opacity: 1;
}

.subpage-cta-mail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border: 2px solid #fff;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}

.subpage-cta-mail:hover {
  background: #fff;
  color: var(--color-orange);
  opacity: 1;
}

.cf7-contact-form {
  max-width: 1180px;
  margin: 0 auto;
}

.form-section-title {
  margin: 55px 0 20px;
  font-size: 20px;
  color: #0f2b46;
  font-weight: 700;
}

.form-table {
  width: 100%;
}

.form-line {
  display: grid;
  grid-template-columns: 220px 1fr;
  border: 1px solid #d5d5d5;
  border-bottom: none;
}

.form-line:last-child {
  border-bottom: 1px solid #d5d5d5;
}

.form-label {
  background: #c7c5c0;
  padding: 18px 20px;
  font-weight: 700;
  color: #0f2b46;
}

.form-label span {
  color: #ff7447;
  font-size: 13px;
  margin-left: 2px;
}

.form-input {
  background: #fff;
  padding: 12px 14px;
}

.form-input input,
.form-input select,
.form-input textarea {
  width: 100%;
  border: none;
  font-size: 16px;
  padding: 8px;
  box-sizing: border-box;
}

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

.wpcf7-list-item {
  margin: 0 18px 8px 0;
}

.privacy-box {
  height: 180px;
  overflow-y: scroll;
  padding: 18px;
  line-height: 1.9;
  color: #0f2b46;
}

.privacy-check {
  text-align: center;
  margin: 18px 0;
}

.submit-area {
  text-align: center;
}

.submit-area input[type="submit"] {
  width: 360px;
  max-width: 90%;
  background: #4b4138;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 22px;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
}

.submit-area input[type="submit"]:hover {
  opacity: 0.85;
}

.privacy-policy-box {
  margin-top: 20px;
  height: 200px;
  overflow-y: auto;
  border: 1px solid #ddd;
  background: #fff;
  padding: 20px;
  line-height: 1.8;
}

.privacy-policy-box h4 {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 700;
}

.privacy-policy-box p {
  margin: 0 0 30px;
}

@media (max-width: 768px) {
  .form-line {
    grid-template-columns: 1fr;
  }

  .form-label {
    padding: 12px 15px;
  }

  .form-input {
    padding: 10px;
  }
}

/* ─── アニメーション ─── */
@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* ─── レスポンシブ ─── */
@media (max-width: 1024px) {
  .header-inner {
    display: none;
  }

  .header-mobile {
    display: flex !important;
  }

  .hamburger-btn {
    display: flex;
  }

  /* .drawer-overlay {
    display: block;
  } */

  .recommend-grid {
    grid-template-columns: 1fr 1fr;
  }

  .news-layout {
    grid-template-columns: 1fr;
  }

  .hakajimae-layout {
    grid-template-columns: 1fr;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .subpage-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }
}

@media (max-width: 640px) {
  .recommend-grid {
    grid-template-columns: 1fr;
  }

  .voice-grid {
    grid-template-columns: 1fr;
  }

  .hakajimae-cards {
    grid-template-columns: 1fr;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .hero-text-v.large {
    font-size: 2rem;
  }

  .hero-text-v.small {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .cta-btns {
    flex-direction: column;
    align-items: center;
  }
}

/* ─── スマホ用ヘッダー ─── */
.header-mobile {
  display: none;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 1rem;
}


/* ─── お客様の声 ─── */
.voice-card {
  background: #fff;
  border: 1px solid #e8ddd0;
  border-radius: 2px;
  padding: 1.5rem;
  position: relative;
}

.voice-card-top {
  /* display: flex; */
  margin-bottom: 20px;
}

.voice-card-bottom {
  font-size: 0.85rem;
}

.voice-manager-body {
  color: #5a5a5a;
}



.voice-card-text {
  width: 100%;
  margin-right: 20px;
}

.voice-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: var(--color-orange-light);
  color: var(--color-orange);
  font-size: 0.72rem;
  border-radius: 2px;
  margin-bottom: 0.5rem;
}

.voice-stars {
  color: #f5a623;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.voice-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.75rem;
}

.voice-body {
  font-size: 0.85rem;
  color: #5a5a5a;
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.voice-meta {
  font-size: 0.75rem;
  color: var(--color-muted);
  text-align: right;
}

/* スタッフカード */

.staff-profile-card {
  display: flex;
  gap: 32px;
  padding: 24px;
  border: 1px solid #b6b6b6;
  background: #fff;
  margin-bottom: 30px;
}

.staff-profile-left {
  width: 180px;
  flex-shrink: 0;
}

.staff-profile-img {
  width: 100%;
  display: block;
  margin-bottom: 12px;
}

.staff-name {
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}

.staff-kana {
  font-size: 12px;
  color: #666;
  margin-bottom: 4px;
}

.staff-role {
  line-height: 1.6;
  font-size: 0.85rem;

}

.staff-profile-right {
  flex: 1;
}

.staff-profile-right-ttl {
  margin: 0;
  line-height: 1.9;
  color: #5a5a5a;
  font-size: 0.85rem;
}

.staff-profile-right-text {
  margin: 0 0 20px;
  line-height: 1.9;
  color: #5a5a5a;
  font-size: 0.85rem;
}

.staff-profile-right ul {
  margin: 0 0 12px 1.2em;
}


.staff-profile-right li {
  font-size: 0.85rem;
  color: #5a5a5a;
  line-height: 1.9;
}

.staff-catch {
  font-size: 1rem;
  margin-bottom: 16px;
  font-weight: bold;
}

@media(max-width:768px) {

  .staff-profile-card {
    flex-direction: column;
  }

  .staff-profile-left {
    width: 100%;
    max-width: 220px;
  }
}

/* ─── Q&A ─── */
.qa-wrap {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.qa-category {}

.qa-category-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark);
  padding: 0.5rem 1rem;
  background: var(--color-beige-dark);
  border-left: 4px solid var(--color-orange);
  margin-bottom: 0.75rem;
}

.qa-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.qa-item {
  background: #fff;
  border: 1px solid #e8ddd0;
  border-radius: 2px;
  overflow: hidden;
}

.qa-q {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-dark);
  list-style: none;
  transition: background 0.2s;
}

.qa-q:hover {
  background: var(--color-orange-light);
}

.qa-q::-webkit-details-marker {
  display: none;
}

.qa-q-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.qa-q span:nth-child(2) {
  flex: 1;
}

.qa-arrow {
  flex-shrink: 0;
  color: var(--color-orange);
  transition: transform 0.3s;
}

details[open] .qa-arrow {
  transform: rotate(180deg);
}

.qa-a {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--color-beige);
  border-top: 1px dashed #e0c9b8;
  font-size: 0.88rem;
  color: #5a5a5a;
  line-height: 1.8;
}

.qa-a {
  white-space: pre-line;
}

.qa-a-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ─── お問い合わせ ─── */
.contact-card {
  background: #fff;
  border: 1px solid #e8ddd0;
  border-radius: 2px;
  padding: 2rem 1.5rem;
  text-align: center;
}

.contact-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-orange-light);
  color: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.contact-card h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.75rem;
}

.contact-tel {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-orange);
  margin-bottom: 0.5rem;
}

.contact-time {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-dark);
}

.required {
  display: inline-block;
  padding: 0.1rem 0.4rem;
  background: var(--color-orange);
  color: #fff;
  font-size: 0.65rem;
  border-radius: 2px;
  margin-left: 0.25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #d0c0b0;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--color-dark);
  background: #fff;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-orange);
}

.form-privacy {
  flex-direction: row;
  align-items: center;
}

.form-privacy label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  cursor: pointer;
}

.form-privacy a {
  color: var(--color-orange);
  text-decoration: underline;
}

.form-submit {
  padding: 1rem 3rem;
  background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-dark) 100%);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  border-radius: 2px;
  letter-spacing: 0.1em;
  transition: opacity 0.2s;
}

.form-submit:hover {
  opacity: 0.85;
}

/* ─── 会社情報 ─── */
.company-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.company-table th,
.company-table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px dashed #e0c9b8;
  text-align: left;
}

.company-table th {
  width: 140px;
  color: var(--color-muted);
  font-weight: 500;
  background: var(--color-beige-dark);
}

.company-table td {
  color: var(--color-dark);
  background: #fff;
}

.company-table a {
  color: var(--color-orange);
}

/* ─── のうこつ先を探す ─── */

.nokotsu-search-section {
  background: #faf7ee;
  padding: 70px 20px;
}

.nokotsu-search-title {
  text-align: center;
  color: #2f2a25;
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 42px;
}

.nokotsu-search-box {
  max-width: 900px;
  margin: 0 auto 30px;
  background: #fff;
  border: 1px solid #eadfd2;
  padding: 42px;
  display: flex;
  gap: 24px;
  justify-content: center;
}

.nokotsu-search-btn {
  width: 320px;
  min-height: 76px;
  background: #fff;
  border: 2px solid #c65d2a;
  color: #2f2a25;
  font-size: 20px;
  cursor: pointer;
}

.nokotsu-search-btn:hover {
  background: #c65d2a;
  color: #fff;
}

.arrow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-right: 14px;
  background: #c65d2a;
  color: #fff;
  border-radius: 50%;
}

/* モーダル */
.search-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(47, 42, 37, 0.55);
  padding: 30px;
}

.search-modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-modal-inner {
  position: relative;
  width: min(920px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #eadfd2;
  padding: 48px 64px 60px;
}

.search-modal-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 42px;
  height: 42px;
  border: 1px solid #cbb79f;
  background: #fff;
  color: #c65d2a;
  font-size: 30px;
  cursor: pointer;
}

.search-modal-title {
  font-weight: normal;
  color: #2f2a25;
  font-size: 28px;
  margin: 0 0 24px;
}

.search-modal-line {
  height: 2px;
  background: #c65d2a;
  margin-bottom: 42px;
}

.area-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 30px;
  padding: 22px 0;
  border-bottom: 1px dotted #d8c4b2;
}

.area-pref {
  color: #2f2a25;
  font-weight: 700;
}

.area-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.area-links a {
  color: #c65d2a;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid #c65d2a;
}

.type-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.type-btn {
  min-height: 82px;
  background: #fff;
  border: 2px solid #c65d2a;
  color: #2f2a25;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.type-btn:hover {
  background: #c65d2a;
  color: #fff;
}

@media (max-width: 768px) {
  .nokotsu-search-box {
    flex-direction: column;
    padding: 28px;
  }

  .nokotsu-search-btn {
    width: 100%;
  }

  .search-modal-inner {
    padding: 36px 24px 44px;
  }

  .area-row {
    grid-template-columns: 1fr;
  }

  .type-list {
    grid-template-columns: 1fr;
  }
}

/* ─── 墓じまいステップ ─── */
.hakajimae-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 30px;
}

.hakajimae-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid #e8ddd0;
  border-bottom: none;
  position: relative;
}

.hakajimae-step:last-child {
  border-bottom: 1px solid #e8ddd0;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-orange);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.25rem;
}

.step-desc {
  font-size: 0.82rem;
  color: #5a5a5a;
  line-height: 1.7;
}

.hakajimae-card {
  background: #fff;
  border: 1px solid #e8ddd0;
  border-radius: 2px;
  padding: 1.25rem 1rem;
  text-align: center;
}

.hakajimae-card-icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.hakajimae-card-title {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-muted);
  margin-bottom: 10px;
}

.hakajimae-card-title span {
  color: var(--color-orange);

}

.hakajimae-card-val {
  font-size: 0.8rem;
  font-weight: normal;
  font-family: var(--font-sans);
}

/* ─── ニュースリスト（下層） ─── */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.news-item-single {
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: #fff;
  transition: background 0.2s;
  font-size: 0.88rem;
}

.news-item-top {
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px dashed #e0c9b8;
}

.news-item:hover {
  background: var(--color-orange-light);
}

.news-date {
  color: var(--color-muted);
  font-size: 0.8rem;
  white-space: nowrap;
}

.news-cat {
  padding: 0.15rem 0.5rem;
  background: var(--color-orange-light);
  color: var(--color-orange);
  font-size: 0.7rem;
  border-radius: 2px;
  white-space: nowrap;
}

.news-title-single {
  font-weight: bold;
  flex: 1;
  color: var(--color-dark);
}

/* ─── レスポンシブ（追加） ─── */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .search-grid {
    grid-template-columns: 1fr;
  }

  .company-table th {
    width: 100px;
  }
}

@media (max-width: 640px) {
  .contact-card {
    padding: 1.5rem 1rem;
  }

  .contact-tel {
    font-size: 1.25rem;
  }

  .staff-card {
    padding: 1.25rem 0.75rem;
  }
}


/* 検索結果カード */
.search-place-card {
  background: #fff;
  border: 1px solid #eadfd2;
  padding: 28px;
  margin-bottom: 30px;
}

.search-place-content {
  gap: 30px;
  align-items: start;
}

.search-place-tags {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
}

.search-place-tags span {
  background: #4b4138;
  color: #fff;
  padding: 8px 16px;
  font-size: 0.85rem;
}

.search-place-tags strong {
  border: 2px solid #4b4138;
  color: #10263d;
  padding: 6px 16px;
  font-weight: normal;
  font-size: 0.85rem;

}

.search-place-title {
  color: #10263d;
  margin: 0 0 20px;
}

.search-place-access,
.search-place-point {
  color: #10263d;
  line-height: 1.8;
}

.search-place-access {
  margin-top: 20px;
}

.search-place-access p {
  margin: 4px 0;
}

.search-place-point {
  margin-bottom: 16px;
}

.search-place-point p {
  margin: 0 0 4px;
  font-weight: 700;
}

.search-place-image {
  margin: 30px 0;
}

.search-place-image img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}

/* 追加情報 */
.search-place-price,
.search-place-box {
  margin-top: 24px;
  padding: 20px;
  background: #faf7ee;
  border: 1px solid #eadfd2;
  color: #10263d;
  line-height: 1.8;
}

.search-place-price {
  background: #fff8f2;
}

.search-place-subttl {
  margin: 0 0 10px;
  color: #c65d2a;
  font-weight: 700;
}

.search-place-priest-name {
  margin: 0 0 8px;
  font-weight: 700;
}

.search-place-access-img {
  margin-bottom: 14px;
}

.search-place-access-img img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  display: block;
}

/* ボタン */
.search-place-buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
}

.search-btn {
  min-width: 170px;
  padding: 14px 24px;
  color: #fff;
  text-align: center;
  font-weight: 700;
  text-decoration: none;
}

.search-btn.green {
  background: linear-gradient(135deg, var(--color-orange) 0%, var(--color-orange-dark) 100%);
}

.search-btn.orange {
  background: #ffffff;
  border: 2px solid var(--color-orange);
  color: var(--color-orange);

}

.search-btn span {
  background: #fff;
  color: #ff7447;
  padding: 2px 5px;
  margin-left: 4px;
}

/* モーダル */
.nokotsu-search-btn {
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

.search-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(47, 42, 37, 0.55);
  align-items: center;
  justify-content: center;
  padding: 30px;
}

body.area-open .search-modal-area,
body.type-open .search-modal-type {
  display: flex;
}

.search-modal-inner {
  position: relative;
  width: min(920px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #eadfd2;
  padding: 48px 64px 60px;
}

.search-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 32px;
  background: none;
  border: none;
  cursor: pointer;
}

.search-place-item {
  font-size: 0.85rem;
}

.search-place-label {
  font-weight: bold;
}

/* スマホ */
@media (max-width: 768px) {
  .search-place-image img {
    height: 220px;
  }

  .search-place-buttons {
    flex-direction: column;
  }

  .search-modal-inner {
    padding: 36px 24px 44px;
  }
}

/* 詳細ページ */

.single-place-wrap {
  margin-top: 100px;
}

.single-place-main-img {
  margin-top: 18px;
}

.single-place-title {
  font-size: 1.75rem;
}

.single-place-area {
  margin-bottom: 18px;
  font-size: 0.85rem;
}

.access-item-text {
  margin-top: 20px;
  margin-bottom: 50px;
}


.single-place-gallery {
  overflow: hidden;
  margin: 30px 0;
}

.single-place-gallery-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: galleryLoop 100s linear infinite;
}

.single-place-gallery:hover .single-place-gallery-track {
  animation-play-state: paused;
}

.single-place-gallery-item {
  width: 500px;
  flex-shrink: 0;
}

.single-place-gallery-item img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

@keyframes galleryLoop {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 10px));
  }
}