@charset "utf-8";
@import "https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css";
@import "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css";
@import "https://cdnjs.cloudflare.com/ajax/libs/aos/2.3.4/aos.css";
@import "https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@400;500;700;900&display=swap";
@import "https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.2/animate.min.css";
@import "./animate.css";

/* ==========================================
 Common
============================================*/

:root {
  --canvas-width-sp: 750; /* SPカンバスのpx幅 */
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-weight: var(--font-weight);
  font-size: 100%;
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-bg);
  width: 100%;
  height: 100%;
  word-break: break-all;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

/* image */
.img-wrap {
  position: relative;
}

picture {
  display: block;
}

img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  height: auto;
}

a img,
button img {
  transition: 0.3s;
}

a:hover img,
button:hover img {
  filter: brightness(1.2);
}

/* button */
.btn {
  position: relative;
  transition: 0.3s;
  border: 0;
  padding: 0;
  display: block;
  width: fit-content;
  margin: 0 auto;
}

.btn-round {
  border-radius: 100vh;
}

.btn:focus {
  box-shadow: none;
}

.btn.disabled {
  pointer-events: none;
  filter: grayscale(1);
  animation: none;
}

/* placeholder */
.form-control::placeholder {
  color: var(--color-placeholder-text);
}

/* negative margin */
.-m1 {
  margin-bottom: -1px;
}

/* section */
[id] {
  position: relative;
}

video {
  max-width: 100%;
  height: auto;
  padding-bottom: 100px;
}

/*==================================================
スライダーのためのcss
===================================*/
.slider {
  /*横幅94%で左右に余白を持たせて中央寄せ*/
  width: 94%;
  margin: 0 auto;
  padding: 0 0 60px;
}

.slider img {
  width: 30vw; /*スライダー内の画像を60vwにしてレスポンシブ化*/
  height: auto;
}

@media (max-width: 750px) {
  .slider img {
    width: 66vw; /*スライダー内の画像を60vwにしてレスポンシブ化*/
    height: auto;
  }
}

.slider .slick-slide {
  transform: scale(0.8); /*左右の画像のサイズを80%に*/
  transition: all 0.5s; /*拡大や透過のアニメーションを0.5秒で行う*/
  opacity: 0.5; /*透過50%*/
}

.slider .slick-slide.slick-center {
  transform: scale(1); /*中央の画像のサイズだけ等倍に*/
  opacity: 1; /*透過なし*/
}

/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev,
.slick-next {
  position: absolute; /*絶対配置にする*/
  top: 42%;
  cursor: pointer; /*マウスカーソルを指マークに*/
  outline: none; /*クリックをしたら出てくる枠線を消す*/
  border-top: 2px solid #666; /*矢印の色*/
  border-right: 2px solid #666; /*矢印の色*/
  height: 15px;
  width: 15px;
}

.slick-prev {
  /*戻る矢印の位置と形状*/
  left: -1.5%;
  transform: rotate(-135deg);
}

.slick-next {
  /*次へ矢印の位置と形状*/
  right: -1.5%;
  transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
  text-align: center;
  margin: 0;
  padding: 0;
}

.slick-dots li {
  display: inline-block;
  margin: 0 5px;
}

.slick-dots button {
  color: transparent;
  outline: none;
  width: 8px; /*ドットボタンのサイズ*/
  height: 8px; /*ドットボタンのサイズ*/
  display: block;
  border-radius: 50%;
  background: #ccc; /*ドットボタンの色*/
  border: none;
  padding: 0;
}

.slick-dots .slick-active button {
  background: #333; /*ドットボタンの現在地表示の色*/
}

/* ==========================================
 Page Top
============================================*/

.pagetop {
  position: fixed;
  right: 5%;
  bottom: 5%;
  font-size: 74%;
  margin: 0;
  z-index: 10;
  opacity: 0;
  transition: 0.5s ease-in-out;
}

.pagetop.show {
  opacity: 1;
}

.pagetop a {
  padding: 1em;
  background-color: var(--color-pagetop-bg);
  color: var(--color-pagetop-text);
  text-decoration: none;
  transition: all 0.5s ease;
  border-radius: 5px;
  display: block;
  line-height: 1;
}

:where(.show-follow) .pagetop {
  bottom: 10%;
}

/* ==========================================
 Container
============================================*/

.container {
  max-width: calc(1px * var(--canvas-width-sp));
  padding: 0;
}

@media (min-width: 750px) {
  .container {
    box-shadow: 0 3px 5px 3px var(--color-container-shadow);
  }
}

/* ==========================================
 Layer
============================================*/

[class^="layer"] {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.layer1 {
  width: calc(100% * var(--layer1-width-sp) / var(--canvas-width-sp));
  top: var(--layer1-top-sp);
}

/* ==========================================
 Form
============================================*/

.form-label {
  font-size: clamp(11px, 2.9vw, 22px);
}

.form-control {
  font-size: clamp(16px, 4.2vw, 32px);
  color: var(--color-form-control-text);
  background-color: var(--color-form-control-bg);
  border-color: var(--color-form-control-border);
  padding: 1em;
  margin-bottom: 1em;
}

/* ==========================================
 Follow
============================================*/

.follow {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% * var(--follow-width-sp) / var(--canvas-width-sp));
  z-index: 10;
  display: none;
}

/* ==========================================
 CountDown
============================================*/

.countdown {
  font-size: clamp(24px, 6.4vw, 40px);
  font-weight: bold;
  padding: 0.5em 0;
  color: var(--color-countdown-text);
  background-color: var(--color-countdown-bg);
  text-align: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.countdown.fixed {
  position: sticky;
  top: 0;
  z-index: 10;
}

.countdown > span {
  line-height: 1;
}

/* ==========================================
 Footer
============================================*/

.footer {
  padding: 1.5em 1em;
  text-align: center;
  color: var(--color-footer-text);
  background-color: var(--color-footer-bg);
  font-size: clamp(12px, 3.2vw, 16px);
  font-weight: bold;
  margin: 0 auto;
}

.footer__menu {
  margin-bottom: 1em;
  display: flex;
  justify-content: center;
}

.footer__menu a {
  color: inherit;
  text-decoration: none;
  padding: 0.5em 1.5em;
  transition: 0.3s;
  display: block;
  position: relative;
  width: fit-content;
}

.footer__menu a:not(:last-child)::after {
  content: "/";
  content: "|";
  position: absolute;
  right: 0;
  display: none;
}

.footer__menu a:hover {
  color: var(--color-footer-bg);
  background-color: var(--color-footer-text);
}

.footer__copy {
  margin-bottom: 0;
}

/* ==========================================
 Sub Page
============================================*/
.sub {
  font-size: 16px;
  line-height: 1.8;
}

:where(.sub) .container {
  padding-top: clamp(30px, 5%, 60px);
  padding-bottom: clamp(30px, 5%, 60px);
  --bs-gutter-x: clamp(15px, 4vw, 30px);
  padding-right: var(--bs-gutter-x, 0.75rem);
  padding-left: var(--bs-gutter-x, 0.75rem);
}

/* タイトル */
:where(.sub) .page-title {
  font-size: 1.7em;
  text-align: center;
  line-height: 1.6;
  color: var(--color-subpage-title);
  margin-bottom: 4%;
  font-weight: bold;
  text-shadow: 1px 1px #c3c3c3;
}

:where(.sub) .page-title::after {
  content: attr(data-suffix);
  display: block;
  font-size: 50%;
  opacity: 0.7;
  color: silver;
  font-weight: normal;
  text-shadow: none;
}

/* テーブル */
:where(.sub) .table {
  margin-bottom: 0;
}

:where(.sub) .table :is(th, td) {
  border: none;
  display: block;
  padding: 2em 0.5em;
}

:where(.sub) .table th {
  color: var(--color-subpage-heading);
  background-color: var(--color-subpage-heading-bg);
  position: relative;
  padding: 1em 1em;
}

:where(.sub) .table th::before,
:where(.sub) .table th::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: var(--color-subpage-heading-border1);
}

:where(.sub) .table th::after {
  width: 25%;
  background-color: var(--color-subpage-heading-border2);
}

:where(.sub) .table :is(ol, ul, p) {
  margin-top: 0;
  margin-bottom: 1.5em;
}

:where(.sub) .table :is(ol, ul) {
  list-style: decimal;
  padding-left: 1.2em;
  padding-right: 0;
  margin-left: 0.2em;
  margin-bottom: 1em;
}

:where(.sub) .table :is(ol, ul, p):last-child {
  margin-bottom: 0;
}

/* 定義リスト */
:where(.sub) dl {
  margin-bottom: 2px;
  display: flex;
}

:where(.sub) :is(dt, dd) {
  border: none;
  display: block;
  padding: 1em 1em;
}

:where(.sub) dt {
  flex: 0 0 13em;
  color: var(--color-subpage-heading);
  background-color: var(--color-subpage-heading-bg);
  position: relative;
  border-bottom: 2px solid var(--color-subpage-heading-border2);
}

:where(.sub) dd {
  flex: 1;
  border-bottom: 2px solid var(--color-subpage-heading-border1);
  margin-bottom: 0;
}

:where(.sub) dd :is(ol, ul, p) {
  margin-top: 0;
  margin-bottom: 1.5em;
}
