@charset "UTF-8";

.commonTitle-d {
  padding: 160px 0 60px 125px;
}



/* h2タイトルだけ明朝体（Noto Serif JP）に */
h2 {
  font-family: "Noto Serif", serif, serif;
  font-weight: 500;
}

.d-inner-fv {
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
}

.d-inner {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.d-pic {
  display: block;
  font-size: 20px;
  margin-left: 0;
  color: #dd9969;
  margin: 0 0 10px 0;
}

/* ファーストビュー */

.d-fv {
  background-color: #f9f7f2;
  padding: 80px 80px 0;
  background-image: url(../img/fv-02-d.png);
  background-repeat: no-repeat;
  background-size: 1030px;
  background-position: center top -70px;
}

.d-fv-box {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.d-fv-img {
  align-self: flex-end;
  max-width: 640px;
}

.d-en {
  font-size: 26px;
  font-family: "Noto Serif", serif;
}

.d-fv-title {
  font-size: 60px;
  font-family: "Noto Serif", serif;
  line-height: 1;
  margin: 0 0 45px 0;
}

.d-fv-title2 {
  font-size: 20px;
  font-family: "Noto Serif", serif;
  background-color: #dd9969;
  color: #fff;
  padding: 10px 15px;
}

.d-fv-title3 {
  font-family: "Noto Serif", serif;
  font-size: 30px;
  margin-bottom: 0;
}

.d-fv-title4 {
  font-family: "Noto Serif", serif;
  font-size: 140px;
  color: #dd9969;
  position: relative;
  font-weight: 600;
  display: flex;
  flex-wrap: wrap;
  gap: 0 30px;
  line-height: 1;
  margin: 0 0 80px 0;
}

.d-fv-title4 .d-pic {
  margin: 0 0 0 0;
  font-size: 42px;
  align-self: flex-end;
}

.d-fv-title4::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 0;
  width: 100%;
  height: 15px;
  background-color: rgba(221, 153, 105, 0.4);
}

.d-fv-txtbox {
  display: flex;
  flex-direction: column;
  gap: 45px;
}

@media screen and (max-width: 768px) {

  .commonTitle-d {
    padding: 100px 20px 20px 20px
  }

  .d-fv {
    padding: 10vw 6vw 0;
  }

  .d-fv {
    background-color: #f9f7f2;

    background-image: url(../img/fv-02-d.png);
    background-repeat: no-repeat;
    background-size: 430px;
    background-position: 50% 80%;
  }

  .d-fv-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
  }

  .d-en {
    text-align: center;
    font-size: 16px;
    font-family: "Noto Serif", serif;
  }

  .d-fv-title {
    text-align: center;
    font-size: 60px;
    font-family: "Noto Serif", serif;
    line-height: 1.4;
  }

  .d-fv-title2 {
    font-size: 20px;
    font-family: "Noto Serif", serif;
    background-color: #dd9969;
    color: #fff;
    padding: 10px 10px;
    text-align: center;
    margin-top: 10px;
  }

  .d-fv-txtbox {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .d-fv-title3 {
    font-family: "Noto Serif", serif;
    font-size: 35px;
    text-align: center;
    margin-top: 10px;
  }

  .d-fv-title4 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap:0 10px;
    font-family: "Noto Serif", serif;
    font-size: 78px;
    color: #dd9969;
    position: relative;
    z-index: 0;
    font-weight: 600;
    margin-top: 10px;
  }

  .d-fv-title4::after {
    content: "";
    position: absolute;
    z-index: -1;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 15px;
    background-color: rgba(221, 153, 105, 0.4);
  }

  .d-fv-img {
    width: 100%;
    position: relative;
    right: 0;
  }

  .d-pic {
    font-size: 30px;
    color: #000;
  }
}

/* 予約 */

.tl-child-01 {
  padding: 40px 0;
  background-color: #dd9969;
  text-align: center;
  line-height: 1;
}

.tl-child-01 .txt {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 500;
  font-size: 18px;
  color: #fff;
}

.tl-child-01 .txt span {
  position: relative;
  margin-top: 10px;
  font-size: 26px;
}

.tl-child-01 .txt span:before,
.tl-child-01 .txt span:after {
  pointer-events: none;
  content: "";
  position: absolute;
  bottom: -5px;
  width: 2px;
  height: 120%;
  background-color: #fff;
}

.tl-child-01 .txt span:before {
  left: -20px;
  transform: rotateZ(-20deg);
}

.tl-child-01 .txt span:after {
  right: -20px;
  transform: rotateZ(20deg);
}

.tl-child-01 ul {
  display: flex;
  justify-content: space-between;
  width: 1000px;
  margin: 0 auto;
  margin-top: 20px;
  font-weight: 500;
  font-size: 18px;
}

.tl-child-01 ul li {
  width: 49%;
  padding: 4px;
  border-radius: 10px;
  background-color: #fff;
}

.tl-child-01 ul li a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  width: 100%;
  border-radius: 8px;
  border: 1px solid #dd9969;
  color: #dd9969;
}

.tl-child-01 ul li a span {
  position: relative;
  display: flex;
  align-items: center;
}

.tl-child-01 ul li a i {
  margin-left: 10px;
  padding: 10px;
  border-radius: 2px;
  background-color: rgba(200, 114, 52, 0.15);
  font-size: 13px;
}

.tl-child-01 ul li.tel a em {
  font-size: 140%;
}

.tl-child-01 ul li.tel a {
  pointer-events: none;
}

.tl-child-01 ul li.tel a span {
  padding-left: 30px;
}

.tl-child-01 ul li.tel a span:before {
  pointer-events: none;
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  letter-spacing: 0;
  width: 18px;
  height: 18px;
  margin-top: -7px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-image: url(../img/child/icon_tel.png);
}

.tl-child-01 ul li.web a span {
  padding-left: 40px;
}

.tl-child-01 ul li.web a span:before {
  pointer-events: none;
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  letter-spacing: 0;
  width: 28px;
  height: 20px;
  margin-top: -8px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-image: url(../img/child/icon_web.png);
}

/* ------------------------------------------------------- sp */
@media screen and (max-width: 1024px) {
  /* 調整不要 */
}

/* ------------------------------------------------------- sp */
@media screen and (max-width: 768px) {
  .tl-child-01 {
    padding: 10vw 0;
  }

  .tl-child-01 .txt {
    font-size: 3.5vw;
  }

  .tl-child-01 .txt span {
    margin-top: 3vw;
    font-size: 120%;
    padding:0 15px;
    line-height: 1.5;
  }

  .tl-child-01 .txt span:before,
  .tl-child-01 .txt span:after {
    bottom: 0;
    height: 80%;
  }

  .tl-child-01 .txt span:before {
    left: 15px;
    transform: rotateZ(-20deg);
  }

  .tl-child-01 .txt span:after {
    right: 15px;
    transform: rotateZ(20deg);
  }

  .tl-child-01 ul {
    flex-direction: column;
    padding: 0 4vw;
    width: 100%;
    margin-top: 5vw;
    font-size: 3.5vw;
  }

  .tl-child-01 ul li {
    width: 100%;
    padding: 0.5vw;
    border-radius: 2vw;
  }

  .tl-child-01 ul li+li {
    margin-top: 3vw;
  }

  .tl-child-01 ul li a {
    height: 13vw;
    border-radius: 1.5vw;
    font-size: 3.6vw;
  }

  .tl-child-01 ul li a i {
    flex:1;
    margin-left: 2vw;
    padding: 1.5vw;
    border-radius: 0.5vw;
    font-size: 3.2vw;
  }

  .tl-child-01 ul li.tel a em {
    font-size: 160%;
    flex:1;
  }

  .tl-child-01 ul li.tel a {
    pointer-events: auto;
  }

  .tl-child-01 ul li.tel a span {
    padding-left: 0;
  }

  .tl-child-01 ul li.tel a span:before {
    width: 4.5vw;
    height: 4.5vw;
    margin-top: -2.25vw;
  }

  .tl-child-01 ul li.web a span {
    padding-left: 8.5vw;
  }

  .tl-child-01 ul li.web a span:before {
    width: 6.5vw;
    height: 4.7vw;
    margin-top: -2vw;
  }
}

/* 01 */

.d-01 {
  background-image: url(../img/01-01.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.d-inner01 {
  width: 100%;
  margin: 0 auto;
}

.d-01-img {
  position: relative;
  display: flex;
  align-items: flex-end;
}

.d-fv-img2 {
  padding-top: 20px;
  width: 480px;
  height: auto;
  filter: drop-shadow(10px -5px 3px rgba(255, 255, 255, 1));
}

.d-01-txt {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  line-height: 2;
  background: rgba(249, 247, 241, 0.7);
  color: #dd9969;
  padding: 0 130px;
  font-size: 60px;
  font-family: "Noto Serif", serif;
}

.d-01-txt span {
  align-self: center;
}

.d-01-box {
  display: flex;
  justify-content: space-between;
}

.d-01-txt-box {
  background: #f9f7f2;
  text-align: center;
  padding: 50px;
}

.d-01-subtitle {
  color: #dd9969;
  font-family: "Noto Serif", serif;
  font-size: 35.126px;
  font-style: normal;
}

.d-01-title {
  color: #dd9969;
  font-family: "Noto Serif", serif;
  font-size: 50px;
  line-height: 1.4;
  font-style: normal;
  font-weight: 500;
  margin: 0 0 20px 0;
}

.d-01triangle {
  margin-top: 20px;
  margin: 0 auto;
}

.d-sp-line {
  display: none;
}

@media screen and (max-width: 768px) {
  .d-01 {
    background-image: url(../img/01-01.png);
    background-repeat: no-repeat;
    background-size: 140%;
    background-position: -80px 0;
    padding: 10vw 0vw 0vw;
  }

  .d-01-txt {
    font-size: 20px;
    line-height: 1.5;
    background: rgba(249, 247, 241, 0);
    color: #dd9969;
    padding: 10px 10px 50px;
    font-size: 28px;
    font-family: "Noto Serif", serif;
    position: relative;
    z-index: 1;
    font-weight: 500;
  }

  .d-01-txt::after {
    content: "";
    position: absolute;
    top: -15%;
    left: 0;
    width: 100%;
    height: 115%;
    background: rgba(255, 255, 255, 0.8);
    z-index: -1;
    border-radius: 0px;
  }

  .d-fv-img2 {
    width: 200px;
    height: auto;
    filter: drop-shadow(10px -5px 3px rgba(255, 255, 255, 1));
    position: relative;
    top: 0;
  }

  .d-01-txt-box {
    background: #f9f7f2;
    text-align: center;
    padding: 10vw 6vw;
  }

  .d-01-subtitle {
    color: #dd9969;
    font-family: "Noto Serif", serif;
    font-size: 16px;
    font-style: normal;
  }

  .d-01-title {
    color: #dd9969;
    font-family: "Noto Serif", serif;
    font-size: 35px;
    font-style: normal;
    font-weight: 500;
  }

  .d-sp-line {
    display: inline;
  }

  .d-01triangle {

    margin: 20px auto 0;
  }
}

/* 02 */

.d-02 {
  padding: 160px 80px 50px;
  background: #f0e2d6;
}

.d-02-txtbox {
  background: #dd9969;
  padding: 50px;
  text-align: center;
  border-radius: 20px;
}

.d-02-subtxt {
  background: #fff;
  padding: 10px;
  font-size: 25px;
  color: #dd9969;
  font-family: "Noto Serif", serif;
}

.d-contents01-item02 {
  margin-top: 30px;
  border: solid 1px;
  padding: 20px;
  text-align: center;
  line-height: 2;
  font-weight: 400;
}

.d-02-title {
  color: #fff;
  font-family: "Noto Serif", serif;
  font-size: 60px;
  line-height: 1.6;
  margin-top: 10px;
  letter-spacing: 3px;
  position: relative;
}

.d-02-title::after {
  content: " Achievements";
  position: absolute;
  top: 90%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 145px;
  color: rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
  letter-spacing: 8px;
}

.d-contents01-box {
  padding: 80px 0 80px calc((100% - 1100px) / 2);
  background: #f0e2d6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0 80px;
  position: relative;
  /* 必須：テキストサイズに背景を合わせるため */
  z-index: 1;
  overflow: hidden;
}

.d-contents01_txt {
  width: 50%;
}

.d-02-img {
  width: 50%;
}
@media screen and (max-width: 768px) {
  .d-contents01_txt {
    width: 100%;
  }
  .d-02-img {
    width: 100%;
  }
}

.d-contents01-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 140%;
  background: rgba(255, 255, 255, 0.7);
  /* 半透明マット */
  z-index: -1;
  border-radius: 4px;
  /* 角丸つけたい場合 */
}

.d-contents01-box.active::before {
  animation: matte-slide-in 1.3s ease-out forwards;
}

@keyframes matte-slide-in {
  from {
    width: 0%;
  }

  to {
    width: 70%;
  }
}

.d-contents01-title {
  color: #dd9969;
  font-family: "Noto Serif", serif;
  font-size: 25px;
  font-style: normal;
  font-weight: 500;
  text-align: left;
  border-bottom: solid 1px;
  margin-bottom: 30px;
  margin-top: 15px;
  padding-bottom: 5px;
}

.d-contents01-item {
  text-align: justify;
  font-size: 18px;
  line-height: 2;
}

/* d02-02 */

.d-contents01-box02 {
  padding: 80px calc((100% - 1100px) / 2) 80px 0;
  background: #f0e2d6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0 80px;
  position: relative;
  /* 必須：テキストサイズに背景を合わせるため */
  z-index: 1;
  overflow: hidden;
  flex-direction: row-reverse;
}

.d-contents01-box02::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0%;
  height: 1600px;
  background: rgba(255, 255, 255, 0.7);
  /* 半透明マット */
  z-index: -1;
  border-radius: 4px;
  /* 角丸つけたい場合 */
}

.d_contents01_txt02 {
  width: 50%;
}

.d-03-img {
  width: 50%;
}

@media screen and (max-width: 768px) {
 .d_contents01_txt02 {
    width: 100%;
  }
  .d-03-img {
    width: 100%;
  }
}

.d-contents01-box02.active::before {
  animation: matte-slide-in 1.3s ease-out forwards;
}

@keyframes matte-slide-in {
  from {
    width: 0%;
  }

  to {
    width: 70%;
  }
}

.d-contents01-item02 {
  margin-top: 30px;
  border: solid 1px;
  padding: 20px;
  text-align: center;
  line-height: 2;
}

.item02-pic {
  margin-bottom: 10px;
  position: relative;
  display: flex;
  align-items: center;
}

.item02-pic::before,
.item02-pic::after {
  content: "";
  flex: 1;
  border-top: 1px solid #000;
  margin: 0 10px;
}

@keyframes matte-slide-in-sp {
  from {
    width: 0%;
  }

  to {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .d-02 {
    padding: 12vw 0vw 0vw;
    background: #f0e2d6;
  }

  .d-pic-txt {
    font-size: 12px;
    display: inline-block;
    margin-bottom: 10px;
  }


  .d-02-txtbox {
    background: #dd9969;
    padding: 20px;
    text-align: center;
    border-radius: 10px 10px 0 0;
  }

  .d-02-subtxt {
    background: #fff;
    padding: 10px;
    font-size: 17px;
    color: #dd9969;
    font-family: "Noto Serif", serif;
    font-weight: 500;
  }

  .d-02-title {
    color: #fff;
    font-family: "Noto Serif", serif;
    font-size: 32px;
    margin-top: 10px;
    letter-spacing: 3px;
    position: relative;
    line-height: 1.3;
  }

  .d-02-title::after {
    content: " Achievements";
    position: absolute;
    top: 105%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 38px;
    color: rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    letter-spacing: 8px;
  }

  .d-contents01-box {
    padding: 20px;
    background: #f0e2d6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    overflow: hidden;
    flex-direction: column-reverse;
  }

  .d-contents01_txt {
    padding: 0vw 0vw;
    margin-left: 0px;
  }

  .d-contents01-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 140px;
    background: rgba(255, 255, 255, 0.7);
    z-index: -1;
    border-radius: 4px;
  }

  .d-contents01-box.active::before {
    animation: matte-slide-in-sp 1.3s ease-out forwards;
  }

  .d-contents01-title {
    color: #dd9969;
    font-family: "Noto Serif", serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    text-align: center;
    border-bottom: solid 1px;
    margin-bottom: 30px;
  }

  .d-contents01-item {
    font-size: 15px;
    line-height: 2;
    text-align: left;
    font-weight: 400;
  }

  /* 02-02 */

  .d-contents01-box02 {
    padding: 20px;
    background: #f0e2d6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    overflow: hidden;
    flex-direction: column-reverse;
  }

  .d-contents01-box02::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0%;
    height: 1400px;
    background: rgba(255, 255, 255, 0.7);
    z-index: -1;
    border-radius: 4px;
  }

  .d_contents01_txt02 {
    padding: 0vw 0vw;
    margin-right: 0px;
    flex: 1;
  }

  .d-contents01-box02.active::before {
    animation: matte-slide-in-sp 1.3s ease-out forwards;
  }
}

/* 03 */

.d-03 {
  padding: 160px 80px 50px;
  background: #f0e2d6;
}

.d-contents01-box03 {
  padding: 80px 0 80px calc((100% - 1100px) / 2);
  background: #f0e2d6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0 80px;
  position: relative;
  /* 必須：テキストサイズに背景を合わせるため */
  z-index: 1;
  overflow: hidden;
  flex: 1;
}

.d-contents01-txt {
  width: 50%;
}

.d-04-img {
  width: 50%;
}
@media screen and (max-width: 768px) {
  .d-04-img {
    width: 100%;
  }
}

.d-contents01-box03::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 1400px;
  background: rgba(255, 255, 255, 0.7);
  /* 半透明マット */
  z-index: -1;
  border-radius: 4px;
  /* 角丸つけたい場合 */
}

.d-contents01-box03.active::before {
  animation: matte-slide-in 1.3s ease-out forwards;
}

@keyframes matte-slide-in {
  from {
    width: 0%;
  }

  to {
    width: 70%;
  }
}

/* d-03-2 */

.d-03-2 {
  background: #f0e2d6;
  padding: 80px;
}

.d-03-2-sub {
  color: #dd9969;
  font-family: "Noto Serif", serif;
  font-size: 27px;
  text-align: center;
}

.d-03-2-title {
  color: #dd9969;
  text-align: center;
  font-family: "Noto Serif", serif;
  font-size: 60px;
  margin: 0 0 20px 0;
}

.doctor-box {
  text-align: center;
  padding: 50px;
  border: solid 1px #dd9969;
}

.doctor-boxtxt {
  color: #000;
  font-family: "Noto Serif", serif;
  font-size: 28.121px;
  position: relative;
  display: inline-block;
  padding: 0 30px;
  margin-bottom: 30px;
}

.doctor-boxtxt::before,
.doctor-boxtxt::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background: #000;
  transform: rotate(30deg);
  transform-origin: center;
}

.doctor-boxtxt::before {
  left: 0;
  transform: rotate(80deg);
  /* 左の＼ */
}

.doctor-boxtxt::after {
  right: 0;
  transform: rotate(-80deg);
  /* 右の／ */
}

.doctor-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  place-items: center;
  padding: 0 10px;
  filter: drop-shadow(4px 4px 2px rgba(0, 0, 0, 0.3));
}

@media screen and (max-width: 768px) {
  .d-03 {
    padding: 12vw 0vw 0vw;
    background: #f0e2d6;
  }

  .d-contents01-box03 {
    padding: 20px;
    background: #f0e2d6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    overflow: hidden;
    flex-direction: column-reverse;
  }

  .d-contents01-box03.active::before {
    animation: matte-slide-in-sp 1.3s ease-out forwards;
  }

  .d-03-2 {
    background: #f0e2d6;
    padding: 10vw 6vw;
  }

  .d-03-2-sub {
    color: #dd9969;
    font-family: "Noto Serif", serif;
    font-size: 16px;
    text-align: center;
  }

  .d-03-2-title {
    color: #dd9969;
    text-align: center;
    font-family: "Noto Serif", serif;
    font-size: 35px;
    margin-bottom: 15px;
    line-height: 1.3;
  }

  .doctor-boxtxt {
    color: #000;
    font-family: "Noto Serif", serif;
    font-size: 16px;
    position: relative;
    display: inline-block;
    padding: 0 30px;
    margin-bottom: 30px;
  }

  .doctor-box {
    text-align: center;
    padding: 15px;
    border: solid 1px #dd9969;
  }

  .doctor-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    place-items: center;
    padding: 0 10px;
    filter: drop-shadow(4px 4px 2px rgba(0, 0, 0, 0.3));
  }
}

/* d-04 */

.d-04 {
  background: #f0e2d6;
  padding: 80px;
}

.d-contents01-box04 {
  padding: 80px calc((100% - 1100px) / 2) 80px 0;
  background: #f0e2d6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0 80px;
  position: relative;
  /* 必須：テキストサイズに背景を合わせるため */
  z-index: 1;
  overflow: hidden;
  flex-direction: row-reverse;
}

.d-contents01-box04::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0%;
  height: 1400px;
  background: rgba(255, 255, 255, 0.7);
  /* 半透明マット */
  z-index: -1;
  border-radius: 4px;
  /* 角丸つけたい場合 */
}

.d-contents01_txt02 {
  width: 50%;
}
@media screen and (max-width: 768px) {
  .d-contents01_txt02 {
    width: 100%;
  }
}

.d-contents01-box04.active::before {
  animation: matte-slide-in 1.3s ease-out forwards;
}

@keyframes matte-slide-in {
  from {
    width: 0%;
  }

  to {
    width: 70%;
  }
}

@media screen and (max-width: 768px) {
  .d-04 {
    background: #f0e2d6;
    padding: 12vw 0vw 0vw;
  }

  .d-contents01-box04 {
    padding: 20px;
    background: #f0e2d6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    overflow: hidden;
    flex-direction: column-reverse;
  }

  .d-contents01-box04::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 0%;
    height: 120%;
    background: rgba(255, 255, 255, 0.7);
    z-index: -1;
    border-radius: 4px;
  }

  .d-contents01_txt02 {
    padding: 0vw 0vw;
    margin-right: 0px;
    flex: 1;
  }

  .d-contents01-title {
    color: #dd9969;
    font-family: "Noto Serif", serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    text-align: center;
    border-bottom: solid 1px;
    margin-bottom: 30px;
    padding-bottom: 7px;
  }

  .d-contents01-box04.active::before {
    animation: matte-slide-in-sp 1.3s ease-out forwards;
  }
}

/* d-05 */

.d-05 {
  padding: 80px 0;
  background: #f0e2d6;
}

.d-05-title {
  background: #dd9969;
  padding: 60px;
  text-align: center;
  font-size: 50px;
  color: #fff;
  font-family: "Noto Serif", serif;
}

.d-05-txt-box {
  text-align: center;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.d-05-txt {
  text-align: center;
  margin-top: 50px;
  font-size: 30px;
  font-family: "Noto Serif", serif;
  position: relative;
  display: inline-block;
  padding:0 45px;
}

.d-05-txt::after {
  content: "";
  position: absolute;
  bottom: 1px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 15px;
  background-color: rgba(221, 153, 105, 0.4);
}

.d-05-txt-sub {
  margin-top: 5px;
  font-size: 17px;
}

.d05-case01-title {
  text-align: center;
  margin-top: 70px;
  font-size: 30px;
  font-family: "Noto Serif", serif;
}

.d-case01 {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  margin: 30px 0;
}

.d-05-case01 {
  width: 70%;
}

.case-d-05 {
  padding: 0vw 0vw;
}

@media screen and (max-width: 768px) {
  .d-05 {
    padding: 30px 0;
    background: #f0e2d6;
  }

  .d-05-title {
    background: #dd9969;
    padding: 10vw 6vw;
    text-align: center;
    font-size: 37px;
    color: #fff;
    font-family: "Noto Serif", serif;
  }

  .d-05-txt-box {
    text-align: center;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 10vw 6vw;
  }

  .d-05-txt {
    text-align: center;
    margin-top: 0px;
    font-size: 20px;
    font-family: "Noto Serif", serif;
    position: relative;
    display: inline-block;
    padding:0 0;
  }

  .d-05-txt::after {
    content: "";
    position: absolute;
    bottom: 1px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 10px;
    background-color: rgba(221, 153, 105, 0.4);
  }

  .d-05-txt-sub {
    margin-top: 25px;
    font-size: 15px;
    text-align: left;
    line-height: 2;
    font-weight: 400;
  }

  .case-d-05 {
    padding: 0vw 6vw;
  }

  .d05-case01-title {
    text-align: center;
    margin-top: 0px;
    font-size: 20px;
    font-family: "Noto Serif", serif;
  }

  .d-case01 {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    margin: 0px 0px 50px;
  }

  .d-05-case01 {
    width: 100%;
  }
}

/* d-06 */

.d-06 {
  background-color: #f9f7f2;
  padding: 80px 0;
}

.d-06-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0 80px;
  z-index: 1;
  position: relative;
  padding: 80px 0 80px calc((100% - 1100px) / 2);
  color: #fff;
}

.d-06-txt-contents {
  text-align: center;
  width: 50%;
}

.d-06-img {
  width: 50%;
}
@media screen and (max-width: 768px) {
  .d-06-txt-contents {
    text-align: left;
    width: 100%;
  }
  .d-06-img {
    width: 100%;
  }
}

.d-06-txt {
  font-size: 16px;
  line-height: 2;
  text-align: justify;
}

.d-06-title {
  margin-bottom: 30px;
}

.d-06-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: #dd9969;
  /* 半透明マット */
  z-index: -1;
  border-radius: 4px;
  /* 角丸つけたい場合 */
}

.d-06-box.active::before {
  animation: matte-slide-in 1.3s ease-out forwards;
}

@keyframes matte-slide-in {
  from {
    width: 0%;
  }

  to {
    width: 70%;
  }
}

.d-06-en {
  font-family: "Noto Serif", serif;
}

.d-06-title {
  margin-bottom: 30px;
  font-size: 24px;
  font-family: "Noto Serif", serif;
}

.d-06-point {
  padding: 80px 80px 0;
}

.d-06-point-box {
  display: flex;
  justify-content: space-around;
  gap: 0 30px;
}
.d-06-point-box01{

}
.d-06-point-box01 img{
  margin:0 auto;
}
.d-06-point-txt {
  text-align: center;
  background: #fff;
  margin-bottom: 20px;
  font-size: 16px;
  padding:5px 20px;
  font-family: "Noto Serif", serif;
}



.d-06-point-inner {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .d-06-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
    position: relative;
    padding: 80px 0;
    color: #fff;
    flex-direction: column-reverse;
  }

  .d-06-txt-contents {
    text-align: center;
    padding: 10vw 6vw;
    margin-left: 0px;
  }

  .d-06-box.active::before {
    animation: matte-slide-in-sp 1.3s ease-out forwards;
  }

  .d-06-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 95%;
    background: #dd9969;
    z-index: -1;
    border-radius: 4px;
  }

  .d-06-txt {
    font-size: 16px;
    line-height: 2;
    text-align: left;
    font-weight: 400;
  }


  .d-06-point {
    padding: 0vw 6vw 0;
  }

  .d-06-point-box {
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    gap: 40px
  }



}

.career-box {
  padding: 80px 0;
}

.career-box0 {
  display: flex;
  flex-wrap: wrap;
  gap:0 30px;
}
.career-box02{
  flex:1;
}

.career-box-title {
  font-family: "Noto Serif", serif;
  font-size: 24px;
  position: relative;
  z-index: 0;
  margin:0 0 15px 0;
}
.career-box-title span{
  display:inline-block;
  padding:0px 15px 0 0;
  background: var(--cream);
}

.career-box-title::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  top: 50%;
  margin-top:-1px;
  width: 100%;
  height: 1px;
  background-color: #000;
}

.career-box-title2 {
  font-family: "Noto Serif", serif;
  font-size: 24px;
  position: relative;
}

.career-box-title2::after {
  content: "";
  position: absolute;
  top: 21px;
  margin-left: 10px;
  width: 50%;
  height: 0.7px;
  background-color: #000;
}

.career-list {
  font-family: "Noto Serif", serif;
  gap: 20px;
}

.career-txt {
  margin-bottom: 5px;
}

.career-box03 {
  margin-top: 100px;
  margin-left: 105px;
}

.career-box-title3 {
  font-family: "Noto Serif", serif;
  font-size: 25px;

  position: relative;
}

.career-box-title3::after {
  content: "";
  position: absolute;
  top: 21px;
  margin-left: 10px;
  width: 100%;
  height: 0.7px;
  background-color: #000;
}

.career-txt03 {
  font-family: "Noto Serif", serif;

  line-height: 2;
}

@media screen and (max-width: 768px) {
  .career-box0 {
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    gap: 20px;
  }

  .career-box {
    padding: 5vw 6vw;
  }
}



.career-list {
  font-family: "Noto Serif", serif;
  font-size: 13px;




  .video {
    padding: 0 20px;
  }

  .v-box {
    padding-top: 10px;
    ;
  }

  .v-box ul {
    display: flex;
    flex-wrap: wrap;
    margin: 40px 0 80px;
  }

  .v-box li {
    width: 31%;
    margin-right: 3.5%;
    margin-bottom: 1%;
    aspect-ratio: 16/9;
  }

  .v-box li:nth-of-type(3n) {
    margin-right: 0;
  }

  .v-box iframe {
    width: 100%;
    height: 100%;
  }

  .v-box .v-ttl {
    text-align: center;
    padding: 10px 0 30px;
  }

  .test-doctor {
    text-align: center;
    color: #fff;
  }


  @media screen and (max-width: 768px) {

    .v-box li {
      width: 47%;
      margin-right: 6%;
    }

    .v-box li:nth-of-type(2n) {
      margin-right: 0 !important;
    }

    .v-box li:nth-of-type(3n) {
      margin-right: 6%;
    }

    .v-box ul {
      margin: 20px 0 40px;
    }

    .v-box .v-ttl {
      padding: 8px 0 20px;
      font-size: 14px;
    }
  }

  @media screen and (max-width: 600px) {
    .v-box li {
      width: 100%;
      margin-right: 0 !important;
    }
  }




  /* ポップアップのスタイル */
  .popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 999;
  }

  .popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    text-align: center;
  }

  .close {
    position: absolute;
    top: 10px;
    right: 30px;
    font-size: 50px;
    cursor: pointer;
  }

  /* 動画コンテナのスタイル */
  .video-container {
    position: relative;
    height: 36vw;
    width: 64vw;
  }

  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .showPopupBtn {
    position: relative;
    z-index: 1;
  }

  .showPopupBtn::before {
    content: "";
    background-image: url(../img/ico_play.svg);
    background-size: 100%;
    background-repeat: no-repeat;
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    z-index: 2;
  }

  @media screen and (max-width: 768px) {
    .video-container {
      height: 50vw;
      width: 89vw;
    }
  }