@charset "UTF-8";
.header {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
  padding: 20px 4%;
  background: transparent;
}

.header__inner {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 20px;
}

.header__contact {
  display: flex !important;
  align-items: center !important;
  gap: 15px;
  font-weight: bold;
  color: #333333;
  font-size: 1rem;
  white-space: nowrap;
}
.header__contact a {
  color: #333333;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: transform 0.2s ease;
}
.header__contact a:hover {
  transform: scale(1.15);
}
.header__contact .time-info {
  font-weight: 900;
  font-size: 0.9em;
}

.header__menu {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: nowrap !important;
  list-style: none !important;
  gap: 0;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0.95rem;
  white-space: nowrap;
}

.header__menu li {
  display: flex !important;
  align-items: center !important;
  list-style: none !important;
}
.header__menu li:not(:last-child)::after {
  content: "";
  width: 3px;
  height: 16px;
  background-color: #cbd5e1;
  display: inline-block;
}
.header__menu li a {
  color: #333333;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  padding: 0 15px;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease;
}
.header__menu li a.contact-btn {
  color: #ff9900;
}
.header__menu li a:hover {
  transform: scale(1.15);
  color: #ff9900;
}

.header__contact-menu {
  position: relative;
}

.header__update-date {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5cm);
  margin: 0;
  white-space: nowrap;
  font-weight: bold;
  font-size: 1rem;
  color: #333333;
}

/* iPad・タブレット */
@media (min-width: 768px) and (max-width: 1024px) {
  .header {
    padding: 10px 3% !important;
  }
  .header__inner {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 4px !important;
    text-align: center !important;
  }
  .header__contact {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 6px 12px !important;
    font-size: 0.78rem !important;
    line-height: 1.4 !important;
  }
  .header__menu {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 3px 0 !important;
    font-size: 0.72rem !important;
    line-height: 1.4 !important;
  }
  .header__menu li a {
    padding: 0 7px !important;
  }
  .header__update-date {
    position: static !important;
    width: 100% !important;
    margin-top: 2px !important;
    text-align: center !important;
    font-size: 0.72rem !important;
  }
}
@media (max-width: 767px) {
  .header {
    padding: 8px 10px;
  }
  .header__inner {
    flex-direction: column !important;
    align-items: center !important;
    gap: 4px;
    text-align: center;
  }
  .header__contact {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 4px 8px;
    font-size: 0.62rem;
    line-height: 1.4;
  }
  .header__menu {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 3px 0;
    font-size: 0.58rem;
    line-height: 1.4;
  }
  .header__menu li a {
    padding: 0 4px;
  }
  .header__menu li:not(:last-child)::after {
    width: 2px;
    height: 10px;
  }
  .header__update-date {
    position: absolute;
    top: calc(100% + 3px);
    left: calc(50% - 1cm);
    transform: translateX(-50%);
    width: -moz-max-content;
    width: max-content;
    margin: 0;
    color: #fff;
    text-align: center;
    font-size: 0.62rem;
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.55);
  }
}
.fv-section {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.fv-wrapper {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.fv-video {
  width: 100%;
  height: auto;
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center top;
     object-position: center top;
}

.fv-catch-text {
  position: absolute;
  left: 4%;
  bottom: 7%;
  z-index: 5;
}

.fv-catch-text h1 {
  margin: 0;
  color: #000;
  font-weight: 900;
  font-size: clamp(2rem, 3vw, 3.6rem);
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-shadow: 3px 3px 0 rgba(255, 255, 255, 0.9), 6px 6px 12px rgba(0, 0, 0, 0.28);
}

/* iPad */
@media (min-width: 768px) and (max-width: 1024px) {
  .fv-section,
  .fv-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }
  .fv-video {
    width: 100%;
    height: auto;
    -o-object-fit: contain;
       object-fit: contain;
    -o-object-position: center top;
       object-position: center top;
    transform: none;
  }
  .fv-catch-text {
    left: 4%;
    bottom: 7%;
  }
  .fv-catch-text h1 {
    font-size: clamp(1.7rem, 4.2vw, 2.7rem);
    line-height: 1.35;
    text-shadow: 3px 3px 0 rgba(255, 255, 255, 0.9), 6px 6px 12px rgba(0, 0, 0, 0.28);
  }
}
@media (max-width: 767px) {
  .fv-video {
    width: 100%;
    height: auto;
    -o-object-fit: contain;
       object-fit: contain;
    -o-object-position: center top;
       object-position: center top;
  }
  .fv-catch-text {
    left: 4%;
    bottom: 7%;
  }
  .fv-catch-text h1 {
    font-size: clamp(1.25rem, 7vw, 2rem);
    line-height: 1.35;
    text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.9), 4px 4px 10px rgba(0, 0, 0, 0.28);
  }
}
/* ========================================
   共通アニメーション
======================================== */
.fade-img {
  filter: brightness(0.9);
  transition: filter 1s ease;
}
.fade-img.active {
  filter: brightness(1.1);
}

.fade-director,
.fade-line,
.recruit-fade-line,
.massage-fade-line,
.massage-fade-all,
.scroll-fade-in {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 2s ease, transform 2s ease;
}
.fade-director.active,
.fade-line.active,
.recruit-fade-line.active,
.massage-fade-line.active,
.massage-fade-all.active,
.scroll-fade-in.active {
  opacity: 1 !important;
  transform: translateY(0);
}

/* ========================================
   共通見出し
======================================== */
.concept-title,
.section-title,
.recruit-title,
.access-title {
  text-align: center !important;
  color: #000 !important;
  font-size: clamp(1.8rem, 3vw, 2.2rem) !important;
  font-weight: bold !important;
  line-height: 1.4 !important;
  margin-bottom: clamp(30px, 5vw, 57px) !important;
}

/* ========================================
   経営理念
======================================== */
.concept-section {
  width: 100%;
  background-color: #fff;
  scroll-margin-top: 100px;
  padding: 10px clamp(18px, 4vw, 38px) 20px;
  position: relative;
  z-index: 5;
}

.concept-block {
  display: block;
  margin-bottom: 25px;
  line-height: 1.9;
}

.concept-text-main {
  display: inline;
  color: #000 !important;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: bold;
  line-height: 1.9;
}

.concept-text-sub {
  display: inline;
  color: #ff9900 !important;
  font-size: clamp(1.15rem, 2.5vw, 1.8rem);
  font-weight: bold;
  line-height: 1.9;
  padding: 0 6px;
}

/* ========================================
   スローガン動画
======================================== */
.slogan-section {
  width: 100%;
  padding: 0;
}

.slogan-video-container {
  width: 100%;
  height: clamp(220px, 32vw, 12cm);
  overflow: hidden;
}
.slogan-video-container video {
  width: 100%;
  height: 100%;
  -o-object-fit: fill;
     object-fit: fill;
}

/* ========================================
   代表挨拶
======================================== */
.greeting-section {
  width: 100%;
  background-color: #fcae6c !important;
  padding-top: 76px;
  padding-bottom: 62px;
  scroll-margin-top: 100px;
  overflow-x: hidden;
}

.greeting-container {
  width: 100%;
  padding: 0 4%;
  display: flex;
  justify-content: center;
}

.greeting-flex {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  max-width: 1280px;
  width: 100%;
  gap: 0;
  margin: 0 auto;
  padding-left: 70px;
}

.greeting-img {
  width: 10cm;
  height: 10cm;
  flex-shrink: 0;
  margin-left: 0;
  margin-right: 38px;
}

.greeting-text-area {
  flex-grow: 1;
  min-width: 0;
}
.greeting-text-area h3,
.greeting-text-area .fade-line {
  font-size: 1.35rem;
  color: #fff !important;
  font-weight: bold;
  line-height: 1.9;
  margin-bottom: 8px;
  text-align: left;
}

/* ========================================
   院長
======================================== */
.director-area {
  width: 100%;
  margin-top: 57px;
  padding: 0 4%;
  box-sizing: border-box;
}

.director-flex {
  width: 100%;
  max-width: 1280px;
  min-height: 15cm;
  margin: 0 auto;
  padding-left: 70px;
  position: relative;
  box-sizing: border-box;
}

.director-profile-box {
  width: 8cm;
  margin: 0;
  padding: 0;
}

.director-img {
  width: 8cm;
  height: 8cm;
  margin: 0 0 18px 0;
}

.director-text-area {
  width: 8cm;
  margin: 0;
  padding: 0;
  text-align: left;
}

.director-position {
  font-size: 1.5rem;
  color: #fff !important;
  font-weight: bold;
  line-height: 1.45;
  margin: 0 0 8px;
  white-space: nowrap;
  text-align: center;
}

.director-license,
.director-message-title {
  font-size: 1.05rem;
  color: #fff !important;
  font-weight: bold;
  line-height: 1.55;
  margin: 0 0 8px;
  text-align: left;
}

/* PC動画位置：ここだけ差し替え */
/* ========================================
   院長動画だけ 完全版
======================================== */
.director-video-box {
  position: absolute !important;
  top: 0 !important;
  /* 右外側余白1cm */
  right: calc(1cm - (100vw - 1280px) / 2) !important;
  width: 380px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  transform: none !important;
}

.director-video-box video {
  width: 100% !important;
  height: auto !important;
  -o-object-fit: contain !important;
     object-fit: contain !important;
  display: block !important;
  transform: none !important;
}

.director-video-box .video-overlay-link {
  position: absolute !important;
  left: 50% !important;
  top: 78% !important;
  width: 88% !important;
  transform: translate(-50%, -50%) !important;
  text-align: center !important;
  z-index: 999 !important;
}

.director-video-box .video-overlay-link h5 {
  font-size: 1.15rem !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  color: #000 !important;
  font-weight: bold !important;
  text-align: center !important;
}

.director-video-box .underline-link {
  color: #ff9900 !important;
  text-decoration: underline !important;
  cursor: pointer;
}

/* 写真なじませ */
.greeting-img,
.director-img {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background-color: transparent;
}
.greeting-img img,
.director-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  -webkit-mask-image: linear-gradient(to bottom, black calc(100% - 15px), transparent 100%), linear-gradient(to right, black calc(100% - 15px), transparent 100%), linear-gradient(to top, black calc(100% - 15px), transparent 100%), linear-gradient(to left, black calc(100% - 15px), transparent 100%);
  mask-image: linear-gradient(to bottom, black calc(100% - 15px), transparent 100%), linear-gradient(to right, black calc(100% - 15px), transparent 100%), linear-gradient(to top, black calc(100% - 15px), transparent 100%), linear-gradient(to left, black calc(100% - 15px), transparent 100%);
  -webkit-mask-composite: destination-in;
  mask-composite: intersect;
}

/* ========================================
   TOURIのマッサージ
======================================== */
.massage-section {
  width: 100%;
  padding: 60px 0;
  background-color: #fff;
}

.massage-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding: 0 4%;
}

.massage-text-area {
  flex-grow: 1;
  width: 100%;
}
.massage-text-area h3,
.massage-text-area p {
  font-size: 1.35rem !important;
  font-weight: bold;
  line-height: 1.9 !important;
  color: #000 !important;
}

.massage-video-box {
  width: 600px;
  flex-shrink: 0;
}
.massage-video-box video {
  width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.video-sub-text h3,
.video-sub-text p,
.video-sub-text .massage-fade-line {
  font-size: clamp(1rem, 1.7vw, 1.35rem) !important;
  color: #ff9900 !important;
  font-weight: bold;
  line-height: 1.8 !important;
}

/* ========================================
   求人
======================================== */
.recruit-section {
  width: 100%;
  padding-top: 38px;
  padding-bottom: 80px;
  background-color: #eef7f2 !important;
}

.recruit-flex {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.recruit-video-box {
  width: 600px;
  flex-shrink: 0;
  padding-left: 19px;
  margin-right: 38px;
}
.recruit-video-box video {
  width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.recruit-container {
  flex-grow: 1;
  padding-top: 228px;
  padding-right: 4%;
  text-align: left;
}
.recruit-container h3,
.recruit-container .recruit-fade-line {
  font-size: 1.6rem;
  color: #000 !important;
  font-weight: bold;
  line-height: 2;
  margin-bottom: 12px;
}

/* エントリーバナー */
.entry-banner {
  width: 7cm;
  height: auto;
  margin: 4.5cm auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: none;
  box-shadow: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 2s ease, transform 2s ease;
}
.entry-banner.active, .entry-banner.is-show {
  opacity: 1;
  transform: translateY(0);
}
.entry-banner a {
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 0.35s ease;
}
.entry-banner a:hover {
  transform: scale(1.08);
}
.entry-banner img {
  width: 100%;
  height: auto;
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

/* ========================================
   アクセス
======================================== */
.access-section {
  width: 100%;
  background-color: #fff !important;
  padding-top: 38px;
  padding-bottom: 1cm;
  text-align: center;
  overflow: visible !important;
}

.access-video-container {
  width: min(950px, 100vw - 32px);
  margin: 114px auto 0;
  position: relative;
  overflow: visible !important;
  background-color: #fff;
}
.access-video-container video {
  width: 100%;
  height: auto !important;
  -o-object-fit: contain !important;
     object-fit: contain !important;
  display: block !important;
}

.access-map-box {
  width: 60%;
  height: 53%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.access-map-box iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.gradient-line {
  width: 100% !important;
  height: 0.05cm !important;
  margin-top: 0.5cm !important;
  margin-bottom: 0.5cm !important;
  background: linear-gradient(to right, #ff4500 0%, #ffee00 50%, #00ff00 100%) !important;
}

/* ========================================
   最後の広告動画
======================================== */
.last-ad-container {
  width: 80% !important;
  max-width: 1000px !important;
  margin: 2cm auto 2cm !important;
  padding: 0 !important;
  overflow: visible !important;
  background-color: #fff !important;
}
.last-ad-container video {
  width: 100% !important;
  height: auto !important;
  max-height: 80vh !important;
  -o-object-fit: contain !important;
     object-fit: contain !important;
  display: block !important;
  background-color: #fff !important;
}

/* ========================================
   iPad / Tablet
======================================== */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  html,
  body {
    width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
  }
  .fv-section,
  .fv-wrapper {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
  .fv-video {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    -o-object-fit: contain !important;
       object-fit: contain !important;
    -o-object-position: center top !important;
       object-position: center top !important;
    display: block !important;
    transform: none !important;
  }
  .greeting-section {
    padding-top: 56px !important;
    padding-bottom: 54px !important;
  }
  .greeting-container,
  .greeting-flex,
  .director-flex,
  .massage-flex,
  .recruit-flex {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    gap: 32px !important;
    box-sizing: border-box !important;
  }
  .greeting-img {
    width: 300px !important;
    height: 300px !important;
    margin: 0 auto 40px !important;
  }
  .greeting-text-area,
  .director-text-area,
  .massage-text-area,
  .recruit-container {
    width: 100% !important;
    max-width: 680px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
  }
  .greeting-text-area h3,
  .director-text-area h3,
  .director-position,
  .director-license,
  .director-message-title,
  .massage-text-area h3,
  .recruit-container h3 {
    text-align: center !important;
  }
  .director-area {
    min-height: auto !important;
    margin-top: 48px !important;
    padding: 0 !important;
  }
  .director-profile-box {
    width: 300px !important;
    margin: 0 auto 28px !important;
  }
  .director-img {
    width: 260px !important;
    height: 260px !important;
    margin: 0 auto 18px !important;
  }
  .director-text-area {
    width: 300px !important;
  }
  .director-position {
    font-size: 1.5rem !important;
    line-height: 1.45 !important;
    white-space: nowrap !important;
  }
  .director-license,
  .director-message-title {
    font-size: 1rem !important;
    line-height: 1.55 !important;
  }
  .director-video-box,
  .massage-video-box,
  .recruit-video-box {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    width: min(86vw, 680px) !important;
    max-width: 680px !important;
    height: auto !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: visible !important;
    transform: none !important;
  }
  .director-video-box video,
  .massage-video-box video,
  .recruit-video-box video {
    width: 100% !important;
    height: auto !important;
    -o-object-fit: contain !important;
       object-fit: contain !important;
    display: block !important;
  }
  .director-video-box .video-overlay-link {
    top: 79% !important;
    width: 88% !important;
  }
  .director-video-box .video-overlay-link h5 {
    font-size: 1.45rem !important;
    line-height: 1.2 !important;
  }
  .recruit-container {
    padding-top: 24px !important;
  }
  .entry-banner {
    width: 6.5cm !important;
    margin-top: 3cm !important;
  }
  .pc-space {
    display: none !important;
  }
  .access-section {
    padding-top: 10px !important;
    padding-bottom: 0 !important;
    background: #fff !important;
    overflow: visible !important;
  }
  .access-title {
    margin-bottom: 0.5cm !important;
    transform: translateY(-0.5cm);
  }
  .access-video-container {
    width: 54vw !important;
    max-width: 520px !important;
    margin: 0 auto 0.5cm !important;
    position: relative !important;
    transform: translateY(-0.5cm) !important;
  }
  .last-ad-container {
    width: 68vw !important;
    max-width: 620px !important;
    margin: 0.5cm auto 0.5cm !important;
    padding: 0 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    transform: none !important;
  }
  .footer {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 50 !important;
    margin-top: 0 !important;
    padding: 18px 5% 110px !important;
    background: #fff !important;
    color: #333 !important;
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
  }
  #top-btn {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 64px !important;
    height: 64px !important;
    right: 24px !important;
    bottom: 24px !important;
    z-index: 9999999 !important;
  }
}
/* ========================================
   iPhone / スマホ
======================================== */
@media screen and (max-width: 767px) {
  html,
  body {
    width: 100% !important;
    min-width: 320px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
  }
  section {
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
  .fv-section,
  .fv-wrapper {
    width: 100% !important;
    height: auto !important;
    overflow: hidden !important;
  }
  .fv-video {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    -o-object-fit: contain !important;
       object-fit: contain !important;
    -o-object-position: center top !important;
       object-position: center top !important;
  }
  .fv-catch-text {
    left: 5% !important;
    bottom: 8% !important;
    width: 90% !important;
  }
  .fv-catch-text h1 {
    font-size: 10px !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    white-space: normal !important;
  }
  .concept-section {
    padding: 28px 18px 32px !important;
  }
  .greeting-section {
    padding: 44px 0 54px !important;
    background-color: #fcae6c !important;
  }
  .massage-section {
    padding: 54px 0 !important;
    background-color: #fff !important;
  }
  .recruit-section {
    padding: 48px 0 56px !important;
    background-color: #eef7f2 !important;
  }
  .access-section {
    padding: 24px 0 20px !important;
    background-color: #fff !important;
  }
  .section-title,
  .recruit-title,
  .access-title,
  .concept-title {
    font-size: 1.75rem !important;
    line-height: 1.4 !important;
    text-align: center !important;
    margin: 0 auto 32px !important;
  }
  .access-title {
    margin-bottom: 20px !important;
  }
  .greeting-container,
  .greeting-flex,
  .director-flex,
  .massage-flex,
  .recruit-flex {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    gap: 28px !important;
    box-sizing: border-box !important;
  }
  .greeting-img {
    width: 260px !important;
    height: 260px !important;
    max-width: 82vw !important;
    margin: 0 auto 26px !important;
    display: block !important;
  }
  .director-area {
    width: 100% !important;
    max-width: 100% !important;
    min-height: auto !important;
    margin: 34px auto 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }
  .director-profile-box {
    width: 300px !important;
    max-width: 82vw !important;
    margin: 0 auto 28px !important;
  }
  .director-img {
    width: 240px !important;
    height: 240px !important;
    max-width: 82vw !important;
    margin: 0 auto 0.3cm !important;
    display: block !important;
  }
  .director-text-area {
    width: 300px !important;
    max-width: 82vw !important;
    text-align: center !important;
  }
  .director-position {
    font-size: 1.2rem !important;
    line-height: 1.45 !important;
    white-space: nowrap !important;
    text-align: center !important;
    margin: 0 auto 8px !important;
  }
  .director-license,
  .director-message-title {
    font-size: 1rem !important;
    line-height: 1.55 !important;
    text-align: center !important;
    margin: 0 auto 8px !important;
  }
  .greeting-img img,
  .director-img img {
    width: 100% !important;
    height: 100% !important;
    -o-object-fit: cover !important;
       object-fit: cover !important;
    display: block !important;
  }
  .director-video-box,
  .massage-video-box,
  .recruit-video-box,
  .last-ad-container {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    width: 300px !important;
    max-width: 82vw !important;
    height: auto !important;
    margin: 0 auto !important;
    padding: 0 !important;
    overflow: visible !important;
    flex: none !important;
    box-sizing: border-box !important;
    transform: none !important;
  }
  .director-video-box video,
  .massage-video-box video,
  .recruit-video-box video,
  .last-ad-container video,
  .director-video-box img,
  .massage-video-box img,
  .recruit-video-box img,
  .last-ad-container img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    -o-object-fit: contain !important;
       object-fit: contain !important;
    margin: 0 auto !important;
    transform: none !important;
  }
  .director-video-box .video-overlay-link,
  .recruit-video-box .video-overlay-link,
  .video-overlay-link {
    position: absolute !important;
    left: 50% !important;
    top: 78% !important;
    bottom: auto !important;
    width: 88% !important;
    max-width: 260px !important;
    transform: translate(-50%, -50%) !important;
    text-align: center !important;
    z-index: 50 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .director-video-box .video-overlay-link h5,
  .recruit-video-box .video-overlay-link h5,
  .video-overlay-link h5 {
    font-size: 0.95rem !important;
    line-height: 1.25 !important;
    text-align: center !important;
    margin: 0 !important;
    color: #000 !important;
  }
  .video-overlay-link .underline-link {
    color: #ff9900 !important;
    text-decoration: underline !important;
  }
  .pc-space {
    display: none !important;
  }
  .entry-banner {
    width: 86% !important;
    max-width: 280px !important;
    margin-top: 2cm !important;
  }
  .entry-banner a:hover,
  .entry-banner a:active {
    transform: scale(1.06);
  }
  #top-btn {
    width: 64px !important;
    height: 64px !important;
    right: 18px !important;
    bottom: 22px !important;
    z-index: 9999999 !important;
  }
}
/* ==========================================
   Nest Hub Max 1280×800 専用
========================================== */
@media screen and (width: 1280px) and (height: 800px) {
  html,
  body {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
  }
  .fv-section {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
  /* ヘッダー：Nest Hub Max 2段表示 */
  .header {
    height: auto !important;
    padding: 6px 0 !important;
    overflow: visible !important;
  }
  .header__inner {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px 18px !important;
    text-align: center !important;
  }
  /* 1段目：TEL / FAX */
  .header__contact {
    order: 1 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 24px !important;
    width: 100% !important;
    text-align: center !important;
  }
  /* 2段目：メニュー + お問い合わせ + 更新日 */
  .header__nav,
  .header__menu,
  .header__contact-menu,
  .header__update-date {
    order: 2 !important;
  }
  .header__nav,
  .header__menu,
  .header__contact-menu {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 14px !important;
    width: auto !important;
    text-align: center !important;
  }
  .header__update-date {
    position: static !important;
    order: 1 !important;
    margin: 0 0 0 0.2cm !important;
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
    text-align: left !important;
  }
  /* スローガン：Nest Hub Max 横幅100%・縦7cm・切れなし圧縮 */
  .slogan-section {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
  }
  .slogan-video-container {
    width: 100% !important;
    height: 7cm !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
  .slogan-video-container video {
    width: 100% !important;
    height: 100% !important;
    -o-object-fit: fill !important;
       object-fit: fill !important;
    -o-object-position: center center !important;
       object-position: center center !important;
    display: block !important;
  }
  /* 院長：現状維持 */
  .director-area {
    width: 100% !important;
    margin-top: 57px !important;
    padding: 0 4% !important;
    min-height: 15cm !important;
    box-sizing: border-box !important;
  }
  .director-flex {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 1280px !important;
    min-height: 15cm !important;
    margin: 0 auto !important;
    padding-left: 70px !important;
    box-sizing: border-box !important;
  }
  .director-profile-box {
    position: static !important;
    width: 8cm !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .director-img {
    width: 8cm !important;
    height: 8cm !important;
    margin: 0 0 18px 0 !important;
  }
  .director-text-area {
    width: 8cm !important;
    text-align: left !important;
  }
  .director-position {
    font-size: 1.5rem !important;
    line-height: 1.45 !important;
    white-space: nowrap !important;
    text-align: center !important;
    margin: 0 0 8px !important;
  }
  .director-license,
  .director-message-title {
    font-size: 1.05rem !important;
    line-height: 1.55 !important;
    text-align: left !important;
    margin: 0 0 8px !important;
  }
  .director-video-box {
    position: absolute !important;
    top: 0 !important;
    right: 1cm !important;
    width: 500px !important;
    height: 15cm !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    overflow: visible !important;
  }
  .director-video-box video {
    width: 100% !important;
    height: 100% !important;
    -o-object-fit: contain !important;
       object-fit: contain !important;
    display: block !important;
  }
  .director-video-box .video-overlay-link {
    top: 78% !important;
    width: 88% !important;
  }
  .director-video-box .video-overlay-link h5 {
    font-size: 1.15rem !important;
    line-height: 1.2 !important;
  }
  /* 求人情報：文頭スペースなし・バランス調整 */
  .recruit-section {
    padding: 52px 0 70px !important;
  }
  .recruit-flex {
    display: grid !important;
    grid-template-columns: 460px 520px !important;
    justify-content: center !important;
    align-items: center !important;
    -moz-column-gap: 52px !important;
         column-gap: 52px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 32px !important;
    box-sizing: border-box !important;
  }
  .recruit-video-box {
    width: 460px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .recruit-video-box video {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    -o-object-fit: contain !important;
       object-fit: contain !important;
  }
  .recruit-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 520px !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
  }
  .recruit-container h3,
  .recruit-fade-line {
    width: 100% !important;
    margin: 0 auto 18px !important;
    padding: 0 !important;
    text-indent: 0 !important;
    text-align: center !important;
    font-size: 1.28rem !important;
    line-height: 1.8 !important;
    letter-spacing: 0 !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }
  .entry-banner {
    display: flex !important;
    width: 7.8cm !important;
    margin: 0.6cm auto 0 !important;
  }
  .entry-banner img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }
  .pc-space {
    display: none !important;
  }
  .gradient-line {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .access-video-container,
  .last-ad-container,
  .footer {
    width: 860px !important;
    max-width: 860px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .footer {
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 18px 0 28px !important;
  }
}
.footer {
  width: 100%;
  background-color: #fff;
  color: #333;
  padding: 18px 5% 80px;
  font-size: 0.8rem;
  border-top: 1px solid #eee;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
  position: relative !important;
  z-index: 100 !important;
  margin-top: 0 !important;
}

#top-btn {
  position: fixed !important;
  right: 24px !important;
  bottom: 24px !important;
  width: 64px !important;
  height: 64px !important;
  z-index: 9999999 !important;
  cursor: pointer;
  background: transparent url("../img/top.png") no-repeat center center !important;
  background-size: cover !important;
  border-radius: 50%;
  border: none;
  outline: none;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  min-width: 320px;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: sans-serif;
}

img,
video,
iframe {
  max-width: 100%;
  display: block;
}

img,
video {
  height: auto;
}

/* ===== Nest Hub Max / 1025〜1400px 完全差し替え ===== */
@media screen and (min-width: 1025px) and (max-width: 1400px) {
  html,
  body {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    background: #fff !important;
    transform: none !important;
  }
  .header {
    width: 100% !important;
    max-width: 100% !important;
    padding: 8px 1.5% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }
  .header,
  .header * {
    font-size: 0.78rem !important;
    white-space: nowrap !important;
  }
  .fv-section,
  .fv-wrapper,
  .fv-video {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
  .fv-catch-text h1 {
    font-size: clamp(1.9rem, 2.5vw, 2.5rem) !important;
  }
  /* 更新日を右端に出す */
  .fv-wrapper::after,
  .fv-section::after {
    right: 1.2% !important;
    top: 56px !important;
    font-size: 0.82rem !important;
    white-space: nowrap !important;
    z-index: 20 !important;
  }
}
/* ===== Galaxy Z Fold 最終修正 ===== */
@media screen and (max-width: 767px) {
  html,
  body {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
  }
  body {
    background: #eee1dd !important;
  }
  .header,
  .fv-section,
  .concept-section,
  .slogan-section,
  .greeting-section,
  .massage-section,
  .recruit-section,
  .access-section,
  .footer {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .header {
    padding: 5px 4px !important;
  }
  .header__inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 2px !important;
  }
  .header__contact {
    display: flex !important;
    justify-content: center !important;
    gap: 4px !important;
    white-space: nowrap !important;
  }
  .header__contact a,
  .time-info,
  .fax-info {
    font-size: 7px !important;
  }
  .header__menu {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
    padding: 0 !important;
    margin: 2px 0 0 !important;
  }
  .header__menu li a,
  .contact-btn {
    font-size: 7px !important;
    white-space: nowrap !important;
  }
  .header__update-date {
    display: block !important;
    width: 100% !important;
    padding-left: 0.2cm !important;
    margin-top: 2px !important;
    font-size: 7px !important;
    text-align: left !important;
  }
  .concept-section {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
  .concept-text-main,
  .concept-text-sub {
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }
  .greeting-section {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
  .director-img {
    margin-bottom: 0.3cm !important;
  }
  .director-text-area {
    margin-top: -0.3cm !important;
  }
  .recruit-container {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
  .recruit-container h3,
  .recruit-fade-line {
    line-height: 1.9 !important;
    letter-spacing: -0.04em !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }
  #top-btn {
    right: 10px !important;
    bottom: 18px !important;
    width: 56px !important;
    height: 56px !important;
    transform: none !important;
  }
}
/* ===== アニメーション復旧・最終版 ===== */
/* 代表挨拶の1行ずつアニメーションを復旧 */
.fade-line {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 2s ease, transform 2s ease;
}

.fade-line.active {
  opacity: 1 !important;
  transform: translateY(0);
}

/* 求人・エントリー・h1 */
.recruit-fade-line,
.entry-banner,
.fv-section h1 {
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 3.5s ease-out, transform 3.5s ease-out;
}

.recruit-fade-line.is-show,
.entry-banner.is-show,
.fv-section h1.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   エントリーバナー 最終版
======================================== */
.entry-banner {
  width: 55%;
  max-width: 360px;
  height: auto;
  margin: 4.5cm auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.entry-banner a {
  display: block;
  width: 100%;
  height: auto;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transition: transform 0.4s ease;
}

.entry-banner a:hover .entry-banner a:active,
.entry-banner a:hover .entry-banner a:focus-visible {
  transform: scale(1.12);
}

.entry-banner img {
  display: block;
  width: 100%;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  /* 色味はそのまま */
  opacity: 1;
  filter: none;
  /* 枠だけ馴染ませる */
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  -webkit-mask-image: linear-gradient(to bottom, black calc(100% - 12px), transparent 100%), linear-gradient(to right, black calc(100% - 12px), transparent 100%), linear-gradient(to top, black calc(100% - 12px), transparent 100%), linear-gradient(to left, black calc(100% - 12px), transparent 100%);
  mask-image: linear-gradient(to bottom, black calc(100% - 12px), transparent 100%), linear-gradient(to right, black calc(100% - 12px), transparent 100%), linear-gradient(to top, black calc(100% - 12px), transparent 100%), linear-gradient(to left, black calc(100% - 12px), transparent 100%);
  -webkit-mask-composite: destination-in;
  mask-composite: intersect;
}

/* ==========================
   iPad
========================== */
@media (min-width: 768px) and (max-width: 1024px) {
  .entry-banner {
    width: 48%;
    max-width: 300px;
    margin-top: 3cm;
  }
}
/* ==========================
   スマホ
========================== */
@media (max-width: 767px) {
  .entry-banner {
    width: 65%;
    max-width: 220px;
    margin-top: 2cm;
  }
}/*# sourceMappingURL=style.css.map */
/* ===== スマホ 求人情報 文章崩れ 最終修正 ===== */
@media screen and (max-width: 767px) {
  .recruit-section {
    overflow: hidden !important;
  }

  .recruit-flex {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 auto !important;
  }

  .recruit-container {
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
    padding: 24px 26px 0 !important;
    box-sizing: border-box !important;
    text-align: left !important;
    overflow: visible !important;
  }

  .recruit-container h3,
  .recruit-container .recruit-fade-line {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 22px !important;
    padding: 0 !important;
    font-size: 16px !important;
    line-height: 2 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    text-indent: 0 !important;
  }

  .pc-space {
    display: none !important;
  }

  .entry-banner {
    width: 72% !important;
    max-width: 230px !important;
    margin: 28px auto 0 !important;
  }
}
/* ===== TOURIのマッサージ スマホ最終調整 ===== */
@media screen and (max-width: 767px) {

  .massage-text-area {
    width: 88% !important;
    max-width: 300px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: left !important;
  }

  .massage-text-area h3,
  .massage-text-area p,
  .massage-fade-line {
    font-size: 16px !important;
    line-height: 2 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

}