body {
  background-color: #BDB7ED;
  font-family:'Hina Mincho', serif;
  line-height: 1.6;;
  color: #5B4FA3;
  line-height: 1.8;
  opacity: 0; /* 最初は透明 */
  transition: opacity 0.5s ease;
}

body.loaded {
  opacity: 1; /* フェードイン */
}

body.fade-out {
  opacity: 0; /* フェードアウト */
  transition: opacity 0.5s ease;
}

.hamburger {
  position: fixed;
  right: 20px;
  top: 20px;
  width: 30px;
  height: 12px;
  cursor: pointer;
  z-index: 9999;
}
    
.hamburger__line {
  position: absolute;
  width: 30px;
  height: 3px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 300ms ease;
  transform: rotate(0deg);
}
    
/* 線の位置（通常） */
.hamburger__line:nth-child(1) { top: 0px; }
.hamburger__line:nth-child(2) { top: 9px; }
    
/* ×変形（2本） */
.hamburger.open .hamburger__line:nth-child(1),
.hamburger.open .hamburger__line:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
.hamburger.open .hamburger__line:nth-child(1) {
  transform: translateY(-50%) rotate(45deg);
}
.hamburger.open .hamburger__line:nth-child(2) {
  transform: translateY(-50%) rotate(-45deg);
}
    
/* メニュー本体 */
.menu {
  flex-direction: column;
  display: flex;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: all 300ms ease;
  width: 300px;
  background-color: #ffffff;
  color: #d1a4fe;
  padding: 20px;
  gap: 10px;
  margin-top: 20px;
  /* 右側に寄せる */
  position: fixed;   /* 親に対して絶対配置 */
  top: 60px;            /* ヘッダーの下に配置 */
  right: 7%;           /* 画面右からの位置（ヘッダーと揃える） */
  background-color: rgba(255, 255, 255, 0.85); /* 半透明 */
  backdrop-filter: blur(5px);  /* 背景を少しぼかすと浮かんで見える */
  border-radius: 8px;   /* 任意で角丸 */
  box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* 少し浮かせる */
  z-index: 9999;           /* 常に最前面 */
}
    
.menu.open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}
    
.menu__item {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 16px;
  color: inherit;
  padding-bottom: 10px;
  border-bottom: 1px solid #cccccc;
}
.menu__item:last-child {
  border-bottom: none;
}
    
.icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
    
/* アニメーション */
    
/* 上から下 */
.slide-top-enter-active,
.slide-top-leave-active {
  transition: all 300ms ease;
}

.slide-top-enter-from,
.slide-top-leave-to {
  opacity: 0;
  transform: translateY(-20px);
}

.slide-top-enter-to,
.slide-top-leave-from {
  opacity: 1;
  transform: translateY(0);
}

/* === パララックス背景 === */
.parallax {
  background-image: url('../img/hero-bg.jpg');
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px 0;
}

/* === コンテンツ全体 === */
.content {
  width: 90%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 60px; /* 各帯の隙間 */
}

/* === 見出しなど === */
.section-title {
  position: relative;
  font-size: 5rem;
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-align: center; /* 中央寄せ */
  width: 100%;
  font-family: "Jaini Purva", system-ui;
  font-weight: 400;
  font-style: normal;
  color: #ffffff;
}

.section-title span {
  display: inline-block;
  position: relative;
  z-index: 1; /* メイン文字を前面に */
}

.section-title .shadow {
  position: absolute;
  top: 10px;   /* ↓ 影のずらし位置 */
  left: 53%;
  transform: translateX(-50%) translateY(10px); /* 中央基準＋少し下へずらす */
  color: #A986D4; /* 影の色 */
  z-index: 0;
}


/* === 各帯（ブロック） === */
.about-block {
  background: rgba(255, 255, 255, 0.85); /* 半透明の白帯 */
  backdrop-filter: blur(5px); /* 背景ぼかしで浮かせる */
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.about-block.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-block:nth-child(1).visible { transition-delay: 0.1s; }
.about-block:nth-child(2).visible { transition-delay: 0.3s; }
.about-block:nth-child(3).visible { transition-delay: 0.5s; }
.about-block:nth-child(4).visible { transition-delay: 0.7s; }

.name {
  font-size: 1.6rem;
  font-weight: bold;
}

.title {
  font-size: 1.4rem;
  margin-bottom: 15px;
  background: linear-gradient(to right, #C48ED0, #532E81);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent; /* 保険 */
  border-bottom: 1px solid #9D8FEF;
  display: inline-block;
  padding-bottom: 5px;
}

.sub {
  background: linear-gradient(to right, #532E81, #7696DF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent; /* 保険 */
  font-size: 1.7vw;   /* 文字の大きさはここで */
}

ul {
  background: linear-gradient(to right, #532E81, #7696DF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent; /* 保険 */
  font-size: 1.7vw;   /* 文字の大きさはここで */
}

.about-block p,
.about-block li {
  font-size: 1rem;
  line-height: 1.8;
}

.about-block ul {
  list-style: none;
  padding: 0;
}

.about-block li {
  margin: 6px 0;
}

footer {
  text-align: center;       /* 中央寄せ */
  padding: 20px 0;          /* 上下の余白 */
  font-size: 0.9rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .hero-text p {
    font-size: 1.5rem; /* 文字を小さく */
    padding: 3px 10px;  /* パディングも小さく */
  }
}

@media (max-width: 480px) {
  .hero-text p {
    font-size: 1.2rem; /* さらに小さく */
    padding: 2px 8px;
  }
}
  .section-title {
    font-size: 3rem;
  }

  .section-title .shadow {
    top: 6px;
    transform: translateX(-50%) translateY(6px);
  }
