@charset "utf-8";

/* Reference: rankakurega.iest.in. Native PHP/CSS implementation using this
   site's own artwork. DESIGN_VARIANCE 4 / MOTION_INTENSITY 4 / VISUAL_DENSITY 5.
   Layers: masthead 20, booking 30, drawer 40, menu toggle 50.
   Shape: square photographs and panels; 4px action controls; round indicators.
   The rose, orchid and light/dark panels follow the observed reference palette. */
:root {
  color-scheme: light;
  --font-base: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "MS PMincho", serif;
  --font-display: Georgia, "Times New Roman", "Yu Mincho", serif;
  --font-ui: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --ink: #542b4c;
  --text: #603c56;
  --muted: #785b70;
  --accent: #8f3a7d;
  --accent-deep: #743067;
  --rose: #df9abb;
  --pale: #faedf5;
  --paper: #fff8fc;
  --white: #fff;
  --line: #e1b2cf;
  --surface: rgb(255 250 254 / 94%);
  --shadow: 0 8px 28px rgb(119 47 98 / 9%);
  --button-fill: linear-gradient(115deg, #a13b83, #7b3989);
  --header-height: 108px;
  --content-width: 1160px;
  --radius: 4px;
  --ease: .32s cubic-bezier(.2, .65, .3, 1);
  --page-backdrop: url(../images/bg_second_access.jpg);
}

/* Base and retained local icon fonts. Japanese type uses installed Mincho. */
@font-face {
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../font/fa-solid-900.woff2") format("woff2");
}
@font-face {
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../font/fa-regular-400.woff2") format("woff2");
}
*, *::before, *::after { box-sizing: border-box; }
html { margin: 0; scroll-padding-top: calc(var(--header-height) + 20px); }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font: 15px/1.95 var(--font-base);
  letter-spacing: .045em;
  overflow-wrap: break-word;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  isolation: isolate;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(110deg, rgb(251 226 246 / 54%), rgb(247 230 255 / 32%)),
    var(--page-backdrop) center / cover no-repeat;
}
body.open { overflow: hidden; }
h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6, th { color: var(--ink); font-weight: 500; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
iframe { display: block; max-width: 100%; border: 0; }
a { color: var(--accent-deep); text-decoration: none; transition: color var(--ease), background-color var(--ease), opacity var(--ease); }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 4px;
}
button, input, textarea, select { font: inherit; }
button, input[type="submit"], input[type="button"] { cursor: pointer; }
table { width: 100%; max-width: 100%; border-collapse: collapse; border-spacing: 0; }
th, td { padding: 0; }
small { font-size: 12px; }
::selection { background: #edd0e6; color: #542b4c; }
.inner { width: 100%; max-width: var(--content-width); padding-inline: 32px; margin-inline: auto; }
main { width: 100%; }
section { position: relative; padding: 64px 0; margin-inline: auto; text-align: center; }
section section { padding: 0; }
.clearfix::after, .flort_plus::after { content: ""; display: block; clear: both; }
.mb_10 { margin-bottom: 10px; }
.mb_20, .mb_20_pc { margin-bottom: 20px; }
.mb_30 { margin-bottom: 30px; }
.mb_40 { margin-bottom: 40px; }
.mb_50 { margin-bottom: 50px; }
.mt_20 { margin-top: 20px; }
.STYLE1 { font-size: 16px; }
.STYLE3 { font-weight: 600; }
.STYLE4 { font-size: 12px; }
.visiblePC { display: block; }
.visibleSP { display: none; }
.loader-wrap, .hero_optional_asset { display: none; }

/* Transparent desktop masthead: logo, vertical Japanese navigation, contact. */
header, header#other {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: var(--header-height);
  border-bottom: 1px solid rgb(225 178 207 / 64%);
  background: rgb(255 250 254 / 95%);
  transition: background-color var(--ease), box-shadow var(--ease);
}
.page-home header { background: linear-gradient(rgb(255 248 253 / 85%), rgb(255 248 253 / 60%)); }
.page-home.header-scrolled header { background: rgb(255 250 254 / 96%); box-shadow: var(--shadow); }
header .inner { max-width: none; height: 100%; padding-inline: 28px; }
header .area { display: grid; grid-template-columns: 210px 1fr auto; align-items: center; gap: 26px; height: 100%; }
header .logo { grid-column: 1; grid-row: 1; }
header .logo a, header .logo img { display: block; }
header .logo img { width: 210px; height: 68px; object-fit: contain; }
.header_contact { grid-column: 3; grid-row: 1; display: flex; flex-direction: column; align-items: flex-end; gap: 1px; line-height: 1.7; }
.header_contact a { color: var(--accent-deep); font-size: clamp(20px, 1.8vw, 28px); letter-spacing: .035em; white-space: nowrap; }
.header_contact span { font-size: 12px; color: var(--text); }
.header_nav { grid-column: 2; grid-row: 1; display: flex; align-items: center; justify-content: flex-start; height: 82px; }
.header_nav li { flex: 0 0 54px; min-width: 0; height: 78px; border-left: 1px solid var(--rose); }
.header_nav li:last-child { border-right: 1px solid var(--rose); }
.header_nav a { display: flex; align-items: center; justify-content: center; height: 100%; padding: 0 12px; color: #82416f; }
.header_nav .nav-ja { writing-mode: vertical-rl; font-size: 13px; line-height: 1; letter-spacing: .16em; white-space: nowrap; }
.header_nav .nav-en { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.header_nav a:hover, .header_nav a.current { color: var(--accent-deep); background: rgb(255 255 255 / 60%); }
.header_nav a.current .nav-ja { text-decoration: underline; text-underline-offset: 5px; }
.header_phone { display: none; }

/* The original drawer hooks and accessible focus cycle are retained. */
.btn_menu, .btn_menu.sticky {
  position: fixed; top: 12px; right: 15px; z-index: 50;
  display: none; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 0;
  border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--accent-deep); background: var(--paper);
}
.btn_trigger { position: relative; display: block; width: 24px; height: 28px; }
.btn_trigger span:not(.menu_label) { position: absolute; left: 0; width: 24px; height: 1px; background: var(--accent-deep); transition: transform var(--ease), opacity var(--ease); }
.btn_trigger span:nth-of-type(1) { top: 2px; }
.btn_trigger span:nth-of-type(2) { top: 9px; }
.btn_trigger span:nth-of-type(3) { top: 16px; }
.btn_trigger .menu_label { position: absolute; top: 19px; left: -4px; width: 32px; font: 9px/1 var(--font-display); letter-spacing: .035em; }
#btn_top.active span:nth-of-type(1) { transform: translateY(7px) rotate(45deg); }
#btn_top.active span:nth-of-type(2) { opacity: 0; }
#btn_top.active span:nth-of-type(3) { transform: translateY(-7px) rotate(-45deg); }
#nav_bg {
  position: fixed; inset: 0; z-index: 40;
  overflow-y: auto; overscroll-behavior: contain;
  background: linear-gradient(rgb(255 246 252 / 94%), rgb(250 235 249 / 95%)), url(../images/bg_news.jpg) center / cover;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--ease), visibility var(--ease);
}
.open #nav_bg { opacity: 1; visibility: visible; pointer-events: auto; }
#nav_drawer { width: min(600px, 100%); padding: 25px 30px calc(28px + env(safe-area-inset-bottom)); margin: var(--header-height) auto 0; }
#nav_drawer ul { display: grid; grid-template-columns: 1fr; }
#nav_drawer li { min-width: 0; text-align: left; }
#nav_drawer li a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 12px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 17px; }
#nav_drawer li a:hover, #nav_drawer li a.current { background: rgb(255 255 255 / 72%); color: var(--accent-deep); }
#nav_drawer li span { color: var(--muted); font: 11px/1.6 var(--font-display); letter-spacing: .09em; }
#nav_drawer .info, #nav_drawer .info_open { text-align: center; }
#nav_drawer .info { margin-top: 24px; }
#nav_drawer .info a { justify-content: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-size: 23px; }
#nav_drawer .info span, #nav_drawer .info_open span { font-family: var(--font-base); font-size: 12px; }
#nav_drawer .info_open { padding: 11px 8px; font-size: 13px; }
#nav_drawer .info_open img { display: block; width: 180px; height: auto; margin-inline: auto; }

/* Full-bleed hero. Original desktop/mobile scenes and wordmark remain intact. */
.page-home { --hero-height: clamp(500px, calc(100vw * 1083 / 1945), min(880px, calc(100svh - 86px))); --page-backdrop: none; }
.page-home.header-scrolled { --page-backdrop: url(../images/bg_second_access.jpg); }
#mainvisual { position: relative; width: 100%; margin: 0; overflow: hidden; isolation: isolate; background: var(--pale); }
#mainvisual ul { margin: 0; padding: 0; }
#mainvisual li { position: relative; height: var(--hero-height, 700px); overflow: hidden; background: url(../images/mainvisual1.jpg) center top / cover no-repeat; }
#mainvisual li::before { content: ""; position: absolute; inset: 0; background: inherit; transform-origin: center; }
#mainvisual::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 48%, rgb(255 249 255 / 42%), transparent 57%), linear-gradient(rgb(249 220 243 / 13%), transparent 70%, rgb(105 40 86 / 12%)); }
#mainvisual .mainvisual_txt { position: absolute; inset: 0; pointer-events: none; }
#mainvisual .main_text { position: absolute; z-index: 1; top: 48%; left: 50%; width: min(560px, 43vw); height: auto; max-height: 48%; object-fit: contain; transform: translate(-50%, -50%); filter: drop-shadow(0 2px 8px rgb(255 255 255 / 52%)); }
.hero_cta { position: absolute; z-index: 1; bottom: 12%; left: 50%; display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px; width: min(450px, 80%); transform: translateX(-50%); }
.hero_cta a { display: flex; justify-content: center; align-items: center; min-height: 48px; padding: 10px 18px; border: 1px solid var(--accent-deep); border-radius: var(--radius); font-size: 14px; line-height: 1.5; letter-spacing: .08em; white-space: nowrap; transition: transform var(--ease), background-color var(--ease); }
.hero_cta__primary { color: var(--white); background: var(--button-fill); }
.hero_cta__secondary { color: var(--accent-deep); background: rgb(255 250 254 / 94%); }
.hero_cta__primary:hover { color: var(--white); background: var(--accent-deep); }
.hero_cta__secondary:hover { color: var(--accent-deep); background: var(--white); }
.hero_cta a:active, .recruit_entry_btn:active, .m-cta__btn:active { transform: scale(.98); }
.hero_links { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); min-height: 86px; padding: 15px max(20px, calc((100% - 1160px) / 2)); border-block: 1px solid var(--line); background: linear-gradient(rgb(255 248 253 / 92%), rgb(255 248 253 / 92%)), url(../images/bg.jpg) center / 375px; }
.hero_links a { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px; padding: 4px 8px; border-right: 1px solid var(--line); line-height: 1.5; }
.hero_links a:first-child { border-left: 1px solid var(--line); }
.hero_links a:hover { background: #fae7f2; }
.hero_links .nav-en { font: 14px/1.5 var(--font-display); letter-spacing: .06em; }
.hero_links .nav-ja { font-size: 11px; }

/* Contact strip and headings follow the reference's centered rose rules. */
.middle_info { padding: 21px 24px; background: rgb(255 247 253 / 85%); border-bottom: 1px solid var(--line); }
.middle_info_area { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; column-gap: 40px; row-gap: 8px; max-width: 1160px; margin: auto; font-size: 12px; }
.middle_info_area p > span, .middle_info_area .tel span { margin-left: 10px; font-size: 16px; color: var(--accent-deep); }
.middle_info_area .tel span { font-size: 22px; letter-spacing: .05em; }
.reception:empty { display: none; }
.pankuzu { padding: 16px 0 0; }
.pankuzu ol { display: flex; align-items: center; gap: 12px; text-align: left; font-size: 11px; color: var(--muted); }
.pankuzu li + li::before { content: "/"; margin-right: 12px; color: var(--rose); }
.subtitle, .subtitle_02 { display: flex; flex-direction: column; align-items: center; width: min(900px, 100%); padding-bottom: 21px; margin: 0 auto 38px; border-bottom: 2px solid var(--accent); color: var(--accent-deep); line-height: 1.5; text-align: center; }
.subtitle .ja, .subtitle_02 .ja { order: -1; display: block; color: var(--accent-deep); font-size: 28px; font-weight: 600; letter-spacing: .12em; }
.subtitle .en, .subtitle_02 .en { display: block; margin-top: 6px; color: var(--muted); font: 13px/1.6 var(--font-display); letter-spacing: .11em; }
.subtitle .en:only-child, .subtitle_02 .en:only-child { color: var(--accent-deep); font: 600 28px/1.6 var(--font-base); letter-spacing: .12em; }
.template_box { max-width: 960px; margin: 0 auto 48px; }
.template_box:last-child { margin-bottom: 0; }
.content_borderbox { padding: 38px 42px; border: 1px solid var(--line); background: var(--surface); text-align: left; line-height: 2.1; }
.content_borderbox p + p { margin-top: 18px; }
.content_borderbox ul, .content_borderbox ol { padding-left: 1.3em; list-style: disc; }
.content_borderbox li + li { margin-top: 9px; }
.content_borderbox a { text-decoration: underline; text-underline-offset: 3px; }

/* Campaign artwork has no crop, so every embedded price stays readable. */
.section_system > .template_box:has(> img) { max-width: 900px; padding: 7px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.section_system > .template_box > img { display: block; width: 100%; height: auto; }
.page-home main > section:first-of-type { padding-top: 50px; }

/* One keyboard-scrollable news panel; all PHP-rendered entries remain present. */
#section_topics { padding-top: 25px; }
#section_topics .inner { max-width: 1024px; }
.news_stream { max-height: 620px; overflow-y: auto; overscroll-behavior-y: contain; scrollbar-width: thin; scrollbar-color: var(--rose) var(--pale); border: 5px solid rgb(255 250 254 / 88%); background: linear-gradient(140deg, #a63884, #78378d); box-shadow: var(--shadow); }
#section_topics .info_box > table { background: linear-gradient(140deg, #a63884, #78378d); }
#section_topics table { width: 100%; }
#section_topics .news_stream > table > tbody > tr > td:first-child,
#section_topics .news_stream > table > tbody > tr > td:last-child { display: none; }
#section_topics .news_stream > table > tbody > tr > td:nth-child(2) { display: table-cell; width: 100%; }
#section_topics article { padding: 34px 40px; border-bottom: 1px solid rgb(255 255 255 / 38%); color: var(--white); text-align: left; line-height: 1.95; }
#section_topics tr:last-child article { border-bottom: 0; }
#section_topics time { display: table; min-width: 165px; padding: 1px 15px; margin: 0 auto 12px; border-radius: var(--radius); background: var(--paper); color: var(--accent-deep); font: 13px/1.7 var(--font-display); text-align: center; }
#section_topics h3 { margin: 0 0 18px; color: var(--white); font-size: 21px; font-weight: 600; line-height: 1.65; text-align: center; }
#section_topics .newslist-desc { color: var(--white); font-size: 15px; overflow-wrap: anywhere; }
#section_topics .newslist-desc font { color: inherit; }
#section_topics .newslist-desc p { margin-bottom: 14px; }
#section_topics a { color: var(--white); text-decoration: underline; }
.newslist-thumb { display: flex; align-items: flex-start; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 20px; }
.news_photo { max-width: 100%; }
.news_photo img { width: auto; max-width: 250px; height: auto; max-height: 330px; object-fit: contain; border: 4px solid rgb(255 255 255 / 90%); }
/* PHP supplies a red inline NEW color. Keep the output and theme it locally. */
#section_topics .new_mark { color: #fff1c1 !important; font: 11px/1.5 var(--font-ui); }
.info_box > br { display: none; }

/* Four white-framed portraits on desktop, two at mobile carousel widths. */
#section_therapist { padding-top: 38px; }
.cast_box:not(.slick-initialized) { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 18px; }
.cast_li { min-width: 0; padding: 9px 9px 0; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 3px 12px rgb(119 47 98 / 6%); }
.cast_li .img_box { position: relative; overflow: hidden; background: #f4e8f1; }
.cast_li .img_box a, .cast_li .img_box p { display: block; }
.cast_li .photo { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: contain; transition: transform .5s ease; }
.cast_li .txt_box { padding: 15px 4px; color: var(--accent-deep); font-size: 17px; font-weight: 600; letter-spacing: .05em; text-align: center; }
.icon_new { display: block; position: absolute; right: 7px; top: 7px; pointer-events: none; }
.icon_new img { display: block; width: 48px; height: auto; }
.icon_new img:not([src]), .icon_new img[src=""] { display: none; }

/* Inner banners retain their existing page-specific background URLs. */
.page_top_outer { position: relative; padding-top: var(--header-height); }
.page_top { height: 280px; background: url(../images/bg_second_access.jpg) center / cover no-repeat; }
.page_top::after { content: ""; position: absolute; inset: var(--header-height) 0 0; background: linear-gradient(90deg, rgb(255 245 252 / 60%), rgb(253 239 250 / 16%), rgb(255 245 252 / 60%)); }
.other_page_title { position: absolute; z-index: 1; inset: calc(var(--header-height) + 75px) 20px auto; text-align: center; }
.other_page_title .t_top { display: block; color: var(--accent-deep); font: 36px/1.3 var(--font-display); letter-spacing: .12em; }
.other_page_title .t_bottom { display: block; margin-top: 12px; color: var(--text); font-size: 15px; letter-spacing: .16em; }
.other_page_title::after { content: ""; display: block; width: 60px; height: 1px; margin: 23px auto 0; background: var(--accent); }
.page-inner main > section { padding-top: 52px; }

/* Price, access and profile data. Existing table semantics stay intact. */
.table_collum_02, .table_collum_03, .table_collum_recruit { margin: 0 auto; text-align: left; }
.table_collum_02 th, .table_collum_02 td, .table_collum_recruit th, .table_collum_recruit td { padding: 22px 25px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; }
.table_collum_02 th, .table_collum_recruit th { width: 23%; background: #f8e4f0; color: var(--accent-deep); font-weight: 500; }
.table_collum_02 td, .table_collum_recruit td { background: var(--surface); }
.table_collum_02 a, .table_collum_recruit a { text-decoration: underline; text-underline-offset: 4px; }
.table_collum_03 { text-align: center; }
.table_collum_03 td, .table_collum_03 th { padding: 21px 12px; border-bottom: 1px solid var(--line); background: var(--surface); color: var(--accent-deep); font: 36px/1.5 var(--font-display); }
.table_collum_03 td { width: 50%; }
.table_collum_03 span { font-size: 17px; font-family: var(--font-base); }
.table_collum_03 .sample-tit { font-size: 23px; letter-spacing: .12em; }
.table_collum_03 .txt { font: 19px/1.7 var(--font-base); }
.table_collum_03 tr:only-child td:only-child { width: 100%; background: #f8e4f0; }
.table_collum_03 td:empty { padding: 10px; border: 0; background: transparent; }
.table_collum_03 .STYLE1 { display: block; font: 14px/2 var(--font-base); text-wrap: balance; }
/* These original one-cell tables contain only nonbreaking-space spacers. */
#system .table_collum_03 td:only-child:not(:has(*)) { padding: 8px 0; border: 0; background: transparent; font-size: 0; line-height: 0; }
.section_system > .template_box:not(:has(> img)) { max-width: 900px; padding: 30px 42px; border: 1px solid var(--line); background: var(--surface); }
/* Compatibility for price/option HTML supplied by the existing PHP/news data. */
.section_system .table_system table, .section_system .table_option table { width: 100%; text-align: center; }
.section_system .table_system th, .section_system .table_system td, .section_system .table_option th, .section_system .table_option td { padding: 20px 12px; border-bottom: 1px solid var(--line); }
.section_system .table_system .arrow, .section_system .table_option .arrow { width: 15%; background: url(../images/bg_photo_bnr02.png) center / 40px no-repeat; }
#access .template_box { padding: 0; background: transparent; }
#access iframe { width: 100%; height: 400px; border: 7px solid var(--white); box-shadow: var(--shadow); }
.map_placeholder { width: 100%; height: 400px; background: rgb(255 250 254 / 60%); }
#access .table_collum_02 { margin-top: 24px; }
#access .table_collum_03 { background: transparent; }
.seo { padding-top: 30px; }
.seo .template_box { max-width: 960px; margin-bottom: 0; }
.seo .content_borderbox { padding: 42px 55px; border: 5px solid rgb(255 255 255 / 82%); background: linear-gradient(120deg, #a63884, #78378d); color: var(--white); text-align: center; }
.seo .subtitle_02 { border-color: rgb(255 255 255 / 65%); margin-bottom: 24px; }
.seo .subtitle_02 .ja, .seo .subtitle_02 .en { color: var(--white); }
.seo p { line-height: 2.2; }
.profile_inner { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: start; gap: 36px; }
.profile_box_left, .profile_box_right { min-width: 0; }
.profile_box_left .img_box { position: relative; padding: 9px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.profile_box_left .photo { display: block; width: 100%; height: auto; object-fit: contain; }
.profile_box_right { padding: 9px; border: 1px solid var(--line); background: linear-gradient(rgb(255 250 254 / 90%), rgb(255 250 254 / 90%)), url(../images/bg_today.jpg) top right / 500px auto; }
.profile_box_right .table_collum_02 th { width: 26%; }
.profile_box_right .table_collum_02 th, .profile_box_right .table_collum_02 td { padding: 20px 18px; }
.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-top: 12px; }
.thumb-small { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: contain; border: 2px solid transparent; background: var(--white); cursor: pointer; transition: opacity var(--ease), border-color var(--ease); }
.thumb-small:hover { opacity: .8; }
.thumb-small.is-active { border-color: var(--accent); }
.profile_box_schedule { margin-top: 35px; padding: 20px; border: 1px solid var(--line); background: var(--surface); overflow-x: auto; }
.can, .good, .cant { display: inline-block; padding: 4px 10px; }
.can, .good { background: var(--accent-deep); color: var(--white); }
.cant { background: var(--pale); color: var(--muted); }

/* Interior and recruitment use the same frames and rose table labels. */
.room_gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; margin: 0 auto 60px; }
.room_card { min-width: 0; padding: 9px 9px 19px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }
.room_card img, .room_photo_placeholder { display: block; width: 100%; height: auto; aspect-ratio: 403 / 308; object-fit: contain; }
.room_photo_placeholder { display: flex; flex-direction: column; justify-content: center; align-items: center; border: 1px solid var(--line); background: var(--pale); }
.room_photo_placeholder span { font: 25px/1.6 var(--font-display); color: var(--accent-deep); }
.room_photo_placeholder small { color: var(--muted); }
.room_card h4 { margin-top: 14px; font-size: 18px; color: var(--accent-deep); }
.room_intro_box, .recruit_message { text-align: left; line-height: 2.1; }
.recruit_merit { display: grid; grid-template-columns: 1fr; gap: 14px; max-width: 960px; margin: 0 auto 55px; }
.recruit_merit_card { display: grid; grid-template-columns: 54px 190px minmax(0, 1fr); gap: 20px; align-items: center; padding: 24px 28px; border: 1px solid var(--line); background: var(--surface); text-align: left; }
.recruit_merit_card span { color: var(--accent); font: 29px/1.2 var(--font-display); }
.recruit_merit_card h4 { font-size: 18px; }
.recruit_merit_card p { font-size: 14px; }
.recruit_entry_box { max-width: 960px; padding: 38px; margin: auto; border: 5px solid rgb(255 255 255 / 85%); background: linear-gradient(125deg, #a63884, #78378d); color: var(--white); }
.recruit_entry_box h3 { margin-bottom: 12px; color: var(--white); font-size: 25px; }
.recruit_entry_box p { margin-bottom: 23px; }
.recruit_entry_btn { display: inline-block; padding: 11px 35px; border: 1px solid var(--white); border-radius: var(--radius); background: var(--paper); color: var(--accent-deep); font-size: 25px; line-height: 1.6; letter-spacing: .06em; white-space: nowrap; transition: transform var(--ease), background-color var(--ease); }
.recruit_entry_btn:hover { color: var(--accent-deep); background: var(--white); }

/* Footer and persistent business destinations. Fixed controls never cover text. */
.global-footer { padding: 32px 0; border-block: 1px solid var(--line); background: rgb(255 247 253 / 88%); }
.global-footer .inner { display: grid; grid-template-columns: 270px 1fr; gap: 45px; align-items: center; max-width: 1024px; }
.footerlogo img { display: block; width: 270px; height: auto; }
.global-footer .des { text-align: left; }
.global-footer .tit { margin-bottom: 9px; font-size: 16px; }
.global-footer .txt { font-size: 12px; }
.global-footer .tel { font-size: 27px; line-height: 1.5; letter-spacing: .06em; }
footer { padding: 48px 0 45px; color: var(--text); text-align: center; }
.footer_link { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 32px; }
.footer_link a { display: flex; justify-content: center; align-items: center; min-height: 38px; padding: 7px 9px; border: 1px solid var(--rose); border-radius: var(--radius); background: rgb(255 248 253 / 93%); color: var(--accent-deep); font-size: 12px; white-space: nowrap; }
.footer_link a:hover { background: #f4d6e8; }
footer .mb_20_pc img { display: block; width: 200px; height: auto; margin-inline: auto; }
footer small { font-size: 11px; line-height: 2; }
footer > table { max-width: 440px; margin: 24px auto 0; }
footer table table { width: 100%; }
footer td { padding: 5px; }
footer table img { max-width: 100%; height: auto; }
.footer_nav { position: fixed; z-index: 30; right: 0; bottom: 20px; display: grid; grid-template-columns: 1fr; gap: 6px; width: 44px; }
.footer_nav a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 116px; padding: 12px 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--accent-deep); box-shadow: var(--shadow); font-size: 13px; line-height: 1.5; writing-mode: vertical-rl; white-space: nowrap; }
.footer_nav .btn_tel { border-color: var(--accent-deep); color: var(--white); background: var(--button-fill); }
.footer_nav a:hover { background: #f7e0ef; color: var(--accent-deep); }
.m-cta { display: none; }

/* Slick is bundled with the existing jQuery dependency. These are local hooks,
   not changes to vendor source. The uninitialized list remains a complete grid. */
.slick-slider { position: relative; display: block; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.slick-list { position: relative; display: block; overflow: hidden; margin: 0; padding: 0; }
.slick-track { position: relative; top: 0; left: 0; display: block; margin-inline: auto; }
.slick-track::before, .slick-track::after { display: table; content: ""; }
.slick-track::after { clear: both; }
.slick-slide { display: none; float: left; min-height: 1px; }
.slick-initialized .slick-slide { display: block; }
.slick-slide img { display: block; }
.slick-slide.dragging img { pointer-events: none; }
.slick_schedule.slick-initialized .slick-list { margin-inline: -9px; }
.slick_schedule .slick-slide { margin-inline: 9px; }
.slick-arrow { position: absolute; top: 43%; z-index: 2; display: flex; justify-content: center; align-items: center; width: 35px; height: 42px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--accent-deep); font: 28px/1 var(--font-display); transform: translateY(-50%); }
.slick-prev { left: -18px; }
.slick-next { right: -18px; }
.slick-disabled { opacity: .4; cursor: default; }
.slick-dots { display: flex; justify-content: center; flex-wrap: wrap; gap: 5px; padding: 18px 0 0; }
.slick-dots[hidden] { display: none; }
.slick-dots li { display: block; }
.slick-dots button { display: block; position: relative; width: 27px; height: 27px; padding: 0; border: 0; background: transparent; color: transparent; font-size: 0; }
.slick-dots button::before { content: ""; position: absolute; inset: 9px; border: 1px solid var(--accent); border-radius: 50%; }
.slick-dots .slick-active button::before { background: var(--accent); }
.carousel_pause { display: block; padding: 7px 17px; margin: 10px auto 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--accent-deep); font: 11px/1.5 var(--font-ui); }
.carousel_pause[hidden] { display: none; }

/* Auxiliary public catalog. Shared administration stylesheet is not edited. */
body.eminal-public { color: var(--text); background: var(--paper); font-family: var(--font-base); }
.eminal-public .navbar { position: sticky; top: 0; z-index: 20; border-color: var(--line); background: var(--surface); backdrop-filter: none; }
.eminal-public .navbar-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1160px; min-height: 80px; padding: 12px 26px; margin-inline: auto; }
.eminal-public .brand, .eminal-public .brand a { display: flex; align-items: center; gap: 12px; color: var(--accent-deep); font-weight: 500; }
.eminal-public .site-logo { display: block; width: auto; max-height: 48px; border: 0; border-radius: 0; }
.eminal-public .nav { display: flex; flex-wrap: nowrap; gap: 15px; }
.eminal-public .nav a { color: var(--accent-deep); border-radius: var(--radius); white-space: nowrap; }
.eminal-public .nav a:hover { background: var(--pale); }
.eminal-public .container { width: 100%; max-width: 1160px; padding: 48px 28px; margin-inline: auto; }
.eminal-public .container > h2 { padding-bottom: 22px; margin: 0 0 32px; border-bottom: 2px solid var(--accent); color: var(--accent-deep); font-size: 28px; text-align: center; }
.eminal-public .grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 20px; }
.eminal-public .grid > * { min-width: 0; }
.eminal-public .card { border: 1px solid var(--line); border-radius: 0; background: var(--surface); backdrop-filter: none; box-shadow: var(--shadow); color: var(--text); text-align: left; }
.eminal-public .pad { padding: 18px; }
.eminal-public .card .img-cover { display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: contain; border-radius: 0; }
.eminal-public .card h2, .eminal-public .card h3 { margin-bottom: 12px; color: var(--accent-deep); }
.eminal-public .badge { border-color: var(--line); border-radius: var(--radius); background: var(--pale); color: var(--accent-deep); }
.eminal-public .muted { color: var(--muted); }
.eminal-public .btn { border: 1px solid var(--accent-deep); border-radius: var(--radius); background: var(--button-fill); color: var(--white); font-family: var(--font-base); white-space: nowrap; }
.eminal-public .table { border-color: var(--line); border-radius: 0; background: var(--surface); }
.eminal-public .table th { color: var(--accent-deep); background: #f8e4f0; }
.eminal-public .table td, .eminal-public .table th { border-color: var(--line); }
.eminal-public .catalog-heading { display: grid; grid-template-columns: 1fr; gap: 8px; text-align: center; }
.eminal-public .catalog-heading .muted { text-align: center; }
.eminal-public .gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.eminal-public .gallery .thumb { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: contain; }
.eminal-public footer { padding-bottom: 45px; border-top: 1px solid var(--line); background: rgb(255 247 253 / 85%); }

/* Motion communicates hero arrival, section hierarchy and interaction state.
   Content is visible by default; failure of animation APIs cannot hide it. */
@keyframes heroBackgroundZoomOut { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes heroWordmarkArrival { from { opacity: .35; transform: translate(-50%, -46%); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes heroWordmarkArrivalPortrait { from { opacity: .35; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (prefers-reduced-motion: no-preference) {
  #mainvisual li::before { animation: heroBackgroundZoomOut 10s linear both; }
  #mainvisual.hero-zoom-pending li::before { animation: none; transform: scale(1.08); }
  #mainvisual .main_text { animation: heroWordmarkArrival 1.3s ease-out both; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .cast_li .img_box a:hover .photo { transform: scale(1.025); }
  .hero_cta a:hover { transform: translateY(-2px); }
}

/* Tablet: retain vertical navigation until it would compress the contact area. */
@media (max-width: 1199px) {
  header .inner { padding-inline: 22px; }
  header .area { grid-template-columns: 180px 1fr auto; gap: 20px; }
  header .logo img { width: 180px; }
  .header_nav li { flex-basis: 45px; }
  .header_nav a { padding-inline: 10px; }
  .header_nav .nav-ja { font-size: 12px; }
  .header_contact a { font-size: 22px; }
  .header_contact span { font-size: 11px; }
  .cast_box:not(.slick-initialized) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .recruit_merit_card { grid-template-columns: 45px 170px minmax(0, 1fr); gap: 15px; }
}
@media (max-width: 1023px) {
  :root { --header-height: 80px; }
  .page-home { --hero-height: clamp(560px, calc(100svh - 86px), 1100px); }
  #mainvisual li { background-image: url(../images/mainvisual_s.jpg); background-position: center top; }
  #mainvisual .main_text { top: auto; bottom: calc(11% + 64px); width: min(590px, 82%); max-height: 30%; transform: translate(-50%, 0); animation-name: heroWordmarkArrivalPortrait; }
  .hero_cta { bottom: 11%; }
  header .area { grid-template-columns: 190px 1fr; padding-right: 58px; }
  header .logo img { width: 190px; height: 58px; }
  .header_nav { display: none; }
  .header_contact { grid-column: 2; }
  .header_contact a { font-size: 21px; }
  .btn_menu, .btn_menu.sticky { display: flex; top: 16px; }
  .middle_info_area { column-gap: 25px; }
  .middle_info_area .tel span { font-size: 20px; }
  .profile_inner { gap: 26px; }
  .table_collum_02 th, .table_collum_02 td, .table_collum_recruit th, .table_collum_recruit td { padding: 19px 17px; }
  .footer_nav { bottom: 12px; }
  .footer_link { gap: 8px; }
  .footer_link a { font-size: 11px; }
  .eminal-public .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Mobile: independent portrait composition, full menu and safe-area CTA rail. */
@media (max-width: 767px) {
  :root { --header-height: 72px; }
  body { font-size: 14px; letter-spacing: .025em; }
  body::before { background-position: 43% center; }
  .inner { padding-inline: 20px; }
  section { padding: 42px 0; }
  .visiblePC { display: none; }
  .visibleSP { display: block; }
  header .inner { padding-inline: 16px; }
  header .area { display: flex; justify-content: flex-start; padding-right: 108px; gap: 0; }
  header .logo img { width: 176px; height: 56px; }
  .header_contact { display: none; }
  .header_phone { position: absolute; right: 72px; top: 14px; display: flex; align-items: center; justify-content: center; width: 43px; height: 43px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--accent-deep); font-size: 18px; }
  .btn_menu, .btn_menu.sticky { top: 12px; right: 15px; }
  #nav_drawer { padding: 10px 23px calc(25px + env(safe-area-inset-bottom)); }
  #nav_drawer li a { padding: 15px 10px; font-size: 16px; }
  #nav_drawer .info { margin-top: 20px; }
  #nav_drawer .info a { font-size: 22px; padding: 12px; }
  #nav_drawer .info_open { padding-block: 9px; }
  #nav_drawer .info_open img { width: 160px; }
  .page-home { --hero-height: clamp(390px, calc(100svh - 164px), 760px); }
  #mainvisual .main_text { width: min(86%, 460px); }
  .hero_cta { bottom: 11%; width: calc(100% - 40px); max-width: 430px; gap: 9px; }
  .hero_cta a { min-height: 45px; padding: 10px 8px; font-size: 12px; letter-spacing: .025em; }
  .hero_links { grid-template-columns: repeat(3, minmax(0, 1fr)); min-height: 96px; padding: 7px 14px; row-gap: 7px; }
  .hero_links a { padding: 3px 5px; border: 0; border-right: 1px solid var(--line); }
  .hero_links a:first-child, .hero_links a:nth-child(4) { border-left: 1px solid var(--line); }
  .hero_links .nav-en { font-size: 11px; }
  .hero_links .nav-ja { font-size: 9px; }
  .middle_info { padding: 17px 18px; }
  .middle_info_area { display: grid; grid-template-columns: 1fr; gap: 4px; text-align: center; font-size: 11px; }
  .middle_info_area p > span { font-size: 14px; }
  .middle_info_area .tel span { font-size: 22px; }
  .pankuzu { padding-top: 12px; }
  .pankuzu ol { font-size: 10px; }
  .subtitle, .subtitle_02 { padding-bottom: 17px; margin-bottom: 28px; }
  .subtitle .ja, .subtitle_02 .ja { font-size: 23px; letter-spacing: .09em; }
  .subtitle .en, .subtitle_02 .en { margin-top: 5px; font-size: 11px; }
  .subtitle .en:only-child, .subtitle_02 .en:only-child { font-size: 23px; }
  .template_box { margin-bottom: 35px; }
  .content_borderbox { padding: 26px 22px; }
  .page-home main > section:first-of-type { padding-top: 36px; }
  .section_system > .template_box:has(> img) { padding: 4px; }
  #section_topics { padding-top: 12px; }
  .news_stream { max-height: 540px; border-width: 3px; }
  #section_topics article { padding: 25px 21px; }
  #section_topics h3 { margin-bottom: 16px; font-size: 18px; }
  #section_topics .newslist-desc { font-size: 14px; line-height: 1.95; }
  #section_topics time { min-width: 145px; font-size: 12px; }
  .news_photo img { max-width: min(220px, 100%); max-height: 300px; }
  #section_therapist { padding-top: 22px; }
  .cast_box:not(.slick-initialized) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .cast_li { padding: 5px 5px 0; }
  .cast_li .txt_box { padding: 12px 2px; font-size: 14px; letter-spacing: 0; }
  .icon_new { right: 4px; top: 4px; }
  .icon_new img { width: 36px; }
  .slick_schedule.slick-initialized .slick-list { margin-inline: -6px; }
  .slick_schedule .slick-slide { margin-inline: 6px; }
  .slick-arrow { width: 30px; height: 36px; font-size: 25px; }
  .slick-prev { left: -14px; }
  .slick-next { right: -14px; }
  .page_top { height: 210px; }
  .other_page_title { top: calc(var(--header-height) + 53px); }
  .other_page_title .t_top { font-size: 29px; letter-spacing: .08em; }
  .other_page_title .t_bottom { margin-top: 9px; font-size: 12px; }
  .other_page_title::after { margin-top: 19px; }
  .page-inner main > section { padding-top: 36px; }
  .section_system > .template_box:not(:has(> img)) { padding: 22px 13px; }
  .table_collum_03 td, .table_collum_03 th { padding: 17px 7px; font-size: 29px; }
  .table_collum_03 span { font-size: 13px; }
  .table_collum_03 .txt { font-size: 16px; }
  .table_collum_03 .sample-tit { font-size: 20px; }
  .table_collum_03 .STYLE1 { font-size: 12px; }
  .table_collum_02 th, .table_collum_02 td, .table_collum_recruit th, .table_collum_recruit td { padding: 16px 13px; font-size: 13px; }
  .table_collum_02 th { width: 29%; }
  #access iframe { height: 300px; border-width: 5px; }
  .map_placeholder { height: 300px; }
  .seo { padding-top: 18px; }
  .seo .content_borderbox { padding: 28px 22px; text-align: left; border-width: 3px; }
  .seo p { line-height: 2.05; }
  .profile_inner { grid-template-columns: 1fr; gap: 26px; }
  .profile_box_left { width: 100%; max-width: 440px; margin: auto; }
  .profile_box_right { padding: 6px; }
  .profile_box_right .table_collum_02 th, .profile_box_right .table_collum_02 td { padding: 17px 13px; }
  .profile_box_schedule { padding: 10px; }
  .room_gallery { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
  .room_card { width: 100%; max-width: 460px; margin-inline: auto; }
  .recruit_merit_card { grid-template-columns: 32px minmax(0, 1fr); gap: 8px 15px; padding: 22px; }
  .recruit_merit_card span { grid-row: 1 / 3; align-self: start; padding-top: 3px; font-size: 26px; }
  .recruit_merit_card p { grid-column: 2; }
  .table_collum_recruit th, .table_collum_recruit td { display: block; width: 100%; }
  .table_collum_recruit th { padding: 11px 15px; border-bottom: 0; }
  .table_collum_recruit td { padding: 14px 15px 20px; }
  .recruit_entry_box { padding: 28px 17px; border-width: 3px; }
  .recruit_entry_box h3 { font-size: 21px; }
  .recruit_entry_btn { padding: 11px 22px; font-size: 21px; }
  footer { padding: 35px 0 calc(94px + env(safe-area-inset-bottom)); }
  .footer_link { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-bottom: 27px; }
  .footer_link a { min-height: 38px; font-size: 12px; }
  footer small { font-size: 10px; }
  .footer_nav { display: none; }
  .m-cta { position: fixed; inset: auto 0 0; z-index: 30; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0 0 env(safe-area-inset-bottom); border-top: 1px solid var(--rose); background: var(--accent-deep); }
  .m-cta__btn { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 64px; gap: 7px; padding: 10px 2px; border-right: 1px solid rgb(255 255 255 / 48%); background: var(--button-fill); color: var(--white); }
  .m-cta__btn:last-child { border-right: 0; }
  .m-cta__btn.is-top { color: var(--accent-deep); background: var(--paper); }
  .m-cta__btn:hover { color: var(--white); background: var(--accent-deep); }
  .m-cta__btn.is-top:hover { color: var(--accent-deep); background: var(--pale); }
  .m-cta__btn::before { font: 900 17px/1 "Font Awesome 5 Free"; }
  .m-cta__btn.is-tel::before { content: "\f095"; }
  .m-cta__btn.is-web::before { content: "\f007"; }
  .m-cta__btn.is-system::before { content: "\f157"; }
  .m-cta__btn.is-top::before { content: "\f102"; }
  .m-cta__btn.is-line::before { content: "\f3c5"; }
  .m-cta__label { font: 10px/1.4 var(--font-ui); white-space: nowrap; letter-spacing: 0; }
  .open .m-cta { visibility: hidden; pointer-events: none; }
  .eminal-public .navbar-inner { flex-wrap: wrap; justify-content: center; gap: 12px; padding: 15px; }
  .eminal-public .brand { width: 100%; justify-content: center; text-align: center; }
  .eminal-public .brand a { flex-wrap: wrap; justify-content: center; }
  .eminal-public .container { padding: 30px 18px; }
  .eminal-public .grid { grid-template-columns: 1fr; gap: 22px; }
  .eminal-public .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .eminal-public .container > h2 { font-size: 24px; }
}
@media (max-width: 389px) {
  .inner { padding-inline: 15px; }
  header .logo img { width: 150px; }
  .hero_cta { width: calc(100% - 30px); gap: 7px; }
  .hero_cta a { font-size: 11px; }
  .cast_li .txt_box { font-size: 12px; }
  .m-cta__label { font-size: 9px; }
}
/* The wide two-person illustration keeps faces at the edges in landscape. */
@media (max-width: 1023px) and (min-aspect-ratio: 7/8) {
  .page-home { --hero-height: clamp(240px, calc(100vw * 1083 / 1945), min(880px, calc(100svh - 86px))); }
  #mainvisual li { background-image: url(../images/mainvisual1.jpg); background-position: center top; }
  #mainvisual .main_text { top: 48%; bottom: auto; width: min(480px, 42vw); max-height: 38%; transform: translate(-50%, -50%); animation-name: heroWordmarkArrival; }
}
@media (max-height: 600px) and (min-width: 1024px) {
  .page-home { --hero-height: clamp(320px, calc(100vw * 1083 / 1945), calc(100svh - 86px)); }
  #mainvisual .main_text { max-height: 43%; top: 49%; }
  .hero_cta { bottom: 9%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  #mainvisual li::before { transform: none; }
}
