﻿/* 1920px: ページ幅 / フルブリード要素のみ拡大。コンテンツは max-width 1200px */
:root {
  --page-max: 1920px;
  --content-max: 1200px;
  --wrapper-max: 1060px;
  --wrapper-margin: 70px auto 0;
  --content-pad: 80px;
  --gutter: 160px;
  --blue: #0084CF;
  --blue-light: #50bed8;
  --deep-blue: #003467;
  --text: #333333;
  --muted: #666666;
  --hours: #707070;
  --bg-soft: #f8f8f8;
  --white: #ffffff;
  --overlay-blue: rgba(1, 75, 148, 0.1);
  --overlay-company: rgba(61, 170, 219, 0.1);
  --overlay-recruit: rgba(1, 75, 148, 0.3);
  /* --header-h: 130px; */
  --hero-h: 1067px;
  --radius-pill: 30px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* コンテンツ幅 1200px 内のレイアウト（1440px デザイン準拠） */
  --col-media: 546px;
  --col-media-h: 409px;
  --col-text: 444px;
  --split-gap: 70px;
  --business-col-text: 549px;
  --business-col-visual: 520px;
  --business-visual-min: 546px;
  --business-lg-w: 409px;
  --business-lg-h: 546px;
  --business-sm-w: 280px;
  --business-sm-h: 381px;
  --service-list-w: 300px;
  --pill-w: 240px;
  --pill-h: 54px;
  --contact-card-w: 716px;
  --contact-card-h: 137px;
  --recruit-min-h: 585px;
  --footer-min-h: 321px;
  --footer-brand-w: 280px;
  --logo-w: 190px;
  --nav-w: 480px;
  --header-cta-w: 176px;
  --header-cta-h: 43px;
  /* --section-heading-w: 240px; */
} 

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px; /* ヘッダー(110px)に潜り込まないよう、130px手前で自動停止させる命令 */
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text);
}

body.nav-open {
  overflow: hidden;
}

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

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

.page {
  width: 100%;
  max-width: var(--page-max);
  margin: 0 auto;
  background: var(--white);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.06);
}

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


/* Header */
.site-header {
  position: fixed;
  top: 0;
  z-index: 100;
  height: 110px;
  background: rgba(255, 255, 255, 0.8);
  width: 100%;
  /*! backdrop-filter: blur(8px); */
}

.header-inner {
  height: 100%;
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--content-pad);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 60px;
}

/*! .logo img {
  width: var(--logo-w);
  height: auto;
} */

.main-nav {
  justify-self: right;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--nav-w), 100%);
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  color: var(--deep-blue);
  margin-right: 70px;
}

.main-nav a {
  position: relative;
  transition: color 0.25s var(--ease);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s var(--ease);
  border-radius: 20px;
}

/* .main-nav a:hover {
  color: var(--blue);
} */

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  min-width: var(--header-cta-w);
  height: var(--header-cta-h);
  padding: 0 24px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 100%);
  color: var(--white);
  font-size: 15px;
  font-weight: 900;
  line-height: normal;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), filter 0.2s var(--ease);
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 106, 164, 0.35);
  filter: brightness(1.05);
}

.header-cta:active {
  transform: scale(0.97);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px auto;
  background: var(--deep-blue);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.nav-overlay {
  display: none;
}

/* 追加したスマホ専用ボタンが、PC大画面のときは非表示になるように隠す */
.main-nav .nav-sp-cta {
  display: none;
}


/* スライダー */
.bg-slider {
	width: 100vw;
	min-height: 800px;
	background-position:50%;
	background-size: cover;
	display: flex;
	align-items: center;
	justify-content: center;
}
@media (min-width: 1600px) {
  .wide {
    display: block!important;
  }
  .pc {
    display: none!important;
  }
}
@media (max-width: 1600px) {
  .wide {
    display: none!important;
  }
  .pc {
    display: block!important;
  }
}
@media (min-width: 480px) {
  .mobile{
    display: none!important;
  }
}
@media (max-width: 480px) {
  .mobile{
    display: block!important;
  }
  .pc{
    display: none!important;
  }
}


/* Hero */
.hero {
  position: relative;
  width: 100%;
  min-height: 800px;
  /*! height: clamp(520px, 55.57vw, var(--hero-h)); */
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /*! object-position: center 15%; */
}

.hero-shape-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.hero-shape {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: bottom center;
}

#hero-anime-svg {
  position: absolute;              /* 親枠の下位置から計算して貼り付けるための処理 */
  bottom: 0;                       /* 画面縮小時に帯が上に浮き上がってくるのを100%防ぐ */
  left: 0;                         
  width: 100%;
  height: auto !important;         /* 縦方向への無理な引き伸ばしをCSSで完全に上書き解除 */
  aspect-ratio: 1436 / 450;        /* どんな画面幅になっても元の比率を「絶対に」変更しない命令 */
  display: block;
  overflow: visible !important;
  transform: translateY(30%);      /* 伸縮するSVG自体の縦幅に対して常に+%分だけ自動的に押し下げ、理想の比率でカット */
}

.gsap-hero-text1,
.gsap-hero-text2 {
  font-family: "Noto Sans JP", sans-serif;
}

/* GSAP Hero Animation (追加コード) */

/* JavaScriptが読み込まれる前に文字が一瞬見えてしまうのを防ぐ */
#gsap-logo-group,
.gsap-hero-text1,
.gsap-hero-text2 {
  opacity: 0;
}


/* Sections */
.section {
  padding: 140px 0;
  transform: translateY(50px);
  transition: opacity 1.5s var(--ease), transform 1.5s var(--ease);
}

.section.is-visible {
  /* opacity: 1; */
  transform: translateY(0);
}

.section-inner {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
}
.section-wrapper {
  width: 100%;
  max-width: var(--wrapper-max);
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading h2 {
  margin: 0;
  font-size: 40px;
  font-weight: 700;
  line-height: normal;
}

.section-heading-en {
  margin: 8px 0 20px;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: normal;
  color: var(--muted);
}

.section-heading-line {
  width: 50px;
  height: auto;
}

.section-heading--light h2,
.section-heading--light .section-heading-en {
  color: var(--white);
}

.section-heading--light .section-heading-en {
  color: rgba(255, 255, 255, 0.85);
}


/* Split layouts */
.split {
  display: grid;
  grid-template-columns: var(--col-media) minmax(0, var(--col-text));
  justify-content: space-between;
  align-items: start;
  gap: var(--split-gap);
  max-width: var(--wrapper-max);
  margin: var(--wrapper-margin);
}

.split-body h3 {
  margin: 0 0 28px;
  font-size: 28px;
  font-weight: 700;
  line-height: 40px;
}

.split-body p {
  margin: 0 0 32px;
  font-size: 18px;
  font-weight: 500;
  line-height: 35px;
  text-align: justify;
  letter-spacing: -0.2px;
}

.company-text {
  font-size: 16px;
  line-height: 35px;
}

/* Media frames with Figma crop */
.media-frame {
  position: relative;
  overflow: hidden;
  margin: 0;
}

/* .media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
} */

/* .media-frame--strength {
  width: var(--col-media);
  height: var(--col-media-h);
} */


.media-frame--strength img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* .media-frame--company {
  width: var(--col-media);
  height: var(--col-media-h);
} */

.media-frame--company::after {
  background: var(--overlay-company);
}

.media-frame--company img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* Business */
.section-business {
  background: var(--bg-soft);
  padding-top: 100px;
  padding-bottom: 130px;
}

.business-lead {
  margin: 50px auto 56px;
  max-width: var(--wrapper-max);
}

.business-lead-sub {
  margin: 0 0 12px;
  font-size: 32px;
  font-weight: 700;
  line-height: normal;
}

.business-lead-main {
  margin: 0;
  font-size: 40px;
  font-weight: 700;
  line-height: normal;
}

.business-split {
  grid-template-columns: minmax(0, var(--business-col-text)) minmax(0, var(--business-col-visual));
  gap: 48px;
}

.business-copy p {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 35px;
}

.split-body .business-tagline {
  margin: 30px 0 50px;
  font-size: 32px;
  font-weight: 900;
  line-height: 35px;
}

.service-list {
  list-style: none;
  margin: 0 0 70px;
  padding: 0;
  width: var(--service-list-w);
  max-width: 100%;
}

.service-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 61px;
  padding: 13px 2px;
  border-bottom: 2px solid #d9d9d9;
  font-size: 18px;
  font-weight: 900;
  line-height: 35px;
  transition: padding-left 0.2s var(--ease), color 0.2s var(--ease);
}

.service-list li:hover {
  padding-left: 6px;
  color: var(--blue);
}

.service-list img {
  flex-shrink: 0;
}

.business-visual {
  position: relative;
  min-height: var(--business-visual-min);
}

.media-frame--business-lg {
  position: absolute;
  top: 0;
  right: 0;
  width: var(--business-lg-w);
  height: var(--business-lg-h);
}

.media-frame--business-lg::after {
  background: var(--overlay-blue);
}

.media-frame--business-lg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--business-sm {
  position: absolute;
  left: 0;
  bottom: -180px;
  width: var(--business-sm-w);
  height: var(--business-sm-h);
}

.media-frame--business-sm::after {
  background: var(--overlay-blue);
}

.media-frame--business-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* Pill button */
.pill-btn {
  width: var(--pill-w);
  max-width: 100%;
  min-height: var(--pill-h);
  padding: 9px 30px;
  border: 1px solid var(--deep-blue);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--deep-blue);
  font-size: 14px;
  font-weight: 700;
  line-height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.pill-btn img {
  transition: transform 0.25s var(--ease);
}

.pill-btn:hover {
  background: var(--deep-blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 52, 103, 0.22);
}

.pill-btn:hover img {
  filter: brightness(0) invert(1);
  transform: translateX(4px);
}

.pill-btn:active {
  transform: scale(0.97);
}

.pill-btn--on-dark {
  margin: 0 auto;
}


/* Recruit */
.section-recruit {
  position: relative;
  min-height: var(--recruit-min-h);
  padding: 100px 0 180px;
  color: var(--white);
}

.recruit-media {
  position: absolute;
  inset: 0;
}

.recruit-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: translateY(0);
}

.recruit-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
}

.recruit-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 48px;
}

.recruit-copy h3 {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 700;
  line-height: normal;
}

.recruit-copy p {
  margin: 0 0 36px;
  font-size: 20px;
  font-weight: 700;
  line-height: normal;
}


/* Contact */
.section-contact {
  background: #006aa4;
  padding: 74px 0 79px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

.contact-inner {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  text-align: center;
}

.contact-inner h2 {
  margin: 0 0 41px;
  font-size: 24px;
  font-weight: 900;
  line-height: normal;
  color: var(--white);
}

.contact-card {
  width: min(var(--contact-card-w), 100%);
  min-height: var(--contact-card-h);
  margin: 0 auto;
  padding: 24px 60px;
  border-radius: 96px;
  background: var(--white);
  display: grid;
  grid-template-columns: 62px 1fr auto;
  align-items: center;
  gap: 20px 24px;
  color: #006aa4;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

/* .contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
} */

.contact-card:active {
  transform: scale(0.98);
}

.contact-number {
  font-family: "Oswald", sans-serif;
  font-size: 48px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.08em;
  text-align: left;
}

.contact-hours {
  font-size: 20px;
  font-weight: 500;
  line-height: normal;
  color: var(--hours);
  white-space: nowrap;
}


/* Footer */
.site-footer {
  position: relative;
  min-height: var(--footer-min-h);
  color: var(--white);
  /* opacity: 0; */
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.site-footer.is-visible {
  /* opacity: 1; */
  transform: translateY(0);
}

.footer-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70%;
}

.footer-overlay {
  position: absolute;
  inset: 0;
  border-top: 2px solid var(--white);
  /* background: rgba(0, 89, 138, 0.55); */
}

.footer-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
  padding: 70px var(--content-pad) 20px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand {
  display: grid;
  gap: 8px;
}

.footer-logo-mark {
  width: 230px;
  height:  64px;
}

.footer-company-type {
  margin: 8px 0 0;
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
  display: flex
}

.footer-company-name {
  width: 120px;
  height: 23px;
  margin-left: 10px;
}

.footer-brand address {
  margin-top: 12px;
  font-style: normal;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 60px 60px 60px 1fr;
  gap: 60px;
  align-content: start;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-main {
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 4px;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-nav-col a:not(.footer-nav-main) {
  font-size: 13px;
  font-weight: 400;
  line-height: normal;
  opacity: 0.92;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-nav-col a:hover {
  opacity: 1;
  transform: translateX(3px);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  padding: 14px 10px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  font-size: 13px;
}

.footer-bottom a {
  position: relative;
  padding-left: 20px;
}

.footer-bottom a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.7);
  transform: translateY(-50%);
}

.footer-bottom p {
  margin: 0;
}

.forsp {
  display: none;
}
.fowide {
  display: block;
}



/* TOPページレスポンシヴ */

@media (max-width: 1200px) {
  .section-container {
      padding-left: 15px;
      padding-right: 15px;
    }
  .section-wrapper {
      padding-left: 20px;
      padding-right: 20px;
    }
  .section-inner,
    .header-inner,
    .contact-inner,
    .recruit-inner,
    .footer-inner {
      padding-left: 20px;
      padding-right: 20px;
    }
  .section {
    padding: 80px 0;
  }
  .media-frame--business-sm {
    left: -80px;
  }
  .footer-nav {
    gap: 40px;
  }
}

@media (max-width: 1024px) {
  .main-nav {
    margin-right: 0;
  }
}


/* 769px–1919px: フルブリード要素のみビューポート比例 */
@media (min-width: 769px) and (max-width: 1919px) {
  :root {
    --hero-h: calc(1067px * 100vw / 1920);
    --recruit-min-h: calc(585px * 100vw / 1920);
  }
}


@media (max-width: 1100px) and (min-width: 769px) {
  .split,
  .business-split {
    gap: 40px;
  }

  .media-frame--strength,
  .media-frame--company {
    width: 100%;
    max-width: var(--col-media);
    margin-inline: auto;
  }

  .business-visual {
    min-height: 0;
    max-width: 520px;
    margin-inline: auto;
  }

  /* .media-frame--business-lg,
  .media-frame--business-sm {
    position: relative;
    right: auto;
    left: auto;
    bottom: auto;
    margin-inline: auto;
  } */
  .media-frame--business-lg {
    position: relative;
    right: auto;
    left: auto;
    bottom: auto;
    margin-inline: auto;
  }


}


/* Responsive: 768px breakpoint */
@media (max-width: 768px) {
  /* スマホ時はヘッダーが72pxになるため、90px手前で止まるように数値を調整 */
  html {
    scroll-padding-top: 90px;
  }

  .site-header {
    height: 72px !important;
  }
  
  body {
    background: var(--white);
  }

  .page {
    box-shadow: none;
  }

  :root {
    --gutter: 20px;
    --header-h: 72px;
  }

  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .logo img {
    width: 130px;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 72px 0 0 0;
    z-index: 80;
    background: rgba(0, 52, 103, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .nav-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    z-index: 90;
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 12px var(--gutter) 24px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #e8e8e8;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 12px 24px rgba(0, 52, 103, 0.08);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

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

  /* 📂 修正箇所①：タップ領域と区切り線は横幅100%を維持しつつ、下線の基準を解除 */
  .main-nav a:not(.nav-sp-cta) {
    position: static; /* 基準を解除 */
    display: block;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #efefef;
  }

  /* ➔ 原本の「画面幅いっぱいに広がる下線」をスマホでは完全にシャットアウト */
  .main-nav a::after {
    display: none !important;
  }

  /* 新設した文字（span）に対して、文字幅ぴったりで走る下線を新定義 */
  .main-nav a:not(.nav-sp-cta) span {
    position: relative;
    display: inline-block;
    padding: 20px 0; /* タップしやすい縦幅をここで確保 */
  }

  .main-nav a:not(.nav-sp-cta) span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 8px; /* 文字のすぐ下に綺麗に沿う位置に調整 */
    width: 0;
    height: 2px; /* 線の太さ */
    background: var(--blue);
    border-radius: 20px;
    transition: width 0.3s ease-in-out;
  }

  /* マウスオーバー（タップ）した瞬間に、文字幅の中だけで左から右に走る */
  .main-nav a:not(.nav-sp-cta):hover span::after {
    width: 100%;
  }

  .main-nav .nav-sp-cta {
    display: inline-flex; /* スマホの時だけボタンを出現させる */
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 48px;
    margin-top: 20px;
    padding: 0 50px;
    border-radius: var(--radius-pill);
    background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 100%); 
    color: var(--white);
    font-size: 15px;
    font-weight: 900;
    border: 1px solid transparent; /* ホバー時にボタンの大きさがガタつかないための透明な壁 */
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease; /* 滑らかな反転演出 */
  }

  .main-nav .nav-sp-cta:hover {
    background: var(--white) !important;
    color: var(--blue) !important;
    border-color: var(--blue);
  }

  .header-cta {
    display: none;
  }

  .hero {
    height: 520px;
    min-height: 520px;
  }

  .bg-slider {
    width: 100%;
    min-height: 350px;
  }

  .bg-slider,
  .hero > div:first-child,
  .hero > div:first-child > div {
    background-position: 60% !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
  }

  .hero-copy-lead {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .hero-copy h1 {
    font-size: 32px;
    line-height: 1.25;
  }

  .section {
    padding: 80px 0;
  }

  .section-heading h2 {
    font-size: 32px;
    margin-top: -50px;
  }

  .section-heading-en {
    font-size: 14px;
    margin-bottom: 14px;
  }

  .split,
  .business-split,
  .strength-split,
  .company-split {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .media-frame--strength,
  .media-frame--company,
  .media-frame--business-lg,
  .media-frame--business-sm {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    position: relative;
  }

  .business-visual {
    min-height: 0;
    display: grid;
    gap: 16px;
  }

  .media-frame--business-lg,
  .media-frame--business-sm {
    position: relative;
    right: auto;
    left: auto;
    bottom: auto;
  }

  .split-body h3 {
    font-size: 24px;
    line-height: 1.45;
  }

  .split-body p,
  .business-copy p {
    font-size: 16px;
    line-height: 1.9;
  }

  .business-lead-sub {
    font-size: 22px;
  }

  .business-lead-main {
    font-size: 28px;
  }

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

  .service-list {
    width: 100%;
  }

  .service-list li {
    min-height: 52px;
    font-size: 16px;
    line-height: 1.6;
  }

  .section-recruit {
    min-height: 460px;
    padding: 72px 0;
  }

  .recruit-copy p {
    font-size: 16px;
    line-height: 1.8;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    padding: 40px;
    flex-direction: column;
  }
  .footer-nav {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}


@media (max-width: 480px) {
  .hero {
    height: 280px;
    min-height: 280px;
    margin-bottom: -30px;
  }
  .site-header {
    height: 72px;
    position: fixed;
  }
  .section-heading {
    margin-top: 50px;
  }
  .split-body .business-tagline {
    font-size: 26px;
  }
  .contact-card {
    grid-template-columns: 58px 1fr;
    grid-template-rows: auto auto;
    border-radius: 65px;
    min-height: inherit;
    padding: 20px;
    gap: 0px 10px;
  }
  .contact-number {
    font-size: 34px;
    grid-column: 2;
  }
  .contact-hours {
    grid-column: 1 / -1;
    justify-self: center;
    font-size: 14px;
  }
  .footer-nav {
    gap: 30px 65px;
    grid-template-columns: repeat(2, 100px);
  }
  .footer-bottom {
    flex-direction: column-reverse;
  }
  .footer-bottom a {
    padding-left: 0;
  }
  .footer-bottom a::before {
    display: none;
  }
  .forsp {
    display: block;
  }
  .forwide {
    display: none;
  }
}



@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .section,
  .section-contact,
  .site-footer,
  .pill-btn,
  .header-cta,
  .contact-card,
  .main-nav a::after {
    transition: none;
  }
}



/* ==========================================================================
   strength.html — セノオの強み（下層ページ）
   ========================================================================== */

.strength-page {
  position: relative;
}

/* ページ上部シェイプ */
.strength-page-hero {
  position: absolute;
  top: 120px;
  left: 0;
  right: 0;
  /* height: clamp(200px, 18vw, 340px);
  overflow: hidden;
  pointer-events: none;
  z-index: 0; */
}

.strength-page-hero__shape {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* ページタイトル */
.strength-page-title-wrap {
  position: relative;
  z-index: 1;
  padding-top: 29em;
  padding-bottom: 12em;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.strength-page-title-wrap.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.strength-page-title h1 {
  margin: 0;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: normal;
  color: var(--text);
}

.strength-page-title__en {
  margin: 20px 0 0;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: normal;
  color: var(--muted);
}

/* イントロ */
.strength-intro {
  padding-top: 0;
}

.strength-intro__heading {
  margin: 0 0 32px;
  max-width: 1060px;
  font-size: 30px;
  font-weight: 700;
  line-height: 40px;
}

.strength-intro__text {
  margin: 0 0 100px;
  max-width: 1060px;
  font-size: 18px;
  font-weight: 400;
  line-height: 35px;
}

.strength-intro__visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  max-width: 1060px;
}

.strength-intro__photo {
  margin: 20px;
  min-height: 327px;
  overflow: hidden;
}

.strength-intro__photo img {
  width: 100%;
  height: 100%;
  min-height: 327px;
  object-fit: cover;
}


/* セクション見出し（強み / フィロソフィー） */
.strength-block-heading {
  margin-bottom: 48px;
}

.strength-block-heading h2 {
  margin: 0 0 20px;
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
}

.strength-block-heading__line {
  width: 68px;
  height: auto;
  display: block;
}


/* 強みリスト */
.strength-list {
  padding-top: 80px;
}
.strength-item {
  margin-bottom: 0;
  border-top: 1px solid #ccc;
  padding: 6em 0 2em;
}
.strength-item:last-child {
  border-bottom: 1px solid #ccc;
}
.strength-item__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px 40px;
  align-items: center;
  margin-bottom: 24px;
}
.strength-item__num {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: clamp(56px, 8vw, 80px);
  font-weight: 700;
  line-height: 40px;
  color: #0084cf;
}
.strength-item__titles h3 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
  line-height: 35px;
}
.strength-item__lead {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 30px;
}
.strength-item__body {
  margin: 0 0 40px;
  padding-left: clamp(0px, 12vw, 125px);
  font-size: 16px;
  line-height: 30px;
}

.strength-message__split {
  display: flex;
  justify-content: space-between;
  gap: 50px;
}
.strength-message__body {
  width: 60%;
}
.strength-message__photo {
  width: 400px;
  height: 537px;
}
.strength-message__photo img {
  width: 100%;
  height:auto;
  object-fit: cover;
}
.strength-message__text {
  line-height: 40px;
  text-align: justify;
}
.strength-message__signature {
  text-align: right;
}
.strength-message__name {
  font-size: 24px;
  margin-left: 15px;
}


/* 工程フロー */
.process-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1060px;
  margin: 0 auto 50px;
  gap: 20px 5px;
}

.process-flow__step {
  flex: 0 0 auto;
}

.process-flow__card {
  position: relative;
  flex-shrink: 0;
}

.process-flow__step--design .process-flow__card {
  width: 165px;
  height: 165px;
}

.process-flow__step--design .process-flow__icon-img {
  left: 42px;
  top: 25px;
  width: 81.285px;
  height: 82.111px;
}

.process-flow__step--design .process-flow__label {
  left: 65px;
  top: 117.11px;
}

.process-flow__step--sheet .process-flow__card {
  width: 160px;
  height: 160px;
}

.process-flow__step--sheet .process-flow__icon-img {
  left: 39px;
  top: 23px;
  width: 82.428px;
  height: 80.647px;
}

.process-flow__step--sheet .process-flow__label {
  left: 62px;
  top: 113.65px;
}

.process-flow__step--paint .process-flow__card {
  width: 160px;
  height: 160px;
}

.process-flow__step--paint .process-flow__icon-img {
  left: 32px;
  top: 23px;
  width: 96.411px;
  height: 81.875px;
}

.process-flow__step--paint .process-flow__label {
  left: 62px;
  top: 114.87px;
}

.process-flow__step--assembly .process-flow__card {
  width: 160px;
  height: 160px;
}

.process-flow__step--assembly .process-flow__icon-img {
  left: 38px;
  top: 23px;
  width: 83.199px;
  height: 80.54px;
}

.process-flow__step--assembly .process-flow__label {
  left: 62px;
  top: 113.54px;
}

.process-flow__step--inspect .process-flow__card {
  width: 160px;
  height: 160px;
}

.process-flow__step--inspect .process-flow__icon-img {
  left: 39px;
  top: 24px;
  width: 81.829px;
  height: 79.955px;
}

.process-flow__step--inspect .process-flow__label {
  left: 62px;
  top: 113.96px;
}

.process-flow__circle {
  display: block;
  width: 100%;
  height: 100%;
}

.process-flow__icon-img {
  position: absolute;
  display: block;
  max-width: none;
}

.process-flow__label {
  position: absolute;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 35px;
  color: var(--text);
  white-space: nowrap;
}

/* teenyicons:right-solid 30×30 */
.process-flow__arrow {
  flex: 0 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  transition: transform 0.25s var(--ease);
}

.process-flow__arrow img {
  display: block;
  width: 15px;
  height: 30px;
  object-fit: contain;
}

.process-flow__step:hover + .process-flow__arrow,
.process-flow__arrow:hover {
  transform: translateX(4px);
}


/* 代表メッセージ */
.strength-message {
  background: var(--bg-soft);
}
.strength-message-txt {
  text-align: justify;
  line-height: 40px;
}
.strength-message-txt span {
  font-size: 24px;
  margin-left: 20px;
}

/* 5つのフィロソフィー */
.strength-philosophy {
  position: relative;
}

/* .strength-philosophy::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: var(--page-max);
  z-index: -1;
} */

.strength-philosophy__lead {
  margin: 0 0 40px;
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
  text-align: center;
}

.strength-philosophy__list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 640px;
}

.strength-philosophy__list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 60px;
  align-items: center;
  padding: 30px 0;
}

.strength-philosophy__num {
  font-family: "Oswald", sans-serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 40px;
  color: var(--text);
}

.strength-philosophy__text {
  font-size: 24px;
  font-weight: 500;
  line-height: 40px;
}



/* strength.html — レスポンシブ */

@media (max-width: 1024px) {
  .strength-page-title-wrap {
    padding-top: 22em;
    padding-bottom: 5em;
  }
  .strength-list {
    padding-top: 0;
  } 
}

@media (max-width: 768px) {
  .strength-page-title-wrap {
    padding-top: 15em;
    padding-bottom: 4em;
  }

  .strength-intro__photo img {
    min-height: 240px;
  }

  .strength-item__head {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .strength-item__body,
  .process-flow {
    padding-left: 0;
  }

  .process-flow {
    justify-content: center;
  }

  .strength-philosophy__lead {
    font-size: 24px;
    line-height: 1.5;
  }

  .strength-philosophy__text {
    font-size: 18px;
    line-height: 1.6;
  }

  .strength-philosophy__list li {
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding: 20px 0;
  }

  .strength-philosophy__num {
    font-size: 28px;
  }

  .strength-message__split {
    flex-flow: column;
  }
  .strength-message__body {
    width: 100%;
  }
  .strength-message__photo {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .strength-intro__heading {
    font-size: 23px;
  }
  .strength-intro__visual {
    grid-template-columns: 1fr;
  }
  .strength-page-title-wrap {
    padding-top: 11em;
  }
  .strength-page-hero {
    top: 80px;
  }
  .strength-message__text {
    line-height: 32px;
  }
  .strength-message__photo {
    width: 100%;
    height: auto;
  }
  .strength-item {
    padding: 3em 0 1em;
  }
  .process-flow {
    flex-direction: column;
  }
  .process-flow__arrow {
    transform: rotate(90deg);
  }
  .strength-philosophy__lead {
    font-size: 21px;
    text-align: left;
  }
}


/* ==========================================================================
   business.html — 事業内容（下層ページ）
   ========================================================================== */

.business-page .strength-page-title-wrap {
  padding-top: 29em;
  padding-bottom: 12em;
}

.business-intro {
  padding-top: 0;
}

.business-intro__lead {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 0 80px;
  max-width: var(--wrapper-max);
}

.business-intro__lead-sub {
  font-size: 30px;
  font-weight: 700;
  line-height: normal;
}

.business-intro__lead-main {
  font-size: 40px;
  font-weight: 700;
  line-height: normal;
}

.business-intro__split {
  display: grid;
  grid-template-columns: minmax(0, 450px) minmax(0, 550px);
  justify-content: space-between;
  gap: 60px;
  max-width: var(--wrapper-max);
}

.business-intro__text {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 35px;
}

.business-intro__photo {
  margin: 0;
  overflow: hidden;
}

.business-intro__photo img {
  width: 100%;
  height: 355px;
  object-fit: cover;
}

.business-category {
  padding: 120px 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

.business-category__list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 25px 60px;
  list-style: none;
  background: #f8f8f8;
  border-radius: 100px;
}

.business-category__link {
  position: relative;
  font-size: 20px;
  font-weight: 700;
  line-height: normal;
  color: var(--muted);
  padding-bottom: 12px;
  transition: color 0.2s var(--ease);
}

.business-category__link:hover {
  opacity: 1;
  color: var(--text);
}

.business-category__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 5px;
  background-color: #0084cf;
  border-radius: 20px;
  transition: width 0.3s ease-in-out;
}

.business-category__link:hover::after,
.business-category__link.is-active::after {
  width: 100%;
}

#tech {
  padding-top: 80px;
}
.business-tech {
  padding-top: 0;
}

.business-tech .strength-block-heading {
  max-width: var(--wrapper-max);
  margin-inline: auto;
}

.business-tech__card {
  max-width: var(--content-max);
  margin: 0 auto 90px;
  padding: 50px 20px 80px;
  background: #f8f8f8;
}

.business-tech__card:last-child {
  margin-bottom: 0;
}

.business-tech__title {
  margin: 0 0 40px;
  font-size: 20px;
  font-weight: 900;
  line-height: 35px;
}

.business-tech__text {
  margin: 0 0 40px;
  font-size: 16px;
  font-weight: 400;
  line-height: 35px;
}

.business-tech__images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 471px));
  justify-content: center;
  gap: 50px;
}

.business-tech__images figure {
  margin: 0;
  overflow: hidden;
}

.business-tech__images img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.business-tech__card--split {
  padding-top: 80px;
  padding-bottom: 80px;
}

.business-tech__split {
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(0, 471px);
  justify-content: space-between;
  gap: 48px;
  align-items: start;
}

.business-tech__split-body .business-tech__title,
.business-tech__split-body .business-tech__text {
  margin-bottom: 40px;
}

.business-tech__split-photo {
  margin: 0;
  overflow: hidden;
}

.business-tech__split-photo img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.business-tech__link {
  display: inline-flex;
  align-items: center;
  gap: 33px;
  min-height: 54px;
  padding: 9px 30px;
  border: 1px solid #29a685;
  background: var(--white);
  color: #29a685;
  font-size: 14px;
  font-weight: 700;
  line-height: 35px;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.business-tech__link:hover {
  background: #29a685;
  color: var(--white);
}

.business-tech__link:hover img {
  filter: brightness(0) invert(1);
}

.business-product {
  padding-top: 50px;
  padding-bottom: 200px;
}

.business-product .strength-block-heading {
  margin-bottom: 90px;
}

.business-product__item {
  max-width: var(--wrapper-max);
  margin: 0 auto;
}

.business-product__title {
  margin: 0 0 30px;
  font-size: 20px;
  font-weight: 700;
  line-height: 40px;
}

.business-product__text {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 40px;
}

.business-product__split {
  display: grid;
  grid-template-columns: minmax(0, 691px) minmax(0, 322px);
  justify-content: space-between;
  gap: 47px;
  align-items: start;
}

.business-product__photo {
  margin: 0;
  overflow: hidden;
}

.business-product__photo img {
  width: 100%;
  height: 211px;
  object-fit: cover;
}

.business-product__divider {
  max-width: var(--wrapper-max);
  margin: 80px auto;
  border: 0;
  border-top: 2px solid #eee;
}

.business-product__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 322px));
  justify-content: space-between;
  gap: 30px;
  margin-top: 30px;
}

.business-product__grid figure {
  margin: 0;
  overflow: hidden;
}

.business-product__grid img {
  width: 100%;
  height: 211px;
  object-fit: cover;
}

.business-product__cta {
  display: flex;
  justify-content: center;
  margin-top: 90px;
}


/* business.html — レスポンシブ */
@media (max-width: 1100px) {
  .business-tech__split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .business-page .strength-page-title-wrap {
    padding-top: 22em;
    padding-bottom: 10em;
  }
}

@media (max-width: 768px) {
  .business-page .strength-page-title-wrap {
    padding-top: 15em;
    padding-bottom: 4em;
  }

  .business-intro__lead-sub {
    font-size: 22px;
  }

  .business-intro__lead-main {
    font-size: 28px;
  }

  .business-intro__text {
    font-size: 16px;
    line-height: 1.9;
  }

  .business-intro__photo img {
    height: auto;
    aspect-ratio: 550 / 355;
  }

  .business-intro__split {
    gap: 30px;
  }

  .business-category {
    padding: 50px 0;
  }

  .business-category__list {
    align-items: center;
    gap: 40px;
    width: 100%;
    max-width: 85%;
    margin: 50px auto;
  }
  .business-category__link {
    padding-bottom: 10px;
  }

  .business-tech__link {
    padding: 9px 20px;
    line-height: 23px;
    margin-left: 15px;
}

  .business-tech__card {
    padding: 32px 24px 48px;
    margin-bottom: 48px;
  }

  .business-tech__images img,
  .business-tech__split-photo img {
    height: auto;
    aspect-ratio: 471 / 300;
  }

  .business-product {
    padding-top: 30px;
    padding-bottom: 100px;
  }

  .business-product__grid img,
  .business-product__photo img {
    height: auto;
    aspect-ratio: 322 / 211;
  }

  .business-product__divider {
    margin: 48px auto;
  }
}

@media (max-width: 480px) {
  .business-intro__lead-main {
    font-size: 23px;
  }
  .business-intro__split {
    grid-template-columns: 1fr;
  }
  .business-page .strength-page-title-wrap {
    padding-top: 11em;
  }
  .business-tech__card {
    padding: 30px 0px 40px;
  }
  .business-tech__images {
    grid-template-columns: 1fr;
  }
  .business-product__split {
    grid-template-columns: 1fr;
  }
  .business-category {
    padding: 0;
  }
  .business-category__list {
    flex-direction: column;
    border-radius: 50px;
  }
  .business-product__grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   facilities.html — 設備紹介（下層ページ）
   ========================================================================== */

.facilities-page .strength-page-title-wrap {
  padding-top: 29em;
  padding-bottom: 12em;
}

.facilities-intro {
  padding-top: 0;
  padding-bottom: 30px;
}

.facilities-intro__heading {
  margin: 0 0 60px;
  max-width: var(--wrapper-max);
  font-size: 32px;
  font-weight: 700;
  line-height: normal;
}

.facilities-intro__text {
  margin: 0 0 60px;
  max-width: var(--wrapper-max);
  font-size: 18px;
  font-weight: 400;
  line-height: 35px;
}

.facilities-intro__visual {
  margin: 0;
  max-width: var(--wrapper-max);
  overflow: hidden;
}

.facilities-intro__visual img {
  width: 100%;
  height: 329px;
  object-fit: cover;
}

/* .facilities-category {
  padding-bottom: 0;
} */

.facilities-factories {
  background: #f8f8f8;
  padding: 150px 0;
}

.facilities-factory {
  max-width: var(--content-max);
  margin: 0 auto 90px;
}

.facilities-factory:last-child {
  margin-bottom: 0;
}

.facilities-factory__inner {
  background: var(--white);
  padding: 60px 70px;
}

.facilities-factory__title {
  margin: 0 0 60px;
  font-size: 20px;
  font-weight: 700;
  line-height: 35px;
}

.facilities-factory__split {
  display: grid;
  grid-template-columns: minmax(0, 471px) minmax(0, 520px);
  justify-content: space-between;
  gap: 30px;
  align-items: start;
  margin-bottom: 60px;
}

.facilities-factory__split--reverse {
  grid-template-columns: minmax(0, 520px) minmax(0, 471px);
}

.facilities-factory__split--text-first {
  grid-template-columns: minmax(0, 520px) minmax(0, 471px);
}

.facilities-factory__photo {
  margin: 0;
  overflow: hidden;
}

.facilities-factory__photo--lg img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.facilities-factory__subheading {
  margin: 0 0 30px;
  font-size: 18px;
  font-weight: 700;
  line-height: 35px;
}

.facilities-factory__note {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 35px;
}

.facilities-factory__note--full {
  margin-bottom: 60px;
}

.facilities-factory__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 307px));
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 30px;
}

.facilities-card {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.facilities-card__photo {
  margin: 0;
  overflow: hidden;
}

.facilities-card__photo img {
  width: 100%;
  height: 195px;
  object-fit: cover;
}

.facilities-card__photo--md img {
  height: 213px;
}

.facilities-card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 35px;
}

.facilities-card__text {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 30px;
}

.facilities-equipment {
  display: grid;
  grid-template-columns: 307px minmax(0, 711px);
  justify-content: space-between;
  gap: 42px;
  align-items: center;
}

.facilities-equipment__photo {
  margin: 0;
  overflow: hidden;
}

.facilities-equipment__photo img {
  width: 100%;
  height: 195px;
  object-fit: cover;
}

.facilities-equipment__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  line-height: 35px;
}

.facilities-equipment__title--end {
  justify-content: flex-end;
  margin-top: 20px;
  margin-bottom: 0;
}

.facilities-equipment__arrow {
  flex-shrink: 0;
  width: 9px;
  height: 15px;
  object-fit: contain;
}
.facilities-equipment__arrow-reverse {
  flex-shrink: 0;
  width: 9px;
  height: 15px;
  object-fit: contain;
  transform: rotate(180deg);
}

.facilities-equipment__text {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 35px;
}

.facilities-factory__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 326px));
  gap: 40px 41px;
}

.facilities-factory__equipment-row {
  display: grid;
  grid-template-columns: minmax(0, 694px) minmax(0, 326px);
  justify-content: space-between;
  gap: 40px;
  align-items: start;
}

.facilities-equipment--wide {
  grid-template-columns: 1fr;
  gap: 30px;
}

.facilities-equipment__photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 41px;
}

.facilities-equipment__photos figure {
  margin: 0;
  overflow: hidden;
}

.facilities-equipment__photos img {
  width: 100%;
  height: 213px;
  object-fit: cover;
}

.facilities-card--narrow {
  max-width: 326px;
}


/* facilities.html — レスポンシブ */
@media (max-width: 1100px) {
  .facilities-factory__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .facilities-page .strength-page-title-wrap {
      padding-top: 22em;
      padding-bottom: 10em;
  }
}

@media (max-width: 768px) {
  .facilities-page .strength-page-title-wrap {
    padding-top: 15em;
    padding-bottom: 4em;
  }

  .facilities-intro__heading {
    font-size: 24px;
    line-height: 1.5;
  }

  .facilities-intro__text {
    font-size: 16px;
    line-height: 1.9;
  }

  .facilities-intro__visual img {
    height: auto;
    aspect-ratio: 1060 / 329;
  }

  .facilities-factories {
    padding: 72px 0;
  }

  .facilities-factory {
    margin-bottom: 48px;
  }

  .facilities-factory__inner {
    padding: 32px 24px;
  }

  .facilities-factory__photo--lg img,
  .facilities-card__photo img,
  .facilities-card__photo--md img,
  .facilities-equipment__photo img,
  .facilities-equipment__photos img {
    height: auto;
    aspect-ratio: 471 / 300;
  }

  .facilities-factory__equipment-row {
    grid-template-columns: auto;
  }

  .facilities-card__photo img,
  .facilities-equipment__photo img {
    aspect-ratio: 307 / 195;
  }

  .facilities-card__photo--md img,
  .facilities-equipment__photos img {
    aspect-ratio: 326 / 213;
  }
}

@media (max-width: 480px) {
  .facilities-intro__heading {
    font-size: 23px;
  }
  .facilities-page .strength-page-title-wrap {
    padding-top: 11em;
  }
  .facilities-factory__split,
  .facilities-factory__cards,
  .facilities-equipment,
  .facilities-factory__grid,
  .facilities-equipment__photos {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   recruit.html — 採用情報（下層ページ）
   ========================================================================== */

.recruit-page .strength-page-title-wrap {
  padding-top: 29em;
  padding-bottom: 8em;
}

.recruit-main {
  padding-top: 0px;
  padding-bottom: 200px;
}

.recruit-main__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
}

.recruit-main .strength-block-heading {
  width: 100%;
  margin-bottom: 0;
}

.recruit-accordion {
  width: 100%;
  background: #f8f8f8;
  padding: 80px;
  display: flex;
  flex-direction: column;
  gap: 90px;
}

.recruit-accordion__item {
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
}

.recruit-accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 50px 20px 40px;
  border: 0;
  border-bottom: 1px solid #ddd;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.recruit-accordion__title {
  font-size: 24px;
  font-weight: 700;
  line-height: normal;
  color: #003467;
}

.recruit-accordion__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  transition: transform 0.25s var(--ease);
}

.recruit-accordion__item:not(.is-open) .recruit-accordion__icon {
  transform: rotate(180deg);
}

.recruit-accordion__panel {
  width: 100%;
  max-width: 850px;
  display: none;
}

.recruit-accordion__item.is-open .recruit-accordion__panel {
  display: block;
}

.recruit-detail {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.recruit-detail__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 25px;
  border-bottom: 1px solid #ddd;
}

.recruit-detail__label {
  flex: 0 0 100px;
  margin: 0;
  padding: 0 10px;
  font-size: 18px;
  font-weight: 500;
  line-height: normal;
  color: #707070;
  text-align: center;
}

.recruit-detail__value {
  flex: 0 1 550px;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: var(--text);
}

.recruit-detail__value p {
  margin: 0 20px 0;
}

.recruit-detail__value p + p {
  margin-top: 10px;
}

.recruit-detail__empty {
  margin: 0;
  max-width: 550px;
  font-size: 16px;
  line-height: normal;
  color: var(--text);
  text-align: center;
  padding-bottom: 25px;
  border-bottom: 1px solid #ddd;
}

.recruit-note {
  width: 100%;
  max-width: 792px;
  text-align: center;
  color: var(--text);
}

.recruit-note__lead {
  margin: 0 0 30px;
  font-size: 20px;
  font-weight: 500;
  line-height: normal;
}

.recruit-note__text {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 35px;
}


/* recruit.html — レスポンシブ */

@media (max-width: 1024px) {
  .recruit-page .strength-page-title-wrap {
      padding-top: 22em;
      padding-bottom: 10em;
  }
}

@media (max-width: 768px) {
  .recruit-page .strength-page-title-wrap {
    padding-top: 15em;
    padding-bottom: 4em;
  }

  .recruit-main {
    padding-bottom: 120px;
  }

  .recruit-main__inner {
    gap: 48px;
  }

  .recruit-accordion {
    padding: 32px 20px;
    gap: 48px;
  }

  .recruit-accordion__item {
    gap: 32px;
  }

  .recruit-accordion__trigger {
    padding: 16px 20px;
  }

  .recruit-accordion__title {
    font-size: 20px;
  }

  .recruit-detail__row {
    flex-direction: column;
    gap: 12px;
  }

  .recruit-detail__label {
    flex: none;
    width: 100%;
    text-align: left;
    padding: 0;
  }

  .recruit-detail__value {
    flex: none;
    width: 100%;
    max-width: none;
  }

  .recruit-note__lead {
    font-size: 18px;
  }

  .recruit-note__text {
    font-size: 16px;
    line-height: 1.8;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .recruit-page .strength-page-title-wrap {
    padding-top: 11em;
  }
}


/* ==========================================================================
   company.html — 会社概要（下層ページ）
   ========================================================================== */

.company-page .strength-page-title-wrap {
  padding-top: 29em;
  padding-bottom: 8em;
}

/* .company-category {
  padding-bottom: 0;
} */

.company-info {
  padding-top: 50px;
  padding-bottom: 200px;
}

.company-info .strength-block-heading {
  margin-bottom: 80px;
}

.company-profile {
  margin: 0 0 80px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.company-profile__row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 100px;
  align-items: start;
  padding-bottom: 20px;
  border-bottom: 1px solid #ddd;
}

.company-profile__row--address {
  align-items: start;
}

.company-profile__label {
  margin: 0;
  padding: 0 20px;
  font-size: 18px;
  font-weight: 700;
  line-height: normal;
  color: var(--muted);
}

.company-profile__value {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: var(--text);
}

.company-profile__value p {
  margin: 0 0 15px;
}

.company-profile__value p:last-child {
  margin-bottom: 0;
}

.company-profile__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.company-profile__access {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--text);
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
  color: var(--text);
  transition: opacity 0.2s var(--ease);
}

.company-profile__access:hover {
  opacity: 0.7;
}

.company-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 500px));
  justify-content: space-between;
  gap: 60px;
}

.company-photos figure {
  margin: 0;
  overflow: hidden;
}

.company-photos img {
  width: 100%;
  height: 318px;
  object-fit: cover;
}

.company-factories {
  background: #f8f8f8;
  padding-top: 150px;
  padding-bottom: 150px;
}

.company-factories .strength-block-heading {
  margin-bottom: 80px;
}

.company-factories__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 471px));
  justify-content: space-between;
  gap: 60px;
}

.company-factory-card__photo {
  margin: 0 0 30px;
  overflow: hidden;
}

.company-factory-card__photo img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.company-factory-card__title {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.05em;
}

.company-factory-card__address {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: var(--text);
}

.company-history {
  padding-top: 200px;
  padding-bottom: 200px;
}

.company-history .strength-block-heading {
  margin-bottom: 80px;
}

.company-timeline {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.company-timeline__item {
  display: grid;
  grid-template-columns: 170px minmax(0, 822px);
  justify-content: space-between;
  gap: 68px;
}

.company-timeline__item:first-child {
  padding-top: 0;
  border-top: 0;
}

.company-timeline__date {
  margin: 0;
  padding-left: 30px;
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: normal;
  color: var(--muted);
  border-top: 2px solid #eee;
  padding-top: 30px;
}

.company-timeline__body {
  padding-left: 100px;
  border-top: 2px solid #eee;
  padding-top: 30px;
}

.company-timeline__title {
  margin: 0 0 25px;
  font-size: 20px;
  font-weight: 700;
  line-height: normal;
}

.company-timeline__text {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 400;
  line-height: 30px;
}

.company-timeline__text:last-child {
  margin-bottom: 0;
}



/* company.html — レスポンシブ */
@media (max-width: 1100px) {
  .company-timeline__body {
    padding-left: 30px;
  }
}

@media (max-width: 1024px) {
  .company-page .strength-page-title-wrap {
      padding-top: 22em;
      padding-bottom: 10em;
  }
}

@media (max-width: 768px) {
  .company-page .strength-page-title-wrap {
    padding-top: 15em;
    padding-bottom: 4em;
  }

  .company-info,
  .company-history {
    padding-top: 0px;
    padding-bottom: 72px;
  }

  .company-factories {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .company-profile__row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .company-photos img,
  .company-factory-card__photo img {
    height: auto;
    aspect-ratio: 500 / 318;
  }

  .company-profile__value {
    padding: 10px 20px 0;
  }

  .company-factory-card__photo img {
    aspect-ratio: 471 / 300;
  }

  .company-timeline__date {
    padding-left: 0;
  }

  .company-timeline__body {
    padding-left: 0;
  }
  .company-timeline__item {
    gap: 30px;
}
}

@media (max-width: 480px) {
  .company-page .strength-page-title-wrap {
    padding-top: 11em;
  }
  .company-profile__label {
    padding: 0;
  }
  .company-factories__grid {
    grid-template-columns: 1fr;
  }
  .company-photos {
    grid-template-columns: 1fr;
  }
  .company-timeline__item {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   policy.html — プライバシーポリシー（下層ページ）
   ========================================================================== */

.policy-page .strength-page-title-wrap {
  padding-top: 29em;
  padding-bottom: 8em;
}

.policy-content {
  padding-top: 0;
  padding-bottom: 200px;
}

.policy-section + .policy-section {
  margin-top: 68px;
}

.policy-section__heading {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 700;
  line-height: 32px;
  color: var(--muted);
}

.policy-section__text {
  margin: 0;
  padding-left: 30px;
  font-size: 14px;
  font-weight: 400;
  line-height: 32px;
  color: var(--text);
}

.policy-section__text p {
  margin: 0;
}

.policy-section__text + .policy-section__list,
.policy-section__text + .policy-section__contact {
  margin-top: 16px;
}

.policy-section__list {
  margin: 0;
  padding: 0 0 0 30px;
  list-style: none;
  font-size: 14px;
  font-weight: 400;
  line-height: 32px;
  color: var(--text);
}

.policy-section__list li + li {
  margin-top: 0;
}

.policy-section__contact {
  margin: 0;
  padding-left: 30px;
  font-style: normal;
  font-size: 14px;
  font-weight: 400;
  line-height: 32px;
  color: var(--text);
}

.policy-section__contact p {
  margin: 0;
}


/* policy.html — レスポンシブ */

@media (max-width: 1024px) {
  .policy-page .strength-page-title-wrap {
      padding-top: 22em;
      padding-bottom: 10em;
  }
}

@media (max-width: 768px) {
  .policy-page .strength-page-title-wrap {
    padding-top: 15em;
    padding-bottom: 4em;
  }

  .policy-content {
    padding-bottom: 72px;
  }

  .policy-section + .policy-section {
    margin-top: 48px;
  }

  .policy-section__text,
  .policy-section__list,
  .policy-section__contact {
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .policy-page .strength-page-title-wrap {
    padding-top: 12em;
  }
}



/* ページTOPに戻るボタン */
.pagetop {
  height: 50px;
  width: 50px;
  position: fixed;
  right: 30px;
  bottom: 20px;
  background-color: #0084cf;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  transform: translateY(100px);
  opacity: 0;
  visibility: hidden;
  transition: transform 2s ease, opacity 2s ease, visibility 2s ease;
  z-index: 999;
}
.pagetop.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}
.pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: translateY(20%) rotate(-45deg);
}
@media (hover: hover) and (pointer: fine) {
    .pagetop:hover, .pagetop:hover .pagetop__arrow {
        border-color: #0084cf;
        background-color: #fff;
    }
}


@media (min-width: 1680px) {
  .strength-page-title-wrap,
  .business-page .strength-page-title-wrap,
  .company-page .strength-page-title-wrap,
  .facilities-page .strength-page-title-wrap,
  .company-page .strength-page-title-wrap,
  .recruit-page .strength-page-title-wrap,
  .policy-page .strength-page-title-wrap {
    padding-top: 35em;
    padding-bottom: 12em;
  }
}


/* ==========================================================================
    【アンカーリンク位置調整】ヘッダーへの潜り込み・線のハミ出しを完全解決
   ========================================================================== */

/* 位置調整のバネを仕込むための基準点を設定します */
#philosophy-sec,
#company-history,
#contact {
  position: relative;
}

/* ── PC大画面時の上下位置調整（ヘッダー110px＋α） ── */
#philosophy-sec::before,
#company-history::before,
#contact::before {
  content: "";
  display: block;
  height: 140px;        /* ジャンプして止まる位置を140px分下に押し下げる（数値は自由に変更可） */
  margin-top: -140px;   /* 押し下げた分を完全に引き戻し、見た目の余白を原本通り100%維持する */
  visibility: hidden;   /* 画面には一切見えない透明な空気のクッションにします */
  pointer-events: none; /* マウスのクリックも完全にすり抜ける設定 */
}

/* ── 📱 スマホ・タブレット時（768px以下）の上下位置調整（ヘッダー72px＋α） ── */
@media (max-width: 768px) {
  #philosophy-sec::before,
  #company-history::before,
  #contact::before {
    height: 95px;       /* スマホはヘッダーが72pxに縮むため、押し下げるクッションを95pxに縮小 */
    margin-top: -95px;  /* 同時に引き戻す量も95pxにして相殺 */
  }
}