@charset "utf-8";
/*
Theme Name:clubpilates theme
Theme URI:
Description:
Author:
Author URI:
Version: 1.01
 */

.login h1 a {
    background-image: none, url("img/logo.svg");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 84px auto;
    display: block;
    font-size: 20px;
    height: 84px;
    line-height: 1.3em;
    margin: 0 auto 25px;
    outline: 0 none;
    padding: 0;
    text-indent: -9999px;
    width: 84px;
}
.youtube {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}
.youtube iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100% !important;
    height: 100% !important;
}

.bz a:after {
    content: "->";
}

/* 監修 **********************************************/
#blog .cont .supervision-person {
    background: #fff;
    border: 2px solid #5c8cc9;
    border-radius: 20px;
    width: 100%;
    padding: 44px 16px 10px;
    box-sizing: border-box;
    position: relative;
    margin: 0 auto;
}

#blog .cont .supervision-person__ribbon {
    position: absolute;
    top: 0;
    left: 0;
    background: #5c8cc9;
    color: #fff;
    padding: 8px 16px;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 0.1em;
    white-space: nowrap;
    border-radius: 16px 0;
}

#blog .cont .supervision-person p {
    margin-bottom: 10px;
    font-size: 14px;
}

#blog .cont .supervision-person__namearea {
    display: flex;
    gap: 20px;
    margin: 10px 0;
    align-items: center;
}

.supervision-person__namearea img {
    max-width: 20px;
}

#blog .cont .supervision-person__name {
    display: inline-block;
    font-size: 22px !important;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
}

#blog .cont .supervision-person__grid {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
}

#blog .cont .supervision-person__namearea p {
    line-height: 1;
}

#blog .cont .supervision-person__avatar-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 6px;
}

#blog .cont .supervision-person__avatar {
    width: 156px;
    height: 156px;
    object-fit: cover;
    border-radius: 50%;
}

#blog .cont .supervision-person__ttl {
    font-weight: 800;
    font-size: 14px !important;
    margin: 2px 0 2px !important;
    letter-spacing: 0.04em;
}

#blog .cont .supervision-person__txtarea {
    font-size: 14px;
    line-height: 1.6;
}
#blog .cont .supervision-person__txtarea p {
    margin: 0;
}

@media (min-width: 768px) {
    #blog .cont .supervision-person {
        width: auto;
        margin: 3em 0;
        padding: 30px 20px 20px;
    }
    #blog .cont .supervision-person__grid {
        grid-template-columns: 160px 1fr;
        column-gap: 16px;
    }
    #blog .cont .supervision-person__avatar {
        width: 160px;
        height: 160px;
    }
}

/* 吹き出し **********************************************/
#blog .cont .balloon {
    display: grid;
    grid-template-columns: 80px 1fr;
    align-items: start;
    gap: 12px;
    margin: 1.5em 0;
}

#blog .cont .balloon__profile {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 14px;
}

#blog .cont .balloon__profile__avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

#blog .cont .balloon__profile__org {
    font-size: 12px;
    letter-spacing: 0.08em;
}

#blog .cont .balloon__profile__name {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

#blog .cont .balloon__bubble {
    position: relative;
    width: auto;
    background: #fff9e6;
    border-radius: 18px;
    padding: 18px 18px 6px;
    line-height: 1.9;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

#blog .cont .balloon__bubble::before {
    content: "";
    position: absolute;
    left: -18px;
    top: 36px;
    width: 28px;
    height: 28px;
    background: #fff9e6;
    clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

#blog .cont .balloon__emph {
    color: #d87268;
    font-weight: 600;
}

@media (min-width: 768px) {
    #blog .cont .balloon {
        grid-template-columns: 110px 1fr;
        margin: 3em 0;
        gap: 42px;
    }

    #blog .cont .balloon__profile {
        justify-items: center;
        text-align: center;
        gap: 16px;
        margin: 0;
    }
    #blog .cont .balloon__profile__avatar {
        width: 110px;
        height: 110px;
    }
    #blog .cont .balloon__profile__name {
        font-size: 14px;
    }

    #blog .cont .balloon__bubble {
        width: 88%;
        padding: 28px 32px 10px;
        border-radius: 22px;
        font-size: 20px;
        line-height: 2.2;
    }
    #blog .cont .balloon__bubble::before {
        left: -28px;
        top: 42px;
        width: 34px;
        height: 34px;
    }
}

/* ↓↓↓ ここから追加 ↓↓↓ */
/* 汎用クラス */
.text-bold {
    font-weight: bold;
}

.text-blue {
    color: #5c8cc9;
}

/* === タイトル付きボックス === */
/* ボックス全体の基本スタイル */
.styled-box {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    padding: 50px 20px 20px; /* タイトル分の余白を上に確保 */
    box-sizing: border-box;
    position: relative;
    margin: 2em 0; /* ボックスの上下に余白を設ける */
}

/* ボックス内のコンテンツのスタイル（必要に応じて調整）*/
.styled-box-content p {
    margin: 0;
    line-height: 1.7;
}

/* タイトル部分（リボン）の基本スタイル */
.styled-box-title {
    position: absolute;
    top: 0;
    left: 0;
    color: #fff;
    padding: 8px 16px;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 0.1em;
    white-space: nowrap;
    border-radius: 16px 0;
}

/* --- 色のバリエーション --- */
/* ポジティブ（青色）バージョン */
.box-positive {
    border: 2px solid #5c8cc9;
}
.box-positive .styled-box-title {
    background: #5c8cc9;
}

/* ネガティブ（赤色）バージョン */
.box-negative {
    border: 2px solid #d87268;
}
.box-negative .styled-box-title {
    background: #d87268;
}

/* PR（オレンジ）バージョン */
.box-pr {
    border: 2px solid #fba602;
}
.box-pr .styled-box-title {
    background: #fba602;
}

/* テーブル **********************************************/
.rtable-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.rtable {
    width: max(var(--min-table-width, 52rem), 100%);
    border-collapse: collapse;
    border-spacing: 0;
    background: #fff;
    font-size: 14px;
    line-height: 1.5;
    color: #4e4e4c;
}

.rtable th,
.rtable td {
    padding: 1.2rem !important;
    border-bottom: 1px solid #bfdbe6;
    text-align: left;
    vertical-align: top;
    background-clip: padding-box;
}

.rtable thead th {
    font-weight: 700;
    background: #f9fafb;
    border-bottom: 2px solid #bfdbe6;
}

.rtable th:first-child {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    background-color: #f9fafb !important;
}

.rtable thead th:first-child {
    z-index: 2;
}

.rtable td {
    z-index: 1;
}

.rtable tbody th {
    font-weight: 600;
    white-space: nowrap;
}

.rtable a {
    text-underline-offset: 2px;
}

.rtable-wrap::-webkit-scrollbar {
    height: 10px;
}
.rtable-wrap::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 9999px;
}
.rtable-wrap::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 9999px;
}

@media (min-width: 768px) {
    .rtable-wrap {
        overflow: visible;
    }
    .rtable {
        width: 100%;
    }
}
/* 共通サイズ＋中央寄せ */
.cp-cta img {
    display: block;
    width: 880px; /* 全CTA共通の横幅。必要ならここだけ変えればOK */
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* PC/SP 出し分け（全CTA共通） */
.cp-cta img.cta-pc {
    display: block;
}
.cp-cta img.cta-sp {
    display: none;
}

@media (max-width: 767px) {
    .cp-cta img.cta-pc {
        display: none;
    }
    .cp-cta img.cta-sp {
        display: block;
    }
}
@media (max-width: 1024px) {
    .cp-sidebar-block {
        margin: 12px;
    }
}
