/* 募集要項など：別ページ（WEBエントリー）へのボタン — #eb004f ベース（waku-blue と並ぶ v3 用モディファイア） */
.v3-guidance-wrap .btn-animated.waku-webentry {
    border-color: #eb004f !important;
    color: #eb004f !important;
    transition: 0.5s;
}
.v3-guidance-wrap .btn-animated.waku-webentry:hover {
    background: #eb004f !important;
    color: #fff !important;
}

ol, ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.webentry-flow-wrap {
    max-width: 600px;
    margin: 0 auto;
}
.webentry-flow-wrap li {
    text-align: left;
    padding: 20px 20px 20px 60px;
    border: 2px solid #eb004f;
    border-radius: 8px;
    display: block;
    margin-top: 40px;
    position: relative;
    font-size: 1.1em;
    background: #fff;
    box-shadow: 0 2px 8px rgba(235, 0, 79, 0.1);
}
.webentry-flow-wrap li:before {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: #eb004f;
    color: #fff;
    border-radius: 50%;
    display: block;
    text-align: center;
    line-height: 32px;
    font-weight: bold;
    font-size: 0.9em;
    content: counter(step-counter);
    counter-increment: step-counter;
}
.webentry-flow-wrap ul {
    counter-reset: step-counter;
}
.webentry-flow-wrap li:after {
    position: absolute;
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, #eb004f, #ff7070);
    bottom: -40px;
    left: 31px;
    content: ' ';
    z-index: 1;
}
.webentry-flow-wrap li:last-child:after {
    display:none;
}
.font-size-lg {
    font-size: 26px !important;
}
.entry-start-notice {
    font-size: 20px;
    margin-bottom: 40px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #fdf8f9 0%, #f8eef1 100%);
    border: 1px solid #e8c8d0;
    border-radius: 10px;
    color: #d91a4d;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(235, 0, 79, 0.08);
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
}
.entry-start-notice i {
    margin-right: 8px;
    color: #eb004f;
}
/* 768px超では改行を無効に */
@media (min-width: 769px) {
    .br-sp {
        display: none;
    }
}
/* 480px超では改行を無効に */
@media (min-width: 481px) {
    .br-480 {
        display: none;
    }
}
.sub-bg + p {
    text-align: center;
    font-size: 1.2em;
    line-height: 1.8;
    margin: 25px 0;
    color: #555;
}
.webentry-points {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.webentry-point-card {
    flex: 1;
    min-width: 280px;
    background: #fff;
    border: 2px solid #eb004f;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(235, 0, 79, 0.1);
}
.webentry-point-label {
    margin-bottom: 15px;
}
.webentry-point-label span {
    display: inline-block;
    background: #eb004f;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: bold;
    letter-spacing: 0.1em;
}
.webentry-point-card h3 {
    font-size: 1.7em;
    margin: 20px 0;
    color: #333;
    line-height: 1.5;
}
.webentry-point-icon {
    margin: 25px 0;
    color: #eb004f;
}
.webentry-point-icon svg {
    width: 100px;
    height: 100px;
    margin: 0 auto;
}
.webentry-point-content {
    margin-top: 20px;
    text-align: left;
}
.webentry-point-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #555;
}
.webentry-point-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 10px;
}
.webentry-point-content li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #555;
}
.webentry-point-card:nth-child(3) .webentry-point-content {
    font-size: 0.9em;
}
.webentry-point-card:nth-child(3) .webentry-point-content p,
.webentry-point-card:nth-child(3) .webentry-point-content li {
    font-size: 0.9em;
}
@media (max-width: 768px) {
    .webentry-points {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 8px;
        margin-top: 24px;
    }
    .webentry-point-card {
        flex: 1 1 0;
        min-width: 0;
        padding: 12px 8px 14px;
    }
    .webentry-point-label {
        margin-bottom: 8px;
    }
    .webentry-point-label span {
        font-size: 0.6em;
        padding: 4px 8px;
        letter-spacing: 0.05em;
    }
    .webentry-point-card h3 {
        font-size: clamp(0.72rem, 2.8vw, 1em);
        margin: 8px 0 10px;
        line-height: 1.35;
    }
    .webentry-point-icon {
        margin: 0;
    }
    .webentry-point-icon svg {
        width: clamp(28px, 10vw, 48px);
        height: clamp(28px, 10vw, 48px);
    }
    .webentry-point-content {
        margin-top: 0;
        font-size: 0.95rem;
    }
    .webentry-point-content p {
        margin-bottom: 8px;
        line-height: 1.55;
        font-size: inherit;
    }
    .webentry-point-content ul {
        padding-left: 1em;
        margin-top: 6px;
    }
    .webentry-point-content li {
        margin-bottom: 4px;
        line-height: 1.45;
        font-size: inherit;
    }
    .webentry-point-card:nth-child(3) .webentry-point-content,
    .webentry-point-card:nth-child(3) .webentry-point-content p,
    .webentry-point-card:nth-child(3) .webentry-point-content li {
        font-size: 0.68rem;
    }
}
.webentry-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}
.webentry-btn {
    display: block;
    width: 100%;
    padding: 25px 35px;
    background: linear-gradient(135deg, #58b1e8 0%, #4a9fd6 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-size: 1.4em;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(88, 177, 232, 0.4), 0 2px 4px rgba(88, 177, 232, 0.2);
    border: 3px solid #58b1e8;
    position: relative;
    overflow: hidden;
}
.webentry-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}
.webentry-btn:hover:before {
    left: 100%;
}
.webentry-btn:hover {
    background: linear-gradient(135deg, #6bc0f0 0%, #58b1e8 100%);
    color: #fff;
    box-shadow: 0 8px 25px rgba(88, 177, 232, 0.5), 0 4px 8px rgba(88, 177, 232, 0.3);
    transform: translateY(-3px);
    border-color: #6bc0f0;
}
.webentry-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(88, 177, 232, 0.4);
}
@media (max-width: 768px) {
    .webentry-buttons {
        gap: 15px;
    }
}
.mypage-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}
.mypage-step-card {
    background: #fff;
    border: 2px solid #eb004f;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(235, 0, 79, 0.1);
}
.mypage-step-card h4 {
    font-size: 1.5em;
    color: #eb004f;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eb004f;
    font-weight: bold;
}

/* 添付画像：郵送書類について（テーブル） */
.mypage-info-block {
    margin-top: 18px;
}
.mypage-info-title {
    background: #f3a1c5;
    border: 1px solid #000;
    text-align: center;
    font-weight: 700;
    padding: 8px 10px;
    margin-bottom: 0;
}
.mypage-doc-table {
    width: 100%;
    border-collapse: collapse;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
}
.mypage-doc-table th,
.mypage-doc-table td {
    border-top: 1px solid #000;
    border-right: 1px solid #000;
    border-left: 0;
    border-bottom: 0;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.45;
}
.mypage-doc-table th {
    width: 28%;
    text-align: center;
    font-weight: 700;
    white-space: nowrap;
    border-left: 1px solid #000;
}
.mypage-doc-table td {
    width: 72%;
}

/* 添付画像：合否について（スクリーンショット部分はダミー） */
.mypage-result-block {
    border: 1px solid #000;
    padding: 12px 12px 16px;
    background: #fff;
}
.mypage-result-block .mypage-info-title {
    width: fit-content;
    margin: -12px auto 12px;
    display: block;
    padding: 8px 22px;
}
.mypage-result-inner {
    display: block;
}
.mypage-result-text {
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
    margin-bottom: 10px;
}
.mypage-result-screenshot-dummy {
    width: min(240px, 100%);
    margin: 0 auto;
    border: 1px solid #d9d9d9;
    background: #f5f5f5;
    padding: 10px;
}
.mypage-result-screenshot-tag {
    font-size: 11px;
    font-weight: 700;
    background: #e9e9e9;
    border: 1px solid #d0d0d0;
    padding: 2px 8px;
    display: inline-block;
    border-radius: 2px;
}
.mypage-result-screenshot-header {
    margin-top: 8px;
    font-weight: 700;
    font-size: 12px;
    color: #333;
    text-align: center;
    background: #f0f0f0;
    border: 1px solid #d0d0d0;
    padding: 4px 8px;
}
.mypage-result-screenshot-lines {
    margin-top: 12px;
    background: #efefef;
    border: 1px solid #dddddd;
    padding: 10px 10px 8px;
    border-radius: 4px;
}
.mypage-result-screenshot-lines .line {
    height: 8px;
    background: #dcdcdc;
    border-radius: 4px;
    margin-top: 8px;
}
.mypage-result-screenshot-lines .line:first-child {
    margin-top: 0;
}
.mypage-result-screenshot-btn {
    margin-top: 10px;
    background: #666;
    color: #fff;
    text-align: center;
    padding: 10px 12px;
    border-radius: 22px;
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .mypage-doc-table th,
    .mypage-doc-table td {
        font-size: 12px;
        padding: 8px 10px;
    }

    .mypage-result-text {
        font-size: 12px;
    }

    .mypage-result-screenshot-dummy {
        width: 100%;
    }
}
.mypage-step-image {
    margin: 25px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.mypage-step-image img {
    width: 100%;
    height: auto;
    display: block;
}
.mypage-image-slider {
    margin: 25px 0;
    position: relative;
}
/* スマホSwiper：ナビの基準を各スライダー枠に固定（1カード内に複数あるときの位置ずれ防止） */
.mypage-image-slider.swiper-container {
    position: relative;
}
.mypage-image-slider .swiper-slide .mypage-step-image {
    margin: 0;
    width: 100%;
}
.mypage-image-slider .swiper-button-prev,
.mypage-image-slider .swiper-button-next {
    display: none;
}
/* PC表示：通常のflexboxレイアウト（768px以上） */
@media (min-width: 769px) {
    .mypage-image-slider:not(.swiper-initialized) {
        overflow: visible;
    }
    .mypage-image-slider:not(.swiper-initialized) .swiper-wrapper {
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
        transform: none !important;
    }
    .mypage-image-slider:not(.swiper-initialized) .swiper-slide {
        flex: 0 0 calc((100% - 45px) / 4);
        width: calc((100% - 45px) / 4) !important;
        min-width: 0;
        transform: none !important;
        box-sizing: border-box;
    }
    /* 2列表示用 */
    .mypage-image-slider-2col:not(.swiper-initialized) .swiper-slide {
        flex: 0 0 calc((100% - 15px) / 2);
        width: calc((100% - 15px) / 2) !important;
    }
    /* 3列表示用 */
    .mypage-image-slider-3col:not(.swiper-initialized) .swiper-slide {
        flex: 0 0 calc((100% - 30px) / 3);
        width: calc((100% - 30px) / 3) !important;
    }
    /* PC時：画像クリックで拡大表示 */
    .mypage-image-slider:not(.swiper-initialized) .mypage-step-image {
        cursor: pointer;
        transition: opacity 0.3s ease;
    }
    .mypage-image-slider:not(.swiper-initialized) .mypage-step-image:hover {
        opacity: 0.8;
    }
}
/* ライトボックス（モーダル） */
.mypage-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}
.mypage-lightbox.active {
    display: flex;
}
.mypage-lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.mypage-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: background 0.3s ease;
}
.mypage-lightbox-close:hover {
    background: rgba(0, 0, 0, 0.8);
}
/* スマホ表示：スライダー用のスタイル */
@media (max-width: 768px) {
    .mypage-image-slider {
        overflow: hidden;
    }
    .mypage-image-slider .swiper-wrapper {
        display: flex;
        transform: translate3d(0, 0, 0);
    }
    .mypage-image-slider .swiper-slide {
        width: 100% !important;
        flex-shrink: 0;
        height: auto;
    }
    .mypage-image-slider .swiper-button-prev,
    .mypage-image-slider .swiper-button-next {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 50%;
        width: 40px;
        height: 40px;
        margin-top: 0;
        background: #eb004f;
        border-radius: 50%;
        color: #fff;
        z-index: 10;
        transform: translateY(-50%);
    }
    .mypage-image-slider .swiper-button-prev:after,
    .mypage-image-slider .swiper-button-next:after {
        font-size: 18px;
    }
    .mypage-image-slider .swiper-button-prev {
        left: 10px;
        right: auto;
    }
    .mypage-image-slider .swiper-button-next {
        right: 10px;
        left: auto;
    }
}
.mypage-step-card p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
    margin-top: 20px;
}
.mypage-subtitle {
    font-size: 1.2em;
    color: #333;
    margin: 15px 0 10px 0;
    padding: 12px 15px;
    background: #f8f9fa;
    border-left: 4px solid #eb004f;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}
.mypage-subtitle i {
    color: #eb004f;
    font-size: 1.1em;
}
.mypage-subtitle:first-of-type {
    margin-top: 20px;
}
@media (max-width: 768px) {
    .mypage-steps {
        gap: 30px;
    }
    .mypage-step-card {
        padding: 20px;
    }
    .mypage-step-card h4 {
        font-size: 1.3em;
    }
    .mypage-step-card p {
        font-size: 1em;
    }
    .mypage-subtitle {
        font-size: 1.1em;
        padding: 10px 12px;
    }
}
