@charset "UTF-8";

html {
  scroll-behavior: smooth;
}
body{
position: relative;
font-family:"Hiragino Kaku Gothic ProN",sans-serif;
margin:0;
line-height:1.7;
color:#333;
padding:0 10px;
}

.fake-bg{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:url("images/LPbackground.jpg") center/cover no-repeat;
z-index:-1;
}
/* 共通フォント */

h1,h2{

font-family: "LXGW WenKai TC", cursive;

}

.page-wrapper{
  max-width:1100px;
  margin:10px auto;
  background:#f6f87d;
  border-radius:25px;
  overflow:hidden; /* ←バナーの角丸効かせる */
  box-shadow:0 10px 40px rgba(0,0,0,0.15);
  padding: 10px;

}
.hero{
  background-color: #f7d9b2; 
  background-image: url("images/icoinback.jpg");
  background-size: auto 99%;
  background-repeat: no-repeat;
  background-position: center;
  height: 60vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  
  
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* 中央寄せ */
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    display: block;
}
.hero-text{

z-index:2;
padding: 10px
}

.title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;      /* 基本サイズ */
  line-height: 1.6;     /* 行間（超大事） */
  background-color: #f5e6d2;
  border-radius: 50px; 
  padding: 10px;
  color: #030303ec;
}

.shuriken {
  width: 200px;
  opacity: 0;
  transform: translateX(-60px) rotate(0deg);
  animation: spinIn 0.8s ease-out forwards;
  border-radius: 50px; 
}

@keyframes spinIn {
  0% {
    transform: translateX(-120px) rotate(0deg);
    opacity: 0;
  }
  100% {
    transform: translateX(0) rotate(720deg);
    opacity: 1;
  }
}

.hero h1{

font-size:40px;
text-shadow:0 3px 10px rgba(14, 62, 151, 0.6);

}

.hero p{

font-size:20px;

}


/* ナビゲーション全体の背景と配置 */
.nav {
    background-color: #fff9f0; /* 優しいクリーム色 */
    padding: 25px 0;
    width: 100%;
}

.nav ul {
    list-style: none;         /* 点を消す */
    margin: 0;
    padding: 0;
    display: flex;            /* 横並びの魔法 */
    justify-content: center;  /* 中央寄せ */
    flex-wrap: nowrap;          /* 折り返し禁止 */
    overflow-x: auto;         /* 入りきらない時は横スクロール */
    overflow-y: hidden;        /* ★縦方向のはみ出しによるスクロールバーを防止 */
    padding-bottom: 8px;      /* ★ボタンの影（4px）とホバー時の変化に耐えられる下部余白を追加 */
    gap: 15px;                /* ボタン同士の間隔 */
    white-space: nowrap;

    -webkit-overflow-scrolling: touch;
}

.nav ul li {
    display: inline-block;
    padding-bottom: 4px;      /* ★ボタンの影が隠れないように安全地帯を作る */
}
/* ボタン（aタグ）のデザイン */
.nav ul li a {
    text-decoration: none;    /* 下線を消す */
    display: inline-block;
    padding: 15px 20px;
    background-color: #ff8c00; /* 元気なオレンジ */
    color: white;
    font-weight: bold;
    border-radius: 50px;      /* 角を丸くしてカプセル型に */
    transition: all 0.3s ease; /* 動きを滑らかに */
    box-shadow: 0 4px 0 #d2691e; /* 立体感（ボタンの厚み） */
}

/* マウスを乗せた時（ホバー）の演出 */
.nav ul li a:hover {
    background-color: #ffa500; /* 少し明るく */
    transform: translateY(2px); /* 少し沈む（押した感） */
    box-shadow: 0 2px 0 #d2691e; /* 影を薄くする */
}

.main-header2{
    
    font-size: 40px;
    position: relative;
}
.main-header2::after{
    content: "0歳から小学生まで楽しめる、室内おもちゃパーク";
    display: block; /* 改行して表示 */
    font-size: 14px;
    color: #1f1e1e;
    font-weight: normal;
    margin-top: 5px;
}

.container{

max-width:1000px;
margin:60px auto;
padding: 60px 20px;
border-radius: 15px;
text-align: center;
}

.nobr {
  display: inline-block; /* 塊として扱う魔法 */
}

.container.scratch-card{
  border: 3px dashed #ff0800;
}

/* タイトルを中央に */
#price-title {
    margin-bottom: 20px;
    width: 100%;              /* 横幅いっぱい使う */
}

/* ULとスクラッチを横並びにするための設定 */
.content-wrapper {
    display: flex;            /* 横並びにする魔法 */
    align-items: center;      /* 上下の中央を揃える */
    justify-content: space-around; /* 左右に程よくスペースを空ける */
    gap: 20px;                /* 要素同士の間隔 */
    flex-wrap: wrap;          /* 画面が狭くなったら縦に並べる */
}

/* 料金リストのスタイル */
.container ul {
    flex: 1;                  /* 利用可能なスペースを広げる */
    min-width: 250px;         /* 狭くなりすぎないように */
    list-style: none;
    font-size: 1.2rem;
    line-height: 2;
}

.container ul li{

    font-size:clamp(18px, 2vw, 24px);

    font-weight:bold;

    background:#fff;

    padding:15px 20px;

    border-left:6px solid #ff9800;

    border-radius:10px;

    margin-bottom:15px;

    box-shadow:0 4px 10px rgba(0,0,0,0.08);
    
    line-height:1.6;

    word-break: keep-all;

}

.price-item {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.price-column {
    flex: 1;
    min-width: 140px;
    display: flex;
    flex-direction: column;
}

.price-title {
    font-size: 1.1em;
    margin-bottom: 8px;
    color: #ff6600;
}

.time-text{
    font-size:0.9em;
    color:#666;
}

.price-example{
    background:#fff8ef;
    border-left:4px solid #ffcc66 !important;
    font-size:0.5em !important;
}

h2{
background-color: #ff6600;
margin-top:40px;
border-left:6px solid #330099;
padding-left:10px;
font-size: 40px;
}


/* カード */

.cards{

display:flex;
gap:20px;
justify-content:center;

}

.card{

flex:1;
max-width:300px;
text-align:center;

box-shadow:0 5px 20px rgba(0,0,0,0.1);
background:white;
border-radius:12px;

}

.card img{

width:100%;
height:220px;

object-fit:contain;

border-radius:12px;

margin-top:10px;
}

.card p{

padding:15px;

}

/* CTA */

.cta-box{

text-align:center;
background:#fff5e8;
padding:60px 20px;

}

.reserve-info {
    background-color: #fff3f3;
    border-left: 6px solid #ff6600;
    border-radius: 8px;
    padding: 16px;
    margin: 20px 0;
    text-align: left;
}

.reserve-info p {
    margin: 8px 0;
    line-height: 1.7;
    font-size: 15px;
    color: #444;
}

.reserve-info-text{
    font-size:14px;
    margin-bottom:15px;
    line-height:1.6;
}

.reserve-image-area{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    flex-wrap:nowrap;   /* ← 折り返さない */
}

.reserve-image-box{
    width:100%;
    max-width:260px;
    flex:none;
}

.reserve-image-box img{
    width:100%;
    border-radius:10px;
    border:2px solid #ddd;
}

.reserve-image-box span{
    display:block;
    margin-top:5px;
    font-size:12px;
    line-height:1.4;
}

.reserve-arrow{
    font-size:24px;
    font-weight:bold;
    color:#ff6600;
    flex-shrink:0;
}

.button{

display:inline-block;
background:#ff7a00;
color:white;
padding:18px 40px;
font-size:20px;
border-radius:10px;
text-decoration:none;

}

.button:hover{

background:#e86d00;

}

/* FAQ */

.faq{

max-width:900px;
margin:40px auto;

display:flex;
flex-direction: row;     /* 横並び */
flex-wrap: wrap;
justify-content: center;
gap:30px;

}

.faq-card {
    width: 100%;
    max-width: 320px;
    border-radius: 20px;
    overflow: hidden;
    background: #f09b4c;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

/* ふわっと浮く */
.faq-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

/* 画像エリア */
.img-wrap {
    position: relative;
}

/* 画像 */
.img-wrap img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* タイトル（画像の上にのせる） */
.img-wrap h3 {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;

    margin: 0;
    padding: 10px 14px;

    font-size: 16px;
    color: #333;

    /* 可愛いポイント */
    background: rgba(255,255,255,0.85);
    border-radius: 999px;
    backdrop-filter: blur(4px);

    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* 説明文 */
.faq-card p {
    padding: 16px;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}
/* 固定CTA */

.fixed-cta{

position:fixed;
bottom:20px;
right:20px;

background:#ff7a00;
color:white;

width:70px;
height:70px;

display:flex;
align-items:center;
justify-content:center;

border-radius:50%;

font-size:14px;

z-index:999;

transition:right .4s cubic-bezier(.4,0,.2,1);

box-shadow:0 5px 15px rgba(0,0,0,.2);

/* 棒人間の基準 */
position:fixed;
overflow:visible;

}



/* CTA浮き */

@keyframes ctaFloat{

0%{transform:translateY(0);}
50%{transform:translateY(-4px);}
100%{transform:translateY(0);}

}

.fixed-cta{

animation:ctaFloat 2s infinite ease-in-out;

}

/* ---------------- */
/* 棒人間 */
/* ---------------- */

.stickman{

position:absolute;

bottom:5px;

/* 最初は画面外 */
right:-80px;

width:40px;
height:60px;

transition:right 0.6s ease;

}

/* スクロールで登場 */

.stickman.show{

right:60px;

}

/* 頭 */

.head{

width:10px;
height:10px;

background:black;

border-radius:50%;

position:absolute;

left:15px;

}

/* 体 */

.body{

width:2px;
height:20px;

background:black;

position:absolute;

top:10px;
left:19px;

}

/* 腕 */

.arm{

width:18px;
height:2px;

background:black;

position:absolute;

top:15px;
left:19px;

transform-origin:left center;



}

.arm-left{

animation:pushArmLeft 3s infinite;

}

/* 右腕（戻る時） */

.arm-right{

animation:pushArmRight 3s infinite;

}


/* 左腕押す */

@keyframes pushArmLeft{

0%{transform:rotate(0);}
50%{transform:rotate(-35deg);}
100%{transform:rotate(0);}

}

/* 右腕押す */

@keyframes pushArmRight{

0%{transform:rotate(75deg);}
50%{transform:rotate(110deg);}
100%{transform:rotate(75deg);}

}

/* 足 */

.leg{

width:2px;
height:18px;

background:black;

position:absolute;

top:28px;

}

.leg.left{

left:16px;
animation:walkLeg1 0.6s infinite;

}

.leg.right{

left:22px;
animation:walkLeg2 0.6s infinite;

}



/* 足歩く */

@keyframes walkLeg1{

0%{transform:rotate(15deg);}
50%{transform:rotate(-15deg);}
100%{transform:rotate(15deg);}

}

@keyframes walkLeg2{

0%{transform:rotate(-15deg);}
50%{transform:rotate(15deg);}
100%{transform:rotate(-15deg);}

}
/*スクラッチ*/
.scratch-card {
    position: relative;
    width: 15vw;  
    height: 20vw;
    max-height: 200px;
    margin: 40px auto;
    background: transparent; /* 背景を透明に */
    box-shadow: none;        /* 影を消す */
    cursor: pointer;
    /*border: 2px solid red;*/

    /* 3. 余白と配置：margin: auto でFlexBOX内で中央寄せ */
    margin: 10px auto;
}

.prize {
    position: absolute;
    width: 15vw;  
    height: 20vw;
    max-height: 200px;
    display: block;
    object-fit: contain;
    z-index: 1; /* 下に隠す */
}

.scratch {
    position: absolute;
    top: 0;
    left: 0;
    width: 15vw;  
    height: 20vw;
    max-height: 200px;
    z-index: 2; /* 上に被せる */
}
/* 汽車*/
#train-section{
height:100px;
background:#fafafa;
display:block;
background:transparent;
overflow:visible;
border: ;
}

#train-svg{
width:100%;
height:100%;
display:block;
background:none;
overflow:visible;
}

#rail{
stroke:#444;
stroke-width:8;
fill:none;
stroke-dasharray:1200;
stroke-dashoffset:1200;
}

.draw{
animation:drawRail 2s forwards;
}

@keyframes drawRail{
to{
stroke-dashoffset:0;
}
}

#train{
font-size:50px;
opacity:0;
}

/* 汽車移動 */

.move-train{
animation:moveTrain 4s linear forwards;
}

@keyframes moveTrain{

0%{
transform:translate(95vw,350px);
}

100%{
transform:translate(5vw,50px);
}

}
.map-wrap{
    width:100%;
    max-width:1000px;
    margin:40px auto;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,0.15);
}

.map-wrap iframe{
    width:100%;
    height:450px;
    border:none;
    display:block;
}

 /* タブレット〜小さめPCも対象 */

@media (max-width:1024px){
  .cards{
    flex-direction:column;
    align-items:center;
  }
  .shuriken{
    width: 8vw;   /* 画面幅に応じて変わる */
    min-width: 24px;
    max-width: 40px;
  }
  
  .container ul li{
      word-break: break-word;
      overflow-wrap: anywhere;
  }

  
}


/* スマホ */

@media (max-width:768px){

.hero{

height:300px;

}

.hero h1{

font-size:26px;

}

h2{

font-size:18px;

}

.main-header2{
    
    font-size: 18px;
}

.cards{

flex-direction:column;
align-items:center;

}

.card{

width:90%;

}

.container{

padding:30px 20px;

}

.button{

width:50%;

}

.nav ul li a{

    padding: 8px 12px;
    font-size:14px;

}

.faq {
    max-width:900px;
    margin:40px auto;

    display:flex;
    flex-direction: column; /* 縦 */
    gap:20px;
}

.faq-card {
    width: 100%;
}

.shuriken{
width: 8vw;   
min-width: 24px;
max-width: 40px;
} 

.reserve-image-box{
    width:32vw;
    max-width:90px;
}

.reserve-arrow{
    font-size:18px;
}

}
/* 卵セクション全体の囲い */
.egg-box {
    background-color: #fffdec; /* 優しい薄黄色 */
    border: 3px dashed #ff9d00; /* オレンジの点線で囲う */
    border-radius: 20px;
    padding: 30px 20px;
    margin: 40px auto;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* メッセージ部分 */
#growth-message {
    font-size: 1.1rem;
    font-weight: bold;
    color: #555;
    margin-bottom: 20px;
}

/* 卵の表示エリア（少し浮かせるアニメーション付き） */
.egg-container {
    background: radial-gradient(circle, #ffffff 0%, #f0f0f0 70%);
    width: 220px;
    height: 220px;
    margin: 0 auto 20px;
    border-radius: 50%; /* 円形にする */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.05);
}

/* 卵の画像本体 */
#egg-image {
    max-width: 180px;
    height: auto;
    transition: transform 0.3s ease; /* 進化したときにフワッとする用 */
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
    /* 生きているような、ゆらゆらした動きを追加 */
    animation: egg-sway 3s infinite ease-in-out;
}

/* 次の進化までのテキスト */
.next-step {
    font-size: 1rem;
    color: #666;
    background: #ffffff;
    padding: 10px 15px;
    border-radius: 50px;
    display: inline-block;
}

#days-left {
    display: inline-block;
    min-width: 1.5em; /* 数字が変わってもガタつかないように */
}

/* 卵がゆらゆら揺れるアニメーション */
@keyframes egg-sway {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-10px) rotate(2deg); }
}