:root {
  --blue: #009abc;
  --yellow: #f8e351;
  --white-blue: #eefffe;
  --beige: #f7f6e7;
  --light-blue: #94d5d3;
}

/* ----------------共通------------ */
/* 見出し */
h1 {
  margin-bottom: 10px !important;
  color: var(--blue);
  line-height: 1 !important;
  position: relative;
  z-index: 100;
}
.h1-center {
  text-align: center;
}
.section-h2 {
  margin-bottom: 80px;
}
.section-h3-parent.h3-center{
  text-align: center;
  margin-bottom: 30px;
}
h3.section-h3{
  color: var(--blue) !important;
  position: relative !important;
  z-index: 100;
  display: inline-block;
  overflow: visible !important;
}
h3.section-h3::before{
  width: min(5vw, 18px);
  aspect-ratio: 1 / 1;
  content: "";
  display: block;
  position: absolute;
  background-color: var(--yellow);
  border-radius: 50%;
  z-index: -5;
  top: 0;
    left:5px;
    transform: translate(-50%, 0);
}

.section-h1__sub {
  color: var(--blue);
  font-size: 20px;
  font-weight: 500;
  position: relative;
  z-index: 100;
}
@media (max-width: 992px) {
  h1 {
    font-size: 6vw !important;
    font-size: clamp(20px, 6vw, 26px) !important;
    margin-bottom: 0 !important;
  }
  .section-h1__sub {
    font-size: clamp(14px, 6vw, 18px) !important;
  }
  .section-h2 {
    margin-bottom: 8vw;
  }
}
@media (max-width: 768px) {
  .section-h2 {
    margin-bottom: 15vw;
  }
}
/* 波 */
.section-h1__sub::after {
  width: 66px;
  aspect-ratio: 2 / 1;
  content: "";
  display: block;
  position: absolute;
  background-image: url("/wp-content/uploads/2025/12/blue-wave.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: 50% 50%;
}
@media (max-width: 992px) {
  .section-h1__sub::after {
    width: 55px;
  }
}
/* 波ロゴ横ver */
.section-h1__sub::before {
  width: min(5vw, 18px);
  aspect-ratio: 1 / 1;
  content: "";
  display: block;
  position: absolute;

  background-color: var(--yellow);
  border-radius: 50%;
  z-index: -10;
}
.section-h1__sub.h1-sub__wave-beside::before {
  top: 0;
  left: -10px;
}

.section-h1__sub.h1-sub__wave-beside::after {
  top: 25%;
  left: 75px;
}
@media (max-width: 992px) {
  .section-h1__sub::before {
    width: min(5vw, 14px);
  }
  .section-h1__sub.h1-sub__wave-beside::before {
    top: 2px;
    left: -7px;
  }
}
/* 波ロゴ中央ver */
.h1-sub__wave-center {
  text-align: center;
}
.section-h1__sub.h1-sub__wave-center::before {
  left: calc(50% - 44px);
  transform: translate(-50%, 0);
}
.section-h1__sub.h1-sub__wave-center::after {
  left: 50%;
  transform: translate(-50%, 0);
}
@media (max-width: 992px) {
  .section-h1__sub.h1-sub__wave-center::before {
    left: calc(50% - 39px);
    top: 3px;
  }
}


/* -------TOP------------- */
/* メインビジュアル */
.section-top__slider-wrapper {
  padding: 0 70px;
  position: relative;
}
.wp-block-vk-blocks-slider-item {
  border-radius: 0 60px 0 0;
}
.section-top__slider-image.slider-image01 {
  background-position: 50% 15% !important;
}
.section-top__mv-wrapper {
  position: relative;
}
.section-top__mv-wrapper h1 {
  position: absolute;
  top: 50%;
  left: 20vw;
  transform: translate(-50%, -50%);
  z-index: 100;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  color: var(--blue);
  font-size: 50px;
  text-shadow: 0 3px 12px rgba(255, 255, 255, 0.16);
}
@media (max-width: 992px) {
  .section-top__slider-wrapper {
    padding: 0 0 0 70px;
  }
  .section-top__mv-wrapper h1 {
    top: 40px;
    left: 0;
    right: 46px;
    transform: inherit;
    font-size: 40px;
  }
}
@media (max-width: 768px) {
  .section-top__slider-wrapper {
    padding: 0 0 0 50px;
  }
  .section-top__mv-wrapper h1 {
    font-size: 6vw;
  }
}

.nagimachi-button-arrow img {
  position: relative;
  width: 12px;
  height: 12px;
}
.nagimachi-button-arrow ::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
}
.nagimachi-button-arrow .blue-arrow ::after {
  background-color: #fff;
}

/* トップの訪問診療CTA */

.section-top__mv-home-medicalcare-cta {
  position: absolute;
  right: 20vw;
  bottom: 10vh;
  width: 20vw;
  aspect-ratio: 1 / 1;
  z-index: 2;
  min-width: 280px !important;
  max-width: 350px !important;
  -webkit-transition: all .45s;
  transition: all .45s;
  
}
.section-top__mv-home-medicalcare-cta:hover{
transform: scale(1.08,1.08);
}
@media (max-width: 992px) {
  .section-top__mv-home-medicalcare-cta {
    width: 100%;
    max-width: 280px !important;
  }
  .section-top__mv-home-medicalcare-cta {
    right: 5vw;
  }
}
@media (max-width: 768px) {
  .section-top__mv-home-medicalcare-cta {
    width: 48vw;
    max-width: 100% !important;
    min-width: inherit !important;
    bottom: 5vh;
  }
}

/* お知らせ */
/* a.postListText_singleTermLabel_inner{
  padding: 5px !important;
    display: inline-block !important;
} */
.section-info {
  position: relative;
  z-index: 100;
  padding: 50px 0 180px;
}
.section-info::before {
  content: "";
  background-image: url("/wp-content/uploads/2025/12/wave-white-scaled.png");
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  position: absolute;
  top: -9vh;
  left: 0;
  width: 100%;
  height: 20vw;
  z-index: -10;
}
.section-info__contents-wrapper {
  padding: 40px 20px 0;
}
.section-info__lists-wrapper .postListText {
  display: flex !important;
  align-items: center !important;
}
.section-info__lists-wrapper .postListText .postListText_singleTermLabel_inner {
  padding: 5px !important;
  display: inline-block !important;
}
.section-info__lists-wrapper .postListText .postListText_singleTermLabel {
  min-width: inherit;
}
.section-info__lists-wrapper .postListText_date {
  margin-right: 0 !important;
}
.section-info__lists-wrapper .postListText_title a {
  font-size: 18px !important;
}

@media (max-width: 1200px) {
  .section-info__contents-wrapper {
    padding: 0 1.5vw 0;
  }
}
@media (max-width: 768px) {
  .section-info__lists-wrapper .postListText {
    flex-wrap: wrap;
  }
  .section-info::before {
    top: -5vh;
  }
  .section-info {
    padding: 9vw 0 15vw;
  }
}
@media (max-width: 576px) {
}

/* -------concept------------- */
.section-concept {
  position: relative;
  z-index: 100;
  padding: 150px 0;
  background-color: var(--white-blue);
  margin-top: 50px;
}
.section-concept::before {
  content: "";
  background-image: url("/wp-content/uploads/2025/12/wave-blue-up-scaled.png");
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  position: absolute;
  top: -150px;
  left: 0;
  width: 100%;
  height: 410px;
  z-index: -10;
}
.section-concept::after {
  content: "";
  background-image: url("/wp-content/uploads/2025/12/wave-blue-bottom-scaled.png");
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  position: absolute;
  bottom: -110px;
  left: 0;
  width: 100%;
  height: 380px;
  z-index: -10;
}
.section-concept__message-title {
  font-size: 32px;
  font-weight: 500;
  color: var(--blue);
}
.section-concept__message-text-wrapper {
  width: 660px !important;
  margin: 0 auto;
}
.section-concept__message-wrapper {
  position: relative;
}
.section-concept__message-img {
  position: absolute;
}
.section-concept__message-img {
  width: 240px;
}
.section-concept__message-img.message-img01 {
  top: -80px;
  left: -40px;
}
.section-concept__message-img.message-img02 {
  top: 0;
  right: 0;
}
@media (max-width: 1280px) {
  .section-concept__message-img.message-img01 {
    left: -30px;
  }
  .section-concept__message-img.message-img02 {
    top: 0;
    right: -30px;
  }
  .section-concept__message-text-wrapper {
    width: 500px !important;
  }
}
@media (max-width: 992px) {
  .section-concept {
    padding: 10vw 0;
  }
  .section-concept::before {
    height: 27vw;
    top: -14vw;
  }
  .section-concept__message-img.message-img01 {
    left: -40px;
  }
  .section-concept__message-img.message-img02 {
    right: -40px;
  }
  .section-concept__message-img {
    width: 170px;
  }
  .section-concept__message-text-wrapper {
    width: 400px !important;
  }
  .section-concept::after {
    height: 27vw;
    bottom: -14vw;
  }
}
@media (max-width: 768px) {
  .section-concept {
    padding: 12vw 0;
  }
  .section-concept::before {
    height: 30vw;
    top: -15vw;
  }
  .section-concept::after {
    bottom: -16vw;
    height: 30vw;
  }
  .section-concept__message-img {
    position: relative;
    margin: 0 !important;
    width: 46%;
  }
  .section-concept__message-text-wrapper {
    width: 100% !important;
    margin-bottom: 60px;
  }
  .section-concept__message-img.message-img01 {
    left: 0;
    top: 0;
  }
  .section-concept__message-img.message-img02 {
    position: absolute;
    right: 0;
    top: inherit;
    bottom: -70px;
  }
  .section-concept__message-title{
    font-size: 7vw;
  }
}
/* コンセプト3つ */
.section-concept__item-img img {
  box-shadow: 10px 10px 0 var(--blue);
  border-radius: 40px 4px !important;
}
.section-concept__item-text {
  padding-top: 20px;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.4;
}

.section-concept__contents02 {
  margin-top: 30px !important;
}
.section-concept__contents-column {
  margin: 120px auto 50px !important;
  gap: 52px;
  padding: 0 15px;
}
.section-concept__contents {
  position: relative;
  z-index: 1;
}

.section-concept__item-number {
  position: absolute;
  top: -20px;
  left: -20px;
  z-index: 10;
  width: 70px;
  aspect-ratio: 1 / 1;
  content: "";
  display: block;
  background-color: var(--beige);
  text-align: center;
  border-radius: 50%;
  font-size: 38px;
  color: var(--blue);
  border: 3px solid var(--blue);
  font-weight: 500;
}
.section-concept__item-number::before {
  width: min(5vw, 18px);
  aspect-ratio: 1 / 1;
  content: "";
  display: block;
  position: absolute;
  background-color: var(--yellow);
  border-radius: 50%;
  z-index: 50;
}
@media (max-width: 992px) {
  .section-concept__item-text {
    font-size: clamp(16px, 1.4vw, 20px);
  }
}
@media (max-width: 768px) {
  .section-concept__contents02 {
    margin-top: 0px !important;
  }
  .section-concept__contents-column {
    margin: 18vh auto 6vh !important;
  }
}

/* -------service------------- */
.section-service {
  position: relative;
  z-index: 0;
  padding: 180px 0;
  background-color: var(--beige);
  content: "";
  border-radius: 0 0 100px 100px;
}
.section-service::before {
  /* background-color: var(--beige);
  content: "";
    position: absolute;
    width: 100vw;
    height: 100%;
    z-index: -100; */
}
.section-service__contents-img {
  position: relative;
}
.section-service__contents-title {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  font-size: 28px;
  font-weight: 500;
  padding: 10px 0;
  width: 70%;
  border-radius: 10px 10px 0 0;
  text-align: center;
}
.section-service__contents-text {
  margin-top: 30px !important;
  height: 100px;
}
.section-service__contents-img img {
  border-radius: 40px 4px !important;
}
.section-service__contents {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 10px 10px 0 var(--light-blue);
  border-radius: 40px 4px !important;
  padding: 40px 20px;
}
.section-service__contents-column {
  gap: 52px !important;
  padding: 0 15px;
}
@media (max-width: 992px) {
  .section-service {
    padding: 20vw 0;
  }
  .section-service__contents-title {
    font-size: 22px;
  }
}
@media (max-width: 768px) {
  .section-service {
    padding: 26vw 0;
    border-radius: 0 0 50px 50px;
  }
}

/* -------doctorとFAQのボタン------------- */

.section-h1__sub.h1-sub__wave-beside.wave-long::after {
  left: 135px;
}
h1.white-arrow.h2-button__arrow {
  display: flex;
}
.h2-button__contents-item{
  position: relative;
}
.section-h1__button {
  width: 70%;
  max-width: 350px;
  display: block;
  padding: 26px 0 0 20px;
  position: absolute;
  background-color: #fff;
  border-radius: 0 50px 0 0;
  z-index: 1;
  bottom: -60px;
}
.section-h1__button::before{
    content: "";
    display: block;
    background-image: url("/wp-content/uploads/2025/12/radius.svg");
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center center;
    left: 0;
    top: -35px;
    position: absolute;
    width: 36px;
    height: 36px;
    rotate: 0deg;
}
.section-h1__button::after{
  content: "";
    display: block;
    background-image: url("/wp-content/uploads/2025/12/radius.svg");
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center center;
    right: -15px;
    top: 24px;
    position: absolute;
    width: 20px;
    height: 20px;
    rotate: 0deg;
}
.h2-button__contents-column{
  gap: 52px;
  padding: 150px 15px;
}
.h2-button__contents-item.h2-button__contents-faq{
  top: 50px !important;

}
@media (max-width: 992px) {
  .section-h1__button {
  width: 85%;
}
 .section-h1__button::after{
  right: -3px;
  top: 18px;
  width: 13px;
  height: 13px;
 }
 .h2-button__contents-column{
  padding: 12vw 0;
}
}
@media (max-width: 768px) {
  
  .section-h1__button {
  width: 80%;
  bottom: -34px;
}
.section-h1__button::after{
  right: -23px;
  top: 32px;
  width: 25px;
  height: 25px;
}
 .section-h1__button.h1-button-faq{
    right: 0;
    border-radius: 25px 0 0 0;
  }
  .section-h1__button.h1-button-faq::before{
    left: -36px;
    top: 22px;
    width: 36px;
    height: 36px;
    rotate: -90deg;
  }
  .section-h1__button.h1-button-faq::after{
    top: -36px;
    right: 0;
    width: 36px;
    height: 36px;
    rotate: -90deg;
  }
  .h2-button__contents-column{
    padding: 23vw 0;
  }
}


/* -------お問い合わせページ------------- */
.contact-page__h2{

}
.contact-page__tel-number{
  font-size: 42px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    margin-bottom: 0;
}
.contact-page__tel-number::before{
    width: 28px;
    aspect-ratio: 1 / 1;
    content: "";
    display: block;
    margin-right: 13px;
    background-image: url("/wp-content/uploads/2026/01/tel-icon-black.svg");
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
.contact-page__form-contents-wrapper{
  padding: 180px 0 100px;
}
.contact-page__tel-contents-wrapper{
  padding: 30px 0;
  margin-bottom: 80px;
  border-radius: 30px;
  background-color: var(--beige);
}
.wpcf7-submit{
  border: 1px solid var(--blue) !important;
    background-color: var(--blue) !important;
    display: block;
   margin:10px auto;
   padding:1em 0 !important;
   width:40%;
   color:#fff;
   font-size:18px !important;
   font-weight:bold;	 
   border-radius:30px !important;
   border: none;
}
.grecaptcha-badge { visibility: hidden; }
@media (max-width: 768px){
  .contact-page__form-contents-wrapper{
  padding: 20vw 0 10vw;
}
.contact-page__tel-contents-wrapper{
  padding: 8vw 4vw;
  margin-bottom: 13.3333333333vw;
    border-radius: 2.6666666667vw;
}
.wpcf7-submit{
  width:60vw;
  border-radius:6vw !important;
}
}