@charset "utf-8";

/* スマホ */

@media screen and (max-width:1023px) {
    body {
        margin: 0%;
        padding: 0%;
        color: #333;
        letter-spacing: 0.03em;
        background: #fff;
        width: 100%;
    }

    a {
        color: #658fff;
    }

    a:visited {
        color: #2274ff;
    }

    a:hover {
        color: #225cdc;
        font-weight: bold;
        text-decoration: none;
    }

    img {
        width: 100%;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        margin-top: 0%;
    }

    p {
        margin-top: 0%;
        line-height: 1.6;
        margin: 0;
        padding-bottom: 15px;
    }

    ul {
        padding: 0;
    }

    #icon {
        width: 40%;
        margin: 0 auto;
    }
    
    header {
        /*ヘッダーを固定*/
        position: fixed;
        width: 100%;
        margin-top: 30px;
    }

    #page_top {
        width: 90px;
        position: fixed;
        right: 0;
        bottom: 0;
        opacity: 0.6;
    }

    #page_top a {
        position: relative;
        display: block;
        width: 90px;
        height: 90px;
        text-decoration: none;
    }

    #page_top a::before {
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        content: '\f102';
        font-size: 25px;
        color: #2c78be;
        position: absolute;
        width: 25px;
        height: 25px;
        top: -40px;
        bottom: 0;
        right: 0;
        left: 0;
        margin: auto;
        text-align: center;
    }

    #page_top a::after {
        content: 'PAGE TOP';
        font-size: 13px;
        color: #fff;
        position: absolute;
        top: 45px;
        bottom: 0;
        right: 0;
        left: 0;
        margin: auto;
        text-align: center;
        color: #2c78be;
    }

    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.7);
        color: #ffffff;
        display: flex;
        justify-content: center;
        align-items: center;
        /* 初期：非表示 */
        visibility: hidden;
        opacity: 0;
        /* ふわっと表示 */
        transition: 0.5s ease-in-out;
    }

    .nav ul {
        list-style: none;
    }

    .nav li {
        padding-bottom: 30px;
    }

    .nav li ul li {
        margin-left: 10px;
        margin-bottom: 0px;
        padding: 0px;
    }

    .nav a {
        color: #ffffff;
        text-decoration: none;
    }

    /* ナビゲーションボタン（開く） */
    #navbtn {
        position: fixed;
        top: 15px;
        right: 15px;
        padding: 0;
        outline: none;
        border: none;
        background: none;
        width: 30px;
        height: 20px;
        cursor: pointer;
    }

    #navbtn::before,
    #navbtn::after {
        content: '';
        display: block;
        height: 1px;
        background-color: #333333;
        transform: translateY(10px);
        transition: 0.3s ease-in-out;
    }

    #navbtn::before {
        transform: translateY(-10px);
        box-shadow: 0 10px #333333;
    }

    /* ナビゲーションボタン（閉じる） */
    .open #navbtn {
        z-index: 100;
    }

    .open #navbtn::before {
        transform: rotate(-45deg);
        box-shadow: none;
    }

    .open #navbtn::after {
        transform: rotate(45deg);
        box-shadow: none;
    }

    /* ナビゲーションメニュー 開いた時*/
    .open .nav {
        visibility: visible;
        opacity: 1;
    }

    .menu {
        border-bottom: solid 1px #fff;
    }

    .menu:first-child {
        border-top: solid 1px #fff;
    }

    #main {
        width: 95%;
        z-index: -2;
        margin: 0 auto;
        padding-top: 50px;
        padding-bottom: 120px;
    }

    .right {
        display: none;
    }

    .footer-content {
        position: fixed;
        /* z-index: -1; */
        bottom: 0;
        right: 0;
        width: 100%;
        clear: both;
        overflow: hidden;
        margin: 0px 0px 0px 0px;
        background: #585858;
        border-top: solid 3px #a8a8a8;
    }

    .footer-content a {
        text-decoration: none;
        color: rgb(191, 192, 255);
    }

    .footer-content ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .footer-content li {
        display: inline-block;
    }

    .footer-menu {
        width: 25%;
        float: left;
        text-align: center;
        list-style: none;
    }

    .footer-menu {
        background: #383838;
    }

    .footer-sub-menu {
        background: #585858;
    }

    .footer-sub-menu li {
        padding-right: 5px;
        border-right: solid 1px #fff;
    }

    .footer-sub-menu li:last-child {
        padding-right: 0px;
        border-right: none;
    }

}


/* PC */

@media screen and (min-width:1024px) {

    body {
        margin: 0 auto;
        padding: 0%;
        color: #333;
        letter-spacing: 0.03em;
        width: 1080px;
    }

    a {
        color: #658fff;
    }

    a:visited {
        color: #2274ff;
    }

    a:hover {
        color: #225cdc;
        font-weight: bold;
        text-decoration: none;
    }

    img {
        width: 100%;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        margin-top: 0%;
    }

    p {
        margin-top: 0%;
        line-height: 1.6;
        margin: 0;
        padding-bottom: 15px;
    }

    ul {
        padding: 0;
    }

    #icon {
        width: 20%;
        margin: 0 auto;
    }

    header {
        /*ヘッダーを固定*/
        position: fixed;
        width: 100%;
        margin-top: 30px;
    }

    #page_top {
        width: 90px;
        position: fixed;
        right: 0;
        bottom: 0;
        opacity: 0.6;
    }

    #page_top a {
        position: relative;
        display: block;
        width: 90px;
        height: 90px;
        text-decoration: none;
    }

    #page_top a::before {
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        content: '\f102';
        font-size: 25px;
        color: #2c78be;
        position: absolute;
        width: 25px;
        height: 25px;
        top: -40px;
        bottom: 0;
        right: 0;
        left: 0;
        margin: auto;
        text-align: center;
    }

    #page_top a::after {
        content: 'PAGE TOP';
        font-size: 13px;
        color: #fff;
        position: absolute;
        top: 45px;
        bottom: 0;
        right: 0;
        left: 0;
        margin: auto;
        text-align: center;
        color: #2c78be;
    }

    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.7);
        color: #ffffff;
        display: flex;
        justify-content: center;
        align-items: center;
        /* 初期：非表示 */
        visibility: hidden;
        opacity: 0;
        /* ふわっと表示 */
        transition: 0.5s ease-in-out;
    }

    .nav ul {
        list-style: none;
    }

    .nav li {
        padding-bottom: 30px;
    }

    .nav li ul li {
        margin-left: 10px;
        margin-bottom: 0px;
        padding: 0px;
    }

    .nav a {
        color: #ffffff;
        text-decoration: none;
    }

    /* ナビゲーションボタン（開く） */
    #navbtn {
        position: fixed;
        top: 15px;
        right: 15px;
        padding: 0;
        outline: none;
        border: none;
        background: none;
        width: 30px;
        height: 20px;
        cursor: pointer;
    }

    #navbtn::before,
    #navbtn::after {
        content: '';
        display: block;
        height: 1px;
        background-color: #333333;
        transform: translateY(10px);
        transition: 0.3s ease-in-out;
    }

    #navbtn::before {
        transform: translateY(-10px);
        box-shadow: 0 10px #333333;
    }

    /* ナビゲーションボタン（閉じる） */
    .open #navbtn {
        z-index: 100;
    }

    .open #navbtn::before {
        transform: rotate(-45deg);
        box-shadow: none;
    }

    .open #navbtn::after {
        transform: rotate(45deg);
        box-shadow: none;
    }

    /* ナビゲーションメニュー 開いた時*/
    .open .nav {
        visibility: visible;
        opacity: 1;
    }

    .menu {
        border-bottom: solid 1px #fff;
    }

    .menu:first-child {
        border-top: solid 1px #fff;
    }

    #wrapper {
        width: 100%;
        color: #000;
    }

    #main {
        width: 90%;
        background-color: #fff;
        margin: 0 auto;
        padding-bottom: 80px;
    }

    .left {
        float: left;
        width: 60%;
        padding-bottom: 80px;
    }

    .right {
        float: right;
        width: 35%;
        padding-left: 5%;
        padding-bottom: 80px;
    }

    .footer-content {
        position: fixed;
        /* z-index: -1; */
        bottom: 0;
        right: 0;
        width: 100%;
        clear: both;
        overflow: hidden;
        margin: 0px 0px 0px 0px;
        background: #585858;
        border-top: solid 3px #a8a8a8;
    }

    .footer-content a {
        text-decoration: none;
        color: rgb(191, 192, 255);
    }

    .footer-content ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .footer-content li {
        display: inline-block;
    }

    .footer-menu {
        width: 12.5%;
        float: left;
        text-align: center;
        list-style: none;
        background: #383838;
    }

    .footer-sub-menu {
        background: #585858;
    }

    .footer-sub-menu li {
        padding-right: 5px;
        border-right: solid 1px #fff;
    }

    .footer-sub-menu li:last-child {
        padding-right: 0px;
        border-right: none;
    }

}

.change p {
    font-size: 150%;
    float: left;
}

#language {
    float: left;
}

select {
    font-size: 150%;
}