/* ===========================
   Variables
=========================== */
:root {
  --color-bg:          #FAFAF7;
  --color-bg-alt:      #F4F1EB;
  --color-white:       #FFFFFF;
  --color-accent:      #B8977A;
  --color-accent-dark: #9E7D61;
  --color-text:        #0f0f0f;
  --color-text-mid:    #3a3a3a;
  --color-text-light:  #6b6b6b;
  --color-border:      #E8E2DA;

  --font-serif: 'Cormorant Garamond', serif;
  --font-sans:  'Noto Sans JP', sans-serif;

  --max-width:  1180px;
  --nav-height: 76px;
}

/* ===========================
   Reset & Base
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.75;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

/* ===========================
   Container
=========================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

/* ===========================
   Buttons
=========================== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.07em;
  cursor: pointer;
  border: none;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s;
}
.btn-primary {
  background: #5f748c;
  color: var(--color-white);
  border-radius: 100px;
}
.btn-primary:hover {
  background: #4d6078;
  transform: translateY(-1px);
}
.btn-accent {
  background: #5f748c;
  color: var(--color-white);
  border-radius: 100px;
}
.btn-accent:hover {
  background: #4d6078;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(95,116,140,0.3);
}
.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.btn-large { padding: 16px 44px; font-size: 14px; }

/* ===========================
   Header / Nav
=========================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(250,250,247,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }

.nav {
  display: flex;
  align-items: center;
  height: var(--nav-height);
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  flex-shrink: 0;
}
.logo-img {
  height: 68px;
  width: auto;
  display: block;
  mix-blend-mode: multiply;
}
.logo-sub {
  font-size: 9px;
  letter-spacing: 0.28em;
  color: var(--color-text);
  font-weight: 500;
  margin-top: 2px;
}

/* モバイルのみ表示するCTAボタン */
.nav-cta-mobile { display: none; }

/* Nav links */
.nav-links {
  display: flex;
  gap: 24px;
}
.nav-links a {
  font-size: 12.5px;
  color: var(--color-text-mid);
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--color-accent); }

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* Language toggle */
.lang-toggle {
  background: none;
  border: 1px solid var(--color-border);
  color: var(--color-text-mid);
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 6px 13px;
  cursor: pointer;
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.lang-toggle:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* Mobile hamburger */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-text);
  transition: transform 0.3s, opacity 0.3s;
}
.mobile-menu-btn.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* ===========================
   Hero
=========================== */
.hero {
  padding-top: var(--nav-height);
}

.hero-two {
  display: flex;
  width: 100%;
  height: clamp(360px, 45vh, 480px);
}

.hero-image-col {
  flex: 1.3;
  overflow: hidden;
}
.hero-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-text-col {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 52px 52px;
  background: var(--color-bg);
}

.hero-text h1 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.5vw, 50px);
  font-weight: 400;
  line-height: 1.35;
  color: var(--color-text);
  margin-bottom: 22px;
  letter-spacing: 0.02em;
}
/* 折り返し時は文ごとに3行（各文は途中で切らない）。1行に収まる幅ではinlineに切替 */
.hero-text h1 .ht { display: block; white-space: nowrap; }
.hero-text h1::after {
  content: '';
  display: block;
  width: 48px;
  height: 1.5px;
  background: #9f9572;
  margin-top: 20px;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 14px;
  color: var(--color-text-mid);
  line-height: 1.9;
  margin-bottom: 36px;
}

/* PC表示ではヒーロー見出しを常に1行に収める */
@media (min-width: 1025px) {
  .hero-text h1 {
    white-space: nowrap;
    font-size: clamp(20px, 2.2vw, 40px);
  }
  .hero-text h1 .ht { display: inline; }
}

/* ===========================
   Section Commons
=========================== */
.section-label {
  font-size: 10.5px;
  letter-spacing: 0.25em;
  color: var(--color-accent);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 10px;
}
.section-label.center { text-align: center; }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 400;
  text-align: center;
  color: var(--color-text);
  letter-spacing: 0.02em;
  margin-bottom: 52px;
}

/* ===========================
   Services
=========================== */
.services {
  padding: 56px 0;
  background: var(--color-bg);
}

.services-hint {
  text-align: center;
  font-size: 13px;
  color: var(--color-text-light);
  letter-spacing: 0.04em;
  margin: 0 0 24px;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 188px;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  justify-self: center;
  padding: 22px 16px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  position: relative;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.service-icon {
  width: 52px;
  height: 52px;
  color: var(--color-accent);
  margin-bottom: 0;
}
.service-icon svg { width: 100%; height: 100%; }
.service-icon img { width: 100%; height: 100%; object-fit: contain; }

.service-card h3 {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.04em;
  line-height: 1.55;
  text-align: center;
  margin: 0;
}
.service-link {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}
.service-link:hover { opacity: 0.6; }

/* ===========================
   About
=========================== */
.about {
  padding: 0 0 100px;
  background: var(--color-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
}

/* Photo placeholder */
.about-photo-placeholder {
  aspect-ratio: 3 / 4;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
}
.about-photo-placeholder p {
  font-size: 12px;
  color: var(--color-text-light);
  font-style: italic;
}
/* When a real photo is added, style it */
.about-image {
  height: 100%;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 3px;
}

.about-name {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 400;
  color: var(--color-text);
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

.about-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-text);
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}
.about-content p {
  font-size: 14px;
  color: var(--color-text-mid);
  line-height: 1.95;
  margin-bottom: 16px;
}
.about-content .btn { margin-top: 14px; }

/* ===========================
   Testimonials — Carousel
=========================== */
.testimonials {
  padding: 0 0 80px;
  background: var(--color-bg);
}

/* Carousel layout */
.testimonials .section-title {
  margin-bottom: 16px;
}

.testimonials-carousel {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.carousel-viewport {
  flex: 1;
  overflow: hidden;
  background: var(--color-white);
  border-radius: 16px;
}

.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
  min-width: 100%;
  text-align: left;
  padding: 8px 48px 24px;
}

/* Quote mark */
.quote-mark {
  font-family: var(--font-serif);
  font-size: 72px;
  color: var(--color-accent);
  opacity: 0.45;
  line-height: 0.7;
  margin-bottom: 10px;
  text-align: left;
}

/* Slide text */
.carousel-slide p {
  font-size: 14px;
  color: var(--color-text-mid);
  line-height: 1.0;
  font-style: normal;
  margin-bottom: 28px;
  text-align: left;
}

/* Author */
.testimonial-author {
  border-top: 1px solid var(--color-border);
  padding-top: 18px;
  display: inline-block;
}
.author-name {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 4px;
}
.author-name:empty { display: none; }
.author-detail {
  font-size: 12px;
  color: var(--color-text-light);
  letter-spacing: 0.05em;
}

/* Arrow buttons */
.carousel-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: none;
  font-size: 30px;
  line-height: 1;
  color: var(--color-text-mid);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}
.carousel-btn:hover {
  border-color: var(--color-text-mid);
  color: var(--color-text);
}

/* Dot indicators */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s;
}
.dot.active { background: var(--color-text-mid); }

/* "一覧を見る" link */
.testimonials-link-wrap {
  text-align: center;
  margin-top: 4px;
}
.testimonials-more {
  font-size: 13px;
  color: var(--color-accent);
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}
.testimonials-more:hover { opacity: 0.65; }

/* ===========================
   CTA Section — 2 column
=========================== */
.cta-section {
  display: flex;
}
.cta-image-col {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
}
.cta-image-col img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.cta-text-col {
  flex: 1;
  background: var(--color-bg-alt);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 48px;
  text-align: center;
}
.cta-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.cta-section p {
  font-size: 13px;
  color: var(--color-text-mid);
  line-height: 1.8;
  margin-bottom: 24px;
}

/* ===========================
   Footer
=========================== */
.footer {
  background: var(--color-bg-alt);
  padding: 28px 0 20px;
}

.footer-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 16px;
}

.footer-logo {
  flex-shrink: 0;
}

.footer-social {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.social-link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-mid);
  transition: border-color 0.2s, color 0.2s;
}
.social-link:hover {
  border-color: var(--color-text-mid);
  color: var(--color-text);
}

.footer-nav {
  display: flex;
  gap: 40px;
  margin-left: auto;
}
.footer-nav a {
  font-size: 12.5px;
  color: var(--color-text-mid);
  letter-spacing: 0.03em;
  transition: color 0.2s;
  white-space: nowrap;
}
.footer-nav a:hover { color: var(--color-accent); }

.footer-bottom {
  text-align: center;
}
.footer-bottom p {
  font-size: 11.5px;
  color: var(--color-text-light);
  letter-spacing: 0.06em;
}

/* ===========================
   Philosophy
=========================== */
.philosophy {
  padding: 72px 0;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}
.philosophy-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}
.philosophy-bar {
  flex: 1;
  height: 1px;
  background: var(--color-border);
}
.philosophy-text {
  font-family: var(--font-serif);
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 400;
  color: var(--color-text);
  text-align: center;
  letter-spacing: 0.06em;
  line-height: 1.6;
  flex-shrink: 0;
  max-width: 60%;
}

/* ===========================
   Services — updated grid & sub-items
=========================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.service-items {
  list-style: none;
  width: 100%;
  text-align: left;
  margin: 4px 0;
  flex: 1;
}
.service-items li {
  font-size: 11.5px;
  color: var(--color-text-light);
  padding: 5px 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0.03em;
}
.service-items li:last-child { border-bottom: none; }
.service-items li::before {
  content: '—';
  color: var(--color-accent);
  font-size: 10px;
  flex-shrink: 0;
}

/* ===========================
   About — sub-sections
=========================== */
.about-sub {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}
.about-sub:last-of-type {
  border-bottom: none;
  margin-bottom: 12px;
}
.about-content .section-label {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: none;
  color: var(--color-text);
  margin-bottom: 0;
}

.about-content .section-label::after {
  content: '';
  display: block;
  width: 48px;
  height: 1.5px;
  background: #9f9572;
  margin-top: 16px;
  margin-bottom: 24px;
}

.about-sub h4 {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 8px;
}
.about-sub p {
  font-size: 14px;
  color: var(--color-text-mid);
  line-height: 1.9;
  margin: 0;
}

/* TORJA badge */
.torja-badge {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid #8a9db5;
  color: #5f748c;
  font-size: 13px;
  letter-spacing: 0.05em;
  padding: 14px 20px;
  border-radius: 4px;
  margin-bottom: 28px;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
  min-width: 260px;
}
.torja-badge:hover {
  background: rgba(95, 116, 140, 0.06);
}

/* TORJA footer link */
.torja-link {
  font-size: 12px;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: var(--color-text-mid);
  transition: color 0.2s;
  align-self: center;
}
.torja-link:hover { color: var(--color-accent); }

/* ===========================
   Sub-page hamburger menu
=========================== */
.sub-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.sub-menu-btn span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-text);
  transition: transform 0.3s, opacity 0.3s;
}
.sub-menu-btn.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.sub-menu-btn.open span:nth-child(2) { opacity: 0; }
.sub-menu-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

.sub-nav-drawer {
  display: none;
  position: absolute;
  top: var(--nav-height);
  right: 28px;
  background: rgba(250,250,247,0.98);
  border: 1px solid var(--color-border);
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 20px 24px;
  gap: 14px;
  flex-direction: column;
  align-items: flex-start;
  backdrop-filter: blur(10px);
  min-width: 160px;
  z-index: 99;
}
.sub-nav-drawer.open { display: flex; }
.sub-nav-drawer a {
  font-size: 13px;
  color: var(--color-text-mid);
  transition: color 0.2s;
}
.sub-nav-drawer a:hover { color: var(--color-accent); }

/* Contact note */
.form-note {
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.05em;
}

/* ===========================
   Responsive — Tablet
=========================== */
@media (max-width: 1040px) {
  .nav-links { gap: 16px; }
  .about-grid { gap: 48px; }

  /* Services: 3列に */
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
  .nav-links,
  .nav-cta { display: none; }
  .mobile-menu-btn { display: flex; }
  .nav-cta-mobile { display: block; }

  /* フッター */
  .footer-row { flex-wrap: wrap; gap: 16px; }
  .footer-nav { flex-wrap: wrap; gap: 12px 24px; margin-left: 0; width: 100%; }

  /* Mobile nav drawer */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(250,250,247,0.98);
    border-bottom: 1px solid var(--color-border);
    padding: 20px 28px 28px;
    gap: 18px;
    backdrop-filter: blur(10px);
  }
}

/* ===========================
   Responsive — Mobile
=========================== */
@media (max-width: 640px) {

  /* Hero */
  .hero-two        { flex-direction: column; height: auto; }
  .hero-image-col  { height: 280px; }
  .hero-image-col img { object-fit: cover; object-position: center top; width: 100%; height: 100%; }
  .hero-text-col   { padding: 32px 24px 20px; flex: none; }
  .hero-text h1    { white-space: nowrap; font-size: clamp(16px, 5.6vw, 30px); }
  .hero-text h1 .ht { display: inline; }
  .hero-text p     { margin-bottom: 0; }
  .logo-img        { height: 56px; }
  .services        { padding: 32px 0; }
  .services-hint   { font-size: 11px; margin-bottom: 16px; }

  /* Services: 3列・コンパクト */
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .service-card { padding: 10px 6px; gap: 6px; border-radius: 14px; }
  .service-card h3 { font-size: 10px; line-height: 1.3; letter-spacing: 0.02em; }
  .service-icon { width: 32px; height: 32px; }
  .service-link { display: none; }

  /* About */
  .about { padding-top: 48px; }
  .about-grid  { grid-template-columns: 1fr; gap: 32px; }
  .about-image { height: 280px; }

  /* Carousel */
  .carousel-slide { padding: 16px 20px 24px; }
  .carousel-btn   { width: 36px; height: 36px; font-size: 22px; }

  /* CTA */
  .cta-section    { flex-direction: column; }
  .cta-image-col  { height: 220px; }
  .cta-image-col img { width: 100%; height: 100%; object-fit: cover; }
  .cta-text-col   { padding: 40px 24px; }
  .cta-section h2 { font-size: clamp(20px, 5vw, 28px); }

  /* Footer */
  .footer-row  { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-nav  { flex-direction: column; gap: 12px; margin-left: 0; }
  .footer-bottom p { font-size: 10.5px; }
}

/* =========================================
   Service Detail Page（サービス詳細ページ）
   ========================================= */
.sd-page {
  padding-top: calc(var(--nav-height) + 64px);
  padding-bottom: 40px;
  background: var(--color-bg);
}
.sd-back {
  display: inline-block;
  font-size: 13px;
  color: var(--color-text-light);
  margin-bottom: 32px;
  transition: color 0.2s;
}
.sd-back:hover { color: var(--color-accent); }

.sd-hero { max-width: 760px; margin-bottom: 72px; }
.sd-hero .section-label { margin-bottom: 18px; }
.sd-hero h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--color-text);
  margin-bottom: 28px;
}
.sd-hero p {
  font-size: 15px;
  line-height: 1.95;
  color: var(--color-text-mid);
  margin-bottom: 18px;
}
.sd-hero p:last-child { margin-bottom: 0; }

.sd-section { max-width: 860px; margin-bottom: 72px; }
.sd-section-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 34px);
  color: var(--color-text);
  letter-spacing: 0.02em;
  margin-bottom: 40px;
}

.sd-items { display: grid; gap: 30px; }
.sd-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: 8px;
  padding: 28px 32px;
}
.sd-item h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.sd-item-sub {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.5;
  margin-bottom: 14px;
}
.sd-item p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-text-mid);
}
.sd-item p + p { margin-top: 14px; }

/* サブ項目（入れ子） */
.sd-subs { margin-top: 20px; display: grid; gap: 16px; }
.sd-sub {
  padding: 14px 18px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 6px;
}
.sd-sub h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.sd-sub p {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--color-text-mid);
}

/* Hero タグライン */
.sd-tagline {
  font-size: 16px;
  color: var(--color-accent-dark);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 22px;
}
/* カード内の箇条書き */
.sd-list-label {
  font-size: 13px;
  color: var(--color-text-light);
  margin-top: 14px;
  margin-bottom: 8px;
}
.sd-item ul {
  list-style: none;
  display: grid;
  gap: 8px;
}
.sd-item ul li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--color-text-mid);
  line-height: 1.6;
}
.sd-item ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent);
}
/* アコーディオン本文内の箇条書き */
.sd-acc-body .sd-list-label { font-size: 13px; color: var(--color-text-light); margin-top: 12px; margin-bottom: 6px; }
.sd-acc-body ul { list-style: none; display: grid; gap: 8px; margin-top: 10px; }
.sd-acc-body ul li { position: relative; padding-left: 18px; font-size: 13.5px; color: var(--color-text-mid); line-height: 1.6; }
.sd-acc-body ul li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--color-accent); }
/* セクション導入文 */
.sd-section-intro { font-size: 14.5px; line-height: 1.9; color: var(--color-text-mid); max-width: 860px; margin: -20px 0 30px; }
/* 小見出し（approachセクション内） */
.sd-subhead { font-size: 16px; font-weight: 600; color: var(--color-text); margin-top: 28px; margin-bottom: 8px; letter-spacing: 0.01em; }
/* 関連サービス表記 */
.sd-related { font-size: 13px; color: var(--color-text-light); margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--color-border); }
/* セクション区切りのバナー画像（一呼吸置くビジュアル） */
.sd-banner {
  width: 100%;
  max-width: 860px;
  aspect-ratio: 16 / 9;
  margin: 0 0 72px;
  border-radius: 12px;
  overflow: hidden;
}
.sd-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
@media (max-width: 768px) {
  .sd-banner { margin-bottom: 52px; aspect-ratio: 4 / 3; }
}

/* アコーディオン */
.sd-acc {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: 8px;
  overflow: hidden;
}
.sd-acc summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  transition: background 0.2s;
}
.sd-acc summary::-webkit-details-marker { display: none; }
.sd-acc summary:hover { background: var(--color-bg-alt); }
.sd-acc-head h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.sd-acc-sub {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.5;
}
.sd-acc-icon {
  flex-shrink: 0;
  font-size: 15px;
  color: var(--color-accent);
  transition: transform 0.25s;
}
.sd-acc[open] .sd-acc-icon { transform: rotate(180deg); }
.sd-acc[open] summary { border-bottom: 1px solid var(--color-border); }
.sd-acc-body { padding: 20px 28px 24px; }
.sd-acc-body p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-text-mid);
}
.sd-acc-body p + p { margin-top: 14px; }

.sd-approach p {
  font-size: 15px;
  line-height: 1.95;
  color: var(--color-text-mid);
  margin-bottom: 18px;
}
.sd-approach p:last-child { margin-bottom: 0; }

.sd-cta {
  background: var(--color-bg-alt);
  border-radius: 14px;
  padding: 56px 48px;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}
.sd-cta h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 34px);
  color: var(--color-text);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.sd-cta p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--color-text-mid);
  max-width: 620px;
  margin: 0 auto 30px;
}

/* ヘッダーの言語切替リンク */
.lang-link {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--color-text-mid);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 6px 16px;
  transition: all 0.2s;
}
.lang-link:hover { border-color: var(--color-accent); color: var(--color-accent); }

@media (max-width: 768px) {
  .sd-page { padding-top: calc(var(--nav-height) + 36px); }
  .sd-hero { margin-bottom: 52px; }
  .sd-section { margin-bottom: 52px; }
  .sd-item { padding: 24px 22px; }
  .sd-cta { padding: 44px 24px; }
  .sd-acc summary { padding: 18px 20px; gap: 14px; }
  .sd-acc-body { padding: 16px 20px 20px; }
}
