@charset "utf-8";

/*-------------------------
  BODY
-------------------------*/
body {
  font-family: 'M PLUS 2', 'Helvetica Neue', 'Helvetica', 'Hiragino Sans',
    'Hiragino Kaku Gothic ProN', 'Arial', 'Yu Gothic', 'Meiryo', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: #333;
}

img {
  width: 100%;
}

.wrapper {
  width: 85vw;
  margin: 0 auto;
}

@media (max-width: 960px) {
  .wrapper {
    width: 90vw;
  }
}

/* Color Body
-------------------------*/
:root {
  --basic: #d9e367;
  --basic-light: #e2f2f4;
  --basic-dark: #9dbe47;

  --similar-light: #57b03e;
  --similar-dark: #6e7d6a;
  --complementary-light: #b5a1e6;
  --complementary-dark: #3f3eb0;
}

/*-------------------------
  HEADER
-------------------------*/
.header-area {
  height: 100px;
  width: 85vw;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.header-main {
  display: flex;
  align-items: center;
}

/* Title Header
-------------------------*/
.header-logo {
  width: clamp(80px, (7vw), 100px);
}

.header-title {
  font-size: clamp(24px, (2.7vw), 32px);
  margin-left: 20px;
}

.header-title span {
  font-size: 0.7em;
  margin-right: 7px;
}

/* Navi Header
-------------------------*/
.header-navi {
  margin-left: auto;
}

.header-navi ul {
  display: flex;
  list-style: none;
}

.header-navi a {
  font-size: clamp(12px, (1.4vw), 18px);
  font-weight: bold;
  white-space: nowrap;
  position: relative;
  margin: 0 5px;
  padding: 10px;
}

.header-navi a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  height: 2px;
  background: var(--similar-light);
  transition: all 0.3s ease;
  transform: scale(0, 1);
  transform-origin: left top;
}

.header-navi a.current::after,
.header-navi a:hover::after {
  transform: scale(1, 1);
}

/*----- MQ Header -----*/
@media (max-width: 960px) {
  .header-area {
    height: 80px;
    width: 90vw;
  }

  .header-title {
    margin-left: 18px;
  }

  .header-title span {
    margin-right: 6px;
  }
}

@media (max-width: 520px) {
  .header-title {
    font-size: 1.6rem;
    margin-left: 16px;
  }

  .header-title span {
    margin-right: 5px;
  }

  .header-navi {
    position: fixed;
    top: 0px;
    width: 100vw;
    height: 100vh;
    background: #fff;
    opacity: 0.9;
    right: -100%;
    transition: all 0.4s ease;
    z-index: 80;
  }

  .header-navi.open {
    right: 0;
  }

  .header-navi ul {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .header-navi a {
    display: block;
    padding: 25px;
    font-size: 1.4rem;
    text-align: center;
  }

  .header-navi a::after {
    display: none;
  }

  .header-navi a.current::after,
  .header-navi a:hover::after {
    transform: scale(1, 1);
  }
}

/*-------------------------
  DRAWER
-------------------------*/
#drawer-btn {
  display: none;
}

/*----- MQ Drawer -----*/
@media (max-width: 520px) {
  .drawer-menu {
    display: flex;
    align-items: center;
    width: 90vw;
  }

  #drawer-btn {
    display: block;
    position: relative;
    background: #ccc;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 5px;
    margin-left: auto;
    z-index: 90;
  }

  #drawer-btn span {
    display: inline-block;
    transition: all 0.15s ease;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background: #fff;
    width: 45%;
  }

  #drawer-btn span:nth-of-type(1) {
    top: 15px;
  }

  #drawer-btn span:nth-of-type(2) {
    top: 23px;
  }

  #drawer-btn span:nth-of-type(3) {
    top: 31px;
  }

  #drawer-btn.active span:nth-of-type(1) {
    top: 23px;
    transform: rotate(-45deg);
  }

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

  #drawer-btn.active span:nth-of-type(3) {
    top: 23px;
    transform: rotate(45deg);
  }
}

/*-------------------------
  MAIN
-------------------------*/
.main {
  width: 100vw;
  position: relative;
  overflow: hidden;
}

.main-container {
  position: absolute;
  top: 25%;
  left: 30%;
  transform: translate(-50%, -50%);
  width: 45vw;
  font-size: 2.2vw;
  font-weight: bold;
  font-family: 'M PLUS 2';
  color: var(--similar-light);
  z-index: 1;
}

.main-container strong {
  font-size: 4.5vw;
  white-space: nowrap;
}

.main-container p {
  font-size: 1.2vw;
  text-align: center;
}

/* Contact Main
-------------------------*/
.main-contact-btn {
  position: absolute;
  width: 12.5vw;
  top: 30%;
  left: 70%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.main-contact-btn:hover {
  transform: translate(-50%, -50%) scale(0.95);
}

/*----- Anime Contact -----*/
.flipContact {
  animation-name: flipContactAnime;
  animation-duration: 3s;
  animation-fill-mode: forwards;
  perspective-origin: left center;
  opacity: 0;
}

@keyframes flipContactAnime {
  from {
    transform: translate(-50%, -50%) perspective(600px) translate3d(0, 0, 0)
      rotateY(90deg);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%) perspective(600px) translate3d(0, 0, 0)
      rotateY(0deg);
    opacity: 1;
  }
}

/* Bird Main
-------------------------*/
.bird1 {
  position: absolute;
  width: 3.4vw;
  top: 45%;
  left: 85%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.bird2 {
  position: absolute;
  width: 4vw;
  top: 50%;
  left: 80%;
  transform: translate(-50%, -50%);
  z-index: 4;
}

/*----- Anime Bird -----*/
.flipBird {
  animation-name: flipBirdAnime;
  animation-duration: 3s;
  animation-fill-mode: forwards;
  perspective-origin: right center;
  opacity: 0;
}

@keyframes flipBirdAnime {
  from {
    transform: translate(-50%, -50%) perspective(600px) translate3d(0, 0, 0)
      rotateY(90deg);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%) perspective(600px) translate3d(0, 0, 0)
      rotateY(0deg);
    opacity: 1;
  }
}

/*----- MQ Main -----*/
@media (max-width: 520px) {
  .main {
    overflow: visible;
  }

  .main-container {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1rem;
    color: var(--similar-light);
    font-weight: bold;
    font-family: 'M PLUS 2';
    z-index: 1;
    width: 320px;
  }

  .main-container strong {
    font-size: 2rem;
  }

  .main-container p {
    position: absolute;
    top: 200px;
    text-align: left;
    font-size: 1rem;
  }

  .main-contact-btn {
    display: none;
  }

  .bird1 {
    display: none;
  }

  .bird2 {
    display: none;
  }
}

@media (max-width: 380px) {
  .main-container p {
    top: 180px;
  }
}

/*-------------------------
  SERVICE
-------------------------*/
.service {
  padding-top: 20px;
}

.service .wrapper {
  max-width: 1450px;
}

.service .section-area {
  height: auto;
}

.service ul {
  display: flex;
  padding-bottom: 30px;
  justify-content: space-between;
  align-items: start;
}

.service li {
  list-style: none;
  width: 250px;
}

.service dl {
  text-align: center;
}

.service dt {
  margin-bottom: 20px;
  font-size: 1.2rem;
  font-weight: bold;
}

.service dd {
  margin-bottom: 20px;
}

.service-text {
  text-align: left;
  margin: 0 auto;
  width: 80%;
}

.service-img {
  height: 100px;
}

.service .arrow-btn {
  margin: 0 auto 20px;
}

/*----- MQ Service -----*/
@media (max-width: 960px) {
  .service dt {
    font-size: clamp(16px, (1.3vw), 19.2px);
  }
}

@media (max-width: 520px) {
  .service {
    margin-top: 120px;
  }

  .service .wrapper {
    max-width: 1450px;
  }

  .service ul {
    flex-flow: column;
    padding-bottom: 0px;
    align-items: center;
  }

  .service li {
    list-style: none;
    width: 300px;
  }

  .service dl {
    text-align: center;
  }

  .service dt {
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: bold;
  }

  .service dd {
    margin-bottom: 20px;
  }

  .service-text {
    margin-bottom: 20px;
  }

  .service-img {
    height: 100px;
  }

  .service .arrow-btn {
    margin-bottom: 20px;
  }
}

/*-------------------------
  ABOUT
-------------------------*/
.about {
  width: 100vw;
  padding: 20px 0 20px;
  background-color: var(--basic-light);
}

.about .section-area {
  max-width: 1110px;
  height: 517.5px;
}

.about figure img {
  height: 397.5px;
}

figcaption {
  height: 397.5px;
}

.about .arrow-btn {
  transform: translate(720px, -110px);
}

/*----- MQ About -----*/
@media (max-width: 1300px) {
  .about .arrow-btn {
    transform: translate(710px, -100px);
  }
}

@media (max-width: 1200px) {
  .about .arrow-btn {
    transform: translate(680px, -90px);
  }
}

@media (max-width: 1100px) {
  .about .arrow-btn {
    transform: translate(650px, -60px);
  }
}

@media (max-width: 1024px) {
  .about .wrapper {
    width: 90vw;
  }

  .about .section-area {
    height: auto;
  }

  .about .arrow-btn {
    transform: translate(0px, 0px);
    margin: 20px auto 0;
  }
}

@media (max-width: 960px) {
  .about {
    padding-top: 20px;
    background-color: var(--basic-light);
    width: 100vw;
  }

  .about .section-area {
    max-width: 1110px;
  }

  .about figure img {
    height: auto;
  }
}

/*-------------------------
  NEWS
-------------------------*/
.news {
  padding: 20px 0;
}

.news-container {
  width: 720px;
  height: 360px;
  margin: 0 auto;
  border: 1px var(--similar-light) solid;
  border-radius: 2px;
}

.news-container ul {
  list-style: none;
  margin: 0;
  text-align: left;
}

.news-container li {
  margin: 0 0 45px 150px;
}

.news-container li:first-child {
  margin-top: 45px;
}

.news-link {
  font-size: 1.1rem;
  padding: 5px;
  transition: all 0.3s ease;
}

.news-link:hover {
  text-decoration: underline;
  color: var(--complementary-light);
}

.news-date {
  font-size: 1.1rem;
  margin-right: 10px;
}

.news-container .arrow-btn {
  margin: 0 auto;
}

/*----- MQ News -----*/
@media (max-width: 960px) {
  .news {
    padding: 20px 0;
  }

  .news-container {
    width: 90vw;
    height: auto;
    margin: 0 auto;
    border: 1px var(--similar-light) solid;
    border-radius: 2px;
  }

  .news-container ul {
    list-style: none;
    margin: 0;
    text-align: center;
  }

  .news-container li {
    margin: 0 0 45px;
  }

  .news-container li:first-child {
    margin-top: 45px;
  }

  .news-link {
    font-size: 1rem;
    padding: 5px;
    transition: all 0.3s ease;
  }

  .news-link:hover {
    text-decoration: underline;
    color: var(--complementary-light);
  }

  .news-date {
    font-size: 1rem;
    margin-right: 0px;
  }

  .news-container .arrow-btn {
    margin: 0 auto 20px;
  }
}

/*-------------------------
  FOOTER
-------------------------*/
footer {
  background-color: var(--basic-dark);
  color: #fff;
  width: 100vw;
}

footer a {
  color: #fff;
}

.footer-area {
  height: 350px;
  display: flex;
  align-items: center;
}

/* title Footer
-------------------------*/
.footer-title > h2 {
  margin-bottom: 15px;
}

.footer-title address {
  font-style: normal;
  margin-bottom: 15px;
}

.footer-title dl {
  margin-bottom: 15px;
}

.footer-title dl dt,
.footer-title dl dd {
  display: inline-block;
}

.footer-title dl dt::after {
  content: ':';
  padding: 0 10px;
}

.footer-title a:hover {
  text-decoration: underline;
}

/* Navi Footer
-------------------------*/
.footer-navi {
  margin-left: auto;
  width: 250px;
}

.footer-navi ul {
  list-style: none;
  text-align: left;
  padding: 5px;
}

.footer-navi li {
  margin: 10px 0;
}

.footer-navi a {
  padding: 5px;
  font-size: 1.1rem;
}

.footer-navi a:hover {
  color: var(--complementary-dark);
}

/* Copy Footer
-------------------------*/
.recaptcha {
  text-align: center;
  font-size: 0.7rem;
  padding-bottom: 15px;
}

.recaptcha a {
  font-size: 0.8rem;
}

.recaptcha a:hover {
  text-decoration: underline;
}

.copy {
  text-align: center;
  font-size: 0.8rem;
  padding-bottom: 30px;
}

/*----- MQ Footer -----*/
@media (max-width: 960px) {
  .footer-navi {
    width: 200px;
  }
}

@media (max-width: 520px) {
  footer {
    background-color: var(--basic-dark);
    color: #fff;
    width: 100vw;
  }

  footer a {
    color: #fff;
  }

  .footer-area {
    height: auto;
    flex-direction: column;
  }

  .footer-title {
    text-align: center;
  }

  .footer-title > h2 {
    margin: 30px 0px 20px;
  }

  .footer-title address {
    display: none;
  }

  .footer-title dl {
    display: none;
  }

  .footer-title dl dt,
  .footer-title dl dd {
    display: inline-block;
  }

  .footer-title dl dt::after {
    content: ':';
    padding: 0 10px;
  }

  .footer-title a:hover {
    text-decoration: underline;
  }

  .footer-navi {
    margin: 0 auto 20px;
  }

  .footer-navi ul {
    text-align: center;
  }

  .footer-navi li {
    margin: 10px 0;
  }

  .footer-navi a {
    padding: 5px;
    font-size: 1.1rem;
  }

  .footer-navi a:hover {
    color: var(--complementary-dark);
  }

  .recaptcha {
    text-align: center;
    font-size: 0.7rem;
    padding-bottom: 15px;
  }

  .recaptcha a {
    font-size: 0.8rem;
  }

  .recaptcha a:hover {
    text-decoration: underline;
  }

  .copy {
    text-align: center;
    font-size: 0.8rem;
    padding-bottom: 30px;
  }
}
