@charset "utf-8";

body {
    color: #361906;
    font-family: "Zen Kaku Gothic New", serif;
    letter-spacing: 1px;
}

.l-contents__inner:last-child {
    padding-bottom: 0;
}

/*======================= 共通クラス =======================*/

p,
a,
li,
td {
    font-weight: 400;
}

p {
    margin-top: 0 !important;
}

a {
    text-decoration: none !important;
}

/* padding・margin左右上下リセット */
.p_0 {
    padding: 0 !important;
}

.m_0 {
    margin: 0 !important;
}

.pt_0 {
    padding-top: 0 !important;
}

.pb_0 {
    padding-bottom: 0 !important;
}

.pb_0 {
    padding-bottom: 0 !important;
}


.mt_0 {
    margin-top: 0 !important;
}

.mb_0 {
    margin-bottom: 0 !important;
}


/* padding・margin 10px・20px */
.pt_10 {
    padding-top: 10px !important;
}

.pb_10 {
    padding-bottom: 10px !important;
}

.pt_20 {
    padding-top: 20px !important;
}

.pb_20 {
    padding-bottom: 20px !important;
}

.mt_10 {
    margin-top: 10px !important;
}

.mb_10 {
    margin-bottom: 10px !important;
}

.mt_20 {
    margin-top: 20px !important;
}

.mb_20 {
    margin-bottom: 20px !important;
}

.inline_b {
    display: inline-block;
}

.gap_10 {
    gap: 10px !important;
}

/* Z-INDEX */
.z_0 {
    z-index: 0;
}

.z_1 {
    z-index: 1;
}

.z_999 {
    z-index: 999;
}

/* POSITION */
.p_ab {
    position: absolute;
}

.p_rel {
    position: relative;
}

.smb-box__background {
    border: none;
}

/* アイコン */
svg.svg-inline--fa {
    margin-right: 10px;
}

#page-top {
    display: none;
}

.p-global-nav--hover-extend-underline .c-navbar__item.cta:hover>a:after {
    width: 0;
}

/*======================= ボタン =======================*/
a.smb-btn {
    position: relative;
    width: 280px !important;
    padding: 15px;
    border: solid 2px #301a00;
    border-radius: 100px;
    box-shadow: 0 5px 0 -2px #301a00;
    color: #ffffff !important;
    font-weight: 600;
    transition: .25s;
}

a.smb-btn:hover {
    transform: translateY(2px);
    box-shadow: none;
    filter: brightness(100%);
}


@media screen and (max-width: 500px) {
    .btn_center {
        justify-content: center !important;
    }
}

/*======================= ヘッダー =======================*/
/* g_nav */
.header_btn a {
    padding-right: 0 !important;
}

.header_btn a span {
    display: flex;
    justify-content: center;
    width: 160px;
    padding: 10px 0;
    border-radius: 50px;
    background-color: var(--wp--preset--color--sm-accent);
    color: #ffffff;
    text-align: center;
}

.header_btn.line a span {
    background-color: #06c755;
}

/* 下層ページヘッダー */
.l-contents__inner {
    margin-top: 0 !important;
}

.c-page-header {
    padding: 130px 0 50px;
    background-color: var(--wp--preset--color--sm-accent);
    color: #ffffff;
}

.c-page-header[data-has-image=true] {
    height: unset;
}

.c-page-header[data-has-image=true] .c-page-header__content {
    color: unset;
}

.c-page-header__bgimage>img,
.c-page-header__bgimage>picture>img {
    display: none;
}

.tel a {
    line-height: 1.1 !important;
}

.tel-num {
    font-size: 1.5rem !important;
}

.tel-num svg {
    font-size: 1.3rem;
}

.l-header span.time {
    padding-top: 10px !important;
    font-size: 14px !important;
    font-weight: 400;
}

/* SPヘッダー */
.l-header .c-fluid-container {
    padding: 0 5%;
}

.c-drawer {
    background-color: var(--wp--preset--color--sm-accent);
}

.c-drawer__menu {
    padding-top: 50px !important;
}

#menu-sp_nav .menu-item a {
    font-size: 1rem;
    font-weight: 500 !important;
}

#menu-sp_nav .menu-item:last-child {
    margin-top: 30px !important;
    border-radius: 50px;
    background-color: #ffffff;
    color: var(--wp--preset--color--sm-accent);
}

#menu-sp_nav .menu-item:last-child a {
    text-align: center;
}


@media (max-width: 1023px) {
    .c-page-header {
        padding: 130px 0 50px !important;
    }
}

/*======================= フッター =======================*/
.l-footer,
.l-footer__footer {
    background-color: var(--wp--preset--color--sm-accent) !important;
    color: #ffffff;
}

.l-footer,
.l-footer--footer-2 .l-footer__body {
    border-top: none;
}

.l-footer .l-footer__footer .c-row--middle {
    justify-content: center;
}

.l-footer--footer-2 .l-footer__header {
    display: none;
}

.l-footer .widget.widget_nav_menu a,
.l-footer p,
.l-footer a {
    font-weight: 500;
}

@media screen and (max-width: 1023px) {
    .c-widget.widget_block .wp-block-columns {
        margin-top: 30px;
    }
}

@media screen and (max-width: 782px) {

    /* footer */
    .c-widget.widget_block .wp-block-columns {
        gap: var(--_margin-2);
    }
}

@media screen and (max-width: 650px) {

    .l-footer--footer-2 .l-footer__widget-area a,
    .l-footer--footer-2 .l-footer__widget-area p {
        font-size: 15px;
    }
}

@media screen and (max-width: 435px) {
    .l-footer .c-container {
        padding: 0 5%;
    }
}

/*======================= TOPページ =======================*/
h2 {
    font-family: "Kaisei Decol", serif;
    font-size: clamp(1.5rem, calc(1.1363636363636362rem + 1.8181818181818181vw), 2.5rem);
    font-weight: 600 !important;
}

h2 span {
    background-image: linear-gradient(transparent 70%, #a06f2729 30%);
}

/* FV */
#fv {
    height: 80vh;
}

#fv .smb-section__inner,
#fv .c-container {
    position: static;
}

.fv {
    position: relative;
}

.fv::before {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .874) 100%);
    content: "";

    pointer-events: none;
}

.fv_txt-group {
    position: absolute;
    bottom: 8%;
    left: 5%;
    z-index: 10;
}

.fv_ttl {
    margin-top: 10px !important;
    font-family: "Kaisei Decol", serif;
    font-size: clamp(2rem, calc(1.6363636363636362rem + 1.8181818181818181vw), 3rem);
    font-weight: 600;
}

.fv_tag-group {
    gap: 15px !important;
    margin-top: 15px !important;
}

.fv_tag {
    padding: .1em 1em;
    border: solid 2px;
    border-radius: 50px;
    background-color: #ffffff;
    font-size: clamp(1rem, calc(0.9636363636363636rem + 0.18181818181818196vw), 1.1rem);
    font-weight: 500;
}

/* バナー */
.fv_rec-banner {
    position: fixed;
    right: 2%;
    bottom: 2%;
    z-index: 999999;
    width: 18%;
}

.fv_rec-close {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -7px;
    right: -6px;
    z-index: 2;
    width: 25px;
    height: 25px;
    padding-bottom: 3px;
    border: none;
    border-radius: 50%;
    background: rgb(255, 255, 255);
    color: #333333;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
}

/* こころについて */
.about_dc {
    position: relative;
}

.about_dc::before {
    position: absolute;
    bottom: 0;
    left: -15px;
    z-index: 10;
    width: 120px;
    height: 120px;
    background-image: url(https://cocoro-kaigo.com/wp-content/uploads/2025/10/lg_2.png);
    background-size: contain;
    background-repeat: no-repeat;
    content: "";
}

.about_slider img {
    border-radius: 20px;

    aspect-ratio: 1/1;
}



/* サービス内容 */
.s_ribbon_img,
.s_sora_img {
    position: relative;
}

.r_logo {
    position: absolute;
    top: -15px;
    right: -15px;
    transform: rotate(5deg);
    width: 12%;
}

/* こころが大切にしていること */
.r_1 {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 7%;
}

.rb_1 {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 7%;
}

.im_container .smb-spider-contents-slider__item {
    padding: 25px;
    border-radius: 20px !important;
    background-color: #ffffff !important;
}

h3.im_h3 {
    padding-bottom: 10px;
    border-bottom: dotted 2px;
}

.im_ttl {
    width: fit-content;
    margin: 15px 0 10px !important;
    background-image: linear-gradient(transparent 60%, #e4980b29 40%);
}

.im_img img {
    border-radius: 10px !important;
}


/* 対応エリア */
.area_group {
    padding: 20px;
    border: solid 2px;
    border-radius: 20px;
}

.area_ttl {
    margin-bottom: 15px !important;
    padding-bottom: 5px;
    border-bottom: dotted 2px;
    font-size: 1.1rem;
}

.area_name {
    font-weight: 500;
}

.area_name svg {
    margin-right: 5px;
}

/* 代表挨拶 */
.greeting_logo {
    opacity: .1;
    position: absolute;
    bottom: -10px;
    left: -15%;
    z-index: -1;
    width: 70% !important;
}

/* ---------- cta ---------- */
.cta_logo {
    position: absolute;
    top: 0;
    left: 5%;
    width: 17%;
}

.cta_c {
    padding: 30px;
    border: solid 2px;
    border-radius: 20px;
    box-shadow: 0 6px 90px 0 #dfd6cc9e;
    background-color: #ffffff;
}

.cta_sub-ttl {
    font-size: 1.2rem;
    font-weight: 600;
}

.cta_btn a {
    padding: 18px 0;
    background-color: var(--wp--preset--color--sm-accent);
}

a.smb-btn svg {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    margin-right: 0 !important;
    padding: 8px;
    border-radius: 50%;
    background-color: #ffffff;
    color: var(--wp--preset--color--sm-accent);
}

.cta_btn a:hover svg {
    color: var(--wp--preset--color--sm-accent);
}

.cta_btn span {
    color: #ffffff;
}

/* LINE */
.line_btn a {
    border: solid 2px #04903f;
    box-shadow: 0 5px 0 -2px #04903f;
    background-color: #06c755;
}

.line_btn a:hover {
    background-color: #059a43;
}

.line_btn a:hover svg {
    color: #059a43;
}

.line_btn span {
    color: #ffffff !important;
}

.line_btn a svg {
    background-color: #ffffff;
    color: #06c755;
}

/* 電話 */
.cta_tel {
    margin-top: 10px;
}


@media screen and (max-width: 1146px) {
    .cta_parent {
        gap: 20px;
    }
}

@media screen and (max-width: 1050px) {
    .cta_parent {
        flex-direction: column;
    }
}

@media screen and (max-width: 435px) {
    .cta_c {
        padding: 25px;
    }
}

/*======================= こころについて =======================*/
.kd_p {
    margin-bottom: 10px !important;
    font-size: 1.2rem;
    font-weight: 500;
}

/* 会社概要 bg-color */
figure.wp-block-table tr td:first-child,
figure.wp-block-table tr td:first-child {
    width: 30%;
    background-color: #4f4f4f;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 400;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
}

figure.wp-block-table tr td:last-child,
figure.wp-block-table tr td:last-child {
    background-color: #ffffff;
}

@media screen and (max-width: 435px) {

    figure.wp-block-table tr td:first-child,
    figure.wp-block-table tr td:first-child {
        width: 32%;
        font-size: 1rem !important;
    }
}

/*======================= りぼんについて =======================*/
.rt_ttl {
    margin-bottom: 10px !important;
    margin-left: 0 !important;
    padding-bottom: 5px;
    border-bottom: dotted 2px;
    font-size: 1.1rem;
}

#r_service .wp-block-column {
    padding: 25px !important;
}

#r_service .smb-panels__item {
    border-radius: 30px !important;
}

#r_service .smb-panels__item__body {
    padding: 25px;
}

.eg_price {
    padding-top: 5px;
    border-top: solid 1px;
    font-size: 1.1rem;
}

/*======================= soraについて =======================*/
.smb-step__item__title {
    padding-bottom: 10px;
    border-bottom: dotted 2px !important;
    font-size: 1.1rem;
}

.s_icon {
    width: 50%;
    padding: 30px;
}

#s_service .smb-panels__item {
    border-radius: 30px !important;
}

/*======================= 施工実績 =======================*/
.post-type-archive-works .c-entry-summary__figure {
    margin-bottom: 10px;
}

/*新しい投稿の矢印調整*/
.single-works .c-prev-next-nav__item-label svg {
    margin: 0 10px !important;
}

/*======================= お問い合わせ =======================*/
/* placeholder */
.smf-text-control__control::placeholder {
    color: #cccccc !important;
}

.wp-block-snow-monkey-forms-item.smf-item {
    margin-bottom: 45px !important;
}

.smf-form .smf-text-control__control,
.smf-form .smf-textarea-control__control {
    border: none !important;
}

/* 必須の文字 */
.smf-item__col.smf-item__col--label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.smf-item__description {
    width: fit-content;
    margin-top: 0;
    margin-left: 20px;
    padding: 0 .5em;
    border-radius: 50px;
    background-color: #cd2b43;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

/* ボックス */
.wp-block-snow-monkey-blocks-box.smb-box.contact-form_box {
    padding: 50px !important;
}

.wp-block-snow-monkey-blocks-box.smb-box.contact-form_box .smb-box__background {
    border: none;
    border-radius: 0;
    background-color: #f8f7f7;
}

.smf-item__label {
    font-weight: 600;
}

.smf-form .smf-text-control__control {
    width: 100%;
    border-radius: 0;
}

/* 項目の幅 */
.snow-monkey-form .smf-form.smf-form--simple-table .smf-item .smf-item__col--label {
    flex: 0 0 18em !important;
    max-width: 18em !important;
}

.snow-monkey-form .smf-form.smf-form--simple-table .smf-item .smf-item__col--controls {
    flex: 1 1 calc(100% - 18em) !important;
    max-width: calc(100% - 18em) !important;
}

.smf-radio-buttons-control__control .smf-label {
    margin-bottom: 7px !important;
}

/* 確認ボタン */
.smf-action {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 0 !important;
}

.smf-action .smf-button-control__control {
    position: relative;
    width: 280px;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border: solid 2px var(--wp--preset--color--sm-accent) !important;
    border-radius: 0;
    background: var(--wp--preset--color--sm-accent);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 3px;
}

.smf-action .smf-button-control__control:hover {
    border: solid 2px var(--wp--preset--color--sm-accent) !important;
    background: #ffffff;
    color: var(--wp--preset--color--sm-accent);
}

.smf-action .smf-button-control+.smf-button-control {
    margin-left: 0 !important;
}


#autozip {
    display: none !important;
}

/* プライバシーポリシー */
#privacy h3 {
    margin-top: 30px !important;
    margin-bottom: 5px !important;
    padding-left: 10px;
    border-left: solid 3px var(--wp--preset--color--sm-accent);
    font-weight: 700;
}

#privacy .wp-block-list {
    margin-top: 5px;
}

#privacy h3 {
    margin-bottom: 10px !important;
    padding-left: 10px;
    border-left: solid 3px var(--wp--preset--color--sm-accent);
    font-weight: 700;
}

/*===================================== お知らせ =====================================*/
.c-meta__item--author {
    display: none;
}

/* 投稿(シンプル)のSPレスポンシブ */
@media screen and (max-width: 639px) {
    .c-entries--simple .c-entry-summary__content {
        display: block;
    }

    .c-entries--simple .c-entry-summary__figure {
        float: inherit;
        width: 100%;
        margin-bottom: 20px;
    }
}

/*==================================================================================*/
/*=================================== レスポンシブ ===================================*/
/*==================================================================================*/
@media screen and (max-width: 1225px) {
    .r_logo {
        right: 45px;
        width: 9%;
    }

    .r_1 {
        right: 50px;
    }

    .rb_1 {
        left: 50px;
    }
}

@media screen and (max-width: 950px) {
    .fv_rec-banner {
        width: 35%;
    }
}

@media screen and (max-width: 815px) {
    .r_logo {
        width: 13%;
    }
}

@media screen and (max-width: 781px) {
    .r_1 {
        top: -40px;
        width: 8%;
    }

    .rb_1 {
        top: -50px;
        width: 8%;
    }
}

@media screen and (max-width: 435px) {
    .c-site-branding__title .custom-logo {
        width: 250px;
    }

    .sp_none {
        display: none;
    }

    .ta_js {
        text-align: justify !important;
    }

    .c-container {
        padding: 0 6%;
    }

    .fv_txt-group {
        bottom: 4%;
    }

    .fv_rec-banner {
        width: 60%;
    }

    .fv_tag-group {
        gap: 5px !important;
    }

    .r_logo {
        right: 30px;
        width: 20%;
    }

    .greeting_logo {
        bottom: 80px;
        width: 90% !important;
    }

    .r_1 {
        width: 12%;
    }

    .rb_1 {
        top: -20px;
        left: 20px;
        width: 11%;
    }

    .about_dc::before {
        width: 90px;
        height: 90px;
    }

    /* CTA */
    #cta h2 {
        margin-bottom: 10px !important;
    }

    #cta h3 {
        margin-top: 20px !important;
    }

    .cta_logo {
        position: absolute;
        top: -3%;
        left: 6%;
        width: 23%;
    }
}