@import url('https://fonts.googleapis.com/css2?family=Dela+Gothic+One&family=Kaisei+Opti:wght@500;700&display=swap');

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

--------------------------------------------------------------------------------*/
html {
    font-size: 62.5%;
    width: 100%;
}

body {
    background-color: #fff;
    color: #000;
    font-size: 1.6rem;
    font-family: 'Kaisei Opti', serif;
    font-weight: 500;
    font-style: normal;
    line-height: 3.2rem;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    width: 100%;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

a:hover {
    opacity: .8 !important;
    text-decoration: none;
}

button,
input[type="text"],
input[type="password"],
textarea,
select {
    outline: none;
    width: 100%;
}

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

--------------------------------------------------------------------------------*/
.inner-box {
    max-width: 1050px;
    margin: 0 auto;
}

.pc-br::before {
    content: "\A";
    white-space: pre;
}

.pc-block {
    display: block;
}

.sp-block {
    display: none;
}

.flex-list {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    flex-direction: row;
    margin: 0 auto;
    padding: 0;
    justify-content: center;
}

.flex-list>li {
    list-style: none;
}

.list {
    font-size: 0;
    margin: 0;
    padding: 0;
}

.list>li {
    list-style: none;
}

/*--------------------------------------------------------------------------------
 header
--------------------------------------------------------------------------------*/
.header {
    background-image: url(../img/header.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1003;
}

.header .flex-list {
    align-items: center;
    padding: 16px 2%;
}

.header .flex-list>li {
    width: 50%;
}

.header .logo {
    margin: 0 auto;
}

.header .flex-list>li:nth-child(2) {
    text-align: right;
}

#nav-toggle {
    display: none;
}

.header nav .nav-list {
    justify-content: flex-end;
}

.header nav .nav-list>li {
    margin: 0 1.5%;
    width: auto;
}

.header nav .nav-list>li>a {
    color: #fff;
    font-weight: bold;
    padding: 2px;
}

/*--------------------------------------------------------------------------------
 固定リンク
--------------------------------------------------------------------------------*/
.for-link {
    position: fixed;
    right: 0;
    top: calc(50% - 160px);
    z-index: 1001;
}

.for-link>li {
    border: 5px solid #fff;
    border-right: none;
    padding: 15px;
}

.for-link>li:first-child {
    background-color: #ff0000;
}

.for-link>li:last-child {
    background-color: #014686;
    border-top: none;
}

.for-link>li img {
    width: 50px;
}

/*--------------------------------------------------------------------------------
 footer
--------------------------------------------------------------------------------*/
.footer {
    background-color: #fff;
    padding: 20px 0;
    text-align: center;
}

.foot-logo {
    margin: 0 auto 15px;
    text-align: center;
}

.foot-logo>img {
    width: 300px;
}

.footer-list>li {
    margin: 0 2%;
}

.copy {
    background-color: #000;
    color: #fff;
    padding: 11px 10px;
    text-align: center;
}

/*--------------------------------------------------------------------------------
 main
--------------------------------------------------------------------------------*/
.main {
    font-size: 0;
    line-height: 1;
    margin-top: 1.5%;
    overflow: hidden;
    position: relative;
}

.main>picture>img {
    width: 100%;
}

.main .main01 {
    position: absolute;
    left: 50%;
    bottom: 5px;
    -ms-transform: translate(-50%, 0%);
    -webkit-transform: translate(-50%, 0%);
    transform: translate(-50%, 0%);
    width: 27%;
    z-index: 1000;
}

.animation {
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-duration: 1.5s;
}

.keyframe {
    animation-name: anim_v;
    position: absolute;
    bottom: 0;
}

.flag01 {
    animation-duration: .6s;
    left: 0;
    width: 10%;
}

.flag02 {
    animation-duration: .7s;
    bottom: -3%;
    left: 8%;
    width: 12%;
}

.flag03 {
    animation-duration: .65s;
    bottom: -2%;
    left: 18%;
    width: 10%;
}

.flag04 {
    animation-duration: .75s;
    bottom: -5%;
    left: 27%;
    width: 9%;
}

.flag05 {
    animation-duration: .6s;
    bottom: -5%;
    right: 27%;
    width: 9%;
}

.flag06 {
    animation-duration: .7s;
    bottom: -2%;
    right: 18%;
    width: 10%;
}

.flag07 {
    animation-duration: .65s;
    bottom: -3%;
    right: 8%;
    width: 12%;
}

.flag08 {
    animation-duration: .7s;
    right: 0;
    width: 10%;
}

@keyframes anim_v {
    0% {
        transform: translate(0, 0px);
    }

    100% {
        transform: translate(0, -40px);
    }
}

/* フラッシュメッセージで仮で追加しました */
.flash_message {
    position: fixed;
    top: 5vw;
    left: 0;
    width: 100%;
    z-index: 1010;
    padding: .9%;
    text-align: center;
}

.message {
    background-color: #f8fbf8;
}

.error {
    color: #fffafa;
    background-color: #e2041b;
}


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

    /*--------------------------------------------------------------------------------
      共通
    --------------------------------------------------------------------------------*/
    .inner-box {
        max-width: 100%;
        padding: 0 25px;
    }

    /*--------------------------------------------------------------------------------
      header
    --------------------------------------------------------------------------------*/
    .header.open {
        z-index: 1002;
    }

    #nav-toggle {
        display: block;
        position: absolute;
        top: calc(50% - 5px);
        right: 2.5%;
        height: 17px;
        cursor: pointer;
        z-index: 1002;
    }

    #nav-toggle>div {
        position: relative;
        width: 17px;
    }

    #nav-toggle span {
        width: 100%;
        height: 3px;
        left: 0;
        display: block;
        background: #fff;
        position: absolute;
        transition: top .5s ease, -webkit-transform .3s ease-in-out;
        transition: transform .3s ease-in-out, top .5s ease;
        transition: transform .3s ease-in-out, top .5s ease, -webkit-transform .3s ease-in-out;
    }

    #nav-toggle span:nth-child(1) {
        top: 0;
    }

    #nav-toggle span:nth-child(2) {
        top: 7px;
    }

    #nav-toggle span:nth-child(3) {
        top: 14px;
    }

    .open #nav-toggle span:nth-child(1) {
        top: 0;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    .open #nav-toggle span:nth-child(2) {
        top: 0;
        width: 0;
        left: 50%;
    }

    .open #nav-toggle span:nth-child(3) {
        top: 0;
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    .header nav {
        display: none;
    }

    .header.open nav {
        background-color: rgba(0, 0, 0, 0.91);
        display: block;
        height: 100vh;
        left: 0;
        overflow-y: scroll;
        padding: 5% 30px 0;
        position: absolute;
        top: 0;
        width: 100%;
        z-index: 1001;
    }

    .header .flex-list>li:nth-child(2) {
        text-align: left;
    }

    .header nav .nav-list {
        display: block;
    }

    .header nav .nav-list>li {
        margin: 10px 0;
        width: 100%;
    }

    .header nav .nav-list>li>a {
        display: block;
    }

    .header .logo img {
        width: 200px !important;
    }

}

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

    /*--------------------------------------------------------------------------------
      共通
    --------------------------------------------------------------------------------*/
    body {
        font-size: 1.4rem;
        line-height: 2.4rem;
    }

    .inner-box {
        padding: 0 10px;
    }

    .sp-br::before {
        content: "\A";
        white-space: pre;
    }

    .pc-br::before {
        content: "";
        white-space: inherit;
    }

    .flex-box {
        display: block;
    }

    /*--------------------------------------------------------------------------------
      header
    --------------------------------------------------------------------------------*/
    .header .flex-list {
        padding: 10px 2%;
    }

    .header .logo img {
        width: 105px !important;
    }

    /*--------------------------------------------------------------------------------
     固定リンク
    --------------------------------------------------------------------------------*/
    .for-link {
        top: calc(50% - 100px);
    }

    .for-link>li {
        border: 3px solid #fff;
        padding: 10px;
    }

    .for-link>li img {
        width: 30px;
    }

    /*--------------------------------------------------------------------------------
     footer
    --------------------------------------------------------------------------------*/
    .footer-list {
        display: block;
    }

    .footer-list>li {
        margin: 5px auto;
    }

    .copy {
        font-size: 1rem;
        padding: 0 10px;
    }

    /*--------------------------------------------------------------------------------
      main
    --------------------------------------------------------------------------------*/
    .main .main01 {
        width: 47%;
    }

    .flag01,
    .flag02,
    .flag07,
    .flag08 {
        display: none;
    }

    .flag03 {
        left: -5%;
        width: 20%;
    }

    .flag04 {
        left: 12%;
        width: 16%;
    }

    .flag05 {
        right: 12%;
        width: 16%;
    }

    .flag06 {
        right: -5%;
        width: 20%;
    }

    @keyframes anim_v {
        0% {
            transform: translate(0, 0px);
        }

        100% {
            transform: translate(0, -30px);
        }
    }

}
