/*------------
トップバナー画像 
------------*/

.top_firstView {
    display: flex;
    width: 100%;
}

.top_firstView img {
    width: 100%;
    object-fit: cover;
}

/*------------
購入履歴ボタン 
------------*/
.pc-top-btn-container {
    position: fixed;
    top: 20px;
    right: calc((100% - 390px) / 2);
    z-index: 1000;
    margin-right: 12px;
}

#history-page {
    background-color: #fff;
    border-radius: 10px;
    padding: 10px 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#history-page a {
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
}

#history-page:hover {
    background-color: #cc0000;
}

/*---------- 
セクションタイトル
------------ */

section:not(:first-of-type) {
    padding: 50px 16px;
}

section:not(:first-of-type) + section {
    padding-top: 0;
}

.section-title {
    position: relative;
    /* display: inline-block; */
    color: #333333;
    text-align: center;
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    padding-bottom: 10px;
    margin-bottom: 24px;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: #060A0D;
    border-radius: 2px;
}

.description{
    font-size: 1.5rem;
}

/* ----------
購入フロー (purchase-flow)
------------*/
.purchase-flow {
    margin-top: 20px;
    padding: 12px 0;
    background-color: #F5F5F5;
    border-radius: 12px;
}

.purchase-flow-header {
    display: flex;
    padding: 0 16px;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

/* ステップインジケーター */
.step-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #D1D5DB;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background-color: #FF4000;
}

/* ステップスライダー */
.step-slider {
    position: relative;
    overflow: hidden;
}

/* ステップコンテンツ */
.step-content {
    text-align: center;
    position: absolute;
    padding: 20px;
    width: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease-in-out;
    pointer-events: none;
}

.step-content.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
    position: relative;
}

.step-content.prev {
    transform: translateX(-100%);
}

.step-content.next {
    transform: translateX(100%);
}

/* 上段：step-numberとstep-titleを横並び */
.step-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    min-height: 68px;
}

.step-number {
    display: flex;
    width: 36px;
    height: 36px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-radius: 50px;
    color: #fff;
    background: #FF4000;
    font-size: 16px;
    font-weight: 700;
    line-height: 19.2px;
}

.step-title {
    font-size: 16px;
    font-weight: bold;
    color: #333333;
    line-height: 1.4;
    text-align: left;
    margin: 0;
}

/* 下段：phone-mockupとstep-descriptionを横並び */
.step-body {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

/* スマートフォンモックアップ */
.phone-mockup {
    display: flex;
    justify-content: center;
    flex-shrink: 0;
    width: 40%;
}

.phone-mockup img {
    max-width: 100%;
    height: auto;
}

/* ステップ説明 */
.step-description {
    font-size: 1.6rem;
    color: #555555;
    line-height: 1.6;
    text-align: left;
    margin: 0;
    flex: 1;
}

/* ナビゲーションボタン */
.step-navigation {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}

.nav-btn {
    padding: 12px 32px;
    font-size: 1.6rem;
    font-weight: bold;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prev-btn {
    background-color: #D1D5DB;
    color: #6B7280;
}

.prev-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.prev-btn:not(:disabled):hover {
    background-color: #9CA3AF;
}

.next-btn {
    background-color: #060A0D;
    color: white;
}

.next-btn:hover {
    background-color: #E54D00;
}

.press{
    color: #2F6DB5;
    text-decoration: underline;
}


/* ナビゲーションボタンの非表示 */
.nav-btn.hidden {
    visibility: hidden;
    pointer-events: none;
}

/* ----------
企画概要セクション
------------*/
.about-section{
    background-color: #fff;
}

.about-section-img {
    width: 100%;
    height: auto;
    margin-top: 24px;
    border-radius: 10px;
}

/* ----------
イベント情報セクション
------------*/
.event-info-section{
    background-color: #fff;
}

.event-info-section .description {
    margin-bottom: 24px;
}

.event-info-cotainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    gap: 16px;
}

.event-detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #F2FDFF;
    border-radius: 12px;
    width: 100%;
    padding: 16px;
    gap: 12px;
}

.event-title {
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}

.event-datail-info {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 8px;
}

.event-date {
    position: relative;
}
.event-place {
    position: relative;
}
.event-guest {
    position: relative;
}

.event-date::before {
    content: "";
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url(../img/icon_calendar.png);
    background-size: cover;
} 
.event-place::before {
    content: "";
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url(../img/icon_place.png);
    background-size: cover;
} 
.event-guest::before {
    content: "";
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url(../img/icon_guest.png);
    background-size: cover;
} 

.event-detail-notes {
    color: #666;
    font-size: 1.2rem;
    font-weight: 400;
}

.event-guests {
    color: #01A3C9;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
}

.howto-participation {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 8px;
}

.howto-participation h2 {
    font-size: 1.6rem;
    font-weight: 700;
}

.method-container {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.method-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.method-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
}

.method-number {
    background-color: #01A3C9;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 12px;
    padding: 4px 12px;
    min-width: 67px;
    text-align: center;
}

.method-description {
    color: #555555;
    font-size: 1.3rem;
    font-weight: 400;
}
.method-description span {
    display: block;
    color: #666;
    font-size: 1.2rem;
    font-weight: 400;
}

.method-description a {
    text-decoration: underline;
}
/* ----------
購入方法セクション
------------*/

.howtobuy-section{
    background-color: #fff;
}

/* ----------
販売アイテムセクション
------------*/
.collection-section{
    background-color: #fff;
}

.collection-section .container {
    max-width: 100%;
    box-sizing: border-box;
}

.item-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-start;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.item {
    background-color: #F8FAFC;
    width: calc((100% - 16px) / 2);
    max-width: calc((100% - 16px) / 2);
    text-align: left;
    box-sizing: border-box;
    border-radius: 12px;
    flex-shrink: 0;
    padding: 8px;
}

/* アイテムが1個の場合は画面幅いっぱいに表示 */
.item-list.single-item .item {
    width: 100%;
    max-width: 100%;
    padding: 16px
}

.item-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-bottom: 8px;
    border-radius: 12px;
    object-fit: cover;
    display: block;
}

.item-name {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.item-price {
    font-size: 1.4rem;
    color: #555555;
    margin-bottom: 8px;
}

.item-btn-wrapper {
    width: 100%;
    box-sizing: border-box;
}

.item-btn {
    display: inline-block;
    font-size: 1.6rem;
    text-align: center;
    color: #ffffff;
    background-color: #060A0D;
    width: 100%;
    padding: 8px 0px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.item-btn:hover {
    background-color: #cc0000;
}

/*---------- 
よくあるご質問セクション
------------ */

.collection-section + .question-section {
    padding-top: 50px;
}

.section-title-secondary {
    color: #333;
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 20px;
}

.toggle {
    display: none;
}

.Label {
    position: relative;
    display: block;
    background-color: #F8FAFC;
    color: #000;
    justify-content: end;
    align-items: center;
    margin: 0 auto;
    padding: 1em 2.5em 0.5em 1em;
    font-size: 1.6rem;
    font-weight: bold;
    border-radius: 12px;
    transition: border-radius 0.4s ease-in-out;
}

.Label::before {
    content: "+";
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    font-size: 2rem;
    color: #333333;
    transition: transform 0.4s ease-in-out;
}

.Label,
.content {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: all 0.3s;
}

.content {
    background-color: #F8FAFC;
    max-height: 0;
    margin-bottom: 10px;
    padding: 0 20px;
    overflow: hidden;
    font-size: 1.4rem;
    max-width: 930px;
    margin: 0 auto 10px;
    border-radius: 12px;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
}

.toggle:checked+.Label {
    border-radius: 12px 12px 0 0;
}

.toggle:checked+.Label+.content {
    max-height: 500px;
    padding: 0.5em 20px 20px;
    border-radius: 0 0 12px 12px;
}

.toggle:checked+.Label::before {
    content: "−";
    transform: translateY(-50%);
}

.question .sub-ttl::after {
    background-color: #ffffff;
}

.question a {
    color: white;
    text-decoration: underline;
}

/* -----------
footer
-------------*/

footer{
    background-color: #4A5568;
    color: #ffffff;
    text-align: center;
}

.footer-ttle{
    font-size: 1.8rem;
    font-weight: bold;
}

.footer-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px 16px;
    gap: 12px;
}

.footer a {
    text-decoration: none;
}

.p-footer__center-txt{
    color: #CBD5E0;
    font-size: 1.4rem;
}

/* 動作確認完了したらコメントアウトする */
.top-buy-btn.disabled {
    pointer-events: none;
    /* クリックを無効化 */
    color: #aaa;
    /* テキストの色をグレーに */
    background-color: #ddd;
    /* 背景色をグレーに */
    border: 1px solid #ccc;
    /* 境界線も調整 */
    cursor: not-allowed;
    /* カーソルを「禁止」マークに変更 */
    opacity: 0.6;
    /* 透明度を下げる */
}
