@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;700;900&family=Noto+Serif+JP:wght@600;900&display=swap');

/* ==========================================================================
   Design System & Base Styles
   ========================================================================== */

:root {
  --primary-color: #c94a29;      /* 朱色（しゅいろ） - 温かみのある伝統的な和の赤橙 */
  --primary-light: #dd6e50;
  --primary-dark: #a8361b;
  --secondary-color: #d0a639;    /* 芥子色（からしいろ） - 渋みのある温かい黄色 */
  --secondary-light: #ebd082;
  --accent-color: #a93222;       /* 茜色（あかねいろ） - スタンプ風や強調 */
  --success-color: #6e7f45;      /* 抹茶色（まっちゃいろ） - 安心感のある和の緑 */
  --text-main: #362e2b;          /* 焦茶（こげちゃ） - 温かみのある落ち着いた暗い茶色 */
  --text-muted: #6e6057;         /* 薄焦茶 */
  --bg-base: #fbf9f4;            /* 生成り色（きなりいろ） - 温かみのある和の白 */
  --bg-white: #ffffff;
  --bg-soft: #f7f2e8;            /* 鳥の子色（とりのこいろ） - 落ち着いた薄ベージュ */
  --border-color: #e7dccb;       /* 生成りボーダー */
  
  --font-family: 'Zen Maru Gothic', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Noto Serif JP', 'Zen Maru Gothic', serif;
  
  --shadow-sm: 0 4px 8px rgba(54, 46, 43, 0.03);
  --shadow-md: 0 12px 24px rgba(54, 46, 43, 0.06);
  --shadow-lg: 0 20px 40px rgba(54, 46, 43, 0.09);
  --shadow-btn: 0 4px 0 #a8361b;
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-round: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --container-width: 1140px;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.section-bg-soft {
  background-color: var(--bg-soft);
  background-image: 
    linear-gradient(45deg, rgba(201, 74, 41, 0.015) 25%, transparent 25%, transparent 75%, rgba(201, 74, 41, 0.015) 75%, rgba(201, 74, 41, 0.015)),
    linear-gradient(45deg, rgba(201, 74, 41, 0.015) 25%, transparent 25%, transparent 75%, rgba(201, 74, 41, 0.015) 75%, rgba(201, 74, 41, 0.015));
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
}

.section-bg-white {
  background-color: var(--bg-white);
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary-dark);
  margin-bottom: 15px;
  position: relative;
  display: block;
  letter-spacing: 1px;
}

.section-title::after {
  content: '◆ ❖ ◆';
  display: block;
  font-size: 0.85rem;
  color: var(--secondary-color);
  letter-spacing: 6px;
  text-align: inherit;
  margin: 10px auto 0;
  width: 100%;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   UI Components
   ========================================================================== */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-white);
  border-bottom: 4px solid var(--primary-dark);
  box-shadow: 0 4px 10px rgba(201, 74, 41, 0.15);
}

.btn-primary:hover {
  transform: translateY(2px);
  border-bottom-width: 2px;
  margin-bottom: 2px;
  box-shadow: 0 2px 5px rgba(201, 74, 41, 0.15);
}

.btn-primary:active {
  transform: translateY(4px);
  border-bottom-width: 0;
  margin-bottom: 4px;
  box-shadow: none;
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--bg-white);
  border-bottom: 4px solid #b0892b;
  box-shadow: 0 4px 10px rgba(208, 166, 57, 0.15);
}

.btn-secondary:hover {
  transform: translateY(2px);
  border-bottom-width: 2px;
  margin-bottom: 2px;
  box-shadow: 0 2px 5px rgba(208, 166, 57, 0.15);
}

.btn-secondary:active {
  transform: translateY(4px);
  border-bottom-width: 0;
  margin-bottom: 4px;
  box-shadow: none;
}

.btn-success {
  background-color: var(--success-color);
  color: var(--bg-white);
  border-bottom: 4px solid #576534;
  box-shadow: 0 4px 10px rgba(110, 127, 69, 0.15);
}

.btn-success:hover {
  transform: translateY(2px);
  border-bottom-width: 2px;
  margin-bottom: 2px;
  box-shadow: 0 2px 5px rgba(110, 127, 69, 0.15);
}

.btn-success:active {
  transform: translateY(4px);
  border-bottom-width: 0;
  margin-bottom: 4px;
  box-shadow: none;
}

.btn-outline {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

.btn-lg {
  padding: 20px 48px;
  font-size: 1.25rem;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--accent-color);
  background-color: transparent;
  color: var(--accent-color);
  font-family: var(--font-heading);
  transform: rotate(-1deg);
  letter-spacing: 0.5px;
}

/* Cards */
.card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

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

/* ==========================================================================
   Header Section
   ========================================================================== */
.header {
  background-color: rgba(255, 250, 247, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 80px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  background-color: var(--accent-color);
  width: 38px;
  height: 38px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.4rem;
  box-shadow: 0 2px 5px rgba(169, 50, 34, 0.2);
  border: 1.5px solid var(--bg-white);
  outline: 1.5px solid var(--accent-color);
  transform: rotate(-3deg);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: var(--text-main);
}

.logo-text span {
  color: var(--primary-color);
}

.header-logo-img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 768px) {
  .header-logo-img {
    height: 32px;
  }
}

.header-info-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-info-box {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.header-info-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.header-tel {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 5px;
}

.header-tel-icon {
  font-size: 1.1rem;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cta .btn {
  padding: 10px 20px;
  font-size: 0.95rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 60px 0 100px;
  background: radial-gradient(circle at 80% 20%, #fffdfa 0%, var(--bg-base) 100%);
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(45deg, rgba(201, 74, 41, 0.01) 25%, transparent 25%, transparent 75%, rgba(201, 74, 41, 0.01) 75%, rgba(201, 74, 41, 0.01)),
    linear-gradient(45deg, rgba(201, 74, 41, 0.01) 25%, transparent 25%, transparent 75%, rgba(201, 74, 41, 0.01) 75%, rgba(201, 74, 41, 0.01));
  background-size: 60px 60px;
  background-position: 0 0, 30px 30px;
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-tagline-wrapper {
  margin-bottom: 20px;
}

.hero-area-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--bg-soft);
  border: 1px solid var(--border-color);
  color: var(--primary-dark);
  padding: 6px 16px;
  border-radius: var(--radius-round);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.hero-title span {
  background: linear-gradient(to right, var(--primary-dark), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 35px;
  font-weight: 500;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 40px;
}

.hero-badge-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--bg-white);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.hero-badge-icon {
  background-color: var(--bg-soft);
  color: var(--primary-color);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.hero-badge-text {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}

.hero-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-cta-buttons .btn {
  flex: 1;
  min-width: 240px;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, var(--secondary-light) 0%, transparent 70%);
  z-index: 1;
  filter: blur(20px);
  opacity: 0.6;
}

.hero-img {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--bg-white);
  transform: rotate(1deg);
  max-height: 500px;
  object-fit: cover;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.about-intro-text {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 24px;
}

.about-highlight-box {
  background-color: var(--bg-soft);
  border-left: 5px solid var(--primary-color);
  padding: 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 30px;
}

.about-highlight-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}

.about-stat-card {
  padding: 15px;
}

.about-stat-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary-color);
  line-height: 1.2;
}

.about-stat-num span {
  font-size: 1rem;
  font-weight: 700;
}

.about-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 5px;
  font-weight: 700;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.feature-card {
  display: flex;
  gap: 24px;
  padding: 30px;
}

.feature-icon-wrapper {
  background: linear-gradient(135deg, var(--bg-soft), #ffe0cc);
  color: var(--primary-color);
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 900;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.feature-info h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 12px;
}

.feature-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-img-wrapper {
  height: 220px;
  overflow: hidden;
  position: relative;
}

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

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

.service-price-badge {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 8px 16px;
  border-radius: var(--radius-round);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.service-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-content h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.service-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-examples {
  background-color: var(--bg-soft);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.service-examples-title {
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.service-examples-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  color: var(--text-main);
}

.service-examples-list li::before {
  content: '・';
  color: var(--primary-color);
  font-weight: 900;
}

.services-footer {
  text-align: center;
  margin-top: 50px;
}

.services-footer-text {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ==========================================================================
   Steps Section
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 45px;
  left: 10%;
  width: 80%;
  height: 4px;
  background-color: var(--border-color);
  z-index: 1;
}

.step-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
  position: relative;
  z-index: 2;
  border: 2px solid var(--border-color);
}

.step-num {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 900;
  margin: 0 auto 20px;
  box-shadow: 0 4px 10px rgba(255, 126, 54, 0.3);
}

.step-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 12px;
}

.testimonial-user {
  font-weight: 700;
  font-size: 0.95rem;
}

.testimonial-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimonial-tag {
  background-color: var(--bg-soft);
  color: var(--primary-dark);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.8rem;
}

.testimonial-body {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-main);
  flex-grow: 1;
}

.testimonial-stars {
  color: var(--secondary-color);
  margin-top: 15px;
  font-size: 1.1rem;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 24px;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-question::before {
  content: 'Q';
  color: var(--primary-color);
  font-size: 1.3rem;
  font-weight: 900;
  margin-right: 15px;
}

.faq-question-text {
  flex-grow: 1;
}

.faq-toggle-icon {
  font-size: 1rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1); /* スムーズな展開アコーディオン */
  background-color: var(--bg-soft);
}

.faq-answer-inner {
  padding: 24px;
  border-top: 1px solid var(--border-color);
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
}

.faq-answer-inner::before {
  content: 'A';
  color: var(--success-color);
  font-size: 1.3rem;
  font-weight: 900;
  margin-right: 15px;
  flex-shrink: 0;
}

.faq-item.active {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
  color: var(--primary-color);
}

.faq-item.active .faq-answer {
  max-height: 1000px; /* 十分に大きい値 */
  transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

/* ==========================================================================
   Contact / CTA Section
   ========================================================================== */
.contact-section {
  background: linear-gradient(135deg, var(--bg-soft) 0%, #fff0e5 100%);
  border-top: 1px solid var(--border-color);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info-panel h3 {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.contact-info-panel p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-channel-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background-color: var(--bg-white);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.contact-channel-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 900;
  flex-shrink: 0;
}

.contact-channel-card.tel .contact-channel-icon {
  background-color: #ffebe5;
  color: var(--primary-color);
}

.contact-channel-card.line .contact-channel-icon {
  background-color: #e8f9ee;
  color: #25d366;
}

.contact-channel-detail h4 {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-channel-value {
  font-size: 1.4rem;
  font-weight: 900;
}

.contact-channel-value a {
  color: inherit;
}

.contact-channel-btn {
  margin-left: auto;
  padding: 8px 16px;
  font-size: 0.85rem;
}

.contact-form-panel {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

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

.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.form-label span {
  color: var(--accent-color);
  font-size: 0.8rem;
  margin-left: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-color);
  background-color: var(--bg-base);
  transition: var(--transition);
  font-size: 0.95rem;
}

.form-control:focus {
  border-color: var(--primary-color);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(255, 126, 54, 0.15);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237a6e67' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 40px;
}

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

.form-privacy-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 15px;
}

.form-success-message {
  display: none; /* JSで切り替え */
  text-align: center;
  padding: 40px 20px;
}

.form-success-icon {
  font-size: 3.5rem;
  color: var(--success-color);
  margin-bottom: 20px;
}

.form-success-title {
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.form-success-text {
  color: var(--text-muted);
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.footer {
  background-color: var(--text-main);
  color: #ebdcd0;
  padding: 60px 0 30px;
  font-size: 0.9rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(235, 220, 208, 0.1);
  padding-bottom: 40px;
}

.footer-logo {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--bg-white);
  margin-bottom: 15px;
}

.footer-logo span {
  color: var(--primary-light);
}

.footer-desc {
  color: #bfaea2;
  line-height: 1.6;
  max-width: 320px;
}

.footer-links-title {
  color: var(--bg-white);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a:hover {
  color: var(--primary-light);
}

.footer-company-table {
  width: 100%;
}

.footer-company-table td {
  padding: 6px 0;
  vertical-align: top;
}

.footer-company-table td:first-child {
  font-weight: 700;
  color: var(--bg-white);
  width: 90px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #bfaea2;
  font-size: 0.8rem;
}

.footer-privacy-link:hover {
  color: var(--primary-light);
}

/* ==========================================================================
   Animations
   ========================================================================== */

/* Fade in up effect for Intersection Observer */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delay modifiers */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* Micro interaction */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.pulse-hover:hover {
  animation: pulse 1s infinite alternate ease-in-out;
}

/* ==========================================================================
   Responsive Styles (Media Queries)
   ========================================================================== */

@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }
  
  .hero-grid, .about-grid, .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-image-wrapper {
    order: -1; /* スマホ・タブレットでは画像を上にする */
  }
  
  .hero-img {
    max-height: 400px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps-grid::before {
    display: none; /* スマホ/タブレットでは接続線を消す */
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-top > div:first-child {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  section {
    padding: 40px 0;
  }

  .hero {
    padding: 30px 0 50px;
  }

  .service-img-wrapper {
    height: 160px;
  }

  .service-content {
    padding: 16px;
  }

  .step-card {
    padding: 20px 15px;
  }

  .step-num {
    margin: 0 auto 12px;
  }

  .feature-card {
    padding: 20px;
  }

  .stat-card {
    padding: 20px;
  }

  .testimonial-card {
    padding: 20px;
  }

  .faq-item {
    margin-bottom: 12px;
  }

  .features-grid,
  .services-grid,
  .testimonials-grid,
  .steps-grid {
    gap: 20px;
  }
  
  .header {
    height: auto;
    padding: 15px 0;
  }
  
  .header-container {
    flex-direction: column;
    gap: 15px;
  }
  
  .header-info-nav {
    width: 100%;
    justify-content: space-between;
    gap: 15px;
  }
  
  .header-info-box {
    text-align: left;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form-panel {
    padding: 24px;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .footer-top > div:first-child {
    grid-column: span 1;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-badges {
    grid-template-columns: 1fr;
  }
  
  .hero-cta-buttons .btn {
    width: 100%;
  }
}

/* ==========================================================================
   Reservation Calendar (予約状況カレンダー)
   ========================================================================== */
.reservation-calendar-container {
  margin-top: 15px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 10px;
}

.calendar-nav-btn {
  background-color: var(--bg-soft);
  border: 1px solid var(--border-color);
  color: var(--primary-color);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: var(--transition);
  font-weight: bold;
}

.calendar-nav-btn:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
  border-color: var(--primary-color);
}

.calendar-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  background-color: var(--bg-soft);
  color: var(--text-muted);
  border-color: var(--border-color);
}

.calendar-month-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 6px;
}

.calendar-weekdays .sunday {
  color: var(--accent-color);
}

.calendar-weekdays .saturday {
  color: #3b629b; /* 落ち着いた和の藍色 */
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.calendar-day-cell {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  cursor: default;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.calendar-day-num {
  font-size: 0.85rem;
  line-height: 1.1;
  margin-bottom: 2px;
}

.calendar-day-status {
  font-size: 0.75rem;
  font-weight: 900;
  line-height: 1;
}

/* 各ステータスのスタイル */
.day-ok {
  color: var(--success-color);
  cursor: pointer;
  background-color: #f3f7eb; /* 薄い緑 */
}
.day-ok:hover {
  background-color: #e5f0d3;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(110, 127, 69, 0.1);
  border-color: var(--success-color);
}

.day-warn {
  color: var(--secondary-color);
  cursor: pointer;
  background-color: #fbf8ee; /* 薄い黄色 */
}
.day-warn:hover {
  background-color: #f7edd1;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(208, 166, 57, 0.1);
  border-color: var(--secondary-color);
}

.day-ng {
  color: var(--text-muted);
  opacity: 0.4;
  background-color: var(--bg-soft);
  cursor: not-allowed;
}

.day-disabled {
  color: var(--text-muted);
  opacity: 0.25;
  background-color: var(--bg-soft);
  cursor: not-allowed;
}

.day-sunday {
  color: var(--accent-color);
}

.day-saturday {
  color: #3b629b;
}

/* 選択中のスタイル */
.calendar-day-cell.selected {
  background-color: var(--primary-color) !important;
  color: var(--bg-white) !important;
  border-color: var(--primary-dark) !important;
  box-shadow: 0 4px 10px rgba(201, 74, 41, 0.3) !important;
  transform: translateY(-2px);
}

.calendar-day-cell.selected .calendar-day-status {
  color: var(--bg-white) !important;
}
.calendar-day-cell.selected.day-sunday,
.calendar-day-cell.selected.day-saturday {
  color: var(--bg-white) !important;
}

.calendar-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px dashed var(--border-color);
  padding-top: 12px;
}

.legend-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-right: 5px;
  font-weight: 900;
  font-size: 0.75rem;
}

.legend-ok {
  background-color: #f3f7eb;
  color: var(--success-color);
}

.legend-warn {
  background-color: #fbf8ee;
  color: var(--secondary-color);
}

.legend-ng {
  background-color: var(--bg-soft);
  color: var(--text-muted);
  opacity: 0.6;
}

/* レスポンシブ調整 */
@media (max-width: 480px) {
  .reservation-calendar-container {
    padding: 12px;
  }
  .calendar-day-cell {
    padding: 4px 0;
  }
  .calendar-day-num {
    font-size: 0.8rem;
  }
  .calendar-day-status {
    font-size: 0.65rem;
  }
  .calendar-legend {
    gap: 10px;
    flex-wrap: wrap;
  }
}

