/*
Theme Name: Luce DC
*/

@charset "UTF-8";

:root {
  --color-primary: #3b2c1b;
  --color-secondary: #b7946c;
  --font-base: "Zen Old Mincho", "Zen Kaku Gothic Antique", "EB Garamond", "Noto Sans JP", serif;
}

* {
  margin: 0;
  padding: 0;
}

[id] {
  scroll-margin-top: 100px;
}

a:hover {
  opacity: 0.7;
}

body,
html {
  margin: 0;
  padding: 0;
  font-family: var(--font-base);
  color: #2d2d2d;
  background-color: #fff;
  overflow-x: hidden;
}

.top {
  margin: 0 auto;
  background-color: #fff;
  position: relative;
}

main {
  width: 100%;
  position: relative;
  z-index: 10;
  background-color: white;
}

section {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding: 100px 0;
}

/* Header */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 15;
}

.header-top {
  height: 732px;
}

.header-normal {
  height: 556px;
}

.header-logo {
  position: absolute;
  top: -35px;
  left: 0;
  width: 433px;
  height: 195px;
  z-index: 20;
}

.header-logo img {
  width: 100%;
  height: auto;
}

.sp-nav,
.hamburger-menu {
  display: none;
}

.header-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 40px;
  z-index: 20;
}

.header-nav a,
.menu-item-has-children a {
  font-family: "Zen Old Mincho", sans-serif;
  font-size: 18px;
  color: white;
  text-decoration: none;
  letter-spacing: 1.6px;
  position: relative;
  padding-bottom: 30px;
  text-shadow: 0px 2px 7px #3b2c1b;
  width: 120px;
  text-align: center;
}

.header-nav>*,
.header-nav a,
.menu-item-has-children {
  width: 120px;
  /* 他と統一 */
  text-align: center;
}

.header-nav>*+*::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 65px;
  background-color: #fff;
}

/* .header-nav a+a::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 65px;
  background-color: #fff;
} */

.header-nav a span {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-family: "EB Garamond", sans-serif;
  font-size: 14px;
  letter-spacing: 1.2px;
}

.header-nav.sticky {
  height: 60px;
  position: fixed;
  justify-content: center;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  background-color: rgba(59, 44, 27, 0.9);
  /* Example background color */
  padding: 10px 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.header-contact {
  position: absolute;
  top: 25px;
  right: 25px;
  display: flex;
  gap: 5px;
  z-index: 20;
}

.header-contact a {
  text-decoration: none;
  color: inherit;
}

.contact-box {
  border: 1px solid black;
  box-sizing: border-box;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 80px;
  position: relative;
}

.contact-box::after {
  content: "";
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  /* 折れの幅 */
  border-top: 18px solid #3b2c1b;
  transform: rotate(90deg);
}

.contact-box.tel {
  background-color: white;
  width: 303px;
}

.contact-box.tel::after,
.contact-box.mail::after {
  border-top: 18px solid #3b2c1b;
}

.tel-num {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tel-icon {
  width: 24px;
  height: auto;
}

.contact-box.web {
  background-color: var(--color-primary);
  width: 218px;
  color: white;
}

.contact-box.web::after {
  border-top: 18px solid #fff;
}

.contact-box.line,
.contact-box.mail {
  background-color: #f4eee0;
  width: 218px;
}

.contact-box.line::after {
  border-top: 18px solid #06c755;
}

.contact-box .title {
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: 1.6px;
  margin: 0;
}

.contact-box .sub-title {
  font-size: 24px;
  line-height: 1.6;
  letter-spacing: 1.92px;
  margin: 0;
}

.contact-box .phone {
  font-family: "EB Garamond", sans-serif;
  font-size: 32px;
  line-height: 1.0;
  letter-spacing: 2.56px;
  margin: 0;
}

/* Main Visual */
.main-visual {
  height: 732px;
  z-index: 5;
}

.main-visual-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.main-visual-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 1;
}

.main-visual-slide.active {
  opacity: 1;
  z-index: 2;
}

.main-visual-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('img/image_3_2.webp');
  background-size: cover;
  background-position: top -120px center;
  background-repeat: no-repeat;
}

.main-visual-text {
  position: absolute;
  top: 242px;
  left: 50%;
  transform: translateX(-50%);
  text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.25);
  color: white;
  text-align: center;
  letter-spacing: 5.12px;
  line-height: 1.6;
  z-index: 10;
}

.main-visual-text .large {
  font-size: 64px;
}

.main-visual-text .small {
  font-size: 56px;
}

.main-visual-text h2 {
  color: #fff;
  text-align: center;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
  font-family: "Zen Old Mincho";
  font-size: 48px;
  font-style: normal;
  font-weight: 500;
  line-height: 160%;
  letter-spacing: 3.84px;
}

/* News */
.news {
  display: flex;
  justify-content: center;
  gap: 100px;
  padding: 100px 20px 0;
  max-width: 1255px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
}

.news h2 {
  color: #000;
  font-family: "EB Garamond";
  font-size: 36px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 5.76px;
  text-align: center;
  margin-bottom: 20px;
}

.news .date {
  font-family: "EB Garamond", sans-serif;
  font-size: 20px;
  letter-spacing: 3.2px;
}

.news .title {
  font-size: 20px;
  letter-spacing: 1.6px;
}

.news-line {
  height: 1px;
  background-image: url('img/line_7.svg');
}

.news-item {
  padding: 10px 20px;
}

.info-table {
  border: 1px solid black;
  background: white;
  padding: 10px;
  box-sizing: border-box;
  width: 100%;
}

.news-list,
.medical-hours {
  flex: 1;
}

.clinic-hours {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  text-align: center;
}

.clinic-hours thead tr {
  border-bottom: 1px solid black;
}

.clinic-hours th,
.clinic-hours td {
  padding: 4px 0;
  height: 34px;
}

.clinic-hours th {
  font-weight: normal;
}

.clinic-hours th:first-child {
  width: 120px;
}


.table-note,
.closed-days {
  font-size: 16px;
  margin: 5px 0 0;
  text-align: left;
}

/* Features */
.features {
  display: flex;
  gap: 15px;
  justify-content: center;
  padding: 100px 0;
}

.feature-item {
  width: 234px;
  height: 234px;
  background-image: url('img/ellipse_1.svg');
  background-size: contain;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 20px;
  line-height: 1.6;
}

/* Concept */
.concept {
  position: relative;
  padding: 150px 0;
  background-image: url('img/equipment8_3.webp');
  background-repeat: no-repeat;
  background-position: center top;
  margin-top: 170px;
}

.concept-inner {
  max-width: 1412px;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
  margin: 0 auto;
  position: relative;
}

.concept-title-area {}

.concept-title {
  background: linear-gradient(110deg, #000 69.24%, #b7946c 38.34%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "EB Garamond";
  font-size: 96px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 7.68px;
}

.concept-subtitle {
  background: linear-gradient(149deg, #000 31.31%, #b7946c 25.6%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: "EB Garamond";
  font-size: 96px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 7.68px;
}

.concept-body {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
  margin-top: -295px;
  position: relative;
  z-index: 5;
}

.concept-text-content {
  width: 731px;
  background: white;
  padding: 20px 35px;
  box-sizing: border-box;
  font-size: 20px;
  line-height: 2;
  letter-spacing: 1.6px;
}

.concept-text-content p {
  margin-bottom: 30px;
}

.concept-vertical-text {
  display: flex;
  gap: 15px;
  align-items: start;
  z-index: 6;
}

.concept-vertical-text .vertical-text-1,
.concept-vertical-text .vertical-text-3 {
  background: #3b2c1b;
}

.concept-vertical-text .vertical-text-2 {
  background: #64513b;
}

.concept-vertical-text p {
  writing-mode: vertical-rl;
  color: white;
  padding: 20px 17px;
  font-size: 36px;
  line-height: 116%;
  letter-spacing: 2.88px;
}

.concept-doctor-image {
  position: absolute;
  top: 224px;
  right: 0;
  width: 478px;
  height: 554px;
  z-index: 1;
}

.concept-doctor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: url('img/staff2_1.svg');
  mask-image: url('img/staff2_1.svg');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.doctor-name-plate {
  width: 284px;
  position: absolute;
  bottom: -20px;
  left: -50px;
  background: linear-gradient(124deg, #4f4232 53.64%, #3b2c1b 53.83%);
  color: white;
  padding: 20px 0;
  text-align: center;
  outline: 1px solid #fff;
  outline-offset: -5px;
}

.doctor-name {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px
}

.doctor-name-plate .title {
  color: #504232;
  text-align: center;
  font-family: "Zen Old Mincho";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 116%;
  letter-spacing: 1.6px;
  background: #fff;
  display: inline-flex;
  height: 33px;
  padding: 0 5px;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.doctor-name-plate .name {
  color: #fff;
  text-align: center;
  font-family: "Zen Old Mincho";
  font-size: 36px;
  font-style: normal;
  font-weight: 500;
  line-height: 116%;
  letter-spacing: 2.88px;
  margin-bottom: 5px;
}

.doctor-name-plate .roman {
  color: #fff;
  font-family: "EB Garamond";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 1.6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  border: 1px solid black;
  box-sizing: border-box;
  height: 82px;
  width: 424px;
  padding-left: 70px;
  text-decoration: none;
  color: black;
  font-size: 24px;
}

.btn::after {
  content: '';
  width: 36px;
  height: 3px;
  background-image: url('img/vector_3.svg');
}

.section-title-bg {
  font-family: "EB Garamond";
  font-size: 96px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 7.68px;
  text-align: center;
  background: linear-gradient(161deg, #000 41.31%, #b7946c 25.6%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-heading {
  color: #000;
  text-align: center;
  font-family: "Zen Old Mincho";
  font-size: 36px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  /* 57.6px */
  letter-spacing: 2.88px;
}

.section-heading span {
  font-size: 48px;
  color: var(--color-secondary);
}

.reason01 {
  padding: 100px 0;
  background-image: url('img/bg_reason.webp');
  position: relative;
}

.reason02 {
  padding: 100px 0;
  background: #f1efeb;
  position: relative;
}

.reason-bg-top-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 370px;
  height: 370px;
  background-image: url('img/polygon_4.svg');
}

.reason-bg-top-right {
  position: absolute;
  top: 0;
  right: 0;
  width: 370px;
  height: 370px;
  background-image: url('img/polygon_6.svg');
  transform: rotate(90deg);
}

.reason-item {
  display: flex;
  gap: 60px;
  justify-content: center;
  margin: 100px 0;
}

.reason-bottom {
  display: flex;
  gap: 60px;
  justify-content: center;
  align-items: flex-start;
}

.reason-bottom-image-container {
  position: relative;
  width: 100%;
  height: 352px;
}

.ac {
  margin-top: 60px;
}

.reason-item-1 {
  justify-content: left;
}

.reason-item-2 {
  justify-content: right;
}

.reason-item-4,
.reason-item-5 {
  flex-direction: column;
}

.reason-image-container {
  width: 734px;
  height: 500px;
  position: relative;
}

.reason-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.reason-image-desk {
  color: #000;
  text-align: center;
  font-family: "Zen Old Mincho";
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: 1.92px;
  background: #fff;
  width: 635px;
  padding: 20px;
  outline: 1px solid #000;
  outline-offset: -7px;
}

.desk01 {
  position: absolute;
  bottom: -20px;
  right: -80px;
}

.desk02 {
  position: absolute;
  bottom: -20px;
  left: -80px;
}

.reason-text-content {
  width: 661px;
  padding: 0 20px;
}

.reason-subtitle {
  font-family: "EB Garamond", sans-serif;
  font-size: 24px;
  letter-spacing: 1.92px;
  text-transform: uppercase;
  margin: 0;
}

.reason-title {
  font-size: 36px;
  letter-spacing: 2.88px;
  margin: 0.5em 0;
  font-weight: 400;
}

.ct {
  text-align: center;
}

.reason-description {
  color: #2d2d2d;
  font-family: "Zen Kaku Gothic Antique";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 200%;
  letter-spacing: 1.6px;
  margin-bottom: 1em;
}

.hygiene {
  padding: 100px 0;
}

.btn-container {
  position: relative;
  text-align: center;
  margin-bottom: 100px;
}

.hygiene-management {
  position: relative;
  max-width: 1280px;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
  height: 453px;
  background-image: url('img/bg_hygiene.webp');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  margin: 0 auto;
}

.hygiene-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 973px;
  text-shadow: 0 0 15px white;
}

.hygiene-subtitle {
  font-family: "EB Garamond", sans-serif;
  font-size: 24px;
  letter-spacing: 1.92px;
  text-transform: uppercase;
  margin: 0;
}

.hygiene-title {
  font-size: 36px;
  letter-spacing: 2.88px;
  margin: 0.5em 0;
  font-weight: 400;
}

.hygiene-description {
  font-size: 20px;
  line-height: 2;
  letter-spacing: 1.6px;
}

.medical-info {
  padding: 100px 0;
  background-color: #f1efeb;
}

.medical-cards {
  display: flex;
  width: 100%;
  margin: 70px auto 100px;
}

.medical-card {
  flex: 0 0 calc(100% / 3);
  height: 400px;
  position: relative;
  color: white;
  text-align: center;
}

.medical-card a {
  text-decoration: none;
  color: inherit;
}

.card-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  -webkit-mask-image: url('img/pixta_74083781_m_1.svg');
  mask-image: url('img/pixta_74083781_m_1.svg');
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.card-subtitle {
  font-family: "EB Garamond", sans-serif;
  font-size: 32px;
  letter-spacing: 2.56px;
  margin: 0;
}

.card-title-small {
  font-size: 28px;
  letter-spacing: 2.56px;
  margin: 0.5em 0;
}

.card-title-large {
  font-size: 44px;
  letter-spacing: 3.84px;
  margin: 0;
}

.card-description {
  font-size: 20px;
  line-height: 2;
  letter-spacing: 1.6px;
  width: 470px;
  margin-top: 1em;
}

.medical-grid {
  max-width: 1280px;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-auto-rows: 240px;
  gap: 10px;
  justify-content: center;
}


.medical-grid-item {
  border: 1px solid black;
  background: white;
  text-align: center;
  padding: 15px;
  box-sizing: border-box;
  position: relative;
  text-decoration: none;
}

.grid-item-icon {
  width: 88px;
  height: 88px;
  margin: 20px auto;
  background-size: cover;
  -webkit-mask-image: url('img/pixta_61967880_m_1.svg');
  mask-image: url('img/pixta_61967880_m_1.svg');
}

.grid-item-subtitle {
  font-family: "EB Garamond", sans-serif;
  font-size: 16px;
  color: var(--color-secondary);
  text-transform: uppercase;
  margin: 0;
}

.grid-item-title {
  font-size: 20px;
  margin: 0.5em 0;
  color: #333;
}

.grid-item-arrow {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 20px;
  height: 20px;
  background-image: url('img/polygon_5.svg');
}

/* Recruit Page */
#recruit .page-hero {
  position: relative;
  height: 556px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#recruit .page-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -1;
}

#recruit .page-hero-text h1 {
  font-size: 48px;
  font-weight: 500;
  letter-spacing: 3.84px;
  line-height: 1.6;
  text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.25);
}

#recruit .page-hero-text p {
  font-family: "EB Garamond", serif;
  font-size: 40px;
  letter-spacing: 3.2px;
}

#recruit .recruit-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 20px;
}

.recruit-table {
  margin: 20px 0 50px;
}

#recruit .guidelines-title {
  background-color: #f1efeb;
  text-align: center;
  padding: 40px;
  margin-bottom: 40px;
}

#recruit .guidelines-title h2 {
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 3.2px;
}


/* Access Page */
#access .page-hero {
  position: relative;
  height: 556px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#access .page-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

#access .page-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#access .page-hero-text h2 {
  font-size: 48px;
  font-weight: 500;
  letter-spacing: 3.84px;
  line-height: 1.6;
  text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.25);
}

#access .page-hero-text p {
  font-family: "EB Garamond", serif;
  font-size: 40px;
  letter-spacing: 3.2px;
}

#access .breadcrumb {
  background-color: #f1efeb;
  padding: 20px 0;
}

.access-info .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  font-size: 16px;
}

.access-info {
  padding: 80px 0;
}

#access .access-info .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.access-info-flex {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.access-info-text {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.address {
  font-size: 20px;
  line-height: 1.6;
}

.access-info-hours {
  width: 100%;
}

.contact-title {
  font-size: 20px;
  text-align: center;
  margin-bottom: 10px;
}

#access .contact-tel {
  font-family: "EB Garamond", serif;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

#access .clinic-hours table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  margin-bottom: 10px;
}

#access .clinic-hours .note {
  font-size: 14px;
}

.access-info-image {
  width: 50%;
}

.access-info-image img {
  width: 100%;
  height: auto;
}

.access-map {
  position: relative;
  text-align: center;
}

.transportation {
  background-color: #f1efeb;
  padding: 80px 0;
  margin-top: 80px;
}

.transportation .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.transport-box {
  background-color: white;
  margin-bottom: 40px;
  padding: 40px;
}

.transport-box h3 {
  color: #000;
  font-family: "Zen Old Mincho";
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: 200%;
  letter-spacing: 2.56px;
}

.transport-title-car,
.transport-title-public {
  font-size: 32px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ccc;
  display: flex;
  align-items: center;
  gap: 20px;
}

.transport-title-car::before {
  content: '';
  display: block;
  width: 43px;
  height: 43px;
  background-color: #3b2c1b;
  border-radius: 50%;
  background-image: url('img/car-icon.svg');
  /* Add car icon */
  background-repeat: no-repeat;
  background-position: center;
}

.transport-title-public::before {
  content: '';
  display: block;
  width: 43px;
  height: 43px;
  background-color: #3b2c1b;
  border-radius: 50%;
  background-image: url('img/bus-icon.svg');
  /* Add bus icon */
  background-repeat: no-repeat;
  background-position: center;
}

.transport-content p {
  color: #2d2d2d;
  font-family: "Zen Kaku Gothic Antique";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 200%;
  letter-spacing: 1.6px;
}

#recruit .recruit-row {
  margin: 10px 0;
  border: 1px solid #3b2c1b;
}

#recruit .recruit-header,
#recruit .recruit-data {
  display: table-cell;
  padding: 20px;
  font-size: 20px;
  letter-spacing: 1.92px;
  line-height: 1.4;
}

#recruit .recruit-header {
  background-color: var(--color-primary);
  color: white;
  font-weight: 400;
  width: 389px;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid #fff;
}

#recruit .recruit-data {
  background-color: #fff;
}

#recruit .recruit-data p {
  margin: 0;
}

.flow {
  padding: 100px 0;
  position: relative;
}

.flow-bg {
  position: absolute;
  top: 350px;
  left: 0;
  width: 1920px;
  height: 656px;
  background-image: url('img/pixta_69731605_m_2.webp');
  -webkit-mask-image: url('img/pixta_69731605_m_1.svg');
  mask-image: url('img/pixta_69731605_m_1.svg');
  -webkit-mask-size: cover;
  mask-size: cover;
  z-index: -1;
}

.flow-buttons {
  margin: 50px auto 70px;
  display: flex;
  gap: 14px;
  justify-content: center;
  max-width: 980px;
  flex-wrap: wrap;
}

.flow-btn {
  width: calc((100% - 20px * (3 - 1)) / 3);
  height: 77px;
  background-color: var(--color-primary);
  color: white;
  border: 1px solid black;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-size: 18px;
  text-align: center;
}

.flow-btn.active,
.flow-btn:hover {
  background-color: var(--color-secondary);
}

.flow-content-container {
  width: 100%;
  margin: 0 auto;
  position: relative;
  background-color: #f1efeb;
  box-sizing: border-box;
}

.flow-slider {
  position: relative;
  width: 100%;
  max-height: 450px;
}

.flow-content {
  display: none;
  width: 100%;
  gap: 50px;
  max-height: 450px;
}

.flow-content.active {
  display: flex;
}

.flow-image {
  max-width: 40%;
  height: auto;
  object-fit: cover;
}

.flow-text {
  max-width: 50%;
}

.flow-title {
  font-size: 32px;
  letter-spacing: 2.56px;
  margin: 20px 0;
}

.flow-description {
  color: #2d2d2d;
  font-family: "Zen Kaku Gothic Antique";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 200%;
  letter-spacing: 1.6px;
}

.flow-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  right: 10px;
  background: #ffffffb5;
  border-radius: 60px;
}

.flow-nav .prev,
.flow-nav .next {
  width: 67px;
  height: 67px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 47px;
  border-radius: 50%;
}

.flow-nav .prev {
  transform: rotate(180deg);
}

.case {
  padding: 0 0 100px;
  position: relative;
}

.case-bg {
  position: absolute;
  top: 228px;
  left: 0;
  width: 1920px;
  height: 935px;
  background-image: url('img/pixta_1431252_m_2.webp');
  -webkit-mask-image: url('img/pixta_1431252_m_1.svg');
  mask-image: url('img/pixta_1431252_m_1.svg');
  -webkit-mask-size: cover;
  mask-size: cover;
  z-index: -1;
}

.case-content-box {
  position: relative;
  max-width: 1052px;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
  background: white;
  margin: 100px auto 0;
}

.case-slider {
  padding: 100px;
}

.case-title {
  font-family: "EB Garamond", sans-serif;
  font-size: 64px;
  letter-spacing: 9.6px;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 400;
}

.case-images {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.case-image-container {
  width: 458px;
  height: 261px;
  background: #d9d9d9;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.case-image-container::before {
  content: 'Before';
  position: absolute;
  top: 10px;
  left: 10px;
  background: black;
  color: white;
  padding: 5px 10px;
  font-family: "EB Garamond", sans-serif;
  font-size: 16px;
  border-radius: 4px;
}

.case-image-container.after::before {
  content: 'After';
}

.case-image-placeholder {
  color: #888;
  font-size: 32px;
}

.case-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.detail-row {
  display: flex;
}

.detail-label {
  background: var(--color-primary);
  color: white;
  width: 140px;
  padding: 10px;
  text-align: center;
  border: 1px solid white;
}

.detail-value {
  background: white;
  border: 1px solid black;
  padding: 10px;
  width: 100%;
}

.case-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  box-sizing: border-box;
}

.case-nav .prev,
.case-nav .next {
  width: 67px;
  height: 67px;
  cursor: pointer;
  background-image: url('img/grommet-icons_next_brown.svg');
}

.case-nav .prev {
  transform: rotate(180deg);
}

.recruit {
  position: relative;
  background-image: url('img/bg_reason.webp');
  background-position: center;
}

.recruit-content {
  padding: 50px 0;
  position: relative;
  text-align: center;
}

.recruit-content img {
  outline: 8px solid rgb(143, 131, 131);
  outline-offset: -8px;
}

.clinic-info {
  padding: 100px 0 0;
  background-color: #f1efeb;
}

.clinic-info-inner {
  max-width: 1280px;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
  margin: 0 auto;
}

.clinic-info-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}

.clinic-info .info-left {
  flex: 1;
  text-align: center;
}

.clinic-info .info-left .logo img {
  width: 450px;
}

.clinic-info .info-left .address {
  font-size: 20px;
  margin-top: 20px;
}

.clinic-info .info-right {
  flex: 1;
}

.clinic-info-contact {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.clinic-info-contact a {
  text-decoration: none;
  color: inherit;
}

.contact-box-footer {
  border: 1px solid black;
  box-sizing: border-box;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 98px;
  position: relative;
  font-family: "Zen Old Mincho", serif;
}

.contact-box-footer::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 0;
  height: 0;
  border-style: solid;
}

.contact-box-footer.tel {
  background-color: white;
  width: 303px;
}

.contact-box-footer.tel::after {
  border-width: 10px 10px 0 0;
  border-color: #3b2c1b transparent transparent transparent;
}

.contact-box-footer.web {
  background-color: #3b2c1b;
  width: 218px;
  color: white;
}

.contact-box-footer.web::after {
  border-width: 10px 10px 0 0;
  border-color: white transparent transparent transparent;
}

.contact-box-footer.line {
  background-color: #f4eee0;
  width: 218px;
}

.contact-box-footer.line::after {
  border-width: 0 0 10px 10px;
  border-color: transparent transparent #26b522 transparent;
  bottom: -10px;
  left: -10px;
}

.contact-box-footer.mail {
  background-color: #f4eee0;
  width: 218px;
}

.contact-box-footer.mail::after {
  border-width: 10px 10px 0 0;
  border-color: #3b2c1b transparent transparent transparent;
}

.contact-box-footer .title {
  font-size: 20px;
}

.contact-box-footer .sub-title {
  font-size: 24px;
  font-weight: 500;
}

.contact-box-footer .phone {
  font-family: "EB Garamond", serif;
  font-size: 32px;
}

.map-container {
  width: 100%;
  height: 400px;
  /* or desired height */
  margin-top: 90px;
  background-color: #e0e0e0;
  /* Placeholder for map */
}

.footer {
  position: relative;
  padding: 80px 0 20px;
  background: white;
}

.footer-inner {
  display: flex;
  justify-content: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-sitemap,
.footer-medical {
  flex: 1;
}

.sitemap-title,
.medical-title {
  font-family: "EB Garamond", sans-serif;
  font-size: 36px;
  color: var(--color-primary);
  letter-spacing: 3.6px;
  font-weight: 400;
  margin-bottom: 20px;
}

.sitemap-list,
.medical-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sitemap-list li {
  margin-bottom: 15px;
}

.sitemap-list a,
.medical-list a {
  font-size: 16px;
  letter-spacing: 1.6px;
  color: black;
  text-decoration: none;
  position: relative;
  padding-left: 15px;
}

.sitemap-list a::before,
.medical-list a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background-color: #3b2c1b;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.medical-list {
  column-count: 2;
  column-gap: 20px;
}

.medical-list li {
  margin-bottom: 10px;
  break-inside: avoid;
}

.to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: var(--color-secondary);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  z-index: 10;
}

.to-top::after {
  content: '';
  width: 15px;
  height: 15px;
  border-top: 3px solid white;
  border-right: 3px solid white;
  transform: translateY(2px) rotate(-45deg);
}

.copyright {
  text-align: center;
  margin-top: 80px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 16px;
  letter-spacing: 1.6px;
}

/* 下層ページ共通
-------------------------------------------------- */
.flex-reverse {
  flex-direction: row-reverse;
}

.page-mvisual {
  height: 556px;
  z-index: 5;
}

.page-mvisual-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(img/page-hero.webp);
  background-size: cover;
  background-position: top -120px center;
}

.section-intro {
  background-color: #f1efeb;
  padding: 25px;
  text-align: center;
  margin-top: 100px;
}

.section-intro-title h3 {
  font-size: 40px;
  font-weight: normal;
  color: #3b2c1b;
  margin: 0;
}

.payment-methods {
  position: relative;
  width: 100%;
  height: 300px;
  background-image: url(img/bg-payment-methods.webp);
  background-size: cover;
  padding: 70px 0 0;
}

.payment-methods-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.payment-options {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.payment-option {
  background-color: #fff;
  padding: 40px 20px;
  width: 280px;
  text-align: center;
}

.payment-icon-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #f5f2ef;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-option h4 {
  font-size: 20px;
  color: #333;
  font-weight: 400;
}

.implant-faq {
  padding: 40px 0;
}

.faq-list {
  max-width: 1280px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 30px;
}

.faq-question {
  position: relative;
  padding: 20px 40px 20px 20px;
  cursor: pointer;
  font-weight: bold;
  background: #b7946c;
}

.faq-question p {
  color: #fff;
  text-align: center;
  font-family: "Zen Old Mincho";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: 1.92px;
}

.faq-question::before,
.faq-question::after {
  content: '';
  position: absolute;
  right: 20px;
  top: 50%;
  width: 16px;
  height: 2px;
  background-color: #ffffff;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

.faq-question::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-question.active::after {
  transform: translateY(-50%) rotate(0deg);
}

.faq-answer {
  display: none;
  padding: 20px 0;
}

.faq-answer p {
  color: #2d2d2d;
  font-family: "Zen Kaku Gothic Antique";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 200%;
  letter-spacing: 1.6px;
}

/* 料金ページ
-------------------------------------------------- */
.page-price {
  background-color: #fff;
}

.price-intro-notice {
  font-size: 20px;
  color: #2d2d2d;
  margin-top: 20px;
  text-align: center;
}

.price-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 40px;
}

.price-section {
  margin-top: 80px;
}

.price-section-title {
  position: relative;
  color: #000;
  text-align: center;
  font-family: "Zen Old Mincho";
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: 2.56px;
  background: #eee;
  padding: 10px 0;
  margin-bottom: 20px;
}

/* 左上装飾 */
.price-section-title::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 20px;
  height: 20px;
  border-top: 1px solid #444;
  border-left: 1px solid #444;
}

/* 右下装飾 */
.price-section-title::after {
  content: "";
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 20px;
  height: 20px;
  border-bottom: 1px solid #444;
  border-right: 1px solid #444;
}

.price-item {
  margin-bottom: 0;
}

.price-item-title {
  color: #fff;
  font-family: "Zen Kaku Gothic Antique";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 200%;
  letter-spacing: 1.92px;
  text-align: center;
  background: #3b2c1b;
  margin: 10px 0
}

.price-row {
  display: flex;
  gap: 40px;
}

.price-item-row {
  display: flex;
  flex: 1;
  border: 1px solid #64513b;
  margin: 20px 0;
}

.price-item-row-title {
  color: #fff;
  font-family: "Zen Kaku Gothic Antique";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 200%;
  letter-spacing: 1.92px;
  text-align: center;
  background: #3b2c1b;
  flex: 1;
}

.price-row:last-child {
  border-bottom: none;
}

.price-header {
  width: 30%;
  padding: 15px 20px;
  background-color: #f8f8f8;
  font-weight: bold;
  color: #3b2c1b;
  border-right: 1px solid #d3d3d3;
}

.price-data {
  width: 70%;
  padding: 15px 20px;
}

.price-data-right {
  text-align: right;
}

.price-data-center {
  text-align: center;
}

.price-table-multi {
  border: 1px solid #64513b;
}

.price-table-row {
  display: flex;
  border-bottom: 1px solid #d3d3d3;
  flex: 1;
}

.price-table-row:last-child {
  border-bottom: none;
}

.price-table-header {
  color: #fff;
  font-family: "Zen Kaku Gothic Antique";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 200%;
  letter-spacing: 1.92px;
  border-right: 1px solid #64513b;
  background: #b7946c;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10px 20px;
}

.price-table-header:last-child {
  border-right: none;
}

.price-table-data {
  padding: 10px 20px;
  border-right: 1px solid #64513b;
  color: #000;
  font-family: "Zen Kaku Gothic Antique";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: 1.92px;
  text-align: left;
}

.price-table-data:last-child {
  border-right: none;
}

/* Clinic Page */
#clinic .page-hero {
  position: relative;
  height: 556px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

#clinic .page-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

#clinic .page-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#clinic .page-hero-text h2 {
  font-size: 48px;
  font-weight: 500;
  letter-spacing: 3.84px;
  line-height: 1.6;
  text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.25);
}

#clinic .page-hero-text p {
  font-family: "EB Garamond", serif;
  font-size: 40px;
  letter-spacing: 3.2px;
}

#clinic .breadcrumb {
  background-color: #f1efeb;
  padding: 20px 0;
}

#clinic .breadcrumb .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  font-size: 16px;
}

#clinic .clinic-concept {
  padding: 80px 0;
  margin-top: 40px;
  background-image: url(img/clinic-concept-bg.webp);
  background-size: cover;
  background-position: center;
}

#clinic .clinic-concept .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#clinic .concept-text-box {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 40px;
  max-width: 900px;
  text-align: center;
}

#clinic .concept-text-box p {
  font-size: 20px;
  line-height: 2;
  margin: 0;
  text-align: left;
}

#clinic .clinic-features {
  margin: -40px 0 40px;
}

#clinic .features-title {
  text-align: center;
  margin-bottom: 60px;
}

#clinic .features-title h2 {
  font-size: 40px;
  font-weight: 400;
}

#clinic .feature-item {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1280px;
  margin: 0 auto 80px;
  padding: 0 20px;
}

#clinic .feature-item.reverse {
  flex-direction: row-reverse;
}

#clinic .feature-image {
  width: 50%;
}

#clinic .feature-image img {
  width: 100%;
}

#clinic .feature-text {
  width: 50%;
}

#clinic .feature-text h3 {
  font-size: 32px;
  font-weight: 400;
}

#clinic .feature-text .subtitle {
  font-family: "EB Garamond", serif;
  font-size: 24px;
  color: var(--color-secondary);
  margin: 10px 0;
}

#clinic .feature-text p {
  font-size: 20px;
  line-height: 2;
  margin-bottom: 20px;
}

#clinic .feature-box {
  background-color: #f1efeb;
  padding: 20px;
  text-align: center;
}

#clinic .feature-box p {
  font-size: 20px;
  font-weight: bold;
  margin: 0;
}

#clinic .feature-item-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

#clinic .clinic-hygiene {
  padding: 40px 0;
}

#clinic .hygiene-title {
  text-align: center;
  margin-bottom: 60px;
}

#clinic .hygiene-title h2 {
  font-size: 40px;
  font-weight: 400;
}

#clinic .clinic-hygiene .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

#clinic .clinic-hygiene .container h3 {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 20px;
}

#clinic .clinic-hygiene .container>p {
  font-size: 20px;
  line-height: 2;
  margin-bottom: 40px;
}

#clinic .hygiene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

#clinic .hygiene-item img {
  width: 100%;
}

#clinic .hygiene-item h4 {
  font-size: 20px;
  font-weight: 400;
  background: #3B2C1B;
  color: #fff;
  padding: 10px;
}

#clinic .hygiene-point {
  text-align: left;
}

#clinic .point-item {
  position: relative;
  background: #64513B;
  padding: 40px;
  margin-bottom: 40px;
  display: flex;
  gap: 40px;
}

#clinic .point-tag {
  position: absolute;
  top: 20px;
  left: 0px;
  background: #B7946C;
  color: #fff;
  text-orientation: mixed;
  padding: 5px 25px;
  font-size: 20px;
  text-align: center;
  line-height: 200%;
  letter-spacing: 2.56px;
}

#clinic .point-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

#clinic .point-text {
  color: #fff;
}

#clinic .point-content img {
  width: 300px;
  height: 200px;
  object-fit: cover;
}

#clinic .point-text h4 {
  color: #FFF;
  font-family: "Zen Old Mincho";
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: 200%;
  /* 64px */
  letter-spacing: 2.56px;
}

#clinic .point-text p {
  color: #FFF;
  font-family: "Zen Kaku Gothic Antique";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 200%;
  letter-spacing: 1.6px;
}

#clinic .clinic-tour {
  padding: 80px 0;
}

#clinic .tour-title {
  text-align: center;
  margin-bottom: 60px;
}

#clinic .tour-title h2 {
  font-size: 40px;
  font-weight: 400;
}

#clinic .clinic-tour .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

#clinic .tour-main-image {
  position: relative;
  height: 556px;
  margin-bottom: 20px;
}

#clinic .tour-main-image .tour-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 24px;
}

#clinic .tour-main-image .prev {
  left: 20px;
}

#clinic .tour-main-image .next {
  right: 20px;
}

#clinic .tour-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#clinic .tour-thumbnails {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

#clinic .tour-thumbnails img {
  width: 100%;
  cursor: pointer;
  border: 2px solid transparent;
}

#clinic .tour-thumbnails img.active {
  border-color: var(--color-secondary);
}

#clinic .clinic-equipment {
  padding: 80px 0;
}

#clinic .equipment-title {
  text-align: center;
  margin-bottom: 60px;
}

#clinic .equipment-title h2 {
  font-size: 40px;
  font-weight: 400;
}

#clinic .clinic-equipment .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

#clinic .equipment-item {
  text-align: center;
}

#clinic .equipment-item img {
  width: 100%;
}

#clinic .equipment-item h4 {
  font-size: 20px;
  font-weight: 400;
  background: #3B2C1B;
  color: #fff;
  padding: 10px;
}

#clinic .clinic-greeting {
  padding: 80px 0;
}

#clinic .greeting-title {
  text-align: center;
  margin-bottom: 60px;
}

#clinic .greeting-title h2 {
  font-size: 40px;
  font-weight: 400;
}

#clinic .clinic-greeting .container {
  max-width: 1200px;
  margin: 0 auto;
}

#clinic .greeting-content {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  margin-bottom: 100px;
}

#clinic .greeting-text {
  width: 60%;
  font-size: 20px;
  line-height: 2;
  font-family: "Zen Kaku Gothic Antique";
}

#clinic .greeting-doctor {
  position: relative;
  width: 40%;
  text-align: center;
}

#clinic .doctor-image img {
  width: 100%;
}

#clinic .doctor-nameplate {
  background-color: var(--color-primary);
  color: #fff;
  padding: 20px;
}

#clinic .doctor-nameplate .title {
  font-size: 20px;
}

#clinic .doctor-nameplate .name {
  font-size: 32px;
  margin: 5px 0;
}

#clinic .doctor-nameplate .roman {
  font-family: "EB Garamond", serif;
  font-size: 20px;
}

#clinic .doctor-career {
  background: #F1EFEB;
  padding: 50px 100px;
  font-family: "Zen Kaku Gothic Antique";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 200%;
  letter-spacing: 1.92px;
}

#clinic .doctor-career h4 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 20px;
  background: #B7946C;
  color: #fff;
  text-align: center;
  padding: 10px;
}

#clinic .doctor-career ul {
  list-style: none;
  padding-left: 0;
  font-size: 20px;
  line-height: 2;
}

#clinic .clinic-interview {
  padding: 80px 0;
}

#clinic .interview-title {
  text-align: center;
  margin-bottom: 60px;
}

#clinic .interview-title h2 {
  font-size: 40px;
  font-weight: 400;
}

#clinic .clinic-interview .container {
  max-width: 1200px;
  margin: 0 auto;
}

#clinic .interview-item {
  margin-bottom: 40px;
}

#clinic .interview-question {
  background-color: var(--color-secondary);
  color: #fff;
  padding: 20px;
  font-size: 24px;
  font-weight: 400;
  position: relative;
  text-align: center;
}

#clinic .interview-answer {
  background-color: #fff;
  padding: 20px;
  font-size: 24px;
  line-height: 2;
  position: relative;
}

#clinic .interview-answer .note {
  font-size: 16px;
  color: #888;
  margin-top: 10px;
}

/* Implant Page */
.lower-mv {
  position: relative;
  height: 556px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.lower-mv-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.lower-mv-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.lower-mv-title {
  position: relative;
  z-index: 1;
}

.lower-mv-title .title-en {
  font-family: "EB Garamond", serif;
  font-size: 40px;
  letter-spacing: 3.2px;
}

.lower-mv-title .title-ja {
  font-size: 48px;
  font-weight: 500;
  letter-spacing: 3.84px;
  line-height: 1.6;
  text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.25);
}

.section-title {
  background-color: #f1efeb;
  text-align: center;
  padding: 40px;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 3.2px;
}

.implant-about-container {
  max-width: 1280px;
  margin: 50px auto;
  display: flex;
  gap: 40px;
}

.implant-about-text {
  width: 50%;
}

.implant-about-text h3 {
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 20px;
}

.implant-about-text p {
  color: #2D2D2D;
  font-family: "Zen Kaku Gothic Antique";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 200%;
  /* 40px */
  letter-spacing: 1.6px;
}

.implant-about-image {
  width: 50%;
}

.implant-about-image img {
  width: 100%;
}

.implant-feature-item {
  max-width: 1280px;
  margin: 80px auto;
  display: flex;
  gap: 40px;
}

.implant-feature-item.reverse {
  flex-direction: row-reverse;
}

.implant-feature-image {
  width: 30%;
}

.implant-feature-image img {
  width: 100%;
}

.implant-feature-text {
  width: 70%;
}

.implant-feature-text h3 {
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 20px;
}

.implant-feature-text p {
  color: #2D2D2D;
  font-family: "Zen Kaku Gothic Antique";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 200%;
  /* 40px */
  letter-spacing: 1.6px;
}

.implant-feature-text .notice {
  font-size: 16px;
  color: #888;
  margin-top: 20px;
}

.implant-menu {
  padding: 80px 0;
}

.menu-notice {
  color: #2D2D2D;
  font-family: "Zen Kaku Gothic Antique";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 200%;
  letter-spacing: 1.6px;
  text-align: center;
}

.implant-price,
.implant-guarantee,
.implant-payment {
  max-width: 1280px;
  margin: 60px auto;
  padding: 0 20px;
}

.section-subtitle {
  text-align: center;
  color: #000;
  font-family: "Zen Old Mincho";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  letter-spacing: 2.88px;
  margin-top: 30px;
}

.price-title-bar {
  background-color: #eeeeee;
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
}

.price-title-bar h3 {
  font-size: 32px;
  font-weight: 400;
}

.price-table .price-row-head {
  display: flex;
  justify-content: space-between;
  background-color: var(--color-primary);
  color: white;
  padding: 20px;
  font-size: 24px;
}

.price-item-title {
  color: #FFF;
  font-family: "Zen Kaku Gothic Antique";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 200%;
  letter-spacing: 1.92px;
  text-align: center;
  background: #3B2C1B;
  margin: 30px 0 10px;
}

.price-table-multi {
  border: 1px solid #64513B;
}

.price-table-row {
  display: flex;
  border-bottom: 1px solid #D3D3D3;
  flex: 1;
}

.price-table-row:last-child {
  border-bottom: none;
}

.price-table-header {
  color: #FFF;
  font-family: "Zen Kaku Gothic Antique";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 200%;
  letter-spacing: 1.92px;
  border-right: 1px solid #64513B;
  background: #B7946C;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10px 20px;
}

.price-table-header:last-child {
  border-right: none;
}

.price-table-data {
  padding: 10px 20px;
  border-right: 1px solid #64513B;
  color: #000;
  font-family: "Zen Kaku Gothic Antique";
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: 1.92px;
  text-align: left;
}

.price-table-data:last-child {
  border-right: none;
}

/* SP Styles */
@media screen and (max-width: 1200px) {
  header {
    z-index: 102;
  }

  [id] {
    scroll-margin-top: 70px;
  }

  .header-nav,
  .header-contact {
    display: none;
  }

  .hamburger-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 101;
    cursor: pointer;
  }

  .hamburger-menu span {
    display: block;
    width: 33px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.4s;
  }

  .hamburger-menu p {
    color: white;
    font-family: "EB Garamond", sans-serif;
    font-size: 11px;
  }

  .hamburger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(-45deg);
  }

  .hamburger-menu.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(45deg);
  }

  .sp-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: #B7946C;
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: left 0.5s ease;
    padding-top: 70px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .sp-nav.active {
    left: 0;
  }

  .sp-nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 0;
    font-family: "Zen Old Mincho", sans-serif;
    width: 100%;
    text-align: center;
    line-height: 1.6;
  }

  .sp-nav a span {
    font-size: 15px;
  }

  .menu-item-has-children {
    width: 90%;
  }

  .menu-item-has-children a {
    font-size: 15px;
    text-shadow: none;
  }

  ul.sub-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    margin: 10px 0;
    padding:  10px 0;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
  }

  ul.sub-menu li {
    list-style: none;
    padding: 5px;
    background-color: #aa7942;
  }

  .header-logo {
    width: 280px;
    height: auto;
    top: -24px;
    left: -10px;
  }

  .header-top {
    height: auto;
  }

  .header-normal {
    height: auto;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .header-normal .hamburger-menu span {
    background-color: #fff;
  }

  section {
    padding: 50px 0;
  }

  /* Main Visual */
  .main-visual {
    height: 600px;
  }

  .main-visual-image {
    background-position: 32% center;
  }

  .main-visual-text {
    top: 250px;
    letter-spacing: 2px;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .main-visual-text p {
    text-align: center;
  }

  .main-visual-text .large {
    font-size: 32px;
  }

  .main-visual-text .small {
    font-size: 28px;
  }

  .main-visual-text h2 {
    font-size: 24px;
    letter-spacing: 1.5px;
  }

  /* News */
  .news {
    flex-direction: column;
    gap: 40px;
    padding: 50px 20px 0;
  }

  .news-item {
    padding: 10px 0;
  }

  .news .date,
  .news .title {
    font-size: 18px;
  }

  /* Features */
  .features {
    align-items: center;
    gap: 10px;
    padding: 50px 0;
  }

  .feature-item {
    width: 120px;
    height: 120px;
  }

  .feature-item p {
    font-size: 13px !important;
  }

  /* Concept */
  .concept {
    padding: 80px 20px;
    margin-top: 50px;
    background-size: cover;
  }

  .concept-inner {
    display: flex;
    flex-direction: column-reverse;
    gap: 100px;
    padding: 0;
  }

  .concept-title,
  .concept-subtitle {
    font-size: 48px;
    letter-spacing: 3px;
    text-align: center;
  }

  .concept-subtitle {
    margin-bottom: 30px;
  }

  .concept-body {
    flex-direction: column;
    margin-top: 0;
    align-items: center;
    position: static;
  }

  .concept-text-content {
    width: 100%;
    padding: 20px;
    font-size: 16px;
    line-height: 1.8;
  }

  .concept-vertical-text {
    position: absolute;
    top: -120px;
    left: 0;
    gap: 10px;
  }

  .concept-vertical-text p {
    writing-mode: vertical-rl;
    color: white;
    padding: 10px;
    font-size: 22px;
    line-height: 116%;
    letter-spacing: 2.88px;
  }

  .concept-doctor-image {
    position: static;
    width: 100%;
    max-width: 268px;
    height: 268px;
    margin-left: auto;
    transform: translateX(6%);
  }

  .doctor-name {
    margin-bottom: 7px;
  }

  .doctor-name-plate {
    position: relative;
    width: 100%;
    max-width: 200px;
    margin: -50px auto 0;
  }

  .doctor-name-plate .title {
    font-size: 18px;
    height: 25px;
  }

  .doctor-name-plate .name {
    font-size: 22px;
    margin-bottom: 0;
  }

  .doctor-name-plate .roman {
    font-size: 14px;
  }

  /* Reason */

  .section-title-bg {
    font-size: 48px;
  }

  .reason01,
  .reason02 {
    padding: 50px 0;
  }

  .reason-bg-top-left {
    width: 70px;
    height: 70px;
  }

  .reason-bg-top-right {
    width: 70px;
    height: 70px;
  }

  .section-heading {
    font-size: 24px;
  }

  .section-heading span {
    font-size: 32px;
  }

  .reason-item {
    flex-direction: column;
    gap: 30px;
    margin: 25px 0;
    align-items: center;
    padding: 20px;
  }

  .reason-item-1,
  .reason-item-2 {
    justify-content: center;
  }

  .reason-item-2 {
    flex-direction: column-reverse;
  }

  .reason-image-container {
    width: 100%;
    height: auto;
  }

  .reason-image {
    height: 0;
    padding-top: 68%;
  }

  .reason-image-desk {
    position: static;
    width: 100%;
    box-sizing: border-box;
    font-size: 15px;
    padding: 10px;
    margin-top: 20px;
  }

  .reason-subtitle {
    font-size: 16px;
  }

  .reason-text-content {
    width: 100%;
  }

  .reason-title {
    font-size: 24px;
  }

  .reason-description {
    font-size: 16px;
  }

  .reason-bottom {
    flex-direction: column;
    gap: 30px;
  }

  .reason-bottom-image-container {
    height: auto;
  }

  /* Hygiene */
  .hygiene {
    padding: 50px 20px;
  }

  .hygiene-management {
    height: auto;
    padding: 40px 20px;
    background-size: cover;
  }

  .hygiene-text {
    position: static;
    transform: none;
    width: 100%;
    text-shadow: none;
  }

  .hygiene-subtitle {
    font-size: 20px;
  }

  .hygiene-title {
    font-size: 28px;
  }

  .hygiene-description {
    font-size: 16px;
  }

  .btn {
    width: 100%;
    max-width: 380px;
    padding-left: 20px;
    padding-right: 20px;
    gap: 20px;
    font-size: 20px;
    box-sizing: border-box;
    height: 60px;
  }

  /* Medical Info */
  .medical-info {
    padding: 50px 0;
  }

  .medical-cards {
    flex-direction: column;
    margin: 40px auto 50px;
  }

  .medical-card {
    flex: 1 1 auto;
  }

  .card-title-small,
  .card-subtitle {
    font-size: 20px;
  }

  .card-title-large {
    font-size: 32px;
    letter-spacing: 2.56px;
  }

  .card-description {
    width: 100%;
    font-size: 16px;
  }

  .medical-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    grid-auto-rows: auto;
    padding: 0 20px;
  }

  .grid-item-icon {
    width: 60px;
    height: 60px;
    margin: 10px auto;
  }

  .grid-item-title {
    font-size: 16px;
  }

  /* Flow */
  .flow-buttons {
    margin: 30px 5px;
    gap: 10px
  }

  .flow-btn {
    width: calc((100% - 20px * (2 - 1)) / 2);
    font-size: 16px;
    line-height: 1.2;
  }

  .flow-nav {
    display: none;
  }

  .flow-slider {
    width: 100%;
    height: 100%;
    max-height: none;
  }

  .flow-content {
    flex-direction: column;
    gap: 0px
  }

  .flow-image {
    max-width: 100%;
    height: auto;
    object-fit: cover;
  }

  .flow-text {
    max-width: 100%;
    padding: 0 20px;
  }

  .flow-title {
    font-size: 20px !important;
  }

  .flow-description {
    font-size: 16px;
  }

  /* Case */
  .case-bg {
    top: 138px;
  }

  .case-slider {
    padding: 20px;
  }

  /* Recruit */
  .recruit-content {
    padding: 30px 20px;
  }

  .recruit-content img {
    width: 100%;
    height: auto;
  }

  /* Clinic Info */
  .clinic-info {
    padding: 50px 0;
  }

  .clinic-info-main {
    flex-direction: column;
    gap: 40px;
  }

  .clinic-info .info-left .logo img {
    width: 100%;
    max-width: 250px;
  }

  .clinic-hours th,
  .clinic-hours td {
    padding: 5px 5px;
  }

  .clinic-info-contact {
    flex-direction: column;
    width: 100%;
  }

  .contact-box.tel,
  .contact-box.web,
  .contact-box.line,
  .contact-box.mail {
    width: 100%;
  }

  .map-container {
    margin-top: 40px;
  }

  /* Footer */
  .footer {
    padding: 40px 20px 20px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 40px;
  }

  .sitemap-title,
  .medical-title {
    font-size: 28px;
  }

  .medical-list {
    column-count: 1;
  }

  .copyright {
    margin-top: 40px;
    font-size: 14px;
  }

  .to-top {
    width: 50px;
    height: 50px;
    bottom: 75px;
    right: 15px;
  }

  /*下層ページ共通*/
  .page-mvisual {
    height: 250px;
  }

  .page-mvisual .main-visual-text {
    top: 100px;
  }

  .page-mvisual .main-visual-text p {
    text-align: center;
  }

  .page-mvisual-image {
    background-position: center center;
  }

  .section-intro {
    margin-top: 50px;
  }

  .section-intro-title h3 {
    font-size: 24px;
  }

  #clinic p,
  #implant p,
  #medical p,
  #price p,
  #recruit p,
  #access p {
    font-size: 16px !important;
    line-height: 1.8;
  }

  h3 {
    font-size: 24px !important;
  }

  h4 {
    font-size: 20px !important;
  }

  .implant-about-container,
  .implant-feature-item,
  .implant-feature-item.reverse {
    flex-direction: column;
    padding: 0 20px;
  }

  .implant-about-text,
  .implant-about-image,
  .implant-feature-text,
  .implant-feature-image {
    width: 100%;
  }

  .price-table-header,
  .price-table-data {
    font-size: 15px;
    padding: 10px;
  }

  .payment-methods {
    height: 230px;
  }

  .payment-options {
    display: flex;
    gap: 10px;
    width: 90%;
    margin: 0 auto;
  }

  .payment-option {
    background-color: #fff;
    padding: 10px;
    flex: 1;
    text-align: center;
  }

  .payment-icon-circle {
    width: 60px;
    height: 60px;
  }

  .payment-icon-circle img {
    width: 30px;
  }

  .implant-faq {
    padding: 40px 20px;
  }

  .price-item-title {
    font-size: 20px;
  }

  .price-row {
    display: flex;
    gap: 20px;
  }

  .price-item-row-title {
    font-size: 15px;
  }

  /* clinicページ */
  #clinic .concept-text-box {
    padding: 20px;
  }

  #clinic .concept-text-box p {
    font-size: 16px;
  }

  #clinic .clinic-features {
    margin: 0;
  }

  #clinic .clinic-hygiene .container h3 {
    font-size: 24px;
  }

  #clinic .hygiene-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  #clinic .point-content {
    flex-direction: column;
  }

  #clinic .point-item {
    padding: 20px;
  }

  #clinic .point-text h4 {
    font-size: 24px;
  }

  #clinic .tour-main-image {
    height: 250px;
  }

  #clinic .tour-thumbnails {
    grid-template-columns: repeat(2, 1fr);
  }

  #clinic .clinic-equipment .container {
    grid-template-columns: repeat(1, 1fr);
  }

  .access-info {
    padding: 80px 0 0;
  }

  .access-info-flex {
    display: flex;
    flex-direction: column-reverse;
  }

  .access-info-text,
  .access-info-image {
    width: 100%;
  }

  .transport-box {
    padding: 20px;
  }

  #clinic .greeting-content {
    display: flex;
    flex-direction: column-reverse;
    margin-bottom: 40px;
  }

  #clinic .clinic-greeting .container {
    padding: 0 20px;
  }

  #clinic .greeting-text,
  #clinic .greeting-doctor {
    width: 100%;
  }

  #clinic .doctor-career {
    padding: 20px;
  }

  #clinic .doctor-career ul {
    font-size: 16px;
  }

  .transport-title-public::before {
    display: none;
  }

  #clinic .clinic-interview {
    padding: 40px 0;
  }

  #clinic .clinic-interview .container {
    padding: 0 20px;
  }

  #clinic .interview-answer {
    padding: 20px 0;
  }

  /*料金表*/

  .price-section {
    margin-top: 0;
  }

  .price-container {
    padding: 40px 20px;
  }

  .price-item {
    margin-bottom: 0;
  }

  .payment-methods-img {
    width: 100%;
    position: absolute;
  }

  .payment-methods-img img {
    width: 100%;
  }

  /*採用情報*/

  #recruit .recruit-header,
  #recruit .recruit-data {
    display: block;
    padding: 10px 20px;
    font-size: 16px;
    letter-spacing: 1.92px;
    line-height: 1.4;
  }

  #recruit .recruit-header {
    width: auto;
  }

}

/* Recruit Section on Top Page */
.recruit-banner-sp {
  display: none;
}

@media screen and (max-width: 768px) {
  .recruit-banner-pc {
    display: none;
  }

  .recruit-banner-sp {
    display: block;
    width: 100%;
    height: auto;
  }
}


/* Fixed footer for SP */
.sp-fixed-footer {
  display: none;
}

@media screen and (max-width: 1200px) {
  .sp-fixed-footer {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #fff;
    z-index: 1000;
    border-top: 1px solid #ccc;
  }

  .sp-fixed-tel {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    background-color: var(--color-primary);
    color: white;
    text-decoration: none;
    padding: 5px;
    position: relative;
    flex: 1
  }

  .sp-fixed-tel::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-top: 12px solid #fff;
    transform: rotate(90deg);
  }

  .sp-fixed-tel-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
  }

  .sp-fixed-title {
    font-size: 12px;
  }

  .sp-fixed-phone {
    font-size: 20px;
    font-family: "EB Garamond", sans-serif;
  }

  .sp-fixed-access {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 120px;
    background-color: #fff;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 16px;
    gap: 8px;
    position: relative;
    flex: 1
  }

  .sp-fixed-access::after {
    content: '';
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-top: 12px solid var(--color-primary);
    transform: rotate(90deg);
  }

  .sp-fixed-icon-pin {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: var(--color-primary);
    border-radius: 50%;
    position: relative;
  }

  .sp-fixed-icon-pin::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background-color: #fff;
    border-radius: 50%;
  }
}

/* Dropdown Menu */
.header-nav .menu-item-has-children {
  position: relative;
}

.header-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(59, 44, 27, 0.9);
  list-style: none;
  padding: 10px 0;
  margin: 0;
  width: 200px;
  text-align: center;
  border-radius: 5px;
  z-index: 1000;
}

.header-nav .menu-item-has-children:hover .sub-menu {
  display: block;
}

.header-nav .sub-menu li {
  margin: 0;
  padding: 0;
}

.header-nav .sub-menu li a {
  color: white;
  padding: 10px 20px;
  display: block;
  text-decoration: none;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
}

.header-nav .sub-menu li a:hover {
  background-color: var(--color-secondary);
}

.header-nav .sub-menu li a span {
  display: none;
}