@charset "UTF-8";

/* ==========================================================================
   1. VARIABLES & SITE BASE (サイト共通変数とベーススタイル)
   ========================================================================== */
:root {
  --clr-orange: #F27D52;
  --clr-dark-brown: #21160e;
  --clr-accent-brown: #4b2e1e;
  --clr-navy: #3c5987;
  --clr-blue: #4a6fa5;
  --clr-white: #ffffff;

  /* ナビゲーション・パーツ固有カラー */
  --clr-nav-text-en: #a89889;    /* ナビ英語（Caveat）の文字色 */
  --clr-tagline: #4f4840;         /* ロゴ下タグラインの文字色 */
  --clr-hamburger-bg: #f6f2f2;    /* ハンバーガーの白丸背景 */
  --clr-hamburger-line: #2F6992;  /* 三本線のブルー */

  /* ドロワー設定 */
  --drawer-bg: #698e63;
  --drawer-accent: #c85c13;
  --drawer-text: #ffffff;
  --drawer-brown: #4b2e1e;
  --drawer-gray: #ddd8d3;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-size: 1.6rem;
  line-height: 2;
  letter-spacing: 1.3px;
  color: #4b2e1e;
  font-family: 'Zen Maru Gothic', sans-serif;
  background-color: var(--clr-orange);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}
a:hover {
  opacity: 0.8;
  transition: 0.3s;
}

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

table {
  width: 100%;
}

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

hr {
  display: none;
}

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

/* レイアウト幅調整クラス */
.wrapper {
  max-width: 1080px;
  margin: auto;
  padding: 0 20px;
}
.section-inner {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}
.indent {
  text-indent: -1em;
  padding-left: 1em;
}

/* ページ個別調整用（既存維持） */
.main_column {
  display: block;
  margin: 0 auto;
  padding-top: 60px;
  margin-bottom: 5%;
}
.main_contents {
  width: 100%;
  margin-top: 40px;
  margin-bottom: 50px;
}

/* ==========================================================================
   2. HELPER CLASSES & ANIMATION BASE (ユーティリティ・改行・アニメーション)
   ========================================================================== */
/* スマホ・PCの改行切り替え */
.br-sp { display: none; }
.br-pc { display: block; }

/* ページ内リンク位置調整（jump） */
.jump::before {
  content: '';
  display: block;
  padding-top: 70px;
  margin-top: -70px;
}

/* 標準スクロールフェードインアニメーション */
.scroll_up {
  transition: 0.8s ease-in-out;
  transform: translateY(30px);
  opacity: 0;
}
.scroll_up.on {
  transform: translateY(0);
  opacity: 1.0;
}
.scroll_left {
  transition: 0.8s ease-in-out;
  transform: translateX(-30px);
  opacity: 0;
}
.scroll_left.on {
  opacity: 1.0;
  transform: translateX(0);
}
.scroll_right {
  transition: 0.8s ease-in-out;
  transform: translateX(30px);
  opacity: 0;
}
.scroll_right.on {
  opacity: 1.0;
  transform: translateX(0);
}

/* ボタンベース（a.btn） */
a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 4rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  position: relative;
  transition: transform .3s;
  box-sizing: border-box;
  letter-spacing: 3px;
  background: #fff;
}
a.btn:hover {
  transform: translateY(-3px);
}

/* ==========================================================================
   3. HEADER & NAV COMPONENT (ヘッダー・メニュー・ドロワー)
   ========================================================================== */
.lp-main {
  padding-top: 160px; /* 固定ヘッダーとの余白 */
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: transparent;
  z-index: 1000;
}
.header-inner {
  height: 80px;
  margin: 15px 10px auto;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-image: url(../images_fm/flame_nav.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  position: relative;
}

.main-logo {
  text-align: center;
}
.main-logo img {
  height: 50px;
  width: auto;
  display: block;
}
.main-logo p {
  font-family: sans-serif;
  font-size: 13px;
  margin-top: 3px;
  color: var(--clr-tagline);
}

/* PC用ナビゲーション */
.header-center {
  display: none;
  align-items: center;
  gap: 20px;
  margin-right: 100px;
}
.header-center ul {
  display: flex;
  align-items: center;
  gap: 30px;
}
.header-center ul li a {
  display: flex;
  flex-direction: column; 
  align-items: center;
  color: var(--clr-accent-brown);
  font-size: 13px;
  font-weight: 700;
  gap: 2px;
}
.header-center ul li a span {
  font-family: 'Caveat', sans-serif;
  color: var(--clr-nav-text-en);
  font-size: 24px;
  line-height: 1;
}

/* ハンバーガーボタン大枠 */
.sp-menu {
  position: absolute;
  right: 20px;
  z-index: 6000;
  top: 50%;
  transform: translateY(-50%);
}
.hamburger {
  width: 68px;
  height: 65px;
  position: relative;
}
.hamburger::before {
  content: "";
  position: absolute;
  width: 68px;
  height: 68px;
  left: 0;
  top: 0;
  background: var(--clr-hamburger-bg);
  border-radius: 50%;
  transition: transform 0.35s ease;
  z-index: -1;
}
.hamburger:hover::before {
  transform: scale(1.08);
}
.hamburger span {
  position: absolute;
  left: 50%;
  width: 26px;
  height: 3px;
  background: var(--clr-hamburger-line);
  transform: translateX(-50%);
  transition: transform 0.35s ease, top 0.35s ease, opacity 0.35s ease;
}
.hamburger span:nth-child(1) { top: 22px; }
.hamburger span:nth-child(2) { top: 30px; }
.hamburger span:nth-child(3) { top: 38px; }

.hamburger p {
  position: absolute;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: var(--clr-accent-brown);
  letter-spacing: 0.12em;
}
.hamburger.active span:nth-child(1) {
  top: 30px;
  transform: translateX(-50%) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  top: 30px;
  transform: translateX(-50%) rotate(-45deg);
}

/* 全画面ドロワーメニュー */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
  z-index: 5000;
}
.drawer.active {
  pointer-events: auto;
}
.drawer-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.drawer.active .drawer-overlay {
  opacity: 1;
}
.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: var(--drawer-bg);
  transform: translateX(100%);
  transition: transform 0.5s ease;
  overflow-y: auto;
}
.drawer.active .drawer-panel {
  transform: translateX(0);
}
.drawer-inner {
  max-width: 420px;
  margin: 0 auto;
  padding: 120px 25px 40px;
  color: var(--drawer-text);
  font-family: 'Zen Maru Gothic', sans-serif;
}
.drawer-inner ul li {
  margin-bottom: 20px;
}
.drawer-inner ul li a span {
  font-size: 25px;
  font-family: 'Caveat', sans-serif;
  margin-right: 20px;
  color: #ced0c0;
}


/* ==========================================================================
   MEDIA QUERIES
   ========================================================================== */

/* タブレットサイズ以上のドロワー幅制限 */
@media (min-width: 768px) {
  .drawer-panel {
    width: 420px;
  }
  .drawer-inner {
    padding: 120px 30px 50px;
  }
}

/* デスクトップ環境（PCナビ表示） */
@media (min-width: 1024px) {
  .header-center {
    display: flex;
  }
}


/* ==========================================================================
   4. MAIN VISUAL & LOOP SLIDER (メインビジュアル・ループスライダー・PC版)
   ========================================================================== */
.main-visual {
  width: 100%;
  padding: 0 20px; 
  box-sizing: border-box; 
  overflow: hidden; 
}
.mv-container {
  max-width: 1080px;
  margin: 0 auto;
}
.image-area {
  position: relative;
  background: #ffffff;
  padding: 25px;
  border: 3px solid #3c5987;
  border-radius: 24px; 
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}
.main-photo-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
}
.slide-item {
  width: 100%;
}
.slide-item img {
  width: 100%;
  height: 520px; 
  display: block;
  object-fit: cover; 
}

/* スライダー用ナビ矢印ボタン */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.arrow:hover {
  transform: translateY(-50%) scale(1.08);
}
.arrow img {
  width: 100%;
  height: auto;
  display: block;
}
.arrow.prev { left: 5px; }
.arrow.next { right: 5px; }

/* 右下・消防車イラスト */
.deco-truck {
  position: absolute;
  bottom: -9px;
  right: 6px;
  width: 130px;
  z-index: 11;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15)); 
  animation: engineVibe 6s ease-in-out infinite;
  transform-origin: center bottom;
}
.deco-truck img {
  width: 100%;
  height: auto;
}
@keyframes engineVibe {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  1%, 3%, 5%, 7% { transform: translate(1px, 1px) rotate(0.5deg); }
  2%, 4%, 6%, 8% { transform: translate(-1px, -1px) rotate(-0.5deg); }
  9% { transform: translate(0, 0) rotate(0deg); }
  15% { transform: scale(1, 0.96); } 
  25%, 100% { transform: scale(1, 1); }
}

/* 10点等速ループスライダー（PC版） */
.loop-slider {
  width: 100%;
  overflow: hidden;
  padding: 40px 0;
}
.slide-item-bl {
  margin: 0 28px;
}
.slide-item-bl img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.item01 { width: 330px; height: 300px; }
.item02 { width: 280px; height: 250px; margin-top: 150px; }
.item03 { width: 320px; height: 340px; margin-top: 50px; }
.item04 { width: 300px; height: 270px; }

/* 導入メッセージエリア（縦書き・PC大サイズ版） */
.message-area {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: flex-start;
  margin-top: 160px;
  margin-bottom: 110px;
  gap: 22px; 
}
.tate-text {
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  font-size: 21px;
  font-weight: 400;
  color: #3b200c;
  letter-spacing: 0.12em; 
  line-height: 1;
  background: #ffffff;
  height: fit-content;   /* 縦伸びパッチ */
  display: block;        
  padding: 30px 10px;    
  margin: 0;
  border-radius: 8px;    
  box-shadow: 2px 4px 12px rgba(0, 0, 0, 0.06);
  white-space: nowrap;

  /* 時間差ふわっとフェードイン用初期設定 */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.4s ease-out, transform 1.4s ease-out;
}
.tate-text.is-active {
  opacity: 1;
  transform: translateY(0);
}
.message-area p:nth-child(1) { transition-delay: 0s; }
.message-area p:nth-child(2) { transition-delay: 0.25s; }
.message-area p:nth-child(3) { transition-delay: 0.5s; }
.message-area p:nth-child(4) { transition-delay: 0.75s; }
.message-area p:nth-child(5) { transition-delay: 1.0s; }
.message-area p:nth-child(6) { transition-delay: 1.25s; }

/* ==========================================================================
   5. WORK SECTION (私たちの仕事・PC版定義)
   ========================================================================== */
.section-work {
  width: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
}
.work-container {
  width: 100%;
  max-width: calc(960px + (100vw - 960px) / 2); 
  margin-left: 0;        
  margin-right: auto;    
  background-color: #f5eae1;
  padding: 60px 50px 80px calc((100vw - 960px) / 2 + 50px);
  position: relative;
  box-sizing: border-box;
  border-radius: 0 100px 0 0;
}

.deco-ribbon {
  position: absolute;
  top: -7px;
  right: -15px;
  width: 320px;
  z-index: 5;
  pointer-events: none;
}
.deco-ribbon img {
  width: 100%;
  height: auto;
}

.work-title-area {
  margin-bottom: 40px;
}
.work-main-title {
  font-family: 'Caveat', sans-serif;
  font-size: 125px;
  font-weight: 400;
  color: #61442f;
  margin: 0;
  line-height: 1; 
  display: flex;
  align-items: center; 
  gap: 15px;           
}
.icon-worker {
  height: 85px;
  width: auto;
  margin: 0;
  display: block;
}
.work-sub-title {
  font-size: 18px;
  font-weight: 700;
  color: #4a6fa5;
  margin: 5px 0 0 5px;
  letter-spacing: 0.05em;
}

.work-lead-text {
  font-size: 15px;
  font-weight: 500;
  color: #21160e;
  line-height: 1.8;
  margin-bottom: 45px;
  letter-spacing: 0.02em;
}
.work-lead-text p {
  margin: 0 0 8px 0;
}

.work-card {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 30px 40px;
  margin-bottom: 35px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
.work-card:last-of-type {
  margin-bottom: 0;
}
.card-title {
  font-size: 24px;
  font-weight: 700;
  color: #8c532b;
  margin: 0;
  display: flex;
  align-items: center;
}
.card-title::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 16px; 
  border-color: transparent transparent transparent #3c5987; 
  margin-right: 15px;
}
.card-line {
  width: 100%;
  margin: 15px 0 20px 0;
  overflow: hidden;
}
.card-line img {
  width: 100%;
  height: auto;
  display: block;
}
.card-body {
  color: #21160e;
}
.body-desc {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  margin: 0 0 15px 0;
}
.department-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 0;
}
.department-list li {
  font-size: 15px;
  font-weight: 700;
  color: #21160e;
}

/* ==========================================================================
   6. INTERVIEW SECTION (インタビュー・PC版＆リッチホバー定義)
   ========================================================================== */
.section-interview {
  width: 100%;
  background-color: #fff;
  padding: 0;
  margin: 0;
  overflow: hidden;
}
.interview-container {
  max-width: 960px;
  margin: 0 auto;
  background-color: #ffffff; 
  padding: 80px 50px 120px;
  box-sizing: border-box;
}
.interview-lead-text {
  font-size: 16px;
  font-weight: 700;
  color: #21160e;
  margin-bottom: 50px;
}

/* 互い違いグリッド構造 */
.interview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 0 40px; 
  align-items: start;
}
.card-right {
  margin-top: 180px; 
}

/* カード全体の挙動設定（浮き上がりベース） */
.interview-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative; 
}
.interview-link {
  display: block;
}

/* 画像マスクラッパー（左から右へのオレンジスライド用） */
.interview-image-wrap {
  width: 100%;
  aspect-ratio: 4 / 3; 
  background-color: #dddddd; 
  border-radius: 32px; 
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.04);
  position: relative; 
}
.interview-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease; 
}
.interview-image-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;         
  width: 100%;
  height: 100%;
  background-color: rgba(242, 125, 82, 0.7); 
  transition: transform 0.4s ease;
  z-index: 1;
  pointer-events: none; 
}

.interview-meta {
  margin-top: 25px;
  padding-bottom: 12px;
  border-bottom: 1px solid #707070; 
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  position: relative;
  z-index: 5;
}
.staff-job {
  font-size: 26px;
  font-weight: 700;
  color: #4c2f1e; 
  margin: 0 0 4px 0;
}
.staff-year {
  font-size: 15px;
  font-weight: 700;
  color: #8c532b; 
  margin: 0;
}
.meta-btn {
  width: 46px;
  height: 46px;
  background-color: #f2e9e1; 
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
  transition: background-color 0.3s ease;
}
.btn-arrow {
  display: block;
  width: 6px;
  height: 6px;
  border-top: 2px solid #3c5987; 
  border-right: 2px solid #3c5987;
  transform: rotate(45deg); 
  margin-right: 2px;
  transition: transform 0.3s ease;
}

/* ── インタビュー：連動ホバーエフェクト定義 ── */
.interview-link:hover .interview-card {
  transform: translateY(-8px); 
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.interview-link:hover .interview-image-wrap img {
  transform: scale(1.08); 
}
.interview-link:hover .interview-image-wrap::after {
  transform: translateX(100%); 
}
.interview-link:hover .meta-btn {
  background-color: #3c5987; 
}
.interview-link:hover .btn-arrow {
  border-top-color: #ffffff; 
  border-right-color: #ffffff;
  transform: rotate(45deg) translate(2px, -2px); 
}

/* ==========================================================================
   7. FACILITY SECTION (女性専用施設・PC版並列レイアウト)
   ========================================================================== */
.section-facility {
  width: 100%;
  padding: 80px 0 100px;
  margin: 0;
  position: relative; 
  box-sizing: border-box;
}
.deco-ambulance {
  position: absolute;
  top: -45px;
  right: calc((100vw - 960px) / 2 + 30px);
  width: 110px;
  z-index: 10;
  pointer-events: none;
}
.deco-ambulance img {
  width: 100%;
  height: auto;
  display: block;
}

.facility-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 50px;
  box-sizing: border-box;
}
.facility-title-area {
  margin-bottom: 40px;
}
.facility-main-title {
  font-family: 'Caveat', sans-serif;
  font-size: 125px;
  font-weight: 400;
  color: #f1d9c7;
  margin: 0;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 15px;
}

.facility-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}
.facility-card {
  background: #ffffff;
  border: 3px solid #3c5987;
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}
.facility-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #3b200c;
  line-height: 1;
  margin: 0 0 10px 0;
}
.facility-content-body {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-top: 35px;
}

/* 左側間取り図 */
.facility-floor-plan {
  flex: 1.2;
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 15px;
  box-sizing: border-box;
  min-width: 0; 
}
.facility-floor-plan img {
  width: 100%;       
  max-width: 100%;   
  height: auto;      
  display: block;
}

/* 右側ギャラリー */
.facility-photo-gallery {
  flex: 1.5;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
.facility-photo-item {
  position: relative;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  border: 1px solid #eee;
}
.facility-photo-item img {
  width: 100%;
  height: 140px;
  display: block;
  object-fit: cover;
}
.facility-photo-item span {
  display: block;
  background: #fdfaf7;
  color: #4b2e1e;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  padding: 8px 0;
  border-top: 1px solid #eee;
}
.click-notice {
  font-size: 14px;
  font-weight: 700;
  color: #21160e;
  margin: 0 0 35px 0;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   8. SUPPORT LINK & FOOTER COMPONENT (下部リンク・フッター・PC版定義)
   ========================================================================== */
.section-support-links {
  width: 100%;
  background-color: #2a5d84; 
  padding: 70px 0 80px;
  margin: 0;
  box-sizing: border-box;
}
.support-links-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 50px;
  box-sizing: border-box;
}
.support-row-twin {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 30px;
  margin-bottom: 45px;
}
.support-panel-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 40px 30px 30px;
  text-align: center;
  color: #21160e;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.support-panel-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}
.panel-icon {
  height: 44px; 
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.panel-icon img {
  height: 100%;
  width: auto;
}
.panel-title {
  font-size: 26px;
  font-weight: 700;
  color: #4c2f1e;
  margin: 0 0 10px 0;
}
.panel-desc {
  font-size: 13px;
  font-weight: 500;
  color: #555555;
  margin: 0 0 25px 0;
  line-height: 1.5;
}
.panel-arrow-btn {
  width: 42px;
  height: 42px;
  background-color: #f2e9e1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: auto; 
}
.panel-arrow {
  display: block;
  width: 6px;
  height: 6px;
  border-top: 2px solid #3c5987;
  border-right: 2px solid #3c5987;
  transform: rotate(45deg);
  margin-right: 2px;
}

/* 下段赤バナー */
.banner-red-card {
  background-color: #c94646; 
  border-radius: 16px;
  padding: 25px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between; 
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.banner-red-card:hover {
  transform: translateY(-2px);
  background-color: #bd3b3b;
}
.banner-text-wrap {
  color: #ffffff;
}
.banner-title {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 4px 0;
  letter-spacing: 0.02em;
}
.banner-desc {
  font-size: 13px;
  font-weight: 500;
  margin: 0;
  opacity: 0.95;
}
.banner-arrow-btn {
  width: 44px;
  height: 44px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; 
  margin-left: 20px;
}
.banner-arrow {
  display: block;
  width: 7px;
  height: 7px;
  border-top: 2px solid #3c5987;
  border-right: 2px solid #3c5987;
  transform: rotate(45deg);
  margin-right: 2px;
}

/* フッターベース */
.lp-footer {
  background-color: #F4F1ED;
}
.all-footer {
  width: fit-content; 
  margin: 0 auto; 
  text-align: left;
  padding: 5% 0;
}
.all-footer h2 {
  text-align: center;
  margin-bottom: 20px;
}
.all-footer h2 img {
  width: 300px;
}
.all-footer h2 p {
  font-family: sans-serif;
  font-size: 13px;
  margin-top: 3px;
  color: #4f4840;
}
.footerlist {
  margin-top: 30px;
  font-size: 1.3rem;
}
.small {
  text-align: center;
  border-top: 1px solid #18696d;
}
.copyright {
  font-size: 1rem;
  padding: 20px 0 5%;
}

/* ==========================================================================
   9. RESPONSIVE: LAPTOP & TABLET (デスクトップ・タブレット環境：1024px以下)
   ========================================================================== */
@media print, screen and (min-width: 768px) {
  .main_contents {
    margin-top: 70px;
    margin-bottom: 90px;
  }
  .jump::before {
    padding-top: 160px;
    margin-top: -160px;
  }
}

@media (max-width: 1024px) {
  .lp-main {
    padding-top: 120px;
  }
  .header-inner {
    height: 55px;
  }
  .main-logo img {
    height: 40px;
  }
  .slide-item img {
    height: 400px;
  }
  .message-area {
    margin-top: 80px;
    margin-bottom: 60px;
    gap: 12px;
  }
  .tate-text {
    font-size: 17px;
    padding: 20px 7px;
  }
}

@media (min-width: 1024px) {
  .header-center {
    display: flex;
  }
}

/* ── タブレット環境個別調整（960px以下） ── */
@media screen and (max-width: 960px) {
  .work-container {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
  .facility-inner {
    padding: 0 30px;
  }
  .deco-ambulance {
    right: 40px;
    top: -35px;
    width: 95px;
  }
  /* 女性専用施設：縦並びバグの完全修正 */
  .facility-content-body {
    flex-direction: column;
    align-items: stretch; 
    gap: 24px;            
  }
  .facility-floor-plan,
  .facility-photo-gallery {
    width: 100%;       
    flex: none;        
    box-sizing: border-box;
  }
  .facility-floor-plan img {
    width: 100%;       
    height: auto;      
    margin: 0 auto;    
  }
}

/* ==========================================================================
   10. RESPONSIVE: SMARTPHONE (スマートフォン環境：768px以下〜640px以下)
   ========================================================================== */
@media screen and (max-width: 767px) {
  .br-sp { display: block; }
  .br-pc { display: none; }
}

@media (max-width: 768px) {
  .work-container {
    padding: 40px 20px 50px;
  }
  .deco-ribbon {
    width: 180px; 
    top: 10px;
    right: 10px;
  }
  .work-main-title {
    font-size: 64px;   
    gap: 10px;         
  }
  .icon-worker {
    height: 44px;
  }
  .work-lead-text {
    font-size: 14px;
    margin-bottom: 30px;
  }
  .work-card {
    padding: 20px;
    border-radius: 15px;
  }
  .card-title {
    font-size: 20px;
  }
  .body-desc {
    font-size: 14px;
  }
  .department-list {
    grid-template-columns: 1fr; 
    gap: 8px;
  }
  .department-list li {
    font-size: 14px;
  }
  
  /* インタビュー */
  .interview-container {
    padding: 50px 20px 60px;
  }
  .interview-grid {
    grid-template-columns: 1fr;
    gap: 50px 0;
  }
  .card-right {
    margin-top: 0; 
  }
  .interview-image-wrap {
    border-radius: 20px;
  }
  .staff-job {
    font-size: 22px;
  }
  .staff-year {
    font-size: 14px;
  }
  .meta-btn {
    width: 40px;
    height: 40px;
  }

  /* 下部ナビリンク共通 */
  .section-facility {
    padding: 60px 0 70px;
  }
  .facility-inner, .support-links-inner {
    padding: 0 20px;
  }
  .facility-lead-text {
    font-size: 14px;
  }
  .facility-grid, .support-row-twin {
    grid-template-columns: 1fr;
    gap: 25px 0;
  }
  .facility-card {
    padding: 20px;
  }
  .section-support-links {
    padding: 50px 0 60px;
  }
  .support-row-twin {
    margin-bottom: 25px;
  }
  .banner-red-card {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
  .banner-arrow-btn {
    margin-left: 0;
    margin-top: 20px;
  }
  .banner-title {
    font-size: 22px;
  }
  .banner-desc {
    font-size: 12px;
  }
}

/* ── 超重要：スマートフォン完全最適化（640px以下） ── */
@media (max-width: 640px) {
  body {
    font-size: 1.3rem;
    line-height: 1.8;
    letter-spacing: 1px;
  }
  .main-logo img {
    height: 30px;
  }

  /* メインビジュアル高さをスマホ画面に追従ガード */
  .main-visual {
    padding: 10px 10px 20px;
    height: calc(100svh - -90px); 
    min-height: 580px;            
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
  }
  .mv-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .image-area {
    padding: 10px;
    border-width: 3px;
    border-radius: 20px;
    flex-grow: 1;          
    display: flex;
    flex-direction: column;
    margin-bottom: 35px;   
  }
  .main-photo-wrap,
  .main-photo-wrap .slick-list,
  .main-photo-wrap .slick-track,
  .slide-item {
    height: 100%; 
  }
  .slide-item img {
    width: 100%;
    height: 100%;        
    object-fit: cover;   
    border-radius: 14px;
  }
  .arrow {
    width: 36px;
    height: 36px;
    top: 50%;
  }
  .arrow.prev { left: -14px; }
  .arrow.next { right: -14px; }
  
  .deco-truck {
    width: 90px;
    bottom: -10px;
    right: 8px;
  }
  
  /* 縦書きメッセージエリア：PCマージン上書きによる位置崩れ防止 */
  .message-area {
    margin-top: 0 !important;      
    margin-bottom: 0 !important;   
    gap: 15px !important;                      
  }
  .tate-text {
    font-size: 14.5px !important;             
    padding: 12px 5px !important;  
    letter-spacing: 0.08em !important; 
    border-radius: 4px !important;
    max-height: 220px !important;             
    height: auto !important;
    opacity: 0; /* JS発動前の初期状態 */
  }

  /* 10点等速ループギャラリー：スマホ調整 */
  .loop-slider {
    padding: 60px 0;
  }
  .slide-item-bl {
    margin: 0 12px; 
  }
  .item01 { width: 165px; height: 150px; }
  .item02 { width: 140px; height: 125px; margin-top: 75px; }
  .item03 { width: 160px; height: 170px; margin-top: 25px; }
  .item04 { width: 150px; height: 135px; }

  /* 女性専用施設：スマホ見栄え調整 */
  .section-facility {
    padding: 60px 0 70px;
  }
  .facility-inner {
    padding: 0 15px;
  }
  .deco-ambulance {
    right: 20px;
    top: -30px;
    width: 80px;
  }
  .facility-main-title {
    font-size: 42px; 
    gap: 10px;
  }
  .facility-card {
    padding: 20px 15px;
    border-radius: 16px;
  }
  .facility-card-title {
    font-size: 18px;
    margin-bottom: 15px;
  }
  .facility-photo-gallery {
    gap: 10px;
  }
  .facility-photo-item img {
    height: 105px; 
  }
  .facility-photo-item span {
    font-size: 12px;
    padding: 6px 0;
  }
}




/* ==========================================================================
   INTERVIEW DETAIL PAGE
   ========================================================================== */

/* --------------------------------------------------------------------------
   [1] ベーススタイル：スマートフォン用 (デフォルト)
   -------------------------------------------------------------------------- */

/* 全体の外枠コンテナ */
.interview-detail-container {
  width: 100%;
  padding: 0 10px 40px;
  box-sizing: border-box;
}

/* メインの白いカードボード*/
.interview-detail-inner {
  max-width: 1080px;
  margin: 0 auto;
  background-color: var(--clr-white);
  border-radius: 32px;
  padding: 20px;
  box-sizing: border-box;
  box-shadow: 0 12px 40px rgba(33, 22, 14, 0.06);
}

/* メインビジュアルエリア */
.detail-mv-area {
  position: relative;
  width: 100%;
  margin-bottom: 55px;
}

/* メイン写真フレーム */
.detail-main-photo {
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  border: 4px solid #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.detail-main-photo img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.detail-name-badge {
  position: relative;
  z-index: 10;
  width: calc(100% - 20px);
  max-width: 580px;
  margin: -35px auto 0;
  background-color: var(--clr-white);
  background-image: linear-gradient(90deg, rgba(245,234,225,0.3) 50%, transparent 50%);
  background-size: 8px 100%;
  padding: 20px 10px;
  border: 3px solid var(--clr-navy);
  border-radius: 18px;
  box-sizing: border-box;
  box-shadow: 0 10px 25px rgba(60, 89, 135, 0.15);
  text-align: center;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  font-family: 'Caveat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--clr-orange);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.badge-tag::after {
  content: " ✦";
  font-size: 14px;
}

/* キャッチコピー */
.badge-caption {
  font-size: 18px;
  font-weight: 700;
  color: #3b200c;
  margin: 0 0 10px 0;
  line-height: 1.5;
  letter-spacing: 0.5px;
}

.badge-meta {
  font-size: 12px;
  font-weight: 700;
  color: #2e6992;
  margin: 0;
  display: inline-block;
  padding: 4px 14px;
  border-radius: 6px;
}

/* コンテンツブロック */
.detail-content-block {
  width: 100%;
  margin-bottom: 45px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.detail-content-block:last-of-type {
  margin-bottom: 0;
}

/* サブ写真フレーム */
.detail-sub-photo {
  width: 100%;
  border-radius: 20px;
  border: 4px solid #fff;
  overflow: hidden;
  margin-bottom: 25px;
  box-shadow: 0 8px 20px rgba(33, 22, 14, 0.05);
}
.detail-sub-photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* テキストエリア */
.detail-text-wrap {
  width: 100%;
  color: var(--clr-dark-brown);
}
.detail-text-wrap p {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 1.2px;
  margin: 0 0 20px 0;
  text-align: justify;
}
.detail-text-wrap p:last-child {
  margin-bottom: 0;
}


/* --------------------------------------------------------------------------
   [2] 拡張スタイル：タブレット・PC用 (画面幅 767px 以上で適用)
   -------------------------------------------------------------------------- */
@media screen and (min-width: 767px) {
  
  .interview-detail-container {
    padding: 0 20px 100px;
  }

  .interview-detail-inner {
    padding: 50px;
    border-radius: 48px;
  }

  .detail-mv-area {
    margin-bottom: 75px; /* PCではネームプレートが下にはみ出る分、マージンを少し拡大 */
  }

  .detail-main-photo {
    border-radius: 32px;
    border-width: 6px;
  }

  .detail-name-badge {
    position: relative;
    left: auto;
    bottom: auto;
    margin: -120px auto 0;
    padding: 28px 40px;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(33, 22, 14, 0.12);
    background-size: 12px 100%;
  }

  .badge-tag {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .badge-caption {
    font-size: 24px;
    margin-bottom: 15px;
    line-height: 1.4;
    display: inline-block;
    padding: 0 25px;
  }
	
  .badge-meta {
    font-size: 18px;
    padding: 5px 14px;
  }

  /* 下半分のコンテンツブロック調整 */
  .detail-content-block {
    margin-bottom: 60px;
  }

  .detail-sub-photo {
    max-width: 760px;
    border-radius: 28px;
    border-width: 6px;
    margin-bottom: 40px;
  }
  .detail-text-wrap {
    max-width: 860px;
  }
  .detail-text-wrap p {
    font-size: 16px;
    line-height: 2.0;
    letter-spacing: 1.5px;
    margin-bottom: 28px;
  }
}


