/* =============================================
 RESET & BASE
 ============================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Hiragino UD Maru Gothic StdN W4', 'ヒラギノUD丸ゴ StdN W4', 'Noto Sans JP', sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.7;
  min-width: 320px;
  overflow-x: hidden;
  padding-top: 60px;
}

@media (max-width: 768px) {
body {
  padding-top: 40px;
}

}

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

.tel-link {
  pointer-events: none;
}

.map-link {
  color: #1a73e8;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.sp{
  display: none;
}

@media (max-width: 768px) {
  .tel-link {
    pointer-events: auto;
    text-decoration: underline;
    text-underline-offset: 0.15em;
  }
  .sp{
    display: block;
  }
}

ul {
  list-style: none;
}

.inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}
.inner-sub{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
img {
  width: 100%;
}

/* =============================================
 HEADER
 写真確認: 白背景、左にロゴ（渦巻き＋社名）、
 右に緑ボタン「お問合せ」・赤ボタン「採用情報」・
 LINEアイコン（緑丸）・スマホアイコン・ハンバーガー
 ============================================= */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 90%;
  margin: 0 auto;
  padding: 0 16px;
  height: 70px;
}

@media (max-width: 768px) {
  .header-inner {
  height: 40px;
}
}

/* ロゴ */
.header-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 33px;
  width: auto;
  display: block;
}


/* 右側ナビ */
.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
  align-self: stretch;
  letter-spacing: 1px;
}

.h-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 1em;
  border-radius: 0.5em;
  font-size: 1em;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.h-btn-contact {
  background: #00ada9;
}

.h-btn-recruit {
  background: #f8b856;
}

.nobtn {
  font-weight: bold;
}

/* ---- PC ドロップダウンナビ ---- */
.nav-item {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
}

/* a・span 共通：ホバー時にティール色 */
.nav-item.has-dropdown > a,
.nav-item.has-dropdown > span {
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: color 0.2s;
}

.nav-item.has-dropdown:hover > a,
.nav-item.has-dropdown:hover > span {
  color: #00ada9;
}

/* chevron 矢印 */
.nav-item.has-dropdown > a::after,
.nav-item.has-dropdown > span::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s ease;
  margin-left: 6px;
  flex-shrink: 0;
}

/* ホバーで矢印を上向きに回転 */
.nav-item.has-dropdown:hover > a::after,
.nav-item.has-dropdown:hover > span::after {
  transform: rotate(-135deg) translateY(-2px);
}

/* ドロップダウンパネル */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #fff;
  min-width: 180px;
  z-index: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  border-radius: 0 0 6px 6px;
  overflow: hidden;
}

/* マウスがパネルに移動する間のギャップを埋めるブリッジ */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 12px 20px;
  color: #00ada9;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  border-bottom: 1px solid rgba(0, 173, 169, 0.15);
  transition: color 0.15s, padding-left 0.15s;
}

.nav-dropdown a:last-child {
  border-bottom: none;
}

.nav-dropdown a:hover {
  color: #007a77;
  padding-left: 26px;
}


/* アイコンボタン群 */
.h-icons {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 2px;
}

.h-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  cursor: pointer;
}

.iconmark {
  width: 40px;
  height: 40px;
}

.iconmark img {
  border-radius: 0.5em;
}


/* ハンバーガー：PC では非表示 */
.h-icon-menu {
  display: none;
  position: relative;
  border: none;
  background: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  z-index: 500;
}

.h-icon-menu span {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 2px;
  background: #00ada9;
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
    opacity 0.25s ease;
}

/* 3本線の初期位置（中心から ±8px） */
.h-icon-menu span:nth-child(1) {
  transform: translate(-50%, calc(-50% - 8px)) rotate(0deg);
}

.h-icon-menu span:nth-child(2) {
  transform: translate(-50%, -50%) scaleX(1);
}

.h-icon-menu span:nth-child(3) {
  transform: translate(-50%, calc(-50% + 8px)) rotate(0deg);
}

/* ☰ → × : 全ラインを中心へ集め、回転するだけ */
.h-icon-menu.is-open span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.h-icon-menu.is-open span:nth-child(2) {
  transform: translate(-50%, -50%) scaleX(0);
  opacity: 0;
}

.h-icon-menu.is-open span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* =============================================
 NAV DRAWER
 ============================================= */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.75);
  z-index: 300;
}

.nav-overlay.is-open {
  display: block;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  /* 全画面幅 */
  height: 100%;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 400;
  padding: 80px 0 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-drawer.is-open {
  transform: translateX(0);
}


.nav-drawer-list {
  list-style: none;
  padding: 0;
  margin: 1em 0 0 0;
}

.nav-drawer-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-drawer-list li a {
  display: block;
  padding: 13px 32px;
  font-size: 0.95rem;
  color: #00ada9;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: color 0.2s, padding-left 0.2s;
  text-align: center;
  border-bottom: 1px solid #00ada9;
  width: 80%;
  margin: 0 auto;
}

.nav-drawer-list li a:hover {
  color: #7ef0e8;
  padding-left: 40px;
  background: transparent;
}

/* ---- ドロワー アコーディオン ---- */
.drawer-has-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-parent {
  position: relative;
  width: 80%;
  margin: 0 auto;
  border-bottom: 1px solid #00ada9;
}

/* 親リンク・スパン：幅いっぱいで中央揃え */
.nav-drawer-list .drawer-parent > a,
.nav-drawer-list .drawer-parent > span {
  display: block;
  width: 100%;
  text-align: center;
  padding: 13px 44px;
  font-size: 0.95rem;
  color: #00ada9;
  font-weight: 500;
  letter-spacing: 0.08em;
  border-bottom: none;
  margin: 0;
}

/* chevron ボタン：右端に絶対配置 */
.drawer-chevron {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  background: none;
  border: none;
  padding: 0 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-chevron::after {
  content: '';
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 2px solid #00ada9;
  border-bottom: 2px solid #00ada9;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s ease;
}

.drawer-has-child.is-open .drawer-chevron::after {
  transform: rotate(-135deg) translateY(-2px);
}

/* サブメニュー */
.drawer-sub {
  list-style: none;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: rgba(0, 173, 169, 0.06);
}

.drawer-has-child.is-open .drawer-sub {
  max-height: 400px;
}

.drawer-sub li {
  border-bottom: none;
}

.nav-drawer-list .drawer-sub li a {
  display: block;
  padding: 9px 20px 9px 48px;
  font-size: 0.82rem;
  color: #00ada9;
  font-weight: 500;
  border-bottom: 1px solid rgba(0, 173, 169, 0.15);
  width: 80%;
  margin: 0 auto;
  text-align: left;
  opacity: 0.85;
  transition: opacity 0.15s, padding-left 0.15s;
}

.nav-drawer-list .drawer-sub li:last-child a {
  border-bottom: none;
}

.nav-drawer-list .drawer-sub li a:hover {
  opacity: 1;
  padding-left: 60px;
  background: transparent;
  color: #7ef0e8;
}

/* =============================================
 HERO  ─  parallax は JS で transform
 ============================================= */
#hero {
  position: relative;
  height: 95vh;
  margin-top: -60px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Hero Slideshow --- */
.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 2.2s ease;
  will-change: opacity, transform;
}

/* アクティブスライド：表示＋ズームイン開始 */
.hero-slide.is-active {
  opacity: 1;
  animation: heroZoom 10s ease forwards;
}

/* 退場中スライド：フェードアウト（ズーム状態を保持） */
.hero-slide.is-leaving {
  opacity: 0;
  transform: scale(1.12);
  transition: opacity 1.12s ease;
}

@keyframes heroZoom {
  from {
    transform: scale(1.02);
  }

  to {
    transform: scale(1.12);
  }
}

.hero-text {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 3em;
  color: #fff;
  padding: 0 5%;
  width: 100%;
  max-width: 1200px;
}

.hero-text-body {
  flex-shrink: 0;
}

.hero-text-img {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-text-img img {
  width: min(420px, 38vw);
  height: auto;
  display: block;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

.hero-text p {
  font-size: 1.5rem;
  line-height: 1.5;
  letter-spacing: 0.15em;
  background-color: #00ada9;
  padding: 0.5em 0.75em;
  border-radius: 0.8em;
  width: fit-content;
}

/* =============================================
 LEAD
 ============================================= */
#lead {
  padding: 40px 0 34px;
  margin: 3em auto;
  background: #fff;
}

.lead-inner {
  display: flex;
  align-items: stretch;
}

/* 画像の「窓」となるラッパー */
.lead-inner .img-wrap {
  width: 50%;
  height: 300px;
  /* ← この値でクリッピングの高さを調整 */
  overflow: hidden;
}

.lead-inner .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* ← 見せたい位置を調整（top/bottom も可）*/
  display: block;
}

.lead-inner div {
  width: 50%;
  padding: 1em 2em;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#lead h2 {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 0.5em;
  color: #222;
  letter-spacing: 0.02em;
  text-align: left;
}

#lead p {
  font-size: 1.25em;
  line-height: 1.5;
  color: #555;
  text-align: left;
}

@media (max-width: 768px) {
  .lead-inner {
    flex-direction: column;
  }

  .lead-inner .img-wrap,
  .lead-inner div {
    width: 100%;
  }
#lead h2 {
  font-size: 1.5em;
}

#lead p {
  font-size: 1em;
}




}

/* =============================================
 SECTION HEAD（共通）
 ============================================= */
.section-head {
  text-align: center;
  margin: 2em auto;
  padding: 1em 0;
}

.en {
  font-size: 2.3em;

}

.section-head .en {
  font-weight: 700;
  color: #00ada9;
  letter-spacing: 0.08em;
  line-height: 1;
}

.section-head .why {
  font-size: 2.5em;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.08em;
  line-height: 1;
}

@media (max-width: 480px) {
  .section-head .why {
    font-size: 1.25em;
  }

  .en {
    font-size: 1.5em;

  }



}

.section-head .ja {
  font-size: 1em;
  font-weight: 400;
  color: #000000;
  margin-top: 0.5em;
  letter-spacing: 0.1em;
}

/* =============================================
 OUR WORKS  ─  ２行マーキー（無限スクロール）
 ============================================= */
#works {
  padding: 34px 0 38px;
  background: #fff;
}

/* マーキーコンテナ */
.marquee-wrap {
  overflow: hidden;
  width: 100%;
  margin-bottom: 2em;

}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marqueeScroll 140s linear infinite;
  will-change: transform;
}

.marquee-track img {
  margin: 0 1.5em;
  max-height: 80px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
}

/* 2行目は逆方向 */
.marquee-track#track2 {
  animation-direction: reverse;
  animation-duration: 140s;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.logo-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1.5px solid #ccc;
  border-radius: 4px;
  font-size: 0.70rem;
  font-weight: 700;
  color: #333;
  padding: 6px 14px;
  height: 44px;
  white-space: nowrap;
  margin-right: 10px;
  background: #fff;
  flex-shrink: 0;
  line-height: 1.25;
}

.logo-chip.red {
  background: #cc0000;
  color: #fff;
  border-color: #cc0000;
  font-size: 0.88rem;
  font-weight: 900;
}

.logo-chip.big {
  font-size: 0.95rem;
  font-weight: 900;
}

.logo-chip.small-text {
  font-size: 0.62rem;
  line-height: 1.3;
  text-align: center;
  white-space: pre-line;
}

.view-store {
  text-align: center;
  margin: 3em auto 1.5em auto;
}

.view-store a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #00ada9;

}

#eircon .view-store a {
  color: #ffffff;
}

#eircon .view-store .circle-arrow {
  color: #ffffff;
  border-color: #ffffff;
}

.view-store a:hover {
  opacity: 0.7;
}

.circle-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3em;
  height: 3em;
  border: 1.5px solid #00ada9;
  border-radius: 50%;
  font-size: 0.7em;
  color: #00ada9;

}





/* =============================================
 OUR SERVICES
 ============================================= */
/* #services {
  padding: 2em 0 5em;
  background:
    linear-gradient(180deg, rgba(176, 220, 211, 0.75), rgba(176, 220, 211, 0.45)),
    url("../img/TOP03.jpg") center / cover no-repeat;
} */
#services {
  padding: 2em 0 5em;
  background: #b0dcd3;
}
/* =============================================
cleaningflow
 ============================================= */
#cleaningflow {
  padding: 2em 0 5em;
  background: #fff;
}

/* =============================================
 SELECT EIRCON SECTION  ─  無限マーキー
 ============================================= */
#eircon {
  padding: 40px 0 46px;
  background: #85cbbf;
}

.eircon-marquee-wrap {
  overflow-x: scroll;
  width: 100%;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.eircon-marquee-wrap::-webkit-scrollbar {
  display: none;
}

.eircon-marquee-wrap.is-grabbing {
  cursor: grabbing;
}

.eircon-marquee-wrap img,
.eircon-marquee-wrap a {
  -webkit-user-drag: none;
  user-select: none;
}

.eircon-marquee-track {
  display: flex;
  width: max-content;
  gap: 14px;
  align-items: flex-start;
}

.eircon-marquee-wrap ul li {
  text-align: center;
  background-color: #fff;
  border-radius: 1em;
  padding: 1.5em;
}

.eircon-marquee-wrap ul li img {
  margin-bottom: 0.25em;
}

.eircon-marquee-wrap ul li p {
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  color: #00ada9;
  line-height: 1.4;
  letter-spacing: 0.15em;
}

@media (max-width: 600px) {
  /* OUR WORKS ロゴマーキー */
  .marquee-track img {
    max-height: 44px;
    max-width: 130px;
    margin: 0 0.8em;
  }

  /* SELECT EIRCON カードマーキー */
  .eircon-marquee-track {
    gap: 12px;
  }
  .eircon-marquee-wrap ul li {
    padding: 1.2em;
    width: 260px;
  }
  .eircon-marquee-wrap ul li img {
    width: 120px;
  }
  .eircon-marquee-wrap ul li p {
    font-size: 0.8em;
  }
}



/* =============================================
 AIR CONDITIONER QUOTE
 ============================================= */
#air-quote {
  padding: 48px 0 52px;
  background: #e0f0eb;
  scroll-margin-top: 80px;
}

/* かんたん機種診断（3ステップセレクター） */
.aq-box {
  max-width: 680px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 1.75em 1.75em 1.5em;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.aq-row {
  margin-bottom: 1.1em;
}

.aq-row label {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.95em;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.4em;
}

.aq-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  background: #00ada9;
  color: #fff;
  font-size: 0.9em;
  font-weight: 700;
  flex-shrink: 0;
}

.aq-row select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: #f5f9f8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%2300ada9' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 1em center / 11px 7px;
  border: 1.5px solid #d7e7e4;
  border-radius: 0.6em;
  padding: 0.75em 2.2em 0.75em 0.9em;
  font-size: 1em;
  font-family: inherit;
  color: #333;
  cursor: pointer;
  outline: none;
  transition: border-color 0.18s;
}

.aq-row select:focus {
  border-color: #00ada9;
}

.aq-row select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* 型式を写真で選ぶグリッド */
.aq-model-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6em;
}

.aq-model-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4em;
  padding: 0.6em 0.4em;
  background: #f5f9f8;
  border: 1.5px solid #d7e7e4;
  border-radius: 0.7em;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.18s, background 0.18s;
}

.aq-model-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.aq-model-card img {
  width: 100%;
  height: 52px;
  object-fit: cover;
  border-radius: 0.4em;
}

.aq-model-card span {
  font-size: 0.78em;
  font-weight: 700;
  color: #333;
  line-height: 1.3;
}

.aq-model-card:has(input:checked) {
  background: #fff;
  border-color: #00ada9;
  box-shadow: 0 2px 10px rgba(0, 173, 169, 0.2);
}

.aq-model-card:has(input:checked) span {
  color: #00ada9;
}

.aq-model-grid.is-disabled .aq-model-card {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 600px) {
  .aq-model-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.aq-progress {
  display: flex;
  align-items: center;
  gap: 0.75em;
  margin: 0.5em 0 1.1em;
}

.aq-bar {
  flex: 1;
  height: 5px;
  background: #e2eeec;
  border-radius: 5px;
  overflow: hidden;
}

#aq-bar-fill {
  height: 100%;
  width: 0;
  background: #00ada9;
  border-radius: 5px;
  transition: width 0.4s ease;
}

.aq-progress span {
  font-size: 0.85em;
  font-weight: 700;
  color: #888;
  white-space: nowrap;
}

.aq-result {
  text-align: center;
  animation: aqFadeIn 0.35s ease both;
}

.aq-result[hidden] {
  display: none;
}

@keyframes aqFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.aq-btn-primary {
  display: inline-flex;
  align-items: center;
  font-size: 0.88em;
  font-weight: 700;
  padding: 0.55em 1.2em;
  border-radius: 2em;
  text-decoration: none;
  transition: opacity 0.2s;
  background: #f8b856;
  color: #fff;
}

.aq-btn-primary:hover {
  opacity: 0.75;
}

@media (max-width: 600px) {
  .aq-box {
    padding: 1.4em 1.1em 1.2em;
  }
}

/* #eircon セクション補足リード文（診断への導線） */
.eircon-hosoku {
  color: #043b37;
}

.eircon-hosoku a {
  color: #043b37;
  font-weight: 700;
  text-decoration: underline;
}

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 740px;
  margin: 0 auto;
}

.info-card {
  display: block;
  position: relative;
  height: 82px;
  border-radius: 3px;
  overflow: hidden;
}

.info-card.company {
  background: linear-gradient(105deg, #1c2e3e 0%, #2a4055 40%, #3a5568 100%);
}

.info-card.recruit {
  background: linear-gradient(105deg, #1e3045 0%, #2c4260 40%, #3c5878 100%);
}

.info-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: repeating-linear-gradient(45deg,
      rgba(0, 0, 0, 0.2) 0px, rgba(0, 0, 0, 0.2) 2px,
      rgba(0, 0, 0, 0.05) 2px, rgba(0, 0, 0, 0.05) 12px);
}

.info-card-text {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  z-index: 2;
}

.info-card-en {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  line-height: 1;
}

.info-card-btn {
  display: inline-block;
  background: #2a8fcc;
  color: #fff;
  font-size: 0.66rem;
  padding: 3px 10px;
  border-radius: 2px;
  align-self: flex-start;
}

/* =============================================
 TOPICS
 ============================================= */
#topics {
  padding: 44px 0 56px;
  background: #fff;
}

.topics-box {
  max-width: 740px;
  margin: 0 auto;
  border: 1px solid #ddd;
  max-height: 280px;
  overflow-y: auto;
}

.topic-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
  padding: 12px 16px;
  border-bottom: 1px solid #e8e8e8;
  font-size: 0.75rem;
  line-height: 1.65;
  align-items: baseline;
}

.topic-row:last-child {
  border-bottom: none;
}

.topic-date {
  flex-shrink: 0;
  color: #666;
  font-size: 0.73rem;
  min-width: 80px;
}

.topic-tag {
  flex-shrink: 0;
  color: #333;
  font-weight: 500;
  font-size: 0.73rem;
}

.topic-body {
  color: #555;
  font-size: 0.73rem;
  flex-basis: 100%;
  margin-top: 1px;
}

/* =============================================
 FOOTER
 写真確認:
 - 上部中央：渦巻きロゴ＋株式会社セイレイ（大きめ）
 - 4カラム: 住所3箇所 / HOME+リスト / エアコンを選ぶ+リスト / インフォメーション+リスト
 - 最下部：Copyright行
 背景色: #2d3e4e系（ダークブルーグレー）
 ============================================= */
#footer {
  background: #f4ebe5;
}

/* フッターロゴ行 */
.footer-logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 28px 0 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-logo-svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.footer-logo-name {
  font-size: 1.05em;
  font-weight: 700;
  color: #333;
  letter-spacing: 0.05em;
}

.footer-logo-name img {
  width: auto;
  height: 40px;
}
@media (max-width: 768px) {
.footer-logo-name img {
  height: 30px;
}
}
/* フッター本体 */
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  padding: 38px 20px 32px;
}

/* カラム共通 */
.footer-col {
  padding: 0 24px;
}

.footer-col--address {
  padding-left: 0;
}

.footer-col--border-left {
  border-left: 1px solid rgba(0, 0, 0, 0.15);
}

/* 住所カラム */
.footer-address-block+.footer-address-block {
  margin-top: 10px;
}

.footer-addr-head {
  font-size: 0.9em;
  font-weight: 700;
  color: #222;
  margin-bottom: 2px;
  letter-spacing: 0.01em;
}

.footer-addr-body {
  font-size: 0.9em;
  line-height: 1.75;
  color: #444;
}

/* ナビカラム */
.footer-nav-head {
  font-size: 0.9em;
  font-weight: 700;
  color: #222;
  margin-bottom: 6px;
}

.footer-nav-list--main li {
  font-size: 1.1em;
  font-weight: bold;
  color: #222;

}



.footer-nav-list li {
  /* margin-bottom: 3px; */
}

.footer-nav-list li a {
  font-size: 0.8em;
  color: #444;
  line-height: 1.6;
}

.footer-nav-list li a:hover {
  color: #00ada9;
}

.footer-nav-list--indent li a {
  color: #666;
  font-size: 0.8em;
}

.footer-nav-list--spacer {
  margin-top: 12px;
}






/* お問い合わせリンク（カラー付き） */
.footer-nav-list--contact {
  margin-top: 14px;
}

.footer-nav-list--contact li {
  margin-bottom: 3px;
}

.footer-contact-link {
  font-size: 0.9em;
  font-weight: 600;
}

.footer-contact-link--orange {
  color: #00ada9 !important;
}

.footer-contact-link--green {
  color: #e98c00 !important;
}

.footer-contact-link--orange:hover {
  color: #04706e !important;
}

.footer-contact-link--green:hover {
  color: #c2790b !important;
}

/* Copyright */
.footer-copy {
  text-align: center;
  padding: 1em 0 1em 0;
  font-size: 1em;
  color: #fff;
  background-color: #00ada9;
}

.tel {
  margin-top: 8px;
}

.tel div {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tel div p {
  font-size: 1.3em;
  font-weight: bold;
}

.tel img {
  width: 36px;
  height: auto;
}

.tel p {
  text-align: left;
  font-size: 0.8em;
  color: #555;
}





/* =============================================
 RESPONSIVE
 ============================================= */

/* ヘッダー SP 切り替え（640px 以下） */
@media (max-width: 1150px) {

  /* PC 専用リンク・ボタンを非表示 */
  .header-right .pc-only {
    display: none;
  }

  /* ハンバーガーを表示 */
  .h-icon-menu {
    display: block;
  }

  /* ロゴを小さく */
  .logo-img {
    height: 20px;
  }

}

/* SP 固定ボトムバー */
.sp-bottom-bar {
  display: none;
}

@media (max-width: 1150px) {
  .sp-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 500;
    height:40px;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.12);
    opacity: 1;
    transition: opacity 0.4s ease;
  }

  .sp-bottom-bar.is-hidden {
    opacity: 0;
    pointer-events: none;
  }

  .sp-bottom-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: opacity 0.2s;
  }

  .sp-bottom-btn:hover {
    opacity: 0.85;
  }

  .sp-bottom-btn--contact {
    background: #00ada9;
  }

  .sp-bottom-btn--estimate {
    background: #f8b856;
  }
}

@media (max-width: 700px) {
  .eircon-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px 0;
  }

  .footer-col--border-left {
    border-left: none;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    padding-top: 14px;
    margin-top: 14px;
  }

  .footer-col--contact {
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    padding-top: 14px;
    margin-top: 14px;
  }

  #hero {
    height: 100dvh;
  }

  .hero-text {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 70px 1.5em 1.5em;
    gap: 1.5em;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-text p {
    font-size: 1.1rem;
    margin: 0 auto;
  }

  .hero-text-img img {
    width: 75% !important;
    margin: 0 auto;
  }
}

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

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

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

  .footer-col {
    padding: 0;
  }
}





/* =============================================
   BANNER BUTTONS (OTHER INFO内)
   ============================================= */

/* ① 中央寄せ用ラッパー */
.banner-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* 水平方向：中央 */
  gap: 16px;
  margin: 0 auto;
}

/* ② バナー本体 */
.banner {
  position: relative;
  width: 100%;
  max-width: 680px;
  height: 160px;
  /* ★ 縦幅を増やす（140px → 160px）*/
  border-radius: 12px;
  overflow: hidden;
  /* クリッピングマスクの核心 */
  cursor: pointer;
  display: block;
  text-decoration: none;
}

/* ③ imgレイヤー */
.bannerimg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.bannerimg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  /* ★ 画像の表示位置調整：「center 40%」を好みで変える */
  display: block;
  transition: transform 0.5s ease;
}

/* ホバー時ズーム */
.banner:hover .bannerimg img {
  transform: scale(1.06);
}

/* ④ グラデーションオーバーレイ（テキストを読みやすくする暗幕） */
.banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.20) 55%,
      rgba(0, 0, 0, 0.05) 100%);
  pointer-events: none;
}

/* ⑤ テキスト・ボタンレイヤー */
.banner-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* タイトル */
.banner-title {
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

/* ボタン */
.banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #f18f4d;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 999px;
  width: fit-content;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.banner-btn::after {
  content: '→';
  font-size: 14px;
}

.banner:hover .banner-btn {
  background-color: #df7a36;
  transform: translateX(4px);
}



.cautions {
  max-width: 680px;
  min-height: 160px;
  box-sizing: border-box;
  /* paddingを高さに含める */
  background: #fff6ee;
  border-radius: 12px;
  padding: 0.8em 1.2em;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* h4+p を上、aを下に固定 */
  margin: 2em auto;
}

.cautions h4 {
  color: #f18f4d;
  font-size: 1.25em;
  font-weight: bold;
  margin: 0 0 0.5rem;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid #f18f4d;
  display: inline-block;
}

.cautions p {
  margin: 0.2rem 0;
  font-size: 1.1em;
  color: #333;
  line-height: 1.2;
  padding-left: 1em;
  text-indent: -1em;
}

.cautions a {
  display: block;
  text-align: right;
  font-size: 1em;
  color: #f18f4d;
  text-decoration: none;
  font-weight: bold;
}

.cautions a::after {
  content: " 〉";
}

.cautions a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .cautions p {
    font-size: 0.9em;
  }
}

/* エアコン補助金ボタン（注意点ボックスと同系色でトーンを揃える） */
.subsidy-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  background: #f18f4d;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.7em 2em;
  border-radius: 999px;
  margin: 1.2em auto 0 auto;
  transition: opacity 0.2s;
}

.subsidy-cta-btn:hover { opacity: 0.85; }

.subsidy-cta-btn::after {
  content: '→';
  font-size: 1.1em;
}




.card {
  display: flex;
  /* 中身を横並びに */
  align-items: stretch;
  /* 左右の高さをそろえる */
  background: #fff;
  /* ミントグリーン */
  border-radius: 1em;
  overflow: hidden;
  /* 角丸を画像にも効かせる */
  max-width: 680px;
  margin: 1em auto;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.card .img-wrap {
  width: 40%;
  overflow: hidden;
  /* はみ出た部分をカット */
}

.card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 比率を保ちながら全面に */
  display: block;
}

.card .body {
  width: 60%;
  padding: 1.5rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* 縦中央に */
}

.card .body {
  font-size: 0.75rem;
  color: #999;
  letter-spacing: 0.08em;
  margin: 0 0 0.2rem;
}

.card .body h3 {
  font-size: 1.1rem;
  font-weight: bold;
  margin: 0 0 0.75rem;
}

.body h3 {
  color: #00ada9;
}

.card .body p {
  font-weight: bold;
}

.card .body p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: #333;
  margin: 0;
}



/* =============================================
   INFO GRID（OTHER INFO フレックスバナー）
   プレフィックス: infogrid-  ← 既存クラスと競合なし
   構成: 1行目3つ ＋ 2行目2つ の計5バナー（flex）
   ============================================= */

/* 外枠：縦に2行を積む */
.infogrid-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 960px;
  margin: 0 auto;
}

/* 各行：横並び */
.infogrid-row {
  display: flex;
  gap: 10px;
}

/* バナー本体：行内で均等に伸びる */
.infogrid-item {
  position: relative;
  flex: 1 1 0;
  /* 均等幅 */
  min-width: 0;
  /* flex子要素のはみ出し防止 */
  height: 150px;
  border-radius: 10px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  cursor: pointer;
}

/* 画像レイヤー */
.infogrid-img {
  position: absolute;
  inset: 0;
}

.infogrid-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.infogrid-item:hover .infogrid-img img {
  transform: scale(1.06);
}

/* 暗幕オーバーレイ */
.infogrid-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
  pointer-events: none;
  z-index: 1;
}

/* テキスト・ボタンレイヤー */
.infogrid-body {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 25px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* タイトル */
.infogrid-title {
  font-size: 1.25em;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
  margin: 0;
}

/* ボタン */
.infogrid-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #f18f4d;
  color: #ffffff;
  font-size: 0.9em;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 999px;
  width: fit-content;
  transition: background-color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.infogrid-btn::after {
  content: '→';
}

.infogrid-item:hover .infogrid-btn {
  background-color: #df7a36;
  transform: translateX(4px);
}

/* =============================================
   INFO GRID レスポンシブ
   ============================================= */
@media (max-width: 700px) {
  .infogrid-row {
    flex-wrap: wrap;
  }

  .infogrid-item {
    flex: 1 1 calc(50% - 5px);
    /* 2列に折り返し */
    height: 140px;
  }

  .infogrid-title {
    font-size: 16px;
  }

  .infogrid-btn {
    font-size: 11px;
    padding: 5px 12px;
  }
}

@media (max-width: 480px) {
  .infogrid-item {
    flex: 1 1 100%;
    /* 1列 */
    height: 130px;
  }
}



.youtube {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 4em auto;
}

.youtubeif {
  display: block;
  margin: 0 auto;
  width: 45%;
  text-align: center;
}

.youtubeif h5 {
  font-size: 1.5em;
  font-weight: bold;
  color: #00ada9;
  margin-bottom: 0.25em;
}

.youtubeif iframe {
  width: 100%;
}

.youtubeif p {
  text-align: center;
}


.card .img-wrap img {
  transition: transform 0.4s ease, opacity 0.4s ease;
}

a:has(.card):hover .card .img-wrap img {
  transform: scale(1.07);
  opacity: 0.75;
  /* 薄くなる。1に近いほど変化少ない */
}

a:has(.card) {
  display: block;
}

/* 画像ズームイン */
.card .img-wrap img {
  transition: transform 0.4s ease;
}

a:has(.card):hover .card .img-wrap img {
  transform: scale(1.07);
}

/* カーソルをポインターに */
.card {
  cursor: pointer;
}

@media (max-width: 768px) {
  .card {
    flex-direction: column;
  }

  .card .img-wrap {
    width: 100%;
    height: 200px;
  }

  .card .body {
    width: 100%;
    padding: 1rem 1.2rem;
  }
}




/* =============================================
   BR ユーティリティ
   ============================================= */
br.sp {
  display: none;
}

br.pc {
  display: inline;
}

@media (max-width: 768px) {
  br.pc {
    display: none;
  }

  br.sp {
    display: inline;
  }
}

/* =============================================
   FORM PAGES（お見積り・お問い合わせ 共通）
   プレフィックス: fp-
   ============================================= */

/* ─ ヒーローバナー ─ */
.fp-hero {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fp-hero-bg {
  position: absolute;
  inset: 0;
  background: url('../img/TOP.jpg') center / cover no-repeat;
  filter: brightness(0.6);
}

.fp-hero-text {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.fp-hero-text .en {
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.fp-hero-text .ja {
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  margin-top: 0.5em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

/* ─ 電話バナー ─ */
.fp-phone-banner {
  max-width: 480px;
  margin: 2.5em auto 0;
  background: #cfe9e4;
  border-radius: 8px;
  padding: 1em 2.5em;
  text-align: center;
}

.fp-phone-banner .head {
  font-size: 0.88rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.3em;
}

.fp-phone-banner .num {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
}

.fp-phone-banner .num img {
  width: 44px;
  height: auto;
}

.fp-phone-banner .num span {
  font-size: 2.4rem;
  font-weight: 700;
  color: #111;
  letter-spacing: 0.03em;
}

.fp-phone-banner .hours {
  font-size: 0.82rem;
  color: #555;
  margin-top: 0.25em;
}

@media (max-width: 480px) {
  .fp-phone-banner .num span {
    font-size: 1.7rem;
  }


}





/* ─ メインセクション ─ */
.fp-section {
  max-width: 860px;
  margin: 3em auto 0;
  padding: 0 24px;
}

/* ─ セクション見出し ─ */
.fp-section-head {
  text-align: center;
  margin-bottom: 1em;
}

.fp-section-head .en {
  font-weight: 700;
  color: #00ada9;
  letter-spacing: 0.1em;
  line-height: 1;
}

.fp-section-head .ja {
  font-size: 0.95rem;
  font-weight: 400;
  color: #333;
  margin-top: 0.5em;
  letter-spacing: 0.12em;
}

.fp-section-head--orange .en {
  color: #f8b856;
}

.desc {
  font-size: 0.85rem;
  color: #555;
  margin-top: 1em;
  line-height: 1.9;
}

@media (max-width: 480px) {
  .en {
    font-size: 1.25em;
  }


}

/* ─ フォームテーブル ─ */
.fp-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0 2em 0;
}

.fp-table tr {
  border-bottom: 1px solid #ccc;
}

.fp-table th {
  width: 28%;
  padding: 1.15em 1em;
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}

.fp-table td {
  padding: 0.85em 1em;
  vertical-align: top;
}

.fp-table input[type="text"],
.fp-table input[type="number"],
.fp-table input[type="tel"],
.fp-table input[type="email"],
.fp-table select,
.fp-table textarea {
  background: #e0f0ec;
  border: none;
  border-radius: 4px;
  padding: 0.6em 0.8em;
  font-size: 0.9rem;
  font-family: inherit;
  color: #333;
  outline: none;
  box-sizing: border-box;
  width: 100%;
}

/* ブラウザの自動入力ハイライトを無効化し、全項目の見た目を統一 */
.fp-table input:-webkit-autofill,
.fp-table input:-webkit-autofill:hover,
.fp-table input:-webkit-autofill:focus,
.fp-table textarea:-webkit-autofill,
.fp-table textarea:-webkit-autofill:hover,
.fp-table textarea:-webkit-autofill:focus,
.fp-table select:-webkit-autofill,
.fp-table select:-webkit-autofill:hover,
.fp-table select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #e0f0ec inset;
  -webkit-text-fill-color: #333;
  transition: background-color 5000s ease-in-out 0s;
}

.fp-table input[type="number"] {
  width: 120px;
}

.fp-table select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M5 6L0 0h10z' fill='%23666'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8em center;
  background-color: #e0f0ec;
  padding-right: 2.2em;
  cursor: pointer;
}

.fp-table textarea {
  height: 130px;
  resize: vertical;
}

/* ─ 共通パーツ ─ */
.fp-req {
  color: #e05050;
  font-weight: 700;
  margin-left: 0.15em;
}

.fp-note {
  font-size: 0.78rem;
  color: #666;
  margin-top: 0.35em;
  line-height: 1.6;
}

.fp-zip-group {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 0.3em;
}

.fp-zip-group input {
  width: 130px !important;
}

.fp-addr-group {
  margin-top: 0.5em;
}

.fp-addr-group input {
  width: 100%;
}

.fp-file-row {
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.25em 0;
}

.fp-file-label {
  width: 110px;
  flex-shrink: 0;
  font-size: 0.85rem;
  color: #555;
}

/* ─ サブセクション見出し（お客様情報など） ─ */
.fp-sub-head {
  text-align: center;
}

.fp-sub-head .en {
  font-weight: 700;
  color: #f8b856;
  letter-spacing: 0.1em;
  line-height: 1;
}

.fp-sub-head .ja {
  font-size: 0.95rem;
  font-weight: 400;
  color: #333;
  margin-top: 0.5em;
  letter-spacing: 0.12em;
}

/* ─ 送信ボタン ─ */
.fp-submit-wrap {
  text-align: center;
  margin: 2.5em 0 4em;
}

.fp-submit-btn {
  display: inline-block;
  background: #f8b856;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.9em 3.2em;
  border: none;
  border-radius: 0.5em;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: background 0.2s, transform 0.15s;
  font-family: inherit;
}

.fp-submit-btn:hover {
  background: #e8a030;
  transform: translateY(-1px);
}

/* ─ 確認・完了・エラーページ共通 ─ */
.fp-result-wrap {
  max-width: 860px;
  margin: 3em auto 4em;
  padding: 0 24px;
}

.fp-result-wrap h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #00ada9;
  margin-bottom: 0.5em;
  padding-bottom: 0.4em;
  border-bottom: 2px solid #e0f0ec;
}

.fp-result-wrap .fp-lead {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 2em;
  line-height: 1.9;
}

.fp-result-wrap .est-t {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2em;
}

.fp-result-wrap .est-t th,
.fp-result-wrap .est-t td {
  padding: 0.8em 1em;
  border-bottom: 1px solid #ddd;
  font-size: 0.9rem;
  text-align: left;
}

.fp-result-wrap .est-t th {
  width: 30%;
  font-weight: 600;
  color: #333;
  background: #f0faf8;
}

.fp-result-wrap .est-t td {
  color: #555;
}

.fp-btn-row {
  display: flex;
  gap: 1em;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2em;
}

.fp-btn {
  display: inline-block;
  padding: 0.75em 2.5em;
  border-radius: 0.5em;
  font-size: 0.95rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
}

.fp-btn:hover {
  opacity: 0.8;
}

.fp-btn--back {
  background: #888;
  color: #fff;
}

.fp-btn--submit {
  background: #f8b856;
  color: #fff;
}

@media (max-width: 640px) {
  .fp-phone-banner {
    margin: 1.5em 1em 0;
  }

  /* テーブルを縦積みレイアウトに切り替え */
  .fp-table,
  .fp-table tbody,
  .fp-table tr,
  .fp-table th,
  .fp-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .fp-table th {
    padding: 0.75em 1em 0.3em;
    white-space: normal;
  }

  .fp-table td {
    padding: 0.3em 1em 0.9em;
  }

  /* 入力欄のはみ出し防止 */
  .fp-table input,
  .fp-table select,
  .fp-table textarea {
    max-width: 100%;
  }

  /* ファイルアップロード行を縦積みに */
  .fp-file-row {
    flex-wrap: wrap;
  }

  .fp-file-label {
    width: 100%;
  }
}





/* =============================================
   ESTIMATE NOTES PAGE
   ============================================= */
.notes-body {
  max-width: 760px;
  margin: 4em auto 5em;
  padding: 0 24px;
}

/* ─ リード ─ */
.notes-lead {
  text-align: center;
  font-size: 1.35rem;
  font-weight: 700;
  color: #00ada9;
  margin-bottom: 2.5em;
  letter-spacing: 0.05em;
}

/* ─ 数式ボックス ─ */
.notes-formula-box {
  padding: 1.8em 2em;
  text-align: center;
  margin-bottom: 1.5em;
}

.notes-formula {
  padding-bottom: 0.4em;
  border-bottom: 2px solid #000000;
  font-size: 1.7rem;
  font-weight: 900;
  color: #222;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.notes-formula-sub {
  font-size: 1.4rem;
  font-weight: 700;
  color: #333;
  margin-top: 0.6em;
  letter-spacing: 0.03em;
}

/* ─ 注意テキスト ─ */
.notes-warning {
  font-size: 0.92rem;
  color: #444;
  line-height: 1.9;
  margin-bottom: 3em;
  text-align: center;
}

.notes-warning .hl {
  color: #ffab5c;
  font-weight: 700;
}

/* ─ CTA テキスト ─ */
.notes-cta-text {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: #00ada9;
  line-height: 1.9;
  margin-bottom: 2em;
  letter-spacing: 0.03em;
}

/* ─ ボタン群 ─ */
.notes-btn-row {
  display: flex;
  gap: 1.2em;
  justify-content: center;
  flex-wrap: wrap;
}

.notes-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15em;
  padding: 1em 1.4em;
  border-radius: 0.5em;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  color: #fff;
}

.notes-btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.notes-btn--estimate {
  background: #f8b856;
}

.notes-btn--contact {
  background: #00ada9;
}

@media (max-width: 560px) {
  .notes-formula {
    font-size: 1.3rem;
  }

  .notes-btn {
    min-width: 160px;
    font-size: 0.95rem;
  }


  .notes-formula {
    font-size: 1.5em;
    font-weight: 900;
    color: #222;
    letter-spacing: 0.04em;
    line-height: 1.4;
  }

  .notes-formula-box {
    padding: 1em 0.5em;
    text-align: center;
    margin-bottom: 1.5em;
  }

  .notes-formula-sub {
    font-size: 1.25em;
    font-weight: 700;
    color: #333;
    margin-top: 0.6em;
    letter-spacing: 0.03em;
  }

  .notes-cta-text {
    font-size: 1em;
    font-weight: 700;
    color: #00ada9;
    line-height: 1.9;
    margin-bottom: 2em;
    letter-spacing: 0.03em;
  }




}

#select-eircon {
  margin-bottom: 7em;
}

p.hosokuS {
  text-align: center;
  font-size: 0.95em;
  margin-bottom: 2em;
}

@media (max-width: 560px) {
  p.hosokuS {
    font-size: 1em;
  }

}

ul.select-eircon-list {
  display: flex;
  flex-wrap: wrap;
  margin: 2em auto;
  justify-content: space-between;
  width: 100%;
}

ul.select-eircon-list li {
  width: 30%;
  padding: 0.5em;
}



div.btn-a {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: 2em auto;
}

div.btn-a a {
  display: flex;
  width: 13em;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  padding: 0.8em 1.2em;
  background: #f8b856;
  color: #fff;
  border-radius: 2.5em;
  text-decoration: none;
  box-sizing: border-box;
  margin: 0 0.5em;
  font-weight: bold;
}

div.btn-a a:last-child {
  background: #00ada9;
}

div.btn-a a::after {
  content: "›";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 25px;
  line-height: 1;
}

div.btn-a a:hover {
  opacity: 0.7;
  transition: opacity 0.2s;
}

@media (max-width: 768px) {
  div.btn-a {
    flex-direction: column;
    gap: 0.8em;
  }

  div.btn-a a {
    width: 100%;
    margin: 0;
  }
}

/* =============================================
 SELECT EIRCON
 ============================================= */

/* Hero 背景上書き */
.fp-hero-bg--select {
  background-image: url('../img/select.jpg');
}

.fp-hero-bg--kindergarten {
  background-image: url('../img/kindergarten.jpg');
}

/* メーカーロゴ */
.se-makers-section {
  padding: 3em 0 1em;
}

.se-maker-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5em 1.5em;
  margin: 1.5em auto 2.5em auto;
  list-style: none;
  padding: 0;
  width: 80%;
}

.se-maker-list li {
  width: 40%;
}

.se-maker-list li img {
  width: 100%;
  object-fit: contain;
}

.se-maker-note {
  text-align: center;
  margin: 0 0 1.5em;
  font-size: 0.95em;
  color: #555;
}

/* 「迷ったら診断へ」導線バナー */
.se-diag-banner {
  max-width: 560px;
  margin: 0 auto;
  background: #e0f0eb;
  border-radius: 1em;
  padding: 1.3em 1.5em;
  text-align: center;
}

.se-diag-text {
  font-size: 0.95em;
  font-weight: 700;
  color: #043b37;
  margin-bottom: 0.8em;
}

.se-diag-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: #00ada9;
  color: #fff;
  font-size: 0.95em;
  font-weight: 700;
  padding: 0.6em 1.4em;
  border-radius: 2em;
  text-decoration: none;
  transition: opacity 0.2s;
}

.se-diag-btn:hover {
  opacity: 0.75;
}

.se-diag-btn .circle-arrow {
  width: 1.8em;
  height: 1.8em;
  border-color: #fff;
  color: #fff;
}

.se-compare-note {
  text-align: center;
  margin: 1em 0 2em;
  font-size: 0.85em;
  color: #777;
  line-height: 1.8;
}
@media (max-width: 768px) {

.se-maker-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em 1.5em;
  margin: 0 auto 1.5em auto;
  list-style: none;
  padding: 0;
  width: 100%;
}

.se-maker-list li {
  width: 45%;
}




}
/* セクションヘッド オレンジ色バリエーション */
.se-en--orange {
  color: #f8b856 !important;
}

/* 設置場所セクション */
.se-location-section {
  padding: 2em 0 3em;
}

.se-location-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25em;
}

.se-location-card {
  border: 1px solid #e0e0e0;
  border-radius: 0.5em;
  overflow: hidden;
  transition: opacity 0.2s;
  display: flex;
  flex-direction: column;
  width: calc(25% - 0.9375em);
  color: inherit;
  text-decoration: none;
}

.se-location-img {
  overflow: hidden;
}

.se-location-img img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.se-location-card:hover .se-location-img img {
  transform: scale(1.07);
  opacity: 0.75;
}

.se-location-body {
  padding: 0.6em 0.75em 0.75em;
  background-color: #00ada9;

}

.se-location-name {
  font-weight: 700;
  font-size: 0.9em;
  margin-bottom: 0.2em;
  color: #ffffff;
  text-align: center;
}

.se-location-btns {
  display: flex;
  gap: 0.3em;
  flex-wrap: wrap;
}

.se-loc-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.25em 0.65em;
  background: #f8b856;
  color: #fff;
  border-radius: 2em;
  font-size: 0.72em;
  text-decoration: none;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.se-loc-btn:hover {
  opacity: 0.7;
}

.se-loc-model-row {
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.4em 0.75em;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  color: #333;
  font-size: 0.82em;
  font-weight: 500;
  transition: opacity 0.2s;
}

.se-loc-model-row img {
  width: 65px;
  height: 38px;
  object-fit: cover;
  border-radius: 0.2em;
  flex-shrink: 0;
}

.se-loc-model-row:hover {
  opacity: 0.7;
}

/* 型式セクション */
.se-model-section {
  background: #abeee5;
  padding: 3em 0 4em;
}

.se-model-list {
  display: flex;
  flex-direction: column;
}

.se-model-item {
  background: #fff;
  border-radius: 0.75em;
  padding: 1.5em 1em;
  display: block;
  align-items: flex-start;
  transition: opacity 0.2s;
  margin-bottom: 1.5em;
  scroll-margin-top: calc(80px + 3em);
}


.item-model {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0;
}

.model-img {
  width: 45%;
  height: auto;
  object-fit: cover;
  border-radius: 0.4em;
  padding: 0.5em;
}

.model-img img {
  width: 95%;
  object-fit: cover;
  border-radius: 0.4em;

}

.model-name {
  width: 45%;
}

.model-name h3 {
  font-size: 1.1em;
  font-weight: bold;
  text-align: left;
  padding-bottom: 0.25em;
  margin-bottom: 0.25em;
  border-bottom: 2px solid #00ada9;
  line-height: 1.5;
}

.model-name p {
  font-size: 0.88em;
  margin-bottom: 1em;
  line-height: 1.7;
}

.model-btn {
  background: #f8b856;
  color: #fff;
  font-size: 1em;
  font-weight: 700;
  width: fit-content;
  padding: 0.5em 1.2em;
  border-radius: 0.5em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.model-btn::after {
  content: "›";
  font-size: 2em;
  padding-left: 0.2em;
  line-height: 0;
  transform: translateY(-0.08em);
}






.item-location {
  width: 100%;
  padding: 0
}


.item-location h4 {
  text-align: center;
  font-size: 1em;
  font-weight: bold;
margin-top: 0.5em;
}

.item-location ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5em;
}

.item-location ul li {
  width: fit-content;
  flex: 0 0 auto;
  background-color: #00ada9;
  color: #fff;
  font-size: 1em;
  font-weight: 700;
  padding: 0.25em 0.85em;
  border-radius: 0.5em;
  margin: 0.25em 0.25em;
  letter-spacing: 0.25em;
  white-space: nowrap;
}











@media (max-width: 768px) {
  .item-model {
    flex-direction: column;
  }

  .model-img {
    width: 100%;
    padding: 0.5em 0.5em 0;
  }

  .model-img img {
    width: 100%;
  }

  .model-name {
    width: 100%;
    padding: 0.75em 1em;
  }

  .model-btn {
    width: 100%;
    box-sizing: border-box;
  }

  .item-location ul {
    flex-wrap: wrap;
  }
}

/* .se-model-img {
  flex-shrink: 0;
  width: 200px;
}
.se-model-img img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 0.4em;
  display: block;
}
.se-model-body {
  flex: 1;
}
.se-model-name {
  font-size: 1.1em;
  font-weight: 700;
  margin-bottom: 0.4em;
  color: #333;
}
.se-model-desc {
  font-size: 0.88em;
  color: #555;
  margin-bottom: 1em;
  line-height: 1.7;
}
.se-model-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55em 1.5em;
  background: #f8b856;
  color: #fff;
  border-radius: 2em;
  font-size: 0.88em;
  text-decoration: none;
  margin-bottom: 0.9em;
  transition: opacity 0.2s;
}
.se-model-cta:hover {
  opacity: 0.7;
}
.se-model-tags-label {
  font-size: 0.78em;
  color: #888;
  margin-bottom: 0.4em;
}
.se-model-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
}
.se-tag {
  display: inline-flex;
  padding: 0.2em 0.75em;
  background: #00ada9;
  color: #fff;
  border-radius: 2em;
  font-size: 0.78em;
} */

/* se-model レスポンシブ */
@media (max-width: 768px) {
  .item-model {
    flex-direction: column;
  }

  .model-img {
    width: 80%;
    padding: 0.5em 0;
  }

  .model-name {
    width: 90%;
    padding: 0 0.5em;
  }

  .item-location ul {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .model-img {
    width: 100%;
  }

  .model-name {
    width: 100%;
  }

  .model-name h3 {
    font-size: 1em;
  }

  .model-name p {
    font-size: 0.82em;
  }

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

  .item-location ul li {
    font-size: 0.85em;
    padding: 0.2em 0.8em;
    letter-spacing: 0.1em;
      margin: 0.25em 0.25em;

  }


/* .item-location ul li {
  width: fit-content;
  background-color: #00ada9;
  color: #fff;
  font-size: 1em;
  font-weight: 700;
  padding: 0.25em 1.2em;
  border-radius: 0.5em;
  margin: 1em 0.25em;
  letter-spacing: 0.25em;
} */



}

@media (max-width: 768px) {
  .se-location-card {
    width: calc(50% - 0.625em);
  }
}

/* =============================================
   SUBPAGE HERO（下層ページ共通）
   ============================================= */
.subpage-hero {
  position: relative;
  height: 260px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.subpage-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.6);
}

.subpage-hero-text {
  position: relative;
  z-index: 2;
  color: #fff;
}

.subpage-hero-en {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

.subpage-hero-ja {
  font-size: 1rem;
  margin-top: 10px;
  letter-spacing: 0.12em;
}

/* =============================================
   Q&A PAGE
   ============================================= */
.qa-lead {
  width: 100%;
  text-align: center;
  padding: 52px 20px 36px;
  color: #00ada9;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 2.1;
}

.qa-list {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px 72px;
}

.qa-item {
  padding: 28px 0;
  border-bottom: 1px solid #ddd;
}

.qa-item:first-child {
  border-top: 1px solid #ddd;
}

.qa-category {
  background: #00ada9;
  color: #fff;
  padding: 13px 20px;
  margin: 48px 0 0;
  border-radius: 5px;
  font-size: 1.05rem;
  font-weight: 700;
  scroll-margin-top: 80px;
}

.qa-category + .qa-item {
  border-top: 1px solid #ddd;
}

.qa-closing {
  text-align: center;
  margin-top: 56px;
  font-weight: 700;
  font-size: 1rem;
}

.qa-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.qa-row+.qa-row {
  margin-top: 14px;
}

/* --- QA アコーディオン --- */
.qa-item .qa-row:first-child {
  cursor: pointer;
  user-select: none;
  position: relative;
  padding-right: 36px;
}

.qa-item .qa-row:first-child::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  font-size: 1.65rem;
  font-weight: 300;
  color: #00ada9;
  line-height: 1;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.qa-item.is-open .qa-row:first-child::after {
  transform: translateY(-50%) rotate(45deg);
}

.qa-item .qa-row + .qa-row {
  overflow: hidden;
  max-height: 0;
  margin-top: 0;
  transition: max-height 0.35s ease, margin-top 0.35s ease;
}

.qa-item.is-open .qa-row + .qa-row {
  max-height: 600px;
  margin-top: 14px;
}

.qa-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  line-height: 1;
  margin-top: 1px;
}

.qa-icon-q {
  background: #00ada9;
}

.qa-icon-a {
  background: #f39800;
}

.qa-question {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.65;
  color: #222;
  padding-top: 3px;
  min-width: 0;
  overflow-wrap: break-word;
}

.qa-answer {
  font-size: 0.95rem;
  line-height: 1.85;
  color: #444;
  padding-top: 3px;
  min-width: 0;
  overflow-wrap: break-word;
}

@media (max-width: 700px) {
  .subpage-hero {
    height: 160px;
  }

  .subpage-hero-en {
    font-size: 2rem;
  }

  .qa-lead {
    font-size: 0.9rem;
    padding: 36px 16px 24px;
  }

  .qa-list {
    padding: 0 25px 48px;
  }

  .qa-question {
    font-size: 0.95rem;
  }

  .qa-answer {
    font-size: 0.9rem;
  }
}

/* =============================================
   COMPANY PAGE
   ============================================= */

.company-ja {
  font-size: 0.95rem;
  font-weight: 400;
  color: #555;
  letter-spacing: 0.1em;
  margin-top: 6px;
}

/* タブナビゲーション */
.company-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 32px 20px;
  background: #fff;
}

/* Q&Aページ：カテゴリボタンを2列均等グリッドに */
.qa-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 640px;
  margin: 0 auto;
}
.qa-tabs .company-tab { width: 100%; }

@media (max-width: 640px) {
  .qa-tabs { grid-template-columns: 1fr; }
}

.company-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  padding: 10px 28px;
  border-radius: 2em;
  border: 2px solid #00ada9;
  color: #00ada9;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  transition: background 0.2s, color 0.2s;
}

.company-tab:hover,
.company-tab.is-active {
  background: #00ada9;
  color: #fff;
}

/* セクション共通 */
.company-section {
  padding: 64px 0 72px;
}

.company-section--gray {
  background: #f7f7f7;
}

/* ご挨拶 */
.greeting-title {
  font-size: 1.25em;
  font-weight: 700;
  color: #222;
  margin-bottom: 1.2em;
  border-left: 4px solid #00ada9;
  padding-left: 0.5em;
}

.greeting-body p {
  font-size: 0.95rem;
  line-height: 2;
  color: #444;
  margin-bottom: 0.8em;
}

.greeting-sign {
  text-align: right;
  font-size: 0.9rem;
  color: #555;
  margin-top: 2em;
}

/* 会社概要テーブル */
.company-table {
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
}

.company-table th,
.company-table td {
  padding: 14px 20px;
  border-bottom: 1px solid #ddd;
  font-size: 0.9rem;
  line-height: 1.9;
  vertical-align: top;
  text-align: left;
}

.company-table th {
  width: 160px;
  background: #e4f4f3;
  font-weight: 700;
  white-space: nowrap;
}

/* 沿革 */
.history-list {
  margin: 0 auto;
  padding: 0 20px;
}

.history-item {
  display: flex;
  gap: 2.5em;
  padding: 18px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.9rem;
  line-height: 1.9;
}

.history-item dt {
  flex-shrink: 0;
  width: 76px;
  font-weight: 700;
  color: #00ada9;
}

.history-item dd {
  color: #444;
}

@media (max-width: 640px) {
  .company-tabs {
    gap: 10px;
    padding: 20px 16px;
  }

  .company-tab {
    min-width: 80px;
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .company-section {
    padding: 44px 0 52px;
  }

  .greeting-wrap {
    padding-left: 20px;
  }

  .company-table tr {
    display: block;
    margin-bottom: 4px;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
  }

  .company-table th {
    width: 100%;
    white-space: normal;
    border-bottom: none;
    padding-bottom: 6px;
  }

  .company-table td {
    padding-top: 6px;
  }

  .history-item {
    flex-direction: column;
    gap: 4px;
  }

  .history-item dt {
    width: auto;
  }
}


/* =====================================================
   OUR WORKS ページ
   ===================================================== */

/* ヒーロー背景上書き */
.fp-hero-bg--works {
  background-image: url('../img/ourw.jpg');
}

/* リード */
.works-lead-text {
  color: #00ada9;
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0;
}

.works-lead-btn {
  display: inline-block;
  background: #f4903a;
  color: #fff;
  font-weight: 700;
  padding: 0.6em 2.2em;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: opacity 0.2s;
}

.works-lead-btn:hover {
  opacity: 0.82;
}

/* クライアントロゴグリッド */
.works-clients {
  padding: 3em 0;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25em;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.9em;
  aspect-ratio: 2 / 1;
  overflow: hidden;
}

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

.clients-note {
  text-align: right;
}

/* 施工事例カード */
.works-projects {
  padding: 3em 0 4.5em;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5em;
  margin-top: 2em;
}

.project-card {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.project-img img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}

.project-category {
  background: #f4903a;
  color: #fff;
  font-weight: 700;
  text-align: center;
  padding: 0.45em 0;
  font-size: 0.88rem;
  margin: 0;
}

.project-details {
  padding: 0.8em 1em 0.2em;
  margin: 0;
}

.project-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
  padding: 0.28em 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.8rem;
}

.project-detail-row:last-child {
  border-bottom: none;
}

.project-detail-row dt {
  flex-shrink: 0;
  color: #00ada9;
  font-weight: 700;
  padding: 0.12em 0.5em;
  border-radius: 2px;
  font-size: 0.85rem;
  white-space: nowrap;
}

.project-detail-row dd {
  margin: 0;
  color: #333;
  line-height: 1.5;
  padding-top: 0.08em;
}

.project-desc {
  padding: 0.75em 1em 1em;
  font-size: 0.8rem;
  line-height: 1.8;
  color: #555;
  margin: 0;
}

@media (max-width: 900px) {
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 600px) {
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
      gap: 0.15em;

  }

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

  .works-lead-text {
    font-size: 0.9rem;
  }
}

/* 施工実績 業種別タブ */
.works-tab-section {
  padding: 3em 0 0.5em;
}

.works-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
}

.works-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 100px;
  padding: 10px 28px;
  border-radius: 2em;
  border: 2px solid #00ada9;
  background: #fff;
  color: #00ada9;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  line-height: 1.4;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-family: inherit;
}

.works-tab--all {
  grid-column: 1 / -1;
  width: 50%;
  margin: 0 auto;
}

.works-tab.is-active,
.works-tab:hover {
  background: #00ada9;
  color: #fff;
}

.works-tab-panels {
  padding: 2em 0 0.5em;
}

.works-panel-placeholder {
  text-align: center;
  color: #888;
  font-size: 0.95rem;
  padding: 1em 0;
}

.works-panel {
  display: none;
  padding: 3em 0;
}

.works-panel.is-active {
  display: block;
}

.works-panel-head {
  text-align: center;
  margin-bottom: 1.2em;
}

@media (max-width: 600px) {
  .works-tabs {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .works-tab {
    min-width: 80px;
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .works-tab--all {
    width: 100%;
  }
}


/* =====================================================
   採用ページ
   ===================================================== */

.recruit-lead {
  padding: 3em 0 2.5em;
  text-align: center;
}

.recruit-lead-text {
  color: #00ada9;
  font-size: 1.6rem;
  font-weight: 700;
}

/* 画像＋テキスト交互レイアウト */
.recruit-content-section {
  padding: 3.5em 0;
}

.recruit-row {
  display: flex;
  align-items: center;
  gap: 3em;
}

.recruit-row-img {
  flex: 0 0 45%;
  height: 300px;
  overflow: hidden;
  border-radius: 4px;
}

.recruit-row-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.recruit-row-body {
  flex: 1;
}

.recruit-content-en {
  color: #00ada9;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.25em;
}

.recruit-content-ja {
  font-size: 1.35rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 1em;
}

.recruit-body-text {
  font-size: 0.88rem;
  line-height: 1.95;
  color: #444;
}

/* 採用詳細セクション */
.recruit-details-section {
  padding: 3em 0 4.5em;
}

/* タブ */
.recruit-tabs {
  display: flex;
  gap: 0.75em;
  flex-wrap: wrap;
  margin-bottom: 2em;
  justify-content: center;
}

.recruit-tab {
  padding: 0.45em 1.6em;
  border-radius: 999px;
  border: 2px solid #f4903a;
  background: #fff;
  color: #f4903a;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-family: inherit;
}

.recruit-tab.is-active,
.recruit-tab:hover {
  background: #f4903a;
  color: #fff;
}

.recruit-panel {
  display: none;
}

.recruit-panel.is-active {
  display: block;
}

.recruit-panel-title {
  color: #00ada9;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.2em;
}

/* CTA */
.recruit-cta {
  padding: 3.5em 0 4.5em;
  background: #f9f9f9;
  text-align: center;
}

.recruit-cta-text {
  color: #00ada9;
  font-weight: 700;
  font-size: 1rem;
  line-height: 2;
  margin-bottom: 1.5em;
}

.recruit-cta-divider {
  border: none;
  border-top: 2px solid #00ada9;
  width: 60px;
  margin: 0 auto 1.5em;
}

.recruit-cta-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-size: 2.4rem;
  font-weight: 700;
  color: #222;
  margin: 0;
}

.recruit-cta-tel img {
  width: auto;
  height: 42px;
}

/* =====================================================
   施工ギャラリースライドショー
   ===================================================== */
.gallery-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 6px;
  background: #111;
  cursor: grab;
  touch-action: pan-y;
}
.gallery-slider.is-grabbing {
  cursor: grabbing;
}
.gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.gallery-slide.is-active {
  position: relative;
  opacity: 1;
}
.gallery-slide img {
  width: 100%;
  height: auto;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
}
.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.38);
  color: #fff;
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.gallery-btn:hover { background: rgba(0, 0, 0, 0.65); }
.gallery-btn--prev { left: 14px; }
.gallery-btn--next { right: 14px; }
.gallery-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  z-index: 2;
}
.gallery-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.2s;
  border: none;
}
.gallery-dot.is-active { background: #fff; }

@media (max-width: 600px) {
  .gallery-btn { width: 36px; height: 36px; font-size: 1.4rem; }
}

@media (max-width: 768px) {
  .recruit-lead-text {
    font-size: 1.15rem;
  }

  .recruit-row {
    flex-direction: column;
    gap: 1.5em;
  }
  .recruit-content-section--alt .recruit-row {
    flex-direction: column-reverse;
  }

  .recruit-row-img {
    flex: none;
    width: 100%;
    height: 220px;
  }

  .recruit-cta-tel {
    font-size: 1.8rem;
  }
}

/* =============================================
   SERVICE PAGE
   ============================================= */

/* タブ切り替えボタン（company-tab に統一） */
.service-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 20px;
  background: #fff;
}

.service-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 100px;
  padding: 10px 28px;
  border-radius: 2em;
  border: 2px solid #00ada9;
  background: #fff;
  color: #00ada9;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-family: inherit;
}

.service-tab.is-active,
.service-tab:hover {
  background: #00ada9;
  color: #fff;
}

@media (max-width: 640px) {
  .service-tabs {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 20px 16px;
  }
  .service-tab {
    min-width: 80px;
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}

/* パネル共通 */
.service-panel {
  display: none;
}

.service-panel.is-active {
  display: block;
}

/* パネルタイトル */
.sv-panel-head {
  text-align: center;
  padding: 2.5em 20px 1.5em;
}

.sv-panel-head .en {
  font-size: 1.9rem;
  font-weight: 700;
  color: #00ada9;
  letter-spacing: 0.1em;
  line-height: 1;
}

.sv-panel-head .ja {
  font-size: 0.92rem;
  font-weight: 400;
  color: #555;
  letter-spacing: 0.18em;
  margin-top: 0.5em;
}

/* 左バー付き見出し */
.sv-heading {
  display: flex;
  align-items: center;
  gap: 0.65em;
  font-size: 1.02rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 1.4em;
}

.sv-heading::before {
  content: '';
  display: block;
  width: 4px;
  min-height: 1.1em;
  background: #00ada9;
  border-radius: 2px;
  flex-shrink: 0;
  align-self: stretch;
}

/* 共通セクションパディング */
.sv-section {
  padding: 2.5em 0 1.5em;
}

.sv-section--alt {
  background: #f7fafa;
}

/* 6ボックスグリッド */
.sv-box-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 1.8em;
}

.sv-box {
  border-radius: 4px;
  padding: 0.9em 1em;
  font-size: 0.82rem;
  line-height: 1.8;
  background: #e4f4f3;
}

.sv-box-title {
  font-weight: 700;
  color: #04706e;
  font-size: 0.88rem;
  margin-bottom: 0.3em;
}

.sv-box ul {
  list-style: none;
  padding: 0;
}

.sv-box .sv-box-note {
  color: #00ada9;
  font-size: 0.8rem;
}

.sv-box .sv-box-warn {
  color: #f4903a;
  font-size: 0.8rem;
}

/* 注意点バッジ */
.sv-notice {
  display: flex;
  align-items: center;
  gap: 0.75em;
  border-radius: 4px;
  padding: 0.7em 1.2em;
  margin-bottom: 2em;
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.sv-notice-badge {
  background: #f4903a;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2em 0.75em;
  border-radius: 3px;
  white-space: nowrap;
}

/* 画像＋テキスト横並び */
.sv-row {
  display: flex;
  align-items: center;
  gap: 2.5em;
  margin-bottom: 1.5em;
}

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

.sv-row-img {
  flex: 0 0 44%;
  overflow: hidden;
  border-radius: 4px;
}

.sv-row-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

.sv-row-body {
  flex: 1;
}

.sv-row-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #00ada9;
  margin-bottom: 0.8em;
}

.sv-body-text {
  font-size: 0.87rem;
  line-height: 2;
  color: #444;
}

/* 画像3枚横並びリスト */
.sv-img-list {
  display: flex;
  gap: 1em;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5em;
}

.sv-img-list li {
  flex: 1;
  overflow: hidden;
  border-radius: 4px;
}

.sv-img-list img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .sv-img-list {
    flex-direction: column;
  }
}

/* オレンジCTAボタン */
.sv-orange-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  background: #f8b856;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.7em 2em;
  border-radius: 999px;
  margin: 1.2em auto 0 auto;
  transition: opacity 0.2s;
}

.sv-orange-btn:hover { opacity: 0.85; }

.sv-orange-btn::after {
  content: '→';
  font-size: 1.1em;
}

/* グリーンCTAボタン */
.sv-green-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  background: #00ada9;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.7em 2em;
  border-radius: 999px;
  margin: 1.2em auto 0 auto;
  transition: opacity 0.2s;
}

.sv-green-btn:hover { opacity: 0.85; }

.sv-green-btn::after {
  content: '→';
  font-size: 1.1em;
}

/* ハイライトテキスト */
.sv-highlight-text {
  text-align: center;
  color: #00ada9;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 2.2;
  padding: 2em 20px;
}


.sv-lead-text {
  text-align: center;
  font-size: 0.9rem;
  color: #444;
  line-height: 2;
  margin-bottom: 2em;
}

.sv-lead-sub {
  font-size: 0.82rem;
  color: #777;
  text-align: center;
  margin-bottom: 1em;
}

/* 施設グリッド（8カテゴリ） */
.sv-facility-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 2em;
}

.sv-facility-item {
  display: flex;
  gap: 1em;
  align-items: flex-start;
}

.sv-facility-img {
  flex: 0 0 130px;
  height: 85px;
  overflow: hidden;
  border-radius: 4px;
}

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

.sv-facility-body {
  flex: 1;
}

.sv-facility-en {
  font-weight: 700;
  color: #00ada9;
  font-size: 0.92rem;
  line-height: 1.2;
}

.sv-facility-ja {
  font-weight: 700;
  font-size: 0.85rem;
  color: #222;
  margin-bottom: 0.25em;
}

.sv-facility-text {
  font-size: 0.8rem;
  color: #555;
  line-height: 1.7;
}

/* フォト2枚横並び */
.sv-photo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 0.5em;
}

.sv-photo-pair figure {
  margin: 0;
}

.sv-photo-pair img {
  border-radius: 4px;
  display: block;
}

.sv-photo-pair figcaption {
  font-size: 0.8rem;
  color: #555;
  margin-top: 0.4em;
  text-align: center;
}

/* フォト4枚グリッド */
.sv-photo-grid4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 2em;
}

.sv-photo-grid4 figure {
  margin: 0;
}

.sv-photo-grid4 img {
  border-radius: 4px;
  display: block;
  width: 100%;
}

.sv-photo-grid4 figcaption {
  font-size: 0.8rem;
  color: #555;
  margin-top: 0.4em;
  text-align: center;
}

/* Before/After フォトグリッド */
.sv-ba-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 0.5em;
}

.sv-ba-row figure {
  margin: 0;
}

.sv-ba-row img {
  border-radius: 4px;
  display: block;
  width: 100%;
}

.sv-ba-row figcaption {
  font-size: 0.78rem;
  color: #555;
  margin-top: 0.35em;
  text-align: center;
}

.sv-ba-arrows {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0.25em 0;
}

.sv-ba-arrows span {
  text-align: center;
  font-size: 1.6rem;
  color: #00ada9;
  line-height: 1;
}

/* ベネフィットリスト */
.sv-benefit-list {
  list-style: none;
  padding: 0;
  margin: 0.5em 0 2em;
}

.sv-benefit-list li {
  display: flex;
  align-items: baseline;
  gap: 0.7em;
  font-size: 1.05rem;
  font-weight: 700;
  color: #222;
  padding: 0.45em 0;
  border-bottom: 1px solid #eee;
}

.sv-benefit-list li::before {
  content: '□';
  color: #00ada9;
  font-size: 1em;
  flex-shrink: 0;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .sv-box-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sv-row,
  .sv-row--reverse {
    flex-direction: column;
  }

  .sv-row-img {
    flex: none;
    width: 100%;
    max-height: 220px;
  }

  .sv-orange-btn,
  .sv-green-btn {
    display: block;
    width: fit-content;
  }

  .sv-facility-grid {
    grid-template-columns: 1fr;
  }

  .sv-ba-row,
  .sv-ba-arrows {
    grid-template-columns: 1fr;
  }

  .sv-panel-head .en {
    font-size: 1.4rem;
  }

  .sv-highlight-text {
    font-size: 0.95rem;
  }
}

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

  .sv-photo-pair,
  .sv-photo-grid4 {
    grid-template-columns: 1fr;
  }

  .sv-makers img {
    height: 28px;
  }
}

/* =============================================
   PARTNER PAGE
   ============================================= */

.partner-lead {
  padding: 3em 0 2.5em;
  text-align: center;
}

.partner-lead-text {
  color: #00ada9;
  font-size: 1.6rem;
  font-weight: 700;
}

.partner-lead-sub {
  font-size: 0.92rem;
  color: #555;
  margin-top: 1em;
  line-height: 2.1;
}

/* 登録協力会社数 */
.partner-count {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3em;
  margin: 1.5em auto 0;
  padding: 1em 2.2em;
  border-radius: 999px;
  background: #e4f4f3;
  border: 1.5px solid #b4dedd;
}

.partner-count-label {
  font-size: 1rem;
  font-weight: 700;
  color: #04706e;
  letter-spacing: 0.04em;
}

.partner-count-num {
  font-size: 3rem;
  font-weight: 700;
  color: #00ada9;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 0.15em;
}

.partner-count-unit {
  font-size: 1.1rem;
  font-weight: 700;
  color: #04706e;
}

/* Win-Win カード */
.partner-merit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 2em 0;
}

.partner-merit-card {
  border-radius: 8px;
  padding: 2em 1.8em;
}

.partner-merit-card--partner {
  background: #00ada9;
  color: #fff;
}

.partner-merit-card--us {
  background: #e4f4f3;
  color: #222;
}

.partner-merit-card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.2em;
  padding-bottom: 0.6em;
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
}

.partner-merit-card--us .partner-merit-card-title {
  color: #00ada9;
  border-bottom-color: #b4dedd;
}

.partner-merit-card ul {
  list-style: none;
  padding: 0;
}

.partner-merit-card ul li {
  padding: 0.45em 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.9rem;
  display: flex;
  align-items: baseline;
  gap: 0.6em;
}

.partner-merit-card--us ul li {
  border-bottom-color: #cce9e7;
}

.partner-merit-card ul li::before {
  content: '✓';
  font-weight: 700;
  flex-shrink: 0;
  font-size: 0.85em;
}

.partner-merit-card--partner ul li::before { color: #9ee8e4; }
.partner-merit-card--us ul li::before     { color: #00ada9; }

/* 仕事内容カード */
.partner-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 1.5em 0 2.5em;
}

a.partner-work-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.partner-work-card {
  border: 1.5px solid #00ada9;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  background: #fff;
  cursor: pointer;
}

.partner-work-card-img img {
  transition: transform 0.4s ease, opacity 0.4s ease;
}

a.partner-work-card-link:hover .partner-work-card-img img {
  transform: scale(1.07);
  opacity: 0.75;
}

.partner-work-card-img {
  width: 100%;
  height: 150px;
  overflow: hidden;
}

.partner-work-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.partner-work-card-body {
  padding: 1em 1em 1.2em;
}

.partner-work-card-en {
  font-size: 0.72rem;
  color: #00ada9;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.partner-work-card-ja {
  font-size: 0.95rem;
  font-weight: 700;
  color: #222;
  margin: 0.25em 0 0.5em;
}

.partner-work-card-text {
  font-size: 0.8rem;
  color: #555;
  line-height: 1.75;
  text-align: left;
}

/* 応募の流れ */
.partner-flow {
  display: flex;
  align-items: stretch;
  margin: 1.5em 0 2.5em;
}

.partner-flow-step {
  flex: 1;
  text-align: center;
  padding: 1.6em 0.8em;
  background: #e4f4f3;
  position: relative;
}

.partner-flow-step:nth-child(even) {
  background: #cde8e7;
}

.partner-flow-step:not(:last-child)::after {
  content: '›';
  position: absolute;
  right: -0.55em;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: #00ada9;
  font-weight: 700;
  z-index: 1;
  line-height: 1;
}

.partner-flow-num {
  font-size: 0.72rem;
  font-weight: 700;
  color: #00ada9;
  letter-spacing: 0.06em;
  margin-bottom: 0.4em;
}

.partner-flow-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #222;
  line-height: 1.5;
}

.partner-bg-alt   { background: #f7fafa; padding: 3em 0; }
.partner-bg-white { padding: 3em 0; }

@media (max-width: 768px) {
  .partner-merit-grid  { grid-template-columns: 1fr; }
  .partner-work-grid   { grid-template-columns: 1fr; }

  .partner-flow {
    flex-direction: column;
    gap: 6px;
  }

  .partner-flow-step::after { display: none; }

  .partner-lead-text { font-size: 1.15rem; }

  .partner-count-num { font-size: 2rem; }
}

/* =============================================
   POLICY PAGE
   ============================================= */

.policy-section {
  padding: 4em 0 5em;
}

.policy-lead {
  font-size: 0.92rem;
  line-height: 2;
  color: #444;
  border-left: 4px solid #00ada9;
  padding-left: 1.2em;
  margin-bottom: 3em;
}

.policy-block {
  margin-bottom: 2.8em;
}

.policy-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: #00ada9;
  padding: 0.55em 1.2em;
  border-radius: 3px;
  margin-bottom: 1em;
}

.policy-text {
  font-size: 0.9rem;
  line-height: 2;
  color: #444;
  padding: 0 0.5em;
}

.policy-list {
  list-style: none;
  padding: 0 0.5em;
  margin-top: 0.8em;
}

.policy-list li {
  font-size: 0.9rem;
  line-height: 1.9;
  color: #444;
  padding: 0.4em 0 0.4em 1.4em;
  border-bottom: 1px solid #eee;
  position: relative;
}

.policy-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: #00ada9;
  font-weight: 700;
  font-size: 1.1em;
}

/* =============================================
   TOPに戻るボタン
   ============================================= */
#back-to-top {
  position: fixed;
  bottom: 63px;
  right: 24px;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #333;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, background 0.2s ease;
}

#back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

#back-to-top:hover {
  background: #00ada9;
}

.back-to-top-arrow {
  font-size: 1rem;
  line-height: 1;
  font-weight: 700;
}

.back-to-top-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

/* =============================================
   OPENING ANIMATION
   ============================================= */

#opening-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: opening-fade 2.6s ease forwards;
  pointer-events: none;
}

#opening-logo {
  width: min(420px, 90vw);
  height: auto;
  opacity: 0;
  animation: opening-logo-anim 2.6s ease forwards;
}

@media (max-width: 768px) {
  #opening-logo {
    width: min(300px, 90vw);
  }
}

/* オーバーレイ：フェードイン→維持→フェードアウト */
@keyframes opening-fade {
  0%   { opacity: 1; }
  30%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { opacity: 0; }
}

/* ロゴ：フェードイン→維持 */
@keyframes opening-logo-anim {
  0%   { opacity: 0; transform: scale(0.96); }
  25%  { opacity: 1; transform: scale(1); }
  85%  { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.02); }
}

/* =============================================
   補助金ページ (subsidy.php)
   ============================================= */

.subsidy-merit {
  background: #f2fafd;
  border-left: 5px solid #00ada9;
  padding: 22px 28px;
  margin: 0 0 40px;
  border-radius: 0 4px 4px 0;
}
.subsidy-merit p {
  margin: 0 0 10px;
  line-height: 1.8;
}
.subsidy-merit ul {
  margin: 10px 0 0;
  padding-left: 0;
  list-style: none;
}
.subsidy-merit ul li {
  padding: 5px 0 5px 1.4em;
  position: relative;
  line-height: 1.7;
}
.subsidy-merit ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #00ada9;
  font-weight: 700;
}
.subsidy-merit ul li span {
  font-weight: 700;
  color:#00ada9;
}

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: bold;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
  vertical-align: middle;
}
.badge.open   { background: #e6f7ef; color: #0a8060; border: 1px solid #12a98f; }
.badge.closed { background: #f5f5f5; color: #999;    border: 1px solid #ccc; }
.badge.soon   { background: #fff8e6; color: #b07000; border: 1px solid #f8ba3f; }
.badge.info   { background: #e8f4fd; color: #1a70b8; border: 1px solid #7ab8e8; }

/* 地域ナビ（通常時はセクション内に配置、通り過ぎたら画面に固定） */
.subsidy-region-nav {
  width: max-content;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 1.5em auto 2.5em;
  padding: 10px 14px;
  background: #fff;
  border-radius: 999px;
}

.subsidy-region-nav.is-fixed {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 400;
  max-width: calc(100% - 32px);
  margin: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.3s ease;
  opacity: 0.85;
}

.subsidy-region-nav.is-fixed.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* fixed化した分の余白確保（is-fixed時のみ高さを持たせる） */
.subsidy-region-nav-spacer {
  height: 0;
}

.subsidy-region-nav-spacer.is-active {
  height: 60px;
}

.subsidy-region-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6em 1.6em;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid #00ada9;
  color: #00ada9;
  font-weight: 700;
  font-size: 0.92rem;
  transition: background 0.2s, color 0.2s;
}

.subsidy-region-nav a:hover {
  background: #00ada9;
  color: #fff;
}

@media (max-width: 480px) {
  .subsidy-region-nav {
    gap: 6px;
    padding: 8px 10px;
  }
  .subsidy-region-nav a {
    padding: 0.5em 1em;
    font-size: 0.82rem;
  }
  .subsidy-region-block {
    scroll-margin-top: 140px;
  }
}

.subsidy-region-block {
  scroll-margin-top: 150px;
  margin-bottom: 2.5em;
}

.subsidy-region-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #00ada9;
  border-left: 4px solid #00ada9;
  padding-left: 0.6em;
  margin-bottom: 0.8em;
}

.subsidy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 40px;
  font-size: 15px;
}
.subsidy-table th {
  background: #00ada9;
  color: #fff;
  padding: 11px 15px;
  text-align: left;
  font-weight: bold;
  border: 1px solid #ddd;
  white-space: nowrap;
}
.subsidy-table td {
  padding: 12px 15px;
  border: 1px solid #ddd;
  vertical-align: middle;
  line-height: 1.6;
}
.subsidy-table tr:nth-child(even) td { background: #f8fffe; }
.subsidy-table tr:hover td           { background: #f0faf7; }

.subsidy-table .col-title { width: auto; }
.td-sub {
  font-size: 12px;
  color: #999;
  margin-top: 0.25em;
  line-height: 1.6;
}
.td-inline-label {
  margin-right: 0.3em;
}


.subsidy-table .col-rate { width: 290px; }
.rate-value {
  color: #e00;
  font-weight: bold;
}

.subsidy-table .col-src { width: 140px; text-align: center; }
.subsidy-table .col-dl  { width: 160px; text-align: center; }

.subsidy-table td[data-label="公式サイト"],
.subsidy-table td[data-label="ダウンロード"] {
  text-align: center;
}

.subsidy-src-btn {
  display: inline-block;
  background: #eb8e32;
  color: #fff;
  padding: 8px 14px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: background 0.25s;
}
.subsidy-src-btn:hover { background: #c87820; color: #fff; text-decoration: none; }
.subsidy-src-btn .src-arrow { margin-left: 4px; color: #ffe8c0; }

.subsidy-dl-btn {
  display: inline-block;
  background: #0067bb;
  color: #fff;
  padding: 8px 14px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: background 0.25s;
}
.subsidy-dl-btn:hover { background: #004f90; color: #fff; text-decoration: none; }
.subsidy-dl-btn .dl-arrow { margin-left: 4px; color: #aaddff; }

.subsidy-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  margin-top: 1.2em;
}

.subsidy-pager-btn {
  background: #00ada9;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.35em 0.9em;
  cursor: pointer;
  font-size: 0.95em;
  transition: background 0.2s;
  line-height: 1.5;
}

.subsidy-pager-btn:hover:not(:disabled) { background: #008a86; }

.subsidy-pager-btn:disabled {
  background: #ccc;
  cursor: default;
}

.subsidy-pager-info {
  font-size: 0.95em;
  font-weight: bold;
  color: #333;
  min-width: 3.5em;
  text-align: center;
}

.subsidy-note {
  background: #fff9e6;
  border: 1px solid #f8ba3f;
  border-left: 5px solid #f8ba3f;
  padding: 15px 20px;
  margin: 0 0 40px;
  border-radius: 0 4px 4px 0;
}
.subsidy-note p {
  font-size: 14px;
  margin: 0 0 6px;
  line-height: 1.7;
}
.subsidy-note p:last-child { margin: 0; }


@media (max-width: 768px) {
  .subsidy-merit { padding: 15px 16px; }

  .subsidy-table thead { display: none; }
  .subsidy-table,
  .subsidy-table tbody,
  .subsidy-table tr,
  .subsidy-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  .subsidy-table tr {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid #ddd;
    border-top: 3px solid #12a98f;
    margin: 0 0 14px;
    background: #fff;
  }
  .subsidy-table tr:nth-child(even) td,
  .subsidy-table tr:hover td { background: #fff; }
  .subsidy-table td {
    border: none;
    border-bottom: 1px solid #eee;
    padding: 10px 14px;
    text-align: left;
    font-size: 14px;
    line-height: 1.6;
  }
  .subsidy-table td:nth-last-child(-n+2) { border-bottom: none; }
  .subsidy-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    font-weight: bold;
    color: #00ada9;
    margin-bottom: 5px;
    letter-spacing: 0.05em;
  }

  /* 申請期間／対象 のインラインラベルもPC版の帯と同じ文字色に */
  .td-inline-label {
    color: #00ada9;
    font-weight: bold;
  }
  .subsidy-table .col-rate,
  .subsidy-table .col-src,
  .subsidy-table .col-dl { width: 100%; text-align: left; }

  /* 1・2列目は全幅 */
  .subsidy-table td:nth-child(1),
  .subsidy-table td:nth-child(2) {
    flex: 0 0 100%;
  }

  /* 3列目（公式サイト）・4列目（ダウンロード）を横並びに（お知らせ資料テーブルのみ） */
  .subsidy-table:not(.subsidy-table--region) td:nth-child(3),
  .subsidy-table:not(.subsidy-table--region) td:nth-child(4) {
    flex: 1 1 50%;
    text-align: center;
  }
  .subsidy-table:not(.subsidy-table--region) td:nth-child(3) {
    border-right: 1px solid #eee;
  }

  /* 地域テーブル（3列）は公式サイト列を全幅に */
  .subsidy-table--region td:nth-child(3) {
    flex: 0 0 100%;
    text-align: center;
  }
  /* 公式サイト列はボタン自体が用途を示すのでラベルを省略 */
  .subsidy-table--region td:nth-child(3)::before {
    content: none;
  }

  /* 地域テーブルは都道府県名の見出し（thead）だけ細い帯として表示する */
  .subsidy-table--region thead {
    display: block;
    margin: 18px 0 0;
  }
  .subsidy-table--region thead:first-child {
    margin-top: 0;
  }
  .subsidy-table--region thead tr {
    display: block;
    border: none;
    margin: 0;
    background: none;
  }
  .subsidy-table--region thead th {
    display: none;
  }
  .subsidy-table--region thead th.col-title {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background: #00ada9;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border: none;
    white-space: normal;
    letter-spacing: 0.03em;
  }

  .subsidy-src-btn,
  .subsidy-dl-btn { font-size: 13px; padding: 8px 16px; }
}

/* =============================================
   SCROLL FADE-IN
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

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