@charset "utf-8";

/* For images to not be able to exceed their container */
header img,
footer img,
#g-nav img {
    max-inline-size: 100%;
    max-block-size: 100%;
    height: auto;
    vertical-align: bottom;
}

header a,
footer a,
#g-nav a,
#scrollNav a {
    color: #000;
    text-decoration: none;
}
header a:hover,
footer a:hover,
#g-nav a:hover,
#scrollNav a:hover {
    color: #00B8CE;
    text-decoration: none;
}

:root {
    --root-font-size: 16;
}
:root {
    --spacing: 0.1em;
}
* {
    letter-spacing: var(--spacing);
}

header,
footer,
#g-nav,
#scrollNav {
    color: #000;
    font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", "YuGothic", "メイリオ", "Meiryo", sans-serif;
    font-optical-sizing: auto;
    font-size: calc( 15 / var(--root-font-size) * 1rem );
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.1em;
    --spacing: 0.1em;
    line-height: 1;
}
@media screen and (max-width: 960px) {
header,
footer,
#g-nav,
#scrollNav {
    font-size: calc( 13.5 / var(--root-font-size) * 1rem );
}
}

.pc {
    display: block;
}
.sp {
    display: none;
}
@media screen and (max-width: 960px) {
.pc {
    display: none;
}
.sp {
    display: block;
}
}

/*----- header -----*/
header {
    position: relative;
    width: calc(100% - 10vw);
    background: #FFF;
    padding: 50px 5vw 25px;
}
header .logo {
    width: 24vw;
    max-width: 360px;
    min-width: 270px;
    height: 6vw;
    max-height: 90px;
    min-height: 67.5px;
    margin: 0 auto;
}
header ul.sns {
    position: absolute;
    top: 50px;
    right: 5vw;
    display: flex;
    justify-content: flex-end;
    padding: 30px 0;
}
header ul.sns li {
    margin: 0 0 0 min(1vw, 15px);
}
header nav {
}
header nav ul {
    display: flex;
    justify-content: center;
    width: 90%;
    margin: 50px auto 0;
}
header nav ul li {
    line-height: 30px;
    margin: 0 min(2vw, 30px);
}

@media screen and (max-width: 960px) {
header {
    position: relative;
    width: calc(100% - 10vw);
    background: #FFF;
    padding: min(5vw, 30px) 5vw;
    margin: 0 auto;
}
header .logo {
    width: 180px;
    max-width: inherit;
    min-width: inherit;
    height: 45px;
    max-height: inherit;
    min-height: inherit;
    margin: 0 auto;
}
}

/*----- footer -----*/
footer {
    width: 100%;
    background: #FFF;
    padding: 25px 0 50px;
}
footer div.logo {
    width: 18vw;
    max-width: 270px;
    min-width: 202.5px;
    text-align: center;
    margin: 25px auto;
}
footer ul {
    display: flex;
    justify-content: center;
    padding: 25px 0;
}
footer ul li {
    line-height: 30px;
    margin: 0 0.5em;
}
footer ul.sns li {
    margin: 0 15px;
}
footer .copyright {
    width: 100%;
    font-family: "Montserrat", sans-serif;
    font-size: calc( 12 / var(--root-font-size) * 1rem )!important;
    font-weight: 500;
    line-height: 75px;
    text-align: center;
    text-indent: 0.1em;
}

@media screen and (max-width: 960px) {
footer {
    width: 100%;
    background: #FFF;
    padding: 25px 0 50px;
}
footer div.logo {
    width: 180px;
    max-width: inherit;
    min-width: inherit;
    text-align: center;
    margin: 15px auto;
}
footer ul {
    display: flex;
    justify-content: center;
    padding: 15px 0;
}
footer ul li {
    font-size: calc( 12 / var(--root-font-size) * 1rem );
    line-height: 30px;
    margin: 0 0.5em;
}
footer ul.sns li {
    margin: 0 7.5px;
}
footer .copyright {
    width: 100%;
    font-family: "Montserrat", sans-serif;
    font-size: calc( 10.5 / var(--root-font-size) * 1rem )!important;
    font-weight: 500;
    line-height: 50px;
    text-align: center;
    text-indent: 0.1em;
}
}

.grecaptcha-badge {visibility: hidden;}

/*----- sp nav -----*/
/*アクティブになったエリア*/
#g-nav {
    /*position:fixed;にし、z-indexの数値を小さくして最背面へ*/
    position: fixed;
    z-index: -1;
    /*ナビのスタート位置と形状*/
    top: 0;
    right: -125%;
    width: 75%;
    height: 100vh;/*ナビの高さ*/
    max-height: inherit;
    background: #00B8CE;
    color: #FFF;
    transition: all 0.5s;
}
/*アクティブクラスがついたら透過なしにして最前面へ*/
#g-nav.panelactive {
    right: 0;
    z-index: 999;
    background: #00B8CE;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list {
    display: flex;
    align-items: center;
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    max-height: inherit;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav div.inner {
    width: 100%;
    margin: 50px auto;
    opacity: 0;/*はじめは透過0*/
}
/*背景が出現後にナビゲーションを表示*/
#g-nav.panelactive div.inner {
    opacity: 1;
}
#g-nav a {
    color: #FFF;
}
#g-nav ul {
    padding: 0 10vw;
}
#g-nav ul li {
    color: #FFF;
    font-size: calc( 13.5 / var(--root-font-size) * 1rem );
    font-weight: 500;
    line-height: 1.5;
    padding: 10px 0;
}
#g-nav ul.sub {
    padding: 50px 10vw 25px;
}
#g-nav ul.sub li {
    font-size: calc( 12 / var(--root-font-size) * 1rem );
    font-weight: 400;
    padding: 5px 0;
}
#g-nav ul.sns {
    display: flex;
    padding: 0 10vw;
}
#g-nav ul.sns li {
    width: 20px;
    margin: 0 10px 0 0;
}

/*ボタンの設定*/
.openbtn {
    position: fixed;
    z-index: 10000;/*ボタンを最前面に*/
    top: min(5vw, 30px);
    right: min(5vw, 30px);
    display: inline-block;
    width: 45px;
    height: 45px;
    background: #00B8CE;
    border-radius: 10px;
    cursor: pointer;
    appearance: none;
}
.openbtn.active {
}
.openbtn p {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 5px;
    color: #FFF;
    font-family: "Montserrat", sans-serif;
    font-size: calc( 9 / var(--root-font-size) * 1rem );
    font-weight: 500;
    line-height: 15px;
    text-align: center;
    text-indent: 0.1em;
    margin: 0 auto;
}
.openbtn.active p {
    color: #FFF;
}
.openbtn span {
    display: inline-block;
    box-sizing: border-box;
    position: absolute;
    left: 0;
    right: 0;
    width: 30px;
    height: 1px;
    background: #FFF;
    margin: 0 auto;
    transition: all 0.5s;
}
.openbtn.active span {
    background: #FFF;
}
.openbtn span:nth-of-type(1) {
    top: 0;
    bottom: 20px;
    margin: auto;
    animation: menu-bar1 0.5s forwards;
}
.openbtn span:nth-of-type(2) {
    top: 0;
    bottom: 5px;
    margin: auto;
    animation: menu-bar2 0.5s forwards;
}
.openbtn.active span:nth-of-type(1) {
    animation: menu-active-bar1 0.5s forwards;
}
.openbtn.active span:nth-of-type(2) {
    animation: menu-active-bar2 0.5s forwards;
}

#scrollNav {
    position: fixed;
    left: 0;
    bottom: -50px;
    z-index: 9999;
    width: 100%;
    height: 50px;
}
#scrollNav div {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 10vw);
    height: 50px;
    background: #00B8CE;
    padding: 0 5vw;
    transition: all 0.5s;
}
#scrollNav div:hover {
    background: #CBAF71;
}
#scrollNav div a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#scrollNav div p {
    color: #FFF;
    font-family: "Montserrat", "Noto Sans JP", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", "YuGothic", "メイリオ", "Meiryo", sans-serif;
    font-size: calc( 13.5 / var(--root-font-size) * 1rem );
    font-weight: 500;
    text-align: center;
    text-indent: 0.1em;
}

@keyframes menu-bar1 {
  0% {
    transform: translateY(4px) rotate(30deg);
  }
  50% {
    transform: translateY(4px) rotate(0);
  }
  100% {
    transform: translateY(0) rotate(0);
  }
}
@keyframes menu-bar2 {
  0% {
    transform: translateY(-4px) rotate(-30deg);
  }
  50% {
    transform: translateY(-4px) rotate(0);
  }
  100% {
    transform: translateY(0) rotate(0);
  }
}
@keyframes menu-active-bar1 {
  0% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(4px) rotate(0);
  }
  100% {
    transform: translateY(4px) rotate(30deg);
  }
}
@keyframes menu-active-bar2 {
  0% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-4px) rotate(0);
  }
  100% {
    transform: translateY(-4px) rotate(-30deg);
  }
}
