@charset "UTF-8";

/* ===== I.S.C.Lab. style.css（参考サイト hellocycling.jp 型） ===== */

/* ===== 変数 ===== */

:root {
  --color-base: #fafafa;
  --color-sub: #d6f8f9;
  --color-accent: #f8dfdf;
  --color-text: #343c48;
  --color-white: #fff;
  --color-line: rgba(52, 60, 72, 0.15);
  --color-hex-line: color-mix(in srgb, var(--color-sub), var(--color-text) 20%);
  --color-focus: #4dc9ff;
  --font-base: "Lato", "Noto Sans JP", sans-serif;
  --ease: cubic-bezier(0.4, 0.4, 0, 1);
  --shadow-card: 0 3px 12px rgba(0, 0, 0, 0.2);
  --shadow-tile: 0 2px 12px rgba(0, 0, 0, 0.2);
  --header-height: 70px;
}

@media screen and (max-width: 540px) {
  :root {
    --header-height: 60px;
  }
}

/* ===== ベース ===== */

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

html {
  scroll-padding-top: var(--header-height);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.1em;
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

p,
h1,
h2,
h3,
h4,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-size: inherit;
  font-weight: inherit;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.sp-only {
  display: none;
}

@media screen and (max-width: 540px) {
  .sp-only {
    display: inline;
  }
}

.container {
  width: calc(100% - 80px);
  max-width: 1200px;
  margin: 0 auto;
}

@media screen and (max-width: 540px) {
  .container {
    width: calc(100% - 32px);
  }
}

/* ===== スクロールの案内（TOP と下層の FV の左下。細い線が上から下へ流れる） ===== */

.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--color-text);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.2em;
}

.scroll-cue::after {
  content: "";
  width: 1px;
  height: 64px;
  background: linear-gradient(var(--color-text) 50%, rgba(52, 60, 72, 0.2) 50%);
  background-size: 100% 200%;
  animation: scroll-cue 2s var(--ease) infinite;
}

@keyframes scroll-cue {
  from {
    background-position: 0 100%;
  }

  to {
    background-position: 0 -100%;
  }
}

@media screen and (max-width: 840px) {
  .scroll-cue::after {
    height: 40px;
  }
}

.hero__scroll {
  position: absolute;
  bottom: 0;
  left: 6vw;
  z-index: 2;
}

@media screen and (max-width: 840px) {
  .hero__scroll {
    left: 16px;
  }
}

/* ===== 準備中ラベル（採用LPのURLが未定のあいだ） ===== */

.soon {
  display: inline-block;
  margin: 0 0 0 8px;
  padding: 3px 6px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
  white-space: nowrap;
  vertical-align: middle;
  border: 1px solid currentColor;
  border-radius: 100vh;
}

.is-disabled {
  cursor: default;
}

/* 採用LPのURLが入ったときの外部リンクの印（main.js が付ける） */
.ext {
  margin: 0 0 0 4px;
}

/* ===== スクロールで出す（参考サイトの「ふわっと出る」） ===== */

.js [data-appear] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

.js [data-appear].is-shown {
  opacity: 1;
  transform: none;
}

/* ===== ヘッダー ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  height: var(--header-height);
  padding: 16px 32px;
  background-color: var(--color-white);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 540px) {
  .site-header {
    padding: 12px 16px;
  }
}

.site-header__logo {
  display: block;
  flex: none;
  height: 38px;
  transition: opacity 0.3s var(--ease);
}

.site-header__logo:hover {
  opacity: 0.75;
}

.site-header__logo img {
  width: auto;
  height: 100%;
}

@media screen and (max-width: 540px) {
  .site-header__logo {
    height: 32px;
  }
}

/* ===== グローバルナビ ===== */

.gnav {
  display: flex;
  align-items: center;
  gap: 24px;
}

@media screen and (max-width: 1100px) {
  .gnav {
    display: none;
  }
}

.gnav__list {
  display: flex;
  gap: 24px;
}

.gnav__link {
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: normal;
  white-space: nowrap;
  transition: opacity 0.3s var(--ease);
}

.gnav__link:hover {
  opacity: 0.75;
}

.gnav__link[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 8px;
}

.gnav__recruit {
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: normal;
  white-space: nowrap;
}

a.gnav__recruit:hover {
  opacity: 0.75;
}

.gnav__contact {
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
  color: var(--color-white);
  white-space: nowrap;
  background-color: var(--color-text);
  border-radius: 4px;
  transition: opacity 0.3s var(--ease);
}

.gnav__contact:hover {
  opacity: 0.75;
}

/* ===== メニューボタン（1100px以下） ===== */

.menu-toggle {
  display: none;
}

@media screen and (max-width: 1100px) {
  .menu-toggle {
    position: relative;
    display: block;
    flex: none;
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
  }

  .menu-toggle__lines,
  .menu-toggle__lines::before,
  .menu-toggle__lines::after {
    position: absolute;
    left: 50%;
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    border-radius: 100vh;
    transition:
      transform 0.3s var(--ease),
      background-color 0.3s var(--ease);
  }

  .menu-toggle__lines {
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .menu-toggle__lines::before,
  .menu-toggle__lines::after {
    content: "";
  }

  .menu-toggle__lines::before {
    transform: translate(-50%, -8px);
  }

  .menu-toggle__lines::after {
    transform: translate(-50%, 8px);
  }

  .menu-toggle.is-open .menu-toggle__lines {
    background-color: transparent;
  }

  .menu-toggle.is-open .menu-toggle__lines::before {
    transform: translate(-50%, 0) rotate(45deg);
  }

  .menu-toggle.is-open .menu-toggle__lines::after {
    transform: translate(-50%, 0) rotate(-45deg);
  }
}

/* ===== メニューパネル（1100px以下。開いたときヘッダーの下に出す） ===== */

.menu-panel {
  display: none;
}

@media screen and (max-width: 1100px) {
  .menu-panel {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99;
    display: block;
    padding: 8px 24px 40px;
    overflow-y: auto;
    background-color: var(--color-white);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.3s var(--ease),
      transform 0.3s var(--ease),
      visibility 0.3s var(--ease);
  }

  .menu-panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

.menu-panel__list {
  max-width: 640px;
  margin: 0 auto;
}

.menu-panel__link {
  display: flex;
  align-items: center;
  padding: 18px 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.2em;
  border-bottom: 1px solid var(--color-line);
}

/* ===== 見出し（小さな見出し＋字間の広い大きな見出し） ===== */

.sec-head__label {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.15em;
}

.sec-head__title {
  margin: 16px 0 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.15em;
}

.sec-head--center {
  text-align: center;
}

@media screen and (max-width: 840px) {
  .sec-head__label {
    font-size: 16px;
  }

  .sec-head__title {
    font-size: 24px;
  }
}

@media screen and (max-width: 540px) {
  .sec-head__label {
    font-size: 14px;
  }

  .sec-head__title {
    margin: 8px 0 0;
    font-size: 20px;
  }
}

/* ===== 本文（小） ===== */

.text-s {
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.08em;
}

@media screen and (max-width: 540px) {
  .text-s {
    letter-spacing: 0.05em;
  }
}

/* ===== 「もっとみる」リンク ===== */

.more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 3px 0 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 2;
  letter-spacing: 0.15em;
  border-bottom: 1px solid currentColor;
  transition: opacity 0.3s var(--ease);
}

.more:hover {
  opacity: 0.75;
}

.more__icon {
  flex: none;
  width: 16px;
  height: 8px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transition: transform 0.3s var(--ease);
}

.more:hover .more__icon {
  transform: translateX(4px);
}

@media screen and (max-width: 540px) {
  .more {
    gap: 4px;
    font-size: 13px;
  }
}

/* ===== カード（白い箱） ===== */

.card {
  background-color: var(--color-white);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}

/* ===== 淡い地の帯（参考サイトの灰色の帯） ===== */

.band {
  padding: 80px 0;
  background-color: var(--color-base);
}

.band--pattern {
  background-image: radial-gradient(var(--color-sub) 1.5px, transparent 1.6px);
  background-size: 24px 24px;
}

@media screen and (max-width: 540px) {
  .band {
    padding: 64px 0;
  }
}

.band__more {
  margin: 40px 0 0;
  text-align: center;
}

/* ===== TOP：読み込み画面（六角形の線を描き、水色の六角形を広げて FV へ） ===== */

.loader {
  display: none;
}

.js .loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-white);
  transition:
    opacity 0.5s var(--ease),
    visibility 0.5s;
}

.js.is-loader-skip .loader {
  display: none;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

/* 読み込みの進み具合（JS が --progress に 0〜1 を入れる）に合わせて線を描く */
.loader__hex {
  position: relative;
  width: 96px;
  height: 83px;
  overflow: visible;
  transition: opacity 0.3s var(--ease);
}

.loader__hex polygon {
  fill: none;
  stroke: var(--color-text);
  stroke-width: 1.5;
  stroke-dasharray: 100;
  stroke-dashoffset: calc((1 - var(--progress, 0)) * 100);
}

/* まわりの薄い六角形3つ。結晶が育つように、内側から順に描く */
.loader__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  aspect-ratio: 1 / 0.866;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s var(--ease);
}

.loader__ring svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.loader__ring polygon {
  fill: none;
  stroke: var(--color-hex-line);
  stroke-width: var(--ring-stroke);
  stroke-dasharray: 100;
  stroke-dashoffset: calc((1 - clamp(0, (var(--progress, 0) - var(--ring-start)) * 2.5, 1)) * 100);
  opacity: 0.6;
}

/* 線の太さは 1px になるよう viewBox の単位で（100 ÷ 幅） */
.loader__ring--1 {
  --ring-start: 0.2;
  --ring-stroke: 0.5;
  width: 200px;
}

.loader__ring--2 {
  --ring-start: 0.4;
  --ring-stroke: 0.28;
  width: 360px;
}

.loader__ring--3 {
  --ring-start: 0.6;
  --ring-stroke: 0.18;
  width: 560px;
}

.loader.is-done .loader__ring {
  opacity: 0;
}

/* 100% になったら広がる水色の六角形（FV の地の色） */
.loader__fill {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 96px;
  height: 83px;
  margin: -41.5px 0 0 -48px;
  background-color: var(--color-sub);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  transform: scale(0);
  transition: transform 0.9s cubic-bezier(0.7, 0, 0.2, 1);
}

.loader.is-done .loader__fill {
  transform: scale(40);
}

.loader.is-done .loader__hex,
.loader.is-done .loader__progress {
  opacity: 0;
}

/* 右下の数字（参考サイトの「100% LOADING」） */
.loader__progress {
  position: absolute;
  right: max(16px, 2.5vw);
  bottom: max(16px, 2.5vw);
  color: var(--color-hex-line);
  font-weight: 900;
  line-height: 1;
  text-align: right;
  font-variant-numeric: tabular-nums;
  transition: opacity 0.3s var(--ease);
}

.loader__num {
  font-size: 60px;
  letter-spacing: 0.02em;
}

.loader__unit {
  margin: 0 0 0 4px;
  font-size: 24px;
}

.loader__text {
  display: block;
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

@media screen and (max-width: 540px) {
  .loader__num {
    font-size: 40px;
  }

  .loader__unit {
    font-size: 18px;
  }

  .loader__text {
    font-size: 10px;
  }
}

/* ===== TOP：FV ===== */

.hero {
  position: relative;
  height: calc(100svh - var(--header-height));
  min-height: 600px;
  max-height: 920px;
  overflow: hidden;
  background: linear-gradient(
    120deg,
    var(--color-sub) 30%,
    color-mix(in srgb, var(--color-sub) 35%, var(--color-white)) 100%
  );
}

@media screen and (max-width: 840px) {
  .hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: auto;
    min-height: calc(100svh - var(--header-height));
    max-height: none;
    padding: 0 16px 72px;
  }
}

/* キャッチと言葉。左に縦の中央でそろえる */
.hero__copy {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 6vw;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media screen and (max-width: 840px) {
  .hero__copy {
    position: relative;
    left: auto;
    order: 2;
    margin: 32px 0 0;
  }
}

.hero__catch {
  font-size: clamp(40px, 4.6vw, 80px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.06em;
}

.hero__catch-line {
  display: block;
}

@media screen and (max-width: 840px) {
  .hero__catch {
    font-size: 8.5vw;
  }
}

.hero__labels {
  margin: clamp(24px, 2.5vw, 40px) 0 0;
}

/* 六角形の小さな印を付けた2行 */
.hero__label {
  display: block;
  font-size: clamp(16px, 1.5vw, 24px);
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: 0.12em;
}

.hero__label::before {
  content: "";
  display: inline-block;
  margin: 0 0.6em 0 0;
  vertical-align: 0.05em;
  width: 0.7em;
  height: 0.6062em;
  background-color: var(--color-text);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}

.hero__mark {
  padding: 0 0.1em;
  color: inherit;
  background: linear-gradient(transparent 55%, var(--color-accent) 55%);
}

@media screen and (max-width: 840px) {
  .hero__labels {
    margin: 20px 0 0;
  }

  .hero__label {
    font-size: 4.2667vw;
  }
}

/*
 * 結晶の格子。六角形（横長・平らな上辺）を、列ごとに半段ずらして組む。
 * 六角形の幅＝格子の幅の 40%、横の送り 31.6%、縦の送り（半段）25.56%（格子の高さ比）
 */
.hero__lattice {
  position: absolute;
  top: 50%;
  right: -2vw;
  width: min(56vw, calc((100svh - var(--header-height)) * 1.1), 1000px);
  aspect-ratio: 1 / 0.7088;
  transform: translateY(-50%);
}

@media screen and (max-width: 840px) {
  .hero__lattice {
    position: relative;
    top: auto;
    right: auto;
    order: 1;
    transform: none;
    width: 112%;
    margin: 20px 0 0 4%;
  }
}

.hero__cell {
  position: absolute;
  width: 40%;
  height: 48.87%;
}

.hero__cell svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* 線は描く動きのため viewBox の単位で太さを指定（non-scaling-stroke だと pathLength が効かない） */
.hero__cell--line polygon {
  fill: none;
  stroke: var(--color-white);
  stroke-width: 0.6;
}

.hero__cell--fill polygon {
  fill: rgba(255, 255, 255, 0.6);
}

.hero__cell--photo {
  overflow: hidden;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}

.hero__cell--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__cell--c1r0 {
  top: 0;
  left: 0;
}

.hero__cell--c1r2 {
  top: 51.13%;
  left: 0;
}

.hero__cell--c2r-1 {
  top: -25.56%;
  left: 31.6%;
}

.hero__cell--c2r1 {
  top: 25.56%;
  left: 31.6%;
}

.hero__cell--c3r0 {
  top: 0;
  left: 63.2%;
}

.hero__cell--c3r2 {
  top: 51.13%;
  left: 63.2%;
}

/*
 * FV の動き。読み込み画面のあと（<html> に .is-ready が付いたら）順に出す。
 * JS が動くときだけ最初に隠す。出たあとは、写真がゆっくり寄る・線の六角形が浮く・光が斜めに通る
 */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 255, 255, 0.5) 50%,
    transparent 62%
  );
  background-size: 250% 100%;
  background-repeat: no-repeat;
  animation: hero-light 10s ease-in-out 2s infinite both;
}

@keyframes hero-light {
  0% {
    background-position: 100% 0;
  }

  60%,
  100% {
    background-position: 0% 0;
  }
}

.js .hero__catch-line {
  clip-path: inset(100% 0 0 0);
  transform: translateY(0.4em);
  transition:
    clip-path 1s var(--ease),
    transform 1s var(--ease);
}

.js.is-ready .hero__catch-line {
  clip-path: inset(-20% -5% -20% -5%);
  transform: none;
}

.hero__catch-line:nth-child(1) {
  transition-delay: 0.1s;
}

.hero__catch-line:nth-child(2) {
  transition-delay: 0.22s;
}

.hero__catch-line:nth-child(3) {
  transition-delay: 0.34s;
}

.js .hero__label {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

.js.is-ready .hero__label {
  opacity: 1;
  transform: none;
}

.hero__label:nth-child(1) {
  transition-delay: 0.7s;
}

.hero__label:nth-child(2) {
  transition-delay: 0.82s;
}

/* 蛍光ペンを左から引く */
.js .hero__mark {
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition: background-size 0.6s var(--ease) 1.3s;
}

.js.is-ready .hero__mark {
  background-size: 100% 100%;
}

/* 写真は六角形の中心から開く */
.js .hero__cell--photo {
  clip-path: polygon(50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%, 50% 50%);
  transition: clip-path 1.2s var(--ease);
}

.js.is-ready .hero__cell--photo {
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}

.js .hero__cell--photo img {
  transform: scale(1.2);
  transition: transform 1.6s var(--ease);
}

.js.is-ready .hero__cell--photo img {
  transform: none;
}

.hero__cell--c1r0,
.hero__cell--c1r0 img {
  transition-delay: 0.15s;
}

.hero__cell--c1r2,
.hero__cell--c1r2 img {
  transition-delay: 0.3s;
}

/* 写真はゆっくり寄って戻る（img の transform は出るときに使うので、picture を scale で動かす） */
.hero__cell--photo picture {
  display: block;
  width: 100%;
  height: 100%;
  animation: hero-zoom 16s ease-in-out infinite alternate;
}

.hero__cell--c1r0 picture {
  animation-delay: -5s;
}

.hero__cell--c1r2 picture {
  animation-delay: -10s;
}

@keyframes hero-zoom {
  from {
    scale: 1;
  }

  to {
    scale: 1.08;
  }
}

/* 線の六角形は描くように出す（polygon の pathLength="100"） */
.js .hero__cell--line polygon {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.8s var(--ease) 0.4s;
}

.js.is-ready .hero__cell--line polygon {
  stroke-dashoffset: 0;
}

.js .hero__cell--fill svg {
  opacity: 0;
  transform: scale(0.6);
  transition:
    opacity 1s var(--ease) 0.5s,
    transform 1s var(--ease) 0.5s;
}

.js.is-ready .hero__cell--fill svg {
  opacity: 1;
  transform: none;
}

/* 線と面の六角形は、少し浮いて戻る */
.hero__cell--line,
.hero__cell--fill {
  animation: hero-float 7s ease-in-out infinite alternate;
}

.hero__cell--c3r0 {
  animation-delay: -2.5s;
}

.hero__cell--c3r2 {
  animation-delay: -5s;
}

@keyframes hero-float {
  from {
    translate: 0 6px;
  }

  to {
    translate: 0 -10px;
  }
}

.js .hero__scroll {
  opacity: 0;
  transition: opacity 0.8s var(--ease) 1.4s;
}

.js.is-ready .hero__scroll {
  opacity: 1;
}

/* ===== TOP：私たちについて（左に文、右に FV と同じ組み方の六角形の写真2つ） ===== */

.about-top {
  padding: 96px 0;
  overflow: hidden;
}

@media screen and (max-width: 540px) {
  .about-top {
    padding: 64px 0;
  }
}

.about-top__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: 64px;
}

@media screen and (max-width: 840px) {
  .about-top__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
}

.about-top__text .text-s {
  margin: 24px 0 32px;
}

/*
 * 六角形の幅＝枠の幅の 48%。横の送り 37.9%、縦の送り（半段）25.58%（枠の高さ比）。
 * FV の格子と同じ比率（六角形の幅に対して横 79%・縦 半分＋2%）
 */
.about-top__lattice {
  position: relative;
  width: min(100%, 600px);
  aspect-ratio: 1 / 0.85;
  margin: 0 0 0 auto;
}

@media screen and (max-width: 840px) {
  .about-top__lattice {
    width: min(88%, 480px);
    margin: 0 auto 0 0;
  }
}

.about-top__cell {
  position: absolute;
  width: 48%;
  height: 48.9%;
}

.about-top__cell > svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.about-top__cell--line polygon {
  fill: none;
  stroke: var(--color-hex-line);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.about-top__cell--fill polygon {
  fill: var(--color-sub);
}

.about-top__cell--c1r1 {
  top: 25.58%;
  left: 0;
}

.about-top__cell--c2r0 {
  top: 0;
  left: 37.9%;
}

.about-top__cell--c2r2 {
  top: 51.16%;
  left: 37.9%;
}

.about-top__cell--c3r1 {
  top: 25.58%;
  left: 75.8%;
}

/* 六角形の写真リンク（左下に濃い六角形の札） */
.hex-link {
  display: block;
}

.hex-link__photo {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}

.hex-link__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

.hex-link:hover .hex-link__photo img {
  transform: scale(1.05);
}

.hex-link__badge {
  position: absolute;
  bottom: -4%;
  left: 2%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 112px;
  height: 97px;
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
  background-color: var(--color-text);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}

.hex-link__badge .more__icon {
  stroke: var(--color-sub);
}

.hex-link:hover .hex-link__badge .more__icon {
  transform: translateX(4px);
}

@media screen and (max-width: 540px) {
  .hex-link__badge {
    gap: 4px;
    width: 80px;
    height: 69px;
    font-size: 12px;
    letter-spacing: 0.05em;
  }
}

/* ===== TOP：事業内容（参考サイトの「サービスについて」） ===== */

.business-top__head {
  position: relative;
  margin: 0 0 40px;
}

/* 六角形の札（見出しの右） */
.hex-badge {
  position: absolute;
  top: -8px;
  right: max(0px, calc(50% - 500px));
  display: flex;
  justify-content: center;
  align-items: center;
  width: 120px;
  height: 104px;
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.05em;
  text-align: center;
  background-color: var(--color-text);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}

@media screen and (max-width: 840px) {
  .hex-badge {
    top: -44px;
    right: 0;
    width: 92px;
    height: 80px;
    font-size: 11px;
  }
}

/* 製品ができるまで：工程を矢印でつなぐ */
.flow {
  padding: 40px 44px 32px;
}

@media screen and (max-width: 840px) {
  .flow {
    padding: 32px 20px 24px;
  }
}

.flow__heading {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.15em;
  text-align: center;
}

@media screen and (max-width: 540px) {
  .flow__heading {
    font-size: 18px;
  }
}

.flow__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin: 32px 0 0;
}

@media screen and (max-width: 840px) {
  .flow__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }
}

.flow__item {
  position: relative;
}

/* 工程の間の矢印（写真の高さの真ん中） */
.flow__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc((100% - 56px) * 0.5 - 6px);
  right: -27px;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--color-text);
  border-right: 2px solid var(--color-text);
  transform: rotate(45deg);
}

@media screen and (max-width: 840px) {
  .flow__item:not(:last-child)::after {
    display: none;
  }
}

.flow__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
}

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

/* 番号：写真の左上の角に重ねる水色の六角形 */
.flow__no {
  position: absolute;
  top: 0;
  left: -10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 64px;
  height: 56px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
  background-color: var(--color-sub);
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  transform: translateY(-40%);
}

.flow__step {
  margin: 0 0 2px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

@media screen and (max-width: 540px) {
  .flow__no {
    left: -6px;
    width: 52px;
    height: 45px;
    font-size: 17px;
  }

  .flow__step {
    font-size: 8px;
  }
}

.flow__title {
  margin: 14px 0 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.1em;
}

@media screen and (max-width: 540px) {
  .flow__title {
    margin: 8px 0 0;
    font-size: 14px;
    letter-spacing: 0.05em;
  }
}

.flow__more {
  margin: 24px 0 0;
  text-align: right;
}

/* 事業内容の入口：濃い1本の帯を4つに区切る */
.biz-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 40px 0 0;
  overflow: hidden;
  background-color: var(--color-text);
  border-radius: 8px;
  box-shadow: var(--shadow-tile);
}

@media screen and (max-width: 840px) {
  .biz-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 540px) {
  .biz-links {
    grid-template-columns: 1fr;
    margin: 32px 0 0;
  }
}

.biz-links__item + .biz-links__item {
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

@media screen and (max-width: 840px) {
  .biz-links__item:nth-child(3) {
    border-left: none;
  }

  .biz-links__item:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }
}

@media screen and (max-width: 540px) {
  .biz-links__item + .biz-links__item {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-left: none;
  }
}

.biz-links__link {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 24px 20px;
  color: var(--color-white);
  transition: background-color 0.3s var(--ease);
}

.biz-links__link:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

@media screen and (max-width: 540px) {
  .biz-links__link {
    padding: 16px 20px;
  }
}

.biz-links__icon {
  flex: none;
  width: 40px;
  height: 40px;
  fill: none;
  stroke: var(--color-white);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.biz-links__icon-fill {
  fill: var(--color-sub);
  stroke: none;
}

.biz-links__text {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
}

.biz-links__no {
  color: var(--color-sub);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.15em;
}

.biz-links__label {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.biz-links__link .more__icon {
  flex: none;
}

.biz-links__link:hover .more__icon {
  transform: translateX(4px);
}

/* ===== TOP：企業理念（理念の言葉を大きく、右に六角形の線にのせたイラスト） ===== */

.philosophy-top {
  padding: 112px 0;
  overflow: hidden;
}

@media screen and (max-width: 540px) {
  .philosophy-top {
    padding: 64px 0;
  }
}

.philosophy-top__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
}

@media screen and (max-width: 840px) {
  .philosophy-top__inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

.philosophy-top__text .more {
  margin: 40px 0 0;
}

@media screen and (max-width: 540px) {
  .philosophy-top__text .more {
    margin: 28px 0 0;
  }
}

/* 見出しを理念の言葉として大きく見せる */
.sec-head--statement .sec-head__title {
  margin: 24px 0 0;
  font-size: clamp(36px, 3.8889vw, 56px);
  line-height: 1.5;
  letter-spacing: 0.06em;
}

@media screen and (max-width: 840px) {
  .sec-head--statement .sec-head__title {
    font-size: 7.4vw;
  }
}

@media screen and (max-width: 540px) {
  .sec-head--statement .sec-head__title {
    margin: 16px 0 0;
    font-size: 8.2vw;
    letter-spacing: 0.04em;
  }
}

/* イラストの下に敷く六角形（大きな線・小さな線・水色の面）。TOP と企業理念ページで共通 */
.hex-stage {
  position: relative;
  isolation: isolate;
  padding: 4% 0;
}

.hex-stage--center {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
}

.hex-stage__hex {
  position: absolute;
  z-index: -1;
}

.hex-stage__hex > svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hex-stage__hex--large {
  top: 0;
  left: 50%;
  width: 66%;
  aspect-ratio: 1 / 0.866;
  transform: translateX(-50%);
}

.hex-stage__hex--small {
  top: 2%;
  right: 0;
  width: 26%;
  aspect-ratio: 1 / 0.866;
}

.hex-stage__hex--fill {
  bottom: 4%;
  left: 4%;
  width: 18%;
  aspect-ratio: 1 / 0.866;
}

.hex-stage__hex--large polygon,
.hex-stage__hex--small polygon {
  fill: none;
  stroke: var(--color-hex-line);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.hex-stage__hex--fill polygon {
  fill: var(--color-sub);
}

.hex-stage__img {
  position: relative;
  width: 100%;
}

/* ===== TOP：会社概要（参考サイトの「パートナー企業について」） ===== */

.company-top__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin: 0 0 40px;
}

@media screen and (max-width: 540px) {
  .company-top__head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* 主要取引先を横に流す（文字だけ。細い縦線で区切る） */
.clients {
  margin: 0 0 48px;
  overflow: hidden;
}

.clients__label {
  margin: 0 auto 16px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
}

.clients__track {
  display: flex;
  width: max-content;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  animation: clients-scroll 40s linear infinite;
}

.clients:hover .clients__track {
  animation-play-state: paused;
}

.clients__list {
  display: flex;
}

.clients__item {
  display: flex;
  align-items: center;
  height: 72px;
  padding: 0 48px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.06em;
  white-space: nowrap;
  border-right: 1px solid var(--color-line);
}

@media screen and (max-width: 540px) {
  .clients__item {
    height: 56px;
    padding: 0 28px;
    font-size: 14px;
  }
}

@keyframes clients-scroll {
  to {
    transform: translateX(-50%);
  }
}

.company-top__card {
  padding: 48px 40px;
}

@media screen and (max-width: 540px) {
  .company-top__card {
    padding: 24px 16px;
  }
}

.photo-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

@media screen and (max-width: 540px) {
  .photo-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* 写真の下に、事業内容の入口と同じ「番号＋名前＋矢印」 */
.photo-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 16px;
}

.photo-link__frame {
  grid-column: 1 / -1;
  display: block;
  aspect-ratio: 402 / 263;
  overflow: hidden;
  border-radius: 4px;
}

.photo-link__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

.photo-link:hover .photo-link__frame img {
  transform: scale(1.05);
}

.photo-link__text {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 20px 0 18px;
}

.photo-link__no {
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
  opacity: 0.45;
}

.photo-link__label {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.photo-link .more__icon {
  flex: none;
}

.photo-link:hover .more__icon {
  transform: translateX(4px);
}

.photo-link::after {
  content: "";
  grid-column: 1 / -1;
  height: 1px;
  background-color: var(--color-line);
}

@media screen and (max-width: 540px) {
  .photo-link__text {
    gap: 12px;
    padding: 14px 0 12px;
  }

  .photo-link__label {
    font-size: 16px;
  }
}

/* ===== 採用の帯（参考サイトの「CAMPAIGN」）。TOP と下層の最後 ===== */

.recruit-band {
  padding: 80px 0;
  color: var(--color-white);
  background-color: var(--color-text);
}

@media screen and (max-width: 540px) {
  .recruit-band {
    padding: 64px 0;
  }
}

.recruit-band .sec-head__label {
  font-size: 16px;
}

.recruit-band__en {
  margin: 12px 0 0;
  color: var(--color-sub);
  font-size: clamp(64px, 8.3333vw, 120px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}

@media screen and (max-width: 540px) {
  .recruit-band .sec-head__label {
    font-size: 13px;
  }

  .recruit-band__en {
    font-size: 14vw;
  }
}

.recruit-band__banner {
  max-width: 520px;
  margin: 40px auto 0;
  text-align: center;
}

.recruit-band__banner img {
  width: 100%;
  box-shadow: var(--shadow-card);
  transition: opacity 0.3s var(--ease);
}

a.recruit-band__banner-link:hover img {
  opacity: 0.75;
}

.recruit-band__banner .soon {
  margin: 12px 0 0;
}

/* ===== 横長のボタン（参考サイトの黄色い募集の帯） ===== */

.cta-bar {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1040px;
  margin: 40px auto 0;
  padding: 24px 96px;
  color: var(--color-white);
  text-align: center;
  background-color: var(--color-text);
  border-radius: 4px;
  box-shadow: var(--shadow-tile);
  transition: opacity 0.3s var(--ease);
}

a.cta-bar:hover {
  opacity: 0.75;
}

.cta-bar--white {
  max-width: 800px;
  color: var(--color-text);
  background-color: var(--color-white);
  box-shadow: var(--shadow-card);
}

@media screen and (max-width: 840px) {
  .cta-bar {
    padding: 20px 56px 20px 24px;
  }
}

.cta-bar__small {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.15em;
}

.cta-bar__large {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.15em;
}

@media screen and (max-width: 840px) {
  .cta-bar__small {
    font-size: 13px;
  }

  .cta-bar__large {
    font-size: 20px;
  }
}

@media screen and (max-width: 540px) {
  .cta-bar__small {
    font-size: 12px;
    letter-spacing: 0.2em;
  }

  .cta-bar__large {
    font-size: 16px;
    letter-spacing: 0.15em;
  }
}

/* 横棒に返しの付いた矢印 */
.cta-bar__arrow {
  position: absolute;
  top: 50%;
  right: 40px;
  width: 32px;
  height: 10px;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-50%);
  transition: transform 0.3s var(--ease);
}

.cta-bar__arrow::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1.5px;
  width: 12px;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(35deg);
  transform-origin: right bottom;
}

a.cta-bar:hover .cta-bar__arrow {
  transform: translate(4px, -50%);
}

@media screen and (max-width: 840px) {
  .cta-bar__arrow {
    right: 20px;
    width: 24px;
  }
}

/* ===== TOP：お問い合わせ ===== */

.contact-top {
  padding: 80px 0;
}

@media screen and (max-width: 540px) {
  .contact-top {
    padding: 64px 0;
  }
}

.tel-block {
  margin: 32px 0 0;
  text-align: center;
}

.tel-block__number {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.2em;
}

.tel-block__hours {
  font-size: 14px;
  letter-spacing: 0.1em;
}

.tel-block--large {
  margin: 0;
}

.tel-block--large .tel-block__number {
  font-size: 36px;
}

@media screen and (max-width: 540px) {
  .tel-block__number,
  .tel-block--large .tel-block__number {
    font-size: 22px;
  }

  .tel-block__hours {
    font-size: 12px;
  }
}

/* ===== 下層：FV（大きな英字＋〈和文〉、右にこのページの目次、段々の濃い地） ===== */

.page-head {
  --step: 80px;
  position: relative;
  isolation: isolate;
  padding: 106px 0 calc(var(--step) * 2 + 64px);
  overflow: hidden;
  color: var(--color-white);
}

@media screen and (max-width: 540px) {
  .page-head {
    --step: 72px;
    padding: 56px 0 calc(var(--step) * 2 + 40px);
  }
}

/* 3列の濃い地。左から順に1段ずつ長くする */
.page-head__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
}

.page-head__bg > span {
  display: block;
  height: 100%;
  margin: 0 -1px 0 0;
  background-color: var(--color-text);
  animation: page-head-drop 0.9s var(--ease) both;
}

.page-head__bg > span:nth-child(1) {
  height: calc(100% - var(--step) * 2);
}

.page-head__bg > span:nth-child(2) {
  height: calc(100% - var(--step));
  animation-delay: 0.08s;
}

.page-head__bg > span:nth-child(3) {
  animation-delay: 0.16s;
}

@keyframes page-head-drop {
  from {
    clip-path: inset(0 0 100% 0);
  }

  to {
    clip-path: inset(0 0 0 0);
  }
}

.page-head__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 472px);
  align-items: start;
  gap: 40px;
}

@media screen and (max-width: 1100px) {
  .page-head__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
}

.page-head__en {
  color: var(--color-sub);
  font-size: clamp(64px, 8.3333vw, 120px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
}

@media screen and (max-width: 540px) {
  .page-head__en {
    font-size: 14vw;
  }
}

/* 〈 〉は読み上げない（content の / "" ） */
.page-head__ja {
  margin: 14px 0 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.05em;
}

.page-head__ja::before {
  content: "<\00a0" / "";
}

.page-head__ja::after {
  content: "\00a0>" / "";
}

.page-head__summary {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.1em;
}

@media screen and (max-width: 540px) {
  .page-head__ja {
    margin: 10px 0 0;
    font-size: 18px;
  }

  .page-head__summary {
    margin: 16px 0 0;
    font-size: 14px;
  }
}

/* 目次（参考サイトの右の一覧）。押すとページ内の各ブロックへ */
.page-head__toc {
  margin: 100px 0 0;
}

@media screen and (max-width: 1100px) {
  .page-head__toc {
    max-width: 560px;
    margin: 0;
  }
}

.page-head__link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.33);
  transition: opacity 0.3s var(--ease);
}

.page-head__link:hover {
  opacity: 0.75;
}

.page-head__link-en {
  flex: 1;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
}

.page-head__link-ja {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-align: right;
}

.page-head__arrow {
  flex: none;
  width: 16px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease);
}

.page-head__link:hover .page-head__arrow {
  transform: translateY(4px);
}

@media screen and (max-width: 540px) {
  .page-head__link {
    gap: 12px;
    padding: 18px 0;
  }

  .page-head__link-en {
    font-size: 18px;
  }

  .page-head__link-ja {
    font-size: 12px;
  }
}

/* 左下の白い所に置くスクロールの案内（形は .scroll-cue） */
.page-head__scroll {
  position: absolute;
  bottom: 0;
  left: max(40px, calc((100% - 1200px) / 2));
}

@media screen and (max-width: 540px) {
  .page-head__scroll {
    left: 16px;
  }
}

/* 右の列の下に、TOP の格子と同じ六角形の線を2つ（列の中で切る） */
.page-head__bg > span:nth-child(3) {
  position: relative;
  overflow: hidden;
}

.page-head__hex {
  position: absolute;
  width: 220px;
  aspect-ratio: 100 / 86.6;
}

.page-head__hex svg {
  display: block;
  width: 100%;
  height: 100%;
}

.page-head__hex polygon {
  fill: none;
  stroke: rgba(214, 248, 249, 0.25);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.page-head__hex--1 {
  right: -40px;
  bottom: -100px;
}

.page-head__hex--2 {
  right: 133px;
  bottom: -1px;
}

@media screen and (max-width: 540px) {
  .page-head__hex {
    width: 140px;
  }

  .page-head__hex--1 {
    right: -30px;
    bottom: -60px;
  }

  .page-head__hex--2 {
    right: 81px;
    bottom: 4px;
  }
}

/* ===== 下層：ブロック ===== */

.page-sec {
  padding: 80px 0;
}

.page-sec--band {
  background-color: var(--color-base);
  background-image: radial-gradient(var(--color-sub) 1.5px, transparent 1.6px);
  background-size: 24px 24px;
}

@media screen and (max-width: 540px) {
  .page-sec {
    padding: 64px 0;
  }
}

.page-sec .container > * + * {
  margin-top: 40px;
}

@media screen and (max-width: 540px) {
  .page-sec .container > * + * {
    margin-top: 32px;
  }
}

.page-sec .sec-head__label {
  font-size: 16px;
}

@media screen and (max-width: 540px) {
  .page-sec .sec-head__label {
    font-size: 13px;
  }
}

.lead {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.2em;
  text-align: center;
}

@media screen and (max-width: 840px) {
  .lead {
    font-size: 18px;
  }
}

@media screen and (max-width: 540px) {
  .lead {
    font-size: 16px;
    letter-spacing: 0.1em;
  }
}

.prose {
  max-width: 800px;
  margin-right: auto;
  margin-left: auto;
}

.text {
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.15em;
}

.text + .text {
  margin: 2em 0 0;
}

.prose--center .text {
  text-align: center;
}

@media screen and (max-width: 840px) {
  .prose--center .text {
    text-align: left;
  }
}

@media screen and (max-width: 540px) {
  .text {
    font-size: 15px;
    line-height: 1.9;
    letter-spacing: 0.05em;
  }
}

.signature {
  margin: 40px 0 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
  text-align: right;
}

.wide-image {
  max-width: 960px;
  margin-right: auto;
  margin-left: auto;
  overflow: hidden;
  border-radius: 8px;
}

.wide-image img {
  width: 100%;
}

.statement {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.15em;
  text-align: center;
}

@media screen and (max-width: 840px) {
  .statement {
    font-size: 22px;
  }
}

@media screen and (max-width: 540px) {
  .statement {
    font-size: 18px;
    letter-spacing: 0.15em;
  }
}

.figure-card {
  max-width: 960px;
  margin-right: auto;
  margin-left: auto;
  padding: 24px;
  overflow: hidden;
}

.figure-card img {
  width: 100%;
}

@media screen and (max-width: 540px) {
  .figure-card {
    padding: 12px;
  }
}

/* ===== 事業内容：製品ができるまで（参考サイトの「利用方法」） ===== */

.steps {
  position: relative;
  max-width: 964px;
  margin-right: auto;
  margin-left: auto;
}

/* 丸をつなぐ縦線 */
.steps::before {
  content: "";
  position: absolute;
  top: 80px;
  bottom: 80px;
  left: 55px;
  width: 2px;
  background-color: var(--color-sub);
}

.steps__item {
  position: relative;
  display: grid;
  grid-template-columns: 112px 1fr 240px;
  align-items: center;
  gap: 32px;
  padding: 24px 0;
}

.steps__no {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 112px;
  height: 112px;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.05em;
  background-color: var(--color-sub);
  border-radius: 50%;
}

.steps__step {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.steps__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.15em;
}

.steps__text {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.2em;
}

.steps__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
}

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

@media screen and (max-width: 840px) {
  .steps::before {
    left: 39px;
  }

  .steps__item {
    grid-template-columns: 80px 1fr;
    gap: 16px 24px;
  }

  .steps__no {
    width: 80px;
    height: 80px;
    font-size: 24px;
  }

  .steps__image {
    grid-column: 2;
    max-width: 320px;
  }
}

@media screen and (max-width: 540px) {
  .steps::before {
    left: 31px;
  }

  .steps__item {
    grid-template-columns: 64px 1fr;
    gap: 12px 16px;
    padding: 16px 0;
  }

  .steps__no {
    width: 64px;
    height: 64px;
    font-size: 20px;
  }

  .steps__step {
    font-size: 9px;
    letter-spacing: 0.2em;
  }

  .steps__title {
    font-size: 16px;
    letter-spacing: 0.15em;
  }

  .steps__text {
    letter-spacing: 0.05em;
  }
}

/* ===== 事業内容：社会で使われる場面 ===== */

.scenes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media screen and (max-width: 840px) {
  .scenes {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }
}

@media screen and (max-width: 540px) {
  .scenes {
    grid-template-columns: 1fr;
  }
}

.scene__frame {
  aspect-ratio: 264 / 177;
  overflow: hidden;
  border-radius: 8px;
}

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

.scene__title {
  margin: 16px 0 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.2em;
}

.scene__text {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.1em;
}

@media screen and (max-width: 540px) {
  .scene__title {
    font-size: 17px;
  }
}

/* ===== 事業内容：技術的な特徴 ===== */

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media screen and (max-width: 840px) {
  .features {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.feature {
  padding: 32px;
}

@media screen and (max-width: 540px) {
  .feature {
    padding: 24px 20px;
  }
}

.feature__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.2em;
}

.feature__text {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.1em;
}

@media screen and (max-width: 540px) {
  .feature__title {
    font-size: 17px;
    letter-spacing: 0.1em;
  }
}

/* ===== 会社概要：表 ===== */

.info-card {
  max-width: 960px;
  margin-right: auto;
  margin-left: auto;
  padding: 48px 56px;
}

@media screen and (max-width: 540px) {
  .info-card {
    padding: 28px 16px;
  }
}

.info-card__head {
  margin: 0 0 24px;
}

.info-card__logo {
  width: auto;
  height: 36px;
}

.info-list__row {
  display: flex;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-line);
}

.info-list__row:first-child {
  border-top: 1px solid var(--color-line);
}

.info-list__term {
  flex: 0 0 160px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.2em;
}

.info-list__desc {
  flex: 1;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.1em;
}

@media screen and (max-width: 540px) {
  .info-list__row {
    flex-direction: column;
    gap: 4px;
    padding: 16px 0;
  }

  .info-list__term {
    flex: none;
    font-size: 14px;
  }

  .info-list__desc {
    font-size: 14px;
  }
}

.map-frame {
  max-width: 960px;
  margin-right: auto;
  margin-left: auto;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow-card);
}

.map {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

/* ===== お問い合わせフォーム ===== */

.form {
  max-width: 800px;
  margin-right: auto;
  margin-left: auto;
  padding: 56px 64px;
}

@media screen and (max-width: 540px) {
  .form {
    padding: 28px 16px;
  }
}

.form__item + .form__item {
  margin: 32px 0 0;
}

.form__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.form__badge {
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.05em;
  border: 1px solid var(--color-text);
  border-radius: 4px;
}

.form__badge--required {
  color: var(--color-white);
  background-color: var(--color-text);
}

.form__control {
  display: block;
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  background-color: var(--color-base);
  border: 1px solid rgba(52, 60, 72, 0.3);
  border-radius: 4px;
}

select.form__control {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23343c48' stroke-width='1.5'/%3E%3C/svg%3E");
  background-position: right 16px center;
  background-repeat: no-repeat;
  background-size: 12px 8px;
  -webkit-appearance: none;
  appearance: none;
}

textarea.form__control {
  resize: vertical;
}

.form__submit {
  margin: 48px 0 0;
  text-align: center;
}

.btn-dark {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 280px;
  padding: 20px 40px;
  color: var(--color-white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.15em;
  background-color: var(--color-text);
  border: none;
  border-radius: 64px;
  box-shadow: var(--shadow-tile);
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}

.btn-dark:hover {
  transform: scale(1.02);
}

@media screen and (max-width: 540px) {
  .btn-dark {
    width: 100%;
    min-width: 0;
  }
}

/* ===== パンくず ===== */

.breadcrumb {
  padding: 16px 0;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.1em;
  border-top: 1px solid var(--color-line);
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
}

.breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  margin: 0 12px 0 0;
  opacity: 0.5;
}

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

/* ===== フッター（参考サイトの濃い色のフッター） ===== */

.site-footer__main {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 76px 67px;
  color: var(--color-white);
  background-color: var(--color-text);
}

@media screen and (max-width: 840px) {
  .site-footer__main {
    flex-direction: column;
    gap: 32px;
    padding: 48px 24px;
  }
}

.site-footer__company {
  flex: none;
}

.site-footer__logo {
  display: inline-block;
  padding: 10px 14px;
  background-color: var(--color-white);
  border-radius: 8px;
  transition: opacity 0.3s var(--ease);
}

.site-footer__logo:hover {
  opacity: 0.75;
}

.site-footer__logo img {
  width: auto;
  height: 32px;
}

.site-footer__address {
  margin: 20px 0 0;
  font-size: 12px;
  font-style: normal;
  line-height: 1.9;
  letter-spacing: 0.1em;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 32px 56px;
}

@media screen and (max-width: 840px) {
  .footer-nav {
    display: block;
  }
}

.footer-nav__title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.1em;
  white-space: nowrap;
  transition: opacity 0.3s var(--ease);
}

a.footer-nav__title:hover {
  opacity: 0.75;
}

.footer-nav__toggle {
  display: none;
}

.footer-nav__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 8px 0 0;
}

.footer-nav__link {
  font-size: 12px;
  line-height: 2;
  letter-spacing: 0.1em;
  transition: opacity 0.3s var(--ease);
}

.footer-nav__link:hover {
  opacity: 0.75;
}

/* SP は開閉式の一覧（参考サイトの SP フッター） */
@media screen and (max-width: 840px) {
  .footer-nav__col {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }

  .footer-nav__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .footer-nav__title {
    display: block;
    flex: 1;
    padding: 14px 0;
    font-size: 16px;
  }

  .footer-nav__toggle {
    position: relative;
    display: block;
    width: 40px;
    height: 40px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
  }

  .footer-nav__toggle::before,
  .footer-nav__toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    background-color: var(--color-white);
    transform: translate(-50%, -50%);
    transition: transform 0.3s var(--ease);
  }

  .footer-nav__toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .footer-nav__col.is-open .footer-nav__toggle::after {
    transform: translate(-50%, -50%);
  }

  .footer-nav__list {
    display: none;
    margin: 0 0 12px;
    padding: 0 0 0 12px;
  }

  .footer-nav__col.is-open .footer-nav__list {
    display: flex;
  }

  .footer-nav__link {
    font-size: 14px;
  }
}

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 67px;
}

@media screen and (max-width: 840px) {
  .site-footer__bottom {
    flex-direction: column;
    gap: 4px;
    padding: 20px 24px;
    text-align: center;
  }
}

.site-footer__name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.site-footer__copy {
  font-size: 10px;
  letter-spacing: 0.05em;
}

.site-footer__copy small {
  font-size: inherit;
}

/* ===== 動きを減らす設定 ===== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-appear] {
    opacity: 1;
    transform: none;
  }

  /* 読み込み画面は出さない */
  .js .loader {
    display: none;
  }

  /* 取引先は流さず、横にスクロールできる一覧にする */
  .clients__track {
    width: auto;
    overflow-x: auto;
    animation: none;
  }

  .clients__list[aria-hidden="true"] {
    display: none;
  }
}

/* Existing product and manufacturing photographs: retain modest display sizes. */
.real-photo { margin: 0; overflow: hidden; }
.real-photo--crystals { max-width: 500px; margin-right: auto; margin-left: auto; }
.real-photo img { width: 100%; height: auto; border-radius: 8px; }
.real-photo-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; max-width: 900px; margin-right: auto; margin-left: auto; align-items: start; }
.real-photo-pair picture { display: flex; aspect-ratio: 4 / 3; background: #f4f5f6; border-radius: 8px; overflow: hidden; }
.real-photo-pair img { object-fit: contain; }
.photo-caption { margin: 10px 0 0; color: #667581; font-size: 13px; line-height: 1.7; letter-spacing: .04em; text-align: center; }
.photo-caption--scene { margin-top: 8px; font-size: 11px; text-align: left; }
@media screen and (max-width: 540px) {
  .real-photo-pair { grid-template-columns: 1fr; max-width: 400px; gap: 28px; }
}

/* Representative portrait and chronological research history. */
#message > .container { display: grid; grid-template-columns: 173px minmax(0, 1fr); gap: 40px 48px; align-items: start; }
#message .sec-head { grid-column: 1 / -1; margin-bottom: 0; }
#message .real-photo--portrait { width: 173px; margin-top: 6px; }
#message .prose { max-width: none; margin: 0; }
.history__intro { margin: 0 auto 56px; text-align: center; color: #667581; }
.history { max-width: 960px; margin: 0 auto; }
.history__year { position: relative; display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 40px; padding-bottom: 48px; }
.history__year:last-child { padding-bottom: 0; }
.history__year::before { content: ""; position: absolute; left: 164px; top: 18px; bottom: -18px; width: 2px; background: #bfe5e7; }
.history__year:last-child::before { bottom: 0; }
.history__year::after { content: ""; position: absolute; left: 158px; top: 15px; width: 14px; height: 14px; border: 3px solid #21858b; background: #fff; border-radius: 50%; }
.history__year-label { color: #21858b; font-size: 36px; font-weight: 700; line-height: 1.2; letter-spacing: .02em; }
.history__year-label span { padding-left: 8px; font-size: 15px; }
.history__events { padding-left: 20px; }
.history__event { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 24px; padding: 16px 0; border-bottom: 1px solid #dfe9eb; font-size: 15px; line-height: 1.9; letter-spacing: .04em; }
.history__event:first-child { padding-top: 6px; }
.history__month { color: #21858b; font-weight: 700; white-space: nowrap; }
@media screen and (max-width: 840px) {
  #message > .container { grid-template-columns: 150px minmax(0, 1fr); gap: 28px; }
  #message .real-photo--portrait { width: 150px; }
  .history__year { grid-template-columns: 100px minmax(0, 1fr); gap: 28px; }
  .history__year::before { left: 112px; }
  .history__year::after { left: 106px; }
  .history__year-label { font-size: 28px; }
  .history__event { gap: 12px; }
}
@media screen and (max-width: 540px) {
  #message > .container { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  #message .real-photo--portrait { width: 173px; margin: 0 auto; }
  .history__intro { margin-bottom: 36px; font-size: 13px; }
  .history__year { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 0 0 36px 30px; }
  .history__year::before { left: 6px; top: 16px; bottom: -16px; }
  .history__year::after { left: 0; top: 11px; }
  .history__events { padding-left: 0; }
  .history__event { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; font-size: 14px; padding: 14px 0; }
}
