@charset "utf-8";
/**
 *
 * CSS information
 * file name : page.css
 *
 */
:root {
  /* --- Color --- */
  --color-black: #262626;
  --color-white: #ffffff;
  --color-red: #cf121b;
  --color-main-blue: #0071be;
  --color-sub-blue: #2d8ac9;
  --color-bg-blue: #eff9ff;
  --color-border-blue: #dde5f4;
  --color-border-gray: #d4d4d4;

  /* --- Typography --- */
  --font-base: 'Noto Sans JP', sans-serif;
  --font-size-base: 1.6rem;
  --line-height-base: 1.8;
  --letter-spacing-base: 0.05em;

  /* --- Layout / Container --- */
  --inner-max: 120rem;

  /* --- Radius --- */
  --radius-01: 50%;
  --radius-02: 100vh;
  --radius-03: 5rem;
  --radius-04: 1.5rem;
  --radius-05: 1rem;
  --radius-06: 0.4rem;
}

@media (max-width: 1024px) {
  :root {
    --radius-03: 3rem;
  }
}

/* ========================================================================
   lineup — 貸切バスのご案内
   ======================================================================== */

/* ==========================================
   パージ内リンクのナビゲーション
   ========================================== */
.bus_nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(0.8rem, 1vw, 1.6rem);
  padding-top: clamp(10rem, 8vw, 14rem);
}

.bus_nav_link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.6rem, 2vw, 2rem);
  width: clamp(16rem, 20vw, 23rem);
  padding: clamp(1.2rem, 1.5vw, 1.7rem) clamp(1.5rem, 1.6vw, 1.9rem);
  border: 1px solid var(--color-border-blue);
  border-radius: 0.4rem;
  text-decoration: none;
  line-height: 1.4;
}

/* テキスト */
.bus_nav_link .text {
  position: relative;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-main-blue);
  display: inline-block;
}

/* 下線（非ホバー時は右に寄せて非表示） */
.bus_nav_link .text::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-main-blue);
  transform: scaleX(0);
  transform-origin: right; /* ←右から縮む／右から左へ動かす */
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ホバーで右→左へライン出現 */
.bus_nav_link:hover .text::after {
  transform: scaleX(1);
  transform-origin: left; /* ←左に向かって伸びる */
}

/* アイコン（右寄せ・丸背景） */
.bus_nav_link .icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: var(--radius-01);
  background-color: var(--color-main-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* 三角アイコン */
.bus_nav_link .icon svg {
  width: 1.2rem;
  height: 1.8rem;
  fill: var(--color-white);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* ホバーアニメーション */
.bus_nav_link:hover .icon svg {
  transform: translateY(100%);
  opacity: 0;
  animation: iconReturn 0.4s ease 0.1s forwards;
}

/* 下に消えて上から戻る */
@keyframes iconReturn {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ==========================================
   バスの説明
   ========================================== */
.bus_info {
  display: flex;
  justify-content: space-between;
  gap: clamp(2.4rem, 5%, 5%);
}

/* --- 左側のテキスト群 --- */
.bus_info_left {
  width: 40%;
}

.bus_info_left dl {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-border-blue);
}

.bus_info_left dl:nth-of-type(1) {
  padding-top: 0;
}

.bus_info_left .title {
  display: inline-block;
  width: 8rem;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--color-white);
  padding-bottom: 0.1rem;
  background-color: var(--color-main-blue);
  border-radius: 0.4rem;
}

/* ダウンロードリンク */

.bus_info_left .dl_link {
  position: relative;
  font-weight: 500;
  color: var(--color-main-blue);
  transition: opacity 0.3s ease;
}

.bus_info_left .dl_link:hover {
  font-weight: 600;
}
/* ファイルリンク */
.bus_info_left .dl_link[href$='.pdf'],
.bus_info_left .dl_link[href$='.PDF'],
.bus_info_left .dl_link[href$='.doc'],
.bus_info_left .dl_link[href$='.DOC'],
.bus_info_left .dl_link[href$='.docx'],
.bus_info_left .dl_link[href$='.DOCX'],
.bus_info_left .dl_link[href$='.xls'],
.bus_info_left .dl_link[href$='.XLS'],
.bus_info_left .dl_link[href$='.xlsx'],
.bus_info_left .dl_link[href$='.XLSX'] {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  color: var(--color-main-blue);
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

/* ホバー時 */
.bus_info_left .dl_link[href$='.pdf']:hover,
.bus_info_left .dl_link[href$='.PDF']:hover,
.bus_info_left .dl_link[href$='.doc']:hover,
.bus_info_left .dl_link[href$='.DOC']:hover,
.bus_info_left .dl_link[href$='.docx']:hover,
.bus_info_left .dl_link[href$='.DOCX']:hover,
.bus_info_left .dl_link[href$='.xls']:hover,
.bus_info_left .dl_link[href$='.XLS']:hover,
.bus_info_left .dl_link[href$='.xlsx']:hover,
.bus_info_left .dl_link[href$='.XLSX']:hover {
  opacity: 0.75;
}

/* アイコン共通 */
.bus_info_left .dl_link[href$='.pdf']::after,
.bus_info_left .dl_link[href$='.PDF']::after,
.bus_info_left .dl_link[href$='.doc']::after,
.bus_info_left .dl_link[href$='.DOC']::after,
.bus_info_left .dl_link[href$='.docx']::after,
.bus_info_left .dl_link[href$='.DOCX']::after,
.bus_info_left .dl_link[href$='.xls']::after,
.bus_info_left .dl_link[href$='.XLS']::after,
.bus_info_left .dl_link[href$='.xlsx']::after,
.bus_info_left .dl_link[href$='.XLSX']::after {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.2rem;
  height: 2.2rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  border-radius: var(--radius-06);
}

/* PDF */
.bus_info_left .dl_link[href$='.pdf']::after,
.bus_info_left .dl_link[href$='.PDF']::after {
  content: 'PDF';
  background-color: #e53935;
}

/* Word */
.bus_info_left .dl_link[href$='.doc']::after,
.bus_info_left .dl_link[href$='.DOC']::after,
.bus_info_left .dl_link[href$='.docx']::after,
.bus_info_left .dl_link[href$='.DOCX']::after {
  content: 'Word';
  background-color: #2b579a;
}

/* Excel */
.bus_info_left .dl_link[href$='.xls']::after,
.bus_info_left .dl_link[href$='.XLS']::after,
.bus_info_left .dl_link[href$='.xlsx']::after,
.bus_info_left .dl_link[href$='.XLSX']::after {
  content: 'Excel';
  background-color: #32975d;
}

/* --- 左側の画像群 --- */
.bus_info_right {
  width: 55%;
}

/* メイン画像Swiper */
.js-bus-swiper .main-swiper {
  width: 100%;
  border-radius: var(--radius-04);
  overflow: hidden;
}

.js-bus-swiper .main-swiper img {
  width: 100%;
  height: auto;
  display: block;
}

/* サムネイルSwiper */
.js-bus-swiper .thumb-swiper {
  margin-top: 1rem;
}

.js-bus-swiper .thumb-swiper .swiper-slide {
  width: 20%; /* 最大5枚表示 */
  opacity: 0.6;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.js-bus-swiper .thumb-swiper .swiper-slide:hover,
.js-bus-swiper .thumb-swiper .swiper-slide-thumb-active {
  opacity: 1;
}

.js-bus-swiper .thumb-swiper img {
  width: 100%;
  border-radius: 0.6rem;
  display: block;
}

/* --- リンクボタン --- */
.is_btn {
  display: flex;
  align-items: center;
  padding-top: clamp(4rem, 6vw, 7rem);
}

.is_btn._left {
  justify-content: flex-start;
}

.is_btn._center {
  justify-content: center;
}

.is_btn._right {
  justify-content: flex-end;
}

.is_btn .link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.6rem, 2vw, 3rem);
  padding: clamp(1.4rem, 2vw, 2rem) clamp(2rem, 3vw, 3rem);
  background-color: var(--color-main-blue);
  border-radius: var(--radius-02);
  text-decoration: none;
  line-height: 1.4;
}

/* テキスト */
.is_btn .link .text {
  position: relative;
  font-weight: 600;
  color: var(--color-white);
  display: inline-block;
}

/* 下線（非ホバー時は右に寄せて非表示） */
.is_btn .link .text::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-white);
  transform: scaleX(0);
  transform-origin: right; /* ←右から縮む／右から左へ動かす */
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ホバーで右→左へライン出現 */
.is_btn .link:hover .text::after {
  transform: scaleX(1);
  transform-origin: left; /* ←左に向かって伸びる */
}

/* アイコン（右寄せ・丸背景） */
.is_btn .link .icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: var(--radius-01);
  background-color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* 三角アイコン */
.is_btn .link .icon svg {
  width: 1.8rem;
  height: 1.5rem;
  fill: var(--color-main-blue);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* ホバーアニメーション */
.is_btn .link:hover .icon svg {
  transform: translateX(100%);
  opacity: 0;
  animation: iconReturnRight 0.4s ease 0.1s forwards;
}

/* 右に消えて左から戻る */
@keyframes iconReturnRight {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ==========================================
   公示運賃・料金
   ========================================== */

/* -------------------------------------
   タブレット対応（1024px以下）
------------------------------------- */
@media (max-width: 1024px) {
  .bus_info_right {
    padding-top: 4rem;
  }
}

/* -------------------------------------
   スマホ対応（767px以下）
------------------------------------- */
@media (max-width: 767px) {
  .bus_info {
    flex-direction: column;
    gap: 4rem;
  }

  .bus_info_left,
  .bus_info_right {
    width: 100%;
  }

  .bus_info_right {
    order: 1;
    padding-top: 0;
  }

  .bus_info_left {
    order: 2;
  }

  .bus_info_left dl:nth-of-type(1) {
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border-blue);
  }

  .bus_nav {
    flex-direction: column;
    align-items: stretch;
    gap: 1.2rem;
    padding-top: 6rem;
  }

  .bus_nav_link {
    width: 100%;
  }

  .is_btn {
    padding-top: 5rem;
  }

  .is_btn .link {
    line-height: 1;
    display: inline-flex;
    align-items: center;
  }
}

/* ========================================================================
   safety — 安全への取り組み
   ======================================================================== */

/* ==========================================
   1．イントロ：CSSループと説明文章
   ========================================== */
.safety-intro__wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

/* --- 左：CSSループ --- */
.safety-intro__left {
  position: relative;
  overflow: hidden;
}

@media (min-width: 1280px) {
  .safety-intro__left {
    border-radius: 0 var(--radius-05) var(--radius-05) 0;
  }
}

.safety-loop {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  width: 50vw;
  height: 100%;
  overflow: hidden;
}

.safety-loop__list {
  display: flex;
  flex-shrink: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}

.safety-loop__list li {
  width: auto;
  height: 40rem;
  flex-shrink: 0;
  margin: 0 0.6rem;
}

.safety-loop__list li img {
  width: 100%;
  height: auto;
  display: block;
}

/* ul1（先行レーン） */
.safety-loop__list:first-child {
  animation: safeLoop1 100s linear infinite;
}

/* ul2（遅れてスタート） */
.safety-loop__list:last-child {
  animation: safeLoop2 100s -50s linear infinite;
}

/* ul1 */
@keyframes safeLoop1 {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* ul2 */
@keyframes safeLoop2 {
  0% {
    transform: translateX(-200%);
  }
  100% {
    transform: translateX(0);
  }
}

/* --- 右：文章エリア --- */
.safety-intro__right {
  display: flex;
  align-items: center;
}

.safety-intro__inner {
  max-width: 62rem;
  margin-left: 12rem;
  margin-right: 6rem;
}

/* 文字スタイル */
.safety-intro__title {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 2.5rem;
}

.safety-intro__text {
  line-height: 2.2;
}

.safety-intro__text:not(:first-child) {
  margin-top: 1.5rem;
}

/* ------------------------------------------
   PC調整（1400px以下）
------------------------------------------ */
@media (max-width: 1400px) {
  .safety-intro__inner {
    margin-left: 8.5rem;
    margin-right: 7.5rem;
  }
}

/* ------------------------------------------
   タブレット対応（1023px以下）
------------------------------------------ */
@media (max-width: 1023px) {
  .safety-intro__wrap {
    grid-template-columns: 1fr;
  }

  .safety-intro__left {
    padding: 0 2rem;
  }

  /* 左スライダーを通常のブロック要素に戻す（絶対配置を解除） */
  .safety-loop {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 5rem;
    border-radius: var(--radius-05);
  }

  /* li → SPは横幅を広げた方が見映えが良い */
  .safety-loop__list li {
    width: 85vw; /* SP最適幅 */
    height: 32rem; /* SP向けに少し低めに */
  }

  /* 画像はSPでは高さ固定に合わせてcover */
  .safety-loop__list li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* アニメもPCと同様に進行（SP速度は少し速め） */
  .safety-loop__list:first-child {
    animation: safeLoop1 80s linear infinite;
  }

  .safety-loop__list:last-child {
    animation: safeLoop2 80s -40s linear infinite;
  }

  /* 右文章のマージンを調整 */
  .safety-intro__inner {
    max-width: 100%;
    width: min(90%, var(--inner-max));
    margin: auto;
  }

  .safety-intro__title {
    font-size: 3.6rem;
    font-weight: 700;
    line-height: 1.7;
    margin-bottom: 2.8rem;
  }

  .safety-intro__text {
    font-size: 1.7rem;
    font-weight: 500;
    line-height: 1.9;
  }
}

/* ------------------------------------------
   スマホ対応（767px以下）
------------------------------------------ */
@media (max-width: 767px) {
  .safety-intro__left {
    padding: 0 1rem;
  }

  .safety-loop {
    margin-bottom: 4rem;
  }

  .safety-loop__list li {
    height: 22rem;
  }

  .safety-intro__title {
    font-size: 2.8rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
  }
}

/* ==========================================
   2．取り組み内容
   ========================================== */
.safety-contents__wrap {
  display: grid;
  gap: clamp(3rem, 6vw, 5rem);
}

/* --- ブロック全体：2カラム --- */
.safety-item {
  display: flex;
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--color-border-blue);
}

.safety-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

/* 左：画像エリア */
.safety-item__img {
  flex: 0 0 30%;
}

.safety-item__img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-05);
}

/* 右：文字エリア内のタイトルブロック */
.safety-item__head {
  position: relative;
  padding-left: clamp(3rem, 6vw, 5.8rem);
  margin-bottom: clamp(1.2rem, 2vw, 2rem);
  display: flex;
  align-items: center;
}

/* ナンバー（青丸・白文字） */
.safety-item__number {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4.2rem;
  height: 4.2rem;
  background-color: var(--color-sub-blue);
  color: var(--color-white);
  font-size: 1.6rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 見出し */
.safety-item__title {
  font-size: 2.4rem;
  font-weight: 600;
  margin: 0;
}

/* 説明文 */
.safety-item__text {
  font-size: 1.6rem;
  line-height: 2;
  margin-left: 0;
}

/* 説明文：外部リンク */
.safety-item__text a {
  display: inline-block;
  margin: 0 0.5rem;
  color: var(--color-main-blue);
  font-weight: 500;
  text-decoration: underline;
}

.safety-item__text a:hover {
  text-decoration: none;
}

/* ------------------------------------------
   タブレット対応（1024px以下）
------------------------------------------ */
@media (max-width: 1024px) {
  .safety-contents__wrap {
    gap: 3rem;
  }

  .safety-item {
    align-items: flex-start;
    gap: 4rem;
    padding-bottom: 3rem;
  }

  .safety-item__img {
    flex: 0 0 40%;
  }

  /* 見出し */
  .safety-item__title {
    font-size: 2rem;
    line-height: 1.5;
  }

  /* 説明文 */
  .safety-item__text {
    line-height: 1.9;
  }
}

/* ------------------------------------------
   スマホ対応（767px以下）
------------------------------------------ */
@media (max-width: 767px) {
  .safety-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 2.5rem;
    padding-bottom: 2rem;
  }

  .safety-item__img {
    flex: none;
    width: 100%;
  }

  .safety-item__head {
    padding-left: 4.5rem;
    margin-bottom: 1.5rem;
  }

  .safety-item__number {
    width: 3.6rem;
    height: 3.6rem;
    font-size: 1.4rem;
  }

  .safety-item__text {
    line-height: 1.8;
  }
}

/* ==========================================
   3．取り組み内容 / 4．重点施策
   ========================================== */

/* インナータイトルのバリアント化 */
.inner_title._mt0,
.inner_title._mt0 ._jp {
  margin-top: 0;
}

/* --- 囲み要素 --- */
.safety-policy__wrap {
  padding: clamp(3.5rem, 5vw, 5rem);
  display: grid;
  gap: clamp(1.2rem, 2vw, 2rem);
  background-color: var(--color-bg-blue);
  border-radius: var(--radius-05);
  margin-top: clamp(2rem, 4vw, 5rem);
}

.safety-policy__item {
  display: flex;
  align-items: flex-start;
  gap: clamp(1rem, 1.6vw, 1.6rem);
}

/* 番号 */
.safety-policy__number {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background-color: var(--color-sub-blue);
  color: var(--color-white);
  font-weight: 500;
  font-size: 1.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-top: 0.2rem;
  font-family: 'Roboto', sans-serif;
}

/* アンダーライン */
.safety-policy__body {
  flex: 1;
  padding-bottom: clamp(1rem, 2vw, 2rem);
  border-bottom: 1px dashed var(--color-border-blue);
}

.safety-policy__item:last-child .safety-policy__body {
  border-bottom: none;
  padding-bottom: 0;
}

/* 文章 */
.safety-policy__text {
  font-size: 1.6rem;
  line-height: 1.9;
}

.safety-policy__text a {
  display: inline-block;
  margin-right: 0.5rem;
  color: var(--color-main-blue);
  font-weight: 500;
  text-decoration: underline;
}

.safety-policy__text a:hover {
  text-decoration: none;
}

/* ------------------------------------------
   スマホ対応（767px以下）
------------------------------------------ */
@media (max-width: 767px) {
  .safety-policy__wrap {
    padding: 3rem 2rem;
  }

  .safety-policy__number {
    font-size: 1.3rem;
  }

  .safety-policy__text {
    line-height: 1.8;
  }
}

/* ==========================================
   5．輸送の安全に関する公表
   ========================================== */
.safety-info {
  padding: clamp(4rem, 6vw, 9rem) clamp(2rem, 6vw, 7.4rem);
  background-color: var(--color-white);
  border-radius: var(--radius-05);
}

.safety-info__wrap {
  display: grid;
  grid-template-columns: clamp(5rem, 7vw, 9rem) 1fr;
  gap: clamp(4rem, 8vw, 10rem);
}

/* --- 左側：見出し --- */
.safety-info__left {
  writing-mode: vertical-rl;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1rem, 2vw, 1.5rem);
}

/* 日本語 */
.safety-info__jp {
  font-size: clamp(2.2rem, 1.4vw + 1rem, 3rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.75;
}

.safety-info__jp::first-letter {
  color: var(--color-main-blue);
}

/* 英語 */
.safety-info__en {
  position: relative;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--color-main-blue);
  padding-top: clamp(0.8rem, 1.5vw, 1.5rem);
  line-height: 1.35;
}

.safety-info__en::before {
  content: '';
  position: absolute;
  top: 0.3rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0.5rem;
  height: 0.5rem;
  background-color: var(--color-red);
  border-radius: var(--radius-01);
}

/* --- 右側：リンク一覧 --- */
.safety-info__right {
  display: grid;
  gap: clamp(1.6rem, 2vw, 2.5rem);
}

/* リンクアイテム */
.safety-info__item {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 3vw, 3rem);
  padding-bottom: clamp(1.4rem, 2vw, 2.5rem);
  border-bottom: 1px solid var(--color-border-blue);
  transition: border-color 0.4s, opacity 0.4s;
}

/* PDFアイコン */
.safety-info__icon {
  display: inline-block;
  background-color: var(--color-sub-blue);
  color: var(--color-white);
  font-size: 1.2rem;
  font-weight: 500;
  border-radius: var(--radius-06);
  padding: 0.3rem 1.5rem 0.4rem;
  flex-shrink: 0;
}

/* ファイル名 */
.safety-info__text {
  font-weight: 500;
  color: var(--color-main-blue);
}

/* ホバー効果 */
.safety-info__item:hover {
  border-color: var(--color-main-blue);
}

.safety-info__item:hover .safety-info__text {
  opacity: 0.7;
}

/* ------------------------------------------
   スマホ対応（767px以下）
------------------------------------------ */
@media (max-width: 767px) {
  .safety-info__wrap {
    grid-template-columns: 1fr;
    gap: clamp(3rem, 4vw, 4rem);
  }

  /* 見出しは横書き */
  .safety-info__left {
    writing-mode: horizontal-tb;
    gap: 0.5rem;
  }

  /* 英語 */
  .safety-info__en {
    padding-top: 0;
    padding-left: 1.1rem;
  }

  .safety-info__en::before {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }

  /* PDFアイコン */
  .safety-info__icon {
    font-size: 1rem;
    padding: 0.3rem 1rem 0.4rem;
  }

  /* ファイル名 */
  .safety-info__text {
    font-feature-settings: 'palt';
  }
}

/* ========================================================================
   company — 企業情報
   ======================================================================== */

/* ==========================================
   経営理念, 基本方針
   ========================================== */
.company_intro {
  padding-inline: clamp(2rem, 5vw, 8rem); /* 375→2rem / 1366→8rem */
  border-left: 1px solid var(--color-border-blue);
}

.company_intro:not(:first-child) {
  margin-top: clamp(2.8rem, 4vw, 5rem);
}

.company_intro .main {
  font-size: clamp(2.4rem, 1.4vw + 1rem, 2.8rem);
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.04em;
  padding-block: clamp(1.4rem, 3vw, 2rem);
}

.company_intro .sub {
  display: flex;
  align-items: center;
  font-size: clamp(1.8rem, 1vw + 0.6rem, 2.2rem);
  line-height: 1.6;
  letter-spacing: 0.03em;
  padding-block: clamp(0.6rem, 1.2vw, 1rem);
}

.company_intro .sub::before {
  content: '';
  width: 0.7rem;
  height: 0.7rem;
  background-color: var(--color-main-blue);
  border-radius: var(--radius-01);
  margin-right: clamp(0.8rem, 1vw, 1.4rem);
}

/* -------------------------------------
   タブレット対応（1024px以下）
------------------------------------- */
@media (max-width: 1024px) {
  .company_intro {
    padding-inline: 3.5rem 0;
    border-right: none;
  }

  .company_intro .main {
    padding-block: 0;
    font-feature-settings: 'palt';
  }

  .company_intro .sub {
    padding-block: 0.4rem;
  }
}

/* -------------------------------------
   スマホ対応（767px以下）
------------------------------------- */
@media (max-width: 767px) {
  .company_intro {
    padding-inline: 0;
  }

  .company_intro .main {
    font-size: 1.8rem;
    font-weight: 500;
  }

  .company_intro .sub {
    font-size: 1.6rem;
    line-height: 1.5;
    padding-block: 0.5rem;
    font-feature-settings: 'palt';
    position: relative;
    padding-left: 1.5rem;
  }

  .company_intro .sub::before {
    position: absolute;
    left: 0;
    top: 1.3rem;
  }
}

/* ==========================================
   会社概要
   ========================================== */
.data-table {
  /* 他ページでも利用 */
  width: 100%;
  margin-top: clamp(2rem, 4vw, 4rem);
  font-size: 1.6rem;
  line-height: 1.8;
}

.data-table th {
  width: clamp(12rem, 18%, 20%);
  font-weight: 600;
  vertical-align: top;
  padding: clamp(1.8rem, 2.4vw, 2.8rem) 1rem;
  border-bottom: 1px solid var(--color-border-blue);
  border-top: 1px solid var(--color-border-blue);
}

.data-table td {
  width: auto;
  padding: clamp(1.8rem, 2.4vw, 2.8rem) 1rem;
  border-bottom: 1px solid var(--color-border-blue);
  border-top: 1px solid var(--color-border-blue);
}

/* 丸付きテキスト */
.txt-circle {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: clamp(0.4rem, 1vw, 1rem);
}

.txt-circle::before {
  content: '';
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 0.6rem;
  height: 0.6rem;
  background-color: var(--color-main-blue);
  border-radius: 50%;
}

.txt-circle._red::before {
  background-color: var(--color-red);
}

/* -------------------------------------
   スマホ対応（767px以下）
------------------------------------- */
@media (max-width: 767px) {
  .data-table tr {
    display: block;
    padding-block: 1.6rem;
  }

  .data-table th,
  .data-table td {
    display: block;
    width: 100%;
    padding: 0.2rem 0 0.6rem;
    border: none;
  }

  .data-table th {
    color: var(--color-main-blue);
    margin-bottom: 0.4rem;
  }

  .data-table tr:not(:last-of-type) {
    border-bottom: 1px solid var(--color-border-blue);
    padding-bottom: 1.2rem;
  }

  .txt-circle {
    margin-bottom: 0.4rem;
  }
}

/* ==========================================
   会社沿革
   ========================================== */
.company-history .year {
  font-size: 1.5rem;
  color: var(--color-main-blue);
  text-align: center;
}

.company-history .year span {
  font-size: 3rem;
  font-family: 'Roboto', sans-serif;
  padding-right: 0.3rem;
}

.company-history__inner {
  position: relative;
  padding: 1rem 0 4rem;
}

.company-history__inner:before {
  position: absolute;
  content: '';
  width: 1px;
  height: 100%;
  background: var(--color-main-blue);
  top: 0;
  left: 50%;
}

.company-history__inner ._box {
  width: calc(50% - 6rem);
  background: var(--color-bg-blue);
  padding: 2.5rem 3.8rem 3.5rem;
  position: relative;
  border-radius: var(--radius-04);
}

.company-history__inner ._box:nth-child(odd):before {
  position: absolute;
  content: '';
  top: 3rem;
  right: -6rem;
  width: 6rem;
  height: 1px;
  background: var(--color-main-blue);
}

.company-history__inner ._box:nth-child(odd):after {
  position: absolute;
  content: '';
  top: 2.7rem;
  right: -6.4rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: var(--radius-01);
  background: var(--color-main-blue);
}

.company-history__inner ._box:nth-child(even):before {
  position: absolute;
  content: '';
  top: 3rem;
  left: -6rem;
  width: 6rem;
  height: 1px;
  background: var(--color-main-blue);
}

.company-history__inner ._box:nth-child(even):after {
  position: absolute;
  content: '';
  top: 2.7rem;
  left: -6.3rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: var(--radius-01);
  background: var(--color-main-blue);
}

.company-history__inner ._box:nth-child(odd) {
  margin: -5rem 0 0 0;
}

.company-history__inner ._box:nth-child(even) {
  margin: -5rem 0 0 auto;
}

.company-history__inner ._box:first-child {
  margin-top: 0;
}

.company-history__inner ._year {
  font-size: 1.5rem;
  color: var(--color-main-blue);
}

.company-history__inner ._year span {
  font-size: 3rem;
  font-family: 'Roboto', sans-serif;
  padding: 0 3px;
}

.company-history__inner ._year span:first-child {
  padding-left: 0;
}

.company-history .future {
  font-size: 3rem;
  color: var(--color-main-blue);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-align: center;
}

@media (max-width: 1024px) {
  .company-history__inner ._box {
    padding: 1.5rem 3rem 3rem;
  }
}

@media (max-width: 767px) {
  .company-history .year {
    margin-bottom: 0.5rem;
    text-align: left;
  }

  .company-history__inner {
    margin-left: 1rem;
    padding: 2rem 0 3rem;
  }

  .company-history__inner:before {
    left: 0;
  }

  .company-history__inner ._box {
    width: calc(100% - 2rem);
    padding: 1rem 1.5rem 2rem;
  }

  .company-history__inner ._year {
    font-size: 1.4rem;
  }

  .company-history__inner ._year span {
    font-size: 2rem;
    font-weight: 500;
  }

  .company-history__inner ._desc {
    font-size: 1.4rem;
    line-height: 1.75;
  }

  .company-history__inner ._box:nth-child(odd):before {
    left: -2rem;
    width: 2rem;
  }

  .company-history__inner ._box:nth-child(odd):after {
    left: -2.3rem;
  }

  .company-history__inner ._box:nth-child(even):before {
    left: -2rem;
    width: 2rem;
  }

  .company-history__inner ._box:nth-child(even):after {
    left: -2.3rem;
  }

  .company-history__inner ._box:nth-child(odd) {
    margin: 0 0 1.5rem 2rem;
  }

  .company-history__inner ._box:nth-child(even) {
    margin: 0 0 1.5rem 2rem;
  }

  .company-history__inner ._box:first-child {
    margin: 0 0 1.5rem 2rem;
  }

  .company-history .year span,
  .company-history .future {
    font-size: 2rem;
    text-align: left;
  }
}

/* ==========================================
   アクセス — Google Map 埋め込み
   ========================================== */
.access-map {
  position: relative;
  height: 0;
  padding-bottom: 53.25%;
  border-radius: var(--radius-05);
  overflow: hidden;
}

.access-map iframe,
.access-map object,
.access-map embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ボタンラッパー */
.access-map_btn {
  text-align: center;
  margin-top: clamp(2.4rem, 4vw, 4rem);
}

/* ボタン本体 */
.access-map_btn a {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: clamp(1.6rem, 1vw + 0.6rem, 2rem);
  font-weight: 500;
  color: var(--color-main-blue);
  text-decoration: none;
  position: relative;
}

/* 下線アニメーション */
.access-map_btn a::after {
  content: '';
  position: absolute;
  bottom: -0.3rem;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}

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

/* ↗ アイコン */
.access-map_btn .icon-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.access-map_btn .icon-arrow svg {
  width: clamp(1.4rem, 0.8vw + 0.5rem, 1.8rem);
  height: auto;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
}

/* ホバーで軽く右上に動かす（上品） */
.access-map_btn a:hover .icon-arrow svg {
  transform: translate(2px, -2px);
}

/* -------------------------------------
   スマホ対応（767px以下）
------------------------------------- */
@media (max-width: 767px) {
  .access-map {
    padding-bottom: 62.5%;
  }
}

/* ========================================================================
   recruitment — 採用情報
   ======================================================================== */

/* ==========================================
   キャッチ文章とイメージ画像
   ========================================== */
.recruit_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(4rem, 6vw, 10rem);
}

/* --- テキスト側 --- */
.recruit_head_text {
  flex: 1 1 0;
}

.recruit_head_text .title {
  font-size: clamp(2.4rem, 1.5vw + 1.4rem, 3.6rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.7;
  font-feature-settings: 'palt';
}

.recruit_head_text .catch {
  font-size: clamp(2rem, 1.3vw + 1rem, 3rem);
  font-weight: 700;
  color: var(--color-main-blue);
  margin-top: clamp(2.4rem, 4vw, 6rem);
}

.recruit_head_text .text {
  margin-top: clamp(1.6rem, 2.4vw, 2.8rem);
  font-size: clamp(1.5rem, 1vw + 0.6rem, 1.8rem);
  line-height: 1.9;
}

/* --- 画像側 --- */
.recruit_head_image {
  flex: 0 0 clamp(26rem, 32vw, 42rem);
  border-radius: var(--radius-04);
  overflow: hidden;
}

.recruit_head_image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================
   募集要項
   ========================================== */
.table_box {
  padding: 0 8rem 4rem;
  background-color: var(--color-white);
  border: 1px solid var(--color-main-blue);
  border-radius: var(--radius-04);
}

.table_box .data-table tr:first-child th,
.table_box .data-table tr:first-child td {
  border-top: none;
}

.table_box .data-table tr:last-child th,
.table_box .data-table tr:last-child td {
  border-bottom: none;
}

/* -------------------------------------
   タブレット対応（1024px以下）
------------------------------------- */
@media (max-width: 1024px) {
  .table_box {
    padding: 0 5rem 4rem;
  }
}

/* -------------------------------------
   スマホ対応（767px以下）
------------------------------------- */
@media (max-width: 767px) {
  .recruit_head {
    flex-direction: column;
  }

  .recruit_head_text .title {
    font-feature-settings: 'palt';
  }

  .recruit_head_image {
    display: none;
  }

  .table_box {
    padding: 0 1.8rem 2rem;
    border-radius: var(--radius-05);
  }
}

/* ==========================================
   問い合わせボタン
   ========================================== */
.btn_block_center {
  width: 36rem;
  margin-inline: auto;
}

/* -------------------------------------
   スマホ対応（767px以下）
------------------------------------- */
@media (max-width: 767px) {
  .btn_block_center {
    width: 80%;
  }
}

/* ========================================================================
   contact — お問い合わせ
   ======================================================================== */

/* ==========================================
   説明文章 — 全ページ共通
   ========================================== */
.page_lead {
  font-weight: 500;
  font-size: clamp(1.4rem, 0.4vw + 1.2rem, 1.6rem);
  line-height: 1.8;
}

.page_lead:not(:first-child) {
  margin-top: clamp(1.6rem, 1vw + 1.2rem, 2.4rem);
}

.page_lead._mb60 {
  margin-bottom: clamp(4rem, 4vw, 6rem);
}

.page_lead ._tel {
  display: inline-block;
  padding: 0 clamp(0.3rem, 0.4vw, 0.5rem);
  font-weight: 700;
  color: var(--color-main-blue);
}

/* ==========================================
   リスト要素
   ========================================== */
.contact_list {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2rem, 3vw, 4rem) clamp(2rem, 4vw, 5rem);
}

.contact_item {
  flex: 1 1 calc(50% - (clamp(2rem, 4vw, 5rem) / 2));
  padding: clamp(2.4rem, 3vw, 4rem) clamp(2rem, 2.4vw, 3rem);
  border: 0.2rem solid var(--color-border-blue);
  border-radius: var(--radius-05);
  background-color: var(--color-bg-blue);
}

/* 見出し */
.contact_item .title {
  position: relative;
  display: block;
  padding-bottom: clamp(1.2rem, 1.6vw, 2rem);
  margin-bottom: clamp(2rem, 3vw, 3rem);
  font-size: clamp(1.6rem, 0.6vw + 1.2rem, 1.8rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: color 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.contact_item .title::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: clamp(3rem, 3.5vw, 4rem);
  height: 0.3rem;
  background: linear-gradient(90deg, var(--color-red) 0 50%, var(--color-main-blue) 50% 100%);
}

/* 説明文 */
.contact_item .text {
  margin-bottom: clamp(2rem, 3vw, 3.5rem);
  font-size: clamp(1.4rem, 0.4vw + 1.1rem, 1.5rem);
  line-height: 1.8;
  letter-spacing: 0.02em;
}

/* 電話番号 */
.tel_inline {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.8rem, 1vw, 1.4rem);
}

/* アイコン — 青い丸（背景） */
.tel_inline_icon {
  width: clamp(3.6rem, 3vw + 2rem, 5rem);
  height: clamp(3.6rem, 3vw + 2rem, 5rem);
  background-color: var(--color-main-blue);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

/* 電話アイコン */
.tel_inline_icon::before {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 55%;
  height: 55%;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 16.92v3c0 1.1-.9 2-2 2-4.97 0-9.82-2.21-13.3-5.7C3.21 12.74 1 7.9 1 2.92 1 1.82 1.9.92 3 .92h3c.9 0 1.68.59 1.93 1.44l.71 2.81c.17.68-.03 1.41-.52 1.9l-1.46 1.47c1.64 3.14 4.03 5.53 7.17 7.17l1.46-1.29c.49-.44 1.22-.64 1.9-.52l2.81.71c.85.25 1.44 1.03 1.44 1.93z'/%3E%3C/svg%3E")
    no-repeat center / contain;
}

/* 番号 */
.tel_inline_number {
  font-size: clamp(2.4rem, 1.8vw + 1.2rem, 3.2rem);
  line-height: 1;
  font-weight: 700;
  color: var(--color-main-blue);
  letter-spacing: 0.03em;
  text-decoration: none;
}

/* ------------------------------------------
   リンクボタン — contact バリアント
   ------------------------------------------ */
.link_button--contact {
  background-color: var(--color-white);
  border: 1px solid var(--color-main-blue);
  padding: clamp(1rem, 0.8vw + 0.6rem, 1.2rem) clamp(1.6rem, 1vw + 0.8rem, 2.4rem) clamp(1rem, 0.8vw + 0.6rem, 1.2rem)
    clamp(2.4rem, 1.8vw + 1.2rem, 3.2rem);
}

/* テキスト（青） */
.link_button--contact ._text {
  color: var(--color-main-blue);
  font-size: clamp(1.4rem, 0.4vw + 1.1rem, 1.6rem);
}

.link_button--contact ._text::after {
  background-color: var(--color-main-blue);
}

/* アイコン背景（青） */
.link_button--contact ._icon {
  width: clamp(2.8rem, 1.6vw + 2rem, 3.2rem);
  height: clamp(2.8rem, 1.6vw + 2rem, 3.2rem);
  background-color: var(--color-main-blue);
}

/* アイコン矢印（白・右向き） */
.link_button--contact ._icon::before {
  border-color: transparent transparent transparent var(--color-white);
}

/* ------------------------------------------
   スマホ対応（767px以下）
------------------------------------------ */
@media (max-width: 767px) {
  .contact_item {
    flex-basis: 100%;
  }
}

/* ========================================================================
   form — コンタクトフォーム
   ------------------------------------------------------------------------
   - p-gnav / p-toggle / p-drawer
   ======================================================================== */

/* ==========================================
   jsを使って確認画面作成
   入力画面では確認画面を消す設定
   ========================================== */
.form_confirm {
  display: none;
}

/* ==========================================
   テーブル外 — テキスト関連
   ========================================== */

/* --- タイトル（大） --- */
.form_title {
  position: relative;
  font-size: clamp(2.2rem, 1.2vw + 1.8rem, 3rem);
  font-weight: 600;
  line-height: 1.4;
  padding-bottom: clamp(2rem, 1.6vw, 3rem);
  margin-bottom: clamp(3rem, 2.4vw, 4rem);
}

.form_title::first-letter {
  color: var(--color-main-blue);
}

.form_title::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: clamp(4rem, 4.5vw, 6rem);
  height: 0.3rem;
  background: linear-gradient(90deg, var(--color-red) 0 50%, var(--color-main-blue) 50% 100%);
}

/* --- タイトル（小） --- */
.form_ttl {
  position: relative;
  font-size: clamp(1.8rem, 0.9vw + 1.4rem, 2.4rem);
  font-weight: 700;
  color: var(--color-main-blue);
  margin: clamp(4rem, 5vw, 6rem) 0 clamp(1.6rem, 1.8vw, 2.5rem);
}

.form_ttl::before {
  content: attr(data-number);
  display: inline-block;
  margin-right: clamp(0.8rem, 1.2vw, 1.5rem);
  font-size: inherit;
  border-bottom: 1px solid var(--color-red);
}

/* --- ステップ --- */
.form_step {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: 100%;
  margin-bottom: clamp(4rem, 4vw, 6rem);
  border-radius: clamp(0.3rem, 0.6vw, 0.4rem);
  overflow: hidden;
}

/* 各ステップ */
.form_step li {
  position: relative;
  width: 33.333%;
  background-color: #d6f4ff;
  padding: clamp(1rem, 1.2vw, 1.6rem);
  text-align: center;
  font-weight: 700;
  font-size: clamp(1.4rem, 0.6vw + 1.2rem, 1.6rem);
}

/* 最後だけちょい調整 */
.form_step li:last-child {
  padding-right: clamp(4px, 0.4vw, 6px);
}

/* ステップ矢印 */
.form_step li:before,
.form_step li:after {
  top: 50%;
  transform: translateY(-50%);
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  margin: auto;
}

/* 白い矢印（上） */
.form_step li:before {
  right: -1em;
  border-style: solid;
  border-color: transparent transparent transparent var(--color-white);
  border-width: clamp(20px, 4vw, 40px) 0 clamp(20px, 4vw, 40px) 1em;
  z-index: 9;
}

/* 背景色の矢印（下） */
.form_step li:after {
  right: -0.8em;
  border-style: solid;
  border-color: transparent transparent transparent #d6f4ff;
  border-width: clamp(20px, 4vw, 40px) 0 clamp(20px, 4vw, 40px) 1em;
  z-index: 10;
}

/* カレント */
.form_step li.current {
  background: var(--color-sub-blue);
  color: var(--color-white);
}

.form_step li.current:after {
  border-color: transparent transparent transparent var(--color-sub-blue);
}

/* ==========================================
   テーブル関連
   ========================================== */
.form {
  table-layout: fixed;
  width: 100%;
}

.form tr {
  border-bottom: 1px solid var(--color-border-blue);
}

.form tr:first-child {
  border-top: 1px solid var(--color-border-blue);
}

/* --- th --- */
.form th {
  position: relative;
  width: 23%;
  padding: clamp(1.4rem, 2vw, 2rem) clamp(1.6rem, 2.4vw, 2.5rem);
  vertical-align: middle;
  background-color: var(--color-bg-blue);
  font-size: clamp(1.4rem, 0.4vw + 1.2rem, 1.6rem);
}

/* 横並び設定 */
.form .th_flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* タイトル */
.form .th_ttl {
  font-weight: 600;
}

/* 必須・任意マーク */
.form .th_mark {
  font-size: clamp(1.1rem, 0.3vw + 0.9rem, 1.2rem);
  color: var(--color-white);
  line-height: 1;
  padding: clamp(0.3rem, 0.5vw, 0.5rem) clamp(0.6rem, 1vw, 1rem);
  border-radius: 0.4rem;
  flex-shrink: 0;
}

.form .th_mark._req {
  background-color: var(--color-red);
}
.form .th_mark._any {
  background-color: var(--color-sub-blue);
}

/* --- td --- */
.form td {
  width: 77%;
  padding: clamp(1.4rem, 2vw, 2rem) clamp(0.5rem, 1vw, 1rem) clamp(1.4rem, 2vw, 2rem) clamp(2rem, 3vw, 3rem);
  font-size: clamp(1.4rem, 0.4vw + 1.2rem, 1.6rem);
}

/* 横並び設定 */
.form .td_flex {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
}

.form .td_flex_inline {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.form .td_flexes {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 1.2vw, 1rem);
  margin-top: clamp(0.8rem, 1.2vw, 1.5rem);
}

/* 項目ラベル */
.form .td_label {
  display: block;
  position: relative;
  font-weight: 500;
  line-height: 1;
  padding-left: clamp(1rem, 1.2vw, 1.8rem);
  margin-bottom: clamp(0.6rem, 1.2vw, 1rem);
}

.form .td_label::before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: clamp(0.6rem, 0.8vw, 0.8rem);
  height: clamp(0.6rem, 0.8vw, 0.8rem);
  border-radius: var(--radius-01);
  background-color: var(--color-main-blue);
}

/* 補足説明 */
.form .td_desc {
  font-size: clamp(1.3rem, 0.5vw + 1rem, 1.5rem);
  line-height: 1.7;
  color: #666;
  margin-top: clamp(0.6rem, 1.2vw, 1rem);
}

/* プレースホルダーの色 */
::placeholder {
  color: #cccccc;
}

/* placeholder */
.date_input::placeholder {
  color: #aaa;
}

.date_input[readonly] {
  cursor: pointer;
}

/* --- 入力ボックス調整 --- */
.form .w_120 {
  width: clamp(10rem, 6vw, 12rem);
}

.form .w_200 {
  width: clamp(15rem, 10vw, 19.5rem);
}

.form .w_320 {
  width: clamp(20rem, 15vw, 32rem);
}

.form .w_500 {
  width: clamp(28rem, 25vw, 50rem);
}

/* 余白 */
.form .mb_15 {
  margin-bottom: clamp(0.8rem, 1.4vw, 1.5rem);
}

/* --- 個人情報保護方針 --- */
.form .privacy_content {
  border: solid 1px #b0b0b0;
  padding: clamp(0.8rem, 1vw, 1rem) clamp(1rem, 2vw, 2rem) clamp(1.4rem, 2vw, 2rem);
  font-size: clamp(1.3rem, 0.5vw + 1rem, 1.4rem);
  background-color: #f9f9f9;
  margin-bottom: clamp(1.4rem, 2vw, 2rem);
  width: 100%;
  height: clamp(20rem, 20vw, 32rem);
  line-height: 1.65;
  border-radius: 0.4rem;
  overflow: auto;
}

.form .privacy_ttl {
  font-size: clamp(1.4rem, 0.5vw + 1.2rem, 1.6rem);
  font-weight: 700;
  margin-bottom: clamp(0.6rem, 1vw, 1rem);
}

.form .privacy_content h5,
.form .privacy_content h6 {
  font-size: clamp(1.3rem, 0.5vw + 1rem, 1.5rem);
  font-weight: 600;
  margin: clamp(1rem, 2vw, 1.5rem) 0 clamp(0.4rem, 0.8vw, 0.6rem);
}

/* ==========================================
   latpickr カレンダー表示
   ========================================== */

/* --- 日付入力ボックス --- */
.date_input {
  width: 100%;
  max-width: clamp(15rem, 10vw, 19.5rem); /* w_200 と同じ扱い */
  font-size: clamp(1.4rem, 0.5vw + 1.1rem, 1.6rem);
  padding: clamp(0.8rem, 1.2vw, 1.2rem);
  border: 1px solid var(--color-border-blue);
  border-radius: var(--radius-03);
  background-color: #fff;
  color: #333;
  box-sizing: border-box;
}

.date_input:focus {
  outline: none;
  border-color: var(--color-main-blue);
}

.date_input[readonly] {
  cursor: pointer;
  background-color: #fff;
}

/* --- カレンダー本体（サイズスケール） --- */
.flatpickr-calendar {
  width: clamp(24rem, 70vw, 34rem); /* 横幅スケール化 */
  font-size: clamp(1.3rem, 0.5vw + 1rem, 1.6rem);
}

/* 月表示ヘッダー */
.flatpickr-months {
  height: clamp(3.2rem, 4vw, 4.6rem);
}

.flatpickr-months .flatpickr-month {
  padding: 0 clamp(0.8rem, 1.5vw, 1.6rem);
  font-size: clamp(1.4rem, 0.6vw + 1.1rem, 1.7rem);
  background: var(--color-main-blue);
  color: #fff;
}

/* 左右ナビゲーション矢印 */
.flatpickr-prev-month,
.flatpickr-next-month {
  width: clamp(2rem, 3vw, 2.8rem);
  height: clamp(2rem, 3vw, 2.8rem);
}

.flatpickr-prev-month svg,
.flatpickr-next-month svg {
  fill: #fff;
}

/* 曜日ラベル */
.flatpickr-weekdays {
  height: clamp(2.6rem, 3vw, 3.2rem);
}

.flatpickr-weekday {
  color: var(--color-main-blue);
  font-weight: 700;
  font-size: clamp(1.2rem, 0.4vw + 1rem, 1.4rem);
}

/* --- 日付マス（サイズスケール） --- */
.flatpickr-day {
  width: clamp(2.4rem, 5vw, 3.8rem);
  height: clamp(2.4rem, 5vw, 3.8rem);
  line-height: clamp(2.4rem, 5vw, 3.8rem);
  margin: clamp(0.1rem, 0.6vw, 0.3rem);
  font-size: clamp(1.3rem, 0.6vw + 1rem, 1.6rem);
  border-radius: clamp(0.3rem, 1vw, 0.6rem);
}

/* 今日の日付 */
.flatpickr-day.today {
  background: transparent !important;
  border-color: var(--color-main-blue) !important;
  color: var(--color-main-blue) !important;
  border-radius: var(--radius-01) !important;
}

/* 選択日 */
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: var(--color-main-blue) !important;
  color: #fff !important;
  border-radius: var(--radius-01) !important;
}

/* --- 土日・祝日 --- */
/* 土曜日 */
.flatpickr-day:nth-child(7n) {
  color: #1d7cd6; /* 青 */
  font-weight: 700;
}

/* 日曜日 */
.flatpickr-day:nth-child(7n + 1) {
  color: #e53935; /* 赤 */
  font-weight: 700;
}

/* 祝日（日本の祝日） */
.flatpickr-day.holiday {
  color: #e53935 !important;
  font-weight: 700;
}

/* hover時 */
.flatpickr-day:hover {
  background: rgba(0, 113, 190, 0.1);
  color: var(--color-main-blue);
}

/* ------------------------------------------
   スマホ対応（767px以下）
------------------------------------------ */
@media (max-width: 767px) {
  /* ▼ テーブルを縦並びに */
  .form table,
  .form tr,
  .form th,
  .form td {
    display: block;
    width: 100%;
  }

  /* ▼ 行の上下区切り線 */
  .form tr {
    border-bottom: 1px solid var(--color-border-blue);
    padding: clamp(1.6rem, 3vw, 2.4rem) 0;
  }

  /* ▼ th（項目名） */
  .form th {
    background: none;
    border: none;
    padding: 0 0 clamp(1rem, 2.5vw, 1.6rem) 0;
    width: 100%;
  }

  .form .th_flex {
    justify-content: flex-start;
    gap: clamp(0.8rem, 2vw, 1.2rem);
  }

  .form .th_ttl {
    font-size: clamp(1.5rem, 1vw + 1.3rem, 1.7rem);
  }

  .form .th_ttl br {
    display: none;
  }

  /* 必須・任意マーク */
  .form .th_mark {
    font-size: clamp(1.1rem, 1vw + 1rem, 1.3rem);
    padding: clamp(0.3rem, 0.5vw, 0.6rem) clamp(0.6rem, 1vw, 1rem);
  }

  /* ▼ td（入力エリア） */
  .form td {
    padding: 0;
    width: 100%;
  }

  /* ▼ 各フォームアイテムの余白 */
  .form .td_flex,
  .form .td_flexes {
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(1rem, 2vw, 1.6rem);
    margin-top: clamp(0.8rem, 2vw, 1.2rem);
  }

  /* ▼ ラベル（項目ラベル） */
  .form .td_label {
    margin-bottom: clamp(0.4rem, 1.5vw, 0.8rem);
    padding-left: clamp(1.4rem, 2vw, 1.6rem);
    font-size: clamp(1.4rem, 1vw + 1.1rem, 1.6rem);
  }

  .form .td_label::before {
    width: clamp(0.6rem, 1vw, 0.8rem);
    height: clamp(0.6rem, 1vw, 0.8rem);
  }

  /* ▼ 補足説明 */
  .form .td_desc {
    margin-top: clamp(0.5rem, 2vw, 1rem);
    font-size: clamp(1.3rem, 1vw + 1rem, 1.5rem);
  }

  /* ▼ 入力パーツ共通：幅100% */
  .form .td_flex .left,
  .form .td_flex .right,
  .form input[type='text'],
  .form input[type='email'],
  .form input[type='tel'],
  .form input[type='date'],
  .form select,
  .form textarea,
  .form .date_input {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* ▼ 固定幅クラスのSP最適化（100%表示） */
  .form .w_120,
  .form .w_200,
  .form .w_320,
  .form .w_500 {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* ▼ プライバシーポリシー枠 */
  .form .privacy_content {
    height: clamp(16rem, 40vw, 24rem);
    padding: clamp(1rem, 2vw, 1.5rem);
    font-size: clamp(1.3rem, 1vw + 1rem, 1.4rem);
  }

  .form .privacy_ttl {
    font-size: clamp(1.4rem, 1vw + 1.2rem, 1.6rem);
    margin-bottom: clamp(0.5rem, 2vw, 1rem);
  }

  .form .privacy_content h5,
  .form .privacy_content h6 {
    font-size: clamp(1.3rem, 1vw + 1rem, 1.5rem);
    margin: clamp(1rem, 2vw, 1.5rem) 0 clamp(0.4rem, 1vw, 0.6rem);
  }
}

/* ==========================================
   コンタクトフォーム7の設定
   ========================================== */

/* --- 入力ボックス --- */
select,
textarea,
.wpcf7 input:is([type='text'], [type='email'], [type='tel'], [type='number'], [type='date']) {
  background: var(--color-white);
  border: 1px solid #d4d4d4;
  width: 100%;
  padding: 1.5rem 2rem;
  line-height: 1.5;
  border-radius: 0.4rem;
  /* box-shadow: inset 1px 1px 1px rgb(0 0 0 / 2%); */
}

select {
  cursor: pointer;
}

select,
.wpcf7 input:is([type='text'], [type='email'], [type='tel'], [type='number'], [type='date']) {
  height: 5.5rem;
}

/* 入力時に自動で罫線色が変わるのを解除 */
input:focus,
textarea:focus {
  outline: none;
  border: 1px solid transparent;
}

select:focus,
textarea:focus {
  outline: none;
  border: 1px solid #d4d4d4;
}

/* --- セレクトボックス --- */
/*
 * [select ･･････ ] を form_select で囲む
 */

/* 標準矢印に代わり ::after で独自に設定 */
.form_select .wpcf7-form-control-wrap::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 1rem 0.5rem 0 0.5rem;
  border-color: var(--color-main-blue) transparent transparent transparent;
  pointer-events: none;
}

/* 標準矢印消す */
.wpcf7-select {
  appearance: none;
}

/* 標準アイコン消す — カレンダー表示 */
.wpcf7-form-control::-webkit-calendar-picker-indicator {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  cursor: pointer;
  z-index: 1;
}

/* --- ラジオボタン --- */
/* 横並び */
.wpcf7-radio {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.wpcf7-radio .wpcf7-list-item {
  margin: 0;
}

/* 標準設定消す */
input[type='radio'] {
  display: none;
}

/* 標準設定に代わり span で独自に設定 */
input[type='radio'] + span {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  position: relative;
  cursor: pointer;
}

/* 〇 箇所 */
input[type='radio'] + span::before {
  content: '';
  width: 2.6rem;
  height: 2.6rem;
  margin: auto;
  background-color: var(--color-white);
  border: 1px solid #b0b0b0;
  border-radius: 50%;
  position: relative;
}

/* ● 箇所 */
input[type='radio'] + span::after {
  content: '';
  position: absolute;
  top: 0.7rem;
  bottom: 0.7rem;
  left: 0.7rem;
  width: 1.2rem;
  height: 1.2rem;
  margin: auto;
  border-radius: 50%;
  background-color: var(--color-main-blue);
  opacity: 0;
}

/* クリックで ● を表示させる */
input[type='radio']:checked + span::after {
  opacity: 1;
}

/* --- チェックボックス --- */
/* 横並び */
.wpcf7-checkbox {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.wpcf7-checkbox .wpcf7-list-item {
  margin: 0;
}

/* 標準設定消す */
input[type='checkbox'] {
  display: none;
}

/* 標準設定に代わり span で独自に設定 */
input[type='checkbox'] + span {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  position: relative;
  cursor: pointer;
}

input[type='checkbox'] + span::before {
  content: '';
  width: 2.6rem;
  height: 2.6rem;
  margin: auto;
  background-color: var(--color-white);
  border: 1px solid #b0b0b0;
  border-radius: 0.2rem;
  position: relative;
  z-index: 1;
}

input[type='checkbox'] + span::after {
  content: '';
  border-right: 0.4rem solid var(--color-main-blue);
  border-bottom: 0.4rem solid var(--color-main-blue);
  display: block;
  width: 0.9rem;
  height: 1.6rem;
  position: absolute;
  top: 0.4rem;
  left: 0.9rem;
  transform: rotate(45deg);
  opacity: 0;
  z-index: 2;
}

/* クリックで チェツクマーク を表示させる */
input[type='checkbox']:checked + span:after {
  opacity: 1;
}

/* --- 電話連絡の希望時間帯表示・非表示時 --- */
.reply_tel_wrap {
  display: none;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}

/* 表示する時のアニメーション */
.reply_tel_wrap.is-show {
  margin-top: 1.5rem;
  max-height: 20rem;
  opacity: 1;
}

/* --- 採用ファームで応募を検討しているエリア表示・非表示 --- */
.type_area_wrap {
  display: none;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* 表示時 */
.type_area_wrap.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* --- エラーメッセージのカスタム --- */
/* CF7標準のメッセージを隠す */
.wpcf7-not-valid-tip {
  display: none !important;
}

/* メールアドレス不一致の場合 */
.email-error {
  font-size: 1.4rem;
  color: red;
  line-height: 1.4;
  margin-top: 0.7rem;
  display: none;
}

/* zipaddr-jp のポップアップを非表示 */
#autozip {
  display: none !important;
}

/* ------------------------------------------
   スマホ対応（767px以下）
------------------------------------------ */
@media (max-width: 767px) {
  /* ラジオボタン */
  .wpcf7-radio {
    flex-wrap: wrap;
    gap: 1.5rem 1rem;
  }
}

/* ==========================================
   送信ボタン
   ========================================== */
.form_submit {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: clamp(4rem, 6vw, 7rem);
}

/* --- 送信ボタン本体 --- */
.confirm_btn,
.form_submit input[type='button'],
.form_submit input[type='submit'] {
  width: clamp(26rem, 28vw, 42rem);
  height: clamp(4.8rem, 5.5vw, 7rem);
  text-align: center;
  font-size: clamp(1.6rem, 0.8vw + 1.2rem, 2rem);
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-main-blue);
  border-radius: var(--radius-02);
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.form_submit input[type='button']:hover,
.form_submit input[type='submit']:hover {
  opacity: 0.7;
}

/* --- 必須未入力時ボタン --- */
.confirm_btn.is-disabled {
  background-color: #cccccc !important;
  cursor: not-allowed !important;
  opacity: 0.6 !important;
}

/* --- CF7メッセージ非表示 --- */
.wpcf7-response-output {
  display: none;
}

/* --- 戻って修正ボタン（確認画面用） --- */
.form_submit .back_btn {
  width: auto !important;
  height: auto !important;
  text-align: left !important;
  letter-spacing: 0.05em !important;
  background: none !important;
  border-radius: 0 !important;
  display: inline-block;
  margin-right: clamp(1.6rem, 3vw, 3rem);
  font-size: clamp(1.4rem, 0.6vw + 1.2rem, 1.7rem) !important;
  font-weight: 600 !important;
  color: var(--color-main-blue) !important;
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.form_submit .back_btn:hover {
  opacity: 0.7 !important;
}

/* --- 注意書き --- */
.form_submit_alert {
  display: flex;
  justify-content: center;
  font-size: clamp(1.2rem, 0.4vw + 1rem, 1.3rem);
  line-height: 1.75;
  margin-top: clamp(2.4rem, 4vw, 4rem);
}

/* ------------------------------------------
   スマホ対応（767px以下）
------------------------------------------ */
@media (max-width: 767px) {
  .form_submit {
    flex-direction: column;
    align-items: center;
    margin-top: clamp(3rem, 6vw, 5rem);
  }

  /* 送信ボタン：全幅表示に */
  .confirm_btn,
  .form_submit input[type='button'],
  .form_submit input[type='submit'] {
    width: 100%;
    max-width: 100%;
    height: clamp(4.4rem, 5vw, 5.6rem);
    font-size: clamp(1.6rem, 1vw + 1.3rem, 1.8rem);
    border-radius: var(--radius-02);
  }

  /* 戻って修正ボタン（縦並びに） */
  .form_submit .back_btn {
    margin: 0 0 clamp(1.6rem, 3vw, 2rem) 0 !important;
    text-align: center !important;
    display: block;
  }

  /* 注意書き */
  .form_submit_alert {
    margin-top: clamp(2rem, 5vw, 3rem);
    font-size: clamp(1.2rem, 1vw + 1rem, 1.4rem);
    text-align: center;
    padding: 0 clamp(1rem, 4vw, 2rem);
  }
}

/* ==========================================
   サンクスページ
   ========================================== */
.thanks_wrap {
  padding: clamp(2.4rem, 4vw, 5rem);
  margin-inline: auto;
  text-align: center;
  background-color: var(--color-bg-blue);
  border-radius: var(--radius-04);
  max-width: clamp(32rem, 85vw, 72rem); /* 追加：横幅バランス最適化 */
}

/* タイトル */
.thanks_title {
  font-size: clamp(2rem, 1.2vw + 1.6rem, 2.8rem);
  font-weight: 700;
  color: var(--color-main-blue);
  margin-bottom: clamp(2rem, 3vw, 4rem);
  line-height: 1.5;
}

/* 説明文 */
.thanks_text {
  font-size: clamp(1.4rem, 0.5vw + 1.1rem, 1.6rem);
  line-height: 2;
  margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}

/* 戻るボタン */
.thanks_btn {
  display: inline-block;
  background-color: var(--color-main-blue);
  border-radius: var(--radius-02);
  color: var(--color-white) !important;
  text-decoration: none;
  padding: clamp(1rem, 1.2vw, 1.4rem) clamp(2.4rem, 2.8vw, 3.6rem);
  margin-top: clamp(2.4rem, 4vw, 4rem);
  font-size: clamp(1.4rem, 0.6vw + 1.2rem, 1.7rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: opacity 0.3s ease;
}

.thanks_btn:hover {
  opacity: 0.7;
}

/* ------------------------------------------
   スマホ対応（767px以下）
------------------------------------------ */
@media (max-width: 767px) {
  .thanks_wrap {
    padding: clamp(2rem, 6vw, 3rem);
    border-radius: var(--radius-03);
  }

  .thanks_title {
    margin-bottom: clamp(1.6rem, 4vw, 2.4rem);
  }

  .thanks_text {
    margin-bottom: clamp(1.2rem, 4vw, 2rem);
  }

  .thanks_btn {
    width: 100%;
    max-width: 100%;
    text-align: center;
    padding: clamp(1rem, 3vw, 1.4rem) clamp(2rem, 5vw, 3rem);
    border-radius: var(--radius-02);
  }
}

/* ========================================================================
   news — お知らせ
   ------------------------------------------------------------------------
   リスト要素は base.cssへ記述
   ======================================================================== */

/* ==========================================
   年別アーカイブ ドロップダウン
   ========================================== */
.news_archive {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 6rem;
}

.news_archive .box {
  position: relative;
  display: inline-block;
}

.news_archive .select {
  appearance: none;
  padding: 1rem 4rem 1rem 1.6rem;
  border: 1px solid var(--color-border-blue);
  border-radius: 0.8rem;
  background-color: var(--color-white);
  font-size: 1.6rem;
  color: var(--color-black);
  cursor: pointer;
  outline: none;
  width: clamp(14rem, 30vw, 20rem);
  height: clamp(4.8rem, 1vw + 4rem, 5.4rem);
}

/* SVG矢印の配置 */
.news_archive .arrow {
  position: absolute;
  top: 50%;
  right: 1.6rem;
  transform: translateY(-50%);
  pointer-events: none;
}

/* アクセシビリティ用に自動表示されるテキスト「投稿のページ送り」を非表示に */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================
   ページネーション
   ========================================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 5rem;
}

.pagination__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(0.6rem, 1vw, 1rem);
}

.pagination__item a,
.pagination__item span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: clamp(3.4rem, 4.5vw, 4rem);
  height: clamp(3.4rem, 4.5vw, 4rem);
  border-radius: 0.4rem;
  border: 1px solid #d4d4d4;
  color: var(--color-black);
  text-decoration: none;
  font-size: 1.4rem;
  transition: all 0.5s ease;
}

/* SVGアイコン */
.pagination__icon {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* アクティブページ */
.pagination__item .current {
  background-color: var(--color-main-blue);
  color: var(--color-white);
  border-color: var(--color-main-blue);
}

/* ホバー時（数字） */
.pagination__item a:hover {
  opacity: 0.5;
}

/* ホバー時（アイコン） */
.pagination__item:first-child a:hover,
.pagination__item:last-child a:hover {
  opacity: 1;
}

/* アニメーション — 右アイコン（次へ） */
.pagination__item a.next:hover .pagination__icon {
  animation: slideArrowRight 0.35s forwards;
}

/* アニメーション — 左アイコン（前へ） */
.pagination__item a.prev:hover .pagination__icon {
  animation: slideArrowLeft 0.35s forwards;
}

/* →方向にスライド（右アイコン） */
@keyframes slideArrowRight {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  50% {
    transform: translateX(120%);
    opacity: 0;
  }
  51% {
    transform: translateX(-120%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ←方向にスライド（左アイコン） */
@keyframes slideArrowLeft {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  50% {
    transform: translateX(-120%);
    opacity: 0;
  }
  51% {
    transform: translateX(120%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* -------------------------------------
   スマホ対応（767px以下）
------------------------------------- */
@media (max-width: 767px) {
  .news_archive {
    margin-bottom: 2.5rem;
  }

  .news_archive .select {
    height: 4.8rem;
    width: 100%;
  }

  .pagination {
    margin-top: 4rem;
  }
}

/* ==========================================
   記事ページ
   ========================================== */
.inner_post {
  width: min(90%, 96rem);
  margin-inline: auto;
  position: relative;
}

@media (min-width: 1024px) and (max-width: 1440px) {
  .inner_post {
    width: 65%;
  }
}

/* --- タイトル, 日付，カテゴリ --- */
.post_head {
  display: flex;
  flex-direction: column;
  gap: clamp(1.6rem, 2vw, 2.4rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.post_head .title {
  font-size: clamp(2.2rem, 1.5vw + 1.2rem, 3.2rem);
  font-weight: 600;
  color: var(--color-main-blue);
  line-height: 1.4;
  margin-bottom: 3rem;
}

.post_head .meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2.4rem;
}

/* 日付 */
.post_head .post_date {
  color: var(--color-black);
  font-weight: 700;
}

/* --- 記事 --- */
.post_body {
  padding-bottom: clamp(2rem, 3vw, 3rem);
  border-bottom: 1px solid #d4d4d4;
}

.post_body p {
  line-height: 1.9;
  margin-bottom: 2.5rem;
}

.post_body figure {
  max-width: 100%;
}

.post_body figcaption {
  color: var(--color-main-blue);
  font-size: 1.5rem;
  font-weight: 500;
  text-align: center;
  margin: -2.5rem 0 4rem;
}

.post_body img {
  margin-top: 1.5rem;
  margin-bottom: 4rem;
  border-radius: var(--radius-04);
}

/* リンク */
.post_body a {
  color: var(--color-main-blue);
  text-decoration: none;
  border-bottom: 1px solid var(--color-main-blue);
}

.post_body a:hover {
  border-bottom: none;
}

/* 外部URLでアイコン付ける */
.post_body a[target='_blank']::after {
  content: '↗';
  color: var(--color-main-blue);
  margin-left: 0.35em;
  font-size: 0.9em;
  position: relative;
  top: -1px;
}

/* ファイルリンク */
.post_body a[href$='.pdf'],
.post_body a[href$='.PDF'],
.post_body a[href$='.doc'],
.post_body a[href$='.DOC'],
.post_body a[href$='.docx'],
.post_body a[href$='.DOCX'],
.post_body a[href$='.xls'],
.post_body a[href$='.XLS'],
.post_body a[href$='.xlsx'],
.post_body a[href$='.XLSX'] {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  padding: 0.8rem 1.6rem 1rem;
  color: var(--color-main-blue);
  font-weight: 500;
  background-color: var(--color-bg-blue);
  border-radius: var(--radius-06);
  text-decoration: none;
  transition: opacity 0.3s ease;
  border-bottom: none;
}

/* ホバー時 */
.post_body a[href$='.pdf']:hover,
.post_body a[href$='.PDF']:hover,
.post_body a[href$='.doc']:hover,
.post_body a[href$='.DOC']:hover,
.post_body a[href$='.docx']:hover,
.post_body a[href$='.DOCX']:hover,
.post_body a[href$='.xls']:hover,
.post_body a[href$='.XLS']:hover,
.post_body a[href$='.xlsx']:hover,
.post_body a[href$='.XLSX']:hover {
  opacity: 0.75;
}

/* アイコン共通 */
.post_body a[href$='.pdf']::after,
.post_body a[href$='.PDF']::after,
.post_body a[href$='.doc']::after,
.post_body a[href$='.DOC']::after,
.post_body a[href$='.docx']::after,
.post_body a[href$='.DOCX']::after,
.post_body a[href$='.xls']::after,
.post_body a[href$='.XLS']::after,
.post_body a[href$='.xlsx']::after,
.post_body a[href$='.XLSX']::after {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.2rem;
  height: 2.2rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  border-radius: var(--radius-06);
}

/* PDF */
.post_body a[href$='.pdf']::after,
.post_body a[href$='.PDF']::after {
  content: 'PDF';
  background-color: #e53935;
}

/* Word */
.post_body a[href$='.doc']::after,
.post_body a[href$='.DOC']::after,
.post_body a[href$='.docx']::after,
.post_body a[href$='.DOCX']::after {
  content: 'Word';
  background-color: #2b579a;
}

/* Excel */
.post_body a[href$='.xls']::after,
.post_body a[href$='.XLS']::after,
.post_body a[href$='.xlsx']::after,
.post_body a[href$='.XLSX']::after {
  content: 'Excel';
  background-color: #217346;
}

/**
 *  Responsive Lightbox & Gallery の
 *  previous／next ボタンを非表示に
 */
a.pp_previous,
a.pp_next {
  display: none;
}

/* --- ページャー --- */
.post_pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: clamp(3rem, 5vw, 6rem);
  width: 100%;
  margin-inline: auto;
}

/* 共通リンク設定 */
.post_pager_link a {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--color-main-blue);
  transition: opacity 0.3s ease;
}

/* 左右アイコン共通 */
.post_pager_link.prev .icon_wrap,
.post_pager_link.next .icon_wrap {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: var(--radius-01);
  background-color: var(--color-main-blue);
  overflow: hidden;
}

.post_pager_link .icon {
  width: 1.2rem;
  height: 1.2rem;
  fill: var(--color-white);
  transition: transform 0.3s ease;
}

/* 一覧ボタン（中央） */
.post_pager_link.index a {
  padding: 0.5rem 1.8rem;
  font-size: 1.4rem;
  font-weight: 500;
  border: 1px solid #d4d4d4;
  border-radius: var(--radius-02);
}

/* 一覧 hover時 */
.post_pager_link.index a:hover {
  opacity: 0.6;
}

/* ホバーアニメーション */
.post_pager_link.prev a:hover .icon {
  animation: slideLeft 0.4s forwards;
}
.post_pager_link.next a:hover .icon {
  animation: slideRight 0.4s forwards;
}

/* keyframes */
@keyframes slideLeft {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  50% {
    transform: translateX(-120%);
    opacity: 0;
  }
  51% {
    transform: translateX(120%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideRight {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  50% {
    transform: translateX(120%);
    opacity: 0;
  }
  51% {
    transform: translateX(-120%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* -------------------------------------
   タブレット対応（1024px以下）
------------------------------------- */
@media (max-width: 1024px) {
  .post_head .title {
    margin-bottom: 1.5rem;
  }
}

/* -------------------------------------
   スマホ対応（767px以下）
------------------------------------- */
@media (max-width: 767px) {
  .post_head .meta {
    justify-content: flex-start;
  }
}

/* ==========================================
   TinyMCE用（管理画面での入力時）
   ========================================== */

/* --- 見出し（H2） --- */
.news-h2 {
  font-size: 2.2rem;
  font-weight: 600;
  border-left: 4px solid var(--color-main-blue);
  padding: 1.5rem 0 1.7rem 1.8rem;
  margin: 3rem 0 2.5rem;
  line-height: 1;
  background-color: var(--color-bg-blue);
}

/* --- 小見出し（H3） --- */
.news-h3 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-main-blue);
  padding-left: 1.5rem;
  border-left: 3px solid var(--color-sub-blue);
  margin: 3rem 0 2rem;
  line-height: 1.5;
}

/* --- 丸アイコン付き文書 --- */
.news-icon {
  position: relative;
  font-size: 1.7rem;
  font-weight: 500;
  padding-left: 1.5rem;
  line-height: 1.7;
}

.news-icon::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.2rem;
  width: 0.6rem;
  height: 0.6rem;
  background-color: var(--color-main-blue);
  border-radius: 50%;
}

/* ========================================================================
   個人情報保護方針, サイト利用について
   ======================================================================== */
.templa-h5 {
  font-size: 1.7rem;
  font-weight: 700;
  margin: 4rem 0 1rem;
}
.templa-h6 {
  font-weight: 700;
  margin: 3rem 0 1rem;
}
.templa-span {
  display: block;
  font-weight: 500;
  margin-top: 1rem;
}

/* ========================================================================
   404ページ
   ======================================================================== */
.notfound {
  text-align: center;
}

.notfound__illust {
  max-width: 48rem;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.notfound__illust img {
  width: 100%;
  display: block;
  animation: notfoundFloat 3.5s ease-in-out infinite;
}

@keyframes notfoundFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
  100% {
    transform: translateY(0);
  }
}

.notfound__title {
  font-size: clamp(2.6rem, 4.5vw, 3.4rem);
  font-weight: 700;
  color: var(--color-main-blue);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.notfound__text {
  font-size: 1.6rem;
  line-height: 2;
  margin-bottom: 3rem;
  color: var(--color-text);
}

.notfound__btn {
  display: inline-block;
  padding: 1.4rem 3rem;
  background-color: var(--color-main-blue);
  border-radius: var(--radius-02);
  color: var(--color-white) !important;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.notfound__btn:hover {
  opacity: 0.7;
}

/* ------------------------------------------
   スマホ対応（767px以下）
------------------------------------------ */
@media (max-width: 767px) {
  .notfound {
    padding: 4rem 0 6rem;
  }

  .notfound__illust {
    max-width: 28rem;
  }
}
