@charset "UTF-8";

html {
    font-size: 100%;
}

body {
    background-color: #f0f0f0;
    color: #000;
    font-size: 0.875rem;
}

a {
    color: #000;
    font-size: 0.875rem;
    text-decoration: none;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

li {
    list-style: none;
}

.logo {
    width: 100px;
    line-height: 1px;
    margin-right: 60px;
}

.logo a {
    display: block;
}


.page-title{
    font-weight: normal;
    line-height: 1;
    margin-bottom: 10px;
    background-color: #121212;
    color: #fff;
    height: 220px;
}
.page-title::after{
    content: "";
    width: 40px;
    height: 1px;
    background-color: #fff;
    display: block;
    margin: 0 auto;
}
.page-title .en {
    display: block;
    font-size: 2.25rem;
    letter-spacing: 0.3em;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.page-title .ja {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 36px;
}
.pt{
    padding-top: 100px;
    text-align: center;
}



.section-title {
    font-weight: normal;
    line-height: 1;
    margin-bottom: 50px;
}

/*
疑似要素を使って下線を引く
*/
.section-title::after {
    content: "";
    width: 40px;
    height: 1px;
    background-color: #000;
    display: block;
    margin: 0 auto;
}

/*
「display: inline-block;」を設定してブロック化することで、
改行されてmargin-bottomが使用できるようになる
*/
.section-title .en {
    display: block;
    font-size: 2.25rem;
    letter-spacing: 0.3em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-title .ja {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 36px;
}

/*
横幅を設定するための共通クラス
*/
.wrapper {
    width: 1200px;
    margin: 0 auto;
}



/*-------------------------------------------
ヘッダー
-------------------------------------------*/
#header {
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    z-index: 10;
    background-color: #f0f0f0;
}

#header .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#header .inner ul {
    display: flex;
    align-items: center;
}

#header .inner li {
    margin-right: 30px;
}

#header .inner li:last-child {
    margin-right: 0;
}

/*===========================================
breadcrumb
 =============================================*/
.breadcrumb{
    margin-left: 100px;
 }
.breadcrumb span{
    margin: 0 5px;
}

/*-------------------------------------------
sec1
-------------------------------------------*/
.sec1{
    width: 100%;
    text-align: center;
}
.sec1 .info-title{
    display: block;
    font-size: 3.3rem;
    text-align: left;
    margin: 0 0 70px ;
}

.sec1 .sec1-items .sec1-item{
    display: flex;
    justify-content: space-between;
    margin-bottom: 100px;
}
.sec1 .sec1-items .sec1-item:last-child{
    margin-bottom: 130px;
}
.sec1 .sec1-items .sec1-item .text-area{
    width: 56%;
    margin: 0 135px 0 0;
}
.sec1 .sec1-items .sec1-item:nth-last-child(2n) .text-area{
    margin: 0 0 0 135px;
}
.sec1 .sec1-items .sec1-item .text-area .sec1-item-title{
    font-size: 2rem;
    text-align: left;
    margin: 0 0 75px;
}
.sec1 .sec1-items .sec1-item:nth-child(2n) .text-area .sec1-item-title{
    text-align: right;
}
.sec1 .sec1-items .sec1-item .text-area .sec1-item-text{
    font-size: 1rem;    
}
.sec1 .sec1-items .sec1-item .text-area .sec1-item-text p{
    text-align: left;
}
.sec1 .sec1-items .sec1-item .box1{
    position: relative;
    width: 45%;
}
.sec1 .sec1-items .sec1-item .box1:before{
    content: "01";
    position: absolute;
    width: 170px;
    height: 170px;
    right: 30px;
    top: -90px;
    font-size: 8.1rem;
    text-shadow: 3px 3px 6px #000;
}
.sec1 .sec1-items .sec1-item .box2{
    position: relative;
    width: 45%;
}
.sec1 .sec1-items .sec1-item .box2:before{
    content: "02";
    position: absolute;
    width: 170px;
    height: 170px;
    left: 30px;
    top: -90px;
    font-size: 8.1rem;
    text-shadow: 3px 3px 6px #000;
}
.sec1 .sec1-items .sec1-item .box3{
    position: relative;
    width: 45%;
}
.sec1 .sec1-items .sec1-item .box3:before{
    content: "03";
    position: absolute;
    width: 170px;
    height: 170px;
    right: 30px;
    top: -90px;
    font-size: 8.1rem;
    text-shadow: 3px 3px 6px #000;
}



/*-------------------------------------------
sec2
-------------------------------------------*/
.sec2{
    width: 100%;
    text-align: center;
    background-color: #fff;
    padding: 120px 0 60px;
}
.sec2 .sec2-title{
    font-size: 1.6rem;
    margin: 70px 0 50px;
}
.sec2 p{
    text-align: left;
}

/*-------------------------------------------
footer
-------------------------------------------*/
#footer {
    background-color: #f0f0f0;
    padding-bottom: 20px;
}

#footer .flex {
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 0;
    margin: 0 auto;
}

#footer .flex .logo {
    margin-right: 0;
}

#footer .copyright {
    font-size: 0.625rem;
    text-align: center;
}

/*-------------------------------------------
to-top
-------------------------------------------*/
.pagetop{
    height: 50px;
    width: 50px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: #fff;
    border: 2px solid #000;
    border-radius: 50%;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100;
    cursor: pointer;
}

.pagetop_arrow{
    display: block;
    height: 10px;
    width: 10px;
    border-top: 3px solid #000;
    border-right: 3px solid #000;
    transform: translateY(20%) rotate(-45deg);
}

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

    .wrapper{
        width: 80%;
    }
    .page-title{
        margin-bottom: 10px;
    }

    .logo {
        width: 80px;
        margin: 8px auto;
    }

    .section-title {
        margin-bottom: 34px;
        text-align: center;
        margin-bottom: 50px;
    }

    .section-title .ja {
        margin-bottom: 24px;
    }
    .section-title::after{
        margin: 0 auto;
    }

    /*-------------------------------------------
    ヘッダー
    -------------------------------------------*/
    /*
    ハンバーガーメニュー
    ※ハンバーガーメニューの説明は他の課題と重複するため割愛
    */
        #navi {
            width: 300px;
            background: #fff;
            padding: 25px;
            position: fixed;
            top: 0;
            left: -300px;
            bottom: 0;
            opacity: 0;
            overflow-y: auto;
            transition: 0.5s;
            z-index: 20;
        }

        #navi.open {
            left: 0;
            opacity: 1;
        }
        #navi .logo{
            position: static;
            top: 15px;
        }

        #navi ul.nav-menu {
            flex-direction: column;
            margin-bottom: 30px;
        }

        #navi ul li {
            padding: 10px 0;
        }
        #header .inner li:last-child {
            margin-right: 30px;
        }

        .hamburger {
            width: 30px;
            height: 30px;
            cursor: pointer;
            position: fixed;
            top: 150px;
            right: 20px;
            transition: 0.5s;
            z-index: 20;
            background-color: #fff;
        }

        .hamburger span {
            width: 30px;
            height: 2px;
            background-color: #121212;
            border-radius: 4px;
            display: block;
            position: absolute;
            left: 0;
            transition: 0.5s;
        }

        .hamburger span:nth-child(1) {
            top: 4px;
        }

        .hamburger span:nth-child(2) {
            top: 14px;
        }

        .hamburger span:nth-child(3) {
            bottom: 4px;
        }

        .open.hamburger span {
            background-color: #fff;
        }

        .open.hamburger span:nth-child(1) {
            transform: translateY(10px) rotate(-315deg);
        }

        .open.hamburger span:nth-child(2) {
            opacity: 0;
        }

        .open.hamburger span:nth-child(3) {
            transform: translateY(-10px) rotate(315deg);
        }

        #mask {
            display: none;
            transition: 0.5s;
        }

        .open #mask {
            width: 100%;
            height: 100%;
            background-color: #000;
            cursor: pointer;
            display: block;
            opacity: 0.8;
            position: fixed;
            top: 0;
            left: 0;
            z-index: 10;
        }

        /*===========================================
        sec1
        =============================================*/
        .sec1 {
            width: 100%;
        }
        .sec1 .info-title{
            margin: 0 1% 50px;
            font-size: 6vw;
        }
        .sec1 .sec1-items .sec1-item:nth-child(2n+1){
            display: flex;
            flex-direction: column;
            margin-bottom: 100px;
        }
        .sec1 .sec1-items .sec1-item:nth-child(2n){
            display: flex;
            flex-direction: column-reverse;
            margin-bottom: 100px;
        }
        .sec1 .sec1-items .sec1-item .text-area{
            width: 100%;
            margin-bottom: 100px;
        }
        .sec1 .sec1-items .sec1-item:nth-child(2n) .text-area{
            margin: 0 0 100px 0;
        }
        .sec1 .sec1-items .sec1-item .text-area .sec1-item-title{
            font-size: 3.5vw;
        }
        .sec1 .sec1-items .sec1-item .box1,
        .sec1 .sec1-items .sec1-item .box2,
        .sec1 .sec1-items .sec1-item .box3{
            width: 100%;
        }

        /*-------------------------------------------
        to-top
        -------------------------------------------*/
        #footer .flex .logo{
            margin-left: 0;
        }
}