@charset "utf-8";

.main-img {
  margin-bottom: -1%;
}

.main-inner {
  max-width: 1000px;
  margin: 0 auto;
}

main {
  padding-bottom: 10%;
}


/* お知らせエリア */
.notice {
  background-color: #f3eed0;
  padding-top: 1%;
}

main {
  background-color: #f3eed0;
}

/*=============== お知らせエリア============= */
/* === 共通h2==== */
h2 {
  width: 500px;
  margin: 8% 30% 5% 25%;
  padding-left: 3%;
  font-size: 26px;
  line-height: 3.5;
  border-radius: 30px;
  letter-spacing: 0.7em;
  color: #333;
  text-align: center;
  background: #cee5d5;
  @media (width <= 800px) {
    width: 200px;
    margin-left: 37%;
    padding-left: 1%;
    letter-spacing: 0.5em;
    font-size: 18px;
  }
}

.notice li {
  border-bottom: 1px solid #333;
  width: 800px;
  line-height: 1.5;
  padding-bottom: 1%;
  margin: 8% 0 3% 15%;
  letter-spacing: 0.2em;
  @media (width <= 800px) {
    max-width: 600px;
    letter-spacing: 0.1em;
    font-size: 14px;
  }
}

.notice span {
  padding-right: 10%;
}

.notice a {
  display: inline-block;
  margin-left: 80%;
  @media (width <= 800px) {
    font-size: 14px;
  }
}

.notice a:hover {
  transform: scale(1.1); /* 拡大 */
  transition: 0.1s;
  font-weight: 500;
  color: #c16479;
}

/* ============- 院長エリア ============== */
.greeting-incho-gride {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 10%;
  gap: 10%;
  @media (width <= 800px) {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "b"
      "a";
    max-width: 400px;
    margin: 10% auto 5% 35%;
  }
}

.greeting-incho-gride img {
  height: 70%;
  margin-bottom: 0;
  @media (width <= 800px) {
    grid-area: b;
    margin-bottom: -10%;
  }
}

.greeting p {
  text-align: center;
  line-height: 2.5;
  margin-top: 10%;
  font-size: 16px;
  @media (width <= 800px) {
    grid-area: a;
    margin-top: -10%;
    margin-left: -32%;
    font-size: 14px;
  }
}

.greeting span {
  display: inline-block;
  margin-left: 70%;
  margin-top: 10%;
  width: 150px;
  @media (width <= 800px) {
    display: none;
  }
}

.text {
  display: none;
  @media (width <= 800px) {
    display: inline-block;
    margin-left: 75%;
    margin-top: -80%;
    width: 150px;
    font-size: 14px;
  }
}

.greeting a {
  display: inline-block;
  margin-left: 80%;
  margin-top: -20%;
  @media (width <= 800px) {
    font-size: 14px;
    margin-top: 5%;
  }
}

.greeting a:hover {
  transform: scale(1.1); /* 拡大 */
  transition: 0.1s;
  font-weight: 500;
  color: #c16479;
}

/* ===========サイト案内エリア ============= */

.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-left: 5%;
  padding-bottom: 105px;
  gap: 5%;
  @media (width <= 800px) {
    max-width: 200px;
    gap: 10%;
  }
}

/* カードの大きさ */
.card-skin {
  margin-top: 20%;
  width: 400px;
  height: 400px;
  @media (width <= 800px) {
    height: 300px;
    width: 300px;
    margin-top: 15%;
  }
}

.card-imgframe01 {
  width: 100%;
  height: auto;
  padding-top: 56.25%;
  background-image: url(../images/index.images/site-infomation01.jpg);
  background-size: contain;
  background-repeat: no-repeat;
  border-radius: 30px;
  aspect-ratio: 4 / 5;
  @media (width <= 800px) {
    margin-left: 20%;
  }
}

.card-imgframe02 {
  width: 100%;
  height: auto;
  padding-top: 56.25%;
  background-image: url(../images/index.images/site-infomation02.jpg);
  background-size: contain;
  background-repeat: no-repeat;
  border-radius: 30px;
  aspect-ratio: 4 / 5;
  @media (width <= 800px) {
    margin-left: 20%;
  }
}

.card-imgframe03 {
  width: 100%;
  height: auto;
  padding-top: 56.25%;
  background-image: url(../images/index.images/site-infomation03.jpg);
  background-size: contain;
  background-repeat: no-repeat;
  border-radius: 30px;
  aspect-ratio: 4 / 5;
  @media (width <= 800px) {
    margin-left: 20%;
  }
}

.card-imgframe04 {
  width: 100%;
  height: auto;
  padding-top: 56.25%;
  background-image: url(../images/index.images/site-infomation04.jpg);
  background-size: contain;
  background-repeat: no-repeat;
  border-radius: 30px;
  aspect-ratio: 4 / 5;
  @media (width <= 800px) {
    margin-left: 20%;
  }
}

.card-textbox {
  width: 100%;
  height: 25%;
  padding: 20px 0;
  background: #fff;
  margin-top: -50%;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  @media (width <= 800px) {
    margin-left: 20%;
  }
}

.card-titletext::before {
  content: "";
  display: inline-block;
  width: 60px;
  height: 60px;
  background-image: url(../images/common.images/dogfoot4.png);
  background-size: contain;
  vertical-align: middle; /* 垂直の揃え方 */
  @media (width <= 800px) {
    margin-bottom: 3%;
  }
}

.card-titletext {
  padding-left: 18%;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.5em;
  @media (width <= 800px) {
    font-size: 20px;
    letter-spacing: 0.1em;
  }
}

.card-list:hover {
  transform: scale(1.1); /* 拡大 */
  transition: 0.2s;
  opacity: 0.6;
}

/* ====== 診療時間エリア ====== */
.intor-time img {
  display: inline-block;
  width: 800px;
  align-items: center;
  margin-top: 5%;
  margin-left: 10%;
  @media (width <= 800px) {
    max-width: 600px;
    margin-left: 12%;
  }
}

.intor-time p {
  margin-left: 18%;
  margin-bottom: 10%;
  @media (width <= 800px) {
    font-size: 14px;
    margin-left: 18%;
  }
}

/* ====== ご予約エリア ====== */

.appt-contain {
  display: grid;
  grid-template-columns: 40% 60%;
  margin-top: 10%;
  margin-left: 16%;
  gap: 18%;
  @media (width <= 800px) {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 5% 30% 0;
    gap: 1%;
  }
}

.appt-howto {
  @media (width <= 800px) {
    margin-left: 18%;
  }
}

.appt-logo img {
  height: 300px;
  @media (width <= 800px) {
    /* max-width: 300px; */
    height: 200px;
    margin-left: 20%;
    gap: 1%;
  }
}

.tell::before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 40px;
  background-image: url(../images/common.images/phone.svg);
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: text-bottom; /* 垂直の揃え方 */
  margin: 15% 0% -10% -10%;
  @media (width <= 800px) {
    margin-left: -20%;
    margin-bottom: -15%;
    margin-top: 5%;
  }
}

.web::before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 40px;
  background-image: url(../images/common.images/tv.svg);
  /* background-position: 0 -10px; */
  background-size: cover;
  background-repeat: no-repeat;
  vertical-align: text-bottom; /* 垂直の揃え方 */
  margin: 5% 0% -10% -10%;
  @media (width <= 800px) {
    margin-left: -20%;
    margin-bottom: -15%;
    margin-top: 10%;
  }
}

.tell::after {
  content: "";
  display: inline-block;
  width: 40px;
  height: 40px;
  background-image: url(../images/common.images/arrow.svg);
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: text-bottom; /* 垂直の揃え方 */
  margin: -10% 0% 10% 50%;
  @media (width <= 800px) {
    margin-top: -20%;
    margin-bottom: 10%;
    margin-left: 80%;
  }
}

.web::after {
  content: "";
  display: inline-block;
  width: 40px;
  height: 40px;
  background-image: url(../images/common.images/arrow.svg);
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: text-bottom; /* 垂直の揃え方 */
  margin: -10% 0% 3% 50%;
  @media (width <= 800px) {
    margin-top: -13%;
    margin-bottom: 6%;
    margin-left: 80%;
  }
}

.tell p,
.web p {
  font-size: 20px;
  font-weight: 600;
  @media (width <= 800px) {
    font-size: 18px;
  }
}

.tell p:last-child {
  font-size: 14px;
  font-weight: 300;
  @media (width <= 800px) {
    font-size: 14px;
  }
}

.tell:hover,
.web:hover {
  transform: scale(1.1); /* 拡大 */
  transition: 0.1s;
  font-weight: 500;
  color: #c16479;
}

.web p:last-child {
  font-size: 14px;
  font-weight: 300;
  @media (width <= 800px) {
    font-size: 14px;
  }
}

/* 優先制ご予約についてエリア */

.appt-usen h3 {
  width: 400px;
  margin: 3% 0 8% 30%;
  line-height: 2.5;
  letter-spacing: 0.5em;
  padding: 0.5em;
  text-align: center;
  border-radius: 30px;
  color: #fff;
  background: #c16479;
  @media (width <= 800px) {
    width: 300px;
    margin-left: 30%;
    font-size: 16px;
    margin-top: 30%;
  }
}


.line-usen {
  border: double #333;
}

.appt-usen p {
  line-height: 3;
  font-size: 16px;
  font-weight: 400;
  text-align: center;
  @media (width <= 800px) {
    font-size: 14px;
  }
}

.appt-usen p:last-child {
  display: block;
  padding-bottom: 10%;
  /* background-color: #fff; */
}
