@charset "UTF-8";

/* =========================================
   CSS Variables
========================================= */
:root {
  --color-primary: #E8621A;
  --color-primary-light: #F28540;
  --color-primary-pale: #FFF0E6;
  --color-base-beige: #F5EDD8;
  --color-base-beige-dark: #E8D9B8;
  --color-cream: #FDFAF4;
  --color-dark: #1A1208;
  --color-dark-mid: #3D2E12;
  --color-text-primary: #2C1F0A;
  --color-text-mid: #5C4A2A;
  --color-text-light: #9E8A6A;
  --color-white: #FFFFFF;

  --font-serif: 'Noto Serif JP', serif;
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-en: 'Cormorant Garamond', serif;

  --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 15px 40px rgba(232, 98, 26, 0.15);

  --header-height: 80px;
}

/* =========================================
   Reset & Base
========================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-sans);
  color: var(--color-text-primary);
  background-color: var(--color-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
}

/* =========================================
   Utilities
========================================= */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--color-primary);
}

.text-white {
  color: var(--color-white);
}

.text-beige {
  color: var(--color-base-beige);
}

.text-textPrimary {
  color: var(--color-text-primary);
}

.text-textMid {
  color: var(--color-text-mid);
}

.text-textLight {
  color: var(--color-text-light);
}

.text-sm {
  font-size: 0.875rem;
}

.text-xs {
  font-size: 0.75rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.font-normal {
  font-weight: 400;
}

.font-bold {
  font-weight: 700;
}

.font-serif {
  font-family: var(--font-serif);
}

.font-black {
  font-weight: 900;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-16 {
  margin-top: 4rem;
}

.mt-24 {
  margin-top: 6rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.pt-16 {
  padding-top: 4rem;
}

.pt-24 {
  padding-top: 6rem;
}

.pb-8 {
  padding-bottom: 2rem;
}

.pb-12 {
  padding-bottom: 3rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.py-24 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.items-end {
  align-items: flex-end;
}

.justify-between {
  justify-content: space-between;
}

.inline-flex {
  display: inline-flex;
}

.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-x-12 {
  column-gap: 3rem;
}

.gap-y-4 {
  row-gap: 1rem;
}

.space-y-3>*+* {
  margin-top: 0.75rem;
}

.relative {
  position: relative;
}

.overflow-hidden {
  overflow: hidden;
}

.z-10 {
  z-index: 10;
}

.shadow-xl {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.rounded-2xl {
  border-radius: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.block {
  display: block;
}

.hidden {
  display: none;
}

.w-full {
  width: 100%;
}

.transition {
  transition: all 0.3s ease;
}

.opacity-60 {
  opacity: 0.6;
}

.opacity-80 {
  opacity: 0.8;
}

.opacity-100 {
  opacity: 1;
}

.hover\:opacity-100:hover {
  opacity: 1;
}

.hover\:text-primary:hover {
  color: var(--color-primary);
}

.hover\:text-primaryLight:hover {
  color: var(--color-primary-light);
}

.hover\:underline:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .md\:flex-row {
    flex-direction: row;
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:block {
    display: block;
  }

  .md\:hidden {
    display: none;
  }

  .md\:w-auto {
    width: auto;
  }

  .md\:p-12 {
    padding: 3rem;
  }

  .md\:mb-0 {
    margin-bottom: 0;
  }
}

/* =========================================
   Background Utilities & Sections
========================================= */
.bg-white {
  background-color: var(--color-white);
}

.bg-dark {
  background-color: var(--color-dark);
}

.section-cream {
  background-color: var(--color-cream);
}

.section-base-dark {
  background-color: var(--color-base-beige-dark);
}

.section-base-light {
  background-color: var(--color-base-beige);
}

.section-dark {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.section-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* =========================================
   Buttons
========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 700;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  border-radius: 30px;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn svg {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(232, 98, 26, 0.3);
}

.btn--primary:hover {
  background-color: var(--color-primary-light);
  box-shadow: 0 6px 20px rgba(232, 98, 26, 0.4);
}

.btn--outline {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

.btn--outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--outline-white {
  border: 2px solid var(--color-white);
  color: var(--color-white);
  background: transparent;
}

.btn--outline-white:hover {
  background: var(--color-white);
  color: var(--color-dark);
}

.btn--small {
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
}

.btn--large {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  border-radius: 40px;
}

/* =========================================
   Typography & Headers
========================================= */
.section-header__en {
  display: block;
  font-family: var(--font-en);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.section-header__jp {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  line-height: 1.3;
}

.section-header__desc {
  color: var(--color-text-mid);
}

/* =========================================
   Header & Navigation
========================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
  color: var(--color-white);
}

.hero .header {
  color: var(--color-white);
}

.header.is-scrolled {
  background: rgba(253, 250, 244, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  color: var(--color-text-primary);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 5%;
}

.header__logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 56px;
  width: auto;
  display: block;
}

.footer__logo-img {
  height: 50px;
  width: auto;
  display: block;
}

.header__nav {
  display: none;
}

@media (min-width: 1024px) {
  .header__nav {
    display: block;
  }

  .header__nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  .header__nav-list a {
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.3s ease;
  }

  .header__nav-list a:hover {
    color: var(--color-primary);
  }
}

/* Hamburger */
.header__hamburger {
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 101;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

@media (min-width: 1024px) {
  .header__hamburger {
    display: none;
  }
}

.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.header__hamburger.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.header__hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.header__hamburger.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-cream);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-nav.is-active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav__list {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-nav__list a {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-primary);
}

/* =========================================
   Hero
========================================= */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__sticky {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
}

/* ---- 丸写真コンテナ ---- */
.hero__circles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero__circle {
  position: absolute;
  opacity: 0;
  transform: scale(0.3);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.hero__circle.is-visible {
  opacity: 1;
  transform: scale(1);
}

.hero__circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.18));
}

/* ---- 丸写真の微小フロートアニメーション ---- */
@keyframes heroFloat1 {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1) translateY(-12px); }
}
@keyframes heroFloat2 {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1) translateY(-8px); }
}
@keyframes heroFloat3 {
  0%, 100% { transform: scale(1) translateY(0) rotate(0deg); }
  50% { transform: scale(1) translateY(-10px) rotate(2deg); }
}

.hero__circle.is-visible.is-floating {
  animation-fill-mode: both;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.hero__circle--1.is-floating { animation-name: heroFloat1; animation-duration: 5s; }
.hero__circle--2.is-floating { animation-name: heroFloat2; animation-duration: 6s; animation-delay: 0.5s; }
.hero__circle--3.is-floating { animation-name: heroFloat3; animation-duration: 5.5s; animation-delay: 1s; }
.hero__circle--4.is-floating { animation-name: heroFloat2; animation-duration: 7s; animation-delay: 0.3s; }
.hero__circle--5.is-floating { animation-name: heroFloat1; animation-duration: 6.5s; animation-delay: 0.8s; }
.hero__circle--6.is-floating { animation-name: heroFloat3; animation-duration: 5.8s; animation-delay: 0.2s; }
.hero__circle--7.is-floating { animation-name: heroFloat2; animation-duration: 6.2s; animation-delay: 0.6s; }

/* ---- デスクトップでの丸写真配置 (参照画像準拠・大サイズ) ---- */
.hero__circle--1 { top: 5%;  left: -2%;  width: clamp(280px, 32vw, 480px); }
.hero__circle--2 { top: -3%; left: 30%;  width: clamp(200px, 22vw, 340px); }
.hero__circle--3 { top: -2%; right: calc(5% + 100px);  width: clamp(300px, 34vw, 520px); }
.hero__circle--4 { bottom: 5%; left: -2%; width: clamp(180px, 20vw, 300px); }
.hero__circle--5 { bottom: -8%; left: 22%; width: clamp(320px, 36vw, 550px); }
.hero__circle--6 { bottom: 3%; right: 12%; width: clamp(220px, 24vw, 380px); }
.hero__circle--7 { top: 12%; right: -14%; width: clamp(420px, 48vw, 720px); }

/* 7番目は右端からはみ出す大きな円 */
.hero__circle--7.is-visible {
  transform: scale(1);
}
.hero__circle--7.is-visible.is-floating {
  animation-name: heroFloat7;
  animation-duration: 6s;
  animation-delay: 0.4s;
}
@keyframes heroFloat7 {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1) translateY(-10px); }
}

/* ---- タブレット配置調整 (赤枠指示に基づき余白を徹底排除) ---- */
/* ---- タブレット配置調整 (赤枠指示に基づき位置を最適化) ---- */
@media (max-width: 1024px) {
  .hero__circle--1 { top: -8%; left: -15%; width: clamp(364px, 44.2vw, 585px); }
  .hero__circle--2 { top: 8%; left: 28%; width: clamp(312px, 39vw, 520px); }     /* 50pxほど左へ（35% -> 28%） */
  .hero__circle--3 { top: 5%; right: -5%; width: clamp(416px, 49.4vw, 702px); }
  .hero__circle--4 { top: 20%; left: -15%; width: clamp(234px, 31.2vw, 416px); }
  .hero__circle--5 { bottom: -15%; left: -10%; width: clamp(455px, 54.6vw, 754px); }
  .hero__circle--6 { bottom: -12%; right: -12%; width: clamp(624px, 75.4vw, 1014px); }
  .hero__circle--7 { top: 32%; right: -18%; width: clamp(494px, 59.8vw, 845px); }
}

/* ---- モバイル配置調整 (赤枠指示に基づき余白を徹底排除) ---- */
@media (max-width: 640px) {
  .hero__circle--1 { top: -5%; left: -25%; width: 320px; } /* 左上：ロゴ周り */
  .hero__circle--2 { top: -10%; right: -20%; left: auto; width: 280px; } /* 右上：ハンバーガー周り */
  .hero__circle--3 { top: 12%; right: -5%; width: 140px; } /* パネル右上被り（小） */
  .hero__circle--4 { top: 22%; left: -15%; width: 180px; } /* パネル左上被り（中） */
  .hero__circle--5 { bottom: -12%; left: -30%; width: 480px; } /* 左下：特大サイズで画面端を埋める */
  .hero__circle--6 { bottom: 2%; right: -12%; width: 240px; } /* 右下コーナー */
  .hero__circle--7 { top: 38%; right: -35%; width: 420px; } /* 右中央：特大サイズでガラスパネルに深く被せる */
}

/* ---- ヒーローコンテンツ (グラスモーフィズム) ---- */
.hero__content {
  position: relative;
  z-index: 3;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 60%),
              rgba(26, 18, 8, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 32px;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 2.5rem);
  max-width: 780px;
  width: 90%;
  box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.5);
}

.hero__eyebrow {
  margin-bottom: 1.5rem;
}

.hero__en {
  font-family: var(--font-en);
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: var(--color-primary-light);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.hero__desc {
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 3rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ---- スマホ用 ヒーローコンテンツ最適化 ---- */
@media (max-width: 640px) {
  .hero__content {
    padding: 1.75rem 1rem;
    border-radius: 20px;
    width: 94%;
    margin-top: 2rem;
  }
  
  .hero__title {
    font-size: 2rem;
    line-height: 1.35;
    margin-bottom: 1.25rem;
  }
  
  .hero__desc {
    font-size: 0.9375rem;
    margin-bottom: 2rem;
  }
  
  .hero__cta {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .hero__cta .btn {
    width: 100%;
    margin: 0;
  }
}

/* Fade-in Animation Classes */
.animate-fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation-duration: 1s;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}

.is-ready .animate-fade-in {
  animation-name: fadeIn;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================
   Stats Bar
========================================= */
section.stats .stats__list {
  display: grid;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  justify-content: center;
  justify-items: center;
  align-items: start;
  gap: clamp(1.25rem, 4vw, 3rem);
  text-align: center;
}

/* 3項目をまとめてセンター（列幅は内容に合わせ、余白は左右に寄る） */
@media (min-width: 900px) {
  section.stats .stats__list {
    grid-template-columns: repeat(3, max-content);
  }
}

/* 中間幅: 2列＋3つ目は下段で全幅中央 */
@media (min-width: 420px) and (max-width: 899px) {
  section.stats .stats__list {
    grid-template-columns: repeat(2, minmax(0, 16rem));
    justify-content: center;
  }

  section.stats .stats__item:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: min(100%, 20rem);
  }
}

/* 極窄: 1列 */
@media (max-width: 419px) {
  section.stats .stats__list {
    grid-template-columns: minmax(0, 22rem);
    justify-content: center;
  }

  section.stats .stats__item:nth-child(3) {
    grid-column: auto;
  }
}

.stats__num {
  font-family: var(--font-en);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: baseline;
}

.stats__small {
  font-size: 0.5em;
  font-family: var(--font-serif);
  font-weight: 900;
  margin-left: 0.2rem;
}

.stats__label {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.stats__note {
  font-size: 0.75rem;
  color: var(--color-text-mid);
}

/* =========================================
   Problem
========================================= */
.problem__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .problem__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.problem__card {
  background: var(--color-white);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.problem__card-badge {
  display: inline-block;
  background: var(--color-base-beige-dark);
  color: var(--color-text-mid);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.problem__card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1.4;
  color: var(--color-primary);
}

.problem__card-desc {
  font-size: 0.9375rem;
  color: var(--color-text-mid);
}

/* =========================================
   Solution
========================================= */
.solution__bg-decor {
  position: absolute;
  top: -50%;
  left: -10%;
  width: 120%;
  height: 200%;
  background: radial-gradient(circle, rgba(232, 98, 26, 0.1) 0%, rgba(26, 18, 8, 0) 60%);
  z-index: 1;
  pointer-events: none;
}

.solution__eyebrow {
  font-family: var(--font-en);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 1rem;
}

.solution__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.3;
}

.solution__desc {
  font-size: 1rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 1.5rem auto 0;
}

/* =========================================
   Services
========================================= */
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.services__card {
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.services__card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.services__card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 21/9;
  /* 今までの約半分の高さになるパノラマ比率 */
  overflow: hidden;
}

.services__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.services__card:hover .services__card-img img {
  transform: scale(1.05);
  /* Slight zoom on hover for premium feel */
}

.services__card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-en);
  font-size: 1.25rem;
  font-weight: 900;
  padding: 0.25rem 1rem;
  border-radius: 6px;
  line-height: 1;
}

.services__card-inner {
  padding: 2rem;
  flex: 1;
}

.services__card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 900;
  margin-bottom: 1rem;
  line-height: 1.4;
  color: var(--color-text-primary);
}

.services__card-desc {
  font-size: 0.9375rem;
  color: var(--color-text-mid);
}

/* =========================================
   Feature
========================================= */
.feature__row {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .feature__row {
    flex-direction: row;
    gap: 4rem;
  }

  .feature__row--reverse {
    flex-direction: row-reverse;
  }
}

.feature__img-wrap {
  flex: 1;
  position: relative;
}

.feature__img {
  border-radius: 12px;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.feature__img-decor {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 60%;
  height: 60%;
  background: var(--color-primary-pale);
  z-index: -1;
  border-radius: 12px;
}

.feature__row--reverse .feature__img-decor {
  right: auto;
  left: -20px;
}

.feature__content {
  flex: 1;
}

.feature__num {
  font-family: var(--font-en);
  font-size: 4rem;
  color: var(--color-primary);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.feature__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.feature__desc {
  font-size: 1rem;
  color: var(--color-text-mid);
  line-height: 1.8;
}

/* =========================================
   About
========================================= */
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about__grid {
    grid-template-columns: 5fr 7fr;
    gap: 5rem;
  }
}

.about__img {
  border-radius: 12px;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 3/4;
}

.about__badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--color-white);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.about__badge span {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-mid);
  margin-bottom: 0.25rem;
}

.about__badge strong {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 900;
}

.about__dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1.5rem;
  font-size: 0.9375rem;
}

.about__dl dt {
  font-weight: 700;
  color: var(--color-primary);
}

/* =========================================
   News
========================================= */
.news__card {
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.news__card:hover {
  transform: translateY(-5px);
}

.news__card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.news__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news__card:hover .news__card-img img {
  transform: scale(1.05);
}

.news__card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
}

.news__card-body {
  padding: 1.5rem;
}

.news__card-date {
  display: block;
  font-family: var(--font-en);
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

.news__card-title {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.5;
}

/* =========================================
   Instagram
========================================= */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .ig-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .ig-grid {
    grid-template-columns: repeat(8, 1fr);
  }
}

.ig-item {
  display: block;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1;
}

.ig-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ig-item:hover img {
  transform: scale(1.1);
}

.ig-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ig-item:hover::after {
  opacity: 1;
}

/* =========================================
   Contact Form
========================================= */
.contact__form {
  margin-top: 3rem;
}

/* Contact Form 7（プラグイン既定を上書き・静的フォームに揃えたリッチな見た目） */
.contact__form--cf7 .wpcf7 {
  margin: 0;
}

.contact__form--cf7 .wpcf7-form {
  text-align: left;
}

.contact__form--cf7 .wpcf7-form-control-wrap {
  display: block;
  margin-top: 0.5rem;
}

/* 段落・導入文 */
.contact__form--cf7 .wpcf7-form > p {
  margin: 0 0 1.75rem;
  line-height: 1.7;
  color: var(--color-text-mid);
  font-size: 0.9375rem;
}

.contact__form--cf7 .wpcf7-form > p:empty {
  display: none;
}

.contact__form--cf7 .wpcf7-form > p > label {
  display: block;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--color-text-primary);
  margin-bottom: 0;
  line-height: 1.5;
}

.contact__form--cf7 .wpcf7-form > p > label .wpcf7-form-control-wrap {
  margin-top: 0.5rem;
}

.contact__form--cf7 .wpcf7-form > p > strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
}

.contact__form--cf7 .wpcf7-form p a {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 600;
}

.contact__form--cf7 .wpcf7-form p a:hover {
  color: var(--color-primary-light);
}

.contact__form--cf7 .wpcf7-form-control-wrap + br {
  display: none;
}

/* テキスト入力（textarea は下で別指定。min-height を input に適用しないこと） */
.contact__form--cf7 .wpcf7-form input[type='text'],
.contact__form--cf7 .wpcf7-form input[type='email'],
.contact__form--cf7 .wpcf7-form input[type='tel'],
.contact__form--cf7 .wpcf7-form input[type='url'],
.contact__form--cf7 .wpcf7-form input[type='number'] {
  width: 100% !important;
  max-width: 100%;
  background-color: var(--color-cream) !important;
  border: 2px solid transparent !important;
  padding: 0.75rem 1rem !important;
  border-radius: 8px !important;
  font-family: inherit !important;
  font-size: 1rem !important;
  line-height: 1.5 !important;
  box-sizing: border-box !important;
  color: var(--color-text-primary) !important;
  box-shadow: none !important;
  min-height: 0 !important;
  -webkit-appearance: none;
  appearance: none;
}

.contact__form--cf7 .wpcf7-form textarea {
  width: 100% !important;
  max-width: 100%;
  background-color: var(--color-cream) !important;
  border: 2px solid transparent !important;
  padding: 1rem !important;
  border-radius: 8px !important;
  font-family: inherit !important;
  font-size: 1rem !important;
  line-height: 1.5 !important;
  box-sizing: border-box !important;
  color: var(--color-text-primary) !important;
  box-shadow: none !important;
  min-height: 156px;
  resize: vertical;
  -webkit-appearance: none;
  appearance: none;
}

.contact__form--cf7 .wpcf7-form select {
  width: 100% !important;
  max-width: 100%;
  background-color: var(--color-cream) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235C4A2A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  background-size: 12px !important;
  border: 2px solid transparent !important;
  padding: 1rem 2.75rem 1rem 1rem !important;
  border-radius: 8px !important;
  font-family: inherit !important;
  font-size: 1rem !important;
  line-height: 1.5 !important;
  box-sizing: border-box !important;
  color: var(--color-text-primary) !important;
  box-shadow: none !important;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.contact__form--cf7 .wpcf7-form input:focus,
.contact__form--cf7 .wpcf7-form textarea:focus {
  outline: none !important;
  border-color: var(--color-primary) !important;
  background-color: var(--color-white) !important;
  box-shadow: 0 0 0 4px var(--color-primary-pale) !important;
}

.contact__form--cf7 .wpcf7-form select:focus {
  outline: none !important;
  border-color: var(--color-primary) !important;
  background-color: var(--color-white) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23E8621A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  background-size: 12px !important;
  box-shadow: 0 0 0 4px var(--color-primary-pale) !important;
}

.contact__form--cf7 .wpcf7-form input.wpcf7-not-valid,
.contact__form--cf7 .wpcf7-form textarea.wpcf7-not-valid {
  border-color: #d32f2f !important;
  background-color: #ffebee !important;
}

.contact__form--cf7 .wpcf7-form select.wpcf7-not-valid {
  border-color: #d32f2f !important;
  background-color: #ffebee !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c62828' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  background-size: 12px !important;
}

/* ラジオ（ピル型） */
.contact__form--cf7 .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.contact__form--cf7 .wpcf7-radio .wpcf7-list-item {
  display: block;
  margin: 0;
}

.contact__form--cf7 .wpcf7-radio .wpcf7-list-item label {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  margin: 0 !important;
  padding: 0.6rem 1.15rem !important;
  border: 2px solid var(--color-base-beige-dark) !important;
  border-radius: 999px !important;
  background: var(--color-white) !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  color: var(--color-text-mid) !important;
  cursor: pointer !important;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.contact__form--cf7 .wpcf7-radio .wpcf7-list-item label:hover {
  border-color: var(--color-primary-light) !important;
  color: var(--color-text-primary) !important;
}

.contact__form--cf7 .wpcf7-radio .wpcf7-list-item label:has(input:checked) {
  border-color: var(--color-primary) !important;
  background: var(--color-primary-pale) !important;
  color: var(--color-text-primary) !important;
  box-shadow: 0 4px 12px rgba(232, 98, 26, 0.2);
}

.contact__form--cf7 .wpcf7-radio input[type='radio'] {
  width: 1.125rem !important;
  height: 1.125rem !important;
  margin: 0 !important;
  flex-shrink: 0;
  accent-color: var(--color-primary);
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.contact__form--cf7 .wpcf7-radio .wpcf7-list-item-label {
  line-height: 1.35;
}

/* 承諾ブロック */
.contact__form--cf7 .wpcf7-acceptance {
  margin: 1.5rem 0 0 !important;
  padding: 1.25rem 1.25rem;
  background: var(--color-cream);
  border-radius: 12px;
  border: 1px solid rgba(92, 74, 42, 0.12);
}

.contact__form--cf7 .wpcf7-acceptance label {
  display: flex !important;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--color-text-primary);
  margin: 0 !important;
  cursor: pointer;
}

.contact__form--cf7 .wpcf7-acceptance input[type='checkbox'] {
  width: 1.15rem !important;
  height: 1.15rem !important;
  margin-top: 0.15rem !important;
  flex-shrink: 0;
  accent-color: var(--color-primary);
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

/* 送信ボタン（CF7 / ブラウザ既定を上書き） */
.contact__form--cf7 .wpcf7-form > p:has(.wpcf7-submit) {
  margin-bottom: 0 !important;
  margin-top: 2rem !important;
  text-align: center;
}

.contact__form--cf7 .wpcf7-form input[type='submit'].wpcf7-submit {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  max-width: 100%;
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
  padding: 1rem 2.5rem !important;
  font-size: 1.125rem !important;
  line-height: 1.4 !important;
  border-radius: 40px !important;
  background: var(--color-primary) !important;
  background-image: none !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(232, 98, 26, 0.35) !important;
  cursor: pointer !important;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease !important;
  -webkit-appearance: none;
  appearance: none;
}

@media (min-width: 768px) {
  .contact__form--cf7 .wpcf7-form input[type='submit'].wpcf7-submit {
    width: auto !important;
    min-width: 280px;
    padding-left: 4rem !important;
    padding-right: 4rem !important;
  }
}

.contact__form--cf7 .wpcf7-form input[type='submit'].wpcf7-submit:hover {
  background: var(--color-primary-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 98, 26, 0.4) !important;
}

.contact__form--cf7 .wpcf7-form input[type='submit'].wpcf7-submit:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.contact__form--cf7 .wpcf7-spinner {
  margin: 0 auto;
}

/* バリデーション・送信結果 */
.contact__form--cf7 .wpcf7-not-valid-tip {
  color: #c62828;
  font-size: 0.8125rem;
  font-weight: 700;
  margin-top: 0.5rem;
  padding: 0.35rem 0 0;
  display: block;
}

.contact__form--cf7 .wpcf7-response-output {
  margin: 1.5rem 0 0;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  border-width: 2px;
  border-style: solid;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.contact__form--cf7 .wpcf7-validation-errors {
  border-color: #d32f2f;
  background: #ffebee;
  color: #b71c1c;
}

.contact__form--cf7 .wpcf7-mail-sent-ok {
  border-color: var(--color-primary);
  background: var(--color-primary-pale);
  color: var(--color-text-primary);
}

/* :has 非対応ブラウザ向け：送信欄の余白 */
.contact__form--cf7 .wpcf7-form p .wpcf7-submit {
  margin-top: 0.25rem;
}

.instagram-plugin-wrap {
  text-align: center;
}
.form-group {
  margin-bottom: 2rem;
  position: relative;
  text-align: left;
}

.form-label {
  display: flex;
  align-items: center;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.form-badge {
  font-size: 0.625rem;
  padding: 0.1rem 0.5rem;
  border-radius: 2px;
  margin-left: 0.75rem;
}

.form-badge--required {
  background: #D32F2F;
  color: #FFF;
}

.form-badge--optional {
  background: #E0E0E0;
  color: #666;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: var(--color-cream);
  border: 2px solid transparent;
  padding: 1rem;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-white);
  box-shadow: 0 0 0 4px var(--color-primary-pale);
}

.form-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.form-radio,
.form-checkbox {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.9375rem;
}

.form-radio input,
.form-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.radio-mark,
.checkbox-mark {
  height: 20px;
  width: 20px;
  background-color: var(--color-cream);
  border: 2px solid #ccc;
  display: inline-block;
  margin-right: 0.5rem;
  transition: all 0.2s;
  position: relative;
}

.radio-mark {
  border-radius: 50%;
}

.checkbox-mark {
  border-radius: 4px;
}

.form-radio:hover .radio-mark,
.form-checkbox:hover .checkbox-mark {
  border-color: var(--color-primary);
}

.form-radio input:checked~.radio-mark,
.form-checkbox input:checked~.checkbox-mark {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.radio-mark::after {
  content: "";
  position: absolute;
  display: none;
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}

.checkbox-mark::after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-radio input:checked~.radio-mark::after,
.form-checkbox input:checked~.checkbox-mark::after {
  display: block;
}

.form-error {
  color: #D32F2F;
  font-size: 0.8125rem;
  font-weight: 700;
  margin-top: 0.5rem;
  display: none;
}

.form-group.is-error .form-input,
.form-group.is-error .form-textarea {
  border-color: #D32F2F;
  background: #FFEBEE;
}

.form-group.is-error .form-error {
  display: block;
}

/* =========================================
   Mobile CTA Bar
========================================= */
.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  height: 60px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .mobile-cta-bar {
    display: none !important;
  }
}

.mobile-cta-bar__btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  gap: 4px;
}

.mobile-cta-bar__btn--tel {
  background: var(--color-white);
  color: var(--color-text-primary);
}

.mobile-cta-bar__btn--mail {
  background: var(--color-primary);
  color: var(--color-white);
}

@media (max-width: 767px) {
  body {
    padding-bottom: 60px;
  }
}

/* =========================================
   Animations (Intersection Observer)
========================================= */
.js-observe {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.js-observe.is-active {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   Back to Top Button
========================================= */
.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(232, 98, 26, 0.4);
}

@media (min-width: 768px) {
  .back-to-top {
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  ::before,
  ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================
   WordPress content (the_content)
========================================= */
.wp-content h2 {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-text-primary);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  padding-left: 12px;
  border-left: 4px solid var(--color-primary);
}
.wp-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: var(--color-text-mid);
}
.wp-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 2rem;
  color: var(--color-text-mid);
}
.wp-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.wp-content img {
  border-radius: 8px;
  width: 100%;
  height: auto;
  margin: 2rem 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}