@charset "utf-8";
@media screen and (max-width:480px){

body {
    margin: 0;
    padding: 0;
    color: #fff;
    font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    ;
}

h2,
h3,
p,
ul,
li {
    margin: 0;
    padding: 0;
    list-style: none;
}

h2 {
    font-size: 2rem;
    padding-top: 90px;
    line-height: 2;
    text-align: center;
    color: #8146BC;
}

h2 span {
    color: #8146BC;
    text-align: center;
    padding-bottom: 13px;
    border-bottom: 6px solid #FFB100;
}

h3 {
    font-size: 1.8rem;
    line-height: 1;
    text-align: left;
    color: #fff;
}

.container {
    width: 100%;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    background-color: #6420A8;
    z-index: 10000;
}

header img {
    margin-top: 15px;
    margin-bottom: 15px;
    margin-left: 30px;
    width: auto;
    height: 20px;
}

header img:nth-child(2) {
    width: 37px;
    height: 30px;
    padding-right: 30px;
}

.header__nav {
    display: none;
}

/* ハンバーガーメニュー */
/* チェックボックスを非表示にする */
.drawer_hidden {
    display: none;
}

/* ハンバーガーアイコンの設置スペース */
.drawer_open {
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 100;
    /* 重なり順を一番上にする */
    cursor: pointer;
}

/* ハンバーガーメニューのアイコン */
.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background: #fff;
    transition: 0.5s;
    position: absolute;
}

/* 三本線の一番上の棒の位置調整 */
.drawer_open span:before {
    bottom: 8px;
}

/* 三本線の一番下の棒の位置調整 */
.drawer_open span:after {
    top: 8px;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
#drawer_input:checked~.drawer_open span {
    background: rgba(255, 255, 255, 0);
}

/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
#drawer_input:checked~.drawer_open span::before {
    bottom: 0;
    transform: rotate(45deg);
    background-color: #8146BC;
}

#drawer_input:checked~.drawer_open span::after {
    top: 0;
    transform: rotate(-45deg);
    background-color: #8146BC;
}

/* メニューのデザイン*/
.nav_content_hm {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;
    /* メニューを画面の外に飛ばす */
    z-index: 99;
    background: #fff;
    font-size: 30px;
    font-weight: bold;
    text-align: center;
    transition: .5s;
    padding: 200px 0 0;
    justify-items: center;
}

li.nav_item_hm {
    padding-bottom: 37px;
}

.nav_item_hm a {
    text-decoration: none;
    color: #8146BC;
    justify-content: center;
}

li.nav_item_hm a:hover {
    color: #FFB100;
}

.nav_icons_hm img {
    justify-content: center;
    margin: 27px;
}

/* メニュー黒ポチを消す */
.nav_list_hm {
    list-style: none;
}

/* アイコンがクリックされたらメニューを表示 */
#drawer_input:checked~.nav_content_hm {
    left: 0;
    /* メニューを画面に入れる */
}

/*ハンバーガー終了*/

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

ul {
    list-style: none;
}

.tag {
    display: flex;
    justify-content: space-between;
    margin: 35px 10% 35px;
}

.tag li {
    color: #fff;
    background-color: #FFB100;
    border-radius: 50px;
    margin-right: 8px;
    margin-left: 8px;
    padding: 8px 20px 0px;
    width: 97px;
    height: 31px;
    text-align: center;
    justify-content: center;
    font-size: 0.9rem;
}

.tag a{
text-decoration: none;
color: #fff;
}

.tag a:hover{
    text-decoration: none;
    color: #8146BC;
    }
    
.atsunuri {
    padding-top: 84px;
    padding-bottom: 113px;
    background-color: #8146BC;
}

.deforume {
    padding-top: 84px;
    padding-bottom: 113px;
    background-color: #fff;
}

.nijisousaku {
    padding-top: 84px;
    padding-bottom: 113px;
    background-color: #8146BC;

}

.atsunuri h3,
.nijisousaku h3 {
    color: #fff;
    font-size: 1.8rem;
    line-height: 1;
    display: flex;
    justify-content: left;
    padding: 0 10% 12px;
    margin-top: 20px;
    margin-bottom: 10px;
    position: relative;
}

.atsunuri h3::after,
.nijisousaku h3::after {
    position: absolute;
    content: "";
    background-color: #fff;
    height: 2px;
    bottom: -10px;
    width: 80vw;
    margin-bottom: 12px;
}

.deforume h3 {
    color: #8146BC;
    font-size: 1.8rem;
    line-height: 1;
    display: flex;
    justify-content: left;
    padding: 0 10% 12px;
    margin-top: 20px;
    margin-bottom: 10px;
    position: relative;
}

.deforume h3::after {
    position: absolute;
    content: "";
    background-color: #8146BC;
    height: 2px;
    bottom: -10px;
    width: 80vw;
    margin-bottom: 12px;
}

.atsunuri ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 10% 0;
}

.deforume ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 10% 0;

}

.nijisousaku ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 10% 0;

    /*前のやつ*/
    /*display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    justify-items: center;
    padding: 34px;*/
}

li img {
    /* justify-content: bottom;
    align-items: center;
    width: 40%;
    height:auto;
    padding-bottom: 11px;
    object-fit: cover;
    cursor: pointer;
*/
    display: flex;
    flex-wrap: wrap;
    padding: 7px 10px 7px;
    object-fit: cover;
    height: 45vw;
    width: auto;
}

/*===========
inview
===========*/

.fadeIn_up {
  opacity: 0;
  transform: translate(0,20%);
  transition: 2s;
}

.fadeIn_up.is-show {
  transform: translate(0, 0);
  opacity: 1;
}


footer {
    color: #fff;
    background: url(../img/footer.png);
    background-size: 100% auto;
    background-repeat: no-repeat;
    align-items: bottom;
}

footer p {
    font-size: 12px;
    padding-top: 117px;
    padding-bottom: 20px;
    text-align: center;
}
#pagetop {
    position: fixed;
    right: 5px;
    top: 90%;
   display: block;
    opacity: 1;
    transition: opacity 0.2s, transform 0.2s;
}

#pagetop.active{
    opacity: 1;
    transform: translateY(-230px);
}
}


@media screen and (min-width:768px) {
    header .container {
        display: flex;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        background-color: #6420A8;
        width: 100%;
        z-index: 10000;
    }

    header .container img:nth-of-type(1) {
        margin: 0 30px 0;
    }

    header .container img:nth-of-type(2) {
        display: none;
    }

    .header__nav {
        margin: 0 40px 0;
        display: flex;
        justify-content: space-around;
    }

    /*header nav {
        margin: 0 40px 0;
        display: flex;
        justify-content: space-around;

    }*/

    .nav__items {
        display: flex;
        justify-content: space-around;
        list-style: none;
    }

    .nav__item a {
        align-items: center;
        color: #fff;
        display: flex;
        font-family: 'Inter', sans-serif;
        font-size: 22px;
        height: 72px;
        text-decoration: none;
        margin-right: 10vw;
    }

    .nav_icons {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    nav a img {
        width: 20px;
        height: auto;
    }


    .nav__item a:hover {
        color: #FFB100;
    }

    .humburger {
        display: none;
    }

    .sp {
        display: none;
    }

    h2 {
        padding: 120px 0 57px;
    }

    .tag {
        display: none;
    }

    .atsunuri ul {
        /* pc版に変える */
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        justify-items: center;
        padding: 0 10vw 0;
    }

    .deforume ul {
        /* pc版に変える */
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        justify-items: center;
        padding: 0 10vw 0;
    }

    .nijisousaku ul {
        /* pc版に変える */
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        justify-items: center;
        padding: 0 10vw 0;
    }

    li img {
        /* pc版に変える */
        justify-content: center;
        align-items: center;
        height: 15vw;
        width: auto;
        padding: 5px;
        object-fit: cover;
    }
    #pagetop {
        position: fixed;
        right: 60px;
        /*top: 100%;*/
       display: block;
        /*opacity: 0;*/
        transition: opacity 0.2s, transform 0.2s;
    }
    #pagetop.active{
        opacity: 1;
        transform: translateY(-230px);
    }

}