@charset "UTF-8";
/* 
Theme Name:あべファミリークリニック
*/
/*
font-family: 'Zen Kaku Gothic New', sans-serif;
font-family: 'Atkinson Hyperlegible', sans-serif;
font-family: 'Barlow', sans-serif;
*/
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}
main section {
  margin-bottom: 8rem;
}

#vi {
  z-index: 2;
}

/* #therapy
------------------------------------------------------*/
p.pageLead {
  text-align: center;
  font-weight: bold;
  font-size: 4rem;
}

ul.category {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
ul.category li {
  width: 23%;
  margin-bottom: 3%;
}
ul.category li:first-child {
  width: 48.6666666667%;
  margin: 0 25.6666666667% 3%;
}

.moreMedical {
  background: #C9E1EE;
  padding: 2rem;
  text-align: center;
  color: #1B527A;
  position: relative;
  margin-bottom: 8rem;
}
.moreMedical:before {
  content: "";
  width: 30px;
  aspect-ratio: 1/1;
  display: block;
  border-right: 1px solid #1B527A;
  border-top: 1px solid #1B527A;
  transform: rotate(135deg);
  position: absolute;
  bottom: 2rem;
  left: calc(50% - 15px);
}
.moreMedical:after {
  content: "";
  width: 150px;
  height: 4rem;
  display: block;
  position: absolute;
  right: 1rem;
  top: 2rem;
  background: url(/lib/img/cmn/ino.png) no-repeat center/contain;
}
.moreMedical dt {
  margin: 0 auto 1rem;
  font-size: 2.4rem;
  width: fit-content;
  text-decoration: underline;
  font-weight: bold;
}
.moreMedical dd {
  position: relative;
  padding-bottom: 3rem;
}

@media screen and (max-width: 768px) {
  ul.category li {
    width: 31%;
  }
  .moreMedical {
    padding: 6rem 2rem 2rem;
  }
  .moreMedical:before {
    top: auto;
    bottom: 2rem;
  }
  .moreMedical:after {
    left: 50%;
  }
  .moreMedical dd {
    text-align: left;
  }
}
/* #menu_00
------------------------------------------------------*/
.secTitle01 {
  background: #2370A8;
  margin-bottom: 5rem;
  color: #FFF;
  position: relative;
  padding: 40px 0;
  font-size: clamp(1.8rem, 2.3vw, 3.2rem);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.5;
  gap: 10px;
}
.secTitle01 .icon {
  width: auto;
  height: clamp(40px, 4vw, 80px);
}

#menu00 {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  padding-bottom: 4rem;
  margin-bottom: 4rem;
  border-bottom: 1px solid #DFDFE2;
}
#menu00 .text {
  width: 38%;
}
#menu00 .photo {
  width: 58%;
}
#menu00 .photo li {
  margin-bottom: 2rem;
}
@media screen and (max-width: 768px) {
  #menu00 {
    display: block;
  }
  #menu00 .text {
    width: 100%;
  }
  #menu00 .photo {
    width: 100%;
  }
}

/* #variousmenu
------------------------------------------------------*/
.variousmenu > div:not(:last-child) {
  margin-bottom: 4rem;
  border-bottom: 1px solid #DFDFE2;
  padding-bottom: 4rem;
}
.variousmenu dl {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.variousmenu dl dt {
  width: 25%;
}
.variousmenu dl dd {
  width: 70%;
}
.variousmenu #menu03 dl dd, .variousmenu #menu07 dl dd, .variousmenu #menu12 dl dd {
  width: 30%;
}
.variousmenu #menu03 dl dd.photo, .variousmenu #menu07 dl dd.photo, .variousmenu #menu12 dl dd.photo {
  width: 48%;
  margin-top: 2rem;
}
@media screen and (max-width: 768px) {
  .variousmenu dl dt {
    width: 50%;
    margin: 0 25% 3rem;
  }
  .variousmenu dl dd {
    width: 100%;
  }
  .variousmenu #menu03 dl dd, .variousmenu #menu07 dl dd, .variousmenu #menu12 dl dd {
    width: 100%;
    margin-bottom: 3rem;
  }
  .variousmenu #menu03 dl dd:last-child, .variousmenu #menu07 dl dd:last-child, .variousmenu #menu12 dl dd:last-child {
    margin-bottom: 0;
  }
  .variousmenu #menu03 dl dd.photo, .variousmenu #menu07 dl dd.photo, .variousmenu #menu12 dl dd.photo {
    width: 100%;
    margin-top: 1rem;
  }
}

#menu11 h4 {
  font-size: 1.6rem;
  font-weight: normal;
  margin-bottom: 5px;
  background: #83b158;
  width: fit-content;
  padding: 0px 10px 2px;
  color: #FFF;
  margin: 15px 0;
}
#menu11 ul li {
  font-size: 1.6rem;
  padding-left: 15px;
  position: relative;
}
#menu11 ul li:before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #83b158;
  border-radius: 50vh;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* #more
------------------------------------------------------*/
#more {
  margin: 5rem 0;
  background: url(/lib/img/care/bg_price.png) repeat;
}
#more h2 {
  text-align: center;
  background: #2370A8;
  color: #FFF;
  position: relative;
  font-size: clamp(1.8rem, 2.3vw, 3.2rem);
  padding: 40px 10px;
  margin-bottom: 5rem;
}
#more h2:before {
  z-index: 3;
  content: "";
  width: 100vw;
  height: 14px;
  background: #FFF;
  background: url("/lib/img/clinic/line_01.png") repeat-x top center/auto 14px;
  display: block;
  position: absolute;
  left: 50%;
  top: 10px;
  transform: translateX(-50%);
}
#more h2:after {
  z-index: 3;
  content: "";
  width: 100vw;
  height: 14px;
  background: #FFF;
  background: url("/lib/img/clinic/line_01.png") repeat-x top center/auto 14px;
  display: block;
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
}
#more .lead {
  max-width: 750px;
  padding: 0 2rem;
  margin: 0 auto 10rem;
}
#more section {
  display: grid;
  grid-template-columns: 25% 70%;
  grid-template-rows: auto auto;
  gap: 5% 5%;
  padding: 0 2rem 4rem;
  margin-bottom: 4rem;
}
#more section .title {
  grid-column: 1/2;
  grid-row: 1/3;
  text-align: center;
  padding-top: 3rem;
  background: #C9E1EE;
  color: #2370A8;
}
#more section .disc {
  grid-column: 2/3;
  grid-row: 1/2;
}
#more section .price {
  grid-column: 2/3;
  grid-row: 2/3;
}
#more section .price .pricetable {
  border-top: 1px solid #DFDFE2;
  border-left: 1px solid #DFDFE2;
}
#more section .price .pricetable th, #more section .price .pricetable td {
  padding: 0.5rem 1rem;
  border-right: 1px solid #DFDFE2;
  border-bottom: 1px solid #DFDFE2;
}
#more section .price .pricetable thead {
  background: #ECECF2;
}
#more section .price .pricetable thead th span {
  float: right;
  font-weight: normal;
  font-size: 1.4rem;
}
#more section .price .pricetable tbody {
  background: #FFF;
}
#more section .price .pricetable tbody td {
  text-align: center;
}
#more section .price .pricetable tbody td span {
  display: block;
  font-size: 1rem;
  padding: 2px 5px;
  background: #2370A8;
  color: #FFF;
  text-align: center;
}
#more section .price .pricetable tbody td:last-of-type {
  text-align: right;
  line-height: 1;
}

@media screen and (max-width: 768px) {
  #more section {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: auto auto auto;
    gap: 2rem;
    padding: 0 1rem 4rem;
  }
  #more section .title {
    grid-column: 1/2;
    grid-row: 1/2;
    padding: 3rem 0.5rem;
  }
  #more section .disc {
    grid-column: 1/2;
    grid-row: 2/3;
  }
  #more section .price {
    grid-column: 1/2;
    grid-row: 3/4;
  }
  #more section .price .pricetable {
    width: 100%;
    font-size: 1.4rem;
  }
  #more section .price .pricetable th, #more section .price .pricetable td {
    padding: 0.5rem 0.5rem;
    line-height: 1.2;
  }
  #more section .price .pricetable tbody td {
    text-align: center;
  }
  #more section .price .pricetable tbody td:last-of-type {
    white-space: nowrap;
  }
}