@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Zen_Maru_Gothic;
    color: #505050;
}

a {
    text-decoration: none;
    color: #505050;
}

ul {
    list-style: none;
}


@font-face {
    font-family: Zen_Maru_Gothic;
    src: url(../font/Zen_Maru_Gothic/ZenMaruGothic-Regular.ttf);
}


/* ヘッダー */
header {
    display: flex;
    width: 100%;
    margin-bottom: 5%;
}

header h1 {
    width: 15%;
    margin-top: 8%;
    margin-left: 8%;
    list-style: none;
    line-height: 1.1;
    text-align: center;
    color: #202020;
}

header h1 a {
    text-decoration: none;
    font-size: 2.8vw;
    line-height: 2;
    color: #202020;
    transition: 0.5s;
}

nav {
    width: 30%;
    margin: 7.5% 0 0 25%;
}


nav ul {
    display: flex;
}


nav ul li {
    list-style: none;
    width: calc(100% / 3);
    padding-top: 5%;
    text-align: center;
}

nav ul li a {
    text-decoration: none;
    padding: 5% 5%;
    color: #202020;
    font-size: 1.8vw;
    transition: 0.5s;
}

nav ul li a:hover {
    color: #000;
    transition: 0.5s;
}

.sns-icon {
    width: 11%;
    margin: 7.5% auto 0 0;
    padding-top: 2%;
    padding-left: 2.8%;
}

.sns-icon .fa-brands {
    font-size: 2vw;
    margin-left: 10%;
    color: #202020;
    transition: 1s;
}

.sns-icon a .fa-square-facebook:hover {
    color: #1877f2;
    transition: 1s;
}

.sns-icon a .fa-square-instagram:hover {
    color: #CF2E92;
    transition: 1s;
}

.sns-icon a .fa-square-x-twitter:hover {
    color: #0F1419;
    transition: 1s;
}


/* メインセクション */
section {
    width: 100%;
}

.top {
    position: relative;
    width: 80%;
    margin: 3% auto;
}


.top .main-vs {
    width: 100%;
    vertical-align: bottom;
    border-radius: 1vw;
}

.top .tablet {
    display: none;
}

.top .smartphone {
    display: none;
}

.top h2 {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2.6vw;
    z-index: 10;
}


.top-flexbox {
    display: flex;
    width: 80%;
    margin-bottom: 10%;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.top-box {
    width: 30%;

}

.top-box:nth-of-type(2) {
    margin-left: 5%;
    margin-right: 5%;
}

.top-box h3 {
    text-align: center;
    margin-bottom: 5%;
    font-size: 2vw;
}

.top-box h4 {
    margin-bottom: 10%;
    text-align: center;
    font-size: 1.4vw;
}


.top-box ion-icon {
    display: block;
    margin-bottom: 10%;
    width: 25%;
    font-size: 10vw;
    margin-left: auto;
    margin-right: auto;
}


.top-box p {
    width: 100%;
    line-height: 2.2;
    font-size: 1.2vw;
}

.tittle {
    width: 30%;
    margin: 5% auto;
    text-align: center;
    font-size: 4vw;
}


.flexbox {
    display: flex;
    width: 80%;
    margin: 0 auto 8% auto;
}

.box {
    width: 30%;
    height: 22vw;
    border-radius: 2%;
}

.box img {
    width: 100%;
    vertical-align: bottom;
    border-radius: 1vw;
    border: 0.1vw solid #505050;
}

.box:nth-of-type(2) {
    margin-left: 5%;
    margin-right: 5%;
}

.box h3 {
    text-align: center;
}

.Back-icon {
    width: 10%;
    height: 3vw;
    text-align: center;
    margin: 0 auto;
    opacity: 0.7;
}

.Back-icon ion-icon {
    color: #202020;
    font-size: 3vw
}

/* フッター */
footer {
    list-style: none;
    width: 80%;
    height: fit-content;
    margin: 8% auto 0 auto;
}

footer section {
    display: flex;
}

.footer-logo {
    width: 15vw;
    height: fit-content;
    list-style: none;
    font-size: 2vw;
    font-weight: bold;
    line-height: 1.1;
}


.footer-logo a {
    text-decoration: none;
    font-size: 2.8vw;
    color: #202020;
    transition: 0.3s;
}

.footer-logo a:hover {
    color: #000;
    transition: 0.3s;
}

.footer-flexbox {
    width: 50%;
    margin-left: auto;
    padding-top: 1%;
}

.footer-flexbox ul {
    display: flex;
}

.footer-flexbox ul li {
    width: calc(100% / 3);
    text-align: center;
}

.footer-flexbox ul li a {
    text-decoration: none;
    color: #202020;
    font-size: 1.8vw;
    transition: 0.5s;
}

.footer-flexbox ul li a:hover {
    color: #000;
    transition: 0.5s;
}

footer p {
    width: 40%;
    text-align: center;
    margin-top: 8%;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 3%;
    font-size: 1.1vw;
    color: #202020;
}