@charset "UTF-8";

/* =========================================================
   Reset / Base
   - 元CSSのリセットを整理しつつ、モダンに最適化
   - フォントは日本語向けサンセリフ
   ========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
}

html {
  font-size: 16px;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  font-family:
    "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3",
    "Hiragino Kaku Gothic Pro", "游ゴシック体",
    "Yu Gothic", "ＭＳ ゴシック", Arial, sans-serif;
  color: #222;
  background-color: #fff;
}

body {
  background-color: #fff;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* アクセシビリティ: skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  background: #fff7c4;
  color: #000;
  font-weight: bold;
  z-index: 9999;
  display: inline-block;
  border: 2px solid #000;
  border-radius: 0.25rem;
}

/* =========================================================
   Layout Helpers
   ========================================================= */
.container {
  max-width: 750px;        /* デザイン原寸: 画像横幅750pxベース */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.img-fluid {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  border: 1px solid #ccc;
  background-color: #fff;
}

/* セクション共通 */
.block {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

.section-title,
.block-heading,
.site-title {
  font-weight: 700;
  line-height: 1.3;
  color: #005d87; /* OK系の青トーンから引用 */
  text-shadow: 0 1px 1px rgba(0,0,0,0.05);
}

/* =========================================================
   Header / Hero
   ========================================================= */
.site-header {
  background: linear-gradient(#0093B5, #00769E);
  color: #fff;
  padding-top: 1rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #00355F;
  text-shadow: 0 1px 1px rgba(0,0,0,0.4);
}

.brand-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  color: #e0faff;
  margin-bottom: 0.25rem;
}

.site-title {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.site-lead {
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 1rem;
}

.hero-visual {
  border: 1px solid #36A0BE;
  border-radius: 0.5rem;
  overflow: hidden;
  background-color: #005d87;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  margin-bottom: 1.5rem;
}

.hero-visual img {
  border-radius: 0.5rem;
  border: 0;
}

/* TOPICS */
.topics .section-title {
  font-size: 1.125rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.topics-desc {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.topics-banner img {
  border-radius: 0.5rem;
  border: 1px solid #36A0BE;
  background-color: #005d87;
}

/* =========================================================
   Card List (Pachinko / Slot machines)
   ========================================================= */
.block-heading {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  color: #fff;
  border-radius: 0.5rem;
  border: 1px solid #005581;
  text-shadow: 0 1px 1px rgba(0,0,0,0.4);
  background: linear-gradient(#3EADC6, #349DBC);
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* リストレイアウトをフレックスで折り返し */
.card-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}

.card-item {
  width: 50%;
  padding: 0.5rem;
}

/* 画像はすでに100%でOKならそのままでOK */
.img-fluid { width: 100%; height: auto; display: block; }

/* 動画コンテナ：100%幅に固定し、上下に余白を追加（上だけでもOK） */
.card-item .video-embed {
  width: 100% !important;      /* 既存の max-width を打ち消す */
  margin-top: 16px;            /* バナーと動画の間隔 */
  position: relative;
  height: 0;                   /* パディングハックで比率維持 */
  padding-top: 56.25%;         /* 16:9 (=9/16*100) */
  background: #000;
  overflow: hidden;            /* 念のためはみ出し防止 */
  box-sizing: border-box;
}

/* 埋め込み本体：親の中で全面フィット */
.card-item .video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
  display: block;
  max-width: none !important;  /* 既存の max-width を強制無効化 */
}

/* もし全サイトで iframe に制限がある場合の保険 */
iframe { max-width: none; }

@media (min-width: 480px) {
  .card-item {
    width: 33.3333%;
  }
}

.card-link {
  display: block;
  text-decoration: none;
  color: #1C140D;
  border-radius: 0.5rem;
  background: linear-gradient(#fff, #e6e6e6);
  border: 1px solid #aeaeae;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  transition: box-shadow .15s;
}

.card-link:hover,
.card-link:focus {
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.card-figure {
  width: 100%;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid #F25A4F;
  background-color: #F25A4F;
}

.card-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

/* =========================================================
   Store Section (GEO最重要)
   ========================================================= */
.store-card {
  background: linear-gradient(#DFDFDF, #C1C1C1);
  border-radius: 0.75rem;
  border: 1px solid #929292;
  padding: 1rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  margin-bottom: 1.5rem;
  color: #1C140D;
}

.store-media {
  margin-bottom: 1rem;
}

.store-image img {
  border-radius: 0.5rem;
  border: 1px solid #36A0BE;
  background-color: #005d87;
}

.store-body {
  font-size: 0.95rem;
  color: #1C140D;
}

.store-catch {
  color: #0086AC;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.store-info {
  display: grid;
  grid-template-columns: minmax(5em, 7em) 1fr;
  row-gap: 0.75rem;
  column-gap: 1rem;
  font-size: 0.9rem;
}

.store-info-row {
  display: contents; /* dt/ddを2カラムで並べる */
}

.store-info dt {
  font-weight: 700;
  color: #005d87;
  line-height: 1.4;
}

.store-info dd {
  line-height: 1.4;
  color: #1C140D;
}

.store-links ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  padding: 0;
}

.store-links a {
  display: inline-block;
  font-size: 0.85rem;
  color: #005d87;
  background-color: #fff;
  border: 1px solid #008BAE;
  border-radius: .5rem;
  padding: .5rem .75rem;
  text-decoration: none;
  box-shadow: 0 0 0 1px #252525;
  background-image: linear-gradient(#009EDB, #005D87);
  color: #FFEBE1;
  text-shadow: 0 1px 1px rgba(0,0,0,0.4);
}
.store-links a:hover,
.store-links a:focus {
  opacity: .9;
}

/* MAP iframe wrapper */
.map-wrap {
  margin-top: 1.5rem;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid #ccc;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.map-embed {
  display: block;
  width: 100%;
  min-height: 280px;
  border: 0;
}

/* =========================================================
   FAQ (AEO)
   ========================================================= */
.block-faq .block-heading {
  margin-bottom: 1.5rem;
}

.faq-list {
  border-top: 1px dotted #C1C1C1;
  font-size: 0.95rem;
}

.faq-item {
  padding: 1rem 0;
  border-bottom: 1px dotted #C1C1C1;
}

.faq-q {
  font-weight: 700;
  color: #0086AC;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.faq-a {
  color: #1C140D;
  line-height: 1.5;
}

/* =========================================================
   Utility / misc
   ========================================================= */
.goto-top {
  text-align: right;
  margin-top: 1.5rem;
}
.goto-top-link {
  font-size: 0.8rem;
  color: #F25A4F;
  text-decoration: none;
}
.goto-top-link:hover,
.goto-top-link:focus {
  text-decoration: underline;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  border-top: 1px dotted #C1C1C1;
  margin-top: 3rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
  background-color: #f9f9f9;
}

.footer-copy {
  font-style: normal;
  font-size: 0.8rem;
  color: #0086AC;
  text-align: center;
  line-height: 1.6;
}

.footer-copy a {
  color: #005d87;
  text-decoration: underline;
}

.legal-note {
  color: #777;
  font-size: 0.7rem;
  margin-top: 0.5rem;
}

/* =========================================================
   Links
   ========================================================= */
a {
  color: #005d87;
  text-decoration: none;
}
a:hover,
a:focus {
  text-decoration: underline;
}
