@charset "UTF-8";

/* swiperスライダーcss */
.custom-swiper-wrapper {
    padding: 0px 0 80px 0;
    max-width: 100vw !important;
    margin-left: 0px !important;
    margin-right: 0px !important;
    --_container-margin: 0px !important;
    overflow: hidden;

}

.customSwiper .swiper-wrapper {
    transition-timing-function: linear !important; /* 一定速度 */
    will-change: transform; /* アニメーション最適化 */
    align-items: center; /* 縦方向中央 */
}
.customSwiper .swiper-slide {
    width: auto; /* 幅を自動にする */
}

/* =========================================
   それぞれの画像に異なるクラス名を振って
   ランダム感を出す（サイズ・角丸・影）
========================================= */

/* すべての画像に共通の初期設定 */
.customSwiper .swiper-slide img {
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

/* スライド 1 */
.customSwiper .slide-img-unique-1 {
    width: 280px; /* 小さめ */
    
}

/* スライド 2 */
.customSwiper .slide-img-unique-2 {
    width: 240px; /* 大きめ */
}

/* スライド 3 */
.customSwiper .slide-img-unique-3 {
   width: 240px;
    height: auto;
}

/* スライド 4 */
.customSwiper .slide-img-unique-4 {
    width: 280px;
     height: auto;
}

/* スライド 5 */
.customSwiper .slide-img-unique-5 {
    width: 240px;
     height: auto;
}

/* スライド 6 */
.customSwiper .slide-img-unique-6 {
    width: 320px;
    height: auto;
}

/* スライド 7 */
.customSwiper .slide-img-unique-7 {
    width: 320px;
    height: auto;
}

/* =========================================
   スマホ向けの調整
========================================= */
@media (max-width: 768px) {
    /* .customSwiper .swiper-slide img {
        height: 250px; 
    } */
    
    /* スマホ用に幅もそれぞれ微調整する */
    .customSwiper .slide-img-unique-1 { width: 160px; }
    .customSwiper .slide-img-unique-2 { width: 120px; }
    .customSwiper .slide-img-unique-3 { width: 180px; }
    .customSwiper .slide-img-unique-4 { width: 160px; }
    .customSwiper .slide-img-unique-5 { width: 230px; }
    .customSwiper .slide-img-unique-6 { width: 180px; }
    .customSwiper .slide-img-unique-7 { width: 160px; }
}

/* 共通パーツヘッダー */
.c-page-header[data-has-image=true] {
    height: clamp(300px, 62.5vw, 400px);
}
@media (min-width: 1024px) {
h1.c-page-header__title{
    font-size: 64px;
}
p.c-page-header__subtitle{
    font-size: 40px;
    margin-bottom: -23px;
}

}
h1.c-page-header__title{
    font-weight: 500 !important;
}
p.c-page-header__subtitle{
    font-weight: 600;
    font-family: "SUSE", sans-serif;
}
.smb-section__background-text__inner{
    font-family: "SUSE", sans-serif;
    text-shadow: none !important;
}

/* 想いページ */
.page-id-62 .c-page-header::after, .page-id-64 .c-page-header::after, .page-id-66 .c-page-header::after, .page-id-506 .c-page-header::after, .error404 .c-page-header::after, .single .c-page-header::after, .archive .c-page-header::after{
    content: "";
    position: absolute;
    inset: 0;
    /* background: linear-gradient(58deg,rgba(244, 176, 163, 1) 0%, rgba(244, 176, 163, 0.78) 56%, rgba(244, 176, 163, 0.5) 76%, rgba(244, 176, 163, 0.2) 100%); */
    background: linear-gradient(139deg,rgba(244, 176, 163, 1) 0%, rgba(244, 176, 163, 0.78) 56%, rgba(244, 176, 163, 0.5) 76%, rgba(244, 176, 163, 0.2) 100%);
    z-index: 1;
    pointer-events: none;
}
.original-position {
    position: absolute;
    left: 46%;
}
.pink-bd .smb-panels__item{
    border: 2px solid #e06859;
    text-shadow: none;
}
.original-position02 {
    position: absolute;
    bottom: -96px;
    width: 391px;
}
.weight{
    font-weight: bold!important;
}
.family-img {
    margin-bottom: -40px;
}
/* 政策 */
.font-black {
    color: #000;
    text-shadow: none;
}
.speech-style .smb-balloon__body{
    padding: 10px;
    font-size: 16px;
}
.original-position03 {
    position: absolute;
    right: 0px;
    bottom: -200px;
}
.original-position04 {
    position: absolute;
    z-index: 10;
    top: -180px;
    right: 0px;
}
/* プロフィール */
.wp-block-snow-monkey-blocks-section.alignfull.smb-section.smb-section--left.smb-section--fit.is-style-smb-section-undecorated-title.pro-sect {
    padding-top: 40px;
}
.pro-sect .smb-section__contents-wrapper>*+*{
    margin-top: 0px;
}
p.pro-number{
    font-family: "SUSE", sans-serif;
    font-size: 60px;
    font-weight: bold;
    color: #ff696c;
    vertical-align: bottom;
    line-height: 1;
    opacity: .7;
}
.pro-colm .wp-block-column{
    padding: 50px 0px;
}

.pro-colm .wp-block-column:first-child img{
    width: 80%;
}
.pro-colm .wp-block-column:last-child{
    padding-left: 40px!important;
}
.deco::before{
    content: "";
    background: url(../img/heading-icon.png) no-repeat;
    width: 60px;
    height: 20px;
    background-size: cover;
    position: absolute;
    left: -84px;
    top: 50%;
    transform: translateY(-50%);
}

.external a .smb-btn__label img{
    width: 16px!important;
}
.external a .smb-btn__label, .icon-hed{
    display: flex;
    gap: 5px;
    align-items: center;
}
.icon-hed img{
    width: 24px!important;
    height: 24px;
}
/* ギャラリーページ */

/* ==========================================
 * Masonry.js版：PC 6カラム・スマホ 3カラム ギャラリー
 * ========================================== */

/* ギャラリー全体 */
.custom-masonry-gallery {
    width: 100%;
    margin-bottom: 30px;
}

/* 各画像の設定（PC用：100% ÷ 6列 = 16.666%） */
.custom-masonry-gallery .gallery-item {
    width: 25%;
    padding: 7px; /* ここで画像の周りに隙間を作ります */
    box-sizing: border-box; /* paddingを含めて横幅を計算させる必須設定 */
}

.custom-masonry-gallery .gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px; /* 角を少し丸くする */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

 img.custom-logo {
    /* 秒数を 0.5s → 1s など長めにし、イージングを調整 */
    transition: filter .8s ease-in-out;
}
.pro-sect .smb-section__body {
    position: relative;
    z-index: 1;
}
.pro-sect .smb-section__body::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 29%; /* 左カラムの幅（30%）に合わせて配置 */
    width: 3px;
    background-color: #ff696c;
    z-index: -1; /* コンテンツの裏側に配置 */
}

@media (max-width: 1023px){
    .custom-masonry-gallery .gallery-item{
        margin-bottom: 12px!important;
    }
    .tab_textlayout-sub{
        font-size: clamp(24px, 4vw, 32px) !important;
        text-align: left !important;
    }
    .tab_textlayout{
        font-size: clamp(32px, 6vw, 64px) !important;
        text-align: left !important;
    }
    h1.c-page-header__title{
        font-size: clamp(38px, 7vw, 64px);
    }
    p.c-page-header__subtitle{
        font-size: clamp(18px, 5vw, 40px) !important;
    }
   
    .c-page-header__content{
        line-height: 1;
    }
   [data-scrolled=true] .l-header--sticky-overlay-colored-sm img.custom-logo {
    filter: invert(100%);
    }

    /* 2. トップページだけ、その反転を「解除（none）」して元に戻す */
    .home [data-scrolled=true] .l-header--sticky-overlay-colored-sm img.custom-logo,
    [data-scrolled=true] .home .l-header--sticky-overlay-colored-sm img.custom-logo,
    body[data-scrolled=true].home .l-header--sticky-overlay-colored-sm img.custom-logo {
        filter: none !important;
    }
    .original-position{
        left: 63%;
    }
    .tab_textlayout02{
        font-size: clamp(24px, 4vw, 32px) !important;
    }
    figure.wp-block-image.alignright.size-full.is-resized.min-img img {
        max-width: 80% !important;
        object-fit: cover;
        display: block;
        width: 70% !important;
        height: inherit !important;
        margin-left: auto;
    }
    .pro-sub-img img {
        width: 240px !important;
    }
    .pro-sect h2.smb-section__title span.sme-font-size.has-sm-4-xl-font-size, .pro-sect02 h2.smb-section__title span.sme-font-size.has-sm-4-xl-font-size{
        font-size: clamp(32px, 6vw, 64px) !important;
    }
    p.pro-number{
        font-size: 40px;
    }
    .seisaku h2.smb-section__title span.sme-font-size.has-sm-4-xl-font-size{
        font-size: clamp(32px, 6vw, 64px) !important;
    }
    
}
@media (max-width: 781px){
    /* カラムの切り替え */
    .resize_panel .smb-panels__item__body {
        padding: 16px;
    }
    h3.wp-block-heading.adjustment{
        font-size: 20px!important;
        margin-bottom: 16px!important;
    }
    .original-position02 {
    position: absolute;
    bottom: -67px;
    width: 164px;
    right: -79px;
    }
    .wp-block-column.order{
        order: 2;
    }
    .page-id-64 .smb-section__background-text__text.has-sm-6-xl-font-size {
        right: 16px;
        top: 32px;
    }
    .tab_img img{
        width: 100%!important;
    }
    .pro-sect .smb-section__body::before{
        width: 2px;
        left: 0%;
    }
    .pro-colm .wp-block-column{
        padding-left: 75px;
        padding-bottom: 0px;
        padding-top: 0px;
    }
    .pro-colm .wp-block-column:last-child{
        padding-left: 75px !important;
        
    }
   
    .pro-sub-img img{
        width: 100%!important;
    }
    .wp-block-columns.are-vertically-aligned-center.pro-colm {
        margin-bottom: 40px;
    }
    .pro-sect .smb-section__contents-wrapper>*+*{
        padding-top: 40px;
    }
}
/* ==========================================
 * スマートフォン用（画面幅768px以下の場合：3列）
 * ========================================== */
@media (max-width: 768px) {
    /* スマホ用：100% ÷ 3列 = 33.333% */
    .custom-masonry-gallery .gallery-item {
        width: 50%;
        padding: 4px 4px;
        margin-bottom: 6px !important;
        
    }
    .custom-masonry-gallery .gallery-item img {
         border-radius: 8px; /* 角を少し丸くする */

    }
    .customSwiper .swiper-slide img{
         border-radius: 8px; /* 角を少し丸くする */
    }
    .wp-block-image img{
        border-radius: 8px!important;
    }
    .no-sp-padding{
        padding-left: 0px!important;
        padding-right: 0px!important;
    }
    .grad-pt02{
        background: linear-gradient(124deg, rgba(244, 176, 163, 1) 0%, rgba(244, 176, 163, 0.78) 56%, rgba(244, 176, 163, 0.9) 76%, rgba(244, 176, 163, 0.8) 100%);
    }
    
    
}
@media (max-width: 499px){
    .custom-swiper-wrapper{
        padding: 0px 0 60px 0;

    }
    figure.wp-block-image.alignright.size-full.is-resized.min-img img {
        width: 30% !important;
        
    }
    .textlayout-p{
        font-size: 20px!important;
    }
    .original-position02 {
        position: absolute;
        bottom: -57px;
        width: 136px;
        right: -70px;
    }
    .grad-pt02 {
        border-radius: 16px;
        background: #F4B0A3;
        background: linear-gradient(106deg, rgba(244, 176, 163, 1) 0%, rgba(244, 176, 163, 0.78) 56%, rgba(244, 176, 163, 0.8) 76%, rgba(244, 176, 163, 1) 100%);
    }
    .page-id-64 .smb-section__background-text__text.has-sm-6-xl-font-size {
        right: 16px;
        top:10px;
    }
    p.has-sm-s-font-size.wp-block-paragraph{
        font-feature-settings: "palt";
        font-size: 14px !important;
        padding-top: 16px;
    }
    .deco::before{
        width: 40px;
        height: 16px;
        left: -50px;
    }
    .pro-sect .smb-section__contents-wrapper>*+* {
        padding-top: 0px;
        margin-top: 30px;
    }
    .pro-colm .wp-block-column:last-child {
        padding-left: 42px !important;
    }
     .pro-colm .wp-block-column {
        padding-left: 42px;
    }
    p.pro-number {
        font-size: 36px;
        margin-bottom: 8px;
    }
    .page-id-62 .c-page-header::after, .page-id-64 .c-page-header::after, .page-id-66 .c-page-header::after, .page-id-506 .c-page-header::after, .error404 .c-page-header::after, .single .c-page-header::after, .archive .c-page-header::after{
        background: linear-gradient(83deg, rgba(244, 176, 163, 1) 0%, rgba(244, 176, 163, 0.78) 56%, rgba(244, 176, 163, 0.5) 76%, rgba(244, 176, 163, 0.2) 100%);
    }
    .c-page-header .c-container{
        margin-top: 34px;
    }
    
   

}