/*
Theme Name: イシダカイロプラクティック 子テーマ
Theme URI: https://ishidachiro.com/
Template: arkhe
Author: イシダカイロプラクティック
Author URI: https://ishidachiro.com/
Description: 
Tags: 
Version: 1.15.0.1761311787
Updated: 2025-10-25

*/

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

h1,
h2,
h3,
h4,
h5 {
    font-family: 'ヒラギノ明朝 Pro W3', 'Hiragino Mincho Pro', '游明朝', 'Yu Mincho', '游明朝体', 'YuMincho', 'ＭＳ Ｐ明朝', 'MS PMincho', serif;
    font-weight: 600 !important;
}

li,
p {
    font-weight: 500;
}

strong {
    color: #FF8C00;
}

/* ------------ トップ ------------ */

.sec_top_syouzyou .smb-section__body {
    background-color: #fff;
}

@media (min-width: 1000px) {
    .sec_top_syouzyou .smb-section__body {
        padding: 30px;
    }

    .topbox_1 {
        padding-left: 50px !important;
        padding-right: 50px !important;
    }
}

@media (max-width: 680px) {
    .sec_top_syouzyou .smb-section__body {
        padding: 10px;
    }

    .top_sec1 h3 {
        background-color: #51A83A;
        color: #fff;
        padding: 10px 5px;
        text-align: center;
        font-size: 1.2rem !important;
    }

    .top_sec1 .wp-block-columns {
        --wp-column-gap: 1rem;
    }

    body.home .smb-section__title {
        text-align: center;
    }

    h2.smb-section__title strong {
        font-size: 2.2rem !important;
    }

    .rt-tpg-container .grid-layout4 .entry-title-wrapper .entry-title {
        font-size: 1.3rem !important;
    }

    .tpg-el-main-wrapper .post-meta-tags a {
        font-size: 0.81rem;
    }
}

/* ------------ スライダー ------------ */
@media (max-width: 680px) {
    .n2-ss-slider {
        height: 280px !important;
    }
}

/* ------------ 固定ページヘッダー ------------ */
@media (min-width: 1000px) {
    .p-topArea {
        align-items: center;
        display: flex;
        margin: 0;
        min-height: 64vh;
        /* 高さを倍に（32vh → 64vh） */
        overflow: hidden;
        padding: 2rem 0;
        position: relative;
        text-align: center;
        width: 100%;
    }

    /* 背景画像（右に200px移動） */
    .p-topArea__img {
        position: absolute;
        top: 0;
        left: 400px;
        /* 右方向へ200pxずらす */
        width: calc(100% + 200px);
        /* ずらしても隙間が出ないよう幅を広げる */
        height: 100%;
        object-fit: cover;
        /* トリミング維持 */
        z-index: -1;
        /* 背景として表示 */
    }

    .c-pageTitle__main {
        font-size: 2rem;
        font-weight: 700;
        line-height: 1.5;
        position: relative;
        text-align: left;
        color: #333;
        width: 450px;
        background-color: #fff;
        padding: 20px 10px;
    }

    #header .l-container {
        max-width: calc(var(--ark-width--container) + var(--ark-padding--container)*30) !important;
    }

    /* 固定ページのみ対象 */
    body.page .p-topArea__body {
        position: static !important;
        /* コンテナのrelativeを無効化 */
    }

    /* c-pageTitle__main を完全独立固定配置に */
    body.page .c-pageTitle__main {
        position: absolute;
        /* ←これが重要！画面固定 */
        left: 180px;
        /* 赤帯の位置に調整（ここを調整） */
        top: 100px;
        /* ロゴの下に配置（ここも調整） */
        writing-mode: vertical-rl;
        text-orientation: upright;
        white-space: nowrap;

        background: none !important;
        /* 青背景を消す */
        padding: 0 !important;
        /* Arkheの余白を除去 */
        border: none !important;
        /* 影響あるなら除去 */
        width: auto !important;
        color: #333;
        font-size: 32px;
        z-index: 1000;
        /* 上に重ねる */
    }

    body.page-id-10 .c-pageTitle__main{
        font-size: 30px !important;
    }
    body.home .smb-section__lede-wrapper{
        font-size: 1.2rem !important;
    }
}

li.current_page_item .__mainText {
    color: #4CA834;
}

.p-breadcrumb__list {
    justify-content: flex-end !important;
}

@media (max-width: 680px) {
    .l-header {
        background-color: #ffffffc9;
    }

    .c-pageTitle__main {
        font-size: 1.5rem !important;
        color: #333 !important;
        margin-top: 50px;
    }

    .c-pageTitle__main {
        text-shadow: 1px 1px 0 #FFF, -1px -1px 0 #FFF, -1px 1px 0 #FFF, 1px -1px 0 #FFF, 0px 1px 0 #FFF, 0 -1px 0 #FFF, -1px 0 0 #FFF, 1px 0 0 #FFF;
    }
}

/* ------------ 見出し ------------ */
.cp_sec2 h3.wp-block-heading strong {
    color: #50AE35;
}

@media (min-width: 1024px) {
    .chiropractic_sec1 h2 {
        font-size: 2.8rem !important;
    }
}

@media (min-width: 680px) {
    .cp_sec2 h3.wp-block-heading strong {
        font-size: 2rem !important;
    }
}

@media (max-width: 640px) {
    h3.wp-block-heading {
        padding: .5em .7em;
        border: 1px solid #4EA636;
        box-shadow: 5px 5px #4EA636;
        background-color: #fff;
        color: #222;
    }

    .cp_sec2 h3.wp-block-heading {
        border: 0px solid #4EA636;
    }
}

/* ------------ コンテンツ ------------ */
.conent_sec1 .smb-section__title {
    color: #4FA935;
    background-color: #f0fff0;
    padding: 10px;
    text-align: center;
}

:is(.wp-block-details, .wp-block-quote, .wp-block-column, .wp-block-media-text__content, .wp-block-cover__inner-container, .wp-block-group__inner-container:where(:not(.is-layout-grid)))>:not(:first-child) {
    margin-top: 0 !important;
}

.faq_sec1 h2.smb-section__title {
    background-color: #dbebc4;
    padding: 15px;
}

.staff_item1 h2.wp-block-heading {
    margin-bottom: 30px;
}

.staff_item1 h3.wp-block-heading {
    margin-bottom: 15px !important;
}

.mokuji_menu a {
    text-decoration: none !important;
}

.sec_sezyutu1 .wp-block-media-text__media img {
    margin-top: -80px;
    border-radius: 20px;
    border: 10px solid #fff;
}

.smb-section-break-the-grid__content--w--20 {
    width: 80%;
    box-shadow: 0px 0px 8px 10px #ffffff;
}

@media (min-width: 681px) {
    .staff_item1 .wp-block-media-text__content {
        margin-left: 50px;
    }

    .staff_box1 .c-row__col--md-1-4,
    .c-row__col--md-2-8,
    .c-row__col--md-3-12 {
        --_item-width: 15% !important;
    }

    .staff_box1 .c-row__col--md-3-4,
    .c-row__col--md-6-8,
    .c-row__col--md-9-12 {
        --_item-width: 80% !important;
    }
}

@media (max-width: 680px) {
    .wp-block-columns.mokuji_1 {
        background-color: #f9f9f9;
        padding: 30px;
    }

    .mokuji_1 .has-text-align-center {
        text-align: left !important;
    }

    .wp-block-columns {
        --wp-column-gap: 0.5rem;
    }

    .conent_sec1 .wp-image-92 {
        width: 50% !important;
        margin: auto !important;
    }

    .sec_sezyutu1 .wp-block-media-text__media img {
        margin-top: 0px !important;
        border-radius: 20px;
        width: 60%;
        margin: auto !important;
        margin-top: -20px !important;
    }
}

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

body.single .c-pageTitle__main {
    padding: .3em .7em;
    border: 2px solid #4DA633;
    box-shadow: 5px 5px #4DA633;
    color: #4DA633;
    width: 100%;
}

#sidebar {
    background-color: #f8f4e6;
    padding: 30px 20px;
}

#sidebar h2 {
    background-color: #fff;
    padding: 10px;
    border-left: 5px solid #4DAD34;
    font-size: 1rem !important;
    font-weight: normal;
}

.wp-block-search__label {
    background-color: #fff;
    padding: 10px;
    border-left: 5px solid #4DAD34;
    font-size: 1rem !important;
    width: 100%;
    display: block;
    margin-bottom: 10px;
}

.wp-block-latest-posts:not(.is-grid) {
    border-bottom: 0;
    border-top: 0;
}

.widget_archive select,
.widget_categories select,
.wp-block-archives-dropdown select,
.wp-block-categories-dropdown select {
    border: 0px !important;
}

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


/* ---------- プラグイン ---------- */
@media (max-width: 480px) {
    .tpg-el-main-wrapper .tpg-even .rt-holder {
        width: 110% !important;
    }

    .c-container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .smb-section-break-the-grid__content {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    body.page-id-12 .smb-section__contents-wrapper>*+* {
        margin-top: 5px !important;
    }
}

/* ---------- 関連記事 ---------- */

h2.c-bottomSection__title {
    background-color: #F4F6FB;
    font-size: 1rem;
    padding: 10px 20px;
}

/* ------------ フッター ------------ */

#footer h2.widgettitle {
    border-bottom: 1px solid #2E8B57;
}

.widget_nav_menu .menu-item {
    border-bottom: 0;
}

.widget_nav_menu .menu {
    border-top: 0;
    border-bottom: 0;
}

td.td11_1 {
    padding: 1px;
    font-size: 30px;
}

.section_footer1 .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr td {
    padding: 3px !important;
}

.footer_box1_right p {
    font-size: 0.8rem;
    padding: 10px;
}

.footer_box1.wp-block-columns {
    --wp-column-gap: 0rem !important;
}

.footer_box1_right .wp-block-image img {
    max-width: 94%;
}

.footer_box1_1 p.has-background {
    padding: 0.5rem !important;
}

@media (min-width: 681px) {
    #footer h2.widgettitle {
        padding: 10px 20px 10px 0px;
    }

    .footerbox1 ul.menu {
        display: flex;
        flex-wrap: wrap;
    }

    .footerbox1 ul.menu li {
        width: 25%;
    }
}

@media (max-width: 680px) {
    .section_footer1 .wp-block-image.size-full {
        margin: auto;
    }

    #footer .wp-image-53 {
        width: 50% !important;
        margin: auto;
    }

    #footer h2.widgettitle {
        text-align: center;
    }

    .infosec1 .vk_button.vk_button-align-wide {
        max-width: 100% !important;
    }

    .ft_qr {
        width: 50% !important;
        margin-top: 15px !important;
    }
}

/* ------------ ブロック ------------ */
.vk_button .vk_button_link.btn {
    border: 1px solid #fff;
}

.smb-balloon__figure {
    height: 80px;
    width: 80px;
}

.sme-highlighter {
    background-image: linear-gradient(rgba(252, 227, 0, 0.6),
            /* ← 黄色（透明度60%） */
            rgba(252, 227, 0, 0.6));
    background-repeat: no-repeat;
    background-size: 100% 8px;
    /* ← 高さ：8px（自由に変更可） */
    background-position: 0 100%;
}


/* ------------ Smart Slider FREE 版 Ken Burns風 Zoom ------------ */
/* ① 念のため、以前のアニメーションをリセット */
#n2-ss-2 .n2-ss-slide-background-image picture img {
    animation: none;
    transform: none;
}

/* ② 表示中（-100000px ではない）背景画像だけズームさせる */
#n2-ss-2 .n2-ss-slide-background:not([style*="-100000px"]) .n2-ss-slide-background-image picture img {
    animation: sliderZoom 15s ease-out;
    transform-origin: center center;
}

.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table > table tr td {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

@keyframes sliderZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.25);
        /* ズーム量。弱くするなら 1.15〜1.2、強くするなら 1.3〜1.4 */
    }
}


/* ------------ プライバシーポリシー ------------ */
.privacy_sec1 h2.wp-block-heading {
    margin: 30px 0px 10px !important;
    font-size: 1.1rem;
}

/* ---------- 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: 20px;
    /* タイトルとの間に余白を追加 */
    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.6em;
    margin-left: 10px;
    align-self: center;
    /* NEWマークを中央揃え */
    top: -2px;
    position: relative;
}

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

@media (max-width: 680px) {
    .custom-post-list .post-date {
        display: block;
    }

    .custom-post-list>li {
        margin-bottom: 10px !important;
    }
}

/* ------------ 問い合わせフォーム ------------ */

.wpcf7-list-item-label {
    color: #000fff;
}

.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-list-item-label {
        font-size: 1.2rem;
    }

    .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 th,
    #form1 td {
        width: 100% !important;
        display: block;
        border-top: none;
    }

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

/* =============================
   PC：右端 縦書き固定ボタン
============================= */
/* ---------- 固定ボタン ---------- */

/* 共通ボタンスタイル */
.btn-counsel {
    background-color: #ff8c00;
}

.btn-line {
    background-color: #05C855;
}

.btn-counsel,
.btn-line {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.btn-counsel svg,
.btn-line svg {
    vertical-align: baseline;
}

/* PC用：縦型表示 */
.fixed-vertical-buttons {
    position: fixed;
    top: 30%;
    right: 5px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 9999;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.fixed-vertical-buttons a {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    text-align: center;
    padding: 20px 10px;
    border-radius: 8px;
    min-height: 160px;
    /* ←縦方向に余裕を持たせる */
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    overflow-wrap: break-word;
    word-break: break-word;
    line-height: 1.4;
    box-sizing: border-box;
}

.fixed-vertical-buttons a span {
    display: inline-block;
    font-family: "Noto Sans JP", sans-serif;
}

.fixed-vertical-buttons a i {
    font-size: 16px;
    margin-bottom: 6px;
}

@media (min-width: 768px) {
    .fnt_yoyaku {
        font-size: 18px !important;
    }
}

/* SP用：横並びフッター固定 */
.mobile-fixed-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    z-index: 9999;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.mobile-fixed-menu a {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-fixed-menu i {
    font-size: 18px;
    margin-bottom: 4px;
}

/* 表示切り替え */
@media screen and (max-width: 767px) {
    .fixed-vertical-buttons {
        display: none;
    }

    .mobile-fixed-menu .svg-inline--fa {
        margin-bottom: 3px;
        height: 1.5em;
    }

    .mobile-fixed-menu a {
        padding: 9px 0;
    }
}

@media screen and (min-width: 768px) {
    .mobile-fixed-menu {
        display: none;
    }
}