@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@300;400;500;700;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
}

body {
  overscroll-behavior: none;
}

html, body {
    font-family: "Century Gothic", "游ゴシック Medium", 游ゴシック体, "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, "MS Pゴシック", "MS PGothic", sans-serif;
}

html {
    scroll-behavior: smooth;
}

html { overflow-y: scroll; }

/* =========================
   OPENING
========================= */

.opening {
  position: fixed;
  inset: 0;
  background: #ede9e3;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  visibility: visible;
}

.opening-inner {
  text-align: center;
}

/* 初期状態（GSAPで出す） */
.opening-logo,
.opening-jp,
.opening-en {
  opacity: 0;
}

/* ロゴ */
.opening-logo img {
  width: 180px;
  margin-bottom: 30px;
}

/* 日本語名 */
.opening-jp {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 26px;
  letter-spacing: 0.2em;
  color: #3e3a39;
  margin-bottom: 10px;
}

/* 英語名 */
.opening-en {
  font-size: 18px;
  letter-spacing: 0.15em;
  color: #3e3a39;
  margin-bottom: 40px;
}

/* コンセプト */
.opening-concept {
  font-size: 18px;
  letter-spacing: 0.12em;
  line-height: 1.9;
  color: #3e3a39;
}

/* コンセプト：1文字ずつ用 */
.opening-concept span {
  display: inline-block;
  opacity: 0;                 /* ← 必ず 0 */
  transform: translateY(8px); /* 初期位置 */
}

.top_re_header {
    width: 100%;
    position: fixed;
    z-index: 99;
    display: flex;
    padding: 50px 0 0 0;
    align-items: center;
}

.top_re_gnav {
    width: 100%;
    padding: 0 80px;
    display: block;
}

.top_re_gnav_ul {
    display: flex;
    list-style: none;
    justify-content: space-between;
}

.top_re_gnav_li {
    text-align: center;
}

.top_re_gnav_li a {
    font-weight: normal;
    font-size: 14px;
    letter-spacing: 0.1em;
    line-height: 36px;
    text-align: right;
    color: #3e3a39;
    text-decoration: none;
}

.top_re_gnav_li a:hover {
    color: #83715A;
    text-decoration: underline;
}

.top_re_logo {
    width: 100%;
    right: 80px;
    top: -5px;
    position: relative;
    text-align: right;
}

.top_re_logo a {
    position: relative;
}

.split {
  display: flex;
  min-height: 100vh;
}

.sp_mv {
    display: none;
}

.br_pc {
    display: block;
}

.br_sp {
    display: none;
}

/* 左固定 */
.left {
    width: 50%;
    position: sticky;
    top: 0;
    height: 100vh;
    background: #F8EBDC;
    color: #fff;
    background-image: url(/img/top_re/future_bg.png);
    /* overflow: hidden; */
}

/* left-item の絶対配置の基準 */
.left-inner{
  position: relative;   /* ★これが無いと絶対配置が事故りやすい */
  height: 100vh;        /* ★これが無いと高さ0で潰れることがある */
}

/* 左カラム自体も高さを持たせる（sticky/fixed運用でも） */
.left{
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;     /* left-item のはみ出し防止 */
}


.top_concept_left {
    display: block;
}

.left-inner {
  position: relative;
  width: 100%;
  height: 100%;
}

.left-inner,
.left-item{
  pointer-events: none;
}

/* 左の絶対配置がクリックを吸わないように */
.left-item{ pointer-events:none; }
.left-item.is-active{ pointer-events:auto; } /* 左をクリックで使わないなら auto 要らない */

/* medical を前面に */
.medical{ position:relative; z-index:20; }


.left-item{
  position:absolute;
  inset:0;
  padding:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;

  opacity:0;
  visibility:hidden; /* ★追加：autoAlphaと同期 */
  pointer-events:none; /* ★追加：非表示時にクリック吸わない */
}

.top01_section {
  background-color: #EDE9E3;
}

.section01_logo img {
    width: 85px;
    height: auto;
}

.top02_section {
    background-color: #EDE9E3;
    background-image: url(../../img/top_re/sectio01-bg02.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.top03_section {
    background-color: #EDE9E3;
    background-image: url(../../img/top_re/sectio01-bg03.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.left-item.is-active {
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

.section01_title_jp {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 28px;
    letter-spacing: 0.2em;
    font-weight: 500;
    color: #3E3A39;
    margin: 10px 0 0 0;
}

.section01_title_en {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 20px;
    letter-spacing: 0.15em;
    font-weight: 600;
    color: #3E3A39;
    margin: 0;
}

.section01_concept01 {
    font-family: YuGothic-Medium;
    font-weight: normal;
    font-size: 24px;
    letter-spacing: 0.1em;
    line-height: 48px;
    text-align: center;
    color: #3e3a39;
    margin: 80px 0 0 0;
}

/* 右 */
.right {
    width: 50%;
    background-color: #EFE5DC;
}

.right-section {
    min-height: 100vh;
}

.top01_section_r01 {
    background: linear-gradient(180deg, #83715A 0%, #83715A 50%, #EFE5DC 50%, #EFE5DC 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.top01_section_r01 img {
    width: 100%;
    /* max-width: 520px;
    margin-top: 90px; */
}

.top_re_logobox_sp {
    display: none;
}

.top01_section_r02 {
    margin: 0 auto;
    padding: 100px 0 180px 0;
}

.top01_section_r02_wrap01 {
    margin: 0 auto;
    max-width: 520px;
}

.top01_section_r02_title {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 26px;
    font-weight: 500;
    color: #3E3A39;
    letter-spacing: 0.2em;
    margin: 0 0 40px 0;
}

.top01_section_r02_infoText {
    font-family: YuGothic-Medium;
    font-weight: normal;
    font-size: 15px;
    letter-spacing: 0.1em;
    line-height: 30px;
    text-align: left;
    color: #3e3a39;
    border-bottom: 1px solid #B9B1AB;
    padding-bottom: 16px;
    margin: 10px 0 0 0;
}

.top01_section_r02_infoText a {
    color: #3e3a39;
    text-decoration: none;
}

.top_re_timetabale_box {
    margin: 60px 0 0 0;
}

.top_re_timetabale_box img {
    width: 100%;
}

.top01_section_r02_infoText {
    font-weight: normal;
    font-size: 15px;
    letter-spacing: 0.1em;
    line-height: 30px;
    text-align: left;
    color: #3e3a39;
    border-bottom: 1px solid #B9B1AB;
    padding-bottom: 16px;
    margin: 10px 0 0 0;
}

.top01_section_r02_infoText02 {
    font-weight: normal;
    font-size: 15px;
    letter-spacing: 0.1em;
    line-height: 30px;
    text-align: left;
    color: #3e3a39;
}

.top_re_gmapbox01 {
    margin: 60px 0 0 0;
    filter: grayscale(1);
    height: 530px;
}

.btn-reserve {
    display: inline-flex;
    align-items: center;
    max-width: 530px;
    width: 100%;
    height: 100px;
    padding-left: 100px;
    /* padding-right: 20px; */
    background: #83715A;
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.15em;
    position: relative;
    overflow: hidden;
    justify-content: space-between;
    margin: 100px auto 0 auto;
}

/* テキスト */
.btn-text {
    white-space: nowrap;
    margin-left: 40px;
    font-size: 22px;
}

/* 右エリア */
.btn-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100%;
    border-left: 3px solid #EFE5DC;
    font-size: 18px;
    transition: transform 0.4s ease;
}

.btn-reserve:hover {
  opacity: 0.8;
}

/* hover時：矢印だけ動く */
.btn-reserve:hover .btn-arrow {
  transform: translateX(6px);
}

.top01_section_r02_img_wrap {
    width: 100%;
    margin: 100px auto 0 auto;
    padding: 0 80px;
}

.top01_section_r03_imgbox {
    width: 100%;
    margin: 0  auto;
    position: relative;
}

.top01_section_r03_imgbox img{
    width: 100%;
}

.top01_section_r03_img_r {
    width: 46%;
    position: absolute;
    right: 0;
    top: 0;
}

.top01_section_r03_img_l {
    width: 46%;
    position: absolute;
    left: 0;
    top: 150px;
}

.top01_section_r03 {
    width: 100%;
    position: relative;
    padding: 180px 80px;
    background-color: #83715A;
}

.top01_section_titleBox {
    width: 100%;
}

.top01_section_title01_jp {
    font-weight: normal;
    font-size: 14px;
    letter-spacing: 0.1em;
    line-height: 30px;
    text-align: left;
    color: #fff;
}

.top01_section_title01_en {
    font-weight: normal;
    font-size: 34px;
    letter-spacing: 0.1em;
    line-height: 36px;
    text-align: left;
    color: #fff;
    margin: 10px 0 0 0;
}

.top_re_concept_text01 {
    font-weight: normal;
    font-size: 1.5vw;
    letter-spacing: 0.1em;
    line-height: 48px;
    text-align: left;
    color: #fff;
    margin: 50px 0 0 0;
    padding-left: 40px;
}

.top_re_concept_text02 {
    font-weight: normal;
    font-size: 14px;
    letter-spacing: 0.1em;
    line-height: 30px;
    text-align: left;
    color: #fff;
    margin: 50px 0 0 0;
    padding-left: 40px;
}

.top_re_concept_text01 span,
.top_re_concept_text02 span {
  display: inline-block;
  opacity: 0;
}

.line-link {
    display: flex;
    align-items: center;
    padding: 12px 0;
    color: #fff;
    text-decoration: none;
    /* background: #8a7a64; */
    position: relative;
    font-size: 14px;
    letter-spacing: 0.08em;
    margin-left: 40px;
    margin-top: 100px;
    justify-content: space-between;
    width: 368px;
    border-bottom: 1px solid #C6BCAF;
    padding-right: 15px;
}

/* 下線 */
.line-link::after {
    content: "";
    position: absolute;
    right: -6px;
    bottom: -1px;
    width: 100%;
    height: 6px;
    background: url("../../img/top_re/top_con_arrow.svg") no-repeat;
    background-position: right;
    text-align: right;
    transition: transform 0.3s ease;
}

/* 左テキスト */
.line-link__text {
    font-weight: normal;
    font-size: 16px;
    letter-spacing: 0.1em;
    text-align: left;
    color: #fff;
    display: inline-block;
    transition: transform 0.3s ease;
}

/* 右 MORE + 矢印 */
.line-link__more {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: normal;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-align: left;
    color: #fff;
}

/* =========================
   HOVER
========================= */

.line-link:hover .line-link__text {
  transform: translateX(8px);
}

.line-link:hover::after {
  /* ★ 右に「伸びる」 */
  transform: translateX(8px);
}

/* 矢印全体 */
.arrow {
  position: relative;
  width: 32px;
  height: 10px;
}

/* 横線 */
.arrow-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 18px;
  height: 1px;
  background: #fff;
  transform: translateY(-50%);
  transition: width 0.4s ease;
}

/* 矢印の先 */
.arrow-head {
  position: absolute;
  top: 50%;
  right: 0;
  width: 6px;
  height: 6px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: translateY(-50%) rotate(45deg);
}

/* hover時：線が伸びる */
.line-link:hover .arrow-line {
  width: 28px;
}

.features-right {
    background-color: #FBF5EE;
}

.feature-fixed {
    padding: 120px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.feature-title_jp {
    font-weight: normal;
    font-size: 14px;
    letter-spacing: 0.1em;
    line-height: 30px;
    text-align: center;
    color: #3e3a39;
}

.feature-title_en {
    font-weight: normal;
    font-size: 34px;
    letter-spacing: 0.1em;
    line-height: 36px;
    text-align: center;
    color: #3e3a39;
    margin: 10px 0 0 0;
}

.top_re_feature_text01 {
    margin: 50px 0 0 0;
    font-weight: normal;
    font-size: 14px;
    letter-spacing: 0.1em;
    line-height: 30px;
    text-align: center;
    color: #3e3a39;
}

.top_re_feature_text01 span {
  display: inline-block;
  opacity: 0;
}

.top_re_feature_logo {
    margin: 80px auto 0 auto;
}

.top_re_webYoyaku_box {
    margin: 0;
    position: absolute;
    right: 0;
    bottom: 0;
    height: 90px;
    display: block;
}

.top_re_webYoyaku_box:hover {
    opacity: 0.8;
}

.feature-section {
    padding: 100px 80px;
}

.feature-block {
    padding: 70px 80px;
    max-width: 840px;
    background-color: #fff;
    width: 100%;
}

/* 上部（番号まわり） */
.feature-head {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 40px;
}

/* 縦 FEATURES */
.feature-label {
    writing-mode: vertical-rl;
    font-weight: normal;
    font-size: 12px;
    letter-spacing: 0.1em;
    line-height: 30px;
    text-align: left;
    color: #83715a;
}

/* 01 + 線 */
.feature-number-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.feature-number {
    font-weight: normal;
    font-size: 50px;
    letter-spacing: 0.1em;
    line-height: 36px;
    text-align: left;
    color: #83715a;
}

.feature-line {
    width: 60px;
    height: 1px;
    background: #83715A;
}

/* タイトル */
.feature-title {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 24px;
}

/* 説明文 */
.feature-text {
  font-size: 14px;
  line-height: 2;
  color: #555;
  margin-bottom: 48px;
}

/* 画像 */
.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.features-scroll {
  position: relative;
  padding-bottom: 100vh; /* ← 最後が消えない保険 */
}

.feature-block {
  position: relative;
  background: #fff;
  z-index: 1;
}

/* 少し余白を多めに */
.feature-block:not(:last-child) {
  margin-bottom: 120px;
}


/* =========================
   MEDICAL 全体
========================= */

.medical {
  background: #efe6db;
  position: relative;
  z-index: 10; /* feature より前面 */
}

.medical-inner {
  display: flex;
  min-height: 100vh;
}

.medical_acc_sp {
  display: none;
}

/* =========================
   左：診療科目（アコーディオン）
========================= */

.medical-left {
    width: 100%;
    height: 100%;
    background: linear-gradient(#b49f85 0%, #42392d 100%);
    color: #fff;
    padding: 120px 80px;
}

.medical-left_titleBox {
    display: none;
}

.medical-lead {
    font-weight: normal;
    font-size: 15px;
    letter-spacing: 0.1em;
    line-height: 36px;
    text-align: center;
    color: #fff;
    margin-bottom: 50px;
}

/* アコーディオン */

.medical-accordion ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.medical-accordion li {
    position: relative;
    border-bottom: 1px solid #C6BCAF;
    border-top: 1px solid #C6BCAF;
    width: 48%;
    pointer-events: all;
}

.medical-accordion li::after {
    content: "";
    position: absolute;
    width: 15%;
    border-bottom: solid 1px #fff;
    top: -1px;
    left: 0px;
}

.acc-head {
    width: 100%;
    height: 80px;
    padding: 22px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    align-content: center;
}

.acc-title {
  font-size: 16px;
  letter-spacing: .1em;
}
.acc-title {
  display: inline-block;          /* transform を効かせる */
  transition: transform 0.25s ease;
}
.acc-head:hover .acc-title {
  transform: translateX(8px);
}

/* ＋ / × アイコン */
.icon-toggle {
    width: 25px;
    height: 25px;
    position: relative;
}

.icon-toggle span {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background: #fff;
  transition: transform .3s ease, opacity .3s ease;
}

@keyframes rotateOnce {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* 矢印画像の基本状態 */
.icon-toggle img {
  display: block;
  transform-origin: 50% 50%;
}

/* 左ボタン hover で 1 回転 */
.acc-head:hover .icon-toggle img {
  animation: rotateOnce 0.6s ease-in-out;
}


.icon-toggle span:last-child {
  transform: rotate(90deg);
}

li.is-open .icon-toggle span:last-child {
  opacity: 0;
}

.medical-link01 {
    display: flex;
    width: 100%;
    justify-content: space-between;
    color: #fff;
    text-decoration: none;
}

/* アコーディオン中身 */

.acc-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height .4s ease;
  display: none;
}

.acc-inner {
  padding: 0 0 20px 0;
  font-size: 14px;
  line-height: 2;
  opacity: .85;
}

/* =========================
   右：内容表示
========================= */

.medical-right {
  width: 100%;
  height: 100vh;
  background: #efe6db;
  background-image: url(../../img/top_re/medical_right_bg.svg);
  position: relative;
  padding: 120px 80px;
  display: block;
}

/* パネル切り替え */

.medical-panel {
  position: absolute;
  inset: 120px 80px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}

.medical-panel.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* テキスト */

.medical-en {
    font-weight: normal;
    font-size: 34px;
    letter-spacing: 0.1em;
    line-height: 36px;
    text-align: left;
    color: #3e3a39;
    margin: 10px 0 0 0;
}

.medical-jp {
    font-weight: normal;
    font-size: 14px;
    letter-spacing: 0.1em;
    line-height: 30px;
    text-align: left;
    color: #3e3a39;
}

.medical-feature {
  font-size: 14px;
  letter-spacing: .15em;
  color: #83715a;
  margin-bottom: 20px;
}

.medical-feature span {
  font-size: 32px;
  margin-left: 10px;
}

.medical-title {
    font-size: 26px;
    font-weight: 400;
    letter-spacing: .1em;
    margin: 30px 0;
    color: #3e3a39;
}

.medical-text {
  font-size: 14px;
  line-height: 2;
  letter-spacing: .08em;
  color: #3e3a39;
  margin-bottom: 50px;
}

/* 画像 */

.medical-image {
    width: 100%;
    /* height: 360px; */
    overflow: hidden;
}

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

/* =========================
   LINE LINK 02 hover animation
========================= */

/* ベース */
.line-link02 {
  display: flex;
  align-items: center;
  padding: 12px 0;
  color: #fff;
  text-decoration: none;
  position: relative;
  font-size: 14px;
  letter-spacing: 0.08em;
  margin-top: 30px;
  justify-content: space-between;
  width: 368px;
  border-bottom: 1px solid #83715A;
  padding-right: 15px;
}

/* 下線＋矢印 */
.line-link02::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -1px;

  /* ★ 初期は短め */
  width: 100%;
  height: 6px;
  background: url("../../img/top_re/link_arrow.svg") no-repeat right center;

  transition: transform 0.3s ease;
}

/* 左テキスト */
.line-link02__text {
  font-weight: normal;
  font-size: 16px;
  letter-spacing: 0.1em;
  color: #3e3a39;

  display: inline-block;
  transition: transform 0.3s ease;
}

/* 右 MORE */
.line-link02__more {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: normal;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #3E3A39;
}

/* =========================
   HOVER
========================= */

.line-link02:hover .line-link02__text {
  transform: translateX(8px);
}

.line-link02:hover::after {
  /* ★ 右に「伸びる」 */
  transform: translateX(8px);
}

/* ニュース */
.top_re_news {
    width: 100%;
    background-color: #EFE5DC;
}

.top_re_news-inner {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 180px 0;
}

.top01_section_title02_jp {
    font-weight: normal;
    font-size: 14px;
    letter-spacing: 0.1em;
    line-height: 30px;
    text-align: center;
    color: #3e3a39;
}

.top01_section_title02_en {
    font-weight: normal;
    font-size: 34px;
    letter-spacing: 0.1em;
    line-height: 36px;
    text-align: center;
    color: #3e3a39;
    margin: 20px 0 0 0;
}

.top_re_newsBoxCnt {
    min-height: 360px;
    margin: 120px auto 0 auto;
}

.top_re_news_linkBox {
    margin: 120px auto 0 auto;
}


/* ベース */
.line-link03 {
    display: flex;
    align-items: center;
    padding: 12px 0;
    color: #fff;
    text-decoration: none;
    position: relative;
    font-size: 14px;
    letter-spacing: 0.08em;
    margin: 30px auto 0 auto;
    width: 368px;
    border-bottom: 1px solid #83715A;
    padding-right: 15px;
    justify-content: space-between;
}

/* 下線＋矢印 */
.line-link03::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -1px;

  /* ★ 初期は短め */
  width: 100%;
  height: 6px;
  background: url("../../img/top_re/link_arrow.svg") no-repeat right center;

  transition: transform 0.3s ease;
}

/* 左テキスト */
.line-link03__text {
  font-weight: normal;
  font-size: 16px;
  letter-spacing: 0.1em;
  color: #3e3a39;

  display: inline-block;
  transition: transform 0.3s ease;
}

/* 右 MORE */
.line-link03__more {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: normal;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #3E3A39;
}

/* =========================
   HOVER
========================= */

.line-link03:hover .line-link03__text {
  transform: translateX(8px);
}

.line-link03:hover::after {
  /* ★ 右に「伸びる」 */
  transform: translateX(8px);
}

/*footer*/
.top_re_footer {
    width: 100%;
    background-color: #736965;
    text-align: center;
    margin: 0 auto;
}

.top_re_footer-inner {
    width: 100%;
    padding-top: 40px;
}

.totopBtn:hover{
    opacity: 0.8;
}

.top_re_footer_message {
    font-weight: normal;
    font-size: 30px;
    letter-spacing: 0.1em;
    line-height: 48px;
    text-align: center;
    color: #fff;
    margin: 100px 0 0 0;
}

.top_re_webYoyaku {
    width: 100%;
}

.top_re_info01 {
    font-weight: normal;
    font-size: 18px;
    letter-spacing: 0.2em;
    text-align: center;
    color: #fff;
    margin: 70px auto 0 auto;
    width: 483px;
    border-bottom: 1px solid #C6BCAF;
    padding-bottom: 15px;
}

.top_re_info02 {
    font-weight: normal;
    font-size: 24px;
    letter-spacing: 0.2em;
    text-align: center;
    color: #fff;
    margin: 15px 0 0 0;
}

.top_re_info02 a {
    color: #fff;
    text-decoration: none;
}

.top_re_info03 {
    font-weight: normal;
    font-size: 14px;
    letter-spacing: 0.1em;
    line-height: 36px;
    text-align: center;
    color: #fff;
}

.top_re_info04 {
    font-family: 'Zen Maru Gothic', sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.15em;
    margin: 120px 0 0 0;
}

.top_re_info05 {
    font-weight: normal;
    font-size: 18px;
    letter-spacing: 0.1em;
    line-height: 40px;
    text-align: center;
    color: #fff;
    margin: 20px  0 0 0;
}

.top_re_info05 a {
    color: #fff;
    text-decoration: none;
}

.top_re_sns {
    margin-top: 120px;
}

.top_re_copyright {
    font-family: CenturyGothic;
    font-weight: normal;
    font-size: 14px;
    letter-spacing: 0.2em;
    line-height: 24px;
    text-align: center;
    color: #fff;
    padding-bottom: 36px;
    margin-top: 70px;
}

.btn-reserve02 {
    display: inline-flex;
    align-items: center;
    max-width: 530px;
    width: 100%;
    height: 100px;
    padding-left: 100px;
    /* padding-right: 20px; */
    background: #EFE5DC;
    color: #524641;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.15em;
    position: relative;
    overflow: hidden;
    justify-content: space-between;
    margin: 100px auto 0 auto;
}

/* テキスト */
.btn-text02 {
    white-space: nowrap;
    font-size: 22px;
}

/* 右エリア */
.btn-arrow02 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100%;
    border-left: 3px solid #736965;
    font-size: 18px;
    transition: transform 0.4s ease;
}

.btn-reserve02:hover {
    background: #beb09b;
    transition: all 0.4s ease;
}

/* hover時：矢印だけ動く */
.btn-reserve02:hover .btn-arrow02 {
  transform: translateX(6px);
}

.fix_yoyaku_box {
    display: none;
}

/* =========================
   ハンバーガー（SPのみ）
========================= */
.hamburger {
  position: fixed;
  top: 16px;
  left: 16px;
  width: 32px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10001;
  display: none;
}

.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #3e3a39;
  transition: transform 0.4s ease, top 0.4s ease, opacity 0.3s;
}

.hamburger span:nth-child(1) {
  top: 7px;
}

.hamburger span:nth-child(2) {
  top: 15px;
}

/* × に変形 */
.hamburger.is-open span:nth-child(1) {
  top: 11px;
  transform: rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  top: 11px;
  transform: rotate(-45deg);
}

/* =========================
   SPメニュー
========================= */
.hamburger_logo img {
  width: 150px;
}

.sp-menu {
  position: fixed;
  inset: 0;
  background: #ede9e3;
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}

.sp-menu ul {
  list-style: none;
  text-align: center;
}

.sp-menu li {
  margin: 20px 0;
}

.sp-menu a {
  font-size: 15px;
  letter-spacing: 0.10em;
  color: #3e3a39;
  text-decoration: none;
}

/* 開いた状態 */
.sp-menu.is-open {
  opacity: 1;
  visibility: visible;
}

/* =========================
   SPのみ表示
========================= */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .top_re_gnav {
    display: none; /* PCナビ非表示 */
  }
}



/* =========================
   レスポンシブ（SP）
========================= */

@media (max-width: 768px) {
.opening-logo img {
    width: 100px;
    margin-bottom: 20px;
}

.opening-jp {
    font-size: 22px;
}

.opening-en {
    font-size: 16px;
    margin-bottom: 20px;
}

.opening-concept {
    font-size: 15px;
    padding: 0 15px;
}

.top01_section_r03 {
    padding-bottom: 60px !important;
}

.medical-inner {
flex-direction: column;
}

.medical-left,
.medical-right {
width: 100%;
padding: 60px 15px;
}

.medical-right {
    display: none;
}

.medical_acc_sp {
    display: block;
}

.medical-panel {
position: static;
opacity: 1;
pointer-events: auto;
margin-bottom: 60px;
}

.split {
flex-direction: column;
}

.left {
    position: relative;
    height: auto;
    width: 100%;
}

.top_concept_left {
    display: none;
}

.right-section {
    padding: 50px 15px 0 15px;
    min-height: fit-content;
    /* margin-bottom: 30px; */
}

.right {
    width: 100%;
}

.top_re_gnav {
    display: none;
}

.top_re_header {
    padding: 0;
    z-index: 10000;
}

.top_re_logo {
    right: 20px;
    top: 5px;
}

.top01_section_r01 img {
    margin-top: 0px;
}

.top_re_logobox_sp {
    display: flex;
    width: 100%;
    margin: 0 auto;
    position: absolute;
    top: 35%;
    text-align: center;
    flex-direction: column;
    align-items: center;
}

.section01_logo {
    display: block;
    width: 18%;
    margin: 0 auto;
}

.section01_title_jp {
    font-size: 18px;
    color: #fff;
}

.section01_title_en {
    font-size: 14px;
    color: #fff;
    text-align: center;
}

.top01_section_r02_title {
    font-size: 20px;
    margin: 0 0 20px 0;
}

.top01_section_r02_infoText {
    font-size: 13px;
    line-height: 26px;
    padding-bottom: 10px;
    margin: 10px 0 0 0;
}

.top_re_timetabale_box {
    margin: 30px 0 0 0;
}

.top01_section_r02_infoText02 {
    font-size: 13px;
}

.top_re_gmapbox01 {
    margin: 40px 0 0 0;
    height: 380px;
}

.btn-reserve {
    height: 60px;
    padding-left: 20px;
    font-size: 14px;
    margin: 60px auto 0 auto;
}

.btn-text {
    margin-left: 40px;
    font-size: 15px;
}

.top01_section_r02_img_wrap {
    margin: 60px auto 0 auto;
    padding: 0;
}

.top01_section_r03_imgbox {
    padding: 0 0 60px 0;
}

.top01_section_titleBox {
    padding-top: 60px;
}

.top01_section_title01_jp {
    font-size: 13px;
}

.top01_section_title01_en {
    font-size: 24px;
    margin: 0;
}

.top_re_concept_text01 {
    font-size: 16px;
    line-height: 30px;
    margin: 30px 0 0 0;
    padding-left: 0;
}

.top_re_concept_text02 {
    font-size: 13px;
    line-height: 26px;
    margin: 30px 0 0 0;
    padding-left: 0;
}

.line-link {
    font-size: 14px;
    margin-left: 0;
    margin-top: 50px;
    width: 70%;
}

.line-link__text {
    font-size: 13px;
}

.line-link__more {
    font-size: 13px;
}

.feature-fixed {
    padding: 60px 15px;
    align-items: flex-start;
}

.feature-title_jp {
    font-size: 13px;
}

.feature-title_en {
    font-size: 24px;
    margin: 0;
}

.top_re_feature_text01 {
    margin: 30px 0 0 0;
    font-size: 13px;
    line-height: 26px;
    text-align: left;
}

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

.top_re_feature_logo img {
    width: 60%;
}

.feature-block {
    padding: 60px 15px;
}

.feature-head {
    gap: 10px;
    margin-bottom: 30px;
}

.feature-label {
    font-size: 11px;
}

.feature-number-wrap {
    gap: 10px;
}

.feature-number {
    font-size: 36px;
    line-height: 1;
}

.feature-line {
    width: 40px;
}

.feature-title {
    font-size: 18px;
    margin-bottom: 20px;
}

.feature-text {
    font-size: 13px;
    margin-bottom: 20px;
}

.medical-lead {
    font-size: 14px;
    line-height: 26px;
    margin-bottom: 40px;
    text-align: left;
    margin-top: 30px;
}

.medical-accordion ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: column;
}

.medical-accordion li {
    width: 100%;
}

.acc-head {
    width: 100%;
    height: 70px;
    padding: 15px 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    align-content: center;
}

.acc-icon {
    width: 30px;
    margin-right: 30px;
}

.acc-icon img {
    max-width: 30px;
}

.acc-title {
    font-size: 13px;
}

.icon-toggle {
    width: 25px;
    height: 25px;
    position: absolute;
    right: 0;
}

.acc-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height .4s ease;
  display: block;
}

.acc-inner {
    font-size: 13px;
}

.line-link02 {
    display: flex;
    align-items: center;
    padding: 5px 0;
    color: #fff;
    text-decoration: none;
    position: relative;
    font-size: 13px;
    letter-spacing: 0.08em;
    margin-top: 30px;
    margin-left: auto;
    width: 70%;
    border-bottom: 1px solid #fff;
    padding-right: 15px;
    justify-content: space-between;
}

.line-link02__text {
    font-size: 13px;
    color: #fff;
}

.line-link02__more {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: normal;
    font-size: 13px;
    letter-spacing: 0.1em;
    color: #fff;
}

.line-link02::after {
    content: "";
    position: absolute;
    right: -6px;
    bottom: -1px;
    width: 100%;
    height: 6px;
    background: url("../../img/top_re/top_con_arrow.svg") no-repeat right center;
    transition: transform 0.3s ease;
}

.medical-left_titleBox {
    display: block;
}

.medical-jp {
    font-size: 13px;
    color: #fff;
}

.medical-en {
    font-size: 24px;
    line-height: 30px;
    color: #fff;
    margin: 0;
}

.top_re_news-inner {
    padding: 60px 15px;
}

.top01_section_title02_jp {
    font-size: 13px;
    text-align: left;}

.top01_section_title02_en {
    font-size: 24px;
    text-align: left;
    margin: 0;
}

.line-link03 {
    display: flex;
    align-items: center;
    padding: 5px 0;
    text-decoration: none;
    position: relative;
    font-size: 13px;
    letter-spacing: 0.08em;
    margin-top: 30px;
    margin-left: auto;
    width: 70%;
    padding-right: 15px;
    justify-content: space-between;
}

.line-link03__text {
    font-size: 13px;
}

.line-link03__more {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: normal;
    font-size: 13px;
    letter-spacing: 0.1em;
}

.line-link03::after {
    content: "";
    position: absolute;
    right: -6px;
    bottom: -1px;
    width: 100%;
    height: 6px;
    transition: transform 0.3s ease;
}

.top_re_footer-inner {
    width: 100%;
    padding-top: 20px;
}

.top_re_footer_message {
    font-size: 15px;
    line-height: 30px;
    margin: 30px 0 0 0;
}

.top_re_webYoyaku {
    width: 100%;
    padding: 0 15px;
}

.btn-reserve02 {
    height: 60px;
    padding-left: 20px;
    font-size: 14px;
    margin: 30px auto 0 auto;
}

.btn-text02 {
    white-space: nowrap;
    font-size: 14px;
    margin-left: 20px;
}

.top_re_info01 {
    font-size: 15px;
    margin: 60px auto 0 auto;
    width: 85%;
    border-bottom: 1px solid #C6BCAF;
    padding-bottom: 10px;
}

.top_re_info02 {
    font-size: 20px;
    margin: 10px 0 0 0;
}

.top_re_info03 {
    font-size: 13px;
    line-height: 26px;
}

.top_re_info04 {
    font-size: 18px;
    margin: 60px 0 0 0;
}

.top_re_info05 {
    font-size: 13px;
    line-height: 26px;
    margin: 20px  0 0 0;
}

.top_re_sns {
    margin-top: 30px;
}

.top_re_copyright {
    font-weight: normal;
    font-size: 12px;
    padding-bottom: 60px;
    margin-top: 60px;
}

.top_re_webYoyaku_box {
    display: none;
}

.top_re_newsBoxCnt {
    min-height: 280px;
    margin: 60px auto 0 auto;
}

.top_re_news_linkBox {
    margin: 60px auto 0 auto;
}

.fix_yoyaku_box {
    display: flex;
    position: fixed;
    background-color: #DCD3C8;
    width: 100%;
    text-align: center;
    bottom: 0;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    letter-spacing: 0.1em;
    line-height: 1;
    padding: 10px 0;
    z-index: 99;
}

.fix_yoyaku_box img {
    width: 25px;
    margin-right: 15px;
}

.fix_yoyaku_box a {
    color: #524641;
    text-decoration: none;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp_mv {
    display: block;
}

/* 窓枠マスク（常に画面固定） */
.door-mask{
    position:fixed;
    inset:0;
    z-index:10;
    pointer-events:none;
    overflow:hidden;
    opacity:1;
    visibility:visible;
    display: none;
}
.door-mask img{
    width:100%;
    height:100%;
    object-fit:cover; /* door.svgの作り次第で contain へ */
    transform-origin:center center;
    will-change:transform;
    transform: scale(1);
}

/* スライド（pin対象） */
.content{
    position:relative;
    width:100%;
    height:100vh;
    overflow:hidden;
    background:#000;
    z-index:1;
}
/* ★pin対象の要素に transform が当たりやすいので、拡大などは inner でやる設計 */
.content-inner{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    will-change: transform;
    transform: translateZ(0);
}

.slides{position:relative;width:100%;height:100%;}
.slide{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    opacity:0;
    visibility:hidden;
    will-change: opacity;
}
.slide img{width:100%;height:100%;object-fit:cover;}

/* 次セクション（.contentのすぐ後ろ） */
.next{
    position:relative;
    min-height:140vh;
    background:#fff;
    padding: clamp(40px, 6vw, 90px) 20px;
    z-index:1;
}
.next .inner{max-width:980px;margin:0 auto;}
.next h2{font-size:clamp(24px,3.2vw,40px);line-height:1.2;margin-bottom:14px;}
.next p{font-size:16px;line-height:1.9;color:#333;margin-bottom:14px;}
.demo-space{height:120vh;border-top:1px solid #eee;margin-top:22px;}

.door-mask{
    display: block;
}

.top01_section_r01 {
    display: none;
}

}

/* ===== door-mask 強制上書き（最下部に追加） ===== */
.door-mask {
    position: fixed !important;
    inset: 0 !important;
    z-index: 9999 !important;
    pointer-events: none !important;
    overflow: hidden !important;
    opacity: 1;
    visibility: visible;
    display: none;
}

.door-mask img{
  width: 100%;
  height: 100%;
  object-fit: cover;     /* door.svg の作りによっては contain へ */
  transform-origin: center center;
  will-change: transform;
  transform: scale(1);
}

/* =========================
   KenBurns Slider (final override)  ※CSSの一番最後に置く
========================= */

/* 既存の top01_section_r01 の display:flex / padding 等を完全に無効化 */
.top01_section_r01{
  position: relative !important;
  overflow: hidden !important;
  height: 100svh !important;
  min-height: 100svh !important;

  display: block !important;     /* ★これが重要（flexを潰す） */
  padding: 0 !important;         /* ★100px 0 を潰す */
  background: none !important;   /* 必要なら */
}

/* スライダー全面 */
.kb-slider{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  transform: translateZ(0);
}

/* スライド */
.kb-slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1600ms ease-in-out;
  will-change: opacity;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.kb-slide.is-active{ opacity: 1; }

/* 画像 */
.kb-slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;

  transform: translateZ(0) scale(0.80);
  will-change: transform;
  backface-visibility: hidden;

  animation: none; /* 非アクティブ停止 */
}

/* アクティブ時にKenBurns */
.kb-slide.is-active img{
  animation: kbZoom 10000ms ease-out forwards;
}

@keyframes kbZoom{
  from { transform: translateZ(0) scale(0.80); }
  to   { transform: translateZ(0) scale(0.90); } /* ここは好みで 1.00 でもOK */
}

/* マスク前面 */
.kb-mask {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background-size: 130%;
    background-image: url("../../img/top_re/top_sl_mask.svg");
    background-position: center;
    background-repeat: no-repeat;
    transform: translateZ(0);
}

/* Vegasを当てる土台 */
.top01_section_r01 .kb-vegas{
  position: absolute;
  inset: 0;
  z-index: 0; /* 背面 */
}


@media (max-width: 768px) {
    .door-mask {
        display: block;
    }

.kb-mask {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background-size: 100%;
    background-position: top;
    background-image: url("../../img/top_re/top_sl_mask_sp.svg");
    background-repeat: no-repeat;
    transform: translateZ(0);
}

.top01_section_r01 .kb-caption{
  position:absolute;
  inset:0;
  z-index:3;              /* kb-mask(2)より上 */
  pointer-events:none;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}

.top01_section_r01 .kb-caption .kb-copy{
  color:#fff;
  font-size: 16px;
  letter-spacing: .08em;
  line-height: 1.8;
  font-weight: 500;
  text-shadow: 0 4px 20px rgba(0,0,0,.35);
  opacity:0;
  transform: translateY(18px);
  transition: opacity .8s ease, transform .8s ease;
  margin-top: 40%;
}

.top01_section_r01 .kb-caption.is-show .kb-copy{
  opacity:1;
  transform:none;
}

.top01_section_r02_wrap01 {
    padding-top: 60px;
}

.br_pc {
    display: none;
}

.br_sp {
    display: block;
}

.feature-section {
    padding: 0 0 30px 0;
}


}

/* 左固定：最初だけ出すための初期状態（JSで上書きもするので保険） */
.top01_section .section01_logo,
.top01_section .section01_title_jp,
.top01_section .section01_title_en,
.top01_section .section01_concept01{
  will-change: transform, opacity;
}

/* opening後に出す「左の最初の塊」：初期は完全に隠す（チラ見え防止） */
.top01_section.left-item[data-index="0"] .section01_logo,
.top01_section.left-item[data-index="0"] .section01_title_jp,
.top01_section.left-item[data-index="0"] .section01_title_en,
.top01_section.left-item[data-index="0"] .section01_concept01{
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
}

/* ロゴだけは少しズーム開始にしておく（JSと整合） */
.top01_section.left-item[data-index="0"] .section01_logo{
  transform: translateY(6px) scale(1.08);
}