/*
Theme Name: Cococlair
Theme URI: http://pilates-salon-cococlair.com/
Template: arkhe
Author: Cococlair
Author URI: http://pilates-salon-cococlair.com/
Description:
Tags:
Version: 1.10.0
Updated: 2026-01-19

*/

/* ------------ 基本 ------------ */
h1,
h2,
h3,
h4,
h5,
li,
p,
span {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

h2,
h3,
h4,
h5 {
    margin-bottom: 20px;
    color: #3B9F40;
    ;
}

h1.c-pageTitle__main {
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    color: #3fbd47;
    font-weight: 600;
}

.smb-section__contents-wrapper h2 , .wp-block-cover h2{
    display: inline-block;
    position: relative;
    margin: calc(3.5em / 2) 0 calc(3.5em / 4) calc(3.5em / 2);
    color: #222;
    line-height: 1;
}

.smb-section__contents-wrapper h2::before , .wp-block-cover h2::before{
    position: absolute;
    bottom: calc(-3.5em / 4);
    left: calc(-3.5em / 2);
    z-index: -1;
    width: 3.5em;
    height: 3.5em;
    border-radius: 50%;
    background: #FFE894;
    content: '';
}

.smb-section__contents-wrapper h3 {
    display: inline-block;
    position: relative;
    margin: calc(3.5em / 2) 0 calc(3.5em / 4) calc(3.5em / 2);
    color: #222;
    line-height: 1;
}

.smb-section__contents-wrapper h3::before {
    position: absolute;
    bottom: calc(-3.5em / 4);
    left: calc(-3.5em / 2);
    z-index: -1;
    width: 3.5em;
    height: 3.5em;
    border-radius: 50%;
    background: #DCEFDD;
    content: '';
}

/* ------------ ヘッダー ------------ */
/*.l-headerUnder {
    background-color: #F0F9F4;
    margin-top: 10px;
    margin-bottom: 10px;
}*/
.l-headerUnder .current_page_item a {
    background-color: #F0F9F4;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    /*    border-top: 1px solid #4caf50;
    border-bottom: 1px solid #4caf50;*/
}

body.home .l-headerUnder .current_page_item a {
    background-color: #fff;
    /*    border-top: 1px solid #4caf50;
    border-bottom: 1px solid #4caf50;*/
}

@media (min-width: 768px) {
    .n2-ss-slider .n2-ss-text {
        font-size: 2.8rem !important;
    }
}


#n2-ss-2item1,
#n2-ss-2item2 {
    font-size: 2.8rem !important;
    font-family: "Noto Sans JP", sans-serif !important;
    font-weight: 600 !important;
}

/* ------------ トップ ------------ */
.main_sl_fnt1 {
    font-size: 1.4rem;
}

.main_sl_fnt1 {
    position: relative;
    padding: .5em .7em .4em 0em;
    border-bottom: 3px solid #71CA77;
    color: #71CA77;
    font-weight: 600;
}

.main_sl_fnt1::before,
.main_sl_fnt1::after {
    position: absolute;
    left: 30px;
    bottom: -15px;
    width: 30px;
    height: 15px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
}

.main_sl_fnt1::before {
    background-color: #71CA77;
}

.main_sl_fnt1::after {
    bottom: -11px;
    background-color: #fff;
}

.menu_box1 img{
    width: 70px;
}
.menu_box_11.smb-box{
    padding: 8px !important;
    --smb-box--background-color: #ffffffa8 !important;
    border-radius: 20px;
}

.menu_box_11 a:hover{
    border: 1px solid #3B9F40;
    background-color: #3B9F40;
}

.menu_box1{
    margin-top: 30px !important;
}

.main_sl_f1{
    color: #ffaf2a;
}

@media (min-width: 1024px) {
    .l-header__body {
        background-color: #ffffffd9;
        margin-top: 10px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .top_main_waku1 {
        padding-right: 30px;
        padding-left: 30px;
    }

    .main_sl_f1 {
        font-size: 2rem;
        font-weight: 600 !important;
    }

    .main_sl_group1 {
        width: 600px;
        float: right;
    }
}

@media (max-width: 480px) {
    .main_sl_group1 {
        margin-right: 15px;
        margin-left: 15px;
    }
}

/* 2カラム時：スマホで右カラムを上に表示（順番入れ替え） */
@media (max-width: 781px) {
    .top_main_waku1 .wp-block-columns {
        display: flex;
        flex-direction: column;
    }

    .top_main_waku1 .wp-block-columns>.wp-block-column:nth-child(1) {
        order: 2;
        /* 左を下へ */
    }

    .top_main_waku1 .wp-block-columns>.wp-block-column:nth-child(2) {
        order: 1;
        /* 右を上へ */
    }
    .main_sl_f1 {
        font-weight: 600;
        font-size: 1.2rem !important;
        color: #4EB051;
    }
    .l-header {
        background-color: #ffffffc4;
    }
    .main_sl_fnt1 {
        margin-top: 10px !important;
    }
}

@media screen and (min-width:768px) and (max-width:1024px) {
    .main_sl_group1 {
        padding: 50px 10px 0;
    }

    .main_sl_f1 {
        font-weight: 600;
        font-size: 1.2rem !important;
    }

    .main_sl_fnt1 {
        margin-top: 10px !important;
        font-weight: 600;
    }

    .l-header {
        background-color: #ffffffc4;
    }
}

/* ------------ コンテンツ ------------ */

.vk_faq {
    border-bottom: 0px !important;
}

.faq_box1 {
    background-color: #F6FCF8;
    padding: 15px !important;
    margin-bottom: 30px !important;
}

.faq_box1.vk_faq .vk_faq_title::before,
.faq_box1.vk_faq .vk_faq_content::before {
    background-color: #fff !important;
}

@media (min-width: 768px) {
    .pp_group1 {
        margin: 30px 0px 30px 30px;
    }
}

.smb-section-break-the-grid__figure img, .smb-section-break-the-grid__figure video {
    border-radius: 20px;
}
.smb-section-break-the-grid__content--p-l {
    border-radius: 20px;
}

/*
.studio_item1 h2 {
    background-color: #FFF7AD;
    padding: 10px;
    text-align: center;
    border-radius: 30px;
    border-top: 3px solid #A0E5A4;
    border-bottom: 3px solid #A0E5A4;
}

.h2_title1 {
    background-color: #FFF7AD;
    padding: 10px;
    text-align: center;
    border-radius: 30px;
    border-top: 3px solid #A0E5A4;
    border-bottom: 3px solid #A0E5A4;
}


.h3_title1 {
    display: inline-block;
    position: relative;
    padding: .5em 1em;
    border-right: 27px solid #A0E5A4;
    background-color: #FFF7AD;
    color: #333;
    width: 80%;
}

.h3_title1::before {
    position: absolute;
    bottom: 2px;
    right: -20px;
    z-index: -1;
    transform: rotate(5deg);
    width: 100%;
    height: 50%;
    background-color: #d0d0d0;
    content: "";
    filter: blur(4px);
}
*/

.fnt1_1 {
    font-size: 0.9rem !important;
}

@media (min-width: 1200px) {
    .sec_item1 .smb-section__contents-wrapper {
        width: 1200px;
        margin: auto;
    }

    b,
    strong {
        font-size: 120%;
    }
}

@media (min-width: 768px) {

    /*.studio_item1 h2 {
    margin-left: -100px;
    }*/
    .faq_box1 {
        padding: 30px !important;
    }

    p.p_box1 {
        text-align: center;
        font-size: 1.2rem;
        line-height: 200%;
    }

    p.p_box2 {
        font-size: 1.2rem;
        line-height: 200%;
    }
}

.wp-block-spacer {
    margin-top: 0px !important;
}

p.p_p1{
    margin-top: 0px !important;
}

/* スマホ時：通常カラムを2カラム表示 */
/* menu_col_item1：スマホ時に2カラム表示 */
@media (max-width: 767px) {
    .menu_col_item1.wp-block-columns {
        flex-wrap: wrap !important;
        gap: 16px !important;
    }

    .menu_col_item1.wp-block-columns>.wp-block-column {
        width: calc(50% - 8px);
        flex: none;
    }

}

/* ------------ 問い合わせフォーム ------------ */
.seineg_n1 label {
    margin-bottom: 10px;
    border-bottom: 1px dotted #555;
    display: block;
}

.seineg_n1 input.wpcf7-form-control.wpcf7-text {
    width: 150px;
}

.toi_up1 {
    margin-top: 10px;
}

.date-time-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.date-time-row .date-label {
    min-width: 80px;
    font-weight: bold;
}

.date-time-row input {
    margin-right: 10px;
}

.date-time-row input,
.date-time-row select {
    width: 240px;
    padding: 0.8rem;
}

#form1 {
    overflow: hidden;
}

#form1 th,
#form1 td {
    padding: 20px !important;
}

#form1 th {
    width: 40%;
    text-align: left;
    font-weight: normal;
    vertical-align: middle;
}

div.wpcf7 .wpcf7-spinner {
    display: block;
}

#form1 .form_1 {
    background-color: #f39800;
    padding: 10px;
    color: #fff;
    text-align: center !important;
    margin-bottom: 20px;
}

#form1 .color-botton01 {
    width: 220px;
    margin: 20px auto;
    padding: 15px 5px;
    background-color: #f39800;
    text-align: center;
    border-radius: 30px;
}

#form1 .color-botton01 a {
    color: #fff;
}

@media (min-width: 768px) {
    .wpcf7 {
        width: 100% !important;
    }
}

.wpcf7 {
    margin: 0px auto !important;
    padding: 0px !important;
    padding-bottom: 0px !important;
}

span.wpcf7-list-item {
    display: block !important;
    margin: 0 0 0 1em;
    width: 100%;
}

.must {
    color: #fff;
    margin-right: 5px;
    padding: 3px 5px;
    background: #F92931;
    border-radius: 20px;
    font-size: 11px;
}

.free {
    color: #fff;
    margin-right: 5px;
    padding: 3px 5px;
    background: #a9a9a9;
    border-radius: 20px;
    font-size: 11px;
}

input.wpcf7-form-control.wpcf7-text,
textarea.wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    padding: 8px 15px;
    margin-right: 10px;
    margin-top: 10px;
    border: 1px solid #d0d5d8;
    border-radius: 3px;
}

textarea.wpcf7-form-control.wpcf7-textarea {
    height: 200px;
}

input.wpcf7-submit {
    padding: 10px 80px;
    background: #ff7b00;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.formb2 {
    margin-top: 10px;
    text-align: center;
}

span.wpcf7-not-valid-tip,
.wpcf7-response-output.wpcf7-validation-errors {
    color: red;
    font-weight: 600;
}

.wpcf7-form-control.wpcf7c-btn-confirm {
    width: 350px;
    padding: 15px !important;
    color: #fff;
    font-size: 30px !important;
    font-weight: 600;
    border-radius: 50px !important;
    margin-top: 30px !important;
    background: #ffc86a !important;
    background: -moz-linear-gradient(top, #ffc86a 0%, #f39800 100%) !important;
    background: -webkit-linear-gradient(top, #ffc86a 0%, #f39800 100%) !important;
    background: linear-gradient(to bottom, #ffc86a 0%, #f39800 100%) !important;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc86a', endColorstr='#f39800', GradientType=0) !important;
}

@media only screen and (max-width:480px) {
    #form1 {
        margin: 0 -10px;
    }

    #form1 th,
    #form1 td {
        width: 100% !important;
        display: block;
        border-top: none;
    }

    #form1 tr:first-child th {
        border-top: 1px solid #ddd;
    }
}

/* ------------ プライバシーポリシー ------------ */

.pp_sec1 h2 {
    font-size: 1.2rem !important;
    margin: 30px 0 10px;
}

/* ---------- ブロック ---------- */
.wp-block-media-text>.wp-block-media-text__content {
    z-index: 0;
}

:root :where(p.is-style-sme-post-it-narrow)::after {
    background-color: #6FC675 !important;
    border-radius: 20px;
}

.is-style-sme-post-it-narrow {
    width: 100%;
    border-radius: 20px;
}

.vk_borderBox.is-style-vk_borderBox-style-solid-kado-tit-inner,
.vk_borderBox.is-style-vk_borderBox-style-solid-kado-tit-onborder,
.vk_borderBox.is-style-vk_borderBox-style-solid-kado-iconFeature {
    border-width: 1px !important;
}

/* ---------- フッター ---------- */
.footer_col2 ul {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 0px !important;
    border-top: 0px !important;
}

#footer svg:not([fill]) {
    fill: currentColor;
    font-size: 0.6rem;
    vertical-align: baseline;
}

@media (min-width: 1025px) {
    .footer_col2 ul li {
        width: 20%;
        border-bottom: 0px !important;
    }
}

@media screen and (min-width:768px) and (max-width:1024px) {
    .footer_col2 ul li {
        width: 33.333%;
        border-bottom: 0px !important;
    }
    .footer_col2 img{
        width: 30%;
        margin: auto;
    }
}

@media (max-width: 640px) {
    .footer_col2 img {
        width: 40%;
        margin: auto;
    }
}

/* ---------- 固定情報 ---------- */

/* 共通スタイル */
.fixed-buttons {
    position: fixed;
    z-index: 9999;
    display: flex;
    gap: 5px;
    font-family: sans-serif;
    margin-right: 8px;
}

.fixed-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: opacity 0.3s;
    padding: 25px 15px;
    letter-spacing: 0.1em;
    border: 2px solid #fff;
    border-radius: 30px;
}

.fixed-buttons a i {
    font-size: 18px;
    margin-right: 6px;
}

/* PC表示：縦配置 */
@media (min-width: 768px) {
    .fixed-buttons {
        flex-direction: column;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        margin-right: 5px;
    }

    .fixed-buttons a {
        margin-bottom: 8px;
    }

    .btn-line {
        background: linear-gradient(to bottom, #4caf50, #4caf50);
        padding: 14px 10px;
        writing-mode: vertical-rl;
        text-align: center;
    }

    .btn-form {
        background: linear-gradient(to bottom, #ff3c00, #ff3c00);
        padding: 14px 10px;
        writing-mode: vertical-rl;
        text-align: center;
    }

    .fixed-buttons a i {
        margin: 0 0 6px 0;
        font-size: 20px;
    }

    .fixed-buttons a .text {
        display: block;
    }
}

/* スマホ表示：下部固定 横並び */
@media (max-width: 767px) {
    .fixed-buttons a {
        font-size: 14px;
        letter-spacing: 0em;
        padding: 10px 5px;
    }

    .fixed-buttons {
        bottom: 0;
        left: 0;
        width: 100%;
        flex-direction: row;
        margin-bottom: 5px;
    }

    .btn-line,
    .btn-form {
        flex: 1;
        padding: 12px 0;
        text-align: center;
    }

    .btn-line {
        background: linear-gradient(to right, #a1e68b, #4caf50);
    }

    .btn-form {
        background: linear-gradient(to right, #ffcc80, #ff9800);
    }

    .fixed-buttons a i {
        margin-right: 6px;
        font-size: 18px;
    }

    .fixed-buttons a .text {
        display: inline;
    }
}

/* ---------- サイド ---------- */

#sidebar {
  background-color: #F0FAFB;
  padding: 30px 20px;
  border-radius: 20px;
  border: 5px solid #fff;
}

body.single h1.c-pageTitle__main {
    color: #fff;
    font-weight: 600;
    padding: 15px 15px 15px 25px;
    background-color: #77C27C;
    border-radius: 20px;
    font-size: 1.6rem;
}

#sidebar h2 {
  background-color: #fff;
  padding: 10px;
  border-left: 5px solid #77C27C;
  font-size: 1.2rem !important;
  font-weight: normal;
  box-shadow: 2px 2px 4px #eee;
  border-radius: 10px;
}

.wp-block-search__label {
  background-color: #fff;
  padding: 10px;
  border-left: 5px solid #77C27C;
  font-size: 1.1rem !important;
  width: 100%;
  display: block;
  margin-bottom: 10px;
  box-shadow: 2px 2px 4px #eee;
  border-radius: 10px;
}

.menu-item {
  border: 0px !important;
}

.menu {
  border-bottom: 0px !important;
  border-top: 0px !important;
}

.c-drawerNav .menu-item, .widget_categories li, .widget_nav_menu .menu-item, .widget_recent_entries__li, .wp-block-archives-list li, .wp-block-categories-list li, .wp-block-latest-comments__comment, .wp-block-latest-posts:not(.is-grid) li, .wp-block-pages-list__item {
    border-bottom: 0px;
}
.c-drawerNav, .widget_categories>ul, .widget_nav_menu .menu, .widget_recent_entries__list, .wp-block-archives-list, .wp-block-categories-list, .wp-block-latest-comments, .wp-block-latest-posts:not(.is-grid), .wp-block-page-list {
    border-bottom: 0 !important;
    border-top: 0 !important;
}
@media (min-width: 768px) {

}

@media (max-width: 680px) {
  #sidebar {
    padding: 15px;
  }
}

/* ---------- NEWSマークがつく記事一覧 ---------- */
/* 記事のリスト全体のスタイル */
.custom-post-list {
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
}

/* 各記事のスタイル */
.custom-post-list .post-item {
    display: flex;
    justify-content: flex-start;
    /* 項目を左揃えに */
    align-items: flex-start;
    /* 項目を上揃えに */
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}

/* 日付のスタイル */
.custom-post-list .post-date {
    font-size: 0.9em;
    color: #666;
    margin-right: 10px;
    /* タイトルとの間に余白を追加 */
    min-width: 100px;
    /* 日付の最小幅を指定して揃えやすくする */
    align-self: center;
    /* 日付を中央揃え */
}

/* コンテンツ部分のスタイル */
.custom-post-list .post-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* 記事タイトルのリンクスタイル */
.custom-post-list .post-title a {
    font-size: 1em;
    text-decoration: none;
    color: #333;
    transition: color 0.2s;
}

.custom-post-list .post-title a:hover {
    color: #0073aa;
}

/* NEWマークのスタイル */
.custom-post-list .new-label {
    background-color: red;
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.8em;
    margin-left: 10px;
    align-self: center;
    /* NEWマークを中央揃え */
}

/* 詳細部分のスタイル */
.custom-post-list .post-details {
    font-size: 0.85em;
    color: #999;
    margin-top: 5px;
}

/* ---------- ゆっくり大きく小さく ---------- */
.smb-section__contents-wrapper h2 , .wp-block-cover h2{
  position: relative;
}

.smb-section__contents-wrapper h2::before , .wp-block-cover h2::before{
  position: absolute;
  bottom: calc(-3.5em / 4);
  left: calc(-3.5em / 2);
  z-index: -1;
  width: 3.5em;
  height: 3.5em;
  border-radius: 50%;
  background: #FFE894;
  content: '';

  /* アニメーション設定 */
  animation: pulse-circle 6s ease-in-out infinite;
  transform-origin: center;
  will-change: transform;
}

/* 拡大・縮小アニメーション */
@keyframes pulse-circle {
  0% {
    transform: scale(0.9);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.85;
  }
}

.smb-section__contents-wrapper h3 {
  position: relative;
}

.smb-section__contents-wrapper h3::before {
  position: absolute;
  bottom: calc(-3.5em / 4);
  left: calc(-3.5em / 2);
  z-index: -1;
  width: 3.5em;
  height: 3.5em;
  border-radius: 50%;
  background: #DCEFDD;
  content: '';

  /* アニメーション */
  animation: pulse-circle 6s ease-in-out infinite;
  transform-origin: center;
  will-change: transform;
}


/* カバーブロック本体 */
/* このセクション（カバー） */
.wave_sec1.wp-block-cover{
  background: #F5FBF7;          /* カバー背景色 */
  position: relative;
  z-index: 1;
}

/* 波（カバーの外に置く想定） */
.wave-out{
  height: 50px;
  line-height: 0;
  overflow: hidden;
  position: relative;
  z-index: 2;                  /* カバーより前に */
}

/* SVGをブロックの高さにフィット */
.wave-out .wave-svg{
  display: block;
  width: 100%;
  height: 50px;
}

/* 上波：白背景上に「カバー色」で描く → 見える */
.wave-top .wave-svg use{
  fill: #F5FBF7 !important;
}

/* 下波：次の背景が白なら「白」で描いて、カバー色の上に食い込ませる */
.wave-bottom{
  margin-top: -50px;           /* ← これが重要：カバーと重ねる */
}
.wave-bottom .wave-svg{
  transform: rotate(180deg);
}
.wave-bottom .wave-svg use{
  fill: #ffffff !important;
}
