/* ==========================
   共通設定
========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Yu Gothic", sans-serif;
    background: #f5f7fa;
}

/* ==========================
   ヘッダー
========================== */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: #003c8f;
    color: white;

    padding: 20px 80px;
}

.logo {
    font-size: 36px;
    font-weight: bold;
}

nav {
    display: flex;
    gap: 35px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
}

nav a:hover {
    color: #ffd400;
}

/* ==========================
   ヒーロー
========================== */

.hero {
    height: 90vh;
    background-image: url("images/hero.jpg");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding-left: 100px;
}

.hero-content {
    color: white;
    max-width: 600px;
}

.hero-content h2 {
    font-size: 60px;
    line-height: 1.3;
    margin-bottom: 30px;
}

.hero-content p {
    font-size: 22px;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* ==========================
   ボタン（共通）
========================== */

.btn-primary,
button[type="submit"] {
    display: inline-block;
    background: #ffd400;
    color: #003c8f;
    border: none;
    padding: 18px 45px;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: .3s;
}

.btn-primary:hover,
button[type="submit"]:hover {
    transform: scale(1.05);
}

/* ==========================
   セクション共通
========================== */

section h3 {
    text-align: center;
    font-size: 34px;
    color: #003c8f;
    margin-bottom: 50px;
}

section h3 span {
    color: #ffd400;
    -webkit-text-stroke: 1px #003c8f;
}

.icon-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #003c8f;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    flex-shrink: 0;
}

.icon-badge svg {
    width: 28px;
    height: 28px;
}

.icon-badge.small {
    width: 48px;
    height: 48px;
}

.icon-badge.small svg {
    width: 22px;
    height: 22px;
}

/* ==========================
   なぜチラシが効果的か
========================== */

.why {
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 24px 60px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-card {
    background: white;
    padding: 36px 24px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 6px 24px rgba(0, 60, 143, 0.06);
}

.why-card h4 {
    color: #003c8f;
    font-size: 17px;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* ==========================
   相性抜群の業種
========================== */

.industries {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 24px;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.industry-card {
    background: white;
    padding: 26px 12px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 24px rgba(0, 60, 143, 0.06);
}

.industry-card p {
    font-size: 13px;
    color: #333;
    font-weight: bold;
}

.industries-note {
    text-align: center;
    color: #777;
    margin-top: 30px;
    font-size: 14px;
}

/* ==========================
   選ばれる理由
========================== */

.reasons {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 24px;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 36px;
}

.reason-card {
    background: white;
    padding: 36px 24px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 6px 24px rgba(0, 60, 143, 0.06);
}

.reason-card h4 {
    color: #003c8f;
    font-size: 18px;
    margin-bottom: 10px;
}

.reason-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

.tip-note {
    text-align: center;
    background: #fff8db;
    border: 1px solid #ffd400;
    color: #6b5900;
    padding: 16px;
    border-radius: 10px;
    font-size: 15px;
    max-width: 640px;
    margin: 0 auto;
}

/* ==========================
   サービスの流れ
========================== */

.flow {
    background: #003c8f;
    padding: 80px 24px;
}

.flow h3 {
    color: white;
}

.flow-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.flow-step {
    background: white;
    padding: 30px 24px;
    border-radius: 14px;
    text-align: center;
    width: 220px;
}

.flow-step .icon-badge {
    background: #ffd400;
    color: #003c8f;
}

.flow-label {
    font-weight: bold;
    color: #003c8f;
    margin-bottom: 8px;
    font-size: 18px;
}

.flow-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.flow-arrow {
    color: #ffd400;
    font-size: 28px;
    font-weight: bold;
}

.flow-banner {
    max-width: 700px;
    margin: 50px auto 0;
    background: #ffd400;
    color: #003c8f;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    padding: 22px;
    border-radius: 12px;
    line-height: 1.8;
}

/* ==========================
   会社概要
========================== */

.about {
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 24px;
}

.about-inner {
    background: white;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 60, 143, 0.08);
}

.about-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 36px;
}

.about-table th,
.about-table td {
    text-align: left;
    padding: 16px 12px;
    border-bottom: 1px solid #e5e9f0;
    font-size: 15px;
}

.about-table th {
    width: 140px;
    color: #003c8f;
    font-weight: bold;
}

.about-message {
    color: #555;
    line-height: 2;
    font-size: 15px;
}

/* ==========================
   お問い合わせ
========================== */

.contact {
    padding: 100px 20px;
}

.contact-inner {
    max-width: 640px;
    margin: 0 auto;
    background: white;
    padding: 60px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 60, 143, 0.08);
}

.contact-inner h3 {
    font-size: 32px;
    color: #003c8f;
    margin-bottom: 16px;
    text-align: center;
}

.contact-lead {
    text-align: center;
    color: #555;
    line-height: 1.8;
    margin-bottom: 40px;
}

.form-row {
    margin-bottom: 22px;
}

.form-row label {
    display: block;
    font-weight: bold;
    color: #003c8f;
    margin-bottom: 8px;
    font-size: 15px;
}

.form-row label span {
    background: #ffd400;
    color: #003c8f;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #dfe4ea;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: .2s;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: #003c8f;
}

.form-row textarea {
    resize: vertical;
}

button[type="submit"] {
    width: 100%;
    margin-top: 10px;
}

button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

#form-result {
    margin-top: 16px;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    min-height: 20px;
}

#form-result.success {
    color: #1a8f4c;
}

#form-result.error {
    color: #d9364f;
}

/* ==========================
   フッター
========================== */

footer {
    background: #003c8f;
    color: white;
    text-align: center;
    padding: 30px 20px;
    font-size: 14px;
}

/* ==========================
   レスポンシブ
========================== */

@media (max-width: 768px) {

    header {
        padding: 16px 24px;
        flex-direction: column;
        gap: 14px;
    }

    nav {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding-left: 24px;
        padding-right: 24px;
        text-align: left;
    }

    .hero-content h2 {
        font-size: 38px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .contact-inner {
        padding: 32px 24px;
    }

    section h3 {
        font-size: 26px;
    }

    .why-grid {
        grid-template-columns: 1fr 1fr;
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reasons-grid {
        grid-template-columns: 1fr;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    .about-inner {
        padding: 32px 24px;
    }

    .about-table th {
        width: 100px;
        font-size: 13px;
    }
}
