@charset "UTF-8";
/* ============================================================
   リセット・基本設定
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ============================================================
   ★ レイアウトの核心 — body
   ============================================================
   body がスクロールコンテナになる。
   background-attachment: fixed で背景を画面に固定。
   スクロールしても背景は動かない。
   ============================================================ */
html {
  height: 100%;
}

body {
  /* ★ 背景を固定するための設定 */
  background-image: url('img/haikei.jpg');
	  
  /* ★ ここが最重要: 背景をビューポートに固定 */
  background-attachment: fixed;
  background-size: 2500px;

  /* ★ body をスクロールコンテナにする */
  overflow-y: auto;
  height: 100vh;

  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  color: #333;
  line-height: 1.7;
}


/* ============================================================
   ★ 中央コンテンツ — .wrap
   ============================================================
   固定幅で中央に配置。左右には body の背景が見える。
   スマホでは width: 100% になり、背景が隠れる。
   ============================================================ */
.wrap {
  width: 750px;
  max-width: 100%;
  margin: 0 auto;
  background: #f8f6f2;
  min-height: 100vh;
  position: relative;
}


/* ============================================================
   ヒーローセクション
   ============================================================ */
.hero {
  background: #FFD531;
  color: #fff;
  padding: 2rem 1.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(100,160,255,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(100,200,255,0.1) 0%, transparent 40%);
  pointer-events: none;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ============================================================
   タイトルロゴ（ヒーローエリア）
   ============================================================ */
.header-logo {
	width: 400px;
}

/* ============================================================
   キャラクターアニメーション（ヒーローエリア）
   ============================================================ */
.character-container {
  width: 400px;
  height: 400px;
  margin: 0 auto 2rem;
  position: relative;
}

.character-float {
  width: 100%;
  height: 100%;
  position: relative;
  animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(40px); }
}

.part {
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
}

/* 胴体（ベース） */
.body {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 10;
}

/* 腕と足の配置（元の画像内での位置に合わせて調整） */
/* 1024x1024に対する各パーツのクロップ範囲を元に計算 */
.arm-right {
  width: 90px; /* (450-100) * (300/1024) */
  height: 90px; /* (850-500) * (300/1024) */
  top: 200px;   /* 500 * (300/1024) */
  left: 60px;   /* 100 * (300/1024) */
  z-index: 5;
  transform-origin: 80% 20%;
  animation: wave-right 2.5s ease-in-out infinite;
}

.arm-left {
  width: 90px;
  height: 90px;
  top: 200px;
  right: 60px;
  z-index: 5;
  transform-origin: 20% 20%;
  animation: wave-left 2.5s ease-in-out infinite;
}

.leg-right {
  width: 90px;  /* (450-150) * (300/1024) */
  height: 82px; /* (1024-750) * (300/1024) */
  bottom: 20px;
  left: 90px;   /* 150 * (300/1024) */
  z-index: 5;
  transform-origin: 50% 10%;
  animation: step-right 2.5s ease-in-out infinite;
}

.leg-left {
  width: 90px;
  height: 82px;
  bottom: 20px;
  right: 90px;
  z-index: 5;
  transform-origin: 50% 10%;
  animation: step-left 2.5s ease-in-out infinite;
}

@keyframes wave-right {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-25deg); }
}

@keyframes wave-left {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(25deg); }
}

@keyframes step-right {
  0%, 100% { transform: rotate(0deg); }
  60% { transform: rotate(-25deg); }
}

@keyframes step-left {
  0%, 100% { transform: rotate(0deg); }
  60% { transform: rotate(25deg); }
}
/* ============================================================
   セクション境界線
   ============================================================ */
.section-border{
	width: 750px;
}

/* ============================================================
   セクション1
   ============================================================ */
#section1{
	padding: 0
}
 /* 中央揃えのためのコンテナ */
    .video-container {
      position: relative;
	  margin: 0 auto;
      display: flex;
      width: 600px; /* テレビ画像に合わせたサイズ */
      justify-content: center;
      align-items: center;
    }

    /* テレビ画像のスタイル */
    .tv-sozai {
      width: 100%;
	margin-bottom: 0px;
      display: block;
      z-index: 2; /* テレビ画像を動画の上に表示 */
      pointer-events: none; /* クリック不可にする */
    }

    /* YouTube埋め込み動画のスタイル */
    .video-embed {
      position: absolute;
      top: 24%; /* テレビ透過部分の位置に調整 */
      left: 6%; /* テレビ透過部分の位置に調整 */
      width: 73%; /* テレビ画面に合わせて調整 */
      height: 65%; /* テレビ画面に合わせて調整 */
      z-index: 1; /* 動画を下層に配置 */
      pointer-events: auto; /* クリック可能にする */
    }

    /* メディアクエリ（SP対応） */
    @media (max-width: 768px) {
      .video-container {
        width: 100%;
        padding: 0 10px;
		justify-content: center;
        align-items: center;
      }

      .tv-sozai {
        width: 100%;
        margin-bottom: 20px;
      }

      .video-embed {
        top: 31%; /* テレビ透過部分の位置に調整 */
        left: 7%; /* テレビ透過部分の位置に調整 */
        width: 72%; /* テレビ画面に合わせて調整 */
        height: 52%; /* テレビ画面に合わせて調整 */
      }
    }
/* ============================================================
   セクション2
   ============================================================ */
.osirase-txt{
/* リンクの基本色、訪問済み、ホバー時すべてを同じ色にする */
 color: #000000; /* ここに適用したい色を指定（例：黒） */
 text-decoration: none; /* 下線を消したい場合 */
	}
		/* ============================================================
   セクション3
   ============================================================ */
.chuton_toha_gazou {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;       /* ❌ 400px から 100% に変更（箱いっぱいに広げる） */
  max-width: 400px;  /* ⭕ 大きくなりすぎないように最大幅を400pxにする */
  margin: 0 auto;    /* ⭕ これでこの箱自体が真ん中に寄ります */
  pointer-events: none;
}

/* 画像そのものの設定（もし無ければ追記してください） */
.chuton_toha_gazou img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* キャラクターの説明文 */
.chara-description {
  /* display: flex; ❌ 文字の崩れを防ぐために削除します */
  text-align: center; /* ⭕ これで文字が綺麗に中央揃えになります */
  color: #333;
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 500px;
  margin: 15px auto 0; /* ⭕ 左右を auto にして文字の箱を真ん中に寄せ、上に少し隙間をあける */
  transition: opacity 0.3s ease;
  font-family: 'RocknRoll One', sans-serif;
}

/* ============================================================
   セクション4
   ============================================================ */
#section4{
	background:#FFD531;
}
/* ============================================================
   スライダー（メイン部分）
   ============================================================ */
/* ボタンを配置するための親要素 */
.slider-outer {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

/* 共通のボタンスタイル */
.prev-btn, .next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: white;
  color: #ffaf14; 
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}
.prev-btn:hover, .next-btn:hover {
  background: #ffaf14;
  color: white;
}

/* 左ボタンの位置 */
.prev-btn {
  left: -25px;
}

/* 右ボタンの位置 */
.next-btn {
  right: -25px;
}

/* スマホではボタンを少し小さく、位置を調整 */
@media (max-width: 768px) {
  .prev-btn { left: 5px; width: 40px; height: 40px; }
  .next-btn { right: 5px; width: 40px; height: 40px; }
}

.slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.slider-wrapper {
	 position: relative;
	  justify-content: center;
  display: flex;
  transition: transform 0.5s ease;
  /* ★重要：1枚目を中央に寄せるための計算 */
  /* (100% - スライド幅80%) / 2 = 10% の余白を左に作る */
}

.slide {
  flex: 0 0 50%; /* 1枚の幅を80%に固定（これで左右が10%ずつ余る） */
  margin-right: 25px; /* 画像同士の隙間 */
  pointer-events: none; /* ★解決3：画像をクリックしても反応させない */
}

.slide img {
  width: 100%;
  height: auto;
  display: block; /* 余計な隙間を消す */
  border-radius: 10px;
  /* 画像そのもののクリックも無効化したい場合はここにも */
  pointer-events: none; 
}

/* ============================================================
   ボタン
   ============================================================ */
.button{
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.button-1 {
  width: 140px;
  height: 45px;
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 500;
  color: #000;
  background-color: #fed74b;
  border: none;
  border-radius: 45px;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease 0s;
  cursor: pointer;
  outline: none;
  }

.button-1:hover {
  background-color: #a44f16;
  box-shadow: 0px 15px 20px rgba(255, 165, 0 , 0.4);
  color: #fff;
  transform: translateY(-7px);
}

.button-2 {
  margin:20px;
  width: 140px;
  height: 45px;
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 500;
  color: #000;
  background-color: #fed74b;
  border: none;
  border-radius: 45px;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease 0s;
  cursor: pointer;
  outline: none;
  }

.button-2:hover {
  background-color: #a44f16;
  box-shadow: 0px 15px 20px rgba(255, 165, 0 , 0.4);
  color: #fff;
  transform: translateY(-7px);
}

.button-3 {
  margin:20px;
  width: 140px;
  height: 45px;
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 500;
  color: #000;
  background-color: #fed74b;
  border: none;
  border-radius: 45px;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease 0s;
  cursor: pointer;
  outline: none;
  }

.button-3:hover {
  background-color: #a44f16;
  box-shadow: 0px 15px 20px rgba(255, 165, 0 , 0.4);
  color: #fff;
  transform: translateY(-7px);
}

.button-4 {
  margin:20px;
  width: 140px;
  height: 45px;
  font-family: 'Roboto', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-weight: 500;
  color: #000;
  background-color: #fed74b;
  border: none;
  border-radius: 45px;
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease 0s;
  cursor: pointer;
  outline: none;
  }

.button-4:hover {
  background-color: #a44f16;
  box-shadow: 0px 15px 20px rgba(255, 165, 0 , 0.4);
  color: #fff;
  transform: translateY(-7px);
}

/* ============================================================
   セクション共通
   ============================================================ */
.section {
  padding: 4rem 0;
}

.section--top{
  display: flex;
  align-items: center;
  justify-content: center;
}

.section--menu{
	margin: 1rem;
	height:100px;
}

.section--light {
  background: #f8f6f2;
}

.section--dark {
  background: #1e2d3d;
  color: #e8edf2;
}

.section--dark .section__heading {
  color: #7eb8e8;
}

.section--dark .section__text {
  color: #c8d8e8;
}

.section--dark code {
  background: rgba(255,255,255,0.1);
  color: #7eb8e8;
}

.section__inner {
  padding: 0 2.5rem;
  max-width: 680px;
  margin: 0 auto;
}

.section--dark .section__heading {
  border-bottom-color: #7eb8e8;
}

.section__text {
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 1.5rem;
  color: #444;
}


/* ============================================================
   カード
   ============================================================ */
.card {
  background: #FFF3C4;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.card--highlight {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
}

.card--highlight .card__title {
  color: #a8d4f8;
}

.card__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.card__table th,
.card__table td {
  padding: 0.6rem 0.8rem;
  text-align: left;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.card--highlight .card__table th,
.card--highlight .card__table td {
  border-bottom-color: rgba(255,255,255,0.1);
  color: #c8d8e8;
}


.card--highlight .card__table th {
  background: rgba(255,255,255,0.08);
  color: #a8d4f8;
}

.card__table td code {
  font-size: 0.8em;
}





/* ============================================================
   フッター
   ============================================================ */
.footer {
  background: #ffaf14;
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 2rem;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

/* ============================================================
   ★ スマホ対応
   ============================================================
   スマホでは .wrap が 100% 幅になり、
   背景は見えなくなって中央コンテンツのみ表示される。
   ============================================================ */
@media (max-width: 800px) {
  /* ★ スマホでは幅いっぱいに */
  .wrap {
    width: 100%;
  }

  .hero__title {
    font-size: 1.8rem;
  }

  
  .section__inner {
    padding: 0 1.25rem;
  }

  .hero {
    padding: 5rem 1.25rem 4rem;
  }

  .nav-toggle {
    top: 12px;
    right: 12px;
    width: 48px;
    height: 48px;
  }
}

/* ============================================================
   スムーズスクロール
   ============================================================ */
html {
  scroll-behavior: smooth;
}

/* ============================================================
   スクロールバーのスタイル（任意）
   ============================================================ */
body::-webkit-scrollbar {
  width: 6px;
}
body::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.2);
}
body::-webkit-scrollbar-thumb {
  background: rgba(126,184,232,0.5);
  border-radius: 3px;
}


/*========= お問合せフォーム ===============*/

.Form {
  margin-top: 80px;
  margin-left: auto;
  margin-right: auto;
  max-width: 720px;
}
@media screen and (max-width: 768px) {
  .Form {
    margin-top: 40px;
  }
}
.Form-Item {
  border-top: 1px solid #dddcd6;
  padding-top: 24px;
  padding-bottom: 24px;
  width: 100%;
  display: flex;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .Form-Item {
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
    flex-wrap: wrap;
  }
}
.Form-Item:nth-child(5) {
  border-bottom: 1px solid #dddcd6;
}
.Form-Item-Label {
  width: 100%;
  max-width: 248px;
  letter-spacing: 0.05em;
  font-weight: bold;
  font-size: 18px;
  text-align: left;
}
@media screen and (max-width: 768px) {
  .Form-Item-Label {
    max-width: inherit;
    display: flex;
    align-items: center;
    font-size: 15px;
  }
}
.Form-Item-Label.isMsg {
  margin-top: 8px;
  margin-bottom: auto;
}
	@media screen and (max-width: 768px) {
  .Form-Item-Label.isMsg {
    margin-top: 0;
  }	
}

.Form-Item-Label-Required {
  border-radius: 6px;
  margin-right: 8px;
  padding-top: 8px;
  padding-bottom: 8px;
  width: 48px;
  display: inline-block;
  text-align: center;
  background: #FF8104;
  color: #fff;
  font-size: 14px;
}
@media screen and (max-width: 768px) {
  .Form-Item-Label-Required {
    border-radius: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
    width: 32px;
    font-size: 10px;
  }
}
.Form-Item-Label-Required-gy {
  border-radius: 6px;
  margin-right: 8px;
  padding-top: 8px;
  padding-bottom: 8px;
  width: 48px;
  display: inline-block;
  text-align: center;
  background: #afafb0;
  color: #fff;
  font-size: 14px;
}

@media screen and (max-width: 768px) {
  .Form-Item-Label-Required {
    border-radius: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
    width: 32px;
    font-size: 10px;
  }
}
.Form-Item-Input {
  border: 1px solid #dddcd6;
  border-radius: 6px;
  margin-left: 40px;
  padding-left: 1em;
  padding-right: 1em;
  height: 48px;
  flex: 1;
  width: 100%;
  max-width: 410px;
  background: #ffffff;
  font-size: 16px;
}
@media screen and (max-width: 768px) {
  .Form-Item-Input {
    margin-left: 0;
    margin-top: 5px;
    height: 40px;
    flex: inherit;
    font-size: 15px;
  }
}
.Form-Item-Textarea {
  border: 1px solid #dddcd6;
  border-radius: 6px;
  margin-left: 40px;
  padding-left: 1em;
  padding-right: 1em;
  height: 216px;
  flex: 1;
  width: 100%;
  max-width: 410px;
  background: #ffffff;
  font-size: 18px;
}
@media screen and (max-width: 768px) {
  .Form-Item-Textarea {
    margin-top: 18px;
    margin-left: 0;
    height: 200px;
    flex: inherit;
    font-size: 15px;
  }
}
.Form-Btn {
  border-radius: 6px;
  margin-top: 32px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 20px;
  padding-bottom: 20px;
  width: 280px;
  display: block;
  letter-spacing: 0.05em;
  background: #FF8104;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .Form-Btn {
    margin-top: 24px;
    padding-top: 8px;
    padding-bottom: 8px;
    width: 160px;
    font-size: 16px;
  }
}


@media screen and (max-width: 768px) {
	.text-content{
		max-width: inherit;
		display: flex;
		font-size: 10px;
		font-weight: normal;
	}
}



/*========= PAGE TOP ===============*/
/*リンクを右下に固定*/
#page-top {
	position: fixed;
	right: 10px;
	bottom:30px;
	z-index: 2;
    /*はじめは非表示*/
	opacity: 0;
	transform: translateY(150px);
}

/*　上に上がる動き　*/
#page-top.UpMove{
	animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime{
  from {
    opacity: 0;
	transform: translateY(150px);
  }
  to {
    opacity: 1;
	transform: translateY(0);
  }
}

/*　下に下がる動き　*/
#page-top.DownMove{
	animation: DownAnime 0.5s forwards;
}

@keyframes DownAnime{
  from {
  	opacity: 1;
	transform: translateY(0);
  }
  to {
  	opacity: 1;
	transform: translateY(150px);
  }
}

/*画像の切り替えと動き*/
#page-top a {
    /*aタグの形状*/
	display: block;
	width: 100px;
	height: 200px;
	color: #333;
	text-align: center;
	text-transform: uppercase; 
	text-decoration: none;
	font-size:0.6rem;
    /*背景画像の指定*/
	background: url("img/pagetop-base.png") no-repeat center;
	background-size: contain;
}

#page-top.floatAnime a{
	width: 100px;
	height: 200px;
    /*背景画像の指定*/
	background: url("img/pagetop-fly.png") no-repeat center;
	background-size: contain;
    /*アニメーションの指定*/
	animation: floatAnime 2s linear infinite;
	opacity: 0;
}

@keyframes floatAnime {
  0% { transform: translateX(0); opacity: 0; }
  25% { transform: translateX(-6px);opacity: 1; }
  50% { transform: translateX(0) }
  100% { transform: translateX(6px);opacity: 1; }
}
