@charset "UTF-8";
/* CSS Document */
html {
  font-size: 62.5%; /* 16px * 62.5% = 10px */
  width: 100%;
  box-sizing: border-box;
}

body {
  color: #333; /* RGB */
  font-family: "Noto Sans Japanese", Arial, sans-serif;
  font-weight: 400;
  font-size: 1.8em;
  line-height: 2.8rem;
  text-align: left;
  overflow-wrap: anywhere; 
  word-break: normal; 
  line-break: strict; 
}

a:hover {
  opacity: 0.5;
  transition: all 0.3s;
}

.none {
  display: none;
}

p {
  letter-spacing: 0.16rem;
}

/* header */
header {
  width: 100%;
  margin: 0 auto;
  height: 80px;
  justify-content: center;
  align-items: center;
  position: fixed;
  background-color: #fff;
  z-index: 9999; 
}

.head-box {
  margin: 0 auto;
  display: flex;
}

.head-box span {
  font-size: 1.4rem;
}

.company-name {
  font-size: 2.0rem;
  padding-top: 7px;
  color: #333;
  margin-left: 140px;
  font-weight: 700;
}

header ul {
  display: flex;
  align-items: center;
  height: 80px;
}

header ul li {
  padding-left: 40px;
}

header ul li:first-child {
  padding-left: 0px;
}

header ul li img {
  margin-top: 5px;
}

header button {
  display: none;
}

header a {
  display: block;
  text-decoration: none;
  color: #333;
  margin-right: auto;
  transition: ease .2s;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

header img {
  width: 50px;
}

.gnav {
  display: flex;
  margin-right: 140px;
}

@media (max-width:1060px){ 
  .company-name {
    margin-left: 80px;
  }

  .gnav {
    margin-right: 80px;
  }
}

@media (max-width:960px){ 
  header {
    width: 100%;
    height: 80px;
    padding: 0px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }

  .head-box {
    max-width: 960px;
    padding: 10px 25px 0;
    margin: 0 auto;
    display: flex;
  }

  /* ボタンの中身 */
  .gnav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255,255,255,1);
    display: none;
    z-index: 9990;
    background-image: url(../imgs/nav_bg.png);
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 550px auto; 
  }

  .gnav-box{
    display: block;
  }

  .gnav ul {
    display: block;
    padding-top: 80px;
  }
  
  .gnav ul li {
    text-align: justify;
    margin: 10px;
    padding-left: 50px;
  }

  header ul li:first-child {
    padding-left: 50px;
  }

  header ul li img {
    padding-top: 0;
  }

  .gnav ul li:before {
    display: none;
  }
  
  .gnav ul li a {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    display: block;
    padding:25px 20px 25px 20px; /*カーソル範囲*/
    transition: ease .1s;
  }

  .gnav ul li a img {
    width: 30px;
    height: 30px;
  }
  /* ボタンの中身  ここまで*/

  header button {
    display: block;
  }

  /*ハンバーガーボタン*/
  .openbtn1{
    position: relative;
    cursor: pointer;
    width: 50px;
    height:2px;
    border-radius: 5px;
    border: none;
    background-color: transparent;
    z-index: 9999;
    padding: 30px;
  }

  .openbtn1:hover {
    opacity: 0.5;
  }

  @media (max-width:500px) {
    .gnav ul li {
      text-align: justify;
      margin: 10px;
      padding-left: 0px;
    }
  
    header ul li:first-child {
      padding-left: 0px;
    }
  }  

/*ボタン内側*/
  .openbtn1 span{
    display: inline-block;
    transition: all .2s;
    position: absolute;
    right: 0px;
    height: 5px;
    border-radius: 2px;
    background: #00a9e3;
    width: 100%;
    }

  .openbtn1 span:nth-of-type(1) {
    top:20px; 
  }

  .openbtn1 span:nth-of-type(2) {
    top:40px;
  }

/*activeクラスが付与されると線が回転して×に*/
  .openbtn1.active span:nth-of-type(1) {
    top: 24px;
    right: 0px;
    transform: translateY(6px) rotate(-45deg);
    width: 100%;
  }

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

  .openbtn1.active span:nth-of-type(3) {
    top: 36px;
    right: 0px;
    transform: translateY(-6px) rotate(45deg);
    width: 100%;  
  }

  .head-box span {
    font-size: 1.2rem;
  }

  .company-name {
    font-size: 1.4rem;
    padding-top: 12px;
    color: #333;
    margin-left: 0px;
    line-height: normal;
  }
}
/* ハンバーガーボタン ここまで */

/* footer */
footer {
  width: 100%;
  background-color: #efeeea;
}

.footer-inner {
  padding: 60px 140px 15px;
  max-width: 1160px;
  margin: 0 auto;
}

.footer-namebox {
  display: flex;
  max-width: 1160px;
}

.footer-name {
  margin-right: auto;
  font-size: 2.0rem;
  font-weight: 800;
  display: flex;
  gap: 10px;          
}

.footer-name a {
  text-decoration: none;
  display: inline;
  padding: 0;
}

.footer-name img {
  width: 80px;
  display: block;
}

.footer-friend {
  font-size: 1.8rem;
  font-weight: 700;
}

footer a {
  display: block;
  color: #333;
  text-decoration: underline;
  text-underline-offset: 5px; 
  font-weight: 700;
}

.footer-bubble {
  display: flex;
  justify-content: center;
  flex-direction: row-reverse;
}

.ayame-chan img {
  width: 80px;
  padding-top: 160px;
}

.bubble img {
  width: 280px;
}

.friend-web {
  padding-top: 20px;
}

/* copy */
footer small {
  font-size: 1.5rem;
  display: block;
  text-align: center;
}

@media (max-width:960px) {
  footer {
    max-width: 1160px;
    width: 100%;
    margin: 0 auto;
  }
  
  .footer-inner {
    padding: 60px 25px 15px;
    max-width: 1160px;
    margin: 0 auto;
  }

  .footer-namebox {
    display: block;
    max-width: 325px;
  }

  .footer-name {
    margin-right: auto;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 50px;
    display: block;
  }

  .footer-friend {
    font-size: 1.4rem;
    font-weight: 700;
  }
  
  .footer-bubble {
    display: block;
    justify-content: center;
    flex-direction: row-reverse;
    text-align: center;
  }

  .ayame-chan img {
    width: 80px;
    padding-top: 0px;
  }

  .bubble img {
  width: 230px;
  }
  
  /* copy */
  footer small {
    font-size: 1rem;
    display: block;
  }
}

/* メインビジュアルその場でふわっと */
.fadeIn{
  animation-name:fadeInAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
  opacity:0;
  }
  
  @keyframes fadeInAnime{
    from {
      opacity: 0;
    }
  
    to {
      opacity: 1;
    }
  }
  
/* 404 */
.sorry-img-box {
  padding-top: 125px;
  max-width: 1440px;
  margin: 0 auto;
}

.sorry-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sorry-img-box img {
  width: 100%;
}

.sorry {
  padding: 50px 0 50px;
}

.sorry  h2 {
  text-align: center;
  font-weight: 700;
}

.sorry-nessage  p {
  text-align: center;
  padding: 50px 0;
  color: #111;
  font-weight: 500;
}

.sorry-nessage  a {
  color: #333;
  font-weight: 700;
}

.sorry-nessage  a :hover {
  color: #fff;
}

@media (max-width:768px) {
  .sorry-img-box {
    padding-top: 60px;
  }
}

  /* 事故のボタン */
.accident-inner a {
    width: 300px;
    height: 85px;
    background-color: #fff;
    color: #333;
    border: none;
    border-radius: 50px; 
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin: 0 auto; 
    display: block; 
    text-align: center; 
    font-family: "Noto Sans Japanese", Arial, sans-serif;
    font-size: 2.4rem;
    letter-spacing: 0.16em;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .accident-inner a:hover {
    background-color: #e0e0e0; 
  }
  
  @media (max-width:768px) {
    .accident-inner a {
      width: 200px;
      height: 60px;
      background-color: #fff;
      color: #333;
      border: none;
      border-radius: 50px; 
      cursor: pointer;
      transition: background-color 0.3s;
      margin: 0 auto;
      display: block; 
      text-align: center; 
      line-height: 60px;
      letter-spacing: 0.16em;
      font-weight: 700;
      font-size: 1.8rem;
      text-decoration: none;
    }
  }

/* ヘッダーから飛んだ時の位置調整 */
#about {
  scroll-margin-top: 80px; 
}
#therapy {
  scroll-margin-top: 80px; 
}
#store {
  scroll-margin-top: 80px; 
}

