/*
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;
}

footer {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
}

/* -----------------------------------------------------------
Commmon
----------------------------------------------------------- */
.bb-red {
  border-bottom: 4px solid #600f18;
}

.hd_inner .wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.hd_inner .hd_left {
  width: 33%;
  padding-top: 10px;
}

.hd_inner .hd_logo {
  width: 33%;
  padding-top: 20px;
}

.hd_inner .hd_right {
  width: 33%;
}

.hd_inner .hd_left ul {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 15px;
}

.hd_inner .hd_left li {
  flex: 1 0 auto;
  background-color: #d8e2f4;
  color: #1a2c70;
  padding: 5px 25px;
  text-align: center;
  font-size: 16px;
}

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

.hd_inner .hd_logo img {
  margin: 0 auto 10px;
}

.hd_inner .hd_logo li {
  font-size: 16px;
  line-height: 1.5;
  color: #1a2c70;
}

.hd_inner .hd_right .image-wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.hd_inner .hd_right .tel {
  background: url("./images/common/tel.png") no-repeat scroll left center;
  font-size: 47px;
  line-height: 1.2;
  font-weight: 100;
  padding-left: 56px;
  color: #1a2c70;
  margin-top: 10px;
  text-align: right;
}

.hd_inner .hd_right li:nth-child(3) {
  font-size: 14px;
  line-height: 1.5;
  color: #c02f5d;
  background-color: #f8e7e7;
  padding: 5px;
  margin: 10px 0 5px;
}

.hd_inner .hd_right li:last-child {
  font-size: 16px;
  text-align: end;
  line-height: 1.5;
}

/* -----------------------------------------------------------
MV
----------------------------------------------------------- */
.mv .wrapper {
  background: url("./images/slide/mv.jpg") no-repeat scroll center center;
  height: 450px;
}

.mv .wrapper h2 img {
  margin-top: 150px;
}

/* -----------------------------------------------------------
Top-Page
----------------------------------------------------------- */
.top_btn img {
  display: inline;
}

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

/* -----------------------------------------------------------
Top01
----------------------------------------------------------- */

.top01 {
  position: relative;
  padding: 100px 0;
  text-align: center;
  background-color: #f2eee8;
}

.top01::before {
  content: "";
  position: absolute;
  top: 130px;
  /* MVとの間でベージュ色を残す領域 */
  bottom: 135px;
  /* 下部で画像が35pxはみ出すように大理石背景を止める (100px padding + 35px) */
  left: 0;
  width: 100%;
  background: url("./images/top/top01-bg01.jpg") repeat center 0;
  z-index: 0;
}

.top01 .wrapper {
  position: relative;
  z-index: 1;
}

.top01 .box {
  position: relative;
  display: inline-block;
  margin: 0 auto;
  z-index: 1;
}

.top01 .box .base-img {
  vertical-align: bottom;
}

.top01 .box .ttl-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* -----------------------------------------------------------
Top02
----------------------------------------------------------- */
.top02 {
  padding-bottom: 80px;
  background-color: #f2eee8;
}

.top02 .wrapper .inner {
  background: url("./images/top/top02-bg01.png") no-repeat center 0;
  background-size: 100% 100%;
  margin-bottom: 50px;
  padding: 50px;
  text-align: center;
  box-sizing: border-box;
}

.top02 .wrapper .inner:last-child {
  margin-bottom: 0;
}

.top02 .wrapper .inner .tag {
  display: inline-block;
  background-color: #341414;
  color: #fff;
  padding: 10px 20px;
  font-size: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}

.top02 .wrapper .inner .title {
  margin-bottom: 20px;
  text-align: center;
}

.top02 .wrapper .inner .title img {
  display: inline-block;
  margin: 0 auto;
}

.top02 .wrapper .inner .content-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}

/* 偶数番目は画像を左、テキストを右に（逆順に）する */
.top02 .wrapper .inner:nth-child(even) .content-box {
  flex-direction: row-reverse;
}

.top02 .wrapper .inner .text-area {
  width: 47%;
}

.top02 .wrapper .inner .img-area {
  width: 48%;
}

.top02 .wrapper .inner .text-area p {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 30px;
}

.top02 .wrapper .inner .btn-wrap {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  align-items: center;
}

/* 最初のブロックの2つのボタンを中央寄せで横並びに */
.top02 .wrapper .inner:first-child .btn-wrap {
  justify-content: center;
}

/* 02と04（偶数ブロック）のボタンは右揃えに */
.top02 .wrapper .inner:nth-child(even) .btn-wrap {
  justify-content: flex-end;
}

.top02 .wrapper .inner .btn-wrap a {
  display: block;
  flex: 1 1 0;
  max-width: max-content;
}

.top02 .wrapper .inner .btn-wrap a img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.top02 .wrapper .inner .img-area img {
  width: 100%;
  height: auto;
  display: block;
}

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

.top03 {
  border-top: 5px solid #600f18;
  /* Accent border matching design if any, otherwise it acts as separator */
}

.top03 .greeting-area {
  background: url("./images/top/top03-bg01.jpg") no-repeat center 0;
  height: 1036px;
  box-sizing: border-box;
  padding: 100px 0;
}

.top03 .greeting-area .content-box {
  width: 60%;
  /* Ensure text stays on the left without covering the doctor */
}

.top03 .greeting-area .greeting-ttl {
  margin-bottom: 20px;
  line-height: 1.5;
  font-weight: 100;
}

.top03 .greeting-area .greeting-ttl .red {
  color: #600f18;
  font-size: 38px;
}

.top03 .greeting-area .greeting-ttl .gold {
  color: #9b6500;
  font-size: 38px;
}

.top03 .greeting-area .greeting-text p {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 25px;
  letter-spacing: 0.05em;
}

.top03 .greeting-area .greeting-bottom {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.top03 .greeting-area .greeting-bottom .name {
  font-size: 26px;
  letter-spacing: 0.1em;
}

.top03 .greeting-area .greeting-bottom .btn a {
  display: inline-block;
}

.top03 .greeting-area .greeting-bottom .btn a img {
  width: auto;
  max-width: 100%;
}

.top03 .banner-area {
  background-color: #e1ccdb;
  padding: 40px 0;
}

.top03 .banner-area .bnr-wrap {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.top03 .banner-area .bnr-wrap a {
  display: block;
  flex: 0 1 auto;
}

.top03 .banner-area .bnr-wrap a img {
  width: 100%;
  max-width: 450px;
  height: auto;
  display: block;
}

/* -----------------------------------------------------------
top04
----------------------------------------------------------- */
.top04 {
  padding-bottom: 80px;
  background-color: #ffffff;
}

.top04 .visual {
  height: 784px;
  background: url("./images/top/top04-bg01.jpg") no-repeat center center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 80px;
}

.top04 .visual .bg-img {
  width: 648px;
  height: 648px;
  background: url("./images/top/top04-bg02.png") no-repeat center center;
  background-size: contain;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 10px;
  /* safety margin on small screens */
}

.top04 .visual .bg-img .box-inner {
  text-align: center;
}

.top04 .visual .bg-img .box-inner img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px;
  padding-top: 60px;
  /* 上部の余白調整 */
}

.top04 .visual .bg-img .box-inner p {
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.05em;
  padding-bottom: 45px;
  /* 上部の余白とバランスを取り、下部の余白を確保 */
}

.top04 .features {
  padding-top: 20px;
}

.top04 .feature-block {
  margin-bottom: 100px;
}

.top04 .feature-block .title {
  margin-bottom: 30px;
}

.top04 .feature-block .content-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top04 .feature-block:nth-child(even) .content-box {
  flex-direction: row-reverse;
}

.top04 .feature-block:nth-child(even) .btn-wrap {
  text-align: right;
}

.top04 .feature-block .text-area {
  width: 48%;
}

.top04 .feature-block .img-area {
  width: 47%;
}

.top04 .feature-block .text-area p {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 30px;
}

.top04 .feature-block .btn-wrap a {
  display: inline-block;
}

.top04 .feature-block .btn-wrap a img {
  width: auto;
  max-width: 100%;
}

.top04 .feature-block .img-area img {
  width: 100%;
  height: auto;
  display: block;
}

/* -----------------------------------------------------------
Top05blogbg
----------------------------------------------------------- */
.top05blog {
  background: url("./images/top/top05-bg00.jpg") no-repeat scroll center 0;
}

/* -----------------------------------------------------------
top05
----------------------------------------------------------- */
.top05 {
  padding-top: 70px;
  padding-bottom: 160px;
  background-color: #ffffff;
}

.top05 .wrapper {
  overflow: visible;
}

.top05 .visual img {
  margin: 0 auto 60px;
}

.top05 .visual h2 img {
  margin: 0 auto 70px;
}

.top05 .container01 .feature-block {
  position: relative;
  margin-bottom: 80px;
}

.top05 .container01 .feature-block:last-child {
  margin-bottom: 0;
}

.top05 .container01 .feature-block .title {
  margin-bottom: 0;
}

.top05 .container01 .feature-block .content-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
  /* Makes sure images and text are above background */
}

.top05 .container01 .feature-block:nth-child(even) .content-box {
  flex-direction: row-reverse;
}

.top05 .container01 .feature-block .text-area {
  width: 48%;
  margin-bottom: 50px;
}

.top05 .container01 .feature-block .img-area {
  width: 48%;
  position: relative;
}

.top05 .container01 .feature-block .text-area p {
  font-size: 18px;
  line-height: 2;
}

.top05 .container01 .feature-block .img-area img {
  width: 100%;
  height: auto;
  display: block;
}

/* ピンクのはみ出し背景 */
.top05 .container01 .feature-block::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 480px;
  background-color: #e1ccdb;
  z-index: 1;
  /* Below the content-box */
}

/* 奇数番目（画像右）: 右から220px内側に入り、右端へはみ出す */
.top05 .container01 .feature-block:nth-child(odd)::before {
  right: calc(50% - 50vw);
  width: calc(50vw - 50% + 220px);
}

/* 偶数番目（画像左）: 左から220px内側に入り、左端へはみ出す */
.top05 .container01 .feature-block:nth-child(even)::before {
  left: calc(50% - 50vw);
  width: calc(50vw - 50% + 220px);
}

.top05 .container01 .box p {
  font-size: 18px;
}

/* -----------------------------------------------------------
top06 MENU SECTION
----------------------------------------------------------- */
.top06-menu-section {
  padding-top: 80px;
}

.top06-menu-section .cards-area {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.top06-menu-section .menu-card {
  width: 48%;
  margin-bottom: 50px;
  position: relative;
}

.top06-menu-section .menu-card > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: block;
}

.top06-menu-section .menu-card > a:hover {
  background: #f3f3f8;
  opacity: 0.2;
  transition: 0.5s;
}

.top06-menu-section .menu-card .card-title {
  margin-bottom: 0;
}

.top06-menu-section .menu-card .card-title img {
  width: 100%;
  height: auto;
  display: block;
}

.top06-menu-section .menu-card .card-inner {
  background-color: #ffffff;
  padding: 25px 25px 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.top06-menu-section .menu-card .card-img img {
  margin: 0 auto 20px;
  max-width: 100%;
}

.top06-menu-section .menu-card .pill-label {
  display: inline-block;
  background-color: #efdfc8;
  color: #9b6500;
  font-size: 20px;
  padding: 8px 30px;
  border-radius: 30px;
  margin-bottom: 25px;
}

.top06-menu-section .menu-card .card-list {
  text-align: left;
  padding: 0 10px;
  counter-reset: menu-card-counter;
}

.top06-menu-section .menu-card .card-list li {
  position: relative;
  font-size: 18px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 12px;
  padding-left: 40px;
  border-bottom: 1px dotted #ccc;
  padding-bottom: 12px;
}

.top06-menu-section .menu-card .card-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.top06-menu-section .menu-card .card-list li::before {
  content: counter(menu-card-counter);
  counter-increment: menu-card-counter;
  position: absolute;
  left: 0;
  top: -2px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #341414;
  color: #fff;
  text-align: center;
  line-height: 30px;
  font-size: 20px;
}

/* -----------------------------------------------------------
top06 BUTTONS BG
----------------------------------------------------------- */
.top06-buttons-bg {
  padding: 50px 0;
}

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

.top06-buttons-bg .top06-buttons a {
  width: 32.6%;
  margin-bottom: 11px;
  display: block;
}

.top06-buttons-bg .top06-buttons a img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s ease;
}

.top06-buttons-bg .top06-buttons a:hover img {
  opacity: 0.8;
}

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

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

.top-blog .wrapper {
  display: flex;
  flex-wrap: nowrap;
  /* ボタンの高さを揃える為に変更 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 #341414;
  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 {
  padding-top: 80px;
}

/* -----------------------------------------------------------
top07 (Clinic Overview)
----------------------------------------------------------- */
.top07 {
  background-color: #ffffff;
}

.top07 h2 {
  background: url("./images/top/top07-bg01.jpg") no-repeat scroll center center;
  height: 470px;
  background-size: cover;
  text-align: center;
}

.top07 h2 img {
  padding-top: 190px;
  margin: 0 auto;
}

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

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

.top07 .inner .box {
  width: 48%;
  margin-bottom: 70px;
}

.top07 .inner .box img {
  width: 100%;
  height: auto;
  display: block;
}

.top07 .inner .box p {
  font-size: 18px;
  line-height: 2;
  margin-bottom: 25px;
}

/* Clinic Info Table */
.top07 .clinic-info {
  width: 100%;
  border-collapse: collapse;
  border: none;
}

.top07 .clinic-info th,
.top07 .clinic-info td {
  padding: 16px 0;
  border: none;
  border-bottom: 1px solid #e5e5e5;
  vertical-align: middle;
  font-size: 16px;
  line-height: 1.8;
}

.top07 .clinic-info th {
  width: 100px;
  text-align: left;
  font-weight: normal;
  color: #333333;
}

.top07 .clinic-info tr:last-child th,
.top07 .clinic-info tr:last-child td {
  border-bottom: none;
}

.top07 .clinic-info .tel-row td.tel-num {
  font-size: 30px;
  color: #600f18;
  font-weight: bold;
}

.top07 .clinic-info td a {
  color: #c5001a;
  text-decoration: underline;
}

.top07 .clinic-info td a:hover {
  text-decoration: none;
}

/* -----------------------------------------------------------
content
----------------------------------------------------------- */
.page-contact .contactform {
    width: 100%;
}

ul.archive_box li a {
  font-size: 20px;
}

.content p {
  line-height: 1.5em!important;
  letter-spacing: 0.12em!important;
}

input[type="submit"] {
  color: #000!important;
}

