/*
Theme Name: Hidaka-shokai
Description: Hidaka-shokai
Theme URI:
Author: roks
Author URI: http://roks.jp/
Version: 0.1
License:
License URI:
*/

:root {
  --blue: #1f66d1;
  --blue-dark: #0d3f91;
  --blue-light: #dff3fb;
  --sky: #eef8fc;
  --text: #222;
  --muted: #666;
  --line: #dfe6ec;
  --white: #fff;
  --shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  --radius: 16px;
  --spnav-h: 64px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: #fff;
}

img {
  max-width: 100%;
  display: block;
}

a {
  transition: 0.3s ease;
}

.section-block {
  position: relative;
  padding: 90px 0;
  overflow: hidden;
}

.sp {
  display: none;
}

@media screen and (max-width: 1000px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }

}

/* ==============================
   Section heading line
============================== */
.section-heading-line {
  width: 100%;
  max-width: 210px;
  margin-bottom: 40px;
  margin-left: 0;
  position: relative;
  z-index: 2;
  transform: translateX(-100px);
}

.section-heading-line .section-heading-top {
  position: relative;
  width: 100%;
  margin-bottom: 4px;
  text-align: right;
}

.section-heading-line .section-heading-top::before {
  content: "";
  position: absolute;
  left: -100vw;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: #7f7f7f;
  z-index: 0;
}

.section-heading-line .section-en {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0 0 0 6px;
  color: #2f67d0;
  font-size: 1.2rem;
  line-height: 1;
  letter-spacing: 0.01em;
  z-index: 1;
  font-family: "Hind", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.section-heading-line .section-ja {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.15;
  color: #333;
  text-align: right;
  background: transparent;
}

.section-lead {
  color: var(--muted);
  margin-bottom: 0;
}

/* ==============================
   Header
============================== */
.site-header {
  background: linear-gradient(to bottom, rgba(0, 32, 82, 0.35), rgba(0, 32, 82, 0));
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.site-header .container,
.site-header .navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  margin: 0;
  padding: 0;
}

.navbar-brand a {
  display: inline-block;
}

.navbar-brand img {
  height: 50px;
  width: auto;
  display: block;
}

.brand-sub {
  font-size: 0.65rem;
  font-weight: 400;
  opacity: 0.9;
  margin-bottom: 4px;
}

.navbar-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

@media (min-width: 992px) {
  .navbar-nav {
    gap: 36px !important;
  }

}

.navbar .nav-link {
  position: relative;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #fff;
  opacity: 0.95;
  text-decoration: none;
  display: block;
  padding-bottom: 6px;
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: #fff;
  transition: width 0.3s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  width: 100%;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  opacity: 1;
  color: #fff;
}

.navbar .nav-link span {
  font-size: 0.9rem;
  opacity: 0.9;
}

.header-contact-btn {
  min-width: 150px;
  border-width: 1.5px;
  border-radius: 6px;
  padding: 8px 20px;
}

.header-contact-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

/* ==============================
   Hero
============================== */
.hero-section {
  position: relative;
  min-height: 80vh;
  background: #5ba2f0;
  overflow: hidden;
}

.hero-row {
  min-height: 80vh;
}

.hero-bg,
.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  background: linear-gradient(
  90deg,
  rgba(0, 38, 92, 0.18) 0%,
  rgba(0, 75, 160, 0.08) 35%,
  rgba(255, 255, 255, 0) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-copy-slider {
  position: relative;
  min-height: 500px;
}

.hero-copy-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: opacity 0.8s ease, transform 0.8s ease, visibility 0.8s ease;
}

.hero-copy-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  z-index: 2;
}

/* 1枚目画像 */
.hero-copy-slide--image {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-copy-image {
  display: block;
  width: min(100%, 520px);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.1));
}

/* 2枚目以降テキスト */
.hero-copy-slide--text {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}

.hero-copy-block {
  max-width: 540px;
  color: #fff;
}

.hero-copy-lead {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.04em;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
  word-break: keep-all;
}

.hero-copy-sub {
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.04em;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
}

.hero-copy-slide--text .hero-copy-lead,
.hero-copy-slide--text .hero-copy-sub {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.hero-copy-slide--mint .hero-copy-lead,
.hero-copy-slide--mint .hero-copy-sub {
  color: #ecfaf2;
}

.hero-copy-slide--cream .hero-copy-lead,
.hero-copy-slide--cream .hero-copy-sub {
  color: #fcf4d9;
}

.hero-copy-slide--sky .hero-copy-lead,
.hero-copy-slide--sky .hero-copy-sub {
  color: #d9f1ff;
}

.hero-copy-lead,
.hero-copy-sub,
.hero-copy-image {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-copy-slide.is-active .hero-copy-lead,
.hero-copy-slide.is-active .hero-copy-image {
  opacity: 1;
  transform: translateY(0);
}

.hero-copy-slide.is-active .hero-copy-sub {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

@media (max-width: 991px) {
  .hero-section,
  .hero-row {
    min-height: 68vh;
  }
  .hero-copy-slider {
    min-height: 360px;
  }

  .hero-copy-slide--text {
    justify-content: center;
    text-align: center;
  }

  .hero-copy-block {
    max-width: 100%;
    padding: 0 20px;
  }

  .hero-copy-image {
    width: min(100%, 360px);
  }

}

@media (max-width: 767px) {
  .hero-image {
    object-position: 60% center;
  }
  .hero-copy-image {
    width: min(100%, 280px);
  }

}

/* ==============================
   News
============================== */
.section-news {
  background: #fff;
  padding-top: 88px;
  padding-bottom: 72px;
}

.news-row {
  position: relative;
  z-index: 2;
}

.news-card {
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 1px solid #cfcfcf;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  min-height: 140px;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.news-thumb {
  height: 145px;
  overflow: hidden;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  max-width: 145px;
  min-width: 145px;
  object-fit: cover;
  display: block;
}

.news-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 14px 16px 12px;
  min-width: 0;
}

.news-title {
  margin: 0 0 6px;
  color: #444;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
}

.news-meta {
  margin: 0 0 6px;
  color: #9a9a9a;
  font-size: 0.76rem;
  line-height: 1.4;
}

.news-text {
  margin: 0 0 10px;
  color: #555;
  font-size: 0.85rem;
  line-height: 1.5;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: block;
}

.news-footer {
  margin-top: 0.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.news-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 10px;
  border: 1px solid #7aa0d4;
  border-radius: 999px;
  background: #fff;
  color: #2d6ec6;
  font-size: 0.72rem;
  line-height: 1.2;
  white-space: nowrap;
}

.news-more {
  flex-shrink: 0;
  color: #666;
  font-size: 0.88rem;
  white-space: nowrap;
  align-self: flex-end;
}

.news-arrow {
  display: inline-block;
  margin-left: 4px;
  font-size: 1rem;
}

.news-btn-wrap {
  margin-top: 22px;
  text-align: right;
}

.btn-blue-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue-dark);
  color: #fff;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 0;
  font-size: 0.95rem;
}

.btn-blue-arrow::after {
  content: "›";
  font-size: 1.2rem;
  line-height: 1;
}

.btn-blue-arrow:hover {
  background: var(--blue);
  color: #fff;
}

.btn-news-list, .btn-detail-link {
  min-width: 190px;
  justify-content: center;
  padding: 10px 18px;
  font-size: 0.95rem;
  background: #114785;
}

.btn-news-list::after, .btn-detail-link::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  margin-left: 10px;
  font-size: 0;
  line-height: 0;
}

.btn-works-list{
  min-width: 290px;
  justify-content: center;
  padding: 15px;
  font-size: 0.95rem;
  background: #114785;
}

.btn-works-list::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  margin-left: 10px;
  font-size: 0;
  line-height: 0;
}

/* ==============================
   Section group background
============================== */
.section-group-serviceworks {
  position: relative;
  overflow: hidden;
}

.section-group-serviceworks .section-group-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("images/bg-section-shape.png") no-repeat center top;
  background-size: 130%;
}

.section-group-serviceworks .section-service,
.section-group-serviceworks .section-works {
  position: relative;
  z-index: 2;
  background: transparent;
}

.section-group-serviceworks .container {
  position: relative;
  z-index: 2;
}

/* ==============================
   Cards Common
============================== */
.service-card,
.works-card,
.recruit-card {
  display: block;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
}

.works-card:hover,
.recruit-card:hover {
  transform: translateY(-6px);
}

.works-image img,
.recruit-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.works-body,
.recruit-body {
  padding: 24px 22px;
}

.works-body h3,
.recruit-body h3 {
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.works-body h2,
h3.related-work-card__title {
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 0;
}

.recruit-body p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 12px;
}

/* ==============================
   Service
============================== */
.section-service {
  position: relative;
  overflow: visible;
  padding-bottom: 64px;
}

.service-lead {
  margin-bottom: 56px;
  font-size: 1rem;
  line-height: 1.9;
  color: #444;
}

.service-row {
  position: relative;
  z-index: 2;
}

.service-panel {
  display: block;
  height: 100%;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(33, 71, 110, 0.12);
  border: 1px solid rgba(166, 205, 227, 0.55);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-panel:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(33, 71, 110, 0.16);
}

.service-panel-image {
  aspect-ratio: 1 / 0.84;
  overflow: hidden;
}

.service-panel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-panel-body {
  padding: 22px 24px 18px;
  text-align: center;
  background: #fff;
}

.service-panel-title {
  margin: 0 0 14px;
  color: #333;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.6;
}

.service-panel-icon {
  width: 80px;
  height: 40px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-panel-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.service-panel-text {
  margin: 0 0 18px;
  color: #4c4c4c;
  font-size: 0.92rem;
  line-height: 2;
}

.service-panel-more {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-right: 2px solid #124d96;
  border-bottom: 2px solid #124d96;
  transform: rotate(45deg);
}

/* ==============================
   Works
============================== */
.section-works {
  padding-top: 40px;
}

.works-lead {
  margin-bottom: 34px;
  font-size: 1rem;
  color: #444;
}

/* ==============================
   About
============================== */
.section-about {
  position: relative;
  background: url("images/bg-section-shape.png") no-repeat center top;
  background-size: 130%;
}

.about-wrap {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* 行ごとの大きい白カード */
.about-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #d9edf2;
  border-radius: 14px;
  padding: 30px 34px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

/* 左側のテキスト */
.about-info {
  height: 100%;
}

.about-info-main {
  padding-right: 10px;
}

/* 東京営業所ラベル */
.about-office-label {
  display: inline-block;
  margin: 0 0 28px;
  padding: 8px 22px;
  border-radius: 999px;
  background: #3d7bd9;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
}

/* dl */
.about-list {
  margin: 0;
}

.about-list div {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 8px 0;
  border-bottom: none;
}

.about-list dt {
  width: 82px;
  flex-shrink: 0;
  color: #4f4f4f;
  font-weight: 700;
  line-height: 1.8;
}

.about-list dd {
  margin: 0;
  color: #555;
  line-height: 1.8;
  flex: 1;
}

/* 区切り線 */
.about-divider {
  border: 0;
  border-top: 1px solid #bfe5ef;
  margin: 18px 0 18px;
  opacity: 1;
}

/* 右側 */
.about-media {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.about-photo,
.about-map {
  overflow: hidden;
  border-radius: 0;
  background: #f8f8f8;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 本社の地図 */
.about-map {
  height: 345px;
}

/* 東京営業所は地図だけ大きめ */
.about-map-only {
  height: 340px;
}

.about-map iframe {
  display: block;
  width: 100%;
  height: 100%;
}

/* ボタン位置 */
.btn-detail-link {
  margin-top: 8px;
}

/* responsive */
@media (max-width: 991px) {
  .about-card {
    padding: 24px 22px;
  }

  .about-map,
  .about-map-only {
    height: 280px;
  }

}

@media (max-width: 767px) {
  .section-about {
    padding: 60px 0;
  }

  .about-card {
    padding: 20px 16px;
    border-radius: 12px;
  }

  .about-list div {
    flex-direction: column;
    gap: 4px;
    padding: 10px 0;
  }

  .about-list dt {
    width: auto;
    line-height: 1.5;
  }

  .about-list dd {
    line-height: 1.7;
  }

  .about-office-label {
    margin-bottom: 18px;
    font-size: 1rem;
    padding: 7px 18px;
  }

  .about-map,
  .about-map-only {
    height: 240px;
  }

}

/* ==============================
   Recruit
============================== */
.section-recruit {
  background: linear-gradient(to bottom, #d0f5f6 0%, #ffffff 100%);
  padding: 80px 0;
}

.recruit-lead {
  margin-bottom: 34px;
}

/* カード全体 */
.recruit-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recruit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

/* タイトル部分 */
.recruit-head {
  padding: 26px 20px 22px;
  text-align: center;
  background: #fff;
}

.recruit-head h3 {
  margin: 0;
  color: #222;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.4;
}

.recruit-head-line {
  display: block;
  width: 46px;
  height: 4px;
  border-radius: 999px;
  margin: 12px auto 0;
  background: currentColor;
}

/* 色違い */
.recruit-head-blue {
  color: #2b7bc0;
}

.recruit-head-green {
  color: #6cbf57;
}

.recruit-head-orange {
  color: #ef9b2d;
}

/* 画像 */
.recruit-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.recruit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 下部説明 */
.recruit-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  padding: 30px 24px 18px;
  text-align: center;
  background: #fff;
}

.recruit-body p {
  margin: 0 0 18px;
  color: #333;
  font-size: 1rem;
  line-height: 1.9;
}

/* 下のV字 */
.recruit-arrow {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin: 0 auto;
  border-right: 3px solid #0f4e8a;
  border-bottom: 3px solid #0f4e8a;
  transform: rotate(45deg);
}

/* レスポンシブ */
@media (max-width: 991px) {
  .recruit-head h3 {
    font-size: 1.5rem;
  }

  .recruit-body {
    padding: 24px 20px 16px;
  }

  .recruit-body p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

}

@media (max-width: 767px) {
  .section-recruit {
    padding: 60px 0;
  }

  .recruit-head {
    padding: 22px 16px 18px;
  }

  .recruit-head h3 {
    font-size: 1.3rem;
  }

  .recruit-body p {
    font-size: 0.92rem;
  }

}

/* ==============================
   Contact CTA
============================== */
.contact-cta {
  padding: 90px 0;
  background: linear-gradient(135deg, #1c66d4 0%, #0d3f91 100%);
  color: #fff;
  text-align: center;
}

.contact-lead {
  margin-bottom: 28px;
  font-size: 1.3rem;
}

.btn-contact-main {
  display: inline-block;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  border-radius: 18px;
  padding: 30px;
  width: 400px;
  font-size: 2rem;
  font-weight: 700;
  text-decoration: none;
}

.btn-contact-main:hover {
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

@media (max-width: 767px) {
  .btn-contact-main {
    width: 80%;
    font-size: 1.5rem;
  }
  .contact-lead {
    font-size: 1rem;
  }

}

/* ==============================
   Footer
============================== */
.site-footer {
  background: #fff;
  padding-top: 20px;
}

.footer-company h2 {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.footer-company p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  padding: 0;
  margin: 0;
}

.footer-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-nav a:hover {
  color: var(--blue);
}

.footer-copy {
  margin-top: 28px;
  padding: 14px 20px;
  text-align: right;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.8);
  background: #0a2e68;
}

@media (max-width: 767px) {
  .footer-copy {
    margin-top: 0;
    padding: 8px 5px;

  }

}

/* ==============================
   Mobile bottom nav
============================== */
.mobile-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.05);
}

.mobile-bottom-nav__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.2fr 0.9fr;
  height: var(--spnav-h);
}

.mobile-bottom-nav__item {
  position: relative;
  appearance: none;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  gap: 2px;
  padding: 6px 4px;
  text-decoration: none;
  color: #1f2f4a;
  font-weight: 600;
  pointer-events: auto;
}

.mobile-bottom-nav__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  right: 0;
  width: 1px;
  background: rgba(31, 47, 74, 0.12);
}

.mobile-bottom-nav__icon {
  font-size: 1rem;
  line-height: 1;
}

.mobile-bottom-nav__label {
  font-size: 0.75rem;
  line-height: 1.1;
  opacity: 0.9;
  text-align: center;
}

.mobile-bottom-nav__item.is-cta {
  background: linear-gradient(135deg, #1c66d4 0%, #0d3f91 100%);
  color: #fff;
}

.mobile-bottom-nav__item.is-cta .mobile-bottom-nav__label {
  opacity: 1;
}

/* ==============================
   SP Drawer
============================== */
#spDrawer.offcanvas-bottom {
  --bs-offcanvas-height: 58vh;
}

.sp-drawer {
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}

#spDrawer .offcanvas-header {
  padding: 1rem 1.25rem 0.75rem;
  border-bottom: 1px solid rgba(31, 47, 74, 0.08);
}

#spDrawer .offcanvas-title {
  font-weight: 700;
  color: #1f2f4a;
  letter-spacing: 0.04em;
}

#spDrawer .offcanvas-body {
  overflow-y: auto;
  padding: 0.5rem 0 80px;
}

.sp-drawer-menu .list-group-item {
  border: none;
  border-bottom: 1px solid rgba(31, 47, 74, 0.06);
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #1f2f4a;
}

.sp-drawer-menu .list-group-item:last-child {
  border-bottom: none;
}

.sp-drawer-menu .list-group-item:hover {
  background: #f7fbff;
  color: #0d3f91;
}

/* ==============================
   Responsive
============================== */
@media (max-width: 1199.98px) {
  .section-heading-line .section-en {
    font-size: 1.1rem;
  }

  .section-heading-line .section-ja {
    font-size: 1.5rem;
  }

  .section-group-serviceworks .section-group-bg,
  .section-about {
    background-position: center top;
    background-size: 200%;
  }

}

@media (max-width: 991.98px) {
  body {
    padding-bottom: var(--spnav-h);
  }

  .site-header {
    background: linear-gradient(to bottom, rgba(0, 32, 82, 0.45), rgba(0, 32, 82, 0));
  }

  .site-header .navbar {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .navbar-brand {
    font-size: 1.5rem;
  }

  .brand-sub {
    font-size: 0.58rem;
  }

  .hero-section {
    min-height: 50vh;
  }
  .hero-row {
    min-height: 50vh;
  }
  .section-block {
    padding: 70px 0;
  }

  .footer-nav {
    display: none;
  }

  .section-heading-line {
    max-width: 190px;
    margin-bottom: 32px;
    transform: translateX(-48px);
  }

  .section-heading-line .section-heading-top {
    margin-bottom: 6px;
  }

  .section-heading-line .section-en {
    font-size: 1.05rem;
  }

  .section-heading-line .section-ja {
    font-size: 1.45rem;
  }

}

/* ==============================
   Section side bars
============================== */
.section-news,
.section-service,
.section-works,
.section-about,
.section-recruit {
  position: relative;
}

.section-news .container,
.section-service .container,
.section-works .container,
.section-about .container,
.section-recruit .container {
  position: relative;
  z-index: 2;
}

.section-side-bars {
  position: absolute;
  top: 58px;
  right: 0;
  width: 34%;
  min-width: 260px;
  height: 78px;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(#bedbf9 0 0) top right / 100% 36px no-repeat,
    linear-gradient(#deeefe 0 0) bottom right / 82% 36px no-repeat;
}

/* 採用だけ色違い */
.section-side-bars.bars-recruit {
  background:
    linear-gradient(#99dfdf 0 0) top right / 100% 36px no-repeat,
    linear-gradient(#beeaeb 0 0) bottom right / 82% 36px no-repeat;
}

@media (max-width: 991.98px) {
  .section-side-bars {
    width: 240px;
    top: 50px;
    height: 54px;
    background:
      linear-gradient(#a9c0dd 0 0) top right / 100% 24px no-repeat,
      linear-gradient(#d7e4f0 0 0) bottom right / 82% 24px no-repeat;
  }

  .section-side-bars.bars-recruit {
    background:
      linear-gradient(#b7d7cf 0 0) top right / 100% 24px no-repeat,
      linear-gradient(#dcebe6 0 0) bottom right / 82% 24px no-repeat;
  }

}

@media (max-width: 767.98px) {
  .section-side-bars {
    width: 170px;
    top: 42px;
    height: 38px;
    opacity: 0.9;
    background:
      linear-gradient(#a9c0dd 0 0) top right / 100% 16px no-repeat,
      linear-gradient(#d7e4f0 0 0) bottom right / 82% 16px no-repeat;
  }

  .section-side-bars.bars-recruit {
    background:
      linear-gradient(#b7d7cf 0 0) top right / 100% 16px no-repeat,
      linear-gradient(#dcebe6 0 0) bottom right / 82% 16px no-repeat;
  }

  .news-title {
    font-size: 0.95rem;
  }

  .news-text {
    font-size: 0.82rem;
  }

  .service-lead {
    margin-bottom: 40px;
    font-size: 0.95rem;
  }

  .service-panel-body {
    padding: 20px 18px 16px;
  }

  .service-panel-text {
    font-size: 0.88rem;
    line-height: 1.85;
  }

  .works-lead,
  .recruit-lead {
    margin-bottom: 28px;
    font-size: 0.95rem;
  }

  .section-news {
    padding-top: 72px;
    padding-bottom: 60px;
  }

  .section-heading-line {
    max-width: 150px;
    margin-bottom: 24px;
    transform: translateX(-18px);
  }

  .section-heading-line .section-heading-top {
    margin-bottom: 4px;
  }

  .section-heading-line .section-en {
    font-size: 0.95rem;
    padding-left: 4px;
  }

  .section-heading-line .section-ja {
    font-size: 1.3rem;
  }

  .news-thumb img {
    max-width: 100px;
    min-width: 100px;
  }

  .news-body {
    padding: 10px 16px 5px;
  }

  .news-footer {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 0;
    justify-content: space-between;
    gap: 0;
  }

  .news-more {
    align-self: flex-end;
    font-size: 0.8rem;
  }

  .news-btn-wrap {
    margin-top: 18px;
  }

  .btn-news-list {
    min-width: 170px;
    font-size: 0.9rem;
  }

  .section-group-serviceworks .section-group-bg,
  .section-about {
    background-position: 40% top;
    background-size: 300%;
  }

  .section-service {
    padding-top: 70px;
    padding-bottom: 30px;
  }

  .section-works {
    padding-top: 70px;
    padding-bottom: 70px;
  }
  .section-group-serviceworks .section-works {
    padding-top: 70px;
    padding-bottom: 70px;
    background: url("images/bg-section-shape.png") no-repeat 40% top;
    background-size: 300%;
  }

  .service-lead {
    margin-bottom: 30px;
    font-size: 0.92rem;
    line-height: 1.8;
  }

  .service-panel-image {
    aspect-ratio: 1 / 0.6;
  }

  .service-panel-body {
    padding: 18px 16px 16px;
  }

  .service-panel-title {
    margin-bottom: 12px;
  }

  .service-panel-icon {
    margin-bottom: 12px;
  }

  .service-panel-text {
    margin-bottom: 16px;
    font-size: 0.85rem;
    line-height: 1.8;
  }

  .service-panel-more {
    width: 16px;
    height: 16px;
  }

  .works-image img,
  .recruit-image img {
    height: 220px;
  }

  .about-list div {
    flex-direction: column;
    gap: 6px;
  }

  .about-list dt {
    width: auto;
  }

  .btn-contact-main {
    font-size: 1.5rem;
    padding: 16px 34px;
  }

}

/* ==============================
   Sub page
============================== */
body.subpage {
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
  background: #fff;
}

/* ==============================
   Sub page header
============================== */
.site-header-sub {
  background: linear-gradient(90deg, #2f6dcb 0%, #5b95ea 100%);
}

.site-header-sub .navbar {
  min-height: 88px;
}

.site-header-sub .nav-link.active {
  opacity: 1;
}

/* ==============================
   Sub hero
============================== */
.sub-hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 30px;
  background: linear-gradient(90deg, #ffffff 0%, #e4f7fe 100%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.sub-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: -140px;
  width: 620px;
  height: 620px;
  background: rgba(203, 237, 249, 0.6);
  border-radius: 50%;
}

.sub-hero__inner {
  position: relative;
  z-index: 1;
}

.sub-hero__content {
  max-width: 980px;
}

.sub-hero__heading {
  margin-bottom: 20px;
}

.sub-hero__en {
  display: inline-block;
  margin: 0 0 8px;
  padding: 0 40px 6px;
  font-family: "Hind", sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  color: #1f63c5;
  border-bottom: 1px solid rgba(31, 99, 197, 0.35);
}

.sub-hero__title {
  margin: 0 0 10px;
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.4;
  color: #333;
}

.sub-hero__lead {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.9;
  color: #444;
}

/* page nav */
.sub-hero-nav {
  margin-top: 28px;
}

.sub-hero-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.sub-hero-nav__list li {
  margin: 0;
}

.sub-hero-nav__list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(47, 103, 208, 0.12);
  border-radius: 999px;
  color: #2f67d0;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.4;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(47, 103, 208, 0.08);
}

.sub-hero-nav__list a::before {
  content: "＞";
  margin-right: 8px;
  font-size: 0.8rem;
  line-height: 1;
}

.sub-hero-nav__list a:hover {
  background: #2f67d0;
  color: #fff;
  transform: translateY(-2px);
}

/* ==============================
   Section common
============================== */
.sub-section {
  padding: 50px 0;
}

.section-heading-center {
  margin-bottom: 48px;
  text-align: center;
}

.section-title-ja {
  position: relative;
  display: inline-block;
  margin: 0;
  padding-bottom: 18px;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.4;
  color: #1f63c5;
}

.section-title-ja::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 200px;
  height: 8px;
  background: #2f6dcb;
  border-radius: 999px;
  transform: translateX(-50%);
}

/* ==============================
   Responsive
============================== */
@media (max-width: 767.98px) {
  .sub-hero__heading {
    margin-top: 20px;
  }

}

/* ==============================
   Sub page heading
============================== */
.subpage .subpage-heading {
  max-width: 160px;
  margin-bottom: 15px;
  transform: none;
}

.subpage .subpage-heading .section-heading-top {
  margin-bottom: 6px;
  text-align: right;
}

.subpage .subpage-heading .section-heading-top::before {
  background: rgba(127, 127, 127, 0.6);
}

.subpage .subpage-heading .section-en {
  padding-left: 10px;
  font-size: 1.4rem;
}

.subpage .subpage-heading .section-ja {
  font-size: 1.6rem;
  line-height: 1.3;
  text-align: right;
}

.subpage .sub-hero__lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.9;
  color: #444;
}

/* ==============================
   Message
============================== */
.message-card {
  padding: 48px 48px 36px;
  background: linear-gradient(90deg, #dff1fb 0%, #f4f9fd 100%);
  border-radius: 20px;
}

.message-card__title {
  margin: 0 0 28px;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.8;
  color: #333;
}

.message-card__body p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.8;
  color: #444;
}

.message-card__profile {
  text-align: center;
}

.message-card__photo {
  width: 100%;
  max-width: 250px;
  aspect-ratio: 1 / 1.15;
  margin: 0 auto 16px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(60, 90, 130, 0.10);
}

.message-card__name {
  margin: 0;
  font-size: 0.95rem;
  color: #444;
}

/* ==============================
   Company table
============================== */
.company-table-wrap {
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #dce8f5;
  border-radius: 20px;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.company-table th,
.company-table td {
  padding: 22px 24px;
  border-bottom: 1px solid #e5eef8;
  font-size: 1rem;
  line-height: 1.8;
}

.company-table th {
  width: 220px;
  font-weight: 700;
  color: #1f63c5;
  background: #f4f9fd;
}

.company-table td {
  color: #333;
}

/* ==============================
   Purpose
============================== */
.purpose-box {
  max-width: 1320px;
  margin: 0 auto;
  padding: 34px 40px;
  background: linear-gradient(90deg, #dff1fb 0%, #f4f9fd 100%);
  border-radius: 20px;
}

.purpose-item {
  display: flex;
  align-items: center;
  gap: 34px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 34px 40px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(60, 90, 130, 0.06);
}

.purpose-item + .purpose-item {
  margin-top: 18px;
}

.purpose-item__icon {
  display: flex;
  flex: 0 0 88px;
  align-items: center;
  justify-content: center;
  width: 88px;
}

.purpose-item__icon img {
  display: block;
  width: 68px;
  height: auto;
}

.purpose-item__text {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.9;
  color: #333;
}

/* ==============================
   Policy
============================== */
.policy-box {
  max-width: 1320px;
  margin: 0 auto;
  padding: 44px 40px;
  background: linear-gradient(90deg, #dff1fb 0%, #f4f9fd 100%);
  border-radius: 20px;
}

.policy-list {
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.policy-list__item {
  position: relative;
  margin: 0;
  padding: 18px 28px 18px 54px;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.7;
  color: #fff;
  background: #5a8fe6;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(47, 103, 208, 0.16);
}

.policy-list__item + .policy-list__item {
  margin-top: 10px;
}

.policy-list__item::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 28px;
  width: 10px;
  height: 10px;
  background: #d8f1ff;
  border-radius: 2px;
}

/* ==============================
   Company access
============================== */
.company-access-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 30px 36px 38px;
  background: linear-gradient(90deg, #dff1fb 0%, #f4f9fd 100%);
  border-radius: 20px;
}

.company-access-card {
  margin-bottom: 28px;
}

.company-access-card:last-child {
  margin-bottom: 0;
}

.company-access-wrap .about-card {
  padding: 26px 28px;
  background: #fff;
  border-radius: 16px;
  box-shadow: none;
}

.company-access-wrap .about-info {
  padding: 6px 0;
}

.company-access-wrap .about-photo,
.company-access-wrap .about-map,
.company-access-wrap .about-map-only {
  overflow: hidden;
  border-radius: 0;
}

.company-access-wrap .about-photo {
  margin-bottom: 10px;
}

.company-access-wrap .about-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.company-access-wrap .about-map {
  height: 420px;
}

.company-access-wrap .about-map.about-map-only {
  height: 294px;
}

.company-access-wrap .about-office-label {
  display: inline-block;
  margin-bottom: 26px;
  padding: 8px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: #4d84df;
  border-radius: 999px;
}

.company-access-wrap .about-list dt {
  min-width: 72px;
}

.company-access-wrap .about-divider {
  margin: 22px 0 18px;
}

/* ==============================
   History
============================== */
.history-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 0 auto;
}

.history-box {
  padding: 10px 18px 12px;
  background: linear-gradient(90deg, #dff1fb 0%, #f4f9fd 100%);
  border-radius: 14px;
}

.history-list {
  margin: 0;
  padding: 0;
}

.history-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 18px;
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
}

.history-row:last-child {
  border-bottom: none;
}

.history-row dt {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: #444;
  white-space: nowrap;
}

.history-row dd {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.8;
  color: #444;
}

/* ==============================
   License
============================== */
.license-area {
  max-width: 1240px;
  margin: 0 auto;
  padding: 38px 40px 30px;
  background: linear-gradient(90deg, #dff1fb 0%, #f4f9fd 100%);
  border-radius: 28px;
}

.license-card {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  max-width: 660px;
  padding: 28px 24px;
  background: #fff;
  border-radius: 10px;
}

.license-card + .license-card {
  margin-top: 24px;
}

.license-card--small {
  max-width: 420px;
}

.license-card__icon {
  flex: 0 0 68px;
  width: 70px;
}

.license-card__icon img {
  display: block;
  width: 64px;
  height: auto;
}

.license-card__content {
  flex: 1;
}

.license-card__title {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.6;
  color: #333;
}

.license-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
}

.license-chip {
  display: inline-block;
  margin: 0;
  padding: 8px 14px;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #4a4a4a;
  background: #bfe0ef;
  border-radius: 4px;
}

/* ==============================
   Responsive
============================== */
@media (max-width: 991.98px) {
  .sub-hero {
    padding: 98px 0 20px;
  }

  .sub-hero__en {
    padding: 0 20px 6px;
    font-size: 1.8rem;
  }

  .sub-hero__title {
    font-size: 2.2rem;
  }

  .sub-hero__lead {
    font-size: 1rem;
  }

  .sub-section {
    padding: 72px 0;
  }

  .section-title-ja {
    padding-bottom: 14px;
    font-size: 1.8rem;
  }

  .section-title-ja::after {
    width: 120px;
    height: 6px;
  }

  .message-card {
    padding: 32px 24px;
  }

  .message-card__title {
    font-size: 1.6rem;
    line-height: 1.7;
  }

  .message-card__body p {
    font-size: 1rem;
    line-height: 2;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
    padding: 16px 18px;
  }

  .company-table th {
    padding-bottom: 6px;
    border-bottom: none;
  }

  .company-table td {
    padding-top: 0;
  }

  .purpose-box,
  .policy-box {
    padding: 28px 24px;
    border-radius: 22px;
  }

  .purpose-item {
    gap: 24px;
    padding: 26px 24px;
  }

  .purpose-item__icon {
    flex-basis: 68px;
    width: 68px;
  }

  .purpose-item__icon img {
    width: 44px;
  }

  .purpose-item__text {
    font-size: 1rem;
    line-height: 1.8;
  }

  .policy-list {
    max-width: 100%;
  }

  .policy-list__item {
    padding: 16px 22px 16px 46px;
    font-size: 1rem;
  }

  .policy-list__item::before {
    top: 22px;
    left: 22px;
  }

  .company-access-wrap {
    padding: 24px 20px 28px;
    border-radius: 22px;
  }

  .company-access-wrap .about-card {
    padding: 20px 18px;
  }

  .company-access-wrap .about-map,
  .company-access-wrap .about-map.about-map-only {
    height: 350px;
  }

  .company-access-wrap .about-office-label {
    margin-bottom: 20px;
  }

  .history-grid {
    grid-template-columns: 1fr;
  }

  .history-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px 0;
  }

  .license-area {
    padding: 28px 22px 22px;
    border-radius: 22px;
  }

  .license-card,
  .license-card--small {
    max-width: 100%;
  }

  .license-box {
    padding: 24px 20px;
  }

}

@media (max-width: 767.98px) {
  .sub-hero__en {
    padding: 0 0 6px;
    font-size: 1.55rem;
  }

  .sub-hero__title {
    font-size: 1.9rem;
  }

  .sub-hero__lead {
    font-size: 0.95rem;
    line-height: 1.8;
  }

  .sub-hero-nav {
    max-width: 100%;
    margin-top: 24px;
    padding: 18px 20px;
    border-radius: 16px;
  }

  .sub-hero-nav__list a {
    font-size: 0.95rem;
  }

  .sub-section {
    padding: 30px 0;
  }

  .section-heading-center {
    margin-bottom: 34px;
  }

  .section-title-ja {
    font-size: 1.55rem;
  }

  .message-card__title {
    font-size: 1.35rem;
  }

  .message-card__name {
    font-size: 0.9rem;
  }

  .purpose-box,
  .policy-box {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .purpose-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 18px;
    border-radius: 14px;
  }

  .purpose-item__icon {
    flex: none;
    width: auto;
    margin: 0 auto;
  }

  .purpose-item__text {
    font-size: 0.95rem;
    line-height: 1.75;
  }

  .policy-list__item {
    padding: 14px 16px 14px 40px;
    font-size: 0.95rem;
    line-height: 1.65;
    border-radius: 10px;
  }

  .policy-list__item::before {
    top: 35px;
    left: 16px;
    width: 8px;
    height: 8px;
  }

  .company-access-wrap {
    padding: 18px 14px 20px;
    border-radius: 18px;
  }

  .company-access-card {
    margin-bottom: 18px;
  }

  .company-access-wrap .about-card {
    padding: 16px 14px;
    border-radius: 14px;
  }

  .company-access-wrap .about-map,
  .company-access-wrap .about-map.about-map-only {
    height: 220px;
  }

  .company-access-wrap .about-office-label {
    padding: 7px 16px;
    font-size: 0.88rem;
  }

  .history-grid {
    gap: 0;
  }

  .history-box {
    padding: 16px 16px 8px;
    border-radius: 12px;
  }

  .history-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px 0;
  }

  .history-row dt {
    font-weight: 700;
  }

  .history-box:first-child {
    padding-bottom: 0;
    border-radius: 12px 12px 0 0;
  }

  .history-box:last-child {
    padding-top: 0;
    border-radius: 0 0 12px 12px;
  }

  .history-row-sp-line {
    margin-bottom: 4px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.9) !important;
  }

  .license-area {
    padding: 18px 14px;
    border-radius: 18px;
  }

  .license-card {
    flex-direction: column;
    gap: 16px;
    padding: 18px 16px;
  }

  .license-card__icon {
    width: 56px;
    flex-basis: auto;
  }

  .license-card__icon img {
    width: 48px;
  }

  .license-card__title {
    font-size: 1rem;
  }

  .license-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .license-chip {
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  .history-list {
    padding: 24px 20px 0;
  }

}

/* ==============================
   Detail
============================== */
.detail-page {
  padding: 115px 0 0;
  background: #fff;
  color: #333;
}

/* ==============================
   Breadcrumb
============================== */
.works-breadcrumb {
  margin-bottom: 24px;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.breadcrumb-list li {
  position: relative;
  margin-right: 18px;
  font-size: 0.78rem;
  line-height: 1;
}

.breadcrumb-list li:last-child {
  margin-right: 0;
}

.breadcrumb-list li a,
.breadcrumb-list li[aria-current="page"] {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 10px;
  font-weight: 700;
  color: #3b6fbf;
  text-decoration: none;
  background: #d8e9ff;
  border-radius: 6px 0 0 6px;
}

.breadcrumb-list li a::after,
.breadcrumb-list li[aria-current="page"]::after {
  content: "";
  position: absolute;
  top: 0;
  right: -12px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 12px solid #d8e9ff;
}

.breadcrumb-list li:first-child a {
  border-radius: 6px 0 0 6px;
}

.breadcrumb-list li:nth-child(1) a {
  background: #8fb8f0;
}

.breadcrumb-list li:nth-child(1) a::after {
  border-left-color: #8fb8f0;
}

.breadcrumb-list li:nth-child(2) a {
  background: #b7d1f5;
}

.breadcrumb-list li:nth-child(2) a::after {
  border-left-color: #b7d1f5;
  right: -11px;
}

.breadcrumb-list li:last-child a,
.breadcrumb-list li:last-child[aria-current="page"] {
  padding-left: 0;
  padding-right: 0;
  font-weight: 500;
  color: #4d6f98;
  background: transparent;
}

.breadcrumb-list li:last-child a::after,
.breadcrumb-list li:last-child[aria-current="page"]::after {
  display: none;
}

/* ==============================
   Heading
============================== */
.works-detail-page {
  padding-top: 120px;
}

.works-detail-head {
  margin-bottom: 28px;
}

.works-detail-title {
  position: relative;
  margin: 0 0 14px;
  padding-bottom: 14px;
  font-size: 2.2rem;
  font-weight: 500;
  line-height: 1.5;
  color: #333;
}

.works-detail-title::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 6px;
  background: #2f67d0;
  border-radius: 999px;
}

.works-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.works-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.2;
  color: #fff;
  border-radius: 999px;
}

.works-tag--public { background-color: #dfba14;}

.works-tag--finance { background-color: #7196e4;}

.works-tag--amusement { background-color: #e691a8;}

.works-tag--supermarket { background-color: #dfba14;}

.works-tag--restaurant { background-color: #e98345;}

.works-tag--medical { background-color: #9acb63;}

.works-tag--hotel { background-color: #7196e4;}

.works-tag--office { background-color: #e98345;}

.works-tag--home { background-color: #b287d6;}

.works-tag--other { background-color: #8f8f8f;}

.works-tag--install { background-color: #4db6dc;}

.works-tag--cleaning { background-color: #2d9cc7;}

.works-tag--repair { background-color: #d96b7f;}

.works-tag--ventilation { background-color: #5da9d6;}

.works-tag--air_cleaner { background-color: #7fbf7f;}

.works-tag--green { background: #9acb63;}

.works-tag--skyblue { background: #4db6dc;}

.works-tag--orange { background: #e98345;}

.works-tag--yellow { background: #dfba14;}

.works-tag--pink { background: #e691a8;}

.works-tag--blue { background: #7196e4;}

.works-tag--subsidy {  background: #78b98f;}

.works-detail-summary {
  margin-left: 4px;
  padding-left: 16px;
  border-left: 2px dashed #4684d7;
}

.works-detail-place {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 500;
  color: #333;
}

.works-detail-lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.9;
  color: #444;
}

/* ==============================
   Main Photo
============================== */
.works-main-photo {
  margin: 15px;
}

.works-main-photo img {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  border-radius: 10px;
}

.works-main-photo figcaption {
  margin-top: 8px;
  font-size: 0.78rem;
  color: #666;
}

/* ==============================
   Common Box
============================== */
.works-info-box,
.works-block,
.content-panel {
  background: linear-gradient(90deg, #dff1fb 0%, #f4f9fd 100%);
}

.works-info-box,
.works-block {
  border-radius: 10px;
}

.content-panel {
  padding: 48px 48px 36px;
  border-radius: 20px;
}

/* ==============================
   Before / After
============================== */
.works-info-section {
  margin-top: 18px;
}

.works-info-box {
  padding: 18px 18px 16px;
}

.works-beforeafter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.works-ba-card figure,
.works-ba-figure {
  position: relative;
  margin: 0;
}

.works-ba-card img,
.works-ba-figure img {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: 16 / 12;
  object-fit: cover;
  border-radius: 8px;
}

.works-ba-card figcaption {
  margin-top: 6px;
  font-size: 0.75rem;
  color: #666;
}

.works-ba-label {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: inline-block;
  min-width: 110px;
  padding: 10px 20px 10px 26px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.works-ba-label::after {
  content: "";
  position: absolute;
  top: 0;
  right: -15px;
  width: 0;
  height: 0;
  border-top: 19px solid transparent;
  border-bottom: 19px solid transparent;
}

.works-ba-label--before {
  background: #e7a52c;
}

.works-ba-label--before::after {
  border-left: 16px solid #e7a52c;
}

.works-ba-label--after {
  background: #32ade6;
}

.works-ba-label--after::after {
  border-left: 16px solid #32ade6;
}

/* ==============================
   Point Table
============================== */
.works-point-table {
  padding: 10px 14px;
  background: #fff;
}

.works-point-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: start;
  gap: 10px;
  margin: 0;
  padding: 6px 0;
}

.works-point-row dt {
  display: inline-block;
  margin: 0;
  padding: 4px 10px;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.2;
  color: #2f67d0;
  text-align: center;
  background: #d3eefb;
  border-radius: 4px;
}

.works-point-row dd {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.8;
  color: #444;
}

/* ==============================
   Block
============================== */
.works-block-section {
  margin-top: 22px;
}

.works-block {
  padding: 18px 18px 16px;
}

.works-block-title {
  position: relative;
  margin: 0 0 14px;
  padding-left: 14px;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
  color: #2f67d0;
}

.works-block-title::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 6px;
  height: 28px;
  background: #2f67d0;
  border-radius: 999px;
}

.works-block-body {
  padding: 18px 20px;
  background: #fff;
}

.works-block-body p {
  margin: 0 0 10px;
  font-size: 0.95rem;
  line-height: 1.9;
  color: #444;
}

.works-block-body p:last-child {
  margin-bottom: 0;
}

.works-check-list {
  margin: 0;
  padding-left: 1.2em;
}

.works-check-list li {
  margin-bottom: 10px;
  font-size: 0.95rem;
  line-height: 1.9;
  color: #444;
}

.works-check-list li:last-child {
  margin-bottom: 0;
}

/* ==============================
   Gallery
============================== */
.works-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 300px));
  gap: 16px;
  align-items: start;
}

.works-gallery-item {
  margin: 0;
}

.works-gallery-item img {
  display: block;
  width: 100%;
  height: 220px !important;
  object-fit: cover;
  border-radius: 8px;
}

.works-gallery-item figcaption {
  margin-top: 8px;
  font-size: 0.78rem;
  line-height: 1.7;
  color: #555;
}

/* ==============================
   Back Button
============================== */
.works-back-section {
  padding: 28px 0;
}

.works-back-btn {
  min-width: 280px;
}

/* ==============================
   Related Works
============================== */
.related-works-section {
  padding: 20px 0 60px;
}

.related-works-head {
  margin-bottom: 24px;
  padding-top: 18px;
  border-top: 2px dashed #7fc4f0;
}

.related-works-title {
  position: relative;
  margin: 0;
  padding-left: 16px;
  font-size: 1.3rem;
  font-weight: 700;
  color: #2f67d0;
}

.related-works-title::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 6px;
  height: 28px;
  background: #2f67d0;
  border-radius: 999px;
}

.related-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.related-work-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

/* ==============================
   Responsive
============================== */
@media (max-width: 991.98px) {
  .works-detail-title {
    font-size: 1.8rem;
  }

  .works-beforeafter {
    grid-template-columns: 1fr;
  }

  .related-works-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 767.98px) {
  .works-detail-page {
    padding-top: 98px;
  }
  .breadcrumb-list {
    gap: 6px;
  }

  .breadcrumb-list li {
    margin-right: 8px;
    font-size: 0.72rem;
  }

  .breadcrumb-list li a,
  .breadcrumb-list li[aria-current="page"] {
    padding: 0 8px;
  }

  .breadcrumb-list li a::after,
  .breadcrumb-list li[aria-current="page"]::after {
    right: -10px;
    border-top-width: 10px;
    border-bottom-width: 10px;
    border-left-width: 10px;
  }

  .works-detail-title {
    padding-bottom: 10px;
    font-size: 1.45rem;
  }

  .works-detail-title::after {
    height: 3px;
  }

  .works-detail-tags {
    margin-bottom: 14px;
  }

  .works-tag {
    padding: 4px 10px;
    font-size: 0.7rem;
  }

  .works-detail-place,
  .works-detail-lead {
    font-size: 0.92rem;
  }

  .works-main-photo img {
    border-radius: 8px;
    aspect-ratio: 16 / 12;
  }

  .works-info-box,
  .works-block {
    padding: 14px;
    border-radius: 8px;
  }

  .works-ba-label {
    min-width: 92px;
    padding: 8px 16px 8px 18px;
    font-size: 0.9rem;
  }

  .works-ba-label::after {
    right: -12px;
    border-top-width: 18px;
    border-bottom-width: 18px;
  }

  .works-ba-label--before::after,
  .works-ba-label--after::after {
    border-left-width: 12px;
  }

  .works-point-table {
    padding: 8px 10px;
  }

  .works-point-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 8px 0;
  }

  .works-point-row dt {
    justify-self: start;
  }

  .works-block-title {
    padding-left: 12px;
    font-size: 1rem;
  }

  .works-block-title::before {
    width: 5px;
    height: 22px;
  }

  .works-block-body {
    padding: 14px;
  }

  .works-block-body p,
  .works-check-list li {
    font-size: 0.9rem;
  }

  .works-gallery {
    grid-template-columns: 1fr;
  }

  .works-back-btn {
    width: 100%;
    min-width: auto;
  }

  .related-works-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .related-works-title {
    padding-left: 14px;
    font-size: 1.1rem;
  }

  .related-works-title::before {
    width: 5px;
    height: 22px;
  }

}

/* ==============================
   Service page
============================== */

/* section heading */
.service-section .section-heading-center {
  margin-bottom: 42px;
}

/* 対応内容 */
.service-intro {
  margin-bottom: 34px;
}

.service-intro__title {
  margin: 0 0 18px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.7;
  color: #333;
}

.service-intro p {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 2;
  color: #444;
}

.service-intro p:last-child {
  margin-bottom: 0;
}

.service-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  padding: 34px 15px 28px;
  background: #fff;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(60, 90, 130, 0.06);
}

.service-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
}

.service-card__icon img {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.service-card__title {
  margin: 0 0 14px;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.5;
  color: #333;
}

.service-card__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.9;
  color: #555;
  text-align: left;
}

.service-card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.service-card-grid--2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
}

@media (max-width: 991.98px) {
  .service-card-grid,
  .service-card-grid--3,
  .service-card-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 575.98px) {
  .service-card-grid,
  .service-card-grid--3,
  .service-card-grid--2 {
    grid-template-columns: 1fr;
  }

}

/* 対応施設 */
.facility-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 230px;
}

.facility-lead,
.facility-note {
  margin: 0;
  font-size: 1rem;
  line-height: 2;
  color: #444;
}

.facility-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 10px;
  margin: 22px 0 18px;
}

.facility-tag {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #555;
  background: #fff;
  border: 1px solid #8fb5df;
  border-radius: 999px;
}

.facility-tag--plain {
  min-height: auto;
  padding: 0 2px;
  background: transparent;
  border: none;
}

/* 施工の流れ */
.flow_design08 {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow08 {
  width: 100%;
  margin: 0;
  padding-left: 0;
}

.flow08 > li {
  position: relative;
  list-style: none;
  padding: 28px 30px;
  background: #fff;
  border-radius: 15px;
}

.flow08 > li:not(:last-child) {
  margin-bottom: 28px;
}

/* 二重矢印 */
.flow08 > li:not(:last-child)::before,
.flow08 > li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 32px;
  width: 10px;
  height: 10px;
  border-right: 3px solid #3575cf;
  border-bottom: 3px solid #3575cf;
  transform: rotate(45deg);
  z-index: 2;
}

.flow08 > li:not(:last-child)::before {
  bottom: -2px;
}

.flow08 > li:not(:last-child)::after {
  bottom: -12px;
}

.flow08 > li dl {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
}

.flow08 > li dl dt {
  min-width: 9em;
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}

.flow08 > li .icon08 {
  margin-right: 0.5em;
  font-weight: 700;
  color: #3575cf;
}

.flow08 > li dl dd {
  flex: 1;
  margin: 0;
  line-height: 1.8;
}

/* サイド画像 */
.flow-side-images {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
}

.flow-side-images__item {
  flex: 1;
  overflow: hidden;
  border-radius: 20px;
}

.flow-side-images__item img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
}

/* ==============================
   Service sub hero
============================== */
.sub-hero-service__intro {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-top: 20px;
}

.sub-hero-service_support__intro {
  display: flex;
  align-items: flex-start;
  margin-top: 20px;
}

.sub-hero-service__icon {
  display: flex;
  flex: 0 0 80px;
  align-items: flex-start;
  justify-content: center;
  width: 80px;
  padding-top: 10px;
}

.sub-hero-service__icon img {
  display: block;
  width: 80px;
  height: 40px;
  object-fit: contain;
}

.sub-hero-service__text {
  flex: 1;
}

.sub-hero-service__title {
  margin: 0 0 18px;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.35;
  color: #333;
}

.sub-hero-service__lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 2;
  color: #444;
}

.under-circle-bg{
  inset: 0;
  z-index: 0;
  background: url("images/bg-section-shape.png") no-repeat center top;
  background-size: 130%;
}

/* ==============================
   Responsive
============================== */
@media (max-width: 1199.98px) {
  .service-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-intro__title {
    font-size: 1.75rem;
  }

  .service-card__title {
    font-size: 1.45rem;
  }

}

@media (max-width: 991.98px) {
  .service-intro {
    margin-bottom: 26px;
  }

  .service-intro__title {
    font-size: 1.5rem;
    line-height: 1.6;
  }

  .service-card__title {
    font-size: 1.3rem;
  }

  .flow-side-images {
    flex-direction: row;
    margin-top: 8px;
  }

  .flow-side-images__item img {
    min-height: 200px;
  }

  .sub-hero-service {
    padding: 120px 0 42px;
  }

  .sub-hero-service .service-heading .section-ja {
    font-size: 2.3rem;
  }

  .sub-hero-service__title {
    font-size: 2.4rem;
  }

}

@media (max-width: 767.98px) {
  .service-section .section-heading-center {
    margin-bottom: 34px;
  }

  .service-intro__title {
    margin-bottom: 14px;
    font-size: 1.2rem;
  }

  .service-intro p,
  .facility-lead,
  .facility-note,
  .service-card__text {
    font-size: 0.92rem;
    line-height: 1.8;
  }

  .service-card-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-card {
    padding: 24px 18px 20px;
    border-radius: 16px;
  }

  .service-card__icon {
    width: 58px;
    height: 58px;
    margin-bottom: 16px;
  }

  .service-card__icon img {
    width: 42px;
    height: 42px;
  }

  .service-card__title {
    margin-bottom: 10px;
    font-size: 1.15rem;
  }

  .facility-tags {
    gap: 10px 8px;
    margin: 18px 0 14px;
  }

  .facility-tag {
    min-height: 34px;
    padding: 0 14px;
    font-size: 0.84rem;
  }

  .flow08 > li {
    padding: 22px 20px;
  }

  .flow08 > li dl {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .flow08 > li dl dt {
    min-width: auto;
    width: 100%;
    font-size: 1.05rem;
    white-space: normal;
  }

  .flow08 > li dl dd {
    width: 100%;
    line-height: 1.7;
  }

  .flow-side-images {
    flex-direction: column;
    gap: 14px;
  }

  .flow-side-images__item {
    border-radius: 16px;
  }

  .flow-side-images__item img {
    min-height: 180px;
  }

  .sub-hero-service {
    padding: 120px 0 34px;
  }

  .sub-hero-breadcrumb {
    margin-bottom: 24px;
  }

  .sub-hero-service .service-heading {
    max-width: 180px;
  }

  .sub-hero-service .service-heading .section-ja {
    font-size: 1.85rem;
  }

  .sub-hero-service__intro, .sub-hero-service_support__intro {
    gap: 14px;
    margin-top: 16px;
  }

  .sub-hero-service__icon {
    flex-basis: 50px;
    width: 70px;
  }

  .sub-hero-service__icon img {
    width: 70px;
    height: auto;
  }

  .sub-hero-service__title {
    margin-bottom: 10px;
    font-size: 1.8rem;
    line-height: 1.4;
  }

  .sub-hero-service__lead {
    font-size: 0.92rem;
    line-height: 1.8;
  }

}

/* 補助金パネル */
.service-support-panel {
  margin-top: 32px;
}

.service-support-panel__link {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px 36px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 24px rgba(60, 90, 130, 0.08);
  transition: 0.3s ease;
  position: relative;
}

.service-support-panel__link:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(60, 90, 130, 0.12);
}

.service-support-panel__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-support-panel__icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.service-support-panel__content {
  flex: 1;
}

.service-support-panel__title {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 500;
  color: #333;
}

.service-support-panel__text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.9;
  color: #555;
}

@media (max-width: 767.98px) {
  .service-support-panel__link {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 28px 24px;
    text-align: center;
  }

  .service-support-panel__content {
    display: contents;
  }

  .service-support-panel__title {
    order: 1;
    margin: 0 0 4px;
    font-size: 1.35rem;
    line-height: 1.5;
  }

  .service-support-panel__icon {
    order: 2;
    margin: 0 auto;
  }

  .service-support-panel__text {
    order: 3;
    font-size: 0.95rem;
    line-height: 1.9;
  }
  .service-panel-more {
    order: 4;
    align-self: center;
    margin-top: 6px;
  }

}

/* ==============================
   News Detail
============================== */
.news-detail-page {
  padding-top: 20px;
}

.news-detail {
  max-width: 920px;
  margin: 0 auto;
  padding: 48px 48px 40px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(60, 90, 130, 0.08);
}

.news-detail-header {
  margin-bottom: 28px;
}

.news-detail-title {
  margin: 0 0 14px;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.6;
  color: #333;
}

.news-detail-header .news-meta {
  margin: 0;
  font-size: 0.95rem;
  color: #888;
  text-align: right;
}

.news-detail-thumb {
  margin: 0 0 24px;
  overflow: hidden;
  border-radius: 16px;
}

.news-detail-thumb img {
  display: block;
  width: 60%;
  height: auto;
  margin: 0 auto;
}

.news-detail-tags {
  margin-bottom: 5px;
}

.news-detail-body {
  font-size: 1rem;
  line-height: 2;
  color: #444;
}

.news-detail-body p {
  margin: 0 0 1.4em;
}

.news-detail-body p:last-child {
  margin-bottom: 0;
}

/* 本文内に見出しやリストを入れたくなった時用 */
.news-detail-body h2,
.news-detail-body h3 {
  margin: 2.2em 0 0.8em;
  line-height: 1.5;
  color: #333;
}

.news-detail-body h2 {
  font-size: 1.35rem;
}

.news-detail-body h3 {
  font-size: 1.15rem;
}

.news-detail-body ul,
.news-detail-body ol {
  margin: 0 0 1.4em 1.4em;
  padding: 0;
}

.news-detail-body li {
  margin-bottom: 0.5em;
}

/* ==============================
   News pager
============================== */
.news-detail-pager {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
  max-width: 920px;
  margin: 36px auto 0;
}

.news-detail-pager__link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 96px;
  padding: 18px 22px;
  background: #dff1fb;
  border-radius: 16px;
  color: #333;
  text-decoration: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.news-detail-pager__link:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.news-detail-pager__label {
  margin-bottom: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1f63c5;
}

.news-detail-pager__title {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #444;
}

.news-detail-pager__link--archive {
  align-items: center;
  min-width: 160px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1f63c5;
}

.news-detail-pager__link--next {
  text-align: right;
}

/* ==============================
   Responsive
============================== */
@media (max-width: 991.98px) {
  .news-detail {
    padding: 36px 28px 32px;
  }

  .news-detail-title {
    font-size: 1.7rem;
  }

  .news-detail-pager {
    grid-template-columns: 1fr;
  }

  .news-detail-pager__link--next {
    text-align: left;
  }

  .news-detail-pager__link--archive {
    min-width: auto;
  }

}

@media (max-width: 767.98px) {
  .news-detail-page {
    padding-top: 10px;
  }

  .news-detail {
    padding: 24px 18px 22px;
    border-radius: 16px;
  }

  .news-detail-header {
    margin-bottom: 20px;
  }

  .news-detail-title {
    margin-bottom: 10px;
    font-size: 1.35rem;
    line-height: 1.6;
  }

  .news-detail-header .news-meta {
    font-size: 0.88rem;
  }

  .news-detail-thumb {
    margin-bottom: 18px;
    border-radius: 12px;
  }

  .news-detail-tags {
    margin-bottom: 20px;
  }

  .news-detail-body {
    font-size: 0.95rem;
    line-height: 1.9;
  }

  .news-detail-body h2 {
    font-size: 1.15rem;
  }

  .news-detail-body h3 {
    font-size: 1.02rem;
  }

  .news-detail-pager {
    gap: 12px;
    margin-top: 24px;
  }

  .news-detail-pager__link {
    min-height: auto;
    padding: 14px 16px;
    border-radius: 12px;
  }

  .news-detail-pager__label {
    font-size: 0.76rem;
  }

  .news-detail-pager__title,
  .news-detail-pager__link--archive {
    font-size: 0.9rem;
    line-height: 1.6;
  }

}

/* ==============================
   お問い合わせ
============================== */
.contact-page-form {
  padding: 0;
}

.contact-form-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 32px;
  background: linear-gradient(90deg, #dff1fb 0%, #f4f9fd 100%);
  border-radius: 20px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(47, 103, 208, 0.12);
}

.contact-form-row:first-child {
  padding-top: 0;
}

.contact-form-row:last-of-type {
  border-bottom: none;
}

.contact-form-label {
  font-weight: 700;
  color: #2f67d0;
  line-height: 1.8;
}

.contact-form-field {
  color: #444;
}

.contact-form-field input[type="text"],
.contact-form-field input[type="email"],
.contact-form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #cfdceb;
  border-radius: 8px;
  background: #fff;
  font-size: 1rem;
  line-height: 1.6;
  box-sizing: border-box;
}

.contact-form-field textarea {
  min-height: 180px;
  resize: vertical;
}

.required {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: #e98345;
  border-radius: 999px;
  vertical-align: middle;
}

.contact-form-note {
  margin-top: 8px;
  font-size: 0.85rem;
  color: #666;
}

.contact-form-privacy-link {
  margin-bottom: 12px;
}

.contact-form-privacy-link a {
  color: #2f67d0;
  text-decoration: underline;
}

.contact-form-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.submit-btn {
  display: inline-block;
  min-width: 180px;
  padding: 14px 24px;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}

.submit-btn--back {
  background: #cfd8e3;
  color: #333;
}

.submit-btn--confirm,
.submit-btn--send {
  background: #2f67d0;
  color: #fff;
}

.mw_wp_form .error {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: #d33;
}

@media (max-width: 767px) {
  .contact-form-wrap {
    padding: 28px 20px;
    border-radius: 16px;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 0;
  }

  .contact-form-buttons {
    flex-direction: column;
    align-items: center;
  }

  .submit-btn {
    width: 100%;
    max-width: 320px;
  }

}

/* ページネーション */
.navigation.pagination {
  margin-top: 40px;
  text-align: center;
}

.navigation.pagination .nav-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.navigation.pagination .page-numbers {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  color: #2f67d0;
  text-decoration: none;
  background: #f7fbff;
  border: 1px solid #cfe0f5;
  border-radius: 8px;
  transition: all 0.25s ease;
}

.navigation.pagination a.page-numbers:hover {
  color: #fff;
  background: #2f67d0;
  border-color: #2f67d0;
}

.navigation.pagination .page-numbers.current {
  color: #fff;
  background: #2f67d0;
  border-color: #2f67d0;
}

.navigation.pagination .page-numbers.dots {
  min-width: auto;
  padding: 0 6px;
  background: transparent;
  border: none;
  color: #7a8aa0;
}

@media (max-width: 767px) {
  .navigation.pagination .page-numbers {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

}

/* プライバシーポリシー */
.subpage .subpage-heading--wide {
  max-width: 300px;
}

.privacy-section {
  padding: 0;
}

.privacy-box {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 36px;
  background: linear-gradient(90deg, #dff1fb 0%, #f4f9fd 100%);
  border-radius: 20px;
}

.privacy-box p {
  margin: 0 0 1.4em;
  font-size: 0.98rem;
  line-height: 2;
  color: #444;
}

.privacy-title {
  position: relative;
  margin: 2.2em 0 0.9em;
  padding-left: 14px;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.5;
  color: #2f67d0;
}

.privacy-title::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 6px;
  height: 28px;
  background: #2f67d0;
  border-radius: 999px;
}

.privacy-list {
  margin: 0 0 1.5em;
  padding-left: 1.4em;
}

.privacy-list li {
  margin-bottom: 0.6em;
  line-height: 1.9;
  color: #444;
}

.privacy-contact {
  margin-top: 2.5em;
  padding: 1px 24px 18px;
  background: #fff;
  border-radius: 14px;
}

.privacy-contact-info {
  margin-bottom: 1em;
}

.privacy-contact-link a {
  color: #2f67d0;
  font-weight: 700;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .privacy-box {
    padding: 28px 20px;
    border-radius: 16px;
  }

  .privacy-title {
    font-size: 1.08rem;
    padding-left: 12px;
  }

  .privacy-title::before {
    width: 5px;
    height: 24px;
  }

  .privacy-box p,
  .privacy-list li {
    font-size: 0.94rem;
    line-height: 1.9;
  }

  .privacy-contact {
    padding: 20px 16px 14px;
  }

}

/* page-top PC */
.page-top-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  width: 50px;
  height: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: rgba(47, 103, 208, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 18px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background 0.25s ease;
}

.page-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.page-top-btn:hover {
  background: rgba(47, 103, 208, 0.9);
  color: #fff;
}

.page-top-btn__icon {
  font-size: 1rem;
  line-height: 1;
}

.page-top-btn__text {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
}


.under-page{padding-top:200px ;}
.error-404{padding-bottom:100px;}