@charset "UTF-8";
/* 初期状態では非表示または透明度0にしておく場合 */
.fadeinUp {
  opacity: 0;
}

::-moz-selection {
  background-color: #ffcd33;
  color: #000;
}

::selection {
  background-color: #ffcd33;
  color: #000;
}

::-moz-selection {
  background-color: #ffcd33;
  color: #000;
}

.fadeinUp.animate__animated {
  /* アニメーション全体の持続時間をやや長めに（1.2秒） */
  --animate-duration: 1.2s;
  /* 要素が画面に入ってから0.3秒後にアニメーションを開始させ、期待感を演出 */
  --animate-delay: 0.3s;
  /* イージングをカスタムベジェ曲線で柔らかな加速・減速を実現（Material Designっぽい動き） */
  --animate-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  /* アニメーション後に最終状態を維持 */
  animation-fill-mode: both;
}

/* ページ全体のスクロールバーを非表示にする */
body,
* {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

body::-webkit-scrollbar,
*::-webkit-scrollbar {
  display: none;
}

/* スクロールバーのデザインを適用 */
/* ::-webkit-scrollbar {
  width: 14px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 7px;
  border: 4px solid white;
}
::-webkit-scrollbar-thumb {
  background: #2196F3;
  border-radius: 7px;
  border: 4px solid white;
}
::-webkit-scrollbar-thumb:hover {
  background: #0b7dda;
}
* {
  scrollbar-width: thin;
  scrollbar-color: #2196F3 #f1f1f1;
}
:root {
  --scrollbar-width: 14px;
  --scrollbar-track-color: #f1f1f1;
  --scrollbar-thumb-color: #2196F3;
  --scrollbar-thumb-hover-color: #0b7dda;
  --scrollbar-border-color: white;
  --scrollbar-border-width: 4px;
  --scrollbar-border-radius: 7px;
} */
/* CSS変数を使ったバージョン（簡単にカスタマイズ可能） */
/*
      ::-webkit-scrollbar {
          width: var(--scrollbar-width);
      }

      ::-webkit-scrollbar-track {
          background: var(--scrollbar-track-color);
          border-radius: var(--scrollbar-border-radius);
          border: var(--scrollbar-border-width) solid var(--scrollbar-border-color);
      }

      ::-webkit-scrollbar-thumb {
          background: var(--scrollbar-thumb-color);
          border-radius: var(--scrollbar-border-radius);
          border: var(--scrollbar-border-width) solid var(--scrollbar-border-color);
      }

      ::-webkit-scrollbar-thumb:hover {
          background: var(--scrollbar-thumb-hover-color);
      }
      */
* {
  margin: 0;
  padding: 0;
}

* a {
  text-decoration: none;
  color: #000;
}

body {
  margin: 0;
  font-family: "Zen Kaku Gothic New", sans-serif;
}

.content-wrapper,
.slide-wrapper,
.page-block-editor-section {
  margin: 0 auto !important;
  max-width: 1200px;
  padding: 0 7%;
}

.slide-wrapper {
  width: 100%;
  max-width: initial !important;
}

@media (max-width: 1200px) {
  .swiper {
    padding: 0 7% !important;
  }
}
header {
  position: fixed;
  z-index: 11;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  padding-top: 10px;
  padding-bottom: 10px;
  color: #fff;
  width: 100%;
  transition: background-color 0.3s ease, color 0.3s ease;
  /* スムーズなアニメーションのため */
}

/* ヘッダーは共通で使用可能 */
header {
  background: #fff;
  color: #000;
}

header.scrolled {
  /* スクロールされた状態のヘッダー用スタイル */
  background-color: rgba(255, 255, 255, 0.6);
  /* 背景色を白に */
  color: #000;
  /* 文字色を黒に */
}

.logo {
  font-size: 1.2em;
  font-weight: bold;
}

header .logo a img {
  width: 145px;
  margin-left: 20px;
}

/* PC用メニュー */
.pc-menu {
  display: none;
  /* モバイルでは非表示 */
}

.pc-menu ul {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pc-menu ul li {
  margin: 0 15px;
}

.pc-menu ul li a {
  text-decoration: none;
  color: inherit;
  font-weight: 500;
  transition: color 0.3s ease;
}

.pc-menu ul li a:hover {
  color: #666;
}

/* モバイル用アイコン */
.icons {
  display: flex;
  align-items: center;
  gap: 1em;
  margin-right: 20px;
}

.search-icon,
.menu-icon {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.search-icon::before {
  content: "🔍";
  font-size: 1.2em;
}

.menu-icon::before {
  content: "☰";
  font-size: 20px;
  position: relative;
  top: -10px;
}

.close-btn {
  position: relative;
  top: 3px;
  right: 6px;
}

/* オーバーレイメニュー */
.mobile-logo a img {
  width: 145px;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 10px 20px;
  box-sizing: border-box;
  z-index: 12;
}

.overlay.open {
  opacity: 1;
  visibility: visible;
}

.overlay-close {
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
}

.overlay ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 18px;
  line-height: 2em;
}

.overlay li {
  margin-bottom: 1em;
}

.overlay a {
  text-decoration: none;
  color: #000;
}

.overlay ul li .sns-logo-wrapper {
  margin-top: 30px;
}
.overlay ul li .sns-logo-wrapper img {
  width: 30px;
  height: 30px;
}

.sub-menu {
  padding-left: 30px;
}

/* メディアクエリ（PC用） */
@media (min-width: 768px) {
  /* PC表示用のスタイル */
  .pc-menu {
    display: block;
  }
  .icons {
    display: none;
    /* PC表示ではハンバーガーメニューを非表示 */
  }
  .search-icon::before,
  .menu-icon::before {
    font-size: 1.4em;
  }
}
/* モバイル表示用のスタイル */
@media (max-width: 767px) {
  .pc-menu {
    display: none;
  }
  .icons {
    display: flex;
  }
}
.top-hero {
  position: relative;
  width: 100vw;
  /* 背景部分の高さはお好みで */
  overflow: hidden;
  /* 中身がはみ出ないように */
}

.top-img-wrapper {
  display: block;
  width: 80vw;
  margin: 0 auto;
}
.top-img-wrapper img {
  width: 100%;
  height: -moz-fit-content;
  height: fit-content;
  margin-top: 65px;
  aspect-ratio: 790/480;
}

@media (max-width: 768px) {
  .top-img-wrapper {
    width: 96vw;
  }
}
.background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  /* 動画をセクション全体にフィットさせるためのトリック */
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  /* 動画を縦横比を崩さずセクション全体をカバー */
  z-index: 1;
  /* テキストより後ろに配置 */
}

.overlay-content {
  position: absolute;
  z-index: 2;
  /* 動画より前面に表示 */
  color: #000;
  top: 41%;
  /* 垂直中央揃え用 */
  transform: translateY(-50%);
  width: 100%;
  margin: 0 7%;
}
.overlay-content h1 {
  font-size: 33px;
  line-height: 2;
}
.overlay-content p {
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .top-img-wrapper {
    aspect-ratio: initial;
  }
  .top-img-wrapper img {
    aspect-ratio: initial;
    height: 60vh;
    width: 96vw;
    -o-object-fit: contain;
       object-fit: contain;
  }
  .overlay-content {
    width: initial;
    top: 51%;
  }
  .overlay-content h1 {
    font-size: 25px;
  }
}
/* デザイン3: アニメーションアンダーライン */
.design3 {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 30px;
}

.design3 .news-item {
  position: relative;
  background: white;
  padding: 16px 20px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.design3 .news-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, #3e6a94, #3e6a94);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease;
}

.design3 .news-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.design3 .news-item:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.design3 .meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.design3 .date {
  font-size: 12px;
  color: #888;
}

.design3 .category {
  font-size: 12px;
  color: #0066cc;
  font-weight: 500;
}

.design3 .title {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 8px 0;
}

.design3 .excerpt {
  font-size: 14px;
  color: #666;
  margin: 8px 0 0 0;
  line-height: 1.4;
}

.design3 .item-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* More Newsボタン */
.news-more-button-container {
  text-align: center;
  margin: 30px 0;
}

.news-more-button {
  display: inline-block;
  padding: 10px 30px;
  background: #000;
  color: white;
  font-size: 16px;
  text-decoration: none;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 102, 204, 0.3);
  transition: all 0.3s ease;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .slide-wrapper {
    margin: 0 3%;
  }
  .design3 .news-item {
    padding: 15px;
  }
  .design3 .title {
    font-size: 15px;
  }
  .design3 .excerpt {
    font-size: 13px;
    display: none;
  }
}
/* スライドショー用の追加スタイル */
.top-blog.slide-menu {
  padding: 2em 0;
  background: #fff;
}
.top-blog.slide-menu h3 {
  margin: 0 auto;
  max-width: 1200px;
}

@media (max-width: 768px) {
  .top-blog.slide-menu h3 {
    margin: 0 7%;
  }
}
.section-ttl {
  margin: 0 auto;
  margin-bottom: 30px;
  max-width: 1200px;
  padding: 0 7%;
}

.slide-wrapper {
  position: relative;
  overflow: hidden;
  margin: 0 7%;
}

.slide-container {
  display: flex;
  transition: transform 0.5s ease;
}

.slide-item {
  flex: 0 0 80%;
  max-width: 175px;
  margin: 0 7%;
  box-sizing: border-box;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  position: relative;
  color: #fff;
  padding: 1em;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  font-size: 1.2em;
  font-weight: bold;
  min-height: 200px;
  flex-direction: column;
  justify-content: flex-end;
  align-items: baseline;
  aspect-ratio: 1/1.414;
  /* カスタムCSSプロパティを使用 */
  background-image: var(--bg-image);
}

.slide-item .slide-blog-date {
  font-size: 12px;
}

.slide-item .slide-blog-ttl {
  font-size: 14px;
}

/* カルーセル下部のドットナビゲーション */
.dots {
  display: flex;
  justify-content: center;
  margin-top: 1em;
  gap: 0.5em;
}

.dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #ccc;
  cursor: pointer;
  padding: 0;
}

.dots button.active {
  background: #000;
}

/* スライド制御ボタン（左右に配置する矢印など） */
.slide-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  display: none;
}

.slide-controls button {
  pointer-events: all;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  font-size: 1.5em;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-item {
  text-decoration: none;
}

/* 例として背景色の異なるスライドを定義 */
.top-service {
  margin-top: 75px;
}

.top-service h3 {
  margin-bottom: 20px;
}

.service-header {
  font-size: 18px;
  margin-bottom: 24px;
  text-align: center;
}

.service-disc {
  font-size: 14px;
  letter-spacing: 0;
  margin-bottom: 40px;
  text-align: center;
}

.service-button {
  padding: 10px 20px;
  background: #000;
  border-radius: 8px;
  font-size: 16px;
  color: #fff;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
  margin-bottom: 60px;
}

.top-about h3 {
  margin-bottom: 20px;
}

.about-ceo-img {
  width: 100%;
  margin-bottom: 20px;
  max-width: 600px;
}

.about-ceo-img img {
  width: 100%;
}

@media (max-width: 768px) {
  .about-ceo-img img {
    width: 100%;
  }
}
.top-about .service-header {
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .about-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 50px;
    flex-direction: column;
  }
  .about-ceo-img {
    max-width: 350px;
  }
}
@media (min-width: 2000px) {
  .about-content-wrapper {
    justify-content: center;
  }
}
.footer-contact {
  margin: 0 auto;
  max-width: 1200px;
  border-radius: 8px;
  /* 角の丸みの度合い */
  overflow: hidden;
  /* 子要素が角丸からはみ出さないようにする（必要に応じて） */
  background: #e7e6e9;
  padding: 20px 7%;
  margin-bottom: 30px;
}

.footer-logo,
.footer-menu {
  margin: 0 auto !important;
  max-width: 1200px !important;
  padding: 0 7% !important;
}

.footer-contact .footer-contact-disc {
  font-size: 16px;
  margin-bottom: 30px;
  text-align: center;
}

.footer-contact .footer-contact-disc-center {
  text-align: center;
  display: block;
  margin-bottom: 15px;
  font-weight: bold;
}

.footer-contact .footer-button {
  padding: 10px 20px;
  background: #000;
  border-radius: 8px;
  font-size: 16px;
  color: #fff;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
}

.footer-logo {
  margin: 0 4%;
  margin-top: 30px;
}
.footer-logo img {
  display: block;
  width: 145px;
}

.footer-menu {
  margin: 0 4%;
  margin-top: 15px;
}

.footer-menu ul {
  list-style: none;
}

.footer-menu ul li {
  line-height: 1.5;
  font-size: 16px;
  margin-top: 15px;
  opacity: 0.8;
}

.footer-menu ul li.footer-sub-menu,
.footer-menu ul li.footer-sub-menu ul li {
  margin-top: 0;
  opacity: 1;
}

.footer-menu ul li a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
}

.footer-menu ul .footer-sub-menu li {
  font-size: 14px;
}

.sns-icon-list {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.footer-menu .sns-logo-wrapper .sns-icon-list li {
  margin-top: 0;
}

.sns-icon-list li a svg {
  width: 30px;
  height: 30px;
}

.sns-icon-list li a img {
  width: 30px;
  height: 30px;
}

small {
  font-size: 12px;
  margin: 0 4%;
  margin-top: 30px;
  margin-bottom: 20px;
  display: block;
  text-align: center;
}

.service-button a {
  text-decoration: none;
  color: #fff;
  border: none;
}


.language-selector {
  display: inline-flex;
  background-color: #fff;
  border: 1px solid #eaeaea;
  border-radius: 20px;
  padding: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.language-option {
  min-width: 36px;
  padding: 6px 10px;
  text-align: center;
  border-radius: 18px;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  text-decoration: none;
  transition: all 0.2s;
  letter-spacing: 0.5px;
}

.language-option:hover {
  color: #333;
}

.language-option.active {
  background-color: #333;
  color: #fff;
}

@media (max-width: 768px) {
  .language-option {
    min-width: 10px;
    padding: 0px 9px;
  }
}
/* text-reveal.css */
/* アニメーション用のスタイル */
/* 各行の遅延設定 */
/* テキストの色を黒に保つ */
.overlay-content h1,
.overlay-content p {
  color: #000;
  margin: 0.5em 0;
}

/* テキストの間隔を調整 */
.overlay-content h1 + h1,
.overlay-content p + p {
  margin-top: 0.2em;
}

/* 404エラーページのスタイル */
.error-page-container {
  padding: 4em 0;
  text-align: center;
  width: 67%;
  margin: 0 auto;
  position: relative;
  margin-top: 100px;
}

.error-page-container h1 {
  font-weight: 600;
  font-size: 32px;
  color: #334155;
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
  display: inline-block;
}

.error-page-container h1:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background-color: #3e6a94;
}

.error-page-container p {
  margin-bottom: 15px;
  line-height: 1.7;
  font-size: 16px;
  color: #334155;
  margin-top: 20px;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .error-page-container {
    width: 90%;
    padding: 3em 0;
  }
  .error-page-container h1 {
    font-size: 24px;
  }
}
.top-blog .section-ttl {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.top-blog .en-ttl {
  display: block;
  font-size: 0.875rem;
  color: #c44;
  font-weight: normal;
  margin-top: 0.5rem;
}

.slide-wrapper {
  position: relative;
  max-width: 120000px !important;
  margin: 0 auto;
  padding: 2rem 0;
}

.carousel-slider {
  padding-bottom: 3rem;
}

.news-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

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

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-image {
  position: relative;
  width: 100%;
  padding-top: 66.67%; /* 3:2 aspect ratio */
  overflow: hidden;
}

.card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.category-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ffc107;
  color: #333;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: bold;
  z-index: 1;
}

.card-content {
  padding: 1rem;
}

.card-title {
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 0.5rem;
  height: 3em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-date {
  font-size: 0.75rem;
  color: #999;
  margin: 0;
}

/* Swiperのカスタマイズ */
.swiper-pagination {
  bottom: 0 !important;
  position: relative !important;
  top: 3px;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ddd;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #3e6a94 !important;
}

.swiper-button-prev,
.swiper-button-next {
  width: 20px;
  height: 20px;
}

.swiper-button-prev:after,
.swiper-button-next:after {
  font-size: 15px !important;
  color: #333;
  font-weight: bold;
}

.news-more-button-container {
  text-align: center;
  margin-top: 2rem;
}

.news-more-button {
  display: inline-block;
  padding: 12px 32px;
  background: #c44;
  color: #fff;
  text-decoration: none;
  border-radius: 24px;
  transition: background 0.3s ease;
}

.news-more-button:hover {
  background: #a33;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .swiper-button-prev,
  .swiper-button-next {
    width: 36px;
    height: 36px;
  }
  .swiper-button-prev:after,
  .swiper-button-next:after {
    font-size: 16px;
  }
}
.cookie-consent-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #cdcdcd;
  color: #000;
  padding: 20px;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform 0.4s ease-in-out;
}
.cookie-consent-popup.show {
  transform: translateY(0);
}

.cookie-consent-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
@media (max-width: 768px) {
  .cookie-consent-content {
    flex-direction: column;
    text-align: center;
  }
}

.cookie-consent-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  flex: 1;
}
@media (max-width: 768px) {
  .cookie-consent-text {
    margin-bottom: 15px;
  }
}

.cookie-privacy-link {
  color: #416b92;
  text-decoration: underline;
}
.cookie-privacy-link:hover {
  color: #416b92;
}

.cookie-consent-buttons {
  display: flex;
  gap: 10px;
}
@media (max-width: 768px) {
  .cookie-consent-buttons {
    flex-direction: column;
  }
}

.cookie-btn {
  padding: 10px 24px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .cookie-btn {
    text-align: center;
  }
}

.cookie-btn-primary {
  background-color: #416b92;
  color: #ffffff;
}
.cookie-btn-primary:hover {
  background-color: #416b92;
}

.cookie-btn-secondary {
  background-color: transparent;
  color: #000;
  border: 1px solid #000;
}
.cookie-btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.contact-form {
  display: flex;
}
.contact-form iframe {
  margin: 0 auto;
}

@media (max-width: 768px) {
  .contact-form {
    width: 86%;
    margin: 0 auto;
    margin-bottom: 100px;
  }
}
/* スライダーセクション */
.slider-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 7%;
}

.section-title {
  font-weight: bold;
  color: #333;
  margin-bottom: 2rem;
  text-align: left;
}

/* スライダーコンテナ - 固定paddingに変更 */
.slider-container {
  position: relative;
  overflow: hidden;
  padding: 0 40px; /* 7%から固定値に変更 */
}

/* slide-wrapper - 幅の設定を削除 */
.slide-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 24px;
  flex-wrap: nowrap;
  width: 120000px;
}

/* スライドカード - widthプロパティを削除（JSで完全制御） */
.slide-card {
  flex: 0 0 auto;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.slide-card-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  border-bottom: 1px solid #eee;
  display: block;
}

.slide-card-content {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.slide-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 0.5rem;
  height: 3em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #333;
}

.slide-card-date {
  font-size: 0.85rem;
  color: #666;
  margin-top: auto;
}

/* ナビゲーションボタン */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid #ccc;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s, border-color 0.3s;
}

.nav-btn:hover {
  background-color: #fff;
  border-color: #aaa;
}

.nav-btn svg {
  width: 20px;
  height: 20px;
  color: #333;
}

#prev-btn {
  left: 0;
}

#next-btn {
  right: 0;
}

/* インジケーター */
.indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 2rem;
}

.indicator-dot {
  width: 10px;
  height: 10px;
  background-color: #d1d5db;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.indicator-dot.active {
  background-color: #6b7280;
  transform: scale(1.2);
}

/* すべて見るボタン */
.slider-cta {
  margin-top: 40px;
}

.view-all-wrapper {
  text-align: center;
  margin-top: 2rem;
}

.view-all-wrapper a {
  display: inline-block;
  padding: 12px 32px;
  background-color: #333;
  color: #fff;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.view-all-wrapper a:hover {
  background-color: #555;
}

/* レスポンシブ調整 */
@media (max-width: 1024px) {
  .slider-container {
    padding: 0 40px;
  }
}
@media (max-width: 640px) {
  .section-title {
    text-align: center;
    font-size: 1.75rem;
  }
  .slider-container {
    padding: 0 30px;
  }
  .nav-btn {
    width: 36px;
    height: 36px;
  }
  .nav-btn svg {
    width: 18px;
    height: 18px;
  }
  .slider-section {
    padding: 60px 3%;
  }
}/*# sourceMappingURL=style.css.map */