/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 页面横幅样式 */
.page-banner {
    position: relative;
    color: white;
    display: flex;
    align-items: center;
    height: 300px;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.9) 0%, rgba(38, 50, 56, 0.8) 100%);
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.banner-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.banner-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.home-banner {
    height: 400px;
    background: linear-gradient(rgba(26, 35, 126, 0.9), rgba(26, 35, 126, 0.7)),
                url('../images/banners/home-banner.jpg');
    background-size: cover;
    background-position: center;
}

.banner-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background: #ff9800;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 152, 0, 0.3);
}

.btn-outline {
    display: inline-block;
    padding: 1rem 2rem;
    background: transparent;
    color: white;
    text-decoration: none;
    border: 2px solid white;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: white;
    color: #1a237e;
}

.btn-secondary {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: #1a237e;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: transform 0.3s;
}

.btn-secondary:hover {
    transform: translateY(-2px);
}

.btn-primary-large {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: #ff9800;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 152, 0, 0.3);
}

.btn-outline-large {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: transparent;
    color: white;
    text-decoration: none;
    border: 2px solid white;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.btn-outline-large:hover {
    background: white;
    color: #1a237e;
}

/* セクション共通 */
.section-title {
    text-align: center;
    color: #1a237e;
    font-size: 2rem;
    margin-bottom: 3rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #ff9800;
    border-radius: 2px;
}

/* 特徴セクション */
.features-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #1a237e;
}

.feature-title {
    color: #1a237e;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-description {
    color: #666;
    line-height: 1.6;
}

/* サービスセクション */
.service-section {
    padding: 5rem 0;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #333;
}

.service-list {
    list-style: none;
    margin-bottom: 2rem;
}

.service-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
}

.service-image .image-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.service-image .image-placeholder i {
    font-size: 4rem;
}

/* ステップセクション */
.steps-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff9800;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.step-title {
    color: #1a237e;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.step-description {
    color: #666;
    line-height: 1.6;
}

/* リスクセクション */
.risk-section {
    padding: 4rem 0;
    background: #fff8e1;
}

.risk-content {
    max-width: 800px;
    margin: 0 auto;
}

.risk-warning {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid #ff9800;
}

.risk-warning p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.risk-warning p:last-child {
    margin-bottom: 0;
}

.risk-warning strong {
    color: #d32f2f;
}

.compliance-info {
    text-align: center;
    color: #666;
}

.compliance-link {
    color: #1a237e;
    text-decoration: underline;
}

.compliance-link:hover {
    text-decoration: none;
}

/* CTAセクション */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #283593 0%, #1a237e 100%);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* お問い合わせセクション */
.contact-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.contact-title {
    color: #1a237e;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.contact-phone {
    display: block;
    font-size: 1.5rem;
    color: #1a237e;
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-phone:hover {
    text-decoration: underline;
}

.contact-hours {
    color: #666;
    font-size: 0.9rem;
}

.contact-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: #1a237e;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
}

.contact-link:hover {
    background: #283593;
}

/* アニメーション */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* フォーム共通スタイル */
input, textarea, button, select {
    font-family: inherit;
    font-size: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}






.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 80px;
}

/* 确保main内容不会被header遮挡 */
main {
    margin-top: 80px;
    flex: 1;
}

/* 图片占位符的通用样式 */
.image-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 联系页面的特定样式 */
.contact-page {
    min-height: 100vh;
    background: #f8f9fa;
}

.contact-banner {
    height: 250px;
    background: linear-gradient(rgba(26, 35, 126, 0.9), rgba(26, 35, 126, 0.7)),
                url('https://images.unsplash.com/photo-1559526324-4b87b5e36e44?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* 表单样式 */
.contact-form-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a237e;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.required {
    color: #ff3b3b;
}

.gender-options {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.gender-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background: #ff9800;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-button:hover {
    background: #f57c00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3);
}

/* 联系信息样式 */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.phone-info {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.hours {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.phone-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-size: 1.5rem;
    color: #1a237e;
    text-decoration: none;
    font-weight: 600;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s;
}

.phone-number:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.phone-icon {
    font-size: 1.2rem;
}

.newsletter-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.newsletter-section h3 {
    color: #1a237e;
    margin-bottom: 0.5rem;
}

.newsletter-subtitle {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

.newsletter-button {
    padding: 0.8rem 1.5rem;
    background: #1a237e;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.newsletter-button:hover {
    background: #283593;
    transform: translateY(-2px);
}

.quick-links {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.quick-links h3 {
    color: #1a237e;
    margin-bottom: 1rem;
}

.quick-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-links li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.quick-links li:last-child {
    border-bottom: none;
}

.quick-links a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.quick-links a:hover {
    color: #1a237e;
    text-decoration: underline;
}

