/* 全体のリセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #4caf50;
    --primary-dark: #388e3c;
    --primary-light: #c8e6c9;
    --accent: #ff9800;
    --text: #333;
    --light-text: #666;
    --background: #f8fff8;
    --card-bg: #ffffff;
    --shadow: 0 5px 15px rgba(0,0,0,0.08);
}

body {
    font-family: 'M PLUS Rounded 1c', "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.7;
    position: relative;
    overflow-x: hidden;
}

/* 共通スタイル */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--light-text);
    max-width: 700px;
    margin: 20px auto 0;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-weight: bold;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), #f57c00);
}

/* ヘッダー */
header {
    background-color: var(--primary);
    color: #fff;
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

header:hover {
    background-color: #388E3C;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 70px;
    margin-right: 15px;
    border-radius: 100px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-subtitle {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    text-align: center;
}

.logo-title {
    font-size: 26px;
    font-weight: bold;
    color: white;
    line-height: 1.1;
}

/* ヘッダー画像 */
.header-image {
    width: 100%;
    margin-top: 100px;
}

.header-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* フリーダイヤル画像 */
.free-dial-img {
    height: 40px;
}

.free-dial-img-min {
    width: 24px;
    margin-right: 6px;
}

/* ヒーローセクション */
.hero {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(255, 152, 0, 0.1));
    background-size: cover;
    padding: 60px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.text-align-left {
    text-align: left;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    color: var(--primary-dark);
    margin-bottom: 25px;
    line-height: 1.3;
    font-weight: bold;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text);
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-highlight {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
    display: inline-block;
    padding: 12px 40px;
    border-radius: 50px;
    margin: 25px 0;
    box-shadow: var(--shadow);
}

.hero-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.tel-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--text);
    padding: 15px 35px;
    background-color: var(--card-bg);
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.tel-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.tel-link i {
    font-size: 2rem;
    color: var(--primary);
    margin-right: 15px;
}

.tel-number {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 10px;
}

.tel-number span:last-child {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-dark);
}

/* お悩みセクション */
#problems {
    background-color: var(--card-bg);
    position: relative;
}

.problem-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.problem-item {
    display: flex;
    align-items: flex-start;
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
    height: 100%;
}

.problem-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.problem-icon {
    font-size: 28px;
    margin-right: 20px;
    color: var(--primary);
    min-width: 40px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.problem-text {
    font-size: 18px;
    color: var(--text);
    font-weight: 500;
    margin-bottom: 8px;
}

.problem-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

/* 特徴セクション */
#features {
    background: linear-gradient(to bottom, #f0fff0, #e0f7e0);
    position: relative;
    overflow: hidden;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.12);
}

.feature-icon {
    font-size: 50px;
    color: var(--primary);
    margin-bottom: 25px;
}

.feature-card h3 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.feature-card p {
    color: var(--light-text);
    font-size: 1.1rem;
}

/* 対象になる方セクション（新規追加） */
#target {
    background-color: #f8f9fa;
    position: relative;
}

.target-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.target-card {
    background: var(--card-bg);
    padding: 35px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.target-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.target-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.target-icon {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 25px;
    text-align: center;
}

.target-card h3 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    text-align: center;
}

.target-content {
    margin-top: 20px;
}

.target-content p {
    color: var(--light-text);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.target-content ul {
    list-style: none;
    padding: 0;
    margin-top: 25px;
}

.target-content li {
    margin-bottom: 15px;
    padding-left: 35px;
    position: relative;
    font-size: 1.1rem;
    color: var(--text);
}

.target-content li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--primary);
    font-size: 20px;
}

.target-note {
    margin-top: 25px;
    padding: 15px;
    background-color: #e8f5e9;
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
}

.target-note i {
    margin-right: 10px;
    font-size: 1.2rem;
    color: var(--primary);
}

/* ご利用の流れセクション */
#flow {
    background-color: #f8fff8;
    position: relative;
    overflow: hidden;
}

.flow-steps {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.flow-step {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.step-number {
    margin-right: 25px;
    flex-shrink: 0;
}

.step-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.step-content {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    flex-grow: 1;
    transition: transform 0.3s ease;
}

.flow-step:hover .step-content {
    transform: translateY(-5px);
}

.step-content h3 {
    color: #388E3C;
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.step-content p {
    line-height: 1.6;
}

.step-details {
    margin-top: 25px;
}

.step-detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.step-detail-item i {
    color: #4CAF50;
    font-size: 24px;
    margin-right: 15px;
    min-width: 30px;
}

.step-highlight {
    background-color: #e8f5e9;
    padding: 25px;
    border-radius: 10px;
    margin-top: 25px;
    border-left: 4px solid #4CAF50;
}

.step-highlight h4 {
    color: #388E3C;
    margin-bottom: 20px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
}

.step-highlight h4 i {
    margin-right: 10px;
}

.required-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.required-item {
    display: flex;
    align-items: center;
}

.required-item i {
    color: #4CAF50;
    margin-right: 15px;
    font-size: 20px;
}

.required-item.optional {
    opacity: 0.8;
}

.required-item.optional i {
    color: #888;
}

.insurance-note {
    background-color: #fff8e1;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    font-style: italic;
    color: #388E3C;
    display: flex;
    align-items: center;
}

.insurance-note i {
    margin-right: 10px;
    color: #FF9800;
}

/* 料金セクション */
#pricing {
    background-color: var(--card-bg);
}

.pricing-simple {
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--card-bg);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    border: 2px dashed var(--primary-light);
    position: relative;
    overflow: hidden;
}

.price-highlight {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 2px solid var(--primary-light);
    position: relative;
    z-index: 2;
}

.price-display {
    display: flex;
    justify-content: center;
    align-items: baseline;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--primary-dark);
    line-height: 1;
    margin: 0 5px;
}

.price-unit {
    font-size: 1.8rem;
    color: var(--light-text);
    margin: 0 5px;
}

.price-desc {
    font-size: 1.3rem;
    color: var(--light-text);
    display: block;
}

.price-notes {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.price-notes li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 18px;
}

.price-notes li:before {
    content: "✓";
    color: var(--primary);
    font-size: 24px;
    position: absolute;
    left: 0;
    top: -2px;
}

.highlight {
    color: var(--primary-dark);
    font-weight: bold;
    background-color: var(--primary-light);
    padding: 3px 8px;
    border-radius: 5px;
}

/* 会社情報セクション */
#company-info {
    background: linear-gradient(to bottom, #e8f5e9, #dcedc8);
}

.company-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.company-item {
    background: var(--card-bg);
    padding: 35px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.company-item:hover {
    transform: translateY(-10px);
}

.company-item h3 {
    color: var(--primary-dark);
    font-size: 1.8rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-light);
}

.company-item p {
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 1.1rem;
}

.area-list {
    columns: 2;
    list-style: none;
    padding: 0;
    margin: 0;
}

.area-list li {
    margin-bottom: 12px;
    padding-left: 1.8em;
    position: relative;
    font-size: 1.1rem;
}

.area-list li:before {
    content: "✓";
    color: var(--primary);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.business-hours {
    display: grid;
    grid-template-columns: max-content auto;
    gap: 10px 20px;
    margin: 20px 0;
}

.business-hours dt {
    font-weight: bold;
    color: var(--primary-dark);
}

.map-wrapper {
    margin-top: 25px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-wrapper iframe {
    width: 100%;
    height: 250px;
    border: 0;
}

/* CTAバナー */
.cta-banner {
    background: linear-gradient(135deg, #2c3e50 0%, #4a6491 100%);
    color: white;
    text-align: center;
    padding: 70px 20px;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.cta-content h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.cta-content p {
    font-size: 1.4rem;
    margin-bottom: 35px;
    color: rgba(255,255,255,0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* フッター */
footer {
    background-color: #5a4a36;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
}

.footer-logo img {
    height: 80px;
    margin-bottom: 15px;
    border-radius: 100px;
}

.footer-logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    margin-bottom: 15px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-light);
    min-width: 30px;
}

.contact-info {
    color:white;
    font-size: 1.1rem;
    line-height: 1.6;
    text-decoration: none;
}

.copyright {
    text-align: center;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
}

/* フローティングCTA */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-button {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #ff9800, #f57c00); /* オレンジ系グラデーション */
    color: white;
    font-weight: bold;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.4); /* オレンジ系の影 */
    transition: all 0.3s ease;
}

.floating-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 152, 0, 0.5); /* ホバー時の影をオレンジ系に */
    background: linear-gradient(135deg, #ffa726, #f57c00); /* ホバー時の色調整 */
}

.margin-right-10 {
    margin-right: 10px;
}

.problem-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

/* レスポンシブデザイン */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .price-amount {
        font-size: 3rem;
    }
    
    .target-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header {
        padding: 10px 0;
    }

    .header-image {
        margin-top: 80px;
    }

    .hero {
        padding: 40px 0 80px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-highlight {
        font-size: 1.5rem;
        padding: 10px 30px;
    }

    .tel-number span:last-child {
        font-size: 1.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .area-list {
        columns: 1;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        padding: 35px 25px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .floating-cta {
        bottom: 20px;
        right: 20px;
    }

    /* ご利用の流れのレスポンシブ */
    .flow-step {
        flex-direction: column;
        align-items: flex-start;
    }

    .step-number {
        margin-bottom: 20px;
        margin-right: 0;
    }

    .step-content {
        width: 100%;
    }

    .problem-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
        padding: 0 15px;
    }

    .problem-item {
        padding: 20px;
    }

    .problem-icon {
        font-size: 24px;
        margin-right: 15px;
        min-width: 35px;
    }

    .problem-text {
        font-size: 16px;
    }

    .problem-desc {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .logo-title {
        font-size: 22px;
    }

    .header-image {
        margin-top: 80px;
    }

    .hero {
        padding: 30px 0 60px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-highlight {
        font-size: 1.3rem;
    }

    .tel-link {
        padding: 12px 25px;
    }

    .tel-number span:last-child {
        font-size: 1.3rem;
    }

    .section {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .problem-item {
        padding: 20px;
    }

    .price-amount {
        font-size: 2.5rem;
    }

    .price-notes li {
        font-size: 16px;
    }

    .floating-button {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .price-display {
        flex-direction: column;
        align-items: center;
    }

    .price-unit {
        font-size: 1.5rem;
    }

    .target-card {
        padding: 25px;
    }

    .text-align-left-phone {
        text-align: left;
    }

    .problem-list {
        grid-template-columns: 1fr; /* 1列に変更 */
        gap: 15px;
        padding: 0 10px;
    }

    .problem-item {
        padding: 15px;
        flex-direction: column; /* 縦並びに変更 */
        text-align: left;
        align-items: center;
    }

    .problem-icon {
        font-size: 22px;
        margin-right: 0;
        margin-bottom: 10px;
        min-width: auto;
        height: auto;
    }

    .problem-content {
        justify-content: flex-start;
    }

    .problem-text {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .problem-desc {
        font-size: 13px;
        line-height: 1.4;
    }
}