@charset "utf-8";

body {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 400;
  font-style: normal;
}

p, h1, h2, h3, h4, h5 {
  font-family: "M PLUS Rounded 1c", sans-serif;
}

#nikke {
  width: 100%;
  background-color: #7ddaff;
  background-image: url("img/balloon.png");
  
  background-repeat: repeat-y; 
  background-position: center top; 
  background-size: 1700px auto; 

  font-size: 100%;
}

@media screen and (max-width: 768px) {
  #nikke {
    background-image: url("img/balloon-sp.png");

    background-size: 100% auto; 
    background-repeat: repeat-y;   
    
    background-position: center top;
  }
}

#nikkeCnt {
  width: 1024px;
  margin: 0px auto 0px; 
}

@media screen and (max-width: 768px) {
  #nikkeCnt {
    width: auto;    
    margin: 0 auto; 
    padding-bottom: 50px;
  }
}


/* =========================
   PC
========================= */
.nikkeBack {
  background-image: url("img/cloud.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto;

  margin-top: 30px;

  padding-top: 20px;   /* ←上の余白を少し確保 */
}


/* =========================
   SP
========================= */
@media screen and (max-width: 768px) {
  .nikkeBack {
    background-image: url("img/cloud-sp.png");

    margin: 30px 10px;
    padding: 20px 10px 0;

    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;

    /* min-height 消す or 最小に */
    min-height: auto;
  }
}

.nikkeGaiyo {
  text-align: center;
  width: 100%;
  padding: 20px 0 20px;
}

@media screen and (max-width: 768px) {
  .nikkeGaiyo {
    text-align: center;
    width: 100%;
    padding: 0 0 10px;
  }
}

.nikkeHeading {
  text-align: center;
  width: 100%;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: contain;
  padding-top: 55px; 
  padding-bottom: 30px;
  margin-top: 30px;
}

h2 {
  font-size: 24px;     /* 基準のサイズ（32px相当） */
}

.nikkeHeading .event-title {
  margin: 0;
  color: #05a7d3;
  font-weight: 500;
  transform: translateY(-30px); 
}

@media screen and (max-width: 768px) {

  h2 {
    font-size: 18px; 
  }

  .nikkeHeading .event-title {
    transform: translateY(-30px); /* 少し弱める */
  }
}

/* -------------------------------------- */

/* 【個別】画像だけを切り替える設定 */
.bg-date {
  background-image: url("/event/nikke/img/h_01.png");
}

.bg-place {
  background-image: url("/event/nikke/img/h_02.png");
}

.bg-info {
  background-image: url("/event/nikke/img/h_03.png");
}

.event-period {
  display: block;
  text-align: center;
  margin: 30px auto 0; 
  
  font-weight: 500;
  color: #fff; 
  
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;

  padding: 20px 0;
}

.event-period {
    background-image: url("img/ribon_pc.png");
    width: 600px;  
    font-size: 28px;}

/* --- SP用の画像設定 --- */
@media screen and (max-width: 768px) {
  .event-period {
    background-image: url("img/ribon_sp.png");
    width: 90%;
    font-size: 1.25rem;
    background-size: 100% 100%; /* ←ここがポイント */
  }
}

/* =========================
   カラムレイアウト
========================= */
.column-wrapper {
  display: flex;
  gap: 30px;
  padding: 0 50px; 
  margin-top: 50px;
}

/* PC：2カラム */
.column-item {
  flex: 1; /* ← 変更：width:50% → これにする */
}

/* =========================
   画像＋テキスト重ね
========================= */
.column-img-box {
  position: relative;
  width: 100%;
}

/* 画像をきれいにフィットさせる */
.column-img-box img {
  width: 100%;
  height: auto;
  display: block;
}

/* 画像の上のテキスト */
.column-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  width: 90%;
  margin: 0;

  color: #292929;
  text-align: center;
  font-weight: 600;
  line-height: 1.4;
  font-size: 1.4rem;
  margin-top: 10px;
}

/* =========================
   スマホ：1カラム
========================= */
@media (max-width: 768px) {
  .column-wrapper {
    flex-direction: column;
    padding: 0 15px; /* ← 追加：スマホ用余白 */
    gap: 30px;       /* ← 任意：少し狭める */
  }

  .column-item {
    width: 100%; /* これはそのままでOK */
  }
}


/* =========================
   PC 3カラムレイアウト
========================= */
.cs-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 150px;
  margin-top: 50px;
}

/* 各カラム */
.cs-item {
  flex: 1;
}

/* 左画像：右寄せ */
.cs-left {
  display: flex;
  justify-content: flex-end;
}

.cs-left img {
  max-width: 80%;
  height: auto;
  display: block;
}

/* 右画像：左寄せ */
.cs-right {
  display: flex;
  justify-content: flex-start;
}

.cs-right img {
  max-width: 80%;
  height: auto;
  display: block;
}

/* 中央 */
.cs-center {
  text-align: center;
}

/* テキスト */
.cs-text {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* 架線画像 */
.cs-line {
  display: block;
  width: 100%;
  max-width: 280px;
  margin: 0px auto 0;
}

.nikkeSds {
  padding: 0 50px;
  margin-top: 30px;
}

.nikkeSds img {
  width: 100%;
  height: auto;
  display: block;
}

@media screen and (max-width: 768px) {

  
  .nikkeSds-sp {
    padding: 0 15px;
    margin-top: 70px;
  }

  .cs-text {
    font-size: 1.2rem;
    letter-spacing: 0.03em;
    margin-top: 50px;
  }

 .cs-line {
  display: block;
  max-width: 200px;
  margin: 5px auto 0;
}

  .nikkeSds img {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 80px;
  }
}