@charset "UTF-8";

:root {
  --main-color: #4C5C68;
  --black-color:#2C3E50;
  --white-color: #fff;
  --gray-color: #dedede;
  --gray-color02: #fafafa;
  --primary-color:  #F6BBC6;
  --accent-color:#C4A484;
}

:root {
  --content-width-sm: 800px;
  --content-width: 960px;
  --content-width-lg: 1088px;
}

:root {
  --z-index-back: -1;
  --z-index-default: 1;
  --z-index-header: 100;
  --z-index-menu: 150;
  --z-index-modal: 200;
}


body {
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  color: var(--black-color);
  font-size: 16px;
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.8;
  letter-spacing: 0.1em;
}

/*kv*/


.main-kv {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

.slideshow {
  position: relative;
  width: 60%;
  overflow: hidden;
}

.slides img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: top;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slides img.active {
  opacity: 1;
}

.text-block {
  width: 40%;
  background-color: white;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 2rem;
}

.text-content {
  position: relative;
  left: -40px;
  padding: 1rem 2rem;
}

.main-kv .textBox {
  margin-left: -84px;
  width: 410px;
  padding-top: 28px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
}

.main-kv .textBox_title_with_kanji {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.main-kv .textBox_title{
  font-family: "Josefin Sans", sans-serif;
}

.main-kv .textBox h2 {
  position: relative;
  font-size: 4.3rem;
  line-height: 1.1;
  letter-spacing: 0.02em;
  font-style: italic;
}

.main-kv .textBox .sml {
  font-size: 1.0rem;
  font-weight: 500;
  text-align: right;
  letter-spacing: 0em;
}

.main-kv .kanji-name {
  writing-mode: vertical-rl;
  font-family: 'Noto Sans JP', serif;
  font-size: 1.0rem;
  line-height: 1.8;
  white-space: nowrap;
  letter-spacing: 7px;
  margin-top: 95px;
  margin-left: -50px;
}

.reveal-line {
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.reveal-line .text {
  display: inline-block;
  transform: translateY(100%);
  animation: rollUp 1s ease-out forwards;
  animation-delay: 0.5s;
}

@keyframes rollUp {
  to {
    transform: translateY(0);
  }
}

.fadein-text {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeIn 1s ease-out forwards;
  animation-delay: 1.6s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.main-kv .textBox .scroll {
  height: 64px;
  width: 1px;
  overflow: hidden;
  display: block;
  position: absolute;
  bottom: 0;
  right: 8px;
}

.main-kv .textBox .scroll:after {
  opacity: 1;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 1px;
  height: 64px;
  background-color: var(--main-color);
  content: "";
  transition: opacity 2s ease 2s;
  animation: scrollSuggest 1.5s cubic-bezier(.5,0,.5,1) infinite;
}


@keyframes scrollSuggest {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(100%);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .main-kv {
    flex-direction: column;
    position: relative;
    align-items: flex-start;
  }

  .main-kv .slideshow {
    width: 80%;
    margin: 0 auto;
    height: 100vh;
    position: relative;
    margin: 0;
  }

  .main-kv .slides img {
    height: 100%;

  }

  .main-kv .textBox {
    position: absolute;
    bottom: 20px;
    right: 20px;
    margin-left: 0;
    width: auto;
    padding: 1rem;
  }

  .main-kv .textBox_title_with_kanji {
    padding-bottom: 50px;
  }

  .main-kv .textBox h2 {
    font-size: 3rem;
  }

  .main-kv .kanji-name {
    font-size: 0.8rem;
    letter-spacing: 3px;
    margin-top: 66px;
    margin-left: -50px;
}

}

/* common */

.rollup .text {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 1s ease-out, opacity 1s ease-out;
}

.rollup.visible .text {
  transform: translateY(0);
  opacity: 1;
}

.fadein {
  opacity: 0;
  transition: all 0.8s ease;
}

.fadein {
  transform: translateY(10px);
}
.fadein.visible {
  opacity: 1;
  transform: translateY(0);
}

/*prof*/

.main .section_prof {
  position: relative;
  display: flex;
  align-items: center; 
  width: 90%;
  max-width: 1220px;
  margin: 120px auto;
}

@media screen and (max-width: 1220px) {
  .main .section_prof {
    margin: 120px 0 120px auto;
  }
}

.section-left {
  position: relative;
  z-index: 2;
  margin-right: -140px;
}

.section-head {
  margin-bottom: 24px;
  font-weight: 300;
  letter-spacing: 0.02em;
  opacity: 1 !important;
}

.section-head .title {
  margin-bottom: -3px;
  display: block;
  font-size: 2.5rem;
  font-style: normal;
  letter-spacing: -0.02em;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 500;
}

.section-head .prof-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.8rem;
}

.link {
  width: 360px;
  overflow: hidden;
  opacity: 1 !important;
  transition-delay: .4s;
  font-size: 0.8rem;
}

.link a {
  position: relative;
  text-decoration: none;
  border-bottom: 1px solid var(--main-color);
  padding: 0 0 5px 10px;
  display: inline-block;
  width: 300px;
}

.link a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -10px;
  width: 10px;
  height: 10px;
  border-top: 1px solid var(--main-color);
  border-right: 1px solid var(--main-color);
  transform: translateY(-50%) rotate(45deg);
  background: transparent;
}

.link a:hover {
  color:#4C5C6880;
  border-bottom: 1px solid #4C5C6880;
}

.section-right {
  z-index: 1;
}

.section-right .prof-img {
  display: block;
  max-height: 100%;
  object-fit: cover; /* 必要ならトリミング */
}

@media screen and (max-width: 768px) {
  .main .section_prof {
    display: block;
    position: relative;
    margin: 120px 0 240px auto;
  }

  .section-right {
    position: relative;
    width: 100%;
  }

  .section-right .prof-img {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
  }

  .section-right .prof-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .section-left {
    position: absolute;
    left: -30px;
    bottom: -120px;
    width: 100%;
    box-sizing: border-box;
    z-index: 2;
  }
}

@media screen and (max-width: 500px) {
  .section-left {
    position: absolute;
    left: -15px;
    bottom: -140px;
    width: 100%;
    box-sizing: border-box;
    z-index: 2;
  }
}

/* top-qualitas */
.section_qualitas{
  display: flex;
  width: 90%;
  max-width: 1220px;
  margin: 0 auto;
  gap:5%;
  align-items: center;
}

.qualitas-img{
  max-width: 360px;
}

.qualitas-item{
  display: flex;
  border-bottom: 0.75px solid var(--main-color);
  margin-bottom: 40px;
}

.qualitas-item .arrow{
  margin-right: 16px;
}

.qualitas-item .item-ttl{
  position: relative;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  font-style: normal;
  margin-bottom: 8px;
  padding: 0 20px;
}

.qualitas-item .date{
  font-size: 0.75rem;
  letter-spacing: 1px;
  margin-left: 10px;
}

.qualitas-item:hover {
  color: #4C5C6880;
}

@media screen and (max-width: 1000px) {
  .section_qualitas{
  align-items: flex-start;
  flex-direction: column-reverse;
  max-width: 768px;
}
}

/* top-media */
.section_media {
  position: relative;
  background-image: url('../img/media.jpg');
  background-size: cover; 
  background-position: top;
  background-repeat: no-repeat;
  height: 50vh;
  max-height: 800px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 120px;
}

.section_media .media-text {
  padding: 20px;
  border-radius: 8px;
}

.section_media .title {
  letter-spacing: 5px;
}

.media-text p{
  font-size: 0.8rem;
  margin-bottom: 32px;
}

.section_media .button{
  display: inline-block;
  padding: 0.25em 1.5em;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 0.05em;
  background-color: transparent;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.section_media .media-link:hover {
  background-color: #ffffff60;
}

/* prof-page */

.page {
  width: 100%;
  height: auto;
}

.page_heading-img{
  position: relative;
  width: 100%;
}

.prof .page_heading-img img{
  object-fit: cover;
  height: 60vh;
  object-position: top;
}

.page .textBox {
  position: absolute;
  top: 35%;
  left: 30%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: var(--black-color);
  font-family: "Josefin Sans", sans-serif;
}


.page .textBox_title h2 span {
  font-size: 3rem;
  letter-spacing: 0.1em;
}

.page .textBox_title .sml {
  font-size: 1rem;
  margin-top: 10px;
  letter-spacing: 0.05em;
}

.page .profile_body{
  margin: 80px auto;
  width: 90%;
  max-width: 768px;
  font-size: 0.9rem;
  line-height: 2.5;
}

.page .profile_message{
  margin-bottom: 40px;
}

.page .jp-message{
  margin-bottom: 56px;
}

.page .en-message{
  margin-bottom: 56px;
  font-style: italic;
}

  

.prof .profile_contents{
  background-color: #4C5C6815;
}

.prof .profile_text{
  padding: 40px;
}

.prof .profile_text h2{
  font-size: 1.2rem;

}

.prof .profile_detail{
  font-size: 0.8rem;
  line-height: 1.5;
}

.prof .profile_link{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.prof .link_clinic{
  display: inline-block;
  background-color: var(--main-color);
  color: #fff;
  padding: 0px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.link_clinic p {
  margin: 0;
  font-size: 0.75rem;
}

.prof .link_clinic:hover {
  background-color: #333; /* ホバー時の色（任意） */
}

.prof .links_icon img{
  color: var(--main-color);
  width: 24px;
  height: 24px;
  margin: 0;
  vertical-align: middle;
}

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

.page .textBox_title h2 span {
  font-size: 2rem;
}

.page .textBox_title .sml {
  margin-top: 0px;
}
}


/* media-archive */
.media .page_heading-img img{
  object-fit: cover;
  height: 60vh;
  object-position: top;
}

.archive-media_body{
  width:90%;
  max-width: 1000px;
  margin: 120px auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}

.media_wrapper{
  margin-bottom: 32px;
  padding-bottom: 32px;
  font-size: 0.9rem;
}

.media_wrapper .media_thumbnail{
  margin-bottom: 12px;
}

.media_wrapper .media_thumbnail img{
  height: 240px;
  vertical-align: bottom;
  object-fit: cover;
}

.media_wrapper .media_date{
  border-bottom: 1px solid var(--main-color);
  padding-bottom: 4px;
}

.media_wrapper .media_title{
  padding-top: 4px;
}

.media_wrapper .media_title :hover{
  color: #4C5C6880;
}

@media screen and (max-width: 768px) {
.media_wrapper .media_thumbnail img{
  height: 320px;
}


.media_wrapper .media_title{
  margin-left: 0px;
}
}


/* mediapost-page */

.contents-body{
  width:90%;
  max-width: 768px;
  margin: 120px auto;
}

.contents-body img{
  margin: 40px auto; 
  width: 50%;
  min-width: 400px;
}

.contents-body .media_title{
  font-size: 1.2rem;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--main-color);
  font-weight: bold;
}

.contents-body .media_date{
  font-size: 0.8rem;
  text-align: right;
  margin-top: 10px;
}

.contents-body .media_contents{
  margin: 80px auto;
  font-size: 1.0rem;
}

.contents-body .media_contents a{
  text-decoration: underline;
}


.wp-block-image{
  text-align: center;
}


/* contact page */

.page_profile{
    max-width: 1220px;
    width: 90%;
    margin: 80px auto;
}

.page_profile h2{
  font-family: "Josefin Sans", sans-serif;
  font-size: 2rem;
  letter-spacing: 0.1em;
  margin: 64px;
  padding-bottom: 32px;
  border-bottom: 1.5px solid var(--main-color);
}

.contact_text{
    padding: 64px;
}

.contact_form{
    max-width: 1220px;
    width: 90%;
    margin: 0 auto;
}

.contact_form .form_list{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-bottom: 1px solid #eeeeee;
}
.contact_form .form_list.textarea{
    align-items: flex-start;
}
.contact_form .form_list .dt{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 25%;
}
.contact_form .form_list .dt .Item_name{
    color: var(--black-color);
    font-size: 16px;
    font-weight: bold;
}
.contact_form .form_list .dt .required{
    align-items: center;
    width: 70px;
    height: 35px;
    color: #951a3f;
    font-weight: bold;
    font-size: 14px;
    margin-left: 16px;
}
.contact_form .form_list label{
    width: 70%;
}
.contact_form .form_list label input,
.contact_form .form_list label textarea{
    padding: 10px;
    width: 100%;
    font-size: 16px;
    border: 1px solid #cdcdcd;
}
.contact_form .form_list label input{
    height: 60px;
}
.contact_form .form_list label.acceptance span{
    display: block;
    margin: 0;
    cursor: pointer;
}
.contact_form .form_list label.acceptance label{
    display: flex;
    align-items: center;
    width: 100%;
    font-size: 16px;
}
.contact_form .form_list label.acceptance label input {
    margin-right: 10px;
    padding: 0;
    width: auto;
    border: none;
    box-shadow: none;
    cursor: pointer;
}
.contact_form .form_list .wpcf7-not-valid-tip{
    margin-top: 10px;
    font-size: 16px;
}

.contact_form .submit{
    margin: 80px auto 160px auto;
    width: fit-content;
}

.contact_form .submit input{
    padding: 16px;
    width: 260px;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    border: none;
    background-color: #aaaaaa;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}
.contact_form .submit input:hover{
    background-color: var(--black-color);
}
.contact_form .submit span{
    display: none;
}

@media screen and (max-width: 1000px) {
.contact_text{
    padding: 64px;
    margin-right: 0px;
    margin-bottom: 0px;
}
.contact_form{
    padding: 0px;
}
.contact_form .form_list{
    display: block;
}
.contact_form .form_list .dt{
    justify-content: flex-start;
    margin-bottom: 20px;
    width: 100%;
}
.contact_form .form_list .dt .required{
    margin-left: 30px;
}
}

@media screen and (max-width: 500px) {
.page_profile h2{
  font-family: "Josefin Sans", sans-serif;
  font-size: 2rem;
  letter-spacing: 0.1em;
  padding-bottom: 16px;
  margin: 16px;
}

.contact_text{
    padding: 16px;
    font-size: 14px;
}
.contact_form .form_list .dt {
    margin-bottom: 8px;
}
.contact_form .form_list .dt .Item_name{
    font-size: 14px;
}
.contact_form .form_list {
    padding: 18px 0;
}
.contact_form .form_list label input{
    height: 40px;
}
.contact_form .submit{
    width: auto;
}

}


.grecaptcha-badge { 
    visibility: hidden; 
}