/* 改修 */
/* -------------------------


PCバナー


---------------------------*/
.pc_bnr {
	position: fixed;
	right: 0;
	left: auto;
	width: 160px;
	height: auto;
	top: 50%;
	transform: translateY(-50%);
	cursor: pointer;
}

.fixed-bnr a:after{
	content: none;
}

.pc_bnr a {
	background: none;
}

.pc_bnr img {
	width: 100%;
	height: auto;
}

/* -------------------------


余白


---------------------------*/

.ptb_100 {
    padding: 100px 0;
}

.mt_40 {
    margin-top: 40px;
}

.mt_24 {
	margin-top: 24px;
}


/* -------------------------


MV


---------------------------*/


#mv {
    background-image: url('/wp-content/uploads/2026/01/mv-scaled.jpg') !important;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    padding-top: 0 !important;
    height: clamp(800px, calc(800px + (50 * (100vw - 390px) / 1050)), 850px);
    width: 100%;
    overflow: hidden;
}


#mv>img {
    width: 100%;
    height: auto;
}

#mv .top_catch {
    display: flex;
    gap: 10px;
}

#mv .top_catch li {
    background-color: #0F9F01;
    border-radius: 999px;
    color: #FFF;
    font-size: 24px;
    font-weight: 800;
    padding: 8px 15px;
}

#mv h2 {
    margin: 10px 0 0 0 !important;
    font-size: 48px;
    font-weight: 800;
    width: auto !important;
    line-height: 1.4;
    padding: 0 !important;
}

#mv h2 span {
    font-weight: 700;
    font-size: 72px;
}

#mv .mv_lead {
    position: absolute;
    left: 100px;
    top: 17%;
}

#mv .point {
    display: flex;
    gap: 15px;
    width: 790px;
    margin-top: 24px;
}

#mv .point li {
    background-color: #fff;
    border: 5px solid #FF6301;
    font-size: 20px;
    border-radius: 15px;
    box-sizing: border-box;
    width: calc((100% - 45px) / 4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px;
    line-height: 1.4;
}

#mv .point li:last-child {
    font-size: clamp(16px, 1.25vw, 18px);
}

#mv .point span {
    display: block;
    font-size: 40px;
    font-weight: 800;
    color: #FF6301;
}

#mv .point .small {
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    margin-right: 3px;
}

#mv .point .txt_mid {
    color: #4B4B4B;
    font-size: 16px;
    font-weight: 700;
}

#mv .point li>div {
    text-align: center;
}



/* ロゴのスライダー */

.logo_slider_wrap {
    position: absolute;
    bottom: 10px;
    width: 100%;
    overflow: hidden;

}

.logo_slider_wrap .txt {
    font-weight: 800;
    text-align: center;
    font-size: 24px;
    margin-top: 10px;
    text-shadow:
        -2px 0 0 #fff,
        2px 0 0 #fff,
        0 -2px 0 #fff,
        0 2px 0 #fff,
        -2px -2px 0 #fff,
        2px -2px 0 #fff,
        -2px 2px 0 #fff,
        2px 2px 0 #fff;
}

.logo_slider_wrap .txt span {
    color: #FF6301;
}

.logo_slider {
    width: 100%;
    background-color: #fff;
    box-sizing: border-box;
    padding: 30px 0;
}


.slider_track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: slide 40s linear infinite;
}

.slide_item {
    flex-shrink: 0;
    height: 60px;
}

.slide_item img {
    height: 60px;
    width: auto;
    display: block;
}

/* 無限ループ */
@keyframes slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}




/* -------------------------


キャンペーン情報


---------------------------*/

.campaign {
    background-color: #0F9F01;
    position: relative;
    width: 100%;
    height: 540px;
    padding: 100px 0 80px 0;
    overflow: hidden;
    z-index: 0;
    box-sizing: border-box;
}

.campaign::before {
    content: '';
    display: inline-block;
    background-image: url('/test03/wp-content/uploads/2026/01/bg-scaled.png');
    width: 100%;
    height: 167px;
    position: absolute;
    bottom: 0;
    left: 0;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1;
}

.campaign h2 {
    font-size: 48px;
    text-align: center;
    color: #0F9F01;
    font-weight: 800;
    position: relative;
    z-index: -2;
}

.campaign h2::before {
    content: '';
    display: inline-block;
    background-color: #fff;
    border-radius: 0 999px 999px 0;
    width: 80%;
    height: 100px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    z-index: -2;
}

/* .campaign > div {
    display: flex;
    justify-content: center;
    align-items: center;
} */

.campaign .txt_wrap {
    width: max-content;
    text-align: center;
    color: #fff;
    font-size: 40px;
    font-weight: 700;
    position: absolute;
    top: 38%;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}

.campaign .txt_wrap p {
    line-height: 1.4;
}

.campaign .txt_wrap p br {
    display: none;
}


.campaign .txt_wrap .yellow {
    color: #FFEB00;
}

.campaign .txt_wrap .large {
    font-size: 90px;
    font-weight: 800;
}

.campaign .bnr {
    position: absolute;
    max-width: 560px;
    width: 90%;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    bottom: clamp(24px, 5vh, 60px);
}

.campaign .bnr li {
    display: block;
    text-align: center;
    margin: 2rem auto;
    width: 100%;
    height: 80px;
    background-color: #FF4E36;
    border-radius: 999px;
    color: #FFF;
    font-weight: 600;
    font-size: 32px;
    line-height: 2.4;
    box-shadow: 0 8px 0 #E72208;
    transition: all 0.3s;
    cursor: pointer;
}

.campaign .bnr li a {
    display: inline-block;
    width: 100%;
    height: 100%;
}

.campaign .bnr li a::before {
    content: '';
    display: inline-block;
    width: 28px;
    height: 20px;
    background: url(../img/common/icon-email.png);
    background-size: 28px 20px;
    background-repeat: no-repeat;
    margin-right: 10px;
}

.campaign .bnr li:hover {
    transform: translateY(8px);
    box-shadow: none;
}

.campaign .bnr li:hover a {
    opacity: 1 !important;
}

.campaign img {
    width: 40%;
    max-width: 320px;
    height: auto;
    position: absolute;
    left: 5vw;
    bottom: -80px;
    z-index: -2;
}

/* 1500px以下になったら、徐々に左へ追い出す */
@media (max-width: 1500px) {
    .campaign img {
        left: calc(5vw - (1500px - 100vw) * 0.2);
    }
}




/* -------------------------


TOPお客様の声


---------------------------*/


.top_voice .txt-deco {
    color: rgba(74, 163, 87, 0.06);
    font-size: 200px;
    font-size: clamp(100px, 13.9vw, 200px);

}

.top_voice {
    padding: 100px 0;
    overflow: hidden;
}


.voice_wrap {
    border: 2px #0F9F01 solid;
    box-sizing: border-box;
    border-radius: 20px;
    padding: 30px 40px 40px 40px;
    overflow: hidden;
}

.voice_head {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    top: -30px;
    left: -40px;
}

.voice_head > p {
    font-size: clamp(18px, 1.66vw, 20px);
}

.voice_head .num {
    background-color: #0F9F01;
    color: #FFF;
    padding: 20px 40px;
    font-size: 32px;
    font-weight: 800;
    border-radius: 0 0 20px 0;
    display: flex;
    box-sizing: border-box;
    align-items: baseline;
    flex-shrink: 0;
}

.voice_head .num span {
    font-size: 18px;
    margin-right: 5px;
}


/* スライドの箱自体を高さ100%に伸ばす準備 */
.slider2 .swiper-wrapper {
    display: flex;
    align-items: baseline !important;
    /* これで高さが揃う準備ができる */
}

.slider2 .swiper-slide {
    height: auto !important;
    /* 中身に合わせて伸びるようにする */
    display: flex;
    max-width: 450px;
}

.voice_wrap .thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 23 / 14;
    border-radius: 10px;
    overflow: hidden;
}

.voice_wrap .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* スライダーの親コンテナ */
.slider2 {
    margin-top: 50px;
    width: 100%;
    margin: 50px auto 0 auto;
    /* 中央寄せ */
    overflow: hidden;
    position: relative;
}

/* 見切れ部分を綺麗に見せるための処理 */
.slider2 .swiper-wrapper {
    display: flex;
    align-items: stretch;
    /* 高さを揃える */
    overflow: visible;
}

/* アクティブなスライド（中央）以外を少し薄くすると、より見切れ感が出ます */
.slider2 .swiper-slide {
    transition: opacity 0.3s;
    height: auto !important;
}

.slider2 .swiper-slide-active {
    opacity: 1;
    /* 中央の1枚だけハッキリ見せる */
}

/* 中身のラップ */
.voice_wrap {
    height: 100%;
}


.top_voice .button {
    margin-top: 48px;
}





/* -------------------------


代表あいさつ


---------------------------*/
#top__staff .box {
    display: contents !important;
}


#top__staff .col {
    display: flex;
    align-items: center;
    gap: 40px;
}

#top__staff .container {
    max-width: 1100px;
    width: 100%;
    margin: 60px auto 0 auto;
}

#top__staff .box figure {
    width: 55% !important;
    height: auto;
    aspect-ratio: 31 / 22;
    padding-top: 0 !important;
}

#top__staff .box .txt {
    padding-top: 0 !important;
    flex: 1;
}



/* -------------------------


代表あいさつ 詳細


---------------------------*/


.txt-vertical-pc .txt-latin {
/* 1. 筆記方向を強制的に横書きへ */
writing-mode: horizontal-tb !important;
-webkit-writing-mode: horizontal-tb !important;
-ms-writing-mode: horizontal-tb !important;

/* 2. 文字の回転を強制解除 */
text-orientation: mixed !important;
-webkit-text-orientation: mixed !important;

/* 3. 縦書き特有のグリッド設定などを解除 */
display: block !important; /* gridやflexが邪魔している場合があるため */
unicode-bidi: normal !important;

/* 4. カーソルを普通に戻す */
cursor: auto !important;
}

#staff .box .name {
    width: auto !important;
    margin: 0 !important;
    letter-spacing: 0.15em;
}

#staff .box figure img {
	width: 100% !important
}

#staff .box .position {
    width: auto !important;
    display: inline-block;
    border-radius: 999px !important;
    padding: 10px 20px !important;
    letter-spacing: 0.2em;
    line-height: 1 !important;
}

#staff .box .name-kana {
    width: auto !important;
    margin: 10px 0 0 0 !important;
    min-height: initial !important;

}
#staff .box .fl {
    display: flex;
    gap: 20px;
    align-items: center;
    float: none !important;
}

.al_center {
    text-align: center;
}

#staff .qualifications:not(:first-of-type) {
    margin-top: 18px;
}

#staff .box .qualifications dd {
    padding: 0 !important;
    margin-top: 10px;
}

#staff .box .qualifications {
    width: 100% !important;
    margin: 0 !important;
}

.staff_wrap {
    overflow: hidden;
}

.gallery_title {
    font-size: 22px;
    color: #0F9F01;
    font-weight: 900;
    border-bottom: 1px solid #0F9F01;
    padding-bottom: 10px;
    margin-top: 60px;
}

.gallery_item img {
    width: 300px;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 10px;
    max-width: initial !important;
}

.private_photo {
    display: flex;
    width: 100%;
    margin-top: 40px;
}

/* 2つのセットを横に並べる */
.gallery_inner {
    display: flex;
    flex-shrink: 0;
    animation: loop-scroll 30s linear infinite;
}

.gallery_item {
    margin-right: 40px;
}

/* アニメーション：左に100%分ずらす */
@keyframes loop-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

/* マウスを乗せた時に止める（お好みで） */
.private_photo:hover .gallery_inner {
    animation-play-state: paused;
}


/* -------------------------


画像変更


---------------------------*/


#top__consult {
    padding: 80px 0 320px !important;
}

#top__consult::after {
    background-image: url(/wp-content/uploads/2026/01/omakase.png) !important;
    width: 280px !important;
    height: 280px !important;
}

#top__reason .box img {
    border-radius: 10px;
	width: 100%;
	height: auto;
}








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


    /* MV */

    #mv {
        position: relative;
        z-index: 0;
        background-position: center;
        background-position: 78% 105px !important;
    }

    #mv::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        /* 上が白、下が透明（30%くらい） */
        background: linear-gradient(to bottom,
                rgba(255, 255, 255, 1) 15%,
                rgba(255, 255, 255, 0.8) 25%,
                rgba(255, 255, 255, 0) 40%);
        pointer-events: none;
        z-index: -1;
    }

    #mv .mv_lead {
        position: static;
    }

    #mv .mv_lead_sp {
        position: absolute;
        top: 10%;
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        width: 95%;
    }

    #mv .top_catch {
        justify-content: center;
    }

    #mv .top_catch li {
        font-size: 18px;
    }

    #mv h2 {
        font-size: 40px;
        text-align: center;
    }

    #mv h2 span {
        font-size: 64px;
    }

    #mv .point {
        position: absolute;
        bottom: 17%;
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        width: 95%;
        gap: 15px;
        flex-wrap: wrap;
        margin-top: 0;
    }

    #mv .point li {
        width: calc((100% - 15px) / 2);
    }


    /* ロゴのスライダー */

    .logo_slider_wrap {
        bottom: 20px;
    }

    .logo_slider {
        padding: 15px 0;
    }

    .slide_item {
        height: 45px;
    }

    .slide_item img {
        height: 100%;
    }

    .logo_slider_wrap .txt {
        font-size: 18px;
    }

/* -------------------------


キャンペーン情報


---------------------------*/


    .campaign {
        height: 640px;
    }

    .campaign .txt_wrap p br {
        display: block;
    }

    .campaign .txt_wrap {
        text-align: left;
        top: 29%;
        left: 66%;
    }

    .campaign h2::before {
        width: 95vw;
    }

/* -------------------------


キャンペーン情報


---------------------------*/


    .campaign {
        height: 640px;
    }

    .campaign .txt_wrap p br {
        display: block;
    }

    .campaign .txt_wrap {
        text-align: left;
        top: 29%;
        left: 66%;
    }

    .campaign h2::before {
        width: 95vw;
    }

    .campaign img {
        left: calc(5vw - (980px - 100vw) * 0.1);
        bottom: -15px;
    }



}



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

/* -------------------------


PCバナー


---------------------------*/
.pc_bnr {
	display: none;
}


/* -------------------------


余白


---------------------------*/

    .ptb_100 {
        padding: 50px 0;
    }

    .mt_40 {
        margin-top: 20px;
    }

	.mt_24 {
		margin-top: 12px;
	}

/* -------------------------


MV


---------------------------*/

    #mv {
        background-image: url('/wp-content/uploads/2026/01/mv_sp.jpg') !important;
        background-position: 78% -10px !important;
    }

    #mv .mv_lead {
        position: static;

    }

    #mv .mv_lead_sp {
        position: absolute;
        top: 70px;
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        width: 95%;
    }


    #mv h2 {
        font-size: clamp(18px, 5vw, 24px);
    }

    #mv h2 span {
        font-size: clamp(30px, 10.2vw, 40px);
    }

    #mv .top_catch li {
        font-size: clamp(12px, 3.8vw, 16px);
        padding: 5px 10px;
    }

    #mv .point {
        bottom: 18%;
        gap: 10px;
    }

    #mv .point li {
        width: calc((100% - 10px) / 2);
        display: block;
        text-align: center;
        font-size: clamp(14px, 4.1vw, 16px);
    }

    #mv .point li:last-child {
        font-size: clamp(14px, 4.1vw, 16px);
    }

    #mv .point li>div {
        display: flex;
        align-items: baseline;
        justify-content: center;
    }


    #mv .point span {
        font-size: clamp(28px, 9.2vw, 36px);
    }

    #mv .point .txt_mid {
        font-size: 12px;
    }



    /* ロゴのスライダー */

    .logo_slider_wrap .txt {
        font-size: 14px;
    }

    .slide_item {
        height: 30px;
    }




/* -------------------------


TOPお客様の声


---------------------------*/

    .slider2 .swiper-slide {
        max-width: 300px;
    }

    .voice_head .num span {
        font-size: 14px;
    }

    .voice_head .num {
        font-size: 24px;
        padding: 15px;
    }

    .voice_head > p {
        font-size: clamp(14px, 4.1vw, 16px);
    }

    .voice_head {
        top: -20px;
        left: -20px;
    }

    .voice_wrap {
        padding: 20px;
    }



/* -------------------------


画像変更


---------------------------*/


    #top__consult {
        padding: 80px 0 215px !important;
    }

    #top__consult::after {
        width: 190px !important;
        height: 190px !important;
    }

    #top__reason .box img {
        border-radius: 10px;
    }





/* -------------------------


代表あいさつ


---------------------------*/

    #top__staff .col {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    #top__staff .container {
        margin: 30px auto 0 auto;
    }

    #top__staff .box figure {
        width: 100% !important;
        aspect-ratio: 31 / 22;
    }

    #top__staff .box .txt {
        padding-top: 0 !important;
        flex: 1;
    }

    #top__staff .txt-deco {
        font-size: clamp(64px, 12vw, 200px);
    }


/* -------------------------


代表あいさつ 詳細


---------------------------*/



#staff .box .fl {
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#staff .box .name-kana {
    padding: 0 !important;
}

.gallery_title {
    font-size: 18px;
    margin-top: 30px;
}

.private_photo {
    margin-top: 15px;
}

.gallery_item img {
    width: 180px;
}

.gallery_item {
    margin-right: 20px;
}

#staff .box .qualifications {
    padding: 0 !important;
}


/* -------------------------


フッターバナー


---------------------------*/

    .fixed-bnr {
        width: 100vw;
        /* iOSのセーフエリア（バーの高さ）を考慮する */
        bottom: env(safe-area-inset-bottom);
		  position: fixed;
		bottom: 0;
		left: 0; 
		width: 100%;
		z-index: 9999;
    }

    .fixed-bnr a {
        all: revert !important;
    }

    .fixed-bnr img {
        width: 100%;
        height: auto;
    }

    .fixed-bnr a:after {
        content: none;
    }
	
	.fixed-bnr::after {
		content: "";
		position: absolute;
		left: 0;
		bottom: 0;
		width: 100%;
		height: calc(env(safe-area-inset-bottom) + 16px); /* 調整OK */
		background-color: #fff; /* 背景色（画像と馴染む色） */
		z-index: -1; /* 画像の“後ろ”に置くのがポイント */
}
}




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




/* -------------------------


キャンペーン情報


---------------------------*/


    .campaign {
        padding: 60px 0 60px 0;
        height: 380px;
    }


    .campaign::before {
        background-image: url(/test03/wp-content/uploads/2026/01/bg_sp.png);
        width: 100%;
        height: 102px;
    }

    .campaign h2 {
        font-size: 28px;
    }

    .campaign h2::before {
        height: 60px;
    }

    .campaign .txt_wrap {
        left: 70%;
    }

    .campaign .txt_wrap p {
        font-size: clamp(16px, 6vw, 24px);
    }

    .campaign .txt_wrap .large {
        font-size: clamp(40px, 14.3vw, 56px);
    }

    .campaign img {
        width: auto;
        max-width: initial;
        height: 45vh;
        bottom: -5px;
        left: calc(18vw - (650px - 100vw) * 0.4);
    }

    .campaign .bnr li {
        font-size: 24px;
        height: 60px;
    }

    .campaign .bnr {
        bottom: -4%;
    }

    .campaign>div {
        justify-content: flex-start;
        padding-left: 0;
        margin-left: -20px;
    }


}
