@charset "UTF-8";

/* ============================== タブレットサイズ */
@media only screen and (max-width: 1340px) {
  .pc {
    display: none !important;
  }

  .sp {
    display: block !important;
  }

  .warning p {
    font-size: 11px;
  }

  #box-logo {
    left: 50%;
  }

  #bcc-logo {
    width: 250px;
  }
}

/* ============================== スマホサイズ*/
@media only screen and (max-width: 768px) {
  /* ============================== header キービジ */

  .kv-container {
    width: 100%;
    padding: 0 20px;
  }

  #home .logo-box {
    width: 100%;
  }

  #bcc-logo {
    width: 228px;
  }

  .bc-mark-box {
    width: 100%;
    float: right;
  }

  .astro-vision-box {
    top: -70px;
    right: 8px;
    width: 90px;
  }

  .code-text2 {
    font-size: 11px;

    line-height: 1;
  }

  .twentyfive-section {
    width: 50%;
  }

  .section-1 .logo-ps {
    width: 30%;
  }

  .section-1 .dot-ps {
    width: 59%;
  }

  .section-1 .bc-ps {
    width: 31px;
  }

  .section-2 {
    padding: 10px 0px 14px;
    margin-bottom: inherit;
  }

  .katakana-box {
    width: 100%;
  }

  .code-text3 {
    font-size: 10px;
    margin-bottom: 2px;
  }

  .kana-ps {
    width: 140px;
  }

  .ruler-box {
    width: 90%;
  }

  .ruler-ps {
    width: 30%;
  }

  .number-ps {
    width: 34%;
  }

  .loading-box {
    width: 97px;
    margin: 0px auto;
  }
  .target-flame-box {
    width: 31px;
    margin-right: 33px;
  }

  #typewriter-text2 {
    font-size: 7px;
    line-height: 1.3;
  }

  .warning-icon {
    width: 26px;
  }

  .bottom-left-wrapper {
    width: 100%;
    margin: 0 auto;
  }

  .text-block {
    width: 100%;
    min-height: 54px;
    margin: inherit;
  }

  .bottom-left-content {
    margin-bottom: 6px;
  }

  .warning p {
    font-family: "JetBrains Mono", monospace;
    font-size: 10px;
    font-weight: 200;
    text-align: center;
    letter-spacing: -0.2ex;
  }

  .section-4 {
    height: 24vh;
  }

  .section-5 .twenty-section {
    width: 33.333333%;
  }

  .section-6 {
    margin-bottom: 10px;
  }

  #box-logo {
    left: 45vw;
    top: 16.5vh;
  }

  .code-text {
    font-size: 11px;
  }

  .code-text4 {
    font-size: 18px;
  }

  .prt-movie-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    height: 100%;
    width: 100%;
    object-fit: cover; /* 動画が画面に収まり、はみ出さない */
  }

  .home-hero__headings {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    box-sizing: border-box; /* ボーダーボックスで幅計算を厳密に */
    overflow: hidden; /* はみ出し防止 */
  }

  .kv-container {
    max-width: 100%; /* 子要素が親の幅を超えないように */
    box-sizing: border-box;
  }

  .foward-box {
    margin-bottom: 0px;
  }

  .dotdotdot-box {
    margin-bottom: 0px;
  }

  .section-1 {
    margin-bottom: 18px;
  }
  /* ============================== site navigation */

  .navigation__logo svg {
    width: 48px;
  }

  .menu__links .menu-links-li {
    font-size: 14px;
    padding: 20px 20px;
  }

  .navigation__container {
    padding: 0 20px;
  }

  .year-text {
    left: 9px;
  }

  .year-text p {
    font-size: 11px;
  }

  .scroll-down {
    right: 20px;
  }

  .drop-menu-list {
    left: 20px;
  }

  .menu__links {
    padding: 60px 0;
  }

  .menu {
    width: calc(100vw - 100px);
    height: calc(100vh - 140px);
    padding: 70px 50px;
  }

  /* ============================== Contact */

  #section-01 {
    background-image: url(../img/bg-02-sp.jpg);
    background-size: cover;
  }

  .contact-container {
    width: 80%;
    margin: 0 auto;
    max-width: 80%;
  }

  .btn-submit {
    width: 60%;
    text-align: center;
    margin: 0 auto;
  }

  .form input,
  select,
  textarea {
    font-size: 12px;
  }
  .form-box label {
    padding: 0;
  }
  .wpcf7-spinner ::before {
    display: none;
  }
}

/* スマホ横向き */
@media screen and (orientation: landscape) and (max-width: 1340px) {
  .kv-container {
    max-width: 80%;
  }
  .kana-ps {
    width: 102px;
  }

  .section-4 {
    height: 93px;
  }

  #box-logo {
    top: 82px;
    left: 37vw;
  }

  .bc-mark-box {
    width: 26px;
  }

  .contact .section-1 {
    margin-bottom: 6px;
    background-image: url(../img/bg-02-sp.jpg);
    background-size: cover;
  }

  .section-2 {
    padding-top: 4px;
  }

  .section-5 {
    margin-bottom: 0px;
    height: 23px;
  }

  #typewriter-text2 {
    font-size: 7px;
    line-height: 1.2;
  }

  .katakana-box {
    width: 100%;
  }

  .loading-box {
    width: 80%;
  }
  .warning {
    margin-bottom: 9px;
  }

  .warning-text {
    height: 35px;
  }

  #marquee {
    line-height: 35px;
  }
  .tab {
    display: none !important;
  }
  .contact #section-01 {
    height: 100%;
    padding: 40px 0px;
  }

  .contact-container {
    width: 64%;
  }
}
