/* ベーススタイル */
body {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

h1, h2, h3 {
    text-align: center;
    color: #333;
}



section {
    padding: 50px 20px;
    max-width: 1200px;
    margin: auto;
}

.hero-section {
    position: relative;
    height: 80vh;
    overflow: hidden;
    color: #fff;
    text-align: center;
}

.hero-section h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
        color: #fff;
}

.hero-section p {
    font-size: 1.2em;
    margin-bottom: 20px;
}


/* サービス紹介セクション */
.services-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.services-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}



/* サービスカードのスタイル */
.service-card {
    background-color: #fff;
    border-radius: 50%; /* 丸形にする */
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 180px; /* 幅と高さを揃えて正円に */
    max-height: 180px;
    width: 180px;
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    margin: 10px; /* カード間に余白を追加 */
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: auto;
    height: 50px;
    margin-bottom: 10px;
    border-radius: 50%; /* アイコンも丸形に */
}

.service-card h3 {
    font-size: 1.1em;
    color: #4db6ac;
    margin-bottom: 8px;
}

.service-card p {
    font-size: 0.85em;
    color: #666;
}


/* 実績・クライアントの声セクション */
.testimonials-section {
    background-color: #fff;
    border-radius: 12px;
    padding: 40px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin: 20px auto;
    max-width: 800px; /* セクションの幅を制限して中央揃え */
    text-align: center;
}

.testimonials-container {
    display: flex;
    flex-direction: column;
    align-items: left; /* 要素を中央揃え */
    gap: 20px;
}

blockquote {
    font-style: italic;
    color: #666;
    border-left: 4px solid #4db6ac;
    padding-left: 15px;
    max-width: 600px; /* 各口コミの幅を制限して中央揃え */
    text-align: left; /* 各コメントを左寄せで読みやすく */
}

cite {
    display: block;
    text-align: right;
    color: #333;
    font-weight: bold;
    margin-top: 5px;
}


/* お問い合わせセクション */
.contact-section {
    text-align: center;
    background-color: #f5f5f5;
    padding: 40px 20px;
}

.contact-section p {
    margin-bottom: 20px;
}

.contact-section .cta-button {
    background-color: #ff6b6b;
}

.contact-section .cta-button:hover {
    background-color: #e04a4a;
}


/* スライドショーのスタイル */
.fade-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* テキストオーバーレイ */
.hero-text {
    position: relative;
    z-index: 1;
    padding: 0 20px;
    max-width: 800px;
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
}

.hero-text h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #4db6ac;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #388e8e;
}

.contact-form-section {
    padding: 40px 20px;
    background-color: #fff;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 50px auto;
    border-radius: 8px;
}

.contact-form-section h2 {
    font-size: 1.8em;
    color: #4db6ac;
    margin-bottom: 10px;
}

.contact-form-section p {
    margin-bottom: 20px;
    color: #666;
}

.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-form label {
    width: 100%;
    text-align: left;
    font-weight: bold;
    margin-top: 20px;
    color: #333;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-top: 5px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 1em;
    background-color: #fff;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #4db6ac;
    box-shadow: 0 0 8px rgba(77, 182, 172, 0.3);
    outline: none;
}

.contact-form button {
    margin-top: 20px;
    padding: 12px 20px;
    font-size: 1em;
    color: white;
    background-color: #4db6ac;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #388e8e;
}
