@charset "utf-8";

html{
    font-size: 100%;
}

body{
    font-family: 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
}

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

.sp_only{
    display: none;
}

.pc_only{
    display: block;
}

@media screen and (max-width: 767px){
    .sp_only{
    display: block !important;
} 
.pc_only{
    display: none !important;
}
}

.fv_contents {
    background-image: url(../images/program/fv_bgimg.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    max-height: 300px;
    padding: 48px 0;
}

h1{
    font-size: clamp(1.5rem, 1.236rem + 1.13vw, 2.25rem);
    /* max-w1440px min-w375px 36px-24px*/
    line-height: 1.5;
    max-width: 460px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
}

.title_high{
    font-size: clamp(2.5rem, 2.192rem + 1.31vw, 3.375rem);
    /* max-w1440px min-w375px 57px-40px*/
}

.title_low{
    font-size: clamp(1rem, 0.692rem + 1.31vw, 1.875rem);
    /* max-w1440px min-w375px 30px-16px*/
}

.point_section{
    background-image: url(../images/program/top_bgimg.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    width: 100%;
}

.fp_logo{
    max-width: 450px;
    margin: 0 auto;
    padding-top:90px;
    padding-bottom: 75px;
}

@media screen and (min-width: 767px) and (max-width: 1023px){
	h1{
        padding: 0;
    }
}

@media screen and (max-width: 767px) {
    .fv_contents {
		height: 350px;
    }

    .fv_txt {
        width: 100%;
    }

    h1{
        padding: 7% 0 0;
    }

    .fp_logo{
    max-width: 300px;
    padding-top:48px;
    padding-bottom: 60px;
}
}

@media screen and (min-width: 480px) and (max-width: 610px){
	h1{
        padding: 10% 0 0;
    }
}

@media screen and (max-width: 480px){
	h1{
        padding: 16% 0 0;
    }
}

/* Family Programの魅力 */

.point_section h2{
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    font-weight: bold;
    color: #83CAB9;
    font-size: clamp(1.5rem, 1.2rem + 1.28vw, 2rem);
    /* max-w1000px min-w375px 32px-24px*/
}

.point_section h2::after{
    content: "";
    position: absolute;
    background-image: url(../images/program/title_underline.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    height: 4px;
    bottom: -16px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.point_section h2 .point_title{
    display: block;
}

.point_section h2 .point_title2{
    font-size: clamp(1.125rem, 0.825rem + 1.28vw, 1.625rem);
   /* max-w1000px min-w375px 26px-18px*/
}

.point_section .txt_box{
    max-width: 1000px;
    margin: 0 auto;
    letter-spacing: 0.02rem;
    padding-top: 67px;
    padding-bottom: 40px;
    line-height: 1.75;
    font-size: 1rem;
    text-align: justify;
}

.point_section .baiyo_point{
    max-width: 1000px;
    margin: 0 auto 75px;
}

@media screen and (max-width:768px){
    .fv_contents {
    background-image: url(../images/program/fv_bgimg_sp.webp);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 24px 0;
}
.point_section .txt_box{
    padding-left: 10px;
    padding-right: 10px;
}

.point_section .baiyo_point{
    padding: 0 10px;
}
}

/* Family Programの流れ */

.flow_section{
    padding: 65px 10px;
    max-width: 1000px;
    margin: 0 auto;
}

.flow_section h2{
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    font-weight: bold;
    color: #83CAB9;
    font-size: clamp(1.5rem, 1.2rem + 1.28vw, 2rem);
    /* max-w1000px min-w375px 32px-24px*/
}

.flow_section h2::after{
    content: "";
    position: absolute;
    background-image: url(../images/program/title_underline.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    height: 4px;
    bottom: -16px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.flow_section h2 .flow_title{
    display: block;
}

.flow_section h2 .flow_title2{
    font-size: clamp(1.125rem, 0.825rem + 1.28vw, 1.625rem);
   /* max-w1000px min-w375px 26px-18px*/
}

.step_wrap{
    padding: 76px 0 75px;
}

.step_wrap ol li{
    letter-spacing: 0.03rem;

}

.step_wrap ol:nth-child(2) li:nth-child(1) .txt_box p,
.step_wrap ol:nth-child(2) li:nth-child(3) .txt_box p{
    letter-spacing: 0;
}

.step_wrap .step_box{
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 80px;
    align-items: center;
}

.step_wrap .step_box_nowrap{
   display: block;
}

.step_wrap .step_box .txt_box{
    max-width: 543px;
    width: 100%;
    text-align: justify;
    line-height: 1.75;
}

.step_wrap .step_box_nowrap .txt_box{
    max-width: 1000px;
}

.step_box .txt_box .quality_btn{
    display: block;
    max-width: 422px;
    margin: 16px auto 0;
    padding: 3px 10px;
    background-color: #FFFAF3;
    border: solid 1px #AD5F00;
	outline: solid 1px #AD5F00;
	outline-offset: 2px;
    color: #AD5F00;
    font-weight: bold;
	text-decoration: underline;
}

.step_wrap .step_img{
    width: 100%;
    max-width: 420px;
}

.step_wrap .step_img4{
   max-width: 385px;
margin: 24px auto 0;
}

.step_wrap .step_img_nowrap{
    max-width: 606px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 0 80px;
}

.step_wrap .step_icon{
    max-width: 128px;
    width: 100%;
    background-color: #83CAB9;
    color: #fff;
    font-weight: bold;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 11px;
}

.step_wrap .step_box .txt_box span.flow_kome{
    font-size: 0.6875rem;
}

.step_wrap .flow_nyuusisizui{
    width: 100%;
    background-image: url(../images/program/flow_contents_bg.webp);
    background-repeat: no-repeat;
    background-size: cover; 
    background-position: left;
    border-radius: 10px;
}

.step_wrap .flow_nyuusisizui{
    padding: 58px 0;
    margin: 27px auto 80px;
}

.step_wrap .flow_nyuusisizui h3{
    text-align: center;
    font-weight: bold;
    color: #83CAB9;
    font-size: clamp(1.5rem, 1.2rem + 1.28vw, 2rem);
    /* max-w1000px min-w375px 32px-24px*/
}

.step_wrap .flow_nyuusisizui .nyuusisizui_step_baiyo,
.step_wrap .flow_nyuusisizui .nyuusisizui_step_hokan{
    max-width: 924px;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    padding-top: 48px;
    align-items: center;
    line-height: 1.75;
    flex-wrap: wrap;
    text-align: justify;
}

.step_wrap .flow_nyuusisizui .nyuusisizui_step_baiyo{
    gap:68px;
}

.step_wrap .flow_nyuusisizui .nyuusisizui_step_hokan{
    gap:48px;
}

.step_wrap .flow_nyuusisizui .nyuusisizui_step_baiyo .nyuusisizui_step_baiyo_img{
    max-width: 462px;
    width: 100%;
}

.step_wrap .flow_nyuusisizui .nyuusisizui_step_hokan .nyuusisizui_step_hokan_img{
    max-width: 491px;
    width: 100%;
}

.step_wrap .flow_nyuusisizui .nyuusisizui_step_baiyo p,
.step_wrap .flow_nyuusisizui .nyuusisizui_step_hokan p{
    max-width: 385px;
    width: 100%;
}

.step_wrap .step_ordermade{
    width: 100%;
    background-image: url(../images/program/ordermade‗bg.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    padding: 50px 0 40px;
}

.step_wrap .step_ordermade h3{
    text-align: center;
    font-weight: bold;
    color: #FF9996;
    padding-bottom: 24px;
    font-size: clamp(1.5rem, 1.2rem + 1.28vw, 2rem);
    /* max-w1000px min-w375px 32px-24px*/
}

.step_wrap .step_ordermade .ordermade_flex{
    max-width: 912px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 31px;
    align-items: center;
    line-height: 1.75;
    flex-wrap: wrap;
}

.step_wrap .step_ordermade .ordermade_flex .ordermade_img{
    width: 100%;
    max-width: 436px;
    margin: 0 auto;
}

.step_wrap .step_ordermade .ordermade_flex p{
    max-width: 445px;
}

@media screen and (min-width: 768px) and (max-width: 1023px){
    .step_wrap .step_box{
        justify-content: center;
    }
    .step_wrap .step_icon{
        margin: 0 auto 15px;
    }
}

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

    .flow_section{
        padding: 50px 10px;
    }
    .step_wrap .step_icon{
        margin: 0 auto 15px;
    }

    .step_wrap .step_box{
        padding-bottom: 50px;
        justify-content: center;
        gap: 0;
    }

    .step_wrap .flow_nyuusisizui{
        padding: 58px 0;
        margin: 0 auto 50px; 
    }

    .step_wrap .flow_nyuusisizui .nyuusisizui_step_baiyo{
        padding-left: 10px;
        padding-right: 10px;
    }

    .step_wrap .flow_nyuusisizui .nyuusisizui_step_baiyo{
        gap:20px;
    }

    .step_wrap .flow_nyuusisizui .nyuusisizui_step_baiyo .nyuusisizui_step_baiyo_img {
    max-width: 357px;
    width: 100%;
}
.step_wrap .flow_nyuusisizui .nyuusisizui_step_hokan{
    gap: 20px;
    padding-left: 10px;
    padding-right: 10px;
}

.step_box .txt_box .quality_btn{
    letter-spacing: 0;
}
.step_wrap .step_ordermade .ordermade_flex p {
    margin: 0 auto;
    text-align: justify;
    padding: 0 10px;
}

.step_wrap .step_img{
    padding-top: 20px;
}

.step_wrap{
    padding: 76px 0 0;
}
}

@media screen and (max-width:400px){
    .step_wrap .flow_nyuusisizui .nyuusisizui_step_baiyo .nyuusisizui_step_baiyo_img {
    max-width: 300px;
    width: 100%;
}
.step_wrap .flow_nyuusisizui .nyuusisizui_step_baiyo{
        padding-left: 16px;
        padding-right: 16px;
    }

    .step_wrap .flow_nyuusisizui .nyuusisizui_step_hokan {
        gap: 20px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .step_wrap .step_ordermade h3{
        font-size: 1.375rem;
    }
}


/* Incentive Donor Programのご案内 */

.idp_section{
    background-image: url(../images/program/idp_bg.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 107px 0;
}

.idp_section h2{
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    font-weight: bold;
    color: #614B28;
    font-size: clamp(1.5rem, 1.2rem + 1.28vw, 2rem);
    /* max-w1000px min-w375px 32px-24px*/
}

.idp_section h2::after{
    content: "";
    position: absolute;
    background-image: url(../images/program/title_underline_brown.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    height: 4px;
    bottom: -16px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.idp_section h2 .idp_title{
    display: block;
}

.idp_section h2 .idp_title2{
    font-size: clamp(1.125rem, 0.825rem + 1.28vw, 1.625rem);
   /* max-w1000px min-w375px 26px-18px*/
}

.idp_section .idp_img{
    max-width: 1000px;
    padding: 50px 0;
    margin: 0 auto;
}

.idp_section .idp_klsa_img{
    max-width: 977px;
    margin: 0 auto;
     padding: 60px 0;
}

.idp_section p{
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.75;
    font-weight: bold;
}

.idp_section a{
    display: block;
    text-align: center;
    font-weight: bold;
    max-width: 375px;
    margin: 40px auto 0;
    color: #fff;
    font-size: 1.5rem;
    padding: 22px 0;
    background: linear-gradient(to right, #CFAB35 0%, #A28832 100%);
    border: solid 2px #fff;
	outline: solid 2px #fff;
	outline-offset: -8px;
	text-decoration: underline;
}

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

    .idp_section{
        padding: 60px 0;
    }

    .idp_section .idp_img{
        padding: 40px 10px 30px;
    }

    .idp_section p{
        padding: 0 10px;
    }

    .idp_section .idp_klsa_img{
        padding: 30px 10px;
    }

    .idp_section a{
       max-width: 360px;
       outline-offset: -4px;
       border: solid 1px #fff;
       outline: solid 1px #fff; 
    }
}

/* Youtube section */

.youtube_section{
    max-width: 1000px;
    margin: 0 auto;
    padding: 140px 0;
}

.youtube_section .youtube_title{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    padding-bottom: 30px;
}

.youtube_section .youtube_title div{
    max-width: 36px;
    width: 100%;
}

.youtube_section .youtube_title p{
    color: #CB1A4C;
    font-weight: bold;
    font-size: 1.5rem;
    padding-top: 3px;
    padding-bottom: 0;
}

.youtube_section h2{
    font-size: 1rem;
    color: #26466D;
    font-weight: bold;
    padding-bottom: 20px;
}

@media screen and (max-width:768px){
.youtube_section{
    padding: 60px 10px 40px;
}
}
