/* 基本設定 */
body {
    font-family: 'Helvetica Neue', Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}
h3 {
    margin-bottom: 0;
}
section {
    width: 90%;
    max-width: 1100px;
}
ul {
    list-style: none;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ヘッダー */
header {
    background: #ffffffa9;
    color: #333;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .logo {
    color: #ab2328;
    font-family: "Mark OT","Century Gothic","Arial","Verdana","Meiryo";
    font-weight: bold;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

header nav ul {
    font-family: "Mark OT","Century Gothic","Arial","Verdana","Meiryo";
    display: flex;
}

header nav ul li {
    margin-left: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

/* メインビジュアル */
.main-visual {
    position: relative;
    width: 100%;
    height: 500px;
    text-align: center;
    overflow: hidden;
    background-image: url(https://gigaplus.makeshop.jp/autoprozusa1/yakima-fm/camp2026/top_background.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

.top_pc {
    width: 900px;
    max-width: 100%;
}

.top_sp{
    display: none;
}

/*.main-copy {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}*/
        
/* 共通コンテナ */
.container {
    margin: 60px auto;
    text-align: center;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    border-bottom: 3px solid #000;
    display: inline-block;
}

/* 概要 */
.about-title {
    font-size: 2rem;
    margin-bottom: 30px;
}
.text-br {
    display: none;
}

.about img {
    max-width: 100%;
    margin-top: 10px;
}
.container table {
    margin: 10px auto 15px auto;
    text-align: left;
    border-spacing: 15px;
}
.container table td {
    vertical-align: top;
}

.osada_site {
    padding-left: 19px;
    background-image:url(https://gigaplus.makeshop.jp/autoprozusa1/carshop/hp_icon.png);
    background-repeat: no-repeat;
    background-size: 18px;
}

.about-map{
    padding-left: 19px;
    background-image:url(https://gigaplus.makeshop.jp/autoprozusa1/carshop/map.png);
    background-repeat: no-repeat;
    background-size: 18px;
}

/* コンテンツ */
.contents {
    display: grid;
    gap: 5px;
}
.contents img {
    max-width: 100%;
}

/* ニュースグリッド */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.news-item {
    background: #fff;
    border: 1px solid #ddd;
    transition: transform 0.3s;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-item img {
    width: 100%;
    height: auto;
}

.news-item .date {
    font-size: 0.8rem;
    color: #888;
    padding: 10px 15px 0;
}

.news-item h3 {
    font-size: 1.1rem;
    padding: 5px 15px 20px;
}

/* エントリー */
.policy {
    margin-top: 50px;
}
.policy p {
    background-color: #ffffff;
    width: 700px;
    max-width: 95%;
    height: 200px;
    padding: 10px;
    margin: 20px auto 40px auto;
    text-align: left;
    overflow-y: scroll;
}
.entry-banner-section {
    margin-bottom: 60px;
}

.entry-banner {
    position: relative;
    display: inline-block;
    width: 700px;
    max-width: 90%;
}

.entry-banner img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(4px 4px 4px rgba(160, 160, 160, 0.8));
}

.entry-banner img:hover {
    opacity: 0.5;
}

.entry-banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
}
/* アクセス */
.map iframe {
    width: 700px;
    max-width: 100%;
    height: 500px;
    border: 0;
}
/* フッター */
footer {
    background: #ab2328;
    color: #fff;
    text-align: center;
    padding: 40px 0;
    margin-top: 60px;
}

.footer_icon {
    padding: 0 10px 0 10px;
    width: 40px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    header {
        display: block;
        align-items: center;
        position: sticky;
        top: 0;
        z-index: 1000;
    }
    header nav ul li {
        margin: 0 20px 0 0;
    }
    .main-visual {
        height: 300px;
    }
    .top_pc {
        display: none;
    }
    .top_sp {
        display: block;
        width: 400px;
        max-width: 100%;
        margin: auto;
    }
    .text-br {
        display: block;
    }
    .entry-banner-text {
        font-size: 1.5rem;
}
}