/*
Theme Name: いしいオリジナルテーマ
Theme URI: https://example.com/
Author: あなたの名前や会社名
Author URI: https://example.com/
Description: 美容ディーラー いしい様のオリジナルテーマです。
Version: 1.0.0
Text Domain: ishii-theme
*/
:root {
  /* Colors */
  --color-primary:       #E86BA0; /* ピンク（彩度を微調整したくすみピンク） */
  --color-primary-dark:  #b84878; /* 白テキストとのコントラスト比 4.5:1 以上確保 */
  --color-primary-light: #FFF7FA; /* 薄ピンク背景（調整済み） */
  --color-bg-off-white:  #F7F5F2;
  --color-bg-white:      #FFFFFF;
  --color-text-heading:  #1A1A1A;
  --color-text-body:     #3D3D3D; /* 本文：ダークグレーに調整 */
  --color-text-caption:  #6B6966; /* WCAG AA準拠（白・薄ピンク背景両方で 4.5:1 以上） */
  --color-text-white:    #FFFFFF;
  --color-border:        #EAEAEA;
  --color-accent-red:    #F22828;
  --color-overlay:       rgba(36, 36, 36, 0.16);

  /* Typography */
  --font-sans:   'Noto Sans JP', sans-serif;
  --font-serif:  'Noto Serif JP', serif;

  --fs-xs:   0.75rem;   /* 12px */
  --fs-sm:   0.875rem;  /* 14px */
  --fs-base: 1rem;      /* 16px */
  --fs-md:   1.125rem;  /* 18px */
  --fs-lg:   1.25rem;   /* 20px */
  --fs-xl:   1.375rem;  /* 22px */
  --fs-2xl:  1.5625rem; /* 25px */
  --fs-3xl:  1.875rem;  /* 30px */
  --fs-4xl:  2rem;      /* 32px */
  --fs-5xl:  2.25rem;   /* 36px */

  --fw-regular: 400;
  --fw-medium:  500;
  --fw-bold:    700;

  --lh-tight:  1.4;
  --lh-base:   1.7;
  --lh-loose:  1.8;

  --ls-tight:  0.02em;
  --ls-base:   0.05em;
  --ls-wide:   0.1em;
  --ls-wider:  0.18em;

  /* Spacing */
  --space-xs:   0.5rem;   /* 8px */
  --space-sm:   1rem;     /* 16px */
  --space-md:   1.5rem;   /* 24px */
  --space-lg:   2rem;     /* 32px */
  --space-xl:   3rem;     /* 48px */
  --space-2xl:  3.5rem;   /* 56px  ← 余白過多を修正 */
  --space-3xl:  5rem;     /* 80px  ← 余白過多を修正 */

  /* Layout */
  --container-max: 1200px;
  --container-pad: 1.5rem;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.10);
  --shadow-btn: 0 3px 10px rgba(232, 107, 160, 0.30);

  /* Border Radius */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-full: 9999px;

  /* Transition */
  --transition: 0.25s ease;
}

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

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

body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-base);
  letter-spacing: var(--ls-tight);
  color: var(--color-text-body);
  background-color: var(--color-bg-white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

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

/* ------------------------------------------------------------
   3. Utility
   ------------------------------------------------------------ */
.u-container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.u-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   Section Heading — おしゃれなコーナータイトルスタイル
   英語ラベル＋左ボーダーライン＋日本語大見出しの2段構成
   ============================================================ */
.section__heading {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 1rem;
  border-left: 4px solid var(--color-primary);
  margin-bottom: var(--space-xl);
}

.section__label {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  color: var(--color-primary);
  text-transform: uppercase;
}

.section__title {
  font-family: var(--font-serif);
  font-size: var(--fs-4xl);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-base);
  color: var(--color-text-heading);
  position: relative;
  margin-bottom: var(--space-sm);
}

/* ------------------------------------------------------------
   4. Header
   ------------------------------------------------------------ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-bg-white);
  box-shadow: 0 1px 0 var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.header__logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-decoration: none;
}

.header__logo-mark {
  display: flex;
  align-items: center;
  line-height: 1;
}

.header__logo-name {
  font-size: var(--fs-xs);
  color: var(--color-text-caption);
  letter-spacing: var(--ls-base);
}

/* ロゴ画像 */
.header__logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Global Nav */
.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav__item a {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text-heading);
  letter-spacing: var(--ls-base);
  transition: color var(--transition);
}

.nav__item a:hover {
  color: var(--color-primary);
}

.nav__item--cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  background-color: var(--color-primary-dark); /* コントラスト比改善のため濃いピンクを使用 */
  color: var(--color-text-white);
  font-weight: var(--fw-bold);
  border-radius: var(--radius-sm);
  transition: background-color var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-btn);
}

.nav__item--cta a:hover {
  background-color: var(--color-primary-dark);
  box-shadow: 0 4px 14px rgba(232, 107, 160, 0.40);
}

/* Hamburger */
.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.header__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text-heading);
  border-radius: var(--radius-full);
  transition: transform var(--transition), opacity var(--transition);
}

.header__hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header__hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.header__hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.header__nav-drawer {
  display: none;
  position: fixed;
  inset: 80px 0 0 0;
  background-color: var(--color-bg-white);
  z-index: 99;
  padding: var(--space-lg) var(--container-pad);
  overflow-y: auto;
}

.header__nav-drawer.is-open {
  display: block;
}

.drawer__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.drawer__item {
  border-bottom: 1px solid var(--color-border);
}

.drawer__item a {
  display: block;
  padding: 1rem 0;
  font-size: var(--fs-md);
  font-weight: var(--fw-medium);
  color: var(--color-text-heading);
  letter-spacing: var(--ls-base);
}

.drawer__item--cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: var(--space-md);
  padding: 0.875rem;
  background-color: var(--color-primary);
  color: var(--color-text-white);
  font-weight: var(--fw-bold);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-btn);
}

/* ------------------------------------------------------------
   5. Hero Slider
   ------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  background-color: #111;

  /* ▼ バナー枠の設定：この2つを変えれば PC / SP 両方に反映されます */
  --hero-ratio: 4 / 3;  /* 枠の縦横比 */
  --hero-bg: #111;      /* 画像の比率が枠と違うときに出る余白の色 */
}

/* Swiperのコンテナ */
.hero__slider {
  position: relative;
}

/* バナーを横に並べる箱（= swiper-wrapper） */
.hero__slide-inner {
  display: flex;
  align-items: stretch;
}

/* バナー1枚。枠の比率を固定して、どの画像でも同じ大きさに揃える */
.hero .hero__banner {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  aspect-ratio: var(--hero-ratio);
  background-color: var(--hero-bg);
}

/* 画像は切り抜かず全体を表示する（比率が合わない分は余白になる） */
.hero .hero__banner img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
  transition: transform 0.4s ease;
}

.hero__banner:hover img {
  transform: scale(1.03);
}

/* 画像に重ねるテキスト */
.hero__banner-text,
.hero__banner-author,
.hero__banner-sub {
  position: relative;
  z-index: 3;
  color: #fff !important;
  margin: 0;
}

/* --- PC（768px以上）：バナーを横並びで固定表示（スライドしない） --- */
@media screen and (min-width: 768px) {
  .hero__slide-inner {
    justify-content: center;
  }
  .hero .hero__banner {
    flex: 1 1 0;
    width: auto; /* Swiper CSS の .swiper-slide{width:100%} を打ち消す */
  }
}

/* --- SP（767px以下）：Swiperで1枚ずつ表示してループさせる --- */
@media screen and (max-width: 767px) {
  .hero .hero__banner {
    flex: 0 0 100%;
    width: 100%;
  }
}

.hero__banner-label {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-block;
  padding: 3px 10px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-base);
  border-radius: var(--radius-sm);
  z-index: 1;
}

.hero__banner-label--column {
  background-color: var(--color-primary);
  color: var(--color-text-white);
}

.hero__banner-label--sales {
  background-color: var(--color-primary);
  color: var(--color-text-white);
}

.hero__banner-label--seminar {
  background-color: var(--color-primary);
  color: var(--color-text-white);
}

.hero__banner-label--product {
  background-color: var(--color-primary);
  color: var(--color-text-white);
}

/* Dark banner（現在フロントでは未使用） */
.hero__banner--dark {
  background-color: transparent;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 1.5rem;
}

.hero__banner--dark .hero__banner-text {
  color: var(--color-text-white);
  font-family: var(--font-sans);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-base);
  margin-top: 2.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero__banner--dark .hero__banner-sub {
  color: var(--color-text-caption);
  font-size: var(--fs-xs);
  margin-top: 0.5rem;
}

.hero__banner--dark .hero__banner-author {
  color: var(--color-primary);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  margin-top: 0.25rem;
}

/* Slider Controls */
.hero__prev,
.hero__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  background-color: rgba(255,255,255,0.85);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: background-color var(--transition);
}

.hero__prev:hover,
.hero__next:hover {
  background-color: var(--color-bg-white);
}

.hero__prev { left: 12px; }
.hero__next { right: 12px; }

.hero__prev svg,
.hero__next svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-text-heading);
}

/* ------------------------------------------------------------
   6. Diagnosis Banner
   ------------------------------------------------------------ */
.diagnosis {
  background-color: var(--color-primary-light);
  padding: var(--space-md) 0;
}

.diagnosis__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.diagnosis__copy {
  font-size: var(--fs-xs);
  color: var(--color-text-caption);
  letter-spacing: var(--ls-base);
}

.diagnosis__title {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-sans);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  color: var(--color-text-heading);
  letter-spacing: var(--ls-base);
}

.diagnosis__title-icon {
  color: var(--color-primary);
  font-size: 1.5rem;
}

.diagnosis__tags {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.diagnosis__tag {
  font-size: var(--fs-xs);
  color: var(--color-text-caption);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 2px 10px;
}

.diagnosis__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-primary);
  color: var(--color-text-white);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-btn);
  transition: background-color var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.diagnosis__cta:hover {
  background-color: var(--color-primary-dark);
  box-shadow: 0 4px 14px rgba(232, 107, 160, 0.40);
}

.diagnosis__cta-icon {
  font-size: 0.75rem;
}

/* ------------------------------------------------------------
   7. About Section
   ------------------------------------------------------------ */
.about {
  padding: var(--space-2xl) 0;
  background-color: var(--color-primary-light);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}



.about__body {
  font-size: var(--fs-base);
  line-height: var(--lh-loose);
  color: var(--color-text-body);
  margin-bottom: var(--space-lg);
}

.about__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.75rem;
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  border-radius: var(--radius-full);
  letter-spacing: var(--ls-base);
  transition: background-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-text-white);
  box-shadow: var(--shadow-btn);
}

.btn--primary:hover {
  background-color: var(--color-primary-dark);
  box-shadow: 0 4px 14px rgba(232, 107, 160, 0.40);
}

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

.btn--outline:hover {
  background-color: var(--color-text-heading);
  color: var(--color-text-white);
}

.btn--ghost {
  background-color: transparent;
  color: var(--color-text-caption);
  border: 1px solid var(--color-border);
  transition: 0.5s;
}

.btn--ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* ============================================================
   About INDEX — カード型クリック誘導デザイン
   ============================================================ */
.about__index {
  background-color: var(--color-bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
}

.about__index-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-primary-light);
}

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

.about__index-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition);
}

.about__index-item:hover {
  transform: translateX(4px);
}

.about__index-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1rem;
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: var(--color-text-heading);
  letter-spacing: var(--ls-base);
  background-color: var(--color-primary-light);
  border-left: 3px solid var(--color-primary);
  transition: background-color var(--transition), color var(--transition);
}

.about__index-item a:hover {
  background-color: var(--color-primary);
  color: var(--color-text-white);
}

.about__index-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
  color: var(--color-text-white);
  font-size: 0.875rem;
  flex-shrink: 0;
  transition: background-color var(--transition), color var(--transition);
}

.about__index-item a:hover .about__index-arrow {
  background-color: var(--color-text-white);
  color: var(--color-primary);
}

/* ------------------------------------------------------------
   8. Cases Section
   ------------------------------------------------------------ */
.cases {
  padding: var(--space-2xl) 0;
  background-color: var(--color-bg-off-white);
}

.cases__header {
  margin-bottom: var(--space-xl);
}

.cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.case-card {
  background-color: var(--color-bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.case-card__image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.case-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.case-card:hover .case-card__image img {
  transform: scale(1.04);
}

.case-card__label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: inline-block;
  padding: 3px 12px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
  color: var(--color-text-white);
}

.case-card__body {
  padding: var(--space-md);
}

.case-card__title {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: var(--color-text-heading);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-xs);
  letter-spacing: var(--ls-tight);
}

.case-card__text {
  font-size: var(--fs-sm);
  color: var(--color-text-body);
  line-height: var(--lh-base);
}

.cases__footer {
  text-align: center;
}

/* ------------------------------------------------------------
   9. Products Section
   ------------------------------------------------------------ */
.products {
  padding: var(--space-2xl) 0;
  background-color: var(--color-bg-white);
}

.products__header {
  margin-bottom: var(--space-xl);
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.product-card {
  background-color: var(--color-bg-off-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.product-card__image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card__image img {
  transform: scale(1.04);
}

.product-card__body {
  padding: var(--space-sm);
}

.product-card__name {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--color-text-heading);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
}

.products__footer {
  text-align: center;
}


/* ------------------------------------------------------------
   10. Salons Section
   ------------------------------------------------------------ */
/* .news{
  padding: var(--space-2xl) 0;
  background-color: var(--color-bg-off-white);
} */
.salons__header {
  margin-bottom: var(--space-xl);
}
.salons__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}
.salon-card {
  background-color: var(--color-bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.salon-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.salon-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.salon-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.salon-card:hover .salon-card__image img {
  transform: scale(1.04);
}
.salon-card__body {
  padding: var(--space-sm);
}
.salon-card__name {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--color-text-heading);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
}
.salon-card__area {
  font-size: var(--fs-xs);
  color: var(--color-text-caption);
  margin-top: 0.25rem;
}
.salons__footer {
  text-align: center;
}

/* ------------------------------------------------------------
   11. News Section
   ------------------------------------------------------------ */
.news{
  padding: var(--space-2xl) 0;
  background-color: var(--color-bg-off-white);
}

.news__header {
  margin-bottom: var(--space-xl);
}

.news__tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: var(--space-lg);
}

.news__tab {
  padding: 0.5rem 1.25rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text-caption);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
}

.news__tab.is-active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
  font-weight: var(--fw-bold);
}
.news__panel-label{
    font-weight: bold;
    font-size: 20px;
}

.news__panel.is-active {
  display: block;
}

/* Column cards */
.news__column-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.column-card {
  background-color: #1a1a1a;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-md);
}

.column-card__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  opacity: 0.5;
  width: 100%;
  height: 100%;
}

.column-card__label {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 2px 10px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  background-color: var(--color-primary);
  color: var(--color-text-white);
  border-radius: var(--radius-sm);
}

.column-card__title {
  position: relative;
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--color-text-white);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-base);
}

.column-card__sub {
  position: relative;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.7);
  margin-top: 0.25rem;
}

.column-card__link {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: absolute;
  inset: 0;
  padding: var(--space-md);
  text-decoration: none;
  transition: opacity 0.2s;
}

.column-card__link:hover {
  opacity: 0.85;
}

/* News list */
.news__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.news__list-group {}

.news__list-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wider);
  color: var(--color-text-caption);
  text-transform: uppercase;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-sm);
}

.news__list {}

.news__list-item {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--fs-sm);
}

.news__list-date {
  color: var(--color-text-caption);
  white-space: nowrap;
  flex-shrink: 0;
}

.news__list-title {
  color: var(--color-text-heading);
  transition: color var(--transition);
}

.news__list-item a:hover .news__list-title {
  color: var(--color-primary);
}

/* ------------------------------------------------------------
   11. SNS Section
   ------------------------------------------------------------ */
.sns {
  padding: var(--space-2xl) 0;
  background-color: var(--color-bg-white);
}

.sns__header {
  margin-bottom: var(--space-xl);
}

.sns__list {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.sns-card {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 1rem 2rem;
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--color-text-heading);
  transition: box-shadow var(--transition), transform var(--transition);
  min-width: 180px;
  justify-content: center;
}

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

.sns-card__icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/* ------------------------------------------------------------
   12. Footer
   ------------------------------------------------------------ */
.footer {
  background-color: var(--color-bg-white);
  border-top: 1px solid var(--color-border);
  padding: var(--space-lg) 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.footer__nav {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

.footer__nav a {
  font-size: var(--fs-sm);
  color: var(--color-text-caption);
  transition: color var(--transition);
}

.footer__nav a:hover {
  color: var(--color-primary);
}

.footer__copy {
  font-size: var(--fs-xs);
  color: var(--color-text-caption);
  text-align: center;
  margin-top: var(--space-sm);
}

/* ------------------------------------------------------------
   13. Inline Editor (Preview Edit Mode)
   ------------------------------------------------------------ */
.edit-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background-color: #1A1A1A;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 1.5rem;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.25);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.edit-bar__left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.edit-bar__indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #6ee7b7;
  flex-shrink: 0;
}

.edit-bar__label {
  font-weight: 600;
  letter-spacing: 0.04em;
}

.edit-bar__hint {
  color: #aaa;
  font-size: 0.75rem;
}

.edit-bar__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.edit-bar__btn {
  padding: 0.375rem 1rem;
  border-radius: 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
  border: none;
}

.edit-bar__btn--save {
  background-color: var(--color-primary);
  color: #fff;
}

.edit-bar__btn--save:hover {
  background-color: var(--color-primary-dark);
}

.edit-bar__btn--reset {
  background-color: transparent;
  color: #ccc;
  border: 1px solid #555;
}

.edit-bar__btn--reset:hover {
  background-color: #333;
}

.edit-bar__btn--export {
  background-color: #2563eb;
  color: #fff;
}

.edit-bar__btn--export:hover {
  background-color: #1d4ed8;
}

/* Editable element highlight */
[data-editable] {
  position: relative;
  outline: 2px dashed transparent;
  outline-offset: 2px;
  transition: outline-color 0.2s;
  cursor: text;
}

[data-editable]:hover {
  outline-color: rgba(232, 107, 160, 0.5);
}

[data-editable]:focus {
  outline-color: var(--color-primary);
  outline-style: solid;
}

/* Edit tooltip */
.edit-tooltip {
  position: absolute;
  top: -26px;
  left: 0;
  background-color: var(--color-primary);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 3px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 100;
}

[data-editable]:hover .edit-tooltip {
  opacity: 1;
}

/* Color picker panel */
.color-panel {
  position: fixed;
  bottom: 60px;
  right: 1.5rem;
  z-index: 9998;
  background-color: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 1rem;
  width: 260px;
  display: none;
}

.color-panel.is-open {
  display: block;
}

.color-panel__title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 0.75rem;
}

.color-panel__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.625rem;
}

.color-panel__label {
  font-size: 0.75rem;
  color: var(--color-text-caption);
  flex: 1;
}

.color-panel__input {
  width: 40px;
  height: 32px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  cursor: pointer;
  padding: 2px;
}

.color-panel__hex {
  font-size: 0.75rem;
  font-family: monospace;
  color: var(--color-text-heading);
  width: 80px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 4px 6px;
}

/* Spacing panel */
.spacing-panel {
  position: fixed;
  bottom: 60px;
  right: 1.5rem;
  z-index: 9998;
  background-color: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 1rem;
  width: 260px;
  display: none;
}

.spacing-panel.is-open {
  display: block;
}

.spacing-panel__title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 0.75rem;
}

.spacing-panel__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.625rem;
}

.spacing-panel__label {
  font-size: 0.75rem;
  color: var(--color-text-caption);
  flex: 1;
}

.spacing-panel__input {
  width: 70px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 4px 6px;
  font-size: 0.75rem;
}

/* Toast notification */
.toast {
  position: fixed;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: #1A1A1A;
  color: #fff;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 10000;
  white-space: nowrap;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ------------------------------------------------------------
   14. Responsive
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .about__inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .cases__grid {
    grid-template-columns: 1fr;
  }
  .products__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .salons__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news__column-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  :root {
    --fs-4xl: 1.625rem;
    --fs-3xl: 1.5rem;
    --space-3xl: 4rem;
    --space-2xl: 3rem;
  }

  .header__nav {
    display: none;
  }

  .header__hamburger {
    display: flex;
  }

  .diagnosis__inner {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }

    .cases__grid {
    grid-template-columns: 1fr;
  }
  .products__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .salons__grid {
    grid-template-columns: 1fr;
  }
  .news__column-grid {
    grid-template-columns: 1fr;
  }

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

  .sns__list {
    flex-direction: column;
  }

  .sns-card {
    width: 100%;
  }

  .footer__inner {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .about__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .edit-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1rem;
  }

  .edit-bar__right {
    width: 100%;
    justify-content: flex-end;
  }
}

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

/* ============================================================
   PAGE CTA（全ページ共通）
   ============================================================ */
.page-cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, #c94d8a 100%);
  padding: var(--space-2xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-cta::before,
.page-cta::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  pointer-events: none;
}
.page-cta::before {
  width: 400px;
  height: 400px;
  top: -120px;
  left: -80px;
}
.page-cta::after {
  width: 300px;
  height: 300px;
  bottom: -100px;
  right: -60px;
}
.page-cta__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.page-cta__label {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-widest);
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}
.page-cta__title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: var(--fw-bold);
  color: var(--color-text-white);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-base);
  margin-bottom: var(--space-sm);
}
.page-cta__text {
  font-size: var(--fs-base);
  color: rgba(255, 255, 255, 0.9);
  line-height: var(--lh-loose);
  margin-bottom: var(--space-xl);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.page-cta__actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.page-cta__btn--primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background-color: var(--color-text-white);
  color: var(--color-primary);
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  border-radius: var(--radius-full);
  letter-spacing: var(--ls-base);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  transition: transform var(--transition), box-shadow var(--transition);
}
.page-cta__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}
.page-cta__btn--secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background-color: transparent;
  color: var(--color-text-white);
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  border-radius: var(--radius-full);
  letter-spacing: var(--ls-base);
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.75);
  transition: background-color var(--transition), border-color var(--transition), transform var(--transition);
}
.page-cta__btn--secondary:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--color-text-white);
  transform: translateY(-2px);
}

/* ============================================================
   INNER FOOTER（全ページ共通）
   ============================================================ */
.inner-footer {
  background-color: #1a1a1a;
  padding: var(--space-2xl) 0 0;
  color: rgba(255, 255, 255, 0.75);
}
.inner-footer__top {
  display: grid;
  grid-template-columns: 280px 1fr 1fr;
  gap: var(--space-2xl);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad) var(--space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.inner-footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.inner-footer__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.inner-footer__logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.inner-footer__tagline {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.55);
  line-height: var(--lh-base);
}
.inner-footer__sns {
  display: flex;
  gap: 0.75rem;
  margin-top: var(--space-sm);
}
.inner-footer__sns-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color var(--transition);
}
.inner-footer__sns-link:hover {
  background-color: var(--color-primary);
}
.inner-footer__sns-link img {
  width: 20px;
  height: 20px;
}
.inner-footer__nav-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.inner-footer__nav-title {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-widest);
  color: var(--color-primary);
  text-transform: uppercase;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(232, 107, 160, 0.3);
  margin-bottom: 0.25rem;
}
.inner-footer__nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.inner-footer__nav-list a {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.inner-footer__nav-list a::before {
  content: '›';
  color: var(--color-primary);
  font-size: 0.9em;
}
.inner-footer__nav-list a:hover {
  color: var(--color-text-white);
}
.inner-footer__bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-md) var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.inner-footer__copy {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.35);
}
.inner-footer__policy {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.inner-footer__policy a {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color var(--transition);
}
.inner-footer__policy a:hover {
  color: rgba(255, 255, 255, 0.75);
}

/* ============================================================
   CTA・フッター レスポンシブ
   ============================================================ */
@media (max-width: 1024px) {
  .inner-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
  .inner-footer__brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 767px) {
  .page-cta {
    padding: var(--space-xl) 0;
  }
  .page-cta__title {
    font-size: var(--fs-2xl);
  }
  .page-cta__actions {
    flex-direction: column;
    gap: var(--space-sm);
  }
  .page-cta__btn--primary,
  .page-cta__btn--secondary {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
  .inner-footer__top {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .inner-footer__brand {
    grid-column: auto;
  }
  .inner-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }
}


/* =========================================================
   実例紹介ページ (example) 専用CSS
========================================================= */

.example-page {
  padding: 60px 0;
}

/* --------------------------------
   カテゴリーフィルター
-------------------------------- */
.example-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
}

.example-filter__btn {
  display: inline-block;
  padding: 8px 24px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #333;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* ホバー時 ＆ 現在のカテゴリー（アクティブ） */
.example-filter__btn:hover,
.example-filter__btn.is-active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-text-white);
}

/* --------------------------------
   一覧グリッド
-------------------------------- */
.example-page__grid {
  display: grid;
  gap: 30px;
  /* 最小300pxで折り返し、PCなら自動で3カラム等になる設定 */
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

/* --------------------------------
   実績カード
-------------------------------- */
.example-card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.example-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.example-card__image-wrapper {
  width: 100%;
}

.example-card__image {
  width: 100%;
  aspect-ratio: 16 / 9; /* 画像の比率を固定 */
  overflow: hidden;
}

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

/* ホバー時に画像を少しズーム */
.example-card:hover .example-card__image img {
  transform: scale(1.05);
}

/* --------------------------------
   カード内テキストエリア
-------------------------------- */
.example-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* タグを囲む親要素（複数並べるための設定） */
.example-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

/* カテゴリータグ本体 */
.example-card__category-tag {
  display: inline-block;
  font-size: 0.7em;
  font-weight: 700;
  color: #fff;
  background-color: var(--color-primary);
  padding: 4px 12px;
  border-radius: 20px;
}

/* タイトル */
.example-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 8px;
  color: #222;
}

/* サブタイトル（地域名など） */
.example-card__subtitle {
  font-size: 1.2rem;
  color: #888;
  margin: 0 0 12px;
}

/* 説明文 */
.example-card__desc {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

/* --------------------------------
   記事がない場合
-------------------------------- */
.example-page__empty {
  text-align: center;
  font-size: 1.6rem;
  padding: 40px 0;
}


/* =========================================================
   実例紹介 詳細ページ (single-example)
========================================================= */
.single-example {
  padding: 40px 0 80px;
}

/* --------------------------------
   1. ヒーロー部分（上部2カラム）
-------------------------------- */
.single-example__hero {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
  align-items: flex-start;
}

/* タブレット・スマホ環境（縦並びにする） */
@media (max-width: 768px) {
  .single-example__hero {
    flex-direction: column;
    gap: 24px;
  }
}

/* 左側：画像 */
.single-example__hero-visual {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.single-example__hero-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* 右側：情報エリア */
.single-example__hero-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* カテゴリータグ */
.single-example__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.single-example__tag {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ff3366; /* ピンク文字 */
  border: 1px solid #ff3366; /* ピンク枠線 */
  padding: 4px 14px;
  border-radius: 20px;
  background-color: #fff;
}

/* タイトル */
.single-example__title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #222;
  line-height: 1.4;
  margin: 0 0 16px;
}

/* 抜粋（説明文） */
.single-example__excerpt {
  line-height: 1.7;
  color: #555;
  margin: 0 0 20px;
}

/* 住所 */
.single-example__address {
  color: #777;
  margin: 0;
  padding-top: 12px;
  border-top: 1px dashed #e5e5e5; /* 抜粋との境界線 */
}

.single-example__address-label {
  font-weight: 700;
  color: #444;
}

/* --------------------------------
   2. 記事本文エリア（Gutenberg出力部分）
-------------------------------- */
.single-example__content {
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid #eee;
}

/* 本文内の見出し(H2)デザイン */
.single-example__content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #222;
  margin: 50px 0 20px;
  padding-left: 16px;
  position: relative;
  line-height: 1.4;
}

/* 見出しの左側にあるピンクの縦棒 */
.single-example__content h2::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 5px;
  height: 24px;
  background-color: #ff3366;
  border-radius: 3px;
}

/* 本文内の段落 */
.single-example__content p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 24px;
}

/* --------------------------------
   3. フッター（戻るボタン）
-------------------------------- */
.single-example__footer {
  text-align: center;
  margin-top: 60px;
}

.single-example__back-btn {
  display: inline-block;
  /* font-size: 1.5rem; */
  font-weight: 700;
  color: #333;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  padding: 14px 40px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.single-example__back-btn:hover {
  background-color: #333;
  color: #fff;
  border-color: #333;
}




/* -------------------------------------------
   1. エラーメッセージの表示制御
      送信ボタンを押すまでは出さない
   ------------------------------------------- */
.wpcf7-not-valid-tip {
    display: none !important;
}
 
.wpcf7 form.invalid .wpcf7-not-valid-tip,
.wpcf7 form.unaccepted .wpcf7-not-valid-tip {
    display: block !important;
}
 
.wpcf7-spinner {
    display: none !important;
}
 
 
/* -------------------------------------------
   2. 入力欄のラッパーを横並びに
   ------------------------------------------- */
.wpcf7 .wpcf7-form-control-wrap {
    vertical-align: top;
    max-width: 100%;
}
 
 
/* -------------------------------------------
   3. 幅クラスをラッパー側へ移す
      入力欄に付けた class:wXX を検出して、
      幅はラッパーが持ち、入力欄は 100% にする。
      こうしないと「ラッパーの幅 → 入力欄の幅」が
      循環参照になって入力欄が潰れる。
   ------------------------------------------- */
.wpcf7 .wpcf7-form-control-wrap:has(> .w100) { width: 100%; }
.wpcf7 .wpcf7-form-control-wrap:has(> .w70)  { width: 70%;  }
.wpcf7 .wpcf7-form-control-wrap:has(> .w50)  { width: 50%;  }
.wpcf7 .wpcf7-form-control-wrap:has(> .w40)  { width: 40%;  }
.wpcf7 .wpcf7-form-control-wrap:has(> .w30)  { width: 30%;  }
.wpcf7 .wpcf7-form-control-wrap:has(> .w20)  { width: 20%;  }
.wpcf7 .wpcf7-form-control-wrap:has(> .w10)  { width: 10%;  }
 
/* 幅クラスの付いた入力欄はラッパーいっぱいに広げる */
.wpcf7 .wpcf7-form-control-wrap > .w100,
.wpcf7 .wpcf7-form-control-wrap > .w70,
.wpcf7 .wpcf7-form-control-wrap > .w50,
.wpcf7 .wpcf7-form-control-wrap > .w40,
.wpcf7 .wpcf7-form-control-wrap > .w30,
.wpcf7 .wpcf7-form-control-wrap > .w20,
.wpcf7 .wpcf7-form-control-wrap > .w10 {
    width: 100%;
    box-sizing: border-box;
}
 
/* 幅100%の項目は行を占有させる */
.wpcf7 .wpcf7-form-control-wrap:has(> .w100) {
    display: block;
}
 
/* テキストエリア・選択系は常に行を占有 */
.wpcf7 .wpcf7-form-control-wrap:has(> textarea),
.wpcf7 .wpcf7-form-control-wrap:has(> .wpcf7-checkbox),
.wpcf7 .wpcf7-form-control-wrap:has(> .wpcf7-radio) {
    display: block;
    width: 100%;
}
 
.wpcf7 textarea {
    width: 100%;
    box-sizing: border-box;
}
 
 
/* -------------------------------------------
   4. エラーメッセージの見た目
   ------------------------------------------- */
.wpcf7 .wpcf7-not-valid-tip {
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.4;
    white-space: normal;
}
 
/* 送信前は赤枠を出さない（CF7標準の指定も打ち消す）
   ※ border-color / background はテーマの入力欄の通常状態に合わせて
     必要なら書き換えてください */
.wpcf7 .wpcf7-not-valid {
    background: #fff;
    border-color: #ccc;
    box-shadow: none;
}
 
/* 送信ボタンを押したあとだけ赤枠にする */
.wpcf7 form.invalid .wpcf7-not-valid,
.wpcf7 form.unaccepted .wpcf7-not-valid {
    background: #fff5f5;
    border-color: #e06666;
}
 
 
/* -------------------------------------------
   5. 確認画面（readonly）の見た目
   ------------------------------------------- */
.wpcf7 input[readonly],
.wpcf7 textarea[readonly] {
    background: #f5f5f5;
    border-color: #ddd;
    color: #333;
}
 
 
/* -------------------------------------------
   6. ボタン
   ------------------------------------------- */
.wpcf7 .btnarea {
    text-align: center;
    margin-top: 30px;
}
 
.wpcf7 .btnarea input[type="submit"],
.wpcf7 .btnarea button {
    margin: 0 8px;
}
 
 
/* -------------------------------------------
   7. スマホ
   ------------------------------------------- */
@media screen and (max-width: 768px) {
    .wpcf7 .wpcf7-form-control-wrap:has(> .w70),
    .wpcf7 .wpcf7-form-control-wrap:has(> .w50) {
        display: block;
        width: 100%;
    }
    .wpcf7 .wpcf7-form-control-wrap:has(> .w30) { width: 45%; }
    .wpcf7 .wpcf7-form-control-wrap:has(> .w20) { width: 45%; }
}


.contact-form__textarea-confirm{
  white-space:pre-wrap;
}