/* 全体の初期化 */
body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  background-color: #fff;
  color: #333;
}
a {
  color: #333;
  text-decoration: underline dotted;
  transition: color 0.2s ease;
}

a:hover {
  color: #d22;
  /* text-decoration: underline dotted; */
}
.breadcrumb {
  font-size: 0.9rem;
  margin-bottom: 1.2em;
  color: #999;
}
@media (max-width: 768px) {
  .breadcrumb {
    padding-left: 1.5rem; 
  }
}

/* ヘッダー */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 40px;
  margin-bottom: 0;
  border-bottom: none;
}

header {
  margin: 0;
  padding: 0;
}
.site-header {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* ロゴ画像 */
.site-title {
  flex-shrink: 0;
}
.site-title a img {
  max-width: 260px;
  height: auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.site-title a:hover img {
  transform: scale(1.03) translateY(-2px);
  opacity: 0.8;
}

/* ナビゲーション */
.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
}
.main-nav ul {
  display: flex;
  gap: 48px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 600;
  color: #333;
  font-size: 20px;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
}
.main-nav a:hover {
  color: #d22;
  transform: translateY(-2px) scale(1.03);
}

/* CONTACTボタン用スタイル */
.contact-button {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background-color: #8fb8ae;
  color: #fff !important;
  font-weight: 700;
  border-radius: 20px;
  text-decoration: none;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-family: 'Noto Sans JP', sans-serif;
  opacity: 0.85;
}
.contact-button:hover {
  background-color: #65978b;
  transform: scale(1.05);
  opacity: 1;
  color: #fff !important;
}

.top-slider__swiper-wrapper {
  height: auto;
}

/* スライド画像 */
.swiper-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 0;
  margin: 0;         
  padding: 0;       
  transition: transform 5s ease, opacity 2s ease;
}

.slide-image {
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
}
/* スライダー下のテキスト */
.hero-message {
  text-align: center;
  margin: 1.5rem auto;
  padding: 0 1rem;
  padding-top: 0.1rem;
  max-width: 800px;
  color: #333;
  font-family: 'Noto Sans JP', sans-serif;
}
.hero-message h1 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: slideUpFade 1s ease-out forwards;
}
.hero-message p {
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.6;
  white-space: normal;
    opacity: 0;
  animation: slideUpFade 1.8s ease-out forwards;
  animation-delay: 0.5s; 
}
@keyframes slideUpFade {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* sp-only（スマホ専用）の改行を制御 */
.sp-only {
  display: none;
}

@media screen and (max-width: 767px) {
  .hero-message h1 {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  .hero-message p {
    font-size: 1rem;
    line-height: 1.8;
  }
}

/* スライダー全体 */
.swiper-container {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
  padding: 0 20px; 
  box-sizing: border-box; 
}
/* スライダー全体 */
.top-slider {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  overflow: hidden;
}

/* スライダー内の各スライド */
.swiper-slide {
  position: relative;
}

/* スライド画像のラッパー */
.slide-image {
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
}

@media (max-width: 768px) {
  .sp-only {
    display: inline !important;
  }
}

.slide-title {
  position: relative;
  z-index: 2;
  color: #fff;
}
/* スライダー全体（余白あり） */
.swiper-container {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
  padding: 0 20px;
  box-sizing: border-box;
}

/* スライダーの枠 */
.top-slider {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  overflow: hidden;
}

/* スライドの個別要素 */
.swiper-slide {
  position: relative;
}

/* スライド画像のラッパー */
.slide-image {
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
}

.top-slider {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.sp-only {
  margin-bottom: 0 !important;
}

/*プロフィール*/
.profile-section {
  text-align: center; 
  padding: 2rem 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.profile-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.profile-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 1.5px solid #ccc;
  margin-top: 1.5rem;
}

.profile-text {
  text-align: left;
  flex: 1;
  min-width: 250px;
  font-family: 'Noto Sans JP', sans-serif;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.6;
}

.about__inner {
  max-width: 800px;
  margin: 0 auto;
}

.about-link {
  margin-top: 1rem;
  font-size: 0.95rem;
}

.about-link a {
  color: #444;
  text-decoration: underline dotted;
  transition: color 0.2s ease;
}

.about-link a:hover {
  color: #d22; /* ナビと同じ赤 */
}

/* スマホ用：縦並び */
@media (max-width: 768px) {
  .profile-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-text {
    min-width: unset;
  }
}

.about {
  padding: 4rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.9;
  color: #333;
}
.section-title {
  font-family: 'Noto Sans JP', sans-serif;  
  font-weight: 600;                                                 
  letter-spacing: 0.03em;                  
  line-height: 1.4; 
  margin-top: 0;                       
  margin-bottom: 1rem;                      
  color: #333;                             
}
.page-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
  margin: 0rem auto 1.5rem;
  letter-spacing: 0.03em;
  line-height: 1.4; 
}
.section-title {
  font-size: 1.8rem;
}

/* 通常の固定ページだけ小さく */
.page:not(.home) .section-title {
  font-size: 1.4rem;
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: left;
  line-height: 1.8;
}

.about-text p {
  margin-bottom: 1.5rem;
}
.about-activity ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-top: 1rem;
}
.sns-links {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.sns-links li {
  margin-bottom: 0.8rem;
}

.sns-links a {
  text-decoration: underline dotted; 
  color: #333; 
  transition: opacity 0.2s ease;
}

.sns-links a:hover {
  opacity: 0.8;
  color: #d22;
}


/* 活動内容の箇条書き */
.activity-list {
  list-style: disc;
  margin: 1em 0 2em 0;     
  padding-left: 1.2em;      
}
.activity-list li {
  line-height: 1.6;
  margin-bottom: 0.4em;
}
.articles-text {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem auto;
  padding: 0 1rem;
  line-height: 1.8;
}
.articles__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* フッター */
.footer {
  background: #fdfdfd;
  padding: 2rem 1rem;
  font-size: 0.85rem;
  text-align: center;
  color: #666;
}
.footer-sitemap ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
}
.footer-sitemap a {
  text-decoration: none;
  color: #c62828;
}
.footer-sitemap a:hover {
  opacity: 0.7;
}
/* ハンバーガーアイコン */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  position: absolute;
  top: 40px;
  right: 20px;
  z-index: 1000;
}
.hamburger span {
  display: block;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
}

/* スマホ用ナビメニュー */
@media screen and (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    background-color: #fff;
    padding: 1em;
    position: absolute;
    top: 70px;
    right: 20px;
    width: 150px;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  /* .main-nav li {
    margin: 0rem 0;
  } */

  .main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 400;
  }

  .main-nav a:hover {
    opacity: 0.7;
  }
}
@media screen and (max-width: 768px) {
  .main-nav ul {
    display: block;
    /* list-style: none;
    margin: 0;
    padding: 0; */
  }

  .main-nav li {
    margin: 0.5em 0;
  }

  .main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
  }

  .main-nav a:hover {
    opacity: 0.7;
  }
}

.contact-content__inner {
  max-width: 800px;
  margin: 0 auto;
}

.contact-content > p {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1rem;
}

.contact {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
  text-align: left;
}
.contact-lead { 
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  text-align: left;
}

/* フォーム全体を中央に配置 */
.wpcf7 {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
  text-align: left;
}

/* 入力項目は左寄せで統一 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: 0.8em;
  font-size: 1rem;
  box-sizing: border-box;
  text-align: left;
  margin-bottom: 1rem;
}

.wpcf7 label {
  display: block;
  text-align: left;
  margin-bottom: 0.5rem;
}
.wpcf7 input[type="submit"] {
  background-color: #8fb8ae; 
  color: #fff;
  border: none;
  padding: 0.8em 2em;
  font-size: 1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: block;           
  margin: 2rem auto 0 auto;  
  text-align: center;
}

/* ホバー時の変化 */
.wpcf7 input[type="submit"]:hover {
  background-color: #65978b;
  transform: translateY(-2px);
}
.top-news {
  max-width: 1200px;
  margin: 0.5rem ;
  padding: 0 1rem;
}
.top-news .section-title {
  font-family: 'Noto Sans JP', sans-serif;
  text-align: center;
  font-size: 1.8rem;
  margin-top: 0rem;
  margin-bottom: 1rem;
  font-weight: 600;
}
.news-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.news-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}
.news-item time {
  font-size: 0.9rem;
  color: #666;
}


.news-date-wrap {
  display: flex;
}

/* PC・共通スタイル */
.news-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  text-decoration: none;
  color: inherit;
}
.news-title:hover {
  color: #d22;
}

.news-item .new-icon {
  width: 50px;
  height: auto;
  vertical-align: middle;
}
.news__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.news-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #ccc;   
  padding-bottom: 0.5rem;          
  margin-bottom: 1rem;             
}

.news-thumbnail {
  flex-shrink: 0;
}
.news-thumbnail img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 5px;
  display: block;
}
.news-text {
  flex: 1;
}

.news-excerpt {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

/* スマホ用調整 */
@media screen and (max-width: 767px) {
  .news-title {
    font-size: 1rem; 
  }

  .news-title .new-icon {
    width: 16px; 
    margin-top: 2px; 
  }
}
/* BLOGセクション全体 */
.top-blog {
  max-width: 1200px;
  margin: 3rem auto 0.5rem;
  padding: 0 1rem;
  text-align: center;
}

/* カードラップ */
.blog-card-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

/* 各ブログカード */
.blog-card {
  background: #ffffff;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  max-width: 350px;
  width: 100%;
  transition: transform 0.3s ease;
  text-align: center;
}
.blog-card:hover {
  transform: scale(1.02);
}

/* サムネイル画像 */
.blog-card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 5px;
}

/* カード内テキスト */
.blog-card-content {
  padding: 1rem;
}

.blog-card-title {
  position: relative;
  display: inline-block;
  padding-bottom: 1px;
  font-size: 1.5rem;
  font-weight: 500;
  margin-top: 0.3em;
  margin-bottom: 0rem;
  color: #333;
  text-decoration: none;
}

.blog-card-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #333;
  transition: width 0.3s ease;
}

.blog-card-date {
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 0.5rem;
}

/* フォーカス時の点線非表示 */
.blog-card *:focus {
  outline: none;
}
.blog__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.blog__inner .post-item {
  text-align: left;
  margin-bottom: 2.5rem;
}
.blog__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.blog-item {
  margin-bottom: 2rem;
  border-bottom: 1px solid #ccc;
  padding-bottom: 1.5rem;
}
.blog-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
}
.blog-thumbnail {
  flex-shrink: 0;
}
.blog-thumbnail img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 5px;
}
.blog-text {
  flex: 1;
}
.blog-title {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 1rem;
}
.blog-meta {
  flex: 1;
}
.blog-excerpt {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}
@media screen and (max-width: 600px) {
  .blog-card-wrapper {
    justify-content: center;
  }
}

/* 共通：もっと見るボタン */
.more-button-wrapper {
  display: flex;
  justify-content: center;  
  margin-top: 1.5rem;
  margin-bottom: 1.2rem;
}

.more-button {
  display: inline-block;
  padding: 0.5rem 1.8rem; 
  background-color: #8fb8ae;
  color: #fff !important;
  text-decoration: none;
  border-radius: 40px;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: 'Noto Sans JP', sans-serif;
  transition: background-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
  max-width: 200px;   
}

.more-button:hover {
  background-color: #6da39b;
  transform: translateY(-2px);
  opacity: 0.95;
}

/* 一覧のラッパー */

@media (max-width: 768px) {
  .blog-item {
    max-width: 100%;
  }
}

.footer {
  background-color: #f5f5f5;
  padding: 2em 0;
  text-align: center;
  font-size: 0.95rem;
  color: #555;
}

.footer-sitemap ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1em;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5em;
}
/* 餃子ボタン */
.back-to-top img:hover {
  animation: squish 0.4s ease;
}

@keyframes squish {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.1, 0.9); }
  60%  { transform: scale(0.95, 1.05); }
  100% { transform: scale(1); }
}
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 80px;
  height: auto;
  z-index: 1000;
  transition: opacity 0.3s ease;
}
html {
  scroll-behavior: smooth;
}
@media screen and (min-width: 768px) {
  .back-to-top {
    bottom: 30px;
    right: 30px;
  }
}

@media screen and (max-width: 767px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
  }
}
@media (width <= 768px) {
  .footer-sitemap ul {
    max-width: 312px;
    margin-inline: auto;
    margin-bottom: 2.5em;
  }
}

.footer-sitemap a {
  text-decoration: none;
  color: #555;
}

.footer-sns {
  margin-bottom: 1em;
}

.footer-sns a {
  margin: 0 1em;
  color: #555;
  text-decoration: none;
}

.footer-sns a:hover,
.footer-sitemap a:hover {
  opacity: 0.7;
}

.footer-copy {
  font-size: 0.8rem;
  color: #888;
}
.sitemap-container {
  padding: 0 5vw;
  max-width: 800px;
  margin: 0 auto;
}

.sitemap-container ul {
  list-style: none;
  padding: 0;
}

.sitemap-container li {
  margin-bottom: 2em;
  font-size: 1rem;
  line-height: 1.6;
}

.sitemap-container li a {
  font-weight: bold;
  color: #333;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.3em;
}

.main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem 2rem;
}

.post-item {
  margin-bottom: 2rem;
}

.post-item h2,
.post-item h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.news-list a,
.blog-list a {
  color: #333;
  text-decoration: none;
}

.news-list a:hover,
.blog-list a:hover {
  text-decoration: underline;
}
.breadcrumb {
  color: #999; 
  font-size: 14px;
  border: none;         
  border-bottom: none;  
  padding: 0;
}

.breadcrumb a {
  color: #999;          
  text-decoration: none; 
}

.breadcrumb a:hover {
  text-decoration: underline; 
}

.swiper-container {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 全体の枠 */
.faq__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px; 
}

/* セクションタイトル（h1）は中央 */
.faq__inner .section-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  font-weight: bold;
}

/* 質問（h2）は左寄せで */
.faq-question {
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  text-align: left;
}

.faq-answer {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  text-align: left;
}

/* 各質問ブロックの余白 */
.faq-item {
  margin-bottom: 2.5rem;
}

.not-found {
  text-align: center;
  padding: 4rem 1rem;
  color: #333;
}
.not-found-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}
.back-home a {
  display: inline-block;
  padding: 0.6em 1.5em;
  background-color: #8fb8ae; 
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
}
.back-home a:hover {
  background-color: #65978b;
}
/*404ページ*/
.error-404 {
  text-align: center;
  padding: srem 1rem;
}

.error-illustration img {
  max-width: 300px;
  height: auto;
  margin: 0 auto 1rem;
}

.back-home {
  display: inline-block;
  margin-top: 2.5rem;
  padding: 0.8rem 1.6rem;
  background-color: #f5b12e;
  color: #fff !important;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.back-home:hover {
  background-color: #d9971b;
}
.not-found {
  text-align: center;
  padding: 4rem 1rem;
}
.error-title {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}
.error-message {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  line-height: 1.8;
}
.error-buttons .btn {
  background-color: #f08080;
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}
.error-buttons .btn:hover {
  opacity: 0.8;
}
.recent-title {
  margin-top: 3rem;
  font-size: 1.5rem;
  font-weight: bold;
}
.recent-posts {
  list-style: none;
  padding: 0;
}
.recent-posts li {
  margin: 0.5rem 0;
}
.recent-posts a {
  text-decoration: none;
  color: #333;
}
.recent-posts {
  margin-top: 2rem;
  padding: 1.5rem;
  background-color: #f8f8f8;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.recent-posts h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #333;
  font-weight: 600;
}

.recent-posts ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recent-posts li {
  margin-bottom: 0.6rem;
}

.recent-posts a {
  text-decoration: none;
  color: #007b8f; 
  transition: color 0.2s ease;
}

.recent-posts a:hover {
  color: #005f6b;
  text-decoration: underline;
}
/*戻るボタン*/
.back-button {
  text-align: center;
  margin: 1.5rem 0 1.5rem;
}

.back-button a {
  display: inline-block;
  font-size: 0.95rem;
  text-decoration: none;
  color: #666;
  border: 1px solid #ccc;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  transition: background-color 0.2s ease;
}

.back-button a:hover {
  background-color: #f5f5f5;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 2rem;
  font-size: 1rem;
}

.pagination .page-numbers {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid #ccc;
  text-decoration: none;
  color: #333;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.pagination .page-numbers:hover {
  background-color: #f2f2f2;
}

.pagination .current {
  background-color: #333;
  color: #fff;
  font-weight: bold;
  pointer-events: none;
}

@media (max-width: 768px) {
  body:not(.front-page) .main {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (max-width: 768px) {
  /* トップページ（home）だけ余白をなくす */
  body.home .main {
    padding: 0;
  }

  /* トップページ以外は今まで通りの余白 */
  body:not(.home) .main {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  /* トップ画像の横の余白をなくす */
  .swiper-container {
    margin: 0;
    padding: 0;
  }

  .swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
  }
}
