@charset "UFT-8";
/* body{
    
    } */
/* グーグルフォント */
/* .yusei-magic-regular {
  font-family: "Yusei Magic", sans-serif;
  font-weight: 400;
  font-style: normal;
} */
/* 変数 */
:root{
  --color-main:#4995DD;
  --color-text:#060606;
  --color-sub:#f5eb68;
  --color-2:#61cbf4;
}
/* 初期設定 */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd{
  margin: 0;
}
/* javaScriptを書かなくてもスムーズに飛ぶ、スマホ画面にしても画面から飛び出さない */
html{
  scroll-behavior: smooth;
  overflow-x: clip;
}
body{
  overflow-x:clip;
  font-family: "Yusei Magic", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  /* letter-spacing: 0.09em; */
  color: var(--color-text);
}
ul,
ol{
  margin:0;
  padding: 0;
  font-size: 0.6rem;
  font-weight: 400;
  line-height: 1.5;
  line-style:none;
}

.first-view{
  width: 100%;
  height: 700px;
  position: relative;
}
.first-view_swiper{
  width: inherit;
  height: inherit;
}
.first-view_swiper-wrapper{
  width: inherit;
  height: inherit;
}
.first-view_swiper-slide{
  width: inherit;
  height: inherit;
}
.first-view_img{
  width: inherit;
  height: inherit;
}
.first-view_img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.swiper-slide-active img,
.swiper-slide-duplicate-active img,
.swiper-slide-prev img{
  animation: zoomIn 8s linear 0s normal both;
}
@keyframes zoomIn{
  from{
    scale:1;
  }
  to{
    scale:1.2;
  }
}


.first-view_content{
  top: 0;
  position: absolute;
  bottom:0;
  left: 0;
  right: 0;
  inset:0;
  /* display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; */
  align-content: center;
  text-align: center;
  /* display: grid;
  place-content: center; */
  color: #fff;
  z-index: 1;
}
.first-view_catch{
  font-size: 70px;
  font-weight: 500;
  line-height: calc(45/39);
  text-shadow: 3px 3px 6px var(--color-text);
  /* @media {(768px>=width) color: #305030;} */
}
@media(768px>=width) {
.first-view_catch{  color: red;}
}
.first-view_title{
  font-size: 42px;
  font-weight: 10;
  line-height: calc(45/39);
  text-shadow: 3px 3px 6px var(--color-text);
}
@media(768px>=width) {
.first-view_title{  font-size: 13px;color: red;line-height: calc(32/24);}
}

.first-view_button{
  margin-top: 32px;
  text-align: center;
}
.first-view_button a{
  display: inline-block;
  font-size: 18px;
  line-height: calc(28/18);
  color: #fff;
  background-color: var(--color-main);
  padding: 8px 32px;
  border-radius: 8px;
}
/* /*=========================================================================
//  ヘッダー
=========================================================================*/
.header {
  position: fixed;
  inset-inline: 0;
  z-index: 20;
  padding-block: 12px;
  background-color: var(--color-main);
}
.header_inner {
  display: flex;
  align-items: center; /* 垂直中央揃え */
  justify-content: space-between;  /*←これが重要 */
}
/* 左側グループ（ロゴ＋タイトル） */
.header_left {
  display: flex;
  align-items: center;
}
.a_site_logo {
  margin-right: 16px; /* ロゴと文字の間隔 */
}
.header_inner {
  @media (768px <= width) {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

.header_logo {
  display: grid;
  margin: 0;

  & a {
    font-size: 24px;
    line-height: calc(32 / 24);
    display: inline-block;
    color: white;
  }
}

.header_nav {
  display: none;
  font: white;
  
  @media (768px <= width) {
    display: flex;
    column-gap: 32px;
  }
}

.header_list {
  @media (768px <= width) {
    display: flex;
    align-items: center;
    column-gap: calc(32px - 8px * 2);
  }

  & li {
    @media (768px <= width) {
      line-height: 1;
    }
  }

  & a {
    color: #fff;
    @media (768px <= width) {
      padding-inline: 8px;
    }
  }
}

.header_button {
  padding-block: 10px;
  padding-inline: 16px;
  background-color: var(--color-2);
  color:var(--color-text);
  border-radius: 6px;
  display: inline-block;
}
/* /*=========================================================================
//  ページトップ
=========================================================================*/

.page-top{
  display: inline-block;
  max-width: 48px;
  aspect-ratio: 1;
  position: fixed;
  right: 64px;
  bottom: 24px;
  /* opacity: 0;
  visibility: hidden; */
  z-index: 30;
  transition: all 0.3s ease;
}
.page-top.is-show{
  opacity: 1;
  visibility: visible;
}
/* --- はじめにセクション --- */
.intro-section {
  background-color: #fff;
  padding: 60px 20px;
}

.intro-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.intro-image img {
  max-width: 250px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.intro-text {
  max-width: 500px;
}

.intro-heading {
  color: var(--color-main);
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.intro-message {
  color: var(--color-text);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* --- お知らせセクション --- */
.news-section {
  background-color: #fff;
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.section-title {
  color: var(--color-main);
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 20px;
}

.news-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.news-item {
  color: var(--color-text);
  font-size: 0.95rem;
  padding: 8px 0;
  border-bottom: 1px solid #ddd;
}



/* 投稿一覧セクション */
.reco-section {
  padding: 40px 0;
  margin-top: 60px;  /* ← これを追加 */
  background-color: var(--color-sub);
}
.reco-section h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--color-main); /* ← 見出しにメインカラー */
  font-family: 'Yusei Magic', sans-serif;
}
.reco-section .inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.reco-section_title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 24px;
  text-align: center;
}

/* 投稿カードのリスト表示（グリッド） */
.reco-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

/* 投稿1枚ずつのカード */
.reco-card {
  display: block;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  text-decoration: none;
  color: var(--color-text);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reco-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.reco-card_img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.reco-card_title {
  font-size: 16px;
  font-weight: bold;
  padding: 12px;
}
/* フッター内のテキスト中央配置（必要に応じて） */
footer {
  background-color: var(--color-main);
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
  text:#fff;
}
 /* ハンバーガー用追加CSS */
    .hamburger {
      display: none;
      flex-direction: column;
      cursor: pointer;
    }
    .hamburger span {
      background: #333;
      margin: 4px 0;
      width: 25px;
      height: 3px;
    }
    .mobile-nav {
      display: none;
      position: absolute;
      top: 60px;
      right: 0;
      background: white;
      border: 1px solid #ccc;
      padding: 1em;
      z-index: 999;
    }
    .mobile-nav a {
      display: block;
      margin-bottom: 10px;
      color: #333;
      text-decoration: none;
    }

    @media (max-width: 768px) {
      .hamburger {
    display: flex;
    position: absolute;
    right: 16px;
    top: 16px;
    z-index: 1001;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
  }

  .header_nav {
    position: fixed;
    top: 0;
    right: -100%;  /* ← 左から出すなら left、右からなら right */
    width: 70%;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: 60px 20px;
    gap: 24px;
    transition: 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: flex-start;
  }

  .header_nav.active {
    right: 0; /* ← 展開時の表示位置 */
  }

  .header_button {
    width: 100%;
    text-align: center;
  }
}
/* アニメーションのフェードインアップ　※ヌガーサンド */
.scroll-up{
  transform: translateY(30px);
  opacity: 0;
  transition:transform 0.8s ease-in-out, opacity 0.8s ease-in-out;
}
.scroll-up.on{
    transform: translateY(0);
    opacity: 1;
  }
