@charset "utf-8";

.wallpaper {
  background-image: url(../img/index/mc_noisemint1200bk.jpg);
  background-repeat: round;
  background-position: center center;
}

.first-view {
width: 100%;
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.first-view-text {
  writing-mode: vertical-rl;
  margin-left: 50px;
  margin-top: 20px;
  position: absolute;
  top: 0;
  left: 50px;
  z-index: 5;
}

.header {
  position: relative;
  z-index: 10;
  /* 画像がヘッダーに被らないよう調整 */
}

.headtext {
  width: 73px;
  height: 300px;
  text-align: center;
  letter-spacing: 0.2em;
  padding: 21px;
  font-size:23px;
  background-color: #fff;
  border-radius: 50px;
  border: 4px solid #faee8c;
  box-shadow: 5px 5px #faee8c;
  z-index: 10;
}

.headtext-second {
  margin: 40px 30px;
  width: 73px;
  height: 450px;
  text-align: center;
  letter-spacing: 0.2em;
  padding: 21px;
  font-size: 23px;
  background-color: #fff;
  border-radius: 50px;
  border: 4px solid #faee8c;
  box-shadow: 5px 5px #faee8c;
  z-index: 10;
}

.text {
  margin-top: 130px;
  font-size:1.5vw;
  color: #F3AF7F;
  line-height: 2;
  letter-spacing: 0.2em;
  margin-right: 60px;
}

.first-view-img {
  margin-top: -110px;
  z-index: 1;
}

.misson {
  background-image: url(../img/index/mc_top_namitop.png);
  background-repeat: no-repeat;
  background-size: contain;
  display: flex;
  position: relative;
}

.marmotto {
  margin-top: 140px;
  margin-left: -10px;
  position: absolute;
  z-index: 999;
}

.missontitle {
  margin-left: 580px;
}

.missontitle h2 {
  font-size: 40px;
  color: #F3AF7F;
  line-height: 2;
  letter-spacing: 0.2em;
  margin-top: 180px;
  margin-left: 180px;
}

.missontitle span {
  font-size: 15px;
  margin-left: 10px;
}

dl {
  margin-top: 70px;
  padding: 40px;
}

dl dd {
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: 0.2em;
}

dl dt {
  padding: 10px;
  margin-top: 40px;
  line-height: 1.5;
  letter-spacing: 0.2em;
  font-size: 14px;
}

.newstitle {

  height:350px;
  background-image: url(../img/index/mc_top_namiunder.png);
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;

}

.newstitle h2 {
  position: absolute;
  top: 90%;
  left: 8%;
  font-size: 40px;
  color: #F3AF7F;
  line-height: 2;
  letter-spacing: 0.2em;
}

.newstitle span {
  font-size: 15px;
  margin-left: 10px;
}

.news-lineup {
  background-image: url(../img/index/mc_noisemint1200bk.jpg);
  background-repeat: round;
  background-position: center center;
}

.news-lineup ul {
  display: flex;
  justify-content: space-around;
  margin-top: -30px;
  padding: 50px 0 100px;
}

.news-lineup ul li {
  margin: 40px 25px;
  width: 315px;
  height: 400px;
  text-align: center;
  background-color: #fff;
  border-radius: 20px;
  border: 4px solid #faee8c;
  box-shadow: 5px 5px #faee8c;
  padding: 20px;
  color: #F3AF7F;
  text-align: left;
  line-height: 1.5;
  letter-spacing: 0.1em;
  font-size: 14px;
}

.readmore-link {
  display: block;
  text-align: right;
  margin-top: 5px;
  text-decoration: none;
  font-size: 14px;
}

.readmore-link span {
  font-style: italic;
}

.news-lineup ul li:first-child {
  margin-left: 80px;
}

.newsmore img {
  width: 80%;
  margin-top: 140%;
}

.company {
  background-image: url(../img/index/mc_noisemint1200bk.jpg);
  background-repeat: round;
  background-position: center center;
}

.company h2 {
  text-align: center;
  padding-top: 100px;
}

.adress {
  font-size: 18px;
  margin: 0 auto;
  text-align: left;
  width: 600px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  padding: 50px 0;

}

.label {
  position: relative;
  padding-left: -8px;
}

.label::after {
  content: "";
  width: 2px;
  height: 20px;
  position: absolute;
  top: 10%;
  right: 0;
  background-color: #727171;
  ;
}

/* ① 下から上にフェードイン */
.fade-in-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.animate {
  opacity: 1;
  transform: translateY(0);
}

/* ② ふわっと表示 */
.fade-in {
  opacity: 0;
  transition: opacity 1s ease-out;
}

.fade-in.animate {
  opacity: 1;
}

/* ③ 左から右にフェードイン（スクロール連動） */
.slide-in-right {
  opacity: 0;
  transform: translateX(-100px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.slide-in-right.animate {
  opacity: 1;
  transform: translateX(0);
}

/* ④ 左から右に動くアニメーション（無限ループ） */
.move-left-right {
  animation: moveLeftRight 30s;
}

@keyframes moveLeftRight {
  0% {
    transform: translateX(50px);
  }

  100% {
    transform: translateX(1000px);
  }
}

/* 遅延アニメーション用クラス */
.delay-1 {
  transition-delay: 0.2s;
}

.delay-2 {
  transition-delay: 0.4s;
}

.delay-3 {
  transition-delay: 0.5s;
}

.delay-4 {
  transition-delay: 0.6s;
}

html {
  scroll-behavior: smooth;
}

@media(min-width:1440px){
  .first-view-img{
    width: 1200px;
  }

  .first-view-text {
    top: 100px;
    left: 150px;
  }

  .missontitle {
    margin-left: 900px;
    margin-top:0px;
  }

  .missontitle dl{
    margin: 200px 0 100px;}

   .marmotto {
      width: 40%;
      height: auto;
      }
 .newstitle {
        height: 500px;
        margin-top:-50px;
        z-index: 20;
      }

}


@media(max-width:1100px){

  .first-view-text {
    top: 0;
    left: 0;
  }

  .text{
    margin-right: 600px;
    padding-top: 50px;
  }

  .marmotto {
  width: 40%;
  height: auto;
  }

  .missontitle {
    margin-left: 380px;
    margin-top:-50px;
  }

  .missontitle dl{
    margin-bottom: 50px;

  }
  .newstitle {
    height: 350px;
    margin-top:-50px;
    z-index: 20;
  }

  .news-lineup ul {
    margin-top:0;}

}

@media(max-width:930px){
.first-view-img {
width:80%;
  }

.first-view-text{
width:100px;
  }

.text{
  width: 60%;  }


}