/**
 * 林商事テーマ メインCSS
 *
 * @package HSJ_Theme
 * @since 1.0.0
 */

/* ===========================================
   CSS Variables (Design Tokens)
   =========================================== */
:root {
  /* カラー */
  --c-navy: #0f2350;
  --c-navy-light: #1a3a7a;
  --c-navy-dark: #0a1633;
  --c-gold: #c58e00;
  --c-gold-light: #d9a520;
  --c-gold-dark: #946b00;
  --c-bg-white: #ffffff;
  --c-bg-light: #f9f9f9;
  --c-bg-gray: #f0f0f0;
  --c-text-dark: #333333;
  --c-text-gray: #666666;
  --c-text-light: #999999;
  --c-text-white: #ffffff;
  --c-border: #e0e0e0;
  --c-border-light: #eeeeee;
  --c-success: #28a745;
  --c-error: #dc3545;

  /* フォント */
  --ff-mincho: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --ff-gothic: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;

  /* フォントサイズ */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 1.875rem;
  --fs-3xl: 2.25rem;
  --fs-4xl: 3rem;

  /* 行間 */
  --lh-tight: 1.4;
  --lh-base: 1.8;
  --lh-loose: 2.0;

  /* スペーシング */
  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 1.5rem;
  --sp-lg: 2rem;
  --sp-xl: 3rem;
  --sp-2xl: 4rem;
  --sp-3xl: 5rem;
  --sp-4xl: 6rem;

  /* コンテナ幅 */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1200px;

  /* ボーダー */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* シャドウ */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);

  /* トランジション */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Z-index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
}

/* ===========================================
   Reset CSS
   =========================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff-gothic);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--c-text-dark);
  background-color: var(--c-bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

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

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* ===========================================
   Typography
   =========================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--ff-mincho);
  font-weight: 600;
  line-height: var(--lh-tight);
  color: var(--c-navy);
}

h1 {
  font-size: var(--fs-4xl);
}

h2 {
  font-size: var(--fs-3xl);
}

h3 {
  font-size: var(--fs-2xl);
}

h4 {
  font-size: var(--fs-xl);
}

h5 {
  font-size: var(--fs-lg);
}

h6 {
  font-size: var(--fs-md);
}

@media (max-width: 767px) {
  h1 {
    font-size: var(--fs-2xl);
  }

  h2 {
    font-size: var(--fs-xl);
  }

  h3 {
    font-size: var(--fs-lg);
  }
}

/* ===========================================
   Layout
   =========================================== */
.l-container {
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: 0 var(--sp-md);
}

.l-container--narrow {
  max-width: var(--container-md);
}

.l-container--wide {
  max-width: 100%;
  padding: 0 var(--sp-lg);
}

.l-main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.l-main__content {
  flex: 1;
}

/* ===========================================
   Header
   =========================================== */
.l-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: var(--c-bg-white);
  border-bottom: 3px solid var(--c-gold);
  transition: box-shadow var(--transition-base);
}

.l-header.is-scrolled {
  box-shadow: var(--shadow-md);
}

.l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: var(--sp-sm) var(--sp-md);
}

.l-header__logo a {
  display: block;
}

.l-header__logo img {
  height: 40px;
  width: auto;
}

.l-header__nav {
  display: none;
}

@media (min-width: 1024px) {
  .l-header__nav {
    display: flex;
    align-items: center;
    gap: var(--sp-lg);
  }
}

.l-header__menu {
  display: flex;
  gap: var(--sp-md);
  list-style: none;
  margin: 0;
  padding: 0;
}

.l-header__menu a {
  color: var(--c-text-dark);
  text-decoration: none;
  font-size: var(--fs-sm);
  font-weight: 500;
  padding: var(--sp-xs) 0;
  position: relative;
}

.l-header__menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--c-gold);
  transition: width var(--transition-base);
}

.l-header__menu a:hover::after {
  width: 100%;
}

/* ハンバーガーボタン */
.l-header__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

@media (min-width: 1024px) {
  .l-header__hamburger {
    display: none;
  }
}

.l-header__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--c-navy);
  transition: var(--transition-base);
  transform-origin: center;
}

.l-header__hamburger.is-open span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.l-header__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.l-header__hamburger.is-open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* モバイルメニュー */
.l-mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: calc(var(--z-sticky) - 1);
  background: var(--c-bg-white);
  padding-top: 80px;
  overflow-y: auto;
}

.l-mobile-menu.is-open {
  display: block;
}

@media (min-width: 1024px) {
  .l-mobile-menu {
    display: none !important;
  }
}

.l-mobile-menu__nav {
  padding: var(--sp-lg);
}

.l-mobile-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.l-mobile-menu__list li {
  border-bottom: 1px solid var(--c-border-light);
}

.l-mobile-menu__list a {
  display: block;
  padding: var(--sp-md);
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--c-text-dark);
}

.l-mobile-menu__cta {
  padding: var(--sp-lg);
}

/* ===========================================
   Footer
   =========================================== */
.l-footer {
  background: var(--c-navy);
  color: var(--c-text-white);
}

.l-footer__inner {
  max-width: var(--container-xl);
  margin: 0 auto;
  padding: var(--sp-3xl) var(--sp-md);
}

.l-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-xl);
}

.l-footer__logo {
  height: 40px;
  width: auto;
  margin-bottom: var(--sp-md);
}

.l-footer__address {
  font-style: normal;
  font-size: var(--fs-sm);
  line-height: var(--lh-loose);
}

.l-footer__address a {
  color: var(--c-text-white);
}

.l-footer__address a:hover {
  text-decoration: underline;
}

.l-footer__title {
  font-family: var(--ff-gothic);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-gold);
  margin-bottom: var(--sp-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.l-footer__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.l-footer__nav li {
  margin-bottom: var(--sp-xs);
}

.l-footer__nav a {
  font-size: var(--fs-sm);
  color: var(--c-text-white);
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.l-footer__nav a:hover {
  opacity: 1;
}

.l-footer__tel {
  font-family: var(--ff-mincho);
  font-size: var(--fs-2xl);
  font-weight: 600;
  margin-bottom: var(--sp-xs);
}

.l-footer__tel a {
  color: var(--c-text-white);
}

.l-footer__hours {
  font-size: var(--fs-sm);
  opacity: 0.8;
  margin-bottom: var(--sp-md);
}

.l-footer__copyright {
  background: var(--c-navy-dark);
  text-align: center;
  padding: var(--sp-md);
  font-size: var(--fs-xs);
  opacity: 0.8;
}

/* ===========================================
   Buttons
   =========================================== */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-xs);
  padding: var(--sp-sm) var(--sp-lg);
  font-size: var(--fs-base);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
}

.c-btn--primary {
  background: var(--c-gold);
  color: var(--c-text-white);
  border-color: var(--c-gold);
}

.c-btn--primary:hover {
  background: var(--c-gold-dark);
  border-color: var(--c-gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(197, 142, 0, 0.4);
}

.c-btn--primary:active {
  transform: translateY(0);
}

.c-btn--secondary {
  background: var(--c-navy);
  color: var(--c-text-white);
  border-color: var(--c-navy);
}

.c-btn--secondary:hover {
  background: var(--c-navy-light);
  border-color: var(--c-navy-light);
}

.c-btn--outline {
  background: transparent;
  color: var(--c-navy);
  border-color: var(--c-navy);
}

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

.c-btn--outline-white {
  background: transparent;
  color: var(--c-text-white);
  border-color: var(--c-text-white);
}

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

.c-btn--lg {
  padding: var(--sp-md) var(--sp-xl);
  font-size: var(--fs-lg);
}

.c-btn--sm {
  padding: var(--sp-xs) var(--sp-md);
  font-size: var(--fs-sm);
}

.c-btn--full {
  width: 100%;
}

.c-btn svg {
  width: 1.25em;
  height: 1.25em;
}

/* ===========================================
   Section Header
   =========================================== */
.c-section-header {
  margin-bottom: var(--sp-xl);
}

.c-section-header--center {
  text-align: center;
}

.c-section-header__title {
  font-family: var(--ff-mincho);
  font-size: var(--fs-3xl);
  font-weight: 600;
  color: var(--c-navy);
  line-height: var(--lh-tight);
  margin-bottom: var(--sp-sm);
  position: relative;
  display: inline-block;
}

.c-section-header__title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--c-gold);
}

.c-section-header--center .c-section-header__title::after {
  left: 50%;
  transform: translateX(-50%);
}

.c-section-header__subtitle {
  font-size: var(--fs-md);
  color: var(--c-text-gray);
  margin-top: var(--sp-md);
}

@media (max-width: 767px) {
  .c-section-header__title {
    font-size: var(--fs-2xl);
  }
}

/* ===========================================
   Cards
   =========================================== */
.c-card {
  background: var(--c-bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.c-card--bordered {
  border-top: 5px solid var(--c-navy);
  padding: var(--sp-lg);
}

.c-card--hover {
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.c-card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.c-card__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.c-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-card__body {
  padding: var(--sp-md);
}

.c-card__icon {
  width: 64px;
  height: 64px;
  margin-bottom: var(--sp-md);
  color: var(--c-gold);
}

.c-card__title {
  font-family: var(--ff-mincho);
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--c-navy);
  margin-bottom: var(--sp-sm);
}

.c-card__text {
  font-size: var(--fs-base);
  color: var(--c-text-gray);
  line-height: var(--lh-base);
}

/* ===========================================
   Breadcrumb
   =========================================== */
.c-breadcrumb {
  padding: var(--sp-sm) 0;
  font-size: var(--fs-sm);
}

.c-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-xs);
  list-style: none;
  margin: 0;
  padding: 0;
}

.c-breadcrumb__item {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  color: var(--c-text-gray);
}

.c-breadcrumb__item:not(:last-child)::after {
  content: ">";
  color: var(--c-text-light);
}

.c-breadcrumb__item a {
  color: var(--c-text-gray);
  text-decoration: none;
}

.c-breadcrumb__item a:hover {
  color: var(--c-gold);
  text-decoration: underline;
}

/* ===========================================
   CTA Section
   =========================================== */
.c-cta {
  background: var(--c-bg-light);
  padding: var(--sp-4xl) 0;
}

.c-cta__inner {
  text-align: center;
  max-width: var(--container-md);
  margin: 0 auto;
}

.c-cta__title {
  font-family: var(--ff-mincho);
  font-size: var(--fs-3xl);
  color: var(--c-navy);
  margin-bottom: var(--sp-md);
}

.c-cta__text {
  font-size: var(--fs-md);
  color: var(--c-text-gray);
  margin-bottom: var(--sp-xl);
  line-height: var(--lh-loose);
}

.c-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-md);
  margin-bottom: var(--sp-md);
}

.c-cta__hours {
  font-size: var(--fs-sm);
  color: var(--c-text-light);
}

@media (max-width: 767px) {
  .c-cta__title {
    font-size: var(--fs-2xl);
  }

  .c-cta__buttons {
    flex-direction: column;
    align-items: center;
  }

  .c-cta__buttons .c-btn {
    width: 100%;
    max-width: 300px;
  }
}

/* ===========================================
   Fixed CTA (Mobile)
   =========================================== */
.c-fixed-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  background: var(--c-bg-white);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: var(--sp-xs);
}

@media (max-width: 1023px) {
  .c-fixed-cta {
    display: flex;
    gap: var(--sp-xs);
  }

  body {
    padding-bottom: 70px;
  }
}

.c-fixed-cta__btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: var(--sp-sm);
  border-radius: var(--radius-md);
  text-decoration: none;
  font-size: var(--fs-sm);
  font-weight: 600;
}

.c-fixed-cta__btn--tel {
  background: var(--c-gold);
  color: var(--c-text-white);
}

.c-fixed-cta__btn--form {
  background: var(--c-navy);
  color: var(--c-text-white);
}

.c-fixed-cta__btn svg {
  width: 24px;
  height: 24px;
}

/* ===========================================
   Page Header
   =========================================== */
.p-page-header {
  background: var(--c-bg-light);
  padding: var(--sp-xl) 0;
}

.p-page-header__title {
  font-family: var(--ff-mincho);
  font-size: var(--fs-3xl);
  color: var(--c-navy);
  margin-bottom: var(--sp-sm);
}

@media (max-width: 767px) {
  .p-page-header__title {
    font-size: var(--fs-2xl);
  }
}

/* ===========================================
   Utilities
   =========================================== */
.u-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.u-text-center {
  text-align: center;
}

.u-text-left {
  text-align: left;
}

.u-text-right {
  text-align: right;
}

.u-mt-0 { margin-top: 0; }
.u-mt-sm { margin-top: var(--sp-sm); }
.u-mt-md { margin-top: var(--sp-md); }
.u-mt-lg { margin-top: var(--sp-lg); }
.u-mt-xl { margin-top: var(--sp-xl); }

.u-mb-0 { margin-bottom: 0; }
.u-mb-sm { margin-bottom: var(--sp-sm); }
.u-mb-md { margin-bottom: var(--sp-md); }
.u-mb-lg { margin-bottom: var(--sp-lg); }
.u-mb-xl { margin-bottom: var(--sp-xl); }

.u-py-sm { padding-top: var(--sp-sm); padding-bottom: var(--sp-sm); }
.u-py-md { padding-top: var(--sp-md); padding-bottom: var(--sp-md); }
.u-py-lg { padding-top: var(--sp-lg); padding-bottom: var(--sp-lg); }
.u-py-xl { padding-top: var(--sp-xl); padding-bottom: var(--sp-xl); }
.u-py-2xl { padding-top: var(--sp-2xl); padding-bottom: var(--sp-2xl); }
.u-py-3xl { padding-top: var(--sp-3xl); padding-bottom: var(--sp-3xl); }
.u-py-4xl { padding-top: var(--sp-4xl); padding-bottom: var(--sp-4xl); }

/* Hide on mobile */
@media (max-width: 767px) {
  .u-hide-sp {
    display: none !important;
  }
}

/* Hide on desktop */
@media (min-width: 768px) {
  .u-hide-pc {
    display: none !important;
  }
}

/* ===========================================
   Top Page - Hero Section
   =========================================== */
.p-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: var(--c-navy);
  color: var(--c-text-white);
  padding: var(--sp-3xl) var(--sp-md);
  overflow: hidden;
}

/* スライドショー背景 */
.p-hero__slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.p-hero__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.p-hero__slide.is-active {
  opacity: 1;
}

/* オーバーレイ */
.p-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(15, 35, 80, 0.85) 0%,
    rgba(15, 35, 80, 0.7) 50%,
    rgba(15, 35, 80, 0.85) 100%
  );
  z-index: 1;
}

/* 矢印ナビゲーション */
.p-hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: var(--c-text-white);
  cursor: pointer;
  transition: all var(--transition-base);
  backdrop-filter: blur(4px);
}

.p-hero__arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.p-hero__arrow--prev {
  left: var(--sp-md);
}

.p-hero__arrow--next {
  right: var(--sp-md);
}

@media (min-width: 1024px) {
  .p-hero__arrow--prev {
    left: var(--sp-xl);
  }
  .p-hero__arrow--next {
    right: var(--sp-xl);
  }
}

@media (max-width: 767px) {
  .p-hero__arrow {
    width: 40px;
    height: 40px;
  }
  .p-hero__arrow svg {
    width: 24px;
    height: 24px;
  }
}

/* ドットインジケーター */
.p-hero__dots {
  position: absolute;
  bottom: var(--sp-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: var(--sp-sm);
}

.p-hero__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  padding: 0;
}

.p-hero__dot:hover {
  border-color: var(--c-text-white);
  background: rgba(255, 255, 255, 0.3);
}

.p-hero__dot.is-active {
  border-color: var(--c-gold);
  background: var(--c-gold);
}

.p-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-xl);
  margin: 0 auto;
}

.p-hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
}

@media (min-width: 1024px) {
  .p-hero__content {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--sp-2xl);
  }
}

.p-hero__catch {
  margin: 0;
}

.p-hero__catch-vertical {
  display: block;
  writing-mode: vertical-rl;
  font-family: var(--ff-mincho);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.6;
  background: linear-gradient(180deg, var(--c-text-white) 0%, var(--c-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 1023px) {
  .p-hero__catch-vertical {
    writing-mode: horizontal-tb;
    text-align: center;
    margin: 0 auto var(--sp-lg);
  }
}

.p-hero__body {
  flex: 1;
}

.p-hero__lead {
  font-family: var(--ff-mincho);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.8;
  margin-bottom: var(--sp-md);
}

.p-hero__sub {
  font-size: var(--fs-md);
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: var(--sp-xl);
}

.p-hero__cta {
  margin-bottom: var(--sp-2xl);
}

.p-hero__cta .c-btn {
  box-shadow: 0 4px 20px rgba(197, 142, 0, 0.4);
}

.p-hero__cta .c-btn:hover {
  box-shadow: 0 6px 30px rgba(197, 142, 0, 0.5);
}

.p-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
}

@media (min-width: 1024px) {
  .p-hero__badges {
    position: absolute;
    right: var(--sp-xl);
    bottom: var(--sp-xl);
  }
}

.p-hero__badge {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: var(--sp-sm) var(--sp-md);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.p-hero__badge-icon {
  font-family: var(--ff-mincho);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--c-gold);
}

.p-hero__badge svg {
  width: 24px;
  height: 24px;
  color: var(--c-gold);
}

.p-hero__badge-text {
  font-size: var(--fs-sm);
  font-weight: 500;
}

/* ===========================================
   Top Page - Troubles Section
   =========================================== */
.p-troubles {
  padding: var(--sp-4xl) 0;
  background: var(--c-bg-white);
}

.p-troubles__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
  list-style: none;
  margin: 0 0 var(--sp-xl);
  padding: 0;
}

@media (min-width: 768px) {
  .p-troubles__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.p-troubles__item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-sm);
  padding: var(--sp-md);
  background: var(--c-bg-light);
  border-left: 4px solid var(--c-gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.p-troubles__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--c-gold);
}

.p-troubles__icon svg {
  width: 100%;
  height: 100%;
}

.p-troubles__text {
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--c-text-dark);
}

.p-troubles__solution {
  text-align: center;
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--c-navy);
}

.p-troubles__solution strong {
  color: var(--c-gold);
}

.p-troubles__arrow {
  display: block;
  font-size: var(--fs-3xl);
  color: var(--c-gold);
  margin-bottom: var(--sp-sm);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* ===========================================
   Top Page - Reasons Section
   =========================================== */
.p-reasons {
  padding: var(--sp-4xl) 0;
  background: var(--c-bg-light);
}

.p-reasons__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
}

@media (min-width: 768px) {
  .p-reasons__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.p-reasons .c-card {
  text-align: center;
}

.p-reasons .c-card__icon {
  margin: 0 auto var(--sp-md);
}

/* ===========================================
   Top Page - Services Section
   =========================================== */
.p-services {
  padding: var(--sp-4xl) 0;
  background: var(--c-bg-white);
}

.p-services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
}

@media (min-width: 640px) {
  .p-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .p-services__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.p-services__card {
  display: block;
  text-decoration: none;
}

.p-services__card .c-card__link {
  display: inline-block;
  margin-top: var(--sp-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-gold);
  transition: transform var(--transition-fast);
}

.p-services__card:hover .c-card__link {
  transform: translateX(4px);
}

/* ===========================================
   Top Page - Works Section
   =========================================== */
.p-works {
  padding: var(--sp-4xl) 0;
  background: var(--c-bg-light);
}

.p-works__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
  margin-bottom: var(--sp-xl);
}

@media (min-width: 768px) {
  .p-works__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.p-works__card {
  background: var(--c-bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

.p-works__image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.p-works__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-works__label {
  position: absolute;
  top: var(--sp-xs);
  left: var(--sp-xs);
  background: var(--c-navy);
  color: var(--c-text-white);
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.p-works__image--after .p-works__label {
  background: var(--c-gold);
}

.p-works__body {
  padding: var(--sp-md);
}

.p-works__title {
  font-family: var(--ff-gothic);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--c-text-dark);
  margin-bottom: var(--sp-xs);
}

.p-works__type {
  font-size: var(--fs-sm);
  color: var(--c-text-gray);
}

.p-works__more {
  text-align: center;
}

/* ===========================================
   Top Page - Voices Section
   =========================================== */
.p-voices {
  padding: var(--sp-4xl) 0;
  background: var(--c-bg-white);
}

.p-voices__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
}

@media (min-width: 768px) {
  .p-voices__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.p-voices__item {
  background: var(--c-bg-light);
  padding: var(--sp-lg);
  border-radius: var(--radius-md);
}

.p-voices__rating {
  margin-bottom: var(--sp-sm);
}

.p-voices__star {
  color: var(--c-gold);
  font-size: var(--fs-lg);
  letter-spacing: 2px;
}

.p-voices__quote {
  margin: 0 0 var(--sp-md);
}

.p-voices__quote p {
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--c-text-dark);
}

.p-voices__customer {
  font-size: var(--fs-sm);
  color: var(--c-text-gray);
  text-align: right;
}

/* ===========================================
   Top Page - News Section
   =========================================== */
.p-news {
  padding: var(--sp-4xl) 0;
  background: var(--c-bg-light);
}

.p-news__list {
  list-style: none;
  margin: 0 0 var(--sp-xl);
  padding: 0;
  background: var(--c-bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.p-news__item {
  border-bottom: 1px solid var(--c-border-light);
}

.p-news__item:last-child {
  border-bottom: none;
}

.p-news__link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-sm) var(--sp-md);
  padding: var(--sp-md);
  text-decoration: none;
  transition: background var(--transition-fast);
}

.p-news__link:hover {
  background: var(--c-bg-light);
}

.p-news__date {
  font-size: var(--fs-sm);
  color: var(--c-text-gray);
  white-space: nowrap;
}

.p-news__title {
  font-size: var(--fs-base);
  color: var(--c-text-dark);
}

.p-news__link:hover .p-news__title {
  color: var(--c-gold);
}

.p-news__more {
  text-align: center;
}

/* ===========================================
   Scroll Animation
   =========================================== */
.js-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================================
   Contact Page - Lead Section
   =========================================== */
.p-contact-lead {
  padding: var(--sp-2xl) 0;
  background: var(--c-bg-light);
}

.p-contact-lead__content {
  text-align: center;
}

.p-contact-lead__text {
  font-size: var(--fs-lg);
  line-height: var(--lh-base);
}

.p-contact-lead__text strong {
  font-size: var(--fs-xl);
  color: var(--c-navy);
}

/* ===========================================
   Contact Page - Phone Section
   =========================================== */
.p-contact-phone {
  padding: var(--sp-4xl) 0;
}

.p-contact-phone__content {
  text-align: center;
}

.p-contact-phone__lead {
  font-size: var(--fs-md);
  color: var(--c-text-gray);
  margin-bottom: var(--sp-md);
}

.p-contact-phone__number {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  font-family: var(--ff-mincho);
  font-size: var(--fs-4xl);
  font-weight: 700;
  color: var(--c-navy);
  text-decoration: none;
  margin-bottom: var(--sp-md);
  transition: color var(--transition-base);
}

.p-contact-phone__number:hover {
  color: var(--c-gold);
}

@media (max-width: 767px) {
  .p-contact-phone__number {
    font-size: var(--fs-2xl);
  }
}

.p-contact-phone__icon {
  width: 48px;
  height: 48px;
  color: var(--c-gold);
}

@media (max-width: 767px) {
  .p-contact-phone__icon {
    width: 32px;
    height: 32px;
  }
}

.p-contact-phone__hours {
  font-size: var(--fs-sm);
  color: var(--c-text-gray);
}

/* ===========================================
   Contact Page - Form Section
   =========================================== */
.p-contact-form {
  padding: var(--sp-4xl) 0;
  background: var(--c-bg-light);
}

.p-contact-form__wrapper {
  background: var(--c-bg-white);
  padding: var(--sp-xl);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 767px) {
  .p-contact-form__wrapper {
    padding: var(--sp-md);
  }
}

/* ===========================================
   Privacy Policy Page
   =========================================== */
.p-privacy-policy {
  padding: var(--sp-2xl) 0;
}

.p-privacy-policy__content {
  background: var(--c-bg);
  padding: var(--sp-xl);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 767px) {
  .p-privacy-policy__content {
    padding: var(--sp-lg);
  }
}

.p-privacy-policy__lead {
  font-size: var(--fs-md);
  line-height: 1.8;
  color: var(--c-text);
  margin-bottom: var(--sp-xl);
  padding-bottom: var(--sp-lg);
  border-bottom: 1px solid var(--c-border);
}

.p-privacy-policy__section {
  margin-bottom: var(--sp-xl);
}

.p-privacy-policy__section:last-of-type {
  margin-bottom: var(--sp-lg);
}

.p-privacy-policy__heading {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--c-navy);
  margin-bottom: var(--sp-md);
  padding-left: var(--sp-sm);
  border-left: 4px solid var(--c-gold);
}

.p-privacy-policy__section p {
  font-size: var(--fs-base);
  line-height: 1.8;
  color: var(--c-text);
  margin-bottom: var(--sp-sm);
}

.p-privacy-policy__list {
  margin: var(--sp-md) 0;
  padding-left: var(--sp-lg);
}

.p-privacy-policy__list li {
  font-size: var(--fs-base);
  line-height: 1.8;
  color: var(--c-text);
  margin-bottom: var(--sp-xs);
  position: relative;
}

.p-privacy-policy__list li::marker {
  color: var(--c-gold);
}

.p-privacy-policy__contact {
  background: var(--c-bg-light);
  padding: var(--sp-lg);
  border-radius: var(--radius-sm);
  margin-top: var(--sp-md);
}

.p-privacy-policy__contact p {
  margin-bottom: var(--sp-xs);
}

.p-privacy-policy__contact a {
  color: var(--c-navy);
  text-decoration: underline;
}

.p-privacy-policy__contact a:hover {
  color: var(--c-gold);
}

.p-privacy-policy__date {
  text-align: right;
  font-size: var(--fs-sm);
  color: var(--c-text-gray);
  margin-top: var(--sp-xl);
  padding-top: var(--sp-lg);
  border-top: 1px solid var(--c-border);
}

/* ===========================================
   Form Components
   =========================================== */
.c-form__group {
  margin-bottom: var(--sp-lg);
}

.c-form__group--half {
  max-width: 200px;
}

.c-form__label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-navy);
  margin-bottom: var(--sp-xs);
}

.c-form__label--required::after {
  content: "*";
  color: var(--c-error);
  margin-left: 4px;
}

.c-form__input,
.c-form__select,
.c-form__textarea {
  width: 100%;
  padding: var(--sp-sm) var(--sp-md);
  font-size: var(--fs-base);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  background: var(--c-bg-white);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.c-form__input:focus,
.c-form__select:focus,
.c-form__textarea:focus {
  outline: none;
  border-color: var(--c-gold);
  box-shadow: 0 0 0 3px rgba(197, 142, 0, 0.2);
}

.c-form__input::placeholder,
.c-form__textarea::placeholder {
  color: var(--c-text-light);
}

.c-form__textarea {
  min-height: 160px;
  resize: vertical;
}

.c-form__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--sp-md) center;
  padding-right: var(--sp-xl);
  cursor: pointer;
}

.c-form__group--checkbox {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.c-form__checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--c-gold);
}

.c-form__checkbox-label {
  font-size: var(--fs-sm);
  cursor: pointer;
}

.c-form__checkbox-label a {
  color: var(--c-gold);
  text-decoration: underline;
}

.c-form__checkbox-label a:hover {
  text-decoration: none;
}

.c-form__submit {
  margin-top: var(--sp-xl);
  text-align: center;
}

/* Contact Form 7 Styles */
.wpcf7 .c-form__input,
.wpcf7 .c-form__select,
.wpcf7 .c-form__textarea {
  width: 100%;
}

.wpcf7-not-valid-tip {
  color: var(--c-error);
  font-size: var(--fs-sm);
  margin-top: var(--sp-xs);
  display: block;
}

.wpcf7-response-output {
  padding: var(--sp-md);
  margin: var(--sp-lg) 0 0;
  border-radius: var(--radius-sm);
  text-align: center;
}

.wpcf7-mail-sent-ok,
.wpcf7 form.sent .wpcf7-response-output {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.wpcf7-validation-errors,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.wpcf7-spam-blocked {
  background: #fff3cd;
  border: 1px solid #ffeeba;
  color: #856404;
}

/* Contact Form 7 Spinner */
.wpcf7-spinner {
  margin-left: var(--sp-sm);
}

/* Thanks Message */
.p-contact-thanks {
  text-align: center;
  padding: var(--sp-4xl) 0;
}

.p-contact-thanks__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--sp-lg);
  color: var(--c-success);
}

.p-contact-thanks__icon svg {
  width: 100%;
  height: 100%;
}

.p-contact-thanks__title {
  font-family: var(--ff-mincho);
  font-size: var(--fs-2xl);
  color: var(--c-navy);
  margin-bottom: var(--sp-md);
}

.p-contact-thanks__text {
  font-size: var(--fs-base);
  line-height: var(--lh-loose);
  color: var(--c-text-gray);
  margin-bottom: var(--sp-xl);
}

/* ===========================================
   Page Header - Dark Variant
   =========================================== */
.p-page-header--dark {
  background: var(--c-navy);
  color: var(--c-text-white);
}

.p-page-header--dark .p-page-header__title {
  color: var(--c-text-white);
}

.p-page-header--dark .c-breadcrumb__item {
  color: rgba(255, 255, 255, 0.7);
}

.p-page-header--dark .c-breadcrumb__item a {
  color: rgba(255, 255, 255, 0.7);
}

.p-page-header--dark .c-breadcrumb__item a:hover {
  color: var(--c-gold);
}

.p-page-header--dark .c-breadcrumb__item:not(:last-child)::after {
  color: rgba(255, 255, 255, 0.5);
}

/* ===========================================
   About Page - Company Info Section
   =========================================== */
.p-about-info {
  padding: var(--sp-4xl) 0;
}

.p-about-info__table {
  background: var(--c-bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.p-about-info__row {
  display: grid;
  grid-template-columns: 160px 1fr;
  border-bottom: 1px solid var(--c-border-light);
}

@media (max-width: 767px) {
  .p-about-info__row {
    grid-template-columns: 1fr;
  }
}

.p-about-info__row:last-child {
  border-bottom: none;
}

.p-about-info__row dt {
  padding: var(--sp-md);
  background: var(--c-bg-light);
  font-weight: 600;
  color: var(--c-navy);
}

.p-about-info__row dd {
  padding: var(--sp-md);
  margin: 0;
}

.p-about-info__row dd a {
  color: var(--c-gold);
  text-decoration: none;
}

.p-about-info__row dd a:hover {
  text-decoration: underline;
}

/* ===========================================
   About Page - Greeting Section
   =========================================== */
.p-about-greeting {
  padding: var(--sp-4xl) 0;
  background: var(--c-bg-light);
}

.p-about-greeting__content {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--sp-xl);
  align-items: start;
}

@media (max-width: 767px) {
  .p-about-greeting__content {
    grid-template-columns: 1fr;
  }
}

.p-about-greeting__image {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.p-about-greeting__image img {
  width: 100%;
  height: auto;
}

.p-about-greeting__body p {
  font-size: var(--fs-base);
  line-height: var(--lh-loose);
  margin-bottom: var(--sp-md);
}

.p-about-greeting__signature {
  text-align: right;
  font-size: var(--fs-md);
  color: var(--c-navy);
  margin-top: var(--sp-lg);
}

.p-about-greeting__signature strong {
  font-family: var(--ff-mincho);
  font-size: var(--fs-xl);
}

/* ===========================================
   About Page - History Section
   =========================================== */
.p-about-history {
  padding: var(--sp-4xl) 0;
}

.p-about-history__timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.p-about-history__timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 80px;
  width: 2px;
  background: var(--c-gold);
}

@media (max-width: 767px) {
  .p-about-history__timeline::before {
    left: 60px;
  }
}

.p-about-history__item {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  padding: var(--sp-md) 0;
  position: relative;
}

.p-about-history__item::before {
  content: "";
  position: absolute;
  left: 74px;
  width: 14px;
  height: 14px;
  background: var(--c-bg-white);
  border: 3px solid var(--c-gold);
  border-radius: 50%;
  z-index: 1;
}

@media (max-width: 767px) {
  .p-about-history__item::before {
    left: 54px;
  }
}

.p-about-history__year {
  flex-shrink: 0;
  width: 60px;
  font-family: var(--ff-mincho);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--c-navy);
  text-align: right;
}

@media (max-width: 767px) {
  .p-about-history__year {
    width: 45px;
    font-size: var(--fs-base);
  }
}

.p-about-history__event {
  flex: 1;
  padding-left: var(--sp-lg);
  font-size: var(--fs-base);
  color: var(--c-text-dark);
}

/* ===========================================
   About Page - Qualifications Section
   =========================================== */
.p-about-qualifications {
  padding: var(--sp-4xl) 0;
  background: var(--c-bg-light);
}

.p-about-qualifications__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-lg);
  list-style: none;
  margin: 0;
  padding: 0;
}

.p-about-qualifications__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-sm);
  padding: var(--sp-lg);
  background: var(--c-bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  min-width: 180px;
}

.p-about-qualifications__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-navy);
  color: var(--c-gold);
  border-radius: 50%;
}

.p-about-qualifications__name {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-navy);
  text-align: center;
}

/* ===========================================
   About Page - Access Section
   =========================================== */
.p-about-access {
  padding: var(--sp-4xl) 0;
}

.p-about-access__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-xl);
}

@media (max-width: 767px) {
  .p-about-access__grid {
    grid-template-columns: 1fr;
  }
}

.p-about-access__item {
  background: var(--c-bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.p-about-access__name {
  padding: var(--sp-md);
  background: var(--c-navy);
  color: var(--c-text-white);
  font-family: var(--ff-mincho);
  font-size: var(--fs-lg);
  text-align: center;
}

.p-about-access__address {
  padding: var(--sp-md);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
}

.p-about-access__address a {
  color: var(--c-gold);
}

.p-about-access__map {
  aspect-ratio: 16 / 9;
}

.p-about-access__map iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* ===========================================
   Service Page - Service List Section
   =========================================== */
.p-service-list {
  padding: var(--sp-4xl) 0;
}

.p-service-list__item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2xl);
  align-items: center;
  padding: var(--sp-2xl);
  margin-bottom: var(--sp-2xl);
  background: var(--c-bg-white);
  border-top: 5px solid var(--c-navy);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.p-service-list__item:last-child {
  margin-bottom: 0;
}

.p-service-list__item--reverse {
  direction: rtl;
}

.p-service-list__item--reverse > * {
  direction: ltr;
}

@media (max-width: 767px) {
  .p-service-list__item,
  .p-service-list__item--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    padding: var(--sp-lg);
    gap: var(--sp-lg);
  }
}

.p-service-list__number {
  display: block;
  font-family: var(--ff-mincho);
  font-size: var(--fs-4xl);
  font-weight: 700;
  color: var(--c-gold);
  opacity: 0.5;
  margin-bottom: var(--sp-sm);
}

.p-service-list__title {
  font-family: var(--ff-mincho);
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--c-navy);
  margin-bottom: var(--sp-md);
  position: relative;
  display: inline-block;
}

.p-service-list__title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--c-gold);
}

.p-service-list__text {
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--c-text-gray);
  margin-bottom: var(--sp-md);
}

.p-service-list__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-xs);
  list-style: none;
  margin: 0;
  padding: 0;
}

.p-service-list__tag {
  padding: var(--sp-xs) var(--sp-sm);
  background: var(--c-bg-light);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  color: var(--c-navy);
}

.p-service-list__image {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.p-service-list__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===========================================
   Service Page - Flow Section
   =========================================== */
.p-service-flow {
  padding: var(--sp-4xl) 0;
  background: var(--c-bg-light);
}

.p-service-flow__list {
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

/* 接続線 */
.p-service-flow__list::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: var(--c-gold);
}

@media (max-width: 1023px) {
  .p-service-flow__list {
    flex-direction: column;
    gap: var(--sp-lg);
  }

  .p-service-flow__list::before {
    top: 0;
    bottom: 0;
    left: 28px;
    right: auto;
    width: 2px;
    height: auto;
  }
}

.p-service-flow__item {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 1023px) {
  .p-service-flow__item {
    display: grid;
    grid-template-columns: 60px 1fr;
    grid-template-rows: auto auto;
    gap: 0 var(--sp-md);
    text-align: left;
  }
}

.p-service-flow__number {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--sp-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-navy);
  color: var(--c-text-white);
  font-family: var(--ff-mincho);
  font-size: var(--fs-xl);
  font-weight: 700;
  border-radius: 50%;
}

@media (max-width: 1023px) {
  .p-service-flow__number {
    grid-row: 1 / 3;
    margin: 0;
  }
}

.p-service-flow__title {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--c-navy);
  margin-bottom: var(--sp-xs);
}

.p-service-flow__text {
  font-size: var(--fs-sm);
  color: var(--c-text-gray);
  line-height: 1.6;
}

/* ===========================================
   Service/Pricing Page - FAQ Section
   =========================================== */
.p-service-faq,
.p-pricing-faq {
  padding: var(--sp-4xl) 0;
}

/* ===========================================
   Accordion Component
   =========================================== */
.c-accordion__item {
  border-bottom: 1px solid var(--c-border-light);
}

.c-accordion__header {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  width: 100%;
  padding: var(--sp-md) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.c-accordion__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-navy);
  color: var(--c-text-white);
  font-weight: 700;
  border-radius: 50%;
  font-size: var(--fs-sm);
}

.c-accordion__icon--answer {
  background: var(--c-gold);
}

.c-accordion__question {
  flex: 1;
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--c-text-dark);
}

.c-accordion__toggle {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
}

.c-accordion__toggle::before,
.c-accordion__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--c-navy);
  transition: var(--transition-base);
}

.c-accordion__toggle::before {
  width: 16px;
  height: 2px;
}

.c-accordion__toggle::after {
  width: 2px;
  height: 16px;
}

.c-accordion__header[aria-expanded="true"] .c-accordion__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.c-accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.c-accordion__item.is-open .c-accordion__body {
  max-height: 500px;
}

.c-accordion__answer {
  display: flex;
  gap: var(--sp-md);
  padding: 0 0 var(--sp-md) calc(32px + var(--sp-md));
}

.c-accordion__answer p {
  flex: 1;
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--c-text-gray);
  margin: 0;
}

/* ===========================================
   Pricing Page - Policy Section
   =========================================== */
.p-pricing-policy {
  padding: var(--sp-4xl) 0;
}

.p-pricing-policy__message {
  background: var(--c-bg-light);
  padding: var(--sp-xl);
  border-radius: var(--radius-md);
  text-align: center;
  margin-bottom: var(--sp-xl);
}

.p-pricing-policy__message p {
  font-size: var(--fs-md);
  line-height: var(--lh-base);
  margin-bottom: var(--sp-sm);
}

.p-pricing-policy__message p:last-child {
  margin-bottom: 0;
}

.p-pricing-policy__message strong {
  color: var(--c-gold);
}

.p-pricing-policy__points {
  display: flex;
  justify-content: center;
  gap: var(--sp-xl);
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 767px) {
  .p-pricing-policy__points {
    flex-direction: column;
    align-items: center;
    gap: var(--sp-md);
  }
}

.p-pricing-policy__point {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-sm);
}

.p-pricing-policy__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-navy);
  color: var(--c-text-white);
  border-radius: 50%;
}

.p-pricing-policy__icon svg {
  width: 32px;
  height: 32px;
}

.p-pricing-policy__label {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--c-navy);
}

/* ===========================================
   Pricing Page - Price Table Section
   =========================================== */
.p-pricing-table {
  padding: var(--sp-4xl) 0;
  background: var(--c-bg-light);
}

.p-pricing-table__wrapper {
  overflow-x: auto;
  margin-bottom: var(--sp-lg);
}

.p-pricing-table__table {
  width: 100%;
  border-collapse: collapse;
  background: var(--c-bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.p-pricing-table__table th,
.p-pricing-table__table td {
  padding: var(--sp-md) var(--sp-lg);
  text-align: left;
  border-bottom: 1px solid var(--c-border-light);
}

.p-pricing-table__table th {
  background: var(--c-navy);
  color: var(--c-text-white);
  font-weight: 600;
}

.p-pricing-table__table tbody tr:last-child td {
  border-bottom: none;
}

.p-pricing-table__table tbody tr:hover {
  background: var(--c-bg-light);
}

.p-pricing-table__price {
  font-family: var(--ff-mincho);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--c-gold);
}

.p-pricing-table__note {
  text-align: center;
  margin-bottom: var(--sp-xl);
}

.p-pricing-table__note p {
  font-size: var(--fs-sm);
  color: var(--c-text-gray);
  margin-bottom: var(--sp-xs);
}

.p-pricing-table__cta {
  text-align: center;
}

/* ===========================================
   Works Page - Work List Section
   =========================================== */
.p-work-list {
  padding: var(--sp-4xl) 0;
}

.p-work-list__grid {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2xl);
}

/* 施工事例カード */
.p-work-card {
  background: var(--c-bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.p-work-card__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 767px) {
  .p-work-card__images {
    grid-template-columns: 1fr;
  }
}

.p-work-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.p-work-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.p-work-card:hover .p-work-card__image img {
  transform: scale(1.05);
}

.p-work-card__label {
  position: absolute;
  top: var(--sp-sm);
  left: var(--sp-sm);
  padding: var(--sp-xs) var(--sp-sm);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
}

.p-work-card__image--before .p-work-card__label {
  background: var(--c-text-gray);
  color: var(--c-text-white);
}

.p-work-card__image--after .p-work-card__label {
  background: var(--c-gold);
  color: var(--c-text-white);
}

.p-work-card__body {
  padding: var(--sp-lg);
}

.p-work-card__title {
  font-family: var(--ff-mincho);
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--c-navy);
  margin-bottom: var(--sp-md);
  position: relative;
  display: inline-block;
}

.p-work-card__title::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--c-gold);
}

.p-work-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-lg);
  margin-bottom: var(--sp-md);
}

.p-work-card__meta-item {
  display: flex;
  gap: var(--sp-xs);
}

.p-work-card__meta-item dt {
  font-size: var(--fs-sm);
  color: var(--c-text-gray);
}

.p-work-card__meta-item dd {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-text-dark);
  margin: 0;
}

.p-work-card__voice {
  margin: 0;
  padding: var(--sp-md);
  background: var(--c-bg-light);
  border-left: 3px solid var(--c-gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.p-work-card__voice p {
  font-size: var(--fs-sm);
  line-height: var(--lh-base);
  color: var(--c-text-gray);
  font-style: italic;
  margin: 0;
}

/* ===========================================
   Info Page - Info List Section
   =========================================== */
.p-info-list {
  padding: var(--sp-4xl) 0;
}

.p-info-list__grid {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  margin-bottom: var(--sp-2xl);
}

.p-info-list__empty {
  text-align: center;
  color: var(--c-text-gray);
  padding: var(--sp-4xl) 0;
}

/* 記事カード */
.p-info-card {
  background: var(--c-bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}

.p-info-card:hover {
  box-shadow: var(--shadow-md);
}

.p-info-card__link {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--sp-md);
  text-decoration: none;
  color: inherit;
}

@media (max-width: 767px) {
  .p-info-card__link {
    grid-template-columns: 1fr;
  }
}

.p-info-card__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.p-info-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-info-card__image--noimage {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-bg-light);
  color: var(--c-text-light);
  font-size: var(--fs-sm);
}

.p-info-card__body {
  padding: var(--sp-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.p-info-card__date {
  font-size: var(--fs-sm);
  color: var(--c-text-gray);
  margin-bottom: var(--sp-xs);
}

.p-info-card__title {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--c-navy);
  margin-bottom: var(--sp-xs);
  line-height: 1.5;
}

.p-info-card:hover .p-info-card__title {
  color: var(--c-gold);
}

.p-info-card__excerpt {
  font-size: var(--fs-sm);
  color: var(--c-text-gray);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

/* ページネーション */
.navigation.pagination {
  text-align: center;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: var(--sp-xs);
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--sp-sm);
  background: var(--c-bg-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  color: var(--c-text-dark);
  text-decoration: none;
  transition: var(--transition-base);
}

.page-numbers:hover {
  background: var(--c-navy);
  border-color: var(--c-navy);
  color: var(--c-text-white);
}

.page-numbers.current {
  background: var(--c-navy);
  border-color: var(--c-navy);
  color: var(--c-text-white);
}

/* ===========================================
   Single Post Page
   =========================================== */
/* 記事ヘッダー */
.p-post__header {
  background: var(--c-navy);
  color: var(--c-text-white);
  padding: var(--sp-3xl) 0 var(--sp-2xl);
  text-align: center;
}

.p-post__header .c-breadcrumb__item {
  color: rgba(255, 255, 255, 0.7);
}

.p-post__header .c-breadcrumb__item a {
  color: rgba(255, 255, 255, 0.7);
}

.p-post__header .c-breadcrumb__item a:hover {
  color: var(--c-gold);
}

.p-post__header .c-breadcrumb__item:not(:last-child)::after {
  color: rgba(255, 255, 255, 0.5);
}

.p-post__date {
  display: block;
  font-size: var(--fs-sm);
  opacity: 0.8;
  margin-bottom: var(--sp-sm);
}

.p-post__title {
  font-family: var(--ff-mincho);
  font-size: var(--fs-3xl);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: var(--sp-md);
  color: var(--c-text-white);
}

@media (max-width: 767px) {
  .p-post__title {
    font-size: var(--fs-2xl);
  }
}

/* 本文 */
.p-post__content {
  padding: var(--sp-4xl) 0;
}

.p-post__thumbnail {
  margin: 0 0 var(--sp-xl);
}

.p-post__thumbnail img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.p-post__body {
  font-size: var(--fs-md);
  line-height: var(--lh-base);
}

.p-post__body h2 {
  font-family: var(--ff-mincho);
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--c-navy);
  margin: var(--sp-2xl) 0 var(--sp-md);
  padding-bottom: var(--sp-sm);
  border-bottom: 2px solid var(--c-gold);
}

.p-post__body h3 {
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--c-navy);
  margin: var(--sp-xl) 0 var(--sp-sm);
}

.p-post__body p {
  margin-bottom: var(--sp-md);
}

.p-post__body ul,
.p-post__body ol {
  margin: var(--sp-md) 0;
  padding-left: var(--sp-lg);
}

.p-post__body ul {
  list-style: disc;
}

.p-post__body ol {
  list-style: decimal;
}

.p-post__body li {
  margin-bottom: var(--sp-xs);
}

.p-post__body a {
  color: var(--c-gold);
  text-decoration: underline;
}

.p-post__body a:hover {
  text-decoration: none;
}

.p-post__body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

/* 前後の記事 */
.p-post__nav {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-md);
  margin-top: var(--sp-2xl);
  padding-top: var(--sp-xl);
  border-top: 1px solid var(--c-border-light);
}

.p-post__nav-item {
  max-width: 45%;
}

.p-post__nav-item a {
  color: var(--c-navy);
  text-decoration: none;
  font-size: var(--fs-sm);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.p-post__nav-item a:hover {
  color: var(--c-gold);
}

/* 関連記事 */
.p-post__related {
  padding: var(--sp-4xl) 0;
  background: var(--c-bg-light);
}

.p-post__related-title {
  font-family: var(--ff-mincho);
  font-size: var(--fs-2xl);
  text-align: center;
  margin-bottom: var(--sp-xl);
  color: var(--c-navy);
}

.p-post__related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}

@media (max-width: 767px) {
  .p-post__related-grid {
    grid-template-columns: 1fr;
  }
}

.p-post__related-card {
  display: block;
  background: var(--c-bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow var(--transition-base);
}

.p-post__related-card:hover {
  box-shadow: var(--shadow-md);
}

.p-post__related-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.p-post__related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-post__related-image--noimage {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-bg-gray);
  color: var(--c-text-light);
  font-size: var(--fs-sm);
}

.p-post__related-body {
  padding: var(--sp-md);
}

.p-post__related-date {
  font-size: var(--fs-xs);
  color: var(--c-text-gray);
}

.p-post__related-card-title {
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--c-navy);
  margin-top: var(--sp-xs);
  line-height: 1.5;
}

.p-post__related-card:hover .p-post__related-card-title {
  color: var(--c-gold);
}

/* ===========================================
   Responsive - Tablet (768px - 1023px)
   =========================================== */
@media (min-width: 768px) and (max-width: 1023px) {
  /* Header - Tablet adjustments */
  .l-header__inner {
    padding: var(--sp-sm) var(--sp-lg);
  }

  /* Hero - Tablet adjustments */
  .p-hero {
    min-height: 80vh;
    padding: var(--sp-2xl) var(--sp-lg);
  }

  .p-hero__catch-vertical {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
  }

  .p-hero__badges {
    justify-content: center;
    margin-top: var(--sp-lg);
  }

  /* Sections - Tablet grid adjustments */
  .p-reasons__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-md);
  }

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

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

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

  /* Service page - Tablet */
  .p-service-list__item {
    gap: var(--sp-lg);
    padding: var(--sp-lg);
  }
}

/* ===========================================
   Responsive - Mobile (max-width: 767px)
   =========================================== */
@media (max-width: 767px) {
  /* Global spacing adjustments */
  .u-py-4xl {
    padding-top: var(--sp-2xl);
    padding-bottom: var(--sp-2xl);
  }

  .u-py-3xl {
    padding-top: var(--sp-xl);
    padding-bottom: var(--sp-xl);
  }

  /* Container padding */
  .l-container {
    padding: 0 var(--sp-sm);
  }

  /* Header - Mobile */
  .l-header__inner {
    padding: var(--sp-xs) var(--sp-sm);
  }

  .l-header__logo img {
    height: 32px;
  }

  /* Hero - Mobile improvements */
  .p-hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding: var(--sp-xl) var(--sp-sm);
    padding-top: calc(var(--sp-xl) + 60px);
  }

  .p-hero__lead {
    font-size: var(--fs-lg);
    text-align: center;
  }

  .p-hero__sub {
    font-size: var(--fs-base);
    text-align: center;
  }

  .p-hero__cta {
    text-align: center;
  }

  .p-hero__cta .c-btn {
    width: 100%;
    max-width: 300px;
  }

  .p-hero__badges {
    justify-content: center;
  }

  .p-hero__badge {
    padding: var(--sp-xs) var(--sp-sm);
    font-size: var(--fs-xs);
  }

  /* Troubles section - Mobile */
  .p-troubles {
    padding: var(--sp-2xl) 0;
  }

  .p-troubles__item {
    padding: var(--sp-sm);
  }

  /* Reasons section - Mobile */
  .p-reasons {
    padding: var(--sp-2xl) 0;
  }

  .p-reasons .c-card--bordered {
    padding: var(--sp-md);
  }

  /* Services section - Mobile */
  .p-services {
    padding: var(--sp-2xl) 0;
  }

  /* Works section - Mobile */
  .p-works {
    padding: var(--sp-2xl) 0;
  }

  /* Voices section - Mobile */
  .p-voices {
    padding: var(--sp-2xl) 0;
  }

  .p-voices__item {
    padding: var(--sp-md);
  }

  /* News section - Mobile */
  .p-news {
    padding: var(--sp-2xl) 0;
  }

  /* Footer - Mobile */
  .l-footer__inner {
    padding: var(--sp-xl) var(--sp-sm);
  }

  .l-footer__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
    text-align: center;
  }

  .l-footer__company {
    padding-bottom: var(--sp-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .l-footer__logo {
    margin: 0 auto var(--sp-md);
  }

  .l-footer__nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--sp-sm);
  }

  .l-footer__nav li {
    margin-bottom: 0;
  }

  .l-footer__tel {
    font-size: var(--fs-xl);
  }

  /* CTA section - Mobile */
  .c-cta {
    padding: var(--sp-2xl) 0;
  }

  .c-cta__title {
    font-size: var(--fs-xl);
  }

  .c-cta__text {
    font-size: var(--fs-base);
  }

  /* Work page - Mobile */
  .p-work-list {
    padding: var(--sp-2xl) 0;
  }

  .p-work-card__body {
    padding: var(--sp-md);
  }

  .p-work-card__title {
    font-size: var(--fs-lg);
  }

  .p-work-card__meta {
    flex-direction: column;
    gap: var(--sp-xs);
  }

  /* Info page - Mobile */
  .p-info-list {
    padding: var(--sp-2xl) 0;
  }

  /* Single post - Mobile */
  .p-post__header {
    padding: var(--sp-xl) 0;
  }

  .p-post__content {
    padding: var(--sp-xl) 0;
  }

  .p-post__body {
    font-size: var(--fs-base);
  }

  .p-post__body h2 {
    font-size: var(--fs-xl);
    margin: var(--sp-xl) 0 var(--sp-sm);
  }

  .p-post__body h3 {
    font-size: var(--fs-lg);
    margin: var(--sp-lg) 0 var(--sp-xs);
  }

  .p-post__nav {
    flex-direction: column;
    gap: var(--sp-sm);
  }

  .p-post__nav-item {
    max-width: 100%;
  }

  .p-post__related {
    padding: var(--sp-2xl) 0;
  }

  .p-post__related-title {
    font-size: var(--fs-xl);
  }

  /* About page - Mobile */
  .p-about-info,
  .p-about-greeting,
  .p-about-history,
  .p-about-qualifications,
  .p-about-access {
    padding: var(--sp-2xl) 0;
  }

  .p-about-qualifications__list {
    gap: var(--sp-md);
  }

  .p-about-qualifications__item {
    min-width: 140px;
    padding: var(--sp-md);
  }

  .p-about-qualifications__icon {
    width: 48px;
    height: 48px;
  }

  /* Service page - Mobile */
  .p-service-list,
  .p-service-flow,
  .p-service-faq {
    padding: var(--sp-2xl) 0;
  }

  .p-service-list__number {
    font-size: var(--fs-2xl);
  }

  .p-service-list__title {
    font-size: var(--fs-xl);
  }

  /* Pricing page - Mobile */
  .p-pricing-policy,
  .p-pricing-table,
  .p-pricing-faq {
    padding: var(--sp-2xl) 0;
  }

  .p-pricing-policy__message {
    padding: var(--sp-md);
  }

  .p-pricing-table__table th,
  .p-pricing-table__table td {
    padding: var(--sp-sm);
    font-size: var(--fs-sm);
  }

  /* Contact page - Mobile */
  .p-contact-lead,
  .p-contact-phone,
  .p-contact-form {
    padding: var(--sp-2xl) 0;
  }

  .p-contact-lead__text {
    font-size: var(--fs-base);
  }

  .p-contact-lead__text strong {
    font-size: var(--fs-lg);
  }
}

/* ===========================================
   Responsive - Small Mobile (max-width: 374px)
   =========================================== */
@media (max-width: 374px) {
  :root {
    --fs-base: 0.875rem;
    --fs-md: 1rem;
    --fs-lg: 1.125rem;
    --fs-xl: 1.25rem;
    --fs-2xl: 1.5rem;
    --fs-3xl: 1.75rem;
  }

  .p-hero__badge {
    padding: var(--sp-xs);
    font-size: 10px;
  }

  .c-btn {
    padding: var(--sp-xs) var(--sp-sm);
    font-size: var(--fs-sm);
  }

  .c-btn--lg {
    padding: var(--sp-sm) var(--sp-md);
    font-size: var(--fs-base);
  }
}

/* ===========================================
   Landscape Mode Adjustments
   =========================================== */
@media (max-height: 500px) and (orientation: landscape) {
  .p-hero {
    min-height: auto;
    padding: var(--sp-xl) var(--sp-md);
  }

  .p-hero__catch-vertical {
    writing-mode: horizontal-tb;
    font-size: var(--fs-2xl);
  }
}

/* ===========================================
   Print Styles
   =========================================== */
@media print {
  .l-header,
  .l-footer,
  .c-fixed-cta,
  .c-cta,
  .p-hero__arrow,
  .p-hero__dots {
    display: none !important;
  }

  body {
    padding-bottom: 0 !important;
  }

  .p-hero {
    min-height: auto;
    background: none;
    color: var(--c-text-dark);
    padding: var(--sp-md) 0;
  }

  .p-hero__overlay {
    display: none;
  }

  .p-hero__catch-vertical {
    background: none;
    -webkit-text-fill-color: var(--c-navy);
    color: var(--c-navy);
  }

  a {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: var(--fs-xs);
    color: var(--c-text-gray);
  }
}

/* ===========================================
   Contact Form 7 Styling
   =========================================== */
.wpcf7 {
  max-width: 100%;
}

.wpcf7-form .c-form__group {
  margin-bottom: var(--sp-md);
}

.wpcf7-form .c-form__label {
  display: block;
  font-weight: 600;
  color: var(--c-text-dark);
  margin-bottom: var(--sp-xs);
}

.wpcf7-form .c-form__label--required::after {
  content: "必須";
  display: inline-block;
  margin-left: var(--sp-xs);
  padding: 2px 8px;
  background: var(--c-error);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 500;
  border-radius: var(--radius-xs);
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  padding: var(--sp-sm);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-size: var(--fs-base);
  font-family: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--c-navy);
  box-shadow: 0 0 0 3px rgba(15, 35, 80, 0.1);
}

.wpcf7-form textarea {
  min-height: 150px;
  resize: vertical;
}

.wpcf7-form .c-form__group--half {
  max-width: 200px;
}

.wpcf7-form .c-form__group--checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-xs);
}

.wpcf7-form .c-form__group--checkbox .wpcf7-acceptance {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
}

.wpcf7-form .c-form__group--checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--c-navy);
}

.wpcf7-form .c-form__group--checkbox a {
  color: var(--c-navy);
  text-decoration: underline;
}

.wpcf7-form .c-form__submit {
  margin-top: var(--sp-lg);
  text-align: center;
}

.wpcf7-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-xs);
  padding: var(--sp-sm) var(--sp-2xl);
  background: var(--c-gold);
  color: #fff;
  font-size: var(--fs-md);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition);
}

.wpcf7-form input[type="submit"]:hover {
  background: var(--c-gold-dark);
  transform: translateY(-2px);
}

.wpcf7-form input[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* CF7 Validation Messages */
.wpcf7-not-valid-tip {
  color: var(--c-error);
  font-size: var(--fs-sm);
  margin-top: var(--sp-xs);
  font-weight: 500;
}

.wpcf7-response-output {
  margin-top: var(--sp-lg);
  padding: var(--sp-md);
  border-radius: var(--radius-sm);
  text-align: center;
}

.wpcf7-form.sent .wpcf7-response-output {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.aborted .wpcf7-response-output {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output {
  background: #fff3cd;
  border: 1px solid #ffeeba;
  color: #856404;
}

/* CF7 Spinner */
.wpcf7-spinner {
  display: inline-block;
  margin-left: var(--sp-sm);
}

/* ===========================================
   Skip Link (Accessibility)
   =========================================== */
.c-skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-navy);
  color: #fff;
  padding: var(--sp-sm) var(--sp-md);
  border-radius: var(--radius-sm);
  text-decoration: none;
  z-index: 9999;
  transition: top 0.3s;
}

.c-skip-link:focus {
  top: var(--sp-sm);
  outline: 2px solid var(--c-gold);
  outline-offset: 2px;
}

/* ===========================================
   404 Page
   =========================================== */
.p-404 {
  padding: var(--sp-4xl) 0;
  text-align: center;
}

.p-404__content {
  max-width: 600px;
  margin: 0 auto;
}

.p-404__code {
  font-family: var(--ff-mincho);
  font-size: clamp(6rem, 20vw, 10rem);
  font-weight: 700;
  color: var(--c-navy);
  line-height: 1;
  margin-bottom: var(--sp-md);
  opacity: 0.1;
}

.p-404__message {
  font-size: var(--fs-lg);
  color: var(--c-text-gray);
  margin-bottom: var(--sp-xl);
  line-height: 1.8;
}

.p-404__actions {
  display: flex;
  justify-content: center;
  gap: var(--sp-md);
  flex-wrap: wrap;
  margin-bottom: var(--sp-2xl);
}

.p-404__actions .c-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
}

.p-404__links {
  padding-top: var(--sp-xl);
  border-top: 1px solid var(--c-border);
}

.p-404__links-title {
  font-size: var(--fs-sm);
  color: var(--c-text-gray);
  margin-bottom: var(--sp-md);
}

.p-404__links-list {
  display: flex;
  justify-content: center;
  gap: var(--sp-md);
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.p-404__links-list a {
  color: var(--c-navy);
  text-decoration: none;
  transition: color var(--transition);
}

.p-404__links-list a:hover {
  color: var(--c-gold);
}

/* ===========================================
   Page Top Button
   =========================================== */
.c-page-top {
  position: fixed;
  right: var(--sp-md);
  bottom: 100px;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.c-page-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.c-page-top__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--c-navy);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: background-color var(--transition), transform var(--transition);
}

.c-page-top__btn:hover {
  background: var(--c-navy-light);
  transform: translateY(-2px);
}

.c-page-top__btn svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 1023px) {
  .c-page-top {
    bottom: 80px;
    right: var(--sp-sm);
  }
}

@media (max-width: 767px) {
  .p-404__code {
    font-size: 5rem;
  }

  .p-404__message {
    font-size: var(--fs-base);
  }

  .p-404__actions {
    flex-direction: column;
    align-items: center;
  }

  .p-404__links-list {
    flex-direction: column;
    gap: var(--sp-sm);
  }
}
