body{
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic Pro', 'Meiryo', 'Yu Gothic', 'Noto Sans CJK JP', sans-serif;
  height: calc(var(--vh, 1vh) * 100);
  width: 100vw;
  position: relative;
  overflow: hidden;
  background: #20232f;
}
#particles-bg{
  width: 100vw;
  height: calc(var(--vh, 1vh) * 100);
  z-index: 0;
  position: absolute;
  top: 0;
  left: 0;
}
#page{
  overflow-y: auto;
  width: 100vw;
  height: calc(var(--vh, 1vh) * 100);
  position: relative;
  z-index: 1; /* particles-bgよりも前面に表示 */
  scroll-behavior: smooth;
}

header {
  position: fixed;
  top: -100px;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid #FFF;
  color: white;
  padding: 10px;
  text-align: left;
  transition: top 0.3s;
  z-index: 10;
}
header h1{
  margin: 0;
  padding: 0;
}
header #header-logo{
  height: 50px;
}

body.sub header{
  top: 0;
}


.hamburger {
  position: fixed;
  top: 14px;
  right: 1rem;
  z-index: 100;
  width: 48px;
  height: 48px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.hamburger__line {
  position: absolute;
  left: 11px;
  width: 26px;
  height: 2px;
  background-color: #FFF;
  transition: all .4s;
}

.hamburger.black .hamburger__line{
  background-color: #000;
}

.hamburger__line:nth-of-type(1) {
  top: 14px;
}
.hamburger__line:nth-of-type(2) {
  top: 23px;
}
.hamburger__line:nth-of-type(3) {
  top: 32px;
}

/* メニューオープン時 */
.hamburger.active .hamburger__line:nth-of-type(1) {
  transform: translateY(9px) rotate(-45deg);
}
.hamburger.active .hamburger__line:nth-of-type(2) {
  opacity: 0;
}
.hamburger.active .hamburger__line:nth-of-type(3) {
  transform: translateY(-9px) rotate(45deg);
}

#nav-menu{
  position: fixed;
  top: 80px;
  right: 1rem;
  background-color: #FFF;
  border: 1px solid #be9c54;
  border-radius: 4px;
  z-index: 101;
  display: none;
}

#nav-menu ul{
  list-style: none;
  margin: 0;
  padding: 0;
}

#nav-menu ul li{

}
#nav-menu ul li a{
  text-decoration: none;
  color: #000;
  display: block;
  padding: 1rem 2rem;
  transition: 0.3s;
}
#nav-menu ul li a:hover{
  background: #be9c54;
  color: #fff;
}

main .mv{
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
  
}

main .mv #mv-content{
  width: 100%;
  height: 100%;
  z-index: 1;
  position: absolute;
  top: 0;
  left: 0;
  text-align: center;
}

main .mv .cats{
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  text-align: center;
  display: flex;
  justify-content: center;
}
main .mv .cat{
  width: 20%;
  max-width: 90px;
  position: relative;
  aspect-ratio: 100 / 53;
}
main .mv .cat img{
  width: 100%;
  position: absolute;
  bottom: -100px;
  left: 0;
}

#mv-content #main-logo{
  width: 80%;
  max-width: 360px;
}
#mv-content .main-title{
  color: #fff;
  padding: 0 1rem;
}

.scroll {
  position: absolute;
  right: 5px;
  bottom: 10%;
  writing-mode: vertical-rl;
  color: #fff;
}
.scroll::before {
  animation: scroll 2s infinite;
  background-color: #fff;
  bottom: -115px;
  content: "";
  height: 100px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  width: 1px;
}


/* 線のアニメーション */
@keyframes scroll {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  51% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}


.sub-section{
  padding: 4rem 0rem;
  width: 100%;
  background-color: #fff;
}

.sub-section.dark{
  background-color: #20232f;
}


.sub-section .section-content{
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

.sub-contant{
  padding: 100px 0;
}

.sub-page{
  padding: 120px 0 40px;
}

.sub-section.sub-page-contant{
  width: 92%;
  max-width: 1000px;
  margin:  0 auto;
  border: 1px solid #be9c54;
}



.title-area{
  position: relative;
  height: 8rem;
}

.title-bg{
  position: absolute;
  background: #be9c54;
  width: 0%;
  height: 100px;
  transition: width 1s ease;
}
.title-bg.visible {
  width: 50%; /* スクロールで100%に伸びる */
  /*min-width: 360px;*/
}
.title-text{
  position: absolute;
}
.sub-title{
  color: #FFF;
  font-weight: bold;
  text-align: left;
  font-size: 2rem;
  padding: 1.6rem 0 0 2rem;
  font-weight: bold;
}

.title-text label{
  color: #fff;
  font-size: 0.8rem;
  display: block;
  padding: 0 0 0 2rem;
  margin-top: -8px;
}

.text-row{
  padding: 0 1.2rem;
}

.services{
  width: 100%;
  justify-content: center;
}
.service-item{
  color: #fff;
  text-align: center;
  display: flex;
  margin-bottom: 2rem;
}
.service-summary{
  text-align: left;
  padding: 1rem;
}
.service-logo{
  width: 200px;
  height: 200px;
}

.service-cp{
  color: #fff;
  padding: 1rem 1rem 4rem;
}

.about-us{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.about-us-logo{
}
.about-us-logo img{
  width: 300px;
  max-width: 300px;
}
.about-us-content{
  width: 60%;
}

.about-us-list{
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;

}

.about-us-list li{
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  border-bottom: 1px solid #efefef;
  padding: 1rem 0.5rem;
}

.about-us-list li:last-child{
  border-bottom: none;
}

.about-us-list li .th-lbl{
  width: 200px;
  color: #20232f;
  font-weight: bold;
}


footer{
  background: #fff;
  padding: 4rem 0 1rem;
}

.copyright{
  text-align: center;
  font-size: 0.8rem;
  color:#999;
}


.fade-section {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-section.visible {
  opacity: 1;
  transform: translateY(0); /* スライドアップして元の位置に */
}

.contact-contant{
  padding: 1rem;
  text-align: left;
  
  color: #fff;
}


.button-email {
    display: block;
    text-align: center;
    padding: 1rem 2rem;
    border: 2px solid #be9c54;
    border-radius: 30px;
    background-color: transparent;
    color: #be9c54;
    font-size: 1.4em;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
    width: 50%;
}
.button-email:hover,.button-email:focus, .button-email:active{
  background-color: #be9c54;
  color: #20232f;
}

.privacy-row{
  color: #fff;
  padding: 1rem 2rem;
}

.privacy-row h2{
  font-size: 1.2rem;
  color: #be9c54;
  padding: 2rem 0 0.4rem;
}


.error-row{
  color: #fff;
  padding: 1rem 2rem;
  text-align: center;
}

.error-row hr{
  margin: 3rem 0;
}

.error-cats{
  padding-top: 3rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid #646776;
}
.error-row .button-email{
  margin: 0 auto;
}

.error-status{
  padding-bottom: 4rem;
}

.error-status h3{
  color: #be9c54;
  font-size: 6rem;
  font-weight: bold;
}
.error-status label{
  color: #be9c54;
  font-size: 1rem;
}

.cat-c{
  position: fixed;
  bottom: 10px;
  left: 10px;
}

.aaa{
  color: transparent;
}

/* Variables */
:root {
    --color-black: #20232f;
    --color-white: #fff;
    --size: 50px; /* Fully responsive */
}

.cat-face {
  position: relative;
  height: var(--size);
  width: calc(var(--size) * 1.13);
  margin: 0 auto;
}

.cat .cat-face{
  height: calc(min(90px, calc(100vw / 5)) * 0.55);
  width: calc(calc(min(90px, calc(100vw / 5)) * 0.55) * 1.13);
  bottom: -14px;
  display: none;
}

/* Face */
.face {
    position: absolute;
    height: 100%;
    width: 100%;
    /*background: var(--color-black);*/
    background: transparent;
    border-radius: 50%;
}

/* Eyes */
.eye {
    position: absolute;
    top: 35%;
    height: 30%;
    width: 31%;
    background: var(--color-white);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

/* Eyelids */
.eye::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 100%;
    border-radius: 0 0 50% 50% / 0 0 40% 40%;
    background: var(--color-black);
    animation: blink 4s infinite ease-in;
}

/* Blink Animation */
@keyframes blink {
    0% { height: 0; }
    90% { height: 0; }
    92.5% { height: 100%; }
    95% { height: 0; }
    97.5% { height: 100%; }
    100% { height: 0; }
}

/* Tips of the eyes */
.eye::before {
    content: '';
    position: absolute;
    top: 60%;
    height: 10%;
    width: 15%;
    background: var(--color-white);
    border-radius: 50%;
}

/* Left Eye */
.eye--left {
    left: 0;
}

.eye--left::before {
    right: -5%;
}

/* Right Eye */
.eye--right {
    right: 0;
}

.eye--right::before {
    left: -5%;
}

/* Pupils */
.eye-pupil {
    position: absolute;
    top: 25%;
    height: 50%;
    width: 20%;
    background: var(--color-black);
    border-radius: 50%;
    animation: look-around 4s infinite;
}

/* Look Around Animation */
@keyframes look-around {
    0% { transform: translate(0) }
    5% { transform: translate(50%, -25%) }
    10% { transform: translate(50%, -25%) }
    15% { transform: translate(-100%, -25%) }
    20% { transform: translate(-100%, -25%) }
    25% { transform: translate(0, 0) }
    100% { transform: translate(0, 0) }
}

/* Left Eye Pupil */
.eye--left .eye-pupil {
    right: 30%;
}

/* Right Eye Pupil */
.eye--right .eye-pupil {
    left: 30%;
}

/* Glare on the pupil */
.eye-pupil::after {
    content: '';
    position: absolute;
    top: 30%;
    right: -5%;
    height: 20%;
    width: 35%;
    border-radius: 50%;
    background: var(--color-white);
}

/* Muzzle */
.muzzle {
    position: absolute;
    top: 60%;
    left: 50%;
    height: 6%;
    width: 10%;
    background: var(--color-white);
    transform: translateX(-50%);
    border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%;
}



@media (max-width: 900px) {
  main .mv{
    height: calc(var(--vh, 1vh) * 100);
  }
  .service-item{
    display: block;
  }

  .about-us{
    display: block;
  }
  .about-us-logo{
    width: 100%;
    text-align: center;
  }
  .about-us-content{
    width: 100%;
    padding: 2rem 1rem 0;
  }
  .about-us-list li .th-lbl{
    width: 50%;
  }

  .title-bg.visible {
    width: 80%; /* スクロールで100%に伸びる */
    /*min-width: 360px;*/
  }

  .button-email{
    width: 80%;
    margin: 0 auto;
  }

}


