@charset "UTF-8";

/* ==================================================
   Variables（変数定義）
================================================== */
:root {
  --color-main: #f37c8f;
  --color-text: #333333;
  --color-bg: #ffffff;
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-serif: 'Noto Serif JP', serif;
  --width-inner: 1100px;
}

/* ==================================================
   Base & Reset & Utility
================================================== */
body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  letter-spacing: 0.05em;
  margin: 0;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: opacity 0.3s; }
a:hover { opacity: 0.7; }

/* 共通コンテナ（横幅と余白の制御） */
.l-container {
  max-width: var(--width-inner);
  margin: 0 auto;
  padding: 0 4%;
}

/* ユーティリティ（PC/SP表示切り替え） */
.u-text-center { text-align: center; }
.u-hidden-pc { display: none !important; }
@media screen and (max-width: 768px) {
  .u-hidden-sp { display: none !important; }
  .u-hidden-pc { display: block !important; }
}

/* ==================================================
   Header
================================================== */
.l-header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 100;
}
.l-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding: 0 4%;
}
.l-header__navList {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ハンバーガーボタン（クリニックと同じサイズ・動き） */
.c-hamburger {
  background: none; border: none; cursor: pointer;
  width: 30px; height: 24px;
  position: relative; z-index: 101;
}
.c-hamburger span {
  display: block; width: 100%; height: 2px; background: var(--color-main);
  position: absolute; left: 0; transition: all 0.3s ease;
}
.c-hamburger span:nth-child(1) { top: 0; }
.c-hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.c-hamburger span:nth-child(3) { bottom: 0; }
.c-hamburger.is-active span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.c-hamburger.is-active span:nth-child(2) { opacity: 0; }
.c-hamburger.is-active span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

/* ==================================================
   SP Navigation (Accordion & Bottom Buttons)
================================================== */
.l-header__spNav {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  height: calc(100vh - 80px);
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  z-index: 99;
}
.l-header__spNav.is-active {
  transform: translateX(0);
}
.l-header__spNavInner {
  padding: 20px 4% 80px;
}

/* アコーディオンリスト */
.c-spNavList {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}
.c-spNavList__item {
  border-bottom: 1px solid #eee;
}
.c-spNavList__parent {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.c-spNavList__parent a {
  display: block;
  flex: 1;
  padding: 15px 0;
  font-weight: bold;
  color: var(--color-main);
}
.js-accordion-toggle {
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  position: relative;
  cursor: pointer;
}
.js-accordion-toggle::before,
.js-accordion-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background-color: var(--color-main);
  transform: translate(-50%, -50%);
  transition: transform 0.3s;
}
.js-accordion-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.js-accordion-toggle.is-open::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

/* 子メニュー */
.c-spNavList__sub {
  list-style: none;
  padding: 0 0 0 15px;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}
.c-spNavList__sub li {
  border-top: 1px dashed #eee;
}
.c-spNavList__sub a {
  display: block;
  padding: 12px 0;
  font-size: 0.9em;
  color: var(--color-text);
  position: relative;
}
.c-spNavList__sub a::before {
  content: "＞";
  font-size: 10px;
  margin-right: 5px;
  color: var(--color-main);
}

/* 下部ボタンBOX */
.c-spNavBtnBox {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}
.c-spNavBtnBox__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  border-radius: 4px;
  font-weight: bold;
  text-align: center;
  color: #fff;
  font-size: 14px;
}
.c-spNavBtnBox__btn--entry {
  background-color: var(--color-main);
}
.c-spNavBtnBox__btn--contact {
  background-color: #F2A65A;
}

/* ==================================================
   Floating Buttons (Clinic Style)
================================================== */
.l-float-pc {
  position: fixed;
  top: 50%; 
  right: 0;
  transform: translateY(-50%);
  z-index: 90;
  display: flex; 
  flex-direction: column; 
  gap: 10px;
}
.l-float-pc__btn {
  display: flex;
  flex-direction: column; 
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 10px;
  background-color: var(--color-main);
  color: #fff;
  border-radius: 10px 0 0 10px;
  transition: all 0.3s ease; 
  box-shadow: -2px 2px 5px rgba(0,0,0,0.1);
  text-decoration: none;
}
.l-float-pc__btn .icon {
  width: 22px;
  height: auto;
  display: block;
}
.l-float-pc__btn:hover {
  transform: translateX(-8px); 
  opacity: 1;
}
.l-float-pc__btn--entry {
  background-color: #F2A65A;
}
.l-float-pc__btn .text {
  writing-mode: vertical-rl; 
  letter-spacing: 2px;
  font-weight: bold;
}

.l-float-sp {
  position: fixed;
  bottom: 0; 
  left: 0; 
  width: 100%;
  z-index: 90;
}
.l-float-sp__btns {
  display: flex;
}
.l-float-sp__btn {
  flex: 1; 
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center; 
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  padding: 15px 5px;
  background-color: var(--color-main);
  border-right: 1px solid rgba(255, 255, 255, 0.4);
  text-decoration: none;
}
.l-float-sp__btn .icon {
  width: 18px;
  height: auto;
  display: block;
}
.l-float-sp__btn:last-child {
  border-right: none;
}
.l-float-sp__btn--entry {
  background-color: #F2A65A;
}

/* ==================================================
   Bottom Navigation (6 Buttons)
================================================== */
.l-bottomNav {
  padding: 60px 0;
  background-color: var(--color-bg);
}
.c-gridNav {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0 auto;
}
.c-gridNav li {
  width: calc(100% / 6);
  text-align: center;
}
.c-gridNav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 10px; 
  color: var(--color-text);
  font-weight: bold;
  text-decoration: none;
}
.c-gridNav__icon {
  width: 50px;
  height: auto;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}
.c-gridNav a:hover .c-gridNav__icon {
  transform: translateY(-5px);
}
.c-gridNav__text {
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
}
.c-gridNav__text::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-main);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}
.c-gridNav a:hover .c-gridNav__text::after {
  transform: scaleX(1);
}

@media screen and (max-width: 768px) {
  .c-gridNav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 10px;
  }
  .c-gridNav li { 
    width: 100%; 
    font-size: 13px; 
  }
  .c-gridNav a { 
    padding: 5px; 
  }
  .c-gridNav__icon {
    width: 45px;
    margin-bottom: 10px;
  }
}

/* ==================================================
   Contact Area (INFORMATION & CONTACT)
================================================== */
.l-contact {
  position: relative;
}
.l-contact__bg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/recruit/assets/img/common/contact_bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 80px 0;
}
.l-contact__inner {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.c-secTitle--white {
  text-align: center;
  color: #fff;
  margin-bottom: 40px;
}
.c-secTitle--white .en {
  display: block;
  font-family: var(--font-serif);
  font-size: 14px;
  letter-spacing: 0.1em;
  opacity: 0.8;
  margin-bottom: 5px;
}
.c-secTitle--white .ja {
  font-size: 28px;
  font-weight: bold;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
  margin: 0;
}
.c-secTitle--white .ja::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background-color: #fff;
}

.p-contact-infoBox {
  background-color: #fff;
  padding: 40px 5%;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.p-contact-infoBox__jobs {
  font-size: 16px;
  font-weight: bold;
  color: var(--color-text);
  margin-bottom: 10px;
  line-height: 1.8;
}
.p-contact-infoBox__jobs span {
  color: #ccc;
  margin: 0 10px;
}
.p-contact-infoBox__types {
  font-size: 14px;
  color: #666;
  margin-bottom: 30px;
}

.c-btn--main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-main);
  color: #fff;
  padding: 15px 50px;
  border-radius: 6px; 
  font-weight: bold;
  text-decoration: none;
  position: relative;
  min-width: 280px;
  transition: all 0.3s;
}
.c-btn--main:hover {
  background-color: #e56a7d;
  transform: translateY(-2px);
}
.c-btn--main::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.p-contact-btns {
  display: flex;
  margin-bottom: 40px;
  border: 1px solid #fff;
  border-radius: 6px;
  overflow: hidden;
}
.c-btn-ghost {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-right: 1px solid #fff;
  color: #fff;
  padding: 18px 10px;
  font-weight: bold;
  text-decoration: none;
  position: relative;
  transition: all 0.3s;
  background-color: transparent;
}
.c-btn-ghost:last-child {
  border-right: none;
}
.c-btn-ghost:hover {
  background-color: #fff;
  color: var(--color-main);
}
.c-btn-ghost::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 6px;
  height: 6px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.p-contact-tel {
  text-align: center;
  color: #fff;
}
.p-contact-tel__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  margin-bottom: 10px;
  font-family: Arial, sans-serif;
}
.p-contact-tel__icon {
  width: 32px;
  height: auto;
  margin-right: 12px;
}
.p-contact-tel__hours {
  font-size: 14px;
  opacity: 0.9;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .p-contact-infoBox { padding: 30px 4%; }
  .p-contact-infoBox__jobs { font-size: 14px; }
  .p-contact-infoBox__jobs span { margin: 0 5px; }
  .p-contact-btns { flex-direction: column; }
  .c-btn-ghost {
    border-right: none;
    border-bottom: 1px solid #fff;
  }
  .c-btn-ghost:last-child {
    border-bottom: none;
  }
  .p-contact-tel__number { font-size: 26px; }
  .p-contact-tel__icon { width: 24px; }

  .c-btn--main {
    min-width: auto;
    width: 100%;
    padding: 15px 20px;
  }
}

/* ==================================================
   全ページ共通アクションボタン (.c-btn-action)
================================================== */
.c-btn-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 52px;
  padding: 0 30px;
  border-radius: 26px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  box-sizing: border-box;
}
.c-btn-action span {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.c-btn-action span::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}
.c-btn-action:hover span::after {
  transform: translateX(4px) rotate(45deg);
}

/* ピンク塗りつぶしボタン */
.c-btn-action--entry {
  background-color: var(--color-main);
  color: #fff !important;
  border: 1px solid var(--color-main);
  box-shadow: 0 4px 12px rgba(243, 124, 143, 0.3);
}
.c-btn-action--entry:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(243, 124, 143, 0.4);
}

/* 白背景・ピンク枠ボタン */
.c-btn-action--back {
  background-color: #fff;
  color: var(--color-main) !important;
  border: 1.5px solid var(--color-main);
}
.c-btn-action--back:hover {
  background-color: var(--color-main);
  color: #fff !important;
  transform: translateY(-2px);
}

@media screen and (max-width: 768px) {
  .c-btn-action {
    width: 100%;
    min-width: auto;
  }
}

/* ==================================================
   全ページ共通 Breadcrumb (パンくずリスト)
================================================== */
.c-breadcrumb {
  margin-bottom: 20px;
}
.c-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center; /* 縦位置の中央揃えを追加してズレを防止 */
  justify-content: flex-start;
  gap: 8px; /* 余白を少し調整 */
  list-style: none !important; /* デフォルトのリストマーカーを強制オフ */
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: #666;
}
.c-breadcrumb__list li {
  display: inline-flex; /* 確実な横並びと高さ調整のため */
  align-items: center;
  list-style: none !important; /* ★スマホ特有の中黒（・）を確実に消す */
  margin: 0;
  padding: 0;
}
.c-breadcrumb__list a {
  text-decoration: underline;
  color: #666; /* リンク色を確実に指定 */
}
.c-breadcrumb__list a:hover {
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  .c-breadcrumb {
    margin-bottom: 15px;
  }
  .c-breadcrumb__list {
    font-size: 12px;
    gap: 6px; /* SPでは隙間を少し詰めて無駄な改行を防ぐ */
  }
}

/* =========================================================
   Footer (Clinic Style)
========================================================= */
.l-footer {
  background: #333;
  color: #fff;
  padding: 70px 0 20px;
  margin-top: 0;
  font-size: 13px;
  position: relative;
}
.p-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 80px;
  margin-bottom: 50px;
}
.p-footer-col--left { flex: 1; }
.p-footer-col--right { width: 320px; flex-shrink: 0; }
.p-footer-logo { margin-bottom: 20px; }
.p-footer-logo img { height: 45px; width: auto; display: block; }
.p-footer-desc { margin-bottom: 40px; color: #eee; font-size: 13px; letter-spacing: 0.05em; }

.p-footer-sitemap,
.p-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.p-footer-sitemap { margin-bottom: 50px; }
.p-footer-sitemap li { display: flex; align-items: flex-start; margin-bottom: 15px; line-height: 1.6; }
.p-footer-sitemap .head { width: 100px; flex-shrink: 0; font-weight: bold; }
.p-footer-sitemap .sep { margin: 0 15px; color: #666; }
.p-footer-sitemap .links { flex: 1; color: #aaa; }
.p-footer-sitemap a { color: #fff; transition: color 0.3s; }
.p-footer-sitemap a:hover, 
.p-footer-links a:hover { color: var(--color-main); }
.p-footer-sitemap .links a { color: #ccc; }
.p-footer-links li { margin-bottom: 12px; }
.p-footer-links a { color: #ccc; transition: color 0.3s; display: block; }

.p-footer-banners {
  display: flex;
  gap: 20px;
}
.p-footer-banners a {
  flex: 1;
  transition: opacity 0.3s;
}
.p-footer-banners a:hover {
  opacity: 0.8;
}
.p-footer-banners img {
  width: 100%;
  height: auto;
  display: block;
}

.p-footer-copyright {
  text-align: center;
  border-top: 1px solid #444;
  padding-top: 20px;
  color: #aaa;
  font-size: 12px;
}

@media screen and (max-width: 768px) {
  .l-footer { padding: 50px 0 20px; }
  .p-footer-inner { flex-direction: column; gap: 50px; }
  .p-footer-col--right { width: 100%; }
  .p-footer-sitemap li { flex-direction: column; margin-bottom: 25px; }
  .p-footer-sitemap .sep { display: none; }
  .p-footer-sitemap .head { width: 100%; margin-bottom: 8px; border-bottom: 1px solid #555; padding-bottom: 5px; }
  .p-footer-sitemap .links { line-height: 1.8; }
  .p-footer-banners { gap: 10px; }
}

/* =========================================================
   PC用 Page TOPボタン
========================================================= */
.c-page-top {
  position: fixed; 
  bottom: 0px; 
  right: 0px;  
  background-color: var(--color-main); 
  color: #fff;
  font-size: 14px; 
  font-weight: 500; 
  padding: 15px 25px; 
  border-radius: 6px; 
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); 
  transition: opacity 0.3s, transform 0.3s;
  z-index: 1000; 
}
.c-page-top:hover { opacity: 0.9; transform: translateY(-3px); }
@media screen and (max-width: 768px) {
  .c-page-top { display: none !important; }
}

/* =========================================================
   Cookie同意バナー
========================================================= */
.p-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(51, 51, 51, 0.95);
  color: #fff;
  z-index: 2000;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.p-cookie-banner.is-show {
  opacity: 1;
  visibility: visible;
}
.p-cookie-banner__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--width-inner);
  margin: 0 auto;
  padding: 15px 4%;
  gap: 20px;
}
.p-cookie-banner__text {
  font-size: 12px;
  line-height: 1.6;
  flex: 1;
  margin: 0;
}
.p-cookie-banner__text a { text-decoration: underline; color: var(--color-main); }
.p-cookie-banner__btns { flex-shrink: 0; }
.p-cookie-banner__btn {
  padding: 10px 30px;
  font-size: 14px;
  cursor: pointer;
  border: none;
  background-color: var(--color-main);
  color: #fff;
  border-radius: 4px;
}
@media screen and (max-width: 768px) {
  .p-cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 15px 4%;
    gap: 15px;
  }
  .p-cookie-banner__btns { text-align: center; }
  .p-cookie-banner__btn { width: 100%; }
}

/* ==================================================
   Animations (フェードイン)
================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}