/*
Theme Name: child-pc
Template: base-pc
*/

/*-----------------------------------------------------
RESET css
---------------------------------------------------- */
html,
body,
h1,
h2,
h3,
h4,
h5,
ul,
ol,
dl,
li,
dt,
dd,
p,
div,
span,
img,
a,
table,
tr,
th,
td {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
}

article,
header,
footer,
aside,
figure,
figcaption,
nav,
section {
  display: block;
}

body {
  line-height: 1;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

li,
ol,
ul {
  list-style: none;
  list-style-type: none;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:hover img {
  opacity: 0.7;
}

html,
body {
  width: 100%;
  height: 100%;
  min-width: 1000px;
}

img {
  display: block;
}

.content {
  margin-bottom: 50px;
}

.sidebar {
  margin-bottom: 50px;
}

footer {
  margin-top: 0 !important;
}

.min {
  font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Sawarabi Mincho";
}

.gothic {
  font-family: Hiragino Kaku Gothic Pro, ヒラギノ角ゴ Pro W3, メイリオ, Meiryo,
    Osaka, ＭＳ Ｐゴシック, Arial, sans-serif;
}

.top p {
  line-height: 2.2;
}

/* -----------------------------------------------------------
Commmon
----------------------------------------------------------- */
.hd_inner .wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.hd_inner .hd_left {
  width: 33%;
}

.hd_left ul {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-bottom: 12px;
}

.hd_left li {
  width: calc(50% - 2px);
  font-size: 14px;
  line-height: 1.4;
  padding: 6px 4px;
  background-color: #e6e1d6;
  box-sizing: border-box;
  text-align: center;
  letter-spacing: -0.08em;
  color: #5c4f47;
}
.hd_inner .hd_logo {
  width: 33%;
  padding-top: 10px;
  text-align: center;
}
.hd_inner .hd_logo a img {
  margin: 0 auto 15px;
}
.hd_inner .hd_logo ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hd_inner .hd_logo li {
  line-height: 1.5;
}

.hd_inner .hd_right {
  width: 33%;
}

.hd_inner .hd_right .item-reserve img {
  margin-bottom: 10px;
}

.hd_inner .hd_right .item-note p {
  margin-bottom: 0;
  text-align: right;
}

.hd_inner .hd_right .item-hours .hours-wrap {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-size: 13px;
  margin-bottom: 8px;
  display: inline-flex;
  font-size: 0;
}

.hours-label,
.hours-note {
  font-size: 18px;
  padding: 6px 15px;
  line-height: 1.4;
  white-space: nowrap;
}

.hours-label {
  background-color: #517e9a;
  color: #fff;
}

.hours-note {
  background-color: #e1ebf2;
  color: #295976;
}

.hd_inner .hd_right .item-tel {
  background: url("./images/common/tel.png") no-repeat 20px center;
  font-size: 48px;
  line-height: 1em;
  font-weight: 100;
  text-align: right;
  padding-left: 40px;
}

/* -----------------------------------------------------------
MV
----------------------------------------------------------- */

.mv {
  position: relative;
}

.mv .inner {
  position: relative;
  background: url("./images/slide/mv.jpg") no-repeat center center;
  height: 560px;
}

.mv .inner::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 12px; /* フェードの高さは調整可 */
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.08) 100%
  );
  pointer-events: none;
}

.mv .wrapper h2 img {
  display: block;
  margin: 235px auto 0;
}

/* ------ POINT ---- */
.point {
  position: relative;
  margin-top: 140px;
  z-index: 1;
}

.point img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}
/* -----------------------------------------------------------
Top-Page
----------------------------------------------------------- */
.top_btn img {
  display: inline;
}

.top {
  font-feature-settings: "palt";
  letter-spacing: 0.05em;
  color: #333333;
}

/* -----------------------------------------------------------
Top0102背景
----------------------------------------------------------- */
.top00 {
  background: url("./images/top/top00-bg01.jpg") no-repeat scroll center 0;
  height: 4809px;
  margin-top: 250px;
  background-size: cover;
  position: relative;
}

/* -----------------------------------------------------------
Top01
----------------------------------------------------------- */
.top01 {
  padding-top: 50px;
}

.top01::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 12px; /* フェードの高さは調整可 */
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.08) 100%
  );
  pointer-events: none;
}

.top01 .wrapper {
  background: url("./images/top/top01-bg01.png") no-repeat scroll center 60px;
  height: 850px;
}

.top01 .wrapper h2 img {
  margin: 130px auto 40px;
}

.top01 .wrapper .inner {
  width: 50%;
}

.top01 .wrapper .inner h3 {
  font-size: 30px;
  color: #1a3f5e;
  font-weight: normal;
  margin-bottom: 25px;
}

.top01 .wrapper p {
  font-size: 18px;
  line-height: 1.9;
}

/* -----------------------------------------------------------
Top02
----------------------------------------------------------- */

.top02 {
  padding-top: 140px;
  padding-bottom: 60px;
}

.top02 .wrapper {
  counter-reset: section;
}

.top02 .wrapper .inner {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 140px;
}

.top02 .wrapper .box {
  width: 47%;
}

.top02 .wrapper .inner01 .box,
.top02 .wrapper .inner03 .box,
.top02 .wrapper .inner05 .box,
.top02 .wrapper .inner07 .box {
  margin-left: auto;
}

.top02 .wrapper .box .title p {
  font-size: 20px;
  line-height: normal;
  margin-bottom: 5px;
  color: #a58133;
}

.top02 .wrapper .box .text p {
  line-height: 1.9;
  font-size: 18px;
}

.top02 .title {
  position: relative;
  font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Sawarabi Mincho";
}

.top02 .wrapper .inner .title h2 {
  font-size: 36px;
  font-weight: normal;
  line-height: 1.3;
  margin-bottom: 30px;
  color: #1a3f5e;
}
.top02 .wrapper .inner .title h2 span {
  font-size: 30px;
}

.top02 .title h2::after {
  counter-increment: section;
  content: counter(section, decimal-leading-zero);
  position: absolute;
  top: -30px;
  right: 0;
  font-size: 130px;
  font-weight: 400;
  color: #937846;
  opacity: 0.2;
  pointer-events: none;
}

.top02 .pic {
  position: relative;
  z-index: 0;
}

.top02 .pic img {
  display: block;
  width: 100%;
  height: auto;
  padding-left: 50px;
}

.top02 .inner02 .pic img,
.top02 .inner04 .pic img,
.top02 .inner06 .pic img,
.top02 .inner08 .pic img {
  padding-right: 50px;
}

.top02 .bg-block {
  position: absolute;
  width: 160px;
  height: 280px;
  background-color: #e1d0b0;
  top: 100px;
  z-index: -1;
  opacity: 0.3;
}

.top02 .inner02 .bg-block,
.top02 .inner04 .bg-block,
.top02 .inner06 .bg-block,
.top02 .inner08 .bg-block {
  right: 0;
}

.top02 .wrapper .inner01 .box img,
.top02 .wrapper .inner03 .box img,
.top02 .wrapper .inner05 .box img,
.top02 .wrapper .inner07 .box img {
  margin-left: auto;
}

/* -----------------------------------------------------------
top03
----------------------------------------------------------- */

.top03 {
  background-color: #fcfbf9;
}

.top03 .inner {
  background: url(./images/top/top03-bg01.jpg) no-repeat scroll center 0;
}

.top03 .inner .text {
  padding-top: 40px;
}

.top03 .inner .text p {
  font-size: 18px;
  line-height: 2;
}

/* -----------------------------------------------------------
top04
----------------------------------------------------------- */
.top04 {
  padding-top: 40px;
  background-color: #fcfbf9;
}

.top04 .inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.top04 .box_inner {
  position: relative;
  background: #ffffff;
  width: 48%;
  margin-bottom: 40px;
}

.top04 .box {
  padding: 30px 30px 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.top04 .box ol {
  counter-reset: my-counter;
  padding-top: 20px;
  margin-bottom: 10px;
}

.top04 .box ol li {
  font-size: 18px;
  padding: 12px 0 12px 40px;
  border-bottom: solid 1px #d0d2d6;
}

.top04 .box ol li:last-child {
  border-bottom: none;
}

.top04 .box_inner a {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.top04 .box_inner a:hover {
  background: #f3f3f8;
  opacity: 0.2;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.top04 .box ol li::before {
  content: counter(my-counter);
  counter-increment: my-counter;
  background-color: #c5b28e;
  color: #fff;
  display: inline-block;
  line-height: 30px;
  margin: -5px 10px 0 -35px;
  text-align: center;
  height: 30px;
  width: 30px;
  border-radius: 50%;
}

.top04 .btn-area {
  background-color: #ece7de;
}

.top04 .btn-area .wrapper {
  padding: 40px 0;
  margin-top: 40px;
}
.top04 .btn-area .inner {
  row-gap: 20px;
}

/* -----------------------------------------------------------
top05
----------------------------------------------------------- */

.top05 {
  background-color: #ede9e0;
}

.top05 .inner {
  background: url("./images/top/top05-bg01.jpg") no-repeat scroll center 0;
  background-size: cover;
  height: 1048px;
  padding-top: 85px;
}

.top05 .box {
  width: 69%;
  padding-bottom: 60px; /* ← ここに入れるのがベスト */
}

.top05 .inner h2 {
  margin-bottom: 35px;
}

.top05 .box .text p {
  font-size: 18px;
  line-height: 1.9;
}

/* 院長名とボタンを横並びに */
.top05 .box_footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
}

.top05 .box_footer .director {
  margin: 0;
}
.top05 .box_footer p {
  font-size: 30px;
  line-height: 1.3;
}
.top05 .box_footer .director span {
  font-size: 16px;
  display: block;
  margin-bottom: 5px;
}

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

.top05 .instagram_banner img {
  padding-top: 40px;
  padding-bottom: 50px;
  display: inline-block;
}

/* -----------------------------------------------------------
Top-blog
----------------------------------------------------------- */
.top-blog {
  padding: 65px 0;
}

.top-blog .wrapper {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: stretch;
}

.top-blog .box {
  width: calc(50% - 20px);
  display: flex;
  flex-direction: column;
}

.top-blog {
  line-height: 1.9;
}

.top-blog dt {
  padding-top: 14px;
}

.top-blog dd {
  font-size: 15px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 14px;
}

.top-blog dd a {
  color: #333333;
}

.top-blog dd i {
  margin-left: 5px;
}

.top-blog dl dt span {
  font-size: 80%;
  color: #ffffff;
  background-color: #b72929;
  min-width: 55px;
  padding: 1px 5px 0 5px;
  line-height: 20px;
  display: inline-block;
  margin-left: 10px;
  text-align: center;
}

.top-blog dl dt span.doctor_blog {
  background-color: #183b9c;
}

.top-blog dl dt span.staff_blog {
  background-color: #826c31;
}

.top-blog dd:last-child {
  border-bottom: none;
}

.top-blog .button {
  margin-top: auto;
}

.top-blog .button img {
  margin: 0 auto;
}

.top-blog-bg {
  background: url("./images/top/top-blog-01.jpg") no-repeat scroll center 0;
  background-size: cover;
  height: 620px;
  padding-top: 100px;
  padding-bottom: 100px;
}

/* -----------------------------------------------------------
top06
----------------------------------------------------------- */
.top06 {
  background-color: #f5f2ed;
}

.top06 h2 {
  background: url("./images/top/top06-bg01.jpg") no-repeat scroll center 0;
  background-size: cover;
  height: 400px;
  padding-top: 130px;
}

.top06 h2 img {
  margin: 0 auto;
}

.top06 .wrapper {
  padding-top: 80px;
}

.top06 .inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.top06 .inner .box {
  width: 48%;
  margin-bottom: 60px;
}

.top06 .inner .box p {
  font-size: 18px;
  line-height: 1.9;
}

.top06 .inner .box .text {
  text-align: right;
}

.top06 .tel th {
  vertical-align: bottom;
}

.top06 th,
.top06 td {
  border: 0;
  font-size: 16px;
  padding: 10px 1%;
  vertical-align: top;
}

.top06 th {
  font-weight: 500;
  width: 6em;
}

.top06 td {
  padding-right: 10px;
}

.top06 tr {
  border-bottom: 1px solid #d6d6d6;
}

.top06 tr:last-child {
  border-bottom: none;
}

.top06 .tel td {
  color: #1a3f5e;
  font-size: 30px;
}
