@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

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

@font-face {
    font-family: MontserratUnderline;
    src: url(../font/MontserratUnderline-VariableFont_wght.ttf);
}

@font-face {
    font-family: MPLUS1-Light;
    src: url(../font/MPLUS1-Light.ttf);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: ZenKakuGothicNew;
    color: #333;
    font-size: max(1.2vw,14px);
}

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

ul {
    list-style-type: none;
}

/* header */
header {
    display: flex;
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0.75% 0;
    z-index: 100;
}

header h1 {
    width: 15%;
    min-width: 150px;
    margin-left: 5%;
    transition: 0.3s;
}

.is-animation h1 a {
    font-size: 0;
    opacity: 0;
    transition: opacity 0.3s,font-size 1s;
}

header h1 a {
    display: block;
    font-size: max(2.2vw,24px);
    font-weight: normal;
    line-height: 2.4;
    font-family: MontserratUnderline;
    text-align: center;
}

header nav {
    width: 20%;
    margin-left: auto;
    margin-right: 10%;
}

header nav ul {
    display: flex;
}

header nav ul li {
    width: calc(100% / 3);
    padding: 3%;
}

header nav ul li a {
    position: relative;
    display: block;
    text-align: center;
    font-size: max(1vw,16px);
    width: 3.8vw;
    min-width: 56px;
    height: 3.8vw;
    min-height: 56px;
    line-height: 3.4;
    background-color: rgba(255, 255, 255, 0.8);
    transition: 0.3s;
    border: 1px solid #4AB6E7;
    border-radius: 50%;
}

header nav ul li a::before {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    width: 3.8vw;
    min-width: 56px;
    height: 3.8vw;
    min-height: 56px;
    background-color: #4AB6E7;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    z-index: -1;
}

header nav ul li a:hover {
    background-color: transparent;
    color: #fff;
    transition: 0.5s;
}

header nav ul li a:hover::before {
    transform: scale(1);
    opacity: 1;
    transition: 0.3s;
}

.is-animation nav {
    position: absolute;
    right: -10%;
    width: 8%;
}

.is-animation nav ul {
    display: block;
}

.is-animation nav ul li {
    margin-top: 20%;
}

.is-animation nav ul li a {
    width: 2vw;
    height: 2vw;
    font-size: max(0.8vw,12px);
    width: 2.2vw;
    min-width: 30px;
    height: 2.2vw;
    min-height: 30px;
    line-height: 2.4;
    transition: 0.3s;
}

.is-animation nav ul li a::before {
    width: 2.2vw;
    min-width: 26.2px;
    height: 2.2vw;
    min-height: 26.2px;
}

/* main */

main {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

main section {
    position: relative;
    margin-top: 15%;
}

.top-banner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 80%;
    height: 12vw;
    overflow: hidden;
    filter: brightness(80%);
    z-index: -1;
}

.top-banner img {
    width: 100%;
}

main section h2 {
    font-weight: normal;
    font-family: MontserratUnderline;
    text-align: center;
    font-size: 2.6vw;
    line-height: 2.2;
    padding: 3.7vw 0 3.2vw 0;
    color: #fff;
}

h3 {
    margin-top: 5%;
    margin-bottom: 2%;
    font-size: min(1.8vw,28px);
    font-family: MPLUS1-Light;
    font-weight: normal;
}

.article-flex {
    display: flex;
}

.article {
    width: 60%;
    margin-bottom: 5%;
}

.article a {
    text-decoration: underline;
    color: #4AB6E7;
    line-height: 2;
}

.article ul {
    margin-top: 5%;
    margin-bottom: 5%;
}

.article ul li {
    line-height: 3;
    border-bottom: 1px solid #666;
    width: 70%;
}

.article ul li span {
    display: inline-block;
    width: 30%;
    margin-right: 10%;
}

.article ul li p {
    display: inline;
}

.article .sub {
    width: 60%;
    margin-top: 0;
    margin-left: 40%;
}

.article .sub li {
    width: 100%;
    border-bottom: 0;
    line-height: 1.7;
}

.article .sub li::before {
    content: "◆";
    font-size: small;
    margin-right: 2%;
}

.article p {
    width: 70%;
    line-height: 1.7;
    text-indent: 1em;
    text-align: justify;
}

.swiper-container {
    position: relative;
    width: 38%;
    margin-left: 2%;
}

.swiper-sticky {
    position: sticky;
    top: 0;
}

.swiper-slide {
    padding: 5% 0;
}

.swiper-slide img {
    width: 100%;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 3vw;
}

.swiper-button-prev {
    left: -10%;
}
.swiper-button-next {
    right: -10%;
}

/* 
.about-text p {
    line-height: 1.7;
    font-size: max(1vw,16px);
}

.about-text p:first-of-type {
    font-size: max(1.25vw,18px);
    margin-bottom: 2%;
} */

footer {
    margin-top: 5%;
    padding: 1% 0;
    border-top: 1px solid#4AB6E7;
}

footer p {
    text-align: center;
    font-size: 14px;
    color: #4AB6E7;
}