/*** LP用CSS ***/

/* .main-container{
    max-width: 100%;
} */

img {
    padding: 0px;
    margin: 0px;
    max-width: 100%;
}
@media (min-width: 1300px) {
    img {
        width: 100%; /* 幅を100%に設定 */
        padding: 0px;
        margin: 0px;
    }
}

/* navbar */
nav {
    display: flex;
    /* width: 95%; */
    height: 12vh;
    padding: 0vh 2%;
    align-items: center;
}

.logo_menu {
    max-width: 100%;
    flex: 1; /* 左寄せの要素を1つのカラムとして伸縮させます */
    /* text-align: left; */
}
.logo_pic {
    max-height: 9vh;
}

.nav-icon {
    width: 28px; /* お好みの幅に変更 */
    height: 28px;
}
.nav-item span {
    font-size: 1.2rem;
}

.form_menu {
    max-width: 50%;
    flex: 1;
    /* text-align: right; */
    display: flex;
    justify-content: flex-end;
}
.form-link-item {
    margin-left: 10px;
}
/* .menu{

    display: flex;
    justify-content: space-between;
    align-items: center;
} */
.btns {
    display: flex;
    justify-content: right;
}
.content-header {
    font-size: 1.2em;
    background-color: red;
    color: white;
    padding: 10px;
    text-align: center;
    letter-spacing: 20px;
    background: radial-gradient(white 1px, orange 0.1%, red 99.9%);
}

/* メイン画像 */
.headimage {
    padding-top: 6vh;
    width: 100%;
}

/* コンテンツエリア */
.content-wrapper {
    background-image: url(../img/bkgrd_img.png);
    background-repeat: repeat;
}
.content {
    width: 95%;
    margin: 0 auto;
}

/* キャッチ文言 */
.explain {
    /* width: 90%; */
    margin-bottom: 2vh; /*下に余白*/
    padding-top: 5vh; /*上に余白*/
}
.explain_image {
    width: 100%;
}
/* 募集要項 */
.info-block {
    border: 1px solid #ccc;
    padding: 10px;
    margin: 10px;
    width: 100%;
}

.largefont {
    font-size: 1.5em;
    margin: 0 1px;
}
.example-txt-decoration {
    padding: 0.5rem 1rem;
    font-weight: bold;
    border: solid 2px #0f518d;
    background-color: white; /* 背景色を白に設定 */
    width: 80%;
    margin: 1rem auto; /* 右 auto 中央揃え */
    box-sizing: border-box; /* パディングを含めた幅調整 */
}
/* PCでは非表示 */
@media (min-width: 768px) {
    .example-txt-decoration {
        display: none;
    }
}
.example-txt {
    list-style-type: none; /* リストマーカーを消す */
    font-size: 1.1rem;
    color: black;
    text-align: left; /* 左揃え */
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

.example-txt li {
    margin-bottom: 0.1rem; /* 各項目の行間隔を調整 */
}

/* 拡大画面で1行表示（必要に応じて調整） */
@media (min-width: 946px) {
    .example-txt {
        display: inline; /* リスト全体を1行に表示 */
    }

    .example-txt li {
        display: inline;
        margin-right: 1.5rem; /* 各項目の間隔を調整 */
    }
}
.example-txt2 {
    font-size: 1rem;
    color: black;
    text-align: left;
    margin: 0;
    padding: 0;
    vertical-align: middle;
    width: 80%;
    margin: 0 auto; /* 右 auto 中央揃え */
}

.example-image {
    font-size: 1.2rem;
    margin: 0;
}
.example-pics {
    /*margin: 0 0 3rem; /* 上下スペース0.0.3rem */
    margin: 0 auto; /* 右 auto 中央揃え */
    width: 95%;
}

.example-container {
    width: 100%; /* 親要素の幅に合わせる */
    box-sizing: border-box; /* パディングを含む幅の計算 */
}
.example-content {
    display: flex;
    flex-direction: column;
    align-items: center; /* 画像とテキストを中央に配置 */
    width: 100%;
}

.example-pic {
    position: relative; /* 相対位置を設定 */
    text-align: center; /* 画像を中央に揃える */
    /*padding: 0; /* パディングを調整（必要に応じて） */
}

.example-image-txt {
    width: 100%; /* テキストを親要素の幅いっぱいに広げる */
    text-align: center; /* テキストを左揃えにする */
    margin: 0; /* マージンをリセット */
    padding: 0px 12px; /* 必要に応じて調整 */
}

.example-pic img {
    max-width: 100%; /* 画像を親要素の幅に合わせる */
    height: auto; /* 画像の高さを自動調整 */
}
.example-content-wrapper {
    display: inline-block; /* コンテンツのサイズに合わせる */
    text-align: center; /* テキストを中央揃え */
    margin: 0 auto; /* 中央揃え */
}

/* 参加方法 */
.sanka-guide {
    display: flex;
    margin-bottom: 50px;
}
.sanka-box {
    text-align: center;
    margin: 0 0px;
    padding: 0;
}

.explain-frame {
    width: 90%; /*外枠がその要素のサイズに合わせて描画されます*/
    height: auto;
    margin: 0 auto;
    border: 2px solid red; /* ここで赤い外枠が設定されています */
    border-radius: 20px 20px 20px 20px; /* ここで外枠角の丸みが設定されています */
    padding: 25px; /*コンテンツと外枠の間の距離*/
    display: inline-block;
    text-align: left;
    background-color: white;
}
.explain-title {
    font-size: 1.5em;
    letter-spacing: 3px;
    margin-bottom: 30px;
    text-align: center;
    color: red;
    word-wrap: break-word;
}
.explain-content {
    font-size: 1em;
}
.step {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.8em;
    color: white;
    text-align: center;
    margin-right: 15px;
    padding: 3px 30px;
    background-color: red;
    border-radius: 25px 25px 25px 25px;
    line-height: 2;
}
.title {
    white-space: nowrap;
}

.uketsukechu {
    animation: flash 1s linear infinite;
    font-size: 1rem;
    position: relative;
    display: inline-block;
    padding: 0.1rem 1rem 0.1rem 1rem;
    color: #fff;
    background: navy;
}
@keyframes flash {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.form-link-btn {
    text-align: center;
}
.toolsform {
    text-align: center;
    transition: transform 0.2s;
}
.toolsform:hover {
    transform: scale(1.1);
}
.popdl {
    text-align: center;
    transition: transform 0.2s;
}
.popdl:hover {
    transform: scale(1.05);
}
.contestform {
    text-align: center;
    transition: transform 0.2s;
}
.contestform:hover {
    transform: scale(1.05);
}

/* ダウンロード */
.download {
    width: 70%;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 50px;
    transition: transform 0.2s;
}
.download:hover {
    transform: scale(1.05);
}
.download-txt {
    text-align: center;
    font-size: 1.2em;
    color: red;
}

/* レシピ */
.recipe {
    text-align: center;
    margin-bottom: 4vh;
    transition: transform 0.2s;
    /*width: 100%;
    /*margin: 0 auto; /* 中央揃え */
}

.recipe:hover {
    transform: scale(1.05); /* クリック時浮く */
}

/* 事務局 */
.jimukyoku {
    width: 40%;
    text-align: center;
    margin: 5vh auto;
    transition: transform 0.3s;
}
.jimukyoku:hover {
    transform: scale(1.05); /* クリック時浮く */
}
.kumiai {
    width: 85%;
    text-align: center;
    margin: 1vh auto;
}
footer {
    width: 100%;
}

/* スマホ画面 */
@media screen and (max-width: 768px) {
    /* 事務局 */
    .jimukyoku {
        width: 80%;
        text-align: center;
        margin: 10px auto;
    }
}

.center-text {
    text-align: center; /* テキストを中央寄せ */
    font-size: 19px; /* テキストの大きさを設定 */
    margin-top: 20px; /* 上に20pxの余白を追加 */
}

/*   破線   */
.custom-dashed-line {
    width: 90%; /* 幅を調整 */
    height: 3px; /* 線の太さ */
    background-image: linear-gradient(
        to right,
        #0f518d 50%,
        rgba(255, 255, 255, 0) 50%
    );
    background-size: 10px 2px; /* 破線の長さと間隔を調整 */
    margin: 20px auto; /* 上下の余白を設定し、左右は自動で中央揃い */
}
.image-container {
    position: relative;
    width: 100%;
    max-width: 600px; /* 画像の最大幅に合わせて調整 */
    display: flex;
    margin: 0 auto; /* 横方向の中央揃え */
}

.image-container img {
    max-width: 100%;
    height: auto;
}

.background-image {
    width: 100%;
    height: auto;
}

/*  期間画像サイズ位置   */
.kikan {
    width: 100%; /* 親要素の幅を全体に広げる */
    text-align: center; /* 画像を中央揃え */
    margin: 0 auto; /* 親要素自体を中央に配置 */
    height: auto;
}

.kikan img {
    width: 85%; /* 画像を大きくするときは150%に設定 */
    height: auto; /* 縦横比を保つ */
    max-width: none; /* 最大幅の制約を解除 */
}
/*  トップボタン   */
.button_container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-right: 10px; /* 右との間隔調整 */
}

.button_pic {
    width: 12vw; /* ボタン画像の幅を調整 */
    height: auto;
    margin-left: 0px; /* ボタン間のスペース */
}
.button_pic_2 {
    width: 9vw; /* ボタン画像の幅を調整 */
    height: auto;
    margin-left: 0px; /* ボタン間のスペース */
}

.btn {
    margin: 0;
    padding: 0;
}
/* ホバー時のスタイル */
.button_pic:hover {
    transform: scale(1.02); /* クリック時浮く */
}
/* ホバー時のスタイル */
.button_pic_2:hover {
    transform: scale(1.02); /* クリック時浮く */
}

/* サイドメニュー（ハンバーガボタン） */
.side-menu {
    position: fixed;
    top: 0;
    right: -190px;
    width: 190px; /* メニュー横調整 */
    height: 100%; /* メニュー高さ調整 */
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    transition: right 0.3s ease;
    z-index: 100; /* 重ね画像や他の要素よりも前面に表示されるように設定 */
}
.side-menu.show {
    right: 0;
    padding-top: 12vh; /* 上に50vhを追加 */
}
.side-menu ul {
    padding: 1rem;
    list-style: none;
}
.side-menu li {
    margin: 0.3rem 0; /* 上下 文字間隔 */
}
.side-menu a {
    font-size: 1.2rem; /* 文字サイズを調整 */
    color: #333;
}

/* リンクにホバーしたときのスタイル */
.side-menu a {
    text-decoration: none; /* デフォルトの下線を取り除く */
    color: #333; /* リンクのデフォルトカラー */
    position: relative; /* 下線のための相対位置指定 */
    display: inline-block; /* 下線を文字だけに合わせるため */
}

.side-menu a:hover {
    color: #007bff; /* ホバー時のテキストカラー */
}

.side-menu a:hover::after {
    content: ""; /* 擬似要素の内容は空にする */
    position: absolute; /* 絶対位置で下線を表示 */
    left: 0;
    bottom: 10px; /* テキストの下に下線を表示する */
    width: 100%; /* テキストの幅に合わせる */
    border-bottom: 1.2px solid #007bff; /* 下線のスタイル */
}

.navbar-toggler {
    position: relative; /* トグルボタンを基準として位置を指定するために relative を設定 */
    border: none; /* ボタンの枠線を削除 */
    background: none; /* ボタンの背景を削除 */
    font-size: 1.5rem; /* ボタン内のフォントサイズを 1.5rem に設定 */
}

.navbar-toggler:focus {
    outline: none; /* デフォルトの外枠を削除 */
    box-shadow: 0 0 0 0px black; /* クリックしたときの外枠の太さと色を設定 */
}

.navbar-toggler .fa-bars,
.navbar-toggler .fa-times {
    color: black; /* アイコンの色を黒に設定 */
    font-size: 1.5rem; /* アイコンのサイズを 1.5rem に設定 */
}

/* 最初はハンバーガーアイコンを表示 */
.navbar-toggler .fa-bars {
    display: block; /* fa-bars アイコンを表示 */
}

.navbar-toggler .fa-times {
    display: none; /* fa-times アイコンを非表示 */
}

/* トグルが閉じている状態ではハンバーガーアイコンを表示 */
.navbar-toggler.collapsed .fa-bars {
    display: block; /* .collapsed クラスが付いているときに fa-bars アイコンを表示 */
}

/* トグルが開いている状態ではハンバーガーアイコンを非表示 */
.navbar-toggler:not(.collapsed) .fa-bars {
    display: none; /* .collapsed クラスがないときに fa-bars アイコンを非表示 */
}

/* トグルが開いている状態では×アイコンを表示 */
.navbar-toggler:not(.collapsed) .fa-times {
    display: block; /* .collapsed クラスがないときに fa-times アイコンを表示 */
}

/* トグルが閉じている状態では×アイコンを非表示 */
.navbar-toggler.collapsed .fa-times {
    display: none; /* .collapsed クラスが付いているときに fa-times アイコンを非表示 */
}
/* 大きな画面ではサイドメニューを表示しない */
@media (min-width: 768px) {
    .side-menu {
        display: none;
    }
}

/* 応募バー */
.oubo {
    padding-top: 20px; /* 上に20pxを追加 */
    width: 95%;
    margin: 0 auto; /* 右 auto 中央揃え */
    display: block; /* インライン要素ではなくブロック要素として扱う */
}

/* スクロールボックス */
.scroll-container {
    width: 90%;
    max-height: 200px; /* 高さを指定してスクロールを表示 */
    margin: 20px auto;
    padding: 10px;
    border: 1px solid #ccc;
    overflow-y: auto; /* 垂直方向のスクロールバーを表示 */
    background-color: #f9f9f9;
}
/* スマホ画面 */
@media only screen and (max-width: 768px) {
    /* スクロールバー全体 */
    .scroll-container::-webkit-scrollbar {
        width: 24px; /* スクロールバーの幅 */
    }

    /* スクロールバーのトラック（背景） */
    .scroll-container::-webkit-scrollbar-track {
        background: #cccccc2f;
    }

    /* スクロールバーのつまみ */
    .scroll-container::-webkit-scrollbar-thumb {
        background-color: #ccc;
        border-radius: 1px; /* つまみの角の丸みを作る */
        border: 1px solid #f9f9f9; /* つまみの内側にスペースを作る */
    }

    /* スクロールバーのつまみ（ホバー時） */
    .scroll-container::-webkit-scrollbar-thumb:hover {
        background-color: #999;
    }
}

/* 投稿黒バー */
.toko_ber {
    background-color: black; /* バーの背景色を黒に設定 */
    color: white; /* 文字色を白に設定 */
    font-size: 20px; /* 文字サイズを調整 */
    text-align: center; /* 文字を中央に配置 */
    height: 30px; /* バーの高さを30pxに設定 */
    line-height: 30px; /* テキストをバーの中央に揃える */
    white-space: nowrap; /* テキストを一行で表示 */
    overflow: hidden; /* 内容が高さを超えないようにする */
}

.recipe-pics {
    margin: 0 auto;
    text-align: center; /* 中央揃え */
    width: 90%;
}

/* レシピ テキスト */
.recipe-text {
    font-size: 1.2rem;
    color: #0f518d;
    text-align: center;
    margin: 0;
    padding: 0;
    vertical-align: middle;
    width: 100%;
}

/* スマホのスタイル */
@media (max-width: 768px) {
    .recipe-text {
        font-size: 1.1rem;
    }
}

.recipe-text2 {
    font-size: 1rem;
    color: black;
    text-align: left;
    margin-top: 10px;
    padding: 0px;
    vertical-align: middle;
    width: 100%;
    /*line-height: 1.5;*/
    margin-bottom: 30px; /* 下に30pxの余白を追加 */
    margin: 10px auto 30px auto; /* 画像との間隔調整 追加 */
}

.recipe-text3 {
    font-size: 18px; /* 文字サイズを調整 */
    width: auto; /* テキストを親要素の幅いっぱいに広げる */
    text-align: center; /* テキストを中央揃えにする */
    margin: 8px;
    /*padding: 0px 12px; /* 必要に応じて調整 */
    /*white-space: nowrap; /* テキストを一行で表示 */
    font-weight: bolder; /* 太字 */
    letter-spacing: 2px; /* 文字の横の間隔を設定 */
    /*font-family: Arial, Helvetica, sans-serif;*/
}
/* レシピ 画像 */
.custom-img-size {
    /*width: auto; /* 幅を280pxに設定 */
    height: auto; /* 縦横比を維持 */
    width: 100%;
}

/* ホバー時のスタイル */
.custom-img-size:hover {
    transform: scale(1.02); /* クリック時浮く */
}

/* .recipe-pics内の各列の間に余白を設定 */
.recipe-pics .col-sm-4 {
    padding-left: 15px; /* 左右の余白 */
    padding-right: 15px;
}
.recipe-link {
    text-decoration: underline;
    text-decoration-color: #0f518d; /* 下線の色 */
    text-decoration-thickness: 1.6px; /* 画面幅に応じた下線の太さ */
}
.osusume-recipe {
    width: 95%;
    margin: 0 auto; /* 中央揃え */
    display: block; /* インライン要素ではなくブロック要素として扱う */
}

/* 1300px以上の画面サイズ用スタイル */
@media (min-width: 1300px) {
    .example-txt2 {
        font-size: 1.3vw; /* フォントサイズを1.3vwに変更 */
    }
    .example-txt {
        font-size: 1.5vw; /* フォントサイズを1.5vwに変更 */
    }
    .example-txt-decoration {
        padding: 1rem 2rem; /* パディングを調整 */
        border-width: 3px; /* ボーダーの太さを調整 */
        font-size: 1.2vw; /* フォントサイズを1.2vwに変更 */
        margin: 1.5rem auto; /* マージンを調整 */
    }
    .scroll-container {
        font-size: 1.3vw;
    }

    .scroll-container h6 {
        font-size: 1.4vw;
    }
    .scroll-container {
        width: 90%; /* 幅を調整 */
        max-height: 25vh; /* 最大高さを調整 */
        padding: 15px; /* パディングを調整 */
    }
    .recipe-text {
        font-size: 2vw; /* ビューポート幅 */
    }
    .recipe-text2 {
        font-size: 1.4vw; /* ビューポート幅 */
        margin-top: 1vw;
        margin-bottom: 2vw;
    }
    .recipe-text3 {
        font-size: 1.7vw; /* ビューポート幅 */
    }
    .custom-img-size {
        width: 22vw; /* ビューポートの幅の設定 */
    }
    .toko_ber {
        font-size: 1.7vw; /* フォントサイズをビューポート幅の設定 */
        height: 3vw; /* バーの高さをビューポートの高さの設定 */
        line-height: 3vw; /* テキストをバーの中央に揃える */
    }
    .recipe {
        text-align: center;

        margin: 0 auto 4vh; /* 上下のマージンを指定、左右をautoで中央揃え */
        transition: transform 0.2s;
        width: 85%;
    }
    .custom-dashed-line {
        height: 0.3vw; /* 線の太さ */
        background-size: 15px 5px; /* 破線の長さと間隔を調整 */
        /*margin: 20px auto; /* 上下の余白を設定し、左右は自動で中央揃い */
    }
    /* レシピ 画像 */

    .custom-img-size {
        width: 100%;
    }
    .nav-icon {
        width: 36px; /* お好みの幅に変更 */
        height: 36px;
    }
    .nav-item span {
        font-size: 1.8rem;
    }
}
/* 画像重ねSCC ↓ */
.step-card {
    position: relative;
    line-height: 0;
    width: 100%;
}
.step-base {
    display: block;
    width: 100%;
    height: auto;
}

/* 共通：重ねボタン */
.hotspot {
    position: absolute;
    display: block;
}
.hotspot > img {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none; /* クリックは<a>側に通す */
}
/* ホバー：少し浮かせる */
.hotspot:hover > img {
    transform: scale(1.02); /* クリック時浮く感じでもOK */
}

/* クリック中：少し暗く＆押し込み */
.hotspot:active > img {
    transform: scale(0.98);
    filter: brightness(0.7);
}

/* ▼ 位置は例。％で微調整してください（ベース画像基準） */
/* STEP1 */
.step1-x {
    top: 56%;
    left: 8%;
    width: 84%;
} /* 上の青いボタン */
.step1-ig {
    top: 86%;
    left: 8%;
    width: 84%;
} /* 下の青いボタン */

/* STEP3 */
.step3-x {
    top: 78%;
    left: 8%;
    width: 84%;
}
.step3-ig {
    top: 87%;
    left: 8%;
    width: 84%;
}

/* 画像重ねSCC ↑ */
