@charset "utf-8";
/* ==========================================
 Common
============================================*/
:root {
  --container-width: 1920;
  --color-primary: #012c55;
}

html {
  font-size: var(--sz-48);
  min-height: 100%;
}

body {
  font-family: var(--font-gothic);
  font-size: 100%;
  font-weight: 500;
  line-height: 1.8;
  width: 100%;
  height: 100%;
  word-break: break-all;
  overflow-x: hidden;
  visibility: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  margin-bottom: 0;
  font-weight: bold;
}

.mark,
mark {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0) 70%, var(--color-yellow) 70%);
  background-color: transparent;
}

/* ==========================================
 Page Top
============================================*/
#page-top {
  position: fixed;
  right: 5%;
  bottom: 5%;
  font-size: 3vw;
  margin: 0;
  z-index: 10;
  opacity: 0;
  transform: translateY(100%);
  transition: 0.5s ease-in-out;
}

#page-top.show {
  opacity: 1;
  transform: translateY(0);
}

#page-top a {
  padding: 1em;
  background-color: var(--color-primary);
  color: #fff;
  text-decoration: none;
  transition: all 0.5s ease;
  border-radius: 5px;
  display: block;
  line-height: 1;
}

@media (min-width: 992px) {
  #page-top {
    right: 25px;
    bottom: 25px;
    font-size: 74%;
  }
}

/* ==========================================
 Container
============================================*/
.container {
  max-width: calc(1px * var(--container-width) + 2px * var(--bs-gutter-x));
  padding-right: var(--bs-gutter-x);
  padding-left: var(--bs-gutter-x);
  --bs-gutter-x: 0;
  background-color: #fff;
  height: 100%;
  min-height: 100vh;
}

@media (min-width: 992px) {
  .container {
    /* box-shadow: 0 3px 5px 3px #d9e5ed; */
  }
}

/* ==========================================
 Contents
============================================*/

/* form */
.c-form {
  --w: 673;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100vw * var(--w) / 1100);
}

.c-form--1 {
  top: 15%;
}

.c-form--2 {
  --w: 250;
  top: 83%;
  left: calc(50% - var(--sz-330));
}

.c-form .btn {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

.form-control {
  font-size: var(--sz-32);
  text-align: center;
  padding: 0.8em 0;
  margin-bottom: 0.5em;
}

@media (min-width: 992px) {
  .c-form {
    width: calc(100vw * var(--w) / 1920);
  }
}

/* counter */
.txt-limit {
  color: var(--color-yellow);
  text-align: center;
  font-size: var(--sz-70);
  font-feature-settings: "palt";
  white-space: nowrap;
}

.txt-limit.over {
  font-size: var(--sz-50);
}

/* ==========================================
 Footer
============================================*/
.footer {
  padding: 1.5em 1em;
  text-align: center;
  color: var(--bs-white);
  background-color: var(--color-primary);
  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: #35424e;
  background-color: var(--bs-white);
}

.footer__copy {
  margin-bottom: 0;
}

@media (min-width: 992px) {
  .footer {
    padding-bottom: 1.5em;
    position: static;
  }

  .footer__menu {
    margin-bottom: 0.5em;
  }
}
