@charset "UTF-8";
/* CSS Document */

#mv {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
#mv::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
}
/*
canvas.slider-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
}
*/

#mv .box, #header {
  position: relative;
  z-index: 10;
  color: #fff;
}

#mv #header nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1rem;
}
#mv #header nav ul li a {
  color: #fff;
  text-decoration: none;
}
#mv .box {
width: 90%;
height: 75%;
margin: 10rem auto 0;
text-align: left;
display: flex;
flex-direction: column;
align-items: stretch;
justify-content: space-between;
}
#mv .box .logo {
width: 50%;
}
#mv .box h1 {
display: block;
font-size: 3.5vw;
letter-spacing: .15em;
}
#mv .box h1 span {
display: block;
margin-top: 1.5rem;
 font-size: clamp(1.5rem, 1.25rem + 1.25vw, 2.5rem); /*40-24*/
 }
 /* アニメーションの定義 */
@keyframes slide-in-fade-in {
  0% {
    opacity: 0;
    transform: translateX(200px); /* 右に200px移動した状態からスタート */
  }
  100% {
    opacity: 1;
    transform: translateX(0); /* 本来の位置へ */
  }
}

/* アニメーションを適用するためのクラス */
.animate-slide-in {
  animation-name: slide-in-fade-in;
  animation-duration: 1.2s; /* アニメーションの時間 */
  animation-timing-function: ease-out; /* 動きの緩急 */
  animation-fill-mode: forwards; /* アニメーション終了後、その状態を維持 */
}

/* h1のアニメーションを少し遅らせる */
h1.animate-slide-in {
  animation-delay: 0.4s; /* 0.4秒遅れて開始 */
}
#global-navi li.animate-slide-in:nth-child(1) {
  animation-delay: 0.8s;
}
#global-navi li.animate-slide-in:nth-child(2) {
  animation-delay: 1.0s;
}
#global-navi li.animate-slide-in:nth-child(3) {
  animation-delay: 1.2s;
}
.logo,
h1.en,
#global-navi li {
  opacity: 0;
}
@media screen and (min-width:768px) {
.bg-slider {
width: 100%;
height: 100vh;
background-position:center center;
background-size: cover;
background-repeat: no-repeat;
}
}
@media screen and (max-width:768px) {
.bg-slider {
width: 100%;
height: 100%;
background-position:center center;
background-size: cover;
background-repeat: no-repeat;
}
}

/*
=============================================================
トップキャッチ
=============================================================
*/
@media screen and (min-width:769px) {
#top {
  position: relative;
  width: 100%;
  height: 400px;
 background:url('../images/top_bg.jpg') center center / cover no-repeat;
  background-attachment: fixed; 
  margin-bottom: 14.875vw;
}
}
@media screen and (max-width:768px) {
#top {
  position: relative;
  width: 100%;
  height: 400px;
 background:url('../images/top_bg.jpg') center center / cover no-repeat;
  margin-bottom: 14.875vw;
}
}
#top h2 {
  position: relative;
  color: #fff;
  font-size: 1.8rem;
  text-align: center;
  top: 35%;
  transform: translateY(-50%);
  z-index: 3;
  line-height: 2.5em;
  letter-spacing: .5em;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 10px;
}
#top h2.fadein {
transition-delay: 0.2s;
}

/*
=============================================================
ABOUT
=============================================================
*/
#about {
position: relative;
background: #fff;
text-align: left;
margin-bottom: 18.75vw;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
#about .wrap {
width: 50%;
padding-left: 5%;
}
#about h3 {
display: flex;
  align-items: center; 
  gap: 0.5em;
  font-size: clamp(0.75rem, 0.688rem + 0.31vw, 1rem); 
  margin: 0 0 4rem 0; 
  line-height: 4em;
  letter-spacing: .3em;
}
#about h3 span {
font-size: clamp(1.5rem, 1.25rem + 1.25vw, 2.5rem); 
line-height: 1; 
}
#about dl {
  text-align: left;
}
#about dt {
  margin-bottom: 3rem;
  font-weight: bold;
  letter-spacing: .4em;
  font-size: clamp(1.125rem, 1.031rem + 0.47vw, 1.5rem); /*24-18*/
}
#about dd {
  line-height: 4em;
letter-spacing: .05em;
  font-size: clamp(0.875rem, 0.844rem + 0.16vw, 1rem); /*16-14*/
}
#about h3.fadein {
transition-delay: 0.2s;
}
#about dt.fadein {
transition-delay: 0.4s;
}
#about dd.fadein {
transition-delay: 0.6s;
}
#about .image {
  width: 45%;
  height: 530px;
}
#about .image img {
  box-shadow: 16px 16px 0px 0px rgba(96, 96, 96, 1);
}
#about .image.fadein {
transition-delay: 0.8s;
}
/*
=============================================================
WORRY
=============================================================
*/
#worry {
  margin-bottom: 21.875vw;
  text-align: center;
}
#worry h3 {
  display: inline;
  letter-spacing: .5em;
font-weight: bold;
-webkit-text-stroke: 1px black;
  border-bottom: solid 1px #333;
  font-size: clamp(1.25rem, 1.094rem + 0.78vw, 1.875rem); /*30-20*/
}
#worry ul {
display: flex;
  list-style: none;
  padding: 0;
  align-items: flex-end;
  flex-wrap: wrap;
  margin: 7.8vw auto 6.25vw;
  justify-content: space-between;
}
#worry li {
  width: 16%;
display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 5px;
  position: relative;
}
#worry li img {
margin-bottom: 1rem;
}
#worry li span {
  margin-top: 10px;
  line-height: 1.4;
  font-weight: bold;
  letter-spacing: .15em;
}
#worry li span {
  font-size: min(1.25vw, 20px);
}
#worry li.fadein:nth-child(1) {
    transition-delay: 0.2s;
}
#worry li.fadein:nth-child(3) {
    transition-delay: 0.4s;
}
#worry li.fadein:nth-child(5) {
    transition-delay: 0.6s;
}
#worry li.fadein:nth-child(7) {
    transition-delay: 0.8s;
}
#worry li.fadein:nth-child(9) {
    transition-delay: 1.0s;
}
#worry li.divider {
  width: 1px;
  position: relative;
  margin: 0 5px;
}
li.divider::before {
  content: "";
  position: absolute;
  top: -30px; /* ← 高さを数値で直接調整する */
  left: 50%;
  width: 40px;
  height: 1px;
  background-color: #000;
  transform: translateX(-50%) rotate(-60deg); /* Y方向の移動は削除 */
  transform-origin: center;
}
#worry dl {
  text-align: center;
}
#worry dt {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
  letter-spacing: .5em;
  font-weight: bold;
  font-size: clamp(1.375rem, 1.281rem + 0.47vw, 1.75rem); /*28-22*/
}
#worry dt:before {
  position: absolute;
  left: -2rem;
  top: 0;
  content: "";
  width: 1px;
  height: 100%;
  background: #333;
  border-radius: 3px;
  transform: rotate(-35deg);
}
#worry dt:after {
  position: absolute;
  content: "";
  right: -2rem;
  top: 0;
  width: 1px;
  height: 100%;
  background: #333;
  border-radius: 3px;
  transform: rotate(35deg);
}
#worry dd {
  line-height: 3em;
letter-spacing: .3em; 
   font-size: clamp(0.875rem, 0.844rem + 0.16vw, 1rem); /*16-14*/
}
/*
=============================================================
COMPANY
=============================================================
*/
#company {
position: relative;
background: #fff;
text-align: left;
margin-bottom: 4rem;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
#company .wrap {
width: 50%;
padding-left: 5%;
}
#company h3 {
display: flex;
  align-items: center; 
  gap: 0.5em;
  font-weight: bold;
  letter-spacing: .4em;
  font-size: clamp(0.75rem, 0.688rem + 0.31vw, 1rem); 
  margin: 0 0 4rem 0; 
}
#company h3 span {
font-size: clamp(1.5rem, 1.25rem + 1.25vw, 2.5rem); 
line-height: 1; 
}
#company dl {
  text-align: left;
}
#company dt {
  margin-bottom: 3rem;
  font-size: clamp(1.125rem, 1.031rem + 0.47vw, 1.5rem); /*24-18*/
}
#company dd {
 line-height: 4em;
  letter-spacing: .05em;
  font-size: clamp(0.875rem, 0.844rem + 0.16vw, 1rem); /*16-14*/
}
#company .image {
  width: 45%;
  height: 530px;
}
#company .image img {
  box-shadow: 16px 16px 0px 0px rgba(96, 96, 96, 1);
}
#company h3.fadein {
transition-delay: 0.2s;
}
#company dt.fadein {
transition-delay: 0.4s;
}
#company dd.fadein {
transition-delay: 0.6s;
}
#company .image.fadein {
transition-delay: 0.8s;
}
/*
=============================================================
OUTLINE
=============================================================
*/
#outline {
margin-bottom:  16.5vw;
}
#outline table {
width: 100%;
border-collapse: collapse;
}
#outline th {
  width: 15%;
  border-bottom: solid 3px #333;
  padding: 2rem;
  text-align: left;
}
#outline td {
  width: 75%;
  padding: 2rem;
border-bottom: solid 1px #D3D3D3
}
/*
=============================================================
マップ
=============================================================
*/

#map {
  width: 100%;
  position: relative;
  margin-bottom: 7.5vw;
}
#map .gmap {
  width: 100%;
  height: 350px; /* 固定高さ */
  position: relative;
  overflow: hidden;
}
#map .gmap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -o-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  filter: grayscale(100%);
}
/*
=============================================================
CONTACT
=============================================================
*/
#contact {
  position: relative;
  width: 100%;
  height: 400px;
 background:url('../images/contact_bg.jpg') center center / cover no-repeat;
  background-attachment: fixed; 
  margin-bottom: 9.25vw;
    display: flex;
  align-items: center;
  justify-content: flex-start;
}
#contact .title h3 {
display: flex;
  align-items: center; 
  gap: 0.5em;
  color: #fff;
  font-size: clamp(0.75rem, 0.688rem + 0.31vw, 1rem); 
  margin: 0; 
  font-weight: bold;
  letter-spacing: .4em;
}
#contact .title h3 span {
font-size: clamp(1.5rem, 1.25rem + 1.25vw, 2.5rem); 
line-height: 1; 
}


@media screen and (min-width:769px)and (max-width:1024px) {
#about {
margin-bottom: 4rem;
}
#company {
margin-bottom: 4rem;
}
#company .image {
height: auto;
}
}


@media screen and (min-width:521px) and (max-width:768px) {
  #mv {
    background-image: url(../images/mv_bg_sp.jpg);
    background-size: cover;
  }
  #mv .inner {
    align-items: center;
  }
  #mv .box {
    width: 90%;
    margin: 0 auto;
    padding-bottom: 2rem;
  }
  #mv h1 {
    margin-bottom: 1rem;
  }
  #mv .permission {
    padding: 1rem;
    width: 60%;
    margin-bottom: 4rem;
  }
  #about {
  margin-bottom: 2rem;
  }
  #worry {
  margin-bottom: 8rem;
  }
  #worry ul {
  justify-content: center;
    align-items: flex-start;
}
  #worry li {
width: 28%;
margin-left: 1rem;
margin-right: 1rem;
margin-bottom: 2rem;
}
#worry li span {
 font-size: 14px;
}
#worry li img {
margin-bottom: 0;
}
#worry li.divider {
display: none;
} 
#company .image {
height: auto;
}
  
  
}
@media screen and (max-width:520px) {
  #contents {
    padding-top: 7vw;
  }
  .inner {
    width: 90%;
    max-width: 90%;
    margin: 0 auto;
  }
  #mv #header {
  display: none;
  }
  #mv {
aspect-ratio: 3 / 4;
  }
  #mv .inner {
    display: block;
  }
  #mv .box {
  height: 60%;
  }
  #mv .box .logo {
  width: 80%;
  margin-bottom: 3rem;
  }
  #mv .box h1 span {
  margin-top: 0.5rem;
  }
  #top {
  margin-top: -2rem;
  margin-bottom: 4rem;
  height: 150px;
  }
  #top h2 {
  font-size: 3vw;
  text-decoration-thickness: 1px;
 text-underline-offset: 5px;
  }
  #top h2 {
 top: 30%;
}
#about .wrap {
width: 100%;
}
#about dl {
  width: 90%;
  margin: 0 auto;
margin-bottom: 2rem;
}
#about .image {
width: 80%;
margin: 0 auto;
height: auto;
}
#worry {
margin-bottom: 6rem;
}
#worry h3 {
  letter-spacing: .2em;
  }
#worry dt {
font-size: 20px;
letter-spacing: .2em;
}
#worry dt:before {
  left: 0.2rem;
  height: 90%;
  transform: rotate(-30deg);
}
#worry dt:after {
  right: 0.2rem;
  height: 90%;
  transform: rotate(30deg);
}
#worry ul {
margin: 2rem auto 4rem;
align-items: flex-start;
flex-wrap: wrap;
}
#worry li {
width: 48%;
margin-bottom: 2rem;
}
#worry li span {
margin-top: 0;
font-size: 14px;
}
#worry li.divider {
display: none;
}
#worry li:last-child {
  flex: 0 0 48%;
  margin: auto;
}
#company .wrap {
width: 100%;
}
#company dl {
  width: 90%;
  margin: 0 auto;
margin-bottom: 2rem;
}
#company .image {
width: 80%;
margin: 0 auto;
height: auto;
}
#outline {
margin-bottom: 4rem;
}
#outline th,#outline td {
display: block;
width: 100%;
padding: 0.5rem;
}
#outline th {
text-align: left;
border-bottom: solid 2px #333;
}
#outline td {
border-bottom: none;
margin-bottom: 2rem;
}
#map {
margin-bottom: 4rem;
}
#contact {
height: 200px;
margin-bottom: 4rem;
}

  
}

