/* style.css (修正版) */

:root {
    --text-color: #333;
    --light-text-color: #555;
    --border-color: #ddd;
    --background-color: #f9fafb;
    --white: #fff;
    --font-family: 'Noto Sans JP', sans-serif;
    --header-height: 70px;
}

/* --- 基本スタイル --- */
body {
    margin: 0;
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.7;
    padding-top: var(--header-height);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: opacity 0.3s;
}
a:hover {
    opacity: 0.7;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 5px;
    font-weight: 700;
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
}
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 1px solid var(--primary-color);
}
.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

/* --- ヘッダー --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #eee;
    z-index: 100;
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}
.header-nav-pc {
    display: flex;
    gap: 25px;
}
.header-nav-pc a {
    color: var(--text-color);
    font-weight: 500;
}
.header-actions {
    display: flex;
    gap: 10px;
}
/* --- メインコンテンツ --- */
.main-content {
    background-color: var(--background-color);
    padding: 80px 20px;
}
.contact-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 50px 60px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

/* スクロールアニメーション */
.scroll-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.scroll-fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}


.contact-header {
    text-align: center;
    margin-bottom: 40px;
}
.contact-title {
    font-size: 32px;
    color: var(--primary-color);
    margin: 0;
}
.contact-subtitle {
    font-size: 20px;
    font-weight: 700;
    margin: 5px 0 20px;
}
.contact-description {
    color: var(--light-text-color);
}

/* --- フォーム --- */
.contact-form .form-group {
    margin-bottom: 25px;
}
.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}
.required {
    color: #e53935;
    font-size: 12px;
    margin-left: 5px;
}
.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
    font-family: var(--font-family);
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--secondary-color);
}
textarea.form-control {
    resize: vertical;
}

.privacy-policy .checkbox-wrapper {
    display: flex;
    align-items: center;
}
.checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
}
.checkbox-label {
    font-size: 14px;
    color: var(--light-text-color);
}
.checkbox-label a {
    text-decoration: underline;
}

.form-actions {
    text-align: center;
    margin-top: 40px;
}
.btn-submit {
    width: 100%;
    max-width: 300px;
    padding: 15px;
    font-size: 18px;
    border-radius: 8px;
    border: none;
}
.btn-submit:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* --- フッター --- */
.footer {
    background-color: #f7f7f7;
    color: #f0f0f0;
    padding: 50px 20px 20px;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto 30px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}
.footer-logo {
    color: var(--white);
    font-size: 22px;
    font-weight: 700;
}
.footer-info p {
    margin: 10px 0 0;
    font-size: 14px;
    color: #aaa;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 30px;
}
.footer-links a {
    color: #f0f0f0;
    font-size: 14px;
}
.copyright {
    text-align: center;
    font-size: 12px;
    color: #aaa;
    border-top: 1px solid #444;
    padding-top: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
.contact-description {
    font-size: 14px; /* ここで希望の小さいフォントサイズを設定 */
}
.form-actions{
    margin-bottom: 20px;
}

}