/* ===========================
   高知物流 - メインスタイルシート
   =========================== */

/* --- フォント --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

/* --- リセット・ベース --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Yu Gothic', 'YuGothic', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  color: #000;
  background: #fff;
  overflow-x: hidden;
}

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

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

/* 別窓アイコン */
a.--blank {
  position: relative;
  display: inline-block !important;
  padding-right: 20px !important;
}
a.--blank::before,
a.--blank::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-style: solid;
  border-color: #000;
}
a.--blank::before {
  top: 50%;
  right: 3px;
  border-width: 1.5px;
  transform: translateY(-50%);
}
a.--blank::after {
  top: 50%;
  right: 0px;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px);
}
a.--blank:hover::before,
a.--blank:hover::after {
  border-color: var(--color-red);
}

/* 電話番号（tel:）リンク — ホバーのみなめらかに */
@media (prefers-reduced-motion: no-preference) {
  a[href^="tel:"] {
    display: inline-block;
    transition:
      transform 0.45s cubic-bezier(0.33, 1, 0.68, 1),
      opacity 0.45s cubic-bezier(0.33, 1, 0.68, 1),
      color 0.45s cubic-bezier(0.33, 1, 0.68, 1),
      text-shadow 0.45s ease;
  }

  a[href^="tel:"]:hover {
    opacity: 0.94;
    transform: scale(1.03);
  }

  .contact a[href^="tel:"]:hover {
    opacity: 1;
    color: #fff;
    text-shadow:
      0 0 32px rgba(255, 255, 255, 0.5),
      0 4px 20px rgba(0, 0, 0, 0.2);
    transform: scale(1.045);
  }

  .footer__address a[href^="tel:"]:hover {
    opacity: 1;
    color: var(--color-red);
    transform: scale(1.03);
    text-shadow: none;
  }

  .contact-page__phone-link:hover {
    opacity: 1;
    color: var(--color-red);
    text-decoration: underline;
    text-underline-offset: 0.12em;
    text-shadow: none;
    transform: scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  a[href^="tel:"] {
    transition: color 0.15s ease, opacity 0.15s ease;
  }

  a[href^="tel:"]:hover {
    transform: none;
  }
}

/* --- カラー変数 --- */
:root {
  --color-navy: #002866;
  --color-red: #b6232a;
  --color-gray-light: #f9f9f9;
  --color-gray-border: #d9d9d9;
  --color-gray-text: #a4a4a4;
  --color-dark-bg: #010741;
}

/* ===========================
   ヘッダー
   =========================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 2px solid var(--color-gray-border);
  height: 110px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header__logo-icon {
  width: 160px;
  height: auto;
  object-fit: contain;
}

.header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.header__logo-text-main {
  font-size: 11px;
  font-weight: bold;
  color: var(--color-navy);
  white-space: nowrap;
}

.header__logo-text-sub {
  font-size: 9px;
  color: #707070;
  white-space: nowrap;
}

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

.header__nav-list {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

.header__nav-item a {
  font-size: 16px;
  font-weight: 700;
  transition: color 0.2s;
}

.header__nav-item a:hover {
  color: var(--color-red);
}

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-navy);
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  padding: 12px 24px;
  border-radius: 60px;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.header__cta:hover {
  background-color: var(--color-red);
  color: #fff;
}

/* 1100px以下でヘッダーを圧縮して改行防止 */
@media (max-width: 1100px) {
  .header__logo-icon {
    width: 130px;
  }

  .header__nav {
    gap: 20px;
  }

  .header__nav-list {
    gap: 18px;
  }

  .header__nav-item a {
    font-size: 13px;
  }

  .header__cta {
    font-size: 13px;
    padding: 10px 18px;
    gap: 6px;
  }
}

.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.header__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  transition: all 0.3s;
}

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

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

.header__hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* モバイルメニュー */
.mobile-menu {
  display: block;
  position: fixed;
  top: 102px;
  left: 0;
  right: 0;
  max-height: calc(100vh - 102px);
  background: #fff;
  z-index: 999;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-10px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* モバイルメニュー展開中は背面スクロールを止める */
body.menu-open {
  overflow: hidden;
}

.mobile-menu__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-menu__item {
  border-bottom: 1px solid var(--color-gray-border);
}

.mobile-menu__item a {
  display: block;
  padding: 16px 0;
  font-size: 15px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.mobile-menu__item a:hover {
  color: var(--color-red);
}

.mobile-menu__cta {
  margin-top: 20px;
}

.mobile-menu__cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-navy);
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  padding: 14px;
  border-radius: 60px;
  text-align: center;
  transition: background-color 0.2s ease;
}

.mobile-menu__cta a:hover {
  background-color: var(--color-red);
}

/* トップ FV 背景（アクティブ時のみ・尺は --hero-bg-motion-ms と JS の切替間隔に同期） */
@keyframes hero-bg-zoom-in {
  from {
    transform: scale(1) translateX(0);
  }
  to {
    transform: scale(1.06) translateX(0);
  }
}

@keyframes hero-bg-pan-x {
  from {
    transform: scale(1.04) translateX(2%);
  }
  to {
    transform: scale(1.04) translateX(-2%);
  }
}

@keyframes hero-bg-zoom-drift {
  from {
    transform: scale(1.03) translateX(0);
  }
  to {
    transform: scale(1.08) translateX(-1.2%);
  }
}

/* ===========================
   ヒーローセクション
   =========================== */
.hero {
  position: relative;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  padding: 100px 20px 0;
}

@media (max-width: 767px) {
  .hero {
    height: auto;
    padding: 140px 20px 0;
  }
}

.hero__bg {
  position: relative;
  margin: 0 -20px;
  width: 85vw;
  height: auto;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  z-index: 0;
}

.hero__bg-link {
  display: block;
  height: 100%;
}

.hero__bg-link:hover .hero__bg-slides {
  opacity: 0.85;
}

.hero__bg-slides {
  --hero-bg-motion-ms: 10000ms;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 760px;
  transition: opacity 0.2s ease;
}

@media (max-width: 767px) {
  .hero__bg-slides {
    min-height: 360px;
  }
}

.hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
  opacity: 0;
  transition: opacity 1.1s ease-in-out;
  z-index: 0;
  transform-origin: center center;
  will-change: opacity;
  animation: none;
}

.hero__bg-img.is-active {
  opacity: 1;
  z-index: 1;
  will-change: opacity, transform;
}

/* 切り替え直後: アニメを外すが JS がインライン transform で見た目を維持（縮小ジャンプ防止） */
.hero__bg-img--frozen {
  animation: none !important;
  will-change: opacity;
}

.hero__bg-img:not(.is-active):not(.hero__bg-img--frozen) {
  animation: none;
}

/* 1枚目: ゆっくりズーム / 2枚目: 横に漂う / 3枚目: ズーム＋わずかに左へ */
/*
.hero__bg-slides .hero__bg-img:nth-child(1).is-active {
  animation: hero-bg-zoom-in var(--hero-bg-motion-ms) ease-in-out forwards;
}
*/

.hero__bg-slides .hero__bg-img:nth-child(2).is-active {
  animation: hero-bg-pan-x var(--hero-bg-motion-ms) ease-in-out forwards;
}
/*
.hero__bg-slides .hero__bg-img:nth-child(3).is-active {
  animation: hero-bg-zoom-drift var(--hero-bg-motion-ms) ease-in-out forwards;
}
*/

@media (prefers-reduced-motion: reduce) {
  .hero__bg-img {
    transition: none;
    animation: none !important;
    transform: none !important;
    will-change: opacity;
  }
}

.hero__content {
  overflow: hidden;
  position: relative;
  z-index: 2;
  padding: 0 24px 40px;
  max-width: 1200px;
  width: 100%;
  margin: 200px auto 0;
}

.hero__title {
  position: relative;
  overflow: hidden;
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(32px, 6vw, 120px);
  font-size: 120px;
  font-weight: 600;
  color: #000;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards 0.4s;
  text-align: center;
}
.hero__title::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  transform: translateX(-101%);
  z-index: 2;
  pointer-events: none;
  animation: slideCover 1.6s ease forwards;
}

.hero__title-accent {
  color: var(--color-navy);
}

.hero__subtitle {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  line-height: 2;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards 0.6s;
  word-break: auto-phrase;
}

.hero__thumb {
  position: absolute;
  top: 137px;
  right: 0;
  width: 18vw;
  height: 13.5vw;
  overflow: hidden;
  z-index: 2;
}

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

.hero__content::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 0;
  bottom: 0;
  width: 6px;
  background: #002866;
  z-index: 0;
  transform: translateX(-50%) translateY(0) scaleY(0);
  transform-origin: top center;
  animation: topMvTextBoxBorderMove 1.5s 1.5s ease 1 forwards;
}
  
@keyframes topMvTextBoxBorderMove {
  0% {
    transform: translateX(-50%) translateY(0) scale(1, 0);
    transform-origin: top center;
  }
  100% {
    transform: translateX(-50%) translateY(0) scaleY(1);
    transform-origin: top center;
  }
}


/* ===========================
   セクション共通
   =========================== */
.section {
  padding: 60px 24px;
}

.section--gray {
  background: var(--color-gray-light);
}

.section--dark {
  background: var(--color-dark-bg);
  color: #fff;
}

.section__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section__head {
  position: relative;
  display: inline-block;
  overflow: hidden;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.4s;
}
.section__head::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  transform: translateX(-101%);
  z-index: 2;
  pointer-events: none;
}
.section__head.--white::before {
  background: #fff;
}
.section__head.is-visible .section__label,
.section__head.is-visible .section__heading {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards .8s;
}
.section__head.is-visible::before{
  animation: slideCover 0.8s ease forwards 0.5s;
}

.title__animation {
  position: relative;
  display: inline-block;
}
.title__animation ._border {
  position: absolute;
  overflow: hidden;
}
.title__animation ._border:after {
  content: "";
  background: #222020;
  width: 100%;
  height: 100%;
  position: absolute;
  display: block;
  -webkit-transition: -webkit-transform 0.8s ease-in-out;
  transition: -webkit-transform 0.8s ease-in-out;
  transition: transform 0.8s ease-in-out;
  transition: transform 0.8s ease-in-out, -webkit-transform 0.8s ease-in-out;
}
.title__animation.--white ._border::after {
  background: #fff;
}
.title__animation ._left_top_to_right {
  width: 65%;
  height: 1px;
  left: -13.44%;
  top: -21%;
}
.title__animation ._left_top_to_right:after {
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
}
.title__animation ._left_top_to_bottom {
  width: 1px;
  height: 168%;
  left: 0.43%;
  top: -63%;
}
.title__animation ._left_top_to_bottom:after {
  -webkit-transform: translateY(-100%);
  transform: translateY(-100%);
}
.title__animation ._right_bottom_to_left {
  width: 108.4%;
  height: 1px;
  right: -15.18%;
  bottom: 0.3em;
}
.title__animation ._right_bottom_to_left:after {
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
}
.title__animation ._right_bottom_to_top {
  width: 1px;
  height: 121%;
  right: 0;
  bottom: -6.7%;
}
.title__animation ._right_bottom_to_top:after {
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
}
.title__animation.is-visible ._left_top_to_right:after {
  -webkit-transform: translateX(101%);
  transform: translateX(101%);
}
.title__animation.is-visible ._left_top_to_bottom:after {
  -webkit-transform: translateY(101%);
  transform: translateY(101%);
}
.title__animation.is-visible ._right_bottom_to_left:after {
  -webkit-transform: translateX(-101%);
  transform: translateX(-101%);
}
.title__animation.is-visible ._right_bottom_to_top:after {
  -webkit-transform: translateY(-101%);
  transform: translateY(-101%);
}

.section__label {
  font-size: 16px;
  font-weight: bold;
  color: #000;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  display: block;
}

.section__label.--white {
  color: #fff;
}

.section__heading {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(36px, 5vw, 80px);
  font-weight: 600;
  color: #000;
  line-height: 1.2;
  margin-bottom: 8px;
}

.section__heading--white {
  color: #fff;
}

.section__subheading {
  font-size: clamp(20px, 3vw, 30px);
  font-weight: bold;
  color: #000;
  line-height: 1.5;
  margin-bottom: 24px;
}

/* ===========================
   強みセクション (OUR STRENGTH)
   =========================== */
.strength {
  background: #EDEDED url(../images/top_bg_dott.svg) repeat left top/22px 11px;
  padding: 200px 24px;
  margin-top: 150px;
}

.strength__inner {
  max-width: 980px;
  margin: 0 auto;
}

.strength__header {
  margin-bottom: 100px;
  text-align: center;
}

.strength__title-wrap {
  margin-bottom: 16px;
}

.strength__lead {
  font-size: clamp(20px, 3vw, 36px);
  font-weight: bold;
  color: #000;
  line-height: 1.6;
  margin: 85px 0 30px;
}

.strength__lead span {
  color: var(--color-red);
}

.strength__text {
  font-size: 16px;
  line-height: 1.9;
  color: #333;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.strength__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.strength__gallery-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.strength__gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.strength__gallery-caption {
  position: static;
  padding: 0;
  background: transparent;
  color: #000;
  text-align: center;
  font-size: 24px;
  line-height: 1.8;
  font-weight: 700;
}

.strength__cta-wrap {
  margin-top: 90px;
  display: flex;
  justify-content: center;
}

/* ===========================
   サービスセクション
   =========================== */
.service {
  background: #222020;
  padding: 200px 24px;
  overflow: hidden;
  position: relative;
}
.service:after {
  content: "";
  background: url(../images/top_bg_dott.svg) repeat left top / 22px 11px;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  opacity: 0.7;
}

.service__header {
  max-width: 980px;
  margin: 0 auto 40px;
}

.service__heading {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(36px, 5vw, 80px);
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.service__lead {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  max-width: 980px;
}

.service__cta-wrap {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.service__cta-wrap .btn {
  position: relative;
  justify-content: center;
}

.service__cta-wrap .btn svg {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

/* スライダー */
.service-slider {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}

.service-slider__track {
  overflow: visible;
}

.service-slider__track .swiper-wrapper {
  align-items: stretch;
  padding-right: 24px;
}

.service-slider__item {
  width: clamp(280px, 35vw, 380px);
  height: auto;
}

.service-slider__img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 20px;
}

.service-slider__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-slider__item:hover .service-slider__img-wrap img {
  transform: scale(1.05);
}

.service-slider__title {
  font-size: clamp(18px, 2.5vw, 20px);
  font-weight: bold;
  color: #fff;
  margin-bottom: 12px;
}

.service-slider__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

/* スライダーナビ */
.service-slider__nav {
  --service-nav-gap: 40px;
  display: flex;
  align-items: center;
  gap: var(--service-nav-gap);
  margin: 40px 0 0;
  width: 100%;
  box-sizing: border-box;
}

.service-slider__progress {
  flex: 0 0 calc(100% - (96px + (var(--service-nav-gap) * 2)));
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  max-width: none;
  min-width: 0;
}

.service-slider__progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  transition: width 0.3s ease;
  width: 0%;
}

.service-slider__btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

.service-slider__btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.15);
}

.service-slider__btn:disabled {
  border-color: rgba(255, 255, 255, 0.3);
  cursor: default;
  opacity: 0.5;
}

.service-slider__btn svg {
  width: 16px;
  height: 16px;
  fill: none;
}

.service-slider__btn svg path {
  stroke: #fff;
}

.service-slider__btn:disabled svg {
  fill: none;
}

.service-slider__btn:disabled svg path {
  stroke: rgba(255, 255, 255, 0.3);
}

/* ===========================
   会社情報セクション
   =========================== */
.company {
  padding: 160px 24px 400px;
  background: #fff;
}

.company__inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.company__lead {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: bold;
  color: #000;
  line-height: 1.6;
  margin-bottom: 24px;
}

.company__lead span {
  color: var(--color-red);
}

.company__text {
  font-size: 15px;
  line-height: 1.9;
  color: #333;
  margin-bottom: 32px;
}

.company__images {
  position: relative;
  min-height: 500px;
}

.company__img-main {
  position: absolute;
  right: -32px;
  bottom: -235px;
  width: 460px;
  height: 640px;
  object-fit: cover;
}

.company__img-sub {
  position: absolute;
  top: 0;
  right: -120px;
  width: 250px;
  height: 300px;
  object-fit: cover;
}

/* ===========================
   ニュースセクション
   =========================== */
.news {
  padding: 80px 24px;
  background: #fff;
}

.news__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.news__layout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: start;
}

.news__list {
  list-style: none;
}

.news__item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-gray-border);
  transition: background 0.2s;
}

.news__item:first-child {
  border-top: 1px solid var(--color-gray-border);
}

.news__item:hover {
  background: rgba(0, 0, 0, 0.02);
}

.news__date {
  font-size: 14px;
  color: #555;
  white-space: nowrap;
  min-width: 90px;
  padding-top: 2px;
}

.news__tag {
  display: inline-block;
  font-size: 12px;
  border: 1px solid #000;
  padding: 2px 12px;
  border-radius: 60px;
  white-space: nowrap;
  min-width: 80px;
  text-align: center;
  flex-shrink: 0;
}

.news__text-col {
  flex: 1;
  min-width: 0;
}

.news__lead {
  font-size: 16px;
  line-height: 1.6;
  color: #000;
  margin: 0;
  white-space: pre-line;
}

.news__lead--fallback {
  font-size: 14px;
  color: #888;
}

.news__arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}

.news__item:hover .news__arrow {
  background: var(--color-navy);
  border-color: var(--color-navy);
}

.news__item:hover .news__arrow svg {
  fill: none;
}

.news__arrow svg {
  width: 10px;
  height: 10px;
  fill: none;
}

.news__arrow svg path {
  stroke: var(--color-navy);
}

.news__item:hover .news__arrow svg path {
  stroke: #fff;
}

.news-pagination {
  margin-top: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.news-pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 60px;
  color: var(--color-navy);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.news-pagination__link.is-current {
  background: var(--color-navy);
  color: #fff;
}

.news-pagination__next {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  border: 1px solid var(--color-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.news-pagination__next svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.news-pagination__link:not(.is-current):hover {
  background: rgba(0, 5, 58, 0.08);
  transform: translateY(-1px);
}

.news-pagination__next:hover {
  background: rgba(0, 5, 58, 0.08);
  transform: translateX(2px);
}

.news-pagination__next:hover svg {
  transform: translateX(1px);
}

.news-pagination__prev {
  width: 33px;
  height: 33px;
  border-radius: 50%;
  border: 1px solid var(--color-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.news-pagination__prev svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.news-pagination__prev:hover {
  background: rgba(0, 5, 58, 0.08);
  transform: translateX(-2px);
}

.news-pagination__prev:hover svg {
  transform: translateX(-1px);
}

.news-pagination__dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  padding: 0 4px;
  color: var(--color-navy);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  user-select: none;
}

.news__cta-wrap {
  margin-top: 40px;
  display: flex;
  justify-content: flex-end;
}

/* ===========================
   コラムセクション
   =========================== */
.column {
  padding: 160px 24px;
  background: var(--color-gray-light);
}

.column__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.column__empty {
  margin-top: 40px;
  padding: 48px 24px;
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

.column-slider {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.column-slider__track {
  overflow: hidden;
  margin-top: 40px;
}

.column-slider__track .swiper-wrapper {
  align-items: stretch;
  padding-right: 24px;
}

/* Swiper が .swiper-slide にインライン width を付けるため、ラッパー側で clamp を !important 固定 */
.column-slider__track.swiper .swiper-slide.column__slider-slide {
  height: auto;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  box-sizing: border-box;
  width: clamp(360px, 36vw, 380px) !important;
  max-width: 100% !important;
}

.column__grid {
  display: block;
}

.column__card {
  background: #fff;
  border: 2px solid #f2f3f4;
  overflow: hidden;
  padding: 21px 21px 24px;
  transition: border-color 0.2s ease;
  cursor: pointer;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.column__card:hover {
  border-color: #e4e7eb;
}

.column__card-link {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.column__card-img {
  width: 100%;
  flex-shrink: 0;
  height: 262px;
  background: #f2f3f4;
  object-fit: cover;
  margin-bottom: 14px;
}

.column__card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  gap: 8px;
  padding: 0;
}

.column__card-date {
  flex-shrink: 0;
  margin: 0;
  font-size: 14px;
  line-height: 24px;
  color: #000;
}

.column__card-title {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  font-size: clamp(24px, 2.1vw, 20px);
  font-weight: bold;
  color: #000;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.column__card-tags {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  align-content: flex-start;
  min-height: 24px;
  margin: 0;
}

.column__card-tag {
  font-size: 13px;
  color: #a4a4a4;
}

.column__card-arrow {
  flex-shrink: 0;
  align-self: flex-end;
  display: flex;
  justify-content: flex-end;
  margin: 0;
}

.column__card-arrow svg {
  width: 32px;
  height: 32px;
}

.column__card-arrow-circle {
  fill: transparent;
  stroke: var(--color-navy);
  stroke-width: 1px;
  transition: fill 0.25s ease, stroke 0.25s ease;
}

.column__card-arrow-path {
  stroke: var(--color-navy);
  transition: stroke 0.25s ease;
}

.column__card:hover .column__card-arrow-circle {
  fill: var(--color-navy);
  stroke: var(--color-navy);
}

.column__card:hover .column__card-arrow-path {
  stroke: #fff;
}

.column__nav {
  --column-nav-gap: 16px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--column-nav-gap);
  margin-top: 24px;
  width: 100%;
  max-width: 980px;
  margin-right: auto;
  margin-left: auto;
}

.column__progress {
  flex: 1;
  height: 2px;
  background: rgba(0, 5, 58, 0.2);
  position: relative;
  min-width: 0;
}

.column__progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: rgba(0, 5, 58, 0.65);
  transition: width 0.3s ease;
}

.column__nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #000;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.column__nav-btn:hover:not(:disabled) {
  background: var(--color-navy);
  border-color: var(--color-navy);
}

.column__nav-btn:hover:not(:disabled) svg {
  fill: none;
}

.column__nav-btn:hover:not(:disabled) svg path {
  stroke: #fff;
}

.column__nav-btn:disabled {
  border-color: rgba(0, 5, 58, 0.3);
  cursor: default;
  opacity: 0.5;
}

.column__nav-btn svg {
  width: 14px;
  height: 14px;
  fill: none;
}

.column__nav-btn svg path {
  stroke: var(--color-navy);
}

/* ===========================
   コンタクトセクション
   =========================== */
.contact {
  position: relative;
  padding: 80px 24px;
  overflow: hidden;
  background: #222020;
}

.contact__bg {
  position: absolute;
  inset: 0;
  background: url("../images/footer-bg.jpg") center center / cover no-repeat;
}

.contact__inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.contact__label {
  font-size: 16px;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  display: block;
}

.contact__heading {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(40px, 6vw, 48px);
  font-weight: 600;
  color: #fff;
  margin-bottom: 48px;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.contact__phone {
  text-align: center;
}

.contact__phone-label {
  font-weight: bold;
  color: #fff;
  margin-bottom: 12px;
}

.contact__phone-number {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: bold;
  color: #fff;
  line-height: 1.2;
}

.contact__phone-number span.tel-prefix {
  font-size: 30px;
}

.contact__phone-number .contact__phone-link {
  color: inherit;
  text-decoration: none;
}

.contact__divider {
  width: 1px;
  height: 100px;
  background: rgba(255, 255, 255, 0.5);
  margin: 0 40px;
}

.contact__email {
  text-align: center;
}

.contact__email-label {
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 20px;
}

.contact__email-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 2px solid #fff;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  padding: 18px 32px;
  border-radius: 60px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.contact__email-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.contact__email-btn svg {
  width: 24px;
  height: auto;
  fill: #fff;
}

/* ===========================
   フッター
   =========================== */
.footer {
  background: #fff;
  padding: 110px 24px 50px;
  border-top: none;
}

.footer__inner {
  max-width: 1260px;
  margin: 0 auto;
  width: 100%;
}

.footer__top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(20px, 7vw, 120px);
  margin-bottom: 0;
  align-items: start;
  justify-content: space-between;
}

.footer__nav-wrap {
  display: grid;
  grid-template-columns: repeat(5, auto);
  gap: 20px;
  min-width: 0;
}

.footer__logo {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
}

.footer__logo-icon {
  width: 210px;
  height: auto;
}

.footer__company-name {
  font-size: 14px;
  font-weight: bold;
  color: var(--color-navy);
}

.footer__address {
  font-size: 16px;
  line-height: 1.7;
  color: #000;
  font-style: normal;
  font-weight: 500;
}

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

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

.footer__cert-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 16px;
}

.footer__cert-badge {
  display: block;
  height: 56px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  object-position: left center;
}

.footer__nav-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
}

a.footer__nav-title {
  display: block;
  transition: color 0.2s ease;
}

a.footer__nav-title:hover {
  color: var(--color-red);
}

.footer__nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__nav-list li {
  font-weight: 400;
}

.footer__nav-list a {
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.footer__nav-list a:hover {
  color: var(--color-red);
}

.footer__map {
  grid-column: auto;
  max-width: 360px;
}

.footer__map-embed {
  width: 100%;
  height: 120px;
  border: 0;
  display: block;
}

.footer__map-link {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
  width: 100%;
  color: var(--color-navy);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.33;
  transition: color 0.2s ease;
}

.footer__map-link:hover {
  color: var(--color-red);
}

.footer__map-link:hover svg path {
  fill: var(--color-red);
}

.footer__map-link svg {
  width: 40px;
  height: auto;
  flex-shrink: 0;
}

.footer__nav-group--service .footer__nav-list li {
  position: relative;
  padding-left: 14px;
  font-size: 14px;
}

.footer__nav-group--service .footer__nav-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b6232a;
  transform: translateY(-50%);
}

/* ===========================
   ボタン共通
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: bold;
  padding: 14px 32px;
  border-radius: 60px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  border: none;
  width: 300px;
}

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

.btn--primary {
  position: relative;
  justify-content: center;
  background: var(--color-navy);
  color: #fff;
}

.btn--primary svg {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.btn--outline-white {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn__arrow {
  width: 28px;
  height: auto;
  fill: currentColor;
}

/* ===========================
   アニメーション
   =========================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.js-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.js-fade-up.delay-1 {
  transition-delay: 0.1s;
}

.js-fade-up.delay-2 {
  transition-delay: 0.2s;
}

.js-fade-up.delay-3 {
  transition-delay: 0.3s;
}

.js-fade-up.delay-4 {
  transition-delay: 0.4s;
}

/* ===========================
   ロゴSVG インライン
   =========================== */
.logo-svg {
  display: inline-block;
}

/* ===========================
   レスポンシブ
   =========================== */

/* タブレット */
@media (max-width: 1024px) {
  .header__nav-list {
    gap: 20px;
  }

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

  .company__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .company {
    padding-bottom: 80px;
  }

  .company__images {
    position: relative;
    min-height: 460px;
    margin-top: 8px;
  }

  .company__img-main {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 76%;
    height: 340px;
    object-fit: cover;
  }

  .company__img-sub {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 46%;
    height: 260px;
    object-fit: cover;
    z-index: 2;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 20px;
    grid-template-areas:
      "nav-wrap"
      "map"
      "brand";
  }

  .footer__nav-wrap { grid-area: nav-wrap; }
  .footer__map { grid-area: map; grid-column: span 1; max-width: none; }
  .footer__brand { grid-area: brand; }

  .column__card {
    width: clamp(320px, 54vw, 420px);
    min-height: 460px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact__divider {
    width: 100px;
    height: 1px;
    margin: 0 auto;
  }
}

/* 960px以下でハンバーガー表示に切替（表示優先のためこの位置） */
@media (max-width: 960px) {
  .header__nav {
    display: none;
  }

  .header__hamburger {
    display: flex;
  }
}

/* モバイル */
@media (max-width: 768px) {
  .header__nav {
    display: none;
  }

  .header__hamburger {
    display: flex;
  }

  /* mobile-menu is always display:block, controlled by pointer-events and opacity */

  .hero {
    min-height: auto;
  }

  .hero__content {
    padding: 0 20px 20px;
    margin-top: 110px;
  }

  .hero__content::before {
    bottom: -150px;
  }

  .hero__title {
    font-size: 10.5vw;
    text-align: center;
  }

  .hero__subtitle {
    font-size: 18px;
  }

  .section {
    padding: 40px 20px;
  }

  .hero__thumb {
    top: 120px;
    width: 10%;
    min-width: 27.2vw;
    height:21.2vw;
    box-shadow: none;
  }

  .strength {
    padding: 60px 20px;
    margin-top: 50px;
  }

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

  .strength__gallery-item img {
    height: 220px;
  }

  .service {
    padding: 60px 20px;
  }

  .service-slider__track .swiper-wrapper {
    padding-right: 20px;
  }

  .service__heading {
    font-size: clamp(32px, 8vw, 48px);
  }

  .service-slider__item {
    width: clamp(260px, 65vw, 320px);
  }

  .service-slider__nav {
    --service-nav-gap: 20px;
  }

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

  .company__images {
    min-height: 420px;
  }

  .company__img-main {
    width: 74%;
    height: 300px;
  }

  .company__img-sub {
    width: 48%;
    height: 220px;
  }

  .news__item {
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    grid-template-areas:
      "date tag . ."
      "title title title arrow";
    column-gap: 8px;
    row-gap: 10px;
    align-items: center;
  }

  .news__date {
    grid-area: date;
    min-width: 0;
    padding-top: 0;
  }

  .news__tag {
    grid-area: tag;
    min-width: 0;
  }

  .news__layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .news__text-col {
    grid-area: title;
    min-width: 0;
  }

  .news__arrow {
    grid-area: arrow;
    justify-self: end;
    align-self: start;
    margin-top: 2px;
  }

  .news-pagination {
    margin-top: 28px;
    gap: 20px;
  }

  .news-pagination__link {
    font-size: 18px;
  }

  .column-slider__track .swiper-wrapper {
    padding-right: 20px;
  }

  .column-slider__track.swiper .swiper-slide.column__slider-slide {
    width: clamp(230px, 72vw, 290px) !important;
  }

  .column__card {
    padding: 14px 14px 16px;
  }

  .column__card-img {
    height: auto;
    aspect-ratio: 16 / 10;
    margin-bottom: 10px;
  }

  .column__card-title {
    font-size: 20px;
  }

  .contact {
    padding: 60px 20px;
  }

  .contact__heading {
    font-size: clamp(36px, 10vw, 56px);
    margin-bottom: 32px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact__divider {
    width: 80px;
    height: 1px;
    margin: 0 auto;
  }

  .contact__phone-number {
    font-size: clamp(24px, 7vw, 36px);
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 20px;
    grid-template-areas:
      "nav-wrap"
      "map"
      "brand";
  }

  .footer__map {
    grid-column: span 1;
    grid-area: map;
  }

  .footer__nav-wrap { 
    grid-area: nav-wrap;
    grid-template-columns: repeat(2, minmax(0, auto));
    gap: 20px 12px;
  }

  .footer__nav-list {
    gap: 12px;
}

  .footer__brand { grid-area: brand; }

  .footer__logo-icon {
    width: 180px;
  }

  .footer__address {
    font-size: 14px;
    line-height: 1.7;
  }

  .footer__cert-badges {
    margin-top: 12px;
    gap: 10px 12px;
  }

  .footer__cert-badge {
    height: 48px;
    max-width: 100px;
  }

  .footer__map-link {
    font-size: 14px;
    justify-content: flex-start;
  }
  .footer__nav-list a {
    font-size: 14px;
  }

  .page-hero {
    padding: 100px 20px 60px;
  }
}

@media (max-width: 480px) {

  .section__heading {
    font-size: 32px;
  }

  .contact__phone-number {
    font-size: 28px;
  }
}

/* ===========================
   ページ固有スタイル
   =========================== */

/* 下層共通ヒーロー */
.subpage-hero {
  margin-top: 100px;
  padding-top: 160px;
  background: #fff;
}

.subpage-hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.subpage-hero__heading {
  overflow: hidden;
  position: relative;
  padding-left: 30px;
  padding-bottom: 30px;
  width: fit-content;
}

.subpage-hero__heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: #000;
}

.subpage-hero__heading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  transform: translateX(-101%);
  z-index: 2;
  pointer-events: none;
  animation: slideCover 1.25s ease forwards;
}

@keyframes slideCover {
  0% {
    transform: translateX(-101%);
  }

  100% {
    transform: translateX(101%);
  }
}

.subpage-hero__label {
  display: block;
  margin-bottom: 6px;
  color: var(--color-red);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.8s;
}

.subpage-hero__title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  color: #000;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.8s;
}

.subpage-hero__breadcrumb {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  font-size: 12px;
  line-height: 1.8;
  color: #808080;
}

.subpage-hero__breadcrumb a {
  color: #000;
  font-weight: 400;
  transition: color 0.2s ease;
}

.subpage-hero__breadcrumb a:hover {
  color: var(--color-red);
}

.subpage-hero__breadcrumb span[aria-hidden="true"] {
  flex-shrink: 0;
}

.subpage-hero__image-wrap {
  width: calc(50vw + 550px);
    margin-left: auto;
    margin-top: 38px;
    padding-left: 20px;
}

@media (max-width: 1110px) {
  .subpage-hero__image-wrap {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .subpage-hero__image-wrap {
    margin-top: 20px;
  }
}

.subpage-hero__image {
  display: block;
  width: 100%;
  /* height: min(30vw, 500px); */
  min-height: 220px;
  object-fit: cover;
}

/* company.html */
.company-page-section {
  padding: 100px 0;
}

.company-page__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.company-intro {
  text-align: center;
}

.company-intro__title {
  color: #000;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.5;
}

.company-intro__text {
  margin: 24px auto 0;
  font-size: 16px;
  line-height: 2;
}

.company-section-heading {
  margin-bottom: 42px;
}

.company-section-heading__ja {
  display: block;
  margin-top: 4px;
  font-size: clamp(40px, 5vw, 32px);
  font-weight: 700;
  line-height: 1.2;
}

.company-section-heading__en {
  font-family: 'Poppins', sans-serif;
  color: var(--color-red);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.company-message {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 56px;
  align-items: center;
}

.company-message__lead {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
}

.company-message__body {
  margin-top: 32px;
  font-size: 16px;
  line-height: 2;
  color: #333;
}

.company-message__body p {
  margin: 0;
}

.company-message__body p + p {
  margin-top: 1.25em;
}

.company-message__image {
  width: 100%;
  display: block;
  object-fit: cover;
}

.company-outline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1fr;
  gap: 56px;
  align-items: start;
}

.company-outline__image {
  width: 100%;
  display: block;
  object-fit: cover;
}

.company-info-list {
  border-top: 1px solid #e8edf3;
}

.company-info-list__row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid #e8edf3;
}

.company-info-list dt {
  color: #000;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}

.company-info-list dd {
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
}

.company-history {
  border-top: 1px solid #e8edf3;
}

.company-history__item {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid #e8edf3;
}

.company-history__title {
  margin: 0;
  color: var(--color-red);
  font-family: 'Poppins', sans-serif;
  font-size: 60px;
  font-weight: 600;
  line-height: 1.2;
}

.company-history__date {
  margin: 0 0 8px;
  color: #000;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
}

.company-history__body p + .company-history__date {
  margin-top: 10px;
}

.company-history__body p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
}

.company-access__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1fr;
  gap: 56px;
  align-items: center;
}

.company-access__image {
  width: 100%;
  display: block;
  object-fit: cover;
}

.company-access__map {
  margin-top: 40px;
}

.company-access__map img {
  width: 100%;
  display: block;
}

.company-access__map .footer__map-embed {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}


@media (max-width: 768px) {
  .subpage-hero {
    padding-top: 120px;
  }

  .subpage-hero__inner {
    padding: 0 20px 24px;
  }

  .subpage-hero__heading {
    padding-left: 16px;
  }

  .subpage-hero__heading::before {
    width: 3px;
    height: 96px;
  }

  .subpage-hero__label {
    font-size: 20px;
    margin-bottom: 4px;
  }

  .subpage-hero__title {
    font-size: clamp(36px, 10vw, 56px);
  }

  .subpage-hero__breadcrumb {
    margin-top: 14px;
    font-size: 12px;
    gap: 6px 8px;
  }

  .subpage-hero__breadcrumb a {
    white-space: nowrap;
  }

  .subpage-hero__breadcrumb > span:not([aria-hidden="true"]) {
    min-width: 0;
    max-width: 100%;
  }

  .subpage-hero__image {
    height: 42vw;
    min-height: 180px;
  }

  .company-page-section {
    padding: 40px 0;
  }

  .company-section-heading {
    margin-bottom: 28px;
    text-align: center;
  }

  .company-section-heading__ja {
    font-size: 20px;
  }

  .company-section-heading__en {
    font-size: clamp(34px, 9vw, 52px);
  }

  .company-intro__text {
    font-size: 14px;
    line-height: 1.9;
  }

  .company-message,
  .company-outline,
  .company-access__top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .company-message__body {
    font-size: 15px;
    line-height: 1.9;
  }

  .company-message__lead {
    font-size: 20px;
  }

  .company-info-list__row {
    gap: 4px;
    padding: 14px 0;
  }

  .company-info-list dt,
  .company-info-list dd {
    font-size: 14px;
    line-height: 1.8;
  }

  .company-history__item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 0;
  }

  .company-history__title {
    font-size: 40px;
  }

  .company-history__date {
    font-size: 15px;
  }

  .company-history__body p {
    font-size: 15px;
  }

  .company-access__map {
    margin-top: 24px;
  }

  .company-access__map .footer__map-embed {
    height: 280px;
  }

}

/* news.html / column.html */
.post-list {
  padding: 80px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.post-list__item {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-gray-border);
  align-items: flex-start;
  transition: background 0.2s;
}

.post-list__item:first-child {
  border-top: 1px solid var(--color-gray-border);
}

.post-list__img {
  width: 160px;
  height: 110px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  background: #f2f3f4;
}

.post-list__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
}

.post-list__date {
  font-size: 13px;
  color: #555;
}

.post-list__tag {
  font-size: 12px;
  border: 1px solid #000;
  padding: 2px 10px;
  border-radius: 60px;
}

.post-list__title {
  font-size: 17px;
  font-weight: bold;
  color: #000;
  line-height: 1.5;
  margin-bottom: 8px;
}

.post-list__excerpt {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}

@media (max-width: 600px) {
  .post-list__item {
    flex-direction: column;
  }

  .post-list__img {
    width: 100%;
    height: 180px;
  }
}

/* contact.html */
.contact-form {
  padding: 80px 24px;
  max-width: 800px;
  margin: 0 auto;
}

.contact-form__group {
  margin-bottom: 28px;
}

.contact-form__label {
  display: block;
  font-size: 14px;
  font-weight: bold;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.contact-form__required {
  color: var(--color-red);
  font-size: 12px;
  margin-left: 6px;
}

.contact-form__input,
.contact-form__textarea,
.contact-form__select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-gray-border);
  border-radius: 4px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s;
  background: #fff;
}

.contact-form__input:focus,
.contact-form__textarea:focus,
.contact-form__select:focus {
  outline: none;
  border-color: var(--color-navy);
}

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

.contact-form__submit {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* news.html */
.news-page__list-wrap {
  max-width: 800px;
  margin: 0 auto;
}

/* qa.html */
body.page-qa .header__nav-item a.is-current {
  color: var(--color-red);
}

.qa-page__inner {
  max-width: 980px;
  margin: 0 auto;
}

.qa-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* Q&A ページ：部門セクション間の余白（旧 .qa-list と同じ。カード列は .qa-section__list） */
.qa-page__sections {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.qa-section__title {
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-navy);
  color: var(--color-navy);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
}

.qa-section__list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.qa-card {
  border: 1px solid #d9d9d9;
  background: #fff;
}

.qa-card__row {
  display: grid;
  grid-template-columns: 40px 1fr 48px;
  gap: 20px;
  align-items: center;
  padding: 16px 26px 16px 30px;
}

.qa-card__row--question {
  border-bottom: 1px solid transparent;
  cursor: pointer;
}

.qa-card__row--answer {
  align-items: start;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  transition: max-height 0.28s ease, opacity 0.22s ease, padding 0.22s ease;
}

.qa-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
}

.qa-card__icon--q {
  background: var(--color-navy);
}

.qa-card__icon--a {
  background: var(--color-red);
}

.qa-card__text {
  font-size: 20px;
  line-height: 1.8;
}

.qa-card__toggle {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.qa-card__toggle svg {
  width: 22px;
  height: 22px;
  transition: transform 0.2s ease;
}

.qa-card.is-open .qa-card__row--answer {
  max-height: 4000px;
  opacity: 1;
  padding-top: 16px;
  padding-bottom: 16px;
}

.qa-card.is-open .qa-card__row--question {
  border-bottom-color: #d9d9d9;
}

.qa-card.is-open .qa-card__toggle svg {
  transform: rotate(180deg);
}

@media (max-width: 768px) {
  .qa-list {
    gap: 32px;
  }

  .qa-page__sections {
    gap: 32px;
  }

  .qa-section__title {
    margin-bottom: 16px;
    padding-bottom: 8px;
    font-size: 20px;
  }

  .qa-section__list {
    gap: 16px;
  }

  .qa-card__row {
    grid-template-columns: 30px 1fr 32px;
    gap: 12px;
    padding: 10px 12px;
  }

  /* SPでは .qa-card__row のpadding指定に打ち消されるため再指定 */
  .qa-card__row--answer {
    padding-top: 0;
    padding-bottom: 0;
  }

  .qa-card__icon {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }

  .qa-card__text {
    font-size: 14px;
    line-height: 1.7;
  }

  .qa-card__toggle {
    width: 32px;
    height: 32px;
  }

  .qa-card__toggle svg {
    width: 18px;
    height: 18px;
  }
}

/* column アーカイブ・詳細（静的 column.html の body.page-column-list に相当） */
body.post-type-archive-column .header__nav-item a.is-current,
body.single-column .header__nav-item a.is-current {
  color: var(--color-red);
}

.column-page__inner {
  max-width: 980px;
  margin: 0 auto;
}

.column-page__grid {
  display: grid;
  grid-template-columns: repeat(3, 300px);
  justify-content: space-between;
  gap: 40px 40px;
}

.column-page-card {
  border: 2px solid #f2f3f4;
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.column-page-card__link {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  text-decoration: none;
  color: inherit;
}

.column-page-card__img {
  flex-shrink: 0;
  height: 186px;
  margin: 14px 13px 0;
  background: #f2f3f4;
}

.column-page-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  gap: 8px;
  padding: 14px 13px 16px;
}

.column-page-card__date {
  flex-shrink: 0;
  margin: 0;
  font-size: 12px;
  line-height: 2;
}

.column-page-card__title {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.column-page-card__tags {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 6px;
  align-items: center;
  align-content: flex-start;
  min-height: 24px;
  margin: 0;
}

.column-page-card__tags span {
  font-size: 12px;
  color: #a4a4a4;
  line-height: 2;
}

.column-page-card__arrow {
  flex-shrink: 0;
  align-self: flex-end;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  box-sizing: border-box;
  border: 1px solid var(--color-navy);
  background: var(--color-navy);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease;
}

.column-page-card__arrow svg {
  width: 14px;
  height: 14px;
}

.column-page-card:hover .column-page-card__arrow {
  background: #fff;
  color: var(--color-navy);
}

.column-page-card__arrow svg path {
  stroke: currentColor;
  transition: stroke 0.25s ease;
}

body.post-type-archive-column .news-pagination {
  margin-top: 55px;
}

@media (max-width: 1024px) {
  .column-page__grid {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    justify-content: stretch;
  }
}

@media (max-width: 768px) {
  .column-page__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .column-page-card {
    padding: 10px;
  }

  .column-page-card__img {
    margin: 0;
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .column-page-card__body {
    padding: 10px 10px 12px;
  }

  .column-page-card__date {
    font-size: 10px;
  }

  .column-page-card__title {
    font-size: 16px;
  }

  .column-page-card__tags span {
    font-size: 12px;
  }

}

/* contact.html */
body.page-contact .header__nav-item a.is-current {
  color: var(--color-red);
}

.contact-page__inner {
  max-width: 980px;
  margin: 0 auto;
}

.contact-page__lead {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e6e6e6;
}

/* Contact Form 7（お問い合わせページ・フォームタブで下記クラス付き HTML を使う想定） */
.contact-page__cf7 .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-page__cf7 .wpcf7-form-control-wrap {
  display: block;
}

.contact-page__cf7 .wpcf7-not-valid-tip {
  color: var(--color-red);
  font-size: 14px;
  margin-top: 6px;
}

.contact-page__cf7 .wpcf7-response-output {
  margin: 0;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 15px;
  line-height: 1.7;
}

.contact-page__cf7 .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

.contact-page__cf7 .wpcf7-acceptance label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1.8;
  margin-top: 10px;
}

.contact-page__cf7 .wpcf7-acceptance input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* CF7 の submit は <input> のため子要素に SVG を置けない → 背景 SVG で矢印を表示 */
.contact-page__cf7 .wpcf7-submit {
  --contact-submit-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M5 2L10 7L5 12' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 300px;
  min-height: 52px;
  padding: 16px 48px 16px 24px;
  border: none;
  border-radius: 60px;
  background-color: var(--color-navy);
  background-image: var(--contact-submit-arrow);
  background-repeat: no-repeat;
  background-position: right 24px center;
  background-size: 14px 14px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
  appearance: none;
}

.contact-page__cf7 .wpcf7-submit:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.contact-page__cf7 .wpcf7-spinner {
  display: none !important;
}

.contact-page__cf7 .contact-page__submit-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* CF7 が [submit] を <p> で包むため、p 内も中央揃え */
.contact-page__cf7 .contact-page__submit-wrap > p {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
  width: 100%;
}

.contact-page__phone-cta {
  text-align: center;
  margin-bottom: 36px;
}

.contact-page__phone-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 10px;
}

.contact-page__phone-number {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.contact-page__phone-number .tel-prefix {
  font-size: 0.6em;
}

.contact-page__phone-link {
  color: var(--color-navy);
  text-decoration: none;
}

.contact-page__form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-page__row {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  column-gap: 30px;
  align-items: start;
}

.contact-page__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* CF7 が head 内に <p>…<br>…</p> を出す場合、flex は p に効かせる */
.contact-page__cf7 .contact-page__head {
  min-width: 0;
}

.contact-page__cf7 .contact-page__head > p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0;
  flex: 1;
  width: 100%;
  min-width: 0;
}

.contact-page__cf7 .contact-page__head > p br {
  display: none;
}

.contact-page__label {
  padding-top: 15px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
  color: #000;
}

.contact-page__required {
  width: 50px;
  height: 30px;
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-navy);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.contact-page__input,
.contact-page__textarea {
  width: 100%;
  border: 1px solid #d9d9d9;
  background: #fff;
  font-size: 16px;
  font-family: inherit;
  color: #000;
}

.contact-page__input {
  height: 60px;
  padding: 14px 16px;
}

.contact-page__textarea {
  min-height: 250px;
  resize: vertical;
  padding: 14px 16px;
}

.contact-page__input::placeholder {
  color: #a4a4a4;
}

.contact-page__input:focus,
.contact-page__textarea:focus {
  outline: none;
  border-color: var(--color-navy);
}

.contact-page__agree-wrap {
  margin: 0 auto;
  width: fit-content;
}

.contact-page__policy-link {
  display: inline-block;
  font-size: 16px;
  line-height: 2;
  color: var(--color-red);
  text-decoration: underline;
}

.contact-page__agree {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 16px;
  line-height: 1.8;
}

.contact-page__agree input {
  width: 20px;
  height: 20px;
  border: 1px solid #d9d9d9;
}

.contact-page__submit-wrap {
  display: flex;
  justify-content: center;
}

.contact-page__submit-wrap .btn.btn--primary {
  min-width: 300px;
}

.privacy-policy {
  max-width: 980px;
  margin: 0 auto;
}

.privacy-policy__heading {
  margin-bottom: 28px;
}

.privacy-policy__label {
  display: block;
  color: var(--color-red);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.privacy-policy__title {
  margin-top: 8px;
  color: var(--color-navy);
  font-size: 60px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  line-height: 1.1;
}

.privacy-policy h3 {
  margin-top: 34px;
  color: var(--color-navy);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.privacy-policy p {
  margin-top: 12px;
  font-size: 16px;
  line-height: 2;
}

@media (max-width: 768px) {
  .contact-page__row {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 8px;
  }

  .contact-page__label {
    padding-top: 0;
    font-size: 18px;
  }

  .contact-page__required {
    margin-top: 0;
  }

  .contact-page__head {
    justify-content: flex-start;
    gap: 20px;
  }

  .contact-page__cf7 .contact-page__head > p {
    justify-content: flex-start;
  }

  .contact-page__field {
    width: 100%;
  }

  .contact-page__agree-wrap,
  .contact-page__submit-wrap {
    margin-left: 0;
  }

  .contact-page__submit-wrap .btn.btn--primary {
    min-width: 0;
    width: 100%;
  }

  .privacy-policy__label {
    font-size: 20px;
  }

  .privacy-policy__title {
    font-size: 38px;
  }

  .privacy-policy h3 {
    font-size: 20px;
  }
}

/* ===========================
   サービス詳細（高圧ガス・大型ウィング等 共通レイアウト）
   =========================== */
body.page-service-gas .header__nav-item a.is-current,
body.page-service-wing .header__nav-item a.is-current,
body.page-strength .header__nav-item a.is-current,
body.page-business .header__nav-item a.is-current {
  color: var(--color-red);
}

.business-intro {
  padding: 160px 0;
}

.business-intro__inner {
  max-width: 1028px;
  margin: 0 auto;
  padding: 0 24px;
}

.business-intro__title {
  margin: 0;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.5;
  color: #000;
  text-align: left;
}

.business-intro__text {
  margin: 24px 0 0;
  font-size: 16px;
  line-height: 2;
  color: #000;
  text-align: left;
}

/* 事業紹介：各部門ブロック */
.business-services {
  padding: 0 0 80px;
}

.business-service {
  padding: 0 0 140px;
}

.business-service:last-child {
  padding-bottom: 0;
}

.business-service__inner {
  max-width: 1028px;
  margin: 0 auto;
  padding: 0 24px;
}

.business-service__head {
  border-left: 3px solid var(--color-red);
  padding-left: 16px;
}

.business-service__kicker {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-red);
}

.business-service__title {
  margin: 6px 0 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.45;
  color: #1a1a1a;
}

.business-service__figure {
  margin: 28px 0 0;
}

.business-service__img {
  width: 100%;
  aspect-ratio: 2.5 / 1;
  height: auto;
  object-fit: cover;
}

.business-service__text {
  margin: 24px 0 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  color: #222020;
  text-align: left;
}

.strength-about {
  padding: 80px 0;
}

.strength-about__inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 144px minmax(0, 1fr);
  column-gap: 40px;
  align-items: start;
}

.strength-about__kicker {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-red);
}

.strength-about__content {
  min-width: 0;
}

.strength-about__title {
  margin: 0;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.5;
  color: #000;
}

.strength-about__text {
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 2;
  color: #000;
}

.strength-gallery {
  padding: 0 0 80px;
}

.strength-gallery__inner {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.strength-gallery__marquee {
  width: 100%;
  overflow: hidden;
  background: #f4f4f4;
}

/* 2セット構成＋translateX(-50%) で枚数に依存しないシームレスループ */
.strength-gallery__track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  min-height: 300px;
  animation: strength-gallery-loop 48s linear infinite;
}

.strength-gallery__set {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  min-height: 300px;
}

/* 帯の高さは一定、各画像は元の縦横比のまま（max で枠に収める。極端に横長は幅優先で高さが下がる） */
.strength-gallery__photo {
  max-height: 300px;
  max-width: min(720px, 85vw);
  width: auto;
  height: auto;
  flex: 0 0 auto;
  display: block;
}

@keyframes strength-gallery-loop {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.strength-points {
  padding: 160px 0;
  background: #f9f9f9;
}

.strength-points__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.strength-points__heading {
  text-align: center;
}

.strength-points__en {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1;
}

.strength-points__ja {
  margin: 14px 0 0;
  font-size: 32px;
  font-weight: 700;
  color: var(--color-red);
  line-height: 1.4;
}

.strength-point {
  margin-top: 120px;
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.strength-point--reverse {
  grid-template-columns: minmax(0, 1fr) 400px;
}

.strength-point--reverse .strength-point__media {
  order: 2;
}

.strength-point__media {
  margin: 0;
}

.strength-point__img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.strength-point__num {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-style: italic;
  font-weight: 600;
  font-size: 72px;
  line-height: 1;
  color: rgba(1, 7, 65, 0.12);
}

.strength-point__title {
  margin: -28px 0 0;
  padding-left: 16px;
  border-left: 2px solid #b6232a;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.55;
  color: #010741;
}

.strength-point__title--red {
  color: #b6232a;
}

.strength-point__text {
  margin: 22px 0 0;
  font-size: 16px;
  line-height: 2;
  color: #000;
}

.servicedetail-container {
  max-width: 1028px;
  margin: 0 auto;
  padding: 0 24px;
}

.servicedetail-intro {
  padding: 80px 0;
}

.servicedetail-intro__text {
  font-size: 16px;
  line-height: 2;
  color: #000;
}

.servicedetail-problems {
  --servicedetail-problems-tail-h: 44px;
  --servicedetail-problems-tail-half-w: 93px;
  padding: 80px 0 calc(80px + var(--servicedetail-problems-tail-h));
  background-color: #f9f9f9;
  background-image: radial-gradient(circle, #E9EBED 1px, transparent 1px);
  background-position: 0 0;
  background-size: 8px 8px;
  /* 下端を吹き出しの三角に（同一背景がそのまま繋がる） */
  -webkit-clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - var(--servicedetail-problems-tail-h)),
    calc(50% + var(--servicedetail-problems-tail-half-w)) calc(100% - var(--servicedetail-problems-tail-h)),
    50% 100%,
    calc(50% - var(--servicedetail-problems-tail-half-w)) calc(100% - var(--servicedetail-problems-tail-h)),
    0 calc(100% - var(--servicedetail-problems-tail-h))
  );
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - var(--servicedetail-problems-tail-h)),
    calc(50% + var(--servicedetail-problems-tail-half-w)) calc(100% - var(--servicedetail-problems-tail-h)),
    50% 100%,
    calc(50% - var(--servicedetail-problems-tail-half-w)) calc(100% - var(--servicedetail-problems-tail-h)),
    0 calc(100% - var(--servicedetail-problems-tail-h))
  );
}

.servicedetail-problems__title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: var(--color-red);
  line-height: 1.3;
}

.servicedetail-problems__list {
  margin: 36px auto 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  width: fit-content;
}

.servicedetail-problems__item {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 920px;
  padding-left: 56px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  color: #010741;
  text-align: left;
}

.servicedetail-problems__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc((1lh - 32px) / 2);
  width: 32px;
  height: 32px;
  box-sizing: border-box;
  border-radius: 9999px;
  background: transparent;
  border: 2px solid var(--color-navy);
}

.servicedetail-problems__item::after {
  content: "";
  position: absolute;
  left: 10px;
  top: calc(0.5 * 1lh);
  width: 12px;
  height: 6px;
  border-left: 3px solid var(--color-navy);
  border-bottom: 3px solid var(--color-navy);
  transform: translateY(-50%) rotate(-45deg);
}

.servicedetail-solution {
  padding: 48px 0 80px;
  background: #fff;
}

.servicedetail-solution__head {
  text-align: center;
}

.servicedetail-solution__navy {
  margin: 0;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-navy);
}

.servicedetail-solution__red {
  margin: 6px 0 0;
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: var(--color-red);
}

.servicedetail-strength {
  padding: 0 0 60px;
  background: #fff;
}

.servicedetail-strength__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  max-width: 100%;
}

.servicedetail-strength__hero-media {
  margin: 0;
  min-width: 0;
  min-height: 420px;
  overflow: hidden;
  background: #e0e0e0;
}

.servicedetail-strength__hero-img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

/* 他セクションと同じ 980px 枠の右端・内側パディングに揃える（画面左端は画像のみ） */
.servicedetail-strength__hero-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  box-sizing: border-box;
  min-width: 0;
  padding-top: 60px;
  padding-bottom: 60px;
  padding-left: clamp(24px, 4vw, 48px);
  padding-right: max(24px, calc((100vw - 1028px) / 2 + 24px));
}

.servicedetail-strength__hero-body {
  text-align: right;
  max-width: min(480px, 100%);
  margin-left: auto;
  width: 100%;
}

.servicedetail-strength__hero-head {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.servicedetail-strength__kicker {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-red);
  line-height: 1.4;
}

.servicedetail-strength__en {
  font-family: "Poppins", sans-serif;
  font-size: 60px;
  font-weight: 600;
  color: var(--color-navy);
  text-transform: uppercase;
  line-height: 1.1;
  margin: 12px 0 0;
}

.servicedetail-strength__lead {
  margin: 38px 0 0;
  font-size: 36px;
  font-weight: 700;
  color: #000;
  line-height: 1.67;
  text-align: right;
}

.servicedetail-strength__hero-copy {
  margin-top: 40px;
}

.servicedetail-strength__hero-text {
  margin: 0;
  font-size: 16px;
  line-height: 2;
  color: #000;
  text-align: right;
}

.servicedetail-strength__hero-copy .servicedetail-strength__hero-text + .servicedetail-strength__hero-text {
  margin-top: 1rem;
}

.servicedetail-strength__hero-em {
  font-weight: 700;
}

.servicedetail-solution__detail {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.servicedetail-solution-detail__item {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 72px 1fr;
  column-gap: 24px;
  align-items: center;
}

.servicedetail-solution-detail__num {
  font-family: "Poppins", sans-serif;
  font-style: italic;
  font-weight: 600;
  font-size: 48px;
  color: var(--color-navy);
  line-height: 1;
}

.servicedetail-solution-detail__title {
  font-size: 24px;
  font-weight: 700;
  color: #010741;
  line-height: 1.6;
}

.servicedetail-solution-detail__desc {
  margin-top: 12px;
  font-size: 16px;
  line-height: 2;
  color: #000;
}

/* 共通: 番号+見出しを1行、本文は下段に配置 */
.servicedetail-solution-detail__body {
  display: contents;
}

.servicedetail-solution-detail__title {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  align-self: center;
}

.servicedetail-solution-detail__desc {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 12px;
}

.servicedetail-section-heading {
  text-align: center;
}

.servicedetail-section-heading--center {
  text-align: center;
}

.servicedetail-section-heading__en {
  font-family: "Poppins", sans-serif;
  font-size: 60px;
  font-weight: 600;
  color: var(--color-navy);
  text-transform: uppercase;
  line-height: 1;
}

.servicedetail-section-heading__en + .servicedetail-section-heading__ja {
  margin-top: 16px;
}

.servicedetail-section-heading__ja + .servicedetail-section-heading__en {
  margin-top: 16px;
}

.servicedetail-section-heading__ja {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.servicedetail-section-heading__ja--red {
  color: var(--color-red);
}

.servicedetail-section-heading__ja--navy {
  color: var(--color-navy);
}

.servicedetail-items,
.servicedetail-vehicles,
.servicedetail-flow,
.servicedetail-qa {
  padding: 80px 0;
}

.servicedetail-items__lead,
.servicedetail-vehicles__lead,
.servicedetail-flow__lead,
.servicedetail-qa__lead {
  text-align: center;
  max-width: 820px;
  margin: 26px auto 0;
  font-size: 16px;
  line-height: 2;
  color: #000;
}

.servicedetail-qa__lead {
  margin-bottom: 40px;
}

.servicedetail-pill-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 8px;
  row-gap: 20px;
  margin-top: 36px;
}

/* 列数に応じた等幅（Figma: 4列時は各ピルが同じ幅・端数行は中央寄せ） */
.servicedetail-pill {
  box-sizing: border-box;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 9999px;
  background: var(--color-navy);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 0 1 calc((100% - 24px) / 4);
  max-width: calc((100% - 24px) / 4);
}

/* 大型ウイングページの「取扱い品目」のみ：PC時は5列 */
body.page-service-wing .servicedetail-items .servicedetail-pill {
  flex: 0 1 calc((100% - 32px) / 5);
  max-width: calc((100% - 32px) / 5);
}

.servicedetail-pill--long {
  letter-spacing: -0.25em;
}

@media (max-width: 1024px) {
  .servicedetail-pill {
    flex: 0 1 calc((100% - 16px) / 3);
    max-width: calc((100% - 16px) / 3);
  }
}

@media (max-width: 768px) {
  .servicedetail-pill {
    flex: 0 1 calc((100% - 8px) / 2);
    max-width: calc((100% - 8px) / 2);
  }
}

@media (max-width: 480px) {
  .servicedetail-pill {
    flex: 0 1 100%;
    max-width: 100%;
  }
}

.servicedetail-items__note {
  text-align: center;
  font-size: 16px;
  line-height: 2;
  margin-top: 26px;
  color: #000;
}

.servicedetail-vehicle-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 55px;
  margin-top: 56px;
}

.servicedetail-vehicle-card {
  max-width: 400px;
  flex: 0 1 400px;
  text-align: center;
}

.servicedetail-vehicle-card__figure {
  margin: 0;
}

.servicedetail-vehicle-card__img {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.servicedetail-vehicle-card__title {
  margin: 20px 0 0;
  font-size: 30px;
  font-weight: 700;
  color: var(--color-red);
  line-height: 1.3;
}

.servicedetail-vehicle-card__specs {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.5;
  color: #000;
  text-align: left;
}

.servicedetail-vehicle-card__specs p {
  margin: 0;
}

.servicedetail-flow {
  padding: 80px 0;
  background-color: #f9f9f9;
  background-image: radial-gradient(circle, #e9ebed 1px, transparent 1px);
  background-position: 0 0;
  background-size: 8px 8px;
}

.servicedetail-flow-steps {
  list-style: none;
  padding: 0;
  margin: 56px auto 0;
  max-width: 980px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.servicedetail-flow-step {
  overflow: visible;
}

.servicedetail-flow-step__card {
  box-sizing: border-box;
  max-width: 980px;
  margin: 0 auto;
  min-height: 86px;
  padding: 0 24px;
  background: #fff;
  display: flex;
  align-items: center;
}

.servicedetail-flow-step--has-tail .servicedetail-flow-step__card {
  --servicedetail-flow-tail-h: 14px;
  --servicedetail-flow-tail-half-w: 18px;
  position: relative;
  border: 1px solid #d9d9d9;
}

/* 吹き出しと同様：外側三角＝枠色、内側三角＝背景（三角部分も枠線が見える） */
.servicedetail-flow-step--has-tail .servicedetail-flow-step__card::before {
  content: "";
  position: absolute;
  bottom: calc(-1 * (var(--servicedetail-flow-tail-h) - 2px));
  left: 50%;
  z-index: 2;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: calc(var(--servicedetail-flow-tail-h) - 2px) calc(var(--servicedetail-flow-tail-half-w) - 1px) 0
    calc(var(--servicedetail-flow-tail-half-w) - 1px);
  border-color: #fff transparent transparent transparent;
  transform: translateX(-50%);
}

.servicedetail-flow-step--has-tail .servicedetail-flow-step__card::after {
  content: "";
  position: absolute;
  bottom: calc(-1 * var(--servicedetail-flow-tail-h));
  left: 50%;
  z-index: 1;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: var(--servicedetail-flow-tail-h) var(--servicedetail-flow-tail-half-w) 0 var(--servicedetail-flow-tail-half-w);
  border-color: #d9d9d9 transparent transparent transparent;
  transform: translateX(-50%);
}

.servicedetail-flow-step--last .servicedetail-flow-step__card {
  border: 1px solid #D9D9D9;
}

.servicedetail-flow-step__grid {
  display: grid;
  grid-template-columns: 80px 150px minmax(0, 1fr);
  grid-template-rows: auto auto;
  row-gap: 8px;
  column-gap: 0;
  align-items: start;
  width: 100%;
  min-height: 100px;
}

.servicedetail-flow-step--has-tail .servicedetail-flow-step__grid {
  padding-bottom: 0;
}

.servicedetail-flow-step--last .servicedetail-flow-step__grid {
  min-height: 86px;
  padding-bottom: 0;
}

.servicedetail-flow-step__num {
  font-family: "Poppins", sans-serif;
  font-style: italic;
  font-weight: 600;
  font-size: 48px;
  color: #010741;
  line-height: 1;
  grid-column: 1;
  grid-row: 1;
  align-self: center;
}

.servicedetail-flow-step__title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #010741;
  line-height: 1.4;
  grid-column: 2 / -1;
  grid-row: 1;
  align-self: center;
}

.servicedetail-flow-step__desc {
  margin: 0;
  padding-left: 0;
  font-size: 16px;
  line-height: 2;
  color: #000;
  grid-column: 1 / -1;
  grid-row: 2;
}

.servicedetail-qa__heading {
  text-align: center;
}

.servicedetail-qa__en {
  font-family: "Poppins", sans-serif;
  font-size: 60px;
  font-weight: 600;
  color: var(--color-navy);
  text-transform: uppercase;
  line-height: 1;
}

.servicedetail-qa__ja {
  margin-top: 16px;
  font-size: 24px;
  font-weight: 700;
  color: var(--color-red);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .business-intro {
    padding: 60px 0;
  }

  .business-intro__inner {
    padding: 0 20px;
  }

  .business-intro__title {
    font-size: 24px;
    line-height: 1.5;
  }

  .business-intro__text {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.9;
  }

  .business-services {
    padding: 0 0 60px;
  }

  .business-service {
    padding-bottom: 56px;
  }

  .business-service__inner {
    padding: 0 20px;
  }

  .business-service__head {
    padding-left: 12px;
  }

  .business-service__kicker {
    font-size: 15px;
  }

  .business-service__title {
    margin-top: 4px;
    font-size: 22px;
    line-height: 1.45;
  }

  .business-service__figure {
    margin-top: 20px;
  }

  .business-service__img {
    aspect-ratio: 16 / 9;
  }

  .business-service__text {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.9;
  }

  .strength-about {
    padding: 60px 0;
  }

  .strength-about__inner {
    padding: 0 20px;
    display: block;
  }

  .strength-about__kicker {
    font-size: 20px;
  }

  .strength-about__title {
    margin-top: 8px;
    font-size: 28px;
    line-height: 1.5;
  }

  .strength-about__text {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.9;
  }

  .strength-gallery {
    padding: 0 0 60px;
  }

  .strength-gallery__inner {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .strength-gallery__track {
    gap: 0;
    animation-duration: 40s;
    min-height: 210px;
  }

  .strength-gallery__set {
    min-height: 210px;
  }

  .strength-gallery__photo {
    max-height: 210px;
    max-width: min(520px, 88vw);
    width: auto;
    height: auto;
  }

  .strength-points {
    padding: 60px 0;
  }

  .strength-points__inner {
    padding: 0 20px;
  }

  .strength-points__en {
    font-size: 44px;
  }

  .strength-points__ja {
    margin-top: 10px;
    font-size: 20px;
  }

  .strength-point,
  .strength-point--reverse {
    margin-top: 40px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .strength-point--reverse .strength-point__media {
    order: 0;
  }

  .strength-point__img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .strength-point__num {
    font-size: 52px;
  }

  .strength-point__title {
    margin-top: -18px;
    font-size: 28px;
    line-height: 1.5;
  }

  .strength-point__text {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.9;
  }

  .servicedetail-pill-grid {
    row-gap: 15px;
  }

  body.page-service-wing .servicedetail-items .servicedetail-pill {
    flex: 0 1 calc((100% - 8px) / 2);
    max-width: calc((100% - 8px) / 2);
  }

  .servicedetail-container {
    padding: 0 20px;
  }

  .servicedetail-intro {
    padding: 60px 0;
  }

  .servicedetail-solution {
    padding: 36px 0 60px;
  }

  .servicedetail-strength {
    padding: 0 0 40px;
  }

  .servicedetail-strength__hero {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .servicedetail-strength__hero-media {
    order: 2;
    min-height: 240px;
  }

  .servicedetail-strength__hero-img {
    min-height: 240px;
  }

  .servicedetail-strength__hero-panel {
    display: contents;
  }

  .servicedetail-strength__hero-body {
    display: contents;
    text-align: left;
    margin-left: 0;
    max-width: none;
  }

  .servicedetail-strength__hero-head {
    order: 1;
    align-items: flex-start;
    padding: 32px 20px 0;
    margin-bottom: 20px;
  }

  .servicedetail-strength__hero-copy {
    order: 3;
    margin-top: 0;
    padding: 24px 20px 0;
  }

  .servicedetail-strength__en {
    font-size: 44px;
  }

  .servicedetail-strength__lead {
    margin-top: 30px;
    font-size: 20px;
    text-align: left;
  }

  .servicedetail-strength__hero-text {
    text-align: left;
  }

  .servicedetail-problems__title {
    font-size: 28px;
  }

  .servicedetail-problems__item {
    font-size: 16px;
    padding-left: 46px;
  }

  .servicedetail-problems__item::before {
    width: 34px;
    height: 34px;
    top: calc((1lh - 34px) / 2);
  }

  .servicedetail-problems__item::after {
    left: 12px;
  }

  .servicedetail-solution__red {
    font-size: 28px;
  }

  .servicedetail-solution__navy {
    font-size: 20px;
  }

  .servicedetail-solution__detail {
    gap: 36px;
  }

  .servicedetail-solution-detail__item {
    grid-template-columns: 56px 1fr;
    column-gap: 16px;
  }

  .servicedetail-solution-detail__num {
    font-size: 34px;
  }

  .servicedetail-solution-detail__title {
    font-size: 18px;
  }

  .servicedetail-items,
  .servicedetail-vehicles,
  .servicedetail-flow,
  .servicedetail-qa {
    padding: 60px 0;
  }

  .servicedetail-section-heading__en,
  .servicedetail-qa__en {
    font-size: 44px;
  }

  .servicedetail-section-heading__ja,
  .servicedetail-qa__ja {
    font-size: 20px;
  }

  .servicedetail-flow-step__card {
    padding: 10px 16px;
  }

  .servicedetail-flow-step__grid {
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto;
    row-gap: 8px;
    column-gap: 12px;
    align-items: start;
    min-height: 0;
  }

  .servicedetail-flow-step__num {
    font-size: 34px;
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }

  .servicedetail-flow-step__title {
    font-size: 18px;
    grid-column: 2 / -1;
    grid-row: 1;
  }

  .servicedetail-flow-step__desc {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 15px;
  }

  .servicedetail-pill {
    font-size: 14px;
    height: 32px;
  }
}