@charset "UTF-8";
/* ===== Reset ===== */
:root {
    --primary-pink: #ec407a;
    --border-pink: #f48fb1;
    --bg-pink: #fce4ec;
    --text-black: #333333;
    --text-gray: #666666;
    --error-red: #ec407a;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Noto Sans JP, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: var(--text-black);
    line-height: 1.6;
    background-color: #ffffff;
}

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

a {
    color: #E545A5;
    text-decoration: none;
}

/* ===== Header & Hero ===== */
header {
    position: relative;
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
}
.header-logo {
    padding: 15px 10px;
    color: #1a237e;
    font-weight: bold;
    font-size: 20px;
}

.hero-section {
    position: relative;
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
}

.hero-image {
    width: 100%;
    height: 200px;
    //background-color: #e0e0e0;
    background-image: url('/assets/images/contact_image_kv.webp');
    background-size: cover;
    background-position: center;
}
@media (max-width: 767px) { .hero-image { background-image: url('/assets/images/contact_image_kv_sp.webp'); } }

.hero-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #ff66b2;
    color: #fff;
    padding: 10px 55px;
    font-size: 22px;
    font-weight: bold;
    border-radius: 0 30px 0 0;
}

/* ===== Form Container ===== */
.form-container {
    max-width: 1080px;
    margin: 40px auto;
    padding: 0 20px;
}

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

.form-label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
    font-size: 18px;
}

.required {
    color: var(--error-red);
    font-size: 13px;
    display: block;
    margin-top: 2px;
    font-weight: normal;
}

/* ===== Form Inputs ===== */
.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #E545A5;
    border-radius: 4px;
    font-size: 16px;
    color: var(--text-black);
    outline: none;
    transition: border-color 0.3s;
    background-color: #FFF5FB;
}

.form-control-notreq {
    border: 1px solid #B3B3B3;
	background-color: #FFFFFF;
}

.form-control::placeholder {
    color: #ccc;
}

.form-control:focus {
    border-color: var(--primary-pink);
    box-shadow: 0 0 5px rgba(236, 64, 122, 0.2);
}

textarea.form-control {
    height: 120px;
    resize: vertical;
}

select.form-control {
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2212%22%20height%3D%228%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M1.41%200L6%204.58L10.59%200L12%201.41L6%207.41L0%201.41L1.41%200Z%22%20fill%3D%22%23666%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.flex-row {
    display: flex;
    gap: 10px;
}
.flex-row > * {
    flex: 1;
}

/* ===== Radio & Checkbox ===== */
.radio-group, .checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 10px;
}

.custom-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
}

.custom-label input {
    display: none;
}

.radio-mark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-pink);
    border-radius: 50%;
    margin-right: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FFF5FB;
}
.custom-label input:checked + .radio-mark::after {
    content: "";
    width: 10px;
    height: 10px;
    background-color: var(--primary-pink);
    border-radius: 50%;
}

.checkbox-mark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-pink);
    border-radius: 3px;
    margin-right: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FFF5FB;
}
.custom-label input:checked + .checkbox-mark {
    background-color: var(--primary-pink);
    border-color: var(--primary-pink);
}
.custom-label input:checked + .checkbox-mark::after {
    content: "";
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.consult-other-text {
    margin-top:5px;
}

/* ===== Submit & Footer ===== */
.submit-area {
    text-align: center;
    margin: 50px 0;
}

.privacy-text {
    font-size: 16px;
    margin-bottom: 20px;
}

.btn-submit {
    display: inline-block;
    width: 100%;
    max-width: 330px;
    background-color: #E545A5;
    color: #fff;
    padding: 16px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.btn-submit:hover {
    opacity: 0.8;
}

.page-footer {
    background-color: #FFE5F5;
    text-align: center;
    padding: 40px 20px;
}

.page-footer a {
    color: var(--text-black);
    font-size: 16px;
}
.page-footer .private {
    text-align:left;
    color: #666666;
}
.footer-contents {
	max-width: 1080px;
	margin:0 auto;
}
.footer-line {
    border: none;
    border-top: 1px solid #ffffff;
    margin-bottom: 20px;
}

.copyright {
    margin-top: 20px;
    font-size: 10px;
    color: #333333;
    text-align:right;
}

#error-messages {
    color: #ff0000;
    font-weight: bold;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 767px) {
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-badge {
        font-size: 16px;
        padding: 8px 40px;
    }
    
    .form-container {
        margin: 20px auto;
    }
}

/* ===== Policy ===== */
.policy {
    text-decoration: underline;
}
.target {
    max-width: 100%;
    height: auto;
    width: 13px;
    margin-right: 5px;
    margin-left: 2px;
}

.supplement {
	font-size: 13px; 
	color: #666666;
	padding-top:5px;
}

