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

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

}

.hero-slider{
    width:100%;
    overflow:hidden;
    margin-bottom:20px;
    margin-top:20px;
}

.slides{
    display:flex;
    width:200%;
    transition:transform .8s ease;
}

.slides img{
    width:50%;
    height:350px;
    object-fit:contain;
    flex-shrink:0;
}

/* ナビゲーション全体の背景と配置 */
.nav {
    background-color: #fff9f0; /* 優しいクリーム色 */
    padding: 10px 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-change {
    font-size: 18px;
    font-weight: 800;
    color: #ff6600;
    background: #fff3e0;
    padding: 10px 15px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 10px;
    position: relative;
}

.price-item p {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin: 0 0 15px;
    background: #fff;
    padding: 12px 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* タイトルを中央に */
#price-title {
    margin-bottom: 20px;
    width: 100%;              /* 横幅いっぱい使う */
}
/*料金変更
.old-price del {
    color: #999;
    text-decoration-color: red;/* 取り消し線を赤に */
    /*font-weight: bold;
}
}*/
/* 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.8em !important;
}

.workshop{
    display:flex;
    flex-direction:column;    /* 縦に並べる */
    gap:15px;
    flex-shrink:0;
}

.workshop img{
    width:220px;
    border-radius:10px;
}
h2{
background-color: #ff6600;
margin-top:40px;
border-left:6px solid #330099;
padding-left:10px;
font-size: 40px;
}
/*カレンダー*/
.news-section {
    max-width: 900px;
    margin: 50px auto;
    padding: 20px;
    text-align: center;
}

.calendar-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px auto;
}

.calendar-window {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.calendar-window img {
    width: 100%;
    max-width: 500px;
    display: block;
    transition: opacity 0.3s;
}

.calendar-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background-color: #ffd66b;
    font-size: 30px;
    cursor: pointer;
    color: #555;
}

.calendar-btn:hover {
    transform: scale(1.1);
}

.parking {
    width: 100%;
    background-color: #fffaf0;
    border-radius: 20px;
    padding: 20px 25px;
    margin: 20px auto;
    box-sizing: border-box;
    border: 2px dashed #f3c77b;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.parking p {
    font-size: 1em;
    text-align: left;
    color: #555;
    line-height: 1.8;
    margin: 10px 0;
    position: relative;
    padding-left: 28px;
}

/* かわいい丸アイコン風 */
.parking p::before {
    content: "🚗";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.1em;
}
/* カード */

.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{
    text-decoration: none;
    display:inline-block;
    background:#ff7a00;
    color:white;
    padding:18px 40px;
    font-size:20px;
    border-radius:10px;
    text-decoration:none;
    transition: all 0.3s ease; /* 動きを滑らかに */
    box-shadow: 0 4px 0 #d2691e; /* 立体感（ボタンの厚み） */

}

.button:hover{

    background-color: #ffa500; /* 少し明るく */
    transform: translateY(2px); /* 少し沈む（押した感） */
    box-shadow: 0 2px 0 #d2691e

}


/* 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);
}

/*フッター*/

footer {
    background: #fff9f0;
    border-top: 3px solid #ff9900;
    padding: 40px 20px 20px;
    margin-top: 50px;
}

.footer-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 80px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.footer-links,
.footer-contact {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    width: 280px;
    box-sizing: border-box;
}

.footer-links {
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #333;
    text-decoration: none;
    transition: 0.2s;
}

.footer-links a:hover {
    color: #ff6600;
}

.contact-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #ff6600;
    margin-top: 0;
    margin-bottom: 10px;
}

.contact-note {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.footer-contact {
    text-align: center;
    max-width: 320px;
}

.footer-contact img {
    width: 140px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
}

.footer-contact a {
    color: #06c755; /* LINEカラー */
    font-weight: bold;
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    color: #666;
    font-size: 0.9rem;
}

/* 説明文 */
.faq-card p {
    padding: 16px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
    line-height: 1.6;
}
/* 固定CTA */
.up-button{
    position:fixed;
    top:20px;
    right:10px;

    width:65px;
    height:65px;

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

    background:linear-gradient(180deg,#7fd3ff,#2fa9ff);
    color:white;
    text-decoration:none;

    border-radius:50%;
    box-shadow:0 6px 15px rgba(0,0,0,.25);

    z-index:999;
    transition:.25s;
    animation:rocketFloat 2s ease-in-out infinite;
}

.up-button .rocket{
    font-size:26px;
    line-height:1;
}

.up-button .text{
    font-size:11px;
    font-weight:bold;
    line-height:1.2;
    letter-spacing:1px;
}

.up-button:hover{
    transform:translateY(-4px) scale(1.08);
}

.up-button:active{
    transform:scale(.95);
}

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

.fixed-cta{

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

width:80px;
height:80px;

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

border-radius:50%;

color:#333;
font-weight:bold;
font-size:14px;
text-align:center;
text-decoration:none;

background:radial-gradient(
circle at 30% 30%,
rgba(255,255,255,0.95),
rgba(170,220,255,0.7) 45%,
rgba(120,200,255,0.45) 75%,
rgba(255,180,220,0.35)
);

box-shadow:
0 0 15px rgba(255,255,255,.8),
0 8px 20px rgba(0,0,0,.18);

backdrop-filter:blur(3px);

z-index:999;

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

animation:bubbleFloat 3s ease-in-out infinite;

overflow:hidden;

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

}

.fixed-cta::before{

content:"";

position:absolute;

top:14px;
left:18px;

width:22px;
height:22px;

background:rgba(255,255,255,.9);

border-radius:50%;

filter:blur(2px);

}


/* 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;
}

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


/* ポップアップ全体 */
#popupDialog {
    border: none;
    padding: 0;
    background: transparent;

    width: 90%;
    max-width: 420px;

    max-height: 90vh;
    overflow-y: auto;

    margin: auto;
}

/* ポップアップ内部 */
.dialog-inner {
    background: linear-gradient(180deg, #fffdf5, #fff2cc);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

/* 背景 */
#popupDialog::backdrop {
    background: rgba(0,0,0,0.75);
}

/* 閉じるボタン */
#closePopup {
    position: absolute;
    top: 10px;
    right: 12px;
    border: none;
    background: none;
    font-size: 28px;
    cursor: pointer;
    color: #666;
}

/* タイトル */
#popupDialog h2 {
    margin: 10px 0 20px;
    font-size: 15px;
    font-weight: 800;
}

/* 文章 */
#popupDialog p {
    margin: 5px 0;
    font-size: 18px;
}

@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 4px;
        font-size:14px;

    }

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

        display:flex;
        flex-direction: column; /* 縦 */
        align-items:center; 
        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;
    }

    .slides img{
        height:150px;
    }
}
/* 卵セクション全体の囲い */
.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); }
}