@charset "UTF-8";

/*--- メイン画像エリア --- */
.hero {
    padding: 280px;
    background-image: url('../images/hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.hero-content {
    text-align: center;
    text-shadow: 0 2px 10px rgba(0,0,0,0.9);
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.hero p {
    font-weight: bold;
    font-size: 1.4rem;
}

/*--- アイコンメニュー ---*/
/* カードを並べるコンテナ */
.menu-cards {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 40px auto;
    margin-top: -150px;
    flex-wrap: wrap;
    max-width: 1100px;
}

/* カード単体のスタイル */
.menu-card {
    flex: 1;
    background: #fff;
    border: 1px solid #b1b1b1;
    border-radius: 8px;
    padding: 40px 20px 30px 20px;
    text-align: center;
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

/* カード全体のホバー（マウスON）時の動き */
.menu-card:hover {
    transform: translateY(-5px);
    border-color: #f57c00; /* 枠線をオレンジに */
    box-shadow: 0 10px 20px rgba(245, 124, 0, 0.12);
}

/* --- Font Awesome アイコンの包み（丸背景） --- */
.card-icon-wrap {
    width: 70px;
    height: 70px;
    background-color: #f1f8e9; /* 薄い緑の背景 */
    border-radius: 50%;       /* 正円にする */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

/* アイコン自体の大きさ・色 */
.card-icon-wrap i {
    font-size: 2rem;
    color: #2e7d32; /* メインの緑 */
    transition: all 0.3s ease;
}

/* カードにマウスが乗ったとき、アイコンの丸背景をオレンジに、アイコンを白にする */
.menu-card:hover .card-icon-wrap {
    background-color: #f57c00; /* 背景をオレンジに */
}

.menu-card:hover .card-icon-wrap i {
    color: #fff; /* アイコンを白に */
}

/* カード内の見出し */
.menu-card h3 {
    color: #2e7d32;
    margin: 15px 0 10px 0;
    font-size: 1.25rem;
    transition: color 0.3s;
}

.menu-card:hover h3 {
    color: #f57c00; /* 文字をオレンジに */
}

/* カード内の説明文 */
.menu-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* 「詳しく見る」の文字 */
.card-more {
    font-size: 0.85rem;
    font-weight: bold;
    color: #2e7d32;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.menu-card:hover .card-more {
    color: #f57c00;
}

/*--- お知らせ ---*/
.news-container {
    max-width: 1100px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

.news-inner {
    border-top: 3px solid #f57c00;
    padding-top: 40px;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.news-header h2 {
    font-size: 1.8rem;
    margin: 0;
    color: #2e7d32;
}

.view-all {
    color: #2e7d32;
    text-decoration: none;
    font-weight: bold;
}

.view-all:hover {
    color: #f57c00;
    text-decoration: underline;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-list li {
    border-bottom: 1px solid #eee;
}

.news-list li a {
    display: flex;
    align-items: center;
    padding: 20px 10px;
    text-decoration: none;
    color: #333;
    transition: background 0.2s;
}

.news-list li a:hover {
    background-color: #f9f9f9;
}

.news-list .date {
    color: #888;
    width: 110px;
    font-size: 0.9rem;
}

/* カテゴリーラベル */
.category {
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: 4px;
    color: #fff;
    margin-right: 20px;
    min-width: 80px;
    text-align: center;
}

.label-blue { background-color: #1e88e5; } 
.label-green { background-color: #43a047; } 
.label-orange { background-color: #f57c00; } 
.label-gray { background-color: #b5b5b5; }
.label-pink { background-color: #ea9090; }


/* ホバー時の挙動 */
.news-list li a:hover {
    background-color: #fffaf5;
}

.news-list li a:hover .title {
    color: #f57c00;
}

.news-list .date {
    color: #888;
    width: 110px;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.news-list .title {
    flex: 1;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s;
}

/* 点滅 */
.blinking{
	-webkit-animation:blink 1.0s ease-in-out infinite alternate;
    -moz-animation:blink 1.0s ease-in-out infinite alternate;
    animation:blink 1.0s ease-in-out infinite alternate;
    color: #ae2121;
    font-size: 0.8rem;
    font-weight: bold;
    vertical-align: 6.1%;
}
@-webkit-keyframes blink{
    0% {opacity:0;}
    100% {opacity:1;}
}
@-moz-keyframes blink{
    0% {opacity:0;}
    100% {opacity:1;}
}
@keyframes blink{
    0% {opacity:0;}
    100% {opacity:1;}
}