@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/* ヘッダー　カスタマイズ=========== */
.logo-header {
  display: none;
}

.header__connainer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px;
  position: relative;
}

.header__logo-home {}

/* ロゴスタイル---------- */
.l-logo {}

.l-logo>a {
  display: flex;
  align-items: center;
  gap: 15px;

  text-decoration: none;
  transition: .5s;
}

.l-logo>a:hover {
  opacity: 0.5;
}

.l-logo path {
  fill: #000000 !important;
}

svg.p-sp {
  display: none;
}

.l-logo .c-text {
  display: block;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0em;
  color: #333333 !important;
  text-decoration: none;
}

@media screen and (max-width: 1023px) {
  svg.p-pc {
    display: none;
  }

  svg.p-sp {
    display: block;
  }

  .l-logo .c-text {
    display: none;
  }
}


.header__sns {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #333;
  padding: 9px 24px;
  border-radius: 22px;
  cursor: pointer;
  transition: .5s;
}

.header__sns:hover {
  opacity: .5;
}

.header__left-menu {
  position: relative;
}

/* ヘッダー　sns =========== */
.sns-modal {
  width: 200px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #333 !important;
  padding: 20px 8px;

  position: absolute;
  right: 0;
  top: 60px;
  z-index: 1;

  display: none;
}

.sns-modal_list {
  list-style: none;
  padding-left: 0px;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;

}

.sns-modal_item {
  transition: .5s;
}

.sns-modal_item:hover {
  opacity: .5;
}

.doctor-sns {
  padding-bottom: 20px;
  border-bottom: solid 1px #ddd !important;
}

.official-sns {
  padding-top: 20px;
}

.sns-modal-title {
  display: block;
  text-align: center;
  font-family: Inter;
  font-size: 14px;
  font-weight: 400;
  line-height: 100%;
  margin-bottom: 12px;
  color: #000 !important;
}

/* ヘッダー　メニュー =========== */

.menu-items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
  -ms-flex-direction: column-reverse;
  flex-direction: column-reverse;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding-inline: clamp(0.4375rem, -0.875rem + 2.048vw, 0.96875rem);
  position: relative;
  -webkit-transition: 0.3s all;
  transition: 0.3s all;
}

.item-label::before {
  content: "";
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  left: 0;
  width: 1px;
  height: 28px;
  background: #50b3b0;
}

.item-label .p-en {
  color: #50b3b0 !important;
  font-family: "Libre Bodoni", serif;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
}

.item-label .p-ja {
  color: #333333 !important;
  font-family: "Noto Serif JP", sans-serif;
  font-size: clamp(0.75rem, 0.441rem + 0.482vw, 0.875rem);
  font-weight: 600;
  text-align: center;
}

.navi-in a:hover {
  background: #50b3b0 !important;
  transition: all 0.3s ease-in-out;
  color: #ffffff !important;
}

.menu-item:last-child .item-label:after {
  content: "";
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 0;
  width: 1px;
  height: 28px;
  background: #50b3b0;
}

.navi-in a:hover .p-ja {
  color: #ffffff !important;
}

.navi-in a:hover .p-en {
  color: #ffffff !important;
}


.navi-in>ul li {
  width: fit-content;
}

.navi-in>ul {
  flex-wrap: nowrap;
}

.sp-br {
  display: none;
}

@media screen and (max-width: 1023px) {
  .sp-br {
    display: block;
  }
}

/* 施術一覧メニュー =========== */
.cu-megamenu {
  position: fixed;
  z-index: 16;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  top: 140px;
  width: clamp(61.25rem, 26.363rem + 54.458vw, 75.375rem);
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);

  height: 73vh;

  display: none;
}

.is-hover {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.cu-memamenu_left {
  width: 117px;
  background: rgba(217, 217, 217, 0.9);

  cursor: pointer;
  -webkit-transition: 0.3s all;
  transition: 0.3s all;
  position: relative;
}

.cu-megamenu_right {
  background: rgba(80, 179, 176, 0.9);
  /* height: 100%; */
  /* max-height: calc(100vh - 160px); */
  overflow-y: scroll;
}

.cu-megamenu_lists {
  list-style: none;
  padding-left: 0px;
  font-size: 16px;
  color: #ffffff;
}

.cu-megamenu_list {
  padding: 24px 9px;
  -webkit-transition: 0.3s all;
  transition: 0.3s all;
  position: relative;
  white-space: nowrap;
}

.cu-megamenu_list.is-active {
  background: rgba(80, 179, 176, 0.8);
}

.cu-tab_item {
  gap: 32px;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 100%;
  padding: 24px 30px;
}

.cu-tab_item.is-active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.cu-megamenu_contents {
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  min-width: 175px;
}

.cu-megamenu_title {
  font-size: 14px;
  color: #ffffff !important;
  font-weight: 500;
  padding-bottom: 10px;
  border-bottom: 1px solid #ffffff;
}

.cu-megamenu_links {
  margin-top: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: start !important;
  -ms-flex-align: start !important;
  align-items: flex-start !important;
  gap: 8px 32px;
  max-height: 196px;
  font-size: 12px;
  font-weight: 500;
  line-height: normal;
}

.cu-megamenu_links a {
  color: #ffffff !important;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: reverse;
  -ms-flex-direction: column-reverse;
  flex-direction: column-reverse;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding-inline: clamp(0.4375rem, -0.875rem + 2.048vw, 0.96875rem);
  position: relative;
  -webkit-transition: 0.3s all;
  transition: 0.3s all;

  text-decoration: none;

  max-width: 231px;
  position: relative;
  padding-inline: 16px 0 !important;
}

.cu-megamenu_links a::before {
  content: "";
  position: absolute;
  left: 0 !important;
  top: 5px !important;
  width: 10px !important;
  height: 10px !important;
  background: url(http://aga-test.local/wp-content/uploads/2025/10/ico_triangle.png) no-repeat center center / contain !important;
}

.cu-megamenu_links a::after {
  -webkit-transition: 0.3s all;
  transition: 0.3s all;
  background: transparent;
  content: "";
  position: absolute;
  bottom: -2px !important;
  left: 16px;
  width: calc(100% - 16px);
  height: 1px;
}

.cu-megamenu_links a:hover::after {
  background: #ffffff;
}

/* フッター　メニュー =========== */

.footer-bottom-logo {
  display: none;
}

.footer-bottom-content {
  float: none;
  text-align: center;
}

.navi-footer-in>.menu-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.navi-footer-in>.menu-footer li {
  border: none;
}

.navi-footer-in>.menu-footer li:last-child {
  border: none;
}

.navi-footer-in a:hover {
  opacity: 0.5;
  background-color: transparent;
}

.navi-footer-in {
  padding: 0px 77px;
}

@media screen and (max-width: 1023px) {
  .navi-footer-in {
    padding: 0px 24px;
  }
}

.cu-tab_item {
  display: none;
}

.is-display {
  display: flex;
}


.article h3 {
  background: none;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  padding: 0;
}


.article h3 {
  border-top: 3px solid #50b3b0;
  border-bottom: 3px solid #50b3b0;
  padding: 12px 8px;
  color: #50b3b0;
}

@media screen and (max-width: 1023px) {
  .article h3 {
    padding: 6px 4px;
  }

}

.article h2 {
  font-size: 24px;
  padding: 25px;
  background-color: #50b3b0;
  border-radius: 10px;
  color: #ffffff;
}

.article h4 {
  border-top: 0px;
  border-bottom: 2px solid #50b3b0;
  color: #50b3b0;
}



/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px) {
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px) {
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px) {
.article h2 {
    font-size: 19px;
    padding: 11px;
}
}