@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;
    }
}
/*-----------------------------------

    idea

-----------------------------------*/
#idea {
    background: url(../img/company/idea_bg.png) no-repeat center 95%;
    background-size: contain;
}
#idea .left {
    max-width: 270px;
    width: 30%;
}
#idea .right {
    width: 65%;
}
#idea h3 {
    font-size: 24px;
    letter-spacing: 0.13em;
    background: url(../img/company/idea_subtitle_bg.png) no-repeat;
    background-size: contain;
    width: 590px;
    height: 53px;
    margin: 0 auto 30px;
    padding-top: 11px;
}
#idea p {
    font-size: 18px;
    letter-spacing: 0.08em;
    line-height: 2;
    text-align: center;
    width: 530px;
    margin: 0 auto 1em;
}
@media screen and (max-width: 840px) {
    #idea h3 {
        font-size: 18px;
        letter-spacing: 0;
        width: 100%;
        height: 45px;
        margin: 0 auto 30px;
        padding-top: 4px;
        padding-right: 20px;
        text-align: center;
    }
    #idea p {
        font-size: 14px;
        letter-spacing: 0.08em;
        line-height: 2;
        text-align: center;
        width: 100%;
        margin: 0 auto 1em;
    }
}
@media screen and (max-width: 640px) {
    #idea .left {
        max-width: 270px;
        width: 100%;
        display: block;
        margin: 0 auto 2em;
        float: none !important;
    }
    #idea .right {
        float: none !important;
        width: 100%;
    }
    #idea h3 {
        letter-spacing: 0.13em;
        background: none;
        width: auto;
        height: auto;
        margin: 0 auto 20px;
        padding-top: 0;
    }
}

/*-----------------------------------

    story

-----------------------------------*/
#story {
    padding: 0;
    counter-reset: story;
}
#story h2 {
    border-top: 6px solid #f04e64;
    border-bottom: 6px solid #f04e64;
    line-height: 95px;
    font-size: 24px;
    letter-spacing: 0.2em;
    color: #f04e64;
    text-align: center;
}
#story h2 span{
    font-size: 44px;
    line-height: 95px;
    padding: 0 15px;
    background: url(../img/index/story_title_bg.png) no-repeat;
    background-size: contain;
    vertical-align: -8px;
}
#story .story_box {
    position: relative;
    width: 100%;
    padding-top: 28%;
}
#story .story_box .contents_inner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
#story .story_box.item01 {
    background: #f0eaea url(../img/index/story_bg_01.jpg) no-repeat right;
    background-size: 47%;
}
#story .story_box.item02 {
    background: #fff url(../img/index/story_bg_02.jpg) no-repeat left;
    background-size: 47%;
}
#story .story_box.item03 {
    background: #f0eaea url(../img/index/story_bg_03.jpg) no-repeat right;
    background-size: 47%;
}
#story .story_box .story_inner_left {
    position: absolute;
    width: 50%;
    left: 0;
}
#story .story_box .story_inner_right {
    position: absolute;
    width: 50%;
    right: 0;
}
#story .story_box .story_subttl {
    display: flex;
    border-bottom: 1px solid #f04e64;
    position: relative;
    padding-left: 50px;
    height: 75px;
    justify-content: center;
    align-items: center;
    counter-increment: story;
    margin-bottom: 25px;
}
#story .story_box .story_subttl h3 {
    font-size: 18px;
    line-height: 1.5;
    position: absolute;
    left: 55px;
}
#story .story_box .story_subttl::before {
    position: absolute;
    background: url(../img/index/story_subtitle_bg.png) no-repeat;
    background-size: contain;
    content: "";
    width: 50px;
    height: 43px;
    top: 20%;
    left: 0;
    content: counter(story);
    font-size: 30px;
    padding: 10px 0 0 15px;
}
#story .story_box p {
    font-size: 13px;
    letter-spacing: 0.1em;
}
@media screen and (max-width: 1000px) {
    #story .story_box .story_subttl {
        margin-bottom: 15px;
    }
    #story .story_box .story_subttl h3 {
        font-size: 17px;
    }
}
@media screen and (max-width: 840px) {
    #story .story_box .story_subttl {
        height: 55px;
        margin-bottom: 10px;
    }
    #story .story_box .story_subttl h3 {
        font-size: 15px;
        left: 40px;
    }
    #story .story_box .story_subttl::before {
        width: 35px;
        height: 30px;
        font-size: 26px;
        padding: 3px 0 0 10px;
    }
    #story .story_box p {
        font-size: 12px;
        letter-spacing: 0.1em;
        line-height: 1.5;
    }
}
@media screen and (max-width: 640px) {
    #story h2 {
        line-height: 70px;
        font-size: 15px;
        letter-spacing: 0.1em;
    }
    #story h2 span{
        font-size: 26px;
        line-height: 70px;
        padding: 0 10px;
        vertical-align: -5px;
    }
    #story .story_box {
        padding-top: 130%;
    }
    #story .story_box.item01 {
        background: #f0eaea url(../img/index/story_bg_01.jpg) center top no-repeat;
        background-size: contain;
    }
    #story .story_box.item02 {
        background: url(../img/index/story_bg_02.jpg) center top no-repeat;
        background-size: contain;
    }
    #story .story_box.item03 {
        background: #f0eaea url(../img/index/story_bg_03.jpg) center top no-repeat;
        background-size: contain;
    }
    #story .story_box .story_inner_left, #story .story_box .story_inner_right{
        width: 95%;
        top: 51%;
        left: 0;
        right: 0;
        margin: auto;
    }
    #story .story_box p {
        font-size: 13px;
        letter-spacing: 0.1em;
        line-height: 1.5;
    }
}

/*-----------------------------------

    overview

-----------------------------------*/
#overview .contents_inner {
    padding: 50px 0;
}
#overview dl {
    font-size: 18px;
    letter-spacing: 0.15em;
    border-top: 1px dashed #6b6b6b;
}
#overview dl dt{
    width: 10em;
    float: left;
    clear: both;
    color: #ee637b;
    padding: 0.5em 0;
}
#overview dl dd{
    border-bottom: 1px dashed #6b6b6b;
    padding: 0.5em 0 0.5em 10em;
}
#overview dl dd:nth-of-type(8){
    padding-left: 12em;
    text-indent: -2em;
}
#overview .ggmap {
    position: relative;
    padding-bottom: 46%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    width: 38%;
}
#overview .ggmap iframe,
#overview .ggmap object,
#overview .ggmap embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#overview .contents_inner:nth-child(3){
    text-align: center;
}
#overview h3 {
    color: #f04e64;
    font-size: 24px;
    font-weight: 900;
    border-bottom: 3px solid #f04e64;
    display: block;
    text-align: center;
    margin: 0 auto 20px;
    width: 10.5em;
    padding-bottom: 5px;
}
#overview ul{
    text-align: left;
    display: inline-block;
}
#overview ul li{
    font-size: 18px;
}
#overview ul li::before{
    content: "■";
    color: #f04e64;
    margin-right: 0.5em;
    line-height: 2;
}
@media screen and (max-width: 1000px) {
    #overview dl {
        font-size: 16px;
        letter-spacing: 0.1em;
    }
}
@media screen and (max-width: 840px) {
    #overview .left,
    #overview .right {
        width: 100%;
        float: none !important;
    }
    #overview dl {
        margin-bottom: 50px;
    }
    #overview .ggmap {
        width: 100%;
    }
}
@media screen and (max-width: 640px) {
    #overview dl {
        margin-bottom: 40px;
        font-size: 14px;
    }
    #overview dl dt{
        width: 100%;
        float: none;
        border-bottom: 1px dashed #6b6b6b;
    }
    #overview dl dd{
        width: 100%;
        padding: 0.5em 0 0.5em 0;
    }
    #overview dl dd:nth-of-type(8){
        padding-left: 2em;
    }
    #overview ul li{
        font-size: 14px;
        padding-left: 1.5em;
        text-indent: -1.5em;
    }
}
