@charset "utf-8";
body {
    font-family: 'Arial', sans-serif;
    background-color: #006400;
    margin: 0;
    padding: 0;
    height: 100vh;
    position: relative;
    font-size: 17px;
    color: white;
}

h1 {
    color: white;
}

.target p {
    font-size: 21px;
    margin-left: 20px;
}

.target {
    background-color: #FFFF00;
    /* Light yellow background */
    color: #000000;
    /* Black text for contrast */
    border: 2px solid #000000;
    /* Black border */
    margin-top: 20px;
    box-shadow: 0px 0px 10px #666666;
    /* Soft shadow for depth */
    animation: fadeIn 2s ease-in-out;
    /* Fade-in effect */
}

.kyosan_img {
    width: 1100px;
    height: 650px;
    object-fit: cover;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

/* 例: css/style.cssに追加するCSS */

/* ヘッダー全体のスタイル */
header {
    background-color: #f8f8f8;
    border-bottom: 2px solid #d4c296;
    box-shadow: 0 4px 2px -2px gray;
    padding: 10px 0;
    font-size: 24px;
    /* Adjust the header text size */
    font-weight: bold;
    /* Make the header text bold */
    width: 100%;
    z-index: 1000;
}

/* 固定ヘッダー */
#header.fixed {
    position: fixed;/* ←fixedで固定する*/
    top: 0;
    left: 0;
  }

/* フッダー全体のスタイル */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    padding: 10px;
}

.footer-section h3 {
    margin-top: 0;
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    margin-top: 20px;
    font-size: 0.8em;
}

.footer-section a {
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-section img {
    margin-right: 8px;
}



/* コンテナのスタイル */
.container {
    width: 90%;
    margin: 0 auto;
}

/* メニューのリストスタイル */
.menu {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}

/* 各メニュー項目のスタイル */
.menu li {
    border-right: 1px solid #ddd;
    flex-grow: 1;
    text-align: center;
}

/* 最後のメニュー項目の境界線を削除 */
.menu li:last-child {
    border-right: none;
}

/* メニューリンクのスタイル */
/* Add to the existing menu a styles */
.menu a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    font-size: 18px;
    /* Increase the font size */
    font-weight: bold;
    /* Make the text bold */
}


.menu a:hover {
    background-color: #ddd;
}


/* 見出しのスタイル */
.festival-header {
    color: white;
    font-size: 24px;
    text-align: center;
    margin-top: 30px;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.3);
    /* 背景色を少し透明にして見やすく */
}

.festival-info-header{
    display: block;
    width: 100%;
    background-color: rgb(231, 158, 62);
    text-decoration: none;
}

/* 情報部分のスタイル */
.festival-info {
    color: white;
    margin-top: 20px;
    padding: 10px 20px;
    display: flex;
}

.festival-info p {
    margin: 10px 0;
}

.festival-info ul {
    list-style-type: disc;
    margin-left: 30px;
}

.map {
    margin: 10px;
}

.support {
    background-color: #ffee00;
    color: red;
    float: inline-end;
    margin-top: -50px;
    margin-right: 1.1%;
    font-size: 1.5em;
    letter-spacing: 0.1em;
}

/* time-schedule */
.program {
    margin-left: 60px;
}

.program p {
    color: black;
}

.time-schedule {
    min-width: 400px;
    max-width: 400px;
    list-style: none;
    margin: 0 auto 0 6em;
    padding-left: 20px;
    border-left: 6px solid #a7be18;
    box-sizing: border-box;
}

.time-schedule li {
    width: 100%;
    margin: 0 0;
    padding: 5px 0;
    position: relative;
}

.time-schedule span.time {
    width: 5em;
    display: inline-block;
    margin-left: -8em;
    padding: 0 0 5px;
    margin-top: 15px;
    vertical-align: top;
    position: relative;
    text-align: right;
    box-sizing: border-box;
}

.time-schedule span.time::after {
    content: "";
    position: absolute;
    right: -35px;
    top: 0;
    background: #a7be18;
    width: 20px;
    height: 20px;
    border-radius: 10px;
}

.time-schedule .sch_box {
    display: inline-block;
    width: 100%;
    margin-left: 30px;
    padding: 15px 10px 15px 10px;
    vertical-align: middle;
    background: #efefef;
    box-sizing: border-box;
    border-radius: 6px;
}

.time-schedule .sch_title {
    font-size: 16px;
    font-weight: 700;
}

.time-schedule .sch_tx {
    font-size: 14px;
    font-weight: normal;
}

/* 情報部分のスタイル */
#contactForm {
    color: white;
    margin-top: 20px;
    padding: 10px 20px;
}

/* 入力フォームのデザイン */
#contactForm input,
#contactForm select,
#contactForm textarea {
    display: block;
    width: 40%;
    margin: 10px 0;
    /* 入力欄間のマージン */
    padding: 8px;
    /* 入力欄内のパディング */
    border-radius: 4px;
    /* 入力欄の境界線の角を丸くする */
    color: #000000;
    /* テキストカラーを黒に設定 */
}

#contactForm label {
    margin-top: 20px;
    /* ラベル上のマージン */
    display: block;
    /* ラベルをブロック要素として表示 */
    color: #FFF;
    /* ラベルのテキスト色 */
}

/* 確認画面のデザイン */
#confirmModal {
    display: none;
    /* 初期状態では非表示 */
    position: fixed;
    /* 画面に固定 */
    left: 50%;
    /* 中央に配置 */
    top: 30%;
    /* 上から30％の位置に配置 */
    width: auto;
    /* 横幅自動 */
    max-width: 70%;
    /* 最大横幅は画面の70% */
    word-wrap: break-word;
    /* 長い文字列を折り返す */
    transform: translate(-50%, -50%);
    /* 正確に中央に配置するための調整 */
    background-color: #FFFFE0;
    /* 背景色をクリーム色に設定 */
    color: #000080;
    /* テキスト色を青に設定 */
    padding: 20px;
    /* 内側の余白 */
    border-radius: 5px;
    /* 角の丸み */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* ソフトな影を追加 */
    z-index: 1000;
    /* 他の要素より前面に表示 */
    line-height: 1.8;
    /* 行間隔 */
    letter-spacing: 0.01em;
    /* 文字間のスペースを追加 */
}

/* スポンサーバナー */
.footer-sponsors {
    background-color: #f5f5f5;
    /* フッターの背景色 */
    padding: 20px 0;
    /* 上下の余白 */
    text-align: center;
    /* 中央揃え */
}

.sponsor-list {
    list-style: none;
    /* リストマーカーを消去 */
    padding: 0;
    /* リストのパディングをリセット */
    margin: 0;
    /* マージンをリセット */
    display: flex;
    /* フレックスボックスを使用 */
    justify-content: center;
    /* 横に等間隔で配置 */
    flex-wrap: wrap;
    /* 必要に応じて折り返し */
}

.sponsor-list li {
    margin: 10px;
    /* スポンサー間の余白 */
}

.sponsor-list a {
    display: block;
    border: 1px solid #ccc;
    /* 枠線 */
    padding: 10px;
    /* 内側の余白 */
}

.sponsor-list img {
    max-width: 100px;
    /* ロゴ画像の最大幅 */
    height: auto;
    /* 画像の高さを自動調整 */
}

.error {
    border: 2px solid red;
}

/* 子ども神輿応募用*/
/* 参加者情報グループのスタイル */
.participant-info,
.guard-info {
    border: 2px solid #fff;
    /* 白色の枠線 */
    padding: 10px;
    margin: 20px 0;
    background-color: #004400;
    /* 背景色を濃い緑に設定 */
    width: 50%;
}

.participant-info,
.guard-info label {
    color: #fff;
    /* ラベルのテキスト色を白に設定 */
}

.participant-info,
.guard-info input {
    margin-top: 5px;
    width: calc(50% - 20px);
    /* 入力フィールドの幅を調整 */
    padding: 8px;
}

/* フォーム内の行をフレックスボックスにする */
.form-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

/* 各フィールドにフレックスアイテムのスタイルを適用 */
.field {
    flex: 1 1 45%;
    /* 各項目を画面の約45%の幅で表示 */
    display: flex;
    flex-direction: column;
    margin-right: -30%;
    /* 右側のマージンを追加して間隔を作る */
}

.field label {
    margin-bottom: 5px;
}

/* 最後のフィールドのマージンを取り除く */
.field:last-child {
    margin-right: 0;
}

.poster_div {
    text-align: center;

}

.poster_img {
    height: 800px;
}

.festival-info .event_info_box {
    border: 1px solid #ccc;
    padding: 0 20px;
    margin: 2rem 0;
}

.festival-info .event_info_box .event_info {
    display: table;
    padding: 1rem 0;
    width: 100%;
    border-bottom: 1px solid #efefef;
}




/*==================================================
スライダーのためのcss
===================================*/
.slider {
    position:relative;
  z-index: 1;
  /*↑z-indexの値をh1のz-indexの値よりも小さくして背景に回す*/
  height: 50vh;/*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
}
/*　背景画像設定　*/

.slider-item01 {
    background:url(../img/slide1.jpg);
    background-size: cover;/*背景画像が.slider-item全体を覆い表示*/
}

.slider-item02 {
    background:url(../img/slide2.jpg);
    background-size: cover;/*背景画像が.slider-item全体を覆い表示*/
}

.slider-item03 {

    background:url(../img/slide3.jpg);
    background-size: contain;
}
.slider-item04 {

    background:url(../img/poster.png);
    background-size: contain;
}

.slider-item {
    width: 100%;/*各スライダー全体の横幅を画面の高さいっぱい（100%）にする*/
    height:50vh;/*各スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
    background-repeat: no-repeat;/*背景画像をリピートしない*/
    background-position: center;/*背景画像の位置を中央に*/
    
}

/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev, 
.slick-next {
    position: absolute;/*絶対配置にする*/
  z-index: 3;
    top: 42%;
    cursor: pointer;/*マウスカーソルを指マークに*/
    outline: none;/*クリックをしたら出てくる枠線を消す*/
    border-top: 2px solid #ccc;/*矢印の色*/
    border-right: 2px solid #ccc;/*矢印の色*/
    height: 25px;
    width: 25px;
}

.slick-prev {/*戻る矢印の位置と形状*/
    left:2.5%;
    transform: rotate(-135deg);
}

.slick-next {/*次へ矢印の位置と形状*/
    right:2.5%;
    transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
  position: relative;
  z-index: 3;
    text-align:center;
  margin:-50px 0 0 0;
}

.slick-dots li {
    display:inline-block;
  margin:0 5px;
}

.slick-dots button {
    color: transparent;
    outline: none;
    width:8px;/*ドットボタンのサイズ*/
    height:8px;/*ドットボタンのサイズ*/
    display:block;
    border-radius:50%;
    background:#ccc;/*ドットボタンの色*/
}

.slick-dots .slick-active button{
    background:#333;/*ドットボタンの現在地表示の色*/
}

.glary {
    display: inline-block; /* ここがポイント */
    height: 80px;
    margin-right: 15px;
    margin-bottom: 15px;
}
.glary img {
    height: 20vh;
}

.kyosan_div,.sinnen_div{
    text-align: center;
}

/*========= レイアウトのためのCSS ===============*/
.wrapper ul{
  margin:0;
  padding: 0;
  list-style: none;
}

.wrapper h1{
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size:4vw;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background-color: rgba(0, 0, 0, 0.5); /* 透明度を50%に設定した白色の背景 */
  color: rgb(255, 255, 255); /* 文字色を黒に設定 */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* テキストの影を追加 */
  padding: 10px; /* パディングを追加して背景色の範囲を広げる */
  display: inline-block; /* 背景色をテキストの周りに限定 */
}

.wrapper{
  position: relative;
}

.hismovie{
    width: 40rem;
    height: 25rem;
}


/* スマホ用のスタイル */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 10px;
    }

    .menu {
        flex-direction: column;
        align-items: center;
    }

    .menu li {
        margin-bottom: 10px;
    }
}

/* BGMのON/OFFスタイルを追加 */
.bgm-control {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    align-items: center;
}

.bgm-control label {
    color: white;
    margin-left: 5px;
}

/* カウントダウンタイマー */
#countdown {
    display: flex;  /* Flexboxを使用して要素を横に並べる */
    justify-content: flex-start;  /* 左寄せ */
    align-items: center;  /* 垂直方向の中央揃え */
    gap: 10px;  /* 各要素の間に20pxのスペースを設ける */
    flex-wrap: nowrap;  /* アイテムを折り返さない */
    overflow-x: auto;  /* 横方向にスクロールバーを表示可能にする */
    padding-top: 20px;  /* コンテナの内側に余白を設ける */
    width: 15%;  /* コンテナの幅を親要素に合わせる */
    position: absolute;
}

p.countdown {
    position: absolute;
    color: black;
    font-size: 0.6em;
    top: 0%;
    margin-top: 0%;
    margin-bottom: 5px;
}

.time-unit {
    display: flex;
    flex-direction: column;  /* 縦方向に要素を並べる */
    align-items: center;  /* テキストとカードを中央揃え */
}
.time-unit span{
    font-size: 0.5em;
    color: #000;
}

.flip-card {
    position: relative;
    width: 30px;  /* カードの幅 */
    height: 50px;  /* カードの高さ */
    perspective: 1000px;  /* 3D変形の視点距離 */
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;  /* 裏面は非表示 */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1em;
    color: #333;
    background-color: #FFF;
    border: 1px solid #AAA;
    transition: transform 0.7s;
}

.card-front {
    transform: rotateX(0deg);
}

.card-back {
    transform: rotateX(-180deg);
}


input#confirm {
    background-color: #a2932c;
    /* 濃い緑色 */
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 4px;
    margin-top: 10px;
    width: 30%;
}

button#addressSubmit {
    background-color: #a2932c;
    /* 濃い緑色 */
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 4px;
    margin-top: 10px;
    width: 30%;
}

.sinnen_img{
    object-fit: contain;
    width: 22%;
}