/* ======================================= */
/* TOPページCSS*/
/* ======================================= */

/* 既存のbody, mainのスタイルを上書き */
body {
    background-color: #f8f9fa;
}
main.main-top {
    flex: none; /* base.htmlのflex:1をリセット */
}

/* 既存の.containerを流用 */

/* メインビジュアル (Hero) */
.hero-new {
    /* ↓ この background-image の指定を変更 */
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3)), url('../img/top_image.png');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: left;
}

.hero-new .container {
    max-width: 1100px;
}

.hero-new h1 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.5;
}

.hero-new p {
    font-size: 1rem;
    color: #fff;
    line-height: 1.8;
    margin-bottom: 30px;
}

.btn-register {
    background-color: #3B4A6B;
    color: #fff;
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;

    display: block;        /* ブロック要素化 */
    width: fit-content;    /* ボタンの横幅を内容に合わせる */
    margin: 20px auto;     /* 左右を auto にして中央揃え */
}
.btn-register:hover {
    opacity: 0.9;
}


/* Synommyとは (About) */
.about-new {
    padding: 80px 0;
    background-color: #fff;
}
.about-new h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
}
.features {
    display: flex;
    justify-content: space-around;
    gap: 40px;
}
.feature-item {
    text-align: center;
    flex: 1;
    max-width: 300px;
}
.feature-item img {
    height: 60px; /* アイコン画像のサイズ */
    margin-bottom: 20px;
}
.feature-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}
.feature-item p {
    text-align: left;
    line-height: 1.7;
    color: #555;
    font-size: 0.95rem;
}

/* 新着記事 (Articles) */
.articles-new {
    padding: 80px 0;
    background-color: #f8f9fa;
}
.articles-new h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
}
.article-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}
.article-card-new {
    background-color: #fff;
    border-radius: 0px; /* 角丸をなくす */
    overflow: hidden;
    box-shadow: none; /* 影をなくす */
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease;
}
.article-card-new a {
    text-decoration: none;
    color: inherit;
}
.article-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.article-thumbnail .placeholder-image {
    background-color: #e9ecef;
    color: #adb5bd;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}
.article-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.article-body {
    padding: 20px;
}
.article-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 10px;
}
.article-category {
    font-size: 0.85rem;
    color: #888;
}

.btn-center { text-align: center; }

.btn-more {
    background-color: #fff;
    color: #333;
    border: 1px solid #ccc;
    padding: 12px 60px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
}
.btn-more:hover {
    background-color: #f8f8f8;
}


/* CTA */
.cta-new {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../img/lp_all_photo.png'); /* 背景画像と黒いオーバーレイ */
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
    color: #fff;
}
.cta-new h2 {
    font-size: 2.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
}
.btn-cta {
    background-color: #26C6DA; /* 画像に近い色 */
    color: #fff;
    padding: 15px 50px;
    font-size: 1.1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}
.btn-cta:hover {
    opacity: 0.9;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .hero-new h1 {
        font-size: 1.8rem;
    }
    .features {
        flex-direction: column;
        align-items: center;
    }
    .article-grid-new {
        grid-template-columns: 1fr;
    }
    .cta-new h2 {
        font-size: 1.5rem;
    }
}