/*
Theme Name: Custom Original Theme
Author: Your Name
Description: A custom WordPress theme.
Version: 1.0
*/
body {
  margin: 0;
  /* font-family: 'UDShinGoR', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif; */
  /* font-size: 16px; */
}
h4{
	font-weight:bold;
}
.site-header {
  background: rgba(255, 255, 255, 1);
  height: 80px;
  margin: 0;
  opacity: 1;
  position: fixed;
  top: 0px;
  width: 100%;
  max-width: 100%;
  z-index: 999;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0px 30px;
}

.header-logo img {
  height: 50px;
  width: auto;
}

.header-nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.header-nav ul li {
  margin-left: 20px;
}

.header-nav ul li a {
  color: #333;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.4;
}

.header-nav ul li a:hover {
  text-decoration: underline;
  color: #36b4e6;
}

.hamburger {
  display: none;
}
.mobile-nav {
  display: none;
}


@media screen and (max-width:768px) {
  .header-nav {
    display: none;
  }

  .hamburger {
    width: 30px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
  }

  .hamburger span {
    height: 2px;
    background: #36b4e6;
    display: block;
  }

  .mobile-nav {
    display: none;
  }

  .mobile-nav.active {
    position: fixed;
    top: 0;
    right: 0;
    width: 90%;
    height: 100vh;
            background: #dfeef4;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 8px;
  }

  .mobile-nav a {
    font-size: 24px;
    font-weight: bold;
    color: #0068b7;
    text-decoration: none;
    margin: 15px 0;
  }

  .close-btn {
    position: absolute;
    top: 20px;
    right: 15px;
    font-size: 30px;
    color: #36b4e6;
    cursor: pointer;
  }

  .header-inner {
    padding: 5px 10px;
  }

  .header-logo img {
    max-width: 200px;
    height: auto;
  }
}

.news-section {
  padding: 200px 30px 120px;
	margin-top:100vh;
}

@media screen and (max-width: 768px) {
  .news-section {
    padding: 80px 20px 100px;
	  margin-top:0;
  }
}

.section-title {
  position: relative;
  text-align: center;
  margin-bottom: 60px;
}

.title-ja {
  color: #333;
  font-size: 48px;
      font-weight: 800;
  letter-spacing: 0.1em;
  margin: 0;
  z-index: 2;
  position: relative;
}

@media screen and (max-width: 768px) {
  .title-ja {
    font-size: 24px;
  }
}

.title-en {
  color: #dfeef4;
  font-weight: 800;
  font-size: 140px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  white-space: nowrap;
	letter-spacing: 0.2em;
}

@media screen and (max-width: 768px) {
  .title-en {
    font-size: 48px;
  }
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px;
  max-width: 900px;
}

.news-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 0;
}

.news-date {
  color: #666666;
  font-size: 14px;
  font-weight: 400;
  width: 100px;
}

.news-title {
  color: #333;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.4;
  max-width: calc(100% - 100px);
}

@media screen and (max-width: 768px) {
  .news-date {
    font-size: 12px;
  }
}

.news-more {
  text-align: center;
}

.more-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 300px;
  max-width: 100%;
  height: 60px;
  border-radius: 8px;
  border: 1px solid #36b4e6;
  background: #ffffff;
  color: #36b4e6;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.more-button:hover {
  background: #36b4e6;
  color: #fff;
}

.about-section {
  background: #dfeef4;
  padding: 200px 30px 120px;
}
.about-section .section-title{
	margin-bottom:120px;
}
@media screen and (max-width: 768px) {
  .about-section {
    padding: 80px 20px 100px;
  }
	.about-section .section-title{
		margin-bottom:60px;
	}
}

.about-content-wrapper {
  position: relative;
  text-align: center;
  margin: 0 auto;
  max-width: 900px;
}

.about-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  max-width: 100%;
  z-index: 1;
/*   opacity: 0.2; */
}

.about-content {
  position: relative;
  z-index: 2;
}

.about-text {
  color: #333;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 1.5em;
}

@media screen and (max-width: 768px) {
  .about-text {
    font-size: 16px;
  }
}

.about-button-wrapper {
  text-align: center;
  margin-top: 30px;
}

.about-button-wrapper .more-button {
  width: 200px;
}

/* 共通ボタン・タイトルクラス（前回と共通） */

.more-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  border-radius: 8px;
  border: 1px solid #36b4e6;
  background: #ffffff;
  color: #36b4e6;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  max-width: 100%;
}

.more-button:hover {
  background: #36b4e6;
  color: #fff;
}

.section-title {
  position: relative;
  text-align: center;
  margin-bottom: 60px;
}

.title-ja {
  color: #333;
  font-size: 48px;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin: 0;
  z-index: 2;
  position: relative;
}

@media screen and (max-width: 768px) {
  .title-ja {
    font-size: 24px;
  }
}

.title-en {
  color: #dfeef4;
  font-weight: 800;
  font-size: 140px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  white-space: nowrap;
}

.title-en.white {
  color: #fff;
}

@media screen and (max-width: 768px) {
  .title-en {
    font-size: 48px;
  }
}

.activity-section {
  background: #dfeef4;
  padding: 100px 30px 120px;
}

@media screen and (max-width: 768px) {
  .activity-section {
    padding: 80px 20px 20px;
  }
}

.activity-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 100px;
}

.activity-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  padding: 20px;
    max-width: calc(25% - 70px);
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
	    align-items: center;
}

.activity-card img {
    max-width: 100%;
    /* border-radius: 4px; */
    margin-bottom: 16px;
    min-height: 270px;
    object-fit: cover;
    width: auto;
}

.card-title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin: 8px 0;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
	width:100%;
}

.card-list li {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 15px;
	width:100%;
	text-align:left;
    border-left: 3px solid #36b4e6;
	font-weight:600;
	    padding: 10px 0px 10px 10px;
}

/* 「詳細を見る」ボタン（小サイズ） */
.more-button.small {
  width: 160px;
  height: 40px;
  font-size: 14px;
  border-radius: 8px;
	margin-top: auto; 
}

/* 既存ボタンデザイン継承 */
.more-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #ffffff;
  border: 1px solid #36b4e6;
  color: #36b4e6;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.more-button:hover {
  background: #36b4e6;
  color: #fff;
}

/* 共通見出しスタイルは前出の .section-title / .title-ja / .title-en.white を流用 */

.data-section {
  background: #dfeef4;
  padding: 50px 30px 120px;
}

@media screen and (max-width: 768px) {
  .data-section {
    padding: 20px 20px 50px;
  }
	.card-title {
		font-size:20px;
	}
	.activity-cards{
		display:block;
	}
	.activity-card{
		width:auto;
		max-width:100%;
		margin-bottom:20px;
	}
}

.data-description {
  text-align: center;
  color: #333;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto 60px;
}

@media screen and (max-width: 768px) {
  .data-description {
    font-size: 16px;
  }
}

.data-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.data-card img {
  width: 100%;
  height: 217px;              /* 固定高さ */
  object-fit: cover;          /* cover 表示 */
  object-position: center;    /* 上下左右中央 */
  display: block;
}

.data-caption {
  padding: 24px 20px;
  text-align: center;
}

.caption-title {
font-size: 20px;
    font-weight: 700;
	letter-spacing: 0.1em;
    line-height: 1.4;
  margin-bottom: 6px;
  color: #333;
}

.caption-sub {
  font-size: 14px;
  color: #666;
}

/* 共通タイトルスタイル再利用 */
.section-title {
  position: relative;
  text-align: center;
  margin-bottom: 60px;
}

.title-ja {
  color: #333;
  font-size: 48px;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin: 0;
  z-index: 2;
  position: relative;
}

@media screen and (max-width: 768px) {
  .title-ja {
    font-size: 24px;
  }
}

.title-en {
  color: #dfeef4;
  font-weight: 800;
  font-size: 140px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  white-space: nowrap;
}

@media screen and (max-width: 768px) {
  .title-en {
    font-size: 48px;
  }
}
.movie-section {
  background: #36b4e6;
  padding: 100px 30px 120px;
  color: #fff;
}

@media screen and (max-width: 768px) {
  .movie-section {
    padding: 80px 20px 100px;
  }
}

.section-title {
  position: relative;
  text-align: center;
  margin-bottom: 60px;
}

.title-ja {
  color: #fff;
  font-size: 48px;
  font-weight: 800;
  letter-spacing: 0.1em;
  z-index: 2;
  position: relative;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .title-ja {
    font-size: 24px;
  }
}

.title-en.white {
  color: rgba(255, 255, 255, 1);
  font-weight: 800;
  font-size: 140px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  white-space: nowrap;
}

@media screen and (max-width: 768px) {
  .title-en.white {
    font-size: 48px;
  }
}

.movie-wrapper {
  background: #fff;
  border-radius: 16px;
  padding: 40px 20px;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 20px;
}

.movie-item {
  flex: 0 0 100%;
  max-width: 600px;
  scroll-snap-align: start;
}

@media screen and (min-width: 769px) {
  .movie-item {
    flex: 1;
  }
}

.movie-label {
  font-weight: bold;
  color: #333;
  margin-bottom: 12px;
  text-align: center;
}

.movie-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  overflow: hidden;
  border-radius: 8px;
}

.movie-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.movie-swipe {
  text-align: right;
  color: #fff;
  font-size: 12px;
  margin-top: 10px;
  padding-right: 10px;
}
/* ── 県別情報セクション ── */
.pref-section {
  background: #36b4e6;
  padding: 100px 30px 0px;
  color: #fff;
}
@media screen and (max-width: 768px) {
  .pref-section {
    padding: 80px 20px 0px;
  }
}

/* タイトル */
.pref-section .section-title {
  text-align: center;
}
.pref-section .title-ja {
/*   color: #fff; */
  font-size: 48px;
  margin: 0;
}
.pref-section .title-en.white {
  color: rgba(255,255,255,0.3);
  font-size: 140px;
  position: absolute; /* 必要に応じ調整 */
/*   top: 10px;
  right: 10px; */
}

/* ── グリッド（常に2列） ── */
.pref-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 60px;
  position: relative;
}
@media screen and (max-width: 768px) {
  .pref-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
	.pref-section .title-ja{
		font-size:24px;
	}
	.pref-section .title-en.white{
		font-size:48px;
	}
}

/* ── カード共通 ── */
.pref-card {
  display: flex;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  background: #fff;
  color: #333;
	height:460px;
	margin-bottom:-20px;
}
.pref-card:hover {
  transform: scale(1.1);
}

/* ── 斜め配置オフセット ── */
.pref-card.is-offset {
  margin-top: 100px;
}

/* ── 左カラム：シルエット背景 ── */
.pref-left {
  position: relative;
  flex: 2;
  padding: 24px;
	background:#dfeef4;
	display:flex;
	align-items: center;
}
.pref-left__bg {
  position: absolute;
  inset: 0;
  opacity: 0.9;
  z-index: 0;
}
.pref-left-hiroshima .pref-left__bg{
	  background: url('/wp-content/themes/custom-theme/images/bg-hiroshima.webp') center/contain no-repeat;
}
.pref-left-okayama .pref-left__bg{
	  background: url('/wp-content/themes/custom-theme/images/bg-okayama.webp') center/contain no-repeat;
}
.pref-left-ehime .pref-left__bg{
	  background: url('/wp-content/themes/custom-theme/images/bg-ehime.webp') center/contain no-repeat;
}
.pref-left-kagawa .pref-left__bg{
	  background: url('/wp-content/themes/custom-theme/images/bg-kagawa.webp') center/contain no-repeat;
}
.pref-left ul {
  position: relative;
  z-index: 1;
  padding-left: 16px;
  margin: 0;
  list-style: disc inside;
  font-size: 14px;
  line-height: 1.6;
}
.pref-left ul li{
	font-size:18px;
	margin-bottom:15px;
}

/* ── 右カラム：ロゴ背景＋縦書き見出し ── */
.pref-right {
  position: relative;
  flex: 1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  min-width: 140px;
}
.pref-right__logo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
  z-index: 0;
}
.pref-right__logo img {
  max-width: 60%;
  height: auto;
}
.pref-label {
  position: relative;
  z-index: 1;
  font-size: 36px;
  font-weight: bold;
      color: #333;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  margin: 0;
  padding: 4px 8px;
  border-radius: 50px;
}
/* 各県ラベル色 */
/* .pref-label.hiroshima { background: #c9545d; }
.pref-label.okayama   { background: #4b9bd1; }
.pref-label.ehime     { background: #74a733; }
.pref-label.kagawa    { background: #3b8e7e; } */

.pref-card a{
	    color: #333333;
}

/* ── SP対応 ── */
@media screen and (max-width: 768px) {
  /* グリッドを1列に */
  .pref-grid {
    display: block;
    margin-top: 40px;
  }
  .pref-card {
/*     flex-direction: column; */
    margin-top: 0 !important;
    margin-bottom: 40px;
	  height:auto;
  }
  .pref-left {
    width: 100%;
padding: 60px 20px 60px 20px;
  }
 .pref-right {
    display:none;
  }
  /* 背景シルエット＆ロゴを非表示 */
  .pref-left__bg,
  .pref-right__logo {
    width:60%;
	  margin:0 auto;
  }
  /* 見出しを横書きに戻す */
  .pref-label {
    writing-mode: horizontal-tb;
    text-orientation: initial;
    margin: 16px 0 0;
  }
}



/* 共通タイトル */
.section-title {
  position: relative;
  text-align: center;
  margin-bottom: 60px;
}

.title-ja {
  color: #fff;
  font-size: 48px;
  font-weight: 800;
  letter-spacing: 0.1em;
  z-index: 2;
  position: relative;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .title-ja {
    font-size: 24px;
  }
}

.title-en.white {
  color: rgba(255,255,255,1);
  font-weight: 800;
  font-size: 140px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  white-space: nowrap;
}

@media screen and (max-width: 768px) {
  .title-en.white {
    font-size: 48px;
  }
}

.link-section {
  background: #fff;
  padding: 200px 30px 120px;
}

@media screen and (max-width: 768px) {
  .link-section {
    padding: 80px 20px 0px;
  }
}

.section-title {
  position: relative;
  text-align: center;
  margin-bottom: 60px;
}

.title-ja {
  color: #333;
  font-size: 48px;
  font-weight: 800;
  letter-spacing: 0.1em;
  z-index: 2;
  position: relative;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .title-ja {
    font-size: 24px;
  }
}

.title-en {
  color: #dfeef4;
  font-weight: 800;
  font-size: 140px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  white-space: nowrap;
}

@media screen and (max-width: 768px) {
  .title-en {
    font-size: 48px;
  }
}

.link-slider {
  display: flex;
	justify-content:center;
  overflow-x: auto;
  gap: 16px;
  scroll-snap-type: x mandatory;
  scroll-padding: 16px;
  margin-bottom: 10px;
  padding-bottom: 10px;
}

.link-card {
  flex: 0 0 310px;
  height: 310px;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  scroll-snap-align: start;
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
  line-height: 1.4;
  padding: 12px;
  background-blend-mode: darken;
/*   background-color: rgba(0,0,0,0.3); */
	background-color: rgba(0, 104, 183, 0.7);
  transition: transform 0.3s ease;
}

.link-card:hover {
  transform: scale(1.05);
}

.link-card span {
  z-index: 2;
  color: #fff;
}

.link-swipe {
  text-align: right;
  font-size: 12px;
  color: #36b4e6;
  padding-right: 10px;
}

/* ─────────────────────────────
   Footer（サイト下部共通） 
───────────────────────────── */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #0068b7;
  padding: 50px 30px;
  width: auto;
  max-width: 100%;
}

.footer-logo {
  width: 100px;
  max-width: 100%;
  height: auto;
  margin: 0 0 40px;
}

.footer-text {
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  max-width: 100%;
}


/* ── NEWS ヘッダー ── */
.news-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0);
  padding: 130px 0 50px;
  width: 100%;
}
.news-heading {
  color: #333;
  font-family: var(--s-font-03b1a766);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.6;
  text-align: center;
}

/* ── ニュース一覧 ── */
/* .news-list {
  list-style: none;
  margin: 0 auto 40px;
  padding: 0;
  max-width: 900px;
}
.news-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 0;
}
.news-date {
  color: #666;
  font-size: 14px;
  font-weight: 400;
  width: 100px;
}
.news-title {
  color: #333;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.4;
  max-width: calc(100% - 100px);
} */

/* ── もっと見るボタン ── */
.news-more {
  text-align: center;
  margin-bottom: 80px;
}
#load-more-news {
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid #36b4e6;
  background: #fff;
  color: #36b4e6;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background .3s;
}
#load-more-news:hover {
  background: #36b4e6;
  color: #fff;
}
#load-more-news:disabled {
  border-color: #ccc;
  color: #ccc;
  cursor: default;
}

/* ── CONTACT セクション ── */
.contact-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 170px;
  height: 390px;
  width: 100%;
  background: url('/wp-content/themes/custom-theme/images/contact-bg.webp') center/cover no-repeat;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(51, 51, 51, 0.5);
  z-index: 1;
}

.contact-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #FFFFFF;
}

/* 大見出し CONTACT */
.contact-heading-primary {
  margin: 0;
  font-size: 64px;
  font-weight: 700;
  letter-spacing: 0.4em;
  line-height: normal;
}

/* 小見出し お問い合わせ */
.contact-heading-secondary {
  margin: 16px 0 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
}

/* 説明テキスト */
.contact-text {
  margin: 10px 0 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

/* ── ファーストビュー共通セクション ── */
.section-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  padding: 80px 0;
  width: 100%;
}
.section-hero__inner {
/*   display: flex; */
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  width: 80%;
  max-width: 80%;
  margin: 0 auto;
}
.section-hero__titles{
		padding:80px 0;
}
/* モバイル */
@media screen and (max-width: 768px) {
  .section-hero {
    padding: 40px 0;
  }
  .section-hero__inner {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
	  padding:20px;
  }
	.contact-heading-primary{
		font-size:48px;
	}
	.link-slider{
		display:block;
		padding:20px;
	}
	.link-slider a{
		height:200px;
		margin-bottom:20px;
	}
	.link-swipe{
		display:none;
	}
}

/* ── 見出し ── */
.section-hero__title-ja {
  color: #333;
  font-size: 64px;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-align: left;
  margin: 0;
}
.section-hero__title-ja-small {
  color: #333;
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-align: left;
  margin: 0;
}
@media screen and (max-width: 768px) {
  .section-hero__title-ja {
    font-size: 36px;
    text-align: center;
  }
	.section-hero__title-ja-small{
		font-size: 20px;
	}
}

.section-hero__sub {
  color: #0068b7;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  margin: 20px 0 0;
  text-align: left;
}
@media screen and (max-width: 768px) {
  .section-hero__sub {
    font-size: 20px;
    text-align: center;
  }
}

/* ── ナビリンク ── */
.section-hero__nav-list {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}
.section-hero__nav-item {
  flex: 1;
  margin: 10px 0;
  border-bottom: 1px solid #36b4e6;
}
.section-hero__nav-item:hover{
	    background: #36b4e6;
color:white;
}
.section-hero__nav-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.4;
  color: #333;
  text-decoration: none;
}
.section-hero__nav-item:hover a{
	color:white;
}
/* モバイル調整 */
@media screen and (max-width: 768px) {
  .section-hero__nav-list {
    flex-direction: column;
  }
  .section-hero__nav-item {
    flex: none;
    margin: 0;
    border-bottom: 1px solid #36b4e6;
  }
  .section-hero__nav-item a {
    height: auto;
    padding: 12px 0;
    font-size: 14px;
  }
}


/* ── 活動カテゴリー共通セクション ── */
.section-activities {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: rgba(0, 0, 0, 0);
  padding: 80px 0 0;
  width: 100%;
}
.activities-wrapper {
  width: 80%;
  max-width: 80%;
  margin: 0 auto;
}

/* ヘッダー */
.activities-header {
  text-align: center;
  margin-bottom: 40px;
}
/* .activities-header__label {
  color: #0068b7;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  margin: 0 10px;
} */
.activities-header__label {
  display: inline-block;      /* 擬似要素を相対配置するために必要 */
  position: relative;
  padding: 0 50px;            /* テキストと線の間隔 */
  color: #0068b7;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
}

/* 横線（前） */
.activities-header__label::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 40px;                /* 線の長さ */
  border-top: 1px solid #0068b7;
  transform: translateY(-50%);
}

/* 横線（後） */
.activities-header__label::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 40px;
  border-top: 1px solid #0068b7;
  transform: translateY(-50%);
}

.activities-header__title {
  color: #333;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-align: center;
  margin: 10px 0 0;
}
.activities-header__desc {
  color: #333;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.6;
  margin: 20px 0 0;
  text-align: center;
}

/* 投稿リスト（4列ラップ） */
.activities-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: stretch;
  margin: 0 -10px 0;
  width: 100%;
/*   max-width: calc(80% - -20px); */
  overflow-y: auto;
}
.activities-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 0 solid transparent;
  border-bottom: 1px solid #eeeeee;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  margin: 0 10px 30px;
  padding: 20px;
  width: calc(25% - 60px);
/*   max-width: calc(25% - 20px); */
  overflow-y: auto;
	text-decoration: none;
}

/* アイキャッチ画像 */
.activities-item__img-wrapper {
  width: 100%;
  margin-bottom: 16px;
}
.activities-item__img {
  width: 100%;
  height: auto;
  display: block;
/*   border-radius: 8px; */
}

/* タイトル */
.activities-item__title {
  color: #333;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  margin: 0 0 10px;
  text-align: left;
}

/* 抜粋 */
.activities-item__excerpt {
  color: #666666;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-align: left;
}

/* ── SP向け調整 ── */
@media screen and (max-width: 768px) {
  .activities-wrapper {
    width: 100%;
    max-width: 100%;
  }
  .section-activities {
    padding: 40px 0 0;
  }
  .activities-header__title {
    font-size: 28px; /* SPで小さくしても可 */
    text-align: center;
  }
  .activities-header__desc {
    font-size: 14px;
  }
  .activities-list {
    flex-direction: column;
    margin: 0;
    width: auto;
    max-width: 100%;
	  padding:20px;
  }
  .activities-item {
    width: auto;
    max-width: 100%;
    margin: 0 0 30px;
  }
}

/* ── 共通：小見出しラベル ── */
.common-section-label {
  color: #333;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  text-align: center;
  margin: 0;
}
.common-section-label.left{
	text-align:left;
}
@media screen and (max-width: 768px) {
  .common-section-label {
    font-size: 18px;
  }
}

/* ── 共通：大見出し ── */
.common-section-big {
  color: #333333;
  font-size: 144px;
  font-weight: 800;
  line-height: 1;
/*   text-align: left; */
  margin: 0 0 0 -11px;
  max-width: calc(100% - -11px);
}
.common-section-big.left{
	text-align: left
}
@media screen and (max-width: 768px) {
  .common-section-big {
    font-size: 60px;
    margin: 5px 0 0 -6px;
    max-width: calc(100% - -6px);
    text-align:left;
  }
}

/* ── 共通：説明テキスト ── */
.common-section-text {
  color: #333;
  font-family: var(--s-font-8fae6a99);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.6;
  margin: 30px 0 0;
  text-align: left;
  width: 80%;
  max-width: 80%;
}
@media screen and (max-width: 768px) {
  .common-section-text {
    font-size: 16px;
    width: 100%;
    max-width: 100%;
    text-align: justify;
  }
}

/* ── 背景と課題セクション ── */
.section-problem {
  position: relative;              /* オーバーレイ用に position を相対指定 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  overflow: hidden;
	background: url('/wp-content/themes/custom-theme/images/problem-bg.webp') center/cover no-repeat;
}
.section-problem::before {
  content: "";
  position: absolute;
  inset: 0;
  /* 指定のオーバーレイ色 */
  background: rgba(245, 252, 255, 0.6);
  z-index: 1;
}

.section-problem .section-inner {
  position: relative; /* 前面にテキストを出す */
  z-index: 2;
  text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
	display:block;
}

/* SP対応 */
@media screen and (max-width: 768px) {
  .section-problem {
    height: auto;
    padding: 60px 0; /* 必要に応じて調整 */
  }
}

/* 内側のコンテナ */
.section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* ── 背景と課題：画像横並び ── */
.problem-images {
  display: flex;
  justify-content: center;
  align-items: stretch;
/*   width: 80%; */
/*   max-width: 80%; */
  margin: 30px 0 0;
  gap: 20px;
}
.problem-images__img {
  flex: 1;
  width: calc((100% - 3 * 20px) / 4);
  height: auto;
  display: block;
}

/* SP対応：縦並び */
@media screen and (max-width: 768px) {
  .problem-images {
/*     flex-direction: column; */
    width: 100%;
    max-width: 100%;
    margin: 20px 0 0;
    gap: 10px;
	          flex-wrap: wrap;
  }
  .problem-images__img {
    width: 48%;
    margin: 0;
  }
	.section-inner{
		padding: 150px 20px 150px;
	}
}

/* ── なぜ瀬戸内なのか セクション ── */
.section-why {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
	background: url('/wp-content/themes/custom-theme/images/why-bg.webp') center/cover no-repeat;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}
.section-why::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(245, 252, 255, 0.6);
  z-index: 1;
}

.section-why .section-inner {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 90%;
  margin: 0 auto;
  text-align: center;
  padding: 80px 0;
}
@media screen and (max-width: 768px) {
  .section-why {
    height: auto;
  }
  .section-why .section-inner {
    width: 100%;
    max-width: 100%;
    padding: 150px 20px 150px;
  }
	.section-why .common-section-big{
		text-align:center;
	}
}

/* 青字サブ見出し（共通） */
.common-section-sub {
  color: #0068b7;
      font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  margin: 40px 0 0;
}
@media screen and (max-width: 768px) {
  .common-section-sub {
            font-size: 24px;
	  text-align:left;
  }
}

/* ── わたしたちがめざすもの セクション ── */
.section-goal {
  position: relative;
  background: url('/wp-content/themes/custom-theme/images/goal-bg.webp') center/cover no-repeat;
  overflow: hidden;
  padding: 80px 20px;
}
.section-goal__overlay {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(245, 252, 255, 0.6);
  z-index: 1;
}
.section-goal__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
/*   flex-wrap: wrap; */
/*   width: 80%; */
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

/* テキストカラム */
.goal-content {
/*   flex: 1 1 50%; */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
	width:50%;
}
.goal-content h3{
	font-size:20px;
	text-align:center;
	    margin: 0 auto;
	margin-top:10px;
}
.goal-arrow{
	text-align:center;
	font-size:20px;
	    margin: 0 auto;
}
/* 本文だけ幅を制限 */
.section-goal-text {
  width: 100%;
	max-width:100%;
}
.section-goal-text2 {
  width: 100%;
	max-width:100%;
	font-size:17px;
	    font-weight: 500;
}

/* 画像カラム */
.goal-images {
/*   flex: 1 1 50%; */
  display: flex;
  flex-direction: column;
  gap: 20px;
	width:50%;
}
.goal-image-box{
background: rgba(255, 255, 255, 0.4);
    border-radius: 12px;
	padding:30px;	
}
.goal-image-box h3{
	text-align:center;
	font-size:20px;
	margin-top:0;
}
.goal-image {
  width: 100%;
  height: auto;
  display: block;
}

/* SP向け調整 */
@media screen and (max-width: 768px) {
  .section-goal {
   padding: 150px 20px 150px;
  }
  .section-goal__inner {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    gap: 15px;
  }
  .goal-content, .goal-images {
    flex: none;
    width: 100%;
    max-width: 100%;
  }
	.goal-images{
		margin-top:40px;
	}
}

/* ── 体制セクション ── */
.section-system {
  position: relative;
  background: url('/wp-content/themes/custom-theme/images/system-bg.webp') center/cover no-repeat;
  overflow: hidden;
  padding: 80px 0;
}
.section-system__overlay {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(245, 252, 255, 0.6);
  z-index: 1;
}
.section-system__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 80%;
  max-width: 80%;
  margin: 0 auto;
/*   gap: 20px; */
}

/* テキストカラム */
.system-content {
  flex: 1 1 70%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.section-system-text {
  width: 100%;
}

/* グラフィックカラム */
.system-graphic {
  flex: 1 1 28%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.system-graphic__img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 400px; /* 画面に応じて調整 */
}

/* SP向け調整 */
@media screen and (max-width: 768px) {
  .section-system {
    padding: 150px 20px 150px;
  }
  .section-system__inner {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
  }
  .system-content,
  .system-graphic {
    flex: none;
    width: 100%;
    max-width: 100%;
	  margin-top:20px;
  }
  .system-graphic__img {
    max-width: 80%;
    margin: 0 auto;
  }
}

/* ── 活動内容セクション ── */
.section-action {
  position: relative;
  background: url('/wp-content/themes/custom-theme/images/action-bg.webp') center/cover no-repeat;
  overflow: hidden;
  padding: 80px 0;
}
.section-action__overlay {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(245, 252, 255, 0.6);
  z-index: 1;
}
.section-action__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 80%;
  max-width: 80%;
  margin: 0 auto;
  gap: 20px;
}

/* テキスト部分 */
.action-content {
  flex: 1 1 40%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.section-action-text {
  margin-top: 20px;
}

/* パネルグリッド */
.action-panels {
  flex: 1 1 55%;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
	margin-top:15px;
}
.action-panel {
  background: #36b4e6;
  border-radius: 8px;
  padding: 20px;
  width: calc((100% - 3 * 20px) / 4);
  box-sizing: border-box;
}
.action-panel__title {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
	text-align:center;
}
.action-panel__list {
/*   list-style: disc inside; */
  padding-left: 10px;
  margin: 0;
}
.action-panel__list li {
  color: #fff;
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 6px;
}
/* .action-panel__list li::marker{
	margin-right:5px;
} */

/* SP調整 */
@media screen and (max-width: 768px) {
  .section-action {
    padding: 150px 20px 150px;
  }
  .section-action__inner {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
  }
  .action-content,
  .action-panels {
    flex: none;
    width: 100%;
    max-width: 100%;
  }
  .action-panels {
/*     flex-direction: column; */
  }
  .action-panel {
/*     width: 100%; */
  }
}

@media screen and (max-width: 767px) {
  .action-panels {
    display: flex;
    flex-wrap: nowrap;               /* 折り返しをオフ */
    overflow-x: auto;                /* 横スクロールを有効化 */
    -webkit-overflow-scrolling: touch;/* iOSの慣性スクロール */
    gap: 20px;                       /* パネル間の余白 */
  }
  .action-panels::-webkit-scrollbar {
    display: none;                   /* WebKit系のスクロールバー非表示 */
  }
/*   .action-panels {
    -ms-overflow-style: none; 
    scrollbar-width: none;     
  }
  .action-panel {
    flex: 0 0 auto;
    min-width: 250px; 
	  width:260px;
  } */
/* 	yokoscroll disactivated */
  .action-panels {
    -ms-overflow-style: none;        /* IE/Edge のスクロールバー非表示 */
    scrollbar-width: none;           /* Firefox のスクロールバー非表示 */
  }	
    .action-panels {
        display: block;
    }
    .action-panel {
        flex: 0 0 auto;
        min-width: 250px;
        width: 100%;
        height: 250px;
        margin-bottom: 20px;
    }
}


.data-container{
/* 	margin:50px; */
	background:#fff;
	    padding: 87px 30px 42px;
	border-radius: 14px;
}

/* style.css: ファーストビューセクション */
.firstview-section {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100vh;
  background: rgba(54, 180, 230, 0.4);
  z-index: -1;
  overflow: hidden;
}
.firstview-bg-overlay {
  position: absolute;
  inset: 0;
  background: url('../images/firstview-bg.jpg') center/cover no-repeat;
  z-index: -1;
}
.firstview-heading {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding-left: 50px;
  z-index: 1;
}
.firstview-heading h2 {
  margin: 0;
  color: #333333;
  font-size: 64px;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-align: left;
  mix-blend-mode: normal;
  text-shadow: 0 0 10px rgba(255,255,255,0.3);
}
@media screen and (max-width: 768px) {
  .firstview-heading h2 {
    font-size: 32px;
  }
	.data-container{
		padding:40px 20px;
	}
}
.firstview-window {
  position: absolute;
  top: 0;
  bottom: 0;
/*   left: 200px; */
  margin: 80px 0 80px 200px;
  width: calc(100% - 200px);
  max-width: calc(100% - 200px);
  height: calc(100% - 100px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition-timing-function: cubic-bezier(0,0,0.99,0.98);
}
.firstview-slides {
  display: flex;
  flex-wrap: nowrap;
  transition: transform 0.5s ease;
}
.firstview-slide {
  flex: none;
  width: 100%;
}
.firstview-slide img {
  display: block;
  width: 100%;
  height: auto;
}
.firstview-nav-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(255,255,255,0.3);
  z-index: 2;
}
.firstview-prev,
.firstview-next {
  position: absolute;
  bottom: 20px; /* ナビ帯の中央に配置 */
  background: #FFFFFF;
  border-radius: 50%;
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  z-index: 3;
}
.firstview-prev {
  left: 25%;
  transform: translateX(-50%);
}
.firstview-next {
  left: 75%;
  transform: translateX(-50%);
}

/* style.css: 支援基金セクション */
.fund-section {
  padding: 60px 0 200px;
  background: #dfeef4;
}
.fund-container {
  display: flex;
  justify-content: center;
}
.fund-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 60px 100px 60px;
  max-width: 800px;
  width: 100%;
  text-align: center;
}
.fund-title {
  color: #0068b7;
    font-size: 36px;
	font-weight: 900;
  margin-bottom: 16px;
	margin-top:0;
}
.fund-period {
  color: #333333;
  font-size: 16px;
	font-weight:800;
  margin-bottom: 16px;
  line-height: 1.6;
}
.fund-link {
  color: #007cff;
  font-size: 16px;
  text-decoration: underline;
	font-weight:800;
}

@media screen and (max-width: 768px) {
  .fund-card {
    padding: 20px;
  }
  .fund-title {
    font-size: 24px;
	  text-align:left;
  }
  .fund-period {
    font-size: 14px;
  }
  .fund-link {
    font-size: 14px;
  }
	.fund-section{
		    padding: 60px 20px 100px;
	}
}
@media screen and (max-width: 768px) {
  .firstview-section {
    position: relative;
	  z-index:1;
/*     height: auto; */
  }
  .firstview-bg-overlay {
    background-position: center top;
  }
  /* 左側縦長フレーム */
  .firstview-heading {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100% !important;
/*     height: 100vh; */
/*     background: rgba(54, 180, 230, 0.4); */
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
    padding-bottom: 20px;
	  padding-left:10px;
  }
  .firstview-heading h2 {
/*     writing-mode: vertical-rl;
    transform: rotate(180deg); */
            font-size: 32px;
    line-height: 1.2;
    margin: 0;
  }
  /* 画像窓枠 */
  .firstview-window {
/*     position: fixed; */
    top: 0;
/*     left: 50px; */
    width: 100%;
/*     height: calc(100vh - 60px); */
    overflow: hidden;
    z-index: 1;
	  margin:80px 0 60px 50px;
	  max-width:100%;
  }
  .firstview-slides, .firstview-slide {
    width: 100%;
    height: 100%;
  }
  .firstview-slide img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
  }
  /* ナビ帯 */
  .firstview-nav-overlay {
/*     display: none; */
  }
  /* 矢印 */
  .firstview-prev, .firstview-next {
    position: absolute;
    background: #FFFFFF;
    border-radius: 50%;
    height: 32px;
    width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    z-index: 6;
  }
/*   .firstview-prev {
    top: 50%;
    left: 50px;
    transform: translate(-50%, -50%);
  } */
  .firstview-next {
/*     top: 50%;
    left: 170px;
    transform: translate(-50%, -50%); */
	  left:65%;
  }
  /* 支援基金はそのまま */

  /* 支援基金はそのまま */
}

/* 活動詳細テンプレート */
.activity-single-main {
  align-items: center;
  background: #f5fcff;
  width: 100%;
  max-width: 100%;
  padding: 0 0 200px;
}
@media (max-width: 768px) {
  .activity-single-main {
    padding: 0 20px 200px;
	  width:auto;
  }
}

/* 画像セクション */
.activity-hero {
  display: flex;
  justify-content: center;
  margin-bottom: 100px;
}
.activity-hero__inner {
  width: 100%;
  overflow: hidden;
  padding: 80px 30px 0;
}
.activity-hero__img {
  width: 100%;
  max-width: 100%;
  height: 450px;
  object-fit: cover;
}

/* コンテンツセクション */
.activity-content {
  display: flex;
  justify-content: center;
	max-width:1000px;
	margin:0 auto;
}
.activity-content__inner {
  background: #fff;
  border-radius: 16px;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  padding: 60px;
  margin: 0 30px;
  max-width: calc(100% - 60px);
  width: auto;
}
@media (max-width: 768px) {
  .activity-content__inner {
    padding: 20px;
    margin: 0;
    max-width: 100%;
  }
	.activity-hero {
  margin-bottom: 50px;
}
	.activity-hero__img {
  height: 300px;
}
}

.activity-title {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 24px;
	letter-spacing: 0.1em;
    line-height: 1.6;
  font-weight: 900;
	color: #0068b7;
}
.activity-meta {
  font-size: 14px;
  color: #666;
  margin-bottom: 24px;
}
.activity-body {
  line-height: 1.8;
}
/* タグ群 */
.section-tags {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px; /* お好みで調整 */
}

/* タグ共通 */
.section-tags .tag-left,
.section-tags .tag-right {
  display: inline-block;
  background: #36b4e6;
  color: #fff;
      padding: 5px 10px 5px;
/*   border-radius: 4px; */
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

/* 左タグだけ追加スタイル（必要なら）*/
.section-tags .tag-left {
  /* 追加のマージンなどあれば */
}

/* 右タグだけ追加スタイル（必要なら）*/
.section-tags .tag-right {
  /* 追加のマージンなどあれば */
	border:1px solid #36b4e6;
	background: #fff;
	color: #36b4e6;
}

.activity-editor-content {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}
.activity-editor-content h2 {
  font-size: 24px;
  color: #0368b7;
  margin-bottom: 16px;
}
.activity-editor-content p {
  margin-bottom: 16px;
}
.activity-editor-content p.mb-30{
	margin-bottom:30px;
} 
.activity-editor-content p.mb-50{
	margin-bottom:50px;
} 
.activity-editor-content h3{
	border-bottom: 5px solid #36b4e6;
    border-left: 0px solid #36b4e6;
    border-right: 0px solid #36b4e6;
    border-top: 0px solid #36b4e6;
    font-family: var(--s-font-03b1a766);
    font-size: 28px;
    letter-spacing: 0.1em;
    margin: 50px 0px 30px 0px;
    padding: 0px 0px 5px 0px;
}
.activity-editor-content h3.company-overview-h3{
	border-bottom: 2px solid #36b4e6;
    border-left: 0px solid #36b4e6;
    border-right: 0px solid #36b4e6;
    border-top: 0px solid #36b4e6;
    font-size: 24px;
    letter-spacing: 0.1em;
    margin: 50px 0px 30px 0px;
    padding: 0px 0px 5px 0px;
}
.activity-editor-content ul,
.activity-editor-content ol {
  margin-left: 24px;
  margin-bottom: 16px;
	padding:0;
	font-size:18px;
}
.activity-editor-content img.full {
  width: 100%;
  height: auto;
  margin-bottom: 8px;
}
.activity-editor-content img.narrow {
  width: 60%;
  height: auto;
  display: block;
/*   margin: 0 auto 8px; */
  margin-bottom: 8px;
}
.activity-editor-content .editor-tags {
  display: flex;
  justify-content: space-between;
  margin: 16px 0;
}
.activity-editor-content .editor-tags .tag-left,
.activity-editor-content .editor-tags .tag-right {
  background: #36b4e6;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 14px;
}

.mb-30{
	margin-bottom:30px;
}

.activity-editor-content .editor-gallery {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.activity-editor-content img.half {
  width: calc(50% - 4px);
  height: auto;
}
.sp{
	display:none;
}
@media screen and (max-width:768px){
	.activity-editor-content .editor-gallery{
		display:block;
	}
	.activity-editor-content img.half {
  width:100%;
}
.pc{
	display:none;
}
.sp{
	display:block;
}
	.activity-editor-content h3.company-overview-h3{
		border-bottom: 1px solid #36b4e6;
	}
}
.w-300{
	width:300px;
}
.w-200{
	width:200px;
}

.main-overview section{
	min-height:100vh;
	    display: flex;
    align-items: center;
}
.main-overview section.section-hero{
	min-height:0px;
}

/* ---- ムービーサムネイルカード ---- */
.movie-cards-box{
	margin-top:100px;
	background:#fff;
	border-radius: 16px 16px 0 0;
	max-width:1200px;
	      padding: 80px 30px 80px;
}

.movie-cards {
  display: flex;
/*   gap: 20px; */
  overflow-x: auto;

	margin:0 auto;
}
.movie-card {
  position: relative;
  flex: 0 0 45%;
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}
.movie-thumb {
  position: relative;
  cursor: pointer;
  overflow: hidden;
/*   border-radius: 8px; */
}
.movie-thumb img {
  display: block;
  width: 100%;
  height: auto;
}
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.8);
  border: 1px solid #36b4e6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}
.movie-thumb:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.1);
}
.play-btn i {
  color: #36b4e6;
  font-size: 32px;
}

/* ---- スワイプヒント ---- */
/* .movie-hint {
  position: relative;
  margin-top: 8px;
  color: #36b4e6;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.movie-hint i {
  margin-left: 8px;
} */
.movie-hint {
  position: relative;
  width: 100%;
  text-align: right;       /* 矢印を右端に寄せる */
/*   margin: 40px 0; */
  font-size: 14px;
  color: #36b4e6;
  text-transform: uppercase;
  overflow: hidden;
}

/* 背景の水平線 */
.movie-hint::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-top: 1px solid #36b4e6;
  transform: translateY(-50%);
	z-index: 2;
}

/* テキスト部分をくり抜く白いボックス */
.movie-hint span {
  position: relative;
	right:50px;
	background: #fff;
  padding: 0 12px;
  z-index: 3;
}

/* 右端の矢印 */
.movie-hint::after {
  content: "▶";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-56%);
/*   padding-left: 8px; */
  background: #fff;       /* 矢印の後ろも白くすると線が途切れず見えます */
  color: #36b4e6;
  font-size: 16px;
  z-index: 1;
}


/* ---- モーダル ---- */
.video-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 10000;
}
.video-modal__overlay {
  position: absolute;
  top:0; left:0; right:0; bottom:0;
  background: rgba(0,0,0,0.6);
}
.video-modal__content {
  position: absolute;
  top:50%; left:50%;
  transform: translate(-50%,-50%);
  max-width: 90%;
  width: 800px;
  background: transparent;
}
.video-modal__inner {
  position: relative;
  padding-top: 56.25%; /* 16:9 アスペクト比 */
  background: #000;
}
.video-modal__inner iframe {
  position: absolute;
  top:0; left:0; width:100%; height:100%;
}
.video-modal__close {
  position: absolute;
  top: -40px; right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
}
.movie-cards,
.editor-gallery, .link-slider {
  overflow-x: auto;            /* 横スクロールは残す */
  -ms-overflow-style: none;    /* IE/Edge 用 */
  scrollbar-width: none;       /* Firefox 用 */
}

/* Webkit ブラウザ用 */
.movie-cards::-webkit-scrollbar,
.editor-gallery::-webkit-scrollbar,
.link-slider::-webkit-scrollbar{
  display: none;
}

@media screen and (max-width:768px){
	.movie-section .container{
		margin-top:-100px;
	}
	.movie-cards-box{
		padding:50px 15px;
		    border-radius: 16px;
		margin-top:50px;
	}
	.movie-card{
/* 		width: calc(90% - 20px);
        max-width: calc(90% - 20px); */
		flex: 0 0 85%;
		padding:5px;
	}
	.movie-label{
		font-size:14px;
	}
	.link-section .movie-hint{
		display:none;
	}
}