/*
Theme Name: GeneratePress-child
Template: generatepress
Version: 1.0.0
*/

/* ヘッダー：ロゴ上・ナビ下 */
.site-header .inside-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ロゴ下の余白 */
.site-header .site-branding {
  margin-bottom: 16px;
}

/* ナビ全体 */
.main-navigation {
  width: 100%;
}

/* ナビ内側を中央寄せ */
.main-navigation .inside-navigation {
  display: flex;
  justify-content: center;
  max-width: none;
  padding: 0;
}

/* メニュー本体 */
.main-navigation .main-nav {
  width: 100%;
}

/* 親メニューは横並び */
.main-navigation .main-nav > ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
  width: 100%;
}

/* 親メニューの間隔 */
.main-navigation .main-nav > ul > li {
  margin: 0 12px;
  white-space: nowrap;
}

/* 親リンク */
.main-navigation .main-nav > ul > li > a {
  white-space: nowrap;
}

/* サブメニューは縦並び（ここが重要） */
.main-navigation .main-nav ul ul {
  display: block;
  min-width: 220px;
  width: max-content;
  white-space: nowrap;
}

/* サブメニュー項目 */
.main-navigation .main-nav ul ul li {
  display: block;
  width: 100%;
  margin: 0;
}

/* サブメニューリンク */
.main-navigation .main-nav ul ul li a {
  display: block;
  width: 100%;
  white-space: nowrap;
  writing-mode: horizontal-tb;
}

/* 3階層目も縦並び */
.main-navigation .main-nav ul ul ul {
  display: block;
}

/* ===== Hero全体 ===== */
.hero-video-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  margin-bottom: 20px;
}

/* ===== 黒オーバーレイ ===== */
.hero-video-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

/* ===== 背景動画 ===== */
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
}

/* ===== テキスト配置（箱） ===== */
.hero-copy {
  position: absolute;
  inset: 0;
  z-index: 2;

  display: flex;
  align-items: center;
  padding: 0 4%;
}

/* ===== 見出しスタイル ===== */
.hero-copy h1 {
  line-height: 1.6;
  font-size: 42px;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 0;
}

/* ===== スクロール矢印 ===== */
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 2;
  color: #fff;
  text-decoration: none;
  font-size: 28px;
  line-height: 1;
}

.hero-scroll span {
  display: inline-block;
  animation: hero-bounce 1.8s infinite;
}

@keyframes hero-bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(6px);
  }
  60% {
    transform: translateY(3px);
  }
}

/* ===== スマホ調整 ===== */

@media (max-width: 768px) {
  .hero-video-hero {
    min-height: 80vh;
  }

  .hero-copy {
    padding: 0 24px;
  }

  .hero-copy h1 {
    font-size: 24px;
    line-height: 1.5;
  }
}
/* ===== ngk追加 ===== */
h3.top-banner {
  position: relative;
  display: block;
  width: min(100%, 450px);
  margin: 0 auto 56px;
  padding: 10px 18px;
  box-sizing: border-box;
  border-bottom: none;
  background: transparent;

  text-align: center;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #1f2d3d;
}

h3.top-banner::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: #c30000;
  transform: scaleX(0);
  transform-origin: left center;
}
h3.top-banner-color {
  position: relative;
  display: block;
  width: min(100%, 450px);
  margin: 0 auto 56px;
  padding: 10px 18px;
  box-sizing: border-box;
  border-bottom: none;
  background: transparent;

  text-align: center;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #1f2d3d;
}

h3.top-banner-color::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
}

h3.top-banner-color.is-inview::after {
  animation: topBannerLineGrow 0.9s ease-out forwards;
}

h3.is-inview::after {
  animation: topBannerLineGrow 1s ease-out forwards;
}

@keyframes topBannerLineGrow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
/*
h3.top-banner::before,
h3.top-banner::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border: 3px solid #c30000;
  border-radius: 50%;
  box-sizing: border-box;
}

h3.top-banner::before {
  top: -19px;
  left: -19px;
}

h3.top-banner::after {
  right: -19px;
  bottom: -19px;
}
*/
@media (max-width: 1025px) {
  h3.top-banner {
    padding: 10px 18px;
    margin-bottom: 40px;
    font-size: clamp(22px, 6vw, 30px);
    line-height: 1.4;
  }

  h3.top-banner::before,
/*  h3.top-banner::after {
    width: 18px;
    height: 18px;
  }
*/
  h3.top-banner::before {
    top: -14px;
    left: -14px;
  }

  h3.top-banner::after {
    right: -14px;
    bottom: -14px;
  }
}

.business-item2.left {
  margin-right: auto;
}

.business-item2.right {
  margin-left: auto;
}

.business-item2 {
  width: 70%;
  margin-bottom: 64px;
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  will-change: opacity, transform;
}

.business-item2.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media screen and (max-width: 767px) {
  .site-branding .site-description {
    display: none !important;
  }
}
#footer-widgets {
  background-color: #c30000;
}

.site-footer .wp-block-columns,
.site-footer .wp-block-columns.is-layout-flex {
  gap: 0 !important;
}
.fotterpadding {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}
@media screen and (min-width: 1025px) {
  .fotterpadding {
    padding: 80px 0 60px 0;
  }
  .footer-links {
    max-width: 270px;
  }
}
@media screen and (max-width: 1025px) {
  .footer-brand img {
    padding: 40px 0 40px 0;
    margin: 0 auto !important;
  }
}
@media screen and (max-width: 1025px) {
  .footer-address {
    max-width: 80%;
    margin: 0 auto;
    padding-bottom: 40px;
  }
  .footer-links {
    margin: 0 auto !important;
    max-width: 80%;
  }
  .fotterpadding .footer-links > ul {
    display: block !important;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid #c30000;
    border-left: 1px solid #c30000;
    border-right: 1px solid #c30000;
    box-sizing: border-box;
  }

  .fotterpadding .footer-links > ul > li {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none !important;
    border-bottom: 1px solid #c30000;
    box-sizing: border-box;
  }

  .fotterpadding .footer-links > ul > li > a {
    display: block;
    width: 100%;
    padding: 14px 16px;
    box-sizing: border-box;
    text-decoration: none;
    white-space: nowrap;
  }
}
@media screen and (max-width: 1025px) {
  .fotterpadding > .footer-brand + .footer-links > ul > li:last-child {
    border-bottom: none;
  }
}

.top-2column {
  /*width: 1920px;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  padding-top: 100px;*/
  /*はみ出しの原因になるため無効化*/
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 0px;
}
.top-2column-left,
.top-2column-right {
  text-align: center;
}
.top-2column-left > ul {
  margin-left: 0;
}
.top-2column-right > ul {
  margin-left: 0;
}
.top-2column-left > .wp-block-list,
.top-2column-right > .wp-block-list {
  display: inline-block;
  text-align: left;
  margin: 0 auto;
  padding-left: 1.2em;
}

/* ============================================================
   top-2column ニュース / お知らせ カード表示
   対象: .top-2column-left-news / .top-2column-right-news
   ============================================================ */

/* ----- セクション全体レイアウト ----- */
.top-2column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 768px) {
  .top-2column {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ----- セクション見出し (h2,h3 共通) ----- */
.top-2column-left > h2,
.top-2column-left > h3,
.top-2column-right > h2,
.top-2column-right > h3 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8b6f47;
  border-bottom: 2px solid #c8a96e;
  padding-bottom: 10px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-2column-left > h2::before,
.top-2column-left > h3::before,
.top-2column-right > h2::before,
.top-2column-right > h3::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #c8a96e;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ----- ニュースコンテナ ----- */
.top-2column-left-news,
.top-2column-right-news {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ul/li 構造のリセット */
.top-2column-left-news ul,
.top-2column-right-news ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ----- カード本体 (li / article / .post 共通) ----- */
.top-2column-left-news li,
.top-2column-right-news li,
.top-2column-left-news article,
.top-2column-right-news article,
.top-2column-left-news .post,
.top-2column-right-news .post {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(200, 185, 165, 0.25);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.28s ease;
  cursor: pointer;
  /* スクロール reveal 用 */
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease,
    box-shadow 0.28s ease;
}

/* Intersection Observer で付与 */
.top-2column-left-news li.tc-visible,
.top-2column-right-news li.tc-visible,
.top-2column-left-news article.tc-visible,
.top-2column-right-news article.tc-visible,
.top-2column-left-news .post.tc-visible,
.top-2column-right-news .post.tc-visible {
  opacity: 1;
  transform: translateY(0);
}

.top-2column-left-news li:hover,
.top-2column-right-news li:hover,
.top-2column-left-news article:hover,
.top-2column-right-news article:hover,
.top-2column-left-news .post:hover,
.top-2column-right-news .post:hover {
  transform: translateY(-4px) scale(1.012);
  box-shadow: 0 12px 28px rgba(120, 90, 40, 0.12);
}

/* ----- カード内リンク ----- */
.top-2column-left-news li > a,
.top-2column-right-news li > a,
.top-2column-left-news article > a,
.top-2column-right-news article > a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

/* ----- サムネイル画像 ----- */
.top-2column-left-news li img,
.top-2column-right-news li img,
.top-2column-left-news article img,
.top-2column-right-news article img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.top-2column-left-news li:hover img,
.top-2column-right-news li:hover img,
.top-2column-left-news article:hover img,
.top-2column-right-news article:hover img {
  transform: scale(1.06);
}

/* 画像ラッパーにoverflow:hiddenが必要（JS で付与） */
.tc-img-wrap {
  overflow: hidden;
  position: relative;
}

/* カテゴリバッジ (JS 生成) */
.tc-cat-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(30, 30, 30, 0.65);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 4px;
  pointer-events: none;
}

/* ----- カードのテキストエリア ----- */
.tc-card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  /* コンテンツ部分が伸びてCTAを底に固定するための親 */
}

.tc-card-title {
  font-size: 13.5px;
  line-height: 1.7;
  color: #2a2015;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  /* flex: 1 はここでは外す。本文テキストが伸びて押し出すため */
}

/* ----- 投稿本文テキスト ----- */
.tc-card-body .entry-content,
.tc-card-body .post-content,
.tc-card-body .the-content,
.tc-card-body > p:not(.tc-card-title) {
  font-size: 16px;
  line-height: 1.75;
  color: #6b5c44;
  margin-top: 8px;
  flex: 1; /* ← 本文が伸びてmore-linkをカード底に押す */
  display: -webkit-box;
  -webkit-line-clamp: 3; /* 3行でクリップ */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 本文内の余分なpタグ余白を除去 */
.tc-card-body .entry-content p,
.tc-card-body .post-content p,
.tc-card-body .the-content p {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

/* 本文がない場合はtc-card-titleが伸びる */
.tc-card-body:not(:has(.entry-content)):not(:has(.post-content)):not(
    :has(.the-content)
  )
  .tc-card-title {
  flex: 1;
}

/* 画像がない場合のフォールバック */
.top-2column-left-news li:not(:has(img)) .tc-card-body,
.top-2column-right-news li:not(:has(img)) .tc-card-body {
  padding: 16px;
}

/* ----- Read more (.more-link) のスタイル統一 ----- */
/* WordPressデフォルトのmore-linkを「詳しく見る」デザインに統一 */
.tc-card-body a.more-link,
.tc-card-body .more-link a,
.tc-card-body .more-link {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 0.5px solid rgba(200, 169, 110, 0.25);
  font-size: 11px;
  font-weight: 700;
  color: #c8a96e;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition:
    gap 0.2s ease,
    color 0.2s ease;
  /* WordPressが付けるデフォルトspanを隠す */
}

/* "Read more" "続きを読む" 等の文言を上書き */
.tc-card-body a.more-link::before,
.tc-card-body .more-link a::before {
  content: "詳しく見る";
  font-size: 11px;
}

/* WordPressが挿入するscreen-reader-text等のspan非表示 */
.tc-card-body a.more-link .screen-reader-text,
.tc-card-body .more-link .screen-reader-text {
  display: none;
}

/* 矢印を追加 */
.tc-card-body a.more-link::after,
.tc-card-body .more-link a::after {
  content: "→";
  font-size: 13px;
  transition: transform 0.2s ease;
}

/* more-link が存在するとき、JS生成の .tc-arrow は非表示 */
.tc-card-body:has(a.more-link) .tc-arrow,
.tc-card-body:has(.more-link) .tc-arrow {
  display: none;
}

/* ホバー */
.top-2column-left-news li:hover a.more-link,
.top-2column-right-news li:hover a.more-link,
.top-2column-left-news li:hover .more-link a,
.top-2column-right-news li:hover .more-link a {
  gap: 8px;
  color: #b8943e;
}

.top-2column-left-news li:hover a.more-link::after,
.top-2column-right-news li:hover a.more-link::after,
.top-2column-left-news li:hover .more-link a::after,
.top-2column-right-news li:hover .more-link a::after {
  transform: translateX(4px);
}

/* ----- 矢印（JS生成 .tc-arrow / more-linkがない場合に表示） ----- */
.tc-arrow {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 0.5px solid rgba(200, 169, 110, 0.25);
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #c8a96e;
  letter-spacing: 0.08em;
  transition: gap 0.2s ease;
}

.tc-arrow::after {
  content: "→";
  font-size: 13px;
  transition: transform 0.2s ease;
}

.top-2column-left-news li:hover .tc-arrow,
.top-2column-right-news li:hover .tc-arrow {
  gap: 8px;
}

.top-2column-left-news li:hover .tc-arrow::after,
.top-2column-right-news li:hover .tc-arrow::after {
  transform: translateX(3px);
}

/* ============================================================
   WordPress Latest Posts ブロック専用上書き
   実DOM: ul.wp-block-latest-posts > li > {featured-image, a.title, time, div.excerpt}
   ============================================================ */

/* JS が a タグ内に誤注入した tc-card-body / tc-arrow を非表示 */
.wp-block-latest-posts li .tc-card-body,
.wp-block-latest-posts li .tc-arrow {
  display: none !important;
}

/* li を縦並びフレックスに（カード全体の高さ調整用） */
.top-2column-left-news.wp-block-latest-posts li,
.top-2column-right-news.wp-block-latest-posts li {
  display: flex;
  flex-direction: column;
}

/* 画像：インライン max-width/max-height を強制上書き */
.top-2column-left-news .wp-block-latest-posts__featured-image img,
.top-2column-right-news .wp-block-latest-posts__featured-image img {
  width: 100% !important;
  max-width: 100% !important;
  max-height: none !important;
  height: auto !important;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  display: block;
}

/* タイトルリンク */
.top-2column-left-news a.wp-block-latest-posts__post-title,
.top-2column-right-news a.wp-block-latest-posts__post-title {
  display: block;
  padding: 14px 16px 0;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.7;
  color: #2a2015;
  text-decoration: none;
  transition: color 0.2s ease;
}

.top-2column-left-news li:hover a.wp-block-latest-posts__post-title,
.top-2column-right-news li:hover a.wp-block-latest-posts__post-title {
  color: #8b6f47;
}

/* 投稿日 */
.top-2column-left-news time.wp-block-latest-posts__post-date,
.top-2column-right-news time.wp-block-latest-posts__post-date {
  display: block;
  padding: 4px 16px 0;
  font-size: 11px;
  color: #a08060;
  letter-spacing: 0.03em;
}

/* 本文エリア：flex で伸ばして Read more を底に固定 */
.top-2column-left-news .wp-block-latest-posts__post-excerpt,
.top-2column-right-news .wp-block-latest-posts__post-excerpt {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 8px 16px 14px;
  font-size: 16px;
  line-height: 1.75;
  color: #6b5c44;
}

/* Read more コンテナ：margin-top:auto で底に張り付く */
.top-2column-left-news .read-more-container,
.top-2column-right-news .read-more-container {
  margin-top: auto;
  padding-top: 10px;
  border-top: 0.5px solid rgba(200, 169, 110, 0.25);
}

/* Read more リンク → 「詳しく見る →」 */
.top-2column-left-news a.read-more,
.top-2column-right-news a.read-more {
  display: flex !important;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
  /* button クラスの見た目リセット */
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  /* 元の "Read more" テキストを隠す */
  font-size: 0 !important;
  text-decoration: none !important;
  transition: gap 0.2s ease;
}

/* 「詳しく見る」テキストを ::before で挿入 */
.top-2column-left-news a.read-more::before,
.top-2column-right-news a.read-more::before {
  content: "詳しく見る";
  font-size: 11px;
  font-weight: 700;
  color: #c8a96e;
  letter-spacing: 0.08em;
  transition: color 0.2s ease;
}

/* → 矢印 */
.top-2column-left-news a.read-more::after,
.top-2column-right-news a.read-more::after {
  content: "→";
  font-size: 13px;
  font-weight: 700;
  color: #c8a96e;
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

/* ホバー */
.top-2column-left-news li:hover a.read-more,
.top-2column-right-news li:hover a.read-more {
  gap: 8px;
}

.top-2column-left-news li:hover a.read-more::before,
.top-2column-right-news li:hover a.read-more::before {
  color: #b8943e;
}

.top-2column-left-news li:hover a.read-more::after,
.top-2column-right-news li:hover a.read-more::after {
  transform: translateX(4px);
  color: #b8943e;
}

.top-2column-name {
  position: relative;
  border: 1px solid #ccc;
  border-top: none;
  padding-left: 15px;
  padding-right: 15px;
  box-shadow: inset 0 1px 0 #fff;
  background: linear-gradient(to bottom, #e5e5e5, #fff);
  overflow: hidden;
}

/* 上端のベース線 */
.top-2column-name::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #d8d8d8;
  z-index: 1;
}

/* 動く赤線 */
.top-2column-name .top-2column-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 200px; /* 赤線の長さ */
  height: 2px;
  background: #c30000;
  pointer-events: none;
  will-change: transform;
  z-index: 2;
}

/* ===== 2026.0401 川島追加 ===== */
/* =========================
   Business Section
========================= */
.business-section {
  background-color: #c30000;
  padding: 80px 0;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.04) 0px,
    rgba(255, 255, 255, 0.04) 2px,
    transparent 2px,
    transparent 19px
  );
}

.business-section h3 {
  color: #fff;
}

/* 事業内容セクション内だけ白装飾にする */
.business-section h3.top-banner {
  border-color: #fff;
  color: #fff;
}
/*
.business-section h3.top-banner::before,
.business-section h3.top-banner::after {
  border-color: #fff;
}
*/
.business-list {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.business-item {
  width: 70%;
  margin-bottom: 64px;
}

.business-item.left {
  margin-right: auto;
}

.business-item.right {
  margin-left: auto;
}

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

.business-card {
  background: #f5f5f5;
  border-radius: 10px;
  padding: 24px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
  cursor: pointer;
}

.business-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  background: #f8f8f8;
}

.business-card h2 {
  margin-bottom: 16px;
  color: #222;
}

/* 画像サイズ調整（PC〜SP対応） */
.business-card img {
  width: 100%;
  height: clamp(200px, 30vw, 260px);
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* SPで余白とバランス調整 */
@media (max-width: 768px) {
  .business-card {
    padding: 16px;
  }

  .business-card img {
    height: 200px;
  }

  .business-card p {
    font-size: 14px;
    line-height: 1.7;
  }
}

.business-card p {
  color: #222;
}

.business-img-wrap {
  position: relative;
}

.business-img-wrap img {
  display: block;
  width: 100%;
  border-radius: 8px;
}

/* ボタン */
.view-more {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);

  background: #c30000;
  color: #fff;

  padding: 8px 16px;
  border-radius: 6px;

  font-size: 12px;
  font-family: inherit;
  line-height: 1;
}

@media (max-width: 768px) {
  .business-item {
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

.business-card-link h2 {
  color: #222;
  text-decoration: none;
  transition: color 0.2s ease;
}

.business-card-link:hover h2 {
  color: #d40000; /* 赤 */
}

/* =========================
   youtube Section
========================= */
.youtube-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto 80px;
}

.youtube-grid iframe {
  width: 100% !important;
  aspect-ratio: 16 / 9;
  height: auto !important;
  display: block;
  border: 0;
}

@media (max-width: 768px) {
  .youtube-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   Footer layout adjust（3カラム版）
========================= */

/* 全体レイアウト */
.footer-links-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 1.2fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
  padding: 40px 24px 0;
}

/* =========================
   左：ロゴエリア
========================= */

.footer-brand {
  max-width: 320px;
  line-height: 1.7;
}

.footer-brand img {
  max-width: 320px;
  height: auto;
  display: block;
  margin-bottom: 12px;
}

/* =========================
   リンク共通
========================= */

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  position: relative;
  margin-bottom: 14px;
  padding-left: 20px;
  line-height: 1.8;
  font-size: 16px;
}

.footer-links li::before {
  /*  content: "-"; */
  position: absolute;
  left: 0;
  top: 0;
  color: #c30000;
  font-size: 16px;
}

.footer-links a {
  color: #c30000;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
  opacity: 0.8;
}

/* =========================
   スマホ対応
========================= */

@media (max-width: 768px) {
  .footer-links-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 20px;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-links li {
    font-size: 15px;
    line-height: 1.7;
  }
}

/* ===== 2026.0403 川島追加 ===== */
body {
  font-family: "Zen Maru Gothic", sans-serif;
  line-height: 1.9;
  letter-spacing: 0.03em;
}

/* =========================
   パンくず 全体
========================= */
.aioseo-breadcrumbs {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 20px 12px;

  /* フォントをサイトと統一 */
  font-family: inherit;
  font-size: 14px;
  line-height: 1.6;

  color: #333;
}

/* リンク */
.aioseo-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.aioseo-breadcrumbs a:hover {
  text-decoration: underline;
}

/* 区切り（»）の調整 */
.aioseo-breadcrumbs .aioseo-breadcrumb-separator {
  margin: 0 6px;
  opacity: 0.6;
}

/* ヘッダーとの位置調整 */
.inside-header + .aioseo-breadcrumbs {
  margin-top: 6px;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .aioseo-breadcrumbs {
    padding: 6px 16px 10px;
    font-size: 13px;
  }
}

/* =========================
   投稿一覧ページ
========================= */
.news-loop {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 32px !important;
}

@media (max-width: 767px) {
  .news-loop {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

/* 一覧を2列 */
.news-loop {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 32px !important;
  align-items: start;
}

/* 各カード */
.news-loop > * {
  min-width: 0;
}

/* 画像ブロックの外枠を固定 */
.news-loop .wp-block-post-featured-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin: 0 0 16px;
  display: block;
}

/* 画像を枠いっぱいに */
.news-loop .wp-block-post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-loop .wp-block-post-featured-image {
  max-width: 400px;
  margin: 0 0 16px;
}

/* タイトルと日付 */
.news-loop .gb-headline,
.news-loop .wp-block-post-title {
  margin: 0 0 8px;
  line-height: 1.5;
}

.news-loop .gb-text,
.news-loop .wp-block-post-date {
  margin: 0;
  font-size: 14px;
  color: #666;
}

.news-loop > * {
  text-align: center;
}

.news-loop .wp-block-post-featured-image {
  max-width: 400px;
  margin: 0 auto 16px;
}

.news-loop .gb-headline,
.news-loop .wp-block-post-title {
  margin: 0 0 8px;
}

.news-loop .gb-text,
.news-loop .wp-block-post-date {
  margin: 0;
}
/* スマホは1列 */
@media (max-width: 767px) {
  .news-loop {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}

/* =========================
   Hero Section
========================= */
.hero-copy {
  letter-spacing: 0.05em;
  text-align: left;

  text-shadow:
    0 2px 6px rgba(0, 0, 0, 0.25),
    0 10px 25px rgba(0, 0, 0, 0.15);

  opacity: 0;
  transform: translateY(15px);
  animation: fadeUpSlow 1.5s ease-out forwards;
  animation-delay: 0.6s;
}

@keyframes fadeUpSlow {
  0% {
    opacity: 0;
    transform: translateY(15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   youtube Section
========================= */
.hover-up {
  border-radius: 12px;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.hover-up:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* =========================
   banner Section
========================= */

.footer-banner-wrap {
  background: #c81f00;
  padding: 12px 20px 16px;
}

.footer-banner-inner {
  max-width: 1080px;
  margin: 0 auto;
}

/* ===== 3カラム ===== */
.footer-banner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* ←均等にする */
  gap: 20px;
  align-items: start;
}

/* ===== 各カラム ===== */
.footer-banner-col {
  max-width: 260px;
  margin: 0 auto; /* ←中央揃え */
}

.footer-banner-col h3 {
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.05em;
  margin: 0 0 10px;
  font-weight: 700;
}

/* =========================
   検索
========================= */
.footer-search {
  margin: 32px 0 10px;
}

.footer-search form {
  display: flex;
  max-width: 220px;
}

.footer-search input[type="search"] {
  flex: 1;
  height: 32px;
  padding: 0 8px;
  border: none;
  font-size: 13px;
}

.footer-search button {
  height: 32px;
  padding: 0 10px;
  border: none;
  background: #666;
  color: #fff;
  font-size: 12px;
  cursor: pointer;
}

/* =========================
   SNS 上段
========================= */
.sns-top {
  display: grid;
  grid-template-columns: repeat(2, 80px);
  gap: 10px;
  justify-content: center;
  margin-bottom: 12px;
}

.sns-top a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #fff;
}

.sns-top img {
  width: 70px;
}

.sns-top span {
  margin-top: 4px;
  font-size: 11px;
}

/* =========================
   YouTube
========================= */
.sns-youtube {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.sns-youtube a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #fff;
}

.sns-youtube img {
  width: 210px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.sns-youtube span {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
}

/* =========================
   中央（関連リンク）
========================= */
.middle-banner-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.middle-banner-list img {
  width: 220px;
}

/* =========================
   右（協力団体）
========================= */
.logo-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.logo-list img {
  width: 220px;
}

.middle-banner-list img,
.logo-list img,
.sns-youtube img {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

/* スマホの見せ方 */
@media (max-width: 768px) {
  .footer-banner-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-banner-col {
    max-width: 100%;
  }

  .sns-top {
    grid-template-columns: repeat(2, 80px);
  }

  .sns-youtube img,
  .middle-banner-list img,
  .logo-list img {
    width: 100%;
    max-width: 240px;
  }
}

/* =========================
   Footer Section
========================= */
/*フッターの住所小さく*/
.footer-address {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

/* =========================
   Copy right Section
========================= */
.footer-copyright-bar {
  background: #c30000;
  color: #fff;
  padding: 14px 20px;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
}

.footer-copyright-bar p {
  margin: 0;
  color: #fff;
}

/* =========================
   概要のページ
========================= */

.info-list a {
  color: #c30000;
  text-decoration: none;
}

.info-list a:hover {
  text-decoration: underline;
}

.info-list .kt-row-column-wrap {
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 6px;
  margin-bottom: 6px;
}

/* ===============================
   事業の紹介ページ 親
================================ */
.card-hover-exhibition {
  overflow: hidden;
}

.card-hover-exhibition img {
  display: block;
  transform: scale(1);
  transition: transform 0.35s ease;
  border-radius: 8px;
}

.card-hover-exhibition:hover img {
  transform: scale(1.04);
}

.card-hover-exhibition h5 {
  line-height: 1.4;
  margin-top: 2px !important;
  margin-bottom: 0 !important;
  transition: color 0.35s ease;
}

.card-hover-exhibition:hover h5 {
  color: #c30000;
}

/* ===============================
   事業の紹介ページ 子
================================ */
/*事業の紹介などに下線*/
.heading-underline-main {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  padding-bottom: 4px;
  line-height: 1.4;
  position: relative;
  border-bottom: none;
}

.heading-underline-main::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;

  width: 0;
  height: 3px;
  background: #c30000;

  animation: underline-slide 2.5s ease-out forwards;
}

@keyframes underline-slide {
  from {
    width: 0;
  }
  to {
    width: 100vw;
    max-width: 1100px; /* コンテンツ幅に合わせる */
  }
}

/*事業の紹介などのサブタイトルデザイン*/
.section-title-box {
  background: #fdf2f2;
  padding: 3px 14px;
  border-radius: 8px;
  position: relative;
  font-weight: 700;
  margin: 32px 0 16px;
}

/* 左にライン入れる */
.section-title-box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 60%;
  background: #c30000;
  border-radius: 2px;
}

/* ドットで囲う */
.info-dotted-box {
  border: 2px dotted #d96b6b;
  background: #fff7f7;
  padding: 32px 40px;
  margin: 32px 0;
  border-radius: 6px;
}
.info-dotted-box p {
  margin: 0 0 28px;
}

.info-dotted-box p:last-child {
  margin-bottom: 0;
}

.info-dotted-box {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 40px;
}

/* =========================
   事業サイトマップ
========================= */
.business-sitemap {
  max-width: 820px;
  margin: 32px auto;
  padding: 12px 16px;
  border: 1px solid #dddddd;
  background: #fafafa;
}

.business-sitemap .wp-block-columns {
  gap: 24px;
}

/* 見出し */
.business-sitemap h3 {
  margin-top: 12px;
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  position: relative;
  display: inline-block;
}

.business-sitemap ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.business-sitemap li {
  position: relative;
  font-size: 14px;
  padding-left: 16px;
  margin-bottom: 8px;
}

.business-sitemap li::before {
  content: "-";
  position: absolute;
  left: 0;
  top: 0;
  color: #c30000;
}

.business-sitemap a {
  text-decoration: none;
  color: #c30000;
}

.business-sitemap a:hover {
  opacity: 0.7;
}
