
html,
body,
div,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
img,
dl,
dt,
dd,
ol,
ul,
li,
strong,
sub,
sup,
i,
small,
address,
time,
fieldset,
form,
label,
legend,
hr,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
header,
footer,
nav,
section,
article,
aside,
figure,
figcaption,
canvas,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font-style: normal;
    font-weight: normal;
    vertical-align: baseline;
    }

article,
aside,
figure,
figcaption,
footer,
header,
nav,
section {
    display: block;
}

a{
    text-decoration: none;
}

*,
*::before,
*::after {
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

ul,
ol,
li {
    list-style: none;
    }

input,
textarea,
button {
    margin: 0;
    padding: 0;
    font-size: 100%;
}

input[type="submit"],
input[type="button"],
button {
    cursor: pointer;
}

button{
    -webkit-appearance: none;
    appearance: none;
    border: none;
    background-color: transparent;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: top;
}

.clearfix::after {
    display: block;
    clear: both;
    content: "";
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

body{
    font-family: "Noto Sans JP", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.05rem;
}

main{
    width: 100%;
    overflow: hidden;
}

.u-inline_block{
    display: inline-block;
}

.u-pc_block{
    display: block;
}
@media (max-width: 820px) {
    .u-pc_block{
        display: none;
    }
}
.u-sp_block{
    display: none;
}
@media (max-width: 820px) {
    .u-sp_block{
        display: block;
    }
}

.u-color__yellow{
    color: #ffff00;
}
.u-color__green{
    color: #057771;
}

/* layout */

.l-container{
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
}

/* common */
.c-title{
    text-align: center;
    font-size: 40px;
    color: #333;
    font-weight: 700;
}
.c-title strong{
    font-size: 50px;
    font-weight: 700;
    color: #057771;
}


@media (max-width: 720px) {
    .c-title{
        font-size: 26px;
        height: 70px;
    }
    .c-title strong{
        font-size: 30px;
        font-weight: 700;
        color: #057771;
    }
    
}
.c-cta{
    padding-bottom: 40px;
}

.c-cta__btn{
    width: 48%;
    background-color: #fff;
    display: inline-block;
    position: relative;
    font-family: "M PLUS 1p", sans-serif;
    color: #000;
    font-size: 1.35vw;
    height: 90px;
    filter: drop-shadow(0px 6px 0px rgba(0, 0, 0, 0.16));
    transition: transform 0.1s ease, filter 0.1s ease; /* アニメーション追加 */
}

/* ホバー時の沈む効果 */
.c-cta__btn:hover {
    transform: translateY(4px); /* 下に4px動かす */
    filter: drop-shadow(0px 2px 0px rgba(0, 0, 0, 0.1)); /* 影を浅くして押された感じに */
}

.c-cta__btn.--sim{
    color: #057771;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50vh;
    border: solid 2px #057771;
    padding: 10px 20px;
    letter-spacing: 0;
}
.c-cta__btn.--sim img{
    width: 8%;
}
.c-cta__btn.--mail{
    color: #057771;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50vh;
    border: solid 2px #057771;
    padding: 10px 20px;
    color: #000;
    background: linear-gradient(#ffd91d 0%, #ffb51d 100%);
    border: solid 3px #ffb51d;
}
.c-cta__btn.--mail img{
    width: 43px;
}
.c-cta__btn img{
    width: 43px;
    margin-right: 10px;
}
.c-cta__btn::after{
    content: "";
    background-image: url(../images/cta_arrow.png);
    width: 80px;
    height: 8px;
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transition: 0.5s;
}

.c-cta__btn__wrap{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80%;
    margin: 1000px;
    margin: 0 auto;
}


@media (max-width: 820px) {
    .c-cta__btn{
        width: 100%;
        margin-right: auto;
        display: block;
        margin-left: 0;
        height: 60px;
        font-size: 16px;
        filter: drop-shadow(0px 3px 0px rgba(0, 0, 0, 0.14));
    }
    .c-cta__btn::after{
        right: -9%;
        width: 50px;
        height: 6px;
    }
    .p-recommend__cta{
        width: 90%;
        margin-top: 20px;
    }
    .c-cta__btn.--white{
        width: 90%;
    }
    .c-cta__btn.--mail span{
        display: none;
    }
    .c-cta__btn.--sim img{
        width:10%;
    }
    .c-cta__btn.--mail img{
        width: 30px;
    }
}

.c-cta__btn:hover::before{
    width: 98%; 
    top: 2%;
}

.c-cta__btn_wrap a{
    overflow: hidden;
    position: relative;
    display: block;
    transition: ease 0.5s;
}

.c-cta__btn_wrap a:hover{
    transform: translate(0, 3px);
}

.c-cta__btn_wrap a::before {
	position: absolute;
	content: '';
	display: inline-block;
	top: -180px;
	left: 0;
	width: 30px;
	height: 100%;
	background-color: #fff;
	transition: 1s;
	animation: shiny-btn1 3s ease-in-out infinite;
}


/* ボタンを光らせるアニメーション */
@-webkit-keyframes shiny-btn1 {
	0% {
		-webkit-transform: scale(0) rotate(45deg);
		opacity: 0;
	}
	80% {
		-webkit-transform: scale(0) rotate(45deg);
		opacity: 1;
	}

	81% {
		-webkit-transform: scale(4) rotate(45deg);
		opacity: 1;
	}

	100% {
		-webkit-transform: scale(50) rotate(45deg);
		opacity: 0;
	}
}

/* fv */
.p-fv{
    position: relative;
    width: 100%;
    margin-top: 55px;
}
.p-fv h2 img{
    object-fit: cover;
    margin: 0 auto;
    z-index: 0;
}

@media screen and (max-width: 820px) {
    .p-fv{
        margin-top: 0px;
    }
    .p-fv h1 img{
        width: 100%;
        height: auto;
    }
}


.p-header{
    background-color: #045456;
    padding: 10px;
    position: fixed;
    z-index: 100;
    width: 100%;
}

.p-header__inner{
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.p-header__logo{
    width: 13%;
}
.p-header_btnwrap{
    display: flex;
    justify-content: space-between;
    width: 60%;
}

.p-header__tel{
    width: 45%;
}

@media screen and (max-width: 820px) {
    .p-header{
        position: relative;
    }
    .p-header__logo{
        width: 40%;
    }
    .p-header__tel{
        display: none;
    }
}
.p-header__tel img{
    width: 100%;
}
.p-header__cta{
background: linear-gradient(#ffd91d 0%, #ffb51d 100%);
border-radius: 50vh;
width: 335px;
display: flex;
align-items: center;
gap: 20px;
justify-content: center;
font-size: 24px;
font-family: serif;
font-family: "M PLUS 1p", sans-serif;
font-weight: 700;
color: #000;
}

@media screen and (max-width: 820px) {
    .p-header__cta{
        font-size: 17px;
        width: 86%;
        border-radius: 2px;
        margin-left: auto;
        background:  #ffd91d;
    }
    .p-header__cta span{
        display: none;
    }
}
.p-header__cta img{
    width: 36px;
}
.p-underfv{
    padding: 50px 0 0;
        background: linear-gradient(#ffffff 0%, #ffffff 20%, #bfdcdb 100%);
}

@media screen and (max-width: 820px) {
    .p-underfv{
        padding: 50px 0 0;
        background: linear-gradient(#ffffff 20%, #bfdcdb 100%);
    }
}


.c-cta{
    background-color: #ddeded;
    max-width: 1200px;
    margin: 0 auto;
}


.c-cta__copy{
    font-size: 26px;
    text-align: center;
    font-family: "M PLUS 1p", sans-serif;
    background-color: #057771;
    color: #fff;
    padding:  5px 10px;
    width: 480px;
    margin: 0 auto;
    border-radius: 5px;
    position: relative;
    top: -22px;
    text-align: center;
}
.c-cta__copy::after {
    content: "";
    position: absolute;
    bottom: -14px; /* 矢印の高さと同じ */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10.5px solid transparent;
    border-right: 10.5px solid transparent;
    border-top: 14px solid #057771; /* 吹き出しと同じ色 */
}

.c-cta__tit{
    font-size: 40px;
    font-family: "M PLUS 1p", sans-serif;
    color: #057771;
    text-align: center;
    margin-bottom: 27px;
}

@media screen and (max-width: 820px) {
    .c-cta{
        width: 92%;
        padding-bottom: 20px;
    }
    .c-cta__copy{
        width: 94%;
        font-size: 20px;
    }
    .c-cta__tit{
        font-size: 22px;
        margin-bottom: 20px;
    }
    .c-cta__btn__wrap{
        flex-direction: column;
        width: 90%;
    }
    .c-cta__btn.--sim{
        margin-bottom: 10px;
    }
    

}

.p-onayami{
    margin-top: 100px;
    text-align: center;
}

.p-onayami .c-title{
    border-bottom: solid 2px #057771;
    display: inline-block;
    margin: 0 auto;
    margin-bottom: 20px;
}

@media screen and (max-width: 820px) {
    .p-onayami{
        margin-top: 70px;
        text-align: center;
    }
    .p-onayami .c-title{
        font-size: 24px;
        display: block;
        width: 88%;
        padding-bottom: 20px;
        position: relative;
        height: 100px;
    }
    .p-onayami .c-title::before{
        content: "";
        position: absolute;
        background-image: url(../images/onayami_person.webp);
        width: 66px;
        height: 163px;
        background-size: contain;
        background-repeat: no-repeat;
        right: 0;
        bottom: -40%;
    }
}
.p-onayami picture img{
    max-width: 1300px;
    display: block;
    margin:  0 auto;
    width: 90%;
}

.p-kaiketsu{
    background-image: url(../images/omakase_bg_pc.png);
    background-position: center center;
    background-size: cover;
    text-align: center;
    position: relative;
    padding-top: 180px;
    margin-top: -90px;
    padding-bottom:90px;
}

.p-kaiketsu h2{
    font-size: 33px;
    text-align: center;
    font-weight: 700;
    color: #fff;
    position: relative;
    display: inline-block;
}

@media screen and (max-width: 820px) {
    .p-kaiketsu h2{
        font-size: 24px;
    }
    .p-kaiketsu{
        padding-top: 70px;
        background-image: url(../images/omakase_bg_sp.png);
        margin-top: 0px;
        padding-bottom: 40px;
    }
}

.p-kaiketsu h2::before{
    content: "";
    display: inline-block;
    background-image: url(../images/fukidashi_titi.png);
    width: 23px;
    height: 34px;
    background-size: contain;
    position: absolute;
    left: -5%;
    top: 40%;
}
.p-kaiketsu h2::after{
    content: "";
    display: inline-block;
    background-image: url(../images/fukidashi_titi.png);
    width: 23px;
    height: 34px;
    background-size: contain;
    position: absolute;
    right: -5%;
    top: 40%;
    transform: scaleX(-1);
}

@media screen and (max-width: 820px) {
    .p-kaiketsu h2::before,.p-kaiketsu h2::after{
        top: 70%;
    }
}

.p-kaiketsu__content{
    max-width: 1000px;
    margin: 0 auto;
    border: solid 2px #fff;
    margin-top: 50px;
    padding-bottom: 50px;
    width: 90%;
}
.p-kaiketsu__content img{
    width: 75%;
}
.p-kaiketsu__content p{
    color: #fff;
    margin-top: 30px;
    font-size: 19px;
    line-height: 37px;
}
.p-kaiketsu__content__tit{
    font-size: 26px;
    color: #057771;
    background-color: #fff;
    padding: 8px;
    font-weight: 600;
    border-radius: 50vh;
    width: 60%;
    margin: 0 auto;
    position: relative;
    top: -30px;
}
@media screen and (max-width: 820px) {
    .p-kaiketsu__content__tit{
        font-size: 20px;
        width: 90%;
        padding: 4px;
        top: -20px;
    }
    .p-kaiketsu__content img{
        width: 90%;
    }
    .p-kaiketsu__content p{
        text-align: left;
        font-size: 18px;
        padding: 0 20px;
    }
    .p-kaiketsu__content {
        padding-bottom: 30px;
        margin-top: 40px;
    }
}
.c-title{
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    z-index: 1;
}
.c-title__deco{
    font-size: 160px;
    font-family: serif;
    font-family: "M PLUS 1p", sans-serif;
    font-weight: 700;
    color: #f5f5f5;
    position: absolute;
    z-index: -1;
}
.c-title__deco.--right{
    right: -10%;
    top: -60%;
}
.c-title__deco.--left{
    left: -10%;
    top: -60%;
}
.c-title__deco.--center{
    top: 50%;
    left: 20%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}

.p-feature{
    position: relative;
    z-index: 1;
    padding-top: 130px;
}
.p-feature .c-title{
    text-align: right;
    height: 150px;
}
@media screen and (max-width: 820px) {
    .p-feature{
        padding-top: 60px;
    }
    .p-feature .c-title{
        text-align: left;
        height: 60px;
        margin-bottom: 80px;
        width: 90%;
    }
    .c-title__deco{
        font-size: 76px;
    }
    .c-title__deco.--center{
        left: 20%;
        top: 22%;
    }
    .c-title__deco.--left{
        left: -6%;
        top: -60%;
    }
    .c-title__deco.--right{
        right: -7%;
    }
}

.p-feature__img{
    width: 40%;
    position: relative;
}
.p-feature__text{
    width: 70%;
    padding: 30px 0;
    position: relative;
    left: -5%;
}
.p-feature__list.--2 .p-feature__text{
    width: 70%;
    padding: 30px 0;
    position: relative;
    left: 0;
    right: -5%;
}
.p-feature__text h3{
    font-size: 30px;
    border-bottom: solid 1px #057771;
    font-weight: 600;
    text-align: center;
    padding-bottom: 20px;
}
.p-feature__text p{
    width: 72%;
    margin:  0 auto;
    margin-top: 20px;
    line-height: 37px;
}
.p-feature__num{
    font-size: 93px;
    font-family: "M PLUS 1p", sans-serif;
    color: #057771;
    position: absolute;
    top: -13%;
}
.p-feature__list{
    max-width: 1100px;
    margin-right: 0;
    margin-left: auto;
    display: flex;
}
.p-feature__list.--2{
    margin-left: 0;
    margin-right: auto;
    margin-top: 40px;
}
.p-feature__text p span{
    color: #f15a24;
    font-weight: 700;
}
@media screen and (max-width: 820px) {
    .p-feature__num{
        font-size: 46px;
        top: -20%;
        left: 6%;
    }
    .p-feature .l-container{
        width: 100%;
    }
    .p-feature__list{
        flex-direction: column;
        margin-left: 0;
        margin-right: 0;
    }
    .p-feature__img{
        width: 83%;
        order: 1;
    }
    .p-feature__list.--2 .p-feature__img{
        margin-left: auto;
    }
    .p-feature__text{
        width: 92%;
        margin-left: auto;
        margin-right: 0;
        left: 0%;
        order: 2;
        padding: 20px 0 30px;
    }
    .p-feature__list.--2 .p-feature__text{
        width: 92%;
        margin-left:  0;
        margin-right: auto;
        left: 0;
        right: 0%;
        padding: 20px 0 30px;
    }
    .p-feature__text h3{
        font-size: 22px;
        text-align: left;
        padding-bottom: 12px;
    }
    .p-feature__text p{
        width: 100%;
        padding-right: 15px;
        line-height: 28px;
    }
    .p-feature__list.--2 .p-feature__text p{
        padding-left: 25px;
        padding-right: 0px;
    }
    .p-feature__list.--2 .p-feature__text h3{
        text-align: center;
    }
    
}


.p-merit{
    margin-top: 170px;
    padding-bottom: 100px;
    background-color: #f0f6f6;
    margin-bottom: 80px;
}
@media screen and (max-width: 820px) {

.p-merit{
    margin-top: 50px;
    padding-bottom: 50px;
}
}
.p-merit__head {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.p-merit__head h3{
    font-size: 30px;
    color: #057771;
    font-weight: 600;
    justify-content: center;
    align-items: center;
}
.p-merit__head img{
    margin-right: 20px;
}

.p-merit .c-title {
    text-align: left;
    height: 150px;
    position: relative;
    top: -50px;
    margin-bottom: -30px;
}

.p-merit .c-title__deco{
    color: #333;
    opacity: 0.06;
}
.p-merit__list{
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}
.p-merit__list.--2{
    margin-top: 50px;

}
.p-merit__text{
    width: 60%;
    background-color: #fff;
    padding: 60px;
    position: relative;
}
@media screen and (max-width: 820px) {
    .p-merit .c-title {
        height: 70px;
        margin-bottom: 70px;
        position: relative;
        top: -20px;
    }
    .p-merit__head {
        flex-direction: column;
        align-items: flex-start;
    }
    .p-merit__text{
        width: 100%;
        padding: 50px 10px 40px 20px;
    }
    .p-merit__head h3{
        font-size: 24px;
    }
    .p-merit__head img{
        margin-right: 20px;
        width: 56px;
        margin-bottom: 20px;
        margin-left: 5px;
    }
    .p-merit__list.--2{
        margin-top: 70px;
    }
}
.p-merit__list.--1 > img{
    position: absolute;
    right: 4%;
    top: -20%;
}

.p-merit__list.--2 > img{
    position: absolute;
    left: 1%;
    z-index: 2;
    bottom: 0;
}
@media screen and (max-width: 820px) {
    .p-merit__list.--1 > img{
        position: absolute;
        right: 4%;
        top: -27%;
        width: 65%;
    }
    .p-merit__list.--2 > img{
        position: absolute;
        left: 30%;
        top: -17%;
        z-index: 2;
        bottom: 0;
        width: 70%;
    }
}
.p-merit__list.--2 .p-merit__text{
    margin-right: 0;
    margin-left: auto;
}


.p-merit__triangle{
    position: absolute;
    top: 10px;
    left: 10px;
    width: 0;
    height: 0;
    border-top: 40px solid #057771;
    border-right: 40px solid transparent;
}

.p-case{
    padding-top: 150px;
}

.p-case .c-title {
    text-align: left;
    height: 120px;
}

.p-case__voice {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    filter: drop-shadow(0px 3px 5px rgba(0, 0, 0, 0.16));
    padding: 50px 0;
}

.p-case__voice__head {
    display: flex;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.p-case__voice__icon {
    width: 140px;
    height: 140px;
    border-radius: 50%;
}

.p-case__info {
    display: flex;
    flex-direction: column;
    margin-left: 40px;
    width: 70%;
}

@media screen and (max-width: 820px) {
    .p-case{
        padding-top: 80px;
    }
    .p-case .c-title {
        width: 90%;
        height: 70px;
        position: relative;
    }
    .p-case__voice {
        width: 90%;
        padding: 20px 0;
    }
    .p-case__voice__head {
        flex-direction: column;
    }
    .p-case__info {
        width: 90%;
        margin-left: 0;
        margin-top: 20px;
    }
    .p-case__voice__icon {
        width: 64px;
        height: 64px;
    }
}

.p-case__info__row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 5px;
}

.p-case__info__item {
    display: flex;
    gap: 10px;
    width: 48%;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}

.p-case__info__label {
    color: #057771;
    font-weight: bold;
    width: 113px;
}

@media screen and (max-width: 820px) {
    .p-case__info__label {
        font-size: 12px;
        width: 70px;
    }
    .p-case__info__item {
        font-size: 12px;
    }
}

.p-case__voice__text{
    display: flex;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    margin-top:50px;
}

.p-case__voice__tit{
    color: #057771;
    font-size: 30px;
    font-weight: 700;
    position: relative;
    padding-right: 60px;
    margin-right: 20px;
    height: 211px;
    display: flex;
    align-items: center;
}
.p-case__voice__tit > div{
    color: #057771;
    font-size: 30px;
    font-weight: 700;
}

.p-case__voice__tit::before{
    content: "";
    display: inline-block;
    width: 32px;
    height: 211px;
    position: absolute;
    background-image: url(../images/voice_fukidashi.png);
    background-repeat: no-repeat;
    background-size: contain;
    right: 0;
    top: 0;
}

.p-case__voice__text p{
    line-height: 2rem;
}
.p-case__voice__text p span{
    color: #f15a24;
    font-weight: 700;
}
@media screen and (max-width: 820px) {
    .p-case__voice__text{
        flex-direction: column;
        margin-top:10px;
    }
    .p-case__voice__tit > div{
        font-size: 20px;
    }
    .p-case__voice__tit{
        height: 100px;
        width: 90%;
        margin: 0 auto;
        margin-bottom: 20px;
        padding-right: 0px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .p-case__voice__tit::before{
        content: "";
        display: inline-block;
        width: 100%;
        position: absolute;
        background-image: url(../images/voice_fukidashi_sp.png);
        background-repeat: no-repeat;
        background-size: contain;
        right: 0;
        top: 100%;
    }
    .p-case__voice__text p{
        width: 90%;
        line-height: 1.8rem;
    }
}

.p-case__list{
    background-color: #ddeded;
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 80px;
    filter: drop-shadow(0px 3px 5px rgba(0, 0, 0, 0.16));
}
.p-case__list img{
    width: 35%;
}

@media screen and (max-width: 820px) {
    .p-case__list{
        min-height: 487px;
    }
    .p-case__list > img{
        display: none;
    } 
}

.p-case__list__wrap{
    position: relative;
    padding-bottom: 120px;
}
.p-case__list__wrap::before{
    content: "";
    background-color:  #f2f2f2;
    width: 100%;
    height:120%;
    background-position: bottom;
    display: inline-block;
    position: absolute;
    bottom: 0;
    z-index: -1;
}

.p-case__list__text .--head > div{
    font-size: 30px;
    color: #057771;
    font-weight: 600;
    padding-bottom: 20px;
    border-bottom: solid 2px #fff;
    margin-bottom: 30px;
}
.p-case__list__text {
    padding: 60px 50px;
}
.p-case__list__text p{
    line-height: 2rem;
}
.p-case__list__text .--head img{
    display: none;
}
@media screen and (max-width: 820px) {
    .p-case__list__wrap{
        padding-bottom: 70px;
    }
    .p-case__list__text {
        padding: 0px;
    }
    .p-case__list__text .--head{
        display: flex;
        /* align-items: center; */
    }
    .p-case__list__text .--head > div{
        font-size: 17px;
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
        border-bottom: solid 2px #fff;
        display: flex;
        align-items: center;
    }
    .p-case__list__text .--head img{
        display: block;
        margin-right: 17px
    }
    .p-case__list__text p{
        padding: 20px;
        font-size: 15px;
    }
}
.p-case__slider .slick-slide {
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.p-case__slider .slick-center {
    transform: scale(1);
    opacity: 1;
}
.slick-prev,
.slick-next {
    width: 60px;
    height: 60px;
    position: absolute;
    top: 58%;
    transform: translateY(-50%);
    z-index: 10;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.slick-prev {
    left: 15%;
    transform: translateY(-50%) rotate(180deg);
}

.slick-next {
    right: 15%;
}
@media screen and (max-width: 820px) {
    .slick-prev,
    .slick-next {
        width: 27px;
        height: 27px;
        top: 48%;
    }
    .slick-prev {
        left: 3%;
        transform: translateY(-50%) rotate(180deg);
    }
    .slick-next {
        right: 3%;
    }
}

.slick-prev::before,
.slick-next::before {
    content: none;
}

.slick-prev img,
.slick-next img {
    width: 100%;
    height: auto;
    display: block;
}
.p-flow{
    padding: 150px 0;
}
.p-flow .c-title__deco.--center{
    left: 26%;
}
@media screen and (max-width: 820px) {
    .p-flow{
        padding: 80px 0 80px;
    }
}
.p-flow__steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.p-flow__step {
    width: 23%;
    text-align: center;
    border: 1px solid #057771;
    border-radius: 15px;
    padding: 16px 25px;
    position: relative;
    background-color: #fff;
    margin-top: 100px;
    height: 385px;
}

.p-flow__title__img{
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p-flow__step img{
    width: 100px;
}

.p-flow__num {
    font-family: "M PLUS 1p", sans-serif;
    font-weight: 700;
    color: #1c776d;
    position: absolute;
    top: -16%;
    font-size: 40px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}
.p-flow__num span{
    font-size: 30px;
    margin-right: 10px;
}
@media screen and (max-width: 820px) {
    .p-flow__tit{
        margin-bottom: 30px;

    }
    .p-flow__title__img{
        height: auto;
        margin-right: 20px;
    }
    .p-flow__title__img.--last{
        width: 70px;
    }
    
    .p-flow__num {
        text-align: left;
        left: 15%;
        top: -40px;
        font-size: 29px;
    }
    .p-flow__num span{
        font-size: 22px;
        margin-right: 10px;
    }
}

.p-flow__title {
    font-weight: bold;
    font-size: 28px;
    margin-bottom: 8px;
    font-family: "M PLUS 1p", sans-serif;
    color: #057771;
}

.p-flow__text {
    font-size: 16px;
    color: #333;
    text-align: left;
    letter-spacing: 0;
}
.p-flow__text.--center {
    text-align: center;
}
@media screen and (max-width: 820px) {
.p-flow__step{
    display: flex;
    align-items: center;
    height: auto;
    margin-top: 10px;
    position: relative;
}
.p-flow__text__wrap .p-flow__title{
    font-size: 20px;
    text-align: left;
}
.p-flow__text__wrap .p-flow__title p{
    text-align: left;

}
.p-flow__text {
    text-align: left;
    font-size: 15px;
}

}

/* 矢印 */
.p-flow__arrow {
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translate(-50%, -50%);
    z-index: 5;
    width: 0;
    height: 0;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-left: 20px solid #057771; /* 塗り矢印の色 */
}


/* モバイル対応 */
@media screen and (max-width: 768px) {
    .p-flow__steps {
    flex-direction: column;
    gap: 40px;
    }

/* モバイルでは下方向sに変更 */
@media screen and (max-width: 768px) {
    .p-flow__arrow {
        position: absolute;
        top: auto;
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        margin: 16px auto;
        transform: rotate(-90deg);
        border-left: 0;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-right: 15px solid #057771;
    }

    .p-flow__step {
        width: 100%;
        padding: 16px 18px 16px 25px;
        border-radius: 10px;
    }
}
}
.l-flow_qa_bg{
    background-image: url(../images/flow_bg.webp);
    background-size: cover;
}
.p-qa{
    padding-bottom: 100px;
}
.p-qa__list {
    margin-top:30px;
  }
  
  .qa-item {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 16px;
    margin-bottom: 16px;
    background-color: #fff;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
  }
  
  .qa-item.open {
    /* box-shadow: 0 0 0 2px #89d8d8; */
  }
  
  .qa-question {
    width: 100%;
    padding: 25px 30px 25px;
    font-size: 20px;
    font-weight: bold;
    background: none;
    border: none;
    text-align: left;
    color: #057771;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;

  }
  
  .qa-question::after {
    content: "";
    position: absolute;
    right: 56px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 16px;
    height: 16px;
    border-right: 2px solid #246f6c;
    border-bottom: 2px solid #246f6c;
    transition: transform 0.3s ease;
  }
  
  .qa-item.open .qa-question::after {
    transform: translateY(-50%) rotate(-135deg);
  }
  .qa-answer {
    padding-top: 20px;
    display: none;
    color: #444;
    font-size: 15px;
    line-height: 1.6;
    border-top: solid 1px #dedede;
    margin: 0px 30px 30px;
  }

  .qa-answer > div{
    display: flex;
    align-items: center;
  }

  .qa-answer > div.--1{
    display: flex;
    align-items: flex-start;
  }
  
  
  .qa-item.open .qa-answer {
    display: block;
  }

  .qa-icon {
    display: inline-block;
    width: 43px;
    height: 43px;
    border-radius: 50%;
    background-color: #057771;
    color: #fff;
    text-align: center;
    line-height: 24px;
    font-weight: bold;
    font-size: 24px;
    margin-right: 8px;
    vertical-align: middle;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .qa-icon.--answer {
    background-color: #e1eeee;
    color: #057771;
  }
  
.p-qa__tit{
    text-align: left;
}
.p-qa .c-title {
    text-align: left;
    height: 150px;
}

.p-qa .c-title__deco{
    color: #fff;
}

@media screen and (max-width: 820px) {
    .l-flow_qa_bg{
        background-image: url(../images/flow_bg_sp.webp);
    }
    .p-qa{
        padding-bottom: 60px;
    }
    .p-qa .c-title {
        height: 60px;
        text-align: center;
        font-size: 26px;
    }
    .p-qa .c-title__deco.--left{
        left: -7%;
    }

    .qa-question {
        font-size: 16px;
        padding: 18px 14px 14px;
    }

.qa-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
    margin-right: 12px;
    flex-shrink: 0;
}

.qa-question::after {
    right: 20px;
    width: 12px;
    height: 12px;
    border-width: 2px;
}

.qa-answer {
    font-size: 14px;
    margin: 0 20px 20px;
    padding-top: 16px;
}

.qa-answer > div {
    /* flex-direction: column; */
    align-items: flex-start;
}

.qa-answer .qa-icon.--answer {
    width: 30px;
    height: 30px;
    font-size: 16px;
    margin-bottom: 8px;
}

.p-qa__list {
    margin-top: 30px;
}

.qa-item {
    border-radius: 12px;
    margin-bottom: 10px;
}

}
.p-simulation{
    background-image: url(../images/simulation_bg.svg);
    padding-top: 100px;
    padding-bottom: 120px;
    background-size: cover;
    background-position: center bottom;
}
@media screen and (max-width: 820px) {
    .p-simulation{
        padding-top: 60px;
        background-image: url(../images/simulation_bg_sp.svg);
        padding-bottom: 70px;
    }
}
.c-title.p-simulation__tit{
    color: #fff;
}

.p-simulation__tit .c-title__deco{
    opacity: 0.06;
    color: #f2f2f2;
}
@media screen and (max-width: 820px) {
    .p-simulation{
        padding-top: 60px;
    }
    .c-title.p-simulation__tit .c-title__deco{
        line-height: 4rem;
        text-align: left;
        margin-left: 0;
        left: 5%;
        top: 40%;
    }
}

.p-simulation__content{
    background-color: #fff;
    max-width: 1000px;
    margin: 0 auto;
    margin-top: 50px;
    padding: 30px 0;
}

.simulation__note {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 32px;
    color: #333;
    text-align: center;
}

.simulation-form {
max-width: 600px;
margin: 0 auto;
}

.form-row {
display: flex;
align-items: center;
margin-bottom: 24px;
font-size: 20px;
font-weight: bold;
color: #057771;
}

.form-row label {
flex: 0 0 180px;
font-weight: 600;
}

@media screen and (max-width: 820px) {
    .p-simulation__content{
        margin-top: 20px;
    }
    .p-simulation__content{
        width: 90%;
        padding: 20px 15px;
    }
    .simulation__note {
        text-align: left;
        font-size: 15px;
    }
    .form-row {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 12px;
    }

    .form-row label {
        flex: 0 0 40px;
        font-weight: 600;
        font-size: 16px;
        margin-bottom: 5px;
    }
    .form-row label {
        flex: 0 0 40px;
        font-weight: 600;
        font-size: 16px;
        margin-bottom: 5px;
    }
    .form-row label.sim__input-name{
        flex: 0 0 20px;
    }
}

.form-field {
flex: 1;
display: flex;
align-items: center;
gap: 8px;
}

select{
    appearance: none;          /* Chrome, Firefox */
    -webkit-appearance: none;  /* Safari (iOS含む) */
    -moz-appearance: none;     /* Firefox */
}

.select-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 300px;
  }
  
  .select-wrap select {
    width: 100%;
    padding: 15px 40px 15px 14px;
    font-size: 16px;
    border: 1px solid #666;
    border-radius: 6px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    box-sizing: border-box;
  }
  
  .select-wrap::after {
    content: "";
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 7px solid #999;
    pointer-events: none;
  }

input[type="text"],
input[type="email"],
select {
flex: 1;
padding: 10px 14px;
font-size: 24px;
border: 1px solid #aaa;
border-radius: 6px;
box-sizing: border-box;
}

.p-simulation input[type="text"],
.p-simulation input[type="email"],
.p-simulation select {
    text-align: center;
    max-width: 280px;
}

.unit {
font-size: 16px;
color: #555;
}

.simulation-submit {
    min-width: 440px;
    display: block;
    margin: 32px auto 0;
    background-color: #60b8c2;
    color: white;
    font-size: 26px;
    font-weight: bold;
    padding: 16px 52px;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.simulation-submit:hover {
background-color: #4ea6b0;
}

.p-simulation__headline {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: bold;
    color: white;
    gap: 12px;
}
.p-simulation__headline .--text{
    font-size: 40px;
    font-weight: bold;
    color: white;
}

.triangle-img {
    width: 32px; /* 画像に合わせて調整 */
    height: auto;
    margin-bottom: -30px;
}
.triangle-img.--right{
    transform: scaleX(-1);
}

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

    .form-field {
        align-items: flex-end;
    }
    
    
    input[type="text"],
    select {
    flex: 1;
    padding: 15px 14px;
    font-size: 15px;
    border: 1px solid #aaa;
    border-radius: 6px;
    box-sizing: border-box;
    min-width: 242px;
    }

    .p-simulation input[type="text"],
    .p-simulation input[type="email"],
    .p-simulation select {
        text-align: center;
        max-width: 240px;
    }

    
    .p-simulation__headline .--text{
        font-size: 26px;
        font-weight: bold;
        color: white;
    }
    .triangle-img{
        width: 17px;
    }
    .simulation-submit {
        min-width: 265px;
        font-size: 18px;
        padding: 12px 30px;
    }
    
}

.p-contact{
    padding: 70px 0;
}

.p-contact p{
    text-align: center;
    margin-top: 50px;
}


.p-contact__repayment-box {
    margin: 40px auto;
    max-width: 1060px;
    border: 1px solid #057771;
    border-radius: 20px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    font-family: "Noto Sans JP", sans-serif;
}

.p-contact__repayment-label {
    background-color: #057771;
    color: #fff;
    padding: 5px 44px;
    border-radius: 9999px;
    font-weight: bold;
    font-size: 26px;
    white-space: nowrap;
    margin-right: 70px;
}

@media screen and (max-width: 820px) {
    .p-contact{
        width: 90%;
        margin: 0 auto;
        padding: 30px 0;
    }
    .p-contact p{
        text-align: left;
        margin-top: 30px;
    }
    .p-contact__repayment-box {
        flex-direction: column;
        align-items: center;
        border-radius: 10px;
        margin: 20px auto;
    }
    .p-contact__repayment-label {
        font-size: 20px;
        margin-right: 0px;
    }
}
.p-contact__repayment-value {
    font-size: 28px;
    font-weight: bold;
    color: #000;
}

.p-contact__repayment-value .--num {
    color: #f15a24; /* オレンジ色 */
    font-size: 40px;
    margin-right: 4px;
}
.p-contact__form {
    background: #f6f6f6;
    padding: 40px 100px;
    border-radius: 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.p-contact__row {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
    gap: 16px;
}

@media screen and (max-width: 820px) {
    .p-contact__form {
        padding: 20px;
        padding-bottom:30px;
    }
    .p-contact__row {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 6px;
        gap: 10px;
    }
}

.p-contact__row.--address {
    align-items: flex-start;
}
.p-contact__row.--address {
    align-items: flex-start;
}

.p-contact__row.--address label {
    margin-top: 20px;
}

.p-contact__row label {
    width: 200px;
    font-weight: bold;
    color: #333;
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    font-size: 18px;
}

.required {
    font-size: 12px;
    color: #fff;
    background-color: #057771;
    padding: 2px 8px;
    border-radius: 999px;
    margin-left: 8px;
    white-space: nowrap;
}
.optional {
    font-size: 12px;
    color: #fff;
    background-color: #929292;
    padding: 2px 8px;
    border-radius: 999px;
    margin-left: 8px;
    white-space: nowrap;
}


.p-contact__field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

input.input_m {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #aaa;
    border-radius: 6px;
    box-sizing: border-box;
    min-height: 60px;
}

@media screen and (max-width: 820px) {
    input.input_m {
        min-height: 50px;
    }
    .p-contact__row label {
        width: 100%;
        font-size: 16px;
    }
}

.unit {
    font-weight: bold;
    color: #333;
}

.p-contact__address {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
@media screen and (max-width: 820px) {

    .p-contact__address {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
}


.p-contact__postal {
    display: flex;
    align-items: center;
    gap: 8px;
}

.postal-mark {
    font-size: 18px;
    color: #333;
    font-weight: bold;
}

.form-slide-btn {
    margin-top: 32px;
    text-align: center;
}

.form_next {
    background-color: #f15a24;
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 14px 48px;
    border-radius: 9999px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 445px;
    height: 75px;
}
@media screen and (max-width: 820px) {
    .form_next {
        width: 272px;
        height: 60px;
    }
}

/* フィールド幅：デフォルト短め */
.p-contact__field input.input_m {
max-width: 480px;
}

/* 住所だけ広げる */
.p-contact__address input.input_m,
.p-contact__postal input.input_m {
width: 100%;
}

.form-slide-item{
display: none;
}


/* スライドのための記述 */

.inquiry__page-container {
    display: flex;
    align-items: flex-start;
    transition: margin-left, .3s;
    width: 200%;
}
.p-contact__form{
    width: 100%;
} 
.inquiry__page {
    flex: 0 0 100%; /* 各ページが100%幅 */
    width: 100%;
}



.inquiry__page-container {
    display: flex;
    transition: margin-left .3s ease;
    width: 200%;
    overflow: hidden;
}
@media screen and (max-width: 820px) {
    .inquiry__page {
        flex: 0 0 50%; /* 各ページが100%幅 */
        overflow: hidden;
    }
    .form-slide-wrap{
        overflow: hidden;
    }
}

.inquiry__input-radio-area span {
    display: inline-block;
    margin-right: 1em;
    display: flex;
    gap: 10px;
}

.inquiry__input-biztype {
    margin-top: 0.5em;
    margin-left: 1rem;
    padding: .5em;
    max-width: 500px;
    display: inline;
}
input::placeholder{
    font-size: 20px;
    color: #d3d3d3;
}
.inquiry__input--select {
    font-size: 20px; /* お好みのサイズに調整 */
}
@media screen and (max-width: 820px) {
    
    .inquiry__input--select {
    width: 100%;
    font-size: 16px;
    }
    input::placeholder{
        font-size: 16px;
    }
}

.inquiry__input-radio-area{
    display: flex;
    flex-wrap: wrap;
}
.inquiry__input-radio-area label{
    width: 100px;
}
.inquiry__input-radio-area{
    width: 75%;
}
.inquiry__input-radio-area label{
    font-size: 16px;
    font-weight: 500;
}
.inquiry__input-other-biztype{
    display: flex;
    align-items: center;
}
.inquiry__input-other-biztype label{
    width: auto;
}
.inquiry__input-other-biztype input{
    height: 40px;
}

p.inquiry__terms{
    background-color: #fff;
    text-align: left;
    padding: 30px 50px;
    height: 300px;
    overflow-x: scroll;
    font-size: 12px;
}
@media screen and (max-width: 820px) {
    .inquiry__input-radio-area{
        width: 100%;
        justify-content: space-between;
    }
    .inquiry__input-radio-area span{
        width: 43%;
    }
    .inquiry__input-other-biztype{
        flex-direction: column;
        align-items: flex-start;
    }
    .inquiry__input-other-biztype span{
        margin-bottom: -10px;
    }
    p.inquiry__terms{
        padding: 20px;
    }
}
p.inquiry__terms strong{
    font-weight: 600;
}
.inquiry__check-area{
    text-align: center;
    margin-top: 50px;
}
.form-slide-btn{
    display: flex;
    justify-content: center;
    gap: 20px;
}
.form-slide-btn .form_submit,.form-slide-btn .form_back{
    font-size: 18px;
    font-weight: bold;
    padding: 14px 10px;
    border-radius: 50vh;
    cursor: pointer;
    transition: background-color .3s;
    width: 250px;
    background-color: #858585;
}
.form-slide-btn .form_back{
    font-size:  18px;
    font-weight: bold;
    padding: 14px 10px;
    border-radius: 50vh;
    background-color: #858585;
    color: #fff;
}
.form-slide-btn button.form_submit:disabled {
    background-color: #858585;
    color: #000;
}
.form-slide-btn button.form_submit{
    background-color: #f15a24;
    color: #fff;
}
@media screen and (max-width: 820px) {
    .form-slide-btn .form_submit,.form-slide-btn .form_back{
        padding: 7px 10px;
    }
    .form-slide-btn{
        display: flex;
        justify-content: center;
        gap: 13px;
    }
}

.p-infomation {
background-color: #d8eae8;
padding: 100px 20px;
}

.p-infomation .c-title {
font-size: 40px;
font-weight: bold;
color: #057771;
text-align: center;
margin-bottom: 40px;
}

.p-infomation .c-title.--2 {
margin-top: 90px;
}

.p-infomation__inner {
background-color: #fff;
border-radius: 20px;
padding: 40px 60px;
max-width: 1200px;
margin: 0 auto;
box-sizing: border-box;
}

.info-item {
display: flex;
border-bottom: 1px solid #e0e0e0;
padding: 20px 0;
}

.info-label {
width: 30%;
font-weight: bold;
color: #333;
padding-right: 20px;
box-sizing: border-box;
}

.info-value {
width: 70%;
font-size: 16px;
line-height: 1.8;
color: #444;
box-sizing: border-box;
}

/* レスポンシブ対応 */
@media screen and (max-width: 820px) {
.p-infomation {
    padding: 60px 0px;
}

.p-infomation .c-title {
    font-size: 26px;
    margin-bottom: 20px;
    height: auto;
}

.p-infomation .c-title.--2 {
    margin-top: 60px;
}

.p-infomation__inner {
    padding: 24px 16px;
}

.info-item {
    display: block;
    padding: 12px 0;
}
.info-item.is-inline {
    display: flex;
    }

.info-label {
    width: 100%;
    font-size: 15px;
}

.info-value {
    width: 100%;
    font-size: 14px;
    line-height: 1.9;
}
}


.l-footer{
    background-color: #057771;
    text-align: center;
    color: #fff;
    font-size: 13px;
    padding: 10px;
}

.inquiry__err-msg {
    color: crimson;
    margin-top: 0px !important;
    font-size: 13px;
}


.p-thanks{
    padding: 100px 0;
    height: 96vh;

}

.p-thanks h2{
    margin-bottom: 50px;
}

.p-thanks p{
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* フッターボタン */
.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, #ffd91d, #ffb51d); /* 黄色グラデ */
    display: flex;
    justify-content: space-between;
    padding: 8px;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
    z-index: 999;
}

.footer-btn {
    margin: 0 2px;
    background: #fff;
    border-radius: 7px;
    padding: 10px 4px;
    text-align: center;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: bold;
    box-shadow: 0 2px 0 rgba(0,0,0,0.1);
    height: 52px;
}

.footer-btn img {
    width: 20px;
}

.footer-btn.--tel{
    background: #2F736E;
    color: #fff;
    width: 18% !important;
}

.footer-btn.--tel img {
    width: 24px;
}

.footer-btn.--sim {
    width: 43%;
    color: #057771;
    border: solid 1px #057771;
    letter-spacing: -0.05rem;
    gap: 2px;
    line-height: 1.1rem;
}
.footer-btn.--contact {
    width: 38%;
    color: #000;
    border: solid 1px #f7931e;
}

.fixed-footer {
    display: none;
}

@media screen and (max-width: 768px) {
    .fixed-footer {
    display: flex;
    }
    .l-footer{
        padding-bottom: 80px;
    }
}


