/* ════════════════════════════════════
   common.css — 共通スタイル
   【横浜グリーンエクスポ】こどもプロジェクト
════════════════════════════════════ */

/* ════════ RESET & BASE ════════ */
:root {
  --accent:  #0068b7;
  --accent2: #48bbc6;
  --accent3: #ea4d49;
  --shadow: 0 6px 28px rgba(0,0,0,0.22);
  --shadow-sm: 0 0 10px rgba(0,0,0,0.1);
  --header-h: 78px;
  --focus-ring: 3px solid #005fcc;
}
/* iOS Safariの自動テキストサイズ調整(text-size-adjust)がruby(ふりがな)のレイアウトに
   干渉し、文字とルビの間に実機でだけ隙間ができることがあるため、明示的に無効化する。
   （検証ツールのレスポンシブモードでは再現しない、実機描画特有の挙動） */
html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

/* 親要素のline-height(例: 各所のline-height:1.3〜1.8など)がruby/rtに継承されると、
   iOS Safariではルビ全体の行送り計算に余分な高さが加算され、文字とルビの間に
   隙間ができることがあるため、明示的にリセットする（全ページ共通） */
ruby {
	line-height: normal;
}
ruby rt {
	line-height: normal;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
:focus-visible { outline: var(--focus-ring); outline-offset: 3px; }

body {
  background: #b8dff5;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  color: #1a1a2e;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
/* iPhoneのSafariはbackground-attachment:fixedを非対応のため疑似要素で代替 */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url("../images/bk_img2.jpg") no-repeat center top / cover;
  z-index: -1;
}

/* 太字要素はM PLUS 1pを使用 */
h1, h2, h3, h4, h5, h6,
.page-title,
#hamburger,
.back-btn,
.company-card__link,
.page-inner p.company-card__org,
.page-inner p.company-card__name,
strong, b,
/* モーダル・UI要素 */
#modal-title,
#modal-close,
.modal-btn,
#tutorial-close,
#tut-title,
.tutorial-items strong,
.node-label,
#reset-btn,
#show-tutorial-btn,
.zoom-btn,
#copyright,
#video-player-close,
#video-player-title,
/* ドロワーナビ */
.nav-group li a,
.privacy-policy a,
.video-title,
.page-title,
.breadcrumb {
  font-family: "M PLUS 1p", sans-serif;
}

/* ════════ SKIP LINK ════════ */
#skip-link {
  position: fixed; top: -999px; left: 20px;
  z-index: 9999;
  background: #005fcc; color: #fff;
  padding: 10px 20px; border-radius: 6px;
  font-weight: 700; font-size: 14px;
  text-decoration: none;
}
#skip-link:focus { top: 10px; }

/* ════════ HEADER ════════ */
#site-header {
  position: fixed; top: 20px; left: 0; right: 0;
  height: var(--header-h);
  z-index: 2000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
}
#logo-header,
#hamburger { pointer-events: auto; }
#site-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #1a1a2e; }
#site-logo img { max-height: 59px; }
#logo-header {
  display: flex; justify-content: space-between;
  border-radius: 16px; background: #fff;
  height: var(--header-h);
  width: 335px;
  padding: 10px; align-items: center;
  box-shadow: var(--shadow-sm);
}
#logo-header .yokohama-logo { height: 35.5px; width: auto; margin-left: 3px; }

/* ════════ 言語切替 ════════ */
#lang-switch {
  position: absolute;
  top: 89px; right: 20px;
  width: 146px; height: 37px;
  display: flex; flex-direction: row-reverse; align-items: center;
  background: #1256a5;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: 5px;
}
#lang-switch a {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  height: 100%;
  border-radius: 16px;
  font-size: 16px;
  font-family: "M PLUS 1p", sans-serif;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
/* 既定は日本語側をハイライト（GTranslateで原文表示に戻すとlangが「ja」ではなく
   「auto」等になる場合があるため、英語表示時だけ切り替える方式にしている） */
#lang-switch a.ja {
  background: #fff;
  color: #1256a5;
}
html[lang="en"] #lang-switch a.ja {
  background: transparent;
  color: #fff;
}
html[lang="en"] #lang-switch a.en {
  background: #fff;
  color: #1256a5;
}

#hamburger {
  width: 146px; height: var(--header-h); border: 2px solid #1256a5;
  background: #1256a5; color: #fff;
  cursor: pointer; display: flex;
  align-items: center; justify-content: center; gap: 6px;
  border-radius: 16px; font-weight: 800; font-size: 15px; padding-right: 6px;
  transition: background 0.2s;
}
@media (min-width: 681px) {
  #hamburger:hover { color: #1256a5; background: #fff; }
  #hamburger:hover .bar { background: #1256a5; }
}
#hamburger[aria-expanded="true"] {
  background: #fff; color: #1256a5;
}
#hamburger[aria-expanded="true"] .bar { background: #1256a5; }
#hamburger .bar_btn {
  width: 44px; height: 44px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
  border-radius: 8px;
}
#hamburger .bar {
  width: 22px; height: 2px; background: #fff;
  border-radius: 2px; transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
#hamburger[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
#hamburger[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
#hamburger[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ════════ ドロワー ════════ */
#nav-drawer {
  position: fixed; top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 1999;
  cursor: default; /* 地図のcursor:grabが継承されて非リンク要素に出てしまうのを防ぐ */
  background: rgba(0, 104, 183, 0.98); /* 指定の青(--accent)を98%不透明（透過2%） */
  padding: 120px 40px 40px;
  overflow-y: auto;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start; /* 上揃えに変更 */
  transform: translateY(-100%); opacity: 0;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.4s;
  pointer-events: none;
}
#nav-drawer.open { transform: translateY(0); opacity: 1; pointer-events: all; }

.nav-content {
  display: flex; justify-content: center; gap: min(78px, 2vw);
  width: 100%; max-width: 82%; margin: 0 6% 0 0;
}
.nav-col { display: flex; flex-direction: column; gap: 32px; flex: 1; }

.nav-group h2 {
  display: inline-block;
  color: #fffc64; font-size: min(24px, 1.8vw); font-weight: 800; letter-spacing: 0.1em;
  padding-bottom: 12px; margin-bottom: 12px;
  border-bottom: 2px dashed rgb(195 235 232 / 95%);
}
.nav-group ul { list-style: none; }
.nav-group li a {
  display: block;
  padding: 14px 0;
  font-size: min(30px, 2vw); font-weight: 800; letter-spacing: 0.08em;
  color: #fff; text-decoration: none;
  transition: color 0.15s, letter-spacing 0.2s;
}
.nav-link-arrow {
  width: 24px; height: auto;
  margin-left: 16px;
  vertical-align: middle;
  transition: transform 0.2s;
}
.nav-group li a:hover .nav-link-arrow {
  transform: translateX(6px);
}

.style100-banner {
  display: flex; align-items: center; justify-content: center;
  width: min(332px, 70%); margin-top: 8px;
  padding: 18px 12px 16px;
  border-radius: 20px;
  border: 3px solid #6fc8d1; background: #f7f3e7;
  transition: opacity 0.2s;
}
.style100-banner img { display: block; width: min(188px, 70%); height: auto; }
.style100-banner:hover { opacity: 0.8; }

/* お問い合わせ・プライバシーポリシー */
.nav-bottom {
  width: 100%; max-width: 92.22%; /* 1328 / 1440 */ margin: 40px auto 0;
  padding-top: 24px;
  border-top: 2px dashed rgb(195 235 232 / 95%);
  color: #fff;
}
.nav-bottom-inner {
  display: flex; justify-content: center; gap: 80px; align-items: flex-start;
  width: 100%; max-width: 95.76%; /* (1274/1328) 上のnav-contentより内側に収める */ margin: 0 auto;
}
.nav-bottom-inner > * { flex: 1; }
#inquiry { text-align: left; }
#inquiry h2 { padding-bottom: 12px; font-size: min(20px, 1.7vw); }
#inquiry .tmp_inquiry_cnt { line-height: 1.8; font-size: min(16px, 1.4vw); }
#inquiry a { color: #fff; }

.privacy-policy a{
  display: flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none;
  font-size: min(24px, 1.8vw); font-weight: 800; letter-spacing: 0.1em;
  transition: opacity 0.2s;
}
.privacy-policy a:hover { opacity: 0.8; }
.privacy-dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; flex-shrink: 0; }

/* ════════ フッター ════════ */
#site-footer {
  background: var(--accent);
  color: #fff;
  text-align: center;
  font-size: 11px;
  padding: 10px;
}

/* ════════ メインコンテンツ共通 ════════ */
#main-content {
  flex: 1;
  margin-top: calc(var(--header-h) + 40px);
  padding: 40px 20px 80px;
}
.page-inner {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 48px 48px 56px;
  box-shadow: var(--shadow);
	position: relative;
}
/* 下層ページの×ボタン（トップページへ戻る） */
.page-close-btn {
  position: absolute; top: 14px; right: 14px;
  width: 36px; height: 36px;
  border: none; background: rgba(0,0,0,0.08);
  border-radius: 50%; cursor: pointer;
  font-size: 18px; color: #333;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: background 0.2s;
}
/* パンくず */
.breadcrumb {
  font-size: 13px; color: #595959;
  margin-bottom: 24px;
  display: flex; gap: 8px; flex-wrap: wrap;
	line-height: 3;
}
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ページタイトル */
.page-title {
  font-size: 28px; font-weight: 700;
  color: #fff;
  background: var(--accent); border-radius: 8px;
	margin-bottom: 32px;
	padding: 16px 24px;
	line-height: 1.8;
  border-bottom: 3px solid var(--accent);
}
.page-inner .page-title ruby rt {  font-size: 0.4em; color: #fff; }

/* 本文 */
.center{ text-align: center; }
.page-inner p { font-size: 16px; line-height: 1.9; color: #333; padding-bottom: 16px; }
.page-inner h2 {
  font-size: 20px; font-weight: 700; color: #1a1a2e;
  margin: 32px 0 12px;
  padding: 10px 14px;
  border-left: 4px solid var(--accent);
  background: rgba(0,104,183,0.05);
  border-radius: 0 6px 6px 0;
}
.page-inner h3 {
  font-size: 17px; font-weight: 700; color: var(--accent);
  margin: 24px 0 8px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--accent);
}
.page-inner img { width: 100%; height: auto; border-radius: 8px; margin-bottom: 8px; display: block; }
.page-inner figure { margin-bottom: 24px; }
.page-inner figcaption { font-size: 12px; color: #595959; text-align: center; }
.page-inner ul, .page-inner ol { padding-left: 1.5em; margin-bottom: 16px; }
.page-inner li { font-size: 16px; line-height: 1.9; color: #333; padding-bottom: 6px; }
.page-inner ruby rt { font-size: 0.6em; color: #666; }

/* 戻るボタン */
.back-btn {
  display: inline-flex; align-items: baseline; gap: 6px;
  margin-top: 40px;
  padding: 12px 28px; border-radius: 999px;
  background: var(--accent); color: #fff;
  font-weight: 700; font-size: 15px;
  text-decoration: none;
  transition: filter 0.2s, transform 0.1s;
}
.page-inner .back-btn ruby rt{
	color: #fff;
}
.back-btn:hover { filter: brightness(0.88); transform: scale(1.02); }

/* 企業カード */
.company-section { margin-bottom: 48px; }
.company-card {
  border: 1px solid #e0e8f0;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.company-card__img { margin-bottom: 30px;}
.company-card__img .logo-placeholder {
  width: 100%; height: 60px;
  background: #e8f0f8; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: #595959; margin-bottom: 8px;
}
.company-card__img .pars-placeholder {
  width: 100%; height: 100px;
  background: #e8f0f8; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: #595959;
}
.company-card__img img { width: 100%; height: auto; border-radius: 6px; margin-bottom: 8px; }
.no-logo .company-card__img img {
	width: 100%;
}
.no-logo .company-card__img figcaption{
	text-align: right;
}

.company-card__body { flex: 1; }
.page-inner p.company-card__org { font-size: 24px; font-weight: 700; text-align: center; color:var(--accent); padding-bottom: 4px; }
.page-inner p.company-card__name { font-size: 18px; font-weight: 700; text-align: center; color: var(--accent); margin-bottom: 10px; }
.page-inner p.company-card__org ruby rt,.page-inner p.company-card__name ruby rt { color: var(--accent); }

.page-inner p.company-card__desc { font-size: 18px; line-height: 1.8; color: #444; margin-bottom: 12px; }
.page-inner p.company-card__note { font-size: 14px; color: #595959;  width: 100%;
	background: #ebf2f8;
	border-radius: 8px;
	padding: 15px;
	margin-bottom: 30px;
}
.company-card__note ul { list-style: none; padding-left: 0; line-height: 1.4; margin-bottom: 0; }
.company-card__note ul li { font-size: 14px; margin-bottom: 0; }
.company-card__link {
  display: block;
  font-size: 16px; font-weight: 700; text-align: center;
	color: var(--accent);
  text-decoration: none;
  border: 2px solid var(--accent);
  padding: 16px; border-radius: 8px;
  transition: background 0.2s, color 0.2s;
	background: #fff;
}
.company-card__link ruby rt{ color: var(--accent); transition: color 0.2s; }
.company-card__link:hover { background: var(--accent); color: #fff; }
.company-card__link:hover ruby rt{ color: #fff; }
.page-inner p.other_site{ 
	font-size: 14px;
	margin-top: 8px;
}

@media (min-width: 681px) {
	.company-card__img { display: flex; justify-content: space-between; align-items: center;}
	.company-card__img img {
		width: 49%;
	}
	.company-card__link br{display: none;}
}

/* ════════ 当サイトについて ════════ */
.p-txtpage__nav>ol>li{
	color: var(--accent);
}
.p-txtpage__nav>ol>li>a{
	text-decoration: none;
	font-weight: bold;
	color: var(--accent);
}
.p-txtpage__nav ol ol{
	margin-bottom: 0;
}
.p-txtpage__nav ol ol li a{
	color: #666;
}

/* ════════ ページトップへ戻るボタン ════════ */
#page-scroll-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: none;
  align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
  transition: background 0.2s, transform 0.1s;
  z-index: 1000;
}
#page-scroll-top.show { display: flex; }
#page-scroll-top:hover { background: #004f8a; transform: scale(1.08); }

/* プロフィール・開催情報テーブル */
.profile-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
  font-size: 16px;
	border-top: 1px solid #d0e0ee;
}
.profile-table th {
  width: 7em;
  padding: 12px 14px;
  background: rgba(0,104,183,0.07);
  color: var(--accent);
  font-weight: 700;
  text-align: center;
  border-bottom: 1px solid #d0e0ee;
  white-space: nowrap;
	vertical-align: middle;
}
.profile-table td {
  padding: 12px 14px;
  color: #333;
  line-height: 1.8;
  border-bottom: 1px solid #d0e0ee;
  vertical-align: top;
}
.profile-table ruby rt { font-size: 0.6em; color: #666; }
.profile-table th ruby rt { color: var(--accent); }

/* ════════ レスポンシブ ════════ */
/*PC時に2つ並びにしたいコンテンツ*/
@media (min-width: 681px) {
	.display-half { display: flex; justify-content: space-between; align-items: center;}
	.display-half > figure,
	.display-half > div{
		width: 49%;
	}
}
@media (max-width: 680px) {
  .nav-group h2 { font-size: 16px; }
  .nav-group li a { font-size: 18px; padding: 10px 0; }
  .nav-link-arrow { margin-left: 10px; }
  #logo-header{
        width: calc(100% - 175px);
        justify-content: center;
    }
  #logo-header .yokohama-logo { display: none; }
  #site-logo img { height: min(60px, 13.5vw); width: auto; }
  #hamburger { width: 108px !important; font-size: 12px !important; }
	#hamburger .bar_btn{width: 30px!important; }
  #lang-switch { width: 130px; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
  #lang-switch a { font-size: 14px; }
  #ruby-toggle { 
		width: 130px !important; 
		font-size: 14px !important; 
		opacity: 0; 
		pointer-events: none; 
		transition: opacity 0.2s; }
  body.menu-open #lang-switch,
  body.menu-open #ruby-toggle {
    opacity: 1;
    pointer-events: auto;
  }
  .privacy-policy a { font-size: 16px; }
  #inquiry h2 { font-size: 16px; }
  #inquiry .tmp_inquiry_cnt { font-size: 14px; }

  /* メニュー中身を1カラムで縦積み（①〜⑦の指定順） */
  /* nav-bottomは箱として残し（上部borderを維持）、中身のnav-bottom-innerだけ展開する */
  .nav-content, .nav-col, .nav-bottom-inner {
    display: contents;
  }
  #nav-drawer {
    gap: 32px;
    padding: 110px 7% 35vw;
  }
  .nav-group, .privacy-policy, #inquiry {
    width: 100%;
  }
  .nav-group--about    { order: 1; }
  .nav-group--yokohama  { order: 2; }
  .nav-group--study    { order: 3; }
  .nav-group--movie    { order: 4; }
  .style100-banner     { order: 5; width: 60%; margin-top: 0; align-self: flex-start; }
  .nav-bottom {
    order: 6; display: flex; flex-direction: column; gap: 24px; margin-top: 3%; max-width: none;
  }
  .privacy-policy { order: 1; }
  #inquiry        { order: 2; }
}
@media (max-width: 600px) {
  .page-inner { padding: 28px 20px 36px; }
  .page-title { font-size: 22px; }
  .company-card { flex-direction: column; }
  .company-card__img { width: 100%; }
}

/* ════════ ローディング画面 ════════ */
#loading-overlay {
  position: fixed; inset: 0;
  z-index: 99999;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease;
}
#loading-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}
#loading-inner {
  display: flex; flex-direction: column;
  align-items: center; gap: 24px;
}
.loading-logo {
  width: 240px; height: auto;
  animation: loading-pulse 1.5s ease-in-out infinite;
}
@keyframes loading-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.6; }
}
.loading-dots {
  display: flex; gap: 10px;
}
.loading-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  animation: loading-dot 1.2s ease-in-out infinite;
}
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes loading-dot {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40%           { transform: scale(1);   opacity: 1; }
}

/* ════════ ルビ切り替えボタン ════════ */
#ruby-toggle {
  position: absolute;
  top: 89px; right: 20px;
  width: 146px; height: 37px;
  font-size: 14px;
  cursor: pointer;
  background: #fff;
  font-family: "M PLUS 1p", sans-serif;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s, color 0.2s;
	border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.15);
  color: #333;
}
/* 現状はどちらも同じ見た目（文言のみ切替）。色を変えたくなったらここを調整 */
/*#ruby-toggle[aria-pressed="true"] {
  background: #fff;
  color: #404549;
  border-color: #404549;
}
#ruby-toggle[aria-pressed="false"] {
  background: #fff;
  color: #404549;
  border-color: #404549;
}*/

/* ════════ ページ内リンク ════════ */

/* スムーズスクロール */
html,
#modal{
  scroll-behavior: smooth;
}

/* 固定ヘッダー分スクロール位置をオフセット */
:target {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.contents-nav{
	display: flex;
	align-content: center;
	flex-wrap: wrap;
	justify-content: center;
	list-style: none;
	padding: 0!important;
}
.contents-nav li a{
	margin: 5px;
	display: block;
	border: 1px solid var(--accent);
	color: var(--accent);
	padding: 8px 20px;
	border-radius: 500px;
	text-decoration: none;
	font-weight: bold;
}
.contents-nav li a rt{
	color: var(--accent)!important;
}


/* ═══ ウェブアクセシビリティ方針表（上の表）th幅固定 ═══ */
.policy-table th {
	width: 10em;
	white-space: nowrap;
}

/* ═══ チェックリスト表 ═══ */
.p-txtpage-table__table--row caption {
	font-size: 15px;
	font-weight: 500;
	text-align: left;
	padding: 8px;
	color: #333;
}
.p-txtpage-table__table--row thead th {
	background: #0b68b7;
	color: #fff;
	white-space: nowrap;
}
.p-txtpage-table__table--row tbody tr:nth-child(even) td {
	background: #f7fafa;
}
.p-txtpage-table__table--row tbody th {
	white-space: nowrap;
	font-weight: 400;
	color: #555;
}
/* 適合レベル・適用・結果列：中央揃え・幅固定 */
.p-txtpage-table__table--row th:nth-child(3),
.p-txtpage-table__table--row th:nth-child(4),
.p-txtpage-table__table--row th:nth-child(5),
.p-txtpage-table__table--row td:nth-child(3),
.p-txtpage-table__table--row td:nth-child(4),
.p-txtpage-table__table--row td:nth-child(5) {
	text-align: center;
	width: 5em;
}

/* ═══ スマートフォン対応 ═══ */
@media (max-width: 768px) {
  .page-inner table {
      font-size: 13px;
    }

	/* 方針表：thを上に出してブロック表示 */
	.policy-table,
	.policy-table tbody,
	.policy-table tr,
	.policy-table th,
	.policy-table td {
		display: block;
		width: 100%;
	}
	.policy-table th {
		border-bottom: none;
		background: #e6f4f4;
    white-space: nowrap;
		/*width: 20%;*/
	}
	.policy-table tr + tr {
		margin-top: 8px;
	}

	/* チェックリスト表：横スクロール */
	.table-scroll-wrap {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		border: 1px solid #ccc;
		border-radius: 6px;
		margin-bottom: 2rem;
	}
	.table-scroll-wrap .p-txtpage-table__table--row {
		min-width: 560px;
		margin-bottom: 0;
	}
}

 /* ═══ 表共通 ═══ */
  .page-inner table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 2rem;
  }
	.page-inner table li{
		font-size: 14px;
	}
	.page-inner table ol{
		margin-bottom: 0;
	}
  .page-inner table th,
  .page-inner table td {
    padding: 10px 14px;
    border: 1px solid #ccc;
    vertical-align: top;
    text-align: left;
		word-break: break-word;
  }
  .page-inner table th {
    background: #f4f8fc;
    font-weight: 500;
  }

  /* ═══ チェックリスト表 ═══ */
  .p-txtpage-table__table--row caption {
    font-size: 15px;
    font-weight: 500;
    text-align: left;
    padding: 8px;
    color: #333;
  }
  .p-txtpage-table__table--row thead th {
    background: #0b68b7;
    color: #fff;
    white-space: nowrap;
  }
  .p-txtpage-table__table--row tbody tr:nth-child(even) td {
    background: #f7fafa;
  }
  .p-txtpage-table__table--row tbody th {
    white-space: nowrap;
    font-weight: 400;
    color: #555;
  }
  /* 適合レベル・適用・結果列：中央揃え・幅固定 */
  .p-txtpage-table__table--row th:nth-child(3),
  .p-txtpage-table__table--row th:nth-child(4),
  .p-txtpage-table__table--row th:nth-child(5),
  .p-txtpage-table__table--row td:nth-child(3),
  .p-txtpage-table__table--row td:nth-child(4),
  .p-txtpage-table__table--row td:nth-child(5) {
    text-align: center;
    width: 5em;
  }

  /* ═══ スマートフォン対応 ═══ */
  @media (max-width: 768px) {

    /* チェックリスト表：横スクロール */
    .table-scroll-wrap {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      border: 1px solid #ccc;
      border-radius: 6px;
      margin-bottom: 2rem;
    }
    .table-scroll-wrap .p-txtpage-table__table--row {
      min-width: 560px;
      margin-bottom: 0;
    }
  }

/* ════════ Style100ページ ════════ */
.style100 .page-inner{
	background: #F7F3E7;
  max-width: 1100px;
}
.style100 .page-inner h2{
	background: #fff;
	border-color: #f28d93;
	margin-bottom: 25px;
}
.style100 .page-inner p{
	font-size: 16px;
  line-height: 2;
}
.style100 .page-inner img{
	max-width: 600px;
	margin: 0 auto;
}
#style100_contents {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
	margin-top: 20px;
  margin-bottom: 32px;
}
.style100-item {
  display: block;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.style100-item:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.style100-item figure { margin: 0; }
.style100-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px 8px 0 0;
  margin-bottom: 0;
}
.page-inner figcaption.style100-caption {
  font-size: 18px;
  line-height: 1.5;
  padding: 8px;
  border-radius: 0 0 8px 8px;
  text-align: left;
  color: #074263;
	font-weight: bold;
}

/* Style100 モーダル */
#style100-overlay {
  position: fixed; inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,0.75);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
#style100-overlay.open { opacity: 1; pointer-events: all; }
#style100-modal {
  background: #fff;
  border-radius: 16px;
  padding: 44px 32px 32px;
  max-width: 900px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  position: relative;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
#style100-close {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px;
  border: none; background: rgba(0,0,0,0.08);
  border-radius: 50%; cursor: pointer;
  font-size: 18px; color: #333;
  display: flex; align-items: center; justify-content: center;
}
#style100-close:hover { background: rgba(0,0,0,0.18); }
#style100-modal-inner {
  display: flex; gap: 24px; align-items: center;
}
#style100-video-wrap {
  flex: 1;
  min-width: 0;
	max-width: 40%;
}
#style100-video {
  width: 100%; aspect-ratio: 9/16;
  border-radius: 8px;
  background: #000;
  display: block;
}
#style100-text {
  flex: 1;
  min-width: 0;
}
#style100-modal-title {
  font-size: 18px; font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 8px;
}
#style100-modal-desc {
  font-size: 15px; line-height: 1.8; color: #333;
}

@media (max-width: 680px) {
  #style100_contents { grid-template-columns: repeat(2, 1fr); }
  #style100-modal-inner { flex-direction: column; }
	#style100-video-wrap {max-width: 60%;}
}
@media (max-width: 480px) {
  #style100_contents { grid-template-columns: 1fr; }
	#style100-video-wrap {max-width: 100%;}
}
/* とじるボタン */
.style100-close-btn {
  display: block;
  margin: 20px auto 0;
  padding: 10px 32px;
  background: #157a85;
  color: #fff;
  border: none;
  border-radius: 24px;
  font-size: 15px;
	font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.style100-close-btn:hover { background: var(--accent); }