/* --------------------------------------------------------------------------
   Variables & Base Settings
-------------------------------------------------------------------------- */ 
:root {
  /* Color Palette */
  --color-sky: #89c3eb;
  --color-blue: #0095d9;
  --color-navy: #19448e;
  --color-green: #00a497;
  --color-red: #c53d43;
  --color-yellow: #ffd900;
  --color-text: #333333;
  --color-text-light: #666;
  --color-bg: #111111;
  --color-border: #ddd;
  /* Spacing */
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
}
*, ::before, ::after {
  box-sizing: border-box;
}
body {
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Helvetica', 'Segoe UI', 'Roboto', 'Noto Sans', sans-serif;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%;
}
/* Layout container for demo */
main, header, footer {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}
/* --------------------------------------------------------------------------
   Typography (h1-h6, p)
   PC: Contrast, Mobile: Readable
   No borders requested.
-------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-navy);
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.3;
  border: none;
  /* Explicitly no border as requested */
}
h1 .en, h2 .en, h3 .en, h4 .en, h5 .en, h6 .en {
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Helvetica', 'Segoe UI', 'Roboto', 'Noto Sans', sans-serif;
}
/* Heading Sizes - PC First (Desktop) */
h1 {
  font-size: 1.8rem;
}
h2 {
  font-size: 1.5rem;
}
h2 span.en {
  font-size: 0.8em;
  padding-right: 12px;
  padding-left: 12px;
}
h3 {
  font-size: 1.32rem;
}
h3 span.en {
  font-size: 0.8rem;
  padding-right: 12px;
}
h4 {
  font-size: 1.21rem;
}
h5 {
  font-size: 1rem;
}
h6 {
  font-size: 1rem;
}
p {
  margin-bottom: 1rem;
  font-size: 1rem;
}
/* Typography - Mobile */
@media (max-width: 768px) {
  h1 {
    font-size: 1.36rem;
  }
  h2 {
    font-size: 1.24rem;
  }
  h3 {
    font-size: 1.18rem;
  }
  h4 {
    font-size: 1.1rem;
  }
  h5 {
    font-size: 1rem;
  }
  h6 {
    font-size: 1rem;
  }
  p {
    font-size: 1rem;
    line-height: 1.6;
    /* Increased line-height for easier reading on mobile */
  }
}
/* --------------------------------------------------------------------------
   Links & Images
-------------------------------------------------------------------------- */
a {
  text-decoration: none;
  font-weight: bold;
}
a:hover {
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  /* Optional slight rounding for modern look */
}
/* --------------------------------------------------------------------------
   Lists (ul, ol, li)
   ul: Square markers
-------------------------------------------------------------------------- */
ul, ol {
  margin-bottom: 1.2rem;
  padding-left: 1.5rem;
}
ul.wid80, ol.wid80 {
  width: 80%;
  margin-left: 10%;
}
ul {
  margin-top: 0.8em;
  list-style-type: square;
  /* Four-sided mark */
  color: var(--color-navy);
  /* Mark color */
}
ul li, ol li {
  margin-bottom: 0.5rem;
  color: var(--color-text);
  /* Restore text color */
}
/* Mark-less version */
ul.list-none {
  list-style-type: none;
  padding-left: 0;
}
ul.list-none li {
  padding-left: 0;
}
@media (max-width: 768px) {
  ul.wid80, ol.wid80 {
    width: 100%;
    margin-left: 0;
  }
}
/* --------------------------------------------------------------------------
   Definition Lists (dl, dt, dd)
-------------------------------------------------------------------------- */
dl {
  margin-bottom: 1.5rem;
}
dt {
  font-weight: bold;
  color: var(--color-sky);
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}
dd {
  margin-left: 0;
  margin-bottom: 1rem;
}
/* Horizontal version (Side-by-side) */
.dl-horizontal {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--color-border);
}
.dl-horizontal dt {
  width: 30%;
  /* PC Width */
  padding: 1rem 0;
  margin: 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
}
.dl-horizontal dd {
  width: 70%;
  /* PC Width */
  margin: 0;
  padding: 1rem 0 1rem 1rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
}
/* Stack vertically on mobile for horizontal DL */
@media (max-width: 768px) {
  .dl-horizontal dt, .dl-horizontal dd {
    width: 100%;
    border-bottom: none;
    padding: 0.5rem 0;
  }
  .dl-horizontal dt {
    border-top: 1px solid var(--color-border);
    padding-top: 1rem;
  }
  .dl-horizontal dd {
    padding-bottom: 1rem;
    padding-left: 0;
  }
}
/* --------------------------------------------------------------------------
   FAQ (dl, dt, dd)
-------------------------------------------------------------------------- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  padding: 12px;
}
/* 質問(dt)と回答(dd)の共通設定 */
.faq-list dt, .faq-list dd {
  display: flex; /* Flexboxを適用 */
  align-items: flex-start; /* 上揃え */
  margin: 0;
  padding: 8px 0;
  color: white;
}
/* 質問(dt)のスタイル */
.faq-list dt {
  font-weight: bold;
}
/* 回答(dd)のスタイル */
.faq-list dd {
  border-bottom: 1px solid #eee;
  margin-bottom: 10px;
}
/* QとAの共通擬似要素設定 */
.faq-list dt::before, .faq-list dd::before {
  flex-shrink: 0; /* マークが潰れないように固定 */
  width: 1.8em; /* マーク分の幅を確保 */
  font-weight: bold;
  font-size: 1.1em;
}
/* Qのマーク */
.faq-list dt::before {
  content: "Q";
  color: #dda0dd; /* 質問の色 */
}
/* Aのマーク */
.faq-list dd::before {
  content: "A";
  color: #40e0d0; /* 回答の色 */
}
.faq-list dd span {
  flex: 1; /* 残りの幅をすべて専有させる */
}
/* --------------------------------------------------------------------------
   Tables
   Borders required.
   Wrapper for mobile scroll.
-------------------------------------------------------------------------- */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  border: 1px solid #dcdcdc;
}
table {
  margin-bottom: 0.5rem; /*マージンを少なく*/
}
th, td {
  border: 1px solid #dcdcdc;
  /* Requested border */
  padding: 0.5rem;
  text-align: left;
  vertical-align: top;
  box-sizing: border-box;
}
th {
  background-color: #ebf6f7;
  color: var(--color-navy);
  font-weight: bold;
  /* white-space: nowrap; */
}
table th {
  width: 55%;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  table th {
    font-size: 0.9em;
  }
}
.widget th, .widget td {
  padding: 0.4rem;
  text-align: center;
  vertical-align: middle;
}
/* Horizontal Scroll Wrapper for Mobile */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  margin-bottom: 1.5rem;
  border: 1px solid transparent;
  /* Fix for reliable scroll width */
}
/* --------------------------------------------------------------------------
   Forms
-------------------------------------------------------------------------- */
form {
  margin-bottom: 2rem;
}
.form-group {
  margin-bottom: 1.5rem;
}
label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: var(--color-navy);
}
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="url"], input[type="search"], textarea, select {
  width: 100%;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  color: var(--color-text);
  background-color: #fff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  appearance: none;
  /* Normalize UI */
  transition: border-color 0.3s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(0, 149, 217, 0.2);
}
textarea {
  resize: vertical;
  /* Allow vertical resize only */
}
/* --------------------------------------------------------------------------
	Buttons 
-------- */
.btn {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s, opacity 0.3s;
}
.btn-primary {
  background-color: var(--color-blue);
  color: white;
}
.btn-primary:hover {
  background-color: var(--color-navy);
  color: white;
  opacity: 1;
  /* Reset default opacity change */
}
.btn-primline {
  border: 3px solid var(--color-blue);
  color: var(--color-blue);
}
.btn-primline:hover {
  border: 3px solid #999;
  color: #333;
}
.btn-line {
  border-bottom: 2px solid var(--color-blue);
  color: var(--color-blue);
  border-radius: 0px;
  padding: 0.3rem 1.2rem;
}
.btn-line:hover {
  border-bottom: 2px solid #999;
  color: #333;
  border-radius: 0px;
}
.btn-secondary {
  background-color: #eee;
  color: #333;
}
.btn-secondary:hover {
  background-color: #ddd;
}
/* Mobile tweaks for form */
@media (max-width: 768px) {
  input[type="text"], input[type="email"], textarea, select {
    font-size: 16px;
    /* Prevent zoom on iOS */
  }
}
/* --------------------------------------------------------------------------
   Other Recommended Tags
-------------------------------------------------------------------------- */
blockquote {
  border-left: 5px solid var(--color-sky);
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  background-color: #f9f9f9;
  color: var(--color-text-light);
}
hr {
  /* デフォルトのボーダーをリセット */
  border: none;
  /* 線の太さと色を指定 */
  border-top: 2px solid #ffffff;
  /* 上下の余白（上下に20px、左右は0） */
  margin: 20px 0;
  /* 線の透明度を調整したい場合はここ（任意） */
  opacity: 0.1;
}
hr.line {
  /* デフォルトのボーダーをリセット */
  border: none;
  /* 線の太さと色を指定 */
  border-top: 1px solid #dcdcdc;
  /* 上下の余白（上下に20px、左右は0） */
  margin: 20px 0;
  /* 線の透明度を調整したい場合はここ（任意） */
  opacity: 1;
}
small {
  font-size: 0.8rem;
}
strong {
  font-weight: 700;
}
em {
  font-style: italic;
  background: linear-gradient(transparent 60%, var(--color-yellow) 60%);
  /* Marker style */
  padding: 0 2px;
}
code {
  background-color: #f4f4f4;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-family: monospace;
  font-size: 0.9em;
  color: var(--color-green);
  /* Use Green for code */
}
pre {
  background-color: #f4f4f4;
  padding: 1rem;
  overflow-x: auto;
  border-radius: 4px;
}
/* --------------------------------------------------------------------------
	Layout Flexbox 
		and Grid 2col-4col MobileFirst
-------------------------------------------------------------------------- */
.item {}
.item.box {
  padding: 12px;
  box-sizing: border-box; /* widthの中にpaddingを含める設定 */
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}
.item.center {
  text-align: center;
}
/* --------------------------------------------------------------------------
   MOBILE FIRST STYLES (Default: 1 Column)
-------- */
/* Flexbox Base (Mobile: 1 column) */
.flex-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px; /* アイテム間の隙間 */
}
.flex-container .item {
  width: 100%;
}

/* Grid Base */
.grid-container {
  display: grid;
  gap: 24px;
  /* Space between items */
  grid-template-columns: 1fr;
  /* 1 col on mobile */
}
/* --------------------------------------------------------------------------
   TABLET STYLES (768px - 1023px)
-------- */
@media (min-width: 768px) {
  /* 3枚並び (flex_431のタブレット時) */
  .flex_431 .item {
    width: calc((100% - (24x * 2)) / 3);
  }
  /* 2枚並び (flex_321, flex_221のタブレット時) */
  .flex_321 .item, .flex_221 .item {
    width: calc((100% - 24px) / 2);
  }
}
/* --------------------------------------------------------------------------
   DESKTOP STYLES (1024px and up)
-------- */
@media (min-width: 1024px) {
  /* 4枚並び */
  .flex_431 .item {
    width: calc((100% - (24px * 3)) / 4);
  }
  /* 3枚並び */
  .flex_321 .item {
    width: calc((100% - (24px * 2)) / 3);
  }
  /* 2枚並び */
  .flex_221 .item {
    width: calc((100% - 24px) / 2);
  }
}
/* --------------------------------------------------------------------------
   DESKTOP / TABLET STYLES (Media Query)
-------- */
@media (min-width: 768px) {
  /* --- FLEXBOX PATTERNS --- */
  /* 2 Columns: (100% - gap) / 2 */
  .flex-2 .item {
    width: calc((100% - 24px) / 2);
  }
  /* 3 Columns: (100% - 2*gap) / 3 */
  .flex-3 .item {
    width: calc((100% - 48px) / 3);
  }
  /* 4 Columns: (100% - 3*gap) / 4 */
  .flex-4 .item {
    width: calc((100% - 72px) / 4);
  }
  /* --- GRID PATTERNS --- */
  /* 2 Columns */
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  /* 3 Columns */
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  /* 4 Columns */
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}
/* --------------------------------------------------------------------------
   Left-Col / Right-Col Design
-------- */
.flex-container.layout-1, .flex-container.layout-2, .flex-container.layout-3 {
  display: flex;
  gap: 24px;
  width: 100%;
  margin-bottom: 6px;
  /* border: 1px solid #dcdcdc; */
}
.flex-container > div.left-item, .flex-container > div.right-item {
  padding: 10px;
  box-sizing: border-box; /* paddingを幅に含める設定 */
}
/* レイアウト1 (30% : 70%) */
.layout-1 .left-item {
  /* gap(24px)の30%分を引くことで正確な比率を維持 */
  flex: 0 0 calc(30% - (20px * 0.7));
}
.layout-1 .right-item {
  flex: 1; /* 残り幅すべて */
}
/* レイアウト2 (40% : 60%) */
.layout-2 .left-item, .layout-3 .left-item {
  flex: 0 0 calc(40% - (20px * 0.6));
}
.layout-2 .right-item, .layout-3 .right-item {
  flex: 1; /* 残り幅すべて */
}
/* スマホ表示 (横並び解除) Layout-3は解除しない */
@media (max-width: 768px) {
  .flex-container.layout-1, .flex-container.layout-2 {
    flex-direction: column;
  }
  .flex-container.layout-1 > div.left-item, .flex-container.layout-1 > div.right-item .flex-container.layout-2 > div.left-item, .flex-container.layout-2 > div.right-item {
    flex: 0 0 100% !important; /* 全幅にする */
  }
}
/* --------------------------------------------------------------------------
   Press Card PC2 / Mobile1
-------------------------------------------------------------------------- */
/* グリッド全体の設定 */
/* カード単体の設定 */
.box2 {
  padding: 12px;
  box-sizing: border-box; /* widthの中にpaddingを含める設定 */
  text-decoration: none;
  text-align: center;
  color: #333;
  /* border: 1px solid #eee; */
  /* transition: transform 0.2s ease, box-shadow 0.2s ease; */
  /* background: #fff; */
}
/* ホバー時の演出（デザイナーらしい微細な動き） */
.box2:hover {
  /* transform: translateY(-4px); */
  /* box-shadow: 0 8px 20px rgba(0,0,0,0.1); */
}
/* --------------------------------------------------------------------------
 モーダルウィンドゥ
-------------------------------------------------------------------------- */
.pdf-thumbnail {
  padding: 0;
  margin: 0;
  height: auto;
  cursor: pointer;
  border: 1px solid #ccc;
  border-radius: 1px;
  transition: transform 0.3s ease;
}
.pdf-thumbnail img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* 追加設定 */
}
.pdf-thumbnail:hover {
  transform: scale(1.05);
} 
/* テキスト情報部分 */
.pdf-info {
  padding: 0;
  margin: 12px auto;
}
.pdf-name {
  font-size: 1rem;
  line-height: 1.2;
}
.pdf-meta {
  font-size: 0.8rem;
  color: #19448e;
  margin-top: 4px;
}


/* --------------------------------------------------------------------------
 シェアボタン
-------------------------------------------------------------------------- */
/* ボタン全体を囲むコンテナ */
.share-container {
  width: 100%; /* 横幅いっぱい確保 */
  display: flex; /* flexボックスにする */
  justify-content: center; /* 左右中央に配置 */
  margin: 12px 0; /* 前後の余白（適宜調整） */
}
/* リストの設定 */
.share-list {
  display: flex;
  list-style: none;
  padding: 8px 0; /* 上下に少し余白を足すとさらに誤タップ防止 */
  margin: 0;
  gap: 30px; /* アイコン同士の間隔 */
}
/* 各アイテムの設定 */
.share-item a {
  text-decoration: none;
  font-size: 24px; /* アイコンのサイズ */
  width: 48px; /* ボタンの幅 */
  height: 48px; /* ボタンの高さ */
  display: flex;
  align-items: center; /* アイコンを上下中央に */
  justify-content: center; /* アイコンを左右中央に */
  border-radius: 50%; /* 正円にする */
  transition: transform 0.3s ease, opacity 0.3s ease;
  color: #fff;
  /* 白シャドー */
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.7);
}
.share-item a:hover {
  color: #fff;
}
/* ブランドカラー */
.fb a {
  background-color: #1877f2;
}
.x-corp a {
  background-color: #000;
}
.line a {
  background-color: #06c755;
}
/* ホバー演出 */
.share-item a:hover {
  opacity: 0.8;
  transform: translateY(-3px);
}
/* --------------------------------------------------------------------------
   SNS ICON
   -------------------------------------------------------------------------- */
/*.facebook_marks::after,
.facebook_marks::before,
.instagram_marks::after,
.instagram_marks::before,
.line_marks::after,
.line_marks::before,
.x_marks::after,
.x_marks::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
}
.facebook_marks::before {
  -webkit-mask-image: url("./svgimg/facebook_0866ff.svg");
  mask-image: url("./svgimg/facebook_0866ff.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  background-color: #0866ff; 
  vertical-align: bottom;
  margin-right: 6px;
}
.instagram_marks::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  -webkit-mask-image: url("./svgimg/instagram.svg");
  mask-image: url("./svgimg/instagram.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  background-color: #E1306C; 
  vertical-align: bottom;
  margin-right: 6px;
}
.line_marks::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  -webkit-mask-image: url("./svgimg/line_00c300.svg");
  mask-image: url("./svgimg/line_00c300.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat
  background-color: #06C755;
  vertical-align: bottom;
  margin-right: 6px;
}
.x_marks::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  -webkit-mask-image: url("./svgimg/x_000000.svg");
  mask-image: url("./svgimg/x_000000.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  background-color: #000000; 
  vertical-align: bottom;
  margin-right: 6px;
}*/

/* --------------------------------------------------------------------------
   Facebook Container
   -------------------------------------------------------------------------- */
/* Facebook Page Pluginのラッパー */
.fb-page-wrapper {
  width: 100%;
  max-width: 500px; /* 最大幅を指定 */
  margin: 0 auto;
  overflow: hidden;
}
/* スマートフォン向けの調整 */
.fb-container {
  overflow: hidden; /* はみ出し防止 */
  text-align: center;
}
@media screen and (max-width: 480px) {
  .fb-page {
    /* モバイルで読み込み待ちの時の高さを確保 */
    min-height: 500px;
  }
}
/* --------------------------------------------------------------------------
   Google Map Container
   -------------------------------------------------------------------------- */
/* コンテナのスタイル */
.map-container {
  width: 100%; /* 親要素に対して100% */
  max-width: 450px; /* 450px以上には大きくならない */
  margin: 0 auto; /* 必要であれば中央寄せ */
}
.map-container iframe {
  width: 100% !important; /* HTML側のwidth属性を上書き */
  aspect-ratio: 1 / 1; /* 縦横比を1:1（正方形）に保つ */
  height: auto; /* 高さはアスペクト比に任せる */
}
/* スマートフォン向けの調整 */
@media (max-width: 768px) {
  .google-doc-container {
    padding: 15px;
  }
  .doc-title {
    font-size: 1.2rem;
  }
  .iframe-wrapper {
    padding-top: 150%; /* スマホ向けに高さを増やす */
  }
}