@charset "utf-8";

:root {
  --blk: #000000;
  --wht: #ffffff;
}

/* ====================================================================

  MGEO LP PC Style

==================================================================== */

/*
  Main Visual
-------------------------------------------------------------------- */
.main-visual {
  margin: 0 0 80px;
  display: grid;
}
.main-visual figure {
  max-width: 100%;
  height: auto;
  min-height: 767px;
  overflow: hidden;
  grid-area: 1 / 1;
}
.main-visual figure img {
  width: 100%;
  height: calc(767 / 1500 * 100vw);
  min-height: 767px;
  object-fit: cover;
}
.main-visual .contents-area {
  position: relative;
  z-index: 1;
  height: 100%;
  grid-area: 1 / 1;
}
.main-visual .contents-area .inner {
  position: relative;
  height: 100%;
}
.page-heading {
  position: absolute;
  left: 0;
  bottom: 10%;
  /* bottom: 20px; */
}
.page-heading li:last-of-type { padding: 35px 0 0 45px; }
.page-heading h1 {
  font-size: 60px;
  color: var(--wht);
  letter-spacing: 0.075em;
}
.page-heading h1 small {
  font-size: calc(36 / 60 * 1em);
  font-weight: 300;
  line-height: calc(36 / 24);
  letter-spacing: 0.05em;
  display: block;
  margin: 0 0 25px;
}

/*
  Section
-------------------------------------------------------------------- */
section {
  position: relative;
  width: 100%;
}

/* Heading
---------------------------------- */
.sec-heading {
  min-width: initial;
  height: auto;
  padding: 0;
  display: block;
}
.sec-heading span {
  font-size: 36px;
  line-height: calc(48 / 36);
  display: inline-block;
  vertical-align: middle;
}
.sec-heading i {
  position: relative;
  width: 84px;
  aspect-ratio: 1 / 1;
  margin: 0 20px 0 0;
  display: inline-block;
  vertical-align: middle;
}
.sec-heading i img {
  width: 100%;
  height: auto;
}
.sec-heading i::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  color: var(--wht);
  line-height: calc(16 / 14);
  white-space: pre;
  text-align: center;
  display: inline-block;
}

/* Contents
---------------------------------- */
.sec-contents {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  margin: 65px 0 0;
}
.sec-contents img {
  width: 100%;
  height: auto;
}
.sec-contents > div {
  width: calc(546 / 1500 * 100vw);
  display: flex;
  align-items: stretch;
  flex-direction: column;
  justify-content: space-between;
}
.sec-contents > figure { width: calc(794 / 1500 * 100vw); }
@media screen and (max-width: 1214px) {
  .sec-contents > div{ width:440px; }
  .sec-contents > figure { width: 640px;}
  .show-detail{ margin-left:0px !important; }
}

.sec-contents dl dt {
  font-size: 18px;
  line-height: calc(24 / 18);
  color: #187cb8;
  padding: 0 0 0 calc((100vw - 1200px) / 2);
  margin: 0 0 1.5em;
}
.sec-contents dl dd {
  font-size: 14px;
  line-height: calc(22 / 14);
  color: #5b5b5b;
  padding: 0 0 0 calc((100vw - 1200px) / 2);
}

/* 詳しく見る
---------------------------------- */
.show-detail {
  font-size: 16px;
  line-height: calc(24 / 16);
  color: var(--blk);
  display: block;
  text-align: center;
  line-height: 50px;
  background-color: #f0f0f0;
  transition: all .3s;
  margin: 0 0 0 calc((100vw - 1200px) / 2);
}
.show-detail::before {
  content: "＞";
  transform: scale(.6,1.0);
  display: inline-block;
  font-weight: 600;
  margin: 0 .5em 0 0;
}
.show-detail:hover { opacity: .7; }

/* Section01
---------------------------------- */
.sec01 { padding: 90px 0 135px; }
.sec01 .sec-heading i::after { content: "MGEO"; }

/* Modal - Contents
---------------------------------- */
.modal {
  display: none;
  position: fixed;
  z-index: 10001;
  top: 0;
  width: 100%;
  height: 100vh;
}
.modal_bg {
  position: absolute;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.8);
}
.modal_content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  padding: 0;
}
.modal_content figure img {
  width: 100%;
  height: auto;
}
.modal_content .js-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  transform: rotate(45deg) scale(3.0);
}

/* Modal - Movie
---------------------------------- */
.mv-container {
  display: none;
  position: fixed;
  z-index: 10001;
  top: 0;
  width: 100%;
  height: 100vh;
}
.mv_bg {
  position: absolute;
  width: 100%;
  height: 100vh;
  background: #F8F6EF !important;
}
.mv_content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  padding: 0;
}

.mv-close-btn {
  position: fixed;
  border-radius: 50%;
  border: #4A4848 solid 1px;
  transition: border-color 0.3s ease;
  display: inline-block;
}

@media screen and (min-width: 769px) {
  .mv-close-btn {
    width: min(3.611vw, 62.4px);
    height: min(3.611vw, 62.4px);
    top: min(2.778vw, 48px);
    right: min(2.778vw, 48px);
  }
}
@media screen and (max-width: 768px) {
  .mv-close-btn {
    width: min(11.2vw, 50.4px);
    height: min(11.2vw, 50.4px);
    top: min(5.333vw, 24px);
    right: min(5.333vw, 24px);
  }
}
.mv-close-btn::before {
  content: "＋";
  color: #4A4848;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg) scale(1.5);
  transition: color 0.3s ease;
  display: inline-block;
}
@media screen and (min-width: 769px) {
  .mv-close-btn::before {
    font-size: min(1.181vw, 20.4px);
  }
}
@media screen and (max-width: 768px) {
  .mv-close-btn::before {
    font-size: min(4vw, 18px);
    font-weight: 300;
  }
}
@media screen and (min-width: 769px) {
  .mv-close-btn:hover {
    border-color: #C3C3C3;
  }
  .mv-close-btn:hover::before {
    color: #C3C3C3;
  }
}


/* Section02
---------------------------------- */
.sec02 { display: grid; }
.sec02 > .contents-area {
  position: relative;
  z-index: 1;
  height: 100%;
  grid-area: 1 / 1;
  display: grid;
  place-content: center;
}
.sec02 > figure { grid-area: 1 / 1; }
.sec02 > figure img {
  width: 100%;
  height: auto;
}
.sec02 h3 {
  font-size: 36px;
  font-weight: 300;
  line-height: calc(48 / 36);
  text-align: center;
  color: var(--wht);
}
.sec02 h4 {
  font-size: 24px;
  font-weight: 300;
  line-height: calc(48 / 24);
  text-align: center;
  color: var(--wht);
  width: fit-content;
  background-color: #444234;
  margin: 50px auto 120px;
  padding: 0 4.5em;
}
.movie-unit {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0 10px;
}
.movie-item p {
  font-size: 16px;
  font-weight: 400;
  line-height: calc(22 / 16);
  color: var(--wht);
  background-color: #444234;
  padding: .5em;
}

/* Section03
---------------------------------- */
.sec03 { padding: 120px 0 170px; }
.sec03 .sec-heading i::after { content: "制震\Aダンパー"; }

/* Section04
---------------------------------- */
.sec04 { padding: 0 0 210px; }
.sec04 .sec-heading i::after { content: "高減衰\Aゴム"; }

/* Section05
---------------------------------- */
.sec05 {
  padding: 0 0 100px;
  text-align: center;
}
.sec05 > h3 {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: .1em;
  line-height: calc(48 / 36);
  color: #173867;
  margin: 0 0 .5em;
}
.sec05 > p {
  font-size: 14px;
  font-weight: 300;
  line-height: calc(22 / 14);
  margin: 0 0 50px;
}
.sec05 > div {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}
.sec05 > div figure { width: 50%; }
.sec05 > div figure img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.sec05 > div figure figcaption {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .05em;
  line-height: calc(48 / 18);
  margin: .75em 0 0;
}

/* Section06
---------------------------------- */
.sec06 { padding: 95px 0 80px; }
.sec06 .sec-heading { margin: 0 0 30px; }
.sec06 .sec-heading span {
  font-size: 24px;
  letter-spacing: .05em;
}
.sec06 .sec-heading i::after { content: "Movie"; }
.sec06 .sec-heading span small {
  font-size: calc(14 / 24 * 1em);
  line-height: calc(22 / 14);
  color: #ffb400;
  display: block;
}
.movie-info-wrap {
  display: flex;
  align-items: stretch;
}
.movie-info { width: 50%; }
.movie-info a {
  display: block;
  padding: 0 0 0 60px;
}
.movie-info a img { width: calc(425 / 600 * 100%); }
.movie-info p {
  font-size: 18px;
  letter-spacing: .05em;
  line-height: calc(24 / 18);
  padding: 10px 0 0 60px;
}

/* 関連カタログプレセント
---------------------------------- */
.present-unit {
  background-color: #f1f5f7;
  padding: 90px 0 75px;
}
.present-unit h3 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: .075em;
  text-align: center;
  margin: 0 0 65px;
}
.present-unit p {
  font-size: 24px;
  letter-spacing: .075em;
  line-height: calc(36 / 24);
  text-align: center;
  margin: 15px 0 35px;
}
.present-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.present figure img {
  width: 100%;
  height: auto;
}
.present-summary { padding: 0 37.5px; }
.present-summary label span {
  font-size: 18px;
  font-size: 1.8rem;
  letter-spacing: 0.05em;
  line-height: calc(28 / 18);
}
.present-summary label span small {
  font-size: calc(13 / 18 * 1em);
  display: block;
}
.present-summary p {
  font-size: 14px;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  line-height: calc(22 / 14);
}

/* CheckBox */
.present-summary label {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 0 0 0 25px;
  margin: 0 0 15px;
}
.present-summary label input[type="checkbox"] { display: none; }
.present-summary label span::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 20px;
  height: 20px;
  border: solid 1px #c0c6d1;
  background-color: var(--wht);
}
.present-summary label input[type="checkbox"]:checked + span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 20px;
  height: 20px;
  background: url(../images/checked.svg);
  background-size: cover;
}

/* Tag */
.tag {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 20px 0 0;
}
.tag i {
  font-size: 10px;
  font-size: 1rem;
  font-style: normal;
  color: var(--blk);
  border: solid 1px #e5e5e4;
  background-color: var(--wht);
  padding: 4px 5px;
}

/* 応募ボタン */
.present-app-btn {
  appearance: none;
  border: none;
  background: none;
  width: fit-content;
  margin: 45px auto 0;
  display: block;
  transition: all .3s;
}
.present-app-btn:hover { opacity: 0.7; }

/* Fixed Button
---------------------------------- */
.fixed-btn {
  position: fixed;
  z-index: 1001;
  right: 0;
  top: 70%;
}

/*
  Animation
-------------------------------------------------------------------- */
@keyframes fade-in {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* アニメーションの初期状態（非表示） */
.animate-on-scroll {
  opacity: 0;
  transition: opacity 0.5s ease-out; /* フェードインのための基本トランジション */
  transform: translateY(20px);
}

/* .start-animation クラスが付与されたらアニメーションを開始 */
.animate-on-scroll.start-animation {
  animation-fill-mode: both; /* "forwards"と"backwards"の両方の効果 */
  animation-timing-function: ease-out; /* なめらかな加速 */
}

/* フェードインアニメーションのトリガー */
.fade-in.start-animation {
  animation-name: fade-in-up;
  animation-duration: 1s; /* アニメーション時間 */
}

/* JavaScriptで「start-animation」クラスが付与されたら、アニメーションを実行 */
.animate-on-scroll.start-animation {
  animation-name: fade-in-up; /* 実行するアニメーション */
  animation-duration: 1s; /* アニメーションの長さ */
  animation-fill-mode: forwards; /* アニメーション終了後も最終状態を維持 */
  animation-timing-function: ease-out; /* アニメーションの速度曲線 */
  /* animation-delay はJavaScriptで設定される */
}