/* ========================
   page-recruit.phpスタイル
========================= */
/* ------------
   PC画面表示
-------------- */
html {
  scroll-behavior: smooth;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  padding-left: 100px; /* 左側に余白 */
}

/* スライドショー */
.hero-slideshow {
  position: absolute;
  top: 0;
  left: 100px;
  width: calc(100% - 100px);
  height: 100%;
  z-index: 1;
}
.hero-slideshow img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  border-bottom-left-radius: 80px; /* ← 大きめ角丸 */
}

/* キャッチコピー */
.hero--ttl-jp {
  position: absolute;
  top: 70%;
  left: 140px; /* 100px余白 + 40px */
  transform: translateY(-50%);
  color: white;
  font-size: 51px;
  font-family: "A1 Mincho", serif;
  font-weight: normal;
  font-style: italic;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
  z-index: 3;
}

/* ナビゲーションメニュー */
.recruit-main-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}
.recruit-main-nav .recruit-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 0 0 100px;
  box-sizing: border-box;
}

/* スクロール後に固定 */
.recruit-main-nav.is-fixed {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.recruit-main-nav.is-fixed .recruit-nav-inner {
  width: 100%;
  max-width: none;
}
.recruit-main-menu {
  display: flex;
  font-family: YuGothic, 游ゴシック, "Hiragino Kaku Gothic ProN", sans-serif;
  letter-spacing: 0.2em;
  gap: 70px;
  list-style: none;
  padding: 0;
  margin: 0 auto;
}
.recruit-main-menu li a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  font-size: 16px;
  text-shadow: 0 0 4px rgba(0,0,0,0.7);
}
.recruit-main-menu li a:hover {
  color: #fe6188;
  text-decoration: none;
  text-shadow: none;
}
.recruit-main-menu li ul.submenu li a {
  text-shadow: none;
}
.recruit-main-menu li.has-child > ul.submenu li a:hover {
  color: #fe6188;
  text-shadow: none;
}
.recruit-main-nav.is-fixed .recruit-main-menu li a {
  color: #333;
  text-shadow: none;
}
.recruit-main-nav.is-fixed li a:hover{
  color: #fe6188;
  text-shadow: none;
}

/* 2階層目を持つliの矢印アイコンの設定 */
.recruit-main-menu li.has-child > a::before {
  content: "\f078"; /* FontAwesomeのchevron-down */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 0.8em;
  margin-right: 6px;
  display: inline-block;
  color: #fe6188;
  text-shadow: none;
}

/* サブメニュー基本非表示 */
.recruit-main-menu li .submenu {
  display: none;
  position: absolute;
  top: 100%; /* 親メニューの直下に配置 */
  left: 0;
  background: rgba(255,255,255,0.50);
  padding: 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  list-style: none;
  min-width: 160px;
  z-index: 1000;
}

/* 親liに対してhoverしたとき表示 */
.recruit-main-menu li.has-child:hover .submenu {
  display: block; /* PCのホバー用 */
}
.recruit-main-menu li.has-child {
  position: relative;
}

/* サブメニューのリンク */
.recruit-main-menu li .submenu li a {
  display: block;
  padding: 8px 16px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
}

/* ホバー時 */
.recruit-main-menu li .submenu li a:hover {
  background: #eee;
}

/* 共通：最初は非表示 */
.recruit-main-menu li.has-child .submenu {
  display: none;
}
/* スマホ：.openクラスがついたら表示 */
.recruit-main-menu li.has-child.open .submenu {
  display: block;
}
/* PC：ホバーしたら表示 */
.recruit-main-menu li.has-child:hover .submenu {
  display: block;
}


/* ENTRYボタン全体 */
.gnav--entry {
  flex-shrink: 0;
  margin: 16px 24px;
}
/* ENTRYテキスト */
.gnav--entry .font-en-gb {
  display: block;
  font-style: italic;
  font-size: 20px;
  letter-spacing: 0.2em;
}
.btn-entry a,
.btn-entry button {
  display: inline-block;
  min-width: 227px;
  padding: 14px 32px;
  border-radius: 50px;
  color: #fff !important;
  background: linear-gradient(90deg, #ff7e5f, #feb47b);
  background-size: 300% 100%;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}
.btn-entry a:hover {
  background: linear-gradient(90deg, #feb47b, #ff7e5f);
  transform: scale(1.05);
}
/* サブテキスト */
.btn-entry small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  margin-top: -5px;
}
/* フォント共通設定 */
.font-en-gb,
.wp-pagenavi,
.btn a {
  font-family: "Kumbh Sans", sans-serif;
  font-weight: 400;
}


/* 背景帯の角を丸くしない */
.recruit-main-nav,
.recruit-main-nav.is-fixed {
  border-radius: 0;
}

/* 募集情報・施設見学ボタン */
.fix-list {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  gap: 12px;
  z-index: 999;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: right;
}
.fix-list li {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.fix-list li:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}
.fix-list li img {
  width: 190px;
  height: auto;
  object-fit: cover;
  display: block;
}
.fix-list li.dimmed img {
  opacity: 0.5;
}


/* ---------------
   レシポンシブ
---------------- */
@media screen and (max-width: 1024px) {
  .hero {
    padding-left: 0;
    height: auto;
  }
  .hero-slideshow {
    position: relative;
    left: 0;
    width: 100%;
    height: auto;
  }
  .hero-slideshow img {
    position: relative;
    border-bottom-left-radius: 0;
    height: auto;
  }
  .hero--ttl-jp {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    padding: 20px;
    font-size: 32px;
    text-align: center;
  }
  .recruit-main-nav .recruit-nav-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
  }
  .recruit-main-menu {
    flex-wrap: wrap;
    gap: 20px;
  }
  .fix-list {
    bottom: 10px;
    right: 10px;
  }
}

@media screen and (max-width: 768px) {
  .hero {
    padding-left: 0;
    height: auto;
  }

  .hero-slideshow {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
  }

  .hero-slideshow img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-bottom-left-radius: 0;
  }

  .hero--ttl-jp {
    position: absolute;
    top: 70%;
    left: 42%;
    transform: translate(-50%, -50%);
    font-size: 16px !important;
    color: white;
    text-align: left;
    padding: 0 10px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
    width: 90%;
  }

  /* ▼ ナビ部分 */
  .recruit-main-nav .recruit-nav-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    padding: 0;
  }

  .recruit-main-menu {
    display: flex;
    flex-direction: row;
    gap: 2px;
    flex-wrap: nowrap;
    margin: 0;
  }

  .recruit-main-menu li a {
    font-size: 6px;
    white-space: nowrap;
    margin-left: 10px;
  }

  .recruit-main-menu li .submenu {
    min-width: 70px;
    max-width: 150px;
  }

  .recruit-main-menu li .submenu li a {
    font-size: 10px;
    margin: 0;
    padding: 6px;
  }

  body .recruit-main-nav.is-fixed {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
  }

  .gnav--entry {
    margin: 2px 0 0 0;
  }

  .btn-entry a {
    min-width: auto;
    padding: 1px 12px;
  }

  .btn-entry .font-en-gb {
    font-size: 8px;
    letter-spacing: 0;
  }

  .btn-entry small {
    margin-top: 0px;
    font-size: 4px;
  }

  /* ▼ 固定ボタン */
  .fix-list {
    flex-direction: row;
    gap: 10px;
    right: 15px;
    bottom: 15px;
  }

  .fix-list li {
    width: 90px;
    height: 90px;
  }

  .fix-list li img {
    width: 90px;
    height: 90px;
    object-fit: cover;
  }
}




/* ===========================
   固定ページPC共通スタイル
============================= */
/* ------------------------
   紹介セクション調整
------------------------ */
.font-jp-m, .page_ttl-jp, .section_ttl_top-jp {
   font-family: A1 Mincho, serif;
   font-weight: normal;
   font-style: italic;
   -webkit-font-smoothing: antialiased;
}
h2 {
   font-size: 1.5em;
   font-weight: bold;
}
.section_pdg {
　　padding: 100px 0;
}
.home_intro {
    background-color: #fff;
}
.waypoint {
    opacity: 0;
    transform: translateY(30px); /* 下にずらす */
    transition: opacity 3s ease, transform 3s ease;
}
.waypoint.active {
    opacity: 1;
    transform: translateY(0);
}
.inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.section_ttl {
    position: relative;
    color: #1f2427;
    font-size: 2em;
    text-align: center;
    line-height: 1.28;
    letter-spacing: 0.2em;
}
.txt-ctr {
    text-align: center;
}
.txt-ctr-pc {
    text-align: center;
}
.mgn-btm80 {
    margin-bottom: 80px;
}
.mgn-btm64 {
    margin-bottom: 64px;
}
.mgn-btm30 {
    margin-bottom: 30px;
}
.section_ttl small {
    display: block;
    margin-bottom: 14px;
    font-size: 62%;
    letter-spacing: 0.2em;
}
.font-jp-gl {
    font-family: YuGothic, 游ゴシック, "Hiragino Kaku Gothic ProN", sans-serif;
    font-size: 31px;
    font-weight: normal;
    font-style: italic;
}
.font-jp-m {
    font-family: A1 Mincho, serif;
    font-size: 51px;
    font-weight: normal;
    font-style: italic;
    -webkit-font-smoothing: antialiased;
}
.txt-italic {
  font-style: italic;
}
.txtarea .txt-lg {
    line-height: 2.43;
    letter-spacing: 0.04em;
}
p.txt-lg {
    font-family: YuGothic, 游ゴシック, "Hiragino Kaku Gothic ProN", sans-serif;
    font-size: 16px;
}
.btn-strong {
    color: #fff;
    border: none;
    background: linear-gradient(25deg, #F79D94 10%, #f794a4 20%, #f794a4 50%, #F79D94 55%, #f794a4 80%, #F79D94 100%);
    background-size: 300% auto;
    transition: background 0.4s ease-out, transform 0.3s ease-out;
}
/* hover + is-tapped */
.btn-strong:hover,
.btn-strong.is-tapped {
  background: linear-gradient(205deg, #F79D94 10%, #f794a4 20%, #f794a4 50%, #F79D94 55%, #f794a4 80%, #F79D94 100%);
  transform: scale(1.05);
}
.btn {
    position: relative;
    display: inline-block;
    min-width: 240px;
    min-height: 64px;
    padding: 25px 32px;
    font-size: 86%;
    text-align: center;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 0.3em;
    border-radius: 50px;
    transition: all 0.4s ease-out;
}

/* -------------------------------
   インタビューセクション調整
-------------------------------- */
div.interview-title h2 {
    font-size: inherit;
    position: relative;
}

div.interview-title h2::before{
    content: "職員インタビュー";
    font-family: YuGothic, 游ゴシック, "Hiragino Kaku Gothic ProN", sans-serif;
    font-size: 2rem;
    font-style: italic;
    font-weight: normal;
    color: #333;
    position: absolute;
    bottom: 3rem;
    left: 0;
    right: 0;
    margin: auto;
}

.job-department { color: #5f9ea0; letter-spacing: 0.2em; }

/* 背景画像 */
.interview {
  position: relative;
  z-index: 0;
  height: 850px;
  background-image: url("https://irie.or.jp/wp-content/uploads/2025/06/interview_background2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 100px;
}
/* PC以上で最大画面幅に */
@media (min-width: 769px) {
  .interview {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: none;
  }
}

.txt-ctr a {
  color: #fff;
  text-decoration: none;
}
.lined-text {
  position: relative;
  display: inline-block;
  font-family: "adobe-handwriting-ernie", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 6rem !important;
  text-align: center;
  padding: 0 1em;
  transform: translateY(-40px);
}
.lined-text::before,
.lined-text::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 60px;
  height: 1.5px;
  background-color: #ff7e5f;
  transform: rotate(55deg);
}
.lined-text::before { left: -20px; }
.lined-text::after  { right: -20px; transform: rotate(-55deg); }
.home_interview--inner .lined-text::before { left: -50px; }
.home_interview--inner .lined-text::after  { right: -50px; }
.lined-text-wrapper { text-align: center; margin: 20px 0 70px 0; }
.interview-slider { width: 100%; padding: 20px 0; }
.interview_list--job {
  font-family: "Hiragino Maru Gothic Pro", "ヒラギノ丸ゴ Pro W4", sans-serif;
  color: #333;
  font-weight: nomal;
  font-size: 86%;
  letter-spacing: 0.2em;
  margin: 8px 0 0;
}

.interview_list--tag span {
  display: inline-block;
  padding: 4px 8px;
  background-color: #eee;
  border-radius: 32.6px;
  font-size: 0.8em;
  background: linear-gradient(25deg, #94d8f1 10%, #7ce2e4 20%, #7ce2e4 50%, #94d8f1 55%, #7be3e4 80%, #94d8f1 50%);
  color: #fff;
  margin-top: 5px
}

.interview {
  overflow: visible;
}

.interview-slider {
  overflow-x: hidden;
  overflow-y: visible;
  padding-top: 110px;
}

.interview-slider .swiper-slide {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  text-align: center;
  margin-bottom: 100px;
  position: relative;
  overflow: visible;
  z-index: 1;
}

/* リンクをブロック化して hover を確実に拾う */
.interview-slider .swiper-slide a {
  position: relative;
  display: block;
}

/* 最初は透明&左にオフセット */
.swiper-slide.fade-in { opacity: 0; transform: translateX(-30px); }
/* 表示状態 */
.swiper-slide.fade-in.visible {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.staff-image-wrap {
  width: 250px;
  position: relative;
  display: inline-block;
  overflow: visible;
}

.staff-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

/* hover + is-tapped */
.staff-image-wrap:hover .staff-img,
.staff-image-wrap.is-tapped .staff-img {
  transform: scale(1.1) translateY(-10px);
  transition: transform 0.3s ease;
}

/* 吹き出し */
.speech-bubble-img {
  opacity: 0;
  position: absolute;
  top: -90px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: auto;
  max-width: none;
  z-index: 100;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.speech-bubble-img2 {
  opacity: 0;
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: auto;
  max-width: none;
  z-index: 100;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* 画像やスライド hover で表示 */
.swiper-slide:hover .speech-bubble-img,
.swiper-slide:hover .speech-bubble-img2,
.staff-image-wrap:hover .speech-bubble-img,
.staff-image-wrap:hover .speech-bubble-img2 {
  opacity: 1;
  z-index: 101;
  transform: translate(-50%, -5px);
}

/* hover + is-tapped */
.swiper-slide:hover .speech-bubble-img,
.swiper-slide.is-tapped .speech-bubble-img { opacity: 1; }
.swiper-slide:hover .speech-bubble-img2,
.swiper-slide.is-tapped .speech-bubble-img2 { opacity: 1; }


/* タイトル表示調整 */
.gradient-text {
  background: linear-gradient(90deg, #ff7e5f, #feb47b);
  -webkit-background-clip: text;  /* テキスト部分だけ背景を表示 */
  -webkit-text-fill-color: transparent; /* テキストを透明にして背景を見せる */
  font-weight: bold;
  font-size: 2rem;
  padding: 0 10px;
}

/* ------------------------
   職種紹介セクション調整
------------------------ */
.job_introduction {
    position: relative;
    display: inline-block;
    transform: rotate(-20deg);
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-left: 30px;
}
div.job_introduction h3 {
    font-size: 4rem;
    position: relative;
}
.lined-text h3 .gradient-text,
.lined-text2 h3 .gradient-text {
  display: inline-block;
  font-size: inherit;
  line-height: inherit;
}
.job_introduction h3 { line-height: 2.2; }
div.job_introduction h3::before{
    content: "職種紹介";
    font-family: YuGothic, 游ゴシック, "Hiragino Kaku Gothic ProN", sans-serif;
    font-size: 1.5rem;
    font-style: italic;
    font-weight: normal;
    color: #333;
    position: absolute;
    bottom: -2rem;
    left: 0;
    right: 0;
    margin: auto;
}
.job_list { margin-top: 150px; }
.button-container { margin-top: 30px; }

/* 跳ねるアニメーション */
@keyframes bounceIn {
  0%   { transform: scale(0.9) translateY(30px); opacity: 0; }
  60%  { transform: scale(1.05) translateY(-10px); opacity: 1; }
  80%  { transform: scale(0.95) translateY(5px); }
  100% { transform: scale(1) translateY(0); }
}
.bounce-in { animation: bounceIn 0.8s ease-out forwards; }

@keyframes diagonalBounce {
  0%   { transform: rotate(-10deg) translate(-20px, 20px) scale(0.95); opacity: 0; }
  60%  { transform: rotate(-10deg) translate(10px, -10px) scale(1.05); opacity: 1; }
  80%  { transform: rotate(-10deg) translate(-5px, 5px) scale(0.98); }
  100% { transform: rotate(-10deg) translate(0, 0) scale(1); }
}
.diagonal-bounce-in { animation: diagonalBounce 0.8s ease-out forwards; }


/* ------------------------------
    Instagramセクション調整
--------------------------------- */
/* セクション位置調整 */
.instagram {
  margin-top: 200px;
}

/* Instagramタイトル */
.instagram-ttl img {
  width: 250px;
  height: auto;
  margin-left: 80px;
}
/* その場で下からふわっとズーム（1回だけ） */
.zoom-target-mid {
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  transition: transform 0.6s ease, opacity 0.6s ease;
  will-change: transform, opacity;
}
.zoom-target-mid.zoomInMid {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* 土台の外観画像：重なり順のベースにする */
.hospital-exterior {
  position: relative;
  z-index: 1;
  margin-top: -600px;
}

/* Instagram投稿：PCで外観画像に重ねる */
.instagram-feed {
  position: relative;
  z-index: 3;
  width: min(1100px, 92vw);
  margin: 0 auto 0;
}

/* 外観画像調整 */
.hospital-exterior {
  padding: 0;
}
.hospital-exterior picture,
.hospital-exterior img {
  display: block;
  width: 100%;
  height: auto;
}

/* PC以上で全幅化 */
@media screen and (min-width: 769px) {
  .hospital-exterior picture,
  .hospital-exterior img {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
  }
}


/* -----------------------------
   福利厚生・allaboutセクション調整
---------------------------------- */
.worklife {
    display: inline-block;
    transform: rotate(-20deg);
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin: 100px 0 0 30px;
}

div.worklife h3 { font-size: 4rem; position: relative; }
.worklife h3 { line-height: 2; }
.worklife_allabout { padding: 100px 0; }
.image-section {
  display: flex;
  justify-content: flex-start;
  margin: 20px 0 100px 50px;
}

/* h3ホバー時バウンド */
@keyframes bounce-loop {
  0%, 100% { transform: rotate(-10deg) translateY(0); }
  50% { transform: rotate(-10deg) translateY(-10px); }
}
.bounce-loop { animation: bounce-loop 0.6s cubic-bezier(0.42, 0, 0.58, 1) infinite; }

@keyframes bounceLoop2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.bounce-loop-2 { animation: bounceLoop2 0.6s cubic-bezier(0.42, 0, 0.58, 1) infinite; }

@keyframes bounceLoop3 {
  0%, 100% { transform: rotate(-10deg) translateY(0); }
  50% { transform: rotate(-10deg) translateY(-10px); }
}
.bounceLoop3 { animation: bounceLoop3 0.6s cubic-bezier(0.42, 0, 0.58, 1) infinite; }

.image-section.right { justify-content: flex-end; margin-right: 50px; }
.image-section.left  { overflow: visible !important; }
.image-section figure { max-width: 700px; text-align: center; }
.image-section img { width: 100%; height: auto; }

div.allabout h3 { font-size: 4rem; position: relative; }
.allabout h3 { line-height: 2; }
.tilted-allabout { position: relative; display: inline-block; transform-origin: initial; z-index: 10; }
.lined-text-wrapper2 { display: block; text-align: right; margin-bottom: 0 !important; padding-bottom: 0 !important; }
.image-section { margin-top: 20px !important; padding-top: 0 !important; }
.lined-text2 {
  display: inline-block;
  position: relative;
  white-space: normal;
  color: #1f2427;
  font-family: "adobe-handwriting-ernie", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 6rem;
  padding: 0 1em;
  overflow: visible;
}
.lined-text2 h3 { margin: 0; padding: 0; line-height: 60px; }
.lined-text2::before,
.lined-text2::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 60px;
  height: 1.5px;
  background-color: #ff7e5f;
  transform: rotate(80deg);
}
.lined-text2::before { left: -5px; top: 10%; }
.lined-text2::after  { right: -20px; top: 90%; transform: rotate(-40deg); }
.rotate-allabout { display: inline-block; transform: rotate(15deg); transform-origin: center center; }

/* イメージ画像位置調整 */
.img1 { position: relative; z-index: 1; }
.img2 { position: relative; z-index: 1; }
.img2-wrapper { position: relative; display: inline-block; }
.img2-bg {
  position: absolute;
  top: 30px;
  left: 30px;
  width: 100%;
  height: 100%;
  background-color: #f3f3f3;
  z-index: 0;
}
.img1::before {
  content: "";
  position: absolute;
  top: 30px;
  left: -30px;
  width: 100%;
  height: 100%;
  background-color: #f3f3f3;
  z-index: -1;
}
a.image-link { display: block; position: relative; }
.overlay-label1 {
  position: absolute;
  top: 15%;
  right: -5%;
  background-color: #fff;
  padding: 8px 12px;
  font-family: "Kumbh Sans", sans-serif;
  font-size: 3rem;
  --initial-rotate: -4deg;
  transform: rotate(var(--initial-rotate));
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  z-index: 10;
}
.overlay-label2 {
  position: absolute;
  top: 35%;
  right: -25%;
  background-color: #fff;
  padding: 8px 12px;
  font-family: "Kumbh Sans", sans-serif;
  font-size: 3rem;
  --initial-rotate: 5deg;
  transform: rotate(var(--initial-rotate));
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  z-index: 10;
}
.overlay-label3 {
  position: absolute;
  top: 20%;
  right: 90%;
  background-color: #fff;
  padding: 8px 12px;
  font-family: "Kumbh Sans", sans-serif;
  font-size: 3rem;
  --initial-rotate: 9.7deg;
  transform: rotate(var(--initial-rotate));
  will-change: transform;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  z-index: 10;
}
.overlay-label4 {
  position: absolute;
  top: 40%;
  right: 90%;
  background-color: #fff;
  padding: 8px 12px;
  font-family: "Kumbh Sans", sans-serif;
  font-size: 3rem;
  --initial-rotate: -1.5deg;
  transform: rotate(var(--initial-rotate));
  will-change: transform;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  z-index: 10;
}

/* 拡大 */
/* アニメーション */
.zoomIn {
  animation-name: zoomInAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes zoomInAnime {
  from { transform: scale(0.6) rotate(var(--initial-rotate)); opacity: 0; }
  to   { transform: scale(1)   rotate(var(--initial-rotate)); opacity: 1; }
}

/* worklife_allaboutホバー */
.wl-hover { position: relative; overflow: visible; }
.wl-hover a { display: block; position: relative; transition: transform 0.5s ease; }
/* hover + is-tapped */
.wl-hover:hover a,
.wl-hover.is-tapped a {
  transform: scale(1.05);
  transform-origin: center center;
}
.wl-hover img { width: 100%; height: auto; display: block; }
.wl-hover .hover-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(255, 145, 123, 0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.5s ease; z-index: 3; pointer-events: none;
}
.wl-hover .hover-text {
  font-family: "futura-pt", sans-serif;
  font-weight: 400;
  color: white;
  font-weight: bold;
  font-size: 1em;
  letter-spacing: 3px;
}
.wl-hover:hover .hover-overlay {
  opacity: 1;
}
/* hover + is-tapped */
.wl-hover:hover .hover-overlay,
.wl-hover.is-tapped .hover-overlay { opacity: 1; }

/* 職種紹介ボタン */


/* -----------------------------
   採用情報セクション調整
---------------------------------- */
div.recruitment-information h3 { font-size: 4rem; position: relative; }
.recruitment-information h3 { line-height: 1.7; }
div.recruitment-information h3::before{
    content: "採用情報";
    font-family: YuGothic, 游ゴシック, "Hiragino Kaku Gothic ProN", sans-serif;
    font-size: 1.5rem;
    font-style: italic;
    font-weight: normal;
    color: #333;
    position: absolute;
    bottom: -2rem;
    left: 0;
    right: 0;
    margin: auto;
}
.recruitment-information { transform: none !important; margin: 100px 0 30px 100px; }
.recruitment_information, .r-block { max-width: 1500px; margin: 0 auto; }

/* 採用情報職種リスト */
.job_type {
  display: flex;
  width: 100%;
  height: 500px;
  margin: 0 auto;
  overflow: visible;
}
.job_type--img { width: 60%; }
.job_type--img img { width: 100%; height: 100%; object-fit: cover; }
.job_type--list {
  width: 40%;
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0; padding: 0; list-style: none;
  background-color: #fff;
  border-top: 1px solid #ccc;
  border-right: 1px solid #ccc; 
}
.job_type--list li { flex: 1; display: flex; }
.job_type--list li a {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  border-bottom: 1px solid #ccc; padding-left: 100px;
  position: relative; overflow: hidden; transition: background-color 0.3s ease;
}
.job_type--list li:last-child a { border-bottom: none; }
/* ここは元のセレクタが `.job_type--list li :hover` でしたが、
   意図としては li:hover のはずなので、is-tapped と合わせて補完しておきます。 */
.job_type--list li:hover,
.job_type--list li.is-tapped { background-color: #f0f0f0; }
.job_type--list li div {
  font-size: 1.5rem; color: #333; text-decoration: none; position: relative; z-index: 2;
}

/* ---------------------------------
   リクルートブロックセクション調整
---------------------------------- */
.recruit-block {
  display: flex;
  width: 100%; height: 650px; margin: 0 auto; overflow: hidden;
}

/* 左側：ブロックリスト全体ラップ */
.block--list-wrap {
  width: 60%; height: 100%; display: flex; flex-direction: column;
  box-sizing: border-box; position: relative; z-index: 1;
}
.block--list-wrap::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 1px; height: 100%; background-color: #ccc; z-index: 2;
}

/* ブロックリスト */
.block--list {
  display: flex; flex-direction: column; height: 100%;
  margin: 0; padding: 0; list-style: none; background-color: #fff;
  border-top: 1px solid #ccc; border-right: 1px solid #ccc; 
}
.block--list li { display: flex; height: 100%; }
.block--list li:first-child { flex: 7; height: 100%; }
.block--list li:last-child  { flex: 3; height: 100%; }
.block--list li a {
  display: flex; align-items: center; justify-content: space-between; width: 100%; height: 100%;
  border-bottom: 1px solid #ccc; position: relative; overflow: hidden; transition: background-color 0.3s ease;
}
/* hover + is-tapped */
.block--list li a:hover,
.block--list li a.is-tapped { background-color: #f0f0f0; }
.block--list li div p {
  font-size: 1.5rem; color: #333; text-decoration: none; position: relative; z-index: 2;
}
.block--list-wrap { height: 100%; }

/* ENTRYブロック */
.entry--img {
  width: 40%; height: 650px; display: block; position: relative; overflow: hidden;
}
.entry-link {
  display: block; text-decoration: none; color: #fff; position: relative;
  width: 100%; height: 100%; margin: 0 auto;
}
.image-wrap { position: relative; display: inline-block; width: 100%; height: 100%; }
.image-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.entry-text {
  font-size: 7rem !important; font-weight: normal; font-style: italic;
  font-family: YuGothic, 游ゴシック, "Hiragino Kaku Gothic ProN", sans-serif;
  color: #fff; margin-bottom: 1px; padding: 0;
}
.entry-arrow .sub-text { font-size: 0.5rem; color: #fff; margin-top: 2px; }
/* hover + is-tapped */
.entry-link:hover .entry-text,
.entry-link.is-tapped .entry-text {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}
.entry-link:hover .sub-text,
.entry-link.is-tapped .sub-text {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/* 施設見学ブロック */
div.facilitytour h3 { font-size: 4rem; position: relative; }
.facilitytour h3 { line-height: 2; }
.lined-text.facilitytour { position: absolute; top: 100px; left: 150px; }
.kengaku-text {
  margin: 0; padding-left: 5px;
  font-family: A1 Mincho, serif; font-weight: normal; font-style: italic;
  font-size: 4rem !important;
}

/* === 流れる矢印 === */
.arrow-container {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  text-align: center; pointer-events: none;
}
.arrow-base {
  display: block; height: 1px; position: relative;
  transform: scale(0, 1); transform-origin: left center; animation: none;
  margin: 0 auto;
}

/* 色バリエーション */
.arrow-black { background-color: #000; }
.arrow-black::after { border-right: 1px solid #000; }
.arrow-white { background-color: #fff; }
.arrow-white::after { border-right: 1px solid #fff; }

/* 幅バリエーション */
.arrow-250 { width: 250px; }
.arrow-300 { width: 300px; }
.arrow-400 { width: 400px; }

/* 先端共通 */
.arrow-base::after {
  content: ""; position: absolute; bottom: 1px; right: 0;
  width: 8px; height: 15px; transform: rotate(-60deg) scale(1,0);
  transform-origin: right bottom; animation: none;
}

/* 共通のアニメーション */
@keyframes arrow-line {
  0% { transform: scale(0,1); }
  30% { transform: scale(0,1); }
  40% { transform: scale(1,1); }
  85% { transform: scale(1,1); opacity: 1; }
  90% { transform: scale(1,1); opacity: 0; }
  100% { transform: scale(1,1); opacity: 0; }
}
@keyframes arrow-head {
  0% { transform: rotate(-60deg) scale(1,0); }
  45% { transform: rotate(-60deg) scale(1,0); }
  55% { transform: rotate(-60deg) scale(1,1); }
  85% { transform: rotate(-60deg) scale(1,1); opacity: 1; }
  90% { transform: rotate(-60deg) scale(1,1); opacity: 0; }
  100% { transform: rotate(-60deg) scale(1,1); opacity: 0; }
}

/* ホバーごとにセレクタで発動（hover + is-tapped） */
.job_type--list li:hover .arrow-base,
.job_type--list li.is-tapped .arrow-base { animation: arrow-line 2s forwards; }
.job_type--list li:hover .arrow-base::after,
.job_type--list li.is-tapped .arrow-base::after { animation: arrow-head 2s forwards; }
.arrow2-link:hover .arrow-base,
.arrow2-link.is-tapped .arrow-base { animation: arrow-line 2s forwards; }
.arrow2-link:hover .arrow-base::after,
.arrow2-link.is-tapped .arrow-base::after { animation: arrow-head 2s forwards; }
.entry-link:hover .arrow-base,
.entry-link.is-tapped .arrow-base { animation: arrow-line 2s forwards; }
.entry-link:hover .arrow-base::after,
.entry-link.is-tapped .arrow-base::after { animation: arrow-head 2s forwards; }

/* 電話番号ブロック */
.block--list li.tel-block { flex: 3; display: flex; justify-content: center; align-items: center; }
.block--list li.tel-block a { justify-content: center !important; }
/* 電話番号リンク全体を中央に配置 */
.tel-link {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; text-decoration: none; color: inherit;
}
/* 電話番号全体を縦並び */
.tel-number-wrap { display: flex; flex-direction: column; align-items: center; text-align: center; }
/* 電話番号行：アイコン＋番号を横並びに */
.tel-number-row { display: flex; align-items: center; justify-content: center; gap: 0.8rem; }
/* 電話アイコン */
.tel-icon {
  font-size: 2.5rem; color: #333; transition: transform 0.3s ease, color 0.3s ease;
}
/* 電話番号テキスト */
.tel-number {
  font-family: "Yu Gothic", "游ゴシック", sans-serif;
  font-size: 4rem; font-weight: normal; letter-spacing: 0.05em; color: #333;
  line-height: 1.1; text-align: center; transition: color 0.3s ease;
}
/* サブテキスト（中央揃え） */
.tel-subtext {
  font-size: 1.2rem; color: #666; margin-top: 0.3rem; text-align: center; transition: color 0.3s ease;
}
/* hover + is-tapped */
.tel-link:hover .tel-number,
.tel-link.is-tapped .tel-number { color: #e60033; }
.tel-link:hover .tel-subtext,
.tel-link.is-tapped .tel-subtext {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}
.tel-link:hover .tel-icon,
.tel-link.is-tapped .tel-icon {
  color: #e60033;
  animation: shake 0.6s ease-in-out infinite;
}
/* アイコンを揺らすアニメーション */
@keyframes shake {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(-8deg); }
  50% { transform: rotate(8deg); }
  75% { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}

body { line-height: 1.5; }
#contents section { margin-bottom: 0 !important; }


/* PC以上でフルブリード化するセクション */
@media (min-width: 769px) {
  .recruitment_information,
  .r-block {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: none;
  }
}


/* ========================
   レスポンシブ スマホ用
========================= */
@media screen and (max-width: 768px) {
/* ------------------------
   紹介セクション調整
------------------------ */
  .section_pdg { padding: 20px 0 30px 0; }
  .sp-only { display: none; }
  /* セクション見出し全体 */
  .section_ttl {
    font-size: 1.4em; line-height: 1.4; letter-spacing: 0.1em; margin-bottom: 40px;
  }
  /* 小見出し */
  .section_ttl small { font-size: 0.9rem; margin-bottom: 8px; }
  /* サブタイトル */
  .section_ttl .font-jp-m { font-size: 1.6rem; }
  /* 小見出しのフォント */
  .font-jp-gl { font-size: 1rem; }
  .txtarea.txt-ctr-pc p { font-size: 12px !important; text-align: left; }
  /* エントリーボタン */
  .btn { min-width: 180px; min-height: 48px; padding: 15px 24px; font-size: 80%; }

/* ------------------------
   インタビューセクション調整
------------------------ */
/* インタビュータイトル調整 */
  div.interview-title h2::before { font-size: 1rem; }
  .lined-text {
    font-size: 2.5rem !important; line-height: 1.2;
    max-width: none !important; min-width: 0 !important;
    display: inline-block !important; padding: 0 !important; margin: 0 auto !important;
    font-size: 2.5rem !important;
  }
  .lined-text::before, .lined-text::after { width: 20px; }
  .lined-text::before { left: -5px; }
  .lined-text::after  { right: -5px; }
  .home_interview--inner .lined-text::before { left: -25px !important; }
  .home_interview--inner .lined-text::after  { right: -25px !important; }
  .lined-text-wrapper { text-align: center; margin: 0 0 30px 0; }
  /* インタビュー職種等テキスト調整 */
  .interview_list--job { font-size: 0.9rem !important; margin: 0 0 2px 0; line-height: 1.2; }
  .job-department { font-size: 0.7rem; line-height: 1.2; margin: 0 0 2px 0; }
  p.no-padding { margin: 0; padding: 0; }
  .interview_list--tag span { font-size: 0.7rem; padding: 2px 6px; margin: 0; }
  p.job-department-wrapper { margin: 0; padding: 0; }
  /* インタビュースタッフ画像調整 */
  .staff-image-wrap { width: 120px; }
  /* ホバー吹き出し */
  .speech-bubble-img, .speech-bubble-img2 { width: 80px; top: -60px; }
  /* インタビュー背景画像調整 */
  .interview {
    background-image: url("https://irie.or.jp/wp-content/uploads/2025/07/interview_background_sp.jpg");
    background-size: cover; background-position: center;
    height: 500px; width: 100vw; margin-left: calc(-50vw + 50%);
    padding: 40px 0; margin-top: 70px;
  }
  /* スワイパースライド位置調整 */
  .swiper-slide { margin-bottom: 40px; display: flex; flex-direction: column; gap: 0 !important; }

/* ------------------------
   職種紹介セクション調整
------------------------ */
  /* 位置調整 */
  .job_list { margin-top: 50px; }
  /* 職種紹介タイトル */
  .job_introduction h3 .gradient-text { font-size: 1.8rem; }
  /* 職種紹介サブタイトル */
  div.job_introduction h3::before { font-size: 0.9rem !important; bottom: 1rem !important; }
  /* スラッシュ吹き出し位置調整 */
  .lined-text.job_introduction::before { left: -15px; }
  .lined-text.job_introduction::after  { right: -15px; }
  /* 職種ボタン位置調整 */
  .button-container { margin: 0; }

/* ------------------------
   Instagramセクション調整
------------------------ */
  /* Instagramタイトル */
  .section-instagram .instagram-ttl {
    position: relative;
    z-index: 10;
    text-align: left !important;
    margin: 16px 0;
  }

  .section-instagram .instagram-ttl img {
    width: 140px;
    height: auto;
    margin: 0 !important;
    display: inline-block;
  }

  /* インスタ投稿位置調整 */
  .hospital-exterior {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: none; 
    z-index: 1;
    margin-top: -815px;
  }
  .hospital-exterior picture,
  .hospital-exterior img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
  }

  .section-instagram {
    position: relative;
    z-index: 0;
    overflow: visible !important;
    margin-top: 100px;
  }

  .section-instagram .instagram-ttl {
    position: relative;
    z-index: 10;
    text-align: center;
    margin: 24px auto 12px;
  }

  .section-instagram::before,
  .section-instagram::after {
    z-index: 0 !important;
    pointer-events: none;
  }


/* -----------------------------
   福利厚生・allaboutセクション調整
---------------------------------- */
  /* 位置調整 */
  .worklife_allabout{ padding: 500px 0 30px 0; }
  /* 福利厚生タイトル */
  .worklife h3 .gradient-text { font-size: 1.8rem; }
  /* スラッシュ吹き出し位置調整 */
  .lined-text.worklife::before { left: -15px; }
  .lined-text.worklife::after  { right: -15px; }
  /* イメージ画像位置調整 */
  .image-section {
    display: block; margin: 0 auto 40px auto; padding: 0 10px; text-align: left;
  }
  /* 上側の画像セクションの調整 */
  section.image-section.left {
    margin-left: auto !important; margin-right:  10px !important;
    margin-bottom: 40px !important; padding: 0 !important;
    display: block; text-align: left !important;
  }
  .img1 { margin-top:-30px; }
  .img2 { margin-left: 5px; margin-top:-40px; position: relative; z-index: 1; }
  .img2-wrapper { width: 100%; display: block; margin-left: auto; margin-right: 0; }
  /* 画像サイズ調整 */
  .image-section figure img { width: 90%; height: auto; display: block; }
  /* 吹き出し（figcaption）の共通設定 */
  .image-section figcaption {
    font-size: 1rem; padding: 4px 8px; background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); display: inline-block; margin-top: 10px;
  }
  /* 単色背景 */
  .img1::before { content: ""; position: absolute; bottom: -10px; left: -10px; width: 90%; height: 90%; }
  .img2-bg {
    position: absolute; bottom: -10px; right: -15px;
    width: calc(95% + 10px); height: calc(85% + 10px);
    z-index: -1; top: auto; left: auto;
  }
  /* イメージ */
  .image-section figure { position: relative; }
  figure.img2 {
    position: relative; display: block; margin-left: auto; margin-right: 0;
    max-width: 90%; width: auto; z-index: 1; overflow: visible;
  }
  figure.img2 img {
    display: block; width: 100%; height: auto; position: relative; z-index: 1;
  }
  /* image-section のスマホ共通設定 */
  .image-section { display: block; margin: 0 auto 40px auto; padding: 0 10px; text-align:  left; }
  /* image-section.right のスマホ専用設定 */
  section.image-section.right {
    margin-left: auto !important; margin-right: 10px !important;
    margin-bottom: 40px !important; padding: 0 !important;
  }
  /* figure要素（画像とキャプションを囲む）の調整 */
  section.image-section.right figure {
    display: block; margin-left: auto; margin-right: 0; max-width: 90%;
    width: auto; position: relative;
  }
  /* 画像を囲むa要素 */
  section.image-section.right figure a { display: block; width: 100%; position: relative; }
  /* img要素自体 */
  section.image-section.right figure img { display: block; width: 100%; height: auto; }
  /* 左側用キャプション */
  .overlay-label1, .overlay-label2 {
    position: absolute; background: #fff; padding: 6px 12px; transform: rotate(-5deg);
    font-size: 0.9rem; max-width: 80%; line-height: 1.4;
  }
  .overlay-label1 { top: 10px; right: 10px; }
  .overlay-label2 { top: 40px; right: -10px; }
  /* 右側用キャプション */
  .overlay-label3, .overlay-label4 {
    position: absolute; padding: 6px 12px; background-color: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-family: "Kumbh Sans", sans-serif; line-height: 1.4; white-space: nowrap; box-sizing: border-box;
    z-index: 100; will-change: transform; width: fit-content; right: auto; font-size: 0.8rem; max-width: none;
  }
  /* 「入江病院大解剖！」の最終調整 */
  .overlay-label3 { top: 10%; left: -40px; transform: rotate(-4deg); }
  /* 「数字で見る入江病院」の最終調整 */
  .overlay-label4 { top: 30%; left: -30px; transform: rotate(5deg); }
  .zoomIn { z-index: 10; }
  /* allaboutタイトル */
  .allabout h3 .gradient-text { font-size: 1.8rem; }
  /* スラッシュ吹き出し */
  .lined-text2.allabout { padding: 0 !important; }
  .lined-text2::before, .lined-text2::after { width: 18px; height: 1.5px; position: absolute; }
  .lined-text2.allabout::before { left: -14px; top: 40%; transform: rotate(80deg); }
  .lined-text2.allabout::after  { right: -16px; top: 70%; transform: rotate(-40deg); }

/* -----------------------------
   採用情報セクション調整
---------------------------------- */
  /* recruitment informationタイトル */
  .recruitment-information h3 .gradient-text { font-size: 1.8rem; }
  .recruitment_information { text-align: center; }
  .lined-text.recruitment-information {
    display: inline-flex; align-items: center; gap: 0.5em; position: relative;
    justify-content: center; margin: 0 auto;
  }
  .lined-text.recruitment-information::before,
  .lined-text.recruitment-information::after {
    content: ""; display: inline-block; width: 18px; height: 1.5px;
    background-color: #ff7e5f; transform: rotate(55deg);
  }
  .lined-text.recruitment-information::before { left: -20px; }
  .lined-text.recruitment-information::after  { transform: rotate(-55deg); right: -20px; }
  .lined-text.recruitment-information h3 { text-align: center; margin: 0 auto; }
  .lined-text.recruitment-information .gradient-text { display: inline-block; }
  b.gradient-text { padding: 0; }
  /* 採用情報サブタイトル */
  .lined-text.recruitment-information h3::before {
    font-size: 0.9rem; bottom: 0.5rem; position: absolute;
  }
  /* recruitment_information セクション全体の調整 */
  section.recruitment_information {
    position: relative; width: 100vw;
    margin-left: calc(-1 * ((100vw - 100%) / 2));
    margin-right: calc(-1 * ((100vw - 100%) / 2));
    padding: 0 0 6em 0;
    background-image: url('https://irie.or.jp/wp-content/uploads/2025/07/interview_background_sp.jpg');
    background-size: cover; background-repeat: no-repeat; background-position: top center;
    overflow: hidden; box-sizing: border-box; z-index: 0;
  }
  /* 背景画像だけ全幅に表示させる */
  section.recruitment_information::before {
    content: ""; position: absolute; top: 0; left: 0; width: 100vw; height: 100%;
    background: url('https://irie.or.jp/wp-content/uploads/2025/07/interview_background_sp.jpg') no-repeat center top / cover;
    z-index: -1;
  }
  .job_type {
    display: flex; flex-direction: row; align-items: flex-start; width: 100%; height: auto;
    margin: 0 auto; overflow: visible; position: relative; padding: 0 10px; gap: 0;
  }
  /* job_type--img (画像コンテナ) の調整 */
  .job_type--img {
    width: 75%; flex-shrink: 0; margin-left: -10%;
    position: relative; z-index: 1; height: auto;
  }
  .job_type--img img { width: 100%; height: auto; object-fit: cover; display: block; }
  /* job_type--list (リスト) の調整 */
  .job_type--list {
    width: 100%; flex-shrink: 0; margin: 0 0 0 -20%; list-style: none; padding: 0;
    background-color: rgba(255, 255, 255, 0.9) !important; border-top: none; border-right: none;
    height: auto; z-index: 2; transform: translateY(80px); text-align: left;
  }
  .job_type--list li {
    flex: auto; display: block; width: 100%; height: auto !important; margin-bottom: 0 !important;
    background-color: #ffffff; border: 1px solid #eee; box-shadow: 0 2px 5px rgba(0,0,0,0.05); overflow: hidden;
  }
  /* job_type--list a (リンク全体) の調整 */
  .job_type--list li a {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
    border-bottom: none; padding: 6px 10px; line-height: 1.2; min-height: 40px;
    text-decoration: none; color: #333;
  }
  .job_type--list li:not(:first-child) { margin-top: -1px; }
  .job_type--list li:last-child a { border-bottom: none; }
  /* job_type--list li div (テキスト) の調整 */
  .job_type--list li div {
    font-size: 0.9em; color: #333; text-decoration: none; position: relative; z-index: 2;
    font-weight: bold; max-width: calc(100% - 30px); width: auto; white-space: nowrap; overflow: visible; text-overflow: unset;
  }
  .job_type--list li.first { margin-top: 0 !important; padding-top: 0 !important; margin: 0; padding: 0; }

/* ---------------------------------
   リクルートブロックセクション調整
---------------------------------- */
  section#r-block, .recruit-block, .block--list-wrap, .entry--img {
    width: 100vw !important; max-width: 100vw !important; margin: 0 !important; padding: 0 !important; box-sizing: border-box;
  }
  .section-facilitytour { position: relative; padding-top: 40px; }
  /* スラッシュ吹き出し全体 */
  .lined-text.facilitytour {
    position: absolute !important; top: 50px !important; left: 70px !important;
    transform: rotate(-15deg) !important; margin: 0 !important; padding: 0 !important;
    display: inline-block; text-align: left !important; z-index: 10;
  }
  .lined-text.facilitytour::before {
    content: ''; position: absolute; top: 50%; width: 20px; height: 1.5px; transform: rotate(45deg);
  }
  .lined-text.facilitytour::after {
    content: ''; position: absolute; top: 50%; width: 20px; height: 1.5px; transform: rotate(-45deg);
  }
  .lined-text.facilitytour::before { left: -25px; top: 40%; }
  .lined-text.facilitytour::after  { right: -25px; top: 60%; }
  /* 福利厚生タイトル */
  div.facilitytour h3 { font-size: 1.8rem; position: relative; line-height: 2; margin: 0; }
  /* スラッシュ吹き出し位置調整 */
  .lined-text.facilitytour::before { left: -15px; }
  .lined-text.facilitytour::after  { right: -15px; }
  .kengaku-text { font-size: 2.5rem !important; }
  .arrow-container.entry-arrow { top: 50%; left: 50%; transform: translate(-50%, -50%); }
  .entry-text { font-size: 5rem !important; }
  .entry-arrow .sub-text { font-size: 0.9rem; }
  .recruit-block { display: flex; flex-direction: column !important; position: relative; left: -15px; width: calc(100% + 30px); }
  .block--list-wrap { order: 1; }
  .entry--img { order: 2; }
  .image-wrap, .image-wrap img { width: 100% !important; height: auto !重要; display: block; object-fit: cover; }
  .tel-number { font-size: 2.4rem; line-height: 1.2; }
  .tel-subtext { font-size: 1rem; margin-top: 0.2rem; }
  .tel-icon { font-size: 2rem; margin-right: 0.4rem; }
  .tel-number-row { gap: 0.5rem; }

  /* 流れる矢印調整 */
  /* 行数と1行あたりの実動時間 */
  .job_type--list {
    --rows: 5;           /* 行数に合わせて変更 */
    --slot: 20%;         /* 100% / 行数 */
    --seg: 2.2s;         /* 1行ぶんの体感スピード */
    --cycle: calc(var(--seg) * var(--rows)); /* 総周期 */
  }
  /* 既存の :hover 発火は上書きして常時ループに */
  .job_type--list li .arrow-base,
  .job_type--list li .arrow-base::after {
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-fill-mode: both;
  }
  /* ── 矢印の線：最初のスロットだけ動いて残りは待機 ── */
  .job_type--list li .arrow-base {
    animation-name: arrow-line-seq;
    animation-duration: var(--cycle);
  }
  /* ── 矢印の頭：線と同じタイミングで ── */
  .job_type--list li .arrow-base::after {
    animation-name: arrow-head-seq;
    animation-duration: var(--cycle);
  }
  /* 各行のオフセット（スロット位置） */
  .job_type--list li:nth-child(1) .arrow-base,
  .job_type--list li:nth-child(1) .arrow-base::after { animation-delay: calc(0 * var(--seg)); }
  .job_type--list li:nth-child(2) .arrow-base,
  .job_type--list li:nth-child(2) .arrow-base::after { animation-delay: calc(1 * var(--seg)); }
  .job_type--list li:nth-child(3) .arrow-base,
  .job_type--list li:nth-child(3) .arrow-base::after { animation-delay: calc(2 * var(--seg)); }
  .job_type--list li:nth-child(4) .arrow-base,
  .job_type--list li:nth-child(4) .arrow-base::after { animation-delay: calc(3 * var(--seg)); }
  .job_type--list li:nth-child(5) .arrow-base,
  .job_type--list li:nth-child(5) .arrow-base::after { animation-delay: calc(4 * var(--seg)); }
  /* 既存の :hover を無効化（残っていると競合するため） */
  .job_type--list li:hover .arrow-base,
  .job_type--list li:hover .arrow-base::after {
    animation-play-state: running;
  }

  /* ▼ シーケンス用の新しいキーフレーム（PC/SP共通どこでもOK。重複定義しない） */
  @keyframes arrow-line-seq {
    0%   { transform: scale(0,1); opacity: 0; }
    5%   { transform: scale(0,1); opacity: 1; }  /* 出現 */
    15%  { transform: scale(1,1); opacity: 1; }  /* 伸びきる */
    20%  { transform: scale(1,1); opacity: 0; }  /* 消える（次の行にバトン） */
    100% { transform: scale(1,1); opacity: 0; }  /* 残り区間は待機 */
  }
  @keyframes arrow-head-seq {
    0%   { transform: rotate(-60deg) scale(1,0); opacity: 0; }
    8%   { transform: rotate(-60deg) scale(1,0); opacity: 1; }
    18%  { transform: rotate(-60deg) scale(1,1); opacity: 1; }
    20%  { transform: rotate(-60deg) scale(1,1); opacity: 0; }
    100% { transform: rotate(-60deg) scale(1,1); opacity: 0; }
  }
  /* クリッピングさせない */
  .job_type--list,
  .job_type--list li,
  .job_type--list li a{
    overflow: visible !important;
    position: relative;
  }
  /* 2) 右余白をヘッド分増やす */
  .job_type--list{
    --lane-start: -30px;   /* ←矢印の開始X位置（左から） */
    --arrow-gap: 16px;     /* 右端の余白 */
    --arrow-thick: 1px;    /* 線の太さ */
    --arrow-head: 10px;    /* ▼の幅（確保分） */
    --head-shift-x: 0px;    /* 横方向 */
    --head-shift-y: 0px;    /* 縦方向 */
  }
  .job_type--list li a{
    padding-right: calc(var(--arrow-gap) + var(--arrow-head));
  }

  /* ===== 矢印の横線：左固定位置から右端まで伸ばす ===== */
  .job_type--list li .arrow-base{
    position: absolute; left: var(--lane-start); right: var(--arrow-gap);
    top: 50%; height: var(--arrow-thick);
    transform: translateY(-50%) scaleX(0); transform-origin: left center; z-index: 1;
  }

  /* ヘッド */
  .job_type--list li a::after{
    content: "";
    position: absolute; right: var(--arrow-gap); top: 50%;
    width: var(--arrow-head); height: var(--arrow-head);
    transform: translate(var(--head-shift-x), calc(-50% + var(--head-shift-y)))
    rotate(var(--head-angle));
    transform-origin: right bottom;
    border-right: var(--arrow-thick) solid var(--arrow-color);
    z-index: 4; pointer-events: none;
  }
  .arrow-250 { width: 100px; }
  .arrow-400 { width: 250px; }
}

/* =========================================================
   スマホで “タップ時だけ” ホバー相当の見た目にする (.is-tapped)
=========================================================*/
@media (hover: none) {

  /* ▼ ボタン系 */
  .btn-strong.is-tapped {
    background: linear-gradient(205deg, #F79D94 10%, #f794a4 20%, #f794a4 50%, #F79D94 55%, #f794a4 80%, #F79D94 100%) !important;
    transform: scale(1.05) !important;
  }

  /* ▼ 丸ボタン（職種サークルなど） */
  .circle-button.is-tapped {
    background: linear-gradient(45deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%) !important;
    background-size: 300% 300% !important;
    transform: scale(1.1) !important;
    animation: gradientMove 4s ease infinite !important;
  }

  /* ▼ 福利厚生イメージ（拡大＋オーバーレイ） */
  .wl-hover.is-tapped a {
    transform: scale(1.05) !important;
  }
  .wl-hover.is-tapped .hover-overlay {
    opacity: 1 !important;
  }

  /* ▼ インタビュー：スタッフ画像の拡大 */
  .staff-image-wrap.is-tapped .staff-img {
    transform: scale(1.1) translateY(-10px) !important;
  }

  /* ▼ 吹き出し（リンク上のフキダシ画像） */
  .swiper-slide.is-tapped .speech-bubble-img,
  .swiper-slide.is-tapped .speech-bubble-img2,
  .swiper-slide a.is-tapped .speech-bubble-img,
  .swiper-slide a.is-tapped .speech-bubble-img2 {
    opacity: 1 !important;
    transform: translateX(-50%) translateY(-5px) !important;
  }

  /* ▼ ENTRY（テキスト拡大＋流れる矢印） */
  .entry-link.is-tapped .entry-text,
  .entry-link.is-tapped .sub-text {
    transform: scale(1.1) !important;
  }
  .entry-link.is-tapped .arrow-base {
    animation: arrow-line 2s forwards !important;
  }
  .entry-link.is-tapped .arrow-base::after {
    animation: arrow-head 2s forwards !important;
  }

  /* ▼ 採用情報リストの行（矢印アニメーション） */
  .job_type--list li.is-tapped .arrow-base {
    animation: arrow-line 2s forwards !important;
  }
  .job_type--list li.is-tapped .arrow-base::after {
    animation: arrow-head 2s forwards !important;
  }

  /* ▼ 電話番号ブロック */
  .tel-link.is-tapped .tel-number {
    color: #e60033 !important;
  }
  .tel-link.is-tapped .tel-subtext {
    transform: scale(1.1) !important;
  }
  .tel-link.is-tapped .tel-icon {
    color: #e60033 !important;
    animation: shake 0.6s ease-in-out infinite !important;
  }

  a:focus,
  a:active {
    outline: none;
    /* ここで “ホバー相当の見た目” を付けない方針に */
    transform: none !important;
    /* 必要なら色や影のリセットも */
    box-shadow: none !important;
  }
}