@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/
    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* ▼ お知らせアーカイブページ */
.news-tab-menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 40px 0 30px;
}
.news-tab {
  padding: 8px 24px;
  border: 1px solid #ccc;
  border-radius: 25px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}
.news-tab.active {
  background: #1f2f67;
  color: #fff;
  border-color: #1f2f67;
}
.news-list-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.news-item {
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.2s ease;
}
.news-item:hover {
  transform: translateY(-3px);
}
.news-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.news-meta {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  font-size: 0.85em;
  color: #666;
}
.news-title {
  font-size: 1rem;
  padding: 0 12px 16px;
  line-height: 1.4;
}
.news-cat.icon-news::before {
  content: "📰 ";
}
.news-cat.icon-event::before {
  content: "🎪 ";
}
.news-cat.icon-press::before {
  content: "🗞️ ";
}


/* =========================================================
   トップページ全体スタイル（はまっ子防災プロジェクト）
   ========================================================= */

/* ---------- メインビジュアル ---------- */
.top_main_imgarea {
  position: relative;
  width: 100%;
  height: 580px;
  background: url('https://test-pegasos.com/hamakko_new/wp-content/uploads/2025/07/top_main_bg.jpg') center center/cover no-repeat;
  overflow: hidden;
}
.top_main_img {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.top_main_title {
  font-size: 2.6rem;
  color: #fff;
  line-height: 1.6;
  text-shadow: 0 0 10px rgba(0,0,0,0.5);
  font-weight: 700;
  letter-spacing: 0.05em;
}
.top_main_title span {
  font-size: 1.2rem;
  display: block;
}

/* ---------- ABOUTセクション ---------- */
.top_about_container {
  background: #f7f8f9;
  padding: 80px 0;
  text-align: center;
}
.top_about_container .title_l {
  margin-bottom: 40px;
}
.top_about_textarea p {
  margin-bottom: 1.5em;
  line-height: 1.8;
}
.btn.btn_wh {
  display: inline-block;
  background: #fff;
  color: #1f2f67;
  border: 2px solid #1f2f67;
  padding: 10px 40px;
  border-radius: 30px;
  transition: all 0.3s ease;
}
.btn.btn_wh:hover {
  background: #1f2f67;
  color: #fff;
}

/* ---------- NEWSセクション ---------- */
.top_news_container {
  background: #fff;
  padding: 80px 0;
  text-align: center;
}
.top_news_

/* -----------------------------------------------------
   はまっ子防災プロジェクト トップページレイアウト
----------------------------------------------------- */

.top_main_imgarea {
  position: relative;
  width: 100%;
  height: 600px;
  background: url('/wp-content/uploads/2025/07/top_main_visual.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.top_main_title {
  color: #fff;
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1.6;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.top_main_title span {
  font-size: 1.2rem;
  display: block;
  margin-bottom: 10px;
}
.top_sponsor_container {
  background: #fff;
  padding: 20px 0;
  text-align: center;
}
.top_about_container {
  background: #f8f8f8;
  padding: 80px 20px;
}
.top_about_container .title_l_main {
  display: block;
  font-size: 2rem;
  color: #1f2f67;
}
.top_about_textarea {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}
.top_item {
  padding: 80px 20px;
}
.top_item_container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.top_item_con_rev .top_item_contents {
  flex-direction: row-reverse;
}
.top_item_box {
  flex: 1;
  min-width: 280px;
}
.top_item_img img,
.top_item_movie iframe {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.title_l {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 40px;
}
.title_l_sub {
  display: block;
  font-size: 0.9rem;
  color: #aaa;
  margin-top: 5px;
}
.btn.btn_wh a {
  display: inline-block;
  padding: 12px 30px;
  background: #1f2f67;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s;
}
.btn.btn_wh a:hover {
  background: #e35b28;
}
.top_sponsorship_container {
  background: #f0f4f9;
  padding: 80px 20px;
}
.top_sponsorship_container .contents {
  text-align: center;
}
.top_sponsorship_contents {
  list-style: none;
  display: grid;
  gap: 40px;
  max-width: 1000px;
  margin: 60px auto 0;
  padding: 0;
}
.top_sponsorship_contents li dl {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  padding: 30px;
}
.l-footer {
  background: #1f2f67;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}
.l-footer a {
  color: #fff;
  text-decoration: underline;
}
.l-footer a:hover {
  color: #e35b28;
}

