html {
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
}

@media screen and (max-width: 768px) {
    html {
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    html {
        font-size: 16px;
    }
}

body {
    padding-top: 0;
    background-color: #FFFFFF;
    color: #333333;
    letter-spacing: .025rem;
    font-family: 'Noto Sans JP', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.d-flex .screen {
    flex-basis: 180px;
    max-width: 180px;
    padding: 0 4px;
}

.py-3.d-flex {
    display: flex;
    gap: 20px;
    justify-content: center;
    max-width: 400px;
    margin: 2rem auto;
}

.pb-3.d-flex {
    display: flex;
    gap: 20px;
    justify-content: center;
    max-width: 400px;
    margin: 2rem auto;
}

@media screen and (min-width: 769px) {
    .d-flex .screen {
        flex-basis: 250px;
        max-width: 250px;
    }
    
    .py-3.d-flex,
    .pb-3.d-flex {
        gap: 10px;
    }
}

.container p,
.container ul li {
    font-size: .875rem;
    opacity: 1;
}

.container .lead {
    font-size: 1rem;
    opacity: 1;
}

.header {
    max-width: 100%;
    margin: 0;
    padding: 0 5%;
    position: relative;
    align-items: center;
    display: flex;
    height: 70px;
    justify-content: center;
    background-color: #000;
}

.logo img {
    max-height: 42px;
    width: auto;
    vertical-align: middle;
    position: relative;
}

h1 {
    letter-spacing: .15rem;
    color: #333333;
    font-size: clamp(1.5rem, 5vw, 2.125rem);
    line-height: 1;
    margin-bottom: 0.5rem;
}

h1.yellow {
    color: #000000;
    background-color: transparent;
    padding: 4px 0;
    margin: 20px 0;
    display: inline-block;
    font-size: clamp(1.35rem, 6vw, 2.5rem);
    font-weight: 700;
    position: relative;
    line-height: 1.2;
}

h1.yellow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: #E9FF00;
    z-index: -1;
    transform: translateY(-5px);
}

h2 {
    font-size: clamp(1.35rem, 6vw, 2.5rem);
    color: #333333;
    line-height: 1.1;
    margin: 1rem 0;
    font-weight: bold;
}

h2 .text-muted {
    color: #666666;
    font-weight: bold;
}

h3 {
    font-size: 1.1rem;
    color: #333333;
    letter-spacing: .15rem;
    opacity: .7;
}

a {
    color: #0066cc;
    text-decoration: none;
    transition: border-bottom 0.3s ease, color 0.3s ease;
}

a:hover {
    opacity: 0.8;
    text-decoration: underline;
    color: #004d99;
}

.btn-primary {
    background-color: #E9FF00;
    border: none;
    border-radius: .5rem;
    color: #1b2024;
    padding: .375rem .5rem;
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle,
.btn-primary.focus,
.btn-primary:focus {
    box-shadow: none;
    background-color: #E9FF00;
    color: #1b2024;
}

.btn-primary:hover {
    background-color: #E9FF00;
    border: none;
    border-radius: .5rem;
    color: #1b2024;
    padding: .375rem .5rem;
    opacity: .7;
}

.btn-primary p {
    font-size: .7rem;
    font-weight: bold;
}

.btn-primary p.code {
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: .15rem;
    line-height: 1.25;
    word-break: break-all;
}

div.toast-container {
    position: fixed;
    width: 75%;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
}

.original-toast {
    width: 100%;
    max-width: 200px;
    color: #fff;
    background: #4B5055;
    text-align: center;
    padding: 10px 20px;
    border-radius: 24px;
    margin: 0 auto;
}

.hide {
    display: none;
}

#qrcode > img {
    padding: 10px;
    background-color: white;
}

.note1 {
    line-height: 1.6;
    color: #333333;
    max-width: 800px;
    width: 90%;
    margin: 40px auto;
    padding: 30px;
    background-color: #f4f4f4;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.note1 ul,
.note1 ol {
    font-size: 1.08rem;
    margin-bottom: 1rem;
    padding-left: 0;
}

.note1 ul li,
.note1 ol li {
    font-size: inherit;
    line-height: 1.6;
    margin-bottom: 0.8em;
}

.note1 a {
    color: #0066cc;
    text-decoration: none;
    font-size: 1.0rem;
    line-height: 1.6;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 4px 0;
}

.note1 a:hover {
    color: #004d99;
    text-decoration: none;
    border-bottom: 2px solid #333333;
}

.note1 p.text-center {
    margin: 1.5rem 0 0.5rem;
}

.note1 p.text-center a {
    display: inline-block;
    position: relative;
}

@media screen and (max-width: 768px) {
    .note1 {
        width: 85%;
        padding: 20px;
        margin: 30px auto;
    }
    
    h1, h2 {
        text-align: center;
        margin: 1rem 0;
    }
    
    h1.yellow {
        margin: 15px 0;
        padding: 6px 12px;
    }
}

@media screen and (max-width: 480px) {
    .note1 {
        width: 90%;
        padding: 15px;
        margin: 20px auto;
    }
}

.note1 ul {
    list-style: disc inside;
}

.note1 li {
    position: relative;
    padding-left: 1em;
    margin-bottom: 15px;
    opacity: 1;
    text-indent: -1em;
}

.note1 ol {
    list-style-type: none;
    counter-reset: my-counter;
    padding-left: 5px;
    margin-bottom: 15px;
    opacity: 1;
}

.note1 ol li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 20px;
    text-indent: 0;
}

.note1 ol li::before {
    content: counter(my-counter);
    counter-increment: my-counter;
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    background-color: #333333;
    color: #FFFFFF;
    border-radius: 50%;
    text-align: center;
    line-height: 22px;
    font-size: 14px;
}

.py-3.text-center {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
}

#coupon_price {
    font-size: clamp(2.5rem, 8vw, 4rem);
    margin: 1rem 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

#coupon_price small {
    font-size: 45%;
    margin-left: 0.25rem;
    font-weight: bold;
    display: inline-block;
    position: relative;
    top: 0.2em;
}

.display-4 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: bold;
}

@media screen and (max-width: 768px) {
    #coupon_price {
        gap: 0.25rem;
    }
    
    #coupon_price small {
        font-size: 50%;
        top: 0.15em;
    }
}

.text-center p {
    max-width: 600px;
    margin: 0.5rem auto;
    line-height: 1.4;
}
