/* Flexboxベースのレイアウトクラス */
.col2-flex, .col3-flex, .col4-flex {
	display: flex;
	flex-wrap: wrap;
	gap: 2%;
}
.col2-flex > * {
	flex: 0 0 49%;
}
.col3-flex > * {
	flex: 0 0 32%;
}
.col4-flex > * {
	flex: 0 0 23.5%;
}

.flex-item {
    padding: 0 5px;
    box-sizing: border-box; /* paddingを幅に含める */
}



/* Flexboxレスポンシブ調整 **************************************************************************/
	/* PC（960px以上） */
	@media (min-width: 960px) {
		.col2-flex > * { flex: 0 0 calc(50% - 10px); }
		.col3-flex > * { flex: 0 0 calc(33.333% - 13.33px); }
		.col4-flex > * { flex: 0 0 calc(25% - 15px); }
	}

	/* タブレット横（768px-959px） */
	@media (min-width: 768px) and (max-width: 959px) {
		.col2-flex > * { flex: 0 0 calc(50% - 10px); }
		.col3-flex > * { flex: 0 0 calc(33.333% - 13.33px); }
		.col4-flex > * { flex: 0 0 calc(25% - 15px); }
	}

	/* タブレット縦（480px-767px） */
	@media (min-width: 480px) and (max-width: 767px) {
		.col2-flex > * { flex: 0 0 100%; }
		.col3-flex > * { flex: 0 0 calc(50% - 10px); }
		.col4-flex > * { flex: 0 0 calc(33.333% - 13.33px); }
	}

	/* スマホ（479px以下） */
	@media (max-width: 479px) {
		.col2-flex, .col3-flex, .col4-flex {
			display: block;
		}
		.col2-flex > *, .col3-flex > *, .col4-flex > * { 
			flex: none;
			width: 100%;
			max-width: 400px;
			margin: 0 auto;
		}
	}




/* タブレット縦（767px以下）でcol2-flexの直子要素をセンタリング */
@media  (max-width: 767px) {
}
/* スマホ（479px以下）で1列表示時にセンタリング */
@media (max-width: 479px) {
}

/* Flexboxレスポンシブ調整end **************************************************************************/

/* ページ全体のフォント設定 */
.advice, .advice h1, .advice h2, .advice h3, .advice h4, .advice h5, .advice h6, .advice p, .advice div, .advice span, .advice a {
    font-family: "Noto Sans JP","UD Shin Go Conde90 L","FP-ヒラギノ角ゴ ProN W6", YuGothic,'Yu Gothic',"ヒラギノ角ゴ Pro W3","ＭＳ Ｐゴシック", "MS PGothic", sans-serif !important;
}

.ans-font {
    font-family: "Noto Sans JP","UD Shin Go Conde90 L","FP-ヒラギノ角ゴ ProN W6", YuGothic,'Yu Gothic',"ヒラギノ角ゴ Pro W3","ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}


.ans-red-text{
    color:#E12C6D;
}

.container {
	max-width: 960px;
    min-width: 375px;
    margin: 0 auto;
}

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

/* レイアウト枠 */
article, .article{
	margin: 0;
	width: 96%;
	padding: 15px 2% 20px 2%;
}

section, .section {
	width: 100%;
	margin: 0;
	padding: 10px 0 20px 0;
}
	
	section:after, .section:after{ /*clearfix*/ 	
		content: "";
		display: block;
		clear: both;
	}

 .main-image-container{
     overflow: hidden;
     position: relative;
     max-height: 636px;
     min-height: 570px;
 }

.main-image {
    margin: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateY(-22%);
}
	/* タブレット縦（767px以下） */
	@media (max-width: 767px) {
        .main-image-container{
            height: 570px;
        }
        .main-image {
            width: 140%;
            height: 140%;
            transform:  translateX(0) translateY(-18%);
        }
	}

img {
    display: block;
}
.main-message1 {
    position: absolute;
    top: 31px;
    left: 33px;
    margin: 0;
    font-size: 42px;
    font-weight: bold;
    line-height: 1.2;
    max-width: 359px;
}
.main-message1 .strong{
    font-size: 50px;
    color:#E12C6D;
}
.main-message2 {
    position: absolute;
    top: 20px;
    left: 324px;
    margin: 0;
}
	/* タブレット縦（767px以下） */
	@media (max-width: 767px) {
        .main-message1 {
            font-size: 37px;
        }
        .main-message1 .strong{
            font-size: 45px;
        }
        .main-message2 {
            width:173px;
            top: 125px;
            left: 215px;
        }
	}

.main-features {
    background-size: contain;
    width:398px;
    height:132px;
    position: absolute;
    bottom: 134px;
    left: 50%;
    transform: translate(-50%, 0); 
    margin: 0;
}
.features-text-container{
    display: relative;
}
.features-text{
    position: absolute;
    text-align: center;
    line-height: 1.2;
    top: 32px;
}
.features-text.text1{
    left: 30px;
}
.features-text.text2{
    left: 165px;
}  
.features-text.text3{
    left: 292px;
}
.features-text .strong{
    font-size: 24px;
    color:#33B25D;
}
.features-text .big{
    font-size: 40px;
    font-weight: bold;
}
.features-text.text3 .strong{
    font-weight: bold;
}

.advice-entry-btn {
    width:361px;
    height:89px;
    background-size: cover;
    background-repeat:no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translate(-50%, 0); 
    margin: 0;
}
.advice-entry-btn-text{
    font-size:24px;
    font-weight:bold;
    text-align:center;
    display:block;
    line-height:1.2em;
    color:#fff;
}

	/* タブレット縦（767px以下） */
	@media (max-width: 767px) {
        .main-features {
            width:356px;
            height:118px;
            bottom: 104px;
        }
        .features-text{
            font-size: 16px;
            line-height: 1.3;
            top: 24px;
        }
        .features-text.text1{
            left: 24px;
        }
        .features-text.text2{
            left: 146px;
        }  
        .features-text.text3{
            left: 258px;
        }
        .features-text .strong{
            font-size: 22px;
        }
        .features-text .big{
            font-size: 40px;
        }
        .advice-entry-btn {
            width: 324px;
            height: 80px;
            bottom: 15px;
        }
        .advice-entry-btn .advice-entry-btn-text {
            font-size:20px;
        }
    }



/* 小さいサイズのボタン */
.advice-entry-btn.mini {
    width: 324px;
    height: 80px;
    position: relative;
    bottom: 40px;
}
.advice-entry-btn.mini .advice-entry-btn-text {
    font-size:20px;
}
	/* タブレット縦（767px以下） */
	@media (max-width: 767px) {
		.advice-entry-btn.mini {
            bottom: 20px;
        }
	}

.advice-three-reasons{
    padding:20px 0px 30px 0px;
}
	/* タブレット縦（767px以下） */
	@media (max-width: 767px) {
		.advice-three-reasons{
            padding:20px 0px 30px 0px;
        }
	}

.advice-three-reasons h2{
    color:#fff;
    font-size:24px;
    font-weight:normal;
    text-align:center;
    margin:0px;
    padding: 12px 0 10px 0;
    line-height: 1.1;
}

.advice-three-reasons-item{
    background-color:#fff;
    max-width:294px;
    min-width:200px;
    height:226px;
    border-radius:9px;
    margin:10px auto;
    background-size:auto;
    background-position:50% 10%;
    background-repeat:no-repeat;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.advice-three-reasons-item-text{
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
}
/* タブレット横（959px以下） */
    @media (max-width: 959px) {
        .advice-three-reasons-item-text{
            font-size: 18px;
        }
    }
/* スマホ（479px以下） */
@media (max-width: 479px) {
    .advice-three-reasons-item{
        width: 335px;
    }
    .advice-three-reasons-item-text{
        font-size: 20px;
    }
}


.advice-entry-message{
    width:303px;
    height:46px;
    margin:33px auto 15px auto;
    background-image:url(../images/advice/advice_entry_message.png);
    background-size: contain;
    text-align:center;
    display: flex;
    align-items: flex-end;
    justify-content: center;

}
.advice-entry-message-text{
    font-size:18px;
    text-align:center;
    display:block;
    line-height:1.2em;
    color:#33B25D;
}
.advice-entry-photo{
    width:676px;
    height:240px;
    margin:0 auto;
    background-size: cover;
    background-position:50% 80%;
    background-repeat:no-repeat;
    border-radius:120px;
}
.advice-entry-photo.photo1{
    background-position:50% 80%;
}
.advice-entry-photo.photo2{
    background-position:50% 65%;
}
.advice-entry-photo.photo3{
    background-position:50% 45%;
    background-size: 150%;
}
	/* タブレット縦（767px以下） */
	@media (max-width: 767px) {
		.advice-entry-photo{
            width:362px;
            height:240px;
        }
        .advice-entry-photo.photo1{
            background-size: 150%;
            background-position:50% 80%;
        }
        .advice-entry-photo.photo2{
            background-size: 150%;
            background-position:50% 65%;
        }
        .advice-entry-photo.photo3{
            background-position:50% 45%;
            background-size: 220%;
        }
	}

h2.section-title{
    font-size:20px;
    text-align:center;
}

h2.section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

h2.section-title::before, h2.section-title::after {
    content: '';
    width: 50px;
    height: 10px;
    background-image: url('../images/advice/advice_title_left.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}
h2.section-title::after {
    background-image: url('../images/advice/advice_title_right.png');
}

	/* タブレット縦（767px以下） */
	@media (max-width: 767px) {
		h2.section-title::before, h2.section-title::after {
			width: 40px;
			height: 8px;
		}
	}
    /* スマホ（479px以下） */
    @media (max-width: 479px) {
        h2.section-title{
            font-size:18px;
        }
        
    }



.advice-fix-probrems-item{
    max-width:472px;
    height:200px;
    margin-bottom:20px;
    background-size:contain;
    background-position:center;
    background-repeat:no-repeat;
    position:relative;
}
.advice-fix-probrems-item-text{
    font-size:18px;
    text-align:center;
    position:absolute;
    top:50%;
}
.advice-fix-probrems-item-text.left{
    left: 9%;
    transform: translate( 0, -50%); 
}
.advice-fix-probrems-item-text.right{
    left: 54%;
    transform: translate(0, -50%);
}

	/* タブレット縦（767px以下）でセンタリング */
	@media (max-width: 767px) {
		.col2-flex .advice-fix-probrems-item {
			margin: 0 auto 20px auto;
		}
	}

.advice-fix-probrems-container,.advice-customer-voice-container{
    margin:0px;
}
.advice-customer-voice-item{
    height:264px;
    padding: 15px 0 0 0;
    margin-bottom:20px;
    border-radius:10px;
    background-color:#FFF2D9;
}
.advice-customer-voice-title {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 27px;
}

.advice-customer-voice-title img {
    width: 93px;
    height: 93px;
    object-fit: cover;
    flex-shrink: 0;
}

.advice-customer-voice-title h3 {
    color:#33B25D;
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
}

.advice-customer-voice-text{
    margin:27px;
}
.advice-customer-voice-text p{
    font-size:20px;
    line-height:1.4;
}

	/* タブレット縦（767px以下） */
	@media (max-width: 767px) {
		.advice-customer-voice-title h3 {
			font-size:22px;
		}
		.advice-customer-voice-text p{
            font-size:18px;
            line-height:1.4;
        }
	}

.advice-btn-container-pink{
    background-image:url(../images/advice/advice_btn_pink_bg.png);
    background-size:cover;
    background-position:top;
    background-repeat:no-repeat;
    text-align:center;
    padding-top:40px;
    margin-top:20px;
    border-bottom:10px solid #E12C6D;
}
	/* タブレット縦（767px以下） */
	@media (max-width: 767px) {
		.advice-btn-container-pink{
            background-size: 100%
        }
	}
.advice-entry-message-pink p{
    color:#fff;
    font-size:24px;
    font-weight:bold;
    text-align:center;
    line-height:1.2;
    margin-bottom:20px;
}
.advice-introduction-container{
    padding:30px 0px;
    background-color:#FFD0E1;
    margin:0;
}

.advice-introduction-item img {
    display: block;
    margin: 0 auto;
}
.advice-introduction-table{
    width:100%;
    border-collapse:collapse;
}
.advice-introduction-table tr{
    border-top:none;
    border-bottom:1px solid #FFF;
}

.advice-introduction-table td{
    vertical-align: top;
    padding:10px;
    border-bottom:none;
}

    /* タブレット縦（767px以下）：テーブルを縦並びに */
	@media (max-width: 767px) {
		.advice-introduction-table td {
			display: block;
            padding:5px 0 0 0;
		}
		.advice-introduction-table td:first-child {
			margin: 5px 0 2px 0;
		}
		.advice-introduction-table td:last-child {
			margin-bottom: 15px;
		}
	}

.advice-btn-container a:hover,
.main-btn-container a:hover,
.advice-btn-container-pink a:hover {
    opacity: 0.9;
}

.advice-entry-form{
    background-color:#F0F3FA;
    padding:30px 10px;
}
#entry-form {
    scroll-margin-top: 100px;
}
.form-title{
    font-size:20px;
    text-align:center;
    margin:0;
}
.advice-entry-form input,
.advice-entry-form select,
.advice-entry-form textarea{
    border: none;
    max-width:840px;
    min-width:250px;
    min-height:25px;
    margin-right: 20px;
    margin-bottom: 10px;
}

/* select専用のスタイル */
.advice-entry-form select {
    padding: 5px 10px;
    height: 35px; /* inputと同じ高さになるように調整 */
}

/* placeholder風のoptionスタイル */
.advice-entry-form select option[value=""] {
    color: #999;
    font-style: italic;
}

.form-row{
    border-top:1px solid #E12C6D;
    padding:20px 30px;
    box-sizing: border-box; /* paddingを幅に含める */
}

/* フォームラベル */
.form-label {
    font-weight: bold;
    margin-bottom: 10px;
}

/* 必須項目の赤いアスタリスク */
.required-mark {
    color: #E12C6D;
    margin-left: 5px;
    font-weight: bold;
}

/* 参加人数ラベル */
.participant-label {
    margin-right: 30px;
}
/* 日時ラベル */
.date-label {
    margin-bottom: 10px;
}
/* バナーボタン */
.banner-button{
    max-width: 350px;
    width:80%;
    min-width: 200px;
    height: 60px;
    background-color: #e12c6d;
    cursor:pointer;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    font-size: 1em;
    line-height: 120%;
    color: #fff;
    border: solid #e12c6d 2px;
    border-radius:5px;
    margin: 5px;
    padding-right:15px;
}
button.banner-button{
    display: inline-block;
}
    .banner-button:hover {
        color: #e12c6d;
        background-color: #fff;
    }
    .banner-button.current {
        color: #e12c6d;
        background-color: #fff;
    }
    .banner-button .fa-angle-right{
        margin-left: 0.8em;
        font-size: 1em;
    }

section.info{
    font-size:0.8em;
    margin-bottom:10px;
    padding:0;
}
section.info p{
    margin:0;
}