@charset "UTF-8";

/* =====================================================
  下層ページ共通
  構成：ヒーロー → 白い丸角パネル → グレー背景のブロック群 → フッター
===================================================== */
html {
  scroll-behavior: smooth;
}

:root {
  --page-navy: #26356e;
  --page-text: #333b52;
  --page-gray: #f5f5f7;
}

/* ---------- ヒーロー ---------- */
.page-mv {
  position: relative;
  width: 100%;
  height: clamp(380px, 30vw, 640px); /* 幅に比例（広い画面でも写真が極端な横長帯にならない） */
  overflow: hidden;
  color: #fff;
}

.page-mv-bg {
  position: absolute;
  inset: 0;
  background-color: #26356e; /* 写真が読み込めない場合の保険 */
  background-size: cover;   /* 1枚の写真をPC/SPどちらでも全面に敷く */
  background-position: center;
  background-repeat: no-repeat;
}

.page-mv-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(38, 53, 110, 0.6) 0%,
    rgba(38, 53, 110, 0.85) 100%
  );
}

.page-mv-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 24px 136px clamp(24px, 8vw, 120px);
}

.page-mv-en {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 400;
  letter-spacing: 0.1em;
}

.page-mv-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.55);
  background: #fff;
  box-sizing: border-box;
}

.page-mv-title {
  margin-top: 14px;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.12em;
}

/* パンくず（ヒーロー下部） */
.breadcrumb {
  position: absolute;
  z-index: 1;
  left: clamp(24px, 8vw, 120px);
  right: 24px;
  bottom: 88px;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  list-style: none;
  padding: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumb-list li + li::before {
  content: ">";
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-list a {
  color: #fff;
  text-decoration: none;
}

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

/* ---------- 白い丸角パネル ---------- */
.page-main {
  background: #fff;
}

.page-panel {
  position: relative;
  z-index: 2;
  margin-top: -44px;
  padding: 96px 0;
  border-radius: 44px;
  background: #fff;
}

.page-inner {
  width: min(100% - 40px, 1000px);
  margin: 0 auto;
}

.page-lead {
  max-width: 760px;
  margin: 0 auto 56px;
  font-size: 15px;
  line-height: 2.1;
  color: var(--page-text);
  text-align: center;
}

/* アンカーカード */
.anchor-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 640px;
  margin: 0 auto;
}

.anchor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 16px 22px;
  border-radius: 8px;
  background: #f8faff;
  color: var(--page-text);
  text-decoration: none;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.anchor-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(38, 53, 110, 0.12);
}

.anchor-card-icon {
  margin-bottom: 18px;
  font-size: 36px;
  color: var(--page-navy);
}

.anchor-card-label {
  min-height: 3em;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.08em;
}

.anchor-card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-top: 12px;
  border-radius: 50%;
  background: var(--page-navy);
  color: #fff;
  font-size: 10px;
}

/* ---------- グレー背景のブロック群 ---------- */
.page-blocks {
  position: relative;
  z-index: 1;
  margin-top: -44px;
  padding: 44px 0 150px;
  background: var(--page-gray);
}

.page-block {
  padding-top: 96px;
  scroll-margin-top: 20px;
}

.block-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.block-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--page-navy);
  font-size: 34px;
  line-height: 1;
}

.block-title {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: var(--page-navy);
}

.block-text {
  margin-bottom: 36px;
  font-size: 14px;
  line-height: 2.1;
  color: var(--page-text);
}

/* 白いカード */
.block-card {
  padding: 40px 36px 36px;
  border-radius: 20px;
  background: #fff;
}

.block-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.block-card-title {
  flex: 1;
  padding-bottom: 18px;
  border-bottom: 1px solid #dfe2ea;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--page-text);
}

/* 行リスト（左：写真 / 右：コンテンツ） */
.tech-list {
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0;
}

.tech-row {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  padding: 24px 32px;
  border-radius: 8px;
  background: var(--page-gray);
}

.tech-row.has-img {
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 0 32px;
  padding: 14px 32px 14px 14px;
}

.tech-row-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
  background: #e8ebf2;
}

.tech-row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 写真未配置の目印（ログイン中のみ表示される） */
.tech-row-media.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border: 1px dashed #b9c0d4;
  background: #eef0f5;
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: #8a91a5;
  text-align: center;
  word-break: break-all;
}

.tech-row-head {
  display: grid;
  grid-template-columns: 84px 24px minmax(0, 1fr);
  align-items: center;
  gap: 0 16px;
}

.tech-row-no {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--page-text);
}

.tech-row-no small {
  font-size: 12px;
  letter-spacing: 0.1em;
}

.tech-row-slash {
  width: 1px;
  height: 36px;
  margin: 0 auto;
  background: var(--page-navy);
  transform: rotate(24deg);
}

.tech-row-main strong {
  display: block;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: var(--page-navy);
}

.tech-row-main small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #8a91a5;
}

.tech-row-material {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #dfe2ea;
  font-size: 13px;
  line-height: 1.8;
  color: var(--page-text);
}

.tech-row-material span {
  display: block;
  margin-bottom: 2px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #8a91a5;
}

/* =====================================================
  設備情報（比較表 + 交互配置のカード）
===================================================== */
/* アンカーリンク（ライン / 環境ごと） */
.fac-anchors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
}

.fac-anchor-group {
  padding: 28px 32px 14px;
  border-radius: 8px;
  background: #f8faff;
}

.fac-anchor-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid #dfe2ea;
  color: var(--page-navy);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.fac-anchor-head i {
  font-size: 20px;
}

.fac-anchor-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fac-anchor-list li + li {
  border-top: 1px solid #e3e6ee;
}

.fac-anchor-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  color: var(--page-text);
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.fac-anchor-list a:hover {
  color: var(--page-navy);
}

.fac-anchor-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--page-navy);
  color: #fff;
  font-size: 9px;
  transition: transform 0.2s ease;
}

.fac-anchor-list a:hover .fac-anchor-arrow {
  transform: translateY(2px);
}

/* カード（左：内容 / 右：写真） */
.fac-cards {
  display: grid;
  gap: 28px;
}

.fac-card {
  display: flex;
  align-items: stretch; /* 写真の上下を、左のコンテンツの上下に揃える */
  gap: 52px;
  padding: 52px 54px 50px;
  border-radius: 10px;
  background: #fff;
  scroll-margin-top: 20px;
}

.fac-card-body {
  flex: 1;
  min-width: 0;
}

.fac-card-title {
  padding-bottom: 22px;
  border-bottom: 1px solid #dfe2ea;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: var(--page-text);
}

.fac-card-title span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #8a91a5;
}

.fac-desc {
  margin-top: 24px;
}

.fac-desc p {
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.04em;
  color: var(--page-text);
}

.fac-desc p + p {
  margin-top: 4px;
}

/* ダッシュ付きの項目リスト */
.fac-list {
  margin-top: 22px;
  padding: 0;
  list-style: none;
}

.fac-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--page-text);
}

.fac-list li::before {
  content: "";
  position: absolute;
  top: 0.95em;
  left: 0;
  width: 8px;
  height: 1px;
  background: var(--page-text);
}

.fac-list b {
  margin-right: 12px;
  font-weight: 700;
  color: var(--page-navy);
}

/* 写真（右・角丸） */
.fac-card-media {
  position: relative;
  flex: 0 0 280px;
  min-height: 200px; /* 内容が少ないカードでも写真が小さくなりすぎないように */
  overflow: hidden;
  border-radius: 10px;
  background: #e8ebf2;
}

/* 写真は枠いっぱいに敷く（写真自体の大きさでカードの高さが決まらないよう絶対配置） */
.fac-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 写真未配置の目印（ログイン中のみ表示される） */
.fac-card-media.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border: 1px dashed #b9c0d4;
  background: #eef0f5;
  font-size: 11px;
  line-height: 1.7;
  color: #8a91a5;
  text-align: center;
  word-break: break-all;
}

/* =====================================================
  会社概要（背景色の違う4ブロック。ブロックごとに内側の幅を変える）
  丸角は先頭の白いパネルの上端だけ。以降は直線の帯
===================================================== */
.co-sheet {
  position: relative;
}

.co-sheet.page-panel {
  margin-top: -44px;
  padding: 96px 0;
  border-radius: 44px 44px 0 0;
}

.co-sheet--white {
  background: #fff;
}

/* 全幅の帯 */
.co-band {
  padding: 104px 0;
}

.co-band--navy {
  background: var(--page-navy);
}

.co-band--gray {
  background: var(--page-gray);
}

/* 帯に背景写真 + グレー系のオーバーレイ（経営方針・品質方針をまとめる） */
.co-band--photo {
  position: relative;
  overflow: hidden;
}

.co-band-bg {
  position: absolute;
  inset: 0;
  background-color: #2f343f; /* 写真が読み込めない場合の保険（グレー系） */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.co-band-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(58, 63, 74, 0.88) 0%,
    rgba(36, 40, 49, 0.93) 100%
  );
}

.co-band-inner {
  position: relative;
  z-index: 1;
}

/* 紺の帯の中で、経営方針と品質方針を区切る */
.co-sub + .co-sub {
  margin-top: 112px;
  padding-top: 112px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.co-band--last {
  padding-bottom: 180px; /* フッターの丸角が重なる分 */
}

/* 内側の幅（ブロックごとに変える） */
.co-wrap {
  width: min(100% - 40px, 1080px);
  margin: 0 auto;
}

.co-wrap--message {
  width: min(100% - 40px, 820px);
}

.co-wrap--narrow {
  width: min(100% - 40px, 760px);
}

.co-wrap--wide {
  width: min(100% - 40px, 1120px);
}

.co-wrap--mid {
  width: min(100% - 40px, 980px);
}

/* 見出し：英字を大きな細字、日本語を小さく添える */
.co-title-en {
  font-size: clamp(44px, 5.6vw, 72px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--page-navy);
}

.co-title-ja {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: #6b7390;
}

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

.co-band--navy .co-title-en {
  color: #fff;
}

.co-band--navy .co-title-ja {
  color: rgba(255, 255, 255, 0.75);
}

/* ---- 社長あいさつ ---- */
.co-message {
  margin-top: 48px;
}

.co-message p {
  font-size: 15px;
  line-height: 2.2;
  letter-spacing: 0.05em;
  color: var(--page-text);
}

.co-message p + p {
  margin-top: 1.5em;
}

.co-message .co-sign {
  margin-top: 40px;
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: 0.14em;
  color: var(--page-navy);
  text-align: right;
}

.co-sign span {
  margin-right: 18px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--page-text);
}

/* ---- 経営方針（紺・中央） ---- */
.co-statement {
  margin-top: 44px;
  font-size: clamp(18px, 2.1vw, 24px);
  font-weight: 500;
  line-height: 2.1;
  letter-spacing: 0.08em;
  color: #fff;
}

/* ---- 品質方針（カード2枚） ---- */
.co-quality {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.co-quality li {
  padding: 40px 36px 38px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
}

.co-quality-no {
  display: block;
  margin-bottom: 18px;
  font-size: 56px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #fff;
}

.co-quality p {
  font-size: 15px;
  line-height: 2.05;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92);
}

/* ---- 会社概要（表 + 地図） ---- */
.co-band--gray .co-title {
  text-align: left;
}

.co-outline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 48px;
  margin-top: 48px;
  text-align: left;
}

.co-table {
  align-self: start;
  border-top: 1px solid #d5d9e4;
}

.co-table-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 0 20px;
  padding: 20px 0;
  border-bottom: 1px solid #d5d9e4;
}

.co-table dt {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--page-navy);
}

.co-table dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--page-text);
}

.co-table dd a[href^="tel"] {
  color: inherit;
  text-decoration: none;
}

.co-map-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.co-map-embed {
  display: block;
  width: 100%;
  min-height: 340px;
  flex: 1;
  border: 0;
  border-radius: 12px;
  background: #e8ebf2;
}

.co-map {
  display: inline-flex;
  align-items: center;
  align-self: flex-end;
  gap: 8px;
  padding: 7px 18px;
  border: 1px solid var(--page-navy);
  border-radius: 999px;
  color: var(--page-navy);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.co-map:hover {
  background: var(--page-navy);
  color: #fff;
}

/* =====================================================
  お知らせ（一覧・詳細）
===================================================== */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* フッターが丸角で重なる最後のパネル */
.page-panel.page-panel--last {
  padding-bottom: 180px;
}

.news-noimg {
  display: block;
  width: 100%;
  height: 100%;
  background: #e8ebf2;
}

/* ---- 一覧 ---- */
.news-archive-head {
  margin-bottom: 56px;
}

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

.news-card {
  display: block;
  color: var(--page-text);
  text-decoration: none;
}

.news-card-thumb {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 10px;
  background: #e8ebf2;
}

.news-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card-thumb img {
  transform: scale(1.05);
}

.news-card-date {
  display: block;
  margin-top: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--page-navy);
}

.news-card-title {
  display: -webkit-box;
  margin-top: 8px;
  overflow: hidden;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: var(--page-text);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.2s ease;
}

.news-card:hover .news-card-title {
  color: var(--page-navy);
}

.news-archive-empty {
  padding: 40px 0;
  font-size: 14px;
  color: var(--page-text);
  text-align: center;
}

/* ページ送り */
.pagination {
  margin-top: 80px;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 6px;
  border: 1px solid #dfe2ea;
  border-radius: 50%;
  color: var(--page-navy);
  font-size: 13px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.pagination a.page-numbers:hover {
  border-color: var(--page-navy);
  background: var(--page-navy);
  color: #fff;
}

.pagination .page-numbers.current {
  border-color: var(--page-navy);
  background: var(--page-navy);
  color: #fff;
}

.pagination .page-numbers.dots {
  border-color: transparent;
}

/* ---- 詳細 ---- */
.post-wrap {
  width: min(100% - 40px, 820px);
  margin: 0 auto;
}

.post-head {
  padding-bottom: 28px;
  border-bottom: 1px solid #dfe2ea;
}

.post-date {
  display: block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--page-navy);
}

.post-title {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.06em;
  color: var(--page-text);
}

.post-thumb {
  margin: 40px 0 0;
  overflow: hidden;
  border-radius: 12px;
}

.post-thumb img {
  width: 100%;
  height: auto;
}

/* 本文（ブロックエディタで入力した内容） */
.entry-content {
  margin-top: 48px;
  font-size: 15px;
  line-height: 2.1;
  letter-spacing: 0.04em;
  color: var(--page-text);
}

.entry-content > * + * {
  margin-top: 1.6em;
}

.entry-content h2 {
  padding-left: 16px;
  border-left: 4px solid var(--page-navy);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: var(--page-navy);
}

.entry-content h3 {
  padding-bottom: 8px;
  border-bottom: 1px solid #dfe2ea;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--page-navy);
}

.entry-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--page-navy);
}

.entry-content a {
  color: var(--page-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content a:hover {
  text-decoration: none;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.6em;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.entry-content figure {
  margin-left: 0;
  margin-right: 0;
}

.entry-content figcaption {
  margin-top: 8px;
  font-size: 12px;
  color: #8a91a5;
  text-align: center;
}

.entry-content blockquote {
  padding: 20px 24px;
  border-left: 4px solid #dfe2ea;
  background: var(--page-gray);
  font-size: 14px;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.entry-content th,
.entry-content td {
  padding: 12px 14px;
  border: 1px solid #dfe2ea;
  text-align: left;
}

.entry-content th {
  background: var(--page-gray);
  font-weight: 700;
}

.entry-content .alignleft {
  float: left;
  margin: 0 24px 16px 0;
}

.entry-content .alignright {
  float: right;
  margin: 0 0 16px 24px;
}

.entry-content .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.post-pages {
  margin-top: 2em;
  font-size: 14px;
}

/* 前後のお知らせ + 一覧へ */
.post-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  margin-top: 88px;
  padding-top: 40px;
  border-top: 1px solid #dfe2ea;
}

.post-nav-item a {
  display: block;
  color: var(--page-text);
  text-decoration: none;
}

.post-nav-next {
  text-align: right;
}

.post-nav-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--page-navy);
}

.post-nav-label i {
  font-size: 10px;
}

.post-nav-title {
  display: -webkit-box;
  margin-top: 6px;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.7;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.post-nav-item a:hover .post-nav-title {
  color: var(--page-navy);
  text-decoration: underline;
}

/* 404 */
.not-found {
  text-align: center;
}

.not-found-text {
  font-size: 15px;
  line-height: 2.1;
  letter-spacing: 0.04em;
  color: var(--page-text);
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}

/* 固定ページ（本文のみ）は、見出しの上の余白を詰める */
.entry-content--page {
  margin-top: 0;
}

/* =====================================================
  お問い合わせ（TEL / MAILFORM の2ブロック。見出しは 上：英字 / 下：日本語）
  ※ 縦線・横線は使わない
===================================================== */
.ct-box {
  width: min(100% - 40px, 880px);
  margin: 0 auto;
}

.ct-item {
  padding: 18px 0 80px;
}

.ct-item:last-child {
  padding-bottom: 0;
}

/* フォームのセクション：背景色つきの面（入力欄は白にして見やすくする） */
.ct-item.ct-item--form {
  padding: 56px 48px 52px;
  border-radius: 10px;
  background: #f4f5f8;
}

/* 見出し（上：英字 / 下：日本語。左揃え） */
.ct-title {
  text-align: left;
}

.ct-title-en {
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--page-navy);
}

.ct-title-jp {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.1em;
  color: var(--page-navy);
}

/* 本文エリア（見出しの下・左揃え） */
.ct-right {
  max-width: 800px;
}

.ct-text {
  margin-top: 28px;
  font-size: 15px;
  line-height: 2.4;
  letter-spacing: 0.1em;
  color: #404040;
}

/* 電話番号の枠 */
.ct-tel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 24px;
  min-height: 130px;
  margin-top: 23px;
  padding: 20px;
  background: #f0f4fb;
}

.ct-tel-num {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--page-navy);
  font-size: 36px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-decoration: none;
}

.ct-tel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  font-size: 17px;
}

.ct-tel-icon i {
  transform: scaleX(-1);
}

.ct-tel-time {
  color: var(--page-navy);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

/* ステップ */
.ct-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 36px 0 0;
  padding: 20px 24px;
  border-radius: 6px;
  background: #fff;
  list-style: none;
}

.ct-step {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #aab0c0;
}

.ct-step + .ct-step::before {
  content: "";
  width: 56px;
  height: 1px;
  margin: 0 18px;
  background: #dfe2ea;
}

.ct-step.is-done + .ct-step::before,
.ct-step.is-current::before {
  background: var(--page-navy);
}

.ct-step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.ct-step-label {
  font-size: 13px;
  letter-spacing: 0.08em;
}

.ct-step.is-done,
.ct-step.is-current {
  color: var(--page-navy);
}

/* 通知 */
.ct-notice {
  margin-top: 32px;
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.8;
}

.ct-notice--error {
  border: 1px solid #e5b3ad;
  background: #fff5f4;
  color: #a63a2f;
}

/* フォーム */
.ct-form {
  margin-top: 40px;
}

.ct-field {
  margin-bottom: 30px;
}

.ct-label {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  color: #404040;
}

.ct-req {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 21px;
  margin: 0 12px 0 0;
  padding: 0 8px;
  border-radius: 2px;
  background: #ed6c01;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.ct-field input[type="text"],
.ct-field input[type="tel"],
.ct-field input[type="email"],
.ct-field textarea {
  display: block;
  width: 100%;
  padding: 18px 20px;
  border: 1px solid #dfe3ec;
  border-radius: 0;
  background: #fff;
  color: #404040;
  font-size: 16px; /* iOSで拡大されない大きさ */
  letter-spacing: 0.08em;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.ct-field input[type="text"],
.ct-field input[type="tel"],
.ct-field input[type="email"] {
  height: 56px;
  line-height: 1.2;
}

.ct-field textarea {
  min-height: 200px;
  line-height: 1.7;
  resize: vertical;
}

.ct-field input:focus,
.ct-field textarea:focus {
  border-color: var(--page-navy);
  background: #fff;
  outline: none;
}

.ct-field.has-error input,
.ct-field.has-error textarea {
  border-color: #c0392b;
  background: #fffafa;
}

.ct-error {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: #c0392b;
}

/* 同意チェック */
.ct-field--agree {
  margin-top: 44px;
}

.ct-check {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.ct-check > span {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
}

.ct-check small.ct-req {
  margin: 0 0 0 12px;
}

.ct-check input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  accent-color: var(--page-navy);
}

.ct-check a {
  color: var(--page-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ハニーポット（人には見えない） */
.ct-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ボタン（文字は左、矢印は右） */
.ct-actions {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.ct-actions--left {
  justify-content: flex-start;
  margin-top: 0;
}

.ct-actions--confirm {
  flex-wrap: wrap;
  gap: 16px;
}

.ct-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-width: 240px;
  height: 54px;
  padding: 0 22px;
  border: 1px solid var(--page-navy);
  border-radius: 2px;
  background: var(--page-navy);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

.ct-btn:hover {
  background: #fff;
  color: var(--page-navy);
}

.ct-btn--sub {
  background: #fff;
  color: var(--page-navy);
}

.ct-btn--sub:hover {
  background: var(--page-navy);
  color: #fff;
}

.ct-btn i {
  font-size: 12px;
}

.is-sending .ct-btn {
  opacity: 0.5;
  pointer-events: none;
}

/* 確認画面（入力欄と同じ薄いグレーの面） */
.ct-text--confirm {
  margin-bottom: 8px;
}

.ct-confirm {
  margin: 32px 0 0;
}

.ct-confirm-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 0 24px;
  margin-bottom: 10px;
  padding: 20px 24px;
  background: #fff;
}

.ct-confirm dt {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.9;
  color: var(--page-navy);
}

.ct-confirm dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.06em;
  color: #404040;
  overflow-wrap: anywhere;
}

/* 完了画面 */
.ct-complete {
  margin-top: 8px;
}

.ct-complete-title {
  margin-top: 40px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--page-navy);
}

.ct-complete-sub {
  margin: 24px 0 40px;
  font-size: 13px;
  line-height: 2.1;
  letter-spacing: 0.06em;
  color: #6b7390;
}

.ct-complete-sub a {
  color: inherit;
  text-decoration: none;
}

.ct-recaptcha-note {
  margin-top: 40px;
  font-size: 11px;
  line-height: 1.9;
  color: #8a91a5;
}

.ct-recaptcha-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* =====================================================
  個人情報保護方針
===================================================== */
.pp-wrap {
  width: min(100% - 40px, 820px);
  margin: 0 auto;
}

.pp-lead {
  font-size: 15px;
  line-height: 2.2;
  letter-spacing: 0.05em;
  color: #404040;
}

.pp-lead + .pp-section {
  margin-top: 72px;
}

.pp-section + .pp-section {
  margin-top: 64px;
}

.pp-heading {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #dfe2ea;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: var(--page-navy);
}

.pp-no {
  flex-shrink: 0;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.02em;
}

.pp-body {
  margin-top: 28px;
}

.pp-body p {
  font-size: 15px;
  line-height: 2.1;
  letter-spacing: 0.05em;
  color: #404040;
}

.pp-body p + p,
.pp-body p + .pp-list,
.pp-body .pp-list + p {
  margin-top: 16px;
}

.pp-body a {
  color: var(--page-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pp-body a:hover {
  text-decoration: none;
}

/* ダッシュ付きのリスト */
.pp-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pp-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.05em;
  color: #404040;
}

.pp-list li + li {
  margin-top: 6px;
}

.pp-list li::before {
  content: "";
  position: absolute;
  top: 1.05em;
  left: 0;
  width: 10px;
  height: 1px;
  background: #404040;
}

.pp-list b {
  font-weight: 700;
  color: var(--page-navy);
}

/* 窓口の情報 */
.pp-contact {
  margin: 20px 0 0;
  padding: 12px 32px;
  border-radius: 10px;
  background: #f4f5f8;
}

.pp-contact-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 0 20px;
  padding: 16px 0;
}

.pp-contact-row + .pp-contact-row {
  border-top: 1px solid #e1e4ec;
}

.pp-contact dt {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 2;
  color: var(--page-navy);
}

.pp-contact dd {
  margin: 0;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.05em;
  color: #404040;
}

.pp-contact dd a[href^="tel"] {
  color: inherit;
  text-decoration: none;
}

.pp-note {
  font-size: 13px;
  color: #6b7390;
}

.pp-date {
  margin-top: 72px;
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.06em;
  color: #404040;
  text-align: right;
}

/* フッターを丸角で重ねる */
.page-main + .site-footer {
  margin-top: -44px;
  position: relative;
  z-index: 3;
}

/* =====================================================
  SP（〜999px）
===================================================== */
@media (max-width: 999px) {
  .page-mv-content {
    padding: 0 20px 116px;
  }

  .breadcrumb {
    left: 20px;
    bottom: 72px;
  }

  .page-panel {
    margin-top: -32px;
    padding: 64px 0;
    border-radius: 32px;
  }

  .page-lead {
    margin-bottom: 40px;
    font-size: 14px;
    line-height: 2;
    text-align: left;
  }

  .anchor-cards {
    gap: 12px;
  }

  .anchor-card {
    padding: 24px 10px 18px;
  }

  .anchor-card-icon {
    font-size: 30px;
  }

  .anchor-card-label {
    font-size: 13px;
  }

  .page-blocks {
    margin-top: -32px;
    padding: 32px 0 110px;
  }

  .page-block {
    padding-top: 64px;
  }

  .block-head {
    gap: 12px;
  }

  .block-icon {
    font-size: 26px;
  }

  .block-card {
    padding: 28px 18px 20px;
  }

  .block-card-head {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }


  /* 行：写真が上、文字が下 */
  .tech-row {
    padding: 20px 18px;
  }

  .tech-row.has-img {
    grid-template-columns: 1fr;
    gap: 16px 0;
    padding: 12px 12px 20px;
  }

  .tech-row-media {
    aspect-ratio: 16 / 10;
  }

  .tech-row-body {
    padding: 0 6px;
  }

  .tech-row-head {
    grid-template-columns: 64px 16px minmax(0, 1fr);
    gap: 0 10px;
  }

  .tech-row-no {
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 20px;
  }

  .tech-row-main strong {
    font-size: 16px;
  }

  .tech-row-material {
    margin-top: 14px;
    padding-top: 12px;
  }

  /* 設備：アンカーは縦積み */
  .fac-anchors {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .fac-anchor-group {
    padding: 22px 20px 8px;
  }

  .fac-cards {
    gap: 16px;
  }

  .fac-card {
    flex-direction: column;
    gap: 22px;
    padding: 22px 20px 26px;
  }

  .fac-card-media {
    order: -1;
    flex: none;
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .fac-card-body {
    width: 100%;
    padding: 0 4px;
  }

  .fac-card-title {
    padding-bottom: 16px;
    font-size: 19px;
  }

  .fac-desc {
    margin-top: 18px;
  }

  .fac-desc p {
    font-size: 13px;
  }

  .fac-list b {
    display: block;
    margin: 0 0 0;
  }

  .fac-list li {
    margin-top: 8px;
    line-height: 1.7;
  }

  .fac-list li::before {
    top: 0.85em;
  }


  /* 会社概要 */
  .co-sheet.page-panel {
    margin-top: -32px;
    padding: 64px 0;
    border-radius: 32px 32px 0 0;
  }

  .co-band {
    padding: 72px 0;
  }

  .co-band--last {
    padding-bottom: 130px;
  }

  .co-title-en {
    font-size: 44px;
  }

  .co-title-ja {
    margin-top: 10px;
    font-size: 13px;
  }

  .co-message {
    margin-top: 32px;
  }

  .co-message p {
    font-size: 14px;
    line-height: 2.05;
  }

  .co-message .co-sign {
    margin-top: 28px;
    font-size: 18px;
  }

  .co-statement {
    margin-top: 30px;
    line-height: 2;
  }

  .co-sub + .co-sub {
    margin-top: 72px;
    padding-top: 72px;
  }

  .co-quality {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 32px;
  }

  .co-quality li {
    padding: 28px 22px;
  }

  .co-quality-no {
    margin-bottom: 12px;
    font-size: 44px;
  }

  .co-quality p {
    font-size: 14px;
  }

  .co-outline {
    grid-template-columns: 1fr;
    gap: 28px 0;
    margin-top: 32px;
  }

  .co-table-row {
    grid-template-columns: 1fr;
    gap: 2px 0;
    padding: 16px 0;
  }

  .co-map-embed {
    min-height: 260px;
  }
  /* お知らせ */
  .page-panel.page-panel--last {
    padding-bottom: 130px;
  }

  .news-archive-head {
    margin-bottom: 36px;
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 16px;
  }

  .news-card-date {
    margin-top: 14px;
  }

  .news-card-title {
    font-size: 13px;
    line-height: 1.7;
  }

  .pagination {
    margin-top: 56px;
  }

  .post-title {
    line-height: 1.6;
  }

  .post-thumb {
    margin-top: 28px;
  }

  .entry-content {
    margin-top: 32px;
    font-size: 14px;
    line-height: 2;
  }

  .entry-content h2 {
    font-size: 19px;
  }

  .entry-content h3 {
    font-size: 16px;
  }

  .entry-content .alignleft,
  .entry-content .alignright {
    float: none;
    margin: 0 0 16px;
  }

  .post-nav {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
    margin-top: 56px;
  }

  .post-nav-list {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: center;
  }

  .post-nav-prev {
    grid-row: 2;
  }

  .post-nav-next {
    grid-row: 2;
  }

  /* お問い合わせ */
  .ct-item {
    padding: 8px 0 56px;
  }

  .ct-title-en {
    margin-bottom: 6px;
    font-size: 13px;
  }

  .ct-title-jp {
    font-size: 23px;
    line-height: 1.6;
  }

  .ct-text {
    margin-top: 20px;
    font-size: 14px;
    line-height: 2.1;
    letter-spacing: 0.06em;
  }

  .ct-tel {
    flex-direction: column;
    min-height: 0;
    padding: 24px 16px;
  }

  .ct-tel-num {
    font-size: 28px;
    gap: 10px;
  }

  .ct-tel-icon {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .ct-item.ct-item--form {
    padding: 36px 18px 32px;
    border-radius: 8px;
  }

  .ct-steps {
    margin-top: 28px;
    padding: 14px 10px;
  }

  .ct-step {
    gap: 6px;
  }

  .ct-step + .ct-step::before {
    width: 18px;
    margin: 0 8px;
  }

  .ct-step-no {
    width: 30px;
    height: 30px;
  }

  .ct-step-label {
    font-size: 11px;
    letter-spacing: 0.04em;
  }

  .ct-form {
    margin-top: 32px;
  }

  .ct-field {
    margin-bottom: 24px;
  }

  .ct-actions {
    margin-top: 36px;
  }

  .ct-btn {
    width: 100%;
    min-width: 0;
  }

  .ct-actions--confirm {
    flex-direction: column-reverse;
  }

  .ct-confirm-row {
    grid-template-columns: 1fr;
    gap: 4px 0;
    padding: 16px 18px;
  }

  .ct-complete-title {
    margin-top: 28px;
    font-size: 19px;
  }
  /* 個人情報保護方針 */
  .pp-lead,
  .pp-body p,
  .pp-list li {
    font-size: 14px;
    line-height: 2;
  }

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

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

  .pp-heading {
    gap: 12px;
    font-size: 17px;
  }

  .pp-no {
    font-size: 24px;
  }

  .pp-body {
    margin-top: 20px;
  }

  .pp-contact {
    padding: 8px 18px;
  }

  .pp-contact-row {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 14px 0;
  }

  .pp-contact dt {
    line-height: 1.8;
  }

  .pp-date {
    margin-top: 48px;
  }

  .page-main + .site-footer {
    margin-top: -32px;
  }
}

@media (max-width: 480px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* 幅が狭いとき：番号の下に文字を置いて、3つすべての文字を表示する */
@media (max-width: 560px) {
  .ct-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    padding: 16px 6px 14px;
  }

  .ct-step {
    position: relative;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* 前のステップの中心から、このステップの中心までつなぐ線 */
  .ct-step + .ct-step::before {
    position: absolute;
    top: 15px;
    right: 50%;
    width: 100%;
    margin: 0;
  }

  .ct-step-no {
    position: relative;
    z-index: 1;
    background: #fff;
  }

  .ct-step-label {
    font-size: 11px;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }
}
