@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;
}

/* メインセクション */
.main {
    width: 80%;
    margin: 10% auto;
}

.main-title {
    font-size: 2.5vw;
    margin-bottom: 5%;
}

.sectionbox {
    width: 100%;

}

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

.sectionbox h3 {
    margin-top: 3%;
    margin-bottom: 1%;
    font-size: 1.8vw;
}

.sectionbox p {
    font-size: 1.3vw;
}

.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;
}