@charset "utf-8";

:root {
  --accent-color: #ab0000;
  --dark-color: #120000;
  --sub-color: #898989;
  --light-color: #eee;
  --serif: "Times New Roman", 宋体, serif;
  font-size: 16px;
  line-height: 1.5;
}

html {
  scroll-behavior: smooth;
  caret-color: transparent;
}

body {
  position: relative;
  margin: 0;
  background: url(../images/bg-primary.jpg) 50% 0 / 100% auto repeat-y, #fff;
  font-family: 微软雅黑, Arial, Helvetica, sans-serif;
  font-feature-settings: 'palt';
  letter-spacing: .05em;
}

sup {
  vertical-align: super;
  font-size: smaller;
}

/* ===== Header */

header {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  padding: 16px;
}

/* ===== Common Frame */

section {
  padding: 60px 24px;
}

article {
  margin: 0 24px;
  padding: 54px 0;
}

.inner {
  max-width: 1100px;
  margin: 0 auto;
}

.pc-view {
  display: none;
}

.sp-view {
  display: block;
}

/* ===== Hero */

.hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  height: 100svh;
  padding: 32px;
  background: linear-gradient(rgba(0, 0, 0, .25), rgba(0, 0, 0, .25)), image-set(url(../images/bg-hero-top.jpg) 1x, url(../images/bg-hero-top@2x.jpg) 2x) no-repeat 67% center/cover;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

h1 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: bold;
  color: #fff;
}

.hero-inner p {
  font-family: var(--serif);
  font-size: 13px;
  color: #fff;
}

.hero-inner .lead {
  font-family: var(--serif);
  font-size: 1rem;
  color: #fff;
}

/* ===== headline */

.headline {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 50lvh;
  padding: 32px;
  background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), image-set(url(../images/bg-headline-top.jpg?ver1.1) 1x, url(../images/bg-headline-top@2x.jpg?ver1.1) 2x) no-repeat 42% center/cover;
}

.headline .lead {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: bold;
  color: #fff;
}

/* ===== For PC Navigation */
.pc-navigation {
  display: none;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100px;
  padding: 0 2.18vw;
  background: rgba(0, 0, 0, .9);
}

.pc-navigation .logo {
  flex-shrink: 0;
  margin-right: 2.18vw;
}

.pc-nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5em;
  max-width: 1100px;
  width: 100%;
}

.pc-nav-item {
  font-size: clamp(12px, 1.45vw, 16px);
  font-family: var(--serif);
  text-wrap: nowrap;
}

.pc-nav-link {
  display: block;
  padding: .5em;
  color: #fff;
}

/* ===== For PC Wechat QR */

.qr-navigation,
.qr-nav-header {
  display: none;
}

.qr-btn {
  display: none;
  width: 64px;
  height: 64px;
  cursor: pointer;
  background: url(../images/wechat.svg) no-repeat center/contain;
}

.open {
  overflow: hidden;
}

.open .qr-item {
  visibility: visible;
  opacity: 1;
}

.qr-item {
  display: none;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  position: fixed;
  inset: calc(-50vh + 64px) 0 0 calc(-100vw + 64px);
  width: 100vw;
  height: 100vh;
  background: rgba(1, 1, 1, .6);
  visibility: hidden;
  overflow-y: scroll;
  opacity: 0;
  z-index: 10;
  transition: all .5s ease;
}

.qr-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 600px;
  height: 600px;
  position: relative;
  background: #fff;
}

.close {
  display: block;
  position: absolute;
  inset: 16px 16px auto auto;
  width: 40px;
  height: auto;
  cursor: pointer;
}

.qr-code {
  display: block;
  max-width: 430px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.qr-inner p {
  padding-top: 42px;
  text-align: center;
  font-weight: bold;
}

/* ===== Index Common */

.sec-title {
  margin-bottom: 1.5em;
  padding-bottom: .3em;
  border-bottom: 1px solid var(--accent-color);
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(24px, 3.63vw, 40px);
}

.sec-title .subtitle {
  display: inline-block;
  padding-left: 1.5em;
  font-size: 50%;
}

.sec-layout {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}

/* ===== Clinic */

.about {
  background: url(../images/bg-secondary.jpg) 50% 0 / 100% auto repeat-y, #fff;
}

.about-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: calc(100% / 2 - 24px);
  min-width: 345px;
  width: 100%;
  height: 345px;
  padding: 32px;
}

.about-item:first-of-type {
  background: linear-gradient(rgba(255, 255, 255, .55), rgba(255, 255, 255, .55)), image-set(url(../images/bg-philosophy.jpg) 1x, url(../images/bg-philosophy@2x.jpg) 2x) no-repeat center / cover;
}

.about-item:last-of-type {
  background: linear-gradient(rgba(255, 255, 255, .55), rgba(255, 255, 255, .55)), image-set(url(../images/bg-feature.jpg) 1x, url(../images/bg-feature@2x.jpg) 2x) no-repeat center left / cover;
}

.about-title {
  margin-bottom: .5em;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(18px, 5.33vw, 24px);
  font-weight: bold;
}

.about-list {
  padding: .5em 0 .5em 1.5em;
  list-style: disc;
}

.about-text,
.about-list-item {
  font-size: clamp(12px, 1.45vw, 16px);
}

/* ===== Doctor */

.profile-image-wrapper {
  position: relative;
  flex: 1;
  max-width: 544px;
}

.profile-image {
  display: block;
  margin: 0 auto 1em;
  width: 100%;
  height: auto;
  box-shadow: 0 6px 10px rgba(0, 0, 0, .25);
}

.profile-name {
  position: absolute;
  display: block;
  inset: auto auto 1.5em 1.5em;
  padding-left: .3em;
  font-family: var(--serif);
}

.profile-name::before {
  content: '';
  position: absolute;
  inset: -.5em auto -.5em -.5em;
  border-left: 1px solid var(--accent-color);
}

.profile-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.profile-heading {
  margin-bottom: .5em;
  font-family: var(--serif);
  font-size: clamp(20px, 2.18vw, 24px);
  font-weight: bold;
}

/* ===== Category */

.category {
  background: url(../images/bg-secondary.jpg) 50% 0 / 100% auto repeat-y, #fff;
  text-align: center;
}

.category-item {
  position: relative;
  max-width: calc(100% / 2 - 24px);
  min-width: 320px;
  width: 100%;
  height: 360px;
}

.category-link {
  display: block;
  height: 100%;
}

.category-title {
  position: absolute;
  inset: 50% 0 auto 0;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: clamp(20px, 2.18vw, 24px);
  font-weight: bold;
  color: #fff;
}

.category-title .subtitle {
  font-weight: normal;
}

.category-item:first-of-type {
  background: linear-gradient(rgba(0, 0, 0, .3), rgba(0, 0, 0, .3)), image-set(url(../images/bg-surgery-2.jpg) 1x, url(../images/bg-surgery-2@2x.jpg) 2x) no-repeat center/cover;
}

.category-item:last-of-type {
  background: linear-gradient(rgba(0, 0, 0, .3), rgba(0, 0, 0, .3)), image-set(url(../images/bg-femtech-2.jpg) 1x, url(../images/bg-femtech-2@2x.jpg) 2x) no-repeat center/cover;
}

/* ===== btn-arrow */

.btn-arrow {
  display: block;
  position: absolute;
  inset: auto 24px 24px auto;
  transition: all .3s ease;
}

/* ===== Equipment */
.equipment .sec-layout {
  margin-bottom: 32px;
}

.equipment-item {
  position: relative;
  background: #fff;
}

.equipment-item-img {
  width: 304px;
  height: 388px;
  box-shadow: 0 6px 10px rgba(0, 0, 0, .25);
  vertical-align: middle;
}

.equipment-item-link {
  display: block;
  height: 100%;
}

.equipment-item .btn-arrow {
  position: absolute;
  inset: auto 24px 24px auto;
  transition: all .3s ease;
}

.btn-more {
  background: #000;
  width: 240px;
  height: 50px;
  margin: 0 auto;
  text-align: center;
  text-wrap: nowrap;
  font-family: var(--serif);
  line-height: 50px;
  transition: all .3s ease;
}

.btn-url {
  display: block;
  color: #fff;
}

/* ===== Page links */

.anchor-content {
  padding: 24px;
  background: url(../images/bg-secondary.jpg) 50% 0 / 100% auto repeat-y, #fff;
}

.anchor-links {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
}

.anchor-item {
  border: 1px solid #2d2e33;
  background: #fff;
  font-size: clamp(12px, 1.27vw, 14px);
}

.anchor-link {
  display: block;
  padding: 8px 16px;
}

/* ===== Article */
article {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

article:not(:first-of-type) {
  border-top: 1px solid var(--accent-color);
}

.article-title {
  font-family: var(--serif);
  font-size: clamp(20px, 2.18vw, 24px);
  font-weight: bold;
}

.article-item-title {
  font-family: var(--serif);
  font-size: clamp(16px, 1.63vw, 18px);
  font-weight: bold;
}

.article-item-title small {
  font-size: 75%;
  font-weight: normal;
}

article p {
  font-size: clamp(13px, 1.45vw, 16px);
}

/* ===== Checkbox */

.checkbox-title,
.checkbox-title-secondary {
  width: 120px;
  height: 32px;
  text-align: center;
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 32px;
}

.checkbox-title {
  background: var(--accent-color);
  color: #fff;
}

.checkbox-title-secondary {
  background: #d4dce7;
  color: #000;
}

.checkbox-item,
.checkbox-item-secondary {
  position: relative;
  padding: .5em 0 .5em 1.5em;
  font-size: clamp(13px, 1.45vw, 16px);
}

.checkbox-item .note {
  display: inline-block;
  padding-left: 1.5em;
  font-size: 12px;
}

.checkbox-item::before,
.checkbox-item-secondary::before {
  content: '';
  display: inline-block;
  position: absolute;
  top: calc(.5em + (1lh - 1em) / 2);
  left: 0;
  width: 1.5ch;
  width: 1.2cap;
  height: 1.5ch;
  height: 1.2cap;
  margin-right: .7em;
}

.checkbox-item::before {
  background: url(../images/clipped-checkbox-icon.svg) no-repeat center / contain;
}

.checkbox-item-secondary::before {
  background: url(../images/clipped-checkbox-icon-b.svg) no-repeat center/contain;
}

/* ===== Price list */

.price-list {
  width: 100%;
  margin: 0 auto;
  border: 1px solid var(--sub-color);
  border-collapse: collapse;
}

.price-list th,
.price-list td {
  width: 50%;
  padding: .5em;
  text-align: center;
  font-size: clamp(12px, 1.36vw, 15px);
  white-space: wrap;
  vertical-align: middle;
}

.price-list tr:not(:first-child) th {
  border-top: 1px solid #fff;
}

.price-list tr:not(:first-child) td {
  border-top: 1px solid var(--sub-color);
}

.price-list th {
  background: var(--sub-color);
  color: #fff;
}

.price-list td {
  background: #fff;
}

.price-list th small,
.price-list td small {
  font-size: 75%;
}

/* ===== Price list (x-scroll) */

.table-scroll {
  overflow-x: scroll;
}

.table-scroll th + th {
  border-left: 1px solid #fff;
}

.table-scroll td + td {
  border-left: 1px solid var(--sub-color);
}

.table-scroll th,
.table-scroll td {
  width: auto;
  white-space: nowrap;
}

.join-row {
  border-right: 1px solid #fff;
}

/* ===== Fem tech */

.femtech-visual {
  text-align: center;
}

.femtech-visual-img {
  width: 100%;
  height: auto;
}

.topics {
  color: var(--accent-color);
  font-size: 1rem;
}

/* ===== Access */

.clinic-address {
  margin-bottom: 24px;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(16px, 4.07vw, 24px);
  font-weight: bold;
}

.exterior {
  display: block;
  position: relative;
}

.exterior-img {
  display: block;
  width: 345px;
  height: 475px;
}

.exterior-clinic-address {
  position: absolute;
  inset: 32px 0 auto auto;
  display: block;
  content: '';
  padding: 16px 12px;
  background: var(--accent-color);
  color: #fff;
  font-family: var(--serif);
  font-size: 1rem;
  text-align: right;
}

.exterior-clinic-address b {
  font-size: 20px;
}

.map-wrapper {
  position: relative;
  max-width: 675px;
  width: 100%;
  height: 0;
  padding-top: 100%;
}

.map-wrapper iframe {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 100%;
}

/* ===== Footer */

footer {
  width: 100%;
  background: url(../images/bg-secondary.jpg) 50% 0 / 100% auto repeat-y, #fff;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  padding: 32px;
}

/* ===== Partner */

.partner {
  width: 100%;
}

.partner-name {
  margin-bottom: 1em;
  font-family: var(--serif);
  font-size: clamp(20px, 2.9vw, 32px);
  font-weight: bold;
  color: #fff;
}

.partner-address {
  color: #fff;
}

.hp-links {
  display: flex;
  gap: 16px;
  margin-top: 1.5em;
}

.hp-link {
  position: relative;
  padding-right: 1em;
  color: #fff;
}

.hp-link::after {
  content: '';
  position: absolute;
  inset: 0 0 0 auto;
  width: 0;
  height: 0;
  margin: auto;
  border-width: 6px 0 6px 10px;
  border-style: solid;
  border-color: transparent transparent transparent #fff;
}

/* ===== Footer - Contact link */
.contact {
  max-width: 358px;
  width: 100%;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.contact-item {
  height: 54px;
  border: 1px solid #fff;
  text-align: center;
  text-wrap: nowrap;
  font-family: var(--serif);
  line-height: 54px;
  list-style-type: none;
}

.contact-link {
  display: block;
  color: #fff;
  text-decoration: none;
  transition: all .3s ease;
}

.contact-link i {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: .5em;
  transform: translateY(.3em);
}

.icon-tel {
  background: url(../images/icon-tel.svg) no-repeat center/contain;
}

.icon-mail {
  background: url(../images/icon-mail.svg) no-repeat center/contain;
}

.icon-wechat {
  background: url(../images/icon-wechat.svg) no-repeat center/contain;
}

/* ===== Contact */

.foot-qr {
  margin-top: 16px;
  text-align: right;
}

address {
  margin-top: 24px;
  text-align: center;
  font-size: 12px;
  color: #fff;
}

/* ===== For Smartphone Navigation */

/* Open & Close */
.sp-navigation {
  position: fixed;
  display: flex;
  justify-content: end;
  inset: 0 0 auto auto;
  z-index: 5;
}

.wechat-btn {
  display: inline-block;
}

.sp-menu-wrapper {
  width: 64px;
  height: 64px;
}

.sp-menu-btn {
  display: block;
  position: fixed;
  inset: auto;
  width: 64px;
  height: 64px;
  cursor: pointer;
  background: url(../images/menu-btn-sp.svg) no-repeat center/contain;
  z-index: 11;
}

.open {
  overflow: hidden;
}

.open .sp-menu {
  visibility: visible;
  opacity: 1;
}

.open .sp-menu-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 64px;
  height: 64px;
  background: url(../images/btn-close-b.svg) no-repeat left center/40px 40px;
}

.sp-menu {
  position: fixed;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  gap: 16px;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0 32px;
  background: rgba(0, 0, 0, 9);
  visibility: hidden;
  overflow-y: scroll;
  opacity: 0;
  z-index: 10;
  transition: all .5s;
}

.sp-menu .logo,
.sp-menu-inner {
  transform: translateY(50px);
}

.sp-menu .logo {
  text-align: center;
}

/* SP Menu content */

.nav-links {
  display: flex;
  margin-bottom: 54px;
  flex-direction: column;
  list-style-type: none;
}

.nav-item {
  width: 100%;
  padding-bottom: 16px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: bold;
  text-wrap: nowrap;
  letter-spacing: .1em;
  line-height: 1.25;
  border-bottom: 1px solid #fff;
}

.right-arrow {
  position: relative;
  display: inline-block;
  margin: 0 1em 0 .5em;
  width: 16px;
  height: 16px;
  color: #333;
  vertical-align: super;
  line-height: 1;
  transform: translateX(-25%) rotate(45deg);
}

.right-arrow::before,
.right-arrow::after {
  content: '';
  position: absolute;
  background: #fff;
}

.right-arrow::before {
  inset: 0 0 auto 0;
  height: 1px;
}

.right-arrow::after {
  inset: 0 0 0 auto;
  width: 1px;
}

.nav-item:not(:last-of-type) {
  margin-bottom: 16px;
}

.nav-link {
  display: inline-block;
  color: #fff;
  text-decoration: none;
}

.nav-link .subtitle {
  font-size: 1rem;
  font-weight: normal;
}

/* ===== SP Menu - Contact link-black */

.sp-menu-inner .contact-links {
  padding-bottom: 32px;
}

.sp-menu-inner .contact-item {
  border-color: #fff;
}

.sp-menu-inner .contact-link {
  color: #fff;
}

.close-text {
  margin-bottom: 32px;
  text-align: center;
  font-size: 1rem;
  letter-spacing: .1em;
  color: #fff;
  cursor: pointer;
}

.icon-close {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 1em;
  transform: translateY(.3em);
  background: url(../images/btn-close-b.svg) no-repeat center/contain;
}

/* ===== Page to top */

.side-fixed {
  display: block;
  position: fixed;
  inset: auto 0 0 auto;
  content: '';
  z-index: 4;
}

.page-to-top {
  display: block;
  width: 64px;
  height: 64px;
}

/* ================================================== PC */

@media screen and (min-width: 800px) {

  /* ===== Responsive  */

  html {
    scroll-padding-top: 100px;
  }

  article {
    padding: 60px 24px;
  }

  .pc-view {
    display: block;
  }

  .sp-view {
    display: none;
  }

  .hero {
    height: 80vh;
  }

  .pc-navigation {
    position: sticky;
    display: flex;
    top: 0;
    z-index: 2;
  }

  .qr-navigation,
  .qr-nav-header,
  .qr-btn {
    display: block;
  }

  .qr-item {
    display: flex;
  }

  .sp-navigation,
  .sp-menu,
  .br-sp {
    display: none;
  }

  .sec-layout {
    justify-content: center;
  }

  /* ===== PC - About */

  .about-item {
    height: 520px;
    padding: 32px;
    font-size: 1rem;
  }

  /* ===== PC - Category */
  /* === PC - Equipment */

  .category-item:hover .btn-arrow,
  .equipment-item:hover .btn-arrow {
    transform: translateX(10px);
  }

  .btn-more:hover {
    background: var(--accent-color);
  }

  /* ===== PC - Page links */

  .anchor-item a:hover {
    background: var(--light-color);
  }

  /* ===== PC - checkbox */
  .checkbox-list {
    padding-left: 1em;
  }

  /* ===== PC - Price list (x-scroll) */

  .table-scroll {
    overflow-x: auto;
  }

  .table-scroll .price-list {
    max-width: none;
  }

  .table-scroll th {
    width: calc(100% / 4);
  }

  /* ===== PC - map */

  .map-wrapper {
    padding-top: 45.16%;
  }

  /* ===== PC - Footer */

  .hp-link:hover {
    text-decoration: underline;
  }

  .partner {
    max-width: calc(100% - (358px + 24px));
  }

  .contact-link:hover {
    background: #fff;
    color: #000;
  }

  .contact-link:hover .icon-tel,
  .contact-link:hover .icon-mail,
  .contact-link:hover .icon-wechat {
    filter: brightness(0) saturate(100%);
  }

  address {
    text-align: right;
  }

  /* ===== Page to top */

  .side-fixed {
    inset: 50% 0 auto auto;
    transform: translateY(-50%);
  }

}/* ===== PC(min-width: 800px) */

@media screen and (min-width: 1024px) {

  /* ===== PC - Profile */

  .profile {
    overflow-x: hidden;
  }

  .profile .sec-title {
    margin-bottom: 60px;
    text-align: left;
  }

  .profile .sec-layout {
    padding: 60px 0;
    align-items: center;
  }

  .profile-text {
    position: relative;
    max-width: calc((100% - 544px) + 7vw);
    min-width: 380px;
  }

  .profile-text::before {
    position: absolute;
    display: block;
    inset: -60px 0 -60px -15vw;
    content: '';
    width: 100vw;
    background: #fff;
    box-shadow: 0 0 6px rgba(0, 0, 0, .15);
    z-index: -1;
  }

  /* ===== PC - Category */

  .category .sec-layout {
    justify-content: space-between;
  }

  /* ===== PC - Equipment */

  .equipment .sec-title {
    text-align: left;
  }

}/* ===== PC(min-width: 1024px) */
