@charset "utf-8";

.lead {
  position: relative;
  padding: 150px 0 0 0;
  height: 100vh;
}

.slider-area {
  width: 70%;
  height: 70vh;
  position: relative;
  top: 0;
  left: 15%;
  z-index: -1;
}

.slider-area .slider {
  width: 100%;
  height: 70vh;
}

.lead h2.heading {
  position: absolute;
  top: 200px;
  right: 7%;
  font-size: 5rem;
  font-family: var(--font-cursive);
  color: var(--accent-color);
}

.lead .lead {
  position: absolute;
  top: 320px;
  right: 4%;
  font-size: 2rem;
  letter-spacing: 0.2em;
  line-height: 1.6;
  writing-mode: vertical-rl;
  white-space: nowrap;
  font-family: var(--font-content);
}

.lead .lead span {
  display: block;
  padding: 100px 0 0 0;
}

@media screen and (max-width: 768px) {
  .lead h2.heading {
    font-size: 4rem;
  }
  .lead .lead {
    font-size: 1rem;
  }
}

#news {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--white-color);
  width: 40%;
  z-index: 2;
  padding: 40px;
}

#news h2 {
  position: relative;
  font-size: 1.2rem;
  margin: 0 0 30px 0;
}

#news h2::before {
  content: "";
  position: absolute;
  width: 32vw;
  height: 5px;
  background: var(--main_stripe);
  left: 0;
  bottom: -5px;
}

#news li {
  margin: 0 0 10px 0;
}

#news li a {
  transition: all 0.3s;
}

#news li a:hover {
  background: #efefef;
}

#news li time {
  display: inline-block;
  padding: 0 20px 0 0;
  font-size: 0.8rem;
  color: var(--gray-color);
}

@media screen and (max-width: 1200px) {
  .lead .lead {
    font-size: 1.8rem;
    right: 2.5%;
  }
  #news {
    width: 50%;
  }
}

@media screen and (max-width: 960px) {
  .lead .lead {
    font-size: 1.6rem;
    right: 3%;
  }
  #news {
    padding: 20px 30px;
  }
  #news li time {
    display: block;
  }
}

@media screen and (max-width: 768px) {
  .slider-area {
    width: 74%;
    height: clamp(52vh, 60vh, 72vh);
    left: 0;
  }
  .slider-area .slider {
    height: clamp(52vh, 60vh, 72vh);
  }
  .lead h2.heading {
    font-size: 2.6rem;
    top: 80px;
    right: 6%;
  }
  .lead {
    padding: 100px 0 0 0;
  }
  .lead .lead {
    right: 5%;
    top: 50px;
    font-size: 1.4rem;
  }
  #news {
    width: 100%;
  }
  #news h2::before {
    width: 80vw;
  }
}

@media screen and (max-width: 400px) {
  .lead h2.heading {
    font-size: 2.2rem;
  }
  .lead .lead {
    font-size: 1.1rem;
  }
  .lead .lead span {
    padding: 50px 0 0 0;
  }
}

#doctor {
  background: var(--sub-color);
  padding-top: 80px;
  padding-bottom: 80px;
}

#doctor .wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

#doctor .section-title {
  position: relative;
  text-align: center;
  margin-bottom: 70px;
  white-space: nowrap;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.12em;
  white-space: nowrap;
  color: var(--black-color);
  font-family: var(--font-heading);
}

#doctor .section-title::before {
  content: "";
  display: block;
  width: 6rem;
  height: 6rem;
  background: var(--bg_stripe);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.5;
}

#doctor p {
  text-align: left;
  font-family: var(--font-content);
}

#doctor picture img {
  aspect-ratio: 5/3;
  margin-right: auto;
  margin-bottom: 8px;
  object-fit: cover;
  width: 70%;
  border-radius: 24px;
}

#doctor .doctor_header {
  color: var(--white-color);
  background: var(--accent-color);
  height: 400px;
  width: 90%;
  margin: -320px 0 32px auto;
}

#doctor .doctor_header p {
  margin-bottom: 16px;
  font-family: var(--font-heading);
}

#doctor .doctor_header .inner {
  padding-top: 310px;
  margin-right: 64px;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 32px;
  padding-top: 310px;
  margin: 0 2%;
}

#doctor .doctor_header .inner p {
  font-size: 1.2rem;
  margin-bottom: 32px;
  white-space: nowrap;
  font-family: var(--font-heading);
}

#doctor .doctor_name {
  font-weight: 400;
  font-family: var(--font-content);
  font-size: 1.6rem;
}

#doctor .doctor_name span {
  font-size: 2.4rem;
  margin-left: 0.4em;
  font-family: var(--font-content);
}

#doctor .message {
  display: flex;
  gap: 30px;
}

#doctor .message h3.content-title {
  width: 40%;
  font-weight: 600;
  font-size: 1.4rem;
  margin-bottom: 32px;
  color: var(--accent-color);
  font-family: var(--font-content);
}

#doctor .message p {
  width: 60%;
  font-family: var(--font-content);
}

@media screen and (max-width: 768px) {
  #doctor {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  #doctor .wrapper {
    padding: 0;
  }
  #doctor .section-title {
    font-size: 1.4rem;
    padding: 8px 0;
    margin: 8px auto 48px;
    width: calc(100% - 60px);
    height: 40px;
    position: relative;
  }
  #doctor .section-title:before {
    width: 4rem;
    height: 4rem;
  }
  #doctor picture img {
    width: 80%;
    aspect-ratio: 5 / 3;
    margin-right: auto;
    margin-bottom: 8px;
    border-radius: 0 24px 24px 0;
    object-fit: cover;
  }
  #doctor .doctor_header {
    width: 100%;
    height: 200px;
    margin: -120px 0 16px;
  }
  #doctor .doctor_header .inner {
    padding-top: 130px;
  }
  #doctor .doctor_header .inner p {
    font-size: 0.8rem;
    text-align: left;
    margin-bottom: 0;
  }
  #doctor .doctor_header p {
    font-weight: 500;
    margin-bottom: 0;
  }
  #doctor .doctor_name {
    font-weight: 700;
    font-size: 0.8rem;
  }
  #doctor .doctor_name span {
    font-size: 1.2rem;
    margin-left: 0.2em;
  }
  #doctor .message {
    display: block;
  }
  #doctor .message h3.content-title {
    width: 90%;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-align: center;
    margin-left: 16px;
    margin-right: 16px;
  }
  #doctor .message p {
    width: 90%;
    margin: 0 auto;
    font-size: 0.9rem;
  }
}

#treatment {
  background: var(--base-color);
  padding-top: 80px;
  padding-bottom: 80px;
}

#treatment .wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

#treatment .section-title {
  position: relative;
  text-align: center;
  margin-bottom: 35px;
  white-space: nowrap;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.12em;
  white-space: nowrap;
  color: var(--black-color);
  font-family: var(--font-heading);
}

#treatment .section-title::before {
  content: "";
  display: block;
  width: 6rem;
  height: 6rem;
  background: var(--bg_stripe);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.5;
}

#treatment .inner {
  margin: 0 2%;
  text-align: right;
}

#treatment .treatment_header {
  align-items: start;
  width: 100%;
  display: flex;
  flex-direction: row-reverse;
}

#treatment picture {
  width: 50%;
  margin: -80px -40px 0 0;
}

#treatment picture img {
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 50%;
}

#treatment .treatment_header p {
  width: 50%;
  text-align: left;
  font-family: var(--font-content);
  font-size: 1rem;
}

#treatment ul {
  margin-right: 40%;
  margin-top: -240px;
  gap: 32px;
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  list-style: none;
  padding-left: 0;
}

#treatment li {
  text-align: center;
  font-weight: 600;
  background: var(--sub-color);
  border-radius: 16px;
  border: solid 4px var(--accent-color);
  padding: 16px 0;
}

#treatment li img {
  display: block;
  width: 50%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  margin: 0 auto 8px;
}

#treatment .more {
  font-size: 1.4rem;
  color: var(--orange-color);
  font-family: var(--font-content);
  font-weight: 600;
  border-bottom: solid 2px var(--orange-color);
  text-align: center;
  display: block;
  width: fit-content;
  float: right;
}

#treatment .more::after {
  text-align: center;
  content: "arrow_forward";
  font-family: "Material Icons Round";
  font-size: 1.4rem;
  color: var(--white-color);
  background: var(--orange-color);
  display: inline-block;
  width: 2.6rem;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  margin-left: 1rem;
}

.more:hover::after {
  transform: translateX(0.2em);
  transition: 0.5s;
}

@media screen and (max-width: 960px) {
  #treatment .treatment_header {
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
  }
  #treatment picture img {
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 50%;
  }
  #treatment .treatment_header p {
    width: 50%;
    text-align: left;
  }
  #treatment ul {
    margin-top: -16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
  }
  #treatment li {
    text-align: center;
    font-weight: 600;
    padding: 40px 0;
  }
  #treatment li img {
    width: 50%;
    aspect-ratio: 4/3;
    object-fit: contain;
    margin: 0 auto 8px;
  }
}

@media screen and (max-width: 768px) {
  #treatment {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  #treatment .wrapper {
    padding: 0 16px;
  }
  #treatment .section-title {
    font-size: 1.4rem;
  }
  #treatment .section-title::before {
    width: 4rem;
    height: 4rem;
  }
  #treatment .inner {
    margin: 0;
    text-align: left;
  }
  #treatment .treatment_header {
    flex-direction: column;
    align-items: center;
  }
  #treatment picture {
    width: 70%;
    margin: 0 auto 16px;
  }
  #treatment .treatment_header p {
    width: 100%;
    font-size: 0.85rem;
    text-align: left;
  }
  #treatment ul {
    margin: 24px 0 16px;
    margin-right: 0;
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding-left: 0;
    margin-bottom: 32px;
  }
  #treatment li {
    padding: 16px 8px;
  }
  #treatment li img {
    width: 60%;
  }
  #treatment .more {
    font-size: 1rem;
    float: none;
  }
  #treatment .more::after {
    font-size: 1rem;
    width: 1.9rem;
  }
}

@media screen and (max-width: 370px) {
  #treatment ul {
    grid-template-columns: 1fr;
  }
}

#blog {
  background: var(--sub-color);
  padding-top: 80px;
  padding-bottom: 80px;
}

#blog .section-title {
  position: relative;
  text-align: center;
  margin-bottom: 30px;
  white-space: nowrap;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.12em;
  white-space: nowrap;
  color: var(--black-color);
  font-family: var(--font-heading);
}

#blog .section-title::before {
  content: "";
  display: block;
  width: 6rem;
  height: 6rem;
  background: var(--bg_stripe);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.5;
}

#blog .inner {
  margin: 0 2%;
}

#blog .blog-list {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  list-style: none;
  padding-left: 0;
  margin: 0 auto;
  padding-top: 40px;
  gap: 32px;
}

#blog .blog-list .blog {
  width: calc(50% - 16px);
}

#blog .blog-list .blog .image {
  position: relative;
  overflow: hidden;
  padding-top: 64%;
}

#blog .blog-list .blog .image:hover {
  transform: scale(1.05);
  opacity: 0.5;
  transition: 0.5s;
}

#blog .blog-list .blog .image > img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  transition: ease 0.5s;
}

#blog .blog-list .blog .text .time {
  display: flex;
  justify-content: flex-start;
  list-style: none;
  padding-left: 0;
  align-items: center;
  font-size: 1.3rem;
  color: #8d8c8c;
  margin: 28px 0 0;
  font-weight: 600;
}

#blog .blog-list .blog .text .time .tag {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  background-color: var(--accent-color);
  border-radius: 4px;
  color: var(--white-color);
  padding: 4px 16px;
  line-height: 1.2;
  margin-left: 15px;
}

#blog .blog-list .blog .text .title {
  font-size: 1.3rem;
  margin: 8px 0 0;
  font-weight: 600;
}

#blog .more {
  display: block;
  width: fit-content;
  margin: 72px auto 0;
  text-align: center;
  font-size: 1.4rem;
  color: var(--orange-color);
  font-family: var(--font-content);
  font-weight: 600;
  border-bottom: solid 2px var(--orange-color);
}

#blog .more::after {
  content: "arrow_forward";
  font-family: "Material Icons Round";
  font-size: 1.4rem;
  color: var(--white-color);
  background: var(--orange-color);
  display: inline-block;
  width: 2.6rem;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  margin-left: 1rem;
}

#blog .more:hover::after {
  transform: translateX(0.2em);
  transition: 0.5s;
}

@media screen and (max-width: 768px) {
  #blog {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  #blog .wrapper {
    padding: 0 23px;
  }
  #blog .section-title {
    font-size: 1.4rem;
  }
  #blog .section-title::before {
    width: 4rem;
    height: 4rem;
  }
  #blog .blog-list {
    padding-top: 8px;
  }
  #blog .blog-list .blog {
    width: 100%;
  }
  #blog .blog-list .blog a {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    list-style: none;
    padding-left: 0;
    align-items: flex-start;
  }
  #blog .blog-list .blog .image {
    max-width: 43%;
    width: 100%;
    padding-top: 30%;
    height: auto;
  }
  #blog .blog-list .blog .text {
    max-width: 57%;
    width: 57%;
    padding-left: 12px;
  }
  #blog .blog-list .blog .text .time {
    font-size: 0.8rem;
    margin-top: 0;
  }
  #blog .blog-list .blog .text .time .tag {
    font-size: 0.6rem;
    padding: 6px 14px;
  }
  #blog .blog-list .blog .text .title {
    font-size: 0.9rem;
  }
  #blog .more {
    margin: 32px 0 0;
    font-size: 1rem;
  }
  #blog .more::after {
    font-size: 1rem;
    width: 1.9rem;
  }
}

.parallax-section {
  position: relative;
  overflow: hidden;
  height: 600px;
  margin: 0 0 20px;
}

.parallax-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/bg_placeholder_image1.jpg") center/cover no-repeat;
  transform: translate3d(0, var(--parallaxY, 0px), 0) scale(1.05);
  will-change: transform;
}

@media (min-width: 768px) {
  .parallax-section {
    background: url("../img/bg_placeholder_image1.jpg") center/cover no-repeat;
    background-attachment: fixed;
  }
  .parallax-section::before {
    display: none;
  }
}

@media (max-width: 767px) {
  .parallax-section {
    height: 350px;
    background: none;
  }
}

#reservation-access {
  background: var(--base-color);
  padding-top: 80px;
  padding-bottom: 80px;
}

#reservation-access .section-title {
  position: relative;
  text-align: center;
  margin-bottom: 30px;
  white-space: nowrap;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.12em;
  white-space: nowrap;
  color: var(--black-color);
  font-family: var(--font-heading);
}

#reservation-access .section-title::before {
  content: "";
  display: block;
  width: 6rem;
  height: 6rem;
  background: var(--bg_stripe);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.5;
}

#reservation-access .inner {
  display: flex;
  gap: 32px;
  margin: 80px 2% 0;
}

#reservation-access .access {
  width: 50%;
}

#reservation-access .address {
  margin-bottom: 32px;
}

#reservation-access .address .br {
  display: none;
}

.icon-location {
  float: left;
  font-size: 4rem;
  font-family: var(--google-icons);
  margin-top: -0.1em;
  color: var(--accent-color);
}

.icon-train {
  vertical-align: middle;
  font-family: var(--google-icons);
}

.icon-local_parking {
  margin-left: 0.5em;
  vertical-align: middle;
  font-family: var(--google-icons);
}

#reservation-access iframe {
  width: 100%;
  height: 320px;
}

#reservation-access .reservation {
  width: 50%;
}

#reservation-access .reservation-detail {
  display: flex;
  gap: 24px;
  list-style: none;
  flex-direction: row;
  align-items: center;
  width: 100%;
}

#reservation-access .reservation-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--black-color);
  margin: 0;
}

.reservation-tel {
  font-size: 28px;
  font-weight: bold;
}

.icon-tel02 {
  color: var(--accent-color);
  font-size: 32px;
}

#reservation-access .web-btn {
  display: block;
  width: 30%;
  background: var(--orange-color);
  padding: 10px;
  border-radius: 8px;
  transition: opacity 0.5s;
}

#reservation-access .web-btn:hover {
  opacity: 0.7;
}

#reservation-access .web-btn-text {
  color: var(--white-color);
}

#reservation-access .web-btn-link {
  text-align: center;
  font-weight: 600;
}

#reservation-access .mail-form {
  margin: 32px 0 0;
  width: 75%;
  font-size: 16px;
  transition: opacity 0.5s;
}

#reservation-access .mail-form a {
  display: block;
  color: var(--white-color);
  text-align: center;
  font-weight: 600;
  background-color: var(--main-color);
  text-decoration: none;
  padding: 10px 0;
  border-radius: 8px;
}

#reservation-access .mail-form:hover {
  opacity: 0.7;
}

#reservation-access .reservation-time-table {
  margin-top: 32px;
  border-collapse: collapse;
}

#reservation-access .reservation-time-table thead th {
  padding: 1px 0;
  background: var(--accent-color);
  font-weight: bold;
}

#reservation-access .reservation-time-table th,
#reservation-access .reservation-time-table td {
  line-height: 3;
  border: none;
  font-size: 16px;
  text-align: center;
  font-weight: normal;
  vertical-align: middle;
}

#reservation-access .reservation-time-table tbody {
  background: var(--white-color);
}

#reservation-access .reservation-time-table tbody th {
  width: 37%;
  white-space: nowrap;
  text-align: center;
}

#reservation-access .reservation-time-table tbody th,
#reservation-access .reservation-time-table tbody td {
  padding: 3px 0;
}

#reservation-access .reservation-time-table tbody tr:first-child th,
#reservation-access .reservation-time-table tbody tr:first-child td {
  border-bottom: 0.5px solid var(--black-color);
}

#reservation-access .reservation-time-table-detail {
  font-size: 16px;
  text-align: left;
  line-height: 1.5;
  margin-top: 8px;
}

@media screen and (max-width: 768px) {
  #reservation-access {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  #reservation-access .section-title {
    font-size: 1.4rem;
  }
  #reservation-access .section-title::before {
    width: 4rem;
    height: 4rem;
  }
  #reservation-access .inner {
    flex-direction: column;
  }
  #reservation-access .access {
    width: 100%;
  }
  #reservation-access .address .br {
    display: block;
  }
  .icon-location {
    float: none;
    margin-left: 43.5%;
    font-size: 3rem;
  }
  #reservation-access .address {
    margin-top: -32px;
  }
  #reservation-access .address p {
    text-align: center;
    font-size: 0.9rem;
  }
  #reservation-access .reservation {
    width: 100%;
  }
  .icon-tel02 {
    font-size: 28px;
  }
  .reservation-tel {
    font-size: 24px;
  }
  #reservation-access .reservation-detail {
    gap: 20px;
  }
  #reservation-access .web-btn {
    width: 35%;
  }
  #reservation-access .mail-form {
    width: 100%;
    margin: 24px 0 0;
  }
  #reservation-access .reservation-time-table th,
  #reservation-access .reservation-time-table td {
    line-height: 2;
  }
}
