/* ===============================================
   ラテール助産院 スタイルシート
   =============================================== */

/* ===============================================
   リセット & 基本設定
   =============================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* カラーパレット - 温かみのある配色 */
    --logo-color: #4A9FBD;
    --primary-color: #E88B7A;
    --primary-light: #FFE8E3;
    --primary-dark: #C9685A;
    --accent-color: #F4B5A5;
    --secondary-color: #8ABAAA;
    --text-dark: #4A4A4A;
    --text-light: #7A7A7A;
    --bg-beige: #FFF9F5;
    --bg-cream: #FFF5EE;
    --bg-white: #FFFFFF;
    --border-color: #F0E5DC;
    
    /* フォント */
    --font-main: 'Zen Maru Gothic', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.8;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

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

/* ===============================================
   ボタン
   =============================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
    gap: 8px;
}

.btn-line {
    background: #06C755;
    color: white;
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.3);
}

.btn-line:hover {
    background: #05B04D;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 199, 85, 0.4);
}

.btn-outline {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(74, 159, 189, 0.4);
    font-weight: 600;
}

.btn-outline:hover {
    background: var(--primary-dark);
    color: white;
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 159, 189, 0.5);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    width: 100%;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-line-nav {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-line-footer {
    padding: 12px 25px;
    font-size: 14px;
}

/* ===============================================
   ヘッダー & ナビゲーション
   =============================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

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

.logo img {
    width: 50px;
    height: 50px;
}

.logo span {
    font-size: 20px;
    font-weight: 700;
    color: var(--logo-color);
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ===============================================
   ヒーローセクション
   =============================================== */
.hero {
    position: relative;
    height: 60vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-cream) 100%);
    background-image: 
        url('https://images.unsplash.com/photo-1555252333-9f8e92e65df9?w=1600'),
        linear-gradient(135deg, var(--primary-light) 0%, var(--bg-cream) 100%);
    background-size: cover;
    background-position: center;
    background-blend-mode: soft-light;
    margin-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 245, 243, 0.92) 0%, rgba(255, 245, 238, 0.88) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 20px;
    max-width: 800px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
    line-height: 1.4;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===============================================
   セクション共通
   =============================================== */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 50px;
}

/* ===============================================
   ごあいさつセクション
   =============================================== */
.about {
    background: var(--bg-beige);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: start;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center center;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text {
    padding: 20px 0 0 0;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 2;
}

.about-text p:last-child {
    margin-bottom: -70px;
    line-height: 1.5;
}

.about-message {
    background: linear-gradient(135deg, var(--bg-cream) 0%, #FFEEE5 100%);
    padding: 40px;
    border-radius: 20px;
    border: 3px solid var(--accent-color);
    margin-top: -70px;
    margin-bottom: 5px;
    box-shadow: 0 10px 30px rgba(232, 165, 152, 0.25);
    position: relative;
    transition: all 0.3s ease;
    grid-column: 2;
}

.about-message:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(232, 165, 152, 0.35);
}

.about-message p {
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 2.2;
    color: var(--text-dark);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.about-message p:first-of-type {
    font-size: 17px;
    color: var(--primary-dark);
}

.about-message p:last-of-type {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 0;
}

.about-signature {
    text-align: right;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 18px;
    grid-column: 2;
    margin-top: -10px;
}

/* ===============================================
   サービスセクション
   =============================================== */
.services {
    background: var(--bg-white);
}

.services-grid {
    display: grid;
    gap: 50px;
}

.service-category {
    background: var(--bg-beige);
    padding: 40px;
    border-radius: 20px;
}

.service-category-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-light);
}

.service-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.service-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(232, 165, 152, 0.2);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 32px;
    color: var(--primary-color);
}

.service-item h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.5;
}

.service-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

.service-item ul {
    list-style: none;
    padding: 0;
    margin: 12px 0 0 0;
    text-align: left;
}

.service-item ul li {
    font-size: 13px;
    color: var(--text-light);
    padding: 4px 0 4px 18px;
    position: relative;
    line-height: 1.6;
}

.service-item ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ===============================================
   料金セクション
   =============================================== */
.pricing {
    background: var(--bg-beige);
}

.pricing-table-wrapper {
    overflow-x: auto;
    margin-bottom: 30px;
}

.pricing-table {
    width: 100%;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.pricing-table thead {
    background: var(--primary-color);
    color: white;
}

.pricing-table th,
.pricing-table td {
    padding: 20px;
    text-align: left;
}

.pricing-table th {
    font-weight: 700;
    font-size: 16px;
}

.pricing-table tbody tr {
    border-bottom: 1px solid var(--border-color);
}

.pricing-table tbody tr:last-child {
    border-bottom: none;
}

.pricing-table tbody tr:hover {
    background: var(--bg-beige);
}

.pricing-table td:nth-child(2) {
    color: var(--text-light);
    font-size: 14px;
}

.pricing-table td:nth-child(3) {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 18px;
}

.price-note {
    font-size: 12px;
    color: var(--text-light);
    display: block;
    margin-top: 5px;
}

.pricing-notes {
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.pricing-notes p {
    margin: 0;
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.6;
}

/* ===============================================
   訪問エリアセクション
   =============================================== */
.area {
    background: var(--bg-white);
}

.area-content {
    max-width: 700px;
    margin: 0 auto;
}

.area-text h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.area-notice {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 20px;
    padding: 10px 15px;
    background: var(--primary-light);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.area-list {
    list-style: none;
    margin-bottom: 30px;
}

.area-list li {
    padding: 15px;
    background: var(--bg-beige);
    margin-bottom: 10px;
    border-radius: 10px;
    font-weight: 500;
}

.area-list i {
    color: var(--primary-color);
    margin-right: 10px;
}

.area-note {
    background: var(--primary-light);
    padding: 20px;
    border-radius: 10px;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.8;
}

.area-map iframe {
    border-radius: 15px;
    width: 100%;
    height: 400px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* ===============================================
   営業時間セクション
   =============================================== */
.hours {
    background: var(--primary-light);
    padding: 60px 0;
}

.hours-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.hours-item {
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.hours-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.hours-icon i {
    font-size: 36px;
    color: var(--primary-color);
}

.hours-item h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.hours-time {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 15px 0;
}

.hours-note {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* ===============================================
   FAQセクション
   =============================================== */
.faq {
    background: var(--bg-beige);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px 30px;
    background: var(--primary-light);
    cursor: pointer;
}

.faq-question i {
    font-size: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
}

.faq-answer {
    padding: 25px 30px;
}

.faq-answer p {
    line-height: 2;
    color: var(--text-light);
}

/* ===============================================
   お問い合わせセクション
   =============================================== */
.contact {
    background: var(--bg-white);
}

.contact-methods {
    max-width: 700px;
    margin: 0 auto 50px;
}

.contact-method {
    background: linear-gradient(135deg, #06C755 0%, #05A047 100%);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 30px rgba(6, 199, 85, 0.2);
}

.contact-method h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.contact-method p {
    margin-bottom: 25px;
    font-size: 16px;
}

.contact-method .btn-line {
    background: white;
    color: #06C755;
}

.contact-method .btn-line:hover {
    background: var(--bg-beige);
}

.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-beige);
    padding: 40px;
    border-radius: 20px;
}

.contact-form-wrapper h3 {
    text-align: center;
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

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

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

.form-group label {
    display: block;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.required {
    color: #E74C3C;
    font-size: 12px;
    background: #FFE5E5;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(232, 165, 152, 0.15);
}

.contact-note {
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
}

.contact-note i {
    color: var(--primary-color);
    margin-right: 5px;
}

/* ===============================================
   フッター
   =============================================== */
.footer {
    background: #357A91;
    color: white;
    padding: 25px 0 12px;
}

.footer .container {
    max-width: 900px;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo img {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    padding: 4px;
}

.footer-logo h3 {
    font-size: 18px;
    font-weight: 700;
}

.footer-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-info-item i {
    font-size: 16px;
    color: white;
    margin-top: 1px;
    flex-shrink: 0;
}

.footer-info-item strong {
    display: block;
    font-size: 12px;
    margin-bottom: 3px;
    font-weight: 600;
}

.footer-info-item p {
    font-size: 12px;
    opacity: 0.9;
    line-height: 1.5;
    margin: 0;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.footer-social i {
    font-size: 16px;
}

.footer-bottom {
    text-align: center;
}

.footer-copyright {
    opacity: 0.75;
    font-size: 11px;
    margin: 0;
}

/* ===============================================
   レスポンシブデザイン
   =============================================== */

/* タブレット */
@media (max-width: 1024px) {
    .nav-list {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .service-items {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* スマートフォン */
@media (max-width: 768px) {
    .sp-only {
        display: inline;
    }
    
    /* ヘッダー */
    .nav {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        padding: 30px 20px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        align-items: stretch;
        gap: 0;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
    }
    
    .nav-list li {
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-link {
        display: block;
        padding: 15px 0;
    }
    
    .btn-line-nav {
        margin-top: 20px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
    
    /* ヒーロー */
    .hero {
        min-height: 500px;
        margin-top: 70px;
    }
    
    .hero-title {
        font-size: 28px;
        line-height: 1.5;
    }
    
    .hero-subtitle {
        font-size: 15px;
        line-height: 1.8;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    /* セクション */
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    /* ごあいさつ */
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-image {
        order: 2;
    }
    
    .about-text {
        order: 1;
    }
    
    .about-message {
        order: 3;
        grid-column: 1;
        padding: 30px 20px;
        margin: 25px 0;
    }
    
    .about-signature {
        order: 4;
        grid-column: 1;
    }
    
    .about-text p {
        font-size: 15px;
        line-height: 1.9;
    }
    
    .about-message p {
        font-size: 15px;
        line-height: 2;
    }
    
    .about-message p:first-of-type {
        font-size: 16px;
    }
    
    /* サービス */
    .service-category {
        padding: 30px 20px;
    }
    
    .service-items {
        grid-template-columns: 1fr;
    }
    
    /* 料金 */
    .pricing-table th,
    .pricing-table td {
        padding: 15px 8px;
        font-size: 14px;
    }
    
    /* 列幅の調整：メニュー列を狭く、料金列を広く */
    .pricing-table td:nth-child(1),
    .pricing-table th:nth-child(1) {
        width: 28%;
    }
    
    .pricing-table td:nth-child(2),
    .pricing-table th:nth-child(2) {
        width: 30%;
    }
    
    .pricing-table td:nth-child(3),
    .pricing-table th:nth-child(3) {
        width: 42%;
    }
    
    .pricing-table td:nth-child(3) {
        font-size: 15px;
        white-space: normal;
        word-wrap: break-word;
        line-height: 1.5;
    }
    
    /* エリア */
    
    /* 営業時間 */
    .hours-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* お問い合わせ */
    .contact-form-wrapper {
        padding: 30px 20px;
    }
    
    /* フッター */
    .footer-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .logo span {
        font-size: 15px;
    }
    
    .hero-title {
        font-size: 24px;
        line-height: 1.6;
    }
    
    .hero-subtitle {
        font-size: 14px;
        line-height: 1.8;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .section-subtitle {
        font-size: 14px;
    }
    
    .btn {
        padding: 14px 20px;
        font-size: 14px;
    }
    
    .about-text p {
        font-size: 14px;
    }
    
    .about-message {
        padding: 25px 15px;
    }
    
    .about-message p {
        font-size: 14px;
    }
    
    .about-message p:first-of-type {
        font-size: 15px;
    }
}

/* ユーティリティクラス */
.sp-only {
    display: none;
}