
/* ヘッダー */

.header{
    width:100%;
	padding-top: 15px;
	padding-bottom: 10px;
	background-color: #FFF;
    text-align: center;
    margin-right: auto;
    margin-left: auto;
}

.imglogo{
	height: 24px;
}

/* ここまで */



/* コンテンツ全体 */


.contents{
    background-color: #F9F5F2;
    padding:50px;
    font-family:'Noto Sans JP', sans-serif;
}

.contents_all{
    max-width: 1000px;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

/* ここまで */



/* キャンペーンタイトル */

#campaign_title{
    max-width:100%;
    background-color: #FFF;
    border-radius:8px;
    padding: 30px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 20px;
}

h1{
    font-size: 32px;
    color: #333333;
    margin-top: 0px;
    margin-bottom: 0px;
}

/* ここまで */



/* 申し込み一覧 */

#apply_all{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.apply_box{
    position: relative;
    flex-basis:49%;
    height: auto;
    background-color: #FFF;
    border-radius: 8px;
    margin-bottom: 50px;
}

/* 北海道新聞デジタル会員・ 道新IDをお持ちの方 */
.apply_top1{
    background-color: #3362B5;
    max-width: 100%;
    height: 100px;
    border-radius: 8px 8px 0px 0px;
    padding: 20px 50px 20px 50px;
    margin-bottom: 50px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

/* 道新IDをお持ちでない方 */
.apply_top2{
    background-color: #4BA2D8;
    max-width: 100%;
    height: 100px;
    border-radius: 8px 8px 0px 0px;
    padding: 20px 50px 20px 50px;
    margin-bottom: 50px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.apply_title{
    color: #FFF;
    font-size: 20px;
    font-weight: 600;
}

.apply_bottom{
    margin-left: 50px;
    margin-right: 50px;
    padding-bottom: 50px;
}

.apply_text{
    font-size: 16px;
    text-align: center;
    margin-bottom: 10px;
}

/* 申し込みボタン */

#apply_button{
    display: block;
    text-align: center;
    margin-top: 5px;
    width: 100%;
}


.apply_button1{
    background-color: #3362B5;
    color: #FFF;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    height: 55px;
    width: 100%;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apply_button2{
    background-color: #4BA2D8;
    color: #FFF;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    height: 55px;
    width: 100%;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apply_text_sub{
    font-size: 14px;
    margin-top: 5px;
    margin-bottom: 40px;
}

.apply_button3{
    background-color: #FFF;
    border: 2px solid #4BA2D8;
    color: #4BA2D8;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    height: 55px;
    width: 100%;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}


a{
    text-decoration: none;
}

a:hover{
    opacity: 0.8;
}

a:visited{
    color: inherit;
}

/* ここまで */


/* 会員登録から申し込みまでの手順 */

h2{
    color: #00418F;
    font-size: 22px;
    margin-bottom: 20px;
    margin-top: 0px;
    border-left: 5px solid #00418F;
    padding-left: 10px;
}

.img_procedure{
    display: block;
    width:100%;
    margin-right: auto;
    margin-left: auto;
}

.img_procedure_sp{
    display: none;
}

/* ここまで */




/* ここから下がレスポンシブ */

/* ヘッダー */

@media screen and (max-width:768px) {
	.header{
        padding-top: 15px;
        padding-bottom: 15px;
        }

@media screen and (max-width:768px) {
    .imglogo{
        height: 20px;
    }


  /* コンテンツ全体 */

@media screen and (max-width:768px) {
	.contents{
        background-color: #F9F5F2;
        padding:30px 0px 80px 0px;
    }


/* キャンペーンタイトル */

@media screen and (max-width:768px) {
	#campaign_title{
        max-width:100%;
        padding:20px;
        margin-right:30px;
        margin-left: 30px;
    }

@media screen and (max-width:768px) {
	h1{
        font-size: 20px;
    }


/* 申し込み一覧 */

@media screen and (max-width:768px) {
    .apply_box{
        position: relative;
        flex-basis:100%;
        height: auto;
        background-color: #FFF;
        border-radius: 8px;
        margin-bottom: 20px;
        margin-left: 30px;
        margin-right: 30px;
    }

@media screen and (max-width:768px) {
    .apply_bottom{
        margin-left: 30px;
        margin-right: 30px;
        padding-bottom: 40px;
    }

 @media screen and (max-width:768px) { 
    .apply_title{
        font-size: 16px;
    }

@media screen and (max-width:768px) {
    .apply_top1{
        height: 60px;
        border-radius: 8px 8px 0px 0px;
        padding: 10px 30px 10px 30px;
        margin-bottom: 40px;
        text-align: center;
    }

@media screen and (max-width:768px) {
    .apply_top2{
            height: 60px;
            border-radius: 8px 8px 0px 0px;
            padding: 10px 30px 10px 30px;
            margin-bottom: 40px;
            text-align: center;
    }

@media screen and (max-width:768px) {
.apply_button1{
    font-size: 16px;
}

@media screen and (max-width:768px) {
.apply_button2{
    font-size: 16px;
}
    
@media screen and (max-width:768px) {
.apply_button3{
    font-size: 16px;
}
    
    

/* 会員登録から申し込みまでの手順 */

@media screen and (max-width:768px) { 
    h2{
        font-size: 18px;
        border-left: 5px solid #00418F;
        padding-left: 10px;
        margin-top: 20px;
    }

@media screen and (max-width:768px) { 
    #procedure{
        margin-left: 30px;
        margin-right: 30px;
    }

 @media screen and (max-width:768px) {
    .img_procedure{
        display: none;
    }

@media screen and (max-width:768px) {
    .img_procedure_sp{
            display: block;
            max-width:100%;
            margin-right: auto;
            margin-left: auto;
    }

@media screen and (max-width:768px) { 
    .text{
        font-size: 15px;
    }

@media screen and (max-width:768px) {
    .apply_text_sub{
        margin-bottom: 30px;
    }