/* --- 1. グローバル・リセット & 変数 --- */
:root {
    --primary: #f4c84a;
    --accent: #5f8f3d;
    --text: #2d3436;
    --bg-light: #fffdf6;
    --shadow: rgba(0, 0, 0, 0.08);
    --transition: 0.85s cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
    font-family: 'M PLUS 1p', sans-serif;
    font-size: 16px;
    color: var(--text);
    background-color: var(--bg-light);
}

body {
    width: 100%;
    background:
        radial-gradient(circle at 10% 20%, rgba(244, 200, 74, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(95, 143, 61, 0.08) 0%, transparent 40%),
        var(--bg-light);
    background-attachment: fixed;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* --- 2. スライダー (Eye Catch) --- */
.top {
    width: 100%;
}

.eye_catch {
    position: relative;
    width: 98%;
    max-width: 100%;
    height: 70vh;
    min-height: 450px;
    margin: 10px auto;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.15);
}

.hero_slider_track {
    display: flex;
    height: 100%;
    transition: transform var(--transition);
    will-change: transform;
}

.no-transition {
    transition: none !important;
}

.hero_slide {
    flex: 0 0 100%;
    height: 100%;
}

.slide_inner {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide_inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
}

.slide_inner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.3) 0%, transparent 50%);
}

.top_page_message {
    position: absolute;
    top: 50%;
    left: 6%;
    transform: translateY(-50%);
    z-index: 5;
    color: white;
}

.top_page_message1 {
    font-size: clamp(2rem, 5.5vw, 4rem);
    line-height: 1.1;
    font-weight: 800;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}

.hero_arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.hero_arrow:hover {
    background: white;
    color: var(--text);
}

.hero_arrow_prev { left: 20px; }
.hero_arrow_next { right: 20px; }

.hero_slider_ui {
    position: absolute;
    bottom: 25px;
    right: 5%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.hero_dot {
    width: 30px;
    height: 4px;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: 0.4s;
}

.hero_dot.active {
    background: var(--primary);
}

.hero_slide_label {
    color: white;
    font-weight: 800;
    text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}

/* --- 3. メインコンテンツ --- */
.main {
    width: 80%;
    max-width: 1200px;
    margin: 10px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.index_top_oshirase {
    background: white;
    padding: 10px 30px;
    border-radius: 100px;
    box-shadow: 0 5px 20px var(--shadow);
    margin-bottom: 40px;
    display: inline-block;
    color: var(--accent);
    font-weight: 800;
    font-size: 0.9rem;
    border: 1px solid rgba(95, 143, 61, 0.1);
}

.introduction {
    margin-bottom: 60px;
    width: 90%;
}

.infomation_title h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.infomation_title h1::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--primary);
}

.infomation_top_image {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.infomation_top_image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 20px;
}

/* --- 4. お知らせ & グリッド --- */
.news {
    background: white;
    border-radius: 30px;
    padding: 35px 50px;
    box-shadow: 0 20px 40px var(--shadow);
    margin-bottom: 60px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.news_top {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--accent);
    font-weight: 800;
}

.news ul {
    list-style: none;
    border-bottom: 1px solid #f0f0f0;
    padding: 15px 0;
    width: 90%;
}

.news ul:last-child { border-bottom: none; }

.news_date {
    font-weight: 800;
    color: #999;
    margin-right: 15px;
}

.about_grid_container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.intro_about {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    padding: 30px 0;
    border-top: 1px solid #eee;
}

.intro_title div {
    font-size: 1.8rem;
    font-weight: 800;
}

.intro_title p {
    font-size: 0.9rem;
    margin-top: 5px;
}

.intro_link div {
    border-bottom: 1px solid #eee;
    padding: 12px 0;
}

/* --- 5. レスポンシブ --- */
@media (max-width: 1024px) {
    .main { width: 90%; }
    .introduction, .news { width: 100%; }
}

@media (max-width: 768px) {
    .eye_catch {
        width: 100%;
        border-radius: 0;
        margin: 0;
        height: 50vh;
    }
    .infomation_top_image { grid-template-columns: 1fr; }
    .intro_about {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px 0;
    }
    .news { padding: 30px 20px; }
}