/*
 Theme Name:   skinmanagement-child
 Template:     skinmanagement
*/


/*===============================================
    モバイルファーストの動き
===============================================*/

/* ---------------------------------------------
   全体レイアウト（PC表示）
--------------------------------------------- */

.page{
margin-bottom: 0;
}


.site_container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  padding: 0;
  position: relative; /* fixed要素の基準 */
}

/* 左右の可変エリア（左右の中央寄せ用） */
.side_left,
.nav_wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* 左右要素の「上下・左右中央」固定設定 */
.side_left .sticky_inner {
  position: fixed;
  top: 50%;                     /* 上から50%の位置 */
  transform: translateY(-50%);  /* 自身の高さの半分戻して完璧な上下中央に */
  width: 400px;                 /* 左右の幅 */
}

.nav_wrapper .sticky_inner {
  position: fixed;
  top: 50%;                     /* 上から50%の位置 */
  transform: translateY(-50%);  /* 自身の高さの半分戻して完璧な上下中央に */
  width: 200px;                 /* 左右の幅 */
}

/* 中央のメインコンテンツ（縦長スクロール用） */
.article {
  width: 100%;
  max-width: 450px; /* SP幅 */
  flex-shrink: 0;
  background: #F9F8F6;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}


/* ---------------------------------------------
   ナビ
--------------------------------------------- */

ul.nav_list{
  list-style: none;
  font-family: "ellery", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 22px;
  margin: 0;
  background: #F9F8F6;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}
ul.nav_list li a{
  text-decoration: none;
  color: #625143;
}
ul.nav_list li.nav_item.current a{
  text-decoration: none;
  font-weight: 800;
  color: #472000;
}


/* ---------------------------------------------
   サイドコンテンツ
--------------------------------------------- */

.side_left .sticky_inner{
  text-align: center;
}

img.side_logo{
  margin: 0 auto 20px;
  width:100%;
  max-width: 180px;
}

.side_left .sticky_inner p{
  margin: 0;
}


/*===============================================
    共通
===============================================*/

/*--------------- フォント ----------------*/

body {
  font-family: "Helvetica Neue", "Noto Sans JP","Hiragino Sans", Meiryo, "Noto Sans CJK JP", sans-serif;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color:#333333;
}

.jp-serif{
    font-family: "tot-shizukamin-stdn", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.en-elley{
  font-family: "ellery", sans-serif;
  font-weight: 700;
  font-style: normal;
}
.en-elleyBold{
  font-family: "ellery", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.text-center{
  text-align: center;
}

p.note{
  font-size: 12px;
  text-align: right;
}

/*--------------- 余白 ----------------*/

.mb20{margin-bottom: 20px;}
.mb30{margin-bottom: 30px;}
.mb40{margin-bottom: 40px;}
.mb50{margin-bottom: 50px;}
.mb60{margin-bottom: 60px;}
.mb80{margin-bottom: 80px;}

/*--------------- 見出し ----------------*/

.message{
    font-family: "tot-shizukamin-stdn", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 22px;
    color:#625143;
}

@media screen and (min-width: 768px) {
  .message{
    font-size: 26px;
  }
}

/*--------------- 背景 ----------------*/

body{
    background-image: url('images/bg_mainpc.jpg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/*--------------- youtube埋め込み ----------------*/

.youtube {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.youtube iframe {
  width: 100%;
  height: 100%;
}

/*--------------- 吹き出し ----------------*/

.fukidashi {
  position: relative;
  width: fit-content;
  margin: 20px auto;
  padding: 12px 20px;
  color: #625143;
  border-radius: 30px;
  background-color: #fff;
  isolation: isolate;
}

.fukidashi::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: -1;
    width: 20px;
    height: 12px;
    box-sizing: border-box;
    background-color: #fff;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    translate: -50% 0;
}


/*===============================================
    スライダー
===============================================*/
#function-list {
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

#function-list .swiper {
  width: 100%;
  max-width: 100%;
  padding-bottom: 10px 10px 40px 10px!important;
  overflow: hidden !important;
  box-sizing: border-box;
  touch-action: pan-y !important;
}

/* スライドの外枠 */
#function-list .swiper-slide.function-list-slide {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 10px !important;
  background: transparent !important;
  box-sizing: border-box !important;
  display: flex !important;
  height: auto !important;
  touch-action: pan-y !important;
}

/* 実際のカードデザイン */
#function-list .card-inner {
  width: 100%;
  height: 100%;
  padding: 20px 15px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  pointer-events: auto !important;
}

/* 画像のはみ出し防止 */
#function-list img.function-image {
  max-width: 100% !important;
  width: 100%;
  height: auto;
  display: block;
}

/* テキスト・リストなど内部要素のはみ出し防止 */
#function-list .function-list-slide * {
  max-width: 100%;
  box-sizing: border-box !important;
  word-break: break-word;
}

/* 矢印ボタンの色と配置 */
#function-list .swiper-button-prev,
#function-list .swiper-button-next {
  width: 32px !important;
  height: 32px !important;
  color: #c9b69c;
  z-index: 10;
}

#function-list .swiper-button-prev::after,
#function-list .swiper-button-next::after {
  font-size: 16px !important;
  font-weight: bold;
}

#function-list .swiper-button-prev {
  left: -10px !important;
}

#function-list .swiper-button-next {
  right: -10px !important;
}

#function-list .swiper-pagination-bullet-active {
  background: #0073aa;
}

img.use-count{
  max-width: 180px!important;
  width:100%;
  display: block;
  margin-left: auto;
  margin-right: auto;

}


/*===============================================
    header
===============================================*/

.site-header{
    position: fixed;
    z-index: 999;
    top: 0;
    width:100%;
    padding: 10px;
}

.custom-logo-link img{
  width:100%;
  max-width: 100px;
}

@media screen and (min-width: 768px) {
  .site-header{
    position: fixed;
    background-color: transparent;
  }
  .custom-logo-link img{
    width:100%;
    max-width: 200px;
  }
}


/*===============================================
    footer
===============================================*/

.site-footer{
  background-color: #F9F8F6;
}

.footer-link{
  display: flex;
  flex-wrap: wrap;
}

.footer-link a{
    width: calc(100% / 2);
    text-align: center;
    border:1px solid #fff;
    padding:15px 10px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    color: #625143;
    transition-duration: .5s;
    display: inline-flex;
    vertical-align: middle;
    justify-content:center;
}
.footer-link a:hover{
  color: #fff;
  background: #625143;
}
.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 300,
  'GRAD' -25,
  'opsz' 20
}

.footer-logo{
  display: block;
  margin:20px auto;
  max-width: 60px;
}

.site-info{
  padding: 10px;
  text-align: center;
  background-color: #997547;
  color: #e0e0e0;
}


/*===============================================
    KV
===============================================*/

#keyVisual{
    width:100%;
    height: 0;
    position: relative;
    padding-top: 130.2083%;
    background-image: url('images/keyVisual.png');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    z-index: 1;
}

.keyVisualInner{
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    padding: 10px;
}

.keyMessage{
    position: absolute;
    top:30px;
    right:10px;
    z-index: 20;
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-family: "tot-shizukamin-stdn", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: clamp(22px,4.3vw,30px);
    line-height: 1.4;
    color: #231815;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    #keyVisual{
        background-image: url('images/keyVisual@2x.png');
    }
}


/*===============================================
    message
===============================================*/

#message{
  background-image: url("images/bg_goldline.png");
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
}

#message p{
    text-align: center;
}

#seven-mode img{
    width:100%;
    margin-bottom: 20px;
}


/*===============================================
    function List
===============================================*/

#seven-mode,#function-list{
  padding: 0px 15px;
}

h3.function-name{
   position: relative;
  z-index: 1;
  text-align: center;
  font-family: "tot-shizukamin-stdn", serif;
  font-size: 20px;
  color:#625143;
}
h3.function-name::before{
   content: attr(data-en);
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  font-weight: bold;
  color: #efe9d4;
  z-index: -1;
  white-space: nowrap;
  letter-spacing: 0.1em;
  opacity: 0.6;
}
h3.function-name span{
  display: block;
  font-size: 12px;
}

@media screen and (min-width: 768px) {
  h3.function-name{
  font-size: 20px;
  }
}

ul.function-list{
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
}

ul.function-list li{
  margin-bottom: 10px;
  padding: 10px;
  background: #EFE9E3;
  text-align: center;
}


/*===============================================
    アコーディオン
===============================================*/

.accordion-recipe-content {
    display: none;
}

.accordion-recipe .accordion-header {
    width: 100%;
    background-color: #fff;
    border: none;
    padding: 5px 15px;
    text-align: left;
    cursor: pointer;
    outline: none;
    position: relative;
    border: 1px solid #e2e2e2;
    letter-spacing: 0.1rem;
    color:#333333;
    background-size: auto;
    background-position: left center;
    background-repeat: no-repeat;
    touch-action: manipulation !important;
}
.accordion-recipe .accordion-header.moisture {
    background-image: url("images/bg_blue.png");
    background-color: rgb(255 255 255 / 60%);
    background-blend-mode: overlay;
}
.accordion-recipe .accordion-header.dullness {
    background-image: url("images/bg_perple.png");
    background-color: rgb(255 255 255 / 60%);
    background-blend-mode: overlay;
}
.accordion-recipe .accordion-header.pores {
    background-image: url("images/bg_green.png");
    background-color: rgb(255 255 255 / 60%);
    background-blend-mode: overlay;
}
.accordion-recipe .accordion-header.firming {
    background-image: url("images/bg_orange.png");
    background-color: rgb(255 255 255 / 60%);
    background-blend-mode: overlay;
}
.accordion-recipe .accordion-header.ekasticity {
    background-image: url("images/bg_pink.png");
    background-color: rgb(255 255 255 / 60%);
    background-blend-mode: overlay;
}
.accordion-recipe .accordion-header.special {
    background-image: url("images/bg_gold.png");
    background-color: rgb(255 255 255 / 60%);
    background-blend-mode: overlay;
}

.accordion-recipe .accordion-header::after {
    content: '+';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}

.accordion-recipe .accordion-header.active::after {
    content: '−';
}

.accordion-recipe .accordion-header p.recipe-name{
  font-family: "tot-shizukamin-stdn", serif;
  font-size: 18px;
  margin:10px 0 0;
}
.accordion-recipe .accordion-header p{
  font-size: 14px;
  line-height: 1.8;
  font-weight: 200;
  margin: 0 0 10px;
}


/* ---------------------------------------------
   FAQアコーディオン専用CSS
--------------------------------------------- */
.faq-accordion .accordion {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 10px;
}

.faq-accordion .accordion-title {
    width: 100%;
    background: none;
    border: none;
    padding: 5px 40px 5px 5px;
    text-align: left;
    cursor: pointer;
    position: relative;
    display: block;
    touch-action: manipulation !important;
}

.faq-accordion .accordion-title::after {
    content: '+';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #666;
}

.faq-accordion .accordion-title.active::after {
    content: '−';
}

.faq-accordion .accordion-content {
    display: none;
    padding: 15px;
    background-color: #f9f9f9;
}


/*===============================================
    モード組み合わせ
===============================================*/

  #mode-course{
    padding: 60px 15px;
    background-image: url("images/bg_waveline.png");
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
  }

  .mode-course-box{
    width:100%;
    background: #fff;
    text-align: center;
    border-radius: 3px;
    box-shadow:  4px 6px 6px rgba(0, 0, 0, 0.1);
  }

  .mode-course-title{
    width:100%;
    background: #694d29;
    padding: 2px 5px;
    color:#fff;
    border-radius: 3px 3px 0 0;
  }
  .mode-course-title p{
    font-family: "tot-shizukamin-stdn", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 22px;
    margin: 6px auto;
  }

  .mode-course-title-detail{
    width:100%;
    background: #efe9d4;
    padding: 2px 5px;
    color:#694d29;
    font-size: 15px;
  }
  .mode-course-title-detail p{
    font-family: "tot-shizukamin-stdn", sans-serif;
    margin:4px;
  }

  .mode-course-content{
    width:100%;
    background: #ffffff;
    padding:15px;
    text-align: center;
    border-radius: 0 0 3px 3px ;
  }

  .mode-course-content h4{
    font-family: "tot-shizukamin-stdn", sans-serif;
    text-align: center;
    color:#625143;
    margin: 5px 0;
  }

   .mode-course-content a{
    text-decoration: none;
    color:#333333;
   }
   
  .recommend-item{
    width:100%;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 10px;
    align-items: center;
    transition-duration: .5s;
  }
  .recommend-item:hover{
    opacity: 0.5;
   }

  .recommend-item img{
    width: 100%;
    max-width: 100px;
  }
  .recommend-memo{
    width: calc(100% - 130px);
    text-align: left;
    font-weight: 400;
  }


/*===============================================
    レシピ
===============================================*/

  #mode-recipe{
    padding: 30px 15px 60px;
    text-align: center;
  }

  .mode-recipe-midashi{
    max-width:300px;
    margin: auto;
    display: block;
  }


/*===============================================
    サロン紹介
===============================================*/

  #salon-quality{
    background-color: #fff;
    padding: 60px 15px 30px;
    background-image: url("images/bg_waveline02.png");
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
  }

  .gold-box{
    background: #efe9e39c;
    padding: 10px 15px;
    border-radius: 2px;
  }


/*===============================================
    6つの理由
===============================================*/

  #reason6{
    background: linear-gradient(180deg, #ffffff 0%, #e5ded1 100%);
    padding: 30px 15px 60px;
  }

  .half-wrap{
    display: flex;
    flex-wrap: wrap;
    gap: 16px 12px;
  }

  #reason6 .half-box{
    padding: 10px;
  }

  .half-box{
    width: calc(100% / 2 - 6px);
  }

   #reason6 .half-box img{
    max-width: 160px;
    margin: auto;
    display: block;
   }

   .half-box h3{
    font-family: "tot-shizukamin-stdn", serif;
    font-weight: 400;
    margin: 5px 0;
    font-size: 16px;
    text-align: center;
   }
  .half-box p{
    margin: 0 0 10px;
  }


/*===============================================
    一台で全身ケア
===============================================*/

#using_parts{
  padding: 40px 15px;
}


/*===============================================
    MOVIE
===============================================*/

#movie{
  padding: 40px 15px;
}


/*===============================================
    FAQ
===============================================*/

#faq{
  background: #EFE9E3;
  padding: 40px 15px;
}


/*===============================================
    製品仕様
===============================================*/

#specs{
  padding: 60px 15px;
  background-color: #D9CFC7;
}

#specs table,
#specs table th,
#specs table td{
  display: block;
  width: 100%;
  text-align: left;
  background-color: #f7f3f3;
  padding: 15px;
}

#specs table th{
  font-weight: 600;
  padding: 10px 5px 0px 5px;
}

#specs table td{
  border-bottom: 1px solid #e0e0e0;
  padding: 5px 5px 10px 5px;
}


/* =============================================
   スマホ表示（768px以下）のスクロール・タップ完全補正
============================================= */
@media screen and (max-width: 768px) {
  /* 1. iOS等のスクロール不具合を引き起こす背景固定を解除 */
  body {
    background-attachment: scroll !important;
  }

  /* 2. 画面全体のスクロール領域を解放 */
  html, body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
    position: static !important;
    -webkit-overflow-scrolling: touch;
  }

  .site_container {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
  }

  /* 3. 左右の非表示ブロックのタッチ判定を完全遮断 */
  .side_left,
  .nav_wrapper {
    display: none !important;
    pointer-events: none !important;
  }

  /* 4. 固定ヘッダーの透明エリアが画面上のタップを遮断するのを防ぐ */
  .site-header {
    pointer-events: none !important;
  }
  .site-header a,
  .site-header button,
  .custom-logo-link {
    pointer-events: auto !important;
  }

  /* 5. メインコンテンツとアコーディオンのタップ判定を許可 */
  .article,
  .accordion-header,
  .accordion-title {
    position: relative !important;
    z-index: 10 !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
  }

  .article {
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: none !important;
  }
}



/*===============================================
    Page
===============================================*/

.entry-content{
  padding:1em;
}

h1.entry-title{
  text-align: center;
    font-family: "tot-shizukamin-stdn", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 22px;
    color:#625143;
}


table.contact-table,
table.contact-table th,
table.contact-table td{
  display: block;
  width: 100%;
  text-align: left;
  background-color: #f7f3f3;
  padding: 15px;
}

table.contact-table p,
table.contact-table th p,
table.contact-table td p{
  margin:.5em;
}

table.contact-table th{
  font-weight: 600;
  padding: 10px 5px 0px 5px;
}

table.contact-table td{
  border-bottom: 1px solid #e0e0e0;
  padding: 5px 5px 10px 5px;
}

input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea{
  width:100%;
}

input[type="submit"]{
  display: block;
  margin: 0 auto;
  padding:1em;
  width:100%;
  max-width:300px;
  background-color: #625143;
  color:#fff;
}


@media screen and (min-width: 768px) {
  h1.entry-title{
    font-size: 26px;
  }
}




