@charset "UTF-8";

/* =====================================================
   Variables & Theme Colors
   ===================================================== */
:root {
    --color-navy: #1073bb;
    --color-orange: #cd3d1c;
    --color-bg-light: #f9f9f9;
    --color-text: #333333;
}

/* =====================================================
   Reset & Base
   ===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: 85px;
    /* Offset for fixed header + slight margin */
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-navy);
    /* Dark Navy for PC background */
    font-family: "M PLUS Rounded 1c", sans-serif;
    color: var(--color-text);
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/background.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(8px);
    z-index: -1;
    transform: scale(1.1);
    /* Prevents blurred edges from showing background color */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/* =====================================================
   Layout
   ===================================================== */
.wrapper {
    background-color: #ffffff;
    /* White background for center content */
    width: 100%;
    max-width: 675px;
    /* Mobile layout width on PC */
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

/* =====================================================
   Header & Navigation
   ===================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    pointer-events: auto;
    background-color: var(--color-navy);
}

.header-inner {
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 675px;
    margin: 0 auto;
}

.header-logo {
    display: block;
    width: 220px;
    max-width: 50%;
    padding: 15px 20px;
    pointer-events: auto;
}

/* Hamburger Button */
.hamburger {
    width: 64px;
    height: 64px;
    background-color: transparent;
    border-radius: 0;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 101;
    /* Above sp-nav */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    pointer-events: auto;
}

.hamburger span {
    display: block;
    width: 32px;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

/* Hamburger Active */
.hamburger.is-active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* SP Navigation Overlay */
.sp-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(16, 115, 187, 0.95);
    /* Navy Overlay */
    z-index: 100;
    /* Below hamburger */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: auto;
}

.sp-nav.is-active {
    opacity: 1;
    visibility: visible;
}

.nav-logo {
    margin-bottom: 50px;
    width: 280px;
    max-width: 80%;
}

.nav-list {
    text-align: center;
}

.nav-list li {
    margin-bottom: 40px;
}

.nav-list li:last-child {
    margin-bottom: 0;
}

.nav-list li a {
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0.1em;
    display: block;
    padding: 10px;
    transition: opacity 0.3s ease;
}

.nav-list li a:hover {
    opacity: 0.7;
}

/* =====================================================
   First View
   ===================================================== */
main {
    padding-top: 82px;
}

.fv {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

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

/* =====================================================
   Sections General
   ===================================================== */
.section {
    padding: 60px 30px;
}

.section.bg-light {
    background-color: var(--color-bg-light);
}

.section-title {
    color: var(--color-navy);
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.4;
    border-bottom: 2px solid var(--color-navy);
    display: inline-block;
    padding-bottom: 10px;
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 40px;
}

.section-text {
    font-size: 18px;
    line-height: 1.8;
}

/* CTA */
.cta-area {
    padding: 40px 30px;
    background-color: #fff;
    text-align: center;
}

.btn-primary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-orange);
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    padding: 20px 40px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(205, 61, 28, 0.3);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 400px;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(205, 61, 28, 0.4);
    opacity: 0.9;
    color: #fff;
}

/* Dummy Image */
.dummy-img {
    width: 100%;
    height: 300px;
    background-color: #cccccc;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
    border-radius: 8px;
}

/* Download List */
.download-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.btn-download {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 2px solid var(--color-navy);
    color: var(--color-navy);
    padding: 20px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 20px;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background-color: var(--color-navy);
    color: #ffffff;
}

.download-icon {
    margin-right: 15px;
    font-size: 24px;
}

/* Form */
.apply-form {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 16px;
}

.required {
    background-color: var(--color-orange);
    color: #fff;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 10px;
    vertical-align: text-bottom;
}

.optional {
    background-color: #999;
    color: #fff;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 10px;
    vertical-align: text-bottom;
}

.apply-form input[type="text"],
.apply-form input[type="email"],
.apply-form input[type="tel"],
.apply-form input[type="number"],
.apply-form select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    margin-bottom: 10px;
    background-color: #fafafa;
    transition: border-color 0.3s ease;
}

.apply-form input:focus,
.apply-form select:focus {
    outline: none;
    border-color: var(--color-navy);
    background-color: #fff;
}

.apply-form input:last-child {
    margin-bottom: 0;
}

.zip-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.zip-wrap input {
    width: 200px;
    margin-bottom: 0 !important;
}

.radio-group,
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
}

.radio-group label,
.checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    margin-bottom: 0;
    cursor: pointer;
}

.radio-group input,
.checkbox-group input {
    margin-right: 8px;
    width: 18px;
    height: 18px;
}

.flex-inputs {
    display: flex;
    align-items: center;
}

.form-submit {
    text-align: center;
    margin-top: 50px;
}

/* =====================================================
   Intro Message
   ===================================================== */
.intro-message {
    background-color: #fff;
    padding-top: 20px;
}

.message-title {
    color: var(--color-orange);
    font-size: 28px;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.5;
}

/* =====================================================
   About Points
   ===================================================== */
.about-point {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    overflow: hidden;
}

.about-point:last-child {
    margin-bottom: 0;
}

.point-title {
    background-color: var(--color-navy);
    color: #fff;
    padding: 15px 20px;
    font-size: 24px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.point-num {
    color: var(--color-orange);
    font-size: 28px;
    font-weight: bold;
    background: #fff;
    padding: 2px 8px;
    border-radius: 4px;
}

.point-sub {
    font-size: 14px;
    font-weight: normal;
    opacity: 0.9;
}

.point-content {
    padding: 25px 20px;
}

.point-desc {
    font-weight: bold;
    color: var(--color-orange);
    margin-bottom: 20px;
    font-size: 16px;
}

.dummy-img-small {
    height: 180px;
    margin-bottom: 20px;
}

.fact-text {
    font-size: 18px;
    line-height: 1.8;
}

.highlight-text {
    color: var(--color-orange);
    font-weight: bold;
    background: linear-gradient(transparent 70%, rgba(205, 61, 28, 0.2) 70%);
}

.why-now {
    padding: 10px 0;
}

.why-now-lead {
    font-size: 24px;
    font-weight: bold;
    color: var(--color-navy);
    text-align: center;
    margin-bottom: 25px;
    border-bottom: 2px dashed #ddd;
    padding-bottom: 20px;
}

.why-now-text {
    font-size: 18px;
    line-height: 1.8;
}

.hint-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hint-card {
    position: relative;
    background: #fff;
    border: 2px solid var(--color-navy);
    padding: 35px 25px 25px;
    border-radius: 12px;
}

.hint-badge {
    position: absolute;
    top: -16px;
    left: 20px;
    background: var(--color-orange);
    color: #fff;
    font-weight: bold;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 16px;
    letter-spacing: 0.1em;
}

.hint-title {
    font-size: 22px;
    color: var(--color-navy);
    margin-bottom: 15px;
    font-weight: bold;
}

.hint-text-p {
    font-size: 18px;
    line-height: 1.8;
}

/* =====================================================
   Guidelines
   ===================================================== */
.guidelines-wrap {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.guideline-category {
    font-size: 24px;
    color: var(--color-orange);
    border-bottom: 2px solid var(--color-orange);
    padding-bottom: 10px;
    margin-bottom: 20px;
    margin-top: 40px;
    font-weight: bold;
}

.guideline-category:first-child {
    margin-top: 0;
}

.guideline-list {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid #eee;
}

.guideline-list dt {
    width: 30%;
    padding: 20px 15px;
    background: var(--color-bg-light);
    font-weight: bold;
    color: var(--color-navy);
    border-bottom: 1px solid #eee;
    font-size: 18px;
}

.guideline-list dd {
    width: 70%;
    padding: 20px 15px;
    border-bottom: 1px solid #eee;
    font-size: 18px;
    line-height: 1.8;
}

.guideline-bullets {
    list-style: none;
    padding: 0;
    margin-bottom: 10px;
}

.guideline-bullets li {
    position: relative;
    padding-left: 1.2em;
    margin-bottom: 5px;
}

.guideline-bullets li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: var(--color-orange);
    font-weight: bold;
}

.note-text {
    font-size: 16px;
    color: #666;
    display: inline-block;
    margin-top: 5px;
}

.note-alert {
    color: var(--color-orange);
    font-weight: bold;
}

@media screen and (max-width: 600px) {

    .guideline-list dt,
    .guideline-list dd {
        width: 100%;
        padding: 15px;
    }

    .guideline-list dt {
        border-bottom: none;
        padding-bottom: 5px;
    }

    .guideline-list dd {
        padding-top: 0;
    }
}

/* =====================================================
   Wave Dividers
   ===================================================== */
.wave-divider {
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 3vw;
    min-height: 30px;
    max-height: 50px;
}

.wave-divider.wave-light {
    background-color: transparent;
}

.wave-divider.wave-white {
    background-color: transparent;
}

.wave-divider.bg-light {
    background-color: var(--color-bg-light);
}

/* =====================================================
   Award Section
   ===================================================== */
.award-visual {
    text-align: center;
    margin-top: 20px;
}

/* =====================================================
   Rich Form UI
   ===================================================== */
.apply-form input[type="text"],
.apply-form input[type="email"],
.apply-form input[type="tel"],
.apply-form input[type="number"],
.apply-form select {
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.apply-form input:focus,
.apply-form select:focus {
    outline: none;
    border-color: var(--color-orange);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(205, 61, 28, 0.15);
}

/* =====================================================
   Floating CTA & Effects
   ===================================================== */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: max(20px, calc(50vw - 320px));
    width: 90px;
    height: 90px;
    background-color: var(--color-orange);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    line-height: 1.4;
    box-shadow: 0 5px 20px rgba(205, 61, 28, 0.4);
    z-index: 99;
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-cta:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(205, 61, 28, 0.5);
    color: #fff;
}

.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(30deg) translateX(-100%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: rotate(30deg) translateX(-100%);
    }

    20% {
        transform: rotate(30deg) translateX(100%);
    }

    100% {
        transform: rotate(30deg) translateX(100%);
    }
}

/* =====================================================
   Tablet / Small PC
   ===================================================== */
@media screen and (min-width: 676px) and (max-width: 1023px) {
    .header {
        background-color: transparent;
    }

    .header-inner {
        max-width: 100%;
    }

    .header-logo {
        padding: 0;
        margin: 15px;
    }

    main {
        padding-top: 0;
    }
}

/* =====================================================
   Confirm & Thanks Pages
   ===================================================== */
.confirm-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

.confirm-table th,
.confirm-table td {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    text-align: left;
    font-size: 16px;
    line-height: 1.6;
}

.confirm-table th {
    width: 35%;
    font-weight: bold;
    color: var(--color-navy);
    background-color: #fafafa;
}

.confirm-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-secondary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: #666;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    padding: 20px 40px;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    min-width: 200px;
}

.btn-secondary:hover {
    background-color: #444;
    transform: translateY(-2px);
}

@media screen and (max-width: 600px) {

    .confirm-table th,
    .confirm-table td {
        display: block;
        width: 100%;
    }

    .confirm-table th {
        border-bottom: none;
        padding-bottom: 5px;
    }

    .confirm-table td {
        padding-top: 0;
        margin-bottom: 10px;
    }

    .confirm-btns {
        flex-direction: column-reverse;
    }

    .confirm-btns button {
        width: 100%;
    }
}

/* =====================================================
   Large PC (Side Margin Layout)
   ===================================================== */
.pc-only {
    display: none;
}

@media screen and (min-width: 1024px) {
    .header {
        background-color: transparent;
        pointer-events: none;
    }

    main {
        padding-top: 0;
    }

    /* Hide the hamburger icon */
    .hamburger {
        display: none !important;
    }

    /* Center logo in the left margin */
    .header-logo {
        position: fixed;
        top: 50%;
        left: calc(25% - 168.75px);
        transform: translate(-50%, -50%);
        width: 100%;
        max-width: 500px;
        margin: 0;
        padding: 0 20px;
        pointer-events: auto;
    }

    /* Make SP Nav the right margin menu */
    .sp-nav {
        opacity: 1 !important;
        visibility: visible !important;
        position: fixed;
        top: 50%;
        right: calc(25% - 168.75px);
        left: auto;
        transform: translate(50%, -50%);
        width: auto;
        height: auto;
        background: transparent !important;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        z-index: 100;
        pointer-events: auto;
    }

    /* Hide the mobile menu logo */
    .nav-logo {
        display: none;
    }

    /* Style the right menu list */
    .nav-list {
        text-align: center;
    }

    .nav-list li {
        margin-bottom: 30px;
    }

    .nav-list li a {
        font-size: 18px;
        padding: 8px 10px;
        position: relative;
        display: inline-block;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
        /* Drop shadow for readability on background */
    }

    /* Underline hover effect for right menu */
    .nav-list li a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background-color: var(--color-orange);
        transition: width 0.3s ease;
    }

    .nav-list li a:hover::after {
        width: 100%;
    }

    /* PC Specific UI Elements */
    .pc-only {
        display: block;
    }

    .nav-qr {
        margin-top: 40px;
        text-align: center;
        background: rgba(255, 255, 255, 0.9);
        padding: 20px;
        border-radius: 12px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .nav-qr-text {
        font-size: 14px;
        font-weight: bold;
        color: var(--color-navy);
        margin-bottom: 10px;
        line-height: 1.4;
    }

    .nav-qr-img {
        width: 120px;
        height: 120px;
        margin: 0 auto;
        border-radius: 4px;
    }

    .nav-qr-img img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .floating-cta {
        right: 40px;
        bottom: 40px;
        width: 130px;
        height: 130px;
        font-size: 18px;
    }
}

/* =====================================================
   Apply Methods Section Styles
   ===================================================== */
.apply-method-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.apply-method-item {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-left: 8px solid #00843d;
}

.method-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.method-num {
    background-color: #00843d;
    color: #fff;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-weight: bold;
    font-size: 20px;
    flex-shrink: 0;
}

.method-title {
    font-size: 22px;
    font-weight: bold;
    color: #00843d;
}

.method-deadline {
    font-size: 14px;
    font-weight: bold;
    background: #eef7f2;
    color: #00843d;
    padding: 4px 12px;
    border-radius: 4px;
}

.method-body {
    font-size: 17px;
    line-height: 1.7;
}

.method-info-box {
    margin-top: 15px;
    background: #f0f4f2;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
}

.info-label {
    display: block;
    font-weight: bold;
    color: #00843d;
    margin-bottom: 5px;
}

.info-value {
    display: block;
    word-break: break-all;
}

.info-value.important {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    letter-spacing: 0.05em;
    margin: 5px 0;
}

@media screen and (max-width: 480px) {
    .method-title {
        font-size: 18px;
    }

    .info-value.important {
        font-size: 20px;
    }
}

.method-bullets {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.method-bullets li {
    position: relative;
    padding-left: 1.2em;
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.6;
}

.method-bullets li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: #00843d;
    font-weight: bold;
}