/* --- ヒーローセクション (水彩デザイン版) --- */
.hero-section {
    background-color: #fff;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 40px;
}

.hero-visual {
    flex: 1.2;
    position: relative;
    z-index: 1;
}

.hero-visual-frame {
    position: relative;
    width: 100%;
    max-width: 550px;
    aspect-ratio: 1 / 1;
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><path d="M45.5,-76.3C58.9,-69.3,70,-57.4,77.5,-43.3C85,-29.3,88.9,-13,87.3,2.7C85.8,18.4,78.8,33.4,69.5,46.1C60.2,58.7,48.5,69,35.1,75.4C21.7,81.9,6.7,84.5,-8.3,82.5C-23.4,80.5,-38.5,73.9,-51.1,64.2C-63.7,54.6,-73.8,41.9,-79.8,27.5C-85.8,13,-87.7,-3.2,-84.9,-18.8C-82.1,-34.5,-74.6,-49.5,-62.7,-57.1C-50.8,-64.7,-34.5,-64.9,-19.9,-72.1C-5.3,-79.2,7.6,-93.4,24.1,-93.6C40.6,-93.8,60.6,-79.9,45.5,-76.3Z" transform="translate(100 100)" /></svg>');
    mask-size: cover;
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><path d="M45.5,-76.3C58.9,-69.3,70,-57.4,77.5,-43.3C85,-29.3,88.9,-13,87.3,2.7C85.8,18.4,78.8,33.4,69.5,46.1C60.2,58.7,48.5,69,35.1,75.4C21.7,81.9,6.7,84.5,-8.3,82.5C-23.4,80.5,-38.5,73.9,-51.1,64.2C-63.7,54.6,-73.8,41.9,-79.8,27.5C-85.8,13,-87.7,-3.2,-84.9,-18.8C-82.1,-34.5,-74.6,-49.5,-62.7,-57.1C-50.8,-64.7,-34.5,-64.9,-19.9,-72.1C-5.3,-79.2,7.6,-93.4,24.1,-93.6C40.6,-93.8,60.6,-79.9,45.5,-76.3Z" transform="translate(100 100)" /></svg>');
    -webkit-mask-size: cover;
    background-color: var(--color-teal-light);
    overflow: hidden;
}

.hero-visual-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    flex: 1;
    padding-left: 20px;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.4;
    color: #554a43;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.05em;
}

.hero-content .catch-copy-main {
    display: block;
    margin-bottom: 5px;
}

.hero-content .catch-copy-sub {
    display: block;
    font-size: 2.8rem;
    position: relative;
    white-space: nowrap;
}

.hero-content .catch-copy-sub::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 100%;
    height: 12px;
    background: rgba(74, 155, 155, 0.2);
    z-index: -1;
    border-radius: 10px;
}

/* 水彩デコレーション */
.watercolor-blob {
    position: absolute;
    z-index: 0;
    opacity: 0.4;
    pointer-events: none;
}

.blob-1 {
    top: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--color-teal-light) 0%, rgba(255, 255, 255, 0) 70%);
}

.blob-2 {
    bottom: -80px;
    right: 15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #fdf8e6 0%, rgba(255, 255, 255, 0) 70%);
}

.blob-3 {
    top: 10%;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #e6f4f1 0%, rgba(255, 255, 255, 0) 70%);
}

.hero-section::before,
.hero-section::after,
.hero-deco-bottom {
    content: '';
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

/* 右上のラインイラスト */
.hero-section::before {
    top: 15%;
    right: 10%;
    width: 200px;
    height: 200px;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M10,80 Q30,60 60,40 T90,10" stroke="%234A9B9B" stroke-width="0.5" fill="none"/><circle cx="90" cy="10" r="1.5" fill="%23B8DCD4" opacity="0.6"/><circle cx="60" cy="40" r="1" fill="%235BB898" opacity="0.4"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
}

/* 左下の葉っぱデコ */
.hero-deco-bottom {
    bottom: 5%;
    left: 5%;
    width: 150px;
    height: 150px;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M20,80 Q30,50 10,20 M20,80 Q50,60 70,70" stroke="%235BB898" stroke-width="0.5" fill="none"/><circle cx="10" cy="20" r="2" fill="%23B8DCD4" opacity="0.5"/><circle cx="70" cy="70" r="1.5" fill="%234A9B9B" opacity="0.4"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
}

/* 風のエフェクト */
.wind-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.wind-line {
    stroke-dasharray: 300 700;
    stroke-linecap: round;
    animation: wind-animate 10s linear infinite;
    opacity: 0;
}

.line-1 {
    animation-duration: 8s;
    animation-delay: 0s;
    stroke: var(--color-teal);
}

.line-2 {
    animation-duration: 12s;
    animation-delay: -3s;
    stroke: var(--color-sand);
}

.line-3 {
    animation-duration: 15s;
    animation-delay: -7s;
    stroke: var(--color-green);
    opacity: 0.2;
}

@keyframes wind-animate {
    0% {
        stroke-dashoffset: 1000;
        opacity: 0;
    }

    10% {
        opacity: 0.3;
    }

    90% {
        opacity: 0.3;
    }

    100% {
        stroke-dashoffset: 0;
        opacity: 0;
    }
}

@media screen and (max-width: 992px) {
    .hero-section {
        padding: 60px 0;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        padding-left: 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content .catch-copy-sub {
        font-size: clamp(1.4rem, 6vw, 2rem);
    }

    .hero-visual-frame {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* --- お悩み (共感) --- */
.worries-list {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    max-width: 700px;
    margin: 0 auto;
}

.worries-list ul {
    list-style: none;
    padding: 0;
}

.worries-list li {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-left: 40px;
    position: relative;
    font-weight: bold;
    color: #555;
}

.worries-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-green);
    font-size: 1.4rem;
}

.solution-bridge {
    text-align: center;
    margin-top: 40px;
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--color-teal);
}

/* --- 3つの理由 (強み) --- */
.reasons-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.reason-card {
    flex: 1;
    min-width: 280px;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-top: 5px solid var(--color-teal);
}

.reason-num {
    background-color: var(--color-sand);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0 auto 15px;
}

.reason-card p {
    text-align: left;
}

.reason-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-teal);
}

/* --- サービス内容 --- */
.service-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.service-box {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #eee;
}

.service-box h3 {
    color: var(--color-blue);
    border-bottom: 2px solid var(--color-sand);
    padding-bottom: 10px;
}

/* --- 料金プラン --- */
.price-table-wrapper {
    overflow-x: auto;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.price-table th,
.price-table td {
    padding: 20px;
    border: 1px solid #eee;
    text-align: center;
}

.price-table th {
    background-color: var(--color-teal);
    color: #fff;
    width: 30%;
}

.price-note {
    font-size: 0.9rem;
    color: #777;
    margin-top: 10px;
    text-align: right;
}

/* --- 代表プロフィール --- */
.profile-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
}

.profile-img {
    width: 250px;
    height: 250px;
    background-color: #ddd;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    margin: 0 auto;
}

.profile-text {
    flex: 1;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.profile-role {
    color: var(--color-teal);
    font-size: 0.9rem;
}

/* --- お客様の声 / 実績 --- */
.voice-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    position: relative;
}

.voice-card::before {
    content: '“';
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 4rem;
    color: var(--color-sand);
    opacity: 0.5;
    font-family: serif;
}

.stats-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-box {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--color-green);
}

.stat-label {
    font-size: 0.9rem;
}

/* --- 契約までの流れ --- */
.flow-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.step-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid var(--color-teal);
}

.step-num {
    display: block;
    font-weight: bold;
    color: var(--color-teal);
    margin-bottom: 10px;
}

/* 矢印 (PCのみ) */
@media (min-width: 768px) {
    .step-item:not(:last-child)::after {
        content: '▶';
        position: absolute;
        right: -25px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--color-sand);
        font-size: 1.5rem;
    }
}

/* --- お知らせ --- */
.news-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.news-list li {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    display: flex;
    gap: 20px;
}

@media (max-width: 768px) {
    .news-list li {
        flex-direction: column;
        gap: 5px;
    }
}

.news-date {
    color: #888;
    font-size: 0.9rem;
}

/* --- アクセス --- */
.access-wrapper {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.map-box {
    flex: 1.5;
    height: 400px;
    min-width: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    background-color: #f0f0f0;
}

.map-box iframe {
    width: 100%;
    height: 100%;
    display: block;
}

.access-info {
    flex: 1;
}

/* --- お問い合わせ (TOPページ版) --- */
.top-contact-section {
    background-color: var(--color-teal-light);
    padding: 80px 20px;
    text-align: center;
}

.top-contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .top-contact-form {
        padding: 25px 20px;
    }
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
}

.tel-btn {
    display: inline-block;
    margin-top: 20px;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-text-main);
}

.tel-icon {
    margin-right: 10px;
}