@charset "utf-8";

html {
    scroll-behavior: smooth;
}

*,
::before,
::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

ul,
ol {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

body {
    font-family: "Inter", "Noto Sans JP", sans-serif;
    font-size: 16px;
    color: #5a5a5a;
    line-height: 1;
    background-color: #fafafa;
    width: 100%;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

header,
footer {
    width: 100%;
}

main {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

header {
    height: clamp(3.75rem, 2.87rem + 3.76vw, 6.25rem);
    background-color: #2981c0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    position: fixed;
    inset: 0;
    z-index: 1;
}

.headerLogo img {
    width: clamp(9.375rem, 7.174rem + 9.39vw, 15.625rem);
}

#menuBtnCheck,
.menuBtn {
    display: none;
}

.gNavMenu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gNavMenuList {
    margin-inline-start: clamp(0.625rem, -0.035rem + 2.82vw, 2.5rem);
}

.gNavMenuList a {
    color: #fafafa;
    font-weight: bold;
    font-size: clamp(1rem, 0.824rem + 0.75vw, 1.5rem);
    text-align: center;
    background-image: linear-gradient(#fafafa, #fafafa);
    background-size: 0 3px;
    background-position: left bottom;
    background-repeat: no-repeat;
    transition: all .3s;
}

.gNavMenuList a:hover {
    background-size: 100% 3px;
}

.access {
    margin-block-start: 80px;
}

.access h2 {
    color: #2981c0;
    font-size: clamp(2rem, 1.648rem + 1.5vw, 3rem);
    font-weight: bold;
    text-align: center;
    margin-block-end: 3rem;
}

.access iframe {
    display: block;
    width: clamp(22.5rem, 4.014rem + 78.87vw, 75rem);
    margin: 0 auto 3rem;
    aspect-ratio: 16/9;
}

.access p {
    font-size: clamp(0.75rem, 0.662rem + 0.38vw, 1rem);
    line-height: 1.5rem;
    text-align: center;
    margin-block-end: 160px;
}

footer {
    background-color: #2981c0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-block: 40px 10px;
}

footer .gNavMenuList a {
    font-size: clamp(0.75rem, 0.662rem + 0.38vw, 1rem);
}

.footerLogo {
    margin-block-start: 40px;
}

.footerLogo img {
    width: clamp(9.375rem, 6.074rem + 14.08vw, 18.75rem);
}

.sns {
    width: 20%;
    min-width: 180px;
    margin: 40px auto;
}

.snsMenu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.snsMenuList {
    margin-inline-end: clamp(1.25rem, 0.81rem + 1.88vw, 2.5rem);
    transition: all .5s;
}

.snsMenuList:hover {
    transform: scale(1.1);
}

.snsMenuList:nth-child(4) {
    margin-inline-end: 0;
}

.snsMenuList img {
    width: 100px;
}

footer small {
    color: #fafafa;
    font-size: clamp(0.5rem, 0.412rem + 0.38vw, 0.75rem);
}

#topButton {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px;
    background-color: #f9a638;
    border-radius: 10px;
    transition: all .5s;
}

#topButton:hover {
    transform: scale(1.1);
}

#topButton img {
    width: 30px;
    height: 30px;
}


@media (max-width: 768px) {
    /* ハンバーガーメニュー用 */
    header .menuBtn {
        width: clamp(2.813rem, 1.918rem + 3.82vw, 3.75rem);
        height: clamp(2.813rem, 1.918rem + 3.82vw, 3.75rem);
        background-color: #2981c0;
        position: absolute;
        top: 8px;
        right: 16px;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 999;
    }

    header .menuBtn span,
    header .menuBtn span::before,
    header .menuBtn span::after {
      content: "";
      display: block;
      width: clamp(1.875rem, 0.98rem + 3.82vw, 2.813rem);
      height: clamp(0.125rem, 0.065rem + 0.25vw, 0.188rem);
      background-color: #fafafa;
      position: absolute;
      transition: 0.5s;
    }
  
    header .menuBtn span::before {
      top: clamp(-0.938rem, -0.327rem + -1.27vw, -0.625rem);
    }
  
    header .menuBtn span::after {
      top: clamp(0.625rem, 0.327rem + 1.27vw, 0.938rem);
    }
  
    header #menuBtnCheck:checked~.menuBtn span {
      background-color: transparent;
    }
  
    header #menuBtnCheck:checked~.menuBtn span::before {
      top: 0;
      transform: rotate(405deg);
    }
  
    header #menuBtnCheck:checked~.menuBtn span::after {
      top: 0;
      transform: rotate(-405deg);
    }

    header .gNavMenu {
        display: block;
        position: fixed;
        top: 0;
        left: -100%;
        right: 0;
        bottom: 0;
        text-align: center;
        width: 100vw;
        height: 100vh;
        background-color: #2981c0cc;
        z-index: 100;
        transition: 0.5s;
    }
    
    header .gNavMenuList {
        margin-block: clamp(5rem, 3.807rem + 5.09vw, 6.25rem);
    }

    header .gNavMenuList a {
        font-size: clamp(2rem, 0.092rem + 8.14vw, 4rem);
    }

    header #menuBtnCheck:checked~.gNavMenu {
        left: 0;
    }
}