@charset "UTF-8";

.headline {
    background: #ee637b;
    padding-bottom: 15px;
}
h2 {
    font-size: 33px;
    letter-spacing: 0.15em;
    color: #fff;
    font-weight: 900;
    line-height: 95px;
    border-bottom: 1px solid #fff;
    text-align: center;
}
@media screen and (max-width: 640px) {
    h2 {
        font-size: 24px;
        line-height: 60px;
    }
}
/*-----------------------------------

    copyArea

-----------------------------------*/
#copyArea {
    background: url(../img/lifeinsurance/copyarea_bg.png) no-repeat bottom;
    background-size: contain;
    text-align: center;
}
#copyArea p {
    text-align: center;
    font-size: 18px;
    line-height: 2;
    letter-spacing: 0.08em;
    width: 510px;
    display: inline-block;
}
@media screen and (max-width: 640px) {
    #copyArea p {
        text-align: center;
        font-size: 14px;
        line-height: 2;
        letter-spacing: 0.08em;
        width: auto;
    }
}
/*-----------------------------------

    type

-----------------------------------*/
#type {
    padding: 60px 0;
}
#type .contents_inner {
    display:flex;
    flex-wrap:wrap;
}
#type .type_box {
    width: 48%;
    margin-right: 4%;
    margin-bottom: 3em;
    border: 1px solid #ee637b;
    float: left;
    padding: 1.5em;
    border-radius: 20px;
    background: #fff;
    text-align: center;
}
#type .type_box:nth-of-type(2n) {
    margin-right: 0;
}
#type .type_box img{
    display: block;
    border-radius: 20px;
    margin:0 auto 1em;
}
#type .type_box a img{
	margin:0 auto;
    border-radius: 0;
	display:inline-block;
}
/*.rakuten_btn01 {
	transform: translateY(-50%);
}
.rakuten_btn02 {
	transform: translateY(-100%);
}*/
#type .type_box h3{
    font-size: 32px;
    letter-spacing: 0.15em;
    color: #ee637b;
    font-weight: 900;
    text-align: center;
    border-bottom: 3px solid #ee637b;
    display: inline-block;
    line-height: 1.3;
}
#type .type_box:nth-of-type(4) h3{
    transform: scale(0.9, 1);
    -webkit-transform: scale(0.9,1);
    -webkit-transform-origin: 0 0;
    width: 110%;
    letter-spacing: 0;
}
#type .type_box p{
    margin-top: 1em;
    font-size: 17px;
    text-align: left;
}
@media screen and (max-width: 1000px) {
    #type .type_box h3{
        font-size: 29px;
    }
    #type .type_box:nth-of-type(4) h3{
        transform: scale(0.8, 1);
        -webkit-transform: scale(0.8,1);
        -webkit-transform-origin: 0 0;
        width: 125%;
    }
}
@media screen and (max-width: 840px) {
    #type .type_box h3{
        font-size: 26px;
    }
    #type .type_box:nth-of-type(4) h3{
        transform: scale(0.7, 1);
        -webkit-transform: scale(0.7,1);
        -webkit-transform-origin: 0 0;
        width: 147%;
    }
}
@media screen and (max-width: 640px) {
    #type .contents_inner {
        width: 90%;
        margin: 0 auto;
    }
    #type .type_box {
        width: 100%;
        margin-right: 0;
        margin-bottom: 2em;
    }
    #type .type_box h3{
        font-size: 24px;
    }
    #type .type_box:nth-of-type(4) h3{
        transform: scale(1, 1);
        -webkit-transform: scale(1,1);
        -webkit-transform-origin: 0 0;
        width: auto;
    }
    #type .type_box p{
        font-size: 14px;
    }
}
