@charset "UTF-8";
/* Reset box-model and set borders */
/* ============================================ */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Kiwi+Maru:wght@300;400;500&display=swap");
*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
}

section {
  width: 100%;
}

span {
  display: block;
}

/* Document */
/* ============================================ */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 * 3. Remove gray overlay on links for iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -webkit-tap-highlight-color: transparent; /* 3*/
}

/* Sections */
/* ============================================ */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/* Vertical rhythm */
/* ============================================ */
p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
  margin: 0;
}

/* Headings */
/* ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  margin: 0;
}

/* Lists (enumeration) */
/* ============================================ */
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Lists (definition) */
/* ============================================ */
dt {
  font-weight: normal;
}

dd {
  margin-left: 0;
}

/* Grouping content */
/* ============================================ */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
  margin: 0;
  clear: both;
  color: inherit;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: inherit; /* 1 */
  font-size: inherit; /* 2 */
  white-space: -moz-pre-wrap;
  white-space: -pre-wrap;
  white-space: -o-pre-wrap;
  white-space: pre-wrap;
}

address {
  font-style: inherit;
}

/* Text-level semantics */
/* ============================================ */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
  display: block;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  text-decoration: underline; /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content */
/* ============================================ */
/**
 * Prevent vertical alignment issues.
 */
img,
embed,
object,
iframe {
  vertical-align: bottom;
}

/* Forms */
/* ============================================ */
/**
 * Reset form fields to make them styleable
 */
button,
input,
optgroup,
select,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  outline: 0;
  border-radius: 0;
  text-align: inherit;
}

/**
 * Reset radio and checkbox appearance to preserve their look in iOS.
 */
[type=checkbox] {
  -webkit-appearance: checkbox;
  -moz-appearance: checkbox;
       appearance: checkbox;
}

[type=radio] {
  -webkit-appearance: radio;
  -moz-appearance: radio;
       appearance: radio;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
}

button[disabled],
[type=button][disabled],
[type=reset][disabled],
[type=submit][disabled] {
  cursor: default;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Remove arrow in IE10 & IE11
 */
select::-ms-expand {
  display: none;
}

/**
 * Remove padding
 */
option {
  padding: 0;
}

/**
 * Reset to invisible
 */
fieldset {
  margin: 0;
  padding: 0;
  min-width: 0;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the outline style in Safari.
 */
[type=search] {
  outline-offset: -2px; /* 1 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/**
 * Clickable labels
 */
label[for] {
  cursor: pointer;
}

/* Interactive */
/* ============================================ */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/*
 * Remove outline for editable content.
 */
[contenteditable] {
  outline: none;
}

/* Table */
/* ============================================ */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption {
  text-align: left;
}

td,
th {
  vertical-align: top;
  padding: 0;
}

th {
  text-align: left;
  font-weight: bold;
}

/* Misc */
/* ============================================ */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Varuables
======================================== */
/* --- Color --- */
/* --- Font --- */
/* ---  Layout --- */
.lg-inner {
  width: 1200px;
  max-width: calc(100% - 6vw);
  margin: 0 auto;
}

.md-inner {
  width: 780px;
  max-width: calc(100% - 6vw);
  margin: 0 auto;
}

/* Responsive
======================================== */
@media (max-width: 850px) {
  ._pc {
    display: none !important;
  }
}
@media (min-width: 851px) {
  ._sp {
    display: none !important;
  }
}
@media (max-width: 1250px) {
  ._xl {
    display: none !important;
  }
}
/* Setting
======================================== */
.space {
  padding-top: 60px !important;
  padding-bottom: 60px !important;
}
@media (min-width: 851px) {
  .space {
    padding-top: 90px !important;
    padding-bottom: 90px !important;
  }
}

.with-bg {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
  width: 100vw;
}

.anchor {
  position: relative;
}
.anchor span {
  position: absolute;
  top: -100px;
}
@media (min-width: 851px) {
  .anchor span {
    top: -150px;
  }
}

body {
  font-size: 16px;
  color: #333;
  font-family: "Kiwi Maru", serif;
  max-width: 100%;
  vertical-align: middle;
  box-sizing: border-box;
  line-height: 180%;
  letter-spacing: 0.05em;
  word-break: break-all;
  overflow-x: clip;
  max-width: 1800px;
  margin: 0 auto;
}

img,
a,
dl,
ul,
li,
table,
figure {
  display: block;
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

pre {
  overflow: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow: hidden !important;
}

a {
  transition: 0.3s all;
}

._hover:hover {
  transform: translateY(-0.1875em);
}

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

.lg-text-center {
  text-align: left !important;
}
@media (min-width: 851px) {
  .lg-text-center {
    text-align: center !important;
  }
}

.text-left {
  text-align: left;
}

._sm {
  font-size: 14px;
}

.mt-0 {
  margin-top: 0 !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.pt-0 {
  padding-top: 0 !important;
}

.pb-0 {
  padding-bottom: 0 !important;
}

/* Parts
======================================== */
.ttl-trees {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 24px;
  margin-bottom: 40px;
  font-weight: 500;
  text-align: center;
}
@media (min-width: 851px) {
  .ttl-trees {
    font-size: 30px;
    margin-bottom: 60px;
  }
}
.ttl-trees:before {
  content: "";
  display: block;
  background-image: url(../img/icon-ttl-trees.png);
  background-size: cover;
  aspect-ratio: 59/60;
  width: 45px;
  height: auto;
}
@media (min-width: 851px) {
  .ttl-trees:before {
    width: 59px;
  }
}

.basic-btn {
  background-color: #f6b24d;
  color: #fff;
  width: 100%;
  max-width: 300px;
  height: 60px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  border-radius: 100px;
  margin-top: clamp(30px, calc(30px + (100vw - 750px) * (50px - 30px) / (850px - 750px)), 50px);
}

/* Header
======================================== */
header {
  height: 70px;
  background-color: #fff;
  width: 100%;
  /* --- ハンバーガーメニュー --- */
}
@media (min-width: 851px) {
  header {
    height: 100px;
  }
}
header .header-wrap {
  height: 70px;
  position: fixed;
  z-index: 1000;
  background-color: #fff;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0px 3px 20px rgba(0, 0, 0, 0.15);
}
@media (min-width: 851px) {
  header .header-wrap {
    height: 100px;
  }
}
header .header-wrap .lg-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
@media (max-width: 850px) {
  header .header-wrap .lg-inner {
    margin-right: calc(50% - 50vw);
    margin-left: auto;
  }
}
header .header-wrap .lg-inner .logo {
  width: auto;
  height: 50px;
}
@media (min-width: 750px) {
  header .header-wrap .lg-inner .logo {
    height: 60px;
  }
}
@media (min-width: 851px) {
  header .header-wrap .lg-inner .logo {
    height: 65px;
  }
}
header .header-wrap nav ul.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
header .hamburger {
  display: block;
  margin: 0;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.8);
  width: 70px;
  height: 70px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
@media (min-width: 851px) {
  header .hamburger {
    display: none !important;
  }
}
header .hamburger .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto 0;
  transition: all 0.3s ease-in-out;
  background-color: #333;
}
header .hamburger .bar:nth-child(1) {
  margin-top: 0px;
}
header .hamburger.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
header .hamburger.active .bar:nth-child(2) {
  opacity: 0;
}
header .hamburger.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
header .nav-container {
  position: fixed;
  transition: 0.2s;
  top: 70px;
  right: -100%;
  background: #fff;
  width: 100%;
  height: calc(100% - 70px);
  z-index: 99999;
  overflow-y: scroll;
  /* --- Menu --- */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 30px;
}
header .nav-container.nav-active {
  right: 0;
}
header .nav-container .inner_nav {
  width: 85%;
  font-size: 18px;
}
header .nav-container .inner_nav ul {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}
header .nav-container .inner_nav ul li {
  padding: 20px 0;
  text-align: center;
  margin: 0 auto;
  position: relative;
}
header .nav-container .inner_nav ul li.active:before {
  position: absolute;
  content: "";
  display: inline-block;
  background-color: #daf3dd;
  width: 47px;
  height: 47px;
  border-radius: 100%;
  z-index: -1;
  position: absolute;
  top: 50%;
  z-index: -1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Section
======================================== */
section.sub-mv {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
section.sub-mv h1 {
  position: absolute;
  color: #fff;
  font-size: 30px;
}
@media (min-width: 851px) {
  section.sub-mv h1 {
    font-size: 45px;
  }
}
section.sub-mv img {
  width: 100vw;
}

/* --- 診療時間 --- */
dl.time-table {
  width: 780px;
  margin: 0 auto;
}
dl.time-table .row {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #cccccc;
}
dl.time-table .row dt,
dl.time-table .row dd {
  padding: 0px;
  text-align: center;
  font-size: 12px;
}
@media (min-width: 851px) {
  dl.time-table .row dt,
  dl.time-table .row dd {
    padding: 20px 20px;
    width: 200px;
    font-size: 18px;
  }
}
dl.time-table .row dt:last-child,
dl.time-table .row dd:last-child {
  flex: 1.3;
}
dl.time-table .row dt {
  flex: 3;
}
dl.time-table .row dd {
  flex: 1;
}

/* Footer
======================================== */
.clinic-footer {
  background: #f6f6e8;
  /* 診療時間テーブル */
}
.clinic-footer .lg-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.clinic-footer .footer-top {
  display: flex;
  flex-direction: column;
  margin-top: 50px;
}
.clinic-footer .footer-top .list a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  line-height: 1;
  gap: 5px;
  margin-bottom: 5px;
  font-size: 13px;
}
.clinic-footer .footer-top .list a:before {
  content: "";
  display: block;
  background-image: url(../img/footer-icon.png);
  background-size: cover;
  width: 20px;
  height: 20px;
}
.clinic-footer .footer-logo {
  width: 360px;
  max-width: 100%;
}
.clinic-footer .footer-info {
  margin-top: 15px;
}
@media (min-width: 851px) {
  .clinic-footer .footer-info {
    margin-top: 0;
  }
}
.clinic-footer .footer-address {
  font-size: 14px;
  margin-bottom: 10px;
}
.clinic-footer .tel {
  font-size: clamp(40px, calc(40px + (100vw - 750px) * (55px - 40px) / (850px - 750px)), 55px);
  color: #27ad37;
  font-weight: 500;
  display: flex;
  align-items: center;
  line-height: 1;
  gap: 5px;
  font-family: "Noto Sans JP", sans-serif;
  justify-content: center;
  margin-bottom: 30px;
}
.clinic-footer .tel:before {
  content: "";
  display: block;
  background-image: url(../img/footer-tel.png);
  background-size: cover;
  width: clamp(55px, calc(55px + (100vw - 750px) * (60px - 55px) / (850px - 750px)), 60px);
  height: clamp(55px, calc(55px + (100vw - 750px) * (60px - 55px) / (850px - 750px)), 60px);
  flex-shrink: 0;
}
.clinic-footer .footer-table {
  margin-top: 25px;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  font-size: 14px;
  width: 600px;
  text-align: center;
}
@media (max-width: 850px) {
  .clinic-footer .footer-table {
    display: none;
  }
}
.clinic-footer .footer-table .table-row {
  display: flex;
  border-bottom: 1px solid #b5ddc3;
}
.clinic-footer .footer-table .table-row:last-child {
  border-bottom: none;
}
.clinic-footer .footer-table .table-head {
  background: #27ad37;
  color: #fff;
}
.clinic-footer .footer-table .time-title,
.clinic-footer .footer-table .time {
  width: 35%;
  padding: 12px 8px;
}
.clinic-footer .footer-table .day,
.clinic-footer .footer-table .mark {
  width: 10.8333333333%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
  border-left: 1px solid #b5ddc3;
}
.clinic-footer .footer-table .mark {
  color: #27ad37;
  font-size: 18px;
  font-weight: bold;
}
.clinic-footer .footer-table .mark.slash {
  color: #707070;
}
.clinic-footer .bg:before {
  content: "";
  display: block;
  background-image: url("../img/footer-bg.png");
  background-size: cover;
  aspect-ratio: 1280/150;
  width: 100vw;
  height: 100px;
  mask-image: linear-gradient(to bottom, transparent 0%, transparent 30%, black 60%, black 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 30%, black 60%, black 100%);
}
@media (min-width: 851px) {
  .clinic-footer .bg:before {
    height: auto;
  }
}

/* Fuwa
======================================== */
.fuwa {
  opacity: 0;
}

.scroll-in {
  z-index: 100;
  animation-name: fadeUpAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
section.mv {
  background-image: url("../img/top-mv.jpg");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  aspect-ratio: 378/570;
  width: 100%;
  height: calc(100vh - 100px);
  position: relative;
  border-radius: 0 0 5% 5%;
  overflow: hidden;
  display: grid;
  align-items: end;
}
@media (min-width: 851px) {
  section.mv {
    aspect-ratio: 1281/682.8;
    position: relative;
    border-radius: 0 0 25% 25%;
    align-items: center;
  }
}
section.mv .text {
  position: relative;
  z-index: 1;
}
@media (max-width: 850px) {
  section.mv .text {
    padding-bottom: 3%;
  }
}
section.mv .text img {
  width: clamp(120px, calc(120px + (100vw - 750px) * (180px - 120px) / (850px - 750px)), 180px);
}
section.mv .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 2s ease;
  z-index: 0;
}
section.mv .slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
section.mv .slide.active {
  opacity: 1;
}

section.news {
  background-color: #fffbf1;
  margin: 0 calc(50% - 50vw);
  padding: 0 calc(50vw - 50%);
  width: 100vw;
}
section.news .articls-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
section.news .articls-list a {
  position: relative;
  align-items: center;
  display: grid;
  gap: clamp(0px, calc(0px + (100vw - 750px) * (30px - 0px) / (850px - 750px)), 30px);
  background-color: #fff;
  border-radius: 0 30px 0 30px;
  padding: 15px 20px;
}
@media (min-width: 851px) {
  section.news .articls-list a {
    padding: 20px 25px;
    grid-template-columns: 8ch 1fr;
  }
}
section.news .articls-list a .date {
  font-family: "Noto Sans JP", sans-serif;
  color: #8f8f8f;
  font-weight: 600;
}
section.news .articls-list a:after {
  content: "";
  margin-left: auto;
  display: block;
  background-image: url(../img/icon-news-triangle.png);
  background-size: cover;
  width: 12px;
  height: 12px;
  position: absolute;
  right: 2%;
}

section.base {
  background-image: url("../img/top-base-bg_sp.jpg");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 0 calc(50% - 50vw);
  padding: 0 calc(50vw - 50%);
  width: 100vw;
  position: relative;
}
@media (min-width: 851px) {
  section.base {
    background-image: url("../img/top-base-bg.jpg");
  }
}
section.base:before {
  position: absolute;
  left: 0;
  content: "";
  display: block;
  height: 50px;
  width: 100vw;
  top: -50px;
  background-image: url("../img/top-base-bg2.png");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}
section.base .container {
  background-color: #fff;
  margin-left: calc(50% - 50vw);
  margin-right: auto;
  border-radius: 0 80px 80px 0;
  padding: 30px 0 65px;
}
section.base .container .inner {
  width: 80%;
  margin: 0 auto;
}

.circle-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px clamp(40px, calc(40px + (100vw - 750px) * (100px - 40px) / (850px - 750px)), 100px);
}
.circle-wrap .clinic-card {
  width: 100%;
  max-width: 370px;
  display: flex;
  flex-direction: column;
}
@media (min-width: 851px) {
  .circle-wrap .clinic-card {
    width: 40%;
  }
}
.circle-wrap .clinic-card:nth-child(1) .clinic-card__head {
  background-color: #009a81;
}
.circle-wrap .clinic-card:nth-child(1) .clinic-card__button {
  color: #009a81;
  border-color: #009a81;
}
.circle-wrap .clinic-card:nth-child(1) .clinic-card__button:hover {
  background-color: #009a81;
  color: #fff;
}
.circle-wrap .clinic-card:nth-child(2) .clinic-card__head {
  background-color: #8b3fae;
}
.circle-wrap .clinic-card:nth-child(2) .clinic-card__button {
  color: #8b3fae;
  border-color: #8b3fae;
}
.circle-wrap .clinic-card:nth-child(2) .clinic-card__button:hover {
  background-color: #8b3fae;
  color: #fff;
}
.circle-wrap .clinic-card:nth-child(3) .clinic-card__head {
  background-color: #4c79bd;
}
.circle-wrap .clinic-card:nth-child(3) .clinic-card__button {
  color: #4c79bd;
  border-color: #4c79bd;
}
.circle-wrap .clinic-card:nth-child(3) .clinic-card__button:hover {
  background-color: #4c79bd;
  color: #fff;
}
.circle-wrap .clinic-card__head {
  color: #ffffff;
  padding: 10px 16px;
  font-size: 20px;
  font-weight: 500;
  width: 80%;
  border-radius: 15px 0 15px 0;
  text-align: center;
}
.circle-wrap .clinic-card__image {
  margin: 0;
  overflow: hidden;
}
.circle-wrap .clinic-card__image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
}
.circle-wrap .clinic-card__text {
  font-size: 15px;
  line-height: 1.7;
  color: #444444;
  text-align: left;
  margin: 15px 0;
}
.circle-wrap .clinic-card__button {
  display: inline-block;
  padding: 8px 26px;
  width: -moz-fit-content;
  width: fit-content;
  border-radius: 999px;
  border: 2px solid #8b3fae;
  text-decoration: none;
  background-color: #ffffff;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  line-height: 1;
  margin-left: auto;
}
.circle-wrap .clinic-card__button:hover {
  color: #ffffff;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}
.circle-wrap .clinic-card__button:active {
  transform: translateY(0);
  box-shadow: none;
}

.lead-container {
  position: relative;
  margin-bottom: clamp(40px, calc(40px + (100vw - 750px) * (60px - 40px) / (850px - 750px)), 60px);
  margin: 0 calc(50% - 50vw) clamp(50px, calc(50px + (100vw - 750px) * (90px - 50px) / (850px - 750px)), 90px);
  padding: 0 calc(50vw - 50%);
  width: 100vw;
}
@media (min-width: 750px) {
  .lead-container {
    aspect-ratio: 1280/407;
    height: auto;
    background-image: url("../img/top-ser-lead-bg.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
  }
}
@media (max-width: 750px) {
  .lead-container:after {
    content: "";
    position: relative;
    display: block;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100vw;
    height: 100%;
    background-image: url("../img/top-ser-lead-bg_sp.jpg");
    aspect-ratio: 2181/812;
    margin: 0 calc(50% - 50vw);
  }
}
.lead-container .text {
  position: relative;
  z-index: 100;
  font-size: clamp(15px, calc(15px + (100vw - 750px) * (30px - 15px) / (850px - 750px)), 30px);
  line-height: 180%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
@media (max-width: 750px) {
  .lead-container .text {
    justify-content: center;
    height: 200px;
  }
  .lead-container .text:before {
    content: "";
    display: block;
    background-image: url(../img/top-ser-lead-textbg_sp.png);
    background-size: cover;
    aspect-ratio: 391/428;
    width: auto;
    height: 80%;
    margin-left: calc(50% - 50vw);
    margin-right: auto;
  }
  .lead-container .text::after {
    content: "";
    position: absolute;
    z-index: 50;
    background: linear-gradient(to bottom, #fff 0%, rgba(255, 255, 255, 0) 100%);
    bottom: -40px;
    width: 100vw;
    height: 40px;
    margin: 0 calc(50% - 50vw);
    z-index: 10;
  }
}
.lead-container .text p {
  z-index: 200;
  position: absolute;
}
.lead-container .text p span {
  display: inline-block;
  color: #d27000;
  font-size: clamp(25px, calc(25px + (100vw - 750px) * (35px - 25px) / (850px - 750px)), 35px);
}

section.services {
  position: relative;
}
section.services dl.medical-list {
  margin: 0 auto;
  padding: 0;
  width: 800px;
  max-width: 100%;
}
section.services dl.medical-list .row {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid #ffffff;
}
section.services dl.medical-list .row span {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
section.services dl.medical-list .row span:after {
  content: "";
  display: block;
  background-size: cover;
  width: clamp(35px, calc(35px + (100vw - 750px) * (50px - 35px) / (850px - 750px)), 50px);
  height: clamp(35px, calc(35px + (100vw - 750px) * (50px - 35px) / (850px - 750px)), 50px);
}
section.services dl.medical-list .row:nth-child(1) span:after {
  background-image: url(../img/icon-naika.svg);
}
section.services dl.medical-list .row:nth-child(2) span:after {
  background-image: url(../img/icon-syoukaki.svg);
}
section.services dl.medical-list .row:nth-child(3) span:after {
  background-image: url(../img/icon-kokyuu.svg);
}
section.services dl.medical-list .row:nth-child(4) span:after {
  background-image: url(../img/icon-naibun.svg);
}
section.services dl.medical-list .row:nth-child(5) span:after {
  background-image: url(../img/icon-seikatsu.svg);
}
section.services dl.medical-list .row:nth-child(6) span:after {
  background-image: url(../img/icon-hinyouki.svg);
}
section.services dl.medical-list .row:nth-child(7) span:after {
  background-image: url(../img/icon-alergy.svg);
}
section.services dl.medical-list .row:nth-child(8) span:after {
  background-image: url(../img/icon-kenkou.svg);
}
section.services dl.medical-list .row dt,
section.services dl.medical-list .row dd {
  padding: 16px 20px;
  margin: 0;
}
section.services dl.medical-list .row dt {
  width: clamp(100px, calc(100px + (100vw - 750px) * (138px - 100px) / (850px - 750px)), 138px);
  background-color: #c9eddc;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-left: 0px;
  padding-right: 0px;
  text-align: center;
}
section.services dl.medical-list .row dd {
  flex: 1;
  background-color: #f3f3f3;
  display: flex;
  align-items: center;
  font-size: clamp(14px, calc(14px + (100vw - 750px) * (16px - 14px) / (850px - 750px)), 16px);
}

section.greeting {
  background-color: #eff9f5;
  position: relative;
  padding-top: 150px;
}
section.greeting:before {
  content: "";
  position: absolute;
  display: block;
  background-image: url(../img/top-gre-ele1.png);
  background-size: cover;
  aspect-ratio: 1284/567;
  width: 688px;
  max-width: 100%;
  height: auto;
  top: 0;
  left: 0;
  margin-left: calc(50% - 50vw);
  margin-right: auto;
}
section.greeting:after {
  content: "";
  position: absolute;
  display: block;
  background-image: url(../img/top-gre-ele2.png);
  background-size: cover;
  aspect-ratio: 2174/962;
  width: 1139px;
  max-width: 100%;
  height: auto;
  bottom: 0;
  right: 0;
  margin-right: calc(50% - 50vw);
  margin-left: auto;
}
section.greeting figure {
  width: 727px;
  max-width: 85vw;
  margin: clamp(0px, calc(10px + (100vw - 750px) * (0px - 10px) / (850px - 750px)), 10px) 40px 0 auto;
  z-index: 100;
  position: relative;
  transform: translateY(30px);
}
@media (min-width: 851px) {
  section.greeting figure {
    transform: translateY(40px);
  }
}
section.greeting figure:after {
  content: "";
  position: absolute;
  display: block;
  background-image: url(../img/top-gre-ele3.png);
  background-size: cover;
  aspect-ratio: 600/419;
  width: clamp(100px, calc(100px + (100vw - 750px) * (250px - 100px) / (850px - 750px)), 250px);
  max-width: 100%;
  height: auto;
  bottom: 0;
  right: -50px;
  z-index: 1000;
}
@media (min-width: 851px) {
  section.greeting figure:after {
    right: -80px;
  }
}

@media (min-width: 750px) {
  section.endoscopy .lead-container {
    background-image: url("../img/top-end-bg.jpg");
    aspect-ratio: 1280/411;
  }
}
section.endoscopy .lead-container:after {
  background-image: url("../img/top-end-bg_sp.jpg");
  aspect-ratio: 375/198;
}
@media (max-width: 750px) {
  section.endoscopy .lead-container:after {
    height: 180px;
    background-position: center top;
  }
}
section.endoscopy .lead-container .text {
  font-size: clamp(18px, calc(18px + (100vw - 750px) * (20px - 18px) / (850px - 750px)), 20px);
}
@media (max-width: 750px) {
  section.endoscopy .lead-container .text {
    height: 100%;
    align-items: end;
  }
  section.endoscopy .lead-container .text:before {
    background-image: url("../img/top-end-textbg.jpg");
    aspect-ratio: 375/279;
    width: 100%;
    height: 180px;
  }
}
section.endoscopy .lead-container .text span {
  color: #333;
  font-size: clamp(28px, calc(28px + (100vw - 750px) * (35px - 28px) / (850px - 750px)), 35px);
}
section.endoscopy .ttl-bubbles {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: clamp(19px, calc(19px + (100vw - 750px) * (27px - 19px) / (850px - 750px)), 27px);
  margin-bottom: 30px;
  font-weight: 500;
  color: #009a81;
}
section.endoscopy .ttl-bubbles:before, section.endoscopy .ttl-bubbles:after {
  content: "";
  display: block;
  background-size: cover;
  width: 28px;
  height: auto;
  aspect-ratio: 28.8/24.53;
  background-image: url(../img/top-end-tit1.png);
}
section.endoscopy .ttl-bubbles:before {
  margin-bottom: 1em;
}
section.endoscopy .ttl-bubbles:after {
  margin-top: 1em;
  transform: scaleX(-1) scaleY(-1);
}
section.endoscopy .circle-wrap {
  gap: 35px;
}
section.endoscopy .circle-wrap .clinic-card {
  width: 80%;
  max-width: 450px;
}
@media (min-width: 851px) {
  section.endoscopy .circle-wrap .clinic-card {
    width: calc((100% - 70px) / 3);
  }
}