@charset "utf-8";
/*
Theme Name: 駒込ベアーズ　サイトテンプレート
Author: 駒込ベアーズ
Description: original theme
Version： 1.0.0
*/
/*cssのリセット*/
@import url("https://fonts.googleapis.com/css2?family=Kosugi&display=swap");
@import url(fonts/style.css);


* {
  transition: all 0.3s ease 0s;
}
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
ol,
ul {
  list-style: none;
}
html {
  height: 100%;
  font-size: 62.5%;
}
body {
  height: 100%;
  font-family: "Kosugi", sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  letter-spacing: 0.03em;
  color: #333;
  overflow-wrap: break-word;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: #000;
}
a:hover img {
  opacity: 0.5;
}
a:visited {
  color: #000;
}

/*画像関連*/
img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}
div img {
  margin: 0 auto;
}
.center70img {
  width: 70%;
  margin: 15px auto;
}

/*フレックスボックス*/
.flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.empty-card {
  margin: 0;
  height: 0;
}
@media screen and (max-width: 480px) {
}

/*装飾*/
.pb40 {
  padding-bottom: 40px;
}
.wm5 {
  width: calc(5% - 2px);
}
.wm8 {
  width: calc(8% - 2px);
}
.wm10 {
  width: calc(10% - 2px);
}
.wm15 {
  width: calc(15% - 2px);
}
.wm17 {
  width: calc(17% - 2px);
}
.wm20 {
  width: calc(20% - 2px);
}
.wm25 {
  width: calc(25% - 2px);
}
.w25 {
  width: 25%;
}
.wm35 {
  width: calc(35% - 2px);
  color: #690005;
  font-weight: 600;
}
.w49 {
  width: 49%;
}
.wm85 {
  width: 85%;
}
.t-center {
  text-align: center;
}

/*共通レイアウト*/
#container {
  width: 1100px;
  margin: 0 auto;
  padding: 5px 0;
}
#left-container {
  width: 830px;
  padding-bottom: 50px;
}
#right-container {
  width: 250px;
  background: #f4f4f4;
  padding: 15px;
}
h2.subtitle {
  display: flex;
  justify-content: start;
  align-items: center;
  position: relative;
  width: 100%;
  font-size: 2.0rem;
  padding: .2em .5em;
  overflow: hidden;
  border: 1px solid #a00008;
  border-radius: 3px;
  color: #333333;
  margin-bottom: 15px;
}
h2.subtitle:before {
  position: absolute;
  top: -75%;
  left: -55px;
  z-index: -1;
  transform: rotate(25deg);
  width: 100px;
  height: 200%;
  background-color: #a00008;
  content: '';
}
h2.subtitle span {
  margin-right: 1.1em;
  font-size: 1.1em
}
h2.subtitle span:before {
  color: #fff;
}

.sp,
#sp-menu {
  display: none;
}
@media screen and (min-width: 480px) {
  .sp-br {
    display: none;
  }
}
@media screen and (max-width: 480px) {
  #container {
    width: 100%;
    padding: 20px 5px;
  }
  #left-container {
    width: 100%;
    padding-bottom: 20px;
  }
  #right-container {
    width: 100%;
  }
  .pc {
    display: none;
  }
  .sp,
  #sp-menu {
    display: block;
  }
  .flex {
    display: block;
  }
  h2.subtitle {
    font-size: 1.6rem;
    padding: .3em .5em;
    margin-bottom: 15px;
  }
  h2.subtitle:before {
    top: -75%;
    left: -65px;
  }
}

/* スマホメニュー
--------------------------------------------- */
/* === スマホ固定メニュー === */
.mini-text {
  font-size: 1.2rem;
}
.footer-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  background: #000000;
  z-index: 9999999999;
  margin: 0 auto;
  padding: 12px 0;
  width: 100%;
  overflow: hidden;
  display: table;
  table-layout: fixed;
  text-align: center;
  border-top: 2px solid #fff;
}
ul.footer-menu li {
  margin: 0;
  padding: 0;
  width: calc(100% / 6);
  display: table-cell;
  vertical-align: middle;
  list-style-type: none;
  font-size: 12px;
  line-height: 15px;
}
ul.footer-menu li span {
  font-size: 2.2rem;
}
ul.footer-menu li span:before {
  color: #fff;
}
ul.footer-menu li a {
  border: none;
  display: block;
  color: #fff;
  text-align: center;
  text-decoration: none;
}

/* 展開メニュー*/
.modal-window {
  transform: translate3d(0, 100%, 0);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  opacity: 0;
  line-height: 1.3;
  display: none9;
}
.modal-window:target {
  transform: translate(0, 0);
  opacity: 1;
}
.is-active.modal-window {
  display: block9;
}
.modal-window:target {
  display: block9;
}
.modal-window .modal-inner {
  position: absolute;
  top: 143px;
  left: 10%;
  z-index: 20;
  padding: 5px;
  margin: 0 auto;
  width: 80%;
  overflow-x: hidden;
  border-radius: 6px;
  background: #fff;
}
.modal-window .modal-close {
  display: block;
  text-indent: -100px;
  overflow: hidden;
}
.modal-window .modal-close:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  background: #1b1c1c;
  opacity: 0.8;
}
.modal-window .modal-close:after {
  content: "\00d7";
  position: absolute;
  top: 105px;
  right: 15%;
  z-index: 20;
  margin: 0 auto;
  background: #fff;
  color: #000;
  border-radius: 2px;
  padding: 10px 10px;
  text-decoration: none;
  text-indent: 0;
}
.modal-window {
  transition: opacity 0.4s;
}
.modal-inner li {
  float: left;
  width: 25%;
}
.modal-inner li a {
  font-size: 150%;
  position: relative;
  display: block;
  padding: 10px;
  color: #fff;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
}
#modal-p02 .modal-inner .mod li span {
  vertical-align: middle;
}
.modal-inner li a:hover {
  box-shadow: none;
}
.modal-inner ul.mod li img {
  width: 10%;
  display: inline;
  margin-right: 15px;
  vertical-align: middle;
}
.mod li {
  float: none;
  display: block;
  width: 100%;
}
.mod li a {
  text-align: left;
  font-weight: bold;
  background: #000000;
  margin: 2%;
  font-size: 1.4rem;
}

/* TOPページ(front-page.html)
--------------------------------------------- */
/* ヘッダメニュー
---------------------- */
/* New Header Styles */
.new-header {
  background-color: #000;
  width: 100%;
  position: relative;
  z-index: 1000;
  /* The height of the black bar is now controlled by new-header-inner */
}
.new-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative; /* Positioning context for the logo */
  height: 70px; /* Fixed height for the black bar */
}
.new-global-nav {
  display: grid;
  /* Define a gap for the logo, e.g., 220px. This may need tweaking. */
  grid-template-columns: 1fr 220px 1fr;
  align-items: center;
  height: 100%;
}
.new-global-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}
.new-global-nav .nav-left {
  grid-column: 1;
  justify-self: end;
}
.new-global-nav .nav-right {
  grid-column: 3;
  justify-self: start;
}
.new-global-nav li {
  margin: 0 15px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  padding: 5px 0;
  line-height: 16px;
}
.new-global-nav li span {
  font-size: 18px;
}
.new-global-nav li a {
  display: block;
  color: #fff;
  text-decoration: none;
}
.new-global-nav li a:hover {
  color: #ff0000;
}
body#top li#menu01 a,
body#about li#menu02 a,
body#results li#menu03 a,
body#trial li#menu04 a,
body#tournament li#menu03 a,
body#friends li#menu05 a,
body#blog li#menu06 a,
body#instagram li#menu07 a,
body#contact li#menu08 a {
  color: #ff0000;
}
.header-logo {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 1001; /* Above the header bar */
}
.header-logo img {
  height: 100px; /* Taller than the 60px header bar */
  width: auto;
}
/* Hide old PC nav if it's still being used elsewhere */
header nav#pc-navi.pc {
  display: none !important;
}
/* Responsive adjustments */
@media screen and (max-width: 1200px) {
  .new-global-nav li {
    margin: 0 10px;
  }
  .header-logo {
    margin: 0 20px;
  }
  .new-global-nav li a {
    font-size: 14px;
  }
}
@media screen and (max-width: 980px) {
  header.new-header nav ul {
    display: none;
  }
  header.new-header .header-logo {
    margin: 0 auto;
  }
}

/*見出し*/
h2.block01-logo {
  width: 400px;
  margin: 0 auto;
}
h2.para-inbox span:before {
  color: #fff;
}
h2.para-inbox {
  font-weight: bold;
  color: #fff;
  text-shadow: 0 0 6px #ff2c2c;
  width: fit-content;
  margin: auto;
  padding: 0.4em 2em;
  margin-bottom: 20px;
  text-align: center;
  position: relative;
}
h2.para-inbox::before,
h2.para-inbox::after {
  content: "";
  background-color: #ff2c2c;
  width: 50%;
  height: 3px;
  position: absolute;
}
h2.para-inbox::before {
  top: 0;
  left: 0;
}
h2.para-inbox::after {
  bottom: 0;
  right: 0;
}
h2.para-outbox {
  position: relative;
  padding: 15px 0 0 30px;
  font-size: 24px;
  border-bottom: 2px solid #868686;
  margin-bottom: 20px;
}
h2.para-outbox i {
  margin-right: 10px;
}
h2.para-outbox i.icon-qa-2 {
  font-size: 3.4rem;
}
h2.para-outbox span {
  position: relative;
  z-index: 2;
}
h2.para-outbox::before {
  content: attr(data-en);
  position: absolute;
  top: 0px;
  left: 40px;
  color: rgba(150, 0, 0, 0.2);
  font-size: 28px;
  text-transform: uppercase;
  z-index: 1;
}

@media screen and (max-width: 480px) {
  h2.block01-logo {
    width: 70%;
  }
}

/* 動画・画像切り替え
---------------------- */
#top-video {
  position: absolute;
  top: 0px;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
}
/* BG SLIDESHOW CSS */
.slide-header {
  position: relative;
  height: 85vh;
  background-size: 100%;
  overflow: hidden;
  background-color: #fff;
}
#slide-inner {
  height: 70vh;
  width: 100%;
  margin: 0;
  padding: 0;
}
.fade-top {
  width: 100%;
  height: 85vh;
  margin: 0 auto;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
/* End of BG SLIDESHOW */
.slider-area {
  position: relative;
  width: 100%;
  height: 85vh;
  z-index: 2;
}
.slider-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  animation: slideShow 20s linear infinite;
}
.slider-item:nth-child(1) {
  animation-delay: 0s;
}
.slider-item:nth-child(2) {
  animation-delay: 5s;
}
.slider-item:nth-child(3) {
  animation-delay: 10s;
}
.slider-item:nth-child(4) {
  animation-delay: 15s;
}
.slider-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@keyframes slideShow {
  0% {
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  20% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}
@media screen and (max-width: 480px) {
  #top-video {
    object-fit: cover;
  }
  .slide-header {
    height: 70vh;
  }
  .slider-area {
    height: 70vh;
  }
  #slide-inner {
    height: 70vh;
  }
  .fade-top {
    height: 70vh;
  }
  .sp .slide-text-overlay {
    left: 50%;
    top: 55%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 90%;
    padding: 15px;
    text-align: center;
  }
  .slide-text-overlay dt {
    font-size: 1.8rem;
  }
  .slide-text-overlay dd {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  .slide-text-overlay p {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 15px;
  }
  .slide-btn a {
    padding: 8px 16px;
    font-size: 1.4rem;
  }
}
/* Slide Text Overlay */
.slide-text-overlay {
  position: absolute;
  top: 55%;
  left: 10%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
  text-align: center;
  padding: 25px 30px;
  border-radius: 8px;
  width: 580px;
  z-index: 10;
  opacity: 0; /* Initially hidden */
  transition: opacity 1s ease-in-out; /* Same as slide transition */
}
.slide-text-overlay dl {
  margin-bottom: 15px;
}
.slide-text-overlay dt {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 5px;
  text-shadow: 0 0 4px #ff7777;
}
.slide-text-overlay dt:before {
  display: block;
  font-size: 1.6rem;
  font-weight: 100;
  line-height: 1;
  letter-spacing: 0.1em;
  content: attr(data-label);
}
.slide-text-overlay dd {
  font-size: 1.8rem;
  color: #fca4a4;
  font-weight: bold;
  text-shadow: 0 0 4px #000000;
  margin-left: 0;
}
.slide-text-overlay dd .icon-12:before {
  color: #fca4a4;
  margin-right: 15px;
}
.slide-text-overlay p {
  font-size: 1.6rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.slide-btn a {
  display: inline-block;
  background-image: linear-gradient(to bottom, #b3030c, #f56970);
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 28px;
  font-weight: bold;
  border: 1px solid #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.slide-btn a:hover {
  background-image: linear-gradient(to bottom, #ffffff, #ffd3d3);
  color: #000;
  border-color: #ac2925;
}
@media screen and (max-width: 480px) {
  .slide-text-overlay {
    background-color: rgba(0, 0, 0, 0.7);
  }
}

/* Waveアニメーション */
/**************************/
.waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 15vh;
  margin-bottom: -7px; /*Fix for safari gap*/
  min-height: 100px;
  max-height: 150px;
  z-index: 2;
}
/* Animation */
.parallax > use {
  animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }
  100% {
    transform: translate3d(85px, 0, 0);
  }
}
@media (max-width: 768px) {
  .waves {
    height: 40px;
    min-height: 40px;
  }
}

/* リンクボタン */
/**************************/
.move-page {
  width: 250px;
  margin: 20px auto 0;
}
.move-page2 {
  width: 370px;
  margin: 20px auto 0;
}
.move-page a,
.move-page2 a {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 5px 10px;
  background-image: linear-gradient(to bottom, #b3030c, #f56970);
  color: #fff;
  border-radius: 20px;
  box-shadow: 0 0 8px #000000b3;
}
.move-page a:hover,
.move-page2 a:hover {
  background-image: linear-gradient(to bottom, #f56970, #b3030c);
  color: #000;
  border-color: #ac2925;
}
.move-page span.icon-12:before {
  color: #fff;
}
@media screen and (max-width: 480px) {
  .btn-online {
    width: 90%;
  }
}

/* Parallax-area */
/**************************/
#parallax-area .block {
  width: 980px;
  margin: 0 auto;
  padding: 30px 0;
}
.block-box {
  width: 70%;
  margin-left: 30%;
  padding: 20px 30px;
  border-radius: 5px;
  background: #f0e6dcb3;
  box-shadow: 0 0 8px #000000b3;
}
dl.shop-info {
  padding: 40px 0 0;
  text-align: center;
}
dl.shop-info dt {
  font-size: 2.4rem;
  color: #582f00;
  font-weight: bold;
}
#parallax-area .block-center {
  width: 980px;
  margin: 0 auto;
  text-align: center;
  padding: 30px 0;
}
#parallax-area .block-left {
  width: 980px;
  margin: 0 auto;
  text-align: left;
  padding: 30px 0;
}
#parallax-area .block-left dl {
  width: 40%;
}
#parallax-area .block-left dt {
  margin-bottom: 10px;
}
.googlemap iframe {
  width: 100%;
  height: 450px;
  filter: saturate(50%);
  border: solid 2px #b4b4b4;
}
#parallax-area .parallax-one,
#parallax-area .parallax-two,
#parallax-area .parallax-three {
  height: 510px;
  overflow: hidden;
  position: relative;
  width: 100%;
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom center;
}
#parallax-area .parallax-one {
  background-image: url(img/top/toppara01.jpg);
}
#parallax-area .parallax-two {
  background-image: url(img/top/toppara02.jpg);
}
#parallax-area .parallax-three {
  background-image: url(img/top/toppara05.jpg);
}
@media screen and (max-width: 480px) {
  #parallax-area .block {
    padding: 10px;
  }
  #parallax-area .parallax-one,
  #parallax-area .parallax-two,
  #parallax-area .parallax-three {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  #parallax-area .parallax-one,
  #parallax-area .parallax-two,
  #parallax-area .parallax-three {
    height: 700px;
  }
  #parallax-area .block {
    width: 95%;
    padding: 15px 0;
    margin: 0 auto;
  }
  .block-box {
    width: 90%;
    margin: 0 auto;
    padding: 10px 10px 20px;
  }
  #parallax-area .block-center,
  #parallax-area .block-left {
    width: 100%;
    padding: 30px 0px;
  }
  #parallax-area .block-center p {
    padding: 0 15px;
    font-size: 1.4rem;
  }
  #parallax-area .block-left dl {
    width: 90%;
    margin: 0 auto 20px;
  }
  .move-page2 {
    width: 90%;
    margin: 20px auto 0;
  }
  .move-page2 a {
    width: 100%;
    padding: 5px;
  }
}

#blog-list {
  margin-bottom: 30px;
}
#blog-list dl {
  padding: 5px 15px;
  margin-bottom: 5px;
  border: solid 1px #b4b4b4;
  box-shadow: 0 0 3px #a8a8a8b3;
}
#blog-list dd a {
  padding-left: 30px;
  text-decoration: underline;
  color: #000085;
}
.apply-box dt a {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  padding: 20px 0;
  outline: none;
  margin-bottom: 10px;
  border: 1px solid #4f181b;
  background-color: #b3030c;
  background-image: linear-gradient(to bottom, #b3030c, #f56970);
  border-radius: 4px;
  color: #fff;
  transition: none;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}
.apply-box dt a:hover {
  border: 1px solid #4f181b;
  background-color: #b3030c;
  background-image: linear-gradient(to bottom, #f56970, #b32a30);
}
/* 4ブロックQ＆A
---------------------- */
.qa-toparea {
  width: 90%;
  margin: 0 auto;
  max-width: 980px;
}
.cols {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.col {
  width: calc(25% - 2rem);
  margin: 1rem;
  cursor: pointer;
}
.roll-box {
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-perspective: 1000px;
  perspective: 1000px;
}
.front,
.back {
  background-size: cover;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  background-position: center;
  -webkit-transition: -webkit-transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  transition: -webkit-transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  -o-transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1),
    -webkit-transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  text-align: center;
  min-height: 280px;
  height: auto;
  border-radius: 10px;
  color: #fff;
  font-size: 1.5rem;
}
.back {
  background: #cedce7;
  background: -webkit-linear-gradient(45deg, #cedce7 0%, #596a72 100%);
  background: -o-linear-gradient(45deg, #cedce7 0%, #596a72 100%);
  background: linear-gradient(45deg, #cedce7 0%, #596a72 100%);
}
.front:after {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  content: "";
  display: block;
  opacity: 0.6;
  background-color: #000;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 10px;
}
.roll-box:hover .front,
.roll-box:hover .back {
  -webkit-transition: -webkit-transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  transition: -webkit-transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  -o-transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1),
    -webkit-transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
}
.back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
.inner {
  -webkit-transform: translateY(-50%) translateZ(60px) scale(0.94);
  transform: translateY(-50%) translateZ(60px) scale(0.94);
  top: 50%;
  position: absolute;
  left: 0;
  width: 100%;
  padding: 2rem;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  outline: 1px solid transparent;
  -webkit-perspective: inherit;
  perspective: inherit;
  z-index: 2;
}
.roll-box .back {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
.roll-box .front {
  -webkit-transform: rotateY(0deg);
  transform: rotateY(0deg);
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
.roll-box:hover .back {
  -webkit-transform: rotateY(0deg);
  transform: rotateY(0deg);
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
.roll-box:hover .front {
  -webkit-transform: rotateY(-180deg);
  transform: rotateY(-180deg);
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
.front .inner p {
  font-size: 2rem;
  margin-bottom: 2rem;
  position: relative;
}
.front .inner p:after {
  content: "";
  width: 4rem;
  height: 2px;
  position: absolute;
  background: #c6d4df;
  display: block;
  left: 0;
  right: 0;
  margin: 0 auto;
  bottom: -0.75rem;
}
.front .inner span {
  color: rgba(255, 255, 255, 0.7);
  font-family: "Montserrat";
  font-weight: 300;
}
.back .inner p {
  color: #ff000d;
}
@media screen and (max-width: 480px) {
  .front,
.back {
  min-height: 200px;
}
}

@media screen and (max-width: 64rem) {
  .col {
    width: calc(33.333333% - 2rem);
  }
}
@media screen and (max-width: 48rem) {
  .col {
    width: calc(50% - 2rem);
  }
}
@media screen and (max-width: 32rem) {
  .col {
    width: 100%;
    margin: 0 0 2rem 0;
  }
}
/* これまでの主な大会成績
---------------------- */
#champion-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}
#champion-top dt {
  width: 8%;
  margin-bottom: 10px;
  padding: 10px 0 0 5px;
}
#champion-top dt span:before{
  font-size: 2.6em;
  color: #940007;
}
#champion-top dd {
  width: 92%;
  text-align: left;
  padding-left: 20px;
  font-size: 2.0rem;
  font-weight: 600;
  color: #940007;
  display: flex;
  align-items: center;      /* 縦方向中央 */
  justify-content: flex-start;
}
@media screen and (max-width: 480px) {
  #champion-top dd {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }
  #champion-top dt {
    width: 6%;
    margin-right: 5px;
  }
  #champion-top dt span:before{
    font-size: 2.0em;
  }
}


/* baiscパンくず
----------------------------------*/
nav#breadcrumbs {
	padding-top: 5px;
	margin-bottom: 10px;
}
nav#breadcrumbs ul li .icon-home {
  font-size: 1.4rem;
}
.basic {
  margin-left:0;
  padding-left:15px;
}
.basic li {
  display:inline;
  list-style: none;
  font-weight: bold;
}
.basic li:after {
  content: '>';
  padding: 0 3px;
}
.basic li:last-child:after {
  content: '';
}
.basic li a {
  text-decoration: underline;
}
.basic li a:hover {
  color: #224599;
}

/* ブログ記事一覧(page-blog.php)
--------------------------------------------- */
.blog-summary {
  margin-bottom: 15px;
}
.blog-summary a {
  display: block;
  border: solid 1px #777777;
  box-shadow: 0 0 5px #000000b3;
  border-radius: 5px;
  padding: 10px;
}
.blog-summary a:hover {
  background-color: #ffe6e7;
}
.blog-summary dt {
  display: flex;
  align-items: center;
  padding: 0.4em 0.5em;
  font-weight: bold;
  color: #792428;
  background: #f4f4f4;
  border-left: solid 5px #ff6161;
  border-bottom: solid 3px #d7d7d7;
  margin-bottom: 20px;
}
.blog-summary dd div {
  width: 250px;
  padding: 5px;
  border: solid 1px #777777;
}
.blog-summary dd ul {
  width: 540px;
}
.blog-summary dd ul li.blog-overview {
  background: #f0f0f0;
  border-radius: 10px;
  padding: 12px;
}
@media screen and (max-width: 480px) {
  .blog-summary dd div {
    width: 100%;
    margin-bottom: 10px;
  }
  .blog-summary dd ul {
    width: 100%;
  }
}
/* 中ページ共通レイアウト
--------------------------------------------- */
#inpage-top {
  width: 1100px;
  height: 200px;
  border: solid 1px #9c0000;
  background-image: url("./img/inpage/inpagetop.jpg");
  padding: 110px 250px 0;
  margin-bottom: 20px;
}
@media screen and (max-width: 480px) {
}

/* お知らせ(single.php)
--------------------------------------------- */
#blog-top {
  width: 1100px;
  height: 200px;
  border: solid 1px #9c0000;
  background-image: url("./img/blog/blogtop.jpg");
  padding: 110px 250px 0;
  margin-bottom: 20px;
}
h3#blog-title {
  display: flex;
  align-items: center;
  padding: 0.4em 0.5em;
  color: #792428;
  background: #f4f4f4;
  border-left: solid 5px #ff6161;
  border-bottom: solid 3px #d7d7d7;
  margin-bottom: 20px;
}
h3#blog-title .icon-12 {
  flex-shrink: 0;
  font-size: 2.4rem;
  margin-right: 0.5em;
}
#blog-container {
  border: solid 1px #c9c9c9;
  padding: 10px;
}
ul#right-menu {
  margin-bottom: 30px;
}
ul#right-menu a {
  display: block;
  background: #ff6363;
  border: solid 1px #e0a3a3;
  border-radius: 5px;
  color: #fff;
  padding: 8px 15px;
  margin-bottom: 5px;
}
#right-menu .cat-item a::before {
  content: " ┗ ";
  color: #ffafaf;
}
ul#right-menu a:hover {
  background: #b43535;
}
.rightmenu-history select {
  width: 100%;
  padding: 10px;
}
#knews-top {
  padding: 0 0 10px 40px;
}
#knews-top li.blog-cat a {
  background-color: #792428;
  color: #fff;
  padding: 2px 7px;
  border-radius: 15px;
  font-size: 1.4rem;
}
.knews-item {
  padding: 10px;
}
.knewstext-right {
  width: 60%;
}
.knewsimg-right {
  width: 38%;
}
.knewstext-center {
  width: 100%;
}
.knewsimg-center {
  width: 80%;
  margin: 10px auto 0;
}
.knewsimg-center img {
  max-height: 250px;
}
.knewsimg-center100 {
  width: 100%;
  margin: 10px auto 0;
}
.knewsimg-right p,
.knewsimg-center p,
.knewsimg-center100,
.knewstext-double p {
  text-align: center;
  font-size: 1.4rem;
  text-indent: 0;
}
.knewsmovie {
  width: 100%;
  height: 0;
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
}
.knewsmovie video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}
.knewstext-double {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-top: 10px;
}
.knewstext-double div {
  width: 48%;
}
.movie-area {
  width: 600px;
  margin: 0 auto;
}
.movie-area video {
  width: 600px;
}
div.right-btn {
  text-align: right;
  margin-bottom: 5px;
}
div.right-btn a {
  display: inline-block;
  padding: 2px 10px;
  border: solid 1px #d2d2d2;
  border-radius: 15px;
  background: #d2d2d2;
  text-decoration: none;
  color: #333;
  font-weight: bold;
}
/* ---ページネーション--- */
.pnavi {
  margin-left: 20px;
}
.nav-links {
  display: flex;
}
.pnavi .page-numbers {
  display: inline-block;
  margin-right: 10px;
  padding: 10px 15px;
  color: #333;
  border-radius: 3px;
  box-shadow: 0 3px 3px #999;
  background: #fff;
}
.pnavi .current {
  padding: 10px 15px;
  background: #792428;
  color: #fff;
}
.pnavi .prev,
.pnavi .next {
  background: transparent;
  box-shadow: none;
  color: #792428;
}
.pnavi .dots {
  background: transparent;
  box-shadow: none;
}
.youtube {
  width: 100%;
  height: 0;
	margin-bottom: 40px;
  position: relative;
  padding-top: 56.25%;
  overflow: hidden;
}
.youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}
article.knews-item a {
  text-decoration: underline;
  color: #000058;
}
article.knews-item #form-text a {
  text-decoration: none;
}
@media screen and (max-width: 480px) {
  #knews-top {
    padding: 0 0 10px 20px;
  }
  .knewstext-right {
    width: 100%;
    margin-bottom: 10px;
  }
  .knewsimg-right {
    width: 100%;
    margin: 0 auto;
  }
  .knewstext-double {
    display: block;
  }
  .knewstext-double div {
    width: 100%;
    margin-bottom: 5px;
  }
  .movie-area {
    width: 100%;
  }
  .movie-area video {
    width: 100%;
  }
  .knewsimg-center {
    width: 100%;
  }
  .knewsimg-center img {
    height: auto;
  }
  #blog-top {
    width: 100%;
    height: 300px;
    border: solid 1px #9c0000;
    background-image: url("./img/sp/blogtop-sp.png");
    background-size: contain;
    background-repeat:  no-repeat; 
    padding: 160px 15px 0;
  }
}

/* Historyページレイアウト
--------------------------------------------- */
#results-top {
  width: 1100px;
  height: 200px;
  border: solid 1px #9c0000;
  background-image: url("./img/inpage/results.png");
  padding: 110px 290px 0;
  margin-bottom: 20px;
}
@media screen and (max-width: 480px) {
  #results-top {
    width: 100%;
    height: 260px;
    border: solid 1px #9c0000;
    background-image: url("./img/sp/historytop-sp.png");
    background-size: contain;
    background-repeat:  no-repeat; 
    padding: 140px 15px 0;
  }
}
/* Instagramページレイアウト
--------------------------------------------- */
#instagram-top {
  width: 1100px;
  height: 200px;
  border: solid 1px #9c0000;
  background-image: url("./img/inpage/insta.jpg");
  padding: 85px 290px 0;
  margin-bottom: 20px;
}
.insta-link {
  margin: 10px auto;
}
.insta-link a {
  display: block;
  background: #d14040;
  padding: 5px 20px;
  color: #fff;
  border-radius: 5px;
}
 .insta-link a:hover {
  background: #f56970;
}
@media screen and (max-width: 480px) {
  #instagram-top {
    width: 100%;
    height: 300px;
    border: solid 1px #9c0000;
    background-image: url("./img/sp/instagramtop-sp.png");
    background-size: contain;
    background-repeat:  no-repeat; 
    padding: 130px 15px 0;
  }
  .insta-link a {
    text-align: center;
  }
}

/* ベアーズについてページ
--------------------------------------------- */
#about-top {
  margin-bottom: 15px;
}
.about-text {
  width: 100%;
  margin: 0 0 30px;
  border: solid 1px #c9c9c9;
  padding: 25px 25px 5px;
  background-image: url("./img/inpage/about-back.png");
  background-size: 40%;
  background-repeat:  no-repeat; 
    background-position: right top;
}
.about-text ul {
  margin: 15px 0 15px 50px;
}
.about-text p {
  margin-bottom: 20px;
}
.about-text dl {
  margin-left: 40px;
}
.about-text dt {
  position: relative;
  background: #ffc1c1;
  width: 220px;
  padding: 2px 5px 2px 35px;
  font-size: 1.6rem;
  font-weight: 600;
  color: #8a0007;
  border-radius: 0 10px 10px 0;
  margin-bottom: 10px;
}
.about-text dt:before {
  font-family: "icomoon";
  content: "\e90b";
  display: inline-block;
  line-height: 35px;
  position: absolute;
  padding: 0em;
  color: white;
  background: #ff3737;
  width: 40px;
  text-align: center;
  height: 40px;
  left: -1.35em;
  top: 50%;
  transform: translateY(-50%);
  border: solid 3px white; 
  border-radius: 50%;
}
.about-text dd {
  margin: 0 0 20px 30px;
}

@media screen and (max-width: 480px) {
  .about-text {
    padding: 15px;
  }
  .about-text dl {
    margin-left: 20px;
  }
  .about-text dd {
    margin: 0 0 20px 10px;
  }
}
/* 見学・体験会についてページ
--------------------------------------------- */
#trial-days {
  width: 100%;
  height: auto;
  margin: 0 0 30px;
  border: solid 1px #c9c9c9;
  padding: 360px 0 30px;
  background-image: url("./img/inpage/trial-back.png");
  background-size:  contain;  
  background-repeat:  no-repeat; 
  background-position: right top;
}
#trial-left {
  width: 570px;
  padding: 120px 10px 0;
}
#trial-right {
  width: 520px;
  margin-top: 110px;
  background-image: url("./img/inpage/trial-r01.png");
  background-size:  contain;  
  background-repeat:  no-repeat; 
  background-position: left top;
}
#trial-right p {
  padding: 120px 70px 0;
}
#trial-right dl {
  margin: 0 0 10px 70px;
}
#trial-right dt {
  width: 15%;
  font-weight: 600;
}
#trial-right dd {
  width: 85%;
}
#trial-right div {
  font-size: 2.8rem;
  font-weight: 600;
  text-align: center;
  color: #be000a;
}
ul.trial-notice {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
ul.trial-notice li {
  padding: 10px 0;
  background-color: #fde8e8;
  font-size: 1.8rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 5px;
}
ul.trial-pin {
  margin: 15px 0 30px 30px;
}
#trial-left #form-select li {
  margin: 0 auto;
}
@media screen and (max-width: 480px) {
  #trial-left {
    width: 100%;
  }
  #trial-right {
    width: 100%;
    margin-top: 30px;
  }
  #trial-days {
    margin: 0;
    padding: 100px 0 30px;
    background-image: url("./img/inpage/trial-backsp.png");
  }
  ul.trial-notice li {
    font-size: 1.6rem;
    display: grid;
    place-items: center;
  }
  ul.trial-pin {
    margin: 15px 0 50px 15px;
  }
  #trial-right p {
    padding: 80px 60px 0;
  }
  #trial-right div {
    font-size: 2.4rem;
  }
  #trial-right dl {
    margin: 0 0 10px 60px;
  }
  #trial-right dt {
    width: 100%;
  }
  #trial-right dd {
    width: 100%;
  }
}


/* ベアーズQ＆Aページ
--------------------------------------------- */
#qa-top {
  width: 1100px;
  height: 300px;
  border: solid 1px #9c0000;
  background-image: url(./img/inpage/qa-top.png);
  background-size:  cover;  
  background-repeat:  no-repeat; 
  background-position: left top;
  margin-bottom: 20px;
}
/* Q&Aリスト */
#qa-area dl {
  margin: 0 0 30px 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 30px;
}
#qa-area dl:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* 質問 (Q) のスタイル */
#qa-area dt {
  display: flex;
  align-items: flex-start;
  font-weight: bold;
  font-size: 18px;
  color: #a00008;
  margin-bottom: 12px;
}
.q-icon {
  background-color: #a00008;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  flex-shrink: 0;
  font-family: Arial, sans-serif;
}

/* 回答 (A) のスタイル */
#qa-area dd {
  display: flex;
  align-items: flex-start;
  font-size: 16px;
  padding-left: 4px;
  margin-left: 15px;
}
.a-icon {
  background-color: #000000;
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  flex-shrink: 0;
  margin-top: 3px; /* テキストとの位置調整 */
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 14px;
}
/* 強調テキスト */
.highlight {
  color: #d9534f; /* 注意を引く赤系 */
  font-weight: bold;
}
@media screen and (max-width: 480px) {
  #qa-top {
    width: 100%;
    height: 180px;
    border: none;
    background-image: url("./img/sp/qatop-sp.png");
    background-size: contain;
    background-repeat:  no-repeat; 
  }
  #qa-area dl {
    margin: 0 0 10px 5px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
  }
}


/* 試合結果ページ
--------------------------------------------- */
.results-logo {
  width: 200px;
  margin: 0 auto 20px;
}
.items-black {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 5x;
  position: sticky;
  top: 0;
  z-index: 1;
}
.items-black li {
  background-color: #000;
  color: #ffffff;
  text-align: center;
  padding: 5px 0;
}
.results-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 3px;
}
.results-items li {
  text-align: center;
  padding: 5px 0;
  background-color: #ffeeee;
  margin: 0 0 2px;
  display: grid;
  place-items: center;

}
.results-items li a {
  text-decoration: underline;
}
.scroll-box {
  height: 300px;        /* フレームの高さ */
  overflow-y: scroll;   /* 縦スクロール */
  border: 1px solid #ccc;
  padding: 10px;
  margin-bottom: 50px;
}

@media screen and (max-width: 480px) {
  .items-black li {
    font-size: 1.4rem;
  }
  .scroll-box {
    height: 400px;        /* フレームの高さ */
    margin-bottom: 30px;
  }
  .results-items {
    font-size: 1.2rem;
  }
}


/* 大会情報ページ
--------------------------------------------- */
#tournament-top {
  width: 1100px;
  height: 200px;
  border: solid 1px #9c0000;
  background-image: url("./img/inpage/tournament-top.jpg");
  padding: 120px 270px 0;
  margin-bottom: 20px;
}
#tournament-box {
  width: 100%;
  margin: 0 auto 50px;
  position: relative;
}
#tournament-box dd h3 {
  margin-bottom: 5px;
}
#tournament-box dd h3 span.red24 {
  color: #ac0009;
  font-size: 2.4rem;
}
#tournament-box dd .victory-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
}
#tournament-box dd .victory-flex img {
  width: 140px;
  display: block;
  margin: 0;
}
#tournament-box dd h3.high-mark {
  line-height: 40px;
  padding: 0 0 0 50px;
  background-image: url(./img/inpage/ico-high.png);
  background-size: 40px; 
  background-repeat:  no-repeat; 
  background-position: left top;
}
#tournament-box dd h3.low-mark {
  height: 40px;
  line-height: 40px;
  padding: 0 0 0 50px;
  background-image: url(./img/inpage/ico-low.png);
  background-size: contain; 
  background-repeat:  no-repeat; 
  background-position: left top;
}
#tournament-box dd p {
  margin-bottom: 16px;
  font-size: 14px;
}
#tournament-box:after{
  content: "";
  width: 2px;
  border-left: 2px solid #bb0000;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20%;
  }
#tournament-box dl {
  overflow: hidden;
  }
#tournament-box dt span {
  width: 15%;
  height: 40px;
  font-size: 2.4rem;
  color: #fff;
  font-weight: bold;
  background: #bb0000;
  line-height: 40px;
  text-align: center;
  position: relative;
  float: left;
  }
#tournament-box dt span:after {
  display: block;
  content: "";
  width: 0;
  height: 0;
  border: 20px solid transparent;
  border-left-color: #bb0000;
  position: absolute;
  top: 0;
  left: 100%;
  }
#tournament-box dd {
  margin-left: 20%;
  position: relative;
  padding-top: 8px;
  padding-left: 32px;
  padding-bottom: 32px;
  }
#tournament-box dd:before {
  display: block;
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #bb0000;
  position: absolute;
  left: -7px;
  top: 12px;
  }
  @media screen and (max-width: 480px) {
    #tournament-top {
      width: 100%;
      height: 270px;
      border: solid 1px #9c0000;
      background-image: url("./img/sp/tournamenttop-sp.png");
      background-size: contain;
      background-repeat:  no-repeat; 
      padding: 140px 15px 0;
    }
    #tournament-box {
      padding: 0 10px 0 0;
    }
    #tournament-box dt span {
      width: 14%;
      height: 30px;
      font-size: 2.0rem;
      line-height: 30px;
    }
    #tournament-box dt span:after {
      display: block;
      content: "";
      width: 0;
      height: 0;
      border: 15px solid transparent;
      border-left-color: #bb0000;
      position: absolute;
      top: 0;
      left: 100%;
    }
    #tournament-box dd h3 span.red24 {
      font-size: 2.0rem;
    }
    #tournament-box dd .victory-flex img {
      display: none;
    }
    #tournament-box dd .victory-flex {
      display: block;
    }
    #tournament-box dd h3.high-mark {
      height: auto;
      line-height: 35px;
      padding: 0 0 0 50px;
      background-image: url(./img/inpage/ico-high.png);
      background-size: 13%; 
      background-repeat:  no-repeat; 
      background-position: left top;
    }
    #tournament-box dd h3.low-mark {
      height: auto;
      line-height: 35px;
      padding: 0 0 0 50px;
      background-image: url(./img/inpage/ico-low.png);
      background-size: 13%; 
      background-repeat:  no-repeat; 
      background-position: left top;
    }
    #tournament-box dd:before {
      display: block;
      content: "";
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background: #bb0000;
      position: absolute;
      left: -5px;
      top: 8px;
      }
  }

/* ベアーズの仲間たち
--------------------------------------------- */
#friends-top {
  width: 1100px;
  height: 200px;
  border: solid 1px #9c0000;
  background-image: url("./img/inpage/friends00.png");
  padding: 120px 280px 0;
  margin-bottom: 20px;
}
.leader-intro {
  width: 100%;
  margin-bottom: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.leader-intro ul {
  border: solid 1px #c9c9c9;
  padding: 5px;
  margin-bottom: 15px;
}
.leader-intro ul,.leader-intro div.empty-card,.empty-left,.empty-right {
  width: 27%;
}
.empty-left,.empty-right {
  padding-top: 180px;
}
.leader-intro ul li.leader-photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  margin-bottom: 10px;
}
.leader-intro ul li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.leader-intro ul li.leader-post {
  font-size: 1.4rem;
  color: #858585;
  padding-left: 10px;
}
.leader-intro ul li.leader-name {
  text-align: center;
  font-size:2.0rem;
  font-weight: bold;
  margin-bottom: 5px;
}
.leader-intro ul li.leader-text {
  padding: 0 5px;
  font-size: 1.4rem;
}
#grade-box {
  width: 100%;
  margin-bottom: 50px;
  background-image: url("./img/inpage/friends01.png");
  background-size: 30%;
  background-repeat:  no-repeat; 
  background-position: right top;
}
#grade-box ul {
  width: 68%;
  background: #fde5e5;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#grade-box ul li dl {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#gradebox-left {
  width: 70%;
  border-right: 2px solid #fff;
}
#gradebox-right {
  width: 30%;
  display: grid;
  place-items: center;
  border-bottom: 2px solid #fff;
}
#gradebox-left dl dt {
  width: 60%;
  padding: 5px 0;
  display: grid;
  place-items: center;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}
#gradebox-left dl dd {
  width: 40%;
  padding: 5px 0;
  display: grid;
  place-items: center;
  border-bottom: 2px solid #fff;
}
.course-box {
  width: 100%;
  padding: 10px 20px 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.course-box li {
  width: 23%;
  margin-bottom: 10px;
}


@media screen and (max-width: 480px) {
  #friends-top {
    width: 100%;
    height: 260px;
    border: solid 1px #9c0000;
    background-image: url("./img/sp/friendtop-sp.png");
    background-size: contain;
    background-repeat:  no-repeat; 
    padding: 130px 15px 0;
  }
  .leader-intro ul,.leader-intro div.empty-card {
    width:100%;
  }
  .empty-left,.empty-right {
    display: none;
  }
  #grade-box {
    background-image: none;
  }
  #grade-box ul {
    width: 100%;
  }
  .course-box li {
    width: 100%;
  }
}



/* お問合せフォーム-案内バー
--------------------------------------------- */
.progressbar {
  display: flex;
  flex-wrap: wrap;
	margin: 0 0 30px;
  width: 100%;
}
.progressbar .item {
    position: relative;
    width: 33%;
    text-align: center;
    position: relative;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
    line-height: 1.5;
    background: #F5F5F5;
    color: #999999;
}
.progressbar .item:not(:last-child)::before,
.progressbar .item:not(:last-child)::after {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: 100%;
    content: '';
    border: 37px solid transparent;
    border-left: 20px solid #F5F5F5;
    margin: auto;
}
.progressbar .item:not(:last-child)::before {
    margin-left: 1px;
    border-left-color: #FFF;
}
@media screen and (max-width:480px) {
.progressbar .item {
    font-size: 11px;
    line-height: 1.4;
    padding: 10px 0;
}
.progressbar .item:not(:last-child)::before,
.progressbar .item:not(:last-child)::after {
    border-width: 25px;
    border-left-width: 12px;
}
}
/* active */
.progressbar .item.active {
    z-index: 1;
    background: #ff6a6a;
    color: #FFF;
}
.progressbar .item.active:not(:last-child)::after {
    border-left-color: #ff6a6a;
}
.progressbar .item.active:not(:last-child)::before {
    border-left: none;
}

/* お問い合わせフォーム
--------------------------------------------- */
#contact-top {
  width: 1100px;
  height: 200px;
  border: solid 1px #9c0000;
  background-image: url("./img/inpage/contact-top.png");
  padding: 120px 0 0;
  margin-bottom: 20px;
}
#trial-top {
  width: 1100px;
  height: 200px;
  border: solid 1px #9c0000;
  background-image: url("./img/inpage/trial-top.png");
  padding: 120px 0 0;
  margin-bottom: 20px;
}
#match-top {
  width: 1100px;
  height: 200px;
  border: solid 1px #9c0000;
  background-image: url("./img/inpage/match-top.png");
  padding: 120px 0 0;
  margin-bottom: 20px;
}
#form-text {
  text-align: center;
  width: 100%;
  margin-bottom: 30px;
}
#form-text h4 {
  font-size: 2.2rem;
  font-weight: bold;
  color: #8f0007;
}
 #form-text div a {
  display: inline-block;
  width: 320px;
  text-align: center;
  margin: 10px auto;
  padding: 15px 0;
  background-image: linear-gradient(to bottom, #b3030c, #f56970);
  color: #fff;
  border-radius: 30px;
  box-shadow: 0 0 8px #000000b3;
}
ul#form-select {
  width: 600px;
  margin: 0 auto;
}
ul#form-select li {
  width: 280px;
  text-align: center;
}
ul#form-select li a {
  display: block;
    width: 100%;
    padding: 5px 0;
    outline: none;
    margin-bottom: 10px;
    border: 1px solid #4f181b;
    background-color: #b3030c;
    background-image: linear-gradient(to bottom, #b3030c, #f56970);
    border-radius: 4px;
    color: #fff;
    transition: none;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}
ul#form-select li a:hover {
  border: 1px solid #4f181b;
  background-color: #b3030c;
  background-image: linear-gradient(to bottom, #f56970, #b32a30);
}
#contact dl dt,#contact dl dd {
	padding: 10px 20px;
	margin-bottom: 5px;
}
#contact dl dt {
	width: 30%;
	background: #e7e0e0;
	display: grid;
  place-items: center;
	color: #a00008;
	font-weight: bold;
	text-align: center;
}
#contact dl dt.anycolour {
	background: #d1cfcf;
}
#contact dl dd {
	width: 69.5%;
	background: #ebebeb;
}
#contact dl dd select {
	padding: 5px 10px;
}
#contact dl dd input.spmax {
	padding: 5px 10px;
	width: 350px;
	font-size: 1.8rem;
}
#contact dl dd input.smallarea,#contact dl dd input.smallarea2 {
	padding: 5px 10px;
	width: 150px;
	font-size: 1.8rem;
}
#contact dl dd textarea.pcmax,#contact dl dd input.pcmax {
	width: 100%;
	padding: 5px 10px;
	font-size: 1.8rem;
}
.button_area {
  text-align: center;
  padding: 20px 0 40px 0;
}
.button_area button {
	display: inline-flex;
    align-items: center;
    color: #ffffff;
    font-size: 1.6rem;
    letter-spacing: 2px;
    padding: 10px 20px;
    border: solid 1px #792428;
    border-radius: 30px;
    background: #792428;
    cursor: pointer;
}
.button_area span {
  font-size: 2.0rem;
  line-height: 1;
}
#phone_btn a {
	display: block;
	margin: 40px auto;
	width: 280px;
  color: #ffffff;
  font-size: 1.6rem;
  letter-spacing: 2px;
  padding: 10px 20px;
  border: solid 1px #d9a62e;
  border-radius: 30px;
  background: #d9a62e;
	text-align: center;
}
ul#confirm {
	margin: 30px auto;
	border: solid 1px #792428;
	padding: 20px;
}
ul#confirm li {
	text-align: center;
	font-size: 1.8rem;
	font-weight: bold;
	color: #792428;
}
#chaasu-title {
	background-color: #e7e0e0;
	padding: 10px 20px;
}
#chaasu {
	padding: 10px 20px;
	background-color: #ebebeb;
}
#chaasu span.mwform-checkbox-field {
	display: inline-block;
	width: 240px;
	padding: 0px 10px;
}
input.chaasutext {
	padding: 3px;
	width: 250px;
}
#chaasu .horizontal-item + .horizontal-item {
	margin-left: 0px;
}
.form-texttop {
	margin: 0 0 30px 30px;
}
.form-texttop span {
	color: #e6023b;
	font-weight: bold;
}
@media screen and (max-width:480px) {
  #contact-top {
    width: 100%;
    height: 180px;
    border: solid 1px #9c0000;
    background-image: url("./img/sp/contacttop-sp.png");
    background-size: contain;
    background-repeat:  no-repeat; 
    padding: 70px 0px 0 20%;
  }
  #match-top {
    width: 100%;
    height: 180px;
    border: solid 1px #9c0000;
    background-image: url("./img/sp/matchtop-sp.png");
    background-size: contain;
    background-repeat:  no-repeat; 
    padding: 70px 0px 0 20%;
  }
  #trial-top {
    width: 100%;
    height: 180px;
    border: solid 1px #9c0000;
    background-image: url("./img/sp/trialtop-sp.png");
    background-size: contain;
    background-repeat:  no-repeat; 
    padding: 70px 0px 0 20%;
  }
  ul#form-select {
    width: 80%;
    margin: 0 auto;
  }
  ul#form-select li {
    width: 100%;
    text-align: center;
  }
  ul#form-select li a {
    font-size: 1.4rem;
    padding: 8px 0;
  }
  ul#form-select li a span {
    display: none;
  }

	#contact dl dt,#contact dl dd {
		width: 100%;
	}
	#contact dl dt {
		margin: 0;
	}
	#contact dl dd input.spmax {
		width: 100%;
	}
	#contact dl dd {
		text-align: center;
	}
	ul#confirm li {
		text-align: left;
	}
	input.chaasutext {
		display: block;
		margin: 0 auto;
	}
	.form-texttop {
		margin: 0 5px 15px 5px;
	}
	#contact dl dd input.smallarea2 {
		width: 27%;
	}
}

/* メンバー専用ページ
--------------------------------------------- */
#login-top {
  margin: 30px 80px 80px;
}
#login-user {
  text-align: right;
  margin-bottom: 10px;
}
#login-user span a {
  display: inline-block;
  padding: 2px 10px;
  border: solid 1px #d2d2d2;
  border-radius: 15px;
  background: #d2d2d2;
}
body#member h3 {
  position: relative;
  padding: .3em 0 .2em 1em;
  border-bottom: 3px solid #d02525;
  color: #333333;
  margin-bottom: 10px;
}
body#member h3::before {
  position: absolute;
  top: 0;
  left: .3em;
  transform: rotate(55deg);
  height: 11px;
  width: 12px;
  background: #d02525;
  content: '';
}
body#member h3::after {
  position: absolute;
  transform: rotate(15deg);
  top: .6em;
  left: 0;
  height: 8px;
  width: 8px;
  background: #d02525;
  content: '';
}
div#member-top {
  width: 100%;
  margin: 0 auto 50px;
  padding: 1.0em 1.5em;
  border-left: 5px solid #d02525;
  border-radius: 3px;
  box-shadow: 0 2px 3px rgb(0 0 0 / 20%);
  background-color: #f2f2f2;
}
div#member-file dl {
  width: 100%;
  margin-bottom: 50px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
div#member-file dl .b-red {
  background-color: #ffcfd1;
  padding: 5px;
  text-align: center;
}
div#member-file dt {
  width: 20%;
  padding: 10px 0;
  background-color: #f2f2f2;
  border-right: 2px solid #ffffff;
  margin-bottom: 2px;
  text-align: center;
}
div#member-file dd {
  width: 80%;
  padding: 10px 0 10px 20px;
  background-color: #f2f2f2;
  margin-bottom: 2px;
}
div#member-file dd a {
  text-decoration: underline;
}
body#member footer {
  margin-top: 20px;
}
@media screen and (max-width:480px) {
  #login-top {
    margin: 30px 10px;
  }
  .um-col-1 {
    margin: 0 50px;
  }
}




/* フッタエリア
--------------------------------------------- */
footer {
  background-color: #000;
  padding: 50px 0;
  margin-top: 100px;
}
#footer-logo {
  width: 300px;
  margin: 0 auto 20px;
}
.form-page a {
  display: block;
  padding: 5px 10px;
  background-image: linear-gradient(to bottom, #b3030c, #f56970);
  color: #fff;
  border-radius: 20px;
  box-shadow: 0 0 8px #000000b3;
  width: 200px;
  text-align: center;
  margin: 0 auto;
}
.form-page a:hover {
  background-image: linear-gradient(to bottom, #f56970, #b3030c);
  color: #000;
}
@media screen and (max-width: 480px) {
  footer {
    padding: 50px 0 120px;
  }
}
