/* 共通 */

body {
    font-size: 16px;
    color: #333;
    font-family: sans-serif;
}

h3 {
    text-align: center;
    font-size: 1.8em;
    color: #0b318f;
    border-bottom: 2px solid gray;
    width: 600px;
    margin: 0 auto;
    margin-bottom: 30px;
    padding: 30px 0;
    /* font-family: "凸版文久見出しゴシック"; */
}

section {
    margin-bottom: 50px;
}



/* ヘッダー */
header {
    background-image: url(../img/bg-main.png);
    width: 100%;
    background-size: cover;
    padding-bottom: 20px;
}

.logo {
    display: block;
    margin: 0 30px 0 auto;
    padding: 20px;
    width: 300px;
}

.container-header {
    display: flex;
    flex-wrap: wrap;
    width: 1200px;
    margin: 0 auto;
}

.wrapper-left {
    display: flex;
    flex-wrap: wrap;
    width: 60%;
    flex-direction: column;
    text-align: center;
    justify-content: space-between;
    /* align-items: ; */
}

.header-title {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
}

.header-title h1::before{
    content:'';
    position: absolute;
    left: -100px;
    top:-25px;
    background-image: url(../img/icon-train.png);
    background-size: contain;
    vertical-align: middle;
    width: 100px;
    height: 100px;
}

h1 {
    font-size: 3.2em;
    display: inline;
    color: #0b318f;
    text-align: left;
}


h1 span:not(.h1-deco){
    background-color: rgba(255, 255, 255, 0.9);
    line-height: 1.8em;
    padding: 15px 20px;
    padding-top: 20px;
    box-shadow: 5px 5px 2px #000;
}

.h1-deco {
    transform: rotate(-2deg);
    display: inline-block;
    font-size: 1.1em;
}

.header-title h1{
    position: relative;
}

.icon-train {
    position: relative;
    width: 100px;
    top: 20px;

}

.onestop {
    width: 60px;
    position:absolute;
    top:70px;
    left: -65px;
}

h2 {
    color: #ffff;
    text-align: center;
    margin: 30px auto;
    font-size: 2.5em;
    display: block;
}

.title-line {
    /* background-image: url(../img/b_simple_8_0L.png); */
    background-size: 100%;
    background-position: bottom;
    padding: 1.5vw;
}



.wrapper-right {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: space-between;
    align-items: flex-end;
    width: 40%;
}

.mobile1 {
    width: 100%;
}

.wrapper-right a {
    width: 70%;
    text-align: center;
}


.header-info{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    align-content: space-between;
    width: 100%;
}

.header-info .app-dl{
    width: 60%;
    justify-content: center;
    align-content: space-between;
}


.dl-icon {
    width: 250px;
    margin: 0 auto;
    display: block;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 5px;
}

.dl-link {
    width: 60%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.dl-link a {
margin: 0 auto;
text-align: center;
}

.dl-apple,
.dl-android {
    width: 100%;
    margin: 10px auto;
}

.festa {
    width: 40%;

}

.festa img{
    width: 100%;
}

.festa p {
    color: #fff;
    font-weight: bold;
    background-color: #0b318f;
    padding: 15px;
    text-align: center;
    border-radius: 10px;
}


/* 背景設定 */

#sec01,#sec03,#sec05{
    background-color: #ffffd9;
    width: 100%;
    position: relative;
}

[class^="container-"]:not(.container-header){
    padding: 10px 0;
    width: 70%;
    margin: 0 auto;
}


/* スマートシティモードとは？ */

.wrapper-scmode {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    background-image: url(img/SMARTCITY-sp.png);
}

.smartcity-sp {
    position: absolute;
    width: 80%;
    top: 220px;
    left: 10vw;
}

.mobile2 {
    width: 20vw;
    margin: 0 auto 150px auto;
}

.wrapper-scmode p {
    margin: 0 auto 150px 0;
    line-height: 2em;
    font-size: 1.4em;
    font-weight: bold;
}

.text-small {
    font-size: large;
}

/* 移動に対するモヤモヤ・・・ */
.container-worry,.container-solution {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.worry-1,
.worry-2,
.worry-4,
.worry-5 {
    position: relative;
    padding: 15px;
    outline: 2px solid #333;
    outline-offset: 2px;
    background: #dddd;
    color: #333;
    font-size: 1.2em;
    font-weight: bold;
    margin: 20px;
    min-width: 400px;
    text-align: center;
}

.worry-2:before,
.worry-5:before {
    position: absolute;
    top: calc(100% + 2px);
    left: 40px;
    height: 20px;
    width: 15px;
    background-color: white;
    border-right: 3px solid #333;
    content: "";
}

.worry-1:before,
.worry-4:before {
    position: absolute;
    top: calc(100% + 2px);
    left: 310px;
    height: 20px;
    width: 15px;
    background-color: white;
    border-right: 3px solid #333;
    content: "";
}

/* .worry-1 p,
.worry-2 p,
.worry-4 p,
.worry-5 p {
    line-height: 3vw;
    color: ;
} */

.happy{
    background-color: #ffcb64;
}

.woman-worry {
    width: 200px;
    margin: 0 auto;
    display: block;
}


/* モヤモヤ解決！ */
.container-solution h3 {
    border-bottom: none;
    width: 100%;
}

.light {
    width: 10%;
}

/* スマートシティモードなら */
.container-goal {
    background-color: #ffffd9;
    position: relative;
    text-align: center;
}

.container-goal p {
    text-align: center;
    font-weight: bold;
}

.important {
    margin-bottom: 50px;
    font-weight: bold;
    font-size: 1.6rem;
    display: inline-block;
    background-image: url(../img/f1409_2.svg);
    background-size: 100%;
    padding: 20px;
}

.detail {
    margin-bottom: 50px;
    background-image: url(../img/pas1.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    font-size: 1.4em;
    z-index: 5;
    position: relative;
}

.wrapper-goal img {
    position: absolute;
}

.woman {
    top: 120px;
    left: 15vw;
    width: 100px;
}

.mobile3 {
    top: 330px;
    left: 20vw;
    width: 200px;
}

.taxi {
    top: 250px;
    right:20vw;
    width: 200px;
}

.map {
    top: 430px;
    right: 15vw;
    width: 200px;
}

.text-quality {
    display: inline-block;
    background-color: #64A8AD;
    color: #fff;
    padding: 10px 30px;
    margin: 0 auto 100px auto;
    font-size:1.8em;
}


/* スマートシティモードの便利な特徴 */
.container-tokucho {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}


.tokucho-01,
.tokucho-03 {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    margin: 30px auto;
    width: 100%;
}

.tokucho-02,
.tokucho-04 {
    display: flex;
    position: relative;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    margin: 30px auto;
}

.container-tokucho p {
    text-align: center;
}

.img-01,
.img-03,
.img-04 {
    width: 300px;
    margin: 0 30px;
}

.img-02 {
    width: 450px;
    margin: 0 30px;
}

[class^="number"]{
    font-size: 180px;
    position: absolute;
    opacity: 0.1;
    color: #0b318f;
    top: 30px;
}

.number {
    left: 180px;
}

.number-02 {
    right: 130px;
}

.number-04 {
    right: 60px;
}

.tokucho-04 p {
    margin-left: 50px;
}

.bold {
    font-weight: bold;
    font-size: x-large;
}


/* SCモードが選ばれる理由 */
.container-reason {
    background-color: #ffffd9;
    display: flex;
    justify-content: center;
}

.smart_image {
    /* margin: 50px 20px 50px auto; */
    width: 25%;
    margin: 30px 80px 30px 0;
}

.wrapper-reason {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

h4 {
    font-size: 25px;
    margin-bottom: 50px;
}

ul {
    margin: 0;
}

li {
    line-height: 5vh;
}

.under {
    font-weight: bold;
    background: linear-gradient(transparent 50%, yellow 50%);
}

/* お問い合わせ・ご相談 */
.form {
    background-color: #64A8AD;
    color: #fff;
    margin: 0 auto;
    display: inline-block;
    padding: 10px 80px;
    font-size: 1.6rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
}

.box-form {
    text-align: center;
}

/* アプリダウンロードはこちらから */
.app-dl{
    padding-top: 15px;
}

.app-dl>.dl-icon {
    margin: auto;
}

.last{
    width: 25%;
}

/* フッター */
footer p {
    text-align: center;
    background-color: #707070;
    color: #fff;
    padding: 20px 0;
}

.sp{
    display: none;
}

@media screen and (max-width: 767px) {
    .pc{
        display: none;
    }
    .sp{
        display: block;
    }

    section {
        margin-bottom: 30px;
    }

    body {
        font-size: 14px;
    }

    h3 {
        border-bottom: 1px solid gray;
        font-size: large;
        width: 300px;
        padding: 15px 0;
    }

    header {
        background-size: cover;
        background-position: center;
    }

    .logo {
        width: 45%;
        margin: 0 10px 0 auto;
    }

    .container-header {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .header-title {
        margin-bottom: 5px;
    }
    
    .header-title h1::before{
    display: none;
    }
    
    h1 {
        font-size: 2em;
    }
    
    
    h1 span:not(.h1-deco){
        line-height: 2.3em;
        padding: 15px 20px;


    }
    
    .onestop {
        width: 40px;
        position:absolute;
        top:40px;
        left: -28px;
    }

    h2 {
        margin: 10px auto;
        font-size: 1.5em;
    }


    .wrapper-left {
        width: 100%;
    }

    .mobile1 {
        position: relative;
        width: 100%;
    }

    .dl-link a {
        width: 150px;
    }

    .wrapper-right {
        width: 100%;
    }

    .wrapper-right p {
        font-size: xx-small;
        margin-bottom: 20px;
    }

    .header-info{
        flex-direction: column;
        width: 90%;
    }
    .header-info .app-dl{
        width: 100%;
    }

    .header-info .app-dl .dl-icon{
        width: 50%;
    }

    .festa{
        width: 100%;

    }
    .smartcity {
        display: none;
    }

    [class^="container-"]:not(.container-header){
        padding: 10px 0;
        width: 90%;
    }
    .container-scmode {
        position: relative;
    }
    .smartcity-sp {
        display: block;
        position: absolute;
        width: 100%;
        top: 40vw;
        left: 0vw;
    }

    .mobile2 {
        width: 40vw;
        margin: 0 auto 30px auto;
    }

    .wrapper-scmode p {
        margin: 0 auto 100px auto;
        line-height: 4vh;
        font-size: 1.2em;
        text-align: center;
    }

    .text-small {
        font-size: x-small;
    }

    .container-worry {
        flex-wrap: wrap;
        justify-content: center;
    }

    .worry-1,
    .worry-2,
    .worry-4,
    .worry-5 {
        padding: 20px 20px;
        margin: 20px 20px;
        min-width: 320px;
    }

    .worry-1 p,
    .worry-2 p,
    .worry-4 p,
    .worry-5 p {
        line-height: 8vw;
    }

    .worry-1:before,
    .worry-4:before {
        left: 250px;
    }

    .woman-worry {
        width: 30%;
    }
    
    .container-goal p {
        font-size: small;
    }
    .important {
        margin-bottom: 30px;
        font-size: 1rem;
        background-size: 85%;
        background-position: center;
    }

    .text-quality {
        font-size: large;
        margin: 0 auto 50px auto;
    }

    .woman {
        top: 150px;
        left: 8%;
        width: 40px;
    }

    .mobile3 {
        top: 290px;
        left: 6%;
        width: 80px;
    }

    .taxi {
        top: 250px;
        right: 5%;
        width: 80px;
    }

    .map {
        top: 350px;
        right: 2%;
        width: 80px;
    }

    .container-tokucho {
        flex-direction: column;
        margin: 0 30px;
    }

    .tokucho-01,
    .tokucho-03 {
        flex-direction: column;
    }

    .tokucho-02,
    .tokucho-04 {
        flex-direction: column;
    }

    .img-01,
    .img-03,
    .img-04 {
        width: 50vw;
        margin: 40px 0 0 0;
    }

    .img-02 {
        width: 70vw;
        margin: 40px 0 0 0;
    }

    .number {
        font-size: 30vw;
        top: -50px;
        left: 25vw;
    }

    .number-02 {
        font-size: 30vw;
        top: -50px;
        left: 25vw;
    }

    .number-04 {
        font-size: 30vw;
        top: -50px;
        left: 20vw;
    }

    .tokucho-04 p {
        margin-left: 0px;
    }

    .bold {
        font-size: large;
    }

    .container-reason {
        display: block;
    }

    .smart_image {
        margin: 0 auto;
        width: 50%;
        display: block;
        padding-top: 30px;
    }

    h4 {
        font-size: 18px;
        margin: 20px auto 20px auto;
    }

    .wrapper-reason {
        padding-bottom:30px ;
    }

    .form {
        padding: 15px 60px;
        font-size: 1rem;
        border-radius: 40px;
    }

    li {
        margin: 0 30px;
        line-height: 3vh;
    }

    .app-dl>.dl-icon {
        width: 220px;
        margin: 0 auto;
    }

    .last {
        margin: 0 auto;
    }

    .last img{
        max-width: 80%;
    }
}