@charset "UTF-8";
/*!
Theme Name: ストウ設備
Theme URI: https://sutosetsubi.local/
Description: 栃木県佐野市の給排水工事・水まわりリフォーム・ボイラー「ストウ設備」サイト用テーマ（テンプレ①ベース／ブルー基調）。
Author: PEEES
Version: 1.0.0
Text Domain: sutosetsubi
*/
/* ---------- リセット ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  --header-h: 61px;
}

@media screen and (max-width: 768px) {
  :root {
    --header-h: 54px;
  }
}
body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  color: #2b3138;
  line-height: 1.9;
  font-size: 15px;
  letter-spacing: 0.04em;
  background: #fff;
  overflow-x: hidden;
}
@media screen and (max-width: 768px) {
  body {
    font-size: 14.5px;
    line-height: 1.85;
  }
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s;
}

ul {
  list-style: none;
}

/* ---------- ローディング ---------- */
#loading {
  position: fixed;
  inset: 0;
  background: #0a2a45;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s, visibility 0.7s;
}
#loading.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.load-logo {
  color: #fff;
  text-align: center;
}
.load-logo .lg-s {
  font-size: 11px;
  letter-spacing: 0.4em;
  color: #5ec8e8;
  margin-bottom: 8px;
}
.load-logo .lg-m {
  font-size: 30px;
  letter-spacing: 0.35em;
  font-weight: 700;
}

.load-bar {
  width: 160px;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  margin: 18px auto 0;
  overflow: hidden;
}
.load-bar span {
  display: block;
  height: 100%;
  width: 40%;
  background: #5ec8e8;
  animation: lb 1.1s infinite;
}

@keyframes lb {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(350%);
  }
}
/* ---------- 共通レイアウト ---------- */
.inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.sec {
  padding: 110px 0;
}
@media screen and (max-width: 1024px) {
  .sec {
    padding: 76px 0;
  }
}
@media screen and (max-width: 768px) {
  .sec {
    padding: 62px 0;
  }
}

.sec-gray {
  background: #f2f6f9;
}

.sec-anchor,
#top {
  scroll-margin-top: var(--header-h);
}

/* ---------- セクションタイトル ---------- */
.ttl {
  margin-bottom: 44px;
}
.ttl .en {
  font-family: "Times New Roman", "Noto Serif JP", serif;
  font-size: 34px;
  letter-spacing: 0.06em;
  font-variant: small-caps;
  line-height: 1.2;
  color: #0a2a45;
  display: block;
}
@media screen and (max-width: 768px) {
  .ttl .en {
    font-size: 26px;
  }
}
.ttl .jp {
  display: block;
  font-size: 13px;
  color: #0d5c9e;
  letter-spacing: 0.22em;
  margin-top: 6px;
  padding-bottom: 14px;
  border-bottom: 1px solid #dde5ec;
}
@media screen and (max-width: 768px) {
  .ttl .jp {
    font-size: 11.5px;
  }
}
.ttl.c {
  text-align: center;
}
.ttl.c .jp {
  border-bottom: none;
  padding-bottom: 0;
}
.ttl.c .jp::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: #5ec8e8;
  margin: 14px auto 0;
}
.ttl.w .en {
  color: #fff;
}
.ttl.w .jp {
  color: #5ec8e8;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0d5c9e;
  color: #fff;
  padding: 14px 38px;
  font-size: 13px;
  letter-spacing: 0.16em;
  border-radius: 2px;
  box-shadow: 0 6px 18px rgba(13, 92, 158, 0.25);
}
.btn::after {
  content: "▶";
  font-size: 8px;
}
.btn:hover {
  background: #08447a;
  transform: translateY(-2px);
}
.btn-o {
  background: transparent;
  border: 1px solid #0d5c9e;
  color: #0d5c9e;
  box-shadow: none;
}
.btn-o:hover {
  background: #0d5c9e;
  color: #fff;
}

.lead {
  font-size: 15px;
  line-height: 2.1;
}

.lead-center {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (max-width: 768px) {
  .lead-center {
    text-align: left;
  }
}

/* ---------- 日本語の折り返し ---------- */
.lead,
.cnote,
.finfo,
.crumbs,
.work-body p,
.work-detail-body p,
.flow-item p,
.pv p,
.pv li,
.tbl td,
.tel-box .sub,
.privacy-box {
  line-break: strict;
  word-break: auto-phrase;
}

.nb {
  display: inline-block;
}

.sep {
  display: inline-block;
  margin: 0 0.7em;
  opacity: 0.55;
}

.more {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #5c6b78;
}
.more:hover {
  color: #0d5c9e;
}

/* ---------- スクロールフェード ---------- */
.fade {
  opacity: 0;
  transform: translateY(30px);
  transition: 1s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.fade.on {
  opacity: 1;
  transform: none;
}

/* ---------- 写真ブロック ---------- */
.ph {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #0d5c9e 0%, #2e8bc9 45%, #5ec8e8 100%);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.ph-dark {
  background: linear-gradient(145deg, #08213a 0%, #0d5c9e 60%, #1f7bb5 100%);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* 写真の上に白文字を載せるセクション用のシェード */
.shade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 42, 69, 0.55) 0%, rgba(10, 42, 69, 0.38) 55%, rgba(10, 42, 69, 0.6) 100%);
  z-index: 1;
}

/* 明るい水の写真の上でも見出しが沈まないよう、下層ページの
   ヒーローと帯だけシェードを濃くする */
.pagehero .shade::after,
.band .shade::after {
  background: linear-gradient(180deg, rgba(10, 42, 69, 0.62) 0%, rgba(10, 42, 69, 0.55) 50%, rgba(10, 42, 69, 0.68) 100%);
}

/* ---------- 2カラム ---------- */
.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.cols .ph {
  height: 400px;
}
.cols.rev .col-img {
  order: 2;
}
@media screen and (max-width: 1024px) {
  .cols {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .cols.rev .col-img {
    order: 0;
  }
}
@media screen and (max-width: 768px) {
  .cols .ph {
    height: 250px;
  }
}

.card-float {
  background: #fff;
  padding: 48px;
  box-shadow: 0 18px 44px rgba(10, 42, 69, 0.14);
}
@media screen and (max-width: 1024px) {
  .card-float {
    padding: 32px;
  }
}

/* ---------- パンくず ---------- */
.crumbs {
  font-size: 11px;
  color: #5c6b78;
  padding: 14px 0;
  letter-spacing: 0.08em;
}
.crumbs a:hover {
  color: #0d5c9e;
}

/* ---------- 下層ページヒーロー ---------- */
.pagehero {
  height: 320px;
  padding-top: var(--header-h);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.pagehero .ph {
  position: absolute;
  inset: 0;
}
.pagehero .inner {
  position: relative;
  z-index: 2;
}
.pagehero .en {
  font-family: "Times New Roman", "Noto Serif JP", serif;
  font-size: 44px;
  letter-spacing: 0.06em;
  font-variant: small-caps;
  line-height: 1.2;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}
@media screen and (max-width: 768px) {
  .pagehero .en {
    font-size: 29px;
  }
}
.pagehero .jp {
  font-size: 12.5px;
  letter-spacing: 0.26em;
  color: #5ec8e8;
  margin-top: 6px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}
@media screen and (max-width: 768px) {
  .pagehero {
    height: 240px;
  }
}

/* ---------- ページトップ ---------- */
#pagetop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  background: #0d5c9e;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 800;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
  border-radius: 2px;
}
#pagetop.on {
  opacity: 1;
  visibility: visible;
}
#pagetop:hover {
  background: #0a2a45;
}

/* ---------- ページネーション（WP-PageNavi） ---------- */
.wp-pagenavi {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 56px;
}
.wp-pagenavi a, .wp-pagenavi span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #dde5ec;
  background: #fff;
  color: #5c6b78;
  font-size: 13px;
  letter-spacing: 0.06em;
}
.wp-pagenavi a:hover,
.wp-pagenavi span.current {
  background: #0d5c9e;
  border-color: #0d5c9e;
  color: #fff;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 900;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: 0.4s;
}
header.solid {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 14px rgba(10, 42, 69, 0.08);
  padding: 10px 40px;
}
@media screen and (max-width: 1024px) {
  header {
    padding: 14px 20px;
  }
  header.solid {
    padding: 10px 20px;
  }
}
header.menu-open {
  z-index: 960;
  background: transparent;
  box-shadow: none;
}

/* ---------- ロゴ（名刺の文字組みを2段で再現） ---------- */
.logo {
  display: block;
  line-height: 1.2;
}
.logo .l-sub {
  display: block;
  font-size: 10px;
  letter-spacing: 0.26em;
  color: #5ec8e8;
  transition: 0.4s;
}
.logo .l-main {
  display: block;
  font-size: 24px;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: #fff;
  transition: 0.4s;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.logo img {
  max-height: 46px;
  width: auto;
}
.logo .logo-on-white {
  display: none;
}
.logo .logo-on-image {
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}
.logo .logo-on-image.is-inverted {
  filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}
header.solid .logo .logo-on-image {
  display: none;
}
header.solid .logo .logo-on-white {
  display: block;
}
header.menu-open .logo .logo-on-image {
  display: block;
}
header.menu-open .logo .logo-on-white {
  display: none;
}
header.solid .logo .l-main {
  color: #0a2a45;
  text-shadow: none;
}
header.solid .logo .l-sub {
  color: #0d5c9e;
}
header.menu-open .logo .l-main {
  color: #fff;
  text-shadow: none;
}
header.menu-open .logo .l-sub {
  color: #5ec8e8;
}
@media screen and (max-width: 768px) {
  .logo .l-main {
    font-size: 19px;
    letter-spacing: 0.18em;
  }
  .logo .l-sub {
    font-size: 9px;
    letter-spacing: 0.2em;
  }
}

/* ---------- グローバルナビ ---------- */
.gnav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.gnav a {
  font-size: 13px;
  color: #fff;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.gnav a:hover, .gnav a.active {
  color: #5ec8e8;
}
header.solid .gnav a {
  color: #0a2a45;
  text-shadow: none;
}
header.solid .gnav a:hover, header.solid .gnav a.active {
  color: #0d5c9e;
}
@media screen and (max-width: 1024px) {
  .gnav {
    display: none;
  }
}

.nav-tel {
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 7px 16px;
  border-radius: 2px;
  font-size: 13px;
  letter-spacing: 0.06em;
}
header.solid .nav-tel {
  background: #0d5c9e;
  border-color: #0d5c9e;
  color: #fff !important;
}
header.solid .nav-tel:hover {
  background: #08447a;
}

/* ---------- ハンバーガー ---------- */
#hamburger {
  display: none;
  width: 34px;
  height: 24px;
  position: relative;
  cursor: pointer;
  z-index: 1000;
}
#hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: 0.35s;
}
#hamburger span:nth-child(1) {
  top: 0;
}
#hamburger span:nth-child(2) {
  top: 11px;
}
#hamburger span:nth-child(3) {
  top: 22px;
}
header.solid #hamburger span {
  background: #0a2a45;
}
#hamburger.active span, header.solid #hamburger.active span {
  background: #fff;
}
#hamburger.active span:nth-child(1) {
  top: 11px;
  transform: rotate(45deg);
}
#hamburger.active span:nth-child(2) {
  opacity: 0;
}
#hamburger.active span:nth-child(3) {
  top: 11px;
  transform: rotate(-45deg);
}
@media screen and (max-width: 1024px) {
  #hamburger {
    display: block;
  }
}

body.menu-open {
  overflow: hidden;
}

/* ---------- SP メニュー ---------- */
#gmenu {
  position: fixed;
  inset: 0;
  background: #0a2a45;
  z-index: 950;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
}
#gmenu.active {
  opacity: 1;
  visibility: visible;
}
#gmenu a {
  color: #fff;
  font-size: 17px;
  letter-spacing: 0.2em;
  padding: 14px 0;
}
#gmenu a small {
  display: block;
  font-size: 10px;
  color: #5ec8e8;
  letter-spacing: 0.3em;
  font-family: "Times New Roman", "Noto Serif JP", serif;
}

/* ---------- CONTACT ブロック（全ページ共通） ---------- */
.contact-sec {
  position: relative;
  padding: 100px 0;
  text-align: center;
  color: #fff;
}
.contact-sec .ph {
  position: absolute;
  inset: 0;
}
.contact-sec .inner {
  position: relative;
  z-index: 2;
}
@media screen and (max-width: 768px) {
  .contact-sec {
    padding: 70px 0;
  }
}

.cbtns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 820px;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  .cbtns {
    grid-template-columns: 1fr;
  }
}

.cbtn {
  background: #fff;
  color: #0a2a45;
  padding: 20px;
  font-size: 19px;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: "Times New Roman", "Noto Serif JP", serif;
}
.cbtn:hover {
  background: #5ec8e8;
  color: #fff;
}
.cbtn.mail {
  background: #0d5c9e;
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.2em;
}
.cbtn.mail:hover {
  background: #0a2a45;
}
@media screen and (max-width: 768px) {
  .cbtn {
    font-size: 17px;
  }
}

.cnote {
  margin-top: 26px;
  font-size: 13px;
  letter-spacing: 0.1em;
  line-height: 2.2;
}

/* ---------- フッター ---------- */
footer {
  background: #0a2a45;
  color: #fff;
  padding: 52px 0 26px;
  text-align: center;
}

.fnav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  margin-bottom: 26px;
}
.fnav a:hover {
  color: #5ec8e8;
}
@media screen and (max-width: 768px) {
  .fnav {
    gap: 16px 20px;
    font-size: 12px;
  }
}

.finfo {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 2.1;
  margin-bottom: 22px;
}

.copy {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.06em;
}

/* ---------- メインビジュアル ---------- */
.hero {
  height: 100vh;
  min-height: 560px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.hero .ph {
  position: absolute;
  inset: 0;
}
.hero .hero-in {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-family: "Times New Roman", "Noto Serif JP", serif;
  font-size: 66px;
  letter-spacing: 0.05em;
  font-weight: 400;
  line-height: 1.15;
  text-shadow: 0 4px 26px rgba(0, 0, 0, 0.35);
}
@media screen and (max-width: 768px) {
  .hero h1 {
    font-size: 38px;
  }
}
.hero p {
  margin-top: 18px;
  font-size: 15px;
  letter-spacing: 0.2em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}
@media screen and (max-width: 768px) {
  .hero p {
    font-size: 12.5px;
    letter-spacing: 0.12em;
    padding: 0 20px;
  }
}
.hero .scroll {
  position: absolute;
  pointer-events: none;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 10px;
  letter-spacing: 0.3em;
  font-family: "Times New Roman", "Noto Serif JP", serif;
  color: #fff;
}
.hero .scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 46px;
  background: rgba(255, 255, 255, 0.7);
  margin: 10px auto 0;
  animation: sc 2s infinite;
}
@media screen and (max-width: 768px) {
  .hero {
    height: 82vh;
    min-height: 470px;
  }
}

/* ---------- メインビジュアルのスライダー ---------- */
.hero-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.hero-slide.is-active {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: opacity 0.4s ease;
  }
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 42, 69, 0.55) 0%, rgba(10, 42, 69, 0.38) 55%, rgba(10, 42, 69, 0.6) 100%);
}

@keyframes sc {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}
/* 下端の波形SVG */
.wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 2;
  line-height: 0;
}
.wave svg {
  width: 100%;
  height: 70px;
  display: block;
}

/* ---------- パララックス帯 ---------- */
.band {
  height: 340px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.band .ph {
  position: absolute;
  inset: 0;
  background-attachment: fixed;
}
@media screen and (max-width: 1024px) {
  .band .ph {
    background-attachment: scroll;
  }
}
.band .band-in {
  position: relative;
  z-index: 2;
}
.band .en {
  font-family: "Times New Roman", "Noto Serif JP", serif;
  font-size: 38px;
  letter-spacing: 0.08em;
  font-variant: small-caps;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}
@media screen and (max-width: 768px) {
  .band .en {
    font-size: 26px;
  }
}
.band .jp {
  font-size: 13px;
  letter-spacing: 0.24em;
  margin-top: 8px;
  color: #5ec8e8;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}
@media screen and (max-width: 768px) {
  .band {
    height: 250px;
  }
}

/* ---------- 3バナー ---------- */
.banners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #3a4750;
}
@media screen and (max-width: 1024px) {
  .banners {
    grid-template-columns: 1fr;
  }
}

.bnr {
  position: relative;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bnr .ph {
  position: absolute;
  inset: 0;
  opacity: 0.85;
  transition: 0.5s;
}
.bnr:hover .ph {
  transform: scale(1.06);
  opacity: 1;
}
@media screen and (max-width: 1024px) {
  .bnr {
    height: 190px;
  }
}

.bnr-lbl {
  position: relative;
  z-index: 2;
  width: 72%;
  text-align: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
}
.bnr-lbl .en {
  background: #fff;
  color: #0a2a45;
  font-family: "Times New Roman", "Noto Serif JP", serif;
  font-size: 19px;
  letter-spacing: 0.1em;
  padding: 8px 0;
  font-variant: small-caps;
}
.bnr-lbl .jp {
  background: #0d5c9e;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.2em;
  padding: 6px 0;
}

/* ---------- ご依頼の流れ（背景グレー） ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media screen and (max-width: 1024px) {
  .flow {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 768px) {
  .flow {
    grid-template-columns: 1fr;
  }
}

.flow-item {
  background: #fff;
  border-top: 3px solid #0d5c9e;
  padding: 28px 22px;
  box-shadow: 0 8px 24px rgba(10, 42, 69, 0.06);
  position: relative;
}
.flow-item .n {
  font-family: "Times New Roman", "Noto Serif JP", serif;
  font-size: 12px;
  letter-spacing: 0.24em;
  color: #5ec8e8;
}
.flow-item h4 {
  font-size: 16px;
  margin: 8px 0 10px;
  color: #0a2a45;
}
.flow-item p {
  font-size: 13px;
  line-height: 1.9;
  color: #5c6b78;
}

/* ---------- 3本柱（背景ホワイト） ---------- */
.svc {
  margin-bottom: 80px;
}
.svc:last-child {
  margin-bottom: 0;
}
.svc .cols {
  gap: 52px;
}
.svc .ph {
  height: 320px;
}
.svc h3 {
  font-size: 25px;
  letter-spacing: 0.06em;
  margin: 6px 0 18px;
  color: #0a2a45;
  font-weight: 700;
}
@media screen and (max-width: 768px) {
  .svc h3 {
    font-size: 20px;
  }
}

.svc-no {
  font-family: "Times New Roman", "Noto Serif JP", serif;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: #5ec8e8;
}

.svc-list {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.svc-list li {
  background: #f2f6f9;
  border: 1px solid #dde5ec;
  font-size: 12.5px;
  padding: 5px 14px;
  color: #08447a;
  letter-spacing: 0.06em;
}

/* ---------- 一覧 ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media screen and (max-width: 1024px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 768px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
}

.work-card {
  background: #fff;
  box-shadow: 0 8px 26px rgba(10, 42, 69, 0.08);
  transition: 0.4s;
  cursor: pointer;
  overflow: hidden;
}
.work-card:hover, .work-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(10, 42, 69, 0.16);
}
.work-card:focus-visible {
  outline: 2px solid #0d5c9e;
  outline-offset: 3px;
}
.work-card .ph {
  height: 230px;
  transition: 0.5s;
}
.work-card:hover .ph {
  transform: scale(1.04);
}

.work-body {
  padding: 18px 20px;
  text-align: center;
}
.work-body h4 {
  font-size: 15.5px;
  color: #0a2a45;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.work-empty {
  text-align: center;
  color: #5c6b78;
  font-size: 14px;
  padding: 40px 0;
}

/* ---------- 写真の拡大ポップアップ ---------- */
.works-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 76px 24px;
  background: rgba(10, 42, 69, 0.8);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.works-modal.on {
  opacity: 1;
  visibility: visible;
}
@media screen and (max-width: 768px) {
  .works-modal {
    padding: 56px 14px;
  }
}

.works-modal-inner {
  position: relative;
  max-width: 1000px;
  max-height: 100%;
  transform: translateY(24px) scale(0.97);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.3, 1), opacity 0.45s ease;
}
.works-modal.on .works-modal-inner {
  transform: none;
  opacity: 1;
}

.works-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #0a2a45;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.works-modal-close:hover {
  background: #0d5c9e;
  color: #fff;
}

.works-modal-body img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 152px);
  width: auto;
  height: auto;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

body.works-modal-open {
  overflow: hidden;
}

/* ---------- ごあいさつ（写真なし・1カラム） ---------- */
.message-body {
  max-width: 780px;
  margin: 0 auto;
}
.message-body .lead + .lead {
  margin-top: 1.4em;
}

.msg-name {
  text-align: right;
  margin-top: 20px;
  font-size: 14px;
  color: #0a2a45;
}
.msg-name strong {
  font-size: 20px;
  letter-spacing: 0.14em;
  margin-left: 10px;
}

/* ---------- 事業所概要テーブル ---------- */
.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.tbl th, .tbl td {
  border-bottom: 1px solid #dde5ec;
  padding: 18px 14px;
  text-align: left;
  vertical-align: top;
}
.tbl th {
  width: 210px;
  color: #0a2a45;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: #f2f6f9;
}
@media screen and (max-width: 768px) {
  .tbl th, .tbl td {
    display: block;
    width: 100%;
    border-bottom: none;
    padding: 12px 14px;
  }
  .tbl td {
    border-bottom: 1px solid #dde5ec;
    padding-top: 0;
  }
}

/* ---------- アクセス（Google Map iframe 埋め込み） ---------- */
.map-embed {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  background: #f2f6f9;
}
.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media screen and (max-width: 768px) {
  .map-embed {
    height: 280px;
  }
}

.map-ph {
  height: 340px;
}

/* ---------- 関連事業ブロック（掲載可否の確認後に使用） ---------- */
.related-biz {
  margin-top: 40px;
  padding: 28px 32px;
  background: #f2f6f9;
  border-left: 3px solid #0d5c9e;
}
.related-biz h3 {
  font-size: 16px;
  color: #0a2a45;
  margin-bottom: 10px;
  letter-spacing: 0.08em;
}
.related-biz p {
  font-size: 14px;
  line-height: 2;
}

/* ---------- 電話ボックス ---------- */
.tel-box {
  background: #f2f6f9;
  text-align: center;
  padding: 44px 20px;
  margin-bottom: 56px;
  border-top: 3px solid #0d5c9e;
}
.tel-box .lb {
  font-size: 12.5px;
  letter-spacing: 0.2em;
  color: #0d5c9e;
}
.tel-box .num {
  display: block;
  font-family: "Times New Roman", "Noto Serif JP", serif;
  font-size: 44px;
  letter-spacing: 0.04em;
  color: #0a2a45;
  line-height: 1.3;
  margin: 6px 0;
}
@media screen and (max-width: 768px) {
  .tel-box .num {
    font-size: 32px;
  }
}
.tel-box .sub {
  font-size: 12.5px;
  color: #5c6b78;
  letter-spacing: 0.06em;
}

/* ---------- フォーム ---------- */
.form-row {
  margin-bottom: 26px;
}
.form-row label {
  display: block;
  font-size: 13.5px;
  color: #0a2a45;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  font-weight: 700;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid #dde5ec;
  background: #fbfcfd;
  padding: 13px 15px;
  font-size: 14px;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  color: #2b3138;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: #2e8bc9;
  background: #fff;
}
.form-row textarea {
  height: 170px;
  resize: vertical;
}

/* ============================================================
   必須／任意バッジ
   必須 = red、任意 = blue で色分けする。
   .req / .any は自前マークアップ用、.cf7-req / .cf7-any は
   Contact Form 7 のフォーム内に置く span 用（同じ見た目に揃える）。
   ============================================================ */
.req,
.any,
.cf7-req,
.cf7-any {
  display: inline-block;
  color: #fff;
  font-size: 10px;
  line-height: 1.6;
  padding: 2px 8px;
  margin-left: 8px;
  letter-spacing: 0.08em;
  vertical-align: 2px;
  border-radius: 2px;
  font-weight: 700;
}

.req,
.cf7-req {
  background: #c8283c;
}

.any,
.cf7-any {
  background: #0d5c9e;
}

/* 入力欄側にも色をひと筋入れて、必須／任意が一目で分かるようにする */
.form-row.is-required input,
.form-row.is-required select,
.form-row.is-required textarea {
  border-left: 3px solid #c8283c;
}

.form-row.is-optional input,
.form-row.is-optional select,
.form-row.is-optional textarea {
  border-left: 3px solid #0d5c9e;
}

/* ---------- 個人情報の取り扱い ---------- */
.privacy-box {
  background: #f2f6f9;
  padding: 22px;
  font-size: 12.5px;
  color: #5c6b78;
  margin-bottom: 26px;
  line-height: 1.9;
}
.privacy-box a {
  color: #0d5c9e;
  text-decoration: underline;
}

/* ---------- 送信ボタン ---------- */
.submit-wrap {
  text-align: center;
}
.submit-wrap button,
.submit-wrap input[type=submit] {
  background: #0d5c9e;
  color: #fff;
  border: none;
  padding: 16px 70px;
  font-size: 15px;
  letter-spacing: 0.2em;
  cursor: pointer;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  box-shadow: 0 8px 22px rgba(13, 92, 158, 0.28);
  transition: 0.3s;
}
.submit-wrap button:hover,
.submit-wrap input[type=submit]:hover {
  background: #0a2a45;
}
@media screen and (max-width: 768px) {
  .submit-wrap button,
  .submit-wrap input[type=submit] {
    width: 100%;
    padding: 16px 0;
  }
}

/* ---------- Contact Form 7 の素の出力を整える ---------- */
.wpcf7 .wpcf7-form-control-wrap {
  display: block;
}
.wpcf7 .wpcf7-not-valid-tip {
  color: #c8283c;
  font-size: 12.5px;
  margin-top: 6px;
}
.wpcf7 .wpcf7-not-valid {
  border-color: #c8283c !important;
}
.wpcf7 .wpcf7-response-output {
  margin: 26px 0 0;
  padding: 14px 18px;
  font-size: 13.5px;
  border: 1px solid #dde5ec;
  border-left: 3px solid #0d5c9e;
  background: #f2f6f9;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  border-left-color: #c8283c;
}
.wpcf7 form.sent .wpcf7-response-output {
  border-left-color: #0d5c9e;
}
.wpcf7 .wpcf7-spinner {
  display: block;
  margin: 14px auto 0;
}

/* ---------- reCAPTCHA v3 のバッジ ---------- */
.grecaptcha-badge {
  visibility: visible;
}

body.home #pagetop {
  bottom: 88px;
}

.recaptcha-note {
  margin-top: 20px;
  font-size: 11.5px;
  color: #5c6b78;
  line-height: 1.9;
  text-align: center;
}
.recaptcha-note a {
  color: #0d5c9e;
  text-decoration: underline;
}

.pv h3 {
  font-size: 17px;
  color: #0a2a45;
  margin: 36px 0 10px;
  padding-left: 12px;
  border-left: 3px solid #0d5c9e;
}
.pv p,
.pv li {
  font-size: 14px;
  line-height: 2;
}
.pv ul {
  margin-left: 20px;
  list-style: disc;
}

/* ---------- 予備ページ（一旦非表示。中身は空のコンテナのみ） ---------- */
.reserve-empty {
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5c6b78;
  font-size: 13px;
  letter-spacing: 0.1em;
}
