@charset "utf-8";
/* CSS Document */
@charset "UTF-8";

/* Reset & Basic Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f4f4f4;
    -webkit-text-size-adjust: 100%;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Layout Utilities */
.wrapper {
    width: 980px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

/* Header */
.site-header {
    width: 980px;
    margin: 0 auto;
    background: #fff;
    border-bottom: 4px solid #003366;
    padding: 20px 20px 10px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.main-title {
    font-size: 42px;
    font-weight: bold;
    color: #000;
    text-align: center;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.header-contact {
    text-align: right;
    font-size: 14px;
    font-weight: bold;
}

/* Hero Section */
.hero-section {
    width: 980px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-bottom: 1px dashed #ccc;
}

.hero-catch {
    font-size: 28px;
    margin-bottom: 20px;
    color: #003366;
    line-height: 1.4;
}

.hero-catch span {
    font-size: 18px;
    color: #555;
    font-weight: normal;
}

.hero-content {
    display: flex;
    gap: 30px;
}

.hero-text {
    flex: 1;
    font-size: 16px;
    text-align: justify;
}

.hero-text p {
    margin-bottom: 15px;
}

.hero-image {
    flex: 1;
}

/* Main Content */
.main-content {
    width: 660px; /* 980 - gap - sidebar */
}

.article-section {
    margin-bottom: 30px;
}

.article-section h3 {
    font-size: 22px;
    border-left: 5px solid #003366;
    padding-left: 10px;
    margin-bottom: 15px;
    background: #eef;
    padding-top: 5px;
    padding-bottom: 5px;
}

.article-section h4 {
    font-size: 18px;
    margin: 15px 0 10px;
    color: #003366;
}

.article-section p {
    margin-bottom: 1em;
    font-size: 15px;
    text-align: justify;
}

.columns-2 {
    display: flex;
    gap: 20px;
}

.columns-2 .col {
    flex: 1;
}

.bg-gray {
    background-color: #f9f9f9;
    padding: 15px;
    border: 1px solid #eee;
}

/* System Highlight Section */
.system-highlight {
    margin: 30px 0;
    border: 2px solid #0055aa;
    padding: 20px;
    background-color: #f0f8ff;
}

.system-title {
    font-size: 24px;
    text-align: center;
    color: #0055aa;
    margin-bottom: 15px;
}

.system-subtitle {
    font-size: 16px;
    color: #333;
    font-weight: normal;
    display: block;
    margin-top: 5px;
}

.system-desc {
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.system-features {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-img {
    flex: 1;
}

.feature-list {
    flex: 2;
}

.feature-list li {
    margin-bottom: 8px;
    padding-left: 1.2em;
    position: relative;
    font-size: 15px;
}

.feature-list li::before {
    content: "✔";
    color: #0055aa;
    position: absolute;
    left: 0;
}

.ad-link {
    text-align: center;
    margin-top: 20px;
}

.btn {
    display: inline-block;
    padding: 10px 30px;
    background: #0055aa;
    color: #fff;
    border-radius: 5px;
    font-weight: bold;
}

/* Sidebar */
.sidebar {
    width: 290px;
}

.ad-box, .info-box, .column-box {
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 20px;
    background: #fff;
}

.ad-label {
    font-size: 10px;
    color: #999;
    text-align: right;
    margin-bottom: 5px;
}

.sidebar h4 {
    font-size: 16px;
    border-bottom: 2px solid #333;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

.sidebar p {
    font-size: 14px;
    margin-bottom: 10px;
}

/* Footer */
.site-footer {
    width: 980px;
    margin: 0 auto;
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 12px;
}

/* =========================================
   Responsive Styles (SP: max-width 480px)
   ========================================= */
@media screen and (max-width: 480px) {
    
    .wrapper, .site-header, .hero-section, .site-footer {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Header */
    .header-top {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .main-title {
        font-size: 24px;
    }

    .header-contact {
        text-align: center;
    }

    /* Hero */
    .hero-catch {
        font-size: 20px;
    }
    
    .hero-content {
        flex-direction: column-reverse; /* 画像を上に持ってくる場合はcolumn */
    }

    .hero-image {
        margin-bottom: 15px;
    }

    /* Layout */
    .wrapper {
        flex-direction: column;
        display: block; /* Flex解除またはColumn */
    }

    .main-content {
        width: 100%;
    }

    .columns-2 {
        flex-direction: column;
    }

    /* System Section */
    .system-features {
        flex-direction: column;
    }

    .feature-img {
        width: 100%;
        margin-bottom: 15px;
    }

    /* Sidebar */
    .sidebar {
        width: 100%;
        margin-top: 30px;
    }
}
