/* --- 基本設定 --- */
:root {
    --primary-color: #2A6CB3; /* 信頼感のある青 */
    --secondary-color: #1e4b7b;
    --accent-color: #FFB800;  /* 注意を引く黄色 */
    --text-color: #333333;
    --text-light: #555555;
    --bg-light: #F7F9FC;
    --white-color: #FFFFFF;
    --border-color: #DDDDDD;
    --container-width: 1100px;
    --container-small-width: 860px;
    --font-family: 'Noto Sans JP', sans-serif;
}

body {
    font-family: var(--font-family);
    margin: 0;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--white-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.container-small {
    max-width: var(--container-small-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 900;
    text-align: center;
    margin: 0 0 60px 0;
    line-height: 1.6;
}

.section-title-sub {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.bg-light {
    background-color: var(--bg-light);
}

.highlight {
    color: var(--accent-color);
    font-size: 1.3em;
}
.highlight-blue {
    color: var(--primary-color);
}

/* --- ボタン --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}
.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.btn-large {
    padding: 18px 48px;
    font-size: 20px;
}
.cta-pulse {
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* --- ヘッダー --- */
.header {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 10px 0;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
}
.header-text { margin: 0; }

/* --- FV --- */
.fv {
    background-image: linear-gradient(rgba(10, 30, 60, 0.75), rgba(10, 30, 60, 0.75)), url('fv-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 0;
    color: var(--white-color);
}
.fv-container {
    display: flex;
    align-items: center;
    gap: 40px;
}
.fv-content { flex: 1.2; }
.fv-image { flex: 0.8; }
.fv-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.fv-catchcopy {
    font-size: 38px;
    font-weight: 900;
    line-height: 1.5;
    margin: 0 0 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.fv-subcopy {
    font-size: 18px;
    margin-bottom: 20px;
}
.fv-achievements {
    list-style: '✔ ';
    padding-left: 20px;
    margin-bottom: 30px;
}
.fv-achievements li {
    padding-left: 10px;
    font-weight: 700;
}
.fv-cta-note {
    text-align: center;
    margin-top: 15px;
    font-weight: 700;
}

/* --- 悩み (Problems) --- */
.problem-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 2px solid var(--border-color);
    border-radius: 10px;
}
.problem-list li {
    padding: 20px;
    font-weight: 700;
    border-bottom: 2px solid var(--border-color);
    background: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%232A6CB3"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>') no-repeat 20px center;
    background-size: 24px;
    padding-left: 60px;
}
.problem-list li:last-child { border-bottom: none; }

/* --- 放置するとヤバイ (Consequences) --- */
.consequences {
    background-color: #fff4f4;
    border-top: 3px solid #e53935;
    border-bottom: 3px solid #e53935;
    padding: 40px 0;
    text-align: center;
}
.consequences-title {
    color: #e53935;
    font-weight: 900;
    font-size: 24px;
    margin: 0 0 15px;
}
.consequences p { font-weight: 700; margin: 0; }

/* --- 解決策の提示 (Solution) --- */
.solution-content {
    display: flex;
    align-items: center;
    gap: 40px;
}
.solution-image { flex: 0.8; text-align: center;}
.solution-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 10px;
}
.solution-text {
    flex: 1.2;
    font-size: 18px;
    font-weight: 700;
}

/* --- サービス内容 (Service Details) --- */
.service-flow {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
.service-step {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    position: relative;
    padding-top: 50px;
}
.service-step-number {
    position: absolute;
    top: -15px;
    left: 30px;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
}
.service-step-title {
    font-size: 22px;
    margin: 0 0 15px;
}

/* --- お客様の声 (Testimonials) --- */
.testimonial-card-large {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.testimonial-item {
    margin-bottom: 30px;
}
.testimonial-item:last-child {
    margin-bottom: 0;
}
.testimonial-q {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 10px;
    padding-left: 2.5em;
    position: relative;
    line-height: 1.6;
}
.testimonial-q::before {
    content: 'Q.';
    position: absolute;
    left: 0;
    font-size: 20px;
    font-weight: 900;
}
.testimonial-a {
    margin: 0;
    padding-left: 2.5em;
    position: relative;
}
.testimonial-a::before {
    content: 'A.';
    position: absolute;
    left: 0;
    font-weight: 900;
    color: var(--text-color);
}

/* --- 選ばれる理由 (Why Choose Us) --- */
.reasons { border-top: 1px solid var(--border-color); }
.reason-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.reason-card {
    background-color: var(--white-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border-color);
}
.reason-number {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
}
.reason-title {
    font-size: 22px;
    margin: 0 0 15px;
}

/* --- 実績 (Track Record) --- */
.record-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
}
.record-item h4 {
    font-size: 20px;
    color: var(--primary-color);
    margin: 0 0 10px;
}
.record-item p {
    margin: 0;
    font-weight: 900;
    color: var(--primary-color);
    font-size: 60px;
    line-height: 1;
}
.record-number-text {
    font-size: 0.5em;
    vertical-align: middle;
}

/* --- Q&A (FAQ) --- */
.faq-list {
    border-top: 1px solid var(--border-color);
}
.faq-item {
    border-bottom: 1px solid var(--border-color);
}
.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 18px;
    position: relative;
}
.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}
.faq-item.is-open .faq-question::after {
    transform: rotate(45deg);
}
.faq-q-icon {
    font-size: 24px;
    font-weight: 900;
    color: var(--primary-color);
    margin-right: 15px;
}
.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease;
}
.faq-answer > div { overflow: hidden; }
.faq-answer p {
    padding: 0 20px 20px 60px;
    margin: 0;
    background-color: var(--white-color);
}
.faq-item.is-open .faq-answer {
    grid-template-rows: 1fr;
}

/* --- CTA (クロージング) --- */
.cta {
    background: linear-gradient(to right, #eef4fb, #f7f9fc);
}
.cta-message {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.8;
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.cta-box { text-align: center; }
.cta-note {
    font-weight: 700;
    margin-top: 20px;
}

/* --- 追伸 (P.S.) --- */
.ps-content {
    display: flex;
    align-items: center;
    gap: 30px;
}
.ps-image { flex-basis: 200px; }
.ps-image img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}
.ps-text { flex: 1; }
.ps-title { margin: 0; }
.ps-signature {
    font-weight: 700;
    text-align: right;
}

/* --- フッター --- */
.footer {
    background-color: #343a40;
    color: var(--white-color);
    padding: 40px 0;
    font-size: 14px;
}
.footer .container {
    text-align: center;
}
.footer-info { margin-bottom: 20px; }
.footer-info p { margin: 5px 0; }
.footer-nav a {
    color: var(--white-color);
    text-decoration: none;
    margin: 0 10px;
}
.copyright { margin-top: 20px; opacity: 0.7; }

/* --- アニメーション --- */
.anim-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.anim-fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- レスポンシブ対応 --- */
@media (max-width: 992px) {
    .fv-container { flex-direction: column; text-align: center; }
    .fv-image { margin-top: 30px; }
    .reason-grid { grid-template-columns: 1fr; }
    .service-flow { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .section-title { font-size: 28px; }
    .fv-catchcopy { font-size: 28px; }
    .solution-content { flex-direction: column; text-align: center; }
    .record-grid { flex-direction: column; gap: 40px; }
    .record-item p { font-size: 48px; }
    .ps-content { flex-direction: column; text-align: center; }
    .ps-signature { text-align: center; }
    .btn-large { font-size: 18px; padding: 16px 32px; }
}