@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    outline: 0;
    vertical-align: baseline;
    box-sizing: border-box;
}

a img {
    border-style: none;
}

html, body {  
    -webkit-text-size-adjust: none;  
} 

body {
    margin: 0;
    width: 100%; 
    color: #1a2743; 
    background: #fff;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    background-color: #f5f5f5;
}

img {
    height: auto;
    max-width: 100%;
    vertical-align: bottom;
}

#main {
    margin: 0 auto;
    overflow: hidden;
    max-width: 640px;
    background: #fff;
    position: relative;
    min-height: 100vh;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.2; }
    100% { opacity: 1; }
}

.blink-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: blink 1.5s infinite ease-in-out;
}
.dot-cyan { background-color: #12b8a6; }
.dot-green { background-color: #4caf50; }

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: #fff;
    cursor: pointer;
}
.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.header-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}
.header-title {
    font-weight: 700;
    font-size: 15px;
}
.header-right {
    display: flex;
    align-items: center;
}

.mySwiper {
    width: 100%;
    cursor: pointer;
}
.swiper-slide {
    position: relative;
}
.swiper-slide img {
    width: 100%;
    display: block;
}

.locked-slide::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
.locked-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    z-index: 2;
    white-space: nowrap;
}

.swiper-button-next, .swiper-button-prev {
    color: rgba(255, 255, 255, 0.8) !important;
}

.profile-area {
    padding: 20px;
}
.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 16px;
}
.profile-name-wrap {
    display: flex;
    align-items: baseline;
    gap: 12px;
}
.name {
    font-size: 28px;
    font-weight: 700;
    color: #1a2743;
    line-height: 1;
}
.age {
    font-size: 20px;
    font-weight: 700;
    color: #334155;
}
.profile-status {
    font-size: 13px;
    color: #4caf50;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}


.message-bubble {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    color: #334155;
    margin-bottom: 24px;
    display: flex;
    gap: 8px;
}
.bubble-icon {
    color: #4db3b3;
    font-size: 18px;
}

.profile-details {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}
.details-title {
    background: #fff;
    padding: 12px 16px;
    font-weight: 700;
    font-size: 15px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.title-icon {
    color: #4db3b3;
}
.details-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}
.details-table th, .details-table td {
    padding: 12px;
    font-size: 13px;
    border-bottom: 1px solid #f1f5f9;
}
.details-table th {
    font-weight: 700;
    color: #1a2743;
    text-align: left;
    width: 25%;
}
.details-table td {
    color: #334155;
    width: 25%;
}
.details-table tr:last-child th,
.details-table tr:last-child td {
    border-bottom: none;
}

.details-table th:nth-child(3) {
    border-left: 1px solid #f1f5f9;
}

.footer-spacer {
    height: 90px;
}
.footer-action {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 640px;
    background: #fff;
    padding: 16px 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    z-index: 10;
}
.btn-message {
    width: 100%;
    background: #1fb2a3;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background: #fff;
    width: 90%;
    max-width: 400px;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
}
.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 20px;
    color: #999;
    cursor: pointer;
}
.modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a2743;
    margin-bottom: 20px;
}
.modal-icon-wrap {
    margin-bottom: 16px;
}
.modal-icon-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}
.modal-desc {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 24px;
    text-align: left;
}
.btn-register {
    display: block;
    width: 100%;
    background: #1fb2a3;
    color: #fff;
    text-decoration: none;
    padding: 16px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
}