@charset "UTF-8";


@font-face {
    font-family: 'CustomFont'; /* フォントの名前 */
    src: url('../fonts/Riviera.otf') format('truetype'); /* フォントファイルへのパス */
    font-weight: 900; /* より細いフォントの太さ */
    font-style: normal; /* フォントのスタイル */
  }

body{
  background: url(../img/bp.jpg) center center / cover no-repeat;
  background-size: cover;
}
.vision {
  position: relative;
  width: 100%;
  color: white;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.vision .card {
  position: relative;
  width: 100%;
  max-width: 800px;
  padding: 100px 20px;
  margin: 0 auto;
  text-align: center;
  overflow: visible; 
  color: white;
  opacity: 0;
  transition: opacity 2s ease, transform 1s ease, height 1s ease;
}

/* VISIONカードは初期で画面いっぱい */
.vision .card:first-child {
  height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.font2{
  font-size: 2.5em !important;
}

.vision .card.show {
  opacity: 1;
}

/* 他のカードは初期で高さ自動 */
.vision .card:not(:first-child) {
  height: auto;
}


.vision .card h1 {
  font-size: 4em;
  font-family: 'CustomFont', sans-serif;
  position: relative;
  background: url('../img/22017536.jpg') repeat;
  background-size: cover;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  
}
.vision .card p {
  font-size: 3em;
  font-weight: bold;
  position: relative;
  background: url('../img/22017536.jpg') repeat;
  background-size: cover;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.vision .card h1,
.vision .card p {
  position: relative;
  display: inline-block; /* ← これがないと擬似要素がサイズを持てない */
}

/* 白い厚み（擬似3D） */
.vision .card h1::before,
.vision .card p::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  display: inline-block;
  
  color: rgba(255,255,255,0.15);
  text-shadow:
    1px 1px 0 rgba(255,255,255,0.15),
    2px 2px 0 rgba(255,255,255,0.12),
    3px 3px 0 rgba(255,255,255,0.1),
    4px 4px 0 rgba(255,255,255,0.08),
    5px 5px 0 rgba(255,255,255,0.06);
}


/* orbit-canvas はもう不要。orbit-back/front だけでOK */
.orbit-back {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

.orbit-front {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 2;
}

.vision .card > *:not(canvas) {
  position: relative;
  z-index: 1; /* テキストは真ん中 */
}


/* スマホ（768pxまで） */
@media (max-width: 800px) {
.vision .card h1 {
  font-size: 3em;
  font-family: 'CustomFont', sans-serif;
  position: relative;
  background: url('../img/22017536.jpg') repeat;
  background-size: cover;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  
}
.vision .card p {
  font-size: 2em;
  font-weight: bold;
  position: relative;
  background: url('../img/22017536.jpg') repeat;
  background-size: cover;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.font2{
  font-size: 1.8em !important;
}

}
/* スマホ（768pxまで） */
@media (max-width: 550px) {
.vision .card h1 {
  font-size: 2.5em;
  font-family: 'CustomFont', sans-serif;
  position: relative;
  background: url('../img/22017536.jpg') repeat;
  background-size: cover;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  
}
.vision .card p {
  font-size: 1.3em;
  font-weight: bold;
  position: relative;
  background: url('../img/22017536.jpg') repeat;
  background-size: cover;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.font2{
  font-size: 1.2em !important;
}
}


/* ここまで */


.company {
  position: relative;
  width: 100%;
  max-width: 800px;
  padding: 100px 20px;
  margin: 0 auto;
  box-sizing: border-box;
}

.company .content h2 {
  position: relative;
  font-size: 2rem;
  text-align: left;
  margin-bottom: 50px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'CustomFont', sans-serif;
}

.company .content h2::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #00FF7F;
  box-shadow: 0 0 5px #00FF7F, 0 0 10px #00FF7F, 0 0 20px #00FF7F;
  animation: line-glow 2s ease-in-out infinite alternate;
}

.company .content h2 span {
  position: relative;
  padding: 0 8px;
}

.company .content h2 span:not(:last-child)::after {
  content: "●";
  margin-left: 8px;
  color: #00FF7F;
  text-shadow: 0 0 5px #00FF7F, 0 0 10px #00FF7F;
}

.company dl {
  display: grid;
  grid-template-columns: 150px 1fr;
  row-gap: 20px;
  column-gap: 30px;
  color: #fff;
    background-image: url(../img/okumono_sf14-1280x720.png);
  background-size: cover;
  background-position: center;
  background-color: rgba(46, 46, 46, 0.9);
  background-blend-mode: overlay;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 20px rgba(0, 255, 127, 0.2);
  padding: 50px 50px 50px 20px;
  border-radius: 20px;
}

.services ul li .service-header {
  display: flex;
  align-items: center;
  gap: 30px;
  cursor: pointer;
  border-radius: 16px;

  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.company dl dt {
  font-weight: bold;
  position: relative;
  padding-left: 10px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.company dl dd {
  position: relative;
  padding: 10px 15px;
  background: rgba(0, 255, 127, 0.1);
  border-left: 2px solid #00FF7F;
  box-shadow: 0 0 10px rgba(0, 255, 127, 0.3);
  transition: all 0.3s ease;
}

.company dl dd:hover {
  background: rgba(0, 255, 127, 0.2);
  box-shadow: 0 0 20px rgba(0, 255, 127, 0.6);
}

@keyframes pulse {
  0% { box-shadow: 0 0 5px #00FF7F, 0 0 10px #00FF7F; }
  50% { box-shadow: 0 0 10px #00FF7F, 0 0 20px #00FF7F; }
  100% { box-shadow: 0 0 5px #00FF7F, 0 0 10px #00FF7F; }
}


/* 600px以下で縦並びにする */
@media screen and (max-width: 600px) {
  .company dl {
    grid-template-columns: 1fr; /* 1列に */
    row-gap: 15px; /* 行間を少し詰める */
    padding: 30px 20px; /* スマホ向けにパディング調整 */
  }

  .company dl dt,
  .company dl dd {
    justify-content: flex-start; /* 左寄せ */
    padding-left: 10px;
    border-left: none; /* スマホは左線なしでもOK */
  }

  .company dl dd {
    border: none; /* 区切り線を上に変更 */
    padding: 10px 15px 10px 10px;
    margin-bottom: 30px;
  }
}