@charset "utf-8";

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

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

/*-------------------------
  SECTION
-------------------------*/
.section-area {
  height: 460px;
}

.section-area .section-title {
  position: relative;
  height: 80px;
  text-align: center;
}

.section-title span {
  position: absolute;
  font-family: 'Saira';
  font-size: 16px;
  top: 50px;
  left: 50%;
  transform: translate(-50%, -50%);
}

.section-title span::before {
  position: absolute;
  content: '';
  width: 100px;
  height: 2px;
  background-color: var(--similar-light);
  left: 50%;
  top: -3px;
  transform: translateX(-50%);
  margin-bottom: 5px;
}

/*----- MQ Section -----*/
@media (max-width: 960px) {
  .section-area {
    height: auto;
    margin: 0 auto;
  }

  .section-area .section-title {
    font-size: clamp(19px, (2vw), 24px);
  }

  .section-title span::before {
    width: clamp(80px, (7vw), 100px);
  }
}

/*-------------------------
  FIGURE
-------------------------*/
figure {
  display: flex;
}

figure img {
  width: 530px;
}

figcaption {
  width: 530px;
  height: auto;
  margin-left: 50px;
}

figcaption > h3 {
  margin-bottom: 10px;
}

.little-number {
  font-size: 10px;
}

/*----- MQ Figure -----*/
@media (max-width: 1024px) {
  figure img {
    height: auto;
  }
}

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

  figure img {
    width: 90vw;
    height: auto;
    align-items: center;
  }

  figcaption {
    margin-left: 0px;
    width: 90vw;
    height: auto;
    align-items: center;
  }

  figcaption > h3 {
    margin-top: 20px;
  }

  .little-number {
    font-size: 10px;
  }
}

/*-------------------------
  BREAK
-------------------------*/
.br-mb {
  display: none;
}

/*----- MQ Break -----*/
@media (max-width: 520px) {
  .br-mb {
    display: inline;
  }
}

/*-------------------------
  BUTTON
-------------------------*/

/* ArrowButton Button
-------------------------*/
.arrow-btn {
  display: block;
  border: 1px var(--similar-light) solid;
  border-radius: 2px;
  text-align: center;
  position: relative;
  width: 250px;
  padding: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.arrow-btn::before {
  content: '';
  position: absolute;
  background-color: var(--similar-light);
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  transform: translateX(-100%);
  transition: all 0.3s ease;
  z-index: -1;
}

.arrow-btn:hover {
  color: #fff;
}

.arrow-btn:hover:before {
  transform: translateX(0%);
}

.arrow-btn-img {
  position: absolute;
  bottom: 20px;
  right: 30px;
  transition: all 0.3s ease;
}

.arrow-btn:hover .arrow-btn-img {
  right: 1px;
}

/*-------------------------
  TABLE
-------------------------*/
table {
  border-collapse: collapse;
}
table th,
table td {
  border: solid 1px #333;
  padding: 10px;
}

table td {
  text-align: left;
}

table tr td:nth-of-type(1) {
  text-align: center;
}

/*-------------------------
  MAP
-------------------------*/
.map {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
  max-width: 800px;
  margin: 10px auto;
  text-align: center;
}

.map iframe,
.map object,
.map embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*-------------------------
  ANIME
-------------------------*/

/* Fade Anime
-------------------------*/
.fadeTrigger {
  opacity: 0;
}

.fade {
  animation-name: fadeAnime;
  animation-duration: 3s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeAnime {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* FadeTop Anime
-------------------------*/
.fadeTop {
  animation-name: fadeTopAnime;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeTopAnime {
  from {
    opacity: 0;
    transform: translate(-50%, -70%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* FadeLeft Anime
-------------------------*/
.fadeLeftTrigger {
  opacity: 0;
}

.fadeLeft {
  animation-name: fadeLeftAnime;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeLeftAnime {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* FadeBottom Anime
-------------------------*/
.fadeBottom {
  animation-name: fadeBottomAnime;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}

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

/* BackgroundExtend Anime
-------------------------*/
.bgextend {
  animation-name: bgxtendAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  position: relative;
  overflow: hidden;
  opacity: 0;
}

@keyframes bgxtendAnime {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.bgappear {
  animation-name: bgappearAnime;
  animation-duration: 1s;
  animation-delay: 0.6s;
  animation-fill-mode: forwards;
  opacity: 0;
}

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

.bgLRextend::before {
  animation-name: bgLRextendAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  content: '';
  position: absolute;
  width: 150px;
  height: 50px;
  background-color: var(--similar-light);
}

@keyframes bgLRextendAnime {
  0% {
    transform-origin: right;
    transform: scaleX(0);
  }
  50% {
    transform-origin: right;
    transform: scaleX(1);
  }
  50.001% {
    transform-origin: left;
  }
  100% {
    transform-origin: left;
    transform: scaleX(0);
  }
}

/* TextSlide Anime
-------------------------*/
.slide-in {
  overflow: hidden;
  display: inline-block;
}

.slide-in_inner {
  display: inline-block;
}

.leftAnimeReady,
.leftAnimeScroll {
  opacity: 0;
}

.textSlideLR {
  animation-name: textSlideAnimeLR;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes textSlideAnimeLR {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.textSlideRL {
  animation-name: textSlideAnimeRL;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes textSlideAnimeRL {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* LineSlide Anime
-------------------------*/
.lineSlide {
  position: relative;
}

.lineSlide::before {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  height: 2px;
  background: var(--similar-light);
  animation-name: lineSlideAnime;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
}

@keyframes lineSlideAnime {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

/*----- MQ Anime -----*/
@media (max-width: 520px) {
  .fadeTrigger {
    opacity: 1;
  }

  .fade {
    animation: none;
    opacity: 1;
  }

  .fadeLeftTrigger {
    opacity: 1;
  }

  .fadeLeft {
    animation: none;
  }

  .fadeTop {
    animation: none;
    opacity: 1;
  }

  .fadeBottom {
    animation: none;
    opacity: 1;
  }

  .bgextend,
  .bgLRextend,
  .bgappear {
    animation: none;
  }

  .bgappear {
    opacity: 1;
  }

  .bgLRextend::before {
    display: none;
  }

  .leftAnimeReady,
  .leftAnimeScroll {
    opacity: 1;
  }

  .textSlideLR,
  .textSlideRL {
    animation: none;
    opacity: 1;
  }

  .lineAnimeReady,
  .lineAnimeScroll {
    position: relative;
  }

  .lineAnimeReady::before,
  .lineAnimeScroll::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background: var(--similar-light);
  }

  #about .lineAnimeReady::before,
  #about .lineAnimeScroll::before {
    background: var(--similar-dark);
  }

  .lineSlide::before {
    animation: none;
  }
}
