html {
  line-height: 1.75;
  font-family: Verdana, "Meiryo", "Hiragino Kaku Gothic ProN",
    "Hiragino Kaku Gothic Pro", sans-serif;
  word-wrap: break-word;
}

body {
  margin: 0;
  padding: 20px;
  background-color: #ffffff;
  background-image: linear-gradient(#def6ff 1px, transparent 1px),
    linear-gradient(90deg, #def6ff 1px, transparent 1px);
  background-size: 32px 32px;
  font-size: 15px;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

h1 {
  margin: 0 0 24px 0;
  text-align: center;
}

h2 {
  display: block;
  margin-top: 0;
  border-bottom: 1px solid #cccccc;
  padding-bottom: 8px;
  margin-bottom: 24px;
  font-size: 1.25rem;
}

p {
  margin-top: 0;
  margin-bottom: 1.5em;
}
p:last-child {
  margin-bottom: 0;
}

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

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  border-radius: 12px;
}

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

.content-box {
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 24px -6px rgba(51, 153, 204, 0.15),
    0 4px 8px -4px rgba(51, 153, 204, 0.1);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 40px;
}

/* =========================================
* 余白
* ========================================= */
.mb32 {
  margin-bottom: 32px;
}

/* =========================================
* 文字サイズ
* ========================================= */
.font-xsmall {
  font-size: 0.75rem;
}

.font-xlarge {
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.4;
  display: block;
  margin-bottom: 0.5em;
}

.font-bold {
  font-weight: bold;
}

/* =========================================
* スマホ・PC調整
* ========================================= */
.sp-only {
  display: block;
}

.pc-only {
  display: none;
}

/* =========================================
* 背景
* ========================================= */
.bg-white {
  background: #fefefe;
}

/* =========================================
* ビデオ埋め込み動画
* ========================================= */
.vid_contents {
  width: 100%;
  text-align: center;
  margin-inline: auto;
  margin: 0 auto 40px auto;
}

.vid_main {
  width: 95%;
  max-width: 920px;
  margin: 0 auto;
  border-radius: 12px;
}

/* =========================================
* レイアウト枠（新規追加）
* ========================================= */
.main-wrapper {
  max-width: 1024px;
  margin: 0 auto;
  width: 100%;
}

.midashi {
  padding: 20px;
  font-size: 1.8em;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  letter-spacing: 0.1em;
}

/* =========================================
* 取材先リスト
* ========================================= */
.shop-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.shop-item {
  width: 100%;
  box-sizing: border-box;
}

.shop-item img {
  margin-bottom: 8px;
}

.bbf {
  position: relative;
  background-color: #f4fbff;
  border: 1px solid #d0eef9;
  box-shadow: none;
  padding: 1em 0.8em;
  color: #454545;
  margin-top: 16px;
  margin-bottom: 32px;
  text-align: left;
  border-radius: 12px;
}

/* =========================================
番組内容画像
* ========================================= */
.flex-container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.flex-item {
  width: 100%;
}

.flex-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.responsive-align-box {
  text-align: left;
}

/* ==========================================================================
見逃し配信
========================================================================== */
.haishin {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 0;
  box-sizing: border-box;
  width: 100%;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
}

.haishin li {
  width: auto;
  max-width: 240px;
}

.haishin img {
  width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  display: block;
}

/* =========================================
アニメーション設定
* ========================================= */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
タブレット以上
* ========================================= */
@media (min-width: 768px) {
body {
  font-size: 18px;
}


  .sp-only {
    display: none;
  }

  .pc-only {
    display: inline;
  }

  .responsive-align-box {
    text-align: center;
  }

  .flex-item {
    width: calc(50% - 8px);
  }

  .content-box {
    padding: 40px;
    margin-bottom: 64px;
  }

  .shop-item {
    width: calc(50% - 12px);
  }
  
  h2 {
    font-size: 1.875rem;
  }

  .text-cast {
    font-size: 1.25rem;
    line-height: 2;
  }

  .bbf {
    padding: 2em 1.8em;
  }

  .haishin {
    flex-direction: row;
    align-items: center;
  }

  .haishin li {
    width: 240px;
  }

  .haishin > ul {
    width: calc(33.333333333333336% - 10.666666666666666px);
    max-width: none;
  }
}
