@charset "utf-8";

:root {
  --strong_color:#005593;
  --main_color:#8eadda;
  --point_color:#f4c074;
  --bg_color:#EFF7FF;
}

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

html {
  scroll-padding-top: 125px; 
  scroll-behavior: smooth; 
}

/* スマホ表示時（767px以下） */
@media screen and (max-width: 767px) {
  html {
    scroll-padding-top: 55px; 
  }
}


body {
  font-family: "Noto Serif JP", serif;
  background-color: #fff;
  scroll-behavior: smooth;
}

p {
  font-family: 'Noto Sans JP', sans-serif;
}

.sec_title_field {
  background-color: var(--strong_color);
  padding: 50px;
  width: 100%;
}

h2.sec_title {
	position: relative;
	padding-top: 50px;
	padding-bottom: 50px;
	font-size: 36px;
	text-align: center;
  letter-spacing: 3px;
  color: #fff;
  z-index: 5;
}


h2.sec_title::before {
	content: attr(data-en);
	position: absolute;
	top: -20px;
	left: 50%;
	transform: translateX(-50%);
	color: var(--main_color);
	font-size: 80px;
	font-style: italic;
  z-index: -1;
}

h2.sec_title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translate(-50%) rotate(30deg);
	width: 1px;
	height: 40px;
	background-color: #fff;
}

/* スマホ表示時（767px以下） */
@media screen and (max-width: 767px) {
  h2.sec_title {
    font-size: 30px;
  }

  h2.sec_title::before {
    font-size: 72px;
  }

}

h3.sub_title {
  font-size: 28px;
  font-weight: normal;
  text-align: center;
  margin: 30px auto;
}

/* スマホ表示時（767px以下） */
@media screen and (max-width: 767px) {
  h3.sub_title {
    font-size: 24px;
    width: 90%;
  }
}

.pcOnly {
  display: block;
}

.spOnly {
  display: none;
}

/* スマホ表示時（767px以下） */
@media screen and (max-width: 767px) {
  .pcOnly {
    display: none;
  }
  .spOnly {
    display: block;
  }
}

/* コンバージョン */
.conversion {
  position: relative;
  background-color: var(--main_color);
  padding: 50px;
  text-align: center;
}

.conversion::before,
.conversion::after{
  content: "";
  position: absolute;
  top: -99px;
  width: 50.2%;
  height: 100px;
  background-color: var(--main_color);
}

.conversion::before {
  left: 0;
  clip-path: polygon(0% 0%, 0% 100%, 100% 100%);
}

.conversion::after {
  right: 0;
  clip-path: polygon(100% 0%, 0% 100%, 100% 100%);
}

.conversion img.conv-logo {
  width: 35%;
  min-width: 500px;
  height: auto;
  margin: 30px auto;
  /* background: #fff; */
  padding: 10px;
}

.conversion .conv_era {
  display: flex;
  justify-content: center;
  gap: 50px;
  width: 100%;
  max-width: 1440px;
  margin: 50px auto;
}

.conversion .conv_era a.tel,
.conversion .conv_era a.mail {
  font-size: 32px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 1px;
  padding: 20px 40px;
}

.conversion .conv_era a.tel {
  color: var(--strong_color);
  border: 2px solid var(--strong_color);
  background-color: #fff;
}

.conversion .conv_era a.mail {
  color: #fff;
  border: 2px solid #fff;
  background-color: var(--strong_color);
}


.conversion .conv_era a.tel img, 
.conversion .conv_era a.mail img {
  width: 36px;
  height: auto;
  margin: 5px 5px -5px 0;
}

.conversion .conv_era a.tel:hover,
.conversion .conv_era a.mail:hover {
  opacity: 0.8;
}

/* スマホ表示時（767px以下） */
@media screen and (max-width: 767px) {
  .conversion {
    padding: 20px;
  }

  .conversion::before,
  .conversion::after{
    content: "";
    top: -49px;
    height: 50px;
  }

  .conversion img.conv-logo {
    width: 100%;
    min-width: auto;
    margin: 30px auto 0;
  }

  .conversion .conv_era {
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin: 20px auto;
  }

  .conversion .conv_era a.tel,
  .conversion .conv_era a.mail {
    padding: 15px 20px;
  }

  .conversion .conv_era a.tel {
    font-size: 28px;
  }
  .conversion .conv_era a.mail {
    font-size: 24px;
  }
}


/* ヘッダー */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 125px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 2px 2px 4px #ccc;
  background-color: #fff;
  z-index: 1000;
}

header img.header-logo {
  height: 60px;
  width: auto;
  margin-left: 15px;
}

header .header-right {
  display: flex;
  justify-content: right;
}

header .header-right ul.header-menu {
  display: flex;
  list-style: none;
  padding: 15px 0;
}

header .header-right ul.header-menu li {
  font-size: 18px;
  text-align: center;
  padding: 16px;
  border-right: 1px solid #333;
}

header .header-right ul.header-menu li:last-child {
  border-right: none;
}

header .header-right ul.header-menu li a {
  text-decoration: none;
  color: #333;
}

header .header-right ul.header-menu li span {
  font-size: 15px;
  color: var(--point_color);
}

header .header-right .header-contact {
  background-color: var(--strong_color);
  padding: 35px 20px;
  height: 100%;
} 

header .header-right .header-contact a {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  font-size: 18px;
  color: #fff;
  text-decoration: none;
}

header .header-right .header-contact a img {
  width: 50px;
  height: auto;
  margin-right: 15px;
}

/* スマホ表示時（767px以下） */
@media screen and (max-width: 767px) {
  header {
    position: fixed;
    top: 0;
    width: 100%;
    height: auto;
    box-shadow: none;
    margin-left: 0;
  }

  header img.header-logo {
    width: 85%;
    height: auto;
    margin-left: auto;
    margin: 5px;
  }

  header .header-right {
    display: none;
  }
}

/* main */
main {
  margin-top: 125px;
}

/* スマホ表示時（767px以下） */
@media screen and (max-width: 767px) {
  main {
    margin-top: 0;
  }
}

.fv_top {
  position: relative;
  background: url(../asset/img/fv_image.jpg) no-repeat center / cover;
  padding: 50px 20px 75px;
}

.fv_top .fv_image {
  position: absolute;
  width: 100%;
  height: fit-content;
  z-index: -1;
}

.fv_top .fv_image img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

.fv_box {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

@media screen and (max-width: 767px) {
  .fv_top {
    background: url(../asset/img/fv_image_sp.jpg) no-repeat center / cover;
    padding: 50px 0;
  }
  .fv_box {
    flex-direction: column;
  }
}

.fv_left {
  width: 50%;
  height: 100%;
  margin: 0;
}

.fv_top .fv_text h2 {
  font-size: 3rem;
  text-align: center;
  text-shadow: 1px 1px 3px #fff;
  margin-top: 2em;
  color: #333;
}

.fv_top .fv_text h2 em {
  font-style: normal;
  color: var(--strong_color);
  text-shadow: 1px 1px 2px #eee;
}

.fv_top .fv_text h2 span {
  font-size: 22px;
  color: #333;
  text-shadow: 1px 1px 2px #fff;
}

.fv_top .fv_icon {
  display: flex;
  width: 65%;
  height: auto;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 75px auto 30px;
}

.fv_top .fv_icon .fv_icon_item {
  width: 24%;
  font-size: 21px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 10px 25px;
  background-color: var(--bg_color);
  border: 2px solid var(--strong_color);
  border-radius: 5px;
}

.fv_top .fv_icon .fv_icon_item::before {
  content: "S";
  font-size: 28px;
  font-weight: bold;
  font-style: italic;
  color: var(--strong_color);
}

.fv_top .fv_contact {
  margin: 100px auto 30px;
  text-align: center;
}

.fv_top .fv_contact a {
  position: relative;
  font-size: 24px;
  color: #fff;
  text-decoration: none;
  padding: 20px 45px;
  background-color: var(--strong_color);
  box-shadow: 6px 6px 50px #eee;
}

.fv_top .fv_contact a:hover {
  opacity: 0.8;
}

.fv_top .fv_contact a::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  transform: rotate(45deg);
  position: absolute;
  margin-top: -5px;
  top: 50%;
  right: 5%;
}

.fv_right {
  width: 50%;
  align-self: flex-end;
}

/* ========================================
   インプラント モニター募集
======================================== */
.implant-monitor {
  /* padding: 80px 20px; */
  color: #282520;
  font-family:
    "Noto Serif JP",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;
  margin-top: 15em;
}

.implant-monitor__inner {
  position: relative;
  max-width: 570px;
  margin: 0 auto;
  padding-top: 42px;
}

.implant-monitor__box {
  position: relative;
  padding: 60px 40px 30px;
  background: rgba(255,255,255,0.5);
  border: 5px solid #c6aa7f;
  box-shadow: 0 8px 24px rgba(70, 54, 32, 0.08);
  text-align: center;
}

/* 毎月限定3名様 */
.implant-monitor__limit {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  width: max-content;
  min-width: 420px;
  padding: 16px 40px 18px;
  transform: translateX(-50%);
  border-radius: 100px;
  background:
  linear-gradient(
    90deg,
    #d8bd72 0%,
    #fff5c9 47%,
    #d3b366 100%
  );
  box-shadow: 0 7px 12px rgba(68, 48, 20, 0.2);
  font-size: 18px;
  line-height: 1.2;
  white-space: nowrap;
}

.implant-monitor__limit span:first-child,
.implant-monitor__limit strong {
  color: #c32621;
}

.implant-monitor__limit strong {
  font-size: 36px;
  font-weight: 700;
}

.implant-monitor__lead {
  margin: 0 0 21px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.08em;
}

.implant-monitor__discount {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 55px;
  margin-bottom: 32px;
}

.implant-monitor__discount-label {
  position: relative;
  padding: 17px 26px;
  background: #25221e;
  color: #fff;
  font-family:
    "Noto Sans JP",
    "Yu Gothic",
    sans-serif;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.implant-monitor__discount-label::after {
  position: absolute;
  top: 50%;
  right: -24px;
  width: 0;
  height: 0;
  transform: translateY(-50%);
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  border-left: 25px solid #25221e;
  content: "";
}

.implant-monitor__price {
  color: #c32621;
}

.implant-monitor__price strong {
  display: block;
  font-size: 54px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
}

.implant-monitor__price strong span {
  font-size: 0.55em;
}

.implant-monitor__price p {
  margin: 12px 0 0;
  font-family:
    "Noto Sans JP",
    "Yu Gothic",
    sans-serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
}

.implant-monitor__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  max-width: 520px;
  min-height: 76px;
  margin: 0 auto;
  padding: 16px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #bf3c33 0%, #94231d 100%);
  box-shadow: 0 5px 0 #691712;
  color: #fff;
  font-family:
    "Noto Sans JP",
    "Yu Gothic",
    sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    opacity 0.2s;
}

.implant-monitor__button span {
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
}

.implant-monitor__button:hover {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #691712;
  opacity: 0.9;
}

.implant-monitor__note {
  margin: 15px 0 0;
  color: #514e49;
  font-family:
    "Noto Sans JP",
    "Yu Gothic",
    sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

.sp-only {
  display: none;
}

@media screen and (max-width: 767px) {
  .fv_right {
    width: 100%;
  }
  .implant-monitor {
    padding: 30px 15px;
    margin-top: auto;
  }

  .implant-monitor__inner {
    padding-top: 32px;
  }

  .implant-monitor__box {
    padding: 63px 18px 30px;
    border-width: 3px;
  }

  .implant-monitor__limit {
    gap: 5px;
    min-width: 285px;
    padding: 12px 20px 13px;
    font-size: 19px;
  }

  .implant-monitor__limit strong {
    font-size: 34px;
  }

  .implant-monitor__lead {
    margin-bottom: 24px;
    font-size: 20px;
    line-height: 1.55;
  }

  .implant-monitor__discount {
    flex-direction: column;
    gap: 22px;
  }

  .implant-monitor__discount-label {
    padding: 11px 26px;
    font-size: 17px;
  }

  .implant-monitor__discount-label::after {
    top: auto;
    right: auto;
    bottom: -19px;
    left: 50%;
    transform: translateX(-50%);
    border-top: 20px solid #25221e;
    border-right: 17px solid transparent;
    border-bottom: 0;
    border-left: 17px solid transparent;
  }

  .implant-monitor__price strong {
    font-size: 58px;
  }

  .implant-monitor__price p {
    margin-top: 8px;
    font-size: 25px;
  }

  .implant-monitor__button {
    min-height: 65px;
    padding: 13px 15px;
    font-size: 17px;
  }

  .implant-monitor__note {
    font-size: 12px;
  }

  .sp-only {
    display: block;
  }
}

/* スマホ表示時（767px以下） */
@media screen and (max-width: 767px) {
  .fv_top .fv_image {
    margin-top: 50px;
  }
  .fv_left {
    width: 100%;
  }
  .fv_top .fv_text h2 {
    font-size: 25px;
    width: 95%;
    margin: 275px auto 0;
  }

  .fv_top .fv_text h2 span {
    font-size: 16px;
  }

  .fv_top .fv_icon {
    width: 90%;
    gap: 15px;
    margin: 20px auto;
  }

  .fv_top .fv_icon .fv_icon_item {
    width: 22%;
    font-size: 16px;
    padding: 10px 25px;
  }

  .fv_top .fv_icon .fv_icon_item::before {
    content: "S";
    font-size: 21px;
  }

  .fv_top .fv_contact {
    margin: 45px auto;
  }

  .fv_top .fv_contact a {
    font-size: 20px;
    padding: 15px 30px;
    box-shadow: 3px 3px 9px #eee;
  }  
}

/* 不安はありませんか */
.worrie {
  /* background-color: var(--bg_color); */
  padding: 100px 50px;
  text-align: center;
  margin-top: 50px;
}

.worrie h2 {
  font-size: 32px;
  position: relative;
  display: inline-block;
  margin-bottom: 1em;
}

.worrie h2  em{
  font-size: 28px;
  font-style: normal;
  line-height: 2.0;
}

.worrie h2:before {
  content: '';
  position: absolute;
  bottom: -30px;
  display: inline-block;
  width: 60px;
  height: 5px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: var(--strong_color);
  border-radius: 5px;
}

.worrie span.underline {
  background: linear-gradient(transparent 70%, var(--point_color) 70%);
  font-weight: bold;
}

.worrie .worrie_items {
  max-width: 700px;
  margin: 80px auto 30px;
}

.worrie .worrie_items .worrie_item {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  padding: 10px 20px;
  margin: 15px 0;
  background-color: var(--bg_color);
}

.worrie .worrie_items .worrie_item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background-color: var(--main_color);
}

.worrie .worrie_items .worrie_item img {
  width: 30px;
  height: auto;
  margin-right: 10px;
}

.worrie .worrie_items .worrie_item p {
  font-size: 21px;
  text-align: left;
}

.worrie .worrie_image {
  width: 300px;
  height: auto;
  margin: 30px auto;
}

.worrie p {
  font-size: 21px;
  line-height: 1.8;
}

.worrie .worry_text {
  font-size: 28px;
  display: flex;
	justify-content: center;
	align-items: center;
  margin-top: 50px;
}

.worrie .worry_text::before,
.worrie .worry_text::after {
	content: '';
	width: 2px;
	height: 80px;
	background-color: #333;
}

.worrie .worry_text::before {
	margin-right: 30px;
	transform: rotate(-35deg)
}
.worrie .worry_text::after {
	margin-left: 30px;
	transform: rotate(35deg)
}

/* スマホ表示時（767px以下） */
@media screen and (max-width: 767px) {
  .worrie {
    padding: 30px 20px 50px;
    margin-top: auto;
  }

  .worrie h2 {
    font-size: 22px;
  }

  .worrie h2  em{
    font-size: 18px;
  }

  .worrie .worrie_items .worrie_item img {
    width: 30px;
    margin-right: 10px;
  }

  .worrie .worrie_items .worrie_item p {
    font-size: 16px;
  }

  .worrie .worrie_items {
    flex-wrap: wrap;
    gap: 10px;
    margin: 50px auto 0;
  }

  .worrie .worrie_items img {
    width: 100px;
    height: auto;
  }

  .worrie .worrie_image {
    width: 60%;
  }

  .worrie p {
    font-size: 15px;
}

  .worrie .worry_text {
    font-size: 16px;
  }

  .worrie .worry_text::before,
  .worrie .worry_text::after {
    content: '';
    width: 1px;
    height: 50px;
  }

  .worrie .worry_text::before {
    margin-right: 20px;
  }
  .worrie .worry_text::after {
    margin-left: 20px;
  }
}


/* インプラントについて */
.about_implant {
  padding-bottom: 50px;
  background-color: var(--bg_color);
}

.about_implant .implant_box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 20px 30px;
  max-width: 1000px;
  margin: 50px auto;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 3px 3px 40px #ccc;
}

.about_implant .implant_box img {
  width: 45%;
}

.about_implant .implant_box .implant_text {
  padding: 15px;
  text-align: left;
}

.about_implant .implant_box .implant_text h4 {
  font-size: 28px;
  font-weight: normal;
}

.about_implant .implant_box .implant_text p {
  font-size: 16px;
  line-height: 1.8;
  margin: 30px 0;
}

.about_implant .implant_box .implant_text li {
  position: relative;
  font-size: 16px;
  padding: 5px 10px;
  margin: 10px 0;
  list-style: none;
  background-color: var(--bg_color);
}

.about_implant .implant_box .implant_text li::before {
  content: "●";
  color: var(--main_color);
  margin-right: 5px;
}

/* スマホ表示時（767px以下） */
@media screen and (max-width: 767px) {
  .about_implant .implant_box {
    width: 95%;
    flex-direction: column;
    padding: 20px;
    box-shadow: 3px 3px 9px #ccc;
    margin: 30px auto;
  }

  .about_implant .implant_box img {
    width: 100%;
    order: 2;
  }

  .about_implant .implant_box .implant_text {
    padding: 0;
  }

  .about_implant .implant_box .implant_text h4 {
    font-size: 21px;
  }

  .about_implant .implant_box .implant_text p {
    font-size: 15px;
    line-height: 1.65;
  }

  .about_implant .implant_box .implant_text li {
    font-size: 15px;
  }
}

/* コンセプト */
.concept {
  padding-bottom: 50px;
}

.concept_text {
  font-size: 18px;
  text-align: left;
  max-width: 900px;
  margin: 30px auto;
}

.concept_box {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 900px;
  margin: 50px auto;
}

.concept_box .concept_item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 15px;
  /* width: 48%; */
  flex: 1 1 400px;
  flex-grow: 1;
  padding: 15px 20px;
  border: 1px solid var(--main_color);
  border-radius: 15px;
  box-shadow: 3px 3px 15px #ccc;
}

.concept_box .concept_item h5 {
  font-size: 32px;
  font-weight: bold;
  color: var(--strong_color);
  text-align: left;
}

.concept_box .concept_item h6 {
  font-size: 21px;
  text-align: left;
  color: #333;
}

.concept_box .concept_item p {
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 1px;
}

.concept_image {
  max-width: 900px;
  height: auto;
  display: flex;
  justify-content: space-between;
  margin: 30px auto;
}

.concept_image img {
  width: 49%;
  height: auto;
  box-shadow: 3px 3px 3px #eee;
}

/* スマホ表示時（767px以下） */
@media screen and (max-width: 767px) {
  .concept_text {
    font-size: 15px;
    width: 90%;
    margin: 15px auto;
  }

  .concept_box {
    margin: 30px auto;
  }

  .concept_box .concept_item {
    width: 90%;
    flex: none;
    box-shadow: 3px 3px 9px #ccc;
  }

  .concept_box .concept_item h5 {
    font-size: 28px;
  }

  .concept_box .concept_item h6 {
    font-size: 18px;
  }

  .concept_box .concept_item p {
    font-size: 15px;
    line-height: 1.65;
  }

  .concept_image {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .concept_image img {
    width: 90%;
 }
}

/* 従来方との違い */
.difference {
  background-color: #003366;
  padding: 50px 50px 150px;
}

.difference h2 {
  font-size: 32px;
  color: #fff;
  text-align: center;
  margin: 20px 0;
}

.difference table {
  border-collapse: collapse;
  margin: 30px auto;
}

.difference table tr {
  border-bottom: 1px solid #fff;
}

.difference table tr th,
.difference table tr td {
  font-size: 18px;
  color: #fff;
  padding: 30px 40px;
  text-align: center;
}

.difference table tr th.title,
.difference table tr td.title {
  text-align: left;
}

.difference table tr th.new,
.difference table tr td.new {
  font-size: 22px;
}

.difference table tr th.old,
.difference table tr td.old {
  color: #eee;
}


.difference table tr th {
  font-weight: normal;
  line-height: 2;
}

.difference table tr th span {
  font-size: 18px;
  padding: 5px 10px;
  border-radius: 15px;
  background-color: var(--strong_color);
}

/* スマホ表示時（767px以下） */
@media screen and (max-width: 767px) {
  .difference {
    background-color: #003366;
    padding: 30px 15px 120px;
  }

  .difference h2 {
    font-size: 28px;
    margin: 15px 0;
  }

  .difference table {
    border-collapse: collapse;
    margin: 20px auto;
  }

  .difference table tr th,
  .difference table tr td {
    font-size: 14px;
    padding: 10px 15px;
  }

  .difference table tr th.new,
  .difference table tr td.new {
    font-size: 18px;
  }

  .difference table tr th {
    font-weight: normal;
    line-height: 1.75;
  }

  .difference table tr th span {
    font-size: 15px;
  }
}

/* 院長紹介 */
.doctor {
  padding-bottom: 50px;
}

.doctor_box {
  max-width: 1000px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 50px auto;
}

.doctor_info {
  width: 25%;
}

.doctor_info img {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 15px;
}

.doctor_info .doctor_name {
  width: 100%;
  text-align: center;
  padding: 10px 40px;
  background-color: var(--strong_color);
  border-radius: 15px;
}

.doctor_info .doctor_name span {
  font-size: 16px;
  color: var(--main_color);
  letter-spacing: 1px;
  line-height: 2;
}

.doctor_info .doctor_name h4 {
  color: #fff;
  font-size: 24px;
  font-weight: normal;
  margin-bottom: 10px;
}

.doctor_info .doctor_name h5 {
  color: #ddd;
  font-size: 18px;
  font-weight: normal;
  margin-bottom: 10px;
}

.doctor_text {
  width: 70%;
  font-family: 'Noto Sans JP';
  padding: 30px;
}

.doctor_text p {
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 1px;
}

.doctor_text h4 {
  font-size: 21px;
  font-weight: normal;
  color: var(--strong_color);
  margin: 30px 0 15px;
}

.doctor_text ul {
  text-align: left;
  list-style: none;
  margin: 10px 0;
}

.doctor_text li {
  position: relative;
  font-size: 16px;
  padding: 5px 0 5px 35px;
}

.doctor_text li::before {
  content: "—";
  position: absolute;
  left: 15px;
  font-size: 16px;
  color: var(--main_color);
}

/* スマホ表示時（767px以下） */
@media screen and (max-width: 767px) {
  .doctor {
    padding-bottom: 0;
  }
  .doctor_info {
    width: 80%;
  }

  .doctor_text {
    width: 80%;
    padding: 0;
  }

  .doctor_text p {
    font-size: 15px;
    line-height: 1.5;
  }

  .doctor_text h4 {
    font-size: 18px;
    margin: 30px 0 15px;
  }

  .doctor_text li {
    font-size: 14px;
    padding: 5px 0 5px 35px;
  }
}



/* 当院の特徴 */
.reason {
  padding-bottom: 150px;
  background-color: var(--bg_color);
}

.reason_box {
  display: flex;
  flex-direction: column;
  gap: 150px;
  padding: 120px 0;
  margin: 0 auto;
  overflow: hidden;
}

.reason_box .reason_item {
  display: flex;
  max-width: 1100px;
  width: 90%;
  margin: 0 auto;
  align-items: center;
  gap: 0;
}

.reason_box .reason_item:nth-child(even) {
  flex-direction: row-reverse;
}

.reason_box .reason_item .reason_text {
  flex: 1;
  position: relative;
  top: 50px;
  padding: 30px 50px;
  background-color: #b6cff4;
  z-index: 2;
}

.reason_box .reason_item .reason_text span {
  position: absolute;
  top: -80px;  /* 上にはみ出させる */
  left: -40px; /* 左にはみ出させる */
  font-size: 110px;
  font-weight: bold;
  font-style: italic;
  color: rgba(226, 167, 87, 0.5); /* 透明度を上げるとより馴染みます */
  line-height: 1;
  z-index: -1; /* テキストの背面に配置 */
}

.reason_box .reason_item .reason_text span:nth-child(even) .number {
  left: auto;
  right: -40px;
}

.reason_box .reason_item .reason_text h3 {
  font-size: 30px;
  font-weight: normal;
  margin: 20px 0;
}

.reason_box .reason_item .reason_text p {
  font-size: 18px;
  line-height: 1.8;
  letter-spacing: 1px;
}

.reason_box .reason_item .reason_image {
  flex: 1.2; /* 画像を少し大きく */
  position: relative;
  top: -40px; /* 上にずらす */
  z-index: 1;
}

.reason_box .reason_item .reason_image img {
  width: 100%;
  height: auto;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* 浮いている感じを出す */
}

/* スマホ表示時（767px以下） */
@media screen and (max-width: 767px) {
  .reason {
    padding-bottom: 50px;
  }

  .reason_box {
    padding: 120px 0 30px;
    gap: 100px;
  }

  .reason_box .reason_item {
    flex-direction: column;
  }

  .reason_box .reason_item:nth-child(even) {
    flex-direction: column;
  }

  .reason_box .reason_item .reason_text {
    top: -40px;
    padding: 20px 30px;
  }

  .reason_box .reason_item .reason_text span {
    position: absolute;
    top: -45px;  /* 上にはみ出させる */
    left: -20px; /* 左にはみ出させる */
    font-size: 80px;
  }

  .reason_box .reason_item .reason_text span:nth-child(even) .number {
    left: auto;
    right: -40px;
  }

  .reason_box .reason_item .reason_text h3 {
    font-size: 28px;
    font-weight: normal;
    margin: 20px 0;
  }

  .reason_box .reason_item .reason_text p {
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 1px;
  }

  .reason_box .reason_item .reason_image {
    flex: 1.2; /* 画像を少し大きく */
    position: relative;
    top: -40px; /* 上にずらす */
    z-index: 1;
  }

  .reason_box .reason_item .reason_image img {
    width: 100%;
    height: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* 浮いている感じを出す */
  }
}


/* 設備紹介 */
.facility {
  padding-bottom: 50px;
}

.facilty_box {
  max-width: 1000px;
  text-align: left;
  margin: 0 auto;
}

.facilty_box h3 {
  font-size: 28px;
  font-weight: normal;
  margin-bottom: 15px;
  color: var(--main_color);
}

.facilty_box h3.title {
  color: var(--strong_color);
}

.facilty_box h4 {
  font-size: 21px;
  font-weight: normal;
  margin-bottom: 15px;
  padding-left: 15px;
}

.facilty_box p {
  font-size: 18px;
  line-height: 1.5;
  margin: 15px 0;
  padding-left: 15px;
}

/* スマホ表示時（767px以下） */
@media screen and (max-width: 767px) {
  .facilty_box {
    padding: 20px;
  }
  .facilty_box h3 {
    font-size: 24px;
  }

  .facilty_box h4 {
    font-size: 18px;
  }

  .facilty_box p {
    font-size: 16px;
    line-height: 1.35;

  }
}

/* スライダー */
.slider_box {
  width: 100%;
  margin: 60px auto 30px;
}

.custom-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  touch-action: pan-y; /* フリック時の上下スクロールを許可 */
}

.slider-wrapper {
  overflow: hidden;
  width: 100%;
}

.slider-track {
  display: flex;
  transition: transform 0.4s ease-out;
  will-change: transform;
}

.slider-item {
  flex-shrink: 0;
  padding: 10px;
  box-sizing: border-box;
  text-align: center;
}

.slider-item img {
  width: 100%;
  border-radius: 8px;
}

/* ボタン */
.prev-btn, .next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 15px 18px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
}
.prev-btn { left: 0; }
.next-btn { right: 0; }

/* ドット */
.dots-container {
  text-align: center;
  margin-top: 15px;
}
.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background: #bbb;
  border-radius: 50%;
  cursor: pointer;
}
.dot.active { background: #333; }

/* 治療の流れ */
.flow {
  padding-bottom: 150px;
  background-color: var(--bg_color);
}

.flow_box {
  max-width: 1000px;
  margin: 50px auto;
}

.flow_item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.flow_item .flow_num {
  position: relative;
  font-size: 21px;
  padding: 5px 10px;
  width: 40px;
  height: 40px;
  border-radius: 25px;
  background-color: var(--strong_color);
  color: var(--main_color);
}

.flow_item .flow_num::after {
  content: "";
  position: absolute;
  bottom: -50px;
  right: 0;
  left: 0;
  margin: 0 auto;
  width: 1px;
  height: 45px;
  background-color: var(--main_color);
}

.flow_item .flow_text {
  padding: 30px;
  text-align: left;
}

.flow_item .flow_text h4 {
  font-size: 24px;
  font-weight: normal;
  color: var(--strong_color);
  margin-bottom: 15px;
}

.flow_item .flow_text p {
  font-size: 18px;
  line-height: 1.5;
}

/* スマホ表示時（767px以下） */
@media screen and (max-width: 767px) {
  .flow {
    padding-bottom: 120px;
  }

  .flow_box {
    margin: 30px auto;
    padding: 0 20px;
  }

  .flow_item .flow_num::after {
    bottom: -100px;
    height: 90px;
  }

  .flow_item .flow_text {
    padding: 30px 0 30px 30px;
    text-align: left;
  }

  .flow_item .flow_text p {
    font-size: 16px;
    line-height: 1.35;
  } 
}


/* 治療費用 */
.price {
  background-color: var(--bg_color);
  padding-bottom: 150px;
}

.price_table {
  width: 95%;
  max-width: 1000px;
  margin: 50px auto;
  border-collapse: collapse;
}

.price_table td {
  width: 50%;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 1px;
  border: 1px solid #fff;
  padding: 30px 50px;
  background-color: #EFF7FF;
  color: #333;
}

.price_table td {
  font-size: 21px;
  text-align: left;
}

.cash_info {
  max-width: 1000px;
  height: auto;
  margin: 30px auto;
}

.cash_info img {
  width: 100%;
  height: auto;
}

/* スマホ表示時（767px以下） */
@media screen and (max-width: 767px) {
  .price {
    padding-bottom: 50px;
  }
  .price_table td {
    padding: 20px;
  }

  .price_table td {
    font-size: 18px;
  }  
}

/* 症例集 */
.case {
  padding-bottom: 150px;
}

.case_box {
  max-width: 1000px;
  margin: 50px auto;
}

/* ===== 各ケース ===== */
.case_item {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 120px;
  position: relative; 
}

/* ===== テキスト ===== */
.case-text {
  background: var(--strong_color);
  color: #fff;
  padding: 40px;
  width: 60%;
  z-index: 1;
}

.case_item:nth-child(odd) .case-text {
  padding-left: 100px;
  margin-left: -50px;
}

.case_item:nth-child(even) .case-text {
  padding-right: 70px;
  margin-right: -50px;
}

.case-text h2 {
  font-size: 28px;
  margin-bottom: 20px;
  border-bottom: 1px solid #fff;
  padding-bottom: 10px;
}

.case-text li {
  line-height: 2.25;
  list-style: none;
}

/* ===== 画像ラッパー（レイアウトには使わない） ===== */
.case-images {
  width: fit-content;
  z-index: 2;
}

/* ===== 画像 ===== */
.img {
  width: 300px;
  height: 200px;
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
}

/* ===== Case01（左配置） ===== */
.before {
  top: 0;
  left: 0;
}

.after {
  top: 140px;
  left: 120px;
}

/* ===== 三角 ===== */
.arrow {
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 18px solid #c7d3dd;
  margin: 0 auto;
}

/* ===== 偶数（左右反転） ===== */
.case_item:nth-child(even) {
  flex-direction: row-reverse;
}

/* Before（右上） */
.case_item:nth-child(even) .before {
  top: 0;
  right: 0;
  left: auto;
}

/* After（右下） */
.case_item:nth-child(even) .after {
  top: 140px;
  right: 120px;
  left: auto;
}

/* 三角（右側） */
.case_item:nth-child(even) .arrow {
  top: 100px;
  right: 110px;
  left: auto;
}

@media (max-width: 768px) {
  .case_item {
    flex-direction: column;
    margin-bottom: 50px;
    gap: 15px;
  }

  .case_item:nth-child(even) {
    flex-direction: column;
  }

  .case-text,
  .case-images {
    width: 100%;
  }

.case_item:nth-child(odd) .case-text {
  padding-left: 30px;
  margin-left: auto;
}

.case_item:nth-child(even) .case-text {
  padding-right: unset;
  margin-right: auto;
}

  .img {
    margin: 0 auto;
  }
}

/* 安全への取り組み */
.safe {
  padding-bottom: 50px;
}

.safe_box {
  max-width: 800px;
  margin: 30px auto;
}

.safe_attention {
  max-width: 1000px;
  border: 2px solid var(--strong_color);
  padding: 50px;
  margin: 30px auto;
}

.safe_attention h2 {
  font-size: 36px;
  font-style: normal;
  font-weight: normal;
  text-align: center;
  letter-spacing: 2px;
  line-height: 2;
  border-bottom: 1px solid #333;
  margin-bottom: 50px;
}

.safe_attention h2 img {
  width: 42px;
  height: auto;
  margin: 0 10px -8px 0;
}

.safe_attention p {
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 1px;
  text-align: left;
}

.safe_attention p em {
  font-weight: bold;
  font-style: normal;
}

.safe_attention p strong {
  font-size: 21px;
  font-weight: bold;
  font-style: normal;
  color: var(--point_color);
}

.safe_attention p span::before {
  content: "●";
  color: var(--main_color);
}

/* スマホ表示時（767px以下） */
@media screen and (max-width: 767px) {
  p.safe_text {
    width: 90%;
    margin: 0 auto;
  }
}


@media (max-width: 768px) {
  .case {
    padding-bottom: 50px;
  }

  .safe_attention {
    width: 95%;
    padding: 30px;
  }

  .safe_attention h2 {
    font-size: 22px;
    margin-bottom: 30px;
  }

  .safe_attention h2 img {
    width: 28px;
    margin: 0 10px -8px 0;
  }

  .safe_attention p {
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 1px;
    text-align: left;
  }

}


/* フッター */
footer {
  background-color: var(--bg_color);
  position: relative;
  padding-bottom: 50px;
}

.footer_info {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.footer_info_right,
.footer_info_left {
  display: flex;
  flex-direction: column;
  width: 50%;
  gap: 10px; 
  font-family: 'Noto Sans JP', sans-serif;
  padding: 20px; 
}

.googlemap iframe {
  width: 100%;
  max-height: 300px;
}

@media screen and (max-width: 768px) {
  .footer_info {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer_info_right,
  .footer_info_left {
    width: 100%;
    padding: 0; 
  }

  .footer_info_right img {
    width: 80%;
    margin: 30px auto 0;
  }
}

.footer_info_right table {
  margin-top: 30px;
}

.footer_info_right th,
.footer_info_right td {
  font-size: 16px;
  color: #333;
  padding: 6px 18px;
}


/* コンテナの幅調整 */
.schedule-container {
  width: 100%;
  max-width: 800px;
  margin: 20px auto;
}

/* テーブルの基本スタイル */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ccc;
  text-align: center;
}

/* ヘッダー部分 */
.schedule-table thead th {
  background-color: var(--strong_color);
  color: #ffffff;
  padding: 15px 10px;
  border: 1px solid #333;
  font-size: 16PX;
}

/* 各セル */
.schedule-table td {
  padding: 20px 10px;
  border: 1px solid #333;
  font-size: 16px;
  color: #333;
  background-color: #fff;
}

/* 時間表示の列 */
.schedule-table td.time-slot {
  font-weight: bold;
  font-size: 18px;
}

/* 休診マーク（斜線）の色を少し薄くする場合 */
.schedule-table td.closed {
  color: #666;
}

/* レスポンシブ対応：スマホで横スクロール可能に */
@media screen and (max-width: 768px) {
  .schedule-container {
    overflow-x: auto;
  }
  .schedule-table {
    /* min-width: 768px; */
    width: 95%;
    margin: 0 auto;
  }

  .schedule-table thead th {
    padding: 10px;
    border: 1px solid #333;
    font-size: 15px;
  }

  .schedule-table td {
    padding:10px;
    font-size: 15px;
  }

  .schedule-container p {
    padding-left: 10px;
  }

}

.google-map {
  display: inline-block;
  position: relative;
  width: fit-content;
  padding: 15px 50px 15px 30px;
  margin-bottom: 20px;
  background-color: var(--strong_color);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  letter-spacing: 2px;
}

.google-map::after {
  content: "";
  width: 10px;
  height: 10px;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  transform: rotate(45deg);
  position: absolute;
  margin-top: -5px;
  top: 50%;
  right: 20px;
}

.google-map:hover {
  opacity: 0.8;
}

/* レスポンシブ対応：スマホで横スクロール可能に */
@media screen and (max-width: 768px) {
  .google-map {
    width: 90%;
    text-align: center;
    margin: 0 auto 50px;
  }
}

p.copyright {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  background-color: var(--main_color);
  color: #fff;
}

/* TOPへ */
.pagetop {
  position: fixed;
  bottom: 10px;
  right: 10px;
  background-color: var(--strong_color);
  width: 50px;
  height: 50px;
  padding: 15px;
  border: 1px solid #fff;
  z-index: 100;
}

.pagetop a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.pagetop img {
  width: 80%;
  height: auto;
}



/* 電話タップ */
.tel_tap {
  position: fixed;
  text-align: center;
  bottom: 50%;
  right: 0;
  max-width: 100px;
  height: auto;
  padding: 20px 10px;
  background-color: var(--strong_color);
}

.tel_tap a {
  text-decoration: none;
  color: #fff;
  font-size: 24px;
}

.tel_tap a img {
  width: 48px;
  height: auto;
}

@media screen and (max-width: 767px) {
  .tel_tap {
    display: none;
  }
}

/* WEB予約タップ */
.web_tap {
  position: fixed;
  text-align: center;
  bottom: 25%;
  right: 0;
  max-width: 100px;
  height: auto;
  padding: 20px 10px;
  background-color: #fff;
  border: 2px solid var(--strong_color);
}

.web_tap a {
  text-decoration: none;
  color: var(--strong_color);
  font-size: 24px;
}

.web_tap a img {
  width: 50px;
  height: auto;
}

@media screen and (max-width: 767px) {
  .web_tap {
    display: none;
  }
}


/* ハンバーガーメニュー */
.sp_menu {
  display: none;
}

@media screen and (max-width: 767px) {
  .sp_menu {
    display: block;
    position: relative; /* 追加 */
    z-index: 1000;      /* 追加 */
  }
  .sp_menu .hamburger {
    width: 30px;
    height: 25px;
    position: fixed;
    top: 20px;
    right: 10px;
    cursor: pointer;
    z-index: 1000;
  }

  .sp_menu .hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--strong_color);
    margin-bottom: 5px;
    transition: 0.3s;
  }

  /* メニュー本体 */
  .sp_menu .menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 5px rgba(0,0,0,0.2);
    transition: 0.3s;
    z-index: 999;
    padding-top: 30px;
  }

  /* メニュー開いた状態 */
  .sp_menu .menu.active {
    right: 0;
  }

  .sp_menu .menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .sp_menu .menu li {
    border-bottom: 1px solid #ddd;
  }

  .sp_menu .menu a {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    line-height: 1.35;
  }

  .sp_menu .menu a span {
    font-size: 12px;
    color: #888;
  }

  /* ボタンアニメーション */
  .sp_menu .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

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

  .sp_menu .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* スクロール禁止 */
  body.no-scroll {
    overflow: hidden;
  }

  /* オーバーレイ */
  .sp_menu .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 998;
  }

  /* 表示状態 */
  .sp_menu .overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

/* フッターボタン */
.sp_footer {
  display: none;
}

@media screen and (max-width: 767px) {
  .sp_footer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 100px;
    z-index: 100;
  }

  .sp_footer a {
    width: 50%;
    letter-spacing: 1px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    padding: 15px 0;
  }

  .sp_footer a img {
    margin: 0 0 -5px 0;
  }

  .sp_footer a.sp_footer_tel,
  .sp_footer a.sp_footer_web {
    width: 25%;
    font-size: 18px;
    color: var(--strong_color);
    color: #fff;
  }
  
  .sp_footer a.sp_footer_tel {
    background-color: var(--strong_color);
  }

  .sp_footer a.sp_footer_web {
    background-color: var(--point_color);
  }


  .sp_footer a.sp_footer_tel img,
  .sp_footer a.sp_footer_web img {
    width: auto;
    height: 36px;
    margin-bottom: 3px;
  }

  .sp_footer a.sp_footer_mail {
    width: 50%;
    font-size: 18px;
    line-height: 1.2;
    background-color: #fff;
    border: 2px solid var(--strong_color);
    color: var(--strong_color);
  }

  .sp_footer a.sp_footer_mail img {
    width: auto;
    height: 42px;
    margin-bottom: 3px;
  }  
}

/* 画面幅が「最小1500px」の時（1500px以上） */
@media screen and (min-width: 1500px) {
  .br_mac {
    display: none;
  }
}

/* 画面幅が「最大1500px」の時（1500px以下） */
@media screen and (max-width: 1500px) {
  .br_mac {
    display: block;
  }
}