@charset "UTF-8";

body {
    background-color: #000;
    color: white;
    line-height: 1.5;
    font-size: 18px;
    font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
}

header {
    height: 100vh;
    background-image: url(../image/4749268_m.jpg);
    background-repeat: no-repeat;
    background-size: 60%;
    background-position: 0 70%;
    position: relative;
}

header .img_container {
    width: 50%;
    height: 100%;
    margin: 0 0 0 auto;
    display: flex;
    align-items: center;
}

header img {
    width: 90%;
}

.header_img_sp {
    display: none;
}

.mouse {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translateX(-20px);
}

.mouse span {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 30px;
    height: 50px;
    margin-left: -15px;
    border: 2px solid #fff;
    border-radius: 50px;
    box-sizing: border-box;
  }
.mouse span::before {
    position: absolute;
  top: 10px;
  left: 50%;
  content: '';
  width: 6px;
  height: 6px;
  margin-left: -3px;
  background-color: #fff;
  border-radius: 100%;
  -webkit-animation: sdb 2s infinite;
  animation: sdb 2s infinite;
  box-sizing: border-box;
}
@-webkit-keyframes sdb {
  0% {
    -webkit-transform: translate(0, 0);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    -webkit-transform: translate(0, 20px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@keyframes sdb {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  80% {
    transform: translate(0, 20px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
  

main h2 {
    margin-bottom: 85px;
}

section {
    margin-top: 85px;
    padding: 10% 0;
}

#section1 {
    font-size: 1.3rem;
    background-image: url(../image/23251521_m.jpg);
    background-repeat: no-repeat;
    background-position: right;
    background-size: 50%;
    padding-bottom: 300px;
}

.section1_box {
    width: 50%;
    color: #000;
    background-color: white;
    padding: 5%;
    margin-left: 5%;
}

#section1 h2 {
    position: relative;
    z-index: 1;
}

#section1 h2::before {
    position: absolute;
    top: -330%;
    left: -5%;
    color: #ddd;
    font-size: 5rem;
    line-height: 1;
    content: "What's is TAIWAN MAZESOBA??";
    z-index: -1;
}

#section1 small, #section2 small {
    display: block;
    margin: 20px 0;
    text-align: right;
}

#section2 h2, #section3 h2, #section4 h2 {
    position: relative;
}

#section2 h2::before {
    position: absolute;
    content: "";
    background-image: url(../image/line.svg);
    background-repeat: no-repeat;
    width: 100%;
    height: 120%;
    top: 45%;
    left: 5%;
}

#section2 {
    width: 100%;
    font-size: 1.3rem;
    background-color: transparent;
    height: 100vh;
    background-image: url('../image/section2_bg.jpg');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
}

#section2::after {
    content: "";
    background: rgba(0,0,0,.5);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
}

#section2 .section2_box {
    width: 50%;
    margin: 0 auto;
}

#section3 {
    margin: 0 auto;
}

#section3 h2, #section4 h2 {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

#section3 h2::before, #section4 h2::before {
    position: absolute;
    content: "";
    background-image: url(../image/line.svg);
    background-repeat: no-repeat;
    width: 100%;
    height: 120%;
    top: 45%;
    left: 5%;
}

#section3 .section3_wrap {
    display: flex;
    flex-wrap: wrap;
}

#section3 .section3_box {
    width: 50%;
    display: flex;
    margin: 25px 0;
}

#section3 .section3_img {
    width: 40%;
    padding-left: 25px;
}

#section3 .section3_img img {
    width: 100%;
    object-fit: cover;
}

/* 個別指定 */
    #section3 .section3_img.number2 img {
        width: 100%;
        object-fit: cover;
        object-position: 
    }

#section3 .section3_text {
    width: 60%;
    padding: 0 25px;
    display: flex;
    align-items: center;
}

#section3 .section3_text h3 {
    text-align: center;
    margin: 20px 0;
    font-weight: bold;
    font-size: 1.3rem;
}

#section3, #section4 {
    width: 90%;
    margin: 0 auto;
}

#section4 .section4_wrap {
    display: flex;
    justify-content: center;
}

#section4 .section4_box {
    margin: 0 auto;
}

#section4 .section4_box .number_p {
    text-align: center;
    margin: 20px 0;
}

#section4 .section4_text {
    background-image: url(../image/section4_bg.png);
    width: 321px;
    height: 436px;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 15% 10%;
    color: #000;
}

#section4 .section4_text h3 {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40px;
}

footer p {
    font-size: 3rem;
    text-align: center;
    margin: 80px 0;
}

footer span {
    text-decoration: line-through;
}

@media screen and (max-width:767px) {
    body {
        font-size: 16px;
    }

    header {
        background-size: 100%;
        background-position: 0px 80%;
    }

    header h1 {
        text-align: center;
    }
    
    header .img_container {
        width: 100%;
        padding-top: 20%;
        margin: 0 auto;
        display: block;
    }
    
    .header_img_pc {
        display: none;
    }

    .header_img_sp {
        display: inline;
    }

    header img {
        width: 90%;
    }

    main h2 {
        margin-bottom: 50px;
    }

    main h2 img {
        width: 100%;
    }

    #section1 {
        font-size: 1.1rem;
        background-image: url(../image/23251521_m.jpg);
        background-repeat: no-repeat;
        background-position: 0 bottom;
        background-size: 100%;
        padding-bottom: 300px;
    }

    .section1_box {
        width: 90%;
        padding: 10% 5% 5% 5%;
        margin: 0 auto;
    }

    #section1 h2::before {
        position: absolute;
        top: -200%;
        left: -3%;
        color: #ddd;
        font-size: 2.6rem;
        line-height: 1;
        content: "What's is TAIWAN MAZESOBA??";
        z-index: -1;
    }

    #section2 h2, #section3 h2, #section4 h2 {
        margin-top: 30px;
    }

    #section2 {
        font-size: 1.1rem;
    }

    #section2 .section2_box {
        width: 90%;
        margin: 0 auto;
    }

    #section3 .section3_wrap {
        flex-direction: column;
    }

    #section3 .section3_box {
        flex-direction: column;
        width: 100%;
    }

    #section3 .section3_img {
        width: 80%;
        padding-left: 0;
        margin: 0 auto;
    }

    #section3 .section3_text {
        width: 100%;
        padding: 0;
    }

    #section4 .section4_wrap {
        flex-direction: column;
    }

    #section4 .section4_box .number_p {
        text-align: center;
        margin-bottom: 15px;
    }

    #section4 .section4_box .number_p img {
        width: 25%;
    }

    #section3 h2::before, #section4 h2::before {
        left: 0%;
    }

    footer p {
        font-size: 2.5rem;
    }

}