* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  background: #e3f1fa;
  color: #3b6edc;
  line-height: 1.6;
}

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

h4{
  text-align: center;
  margin-top: 50px;
}

.bus-box h4  {
  text-align: center;
  margin-top: 10px;
}

.kigyo_p  {
  margin: 20px 0;
  text-align: center;
}

hr{
  margin-top: 80px;
}

/* Hero */
.hero {
  position: relative;
}

.hero img {
  width: 100%;
  display: block;
}

/* scroll */
.scroll-icon {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 52px;
  border: 2px solid #fff;
  border-radius: 20px;
  opacity: 0.9;
}

.scroll-icon span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  transform: translateX(-50%);
  animation: scroll 1.5s infinite;
}


/* Layout */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 16px;
  background: #e3f1fa;
}

/* Card */
.card {
  border: 2px solid #3b6edc;
  padding: 24px;
  margin-bottom: 32px;
}

.highlight {
  text-align: center;
  font-weight: bold;
}

/* News */
.news {
  list-style: none;
}

.news li {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.news span {
  font-weight: bold;
  margin-right: 8px;
}

/* Title */
.title {
  text-align: center;
  margin: 32px 0;
}

.title h1 {
  font-size: 1.4rem;
}

.title p {
  font-weight: bold;
}

.title_font {
  font-size: 1.5rem;
}

.title_font02 {
  font-size: 1.5rem;
  font-weight: 500;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 20px;
}

/* Section title */
.section-title {
  text-align: center;
  margin: 24px 0 16px;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.image-box {
  width: 100%;
  aspect-ratio: 4 / 3;   /* 枠の比率を固定 */
  overflow: hidden;
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: scale-down;    /* 枠いっぱいに収める */
  object-position: center;
}

/* Large boxes */
.large-box {
  border: 2px solid #3b6edc;
  height: 160px;
}

/* ===== spicy section ===== */
#spicy {
  /*background: #fff;*/
  padding: 60px 20px;
}

.spicy-title {
  color: #ffd800;
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
  font-weight: bold;
}

/* グリッド */
.spicy-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* 全体 */
.spicy-item {
  margin-bottom: 50px;
  border-bottom: 2px #2f3e5c dotted;
  padding-bottom: 5px;
  background-color: #fff;
}

/* 上部 店舗名 */
.spicy-shop {
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #ffd800; /* テイストに合わせて調整 */
  background-color: #231815;
  padding: 5px 0;
}

.spicy-shop02 {
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #231815; /* テイストに合わせて調整 */
  background-color: #ffd800;
  padding: 5px 0;
}

.spicy-shop03 {
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #ffd800; /* テイストに合わせて調整 */
  background-color: #d80c1e;
  padding: 5px 0;
}

.spicy-shop04 {
  font-size: 0.9rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #ffd800; /* テイストに合わせて調整 */
  background-color: #d80c1e;
}

/* 下部 */
.spicy-content {
  display: flex;
  align-items: center; /* ← 縦中央 */
  gap: 30px;
}

/* 左テキスト */
.spicy-text {
  flex: 1;
  padding: 0 5px;
}

.spicy-name {
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.spicy-desc {
  font-size: 0.8rem;
  line-height: 1.1;
  color: #231815;
}

/* 右画像 */
.spicy-image {
  flex: 0 0 40%;
  padding: 0 5px;
  align-self: flex-start; /* ← 上端揃え */
}

.spicy-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* schedule */
#schedule {
  padding: 80px 0px;
  /*background: #e9f6fb;*/
}

#schedule .section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}
#schedule .schedule-title{
  margin-top: 10px;
  font-weight: 700;
}

  /* 2カラム */
  .schedule-wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  /* 日付カラム */
  .schedule-day {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  }

  .day-title {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 24px;
    border-bottom: 2px solid #0b6fa4;
    padding-bottom: 8px;
  }

  /* リスト */
  .schedule-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .schedule-item {
    display: grid;
    grid-template-columns: 1fr 180px;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px dashed rgba(0,0,0,0.3);
  }

  .schedule-text {
  display: flex;
  flex-direction: column; /* ← 縦並び */
  align-items: flex-start; /* ← 左寄せ */
  }

  .schedule-text .time {
    font-weight: bold;
    color: #0b6fa4;
    margin-bottom: 6px;
  }

  .schedule-text .title {
    font-weight: bold;
    margin-bottom: 4px;
  }

  .schedule-text .note {
    font-size: 0.85rem;
    color: #666;
  }

  .schedule-text .note-sub {
    font-size: 0.85rem;
    color: #fff;
    background-color: #2f3e5c;
    padding: 5px;
    margin-top: 5px;
  }

  /* 内容 */
  .content .title {
    font-weight: bold;
    margin-bottom: 50px;
  }

  .schedule-item.no-image {
    grid-template-columns: 1fr;
  }

  /* 右側画像 */
  .schedule-image img {
    width: 100%;
    height: 120px;
    object-fit: cover; /* 枠内に収める */
    border-radius: 8px;
  }

  /* 画像を枠内に */
  .content img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
  }

/* map */
#map {
  padding: 20px 0px;
  /*background: #f5f8fa;*/
}

#map .section-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 32px;
}

#map .map-area {
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* access */
#access {
  padding: 20px 0px;
  /*background: #f5f8fa;*/
}

#access .section-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 32px;
}

#access .access-area {
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  padding: 16px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* bus_time */
.access-section {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 30px;
}

/* セッション */
.access-session {
  margin-bottom: 50px;
}

.session-title {
  text-align: center;
  color: #fff;
  padding: 10px;
  font-size: 1.4rem;
  margin-top: 50px;
}

.day-21 { background: #4db2e5; }
.day-22 { background: #e83c2f; }

/* バスエリア */
.bus-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 5px;
}

.bus-box {
  border: 0px solid #999;
}

/* 見出し */
.bus-title {
  color: #fff;
  text-align: center;
  padding: 8px;
  font-weight: bold;
}

.blue { background: #0bb3b0; }
.green { background: #1fad5f; }

/* 時刻 */
.time-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}

.time-list li {
  padding: 8px;
  text-align: center;
  border-bottom: 1px solid #aaa;
  border-right: 1px solid #aaa;
  border-left: 1px solid #aaa;
}

.blue-bg li:nth-child(odd) {
  background: #d9f1f2;
}

.green-bg li:nth-child(odd) {
  background: #bfe4c4;
}

.end {
  font-weight: bold;
}

/* title */
.notice-title {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px 40px;
  margin-top: 50px;
  border-bottom: 6px solid #2f3e5c;
}

/* 左の斜線アクセント */
.notice-title .accent {
  width: 50px;
  height: 70px;
  background: repeating-linear-gradient(
    135deg,
    #ffd83d,
    #ffd83d 6px,
    transparent 6px,
    transparent 12px
  );
  flex-shrink: 0;
}

/* テキスト */
.notice-title h2 {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 800;
  color: #231815;
  letter-spacing: 0.05em;
}

/* 横並びレイアウト */
.access-inner {
  max-width: 1100px;
  margin: 30px auto 0;
  display: flex;
  align-items: stretch; /* ← 高さを揃える */
  gap: 40px;
}

/* 画像 */
.access-image {
  flex: 1;
}

.access-image img {
  width: 100%;
  height: auto;     /* ← 高さは画像任せ */
  display: block;
}


/* テキスト */
.access-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center; /* ← 常に縦中央 */
}

.access-text h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.access-text p {
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1.1rem;
  font-weight: 500;
  color: #231815;
}

.access-text ul {
  padding-left: 20px;
}

.access-text li {
  margin-bottom: 10px;
}

.bus_route-title {
  text-align: center;
  color: #fff;
  padding: 10px;
  font-size: 1.4rem;
  margin-top: 50px;
  background-color: #203e95;
}
.bus_route_contents{
  text-align: center;
}

.bus_route_p  {
  margin: 10px 0;
  padding: 10px;
  background-color: #e3f1fa;
  font-size: 1.3rem;
  color: #231815;
  font-weight: 700;
}

/* kigyo */
/* セクション */
.kyosan {
  margin: 80px 0;
}

/* タイトル */
.kyosan-title {
  text-align: center;
  font-size: 1.5rem;
  /*font-weight: bold;*/
  margin-bottom: 40px;
}

/* 一覧 */
.kyosan-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* 各社 */
.kyosan-item {
  background: #fff;
  border-radius: 10px;
  padding: 5px 10px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

/* 企業名 */
.kyosan-name {
  font-size: 1rem;
  /*font-weight: bold;*/
  margin-bottom: 0px;
  margin-top: 10px;
}

/* アイコン */
.kyosan-links {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.kyosan-links a {
  font-size: 1.4rem;
  text-decoration: none;
  color: #fff;
  transition: color 0.3s, transform 0.3s;
}

.kyosan-links a:hover {
  color: #ffd800;
  transform: scale(1.15);
}

.icon{
  width: 30px;
  margin: 0;
  padding: 0;
}

/* Sponsors */
.sponsor-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* ← 4列 */
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.sponsor-list li {
  /*background: #fff;*/
  /*padding: 12px;*/
  text-align: center;
  border-radius: 6px;
  font-size: 0.9rem;
}

/* Footer */
.footer {
  background-image: url(./images/footer_backimage.png);
  background-repeat: repeat-x;
  background-size: auto;
  color: #04228e;
  text-align: center;
  padding: 24px 16px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Hamburger */
.hamburger {
  position: fixed;
  top: 16px;
  right: 16px;   /* ← 右上 */
  width: 32px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #fff;
  margin-bottom: 6px;
  transition: 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Drawer menu */
.drawer {
  position: fixed;
  top: 0;
  right: -260px;     /* ← 右側に隠す */
  width: 240px;
  height: 100%;
  background: #203e95;
  padding-top: 80px;
  transition: 0.3s;
  z-index: 1000;
}

.drawer.open {
  right: 0;
}

.drawer ul {
  list-style: none;
}

.drawer li {
  margin-bottom: 16px;
}

.drawer a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  padding: 12px 24px;
  display: block;
}

.drawer a:hover {
  background: #3b6edc;
}

/* Adjust hero for fixed menu */
.hero {
  margin-top: 0;
}

.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: #3b6edc;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 1000;
}

.to-top.show {
  opacity: 1;
  visibility: visible;
}

.to-top:hover {
  background: #274fa5;
}

/* animation */


#snow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.snowflake {
  position: absolute;
  top: -10px;
  background: white;
  border-radius: 50%;
  opacity: 0.8;
  animation-name: fall, sway;
  animation-timing-function: linear, ease-in-out;
  animation-iteration-count: infinite, infinite;
}

/* dowenload */
.pamphlet-download {
  text-align: center;
  margin: 60px 0;
}

.download-btn {
  display: inline-block;
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #fff;
  background: #04228e; /* 通常：黄色 */
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* マウスオン */
.download-btn:hover {
  background: #3b6edc; /* 赤 */
  color: #999;
  transform: translateY(-2px);
}

/* snow */
/* 雪全体 */
.snow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* クリック阻害しない */
  z-index: 9999;
}

/* 雪1つ */
.snow span {
  position: absolute;
  top: -10px;
  color: #fff;
  animation: fall linear infinite;
}

/* ===== Responsive ===== */

@media (max-width: 1024px) {
  .sponsor-list {
    grid-template-columns: repeat(2, 1fr); /* タブレット */
  }

  .spicy-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .kyosan-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .sponsor-list {
    grid-template-columns: repeat(2, 1fr); /* スマホ */
  }

  /*.spicy-grid {
    grid-template-columns: 1fr;
  }*/

  .kyosan-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .schedule-wrap {
    grid-template-columns: 1fr;
  }

  .schedule-item {
    flex-direction: column;
  }

  .time {
    min-width: auto;
  }

  .schedule-item02 {
    grid-template-columns: 1fr;
  }

  .schedule-image02 img {
    height: 160px;
  }
  .bus-wrap {
    grid-template-columns: 1fr;
  }

  .time-list {
    grid-template-columns: repeat(3, 1fr);
  }
  .notice-title {
    padding: 20px;
    gap: 15px;
  }

  .notice-title h2 {
    font-size: 1.5rem;
  }

  .notice-title .accent {
    width: 35px;
    height: 55px;
  }
  .access-inner {
    flex-direction: column;
  }

  .access-text {
    justify-content: flex-start; /* 縦中央解除 */
  }

  .section-title {
    font-size: 1.6rem;
  }

  .access-text h3 {
    font-size: 1.3rem;
  }
  
  #spicy .spicy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* カード間の余白調整 */
  #spicy .spicy-item {
    margin-bottom: 0;
  }

  /* スマホでは中身を縦並びにする（重要） */
  #spicy .spicy-content {
    flex-direction: column;
    align-items: flex-start;
  }

  /* 画像は横幅いっぱい */
  #spicy .spicy-image {
    width: 100%;
    align-self: stretch;
  }

  #spicy .spicy-image img {
    width: 100%;
    height: auto;
  }

  /* 文字サイズ微調整（読みやすさUP） */
  #spicy .spicy-shop {
    font-size: 1rem;
    text-align: center;
  }

  #spicy .spicy-shop02 {
    font-size: 1rem;
    text-align: center;
  }

  #spicy .spicy-shop03 {
    font-size: 1rem;
    text-align: center;
  }

  #spicy .spicy-name {
    font-size: 1.05rem;
  }

  /* 説明文は最大3行まで */
  #spicy .spicy-desc {
    display: block;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    overflow: visible;
  }
}

@keyframes scroll {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 16px);
  }
}

@keyframes fall {
  0% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(110vh);
  }
}

@keyframes sway {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(var(--sway));
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes fall {
  0% {
    transform: translate(-10px, -10px);
  }
  100% {
    transform: translate(10px, 100vh);
  }
}

