/* ------------------------------------
// structure
------------------------------------ */
#header #contact_fixed {
  display: none;
}

/* ------------------------------------
// #top_header
------------------------------------ */
#top_header {
  padding: 0 2rem;
  position: relative;
  max-width: calc(1200px + 4rem);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 60% 1fr;
  gap: 2.1vw;
}
#top_header .photo {
  position: relative;
}
#top_header .photo .catch {
  background: #978B4D;
  position: absolute;
  left: 0;
  top: 10%;
  z-index: 2;
  padding: 1rem;
  color: #FFF;
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(1.2rem, 1.7vw, 2.4rem);
  border-radius: 0 5px 5px 0;
}
#top_header .clinicData {
  align-self: self-end;
}
#top_header .lead {
  font-family: "Zen Old Mincho", serif;
  font-weight: 600;
  font-size: clamp(2rem, 2.2vw, 3.2rem);
  margin-bottom: clamp(1rem, 2.8vw, 4rem);
}
#top_header .sublead {
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(1.4rem, 1.1vw, 1.6rem);
  margin-bottom: clamp(1rem, 3.5vw, 5rem);
}
#top_header .tel {
  margin-bottom: 1.4vw;
}
#top_header .tel a {
  background: #978B4D;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  font-family: "Kaisei HarunoUmi", serif;
  font-size: 2.4rem;
  font-size: clamp(2rem, 2.2vw, 3.2rem);
  color: #FFF;
  padding: 1.5rem 1rem;
  border-radius: 10px;
}
#top_header .tel a:before {
  content: "";
  width: clamp(2.4rem, 2.5vw, 3.6rem);
  aspect-ratio: 1/1;
  mask: url(/lib/img/cmn/icon_tel.svg) no-repeat center/contain;
  background: #FFF;
  display: block;
}
@media screen and (max-width: 768px) {
  #top_header {
    display: block;
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  #top_header .photo {
    width: 100%;
    margin-bottom: 2rem;
  }
  #top_header .lead {
    text-align: center;
  }
  #top_header .sublead {
    text-align: center;
  }
}

/* ------------------------------------
// #news
------------------------------------ */
#news {
  border-top: 1px solid #C2BFB1;
  border-bottom: 1px solid #C2BFB1;
  padding: clamp(3rem, 4.2vw, 6rem) 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  grid-template-areas: "h2 news" "link news";
  gap: 1rem clamp(3rem, 4.2vw, 6rem);
}
#news h2 {
  font-size: clamp(2.4rem, 2.2vw, 3.2rem);
  font-family: "Zen Old Mincho", serif;
  grid-area: h2;
  margin-bottom: 3rem;
}
#news .link {
  grid-area: link;
}
#news ul {
  grid-area: news;
  align-self: center;
}
#news ul li {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 1rem 3rem;
}
#news ul li + li {
  margin-top: 1rem;
}
#news ul li a {
  text-decoration: underline;
}
@media screen and (max-width: 768px) {
  #news {
    grid-template-columns: 1fr;
    grid-template-areas: "h2" "news" "link";
    gap: 1.5rem;
  }
  #news h2 {
    text-align: center;
    margin-bottom: 0;
  }
  #news .link {
    text-align: center;
  }
  #news .link a {
    margin: 0 auto;
  }
  #news ul li {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  #news ul li + li {
    margin-top: 1.5rem;
  }
}

/* ------------------------------------
// #safemedical
------------------------------------ */
#safemedical {
  margin: 10rem 0;
  background: #FFF;
  padding: clamp(3rem, 4.2vw, 6rem);
}
#safemedical hgroup {
  margin-bottom: 5rem;
}
#safemedical hgroup .en {
  font-family: "Dai Banna SIL", serif;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 1.4vw, 2rem);
  color: #ADA579;
  text-align: center;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}
#safemedical hgroup h2 {
  font-size: clamp(2.4rem, 2.2vw, 3.2rem);
  font-family: "Zen Old Mincho", serif;
  text-align: center;
  line-height: 1.8;
}
#safemedical hgroup h2 span {
  position: relative;
}
#safemedical hgroup h2 span::after {
  content: "";
  width: 100%;
  height: 2px;
  border-bottom: 2px dotted #83AD28;
  position: absolute;
  left: 0;
  bottom: -2px;
}
#safemedical ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}
#safemedical ul li {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  gap: 0rem;
}
#safemedical ul li .icon {
  max-width: 70%;
  margin: 0 auto;
  border-radius: 100vh;
  background: #E9CF65;
  margin-bottom: 1.5rem;
}
#safemedical ul li .title {
  text-align: center;
  align-self: center;
  margin-bottom: 1.5rem;
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(1.8rem, 1.4vw, 2rem);
  line-height: 1.3;
}
#safemedical ul li p {
  font-size: clamp(1.5rem, 1.3vw, 1.8rem);
}
@media screen and (max-width: 768px) {
  #safemedical {
    margin: 5rem 0;
    padding: 2rem 1rem;
  }
  #safemedical hgroup {
    margin-bottom: 3rem;
  }
  #safemedical hgroup h2 {
    font-size: clamp(2.2rem, 2.2vw, 3.2rem);
    line-height: 1.6;
  }
  #safemedical ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  #safemedical ul li {
    display: grid;
    grid-template-columns: 40% 1fr;
    gap: 0;
  }
  #safemedical ul li .icon {
    grid-row: 1/3;
    align-self: self-start;
  }
  #safemedical ul li .title {
    margin-bottom: 0.5rem;
    text-align: left;
  }
  #safemedical ul li .title br.sp {
    display: none !important;
  }
  #safemedical ul li p {
    font-size: 1.4rem;
  }
}

/* ------------------------------------
// #greeting
------------------------------------ */
#greeting {
  margin: 10rem 0;
}
#greeting hgroup {
  margin-bottom: 5rem;
}
#greeting hgroup .en {
  font-family: "Dai Banna SIL", serif;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  text-transform: uppercase;
  font-size: clamp(1.8rem, 1.4vw, 2rem);
  color: #ADA579;
  text-align: center;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}
#greeting hgroup h2 {
  font-size: clamp(2.4rem, 2.2vw, 3.2rem);
  font-family: "Zen Old Mincho", serif;
  text-align: center;
  line-height: 1.8;
}
#greeting hgroup h2 span {
  position: relative;
}
#greeting hgroup h2 span::after {
  content: "";
  width: 100%;
  height: 2px;
  border-bottom: 2px dotted #83AD28;
  position: absolute;
  left: 0;
  bottom: -2px;
}
#greeting .container {
  max-width: 900px;
  margin: 0 auto;
}
#greeting .text p + p {
  margin-top: 1em;
}
#greeting .text .link {
  text-align: center;
  margin-top: 4rem;
}
#greeting .text .link a {
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  #greeting {
    margin: 5rem 0;
  }
  #greeting hgroup {
    margin-bottom: 3rem;
  }
  #greeting hgroup h2 {
    font-size: clamp(2.2rem, 2.2vw, 3.2rem);
    line-height: 1.6;
  }
  #greeting .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  #greeting .container .photo {
    max-width: 200px;
    margin: 0 auto;
    order: 1;
  }
  #greeting .container .text {
    order: 2;
  }
  #greeting .container .text .link {
    margin-top: 2rem;
  }
}

/* ------------------------------------
// #treatment
------------------------------------ */
#treatment {
  border-radius: 15px;
  background: #FFF;
  padding: 6rem clamp(3rem, 4.2vw, 6rem);
  margin-bottom: 10rem;
}
#treatment .head {
  display: grid;
  grid-template-columns: minmax(4em, 30%) 1fr;
  border-radius: 10px;
  border: 1px solid #978B4D;
  margin-bottom: 5rem;
}
#treatment .head h2 {
  background: #978B4D;
  color: #FFF;
  font-family: "Zen Old Mincho", serif;
  padding: 3rem 1rem;
  text-align: center;
  font-size: clamp(2rem, 1.4vw, 2rem);
  border-radius: 10px 0 0 10px;
}
#treatment .head p {
  align-self: center;
  padding-left: 3rem;
}
#treatment ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem clamp(2rem, 4.2vw, 6rem);
}
#treatment ul li {
  width: calc(20% - clamp(2rem, 4.2vw, 6rem));
  text-align: center;
}
#treatment ul li .icon {
  border-radius: 100vh;
  background: #E2AB82;
  margin-bottom: 1.5rem;
}
#treatment ul li a:hover .icon {
  background: #F39800;
}
@media screen and (max-width: 1024px) {
  #treatment ul {
    gap: 3rem clamp(2rem, 4.2vw, 6rem);
  }
  #treatment ul li {
    width: calc(33% - clamp(2rem, 4.2vw, 6rem));
  }
  #treatment ul li .icon {
    max-width: 160px;
    margin: 0 auto;
  }
}
@media screen and (max-width: 768px) {
  #treatment {
    background: #FFF;
    padding: 3rem 1rem;
  }
  #treatment .head {
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 3rem;
  }
  #treatment .head h2 {
    padding: 1rem 1rem;
    text-align: center;
    font-size: clamp(2rem, 1.4vw, 2rem);
    border-radius: 10px 10px 0 0;
  }
  #treatment .head p {
    padding: 1rem 1rem;
    text-align: center;
  }
  #treatment ul {
    gap: 2rem 1rem;
  }
  #treatment ul li {
    width: calc(33% - 1rem);
  }
  #treatment ul li .icon {
    max-width: 160px;
    margin: 0 auto;
  }
}

/* ------------------------------------
// #feature
------------------------------------ */
#feature h2 {
  text-align: center;
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(2.4rem, 2.2vw, 3.2rem);
  margin-bottom: 10rem;
}
#feature .featureContainer {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem clamp(1rem, 4.9vw, 7rem);
}
#feature .featureContainer > section {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  position: relative;
  gap: 0;
  padding-top: calc(3rem + 64%);
}
#feature .featureContainer > section .num {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  color: #FFF;
  font-family: "Dai Banna SIL", serif;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  font-size: clamp(1.4rem, 1.4vw, 2rem);
  display: grid;
  place-content: center;
  place-items: center;
  padding: clamp(1.5rem, 2.1vw, 3rem);
  line-height: 0.8;
  text-transform: uppercase;
}
#feature .featureContainer > section .num::before {
  content: "";
  width: 100%;
  background: #B9AB73;
  border-radius: 100vW;
  aspect-ratio: 1/1;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}
#feature .featureContainer > section .num > * {
  z-index: 2;
}
#feature .featureContainer > section .num span {
  font-family: "Kaisei HarunoUmi", serif;
  font-size: clamp(4rem, 4.9vw, 7rem);
}
#feature .featureContainer > section .photo {
  margin: 3rem 3rem 0 3rem;
  position: absolute;
  left: 0;
  top: 3rem;
  z-index: 1;
}
#feature .featureContainer > section .box {
  display: inherit;
  grid-template-rows: inherit;
  grid-row: inherit;
  gap: 3rem;
  background: #FFF;
  border-radius: 20px;
  margin-top: -3rem;
  padding: 6rem 3rem;
}
#feature .featureContainer > section h3 {
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(1.8rem, 1.5vw, 2.2rem);
  font-weight: 500;
  text-align: center;
}
#feature .featureContainer > section p {
  text-align: justify;
  font-size: clamp(1.5rem, 1.3vw, 1.8rem);
}
#feature .featureContainer > section .link a {
  margin: 0 auto;
  font-family: "Zen Old Mincho", serif;
}
@media screen and (max-width: 768px) {
  #feature .featureContainer {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  #feature .featureContainer > section {
    display: grid;
    grid-template-rows: auto;
    gap: 1rem;
    position: relative;
  }
}