@charset "UTF-8";

:root {
    --color-bg-gray: #f9f9f9;
    --color-black: #3b3b3b;
    --color-gray: #777777;
    --color-white: #ffffff;
}

/* common */
html {
    font-size: 62.5%;
}

body {
    background-color: var(--color-white);
    color: var(--color-black);
    font-family: "Inter", "Zen Kaku Gothic New", sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
}

h1,h2,h3 {
    font-weight: normal;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    color: var(--color-black);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.bg-gray {
    background-color: var(--color-bg-gray);
}

.bg-white {
    background-color: var(--color-white);
}

.sec__inner {
    padding: 80px 30px 100px;
    max-width: 1080px;
    margin-inline: auto;
}

.sp-only {
  display: block;
}

.pc-only {
  display: none;
}

@media(min-width: 768px) {
  .sp-only {
    display: none;
  }

  .pc-only {
    display: block;
  }
}

/* header */
header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50;
    width: 100%;
    height: 70px;
}

.header__logo {
    position: fixed;
    left: 20px;
    top: 20px;
    width: 27px;
    height: 32px;
}

.header__list {
    letter-spacing: 0.1em;
}

/* navigation */
.nav01d li:nth-of-type(1){
    animation-delay: .2s;
}

.nav01d li:nth-of-type(2){
    animation-delay: .3s;
}

.nav01d li:nth-of-type(3){
    animation-delay: .4s;
}

.nav01d li:nth-of-type(4){
    animation-delay: .5s;
}

#g-nav.panelactive {
    position:fixed;
    z-index: 999;
	top: 0;
	width:100%;
    height: 100vh;
}

.circle-bg{
    position: fixed;
	z-index: 3;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--color-black);
	transform: scale(0);
	right: -15px;
    top: -15px;
    transition: all .6s;
}

.circle-bg.circleactive {
	transform: scale(50);
}

#g-nav__list {
    display: none;
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#g-nav.panelactive #g-nav__list {
     display: block;
}

#g-nav .header__list {
	opacity: 0;
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    letter-spacing: 0.1em;
}

#g-nav.panelactive .header__list {
    opacity: 1;
    flex-wrap: wrap;
}

#g-nav.panelactive .header__item {
    animation-name: gnaviAnime;
    animation-duration: 1s;
    animation-delay: .2s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes gnaviAnime{
    0% {
    opacity: 0;
    }
    100% {
    opacity: 1;
    }
}

#g-nav .header__item {
	text-align: center; 
	list-style: none;
}

#g-nav .header__item a {
    position: relative;
    color: var(--color-white);
	text-decoration: none;
	padding: 10px;
	display: block;
	letter-spacing: 0.1em;
}

#g-nav .header__item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: var(--color-white);
    transition: all .2s;
    transform: scale(0, 1);
    transform-origin: center top;
}

#g-nav .header__item a:hover::after {
    transform: scale(1, 1);
}

.openbtn {
	position: fixed;
	top: 10px;
	right: 10px;
	z-index: 9999;
	cursor: pointer;
    width: 50px;
    height:50px;
}

.openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background-color: var(--color-black);
  	width: 45%;
  }

.openbtn.active span {
    background-color: var(--color-white);
}

.openbtn span:nth-of-type(1) {
	top:15px;
}

.openbtn span:nth-of-type(2) {
	top:23px;
}

.openbtn span:nth-of-type(3) {
	top:31px;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

@media(min-width: 768px) {
    header {
        height: 100px;
    }

    .header__logo {
        width: 34px;
        height: 44px;
        left: 50px;
        top: 40px;
    }

    #g-nav {
        position: absolute;
        right: 50px;
        top: 36px;
    }

    #g-nav__list {
        display: block;
        height: auto;
        position: static;
    }

    #g-nav .header__list {
        display: flex;
        position: static;
        opacity: 1;
        transform: translate(0, 0);
    }

    #g-nav .header__item {
        font-size: 1.4rem;
    }

    #g-nav .header__item:not(:last-of-type) {
        margin-right: 80px;
    }

    #g-nav .header__item a {
        color: var(--color-black);
    }

    #g-nav .header__item a::after {
        background-color: var(--color-black);
    }
}


/* footer */
.footer {
    background-color: var(--color-black);
    color: var( --color-gray);
}

.footer__inner {
    padding: 20px 30px;
}

.footer__list {
    display: flex;
    justify-content: center;
    letter-spacing: 0.1em;
    margin-block-end: 20px;
    opacity: 1;
    transform: translate(0, 0);
}

.footer__item {
    font-size: clamp(1.1rem, 1.027rem + 0.36vw, 1.3rem);
    position: relative;
}

.footer__item:not(:last-of-type) {
    margin-right: 20px;
}

.footer__item a {
    display: block;
    padding: 8px;
    color: var(--color-white);
}

.footer__item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: var(--color-white);
    transition: all .2s;
    transform: scale(0, 1);
    transform-origin: center top;
}

.footer__item a:hover::after {
    transform: scale(1, 1);
}

.footer__copyright {
    text-align: center;
    font-size: 1rem;
}

@media(min-width: 1200px) {
    .footer__inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 1080px;
        margin-inline: auto;
        padding-block: 40px;
    }
    .footer__list {
        margin-block-end: 0;
    }
    .footer__item {
        font-size: 1.3rem;
    }
    .footer__item:not(:last-of-type) {
        margin-right: 40px;
    }
}

#page-top a {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: var(--color-white);
    border-radius: 50%;
    border: 1px solid var(--color-black);
    width: 54px;
    height: 54px;
    color: var(--color-black);
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    opacity: 0.75;
    font-size: 1rem;
    line-height: 1.4;
    letter-spacing: 0.1em;
    transition: all 0.3s;
    padding-block-start: 14px;
}

#page-top a::before {
    content: "";
    position: absolute;
    top: 17px;
    right: 50%;
    display: block;
    width: 6px;
    height: 6px;
    margin-top: -8px;
    border-top: 1px solid var(--color-black);
    border-right: 1px solid var(--color-black);
    transform: rotate(-45deg);
    transform-origin: right top;
}

@media (hover: hover) {
    #page-top a:hover {
        background: var(--color-black);
        border: 1px solid var(--color-white);
        color: var(--color-white);
        opacity: 1;
    }

    #page-top a:hover::before {
        border-top-color: var(--color-white);
        border-right-color: var(--color-white);
    }
}

#page-top {
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    opacity: 0;
    transform: translateY(100px);
}

#page-top.UpMove {
    animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}

#page-top.DownMove{
	animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime{
  from {
  	opacity: 1;
	transform: translateY(0);
  }
  to {
  	opacity: 1;
	transform: translateY(100px);
  }
}

@media(min-width: 768px) {
    #page-top a {
        width: 68px;
        height: 68px;
        font-size: 1.2rem;
    }
    #page-top a::before {
        width: 8px;
        height: 8px;
        margin-top: -6px;
    }
}

/* animation */
.animation-fadein {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s, transform 0.8s;
    transition-timing-function: ease;
}

.animation-fadein.is-show {
    opacity: 1;
    transform: translateY(0);
}