:root {
    --main-color: #f98b0c;
    --accent-orange: #e68a00;
    --light-yellow: #fff9e1;
    --gray-bg: #eee;
    font-size: 16px;
}

body {
    font-family: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    margin: 0;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

picture {
    display: block;
    max-width: 100%;
}

@media (max-width: 768px) {
    :root {
        font-size: 14px;
    }
}

/* Hero Section */
.hero {
    display: flex;
    background: #f98b0c;
    align-items: center;
    margin-top: 60px;
}

@media (max-width: 768px) {
    .hero {
      margin-top: 0px;
    }
}
.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero-content img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

.hero-right {
    max-width: 790px;
    width: 62%;
}

.hero-right img {
    max-width: 100%;
    height: auto;
}


.badge {
    color: gold;
    border: 2px solid gold;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    font-weight: bold;
}

.main-text {
    padding-left: 20px;
}

.main-text h1 {
    font-size: 1.5rem;
    color: var(--main-color);
}

.category-tag {
    background: var(--main-color);
    color: white;
    display: inline-block;
    padding: 2px 15px;
    border-radius: 20px;
}

/* Ticket Box */
section {
    max-width: 960px;
    margin: 0 auto;
    padding: 0px 80px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    section {
        padding: 0px 20px;
    }
}

.ticket-info {
    text-align: center;
    padding: 40px 0;
}

.intro-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 100px 0 40px;
}

.intro-text {
    font-size: 1.8rem; /* 40px */
    font-weight: 800; /* black */
    color: #BF0000;
    margin: 10px 0;
    text-align: center;
    position: relative;
    top: -10px;
}

@media (max-width: 400px) {
    .intro-text {
        font-size: 1.4em;
    }
}

.intro-description {
    font-size: 1.3rem;
}



.ticket-box {
    background-color: var(--light-yellow);
    border: 6px solid #f0e0b0;
    border-radius: 30px;
    padding: 40px;
    position: relative;
}

@media (max-width: 768px) {
    .ticket-box {
           padding: 30px 20px;
}
}

.ticket-box h2 {
    color: #856404;
    text-align: center;
    border-bottom: 2px solid #856404;
    display: table;
    margin: 0 auto 15px;
}

.ticket-content-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.intro-text-box {
    width: 60%;
}

@media (max-width: 768px) {
    .ticket-content-row {
        flex-direction: column;
        margin-bottom: 0;
    }
    .intro-text-box {
        width: 100%;
        text-align: center;
    }

    .intro-description {
        text-align: left;
    }

    .intro-object {
        display: none;
    }
}

.ticket-content-row img {
    max-width: 100%;
    height: auto;
}

.intro-object {
    width: 370px;
    position: relative;
    top: -60px;
    left: 60px;
}

.ticket-tiers {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
}

@media (max-width: 768px) {
    .ticket-tiers {
        flex-direction: column;
        align-items: center;
    }
}



.tier {
    flex: 1;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    min-width: 0;
}


.tier-prizes {
    display: flex;
    gap: 20px;
    margin-top: 0;
    width: 100%;
    justify-content: center;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .tier-prizes {
        justify-content: center;
        width: 100%;
    }
}

.ticket-img-wrapper img {
    max-width: 280px;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.tier-prizes img {
    max-width: 200px;
    width: 100%;
    height: auto;
    flex: 1;
    min-width: 0;
}

.tier-label {
    background: var(--accent-orange);
    color: white;
    padding: 2px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
}

/* Flow Section */
.flow {
    margin-top: 80px;
    margin-bottom: 80px;
}


.section-title {
    background: var(--gray-bg);
    text-align: center;
    padding: 5px;
    font-size: 2rem;
    font-weight: 800;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.3rem;
         padding: 10px
    }
}


.flow-label {
    background: var(--main-color);
    color: white;
    text-align: center;
    padding: 5px;
    margin: 15px 0;
    position: relative;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .flow-label {
        margin-bottom: 10px;    
        font-size: 1.6rem;
    }
}

/* 矢印の表現 */
.flow-label::after {
    content: "";
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 16px solid var(--main-color);
}

.step-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 25px 0;
}

@media (max-width: 768px) {
    .step-card {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

.step-text {
    margin: 0;
    text-align: left;
}

@media (max-width: 768px) {
    .step-text {
        max-width: 380px;
        margin-bottom: 0;
    }
}



.step-text h3 {
    margin: 0;
    font-size: 5rem;
    font-weight: 800;
    position: relative;
    line-height: 1;
    margin-bottom: 30px;
}

.step-text p {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
    position: relative;
    top: -20px;
}

.step-text .step-note {
    font-size: 1.2rem;
    line-height: 1.2;
}

.step-visual {
    max-width: 380px;
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-left: 50px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .step-visual {
        margin-left: 0;
    }
}


.step-visual img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
  .step-visual img {
    max-width: 100%;
}
}

  

/* Entry Section */
.entry-section {
    text-align: center;
    margin-bottom: 60px;
}

.entry-section p {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.btn-orange {
    background: var(--accent-orange);
    color: white;
    border: none;
    padding: 20px 120px;
    border-radius: 50px;
    box-shadow: 0 4px 0 #b36b00;
    display: inline-block;
    text-decoration: none;
    font-size: 2.8rem;
    font-weight: 800;
}

/* 背景色を画像に合わせて紫に固定するセクション */
.campaign-details {
    background-color: var(--main-color);
    color: white;
    max-width: 100%;
    padding: 120px 0 120px;
}

.section-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 80px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .section-inner {
        padding: 0 20px;
    }
}

/* 白背景の見出し */
.white-title {
    background: white;
    color: rgb(73, 73, 73);
    text-align: center;
    padding: 10px;
    font-size: 2rem;
    font-weight: 800;
    margin: 0px 0 20px;
}

@media (max-width: 768px) {
    .white-title {
        font-size: 1.5rem;
        margin: 0px 0 20px;
    }
}



.period-list dl {
    margin-bottom: 20px;
    gap: 0px;
}

.period-list dt {
    font-weight: 800;
    font-size: 1.8rem;    
    margin-top: 30px;
    line-height: 1.2;
}

.period-list dd {
    margin-left: 0;
    font-size: 1.3rem;
}

.note {
    font-size: 0.8rem;
    margin: 0;
}

.cond-area {
    display: table;
    margin: 0 auto;
    text-align: left;
}

/* 応募条件 */
.conditions {
    margin-bottom: 60px;
}

.main-cond {
    color: #ffeb3b; /* 黄色の強調線 */
    border-bottom: 8px solid #ffeb3b;
    font-size: 2.5rem;
    font-weight: bold;
    text-align: left;
    display: inline;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .main-cond {
        font-size: 1.8rem;
        border-bottom: 6px solid #ffeb3b;
    }
}



.sub-note {
    font-size: 0.8rem;
    text-align: right;
    margin-bottom: 20px;
}

.target-box {
    background: white;
    box-shadow: inset 0 0 0 8px black;
    border-radius: 0px;
    color: black;
    margin: 30px 0 50px;
}

.target-header {
    background: black;
    color: white;
    text-align: center;
    padding: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}


@media (max-width: 768px) {
    .target-header {
        font-size: 1.2rem;
    }
}


.target-list {
    list-style: none;
    padding: 40px;
    margin: 0;
}

@media (max-width: 768px) {
    .target-list {
        padding: 20px;
    }
}


.target-list li {
    margin-bottom: 10px;
    padding-left: 15px;
    position: relative;
}

.target-list li::before {
    content: "・";
    position: absolute;
    left: 0;
}

.center-btn {
    text-align: center;
}

.btn-orange.large {
    padding: 15px 120px;
    font-size: 2rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .btn-orange.large {
        padding: 10px 60px;
        font-size: 1.5rem;
    }
}



/* 賞品セクション */
.prize-sub {
    text-align: center;
    border-left: 8px solid white;
    border-right: 8px solid white;
    padding: 0 10px;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    font-size: 2rem;
    font-weight: bold;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .prize-sub {    
        font-size: 1.5rem;
    }
}

.prize-visual {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 40px;
    margin: 10px 0 20px;
}

.prize-visual img {
    max-width: 100%;
    width: 300px;
    height: auto;
}

.percent {
    font-size: 2.5rem;
}

.percent span {
    font-size: 1rem;
}

/* 抽選の仕組み */
.lottery-mechanism {
    border: 1px solid white;
    background: transparent;
}

.mech-header {
    background: white;
    color: var(--main-color);
    padding: 10px 30px;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}


@media (max-width: 768px) {
    .mech-header {
        font-size: 1.2rem;
    }
}

.mech-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mech-body p {
    margin: 0;
    font-size: 1.3rem;
}

.mech-body p span {
    font-weight: bold;
}

.table-row {
    display: flex;
    padding: 5px 0;
    font-size: 1.3rem;
    align-items: center;
}

.row-label {
    min-width: 50px;
    padding: 0px 20px;
    border: 1px solid white;
    margin-right: 10px;
}

.row-content {
    line-height: 1.2;
}

.mech-note {
    font-size: 0.8rem;
    position: relative;
    top: 3px;
}

.get-banner {
    background: #ffeb3b;
    color: var(--main-purple);
    padding: 5px;
    margin-top: 15px;
    font-weight: bold;
    text-align: center;
    clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%);
}

.max-get-text {
    color: var(--main-color);
    font-size: 1.6rem;
    font-weight: 900;
    background-color: #FFEC8F;
    padding: 5px 25px 5px;
    margin: 20px 0 20px 0;
    text-align: left;
    clip-path: polygon(0% 0%, calc(100% - 30px) 0%, 100% 50%, calc(100% - 30px) 100%, 0% 100%);

}

/* 賞品一覧セクション */
.prize-list-section {
    margin-top: 100px;
}

.prize-category {
    margin-bottom: 70px;
}

.image-note {
    text-align: right;
    font-size: 1rem;
    color: #666;
}

/* チケット枚数ヘッダー */
.category-header {
    border-top: 2px solid #bda83c;
    border-bottom: 2px solid #bda83c;
    color: #bda83c;
    text-align: center;
    padding: 10px 0;
    margin: 30px 0 20px;
    font-size: 1.8rem;
    position: relative;
}

.toggle-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background-color: #bda83c;
    color: white;
    border-radius: 50%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.4rem;
    user-select: none;
    padding-bottom: 6px; /* 視覚的な中心調整 */
    box-sizing: border-box;
    line-height: 1;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.toggle-btn.is-active {
    transform: translateY(-50%) rotate(90deg);
    padding-bottom: 3px;
}

@media (max-width: 768px) {
    .category-header {
        font-size: 1.4rem;
    }
}

@media (max-width: 410px) {
    .category-header {
        font-size: 1.0rem;
    }
}

/* 賞品グリッドレイアウト */
.prize-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* PC時は3列 */
    gap: 40px;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    max-height: 5000px; /* コンテンツが収まる十分な高さ */
    opacity: 1;
    overflow: hidden;
}

.prize-grid.is-closed {
    max-height: 0;
    opacity: 0;
}

@media (max-width: 768px) {
    .prize-grid {
        grid-template-columns: repeat(2, 1fr); /* スマホ時は2列 */
        gap: 20px;
    
    }
}

.prize-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.img-box {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

@media (max-width: 768px) {
    .img-box img {
        width: 100%;
    
    }
}      


.prize-item h4 {
    font-size: 1.1rem;
    margin: 1px 0;
    font-weight: bold;
    line-height: 1.1;
}

.prize-item p {
    font-size: 0.76rem;
    color: #444;
    margin: 0;
}

.prize-detail-note {
    text-align: left;
}

.prize-note-box {
    display: table;
    margin: 0 auto;
    text-align: left;
}

.prize-note-box p {
    line-height: 1.2;
}

.prize-footer-notes {
    font-size: 0.8rem;
}

/* 応募要項 */


.application-terms {
    margin-top: 100px;
}

.terms-content {
    padding-top: 20px;
}

.terms-item {
    margin-bottom: 20px;
}

.terms-item h4 {
    font-weight: bold;
    border-left: 4px solid var(--main-color);
    padding-left: 10px;
    margin-bottom: 10px;
}

.terms-item ul {
    padding-left: 20px;
}

/* フッター */
.site-footer {
    text-align: center;
    padding: 40px 20px;
    font-size: 0.7rem;
    color: #666;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    margin: 0 5px;
}

.scroll-btn-container {
    text-align: center;
    margin: 50px 0 0 0;
}
.scroll-to-intro-btn {
    background-color: #ba9b62;
    color: #fff;
    border: none;
    padding: 15px 60px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 5px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.scroll-to-intro-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    opacity: 0.9;
}