@charset "utf-8";
/* トップページ向けCSS */
/* VISUAL
=========================================== */

#page-visual {
  position: relative;
}

#page-visual .for-pc img {
  display: none;
}

#page-visual::after {
  content: "";
  height: 631px;
  position: absolute;
  z-index: -1;
  top: 0;
  width: 100%;
}

.hero-orbit,
.hero-orbit-front {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 86%;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
  --ga75-inner-height: 120.8%;
}

.hero-orbit .ga75-orbit,
.hero-orbit-front .ga75-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: var(--ga75-inner-height, 100%);
  margin-top: 15px;
  max-width: none;
  --ga75-line: var(--c-blue);
  --ga75-fill: var(--c-white);
}

/* 白背景の上に出す複製レイヤー（GA75Orbit.front が挿入。クリップしない） */
.hero-orbit-front {
  overflow: visible;
  z-index: 5;
}

/* 外周レイヤー（JSが複製して挿入） */
.ga75-orbit-outer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.ga75-orbit-outer .ga75-orbit {
  transform: translate(-50%, -50%) scale(var(--ga75-outer-scale, 2.2));
  opacity: var(--ga75-outer-opacity, 0.35);
}

/* ---- SP（.for-sp 表示域 = max-width:767px）: 外周レイヤーなし・リング1枚のみ ---- */
@media (max-width: 767px) {
  .hero-orbit,
  .hero-orbit-front {
    /* SPヒーローは .sp_visual（高さ = 幅 × 1.4419）の全高 */
    height: 100%;
    /* リング直径 = SVG幅 × 0.7252。108% ⇒ リングは画面幅の 78.4% */
    --ga75-sp-width: 108%;
    /* リング中心のヒーロー高さに対する位置（青帯は上から 80.6% まで） */
    --ga75-sp-top: 33.9%;
  }

  .hero-orbit .ga75-orbit,
  .hero-orbit-front .ga75-orbit {
    top: var(--ga75-sp-top);
    width: var(--ga75-sp-width);
    height: auto;
    margin-top: 0;
  }

  /* 外周レイヤーはSPでは非表示。display:none で IntersectionObserver が
     非交差を返すため rAF も自動停止する */
  .ga75-orbit-outer {
    display: none;
  }
}

/* SP用の別調整が済むまで */

@media (min-width: 768px) {
  #page-visual .for-pc img {
    display: block;
    position: absolute;
  }

  #page-visual {
    text-align: left;
  }
}

@media (min-width: 1000px) and (max-width: 1200px) {
  #page-visual {
    max-height: 580px;
  }
}

@media (max-width: 767px) {
  .houou_sp {
    position: absolute;
  }

  .sp_visual .zoomin img {
    position: absolute;
  }

  #page-visual .sp_visual {
    margin: 0;
  }

  .opningtime {
    position: absolute;
    width: 100%;
    top: 96%;
    text-align: center;
    padding: 0 15%;
  }

  #page-visual .date,
  #page-visual .slogan1,
  #page-visual .headrightbottom {
    display: none;
  }

  #page-visual .headrightbottom img {
    width: 45px;
    height: auto;
  }

  #page-visual .main_title {
    display: none;
  }

  #page-visual .main_title2 {
    position: relative;
    position: absolute;
    right: -116px;
    bottom: 60px;
  }

  #page-visual .main_title2 img {
    width: 50%;
    height: auto;
  }
}

/*
COUNTDOWN
*/

#timer {
  width: 25%;
  height: 10.7%;
  text-align: start;
  color: var(--c-white);
  position: absolute;
  top: 64%;
  font-size: 2.6vw;
  line-height: 1.2;
  font-weight: 1000;
  float: left;
  margin-left: 8.5%;
  z-index: 10;
}

#kaimon {
  width: 35%;
  text-align: end;
  color: var(--c-white);
  position: absolute;
  top: 57%;
  font-size: 2.9vw;
  line-height: 1.2;
  font-weight: 1000;
  float: left;
  margin-left: 57%;
  z-index: 10;
}

#timer span {
  color: var(--c-red);
  font-size: 4.6vw;
  font-weight: 600;
  /* 縁取り: stroke を fill の下に描き、外側半分だけ見せる（実質の縁幅 = stroke 幅の半分） */
  -webkit-text-stroke: 0.12em var(--c-white);
  paint-order: stroke fill;
}

#kaimon span {
  color: var(--c-red);
  font-size: 4.3vw;
  font-weight: 600;
  /* 縁取り: stroke を fill の下に描き、外側半分だけ見せる（実質の縁幅 = stroke 幅の半分） */
  -webkit-text-stroke: 0.12em var(--c-white);
  paint-order: stroke fill;
}

.timeover {
  font-size: 2vw;
  color: var(--c-white) !important;
  text-shadow: 2px 2px 0 var(--c-gray-800) !important;
  -webkit-text-stroke: 0 !important;
}

/* 768px は PC 用ヒーロー画像（.for-pc は min-width:768px で表示）なので PC の値を使う */
@media (max-width: 767px) and (min-width: 541px) {
  #timer {
    width: 40%;
    height: 4%;
    font-size: 6vw;
    top: 68%;
    margin-left: 2.5%;
  }

  #timer span {
    font-size: 9vw;
  }

  #kaimon {
    width: 35%;
    height: 4%;
    font-size: 6vw;
    top: 63%;
    margin-left: 63%;
  }

  #kaimon span {
    font-size: 9vw;
  }

}

@media (max-width: 540px) {
  #timer {
    width: 47%;
    height: 12%;
    font-size: 6vw;
    top: 67%;
    margin-left: 2.5%;
  }

  #timer span {
    font-size: 9vw;
  }

  #kaimon {
    width: 35%;
    height: 12%;
    font-size: 6vw;
    top: 62%;
    margin-left: 63%;
  }

  #kaimon span {
    font-size: 9vw;
  }

  .mt-sp-4 {
    margin-top: 1.5rem !important;
  }
}

/* TOPICS
=========================================== */

#page-topics {
  padding: 50px 0;
}

#page-topics>.container>.title {
  display: none;
}

/* page-topicsbanner
========================================== */

#page-topicsbanner .row>div {
  margin-top: 10px;
}

/* page-panel
========================================== */

#page-panel.content {
  padding-top: 0;
}

.content .list-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-left: -5px;
  margin-right: -5px;
  padding-left: 0;
}

.list-panel li {
  flex: 0 0 50%;
  max-width: 50%;
  padding-left: 5px;
  padding-right: 5px;
  padding-bottom: 10px;
  list-style: none;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.1em;
}

.list-panel a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 10px;
  background: rgba(13, 53, 99, 0.3);
  background: -moz-linear-gradient(left,
      rgba(13, 53, 99, 0.3) 0%,
      rgba(101, 182, 152, 0.3) 100%);
  /* FF3.6-15 */
  background: -webkit-linear-gradient(left,
      rgba(13, 53, 99, 0.3) 0%,
      rgba(101, 182, 152, 0.3) 100%);
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to right,
      rgba(13, 53, 99, 0.3) 0%,
      rgba(101, 182, 152, 0.3) 100%);
  text-align: center;
  box-shadow: var(--shadow-panel);
  border: 1px solid var(--c-gold-border);
  color: var(--c-white);
}

.list-panel a:hover {
  text-decoration: none;
  opacity: 0.75;
  top: 2px;
}

.list-panel a>span {
  display: inline-block;
  height: 2.5em;
}

@media (min-width: 768px) {
  .list-panel li {
    flex: 0 0 33.33333%;
    max-width: 33.33333%;
    padding-left: 0;
    padding-bottom: 10px;
  }

  .list-panel a>span {
    height: auto;
  }
}

/* Social media tag
=========================================== */

.table-fb,
.table-tw,
.table-ins {
  width: 100%;
  margin-bottom: 10px;
  box-shadow: var(--shadow-panel);
}

.fb-title,
.tw-title,
.ins-title {
  position: relative;
  height: 64px;
  background-color: var(--c-facebook);
  color: var(--c-white);
}

.fb-title {
  background-color: var(--c-facebook);
}

.tw-title {
  background-color: var(--c-black);
}

.ins-title {
  background: linear-gradient(55.01deg, var(--c-ins-orange) 12.35%, var(--c-ins-pink) 56.52%, var(--c-ins-purple));
}

.fb-title img,
.tw-title img {
  max-width: 100%;
}

.fb-title-comment,
.tw-title-comment,
.ins-title-comment {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 64px;
  display: block;
  background-color: var(--c-navy-alt);
}

.fb-title-comment:after,
.tw-title-comment:after,
.ins-title-comment:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 100px;
  display: block;
  border-bottom: 64px solid var(--c-navy-alt);
  border-left: 10px solid transparent;
}

@media (max-width: 767px) {

  .fb-title-comment,
  .tw-title-comment,
  .ins-title-comment {
    display: none;
  }
}

/* #section-info  新着情報、注目トピックススライダー領域
=========================================== */

#section-info {
  background-image: url(../img/index/bg_info.jpg);
  padding: 56px 0;
  background-position: top center;
}

.panel-info {
  margin: 0;
  padding: 20px;
  height: 480px;
  font-size: 1.2em;
  text-decoration: none;
  border: 8px var(--c-cyan);
  border-style: groove ridge ridge groove;
  background-color: var(--c-white);
  border-radius: var(--radius-xs);
  position: relative;
  overflow: hidden;
}

.panel-info h3 {
  margin-top: 0;
}

.panel-info:first-child h3 img {
  height: 33px;
}

.panel-info:nth-child(2) h3 img {
  height: 36px;
}

@media (max-width: 992px) {
  .panel-info {
    height: auto;
    margin-bottom: 15px;
  }
}

/* 新着情報 リスト */

.updates {
  padding: 0;
  list-style: none;
}

.updates li {
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid var(--c-black);
  color: var(--c-black);
}

.updates li:last-child {
  border-bottom: 0 none;
}

.updates li .date {
  vertical-align: middle;
  color: var(--c-black);
}

.updates a {
  font-weight: bold;
  font-size: 1.1em;
  color: var(--c-black);
  text-decoration: underline;
}

.updates a:focus,
.updates a:hover {
  text-decoration: none;
}

.panel-info .scroll-y {
  overflow-y: auto;
  height: 400px;
}

/* 注目トピックススライダー */

.topics {
  padding-bottom: 20px;
}

.topics .slick-arrow {
  background: transparent none no-repeat scroll center center;
  border: 0 none;
  display: block;
  height: 100%;
  position: absolute;
  top: 0;
  width: 40px;
  z-index: 100;
  text-indent: -9999px;
  overflow: hidden;
}

.topics .slick-prev {
  background-image: url(../img/btn_prev1.png);
  left: -15px;
}

.topics .slick-next {
  background-image: url(../img/btn_next1.png);
  right: -15px;
}

.slick-dots {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  display: block;
  text-align: center;
  height: 0;
}

.slick-dots li {
  display: inline-block;
  list-style: outside none;
  padding: 0 4px;
}

.slick-dots li button {
  display: block;
  background: var(--c-gray-350);
  border: 0 none;
  overflow: hidden;
  width: 32px;
  height: 0;
  padding-top: 8px;
}

.slick-dots li.slick-active button {
  background-color: var(--c-blue);
}

@media (max-width: 767px) {
  .topics .slick-arrow {
    -webkit-background-size: 20px 20px;
    background-size: 20px 20px;
    width: 20px;
  }

  .slick-dots {
    display: none !important;
  }
}

/*
section
===========================================
*/

#section-menu {
  padding: 56px 0 0 0;
}

#section-slider {
  padding: 56px 0;
}

#section-slider .flags {
  background: linear-gradient(135deg,
      rgba(92, 96, 100, 1) 0%,
      rgba(31, 34, 37, 1) 45%,
      rgba(38, 42, 46, 1) 55%,
      rgba(38, 42, 46, 1) 100%);
  padding: 20px 105px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

#section-slider .flags .slick-slide {
  margin: 8px;
}

#section-slider .flags .slick-slide>a {
  display: block;
}

#section-links {
  background-image: url(../img/index/bg_links.jpg);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  padding: 56px 0;
}

/* slick */

.slick-slider {
  display: none;
}

.slick-slider.slick-initialized {
  display: block;
}

.flags .slick-arrow {
  background: transparent none no-repeat scroll center center;
  border: 0 none;
  display: block;
  height: 100%;
  position: absolute;
  top: 0;
  width: 48px;
  z-index: 100;
  text-indent: -9999px;
  overflow: hidden;
}

.flags .slick-prev {
  left: 45px;
}

.flags .slick-next {
  right: 45px;
}

@media (max-width: 767px) {
  #section-slider .flags {
    margin: 0 auto;
    padding: 10px 20px;
    border-radius: var(--radius-xl);
  }

  #section-slider .flags .slick-slide {
    margin: 3px;
  }

  .flags .slick-arrow {
    -webkit-background-size: 20px 20px;
    background-size: 20px 20px;
    width: 20px;
  }

  .flags .slick-prev {
    left: 5px;
  }

  .flags .slick-next {
    right: 5px;
  }
}

/*
movie
===========================================
*/

#section-movie {
  position: relative;
  padding: 56px 0;
}

#section-movie::before {
  content: "";
  position: absolute;
  bottom: 0;
  display: block;
  border-left: 100vw solid transparent;
  border-bottom: 248px solid var(--c-blue);
}

.panel-movie {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  background-color: rgba(255, 255, 255, 0.8);
  border: 6px solid var(--c-blue);
  /*border-style: groove ridge ridge groove;*/
  border-radius: var(--radius-sm);
  letter-spacing: 0;
  overflow: hidden;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 6px 4px var(--c-cyan);
}

.panel-movie::before {
  top: 0;
}

.panel-movie::after {
  bottom: 0;
}

.panel-movie-text {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 3em;
  padding: 5px;
}

.bg-movie {
  position: absolute;
  left: 0;
  top: -350px;
  width: 100%;
  z-index: -1;
  text-align: center;
  pointer-events: none;
}

.bg-movie img {
  width: 85%;
  aspect-ratio: 1777 / 1673;
  height: auto;
}

@media (max-width: 992px) {
  .bg-movie {
    top: -100px;
  }

  .bg-movie img {
    width: 200%;
    position: absolute;
    left: -100%;
    transform: translateX(26.5%);
  }
}

/*
#section-menu ボタン再設計
===========================================
*/

#section-menu .row-8 {
  counter-reset: menubtn;
  display: flex;
  flex-wrap: wrap;
}

#section-menu .panel-style {
  float: none;
  display: flex;
  padding-bottom: 18px;
}

/* --- カード本体 --- */
#section-menu a.btn-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  overflow: hidden;
  border: 2px solid var(--c-blue);
  border-radius: var(--radius-3xl);
  box-shadow:
    0 5px 0 var(--c-blue-dark),
    0 10px 18px rgba(0, 60, 120, 0.22);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

#section-menu a.btn-panel:hover {
  transform: translateY(-3px);
  box-shadow:
    0 8px 0 var(--c-blue-dark),
    0 16px 24px rgba(0, 60, 120, 0.3);
}

#section-menu a.btn-panel:focus-visible {
  outline: 3px solid var(--c-amber);
  outline-offset: 3px;
}

#section-menu a.btn-panel:active {
  transform: translateY(4px);
  box-shadow:
    0 1px 0 var(--c-blue-dark),
    0 3px 8px rgba(0, 60, 120, 0.25);
}

/* --- カード内側（グラデーション背景） --- */
#section-menu .btn-panel-inner {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  justify-content: flex-start;
  padding: 14px 12px 10px;
  border-radius: var(--radius-2xl);
  background: linear-gradient(150deg,
      var(--c-white) 0%,
      var(--c-panel-1) 38%,
      var(--c-panel-2) 72%,
      var(--c-panel-3) 100%);
  transition: background 0.2s ease;
}

#section-menu a.btn-panel:hover .btn-panel-inner {
  background: linear-gradient(150deg,
      var(--c-white) 0%,
      var(--c-white) 40%,
      var(--c-panel-hover-1) 75%,
      var(--c-panel-hover-2) 100%);
}

/* --- 左上：ナンバーバッジ --- */
#section-menu a.btn-panel::before {
  counter-increment: menubtn;
  content: counter(menubtn, decimal-leading-zero);
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  width: 52px;
  height: 44px;
  padding: 0px 8px 0 4px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--c-blue-mid) 0%, var(--c-blue) 55%, var(--c-blue-dark) 100%);
  color: var(--c-white);
  font-family: var(--font-alt);
  font-size: 22px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 75%, 0 100%);
  clip-path: polygon(0 0, 100% 0, 100% 75%, 0 100%);
  pointer-events: none;
}

/* --- 矢印ボタン（ラベル右隣・中央揃え） --- */
#section-menu .btn-panel-text::after {
  content: "";
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background-color: var(--c-blue);
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.5 4.5L17 12l-7.5 7.5' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 55% center;
  background-size: 14px 14px;
  box-shadow: var(--shadow-soft);
  transition:
    background-color 0.15s ease,
    transform 0.15s ease;
  pointer-events: none;
}

#section-menu a.btn-panel:hover .btn-panel-text::after {
  background-color: var(--c-blue-dark);
  transform: scale(1.12);
}

/* --- アイコン --- */
#section-menu .btn-panel-img {
  margin: 4px auto 2px;
  padding: 6px 0;
}

/* --- ラベル --- */
#section-menu .btn-panel-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  height: auto;
  min-height: 2.9em;
  padding: 10px 10px 6px;
  color: var(--c-navy-text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-align: center;
  white-space: normal;
  line-break: strict;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

#section-menu .btn-panel-label{
  padding-top: 3px;
}

@media (max-width: 991px) {
  #section-menu .btn-panel-text {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  #section-menu .panel-style {
    padding-bottom: 14px;
  }

  #section-menu a.btn-panel {
    border-radius: var(--radius-2xl);
    box-shadow:
      0 4px 0 var(--c-blue-dark),
      0 8px 14px rgba(0, 60, 120, 0.22);
  }

  #section-menu .btn-panel-inner {
    padding: 10px 8px 8px;
    border-radius: var(--radius-xl);
  }

  #section-menu a.btn-panel::before {
    width: 42px;
    height: 36px;
    font-size: 18px;
  }

  #section-menu .btn-panel-text::after {
    width: 22px;
    height: 22px;
    background-size: 11px 11px;
  }

  #section-menu .btn-panel-text {
    gap: 5px;
    padding: 12px 6px 4px;
    min-height: 2.8em;
    font-size: 13px;
    line-height: 1.3;
    white-space: nowrap;
  }
}

/* --- 無効状態 ---
   パネルボタンの停止は .disabled を使う（.link_disabled はグローバルメニュー用で
   base.css 側に定義。btn-panel との併用実績はないため対象外） */
#section-menu a.btn-panel.disabled {
  pointer-events: none;
  border-color: var(--c-gray-450);
  box-shadow:
    0 3px 0 var(--c-gray-620),
    0 6px 12px rgba(0, 0, 0, 0.13);
}

#section-menu a.btn-panel.disabled .btn-panel-inner {
  background: linear-gradient(150deg,
      var(--c-white) 0%,
      var(--c-gray-050) 38%,
      var(--c-gray-200) 72%,
      var(--c-gray-250) 100%);
}

#section-menu a.btn-panel.disabled::before {
  background: linear-gradient(135deg, var(--c-gray-500) 0%, var(--c-gray-650) 55%, var(--c-gray-850) 100%);
  color: var(--c-gray-150);
}

#section-menu a.btn-panel.disabled .btn-panel-text::after {
  background-color: var(--c-gray-550);
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.5 12h13' fill='none' stroke='%23ffffff' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-position: center center;
  box-shadow: none;
}

#section-menu a.btn-panel.disabled .btn-panel-text {
  color: var(--c-gray-750);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
  #section-menu a.btn-panel.disabled {
    box-shadow:
      0 3px 0 var(--c-gray-620),
      0 5px 10px rgba(0, 0, 0, 0.13);
  }
}
