/* ==== メダル型アンカー部分 ==== */
.medal-view {
    display: flex;
    flex-wrap: nowrap;
    gap: 32px;
    justify-content: center;
    margin-top: 20px;
}

.medal {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background:
        /* 上部ハイライト筋 */
        linear-gradient(120deg, rgba(255,255,255,0.8) 10%, rgba(255,255,255,0.0) 60%),
        /* 側面リムの光 */
        linear-gradient(210deg, rgba(255,255,220,0.7) 0%, rgba(255,255,255,0) 60%),
        /* ゴールドメイン */
        radial-gradient(circle at 60% 35%, #fffbe5 0%, #ffe066 30%, #ffd700 60%, #e6b800 85%, #b89625 100%);
    /* box-shadow:
        0 10px 32px 6px rgba(180,140,0,0.33), 
        0 2px 12px 1px rgba(90,60,0,0.12), 
        0 0.5px 4px rgba(255,215,0,0.18); */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    transition: transform 0.2s;
}

.medal::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 30px;
    width: 60%;
    height: 30px;
    background: linear-gradient(120deg, rgba(255,255,255,0.7) 25%, rgba(255,255,255,0) 100%);
    border-radius: 50% 50% 40% 40%/60% 60% 40% 40%;
    filter: blur(1.5px);
    pointer-events: none;
    z-index: 2;
}

.medal:hover {
    transform: scale(1.06);
}
@media (hover: none) and (pointer: coarse) {
    .medal:hover {
        transform: none;
    }
}

.medal-content {
    text-align: center;
    width: 90%;
    color: #805300;
    z-index: 3;
    position: relative;
}

.medal-title {
    display: block;
    font-size: 1.6rem;
    font-weight: bold;
    color: gold;
    border: 1px solid #333;
    background-color: #333;
    margin-bottom: 4px;
    letter-spacing: 0.1em;
    /* text-shadow: 1px 1px 0 #fff8d1, 0 2px 4px rgba(0,0,0,0.10); */
}

.medal-copy {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    /* text-shadow: 1px 1px 0 #fff8d1; */
}
.medal-copy-em {
    font-weight: bold;
    font-size: 1.3em;
    line-height: 1.1;
}
.e-ticket {
    color: red;
}
.medal-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 5px; /* 必要に応じて調整 */
    vertical-align: middle;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid #333;
    animation: arrow-move 1.2s infinite cubic-bezier(0.4,0,0.2,1);
}

@keyframes arrow-move {
    0% { transform: translateY(0);}
    50% { transform: translateY(7px);}
    100% { transform: translateY(0);}
}

@media (max-width: 767px) {
    .medal-view {
        gap: 2vw;
        flex-wrap: nowrap;
        flex-direction: row;
        justify-content: center;
        overflow-x: auto;
    }
    .medal {
        width: 34vw;
        height: 34vw;
        max-width: 120px;
        max-height: 120px;
        min-width: 100px;
        min-height: 100px;
        flex-shrink: 0;
    }
    .medal-copy {
        font-size: 1.00rem;
    }
}

/* ==== 特典部分 ==== */
.tokuten_section_content_wrap {
    border-radius: 16px;
    border: 2px solid #e0f7fa;
    box-shadow:
        0 4px 24px rgba(76, 184, 196, 0.08),
        0 1.5px 4px rgba(0,0,0,0.06);
    background: linear-gradient(135deg, #fafdff 80%, #e0f7fa 100%);
    padding: 40px 32px 28px 32px;
    margin: 32px auto;
    max-width: 750px;
    position: relative;
    overflow: visible;
}

@media (max-width: 600px) {
    .tokuten_section_content_wrap {
        padding: 22px 6px 18px 6px;
        max-width: 98vw;
    }
    .tokuten_section_content_wrap::before {
        left: 14px;
        right: 14px;
        height: 4px;
        top: -7px;
    }
}
.tokuten_section_content_title_wrap {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

.tokuten_section_content_title.animated {
    position: relative;
    z-index: 2;
    font-size: clamp(1.8rem, 3.3vw, 2.4rem);
    font-weight: bold;
    color: #1c6db0;
    padding-bottom: 10px;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUpTitle 0.8s cubic-bezier(.45,.03,.52,.96) 0.2s forwards;
    text-shadow: 0 2px 8px rgba(76,184,196,0.20), 0 1px 0 #fff;
    letter-spacing: 0.04em;
}

.tokuten_section_content_title_wrap::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, #4cb8c4 0%, #43e97b 100%);
    z-index: 1;
    transform: translateX(-50%);
    animation: lineExpand 0.7s cubic-bezier(.45,.03,.52,.96) 0.4s forwards;
    border-radius: 1px;
    box-shadow: 0 1px 10px 0 #43e97b33;
}

@keyframes fadeUpTitle {
    to {
        opacity: 1;
        transform: translateY(0);
    }
    }

    @keyframes lineExpand {
    to {
        width: 200px;
    }
}

.tokuten_section_item_wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    margin-top: 60px;
    margin-bottom: 16px;
}

.tokuten_section_item_img.animated {
    width: 400px;
    max-width: 90vw;
    height: auto;
    opacity: 0;
    transform: translateX(-100px);
    animation: slideInLeft 0.5s cubic-bezier(.45,.03,.52,.96) 0.6s forwards;
    display: block;
    margin: 0 auto;
}

.gift_item_img {
    width: 100%;
    max-width: 100%;
    height: auto;
    opacity: 0;
    transform: translateX(-100px);
    animation: slideInLeft 0.5s cubic-bezier(.45,.03,.52,.96) 1.0s forwards;
    display: block;
    margin: 0 auto;
}

.gift_text {
    color: #1c6db0;
    font-weight: 700;
}

.minkai_img.animated {
    width: 500px;
    max-width: 90vw;
    height: auto;
    opacity: 0;
    transform: translateX(-100px);
    animation: slideInLeft 0.5s cubic-bezier(.45,.03,.52,.96) 0.6s forwards;
    display: block;
    margin: 0 auto;
}

@keyframes slideInLeft {
to {
    opacity: 1;
    transform: translateX(0);
}
}

.tokuten_section_item_text.animated {
    font-size: clamp(1.8rem, 3.3vw, 2.0rem);
    line-height: 1.5;
    width: 100%;
    opacity: 0;
    transform: translateX(100px);
    animation: slideInRight 0.5s cubic-bezier(.45,.03,.52,.96) 0.8s forwards;
    margin: 0 auto;
}

.minkai_text.animated {
    font-size: clamp(1.8rem, 3.3vw, 2.0rem);
    line-height: 1.5;
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateX(100px);
    animation: slideInRight 0.5s cubic-bezier(.45,.03,.52,.96) 0.8s forwards;
    margin: 0 auto;
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.tokuten_section_item_attention_text {
    border-left: 5px solid #ffbca0;
    background: #fff6f2;
    color: #ad4f1d;
    font-size: 1.05em;
    font-weight: 500;
    padding: 16px 22px;
    margin-top: 16px;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 2px 12px rgba(255, 188, 160, 0.09);
    position: relative;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 0.05em;
    transition: box-shadow 0.3s;
    /* 追加: 行の高さを合わせる */
    line-height: 1.6;
}

.accordion-toggle {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    margin-left: 12px;
    cursor: pointer;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center; /* 上下中央揃え */
    justify-content: center;
    outline: none;
    transition: color 0.2s;
    color: #ad4f1d;
    vertical-align: middle; /* これが重要！ */
    line-height: 1; /* 余計な高さを発生させない */
    position: relative;
    top: -1px; /* お好みで微調整（-1px～+3pxなど） */
    -webkit-tap-highlight-color: transparent;
}
.accordion-toggle:hover, .accordion-toggle[aria-expanded="true"] {
    color: #d46b31;
}
.accordion-toggle svg {
    width: 22px;  /* 大きさを調整 */
    height: 22px;
    transition: transform 0.3s;
    display: block;
}
.accordion-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.accordion-content {
    overflow: hidden;
    height: 0;
    opacity: 0;
    transition:
        height 0.4s cubic-bezier(0.86,0,0.07,1),
        opacity 0.3s linear;
    background: #fffaf8;
    border-left: 5px solid #ffbca0;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 16px rgba(255, 188, 160, 0.10);
    /* margin-top: -10px; */
    margin-bottom: 16px;
    padding-left: 22px;
    padding-right: 22px;
    color: #ad4f1d;
    font-size: 1em;
}
.accordion-content.active {
    max-height: 1000px;
    opacity: 1;
    padding-top: 18px;
    padding-bottom: 18px;
}
.accordion-content.open {
    opacity: 1;
}

.tokuten_section_item_attention_text::before {
    content: "！";
    display: inline-block;
    background: #ffbca0;
    color: #fff;
    font-weight: bold;
    font-size: 1.15em;
    border-radius: 50%;
    width: 1.6em;
    height: 1.6em;
    line-height: 1.6em;
    text-align: center;
    box-shadow: 0 2px 8px #ffbca022;
    margin-right: 10px;
    vertical-align: middle;
}

.tokuten_section_item_attention_text a {
    color: #e97a4d;
    text-decoration: underline dotted;
    word-break: break-all;
}

.tokuten_section_item_attention_text a:hover {
    color: #ad4f1d;
    text-decoration: underline solid;
}

@media (max-width: 600px) {
    .tokuten_section_item_wrap {
        gap: 16px;
        margin-top: 40px;
    }
    .tokuten_section_item_img {
        width: 60vw;
        max-width: 100%;
    }
    .tokuten_section_item_img.animated {
        width: 400px;
        max-width: 80vw;
    }
    .minkai_img.animated {
        width: 80vw;
        max-width: 100%;
    }
    .tokuten_section_item_text {
        line-height: 1.5;
        max-width: 100%;
    }
    .minkai_text {
        line-height: 1.5;
        max-width: 100%;
    }
    .tokuten_section_item_attention_text {
        font-size: 0.98em;
        padding: 12px 10px;
        border-radius: 0 6px 6px 0;
    }
    .tokuten_section_item_attention_text::before {
        width: 1.2em;
        height: 1.2em;
        font-size: 1em;
        line-height: 1.2em;
        margin-right: 6px;
    }
}

.tokuten_section_content_wrap,
.tokuten_section_item_wrap {
  overflow-x: hidden;
}

.tokuten_section_item_img,
.tokuten_section_item_text {
  max-width: 100%;
  box-sizing: border-box;
}

