@charset "UTF-8";
/* top.zip のトップデザイン。グローバル指定は .top-body 配下にスコープ化。 */

/* ===== Base ===== */
.top-body, .top-body *{ margin: 0; padding: 0; box-sizing: border-box; }
:root{
  --pink:#ff6fa2;
  --pink-light:#ff6fa2;
  --blue:#4f95c6;
  --yellow:#fffdda;
  --gray-text:#595757;
  --text:#040000;
}
.top-body{overflow-x:hidden;}
.top-body{
  font-family:"BIZ UDGothic","Noto Sans JP",sans-serif;
  color:var(--text);
  line-height:1.7;
  background:#fff;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
.top-body img{max-width:100%;display:block;}
.top-body a{text-decoration:none;color:inherit;}
.top-body .inner{max-width:1000px;margin:0 auto;padding:0 24px;}

/* ===== Section heading ===== */
.top-body .sec-head{
  display:flex;align-items:flex-end;gap:22px;
  font-family:"Noto Sans JP",sans-serif;
}
.top-body .sec-head--center{justify-content:center;}
.top-body .sec-title{
  font-size:calc(50px * var(--fz, 1));font-weight:700;letter-spacing:.04em;color:var(--text);
  line-height:1;
}
.top-body .sec-title--spaced{letter-spacing:.5em;padding-left:.5em;}
.top-body .sec-title--gray{color:var(--gray-text);}

/* speech bubble badge (image marks) */
.top-body .mark{
  width:104px;height:auto;flex:0 0 auto;
}

/* dotted line under heading（マーク画像ぶん右へずらしてタイトル文字の真下に） */
.top-body .dot-line{
  width:260px;height:0;margin:14px auto 0;
  border-bottom:3px dotted var(--pink-light);
  transform:translateX(63px); /* (mark 104px + gap 22px) / 2 */
}

/* ===== Buttons ===== */
.top-body .btn-center{text-align:center;}
.top-body .btn{
  position:relative;
  display:inline-flex;align-items:center;justify-content:center;
  font-family:"Noto Sans JP",sans-serif;font-weight:700;font-size:calc(19px * var(--fz, 1));
  border-radius:40px;padding:20px 56px;width:300px;
}
.top-body .btn .arrow{position:absolute;right:36px;font-size:calc(20px * var(--fz, 1));}
.top-body .btn--blue{background:#439acf;color:#fff;font-size:calc(20px * var(--fz, 1));}
.top-body .btn--pink-outline{background:#fff;color:var(--pink);border:3px solid var(--pink-light);font-size:calc(20px * var(--fz, 1));}

/* ===== News ===== */
.top-body .news{padding:30px 0 70px;}
.top-body .news-list{list-style:none;margin:54px 0 50px;}
.top-body .news-item{
  display:flex;align-items:flex-start;gap:40px;padding:22px 0;
}
.top-body .news-item + .news-item{border-top:2px dotted #cfcfcf;}
.top-body .news-link{display:flex;gap:40px;align-items:flex-start;color:inherit;text-decoration:none;width:100%;}
.top-body .news-thumb{flex:0 0 225px;}
.top-body .news-thumb img{width:225px;height:150px;object-fit:cover;border-radius:12px;}
.top-body .news-date{
  display:inline-block;background:var(--pink-light);color:#fff;
  font-size:calc(18px * var(--fz, 1));font-weight:700;padding:4px 14px;border-radius:5px;margin-bottom:14px;
}
.top-body .news-text{font-size:calc(20px * var(--fz, 1));line-height:1.7;}

/* ===== Yellow watercolor sections ===== */
.top-body .yellow-bg{
  background-color:var(--yellow);
  position:relative;
}

/* ===== Event ===== */
.top-body .event{
  padding:70px 0 80px;
  background-image:url("../img/top2026/bk_event_top.png");
  background-repeat:no-repeat;
  background-position:top center;
  background-size:100% auto;
}
.top-body .tabs{
  display:flex;gap:36px;justify-content:center;
  max-width:920px;margin:46px auto 50px;
}
.top-body .tab{
  flex:1;background:none;border:none;cursor:pointer;
  font-family:"Noto Sans JP",sans-serif;font-weight:700;font-size:calc(30px * var(--fz, 1));color:var(--text);
  padding-bottom:14px;border-bottom:4px solid #b5b5b5;
}
.top-body .tab.is-active{color:var(--text);border-bottom-color:var(--pink);}

.top-body .event .btn-center{margin-top:70px;}

/* ---- event cards (from event_page) ---- */
.top-body .card-section{
  background:transparent;   /* 上下と同じイエロー（イベントセクション背景）を表示 */
  padding:32px 0 40px;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
}
.top-body .card-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:20px;
  max-width:1000px;
  margin:0 auto;
  padding:0 24px;
}
.top-body .card-grid.tab-panel{display:none;}
.top-body .card-grid.tab-panel.is-active{display:grid;}
.top-body .tab{cursor:pointer;}
.top-body .event-card{
  position:relative;
  display:block;
  min-height:330px;   /* 文字サイズ拡大時は内容に応じて高さが伸びる */
  background:#fff;
  border-radius:10px;
  overflow:hidden;
  text-decoration:none;
  color:inherit;
}
.top-body .card-thumb{
  position:relative;
  line-height:0;
  padding-top:15px;
}
.top-body .card-thumb img{
  width:200px;
  height:133px;
  object-fit:cover;
  display:block;
  margin:0 auto;
}
.top-body .event-card.is-ended{ background:#d9d9d9; }
.top-body .event-ended-badge{
  position:absolute;
  top:0;
  right:17px;
  width:30px;
  height:auto;
  z-index:1;
}
.top-body .card-thumb.no-image img{
  object-fit:contain;
  border:1px solid #d8d8d8;
  box-sizing:border-box;
  background:#fff;
}
.top-body .badge{
  position:absolute;
  left:50%;
  bottom:0;
  transform:translate(-50%, 50%);
  display:flex;
  align-items:center;
  justify-content:center;
  width:80px;
  height:22px;
  border-radius:20px;
  color:#fff;
  font-size:calc(14px * var(--fz, 1));
  font-weight:700;
  letter-spacing:.05em;
  white-space:nowrap;
}
.top-body .badge.music{ background:#fc0000; }
.top-body .badge.play{ background:#f3901e; }
.top-body .badge.geinou{ background:#754c24; }
.top-body .badge.dance{ background:#39b24a; }
.top-body .badge.art{ background:#fc7ba9; }
.top-body .badge.other{ background:#0571b9; }
.top-body .badge.shusai{ background:#ec2b46; }
.top-body .card-body{ width:200px; max-width:100%; margin:0 auto; padding:28px 0 18px; }
.top-body .card-date{ text-align:center;font-size:calc(12px * var(--fz, 1));font-weight:400;color:#040000; }
.top-body .card-time{ text-align:center;font-size:calc(14px * var(--fz, 1));color:#040000;margin-top:4px; }
.top-body .card-divider{ border:none;border-top:1px solid #000;margin:12px 0; }
.top-body .card-title{ font-size:calc(16px * var(--fz, 1));line-height:23px;color:#040000;margin:0;text-align:justify; }
.top-body .card-free{ font-size:calc(12px * var(--fz, 1));color:#8a8a8a;margin:8px 0 0; }

/* ===== Feature ===== */
.top-body .feature{
  padding:50px 0 90px;
  background-image:url("../img/top2026/bk_event_bottom.png");
  background-repeat:no-repeat;
  background-position:bottom center;
  background-size:100% auto;
}
.top-body .feature-lead{
  text-align:center;font-family:"Noto Sans JP",sans-serif;font-weight:700;
  font-size:calc(26px * var(--fz, 1));margin:40px 0 50px;
}
.top-body .feature-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:44px;
  max-width:960px;margin:0 auto;
}
.top-body .ft-card{background:#fff;border-radius:12px;box-shadow:0 3px 14px rgba(0,0,0,.06);}
.top-body .ft-img{padding-top:16px;}
.top-body .ft-img img{width:428px;height:285px;max-width:100%;object-fit:cover;border-radius:0;margin:0 auto;}
.top-body .ft-body{width:428px;max-width:100%;margin:0 auto;padding:30px 0 28px;}
.top-body .ft-title{
  font-family:"Noto Sans JP",sans-serif;font-weight:700;font-size:calc(26px * var(--fz, 1));
  text-align:center;margin-bottom:18px;
}
.top-body .ft-text{font-size:calc(18px * var(--fz, 1));text-align:center;color:#040000;}
.top-body .ft-link{
  display:flex;align-items:center;justify-content:flex-end;gap:12px;
  color:var(--pink);font-family:"Noto Sans JP",sans-serif;font-weight:700;font-size:calc(18px * var(--fz, 1));
  margin-top:26px;
}
.top-body .ft-link img{width:30px;height:30px;}

/* ===== Instagram ===== */
.top-body .insta{padding:80px 0 70px;background:#fff;}
.top-body .insta-head{
  display:flex;align-items:center;justify-content:center;gap:20px;
  font-family:"Noto Sans JP",sans-serif;font-weight:700;font-size:calc(42px * var(--fz, 1));color:#666666;
}
.top-body .insta-mark{flex:0 0 auto;}
.top-body .insta-mark img{width:64px;height:64px;flex-shrink:0;}
.top-body .insta-lead{text-align:center;font-size:calc(20px * var(--fz, 1));font-weight:700;color:#666666;margin:26px 0 46px;}
.top-body .insta-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:8px;
  max-width:980px;margin:0 auto;
}
.top-body .insta-cell img{width:100%;aspect-ratio:1/1;object-fit:cover;}
.top-body .insta-btns{display:flex;justify-content:center;gap:20px;margin-top:44px;}
.top-body .insta-btns .btn{width:auto;font-size:calc(16px * var(--fz, 1));padding:14px 30px;gap:10px;border-radius:6px;}
.top-body .btn--gray{background:#6b6b6b;color:#fff;}
.top-body .btn--insta{background:linear-gradient(90deg,#5b9bd5,#4a90c8);color:#fff;}
.top-body .ig-ico{
  width:20px;height:20px;border:2px solid #fff;border-radius:6px;position:relative;
}
.top-body .ig-ico::after{content:"";position:absolute;inset:4px;border:2px solid #fff;border-radius:50%;}

/* ===== Sponsor ===== */
.top-body .sponsor{
  padding:70px 0 90px;
  background-color:#ffdbe8;
}
.top-body .sponsor .inner{max-width:1100px;}
.top-body .sponsor-box{
  background:#fff;max-width:1000px;margin:46px auto 0;
  padding:50px;text-align:center;
}
.top-body .sponsor-box--sub{margin-top:14px;padding:26px 50px;}
.top-body .sponsor-logos{
  display:flex;flex-direction:column;align-items:center;gap:28px;
  margin-bottom:40px;
}
.top-body .sponsor-logos-row{
  display:flex;align-items:center;justify-content:center;gap:48px;
  flex-wrap:nowrap;width:100%;
}
.top-body .sponsor-logos img{
  height:auto;width:auto;object-fit:contain;
}
/* 1行目：トヨタ（1.3倍） */
.top-body .sponsor-logos-row:first-child img{ max-height:117px; max-width:100%; }
/* 2行目：南都銀行・森田（横並びで収まるよう制限） */
.top-body .sponsor-logos-row:last-child img{ max-height:80px; max-width:48%; }
.top-body .sponsor-names{
  list-style:none;display:flex;justify-content:center;flex-wrap:wrap;gap:14px 36px;
  font-weight:700;font-size:calc(20px * var(--fz, 1));margin-top:8px;
}
.top-body .sponsor-coop{font-weight:700;font-size:calc(19px * var(--fz, 1));}
.top-body .br-sp{display:none;}
.top-body .coop-label{margin-right:18px;}

/* ===== ボタン・カード hover ===== */
.top-body .btn,
.top-body .event-card,
.top-body .news-link,
.top-body .ft-card,
.top-body .ft-link,
.top-body .insta-cell,
.top-body .tab{
  transition:background-color .2s ease, color .2s ease, opacity .2s ease, transform .2s ease, box-shadow .2s ease;
}
.top-body .btn:hover{ opacity:.85; box-shadow:0 4px 12px rgba(0,0,0,.15); }
.top-body .btn--pink-outline:hover{ background:var(--pink); color:#fff; opacity:1; }
.top-body .btn--blue:hover{ background:#fff; color:#439acf; box-shadow:inset 0 0 0 3px #439acf; opacity:1; }
.top-body .event-card:hover{ transform:translateY(-4px); box-shadow:0 8px 20px rgba(0,0,0,.12); }
.top-body .event-card .card-thumb img{ transition:transform .3s ease; }
.top-body .event-card:hover .card-thumb img{ transform:scale(1.05); }
.top-body .news-link:hover .news-thumb img{ transform:scale(1.05); }
.top-body .news-thumb{ overflow:hidden; border-radius:12px; }
.top-body .news-thumb img{ transition:transform .3s ease; }
.top-body .news-link:hover .news-text{ color:var(--pink); }
.top-body .ft-card:hover{ transform:translateY(-4px); box-shadow:0 8px 22px rgba(0,0,0,.12); }
.top-body .ft-link:hover{ opacity:.7; }
.top-body .ft-link img{ transition:transform .2s ease; }
.top-body .ft-link:hover img{ transform:translateX(4px); }
.top-body .insta-cell:hover{ opacity:.82; }
.top-body .tab:hover{ color:var(--pink); }

/* ===== Responsive ===== */
@media(max-width:1040px){
  .top-body .card-grid{grid-template-columns:repeat(3,1fr);gap:16px;}
}
@media(max-width:900px){
  .top-body .sec-title{font-size:calc(34px * var(--fz, 1));}
  .top-body .mark{width:78px;}
  .top-body .insta-grid{grid-template-columns:repeat(2,1fr);}
  .top-body .feature-lead{padding:0 20px;}
  .top-body .feature-grid{grid-template-columns:minmax(0,1fr);}
  .top-body .ft-card{min-width:0;}
  .top-body .ft-img{padding:16px 20px 0;}
  .top-body .ft-img img{width:100%;height:auto;}
  .top-body .ft-body{width:100%;padding-left:20px;padding-right:20px;}
  .top-body .ft-text{text-align:left;}
  .top-body .insta-head{font-size:calc(25px * var(--fz, 1));flex-direction:column;}
  .top-body .insta-lead{font-size:calc(14px * var(--fz, 1));}
  .top-body .tab{font-size:calc(20px * var(--fz, 1));}
  .top-body .sponsor-logos{flex-direction:column;}
  .top-body .sponsor-logos img{max-width:100%;}
  /* SP：南都銀行・森田は縦並び */
  .top-body .sponsor-logos-row{flex-direction:column;gap:28px;}
  .top-body .sponsor-logos-row:last-child img{max-width:100%;}
  .top-body .br-sp{display:inline;}
}
@media(max-width:700px){
  .top-body .card-grid{grid-template-columns:repeat(2,1fr);gap:14px;}
  .top-body .event-card{display:flex;align-items:flex-start;width:100%;height:auto;min-height:150px;}
  .top-body .card-thumb{position:relative;flex-shrink:0;width:100px;height:72px;margin:14px 10px 36px;padding-top:0;}
  .top-body .card-thumb img{width:100px;height:72px;object-fit:cover;margin:0;border-radius:0;}
  .top-body .badge{left:50%;top:100%;bottom:auto;right:auto;transform:translate(-50%,6px);}
  .top-body .card-body{flex:1;min-width:0;padding:14px 12px 14px 2px;}
  .top-body .card-date,.top-body .card-time{text-align:left;line-height:16px;margin:0;}
  .top-body .card-time{margin-top:4px;}
  .top-body .card-title{font-size:calc(15px * var(--fz, 1));font-weight:700;margin-top:10px;}
}
@media(max-width:560px){
  .top-body .news-item{padding:26px 0;}
  .top-body .news-link{flex-direction:column;align-items:center;gap:22px;}
  .top-body .news-thumb{flex:none;width:100%;text-align:center;}
  .top-body .news-thumb img{display:block;width:auto;max-width:100%;height:auto;margin:0 auto;border-radius:20px;}
  .top-body .news-body{width:100%;}
  .top-body .news-date{display:block;width:-moz-fit-content;width:fit-content;font-size:calc(24px * var(--fz, 1));padding:6px 22px;border-radius:8px;margin:0 auto 20px;}
  .top-body .news-text{font-size:calc(28px * var(--fz, 1));line-height:1.6;}
  .top-body .insta-btns{flex-direction:column;align-items:center;}
  .top-body .sponsor-logos{gap:30px;}
  /* SP：協賛エリアの幅を広げ、ロゴ左右の余白を狭く */
  .top-body .sponsor .inner{padding:0 8px;}
  .top-body .sponsor-box{padding:24px 10px;}
  .top-body .sponsor-box--sub{padding:18px 10px;}
  .top-body .sponsor-logos img{max-width:100%;}
}
@media(max-width:480px){
  .top-body .card-grid{grid-template-columns:1fr;gap:14px;}
}

/* ===== フロント ヒーロー＋スライダー（共通headerfooter.cssの315px版を上書き） ===== */
.top-body .hero-bg{
  position:relative;
  margin-top:0;
  width:100%;
  height:auto;
  line-height:0;
  overflow:visible;
}
.top-body .hero-bg img{ width:100%; height:auto; display:block; }
/* スライダーを通常配置（フロー）にして全体表示。ヘッダー下への隠れ・下の重なりを回避 */
.top-body .hero-slider{
  position:relative;
  top:auto; left:auto;
  transform:none;
  width:100%;
  line-height:0;
}
.top-body .hero-slider img{ width:100%; height:auto; display:block; }
/* 水彩の装飾背景画像は使わず、スライダーをヒーローに */
.top-body .hero-bg .hero-sp{ display:none; }
.top-body .hero-bg .hero-pc{ display:none; }
/* ヒーロースライダー PC/SP切替（768px） */
.top-body .hero-slider-pc{ display:block; }
.top-body .hero-slider-sp{ display:none; }
@media (max-width:768px){
  .top-body .hero-slider-pc{ display:none; }
  .top-body .hero-slider-sp{ display:block; }
}
