/*
Theme Name:minotsu
 */
@charset "utf-8";
html, body {
  font-family: "Noto Sans JP";
}

body, text {
  word-break: break-all;
  -webkit-text-size-adjust: 100%;
  letter-spacing: 0.08em;
  font-weight: 500;
  line-height: 1.6;
  font-size: 1vw;
  margin: 0;
  color: #333333;
}
@media (max-width: 800px) {
  body, text {
    font-size: 14px;
  }

  body{
     overflow-x: hidden;
}
}

a {
  text-decoration: none;
  color: #131a3c;
  transition: 0.2s ease-in-out;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

label, button {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

a:hover {
  color: #131a3c;
}

::-moz-focus-inner {
  border: 0;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

img {
  vertical-align: bottom;
  width: 100%;
}

h1, h2, h3, h4, p {
  margin: 0;
  font-size: 100%;
  font-weight: 500;
}

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

input, input [type="text"], textarea {
  font-size: 16px;
}

button {
  display: block;
  background-color: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  appearance: none;
}

address {
  font-style: normal;
}

th {font-weight: 500;}

:root {
  --header-h: 100px;
}
@media (min-width: 800px) {
  :root { --header-h: 0px; }
}

:root {
  --header-h: 90px;          /* モバイルのヘッダー高さ */
}
@media (min-width: 801px) {
  :root { --header-h: 10vw; }  /* PCのヘッダー高さ */
}

.anchor {
  scroll-margin-top: var(--header-h);
}


/* common
-----------------------------------------------------*/
.contents_wrap {
  padding: 8% 0;
  overflow: hidden;
}
@media (max-width: 800px) {
  .contents_wrap {
    padding: 60px 0;
  }
}

.contents_wrap2 {
  padding: 0 0 8%;
  overflow: hidden;
}
@media (max-width: 800px) {
  .contents_wrap2 {
    padding: 0 0 60px;
  }
}

.contents_wrap3 {
  padding: 8% 0 0;
  overflow: hidden;
}
@media (max-width: 800px) {
  .contents_wrap3 {
    padding: 60px 0 0;
  }
}

.contents_inner {
  width: 90%;
  margin: 0 auto;
  overflow: hidden;
}


/* header area
-----------------------------------------------------*/
:root {
  --bar-blue: #5b9cc9; /* 上部バー／ハンバーガーの水色 */
  --logo-navy: #123a75;
  --text: #111111;
  --white: #ffffff;
  --mobile-header-h: 74px;
}

/* ===== 上部バー（PC）：高さ30px ===== */
.topbar {
  background: #4ca0cc;
  height: 3vw;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding: 0 5% 0 0;
}
@media (max-width: 800px) {
  .topbar {
    display: none;
  }
}
.topbar a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--white);
}
.topbar .contact {
  gap: 7px;
  font-weight: 700;
  margin: 0 20px 0 0;
}
.topbar .contact img {
  height: 1vw;
  width: auto;
  display: block;
  position: relative;
  top: 0.1vw;
}
.topbar .sns img {
  height: 1.7vw;
  width: auto;
  display: block;
}

/* ===== メインバー（ロゴ＋ナビ） ===== */
.mainmenu_fixed {
  position: sticky;   /* fixed → sticky */
  top: 0;
  z-index: 2000;      /* 9999 → 1000（モーダルの下） */
}

.main-header {
  background: var(--white);
  display: flex;
  align-items: center;
  gap: 64px;
  padding: 1.5% 3%;
}
@media (max-width: 800px) {
  .main-header {
    min-height: var(--mobile-header-h);
    padding: 0 15px;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 1100;
  }
}

/* 1行分だけ見せる窓 */
.header_entry_mask {
  display: inline-block;
  overflow: hidden;
  line-height: 1.25;
}

/* スライドする文字 */
.header_entry_txt {
  display: block;
  position: relative;
  transition: transform .35s ease;
}

/* 下に控える同じ文字（コピー） */
.header_entry_txt::after {
  content: "ENTRY";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
}

/* ホバーで一緒に上へ → 元は上に抜け、コピーが下から入る */
.header_entry:hover .header_entry_txt {
  transform: translateY(-100%);
}

/* ===== header-2 専用：PCでも常にハンバーガーメニュー ===== */
.main-header.header_menuonly .pc_nav {
  display: none;          /* 使わないPCナビ（残っていても隠す） */
}
.main-header.header_menuonly .entry_btn {
  display: inline-flex;   /* ENTRYボタンを画面幅に関係なく表示 */
}

@media (min-width: 801px) {
  .main-header.header_menuonly .entry_btn {
    margin-left: auto;      /* ENTRYを右へ寄せる */
    height: 4vw;         /* ≒44px。固定42px→vw化。これで縦も伸縮 */
    padding: 0 3vw;       /* 横だけ指定（縦は height で決まる） */
    font-size: 1.3vw;
  } 
  .main-header.header_menuonly .hamburger {
    width: 4vw;
    height: 4vw;
    gap: 0.5vw;}  /* ★この値を小さくするほどENTRYに近づく */
}

@media (min-width: 801px) {
     .main-header.header_menuonly .hamburger span {
    width: 1.5625vw;        /* ≒25px。線の長さ */
    height: 0.125vw;        /* ≒2px。線の太さ */
  }
}

@media (max-width: 800px) {
  .main-header.header_menuonly .logo,
  .main-header.header_menuonly .entry_btn,
  .main-header.header_menuonly .hamburger {
    position: relative;
    z-index: 1001;   /* 全画面メニュー(1000)より前面に */
  }
}

.main-header.header_menuonly .hamburger {
  display: flex;          /* ハンバーガーを画面幅に関係なく表示 */
}

/* ===== header-2 専用：PCではメニューを右上のコンパクトなパネルにする ===== */
@media (min-width: 801px) {
  .main-header.header_menuonly {
    position: sticky;
    top: 0;            /* ← ⑤これが無いと固定されません */
    z-index: 1200;
    gap: 1vw;
  }
  .menu_overlay.menu_overlay_compact {
    inset: auto;
    position: absolute;
    top: 100%;
    right: 3%;
    left: auto;
    bottom: auto;
    margin-top: 0.6vw;
    width: 21.25vw;
    max-width: calc(100% - 3vw);
    height: auto;
    max-height: calc(100vh - 7.5vw);
    overflow-y: auto;
    padding: 0.5vw 0;
    border-radius: 0.75vw;
    box-shadow: 0 1.125vw 2.5vw rgba(0, 0, 0, .18);
    z-index: 1100;
  }

  .menu_overlay.menu_overlay_compact .menu_link { padding: 0.875vw 1.125vw; }
  .menu_overlay.menu_overlay_compact .menu_ja   { font-size: 1.0625vw; }
  .menu_overlay.menu_overlay_compact .menu_en   { font-size: 0.625vw; }
  .menu_overlay.menu_overlay_compact .menu_arrow svg { width: 1.125vw; height: 1.125vw; }
  .menu_overlay.menu_overlay_compact .menu_social { padding: 0.875vw 1.6vw; }
  .menu_overlay.menu_overlay_compact .menu_social_link svg { width: 1.8vw; height: 1.8vw; }

  .main-header.header_menuonly .hamburger.is_open span:nth-child(1) { transform: translateY(0.625vw) rotate(45deg); }
  .main-header.header_menuonly .hamburger.is_open span:nth-child(3) { transform: translateY(-0.625vw) rotate(-45deg); }
}

/* このページはメニューを開いても背景をスクロールできるようにする */
body.menuonly_page { overflow: auto !important; }

/* ロゴ画像 */
.logo {
  flex-shrink: 0;
  line-height: 0;
}
.logo img {
  width: 18vw;
  height: auto;
  display: block;
}
@media (max-width: 800px) {
  .logo img {
    width: 150px;
  }
}

/* PCナビ：文字16px */
.pc_nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4vw;
}
@media (max-width: 800px) {
  .pc_nav {
    display: none;
  }
}
.pc_nav a {
  position: relative;
  text-decoration: none;
  color: var(--text);
  font-size: 1.1vw;
  font-weight: 700;
  letter-spacing: .1em;
  white-space: nowrap;
}
.pc_nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4vw;
  width: 100%;
  height: 0.2vw;
  background: #ffd400;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: opacity .3s ease, transform .3s ease;
}
.pc_nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

/* ===== ハンバーガーボタン（スマホのみ） ===== */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 45px;
  height: 42px;
  background: #5c9dc9;
  border: none;
  cursor: pointer;
  padding: 0;
}
@media (max-width: 800px) {
  .hamburger {
    display: flex;
  }
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: #ffffff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.is_open span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.hamburger.is_open span:nth-child(2) {
  opacity: 0;
}

.hamburger.is_open span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}
/* ===== ENTRYボタン（スマホのみ） ===== */
.entry_btn {
  display: none;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 18px;
  background: #e8a020;
  color: #1c2b4a;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  flex-shrink: 0;
  z-index: 1100;
  font-family: "Albert Sans", sans-serif;
  border: 1px solid #000;
}
@media (max-width: 800px) {
  .entry_btn {
    display: flex;
  }
}

/* ===== スマホ用メニューパネル ===== */
.menu_overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #ffffff;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu_overlay.is_open {
  opacity: 1;
  visibility: visible;
}
 
.menu_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6vw 3%;
}
@media (max-width: 800px) {
  .menu_header {
    padding: 20px 22px;
  }
}
 
.menu_logo {
  display: flex;
  align-items: center;
  gap: 0.9vw;
}
@media (max-width: 800px) {
  .menu_logo {
    gap: 11px;
  }
}
 
.menu_mark {
  width: 3.4vw;
  height: 3.4vw;
  flex-shrink: 0;
}
@media (max-width: 800px) {
  .menu_mark {
    width: 46px;
    height: 46px;
  }
}
 
.menu_logo_main {
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #17181a;
  line-height: 1;
  font-size: 2vw;
}
@media (max-width: 800px) {
  .menu_logo_main {
    font-size: 27px;
  }
}
 
.menu_logo_sub {
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #17181a;
  line-height: 1;
  margin-top: 0.4vw;
  font-size: 0.85vw;
}
@media (max-width: 800px) {
  .menu_logo_sub {
    margin-top: 5px;
    font-size: 11px;
  }
}
 
.menu_header_right {
  display: flex;
  align-items: stretch;
  gap: 1vw;
}
@media (max-width: 800px) {
  .menu_header_right {
    gap: 12px;
  }
}
 
.menu_entry {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: "Albert Sans", sans-serif;
  letter-spacing: 0.12em;
  color: #ffffff;
  background: #d59637;
  border: 1px solid #c08324;
  font-size: 1.5vw;
  padding: 0 2.4vw;
}
@media (max-width: 800px) {
  .menu_entry {
    font-size: 19px;
    padding: 0 28px;
    height: 54px;
  }
}
 
.menu_close {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #5c9dc9;
  border: none;
  cursor: pointer;
  width: 4.4vw;
  height: 4.4vw;
}
@media (max-width: 800px) {
  .menu_close {
    width: 54px;
    height: 54px;
  }
}
 
.menu_close svg {
  width: 40%;
  height: 40%;
  stroke: #ffffff;
}
 
.menu_nav {
  margin-top: 1.5vw;
  padding: 0 3%;
}
@media (max-width: 800px) {
  .menu_nav {
    margin-top: 100px;
  }
}
 
.menu_list {
  list-style: none;
}
 
.menu_item {
  border-bottom: 1px solid #edf0f3;
  opacity: 0;
  transform: translateY(14px);
}

.menu_overlay.is_open .menu_item {
  animation: fade_up 0.55s ease forwards;
}

.menu_overlay.is_open .menu_item:nth-child(1) {
  animation-delay: 0.05s;
}

.menu_overlay.is_open .menu_item:nth-child(2) {
  animation-delay: 0.11s;
}

.menu_overlay.is_open .menu_item:nth-child(3) {
  animation-delay: 0.17s;
}

.menu_overlay.is_open .menu_item:nth-child(4) {
  animation-delay: 0.23s;
}

.menu_overlay.is_open .menu_item:nth-child(5) {
  animation-delay: 0.29s;
}

.menu_overlay.is_open .menu_item:nth-child(6) {
  animation-delay: 0.35s;
}

.menu_overlay.is_open .menu_item:nth-child(7) {
  animation-delay: 0.41s;
}

.menu_overlay.is_open .menu_item:nth-child(8) {
  animation-delay: 0.47s;
}
 
.menu_link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  padding: 1.5vw 1.4vw;
}
@media (max-width: 800px) {
  .menu_link {
    padding: 18px 14px;
  }
}
 
.menu_label {
  display: flex;
  flex-direction: column;
  gap: 0.3vw;
}
@media (max-width: 800px) {
  .menu_label {
    gap: 5px;
  }
}
 
.menu_ja {
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 0.05em;
  line-height: 1;
  font-size: 1.6vw;
}
@media (max-width: 800px) {
  .menu_ja {
    font-size: 16px;
    margin: 0 0 5px;
  }
}
 
.menu_en {
  font-family: "Albert Sans", sans-serif;
  color: #2980ad;
  letter-spacing: 0.22em;
  line-height: 1;
  font-size: 0.85vw;
}
@media (max-width: 800px) {
  .menu_en {
    font-size: 11px;
  }
}
 
.menu_arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c3ced8;
  width: 2.2vw;
  height: 2.2vw;
}
@media (max-width: 800px) {
  .menu_arrow {
    width: 20px;
    height: 20px;
  }
}
 
.menu_arrow svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
}

/* 矢印：ホバーでふわっと右へ */
.menu_arrow {
  transition: transform .3s ease;
}
.menu_link:hover .menu_arrow {
  transform: translateX(10px);   /* 右への移動量。数値で調整 */
}
 
.menu_social {
  display: flex;
  align-items: center;
  gap: 2vw;
  margin-top: auto;
  padding: 3vw 3% 4vw;
}
@media (max-width: 800px) {
  .menu_social {
    gap: 26px;
    padding: 34px 22px 40px;
  }
}
 
.menu_social_link {
  display: flex;
  color: #1a1a1a;
  width: 2.4vw;
  height: 2.4vw;
}
@media (max-width: 800px) {
  .menu_social_link {
    width: 30px;
    height: 30px;
  }
}
 
.menu_social_link svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
 
@keyframes fade_up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
 
@media (prefers-reduced-motion: reduce) {
  .menu_item {
    opacity: 1;
    transform: none;
    animation: none;
  }
}


/* front page
-----------------------------------------------------*/
.fv {
  position: relative;
  height: 50vw;
  overflow: hidden;
  margin: 0 0 5%;
  /* background-image / background-size / background-position は削除 */
}
@media (max-width: 800px) {
  .fv {
    height: 380px;
    margin: 0 0 50px;
  }
}

/* スライド全体を .fv いっぱいに敷く */
.fv-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.fv-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fvFade 12s infinite;   /* 9s → 12s */
}
.fv-slide:nth-child(1) { animation-delay: 0s; }
.fv-slide:nth-child(2) { animation-delay: 4s; }   /* 3s → 4s */
.fv-slide:nth-child(3) { animation-delay: 8s; }   /* 6s → 8s */

@keyframes fvFade {
  0%    { opacity: 0; }
  16.6% { opacity: 1; }   /* 約2秒でふわっと表示 */
  33.3% { opacity: 1; }   /* 約2秒キープ */
  50%   { opacity: 0; }   /* 約2秒でふわっと消える */
  100%  { opacity: 0; }
}

/* 暗くするオーバーレイをスライドの上に乗せる */
.fv::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
  z-index: 1;   /* ← これを追加（スライドより上、ロゴより下） */
}
 
.fv::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
}
 
.fv-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 40px;
}
 
.fv-logo {
  width: 20%;
  height: auto;
}
@media (max-width: 800px) {
  .fv-logo {
    width: 160px;
  }
}
 
.fv-wave-bottom {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  z-index: 3;
  display: block;
}

.policy_contents {
  padding: 6% 0 0;
  margin: 4.5% 0 0;
}
@media (max-width: 800px) {
.policy_contents {
  padding: 50px 0 0;
  margin: 35px 0 0;
}
}

.hero__inner {
  position: relative;
  margin: 0 auto;
}
@media (max-width: 800px) {
  .hero__inner {
    display: flex;
    flex-direction: column;
  }
}

/* ---------- 左：写真 ---------- */
.hero__photo {
  width: 58%;
  aspect-ratio: 3 / 2;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
@media (max-width: 800px) {
  .hero__photo {
    width: 100%;
  }
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- 右：青パネル ---------- */
.hero__panel {
  position: absolute;
  right: 11%;
  top: 50%;
  transform: translateY(-50%);
  width: 35%;
  padding: 3%;
  background: #4ca0cc;
  border-radius: 2vw;
  z-index: 2;
  overflow: hidden;
}
@media (max-width: 800px) {
  .hero__panel {
    position: static;
    transform: none;
    width: 90%;
    margin: -48px auto 0;
    padding: 30px;
    border-radius: 20px;
  }
}

.hero__title {
  position: relative;
  margin: 0 0 3%;
  color: #ffffff;
  font-size: 2.3vw;
  font-weight: 500;
  letter-spacing: .1em;
}
@media (max-width: 800px) {
.hero__title {
  margin: 0 0 18px;
  font-size: 28px;
  letter-spacing: 5px;
}
}

.hero__lead {
  margin: 0 0 3%;
  color: #ffffff;
  line-height: 2.1;
}
@media (max-width: 800px) {
.hero__lead {
  margin: 0 0 28px;
}
}

/* ---------- 右端の装飾背景 ---------- */
.hero__bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  background-image: url(image/bg_policy.png);
  background-size: 100%;
  width: 14%;
  background-repeat: no-repeat;
}
@media (max-width: 800px) {
  .hero__bg {
  }
}

.strengths {
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(340px,1fr) minmax(0,1.6fr);
  gap: 40px;
  align-items: start;
}
@media (max-width: 800px) {
  .strengths {
    grid-template-columns: minmax(0, 1fr);
    gap: 64px;
  }

    .strengths > * {
    min-width: 0;
  }
}

/* ---------- 左カラム ---------- */
.intro__head {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
  margin-bottom: 7%;
}
@media (max-width: 800px) {
  .intro__head {
    gap: 16px;
  }
}
.intro__title {
  writing-mode: vertical-rl;
  font-weight: 500;
  font-size: 2.5vw;
  letter-spacing: .12em;
}
@media (max-width: 800px) {
.intro__title {
  font-size: 22px;
}
}

.eyebrow {
  display: flex;
  align-items: flex-start;
}
.eyebrow__bar {
  width: 5px;
  height: 8vw;
  background: #f5c518;
  flex-shrink: 0;
}
@media (max-width: 800px) {
  .eyebrow__bar {
    height: 90px;
  }
}
.eyebrow__text {
  writing-mode: vertical-rl;
  font-weight: 700;
  font-size: 1.6vw;
  letter-spacing: .05em;
  color: #1b68b6;
  font-family: "Albert Sans", sans-serif;
}
@media (max-width: 800px) {
.eyebrow__text {
  font-size: 18px;
}
}

.intro__lead {
  line-height: 2.05;
  font-weight: 500;
  margin: 0 0 10% 16%;
}
@media (max-width: 800px) {
.intro__lead {
  margin: 0 20px 40px 20px;
}
}


/* ---------- 右カラム（カルーセル） ---------- */
.showcase {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: flex-start;
  padding: 8% 0;
  max-width: 100%;
}
@media (max-width: 800px) {
  .showcase {
    min-height: 0;
    flex-direction: column;
    padding: 40px 0 60px;
  }
}

.showcase__block {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 62%;
  background: #4ca0cc;
}
@media (max-width: 800px) {
  .showcase__block {
    width: 70%;
  }
}

.showcase__label {
  position: absolute;
  right: 34px;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: "Albert Sans", sans-serif;
  font-weight: 600;
  font-size: 1.4vw;
  letter-spacing: .32em;
  color: #ffffff;
  white-space: nowrap;
}
@media (max-width: 800px) {
  .showcase__label {
    right: 10px;
    font-size: 12px;
  }
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  color: #4da2cb;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 6;
  transition: background .2s ease,transform .2s ease;
}
@media (max-width: 800px) {
  .nav {
    width: 40px;
    height: 40px;
    border: 1px solid #97cbee;
  }
}
.nav svg {
  width: 16px;
  height: 16px;
}
.nav:hover {
  background: #eef6fc;
}
.nav:active {
  transform: translateY(-50%) scale(.93);
}
.nav--prev {
  left: -64px;
}
@media (max-width: 800px) {
  .nav--prev {
    left: -26px;
  }
}
.nav--next {
  right: -64px;
}
@media (max-width: 800px) {
  .nav--next {
    right: -26px;
  }
}

.card {
  position: relative;
  z-index: 2;
  width: 64%;
  margin-left: 64px;
  background: #fff;
  padding: 0 0 0 4%;
}
@media (max-width: 800px) {
  .card {
    width: 80%;
    margin: 0 auto;
    align-self: flex-start;
  }
}

.card__viewport {
  overflow: hidden;
}
.track {
  display: flex;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.slide {
  flex: 0 0 100%;
  min-width: 0;
}

.card__media {
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card__body {
  padding: 5%;
}

.card__heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 1vw;
  margin-bottom: .4vw;
}
.card__num {
  position: relative;
  font-family: "Albert Sans", sans-serif;
  font-weight: 700;
  font-size: 1.4vw;
  color: #17395c;
}
@media (max-width: 800px) {
.card__num {
  font-size: 20px;
}
}
/* 01の上に伸び、写真に重なる縦線。左右中央を01に合わせている */
.card__num::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: #000;
  z-index: 5;
}
@media (max-width: 800px) {
.card__num::before {
  bottom: calc(100% + 4px);
  height: 40px;
}
}

.card__title {
  font-size: 1.2vw;
  color: #23839b;
  letter-spacing: .04em;
  margin: -.2vw 0 0;
}
@media (max-width: 800px) {
.card__title {
  font-size: 16px;
}
}

.card__desc {
  line-height: 1.8;
  margin-bottom: 1vw;
}
@media (max-width: 800px) {
.card__desc {
  margin-bottom: 10px;
}
}

.dots {
  position: absolute;
  left: calc(50% + 80px);
  bottom: -30px;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  z-index: 3;
}
@media (max-width: 800px) {
  .dots {
    left: 50%;
  }
}

.dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  cursor: pointer;
  transition: background .25s ease,transform .25s ease;
}
.dots button:hover {
  transform: scale(1.25);
}
.dots button.is-active {
  background: #ffffff;
  transform: scale(1.15);
}

.products {
  display: flex;
  width: 100%;
  border-radius: 30px;
  overflow: hidden;
}
@media (max-width: 800px) {
  .products {
    flex-direction: column;
  }
}

.products-img {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30%;
  height: 28vw;
}
@media (max-width: 800px) {
  .products-img {
    width: 100%;
    height: 45vw;
    font-size: 4vw;
  }
}

.products-center {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  width: 40%;
  height: 28vw;
  padding: 5vw 2vw 8vw;
  background: #4ca0cc;
}
@media (max-width: 800px) {
  .products-center {
    width: 100%;
    height: auto;
    padding: 12vw 5%;
  }
}

.products-en {
  color: #f5ce1a;
  font-size: 2.6vw;
  font-weight: bold;
  letter-spacing: 0.02em;
  margin-bottom: 1.8vw;
  font-family: "Albert Sans", sans-serif;
}
@media (max-width: 800px) {
  .products-en {
    font-size: 7vw;
    margin-bottom: 4vw;
  }
}

.products-title {
  color: #ffffff;
  font-size: 2.4vw;
  font-weight: bold;
  letter-spacing: 0.08em;
  margin-bottom: 5vw;
}
@media (max-width: 800px) {
  .products-title {
    font-size: 25px;
    margin-bottom: 40px;
  }
}
 
.products-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bucket-wrap {
  margin: 5% 0 0;
}
/* ===== 一覧（閉じた状態） ===== */
.bucket-list {
  display: flex;
  gap: 48px;
}
@media (max-width: 800px) {
  .bucket-list {
    flex-direction: column;
    gap: 0;
    padding: 8px 16px;
  }
}

.bucket-col {
  flex: 1;
}

.bucket-item {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 22px 4px;
  background: transparent;
  border: none;
  border-bottom: 1px solid #333333;
  font-family: inherit;
  color: #1a1a1a;
  text-align: left;
  cursor: pointer;
}
@media (max-width: 800px) {
  .bucket-item {
    padding: 18px 4px;
  }
}

.bucket-col .bucket-item:first-child {
  border-top: 1px solid #333333;
}
@media (max-width: 800px) {
  .bucket-col:last-child .bucket-item:first-child {
    border-top: none;
  }
}

.bucket-item:hover {
  opacity: 0.7;
}

.bucket-item:focus-visible {
  outline: 2px solid #e56a2c;
  outline-offset: 2px;
}

.bucket-num {
  flex-shrink: 0;
  width: 3vw;
  font-size: 1.2vw;
  font-weight: 700;
  color: #e56a2c;
  font-family: "Albert Sans", sans-serif;
  margin: .2vw 0 0;
}
@media (max-width: 800px) {
.bucket-num {
  width: 35px;
  font-size: 20px;
}
}

.bucket-title {
  flex: 1;
  font-weight: 500;
  font-size: 1vw;
  letter-spacing: 0.08em;
}
@media (max-width: 800px) {
  .bucket-title {
    font-size: 15px;
  }
}

.bucket-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.bucket-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ===== モーダル ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  --modal-gap-top: 11vw;                     /* ← ヘッダーの高さ＋少し余白。実寸に合わせて調整 */
  padding: var(--modal-gap-top) 24px 24px;    /* 24px → 上だけヘッダー分に変更 */
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  z-index: 1000;
}
@media (max-width: 800px) {
  .modal-overlay {
    padding: 0;
  }
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal {
  display: flex;
  flex-direction: column;
  width: 70%;
  max-height: calc(100vh - var(--modal-gap-top) - 24px);   /* 90vh から変更 */
  background: #ffffff;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.28s ease, transform 0.28s ease;
  overflow: hidden;
}
@media (max-width: 800px) {
  .modal {
    width: 90%;
    max-width: none;
    height: auto;
    max-height: 70vh;
  }
}
@media (prefers-reduced-motion: reduce) {
  .modal-overlay,
  .modal {
    transition: none;
    transform: none;
  }
}

.modal-overlay.is-open .modal {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.modal-head {
  position: relative;
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
  background: #4da2cb;
  color: #ffffff;
}

.modal-title {
  flex: 1;
  margin: 0;
  padding: 18px 24px;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.06em;
}
@media (max-width: 800px) {
  .modal-title {
    padding: 16px;
    font-size: 18px;
  }
}

.modal-num {
  color: #ffffff;
  font-family: "Albert Sans", sans-serif;
}

.modal-close {
  position: absolute; 
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 60px;
  padding: 0;
  margin: 8px;
  background: #ffffff;
  border: none;
  color: #333333;
  font-family: inherit;
  cursor: pointer;
}
@media (max-width: 800px) {
  .modal-close {
    width: 50px;
  }
}

.modal-close:hover {
  background: #f2f2f2;
}

.modal-close:focus-visible {
  outline: 2px solid #e56a2c;
  outline-offset: -4px;
}

.modal-close-x {
  font-size: 18px;
  line-height: 1;
}

.modal-close-text {
  margin-top: 2px;
  font-size: 13px;
  font-style: italic;
}

.modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 40px 32px;
}
@media (max-width: 800px) {
  .modal-body {
    padding: 24px 20px;
  }
}

.detail-inner {
  display: flex;
  flex-direction: column;   /* 行を縦に積む */
  gap: 40px;                /* 画像ペアどうしの間隔 */
}
@media (max-width: 800px) {
  .detail-inner {
    flex-direction: column;
    gap: 20px;
  }

  .detail-row + .detail-row {
  margin-top: 24px;   /* 2行目以降にだけ追加の余白 */
}
}

.detail-row {
  display: flex;
  gap: 32px;
  align-items: flex-start;  /* ← テキストを画像の上端にそろえる */
}
@media (max-width: 800px) {
  .detail-row {
    flex-direction: column;
    gap: 20px;
  }
}

.detail_text {
  flex: 1;          /* ← 追加。残り幅を常に占有 */
  min-width: 0;     /* ← 追加。長文でのはみ出し防止(念のため) */
}

.detail_text p {
  position: relative;
  padding-left: 1.5em;
  margin: 0 0 1em;
  color: #333333;
}
@media (max-width: 800px) {
.detail_text p {
  padding-left: 20px;
  margin: 0 0 8px;
}
}
.detail_text p::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
}

.modal_header_title {border: 1px solid #000;
  text-align: center;
}

.detail-img {
  flex-shrink: 0;
  width: 60%;
}
@media (max-width: 800px) {
  .detail-img {
    width: 100%;
  }
}

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

.page_facilities .detail-img img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 5%;
}
@media (max-width: 800px) {
.page_facilities .detail-img img {
  height: auto;
  margin: 0 0 30px;
}
}

/* スクロール固定用 */
body.modal-open {
  overflow: hidden;
}

.company_intro {
  position: relative;
  margin: 2% auto 0;
  padding: 0 0 5%;
}
@media (max-width: 800px) {
  .company_intro {
    padding: 24px 16px 40px;
  }
}

.intro_wrap {
  position: relative;
}

/* 背景の水色パネル（PC・スマホとも幅80%・右寄せ） */
.blue_panel {
  position: absolute;
  top: 110px;
  right: 0;
  width: 85%;
  bottom: 0;
  background: #cbe0ec;
  z-index: 0;
}
@media (max-width: 800px) {
  .blue_panel {
    top: 60px;
  }
}

.hero_photo {
  position: relative;
  z-index: 1;
  width: 80%;
  margin: 0 auto;
  border-radius: 30px;
  overflow: hidden;
}
@media (max-width: 800px) {
  .hero_photo {
    width: 100%;
    border-radius: 20px;
  }
}

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

.philosophy_area {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 3% 3% 5% 0;
}
@media (max-width: 800px) {
  .philosophy_area {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding: 32px 24px 40px 0;
  }
}

.philosophy_title {
  margin: 0 0 32px;
  font-size: 2.5vw;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: #2b2b2b;
}
@media (max-width: 800px) {
  .philosophy_title {
    margin: 0 0 20px;
    font-size: 24px;
    letter-spacing: 0.2em;
  }
}

.philosophy_lead {
  margin: 0;
  font-size: 2vw;
  line-height: 1.9;
  color: #2b2b2b;
}
@media (max-width: 800px) {
  .philosophy_lead {
    font-size: 17px;
    line-height: 1.8;
  }
}

.feature_list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 800px) {
  .feature_list {
    grid-template-columns: 1fr;
    gap: 28px;
    margin: 32px 0 0;
  }
}

.feature_link {
  display: block;
  color: #2b2b2b;
  text-decoration: none;
}

.feature_list_photo {
  overflow: hidden;
}

.card_image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.feature_link:hover .card_image {
  transform: scale(1.1);
}

.feature_name {
  margin: 18px 0 0;
  font-size: 1.5vw;
  font-weight: 700;
  letter-spacing: 0.08em;
}
@media (max-width: 800px) {
  .feature_name {
    font-size: 16px;
  }
}


/* ===== news section ===== */
.news_head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2%;
  padding: 1vw 0 0 12vw;
  display: inline-block;
  width: 28vw;
  margin: 0 auto;
}
@media (max-width: 800px) {
.news_head {
  gap: 15px;
  padding: 20px 0 0 130px;
  width: 340px;
}
}

.news_head_img {
  width: 9vw;
  height: auto;
  margin: -2vw 0 0;
}
@media (max-width: 800px) {
.news_head_img {
  width: 110px;
  margin: -20px 0 0;
}
}
/* ↓ 全体を囲む要素。左上・右下の背景画像の基準になる */
.news_sec {
  position: relative;
  overflow: hidden;
  padding: 1vw 0 0;
}
@media (max-width: 800px) {
  .news_sec {
  }
}
 
/* 左上の背景（仮画像）。左にぴったり寄せ・横幅15% */
.news_bg_left {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 15%;
}
@media (max-width: 800px) {
.news_bg_left {
  width: 35%;
}
}
 
/* 右下の背景（仮画像）。右下にぴったり寄せ・横幅20% */
.news_bg_right {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: 15%;
}
@media (max-width: 800px) {
.news_bg_right {
  width: 35%;
}
}
 
/* ===== 見出し ===== */
.news_head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1.4vw;
  margin-bottom: 3%;
}
@media (max-width: 800px) {
  .news_head {
    gap: 10px;
    margin-bottom: 28px;
  }
}
 
.news_ttl_en {
  margin: 0;
  padding-bottom: 0.4vw;
  border-bottom: 4px solid #f7e100;
  color: #3fb0dd;
  font-size: 3.4vw;
  font-weight: bold;
  line-height: 1.1;
}
@media (max-width: 800px) {
  .news_ttl_en {
    padding-bottom: 4px;
    font-size: 30px;
  }
}
 
.news_balloon {
  position: relative;
  margin-top: 0.6vw;
  padding: 0.8vw 1.6vw;
  border: 2px solid #1a1a1a;
  border-radius: 999px;
  background: #ffffff;
  font-size: 1.2vw;
}
@media (max-width: 800px) {
  .news_balloon {
    margin-top: 6px;
    padding: 6px 14px;
    font-size: 12px;
  }
}
 
.news_balloon::before {
  content: "";
  position: absolute;
  left: -6px;
  bottom: 8px;
  width: 12px;
  height: 12px;
  border-left: 2px solid #1a1a1a;
  border-bottom: 2px solid #1a1a1a;
  background: #ffffff;
  transform: rotate(45deg);
}
 
/* ===== お知らせ枠（シャドー付き） ===== */
.news_box {
  position: relative;
  z-index: 1;
  width: 84%;
  margin: 0 auto 2%;
  padding: 5% 7% 5% 15%;
  background: #ffffff;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
}
@media (max-width: 800px) {
  .news_box {
    width: 88%;
    padding: 32px 22px 32px 58px;
    margin: 0 auto 25px;
  }
}
 
/* 枠内の左上に置く NEWS 画像（仮）。枠に対して幅10% */
.news_box_ttl {
  position: absolute;
  top: 0;
  left: 0;
  width: 13%;
}
@media (max-width: 800px) {
.news_box_ttl {
  width: 20%;
}
}
 
/* ===== お知らせリスト ===== */
.news_list {
  margin: 0 0 5vw;
  padding: 0;
  list-style: none;
}
@media (max-width: 800px) {
.news_list {
  margin: 0 0 40px;
}
}
 
.news_item {
  padding-bottom: 4%;
}
@media (max-width: 800px) {
  .news_item {
    padding-bottom: 28px;
  }
}
 
.news_item:last-child {
  padding-bottom: 0;
}
 
.news_date {
  margin: 0 0 1.4%;
  font-size: 140%;
}
@media (max-width: 800px) {
  .news_date {
    margin: 0 0 10px;
    font-size: 14px;
  }
}
 
.news_data {
  display: flex;
  align-items: center;
  gap: 1.8vw;
}
@media (max-width: 800px) {
  .news_data {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
 
.news_cat {
  flex-shrink: 0;
  min-width: 8.4vw;
  padding: 0.5vw 1vw;
  border-radius: 999px;
  background: #1a1a1a;
  color: #ffffff;
  text-align: center;
  font-size: 90%;
}
@media (max-width: 800px) {
  .news_cat {
    min-width: 70px;
    padding: 5px 20px;
    font-size: 12px;
  }
}
 
.news_txt {
  color: #333333;
  line-height: 1.6;
  text-decoration: none;
  transition: color 0.3s;
}
@media (max-width: 800px) {
  .news_txt {
    font-size: 14px;
  }
}
 
.news_txt:hover {
  color: #3fb0dd;
}


/* 業務内容ページ
-----------------------------------------------------*/
.about_inner {
  position: relative;
  z-index: 1;
}
 
.about_lead {
  margin: 4% 0;
}
@media (max-width: 800px) {
.about_lead {
  margin: 30px 0;
}
}

.subpage_strengths_wrap {
  padding: 5%;
}
@media screen and (max-width: 800px) {
.subpage_strengths_wrap {
  padding: 20px;
}
}

.subpage_strengths {
  padding: 3%;
  border-radius: 30px;
}
@media screen and (max-width: 800px) {
  .subpage_strengths {
    padding: 20px;
  }
}
 
.strength_row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 7%;
}
@media screen and (max-width: 800px) {
  .strength_row {
    flex-direction: column;
    margin-bottom: 30px;
  }
}
 
.strength_row:last-child {
  margin-bottom: 0;
}
 
.strength_row_reverse {
  flex-direction: row-reverse;
}
@media screen and (max-width: 800px) {
  .strength_row_reverse {
    flex-direction: column;
  }
}
 
.strength_img {
  position: relative;
  width: 44%;
  background: #e6edf1;
  border-radius: 1.4vw;
  overflow: hidden;
}
@media screen and (max-width: 800px) {
  .strength_img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 22px;
  }
}
 
.strength_img img {
  display: block;
  width: 100%;
  height: auto;
}
 
.strength_txt {
  width: 48%;
}
@media screen and (max-width: 800px) {
  .strength_txt {
    width: 100%;
  }
}
 
.strength_label {
  margin-bottom: 1.4vw;
}
@media screen and (max-width: 800px) {
  .strength_label {
    margin-bottom: 14px;
  }
}
 
.strength_label img {
  display: block;
  width: 13vw;
  height: auto;
}
@media screen and (max-width: 800px) {
  .strength_label img {
    width: 170px;
  }
}
 
.strength_ttl {
  font-size: 2.1vw;
  font-weight: bold;
  letter-spacing: 0.14em;
  color: #1b2c3d;
  margin-bottom: 1.8vw;
}
@media screen and (max-width: 800px) {
  .strength_ttl {
    font-size: 18px;
    margin-bottom: 20px;
  }
}
 
.strength_body {
  font-size: 1vw;
  line-height: 2.05;
  letter-spacing: 0.05em;
  color: #3a3a3a;
}
@media screen and (max-width: 800px) {
  .strength_body {
    font-size: 14px;
    line-height: 1.9;
  }
}

.process_section {
  position: relative;
  overflow: hidden;
}
 
.dot_bg_left {
  position: absolute;
  top: 0;
  left: 0;
  width: 16vw;
  z-index: 0;
}
@media screen and (max-width: 800px) {
  .dot_bg_left {
    width: 120px;
  }
}
 
.dot_bg_right {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 16vw;
  z-index: 0;
}
@media screen and (max-width: 800px) {
  .dot_bg_right {
    width: 120px;
  }
}
 
.process_inner {
  position: relative;
  z-index: 1;
  margin: 0 auto;
}
 
.process_label {
  font-size: 1vw;
  font-weight: bold;
  color: #4da2cb;
  letter-spacing: 0.1em;
  border-bottom: 3px solid #f2d13c;
  display: inline-block;
  padding-bottom: 0.3vw;
}
@media screen and (max-width: 800px) {
  .process_label {
    font-size: 13px;
    padding-bottom: 4px;
  }
}
 
.process_title {
  font-size: 2.4vw;
  font-weight: bold;
  letter-spacing: 0.15em;
  margin-top: 1vw;
  color: #333333;
}
@media screen and (max-width: 800px) {
  .process_title {
    font-size: 26px;
    margin-top: 12px;
  }
}
 
.process_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3vw 3.5vw;
  margin-top: 4vw;
}
@media screen and (max-width: 800px) {
  .process_grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 30px;
  }
}
 
.process_card {
  position: relative;
  border: 1px solid #4da2cb;
  padding: 0;
  background: #fff;
}
@media screen and (max-width: 800px) {
  .process_card {
    padding: 0;
  }
}
 
.card_head {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: block;
  width: fit-content;
  line-height: 1;
  font-size: 1.6vw;
  font-weight: bold;
  letter-spacing: 0.15em;
  color: #4da2cb;
  background: #ffffff;
  border-right: 1px solid #4da2cb;
  border-bottom: 1px solid #4da2cb;
  padding: 0.35em 0.6em 0.45em;
}
@media screen and (max-width: 800px) {
  .card_head {
    font-size: 21px;
    padding: 8px 14px 10px;
  }
}
 
.card_img_wrap {
  width: 100%;
  aspect-ratio: 16 / 14;
  overflow: hidden;
  margin-top: 0;
}
@media screen and (max-width: 800px) {
  .card_img_wrap {
    margin-top: 0;
  }
}
 
.card_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
 
.card_process_no {
  font-size: 1.7vw;
  font-weight: bold;
  font-style: italic;
  color: #4da2cb;
  border-top: 1px solid #4da2cb;
  margin: 0;
  padding: 1.4vw 1.4vw 0;
}
@media screen and (max-width: 800px) {
  .card_process_no {
    font-size: 22px;
    margin: 0;
    padding: 16px 16px 0;
  }
}
 
.card_text {
  font-size: 0.95vw;
  line-height: 1.8;
  margin-top: 0.8vw;
  padding: 0 1.4vw 1.4vw;
  color: #444444;
}
@media screen and (max-width: 800px) {
  .card_text {
    font-size: 14px;
    margin-top: 10px;
    padding: 0 16px 16px;
  }
}
 
.process_flow {
  margin-top: 3vw;
}
@media screen and (max-width: 800px) {
  .process_flow {
    margin-top: 30px;
  }
}
 
.flow_line {
  position: relative;
  display: flex;
  justify-content: center;
}
 
.flow_center {
  position: relative;
  width: 1px;
  height: 4vw;
  background: #999999;
  z-index: 1;
}
@media screen and (max-width: 800px) {
  .flow_center {
    height: 40px;
  }
}
 
.flow_center::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 10px;
  height: 10px;
  border-left: 1px solid #999999;
  border-bottom: 1px solid #999999;
  transform: translate(-50%, 4px) rotate(-45deg);
}
 
.flow_horizontal {
  position: absolute;
  top: -2vw;
  left: 50%;
  right: calc((100% - 7vw) / 6);
  height: 2vw;
  border-bottom: 1px solid #999999;
  border-right: 1px solid #999999;
}
@media screen and (max-width: 800px) {
  .flow_horizontal {
    display: none;
  }
}
 
.shipping_wrap {
  display: flex;
  justify-content: center;
  margin-top: 2vw;
}
@media screen and (max-width: 800px) {
  .shipping_wrap {
    margin-top: 20px;
  }
}

.shipping_wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2vw;
}
@media screen and (max-width: 800px) {
.shipping_wrap {
  grid-template-columns: repeat(1, 1fr);
  margin-top: 40px;
}
}

.shipping_wrap .process_card {
  grid-column: 2; /* 真ん中の列に配置 */
}
 
.shipping_box {
  background: #4da2cb;
  color: #ffffff;
  font-size: 1.8vw;
  font-weight: bold;
  letter-spacing: 0.4em;
  text-align: center;
  padding: 1.4vw 6vw;
}
@media screen and (max-width: 800px) {
  .shipping_box {
    font-size: 22px;
    padding: 18px 60px;
  }
}


/* 製品紹介ページ
-----------------------------------------------------*/
/* ===== グリッド（カード一覧） ===== */
.bucket_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 5%;
  row-gap: 5vw;
}
@media (max-width: 800px) {
  .bucket_grid {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }
}
 
.bucket_card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  background: transparent;
  border: none;
  font-family: inherit;
  color: #1a1a1a;
  text-align: left;
  cursor: pointer;
}

.bucket_card .equipment_card_img {
  aspect-ratio: auto;   /* 天井クレーン用の 5/4 を解除 */
  height: 29vw;         /* ← 他カードと同じ高さに */
}
@media (max-width: 800px) {
  .bucket_card .equipment_card_img {
    height: 57vw;       /* ← スマホも他カードと同じに */
  }
}

.bucket_card .equipment_card_slide img {
  width: 100%;
  height: auto;      /* または object-fit: cover; と height 指定 */
  display: block;
}
 
.bucket_card:hover .card_photo {
  opacity: 0.85;
}
 
.bucket_card:focus-visible {
  outline: 2px solid #5f9ec9;
  outline-offset: 4px;
}
 
.products_card_head {
  display: flex;
  align-items: center;
  margin-bottom: 1.14vw;
}
@media (max-width: 800px) {
  .products_card_head {
    margin-bottom: 12px;
  }
}
 
.bucket_num {
  flex-shrink: 0;
  margin-right: 0.85vw;
  font-size: 1.43vw;
  font-weight: 700;
  color: #5f9ec9;
}
@media (max-width: 800px) {
  .bucket_num {
    margin-right: 10px;
    font-size: 15px;
  }
}
 
.bucket_title {
  font-size: 1.71vw;
  font-weight: 500;
  letter-spacing: 0.06em;
}
@media (max-width: 800px) {
  .bucket_title {
    font-size: 18px;
  }
}
 
.card_photo {
  position: relative;
  display: block;
  border: 2px solid #5f9ec9;
  transition: opacity 0.2s ease;
}
 
.card_photo img {
  display: block;
  width: 100%;
  height: 29vw;
  object-fit: cover;
}
@media (max-width: 800px) {
  .card_photo img {
    height: 57vw;
  }
}
 
.card_icon {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0) 50%, #5f9ec9 50%);
  pointer-events: none;
  z-index: 3;      /* ← スライダーより前面に */
}
 
.card_icon svg {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 40px;
  height: 40px;
}
 
/* ===== 特許保有カード ===== */
.patent_card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 3.28vw;
  padding: 2.86vw 2.29vw;
  background-color: #ffffff;
  background-image: url(image/hoyu_bg1.png), url(image/hoyu_bg2.png);
  background-repeat: no-repeat, no-repeat;
  background-position: left top, right bottom;
  background-size: 20%, 30%;
  border: 2px solid #5f9ec9;
  border-radius: 15px;
  font-family: inherit;
  text-align: center;
  cursor: pointer;
}
@media (max-width: 800px) {
  .patent_card {
    margin-top: 0;
    padding: 20px 0 40px;
  }
}

.patent_card:focus-visible {
  outline: 2px solid #5f9ec9;
  outline-offset: 4px;
}

.patent_heading {
  position: relative;
  margin-bottom: 1.43vw;
  font-size: 2.3vw;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #5f9ec9;
}
@media (max-width: 800px) {
  .patent_heading {
    margin-bottom: 16px;
    font-size: 18px;
  }
}
 
.patent_text {
  position: relative;
  font-size: 1.5vw;
  line-height: 1.8;
  color: #333333;
}
@media (max-width: 800px) {
  .patent_text {
    font-size: 14px;
  }
}

/* 特許詳細（テキストのみ・中央寄せ） */
.patent_body {
  margin: 0 auto;
  max-width: 640px;
  text-align: center;
}
@media (max-width: 800px) {
.patent_body {
  text-align: left;
}
}
 
.patent_body p {
  margin: 0 0 1.71vw;
  font-size: 1.14vw;
  line-height: 1.9;
  letter-spacing: 0.04em;
}
@media (max-width: 800px) {
  .patent_body p {
    margin: 0 0 18px;
    font-size: 14px;
  }
}
 
.patent_body p:last-child {
  margin-bottom: 0;
}


/* 設備一覧ページ
-----------------------------------------------------*/
.facilities_comment {
  margin: 0 0 5vw;
  line-height: 2.8em;
}
@media (max-width: 800px) {
.facilities_comment {
  margin: 0 0 50px;
  line-height: 1.8;
}
}

.facilities_comment_blue {
  margin: 0 0 3vw;
  color: #4da2cb;
  font-size: 180%;
  text-align: center;
  line-height: 1.8em;
}
@media (max-width: 800px) {
.facilities_comment_blue {
  margin: 0 0 20px;
  font-size: 110%;
}
}

.equipment_area {
  position: relative;
  overflow: hidden;
}

.equipment_inner {
  position: relative;
  z-index: 1;
  width: 70%;
  margin: 0 auto;
}
@media (max-width: 800px) {
.equipment_inner {
  width: 90%;
}
}
 
.equipment_block {
  margin-bottom: 7vw;
}
@media (max-width: 800px) {
  .equipment_block {
    margin-bottom: 48px;
  }
}
 
.equipment_block:last-child {
  margin-bottom: 0;
}
 
.section_title {
  text-align: center;
  font-weight: 700;
  color: #4da2cb;
  letter-spacing: 0.15em;
  font-size: 2.1vw;
  margin-bottom: 3vw;
}
@media (max-width: 800px) {
  .section_title {
    font-size: 19px;
    margin-bottom: 26px;
  }
}
 
.section_title span {
  display: inline-block;
  position: relative;
  padding-bottom: .6vw;
}
@media (max-width: 800px) {
  .section_title span {
    padding-bottom: 12px;
  }
}
 
.section_title span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 8px;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%208'%3E%3Cpath%20d='M0,4Q6,1,12,4T24,4'%20fill='none'%20stroke='%23e8c14a'%20stroke-width='2'%20stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 24px 8px;
}
 
.equipment_card_list {
  display: flex;
  flex-wrap: wrap;
  gap: 5vw;
}
@media (max-width: 800px) {
  .equipment_card_list {
    gap: 40px;
  }
}
 
.equipment_card_single {
  justify-content: center;
}
 
.equipment_card {
  appearance: none;
  display: block;
  width: calc((100% - 5vw) / 2 - 0.5px);
  border: none;
  border-radius: 30px;
  overflow: hidden;
  background: #ffffff;
  color: inherit;
  font: inherit;
  text-align: inherit;
  cursor: pointer;
}
@media (max-width: 800px) {
  .equipment_card {
    width: 100%;
    border-radius: 20px;
  }
}
 
.equipment_card:focus-visible {
  outline: 2px solid #4da2cb;
  outline-offset: 2px;
}
 
.equipment_card_img {
  display: block;
  aspect-ratio: 5 / 4;
}
 
.equipment_card_title {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #4da2cb;
  color: #ffffff;
  text-align: center;
  letter-spacing: 0.08em;
  padding: 2vw 0;
  font-size: 1.6vw;
}
@media (max-width: 800px) {
  .equipment_card_title {
    padding: 14px 0;
    font-size: 15px;
  }
}

/* ===== ここから追記：スライダー用 ===== */
  /* 画像エリアを矢印の基準にする＋はみ出しを隠す */
  .equipment_card_img {
    position: relative;
    overflow: hidden;
  }

  /* スライドを横並びにするレール（JSが生成） */
  .equipment_card_slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform .4s ease;
  }

  .equipment_card_slide {
  flex: 0 0 100%;
  height: 100%;
  overflow: hidden;
}

  /* 各写真は画像エリアいっぱいに */
.equipment_card_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.equipment_card:hover .equipment_card_img img {
  transform: scale(1.08);
}

  /* 左右の送りボタン（JSが生成。複数枚のときだけ表示） */
  .equipment_card_nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3.4vw;
    height: 3.4vw;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #4da2cb;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background .2s ease;
  }
  .equipment_card_nav:hover {
    background: #caeafa;
  }
  .equipment_card_nav svg {
    width: 40%;
    height: 40%;
    stroke: #4da2cb;
    stroke-width: 2.4;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .equipment_card_nav.prev {
    left: 1vw;
  }
  .equipment_card_nav.next {
    right: 1vw;
  }
  @media (max-width: 800px) {
    .equipment_card_nav {
      width: 40px;
      height: 40px;
    }
    .equipment_card_nav.prev {
      left: 10px;
    }
    .equipment_card_nav.next {
      right: 10px;
    }
  }
  /* ===== 追記ここまで ===== */
 
.bg_deco {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
 
.bg__1 {
  top: 6%;
  left: 0;
  width: 16vw;
}
.bg__2 {
  top: 30%;
  right: 2%;
  width: 13vw;
}
.bg__3 {
  top: 52%;
  right: 0;
  width: 11vw;
}
.bg__4 {
  top: 73%;
  left: 2%;
  width: 13vw;
}
.bg__5 {
  bottom: 0;
  right: 0;
  width: 16vw;
}
@media (max-width: 800px) {
.bg__1 {
  top: 6%;
  width: 22vw;
}
.bg__2 {
  top: 28.5%;
  width: 18vw;
}
.bg__3 {
  width: 16vw;
}
.bg__4 {
  top: 74%;
  width: 18vw;
}
.bg__5 {
  width: 22vw;
}
}


/* 会社情報ページ
-----------------------------------------------------*/
.lead_sign {
  margin-top: 3vw;
  text-align: right;
  line-height: 1.8;
}
@media screen and (max-width: 800px) {
.lead_sign {
    margin-top: 20px;
    font-size: 14px;
  }
}

.profile_photo {
  border-radius: 1vw;
  box-shadow: 1vw 1vw 0 0 #f9f5f2;
  width: 40%;
  margin: 3% auto 5%;
  display: block;
}
@media (max-width: 800px) {
  .profile_photo {
    border-radius: 12px;
    box-shadow: 10px 10px 0 0 #f9f5f2;
    width: 80%;
    margin: 30px auto;
  }
}

.company .lead_body {
  margin-top: 3%;
  line-height: 2.4;
  letter-spacing: 0.08em;
  color: #333333;
  text-align: left;
}
@media screen and (max-width: 800px) {
  .company .lead_body {
    margin-top: 20px;
    line-height: 2.2;
  }
}

.company_wrap {
  width: 80%;
  margin: 3vw auto 0;
  border-radius: 20px;
  overflow: hidden;
}
@media (max-width: 800px) {
  .company_wrap {
    width: 100%;
    margin: 30px auto 0;
  }
}
 
.company_table {
  width: 100%;
  border-collapse: collapse;
}
 
.company_th {
  padding: 1.5vw 2vw;
  font-weight: normal;
  color: #ffffff;
  background-color: #4da2cb;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  border-bottom: 1px solid #cccccc;
  border-right: 1px solid #cccccc;
}
@media (max-width: 800px) {
  .company_th {
    padding: 14px 16px;
  }
}
 
.company_td {
  padding: 2vw;
  color: #333333;
  line-height: 1.6;
  vertical-align: middle;
  border-bottom: 1px solid #cccccc;
  background: #fff;
}
@media (max-width: 800px) {
  .company_td {
    padding: 16px;
  }
}
 
.company_table tr:last-child .company_th {
  border-bottom: none;
}
 
.company_table tr:last-child .company_td {
  border-bottom: none;
}

.history {
  width: 25%;
  margin: 0 auto;
  padding: 4vw 0 0;
}
 
@media (max-width: 800px) {
  .history {
    width: 100%;
    margin: 0 auto;
    padding: 40px 0 0;
  }
}

.history_bg {
  background-image: url("image/bg_mizutama1.png"), url("image/bg_mizutama2.png");
  background-position: left 10%, right bottom;
  background-size: 17%, 14%;
  background-repeat: no-repeat, no-repeat;
}
@media (max-width: 800px) {
  .history_bg {
    background-position: left 2%, right bottom;
    background-size: 22%, 20%;
    background-repeat: no-repeat, no-repeat;
  }
}

.history_item {
  display: flex;
}
 
.history_marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 1.6vw;
}
 
@media (max-width: 800px) {
  .history_marker {
    margin-right: 20px;
  }
}
 
.history_circle {
  flex-shrink: 0;
  width: 1.1vw;
  height: 1.1vw;
  margin-top: 0.4vw;
  border: 0.15vw solid #4da2cb;
  border-radius: 50%;
  background: #ffffff;
}
 
@media (max-width: 800px) {
  .history_circle {
    width: 14px;
    height: 14px;
    margin-top: 6px;
    border: 2px solid #4da2cb;
  }
}
 
.history_line {
  flex-grow: 1;
  width: 0.12vw;
  margin-top: 0.4vw;
  background: #4da2cb;
}
 
@media (max-width: 800px) {
  .history_line {
    width: 2px;
    margin-top: 6px;
  }
}
 
.history_item:last-child .history_line {
  display: none;
}

.history_item:last-child .history_body {
  padding-bottom: 0;
}
 
.history_body {
  padding-bottom: 2.4vw;
}
@media (max-width: 800px) {
  .history_body {
    padding-bottom: 30px;
  }
}
 
.history_year {
  color: #4da2cb;
  font-size: 1.1vw;
  font-weight: bold;
  letter-spacing: 0.1em;
  line-height: 1.1;
}
 
@media (max-width: 800px) {
  .history_year {
    font-size: 15px;
  }
}
 
.history_text {
  margin-top: 0.9vw;
  letter-spacing: 0.05em;
  line-height: 1.4;
}
 
@media (max-width: 800px) {
  .history_text {
    margin-top: 12px;
    font-size: 14px;
  }
}

.access_wrap {
  margin: 3vw 0;
  text-align: center;
}
@media (max-width: 800px) {
.access_wrap {
  margin: 30px 0;
  text-align: left;
}
}

.access_wrap p {
margin: 0 0 10px;
}

.access_address {
  font-size: 120%;
  margin: 0 0 2vw;
}

.map_wrap {
  width: 60%;
  margin: 0 auto;
}
@media (max-width: 800px) {
.map_wrap {
  width: 100%;
}
}

.map_wrap iframe {
  display: block;
  width: 100%;
  height: 30vw;
  border: 0;
}
@media (max-width: 800px) {
  .map_wrap iframe {
    height: 300px;
  }
}


/* 採用情報ページ
-----------------------------------------------------*/
.page_recruit {
  background-color: #f9f5f2;;
}

.map_illust_wrap {
  position: relative;
  margin: 0 auto 6vw;
  width: 95%;
}
@media (max-width: 800px) {
.map_illust_wrap {
  position: relative;
  margin: 0 auto 50px;
}
}

.map_img {
  width: 100%;
  display: block;
  border-radius: 40px;
}
@media (max-width: 800px) {
.map_img {
  border-radius: 20px;
}
}

/* ピン本体：黄色い塗りのしずく型 */
.map_pin, .modal_pin {
  position: absolute;
  width: 4.5%;
  height: 8%;
  border-radius: 50% 50% 50% 0;
  background: #f5c400;          /* 塗りを黄色に */
  transform: rotate(-45deg);
  cursor: pointer;
  z-index: 2;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;                 /* ボタン自体の文字は隠す */
}

.map_pin {
  transform: translateY(0) rotate(-45deg);            /* 通常。translateY(0)を足す */
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);  /* 少し弾む動き */
}
.map_pin:hover {
  transform: translateY(-10px) rotate(-45deg);        /* 真上へ */
}

/* 中央の白い丸 */
.map_pin::before, .modal_pin::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* 文字（赤みオレンジ・白丸の上・向きを戻す） */
.map_pin::after, .modal_pin::after {
  position: relative;
  z-index: 1;
  transform: rotate(45deg);
  color: #e24e1e;
  font-size: 2vw;
  font-weight: bold;
  line-height: 1;
}

/* モーダルピン：サイズ・位置・文字だけ個別に上書き（デザインは共通ルールを継承） */
.modal_pin {
  width: 54px;
  height: 54px;
  top: 38px;      /* 写真の左上に合わせて調整 */
  left: 44px;     /* 写真の左上に合わせて調整 */
  z-index: 3;
  cursor: default;
}
@media (max-width: 800px) {
  .modal_pin {
    width: 34px;
    height: 34px;
    top: 24px;
    left: 16px;
  }
}

.modal_pin::after {
  font-size: 25px;
}
@media (max-width: 800px) {
  .modal_pin::after {
    font-size: 16px;
  }
}

/* A〜Gの文字 */
.pin_a::after { content: "A"; }
.pin_b::after { content: "B"; }
.pin_c::after { content: "C"; }
.pin_d::after { content: "D"; }
.pin_e::after { content: "E"; }
.pin_f::after { content: "F"; }
.pin_g::after { content: "G"; }

/* ピン位置 */
.pin_a { top: 12%; left: 41%; }
.pin_b { top: 28%; left: 21%; }
.pin_c { top:68%; left: 6%; }
.pin_d { top: 56%; left: 49%; }
.pin_e { top: 35%; left: 56%; }
.pin_f { top: 33%; left: 70%; }
.pin_g { top: 65%; left: 82%; }
@media (max-width: 800px) {
.pin_a { top: 12%; left: 45%; }
.pin_b { top: 24%; left: 21%; }
.pin_c { top:65%; left: 3%; }
.pin_d { top: 56%; left: 50%; }
.pin_e { top: 35%; left: 57%; }
.pin_f { top: 23%; left: 68%; }
.pin_g { top: 60%; left: 82%; }
}

/* モーダル */
.map_modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .4s ease, visibility .4s ease;
  --modal-gap-top: 10px;                       /* ← ヘッダーの高さ＋α。実寸に合わせて調整 */
  padding: var(--modal-gap-top) 20px 30px;      /* 上にヘッダー分の余白 */
}

.map_modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal_inner {
  position: relative;
  width: min(800px, 70%);
  background: #fff;
  max-height: calc(100vh - var(--modal-gap-top) - 30px);   /* 90vh から変更 */
  overflow: hidden;
}
@media (max-width: 800px) {
.modal_inner {
  width: min(1000px, 90%);
}
}

/* 中身：ここが縦スクロールする */
.modal_scroll {
  position: relative;
  max-height: calc(100vh - var(--modal-gap-top) - 30px);   /* 90vh から変更 */
  overflow-y: auto;
  padding: 60px;
}
@media (max-width: 800px) {
  .modal_scroll {
    padding: 30px;
  }
}

.modal_close {
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  background: #4da2cb;
  color: #fff;
  border: none;
  cursor: pointer;
  line-height: 0.8;
  z-index: 3;           /* スクロール内容より前に固定 */
}
@media (max-width: 800px) {
.modal_close {
  width: 30px;
}
}

.modal_close span {
  font-size: 50px;
  font-family: "Albert Sans", sans-serif;
  display: inline-block;
  padding: 10px 0;
  font-weight: 500;
}
@media (max-width: 800px) {
.modal_close span {
  font-size: 20px;
  padding: 7px 0;
}
}

#modal_a .modal_pin::after { content: "A"; }
#modal_b .modal_pin::after { content: "B"; }
#modal_c .modal_pin::after { content: "C"; }
#modal_d .modal_pin::after { content: "D"; }
#modal_e .modal_pin::after { content: "E"; }
#modal_f .modal_pin::after { content: "F"; }
#modal_g .modal_pin::after { content: "G"; }

.modal_photo {
  width: 100%;
  background: #eee;
  margin-bottom: 25px;
}

.map_modal h3 {
  margin: 0 0 18px;
  font-size: 1.5vw;
  font-weight: 700;
}
@media (max-width: 800px) {
.map_modal h3 {
  font-size: 18px;
}
}

.map_modal p {
  margin: 0;
  line-height: 2;
}

@media (max-width: 800px) {
  .map_pin {
    width: 28px;
    height: 28px;
    border-width: 4px;
  }

  .map_pin::after {
    font-size: 14px;
  }
}

.recruit_message {
  text-align: center;
  margin: 5vw 0 10vw;
  line-height: 2em;
}
@media (max-width: 800px) {
.recruit_message {
  text-align: left;
  margin: 50px 0;
  line-height: 2em;
}
}

.page_recruit .subpage_title {
  margin: 0 0 3vw;
}
@media (max-width: 800px) {
.page_recruit .subpage_title {
  margin: 0 0 30px;
}
}

.page_recruit .subpage_title .blue-title {
  display: inline-block;
  color: #f15a2b;
  font-size: 1.6vw;
  font-weight: bold;
  border-bottom: 4px solid #ffd200;
  font-family: "Albert Sans", sans-serif;
  margin: 0 0 .5vw;
}
@media (max-width: 800px) {
.page_recruit .subpage_title .blue-title {
  font-size: 22px;
  margin: 0 0 10px;
}
}

/* ===== head ===== */
.interview_head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3vw;
}
@media (max-width: 800px) {
  .interview_head {
    flex-direction: column;
    gap: 16px;
  }
}

.interview_title {
  display: block;
  width: 80%;
}
@media (max-width: 800px) {
  .interview_title {
    
  }
}

.interview_lead {
  max-width: 42vw;
  margin-top: 1vw;
  font-size: 1.125vw;
  line-height: 2;
  color: #333333;
}
@media (max-width: 800px) {
  .interview_lead {
    max-width: none;
    margin-top: 0;
    font-size: 14px;
  }
}

.interview_wrap {
  background-image: url("image/staff_inta_bg.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding: 4vw 0;
}
@media (max-width: 800px) {
.interview_wrap {
  padding: 50px 0;
}
}

/* ===== section ===== */
.interview {
  position: relative;
  padding: 2vw 0;
}
@media (max-width: 800px) {
  .interview {
    padding: 20px 0 0;
  }
}
 
/* ===== slider ===== */
.interview_slider {
  position: relative;
  width: 74vw;
  max-width: 100%;
  margin: 0 auto;
}
@media (max-width: 800px) {
  .interview_slider {
    width: 60vw;
  }
}
 
.interview_viewport {
  width: 100%;        /* 74vw + margin:auto はやめて 100% に */
  padding-top: 2.6vw;
  overflow: hidden;
}
@media (max-width: 800px) {
  .interview_viewport {
    width: 100%;
    padding-top: 36px;
  }
}
 
.interview_track {
  display: flex;
  align-items: flex-start;
  gap: 4.5vw;
  will-change: transform;
}
@media (max-width: 800px) {
  .interview_track {
    gap: 4vw;
  }
}
 
.interview_slider.is_anim .interview_track {
  transition: transform 0.5s ease;
}
.interview_slider.is_anim .interview_card {
  transition: transform 0.5s ease, margin 0.5s ease, opacity 0.3s ease;
}
 
/* ===== card ===== */
.interview_card {
  position: relative;
  display: block;
  flex: 0 0 24vw;
  width: 24vw;
  color: inherit;
  text-decoration: none;
  transform: scale(0.769);
  transform-origin: center center;
  margin-left: -2.77vw;
  margin-right: -2.77vw;
  transition: opacity 0.3s ease;
}
@media (max-width: 800px) {
  .interview_card {
    flex: 0 0 100%;
    width: 100%;
    transform: none;
    margin-left: 0;
    margin-right: 0;
    padding: 0 18px 0 2px;
  }
}
 
.interview_card.is_lead {
  transform: scale(1);
  margin-left: 0;
  margin-right: 0;
}
@media (max-width: 800px) {
  .interview_card.is_lead {
    transform: none;
  }
}
 
.interview_card:hover {
  opacity: 0.85;
}
 
.interview_num {
  position: absolute;
  top: -2.5vw;
  left: 1.3vw;
  z-index: 3;
  width: 37%;
}
@media (max-width: 800px) {
  .interview_num {
    top: -30px;
    left: 6px;
  }
}
 
.interview_visual {
  position: relative;
}
 
.interview_photo {
  width: 100%;
  height: 34.8vw;
  border: 0.36vw solid #ffffff;
  border-radius: 0.85vw;
  overflow: hidden;
  background-color: #d9d9d9;
}
@media (max-width: 800px) {
  .interview_photo {
    height: auto;
    aspect-ratio: 24 / 34.8;
    border: 5px solid #ffffff;
    border-radius: 10px;
  }
}
 
.interview_photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
 
.interview_labels {
  position: absolute;
  right: -1.35vw;
  bottom: 1.6vw;
  z-index: 4;
  font-size: 0;
  text-align: right;
  white-space: nowrap;
  direction: rtl; 
}
@media (max-width: 800px) {
  .interview_labels {
    right: -14px;
    bottom: 22px;
  }
}
 
.interview_label {
  display: inline-block;
  vertical-align: bottom;
  margin-left: 0.72vw;
  writing-mode: vertical-rl;
  padding: 0.95vw 0.66vw;
  background-color: #ffffff;
  color: #222222;
  font-size: 1.55vw;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.14em;
  white-space: nowrap;
}
@media (max-width: 800px) {
  .interview_label {
    margin-left: 8px;
    padding: 12px 8px;
    font-size: 17px;
  }
}
 
/* 1行目（右側の行）を少し上へずらす */
.interview_label_first {
  position: relative;
  bottom: 2.3vw;
}
@media (max-width: 800px) {
  .interview_label_first {
    bottom: 26px;
  }
}
 
/* ===== info ===== */
.interview_info {
  margin-top: 1.35vw;
}
@media (max-width: 800px) {
  .interview_info {
    margin-top: 18px;
  }
}
 
.interview_dept {
  font-size: 1.7vw;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #333333;
}
@media (max-width: 800px) {
  .interview_dept {
    font-size: 22px;
  }
}
 
.interview_name {
  margin-top: 0.6vw;
  font-size: 1.25vw;
  letter-spacing: 0.05em;
  color: #333333;
}
@media (max-width: 800px) {
  .interview_name {
    margin-top: 8px;
    font-size: 16px;
  }
}
 
.interview_join {
  margin-top: 0.75vw;
  font-size: 1vw;
  letter-spacing: 0.05em;
  color: #555555;
}
@media (max-width: 800px) {
  .interview_join {
    margin-top: 10px;
    font-size: 14px;
  }
}
 
/* ===== arrows (outside the cards) ===== */
.interview_arrow {
  position: absolute;
  top: 21vw;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4vw;
  height: 4vw;
  border: none;
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: 0 0.25vw 0.8vw rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transform: translateY(-50%);
}
@media (max-width: 800px) {
  .interview_arrow {
    top: calc(37px + 42vw);
    width: 36px;
    height: 36px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  }
}
 
.interview_arrow svg {
  width: 1.6vw;
  height: 1.6vw;
  stroke: #e58aa0;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 800px) {
  .interview_arrow svg {
    width: 16px;
    height: 16px;
  }
}
 
.interview_prev {
  left: -4vw;         /* スライダー（カードエリア）の外側 */
}
@media (max-width: 800px) {
  .interview_prev {
    left: calc(-36px - 3vw);
  }
}

.interview_next {
  right: -5.5vw;      /* 右は縦ラベルのはみ出し分だけ多め */
}
@media (max-width: 800px) {
  .interview_next {
    right: calc(-36px - 3vw);
  }
}

.entry_contents_wrap {
  padding: 5vw 0 6vw;
}
@media (max-width: 800px) {
.entry_contents_wrap {
  padding: 30px 0;
}
}

.block_title_subtext {
  margin: 2vw 0 0;
}

.welfare {
    padding: 3vw;
    background: #fff;
    border-radius: 3vw;
}
@media (max-width:800px){
    .welfare{
        padding: 20px;
    }
}

.welfare_list{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:6.25vw;
}
@media (max-width:800px){
    .welfare_list{
        flex-direction:column;
        gap:30px;
    }
}

.welfare_column{
    flex:1;
}
@media (max-width:800px){
    .welfare_column{
        width:100%;
    }
}

.welfare_title{
    margin-bottom:1.6vw;
    font-size:1.5vw;
}
@media (max-width:800px){
    .welfare_title{
        margin-bottom:20px;
        font-size:18px;
    }
}

.welfare_column ul{
    margin:0;
    padding:0;
    list-style:none;
}

.welfare_column li{
    position:relative;
    margin-bottom:1vw;
    padding-left:2.2vw;
    line-height:1.8;
}
@media (max-width:800px){
    .welfare_column li{
        margin-bottom:10px;
        padding-left:22px;
        font-size:14px;
    }
}

.welfare_column li::before{
  content:"";
  position:absolute;
  left:0;
  top:1vw;
  width:0.875vw;
  aspect-ratio:1;
  border-radius:50%;
  background:#f15a24;
  transform:translateY(-50%);
}
@media (max-width:800px){
  .welfare_column li::before{
    top:14px;
    width:10px;
  }
}

.welfare_image{
    margin-top:2vw;
}
@media (max-width:800px){
    .welfare_image{
        margin-top:20px;
    }
}

.welfare_image img{
    display:block;
    width:100%;
    object-fit:cover;
    border-radius:2.5vw;
}
@media (max-width:800px){
    .welfare_image img{
        border-radius:24px;
    }
}

/* ============ 共通ラッパー ============ */
.intv_wrap {
  width: 73%;
  margin: 0 auto 0 20.5vw;   /* 左端を写真エリアの左端に合わせる */
}
@media (max-width: 800px) {
  .intv_wrap {
    width: auto;
    margin: 0 22px;
  }
}
 
/* 01〜04：画面ほぼいっぱいの横幅 */
.intv_sections {
  padding: 0 5%;
}
@media (max-width: 800px) {
  .intv_sections {
  }
}
 
/* ============ ヒーロー ============ */
.intv_hero {
  display: grid;
  grid-template-columns: 16vw 1fr;
  align-items: stretch;
  column-gap: 2vw;
  margin: 4% 0 0 3%;
}
@media (max-width: 800px) {
  .intv_hero {
    display: block;
    width: auto;
    margin: 30px 0 30px 5%;
  }
}
 
.intv_hero_left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.5vw 0 0;
}
@media (max-width: 800px) {
  .intv_hero_left {
    display: block;
    padding: 0;
  }
}
 
.intv_num {
  width: 60%;
}
@media (max-width: 800px) {
  .intv_num {
    width: 90px;
  }
}
 
.intv_eyebrow {
  font-family: "Albert Sans", sans-serif;
  font-size: 2vw;
  letter-spacing: 0.07em;   /* #01 と同じ横幅にそろえる */
  color: #898989;
}
@media (max-width: 800px) {
  .intv_eyebrow {
    margin-top: 6px;
    font-size: 19px;
  }
}
 
.intv_hero_profile {
  margin-top: 2vw;
}
@media (max-width: 800px) {
  .intv_hero_profile {
    margin-top: 20px;
  }
}
 
.intv_dept {
  font-size: 1.75vw;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #1f1f1f;
}
@media (max-width: 800px) {
  .intv_dept {
    font-size: 18px;
  }
}
 
.intv_name {
  margin-top: 0.5vw;
  font-size: 1.25vw;
  letter-spacing: 0.05em;
  color: #333333;
}
@media (max-width: 800px) {
  .intv_name {
    margin-top: 6px;
    font-size: 18px;
  }
}
 
.intv_join {
  margin-top: 0.7vw;
  font-size: 0.9vw;
  letter-spacing: 0.05em;
  color: #7a7a7a;
}
@media (max-width: 800px) {
  .intv_join {
    margin-top: 8px;
    font-size: 13px;
  }
}
 
/* ヒーロー写真＋縦ラベル */
.intv_hero_visual {
  position: relative;
}
@media (max-width: 800px) {
  .intv_hero_visual {
    margin-top: 16px;
    padding-left: 15px;   /* 写真の左端を「誇りとやりがいを」ラベルの中央に合わせる */
    margin-right: -22px;  /* ヒーロー右マージンを打ち消して右端まで */
  }
}
 
.intv_hero_photo {
  position: relative;
  overflow: hidden;
  border-radius: 1.4vw 0 0 1.4vw;   /* 左上・左下だけ丸角（右はそのまま） */
  background-color: #d9d9d9;
  aspect-ratio: 73 / 42;
}
@media (max-width: 800px) {
  .intv_hero_photo {
    border-radius: 16px 0 0 16px;
    aspect-ratio: 4 / 3;
  }
}
 
.intv_hero_photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
 
.intv_hero_caption {
  position: absolute;
  right: 0;
  bottom: 2.5vw;
  padding: 0.5vw 1vw;
  background-color: rgba(20, 32, 46, 0.82);
  color: #ffffff;
  font-size: 0.85vw;
  letter-spacing: 0.06em;
}
@media (max-width: 800px) {
  .intv_hero_caption {
    bottom: 26px;
    padding: 6px 12px;
    font-size: 12px;
  }
}
 
.intv_hero_labels {
  position: absolute;
  top: 50%;
  left: -3vw;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: row-reverse;   /* 支える(前)=右／誇り(後)=左 */
  align-items: center;           /* 左の「誇りとやりがいを」を写真の中央に */
  gap: 1.4vw;                    /* ラベル同士の間隔 */
}
@media (max-width: 800px) {
  .intv_hero_labels {
    left: -8px;   /* 写真の左端よりさらに外へはみ出す */
    gap: 16px;
  }
}
 
.intv_hero_label {
  writing-mode: vertical-rl;
  padding: 2.3vw 1vw;
  background-color: #ffffff;
  color: #222222;
  font-size: 1.95vw;
  font-weight: 500;
  letter-spacing: 0.24em;
}
@media (max-width: 800px) {
  .intv_hero_label {
    padding: 13px 9px;
    font-size: 15px;
    letter-spacing: 0.16em;
  }
}
 
/* 右の「支える仕事に」を少し上へずらす */
.intv_hero_label_first {
  position: relative;
  top: -2.6vw;
}
@media (max-width: 800px) {
  .intv_hero_label_first {
    top: -28px;
  }
}
 
/* 左の「誇りとやりがいを」を少し下げて段差をつける（PCのみ） */
.intv_hero_label_down {
  position: relative;
  top: 2vw;
}
@media (max-width: 800px) {
  .intv_hero_label_down {
    top: 0;
  }
}
 
/* ============ Introduction ============ */
.intv_intro {
  display: grid;
  grid-template-columns: 20% 80%;
  column-gap: 2vw;
  align-items: start;
  margin-top: 5vw;
  width: 100%;
}
@media (max-width: 800px) {
  .intv_intro {
    display: block;
    margin-top: 44px;
  }
}
 
.intv_intro_headwrap {
  position: relative;
}
 
/* 黄色の楕円あしらい（仮のSVG。実画像に差し替えるときは src を変更） */
.intv_intro_deco {
  position: absolute;
  top: -1.35vw;     /* 文字より少し上 */
  left: -1.3vw;     /* 文字の先頭に少し重なる */
  width: 4vw;
  height: auto;
  z-index: 0;       /* 文字の後ろ */
  pointer-events: none;
}
@media (max-width: 800px) {
  .intv_intro_deco {
    top: -16px;
    left: -12px;
    width: 50px;
  }
}
 
.intv_intro_head {
  position: relative;
  z-index: 1;       /* 文字はあしらいの前 */
  font-family: "Albert Sans", sans-serif;
  font-weight: 700;
  font-size: 1.9vw;
  color: #1b2b3c;
  letter-spacing: 0.04em;
}
@media (max-width: 800px) {
  .intv_intro_head {
    font-size: 26px;
    margin-bottom: 16px;
  }
}
 
.intv_intro_text {
  font-size: 0.95vw;
  color: #3a3a3a;
}
@media (max-width: 800px) {
  .intv_intro_text {
    font-size: 15px;
  }
}
 
/* ============ セクション共通 ============ */
.intv_sec {
  margin-top: 5.5vw;
}
@media (max-width: 800px) {
  .intv_sec {
    margin-top: 48px;
  }
}
 
.intv_sec_num {
  display: inline-block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7vw;
  font-weight: 700;
  line-height: 1;
  color: #d98b6f;
  padding: 0.3vw 0.55vw;
  border-radius: 0.4vw;
  background-color: #f7ede6;
}
@media (max-width: 800px) {
  .intv_sec_num {
    font-size: 22px;
    padding: 4px 8px;
    border-radius: 5px;
  }
}
 
/* ===== 01専用：番号あしらい（ブロブ画像） ===== */
.intv_sec01 {
  position: relative;
}
 
.intv_sec_deco {
  position: absolute;
  z-index: 0;        /* 番号・見出しの後ろ */
  top: -1vw;
  left: -1.7vw;
  width: 4.2vw;
  height: auto;
  pointer-events: none;
}
@media (max-width: 800px) {
  .intv_sec_deco {
    top: -22px;
    left: -12px;
    width: 50px;
  }
}
 
/* 01の番号：あしらいの上にのせる（背景の楕円は無し・グレー） */
.intv_sec_num.intv_sec_num_plain {
  position: relative;
  z-index: 1;
  background: transparent;
  padding: 0;
  color: #555555;
  font-size: 2vw;
}
@media (max-width: 800px) {
  .intv_sec_num.intv_sec_num_plain {
    font-size: 26px;
  }
}
 
.intv_sec01 .intv_sec_title {
  position: relative;
  z-index: 1;   /* 見出しはあしらいの前 */
}
 
/* ===== 02・04：番号あしらい（ベージュ箱の中） ===== */
.intv_sec02,
.intv_sec04 {
  position: relative;
}
/* 箱の中でも番号の白背景を消す */
.intv_box .intv_sec_num.intv_sec_num_plain {
  background: transparent;
  padding: 0;
}
.intv_sec02 .intv_sec_deco,
.intv_sec04 .intv_sec_deco {
  top: 2.3vw;
  left: 1.9vw;
  width: 4vw;
}
@media (max-width: 800px) {
  .intv_sec02 .intv_sec_deco,
  .intv_sec04 .intv_sec_deco {
    top: 20px;
    left: 4px;
    width: 50px;
  }
}
.intv_sec02 .intv_sec_title,
.intv_sec04 .intv_sec_title {
  position: relative;
  z-index: 1;
}
 
/* ===== 03：番号あしらい＋写真を見出しに整列（写真は左） ===== */
.intv_sec03_num {
  position: relative;
}
@media (max-width: 800px) {
.intv_sec03_num {
  margin: 60px 0 0;
}
}


.intv_sec03 .intv_sec_deco {
  top: -1vw;
  left: -1.7vw;
  width: 4vw;
}
@media (max-width: 800px) {
  .intv_sec03 .intv_sec_deco {
    top: -22px;
    left: -12px;
    width: 50px;
  }
}
.intv_sec03 .intv_sec_title {
  position: relative;
  z-index: 1;
}
/* 写真の上端を見出し（総合職としての…）に合わせる */
@media (min-width: 801px) {
  .intv_photo03 {
    margin-top: 1vw;
  }
}
 
.intv_sec_title {
  margin-top: 1vw;
  font-size: 1.7vw;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: #1f1f1f;
}
@media (max-width: 800px) {
  .intv_sec_title {
    margin-top: 12px;
    font-size: 18px;
  }
}
 
/* 質問（—— で始まる） */
.intv_q {
  margin-top: 1.8vw;
  font-size: 1vw;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #2a2a2a;
}
@media (max-width: 800px) {
  .intv_q {
    margin-top: 22px;
    font-size: 16px;
  }
}
 
.intv_q::before {
  content: "";
  display: inline-block;
  width: 2vw;
  height: 0;
  border-top: 1px solid #000000;   /* ―― ではなく黒のボーダー線 */
  vertical-align: middle;
  margin-right: 0.6vw;
}
@media (max-width: 800px) {
  .intv_q::before {
    width: 26px;
    margin-right: 8px;
  }
}
 
/* 回答 */
.intv_a {
  margin-top: 0.8vw;
  font-size: 0.95vw;
  color: #3a3a3a;
}
@media (max-width: 800px) {
  .intv_a {
    margin-top: 10px;
    font-size: 15px;
  }
}
 
/* ============ 01・03：本文＋写真の2カラム ============ */
.intv_cols {
  display: grid;
  column-gap: 3vw;
  align-items: start;
}
 
.intv_cols_photo_right {
  grid-template-columns: 1fr 34%;
}
@media (max-width: 800px) {
  .intv_cols_photo_right {
    display: block;
  }
}
 
.intv_cols_photo_left {
  grid-template-columns: 34% 1fr;
  grid-template-rows: auto auto auto 1fr;   /* ← 追加 */
  grid-template-areas:
    ".     num"
    "photo heading"
    "photo qa"
    "photo .";                              /* ← この行を追加 */
}
.intv_cols_photo_left .intv_sec03_num { grid-area: num; }
.intv_cols_photo_left .intv_sec_title { grid-area: heading; }
.intv_cols_photo_left .intv_photo { grid-area: photo; }
.intv_cols_photo_left .intv_qa { grid-area: qa; }
@media (max-width: 800px) {
  .intv_cols_photo_left {
    display: block;   /* DOM順（番号→見出し→写真→本文）で縦積み */
  }
}
 
.intv_photo {
  overflow: hidden;
  border-radius: 1.5vw;
  background-color: #d9d9d9;
  aspect-ratio: 4 / 3;
}
@media (max-width: 800px) {
  .intv_photo {
    border-radius: 15px;
    margin-top: 18px;
  }
}
 
.intv_photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
 
/* 縦長写真（横3：縦4） */
.intv_photo_portrait {
  aspect-ratio: 3 / 4;
}
 
/* 01の写真：上端を見出し（ミノツ鉄工を選んだ理由と）に合わせる */
@media (min-width: 801px) {
  .intv_head_row .intv_photo {
    margin-top: 1vw;
  }
}
 
/* 01：写真は右上・タイトルの高さに合わせる */
.intv_head_row {
  display: grid;
  grid-template-columns: 1fr 34%;
  grid-template-rows: auto auto 1fr;   /* ← 追加：3行目が写真の余り高さを吸収 */
  grid-template-areas:
    "heading photo"
    "qa      photo"
    ".       photo";                    /* ← 3行目を追加 */
  column-gap: 3vw;
  align-items: start;
}
.intv_head_row .intv_sec_title { grid-area: heading; }
.intv_head_row .intv_qa { grid-area: qa; }
.intv_head_row .intv_photo { grid-area: photo; }
@media (max-width: 800px) {
  .intv_head_row {
    display: block;   /* DOM順（見出し→写真→本文）で縦積み */
  }
}
 
/* ============ 02・04：ベージュのボックス ============ */
.intv_box {
  margin-top: 5.5vw;
  padding: 3vw 3.5vw;
  border-radius: 1.2vw;
  background-color: #f5e8d7;
}
@media (max-width: 800px) {
  .intv_box {
    margin-top: 48px;
    padding: 30px 24px;
    border-radius: 14px;
  }
}

.intv_box2 {
  margin-top: 5.5vw;
  padding: 3vw 3.5vw;
  border-radius: 2vw;
  background-color: #fff;
}
@media (max-width: 800px) {
  .intv_box2 {
    margin-top: 48px;
    padding: 30px 24px;
    border-radius: 20px;
  }
}

.intv_box .intv_sec_num {
  background-color: #ffffff;
}
 
/* ============ 一覧へボタン ============ */
.intv_footer {
  text-align: center;
  margin: 4.5vw 0 0;
}
@media (max-width: 800px) {
  .intv_footer {
    margin: 54px 0 0;
  }
}
 
.intv_back {
  display: inline-flex;
  align-items: center;
  gap: 1vw;
  text-decoration: none;
  color: #2a2a2a;
  font-size: 1.05vw;
  font-weight: 700;
  letter-spacing: 0.08em;
}
@media (max-width: 800px) {
  .intv_back {
    gap: 12px;
    font-size: 16px;
  }
}
 
.intv_back_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6vw;
  height: 2.6vw;
  border-radius: 50%;
  background-color: #d98b6f;
  color: #ffffff;
  flex-shrink: 0;
}
@media (max-width: 800px) {
  .intv_back_icon {
    width: 40px;
    height: 40px;
  }
}
 
.intv_back_icon svg {
  width: 40%;
  height: 40%;
}

.page_inta_01, .page_inta_02, .page_inta_03, .page_inta_04, .page_inta_05 {
  background: #f9f5f2;
}

.entry_section {
  padding-bottom: 10vw;
}
@media (max-width: 800px) {
  .entry_section {
    padding: 30px 0 80px;
  }
}

.entry_title {
  display: block;
  margin: 0 auto 5vw;
  width: 25%;
}
@media (max-width: 800px) {
.entry_title {
  margin: 0 auto 50px;
  width: 300px;
}
}

.entry_comen {
  width: 40%;
  margin: 0 auto 5vw;
}
@media (max-width: 800px) {
.entry_comen {
  width: 90%;
  max-width: 400px;
  margin: 0 auto 50px;
}
}

.large_text {
  font-size: 170%;
  letter-spacing: .2em;
}
@media (max-width: 800px) {
.large_text {
  font-size: 18px;
  letter-spacing: 2px;
}
}

.small_text {
  margin: 1vw 0 3vw;
}
@media (max-width: 800px) {
.small_text {
  margin: 20px 0 40px;
}
}

.page_recruit.subpage_title {
  margin: 0 auto 1%;
}
@media (max-width: 800px) {
.page_recruit.subpage_title {
  margin: 0 auto 20px;
}
}

.intv_outro {                     /* 画面いっぱいの濃ベージュ帯 */
  background-color: #f5e8d7;
  margin-top: 6vw;
  padding: 1vw 0 10vw;
}
@media (max-width: 800px) {
.intv_outro {
  margin-top: 50px;
  padding: 10px 0 80px;
}
}

.intv_outro_inner { margin: 0 5vw; }   /* 01〜03と同じ幅 */
.intv_box.intv_sec04 {            /* 04だけ白背景 */
  background-color: #ffffff;
  margin-top: 0;
}


/* アーカイブページ
-----------------------------------------------------*/
.information_section {
  position: relative;
  padding: 4vw 1% 3vw 0;
}
@media (max-width: 800px) {
  .information_section {
    padding: 20px 10px 0 0;
  }
}
 
.information_head {
  position: relative;
  z-index: 1;
  text-align: center;
}
 
.information_label {
  display: inline-block;
  color: #4da2cb;
  font-weight: bold;
  letter-spacing: 0.15em;
  border-bottom: 3px solid #f4c33c;
  font-size: 1.4vw;
  padding-bottom: 0.4vw;
}
@media (max-width: 800px) {
  .information_label {
    font-size: 15px;
    padding-bottom: 5px;
  }
}
 
.information_title {
  color: #2b2b2b;
  font-weight: bold;
  font-size: 2.5vw;
  margin-top: 1vw;
}
@media (max-width: 800px) {
  .information_tabs {
    display: grid;                    /* flex → grid に変更 */
    grid-template-columns: 1fr 1fr;   /* 2列 */
    gap: 10px;
    margin: 30px 0 35px;
  }
}
 
.information_tabs {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1vw;
  margin: 3vw 0 4vw;
}
@media (max-width: 800px) {
  .information_tabs {
    display: grid;                    /* flex → grid に変更 */
    grid-template-columns: 1fr 1fr;   /* 2列 */
    gap: 10px;
    margin: 30px 0 35px;
  }
}
 
.information_tab {
  display: inline-block;
  background: #f9f5f2;
  color: #4da2cb;
  font-weight: bold;
  text-decoration: none;
  border-bottom: 3px solid #4da2cb;
  border-radius: 8px 8px 0 0;
  font-size: 1.4vw;
  padding: 0.9vw 3vw;
  box-sizing: border-box;            /* 追加（幅計算のズレ防止） */
}
@media (max-width: 800px) {
  .information_tab {
    font-size: 15px;
    padding: 10px 22px;
    text-align: center;              /* 追加（中央寄せ） */
  }
}
 
.information_tab.is_active {
  background: #4da2cb;
  color: #fff;
  border-bottom-color: #4da2cb;
}
 
.information_list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 4vw;
  row-gap: 4vw;
}
@media (max-width: 800px) {
  .information_list {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 30px;
  }
}
 
.information_card_link {
  display: block;
  color: inherit;
  text-decoration: none;
}
 
.information_thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #dfe7ea;
  border-radius: 1vw;
  box-shadow: 1vw 1vw 0 0 #f9f5f2;
}
@media (max-width: 800px) {
  .information_thumb {
    border-radius: 10px;
    box-shadow: 10px 10px 0 0 #f9f5f2;
  }
}
 
.information_thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
 
.information_card_link:hover .information_thumb img {
  transform: scale(1.1);
}
 
.information_meta {
  display: flex;
  align-items: center;
  gap: 1vw;
  padding: 3vw 0 0 0;
}
@media (max-width: 800px) {
  .information_meta {
    gap: 10px;
    padding: 30px 0 0;
  }
}
 
.information_cat {
  background: #4da2cb;
  color: #fff;
  font-weight: bold;
  white-space: nowrap;
  border-radius: 4px;
  font-size: 0.95vw;
  padding: 0.35vw 1vw;
}
@media (max-width: 800px) {
  .information_cat {
    font-size: 12px;
    padding: 5px 20px;
  }
}
 
.information_date {
  color: #7a7a7a;
  font-size: 1.2vw;
  font-family: "Albert Sans", sans-serif;
}
@media (max-width: 800px) {
  .information_date {
    font-size: 15px;
  }
}
 
.information_card_title {
  color: #222;
  font-size: 1.2vw;
  margin: 1vw 0 0.6vw;
}
@media (max-width: 800px) {
  .information_card_title {
    font-size: 15px;
    margin: 12px 0 8px;
  }
}
 
.information_card_text {
  color: #666;
  line-height: 1.6;
  font-size: .9vw;
}
@media (max-width: 800px) {
  .information_card_text {
    font-size: 13px;
  }
}
 
.information_none {
  grid-column: 1 / -1;
  text-align: center;
  color: #666;
  font-size: 1.2vw;
  padding: 3vw 0;
}
@media (max-width: 800px) {
  .information_none {
    font-size: 15px;
    padding: 30px 0;
  }
}
 
.information_pager {
  margin-top: 5vw;
}
@media (max-width: 800px) {
  .information_pager {
    margin-top: 40px;
  }
}

.single_pegenavi {
    margin: 3vw 0 0;
    overflow: hidden;
}

.archive_pagenavi {
      margin: 3vw 0 0;
    overflow: hidden;
}

.wp-pagenavi {
    clear: both;
    text-align: center;
}

.wp-pagenavi a, .wp-pagenavi span {
    background-color: #fff;
    border: solid 1px #4da2cb;
    box-sizing: border-box;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5em;
    height: 2.5em;
    aspect-ratio: 1 / 1;   /* 念のため正方形を保証 */
    padding: 0;
    border-radius: 50%;

    border-radius: 100px;
    white-space: nowrap;
    text-align: center;
    text-decoration: none;
    transition: 0.2s ease-in-out;
}

/* 「1 / 2」だけ横長のピル型に戻す */
.wp-pagenavi span.pages {
    width: auto;          /* 固定幅を解除 */
    aspect-ratio: auto;   /* 正方形の縛りを解除 */
    min-width: 2.5em;
    padding: 0 0.75em;    /* 左右に余白 */
}

.wp-pagenavi a:hover{
    color:#000; 
    background-color:#acdcf3; 
    border-color:#acdcf3;
}

.wp-pagenavi span.current {
    color: #fff;
    background-color: #4da2cb;
    border-color: #4da2cb;
    font-weight: bold;
}

.wp-pagenavi a, .wp-pagenavi span {
    padding: 9px 15px 10px 16px;
    margin: 10px 4px 0!important;
}

.pagenavi_prev {
    width: 50%;
    float: left;
}

.pagenavi_next {
    width: 50%;
    float: right;
}

.pagenavi_inner {
    overflow: hidden;
    width: 100%;
}


.navi_title_next {
    text-align: right;
}

.pagenavi_prev a:hover, .pagenavi_next a:hover {
    color: #4da2cb;
}


/* シングルページ
-----------------------------------------------------*/
.delivery_header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2.1vw;
  margin-bottom: 2.85vw;
}
@media (max-width: 800px) {
  .delivery_header {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
  }
}
 
.delivery_header_text {
  flex: 1 1 auto;
  min-width: 0;
}
 
.delivery_meta {
  display: flex;
  align-items: center;
  gap: 1vw;
  margin: 0 0 1.4vw;
}
@media (max-width: 800px) {
  .delivery_meta {
    gap: 14px;
    margin: 0 0 20px;
  }
}
 
.delivery_label {
  display: inline-block;
  background: #4da2cb;
  color: #fff;
  line-height: 1;
  border-radius: 4px;
  font-size: 1vw;
  padding: 0.5vw 0.85vw;
}
@media (max-width: 800px) {
  .delivery_label {
    font-size: 14px;
    padding: 7px 12px;
  }
}
 
.delivery_date {
  font-weight: 500;
  color: #737373;
  letter-spacing: 1px;
  font-size: 1.55vw;
  font-family: "Albert Sans", sans-serif;
}
@media (max-width: 800px) {
  .delivery_date {
    font-size: 18px;
  }
}
 
.delivery_title {
  color: #222;
  line-height: 1.5;
  margin: 0;
  font-size: 1.3vw;
}
@media (max-width: 800px) {
  .delivery_title {
    font-size: 16px;
  }
}
 
/* ▼ サムネイル（白シャドー付き） */
.delivery_thumb {
  flex: 0 0 auto;
  max-width: 40%;
  margin: 0 0 3vw;
  width: 28.5vw;
  padding: 0 1vw 0 0;
}
@media (max-width: 800px) {
  .delivery_thumb {
    width: 100%;
    max-width: 100%;
    padding: 0 10px 0 0;
    margin: 0;
  }
}
 
.delivery_thumb img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 1vw 1vw 0 0 #fff;
}
@media (max-width: 800px) {
  .delivery_thumb img {
    box-shadow: 10px 10px 0 0 #fff;
  }
}
 
/* ▼ 本文（白背景） */
.delivery_body {
  background: #fff;
  border-radius: 24px;
  color: #333;
  font-weight: bold;
  line-height: 2.2;
  padding: 4.3vw 5vw;
}
@media (max-width: 800px) {
  .delivery_body {
    line-height: 1.9;
    padding: 20px;
  }
}
 
.delivery_body p {
  margin: 0 0 1.2em;
}
 
.delivery_body p:last-child {
  margin-bottom: 0;
}
 
.pankuzu {
  margin: 0 0 3vw;
  font-size: .8vw;
}
@media (max-width: 800px) {
.pankuzu {
  margin: 0 0 40px;
  font-size: 12px;
}
}

.pankuzu a {
  color: #a7a7a7
}

.pankuzu a:hover {
  color: #82caec;
}

.link_wrap {
  margin: 5vw 0 0;
  text-align: center;
}
@media (max-width: 800px) {
.link_wrap {
  margin: 50px 0 0;
}
}


/* footer area
-----------------------------------------------------*/
.footer {
    background: #4ca0cc;
    color: #ffffff;
    padding: 4vw 5% 2.5vw;
    line-height: 1.6;
  }
  @media screen and (max-width: 800px) {
    .footer {
      padding: 40px 24px 24px;
    }
  }
 
  .footer a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s;
  }
 
  .footer_inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4%;
  }
  @media screen and (max-width: 800px) {
    .footer_inner {
      flex-direction: column;
      gap: 32px;
    }
  }
 
  .footer_info {
    flex-shrink: 0;
  }
 
  .footer_logo {
    margin-bottom: 1.8vw;
    width: 20vw;
  }
  @media screen and (max-width: 800px) {
    .footer_logo {
      margin-bottom: 20px;
      width: 230px;
    }
  }
 
  .footer_address {
    margin-bottom: 2.5vw;
    font-size: 1vw;
  }
  @media screen and (max-width: 800px) {
    .footer_address {
      margin-bottom: 28px;
      font-size: 15px;
    }
  }
 
  .footer_address p {
    margin: 0;
  }
 
  .footer_sns {
    display: flex;
    align-items: center;
    gap: 1vw;
  }
  @media screen and (max-width: 800px) {
    .footer_sns {
      gap: 14px;
    }
  }
 
  .footer_sns_label {
    margin-right: 0.6vw;
    font-size: 1.9vw;
    font-weight: bold;
    font-family: "Albert Sans", sans-serif;
  }
  @media screen and (max-width: 800px) {
    .footer_sns_label {
      margin-right: 8px;
      font-size: 26px;
    }
  }
 
  .footer_sns_link {
    display: inline-flex;
    width: 2vw;
    height: 2vw;
  }
  @media screen and (max-width: 800px) {
    .footer_sns_link {
      width: 28px;
      height: 28px;
    }
  }
 
  .footer_sns_link svg {
    width: 100%;
    height: 100%;
  }
 
  .footer_nav {
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-grow: 1;
    gap: 2%;
    padding-top: 3vw;
  }
  @media screen and (max-width: 800px) {
    .footer_nav {
      flex-wrap: wrap;
      gap: 28px 5%;
      padding-top: 24px;
    }
  }
 
  .footer_nav::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.55);
  }
 
  .footer_nav_col {
    flex: 0 0 auto;
  }
  @media screen and (max-width: 800px) {
    .footer_nav_col {
      flex: 0 0 45%;
    }
  }
 
  .footer_nav_head {
    position: relative;
    margin: 0 0 1vw;
    padding-left: 1.6vw;
    font-size: 1.05vw;
    font-weight: bold;
    white-space: nowrap;
  }
  @media screen and (max-width: 800px) {
    .footer_nav_head {
      margin: 0 0 12px;
      padding-left: 22px;
      font-size: 16px;
    }
  }
 
  .footer_nav_head::before {
    content: "→";
    position: absolute;
    top: 0;
    left: 0;
    color: #f4d117;
    font-weight: bold;
  }
 
  .footer_nav_list {
    margin: 0;
    padding: 0;
    list-style: none;
  }
 
  .footer_nav_list li {
    position: relative;
    margin-bottom: 0.6vw;
    padding-left: 1.6vw;
    font-size: 0.85vw;
  }
  @media screen and (max-width: 800px) {
    .footer_nav_list li {
      margin-bottom: 8px;
      padding-left: 14px;
      font-size: 14px;
    }
  }
 
  .footer_nav_list li::before {
    content: "-";
    position: absolute;
    top: 0;
    left: 0.4vw;
  }
  @media screen and (max-width: 800px) {
    .footer_nav_list li::before {
      left: 2px;
    }
  }
 
  .footer_btns {
    width: 90%;
    display: flex;
    justify-content: space-between;
    gap: 4%;
    margin: 4vw auto 0;
  }
  @media screen and (max-width: 800px) {
    .footer_btns {
      width: 100%;
      flex-direction: column;
      gap: 16px;
      margin-top: 36px;
    }
  }
 
  .footer_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1vw;
    width: 26%;
    padding: .4vw 0;
    font-size: 2.6vw;
    font-weight: bold;
    font-family: "Albert Sans", sans-serif;
  }
  @media screen and (max-width: 800px) {
    .footer_btn {
      gap: 12px;
      width: 100%;
      padding: 10px 0;
      font-size: 32px;
      border-radius: 4px;
    }
  }
 
.footer_btns .footer_btn_contact {
  background: #ffffff;
  color: #4c96c4;
}

.footer_btns .footer_btn_recruit {
  background: #f4d117;
  color: #333333;
}
 
  .footer_copy {
    margin: 3vw 0 0;
    font-size: 1vw;
    text-align: center;
    letter-spacing: 0.1em;
    font-family: "Albert Sans", sans-serif;
  }
  @media screen and (max-width: 800px) {
    .footer_copy {
      margin: 32px 0 0;
      font-size: 13px;
    }
  }

.btn_arrow {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.btn_arrow::after {
  content: "";
  display: inline-block;
  width: 1.6vw;
  height: 1.6vw;
  margin-left: 0.6vw;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15'/%3E%3Cpath d='M13 6l6 6-6 6'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15'/%3E%3Cpath d='M13 6l6 6-6 6'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  transition: transform 0.3s ease;
}
@media (max-width: 800px) {
  .btn_arrow::after {
    width: 22px;
    height: 22px;
    margin-left: 8px;
  }
}

.btn_arrow:hover::after {
  transform: translateX(0.4vw);
}
@media (max-width: 800px) {
  .btn_arrow:hover::after {
    transform: translateX(5px);
  }
}


/* 問い合わせ、エントリー
-----------------------------------------------------*/
.wrap {
  position: relative;
  background: #f9f5f2;
}
 
/* ===== 見出し ===== */
.page_title {
  font-family: "Albert Sans", sans-serif;
  font-weight: 900;
  font-size: 4.75vw;
  letter-spacing: 0.13vw;
  line-height: 1;
  padding: 1.63vw 0 0 3%;
  color: #e8bf70;
  -webkit-text-stroke: 0.13vw #000;
  text-stroke: 0.13vw #000;
  paint-order: stroke fill;
}
@media (max-width: 800px) {
  .page_title {
    font-size: 40px;
    letter-spacing: 4px;
    padding: 20px 0 0 15px;
    -webkit-text-stroke: 2px #000;
    text-stroke: 2px #000;
  }
}
 
.page_subtitle {
  color: #e8654a;
  font-weight: 700;
  font-size: 1.19vw;
  letter-spacing: 0.1vw;
  margin-top: 0.88vw;
  padding: 0 0 0 3%;
}
@media (max-width: 800px) {
  .page_subtitle {
    font-size: 15px;
    letter-spacing: 1px;
    margin-top: 10px;
    padding: 0 0 0 15px;
  }
}
 
/* ===== リード文 ===== */
.intro {
  text-align: center;
  margin-top: 4vw;
  font-size: 1vw;
  color: #4a4a4a;
}
@media (max-width: 800px) {
  .intro {
    text-align: left;
    margin-top: 40px;
    font-size: 14px;
  }
}
 
/* ===== 電話カード ===== */
.phone_card {
  background: #fff;
  width: 35%;
  margin: 2vw auto 4vw;
  padding: 1.63vw 1.25vw 1.5vw;
  border-radius: 0.6vw;
  text-align: center;
}
@media (max-width: 800px) {
  .phone_card {
    width: 100%;
    margin: 26px auto 100px;
    padding: 20px 16px 18px;
    border-radius: 10px;
  }
}
 
.phone_label {
  font-size: 0.88vw;
  color: #6a6a6a;
}
@media (max-width: 800px) {
  .phone_label {
    font-size: 13px;
  }
}
 
.phone_number {
  font-size: 2.4vw;
  font-weight: 800;
  letter-spacing: 0.3vw;
  color: #757575;
  margin: 0.38vw 0 0.25vw;
  font-family: "Albert Sans", sans-serif;
}
@media (max-width: 800px) {
  .phone_number {
    font-size: 32px;
    letter-spacing: 2px;
    margin: 6px 0 4px;
  }
}
 
.phone_hours {
  font-size: 0.88vw;
  color: #7a7a7a;
}
@media (max-width: 800px) {
  .phone_hours {
    font-size: 13px;
  }
}
 
/* ===== フォーム ===== */
.form_section {
  position: relative;
}
@media (max-width: 800px) {
  .form_section {
  }
}
 
.crane_top {
  position: absolute;
  top: -10vw;
  right: 10vw;
  width: 9.38vw;
  height: 9.38vw;
  z-index: 2;
}
@media (max-width: 800px) {
  .crane_top {
    top: -100px;
    right: 4px;
    width: 100px;
    height: 100px;
  }
}
 
.form_card {
  background: #fff;
  border-radius: 1vw;
  padding: 3.5vw 6vw;
  width: 80%;
  margin: 0 auto;
}
@media (max-width: 800px) {
  .form_card {
    border-radius: 20px;
    padding: 28px 20px 24px;
    width: 100%;
  }
}
 
.radios {
  display: flex;
  gap: 2.13vw;
  margin-bottom: 2.13vw;
  font-size: 1vw;
}
@media (max-width: 800px) {
  .radios {
    gap: 24px;
    margin-bottom: 24px;
    font-size: 15px;
  }
}
 
.radios label {
  display: flex;
  align-items: center;
  gap: 0.75vw;
  cursor: pointer;
}
@media (max-width: 800px) {
  .radios label {
    gap: 8px;
  }
}
 
.radios input {
  accent-color: #e8654a;
  width: 1vw;
  height: 1vw;
}
@media (max-width: 800px) {
  .radios input {
    width: 16px;
    height: 16px;
  }
}
 
.field {
  margin-bottom: 1.63vw;
}
@media (max-width: 800px) {
  .field {
    margin-bottom: 20px;
  }
}
 
.flabel {
  display: flex;
  align-items: center;
  gap: 0.75vw;
  font-size: 1vw;
  letter-spacing: 0.13vw;
  margin-bottom: 0.63vw;
}
@media (max-width: 800px) {
  .flabel {
    gap: 12px;
    font-size: 15px;
    letter-spacing: 2px;
    margin-bottom: 8px;
  }
}
 
.badge {
  background: #e8654a;
  color: #fff;
  font-weight: 700;
  font-size: 0.69vw;
  letter-spacing: 0.06vw;
  padding: 0.19vw 0.56vw;
  border-radius: 0.19vw;
}
@media (max-width: 800px) {
  .badge {
    font-size: 10px;
    letter-spacing: 1px;
    padding: 3px 8px;
    border-radius: 3px;
  }
}
 
.note {
  color: #e8654a;
  font-size: 0.69vw;
  font-weight: 700;
}
@media (max-width: 800px) {
  .note {
    font-size: 10px;
  }
}
 
.input_text {
  width: 100%;
  border: 0.06vw solid #d7d7d7;
  border-radius: 0.31vw;
  padding: 0.75vw 0.88vw;
  height: 2.88vw;
  font-size: 0.94vw;
  font-family: inherit;
  color: #333333;
  background: #fff;
}
@media (max-width: 800px) {
  .input_text {
    border: 1px solid #d7d7d7;
    border-radius: 5px;
    padding: 10px 12px;
    height: 44px;
    font-size: 15px;
  }
}
 
.input_text:focus {
  outline: none;
  border-color: #5aa6d6;
}
 
.textarea {
  width: 100%;
  border: 0.06vw solid #d7d7d7;
  border-radius: 0.31vw;
  padding: 0.75vw 0.88vw;
  font-size: 0.94vw;
  font-family: inherit;
  color: #333333;
  background: #fff;
  resize: vertical;
}
@media (max-width: 800px) {
  .textarea {
    border: 1px solid #d7d7d7;
    border-radius: 5px;
    padding: 10px 12px;
    font-size: 15px;
  }
}
 
.textarea:focus {
  outline: none;
  border-color: #5aa6d6;
}
 
/* ===== プライバシー ===== */
.privacy_btn {
  display: inline-block;
  border: 0.06vw solid #5aa6d6;
  color: #555;
  background: #fff;
  border-radius: 1.38vw;
  padding: 0.56vw 1.88vw;
  font-size: 0.88vw;
  font-weight: 700;
  margin: 0.88vw 0 1.38vw;
}
@media (max-width: 800px) {
  .privacy_btn {
    border: 1px solid #5aa6d6;
    border-radius: 22px;
    padding: 9px 24px;
    font-size: 13px;
    margin: 14px 0 22px;
  }
}
 
.privacy_lead {
  font-size: 0.81vw;
  font-weight: 700;
  margin-bottom: 0.88vw;
}
@media (max-width: 800px) {
  .privacy_lead {
    font-size: 12px;
    margin-bottom: 14px;
  }
}
 
.privacy_list {
  font-size: 0.75vw;
  color: #666;
  line-height: 1.9;
}
@media (max-width: 800px) {
  .privacy_list {
    font-size: 11px;
  }
}
 
.privacy_list p {
  margin-bottom: 0.5vw;
  padding-left: 0.75vw;
  text-indent: -0.75vw;
}
@media (max-width: 800px) {
  .privacy_list p {
    margin-bottom: 8px;
    padding-left: 12px;
    text-indent: -12px;
  }
}
 
.agree {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.63vw;
  margin: 1.88vw 0 1.63vw;
  font-size: 0.88vw;
}
@media (max-width: 800px) {
  .agree {
    gap: 10px;
    margin: 30px 0 26px;
    font-size: 13px;
  }
}
 
.agree input {
  width: 1vw;
  height: 1vw;
  accent-color: #5aa6d6;
}
@media (max-width: 800px) {
  .agree input {
    width: 16px;
    height: 16px;
  }
}
 
.submit {
  display: block;
  margin: 0 auto;
  background: #5aa6d6;
  color: #fff;
  border: none;
  border-radius: 1.5vw;
  padding: 0.75vw 2.88vw;
  font-size: 1vw;
  font-weight: 700;
  letter-spacing: 0.38vw;
  cursor: pointer;
  font-family: "Noto Sans JP";
}
@media (max-width: 800px) {
  .submit {
    border-radius: 24px;
    padding: 12px 40px;
    font-size: 15px;
    letter-spacing: 4px;
  }
}
 
.submit:hover {
  background: #4a95c6;
}
 
.copyright {
  text-align: center;
  font-size: 0.8vw;
  font-weight: bold;
  color: #8a8a8a;
  letter-spacing: 0.06vw;
  margin-top: 2.13vw;
  font-family: "Albert Sans", sans-serif;
}
@media (max-width: 800px) {
  .copyright {
    font-size: 11px;
    letter-spacing: 1px;
    margin-top: 30px;
  }
}
 
/* ===== CTA ===== */
.cta_section {
  position: relative;
  margin-top: 4.38vw;
  padding-bottom: 10vw;
}
@media (max-width: 800px) {
  .cta_section {
    margin-top: 50px;
    padding-bottom: 80px;
  }
}
 
.birds {
  position: absolute;
  top: -0.75vw;
  right: 7.5vw;
  width: 6.88vw;
}
@media (max-width: 800px) {
  .birds {
    top: -30px;
    right: 16px;
    width: 80px;
  }
}
 
.cta_btn {
  display: block;
  width: 21.25%;
  margin: 0 auto;
  background: #f3d43e;
  color: #333333;
  text-align: center;
  text-decoration: none;
  font-size: 1.31vw;
  font-weight: 700;
  letter-spacing: 0.19vw;
  padding: 1.38vw 0;
  border-radius: 2.5vw;
}
@media (max-width: 800px) {
  .cta_btn {
    width: 88%;
    font-size: 17px;
    letter-spacing: 2px;
    padding: 18px 0;
    border-radius: 40px;
  }
}
 
/* ===== フッター ===== */
.footer2 {
  background: #c4b49b;
  position: relative;
  height: 13vw;
}
@media (max-width: 800px) {
  .footer2 {
    height: 22vw;
  }
}
 
.footer_cranes {
  position: absolute;
  bottom: 47%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
}
@media (max-width: 800px) {
  .footer_cranes {
    width: 80%;
  }
}

.page_entry .intro {
  text-align: center;
  margin: 4vw 0;
  color: #4a4a4a;
}
@media (max-width: 800px) {
  .page_entry .intro {
    text-align: left;
    margin: 30px 0 110px;
  }
}

/* ===== チェックボックス装飾 ===== */
.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 1vw;
}
@media (max-width:800px) {
  .checks {
    gap: 16px;
  }
}

/* 各選択肢のボックス */
.checks label {
  display: flex;
  align-items: center;
  min-width: 9.375vw;
  padding: 0.875vw 1.25vw;
  background: #eef2f7;
  border: 0.0625vw solid #e2e8f0;
  border-radius: 0.5vw;
  color: #333;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
@media (max-width:800px) {
  .checks label {
    min-width: 0;
    padding: 14px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    flex: 1 1 45%;
  }
}

.checks label:hover {
  background: #e6edf5;
}

/* 標準チェックボックスを隠す */
.checks input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.125vw;
  height: 1.125vw;
  margin: 0 0.625vw 0 0;
  flex-shrink: 0;
  background: #fff;
  border: 0.09375vw solid #b8c2ce;
  border-radius: 0.25vw;
  cursor: pointer;
  position: relative;
  transition: background .2s, border-color .2s;
}
@media (max-width:800px) {
  .checks input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0 10px 0 0;
    border: 1.5px solid #b8c2ce;
    border-radius: 4px;
  }
}

/* チェック時：青い枠＋白いチェックマーク */
.checks input[type="checkbox"]:checked {
  background: #3b8fd0;
  border-color: #3b8fd0;
}

.checks input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 0.125vw;
  left: 0.375vw;
  width: 0.25vw;
  height: 0.5vw;
  border: solid #fff;
  border-width: 0 0.125vw 0.125vw 0;
  transform: rotate(45deg);
}
@media (max-width:800px) {
  .checks input[type="checkbox"]:checked::after {
    top: 2px;
    left: 6px;
    width: 4px;
    height: 8px;
    border-width: 0 2px 2px 0;
  }
}

/* チェック時はボックスも少し強調 */
.checks label:has(input:checked) {
  background: #e3eef8;
  border-color: #3b8fd0;
}


/* 共通：見出しブロック、メイン画像（サブページ使い回し）
-----------------------------------------------------*/
.headline_eng {
  display: inline-block;
  font-size: 1.1vw;
  font-weight: bold;
  letter-spacing: 0.15em;
  color: #4da2cb;
  padding-bottom: 0.4em;
  border-bottom: 3px solid #f2d94e;
}
@media screen and (max-width: 800px) {
  .headline_eng {
    font-size: 13px;
  }
}
 
.headline_ttl {
  margin-top: 0.6em;
  font-size: 2vw;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: #222222;
}
@media screen and (max-width: 800px) {
  .headline_ttl {
    margin-top: 8px;
    font-size: 24px;
  }
}

.main_visual {
  width: 90%;
  border-radius: 0 40px 40px 0;
  overflow: hidden;
  aspect-ratio: 1400 / 570;
  background-color: #e6e6e8;
}
@media screen and (max-width: 800px) {
  .main_visual {
    border-radius: 0 20px 20px 0;
  }
}
 
.main_visual video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.subpage_fv_area_dots {
  position: absolute;
  top: 30vw;
  right: 0;
  width: 14%;
  z-index: 0;
}
@media (max-width: 800px) {
.subpage_fv_area_dots {
  top: 220px;
}
}

.left_up_dots {
  background-image: url(image/bg_mizutama5.png);
  background-repeat: no-repeat;
  background-position: left top 4%;
  background-size: 15%;
}

.left_dots {
  background-image: url(image/bg_mizutama4.png);
  background-repeat: no-repeat;
  background-position: left bottom 3%;
  background-size: 15%;
}

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

.lead_title {
  font-size: 2.1vw;
  font-weight: bold;
  letter-spacing: 0.25em;
  line-height: 1.6;
  color: #4da2cb;
  text-align: center;
}
@media screen and (max-width: 800px) {
  .lead_title {
    font-size: 20px;
    letter-spacing: 0.15em;
  }
}

.lead_body {
  margin-top: 1.5%;
  line-height: 2.4;
  letter-spacing: 0.08em;
  color: #333333;
  text-align: center;
}
@media screen and (max-width: 800px) {
  .lead_body {
    margin-top: 20px;
    line-height: 2.2;
    text-align: left;
  }
}


/* other
-----------------------------------------------------*/
.center, .center2 {
  text-align: center;
}
@media (max-width: 800px) {
  .center2 {
    text-align: left;
  }
}

.bg_blue {
  background-color: #d5e9f2;
}

.bg_beige {
  background-color: #f9f5f2;
}

.bg_white {
  background: #fff;
}

/* 各ブロックタイトル -------------*/
.policy-wrap {
  text-align: center;
}

.blue-title {
  display: inline-block;
  color: #4da2cb;
  font-size: 2vw;
  font-weight: bold;
  border-bottom: 4px solid #ffd200;
  font-family: "Albert Sans", sans-serif;
  margin: 0 0 1%;
}
@media (max-width: 800px) {
.blue-title {
  font-size: 22px;
  margin: 0 0 10px;
}
}

.block_title_la {
  font-size: 2vw;
  letter-spacing: .2em;
}
@media (max-width: 800px) {
.block_title_la {
  font-size: 20px;
}
}

.subpage_firsttitle {
  width: 94%;
  margin: 2% auto 3%;
}
@media (max-width: 800px) {
.subpage_firsttitle {
  width: 100%;
  margin: 0 0 20px 14px;
}
}

.subpage_title {
  margin: 0 auto 1%;
}
@media (max-width: 800px) {
.subpage_title {
  margin: 0 auto 20px;
}
}

.subpage_title .blue-title {
  display: inline-block;
  color: #4da2cb;
  font-size: 1.6vw;
  font-weight: bold;
  border-bottom: 4px solid #ffd200;
  font-family: "Albert Sans", sans-serif;
  margin: 0 0 .5%;
}
@media (max-width: 800px) {
.subpage_title .blue-title {
  font-size: 22px;
  margin: 0 0 10px;
}
}

.subpage_title .block_title_la {
  font-size: 1.9vw;
  letter-spacing: .2em;
}
@media (max-width: 800px) {
.subpage_title .block_title_la {
  font-size: 20px;
}
}

.link__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 13vw;
  padding: .8vw 2vw;
  background: #f5c518;
  border-radius: 999px;
  color: #17395c;
  text-decoration: none;
  font-family: "Albert Sans", sans-serif;
  font-weight: 700;
  font-size: .9vw;
  letter-spacing: .14em;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease;
}
@media (max-width: 800px) {
  .link__btn {
    transition: none;
    width: 180px;
    padding: 12px 20px 12px 25px;
    font-size: 13px;
  }
}

.link__btn > span:first-child {
  transform: translateY(1px);
}

.link__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}
.link__btn:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}
.link__btn-arrow {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
}
.link__btn-arrow svg {
  width: 9px;
  height: 13px;
}

.btn_right .link__btn {
  margin-left: auto;
}

.btn_center .link__btn {
  margin: 0 auto;
}

.card__more {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.card__more-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f5c518;
  transition: transform .2s;
}
.card__more-icon svg {
  width: 11px;
  height: 11px;
}
.card__more:hover .card__more-icon {
  transform: translateX(5px);
}

.philosophy_area .card__more {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  font-size: 1.5vw;
}
@media (max-width: 800px) {
.philosophy_area .card__more {
  font-size: 16px;
}
}

.philosophy_area .card__more-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f5c518;
  transition: transform .2s;
}
.philosophy_area .card__more-icon svg {
  width: 14px;
  height: 14px;
}

.news_sec .card__more {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  font-size: 1.5vw;
}
@media (max-width: 800px) {
.news_sec .card__more {
  font-size: 16px;
}
}

.news_sec .card__more-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f5c518;
  transition: transform .2s;
}
.news_sec .card__more-icon svg {
  width: 14px;
  height: 14px;
}

.card__more-icon svg {
  stroke: #000; /* 好きな色に */
}

.bgcolor_blue {
  background: #d5e9f2;
}

.page_contact, .page_entry {
  background-color: #f9f5f2;
}
.page_contact .main-header,
.page_entry .main-header
 {
  background: #f9f5f2;
}

.link__btn_back {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 13vw;
  font-weight: 500;
  padding: 1.2vw 2vw;
  background: #f5c518;
  border-radius: 999px;
  color: #17395c;
  text-decoration: none;
  font-family: "Noto Sans JP";
  font-size: 1vw;
  letter-spacing: .14em;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease;
}
@media (max-width: 800px) {
  .link__btn_back {
    transition: none;
    width: 180px;
    padding: 20px 20px;
    font-size: 13px;
  }
}

#formWrap {
  width: 70%;
  margin: 0 auto;
}
table.formTable{
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
}
table.formTable td,table.formTable th{
  border: 1px solid #ccc;
  padding: 10px;
}
table.formTable th{
  width: 30%;
  font-weight: normal;
  background: #efefef;
  text-align: left;
  font-weight: 500;
}
table.formTable td{
  background: #fff;
}
.form_inner {
  margin: 5% 0;
}
.kakunin {
  margin: 0 0 3%;
  font-size: 130%;
  font-weight: 700;
  text-align: center;
}

p.error_messe{
  margin: 5px 0;
  color: red;
}

.form_text {
  text-align: center;
  margin: 0 0 30px;
}

.form_submit_wrap {
  margin: 50px 0 0;
}

@media screen and (max-width:800px) {
  #formWrap {
    width: 100%;
  }
  table.formTable th, table.formTable td {
    width: auto;
    display: block;
  }
  table.formTable th {
    margin-top: 5px;
    border-bottom: 0;
  }
  .form_inner {
  margin: 50px 0;
}
.kakunin {
  margin: 0 0 20px;
}
  .form_submit_wrap {
  margin: 30px 0 0;
}
}

.error_msg {
  margin-top: .4vw;
  color: #d9534f;
  font-size: .8vw;
}
@media (max-width: 800px) {
  .error_msg {
    margin-top: 6px;
    font-size: 12px;
  }
}

.is_error .input_text,
.is_error .textarea {
  border-color: #d9534f;
}

.agree {
  display: inline-block;
}

.field:has(.agree) {
  text-align: center;
}


/* under 800
-----------------------------------------------------*/
@media (max-width: 800px) {
  .pc {
    display: none;
  }
}

/* over 801
-----------------------------------------------------*/
@media (min-width: 801px) {
  .sp {
    display: none;
  }
}