@charset "UTF-8";


body{
margin:0;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight:900;
}

/* ===== 初期状態（共通） ===== */
.fade-in {
  opacity: 0;
  transition: all 0.8s ease;
}

/* ===== 発火後 ===== */
.fade-in.show {
  opacity: 1;
  transform: translate(0, 0);
}

/* ===== 上から ===== */
.fade-in-top {
  transform: translateY(-40px);
}

/* ===== 下から ===== */
.fade-in-bottom {
  transform: translateY(40px);
}

/* ===== 左から ===== */
.fade-in-left {
  transform: translateX(-40px);
}

/* ===== 右から ===== */
.fade-in-right {
  transform: translateX(40px);
}


/* 全体 */
.side-widget {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translate(100%, -50%); /* 最初は完全に隠す */
  z-index: 10;

  display: flex;
  flex-direction: column;
  gap: 42px;

  transition: transform 1s ease;
}

/* 表示状態 */
.side-widget.is-visible {
  transform: translate(0, -50%);
}

/* 各アイテム（タグ型） */
.side-item {
  width: 170px;
  height: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  background: #ffffff;
  border-radius: 14px 0 0 14px;

  text-decoration: none;
  
  box-shadow: -2px 4px 12px rgba(0,0,0,0.12);

  /* 右から“ちょい隠し” */
  transform: translateX(20px);
  transition: 0.25s ease;
}

/* ホバーでスッと出る */
.side-item:hover {
  transform: translateX(0);
}

/* キャラ */
.char {
  width: auto;
  height: 70px;
  object-fit: contain;
  margin-bottom: 6px;
  margin-top: -40px;
}

/* テキスト */
.btn {
  font-size: 13px;
  font-weight: bold;
  color: #333;
  text-align: center;
  line-height: 1.2;
}

/* ちょいアクセント線（控えめ） */
.side-item::before {
  content: "";
  position: absolute;
  left: 0;
  width: 10px;
  height: 100%;
  background: #7fd3ff;
  border-radius: 34px 0 0 34px;
}

.br-display{
  display: none;
}


/* 右サイドボタン */
@media (max-width: 768px) {

  .side-widget {
    top: auto;
    bottom: -20px;
    right: 50%;
    transform: translate(50%, 100%);

    display: flex;
    flex-direction: row; /* ← 横並びに戻す */
    justify-content: center;
    gap: 0px;

    width: 100%;
    padding: 10px 8px;

    transition: transform 0.8s ease;
  }

  .side-widget.is-visible {
    transform: translate(50%, 0);
  }

  /* 各ボタン */
  .side-item {
    width: 125px;
    height: 90px;

    display: flex;
    flex-direction: column; /* ← キャラ＋文字は縦 */
    align-items: center;
    justify-content: center;

    border-radius: 14px;
  box-shadow: -2px 4px  12px rgba(0, 0, 0, 0);

    position: relative;
    transform: none;
  }
  .side-item:nth-child(1),
  .side-item:nth-child(2) {
    border-right: 2px solid rgba(0, 0, 0, 0.12);
  }
  .side-item:hover {
    transform: none;
  }

  /* キャラ */
  .char {
    height: 60px;
    position: relative;
    z-index: 3;
    margin: -30px 0 4px 0;
  }

  /* テキスト */
  .btn {
    font-size: 13px;
    text-align: center;
  }
.br-display{
  display: block;
}

  /* 🔥 上ラインアクセント */
  .side-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 10px;

    background: #7fd3ff;
    border-radius: 14px 14px 0 0;
  }
}

/* top */

.top{
  position: relative;
  background: #ff9823;
  padding: 180px 20px 0;
  overflow: hidden;
  z-index: 0;
    
}

.top-bg {
  position: absolute;
  inset: 0;
  background: url("../img/template_background.webp") repeat;
  background-size: 50% 100%;
  opacity: 0.1;
  z-index: 1;
}

.top-pop-up {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  max-width: 600px;
  width: 100%;

  animation: popBounce 0.8s ease-out forwards;
}

.top-pop-up img {
  width: 100%;
  margin-bottom: -6px;
}
@keyframes popBounce {
  0% {
    opacity: 0;
    transform: scale(0.5) translateY(40px);
  }
  40% {
    opacity: 1;
    transform: scale(1.2) translateY(-10px);
  }
  60% {
    transform: scale(0.9) translateY(5px);
  }
  75% {
    transform: scale(1.05) translateY(-3px);
  }
  90% {
    transform: scale(0.98) translateY(1px);
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}
@media (max-width:1250px){
.top-bg {
  position: absolute;
  inset: 0;
  background: url("../img/template_background.webp") repeat;
  background-size: 70% 70%;
  opacity: 0.1;
  z-index: 1;
}
  .top-pop-up {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  max-width: 500px;
  width: 100%;
}

}
@media (max-width:768px){

  .top{
  position: relative;
  background: #ff9823;
  padding: 100px 20px 0;
  overflow: hidden;
  z-index: 0;
    
}

}


/* ーーーーーーーーーー
ここから別
ーーーーーーーーーー */


/* ===== セクション ===== */
.terms {
  padding: 60px 20px;
  background: #fff;
  background-image: url(../img/function_background.webp);
  background-size: 80% 30%;
}

.terms-inner {
  max-width: 900px;
  margin: 0 auto;
}

.terms-title {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #111;
  letter-spacing: 0.04em;
}

/* 説明文 */
.terms-lead {
  font-size: 18px;
  line-height: 1.9;
  color: #444;
  margin-bottom: 50px;
  text-align: center;
}

/* 全体のリズム作る（最重要） */
.terms-block {
  margin-bottom: 44px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f0f0f0;
}

/* タイトル */
.terms-block h3 {
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
  position: relative;
  padding-left: 12px;
}

/* アクセントは細く・短く */
.terms-block h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 3px;
  height: 14px;
  background: #6ecff6;
  border-radius: 2px;
}

/* 本文：一気に読みやすさ改善 */
.terms-block p {
  font-size: 14px;
  line-height: 1.95;
  color: #333;
  margin-bottom: 10px;
  padding-left: 12px;
}

/* リスト部分（超重要：視認性UP） */
.terms-block p + p {
  margin-top: 8px;
}

/* lead */
.terms-lead {
  font-size: 14px;
  line-height: 2;
  color: #444;
  margin-bottom: 50px;
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.terms-sub {
  margin-top: 14px;
  margin-bottom: 14px;
  padding-left: 12px;
  border-left: 2px solid #f0f0f0;
}

.terms-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #45afda;
  margin-bottom: 4px;
}

.terms-sub p {
  font-size: 14px;
  line-height: 1.9;
  color: #333;
  margin: 0;
}

/* 最下部 */
.terms-note {
  text-align: center;
  font-size: 12px;
  color: #888;
  margin-top: 50px;
}


/* =========================
   波 共通
========================= */
.wave-line{
  width:100%;
  height:80px;
  line-height:0;
  position: relative;
  z-index: 5;
}

.wave-line svg{
  width:100%;
  height:100%;
  display:block;
}
.wave-top{
  background-color: transparent;

}
.wave-bottom{
  background-color: transparent;

}


@media(max-width:768px){

.wave-line{
  width:100%;
  height:40px;
  line-height:0;
  position: relative;
  z-index: 5;
}
}


