@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;
}

/* =========================
   ASSISTA セクション
========================= */
.assista {
  position: relative;
  width: 100%;
  height: 100vh; /* 画面いっぱいの高さ */
  color: white;
  display: flex;
  flex-direction: column;   /* 縦に並べる */
  justify-content: center;  /* 縦方向の中央揃え */
  align-items: center;      /* 横方向の中央揃え */
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
}

/* タイトル */
.assista h1 {
  font-family: 'CustomFont', sans-serif;
  font-size: 5em;
  opacity: 0;
  transition: opacity 1.5s ease, transform 1.5s ease;
}

/* スクロール時にクラスを付与してアニメーション */
.assista.animate h1 {
  opacity: 1;
  transform: translateY(0);
}

/* サブタイトル */
.assista > div > p {
  opacity: 0;
  transform: translateY(20px); /* 下から */
  transition: opacity 1.2s ease, transform 1.2s ease;
  transition-delay: 0.8s;
}

.assista.animate > div > p {
  opacity: 1;
  transform: translateY(0);
}

/* 説明文 */
.assista_explain {
  margin-top: 50px;
  padding: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s ease, transform 1.2s ease;
  transition-delay: 2s; /* タイトルが出たあと */
}

.assista.animate .assista_explain {
  opacity: 1;
  transform: translateY(0);
}



/* ここまで */

.benefit {
    position: relative;
    width: 100%;
    height: 600px; /* 飛ばすエリアの高さ */
    overflow: hidden;
    padding: 50px 20px 100px;
}

.benefit-inner {
    max-width: 1200px; /* ここで幅を制限 */
    margin: 0 auto;     /* 中央揃え */
    position: relative; /* 子要素の絶対配置用 */
    height: 100%;       /* ul内の漂うアニメーションのため */
}

.benefit 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;
}

.benefit 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;
}

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

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

.number{
    font-family: 'CustomFont', sans-serif;
    font-size: 1.2em;
}

.benefit ul {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    width: 100%;
    height: 100%;
}

.benefit ul li {
    position: absolute; 
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-image: url(../img/dark-52.png);
    background-size: cover;
    background-position: right;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* 上寄せ */
    align-items: center;
    padding: 20px;
    text-align: center;
    box-shadow: 0 0 10px rgba(104, 235, 115, 0.7);
    cursor: pointer;
    transition: transform 0.2s;
}

/* 数字を上に固定 */
.number {
    font-family: 'CustomFont', sans-serif;
    font-size: 1.4em;
    margin-bottom: 10px; /* タイトルとの間隔 */
    flex-shrink: 0; /* 縮まらないように */
}

/* タイトルを数字の下に少し余白 */
.benefit ul li h3 {
    margin: 0 0 30px 0;
    font-size: 1.2em;
}

/* 説明文はそのまま */
.benefit_detail {
    font-size: 0.8em;
    font-weight: bold;
}


/* スマホ用 */
@media (max-width: 1000px) {
.benefit {
    position: relative;
    width: 100%;
    height: 900px; /* 飛ばすエリアの高さ */
    overflow: hidden;
    padding: 50px 20px 100px;
}

}
@media (max-width: 600px) {
  .assista h1 {
    font-family: 'CustomFont', sans-serif;
    text-align: center;
    font-size: 4em;
}

.assista_explain{
    margin-top: 50px;
    padding: 20px;
    font-size: .9em;
}
.benefit {
    position: relative;
    width: 100%;
    height: 1400px; /* 飛ばすエリアの高さ */
    overflow: hidden;
    padding: 50px 20px 100px;
}

}


/* ここまで */

.services {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 100px 20px;
  box-sizing: border-box;
}

.services .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;
}

.services .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;
}

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

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

/* リスト全体 */
.services ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.services ul li {
  margin: 0 auto 40px;
  max-width: 700px;
}

/* li の中を a 化 */
.service-header {
  display: flex;
  align-items: center;
  gap: 30px;
  border-radius: 16px;
  background-image: url(../img/okumono_sf14-1280x720.png);
  background-size: cover;
  background-position: center;
  background-color: rgba(0, 0, 0, 0.2);
  background-blend-mode: overlay;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 20px rgba(0, 255, 127, 0.2);
  text-decoration: none;
  opacity: 0;
  transform: translateX(-100px);
  transition: all 2s ease;
}

.service-header {
  box-shadow: 0 6px 30px rgba(0, 255, 127, 0.4);
}

/* 2つ目の li */
.services ul li:nth-child(1) .service-header div:last-child {
  padding-right: 30px;
}
.services ul li:nth-child(2) .service-header div:last-child {
  padding-left: 30px;
}
.services ul li:nth-child(3) .service-header div:last-child {
  padding-right: 30px;
}

.services ul li:nth-child(2) .service-header {
  flex-direction: row-reverse;
}

/* 3つ目 */
.services ul li:nth-child(3) .service-header {
  transform: translateX(-100px);
}

/* 左から */
.services ul li:nth-child(1) .service-header.animate,
.services ul li:nth-child(3) .service-header.animate {
  opacity: 1;
  transform: translateX(0);
}

/* 右から */
.services ul li:nth-child(2) .service-header {
  transform: translateX(100px);
}
.services ul li:nth-child(2) .service-header.animate {
  opacity: 1;
  transform: translateX(0);
}

/* 画像の初期 */
.service-header img {
  width: 300px;
  aspect-ratio: 7 / 4.5;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(0, 255, 127, 0.3);
  filter: grayscale(80%); /* 白黒 */
  transition: filter 0.5s ease;
}

/* ホバー時にカラー */
.service-header:hover img {
  filter: grayscale(0%);
}

/* アコーディオンが開いているときにカラー */
.service-header.active img {
  filter: grayscale(0%);
}

/* テキストエリア */
.service-header div:last-child {
  flex: 1;
}

.service-header h4 {
  font-size: 1.4rem;
  color: #fff;
  position: relative;
}

.service-header p {
  color: #ccc;
  line-height: 1.6;
  font-size: .8em;
}

/* 英語部分（光エフェクト） */
.service-header p:nth-child(2) {
  margin: 0 0 15px 0;
  color: #00FF7F;
  text-shadow: 0 0 5px #00FF7F, 0 0 10px #00FF7F, 0 0 20px #00FF7F;
  font-weight: bold;
}



/* アニメーション */
@keyframes fadeInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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


/* 開閉用 */
.service-details {
  display: none;
  padding: 20px;
  background-image: url(../img/okumono_sf14-1280x720.png);
    background-size: cover;
  background-position: center;
  background-color: rgba(0, 0, 0, 0.4);
  background-blend-mode: overlay;
  backdrop-filter: blur(6px);
  border-radius: 12px;
  color: #fff;
  animation: fadeIn 0.5s ease;
}

.service-details.active {
  display: block;
}

/* a → .service-header に差し替え */
.services ul li .service-header {
  display: flex;
  align-items: center;
  gap: 30px;
  cursor: pointer;
  border-radius: 16px;
  background-image: url(../img/okumono_sf14-1280x720.png);
  background-size: cover;
  background-position: center;
  background-color: rgba(0, 0, 0, 0.2);
  background-blend-mode: overlay;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 20px rgba(0, 255, 127, 0.2);
  text-decoration: none;
  transition: transform 1s ease, box-shadow 0.3s ease;
}

.services ul li .service-header:hover {
  box-shadow: 0 6px 30px rgba(0, 255, 127, 0.4);
  transform: translateY(-5px);
}

@keyframes fadeIn {
  from {opacity:0; transform: translateY(-10px);}
  to {opacity:1; transform: translateY(0);}
}

.category{
    text-align: center;
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 30px;
}

.detail{
  color: white!important;
  font-size: 1.1em;
  text-align: right;
  font-weight: bold;
  margin-top: 20px;
}
/* dl全体をグリッドっぽく */
.service-details dl {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

/* 各カード */
.service-details dl .flex {
  flex: 1 1 calc(50% - 20px); /* 2列 */
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 255, 127, 0.3);
  border-radius: 12px;
  padding: 20px;
  box-sizing: border-box;
  min-width: 280px; /* 狭くなりすぎないように */
}

/* タイトル部分（cover-secondを中央寄せ） */
.service-details dl .accordion-header {
  text-align: center;
  margin-bottom: 10px;
}

.service-details dl .accordion-header .cover-second {
  display: inline-block;
  font-size: 1em;
  font-weight: bold;
  color: #00FF7F;
  text-shadow: 0 0 5px #00FF7F, 0 0 10px #00FF7F;
}

/* コンテンツ部分（左寄せ） */
.service-details dl .accordion-content {
  text-align: left;
  font-size: 0.8em;
  line-height: 1.6;
  color: #f0f0f0;
}

/* スマホ用に1列 */
@media (max-width: 768px) {
  .service-details dl .flex {
    flex: 1 1 100%;
  }
}


/* 768px以下で全て縦並び */
@media (max-width: 768px) {
  .services ul li .service-header {
    flex-direction: column !important; /* 縦並びを強制 */
    align-items: center; /* 中央寄せ */
    gap: 15px; /* 画像とテキストの間隔 */
    text-align: center; /* テキスト中央寄せ */
  }

  .services ul li .service-header img {
    width: 100%;
    max-width: 280px;
    height: auto;
    margin: 0 auto;
  }

    .services ul li{
      max-width: 280px;
    }
    .service-header div{
      padding: 15px!important;
    }
  .services ul li .service-header div:last-child {
    padding: 10px 0 20px;
  }

  .services ul li .service-header h4 {
    font-size: 1.2rem;
  }

  .services ul li .service-header p {
    font-size: 0.85rem;
  }
}