/* ============================================
   ベース設定
   1rem = 10px（font-size: 62.5%）
   ============================================ */
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

/* ============================================
   CSS変数
   ============================================ */
:root {
  /* カラー */
  --color-bg: #ffffff;
  --color-bg-dark: #0b2446;
  --color-bg-gray: #202020;
  --color-bg-card: #171717;
  --color-teal: #003640;
  --color-teal-light: #35acc1;
  --color-teal-lighter: #d8e1e2;
  --color-navy: #02283d;
  --color-text: #333333;
  --color-text-white: #ffffff;
  --color-gold-start: #bca251;
  --color-gold-mid: #c6b275;
  --color-gold-end: #bca251;
  --color-overlay: color-mix(in srgb, #051B23 60%, transparent);
  --color-line: #06c755;
  --color-text-light: #f5f5f5;
  --color-footer-bg: #333333;
  --color-footer-border: #555555;
  --color-footer-muted: #888888;

  /* フォント */
  --font-primary: "M PLUS 1p", sans-serif;
  --font-mincho: "Zen Old Mincho", serif;

  /* z-index */
  --z-header: 1000;
  --z-menu-overlay: 999;
  --z-header-hamburger: 1000;
  --z-hero-content: 10;
  --z-hero-overlay: 5;
  --z-hero-bg: 1;
  --z-layer-front: 2;
  --z-layer-behind: -1;
  --z-opening: 2000;
}

/* ============================================
   オープニングアニメーション
   ============================================ */
.opening {
  position: fixed;
  inset: 0;
  z-index: var(--z-opening);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: var(--color-bg-gray);
}

.opening__crest {
  width: 120px;
  height: 120px;
  background: linear-gradient(
    to right,
    var(--color-gold-start) 10%,
    var(--color-gold-mid) 72%,
    var(--color-gold-end) 96%
  );
  -webkit-mask-image: url("../img/crest.webp");
  mask-image: url("../img/crest.webp");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  filter: grayscale(1);
  opacity: 0;
}

.opening__company {
  font-family: var(--font-mincho);
  font-size: 1.8rem;
  font-weight: 400;
  background: linear-gradient(
    to right,
    var(--color-gold-start) 10%,
    var(--color-gold-mid) 72%,
    var(--color-gold-end) 96%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: grayscale(1);
  opacity: 0;
}

.opening.is-hidden {
  pointer-events: none;
}

body {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  font-weight: 300;
}

/* ============================================
   スティッキーヘッダー
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-header);
  background: transparent;
  transform: none;
  opacity: 1;
  pointer-events: auto;
  transition: background-color 0.4s ease;
}

@media (min-width: 1080px) {
  .site-header {
    background: rgba(67, 67, 67, 0.83);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.4s ease;
  }
}

.site-header.is-visible {
  background: rgba(67, 67, 67, 0.83);
}

@media (min-width: 1080px) {
  .site-header.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}

.site-header.is-open {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
}

@media (min-width: 1080px) {
  .site-header__inner {
    padding: 24px 32px;
  }
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-white);
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  transition: opacity 0.5s ease;
}

@media (any-hover: hover) {
  .site-header__logo:hover {
    opacity: 0.7;
  }
}

.site-header__logo:focus-visible {
  opacity: 0.7;
}

.site-header__logo img {
  height: 20px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.site-header__logo span {
  font-size: 1.4rem;
}

@media (min-width: 768px) {
  .site-header__logo span {
    font-size: 1.8rem;
  }
}

.site-header__right {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  background: #003640;
  z-index: var(--z-layer-behind);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

@media (min-width: 1080px) {
  .site-header__right {
    position: static;
    inset: auto;
    flex-direction: row;
    justify-content: normal;
    background: transparent;
    z-index: auto;
    opacity: 1;
    pointer-events: auto;
    transition: none;
  }
}

.site-header.is-open .site-header__right {
  opacity: 1;
  pointer-events: auto;
  z-index: var(--z-menu-overlay);
}

.site-header__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

@media (min-width: 1080px) {
  .site-header__nav {
    flex-direction: row;
    gap: 24px;
  }
}

.site-header__nav a {
  position: relative;
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--color-text-white);
  line-height: 1;
  white-space: nowrap;
}

.site-header__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background-color: var(--color-text-white);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s ease;
}

@media (any-hover: hover) {
  .site-header__nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }
}

.site-header__nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header__contact-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

@media (min-width: 1080px) {
  .site-header__contact-list {
    flex-direction: row;
    gap: 16px;
  }
}

.site-header__contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-white);
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: color 0.5s ease;
}

@media (any-hover: hover) {
  .site-header__contact-link:hover {
    color: var(--color-teal-light);
  }
}

.site-header__contact-link:focus-visible {
  color: var(--color-teal-light);
}

.site-header__contact-icon {
  height: 30px;
  width: auto;
  flex-shrink: 0;
  fill: currentColor;
}

@media (min-width: 1080px) {
  .site-header__contact-link--icon .site-header__contact-label {
    display: none;
  }
}

.site-header__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: var(--z-header-hamburger);
}

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

.site-header__hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--color-text-white);
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.site-header.is-open .site-header__hamburger span:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}

.site-header.is-open .site-header__hamburger span:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ============================================
   ユーティリティクラス
   ============================================ */
.u-sp-only {
  display: block;
}

@media (min-width: 768px) {
  .u-sp-only {
    display: none;
  }
}

.u-pc-only {
  display: none;
}

@media (min-width: 768px) {
  .u-pc-only {
    display: block;
  }
}

/* ============================================
   共通: ゴールドグラデーションテキスト
   ============================================ */
.text-gold {
  background: linear-gradient(
    to right,
    var(--color-gold-start) 10%,
    var(--color-gold-mid) 84%,
    var(--color-gold-end) 96%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* 共通: 区切り線（ゴールドグラデーション） */
.separator {
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    var(--color-gold-start) 10%,
    var(--color-gold-mid) 84%,
    var(--color-gold-end) 96%
  );
}

.separator_white {
  background: var(--color-footer-muted);
}

/* ============================================
   共通: セクションヘッダー
   ============================================ */
.section-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  width: fit-content;
}

.section-header--center {
  align-items: center;
}

.section-header__title {
  font-family: var(--font-mincho);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--color-text-white);
  line-height: 1;
}

@media (min-width: 768px) {
  .section-header__title {
    font-size: 3.0rem;
  }
}

.section-header__sub {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-text-white);
  line-height: 1;
}

/* ============================================
   共通: 詳しく見るリンク
   ============================================ */
.more-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  padding: 8px 12px;
  font-family: var(--font-mincho);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  isolation: isolate;
  transition: -webkit-text-fill-color 0.4s ease, color 0.4s ease;
}

.more-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--color-gold-start) 10%,
    var(--color-gold-mid) 84%,
    var(--color-gold-end) 96%
  );
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease;
  z-index: -1;
}

@media (min-width: 768px) {
  .more-link {
    font-size: 1.8rem;
  }
}

.more-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    var(--color-gold-start) 10%,
    var(--color-gold-mid) 84%,
    var(--color-gold-end) 96%
  );
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.more-link__arrow {
  width: 15px;
  height: 8px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 4px;
  transition: transform 0.4s ease;
}

.more-link__arrow img {
  width: 100%;
  height: 100%;
  transition: filter 0.4s ease;
}

@media (any-hover: hover) {
  .more-link:hover::before {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  .more-link:hover {
    -webkit-text-fill-color: var(--color-text-white);
    color: var(--color-text-white);
  }

  .more-link:hover .more-link__arrow img {
    filter: brightness(0) invert(1);
  }
}

.more-link:focus-visible::before {
  transform: scaleY(1);
  transform-origin: top;
}

.more-link:focus-visible::after {
  transform: scaleX(0);
  transform-origin: right;
}

.more-link:focus-visible {
  -webkit-text-fill-color: var(--color-text-white);
  color: var(--color-text-white);
}

.more-link:focus-visible .more-link__arrow img {
  filter: brightness(0) invert(1);
}

/* ============================================
   ヒーローセクション
   ============================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 500px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    height: 100vh;
    min-height: 600px;
  }
}

/* ----- 背景画像 ----- */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: var(--z-hero-bg);
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .hero__bg {
    flex-direction: row;
  }
}

.hero__bg-image {
  position: relative;
  width: 100%;
  height: 50%;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero__bg-image {
    width: 50%;
    height: 100%;
  }
}

.hero__bg-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center center;
}

/* 左: 上→下→上 */
.hero__bg-image--left img:nth-child(1) { transform-origin: center top; }
.hero__bg-image--left img:nth-child(2) { transform-origin: center bottom; }
.hero__bg-image--left img:nth-child(3) { transform-origin: center top; }

/* 右: 下→上→下 */
.hero__bg-image--right img:nth-child(1) { transform-origin: center bottom; }
.hero__bg-image--right img:nth-child(2) { transform-origin: center top; }
.hero__bg-image--right img:nth-child(3) { transform-origin: center bottom; }

/* ----- スライドショー ----- */
.hero__bg-image img,
.hero__bg-full img {
  opacity: 0;
  transform: scale(1);
  transition: opacity 1s ease, transform 5s ease-out;
}

.hero__bg-image img.is-active,
.hero__bg-full img.is-active {
  opacity: 1;
  transform: scale(1.03);
}

.hero__bg-image img.is-initial {
  transform: scale(1);
}

/* ----- 全面画像 ----- */
.hero__bg-full {
  position: absolute;
  inset: 0;
  z-index: var(--z-layer-front);
  overflow: hidden;
}

.hero__bg-full img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center center;
}

/* ----- ダークオーバーレイ ----- */
.hero__bg-overlay {
  position: absolute;
  inset: 0;
  z-index: var(--z-hero-overlay);
  background: var(--color-overlay);
}

/* ----- 左上ロゴ ----- */
.hero__logo {
  display: none;
}

@media (min-width: 768px) {
  .hero__logo {
    position: absolute;
    top: 23px;
    left: 40px;
    z-index: var(--z-hero-content);
    display: flex;
    align-items: center;
    gap: 8px;
  }
}

.hero__logo img {
  height: 20px;
  width: auto;
  object-fit: contain;
}

.hero__logo-text {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--color-text-white);
  white-space: nowrap;
}

/* ----- 中央コンテンツ ----- */
.hero__content {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translate(-50%, 0);
  z-index: var(--z-hero-content);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  width: 100%;
  max-width: 100%;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .hero__content {
    bottom: 80px;
    transform: translate(-50%, 0);
    width: 90%;
    max-width: 600px;
    padding: 0;
  }
}

.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}


/* 紋章ロゴ */
.hero__crest {
  width: 90px;
  height: 90px;
  background: linear-gradient(
    to right,
    var(--color-gold-start) 10%,
    var(--color-gold-mid) 84%,
    var(--color-gold-end) 96%
  );
  -webkit-mask-image: url("../img/crest.webp");
  mask-image: url("../img/crest.webp");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

@media (min-width: 768px) {
  .hero__crest {
    width: 120px;
    height: 120px;
  }
}

/* キャッチコピー */
.hero__title {
  font-family: var(--font-mincho);
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--color-text-white);
  line-height: 1.5;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 3.2rem;
    line-height: 1;
  }
}

/* サブコピー */
.hero__subtitle {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-text-white);
  line-height: 2;
}

@media (min-width: 768px) {
  .hero__subtitle {
    font-size: 1.6rem;
    line-height: 1.8;
  }
}

/* 英語社名 */
.hero__company-en {
  font-family: var(--font-mincho);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  margin-top: 16px;
}

@media (min-width: 768px) {
  .hero__company-en {
    font-size: 1.8rem;
    margin-top: 0;
  }
}

/* ----- 右側ナビゲーション ----- */
.hero__nav {
  display: none;
}

@media (min-width: 768px) {
  .hero__nav {
    position: absolute;
    top: 88px;
    right: 40px;
    z-index: var(--z-hero-content);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 41px;
    width: 130px;
  }
}

/* --- ページリンク --- */
.hero__nav-list {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 24px;
}

.hero__nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--color-text-white);
  white-space: nowrap;
  transition: color 0.5s ease;
}

.hero__nav-dot {
  display: block;
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.4s ease;
}

@media (any-hover: hover) {
  .hero__nav-link:hover {
    color: var(--color-teal-light);
  }

  .hero__nav-link:hover .hero__nav-dot {
    transform: translateX(4px);
  }
}

.hero__nav-link:focus-visible {
  color: var(--color-teal-light);
}

.hero__nav-link:focus-visible .hero__nav-dot {
  transform: translateX(4px);
}

/* --- SNS・電話リンク --- */
.hero__nav-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
  width: 100%;
}

.hero__nav-contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-white);
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 400;
  white-space: nowrap;
  transition: color 0.5s ease;
}

@media (any-hover: hover) {
  .hero__nav-contact-link:hover {
    color: var(--color-teal-light);
  }
}

.hero__nav-contact-link:focus-visible {
  color: var(--color-teal-light);
}

.hero__nav-contact-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__nav-contact-icon svg {
  width: 100%;
  height: 100%;
}

.hero__nav-contact-icon--phone {
  width: 32px;
  height: 32px;
}

.hero__nav-contact-label {
  text-align: center;
}

.hero__nav-contact-link--phone .hero__nav-contact-label {
  font-size: 1.2rem;
}

/* ============================================
   事業内容セクション (service)
   ============================================ */
.service {
  position: relative;
  isolation: isolate;
  background: var(--color-bg-gray);
  overflow-x: clip;
}

.service::after {
  content: "Miyako";
  position: absolute;
  top: 50%;
  right: -20px;
  z-index: var(--z-layer-behind);
  transform: translateY(-50%);
  font-family: var(--font-mincho);
  font-size: 12rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.05em;
  background: linear-gradient(
    to right,
    var(--color-gold-start) 10%,
    var(--color-gold-mid) 84%,
    var(--color-gold-end) 96%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: 0.07;
  pointer-events: none;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .service::after {
    top: 58%;
    font-size: 20rem;
  }
}

/* ----- 事業概要エリア ----- */
.service__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  gap: 32px;
}

@media (min-width: 768px) {
  .service__intro {
    padding: 120px 40px;
    gap: 40px;
  }
}

.service__intro-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1184px;
  width: 100%;
  padding: 16px 0;
  gap: 24px;
}

@media (min-width: 768px) {
  .service__intro-header {
    padding: 32px 40px;
    gap: 40px;
  }
}

.service__intro-title {
  font-family: var(--font-mincho);
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1;
}

@media (min-width: 768px) {
  .service__intro-title {
    font-size: 2.8rem;
  }
}

.service__intro-text {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-text-white);
  line-height: 2;
  text-align: center;
}

@media (min-width: 768px) {
  .service__intro-text {
    font-size: 1.6rem;
  }
}

/* ----- 事業カード（電気・空調） ----- */
.service__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 480px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .service__cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
  }
}

.service__card {
  overflow: hidden;
}

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

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

.service__card-body {
  padding: 16px;
}

@media (min-width: 768px) {
  .service__card-body {
    padding: 16px;
  }
}

.service__card-body-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service__card-title {
  font-family: var(--font-mincho);
  font-size: 2.0rem;
  font-weight: 500;
  color: var(--color-text-white);
}

@media (min-width: 768px) {
  .service__card-title {
    font-size: 2.4rem;
  }
}

.service__card-text {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-text-white);
  line-height: 1.8;
}

/* ----- 選ばれる理由エリア ----- */
.service__reasons {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
}

@media (min-width: 768px) {
  .service__reasons {
    padding: 80px 40px;
  }
}

.service__reasons-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
}

@media (min-width: 768px) {
  .service__reasons-inner {
    gap: 72px;
    width: auto;
    max-width: 100%;
  }
}

/* 理由カード群 */
.service__reasons-content {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
  width: 100%;
}

@media (min-width: 768px) {
  .service__reasons-content {
    align-items: flex-end;
    width: auto;
  }
}

.service__reason-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  height: auto;
  align-items: center;
}

@media (min-width: 768px) {
  .service__reason-list {
    gap: 32px;
    align-items: initial;
  }
}

@media (min-width: 1208px) {
  .service__reason-list {
    flex-direction: row;
    gap: 48px;
    width: 1128px;
    max-width: 100%;
  }
}

/* 理由カード1枚 */
.service__reason-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  height: 270px;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex-shrink: 0;
  background-color: var(--color-bg-gray);
  border-right: 1px solid var(--color-bg-card);
  border-bottom: 1px solid var(--color-bg-card);
}

@media (min-width: 768px) {
  .service__reason-card {
    width: 360px;
    max-width: 100%;
  }

  /* ジグザグ配置（タブレット） */
  .service__reason-card:nth-child(odd) {
    margin-right: 120px;
  }

  .service__reason-card:nth-child(even) {
    margin-left: 120px;
  }
}

/* 階段状の配置（PCのみ） */
@media (min-width: 1208px) {
  .service__reason-card {
    width: 344px;
  }

  .service__reason-card:nth-child(odd) {
    margin-right: 0;
  }

  .service__reason-card:nth-child(even) {
    margin-left: 0;
  }

  .service__reason-card:nth-child(2) {
    margin-top: 40px;
  }

  .service__reason-card:nth-child(3) {
    margin-top: 80px;
  }
}

.service__reason-icon-text {
  background: linear-gradient(135deg, var(--color-gold-start), var(--color-gold-mid), var(--color-gold-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-mincho);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.05em;
  border: 1px solid var(--color-gold-start);
  padding: 2px 8px;
}

.service__reason-title {
  font-family: var(--font-mincho);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--color-text-white);
  line-height: 1.5;
}

.service__reason-text {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-text-white);
  line-height: 1.8;
}

/* Reason番号バッジ */
.service__reason-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.service__reason-badge-number {
  font-family: var(--font-primary);
  font-size: 3rem;
  color: var(--color-footer-muted);
  line-height: 1;
}


/* ============================================
   施工事例セクション (works)
   ============================================ */
.works {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 300px;
  background-color: var(--color-bg-gray);
}

@media (min-width: 768px) {
  .works {
    min-height: 355px;
  }
}

/* --- 背景ギャラリー（無限スクロール） --- */
.works__gallery {
  position: absolute;
  inset: 0;
  z-index: var(--z-layer-behind);
}

.works__gallery-track {
  display: flex;
  gap: 4px;
  height: 100%;
  width: max-content;
  animation: works-scroll 80s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}

@keyframes works-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(var(--scroll-width));
  }
}

.works__gallery-item {
  position: relative;
  flex-shrink: 0;
  height: 100%;
  aspect-ratio: 4 / 5;
}

.works__gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.works__gallery-overlay {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, #000000 50%, transparent);
  pointer-events: none;
}

/* --- コンテンツ --- */
.works__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  padding: 48px 20px;
  max-width: 420px;
}

@media (min-width: 768px) {
  .works__content {
    padding: 87px 40px 87px 73px;
    gap: 40px;
    max-width: none;
  }
}

.works__text {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-text-white);
  line-height: 1.8;
}

@media (min-width: 768px) {
  .works__text {
    font-size: 1.4rem;
  }
}


/* ============================================
   会社紹介セクション (about)
   ============================================ */
.about {
  position: relative;
  overflow: hidden;
}

.about__container {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-bg-card);
  min-height: auto;
  z-index: var(--z-layer-front);
  padding: 40px 0;
}

@media (min-width: 768px) {
  .about__container {
    flex-direction: row;
    gap: 40px;
    min-height: 761px;
    padding: 80px 0;
  }
}

.about__text-col {
  width: 100%;
  padding: 48px 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 768px) {
  .about__text-col {
    flex-shrink: 0;
    width: 600px;
    max-width: 45%;
    padding: 120px 0 80px 80px;
    gap: 72px;
  }
}

.about__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about__message {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
}

.about__message p {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-text-white);
  line-height: 2;
  width: 100%;
}

@media (min-width: 768px) {
  .about__message p {
    font-size: 1.6rem;
  }
}

.about__message p br {
  display: none;
}

@media (min-width: 768px) {
  .about__message p br {
    display: inline;
  }
}

.about__message .about__signature {
  font-size: 1.4rem;
  text-align: right;
  width: auto;
}

.about__logo {
  width: 120px;
  align-self: flex-start;
}

.about__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 右カラム: 写真 + リンク */
.about__right-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.about__photo-col {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0 20px 40px;
}

@media (min-width: 768px) {
  .about__photo-col {
    padding: 80px 0 0 0;
  }
}

.about__photo-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 682px;
}

@media (min-width: 1080px) {
  .about__photo-grid {
    flex-direction: row;
    gap: 8px;
  }
}

.about__photo-thumbs {
  display: flex;
  flex-direction: row;
  gap: 8px;
  width: 100%;
}

@media (min-width: 1080px) {
  .about__photo-thumbs {
    flex-direction: column;
    gap: 10px;
    width: 194px;
    flex-shrink: 1;
    min-width: 0;
  }
}

.about__photo-thumb {
  position: relative;
  width: 100%;
  height: 120px;
  overflow: hidden;
}

@media (min-width: 1080px) {
  .about__photo-thumb {
    height: 194px;
  }

  .about__photo-thumb:nth-child(2) {
    height: 193px;
  }
}

.about__photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__photo-main {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

@media (min-width: 1080px) {
  .about__photo-main {
    flex: 1;
    min-width: 0;
    max-width: 480px;
    width: auto;
    height: 600px;
    aspect-ratio: unset;
  }
}

.about__photo-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__photo-overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
  pointer-events: none;
}

.about__more-link {
  margin: 0 20px 40px;
  align-self: flex-end;
}

@media (min-width: 768px) {
  .about__more-link {
    margin: 40px 32px 80px 0;
  }
}

/* ============================================
   CTAセクション (cta)
   ============================================ */
.cta {
  position: relative;
  background-color: var(--color-bg-card);
  padding: 100px 20px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .cta {
    padding: 120px 20px;
  }

  .cta::before,
  .cta::after {
    height: 80px;
  }
}

.cta__grid {
  max-width: 1288px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .cta__grid {
    flex-direction: row;
    gap: 24px;
  }
}

@media (min-width: 1080px) {
  .cta__grid {
    display: grid;
    gap: 0;
    grid-template-columns: 420px 32px 1fr 32px 420px;
    grid-template-rows: 400px 32px 400px;
  }
}

/* --- 行レイアウト --- */
.cta__row + .cta__row {
  margin-top: 24px;
}

@media (min-width: 768px) {
  .cta__row {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
  }
}

@media (min-width: 768px) {
  .cta__row + .cta__row {
    margin-top: 0;
  }
}

@media (min-width: 768px) {
  .cta__row .cta__card {
    flex: 1;
  }
}

@media (min-width: 1080px) {
  .cta__row {
    display: contents;
  }
}

@media (min-width: 1144px) {
  .cta__row--recruit .cta__image,
  .cta__row--recruit .cta__card {
    translate: -32px 0;
  }
  .cta__row--contact .cta__image,
  .cta__row--contact .cta__card {
    translate: 32px 0;
  }
}

/* --- 画像エリア --- */
.cta__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 1;
}

@media (min-width: 768px) {
  .cta__image {
    aspect-ratio: auto;
  }
}

@media (min-width: 1080px) {

  /* 採用画像: 右側、1行目 */
  .cta__row--recruit .cta__image {
    grid-column: 3 / 6;
    grid-row: 1 / 2;
  }

  /* お問い合わせ画像: 左側、3行目 */
  .cta__row--contact .cta__image {
    grid-column: 1 / 4;
    grid-row: 3 / 4;
  }
}

/* --- カード --- */
@media (min-width: 768px) {
  .cta__card {
    flex: 1;
  }
}

@media (min-width: 1080px) {
  .cta__card {
    flex: initial;
  }

  /* 採用カード: 左側、1行目起点。高さはコンテンツに従い、下の行にはみ出す */
  .cta__row--recruit .cta__card {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    z-index: var(--z-layer-front);
    align-self: start;
  }

  /* お問い合わせカード: 右側、3行目起点。上方向にはみ出す */
  .cta__row--contact .cta__card {
    grid-column: 5 / 6;
    grid-row: 3 / 4;
    z-index: var(--z-layer-front);
    align-self: end;
  }
}

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

.cta__image-overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
}

/* --- カード --- */
.cta__card {
  background: var(--color-bg-gray);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-width: 0;
}

@media (min-width: 1080px) {
  .cta__card {
    padding: 39px 40px;
    gap: 48px;
    min-height: 470px;
  }
}

/* --- 本文 --- */
.cta__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.cta__catchphrase-line {
  display: block;
  width: 29px;
  height: 1px;
  flex-shrink: 0;
  background: var(--color-text-white);
}

.cta__catchphrase-text {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--color-text-white);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .cta__catchphrase-text {
    font-size: 1.8rem;
  }
}

.cta__desc {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-text-white);
  line-height: 1.8;
}

@media (min-width: 768px) {
  .cta__desc {
    font-size: 1.6rem;
  }
}

.cta__desc br {
  display: none;
}

@media (min-width: 768px) {
  .cta__desc br {
    display: inline;
  }
}

/* --- リンク配置 --- */
.cta__link-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
}

/* ============================================
   よくあるご質問セクション (faq)
   ============================================ */
.faq {
  background: var(--color-bg-card);
  padding: 60px 20px;
}

@media (min-width: 768px) {
  .faq {
    padding: 80px 40px;
  }
}

.faq__inner {
  max-width: 798px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

@media (min-width: 768px) {
  .faq__inner {
    gap: 72px;
  }
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.faq__item {
  width: 100%;
}

/* Q行（クリック可能） */
.faq__question {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  text-align: left;
  border-bottom: 1px solid var(--color-footer-border);
  transition: background-color 0.5s ease;
}

@media (any-hover: hover) {
  .faq__question:hover {
    background-color: var(--color-footer-border);
  }
}

/* Q/A ラベル */
.faq__label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--color-text-white);
  line-height: 1;
}

@media (min-width: 768px) {
  .faq__label {
    width: 40px;
    height: 40px;
    font-size: 2.2rem;
  }
}

.faq__label--q {
  background: var(--color-teal);
}

.faq__label--a {
  background: var(--color-gold-start);
  color: var(--color-bg-dark);
}

/* 質問テキスト */
.faq__question-text {
  flex: 1;
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-text-light);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .faq__question-text {
    font-size: 1.6rem;
  }
}

/* トグルアイコン（横ライン → ×） */
.faq__toggle {
  position: relative;
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

.faq__toggle::before,
.faq__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-text-white);
  transition: transform 0.5s ease, background-color 0.5s ease;
}

@media (any-hover: hover) {
  .faq__question:hover .faq__toggle::before,
  .faq__question:hover .faq__toggle::after {
    background-color: var(--color-gold-start);
  }
}

.faq__question:focus-visible .faq__toggle::before,
.faq__question:focus-visible .faq__toggle::after {
  background: var(--color-gold-start);
}

.faq__toggle::before {
  transform: translateY(-50%);
}

.faq__toggle::after {
  transform: translateY(-50%) rotate(90deg);
}

/* 開いている時 */
.faq__question[aria-expanded="true"] .faq__toggle::after {
  transform: translateY(-50%) rotate(0deg);
}

/* A行（回答） */
.faq__answer {
  height: 0;
  overflow: hidden;
  transition: height 0.5s ease;
}

.faq__answer-inner {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px 20px;
  padding-right: 36px;
  border-top: 1px solid var(--color-bg-card);
}

.faq__answer-text {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-text-white);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .faq__answer-text {
    font-size: 1.6rem;
  }
}

/* ============================================
   フッター
   ============================================ */
.footer {
  background: var(--color-footer-bg);
  padding: 40px 20px;
}

@media (min-width: 1080px) {
  .footer {
    padding: 64px 140px;
  }
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-inline: auto;
}

@media (min-width: 1080px) {
  .footer__inner {
    gap: 72px;
  }
}

.footer__main {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: fit-content;
  margin-inline: auto;
}

@media (min-width: 1080px) {
  .footer__main {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }
}

/* 左: 会社情報 */
.footer__info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

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

.footer__logo img {
  height: 31px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.footer__logo-text {
  font-family: var(--font-primary);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--color-text-white);
  line-height: 1;
}

.footer__address {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__address p {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-text-white);
  line-height: 1.8;
}

/* 右: ナビ・SNS */
.footer__nav-area {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  width: 100%;
}

@media (min-width: 1080px) {
  .footer__nav-area {
    align-items: flex-end;
    width: 389px;
  }
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  width: 100%;
}

@media (min-width: 1080px) {
  .footer__nav {
    align-items: flex-end;
  }
}

.footer__nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

@media (min-width: 1080px) {
  .footer__nav-list {
    flex-wrap: nowrap;
    gap: 32px;
  }
}

.footer__nav-list li a {
  position: relative;
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-text-white);
  line-height: 1;
  padding-bottom: 2px;
}

.footer__nav-list li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-text-white);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

@media (any-hover: hover) {
  .footer__nav-list li a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }
}

.footer__nav-list li a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer__privacy {
  text-align: left;
  width: 100%;
}

@media (min-width: 1080px) {
  .footer__privacy {
    text-align: right;
  }
}

.footer__privacy a {
  position: relative;
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-text-white);
  line-height: 1;
  padding-bottom: 2px;
}

.footer__privacy a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-text-white);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

@media (any-hover: hover) {
  .footer__privacy a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }
}

.footer__privacy a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer__sns {
  display: flex;
  gap: 18px;
  justify-content: flex-start;
}

@media (min-width: 1080px) {
  .footer__sns {
    justify-content: flex-end;
  }
}

.footer__sns-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-white);
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 400;
  padding-bottom: 2px;
}

.footer__sns-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-text-white);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

@media (any-hover: hover) {
  .footer__sns-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }
}

.footer__sns-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer__sns-link img {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

/* 下部: コピーライト */
.footer__bottom {
  border-top: 1px solid var(--color-footer-border);
  padding: 24px 0 0;
  text-align: center;
}

.footer__copyright {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--color-footer-muted);
}

/* ============================================
   下層ページ共通: ヘッダー常時表示
   ============================================ */
.site-header--sub {
  background: rgba(67, 67, 67, 0.83);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

@media (min-width: 1080px) {
  .site-header--sub {
    background: rgba(67, 67, 67, 0.83);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}

/* ============================================
   下層ページ共通: ページヘッダー
   ============================================ */
.page-header {
  position: relative;
  background: var(--color-teal);
  padding: 140px 20px 48px;
}

@media (min-width: 768px) {
  .page-header {
    padding: 160px 40px 64px;
  }
}

.page-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.page-header__sub {
  font-family: var(--font-mincho);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
}

.page-header__title {
  font-family: var(--font-mincho);
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--color-text-white);
  line-height: 1.4;
}

@media (min-width: 768px) {
  .page-header__title {
    font-size: 3.6rem;
  }
}

.page-header__breadcrumb {
  position: absolute;
  top: 92px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-primary);
  font-size: 1.2rem;
  color: var(--color-text-white);
  line-height: 1;
}

@media (min-width: 768px) {
  .page-header__breadcrumb {
    top: 70px;
    left: 40px;
  }
}

.page-header__breadcrumb a {
  transition: opacity 0.5s ease;
}

@media (any-hover: hover) {
  .page-header__breadcrumb a:hover {
    opacity: 0.7;
  }
}

.page-header__breadcrumb a:focus-visible {
  opacity: 0.7;
}

.page-header__breadcrumb-sep {
  color: var(--color-text-white);
}

/* ============================================
   事業内容ページ: リード文
   ============================================ */
.sv-lead {
  background: var(--color-bg-gray);
  padding: 60px 20px;
}

@media (min-width: 768px) {
  .sv-lead {
    padding: 80px 40px;
  }
}

.sv-lead__inner {
  max-width: 900px;
  margin: 0 auto;
}

.sv-lead__text {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-text-white);
  line-height: 2.2;
  text-align: center;
}

@media (min-width: 768px) {
  .sv-lead__text {
    font-size: 1.6rem;
  }
}

.sv-lead__text br {
  display: none;
}

@media (min-width: 768px) {
  .sv-lead__text br {
    display: inline;
  }
}

/* ============================================
   事業内容ページ: サービス詳細
   ============================================ */
.sv-detail {
  background: var(--color-bg-gray);
  padding: 60px 20px;
}

@media (min-width: 768px) {
  .sv-detail {
    padding: 80px 40px;
  }
}

.sv-detail__block + .sv-detail__block {
  margin-top: 60px;
}

@media (min-width: 768px) {
  .sv-detail__block + .sv-detail__block {
    margin-top: 80px;
  }
}

.sv-detail__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .sv-detail__inner {
    flex-direction: row;
    gap: 48px;
    align-items: center;
  }

  .sv-detail__inner--reverse {
    flex-direction: row-reverse;
  }
}

.sv-detail__image {
  position: relative;
  width: 100%;
  overflow: hidden;
}

@media (min-width: 768px) {
  .sv-detail__image {
    width: 50%;
    flex-shrink: 0;
  }
}

.sv-detail__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.sv-detail__image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 54, 64, 0.2);
  pointer-events: none;
}

.sv-detail__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 768px) {
  .sv-detail__content {
    flex: 1;
  }
}

.sv-detail__text {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-text-white);
  line-height: 2;
}

@media (min-width: 768px) {
  .sv-detail__text {
    font-size: 1.6rem;
  }
}

.sv-detail__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sv-detail__list li {
  position: relative;
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-text-white);
  line-height: 1.8;
  padding-left: 20px;
}

.sv-detail__list li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 4px;
  width: 6px;
  height: 6px;
  background: linear-gradient(
    to right,
    var(--color-gold-start),
    var(--color-gold-mid)
  );
  border-radius: 50%;
}

/* ============================================
   事業内容ページ: 強み
   ============================================ */
.sv-strength {
  background: var(--color-bg-card);
  padding: 60px 20px;
}

@media (min-width: 768px) {
  .sv-strength {
    padding: 100px 40px;
  }
}

.sv-strength__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

@media (min-width: 768px) {
  .sv-strength__inner {
    gap: 72px;
  }
}

.sv-strength__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  align-items: center;
}

@media (min-width: 1080px) {
  .sv-strength__list {
    flex-direction: row;
    gap: 32px;
    align-items: stretch;
  }
}

.sv-strength__card {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: var(--color-bg-gray);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

@media (min-width: 1080px) {
  .sv-strength__card {
    flex: 1;
    max-width: none;
  }
}

.sv-strength__card-image {
  width: 100%;
  aspect-ratio: 631 / 360;
  overflow: hidden;
}

.sv-strength__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sv-strength__card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 24px 32px;
}

.sv-strength__card-title {
  font-family: var(--font-mincho);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--color-text-white);
  line-height: 1.5;
}

.sv-strength__card-text {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-text-white);
  line-height: 1.8;
}

.sv-strength__card-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--color-teal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  height: 72px;
}

.sv-strength__card-badge-label {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-text-white);
  text-align: center;
}

.sv-strength__card-badge-number {
  font-family: var(--font-primary);
  font-size: 3.0rem;
  font-weight: 500;
  color: var(--color-text-white);
  line-height: 1;
}

/* ============================================
   事業内容ページ: ご依頼の流れ
   ============================================ */
.sv-flow {
  background: var(--color-bg-gray);
  padding: 60px 20px;
}

@media (min-width: 768px) {
  .sv-flow {
    padding: 100px 40px;
  }
}

.sv-flow__inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  background: var(--color-bg-card);
  padding: 48px 24px;
}

@media (min-width: 768px) {
  .sv-flow__inner {
    gap: 72px;
    padding: 80px 64px;
  }
}

.sv-flow__steps {
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
  padding-left: 40px;
}

@media (min-width: 768px) {
  .sv-flow__steps {
    padding-left: 48px;
  }
}

.sv-flow__step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-footer-border);
}

.sv-flow__step:first-child {
  padding-top: 0;
}

.sv-flow__step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* ドットのコンテナ */
.sv-flow__step-dot {
  position: absolute;
  top: 30px;
  left: -30px;
  width: 20px;
  height: 20px;
  z-index: 1;
}

@media (min-width: 768px) {
  .sv-flow__step-dot {
    left: -38px;
  }
}

.sv-flow__step:first-child .sv-flow__step-dot {
  top: 6px;
}

/* 外円 */
.sv-flow__step-dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-bg-card);
  border: 2px solid var(--color-teal-light);
  z-index: 1;
}

/* 内丸 */
.sv-flow__step-dot-inner {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-teal-light);
  z-index: 2;
}

/* ドット間をつなぐ縦ライン（最後以外、ステップの擬似要素で描画） */
.sv-flow__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50px;
  left: -21px;
  width: 1px;
  height: calc(100% - 20px);
  background: var(--color-teal-light);
}

.sv-flow__step:first-child:not(:last-child)::after {
  top: 26px;
  height: calc(100% + 4px);
}

@media (min-width: 768px) {
  .sv-flow__step:not(:last-child)::after {
    left: -29px;
  }

  .sv-flow__step:first-child:not(:last-child)::after {
    left: -29px;
  }
}

/* 番号 + タイトル */
.sv-flow__step-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sv-flow__step-number {
  display: flex;
  align-items: baseline;
  gap: 2px;
  flex-shrink: 0;
}

.sv-flow__step-number span {
  font-family: var(--font-mincho);
  font-size: 2.8rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.05em;
  color: var(--color-teal-light);
}

@media (min-width: 768px) {
  .sv-flow__step-number span {
    font-size: 3.2rem;
  }
}

.sv-flow__step-title {
  font-family: var(--font-mincho);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--color-text-white);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .sv-flow__step-title {
    font-size: 1.8rem;
  }
}

.sv-flow__step-text {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-text-white);
  line-height: 1.8;
  opacity: 0.7;
}

/* ============================================
   事業内容ページ: 対応エリア
   ============================================ */
.sv-area {
  background: var(--color-bg-card);
  padding: 60px 20px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .sv-area {
    padding: 100px 40px;
  }
}

.sv-area__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column-reverse;
  gap: 40px;
}

@media (min-width: 768px) {
  .sv-area__inner {
    flex-direction: row;
    align-items: center;
    gap: 64px;
  }
}

.sv-area__image {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .sv-area__image {
    width: 50%;
    max-width: none;
    flex-shrink: 0;
    margin: 0;
  }
}

.sv-area__image img {
  width: 100%;
  height: auto;
}

.sv-area__content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  flex: 1;
}

.sv-area__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}

.sv-area__info-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sv-area__info-title {
  font-family: var(--font-mincho);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--color-text-white);
  line-height: 1.5;
  padding-left: 8px;
  border-left: 2px solid var(--color-teal-light);
}

.sv-area__info-text {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-text-white);
  line-height: 1.8;
}

.sv-area__note {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-text-white);
  line-height: 1.8;
}

/* ============================================
   会社概要ページ: 代表挨拶
   ============================================ */
.cp-greeting {
  background: var(--color-bg-gray);
  padding: 60px 20px;
}

@media (min-width: 768px) {
  .cp-greeting {
    padding: 100px 40px;
  }
}

.cp-greeting__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

@media (min-width: 768px) {
  .cp-greeting__inner {
    gap: 72px;
  }
}

.cp-greeting__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 768px) {
  .cp-greeting__content {
    flex-direction: row;
    gap: 48px;
    align-items: center;
  }
}

.cp-greeting__text-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}

.cp-greeting__text {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-text-white);
  line-height: 2.2;
}

@media (min-width: 768px) {
  .cp-greeting__text {
    font-size: 1.6rem;
  }
}

.cp-greeting__sign {
  font-family: var(--font-mincho);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--color-text-white);
  text-align: right;
  margin-top: 8px;
}

.cp-greeting__photo {
  width: 100%;
  max-width: 160px;
  flex-shrink: 0;
  order: -1;
  margin: 0 auto;
}

.cp-greeting__photo img {
  width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  .cp-greeting__photo {
    order: 0;
    margin: 0;
  }
}

.cp-greeting__photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 280px;
  background: var(--color-bg-card);
  color: var(--color-footer-muted);
  font-size: 1.4rem;
}

@media (min-width: 768px) {
  .cp-greeting__photo-placeholder {
    height: 350px;
  }
}

/* ============================================
   会社概要ページ: 会社概要テーブル
   ============================================ */
.cp-profile {
  background: var(--color-bg-card);
  padding: 60px 20px;
}

@media (min-width: 768px) {
  .cp-profile {
    padding: 100px 40px;
  }
}

.cp-profile__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

@media (min-width: 768px) {
  .cp-profile__inner {
    gap: 72px;
  }
}

.cp-profile__table-wrap {
  width: 100%;
  max-width: 800px;
}

.cp-profile__table {
  width: 100%;
  border-collapse: collapse;
}

.cp-profile__table th,
.cp-profile__table td {
  padding: 16px 20px;
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-text-white);
  line-height: 1.8;
  border-bottom: 1px solid var(--color-footer-border);
  text-align: left;
  vertical-align: top;
}

@media (min-width: 768px) {
  .cp-profile__table th,
  .cp-profile__table td {
    font-size: 1.5rem;
  }
}

.cp-profile__table th {
  width: 140px;
  font-weight: 500;
  color: var(--color-text-white);
  white-space: nowrap;
  background: transparent;
  border-right: 1px solid var(--color-footer-border);
}

@media (min-width: 768px) {
  .cp-profile__table th {
    width: 200px;
  }
}

.cp-profile__table td a {
  color: var(--color-text-white);
  transition: opacity 0.5s ease;
}

@media (any-hover: hover) {
  .cp-profile__table td a:hover {
    opacity: 0.7;
  }
}

.cp-profile__table td a:focus-visible {
  opacity: 0.7;
}

/* ============================================
   会社概要ページ: アクセス
   ============================================ */
.cp-access {
  background: var(--color-bg-card);
  padding: 60px 20px;
}

@media (min-width: 768px) {
  .cp-access {
    padding: 100px 40px;
  }
}

.cp-access__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

@media (min-width: 768px) {
  .cp-access__inner {
    gap: 72px;
  }
}

.cp-access__content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cp-access__map {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}



@media (min-width: 768px) {
  .cp-access__map {
    aspect-ratio: 16 / 7;
  }
}

.cp-access__map iframe {
  width: 100%;
  height: 100%;
  filter: grayscale(0.2);
}

.cp-access__address {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-text-white);
  text-align: center;
  line-height: 1.8;
}

/* ============================================
   お問い合わせページ: お問い合わせ方法
   ============================================ */
.ct-methods {
  background: var(--color-bg-gray);
  padding: 60px 20px;
}

@media (min-width: 768px) {
  .ct-methods {
    padding: 100px 40px;
  }
}

.ct-methods__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

@media (min-width: 768px) {
  .ct-methods__inner {
    gap: 72px;
  }
}

.ct-methods__cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

@media (min-width: 768px) {
  .ct-methods__cards {
    flex-direction: row;
    gap: 24px;
  }
}

.ct-methods__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 24px;
  background: var(--color-bg-card);
  text-align: center;
  flex: 1;
}


.ct-methods__card-title {
  font-family: var(--font-mincho);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--color-text-white);
  line-height: 1.5;
}

.ct-methods__card-text {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-text-white);
  line-height: 1.8;
}

.ct-methods__card-note {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--color-footer-muted);
}

.ct-methods__card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  padding: 12px 32px;
  text-align: center;
  transition: opacity 0.5s ease;
  margin-top: auto;
}

.ct-methods__card-btn img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.ct-methods__card-btn--line {
  background: var(--color-line);
  color: var(--color-text-white);
  transition: background 0.3s ease;
}

.ct-methods__card-btn--tel {
  background: var(--color-text-white);
  color: var(--color-bg-dark);
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  transition: background 0.3s ease, color 0.3s ease;
}

.ct-methods__card-btn--tel img,
.ct-methods__card-btn--outline img {
  filter: brightness(0) saturate(100%);
  transition: filter 0.3s ease;
}

.ct-methods__card-btn--outline {
  background: var(--color-text-white);
  color: var(--color-bg-dark);
  transition: background 0.3s ease, color 0.3s ease;
}

@media (any-hover: hover) {
  .ct-methods__card-btn--line:hover {
    background: #04b34b;
  }

  .ct-methods__card-btn--tel:hover,
  .ct-methods__card-btn--outline:hover {
    background: var(--color-teal-light);
    color: var(--color-text-white);
  }

  .ct-methods__card-btn--tel:hover img,
  .ct-methods__card-btn--outline:hover img {
    filter: none;
  }
}

.ct-methods__card-btn--line:focus-visible {
  background: #04b34b;
}

.ct-methods__card-btn--tel:focus-visible,
.ct-methods__card-btn--outline:focus-visible {
  background: var(--color-teal-light);
  color: var(--color-text-white);
}

.ct-methods__card-btn--tel:focus-visible img,
.ct-methods__card-btn--outline:focus-visible img {
  filter: none;
}

/* ============================================
   お問い合わせページ: フォーム
   ============================================ */
.ct-form {
  background: var(--color-bg-card);
  padding: 60px 20px;
}

@media (min-width: 768px) {
  .ct-form {
    padding: 100px 40px;
  }
}

.ct-form__inner {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

@media (min-width: 768px) {
  .ct-form__inner {
    gap: 72px;
  }
}

.ct-form__inner > .wpcf7 {
  width: 100%;
}

.ct-form__body {
  width: 100%;
}

.ct-form__group {
  margin-bottom: 24px;
}

.ct-form__group p {
  margin: 0;
}

.ct-form__group p br {
  display: none;
}

.ct-form__group .wpcf7-form-control-wrap {
  display: block;
}

.ct-form__group .wpcf7-form-control-wrap input,
.ct-form__group .wpcf7-form-control-wrap select,
.ct-form__group .wpcf7-form-control-wrap textarea {
  width: 100%;
  box-sizing: border-box;
}

.ct-form__label {
  display: block;
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--color-text-white);
  margin-bottom: 8px;
}

.ct-form__required {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-white);
  background: var(--color-teal-light);
  padding: 1px 8px;
  margin-left: 8px;
  vertical-align: middle;
}

.ct-form__optional {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--color-bg-dark);
  background: var(--color-text-white);
  padding: 1px 8px;
  margin-left: 8px;
  vertical-align: middle;
}

.ct-form__input,
.ct-form__select,
.ct-form__textarea {
  display: block;
  width: 100%;
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--color-text);
  padding: 12px 16px;
  border: 1px solid var(--color-footer-border);
  background: var(--color-text-white);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.ct-form__textarea {
  min-height: 200px;
  resize: vertical;
}

.ct-form__input::placeholder,
.ct-form__textarea::placeholder {
  color: #aaaaaa;
}

.ct-form__checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-text-white);
  margin-bottom: 32px;
}

.ct-form__checkbox input {
  appearance: auto;
  -webkit-appearance: checkbox;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--color-teal-light);
  cursor: pointer;
}

.ct-form__checkbox a {
  color: var(--color-teal-light);
  text-decoration: underline;
  transition: opacity 0.5s ease;
}

@media (any-hover: hover) {
  .ct-form__checkbox a:hover {
    opacity: 0.7;
  }
}

.ct-form__checkbox a:focus-visible {
  opacity: 0.7;
}

.ct-form__submit {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 700;
  padding: 16px 48px;
  background: var(--color-teal);
  color: var(--color-text-white);
  border: none;
  cursor: pointer;
  transition: opacity 0.5s ease;
}

@media (any-hover: hover) {
  .ct-form__submit:hover {
    opacity: 0.8;
  }
}

.ct-form__submit:focus-visible {
  opacity: 0.8;
}

.wpcf7-response-output {
  color: var(--color-text-white);
}

/* ============================================
   プライバシーポリシーページ
   ============================================ */
.pv-body {
  background: var(--color-bg-gray);
  padding: 60px 20px;
}

@media (min-width: 768px) {
  .pv-body {
    padding: 100px 40px;
  }
}

.pv-body__inner {
  max-width: 800px;
  margin: 0 auto;
}

.pv-body__lead {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-text-white);
  line-height: 2;
  margin-bottom: 48px;
}

.pv-body__heading {
  font-family: var(--font-mincho);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--color-text-white);
  line-height: 1.5;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-footer-border);
}

.pv-body__text {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-text-white);
  line-height: 2;
  margin-bottom: 32px;
}

.pv-body__list {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-text-white);
  line-height: 2;
  margin-bottom: 32px;
  padding-left: 24px;
}

.pv-body__list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 4px;
}

.pv-body__list li::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 4px;
  width: 6px;
  height: 6px;
  background: linear-gradient(
    to right,
    var(--color-gold-start),
    var(--color-gold-mid)
  );
  border-radius: 50%;
}

.pv-body__contact {
  background: var(--color-bg-card);
  padding: 24px;
  margin-bottom: 32px;
}

.pv-body__contact p {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-text-white);
  line-height: 2;
}

.pv-body__contact a {
  color: var(--color-teal-light);
  transition: opacity 0.5s ease;
}

@media (any-hover: hover) {
  .pv-body__contact a:hover {
    opacity: 0.7;
  }
}

.pv-body__contact a:focus-visible {
  opacity: 0.7;
}

/* ============================================
   採用ページ: 採用メッセージ
   ============================================ */
.rc-message {
  background: var(--color-bg-gray);
  padding: 60px 20px;
}

@media (min-width: 768px) {
  .rc-message {
    padding: 100px 40px;
  }
}

.rc-message__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.rc-message__catch {
  font-family: var(--font-mincho);
  font-size: 2.6rem;
  font-weight: 400;
  color: var(--color-text-white);
  line-height: 1.6;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .rc-message__catch {
    font-size: 3.6rem;
  }
}

.rc-message__text {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-text-white);
  line-height: 2;
  text-align: left;
}

@media (min-width: 768px) {
  .rc-message__text {
    font-size: 1.6rem;
  }
}

/* ============================================
   採用ページ: 3つの約束
   ============================================ */
.rc-promise {
  background: var(--color-bg-gray);
  padding: 40px 20px;
}

@media (min-width: 768px) {
  .rc-promise {
    padding: 6px 40px;
  }
}

.rc-promise__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.rc-promise__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .rc-promise__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

.rc-promise__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 24px;
  border: 1px solid color-mix(in srgb, var(--color-text-white) 20%, transparent);
  text-align: center;
}

.rc-promise__number {
  font-family: var(--font-mincho);
  font-size: 4.0rem;
  font-weight: 400;
  line-height: 1;
  background: linear-gradient(
    to right,
    var(--color-gold-start) 10%,
    var(--color-gold-mid) 84%,
    var(--color-gold-end) 96%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.rc-promise__title {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--color-text-white);
  line-height: 1.6;
}

.rc-promise__item .separator {
  width: 40px;
}

.rc-promise__text {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-text-white);
  line-height: 1.8;
}

/* ============================================
   採用ページ: 働く楽しさ
   ============================================ */
.pin-spacer:has(> .rc-fun) {
  background: var(--color-bg-gray);
}

.rc-fun {
  background: var(--color-bg-gray);
  padding: 60px 20px;
}

@media (min-width: 768px) {
  .rc-fun {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 100vh;
    padding: 40px;
    padding-bottom: 80px;
  }
}

.rc-fun__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  width: 100%;
}

.rc-fun__stage {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

@media (min-width: 768px) {
  .rc-fun__stage {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
  }
}

.rc-fun__slide {
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .rc-fun__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    border-radius: 0;
  }

  .rc-fun__slide--active {
    opacity: 1;
  }
}

.rc-fun__slide-image {
  aspect-ratio: 3 / 4;
}

.rc-fun__slide:nth-child(1)  img {
  object-position: 80% 50%;
}

@media (min-width: 768px) {
  .rc-fun__slide-image {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
  }
}

.rc-fun__slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rc-fun__slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.rc-fun__slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 20px;
  text-align: center;
}

@media (min-width: 768px) {
  .rc-fun__slide-content {
    gap: 16px;
    padding: 24px;
  }
}

.rc-fun__slide-number {
  font-family: var(--font-mincho);
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--color-text-white);
}

.rc-fun__slide-title {
  font-family: var(--font-mincho);
  font-size: 2.0rem;
  font-weight: 500;
  color: var(--color-text-white);
  line-height: 1.4;
}

@media (min-width: 768px) {
  .rc-fun__slide-title {
    font-size: 2.8rem;
  }
}

.rc-fun__slide-text {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 300;
  color: color-mix(in srgb, var(--color-text-white) 85%, transparent);
  line-height: 1.8;
  max-width: 600px;
}

@media (min-width: 768px) {
  .rc-fun__slide-text {
    font-size: 1.5rem;
  }
}

/* ============================================
   採用ページ: 一日の流れ
   ============================================ */
.rc-schedule {
  position: relative;
  overflow: hidden;
  background: var(--color-teal);
  padding: 60px 20px;
}

.rc-schedule::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/about-photo-main.webp") center / cover no-repeat;
  background-position: 30% 20%;
  opacity: 0.15;
  z-index: 0;
}

@media (min-width: 768px) {
  .rc-schedule {
    padding: 100px 40px;
  }
}

.rc-schedule__inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.rc-schedule__timeline {
  width: 100%;
}

.rc-schedule__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--color-text-white) 15%, transparent);
}

.rc-schedule__item:first-child {
  padding-top: 0;
}

@media (min-width: 768px) {
  .rc-schedule__item {
    flex-direction: row;
    gap: 24px;
  }
}

.rc-schedule__time {
  font-family: var(--font-mincho);
  font-size: 2.2rem;
  font-weight: 400;
  min-width: 72px;
  line-height: 1;
  background: linear-gradient(
    to right,
    var(--color-gold-start) 10%,
    var(--color-gold-mid) 84%,
    var(--color-gold-end) 96%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

@media (min-width: 768px) {
  .rc-schedule__time {
    font-size: 2.4rem;
    min-width: 88px;
  }
}

.rc-schedule__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rc-schedule__title {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--color-text-white);
  line-height: 1.4;
}

.rc-schedule__text {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 500;
  color: color-mix(in srgb, var(--color-text-white) 70%, transparent);
  line-height: 1.8;
}




/* ============================================
   採用ページ: 募集要項
   ============================================ */
.rc-requirements {
  background: var(--color-bg-gray);
  padding: 60px 20px;
}

@media (min-width: 768px) {
  .rc-requirements {
    padding: 100px 40px;
  }
}

.rc-requirements__inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.rc-requirements__table {
  width: 100%;
  border-collapse: collapse;
}

.rc-requirements__table th,
.rc-requirements__table td {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--color-text-white);
  line-height: 1.8;
  padding: 16px 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--color-text-white) 15%, transparent);
  text-align: left;
  vertical-align: top;
}

.rc-requirements__table th {
  font-weight: 500;
  width: 140px;
  white-space: nowrap;
  color: color-mix(in srgb, var(--color-text-white) 70%, transparent);
}

@media (min-width: 768px) {
  .rc-requirements__table th,
  .rc-requirements__table td {
    font-size: 1.5rem;
    padding: 20px 24px;
  }

  .rc-requirements__table th {
    width: 200px;
  }
}

/* ============================================
   採用ページ: 応募CTA
   ============================================ */
.rc-apply {
  background: var(--color-teal);
  padding: 60px 20px;
}

@media (min-width: 768px) {
  .rc-apply {
    padding: 100px 40px;
  }
}

.rc-apply__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.rc-apply__lead {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--color-text-white);
  line-height: 1.8;
  text-align: center;
}

.rc-apply__lead br {
  display: none;
}

@media (min-width: 768px) {
  .rc-apply__lead {
    font-size: 1.5rem;
  }

  .rc-apply__lead br {
    display: inline;
  }
}

.rc-apply__channels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
}

@media (min-width: 768px) {
  .rc-apply__channels {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.rc-apply__channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 20px;
  border: 1px solid color-mix(in srgb, var(--color-text-white) 40%, transparent);
  border-radius: 4px;
  text-align: center;
  background: transparent;
  transition: border-color 0.5s ease, background 0.5s ease;
}

@media (any-hover: hover) {
  .rc-apply__channel:hover {
    border-color: var(--color-text-white);
    background: color-mix(in srgb, var(--color-text-white) 8%, transparent);
  }
}

.rc-apply__channel:focus-visible {
  border-color: var(--color-text-white);
  background: color-mix(in srgb, var(--color-text-white) 8%, transparent);
}

.rc-apply__channel img {
  width: 40px;
  height: 40px;
}

.rc-apply__channel--line img {
  filter: brightness(0) invert(1);
}

.rc-apply__channel-main {
  font-family: var(--font-primary);
  font-size: 2.0rem;
  font-weight: 700;
  color: var(--color-text-white);
  line-height: 1.4;
}

.rc-apply__channel-sub {
  font-family: var(--font-primary);
  font-size: 1.2rem;
  font-weight: 300;
  color: color-mix(in srgb, var(--color-text-white) 70%, transparent);
  line-height: 1;
}
