@charset "utf-8";

/*-------------------------
  TITLE
-------------------------*/
#service h1,
#about h1,
#news h1,
#contact h1 {
  text-align: center;
  height: 50px;
  margin-top: 20px;
}

#about .title-accent {
  background-color: var(--similar-dark);
}

#about .bgLRextend::before {
  background-color: var(--similar-dark);
}

#news .title-accent {
  background-color: var(--complementary-light);
}

#news .bgLRextend::before {
  background-color: var(--complementary-light);
}

#contact .title-accent {
  background-color: var(--complementary-dark);
}

#contact .bgLRextend::before {
  width: 210px;
  background-color: var(--complementary-dark);
}

/*----- MQ Title -----*/
@media (max-width: 1024px) {
  #service h1,
  #about h1,
  #news h1,
  #contact h1 {
    font-size: 1.6rem;
    height: 40px;
    margin-top: 20px;
  }

  #service h2,
  #about h2,
  #news h2,
  #contact h2 {
    font-size: 1.2rem;
  }

  .title {
    display: inline-block;
    vertical-align: top;
  }

  .title-accent {
    display: inline-block;
    vertical-align: top;
    width: 16px;
    height: 40px;
    margin-right: 6px;
    background-color: var(--similar-light);
  }
}

/*-------------------------
  #SERVICE
-------------------------*/
#service figure {
  height: 460px;
  justify-content: center;
  align-items: center;
}

#service figure h2 {
  margin: 30px 0 15px 0;
}

#service figure p {
  line-height: 2;
  padding-top: 25px;
}

#service .even {
  flex-direction: row-reverse;
}

#service .even figcaption {
  margin-left: 0px;
  margin-right: 50px;
}

/*----- MQ #Service -----*/
@media (max-width: 1024px) {
  #service .section-area {
    height: auto;
  }

  #service figure {
    max-width: 900px;
    height: auto;
    margin: 20px auto;
  }

  #service figure img {
    width: 425px;
  }

  #service figcaption {
    width: 425px;
  }
}

@media (max-width: 960px) {
  #service figure {
    max-width: 800px;
    flex-direction: row;
  }

  #service figure h2 {
    margin: 20px 0 10px 0;
  }

  #service figure p {
    padding-top: 20px;
  }

  #service figure img {
    width: 385px;
  }

  #service figcaption {
    width: 385px;
    margin-left: 50px;
  }
}

@media (max-width: 768px) {
  #service figure {
    max-width: 600px;
  }

  #service figure img {
    width: 285px;
  }

  #service figcaption {
    width: 285px;
  }
}

@media (max-width: 520px) {
  #service figure {
    flex-direction: column;
  }

  #service .even {
    flex-direction: column;
  }

  #service .even figcaption {
    margin-right: 0px;
  }

  #service figure img {
    width: 85vw;
  }

  #service figcaption {
    width: 85vw;
    margin-left: 0;
  }
}

/*-------------------------
  #ABOUT
-------------------------*/
#about .wrapper {
  max-width: 800px;
  margin-bottom: 40px;
}

.aboutTitle {
  display: flex;
  overflow: hidden;
  margin: 50px 0 15px;
}

.aboutTitle span {
  display: block;
  transform: translateY(110%);
  animation: 0.8s textUpAnime linear forwards;
  opacity: 0;
}

@keyframes textUpAnime {
  from {
    transform: translateY(110%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.aboutTitle span:nth-child(1) {
  animation-delay: 0s;
}

.aboutTitle span:nth-child(2) {
  animation-delay: 0.2s;
}
.aboutTitle span:nth-child(3) {
  animation-delay: 0.4s;
}

.aboutTitle span:nth-child(4) {
  animation-delay: 0.6s;
}

#about .lineSlide::before {
  background: var(--similar-dark);
  animation-duration: 1.5s;
}

.aboutTitleTrigger span {
  opacity: 0;
}

#about .image {
  width: 800px;
  margin: 50px auto 0;
}

#about table {
  width: 800px;
  margin: 50px auto 0;
}

#about .map {
  margin: 50px auto 0;
}

/*----- MQ #About -----*/
@media (max-width: 960px) {
  #about .image {
    width: 90vw;
  }
  #about table {
    width: 90vw;
  }
}

@media (max-width: 520px) {
  .aboutTitle span {
    transform: none;
    animation: none;
    opacity: 1;
  }
}

/*-------------------------
  #NEWS
-------------------------*/
#news .container {
  max-width: 500px;
  margin: 0 auto;
  border: none;
}

#news .container ul {
  list-style: none;
}

#news .container li {
  margin-bottom: 45px;
  text-align: center;
}

#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(--similar-dark);
}

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

/*----- MQ #News -----*/
@media (max-width: 520px) {
  #news .container {
    width: 90vw;
  }

  #news .link {
    font-size: 1rem;
  }

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

/*-------------------------
  #SINGLE
-------------------------*/
#single.wrapper {
  max-width: 800px;
  margin: 50px auto 50px;
}

#single h1 {
  font-size: 23px;
}

#single .date {
  margin-top: 20px;
  font-size: 17px;
}

#single p {
  margin-top: 20px;
  font-size: 17px;
}

#single .arrow-btn {
  margin: 40px auto;
}

/*-------------------------
  #CONTACT
-------------------------*/
#contact p.text {
  width: 700px;
  margin: 30px auto 20px;
}

@media (max-width: 520px) {
  #contact p.text {
    width: 85vw;
  }
}
