/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    line-height: 1.6;
}

body {
    font-family: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* コンテナ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
.header {
    background-color: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.company-name h1 {
    font-size: 1.5rem;
    font-weight: normal;
    color: #333;
    letter-spacing: 1px;
}

.header-url {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
}

.header-url a {
    color: white;
    text-decoration: none;
}

/* ヒーローイメージ */
.hero-image {
    width: 100%;
    margin: 0;
}

.hero-img-container {
    width: 100%;
    height: auto;
}

.hero-img-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* メインコピーセクション */
.main-copy {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;
}

.main-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 40px;
    color: #333;
    line-height: 1.4;
}

.main-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
}

.main-description p {
    margin-bottom: 20px;
}

/* 4つのミッションセクション */
.mission-section {
    padding: 80px 0;
    background-color: #fff;
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mission-title {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: #333;
}

.mission-subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #666;
}

.mission-items {
    margin: 20px 0;
    font-weight: bold;
    color: #333;
    font-size: 1rem;
}

.mission-items p {
    margin-bottom: 10px;
}

.mission-description p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #555;
}

.mission-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 会社概要・お問い合わせセクション */
.company-contact-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.company-contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

/* 会社概要 */
.profile-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: #333;
    letter-spacing: 2px;
}

.company-details {
    margin-bottom: 40px;
}

.detail-row {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
}

.detail-label {
    min-width: 120px;
    font-weight: bold;
    color: #333;
    margin-right: 20px;
    font-size: 0.95rem;
}

.detail-value {
    flex: 1;
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

.detail-value a {
    color: #4CAF50;
}

.business-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.business-description {
    line-height: 1.8;
    color: #666;
    font-size: 0.95rem;
}

/* お問い合わせフォーム */
.contact-form-wrapper {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

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

.form-group.half {
    flex: 1;
    margin-bottom: 0;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: normal;
    color: #333;
    font-size: 0.9rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #4CAF50;
}

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

.form-submit {
    background-color: #000;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.form-submit:hover {
    background-color: #333;
}

.form-success {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    margin-top: 20px;
}

/* フッター */
.footer {
    position: relative;
    background-color: #333;
    min-height: 400px;
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.footer-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.footer-content {
    position: relative;
    z-index: 2;
    padding: 60px 0 40px;
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    /* カラフルなロゴをそのまま表示 */
}

.footer-company-name {
    font-size: 1.2rem;
    font-weight: normal;
    color: white;
}

.footer-contact a {
    color: #4CAF50;
    background-color: rgba(76, 175, 80, 0.2);
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-copyright {
    text-align: center;
    font-size: 14px;
    color: #ccc;
    border-top: 1px solid #555;
    padding-top: 20px;
    margin-top: auto;
}

/* レスポンシブデザイン */
@media screen and (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    /* ヘッダー */
    .header-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .logo-section {
        justify-content: center;
    }
    
    .company-name h1 {
        font-size: 1.3rem;
    }
    
    /* メインコピー */
    .main-copy {
        padding: 40px 0;
    }
    
    .main-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .main-description {
        font-size: 0.95rem;
    }
    
    /* ミッション */
    .mission-section {
        padding: 60px 0;
    }
    
    .mission-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .mission-title {
        font-size: 1.8rem;
    }
    
    /* 会社概要・お問い合わせ */
    .company-contact-section {
        padding: 60px 0;
    }
    
    .company-contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .profile-title {
        font-size: 1.6rem;
        text-align: center;
    }
    
    .detail-row {
        flex-direction: column;
        margin-bottom: 20px;
    }
    
    .detail-label {
        min-width: auto;
        margin-right: 0;
        margin-bottom: 5px;
    }
    
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-group.half {
        margin-bottom: 20px;
    }
    
    /* フッター */
    .footer-content {
        padding: 40px 0 30px;
        min-height: 300px;
    }
    
    .footer-info {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .main-title {
        font-size: 1.5rem;
    }
    
    .mission-title {
        font-size: 1.5rem;
    }
    
    .profile-title {
        font-size: 1.4rem;
    }
    
    .contact-form-wrapper {
        padding: 20px 15px;
    }
    
    .logo img,
    .footer-logo img {
        width: 60px;
        height: 60px;
    }
    
    .company-name h1,
    .footer-company-name {
        font-size: 1.1rem;
    }
}

/* アクセシビリティ改善 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* フォーカス表示の改善 */
.form-input:focus,
.form-textarea:focus,
.form-submit:focus,
a:focus {
    outline: 2px solid #4CAF50;
    outline-offset: 2px;
}

/* ホバー効果の改善 */
.form-input:hover,
.form-textarea:hover {
    border-color: #4CAF50;
}

.detail-value a:hover {
    color: #45a049;
}

