@charset "UTF-8";
@import url("grid.css");

img {
  max-width: 100%;
  max-height: 600px; /*高さは最大で600px*/
  width: auto;
}
a {
  display: block;
  color: #666;
  text-decoration-line: none;
}
a:hover {
  color: #999;
}

/*ヘッダー
-------------------------------------*/
.header {
  display: flex;
  flex-direction: row;
  padding: 2rem 0 0 0;
}
.header-box {
  margin-left: auto;
  margin-top: 80px;
}
.contact-button {
  padding: 1rem;
  border: 2px solid #000;
}
nav ul {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  list-style: none;
  margin: 1rem 0 0 0;
}
nav li {
  flex: 1 0 auto;
  text-align: center;
}
nav li a {
  text-decoration: none;
  text-align: center;
  width: 100%;
}
nav a:hover {
  background-color: #f4f4f4;
}
nav a {
  padding: 0.5rem;
}

@media screen and (min-width: 768px) {
  /* PC時はMENUボタンを非表示 */
  #open,
  #close {
    display: none !important;
  }
  #navi {
    display: block !important;
  }
}

@media screen and (max-width: 767px) {
  .header {
    flex-direction: column;
    margin-bottom: 10px;
  }
  .header #open,
  #close {
    position: absolute;
    top: 20px;
    right: 12px;
  }
  nav ul {
    flex-direction: column;
  }
  .header li {
    padding-top: 0;
  }
  /* スマホ時はMENUボタンを表示 */
  #open,
  #close {
    display: block;
    width: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
  }
  /* スマホ時はメニューを非表示 */
  #navi {
    display: none;
  }
}
/* PCでの文字サイズ別定義 */
p.font-large {
  font-size: 24px;
}
/* スマホ版の文字サイズ */
@media screen and (max-width: 767px) {
  h1 {
    font-size: 25px;
  }
  h2 {
    font-size: 20px;
  }
  h3 {
    font-size: 18px;
  }
  h4 {
    font-size: 20px;
  }
  p {
    font-size: 14px;
  }
  th {
    font-size: 16px;
  }
  td {
    font-size: 14px;
  }
  time {
    font-size: 16px;
  }
  a {
    font-size: 14px;
  }
  header h1 {
    font-size: 20px;
  }
  p.font-large {
    font-size: 20px;
  }
}

/*メイン画像
-------------------------------------*/
.mainimg {
  max-width: 1200px;
  text-align: center;
  margin: auto;
}
.mainimg > .bxslider {
  max-width: 800px !important;
  width: 100%;
  text-align: center !important;
}
.mainimg img {
  max-width: 90% !important;
  margin: auto;
}
.swiper-slide-style {
  margin: auto !important;
}
/* image_widthはmainのところだけに設定していたもの
高さを最大600pxにしたので横幅は.mainimg img のautoで設定するよう統一 */
/* .image_width {
  width: 100%;
} */

/*メインコンテンツ
-------------------------------------*/
main {
  margin: 1.5rem 0 0 0;
}
section {
  margin: 0.5rem 0;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.gray-back {
  background-color: #f4f4f4;
}

.cleam {
  background-color: #ffffe6 !important;
}

.brown {
  background-color: #f4a460 !important;
}

.white {
  background-color: #ffffff !important;
}

.orange {
  color: #ff6600;
}

.blue {
  color: #0066ff !important;
}

.green {
  color: #33cc33 !important;
}

/*キャッチコピー
-------------------------------------*/
.catch {
  text-align: center;
}
.catch h2 {
  padding-bottom: 1rem;
}
/* .under {
    border-bottom: 0.2rem solid #000;
    padding:0 0.2rem 0.2rem 0.2rem;
}  */
.center {
  text-align: center !important;
  margin-bottom: 1rem;
}

/*申し込みの流れ
-------------------------------------*/
.flow.row {
  margin-bottom: 2rem;
}

/*フッター
-------------------------------------*/
footer {
  background-color: #f4f4f4;
  padding: 1rem 0;
  text-align: center;
}
footer h4 {
  border-bottom: 3px solid #ccc;
  margin-top: 10px;
}

/*お問い合わせ
-------------------------------------*/
.contact-box {
  border: 1px solid #ccc;
  text-align: center;
  padding: 2rem 0;
}
.table {
  margin: 4rem 0;
}
.table th {
  width: 250px;
}

/*コピーライト
-------------------------------------*/
.copyright {
  text-align: center;
  padding: 1rem 0;
  background-color: #000;
}
.copyright a {
  color: #fff;
  text-decoration: none;
  display: inline;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
  position: fixed;
  bottom: 15px;
  right: 15px;
}
#pagetop a {
  display: block;
  background: #000;
  color: #fff;
  width: 50px;
  padding: 10px 5px;
  text-align: center;
}
#pagetop a:hover {
  background: #666;
}

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 767px) {
  /*ヘッダー
-------------------------------------*/
  .header-box {
    display: none;
  }

  /* メニューのドロップダウン
-------------------------------------*/
  .menu > li.menu_dropdown_first {
    position: relative;
  }

  li.menu_dropdown_first ul.menu_dropdown_second {
    /* display: list-item; */
    position: absolute;
    top: 40px;
    width: 100%;
    background: #072a24;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
  }

  ul.menu_dropdown_second {
    display: none;
  }

  .menu_dropdown_first:hover > .menu_dropdown_second {
    top: 50px;
    visibility: hidden !important;
    opacity: 1;
  }

  /*アイコン
-------------------------------------*/
  .footer_icon {
    width: 70% !important;
    height: 70% !important;
  }

  /*お問い合わせ
-------------------------------------*/
  .table th {
    width: 100%;
    display: block;
  }
  .table td {
    display: block;
  }

  .col img {
    margin-bottom: 15px;
  }

  .instructor-content img {
    width: 60%;
    height: 60%;
  }
}

/*左寄せ
-------------------------------------*/
.left {
  text-align: left !important;
}

/*右寄せ
-------------------------------------*/
.right {
  text-align: right !important;
}

/*要素の大きさを70パーセントに縮小
-------------------------------------*/
.shrink-item-7 {
  width: 60%;
  height: 60%;
}
/*子要素を中央揃え
-------------------------------------*/
.center-container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.justify-content-center {
  justify-content: center;
}
/*表関連
-------------------------------------*/
table {
  width: 98%;
  border-collapse: collapse;
  border: 1px solid #000000;
  background-color: #ffffff;
  color: #000000;
  text-align: left;
}

th {
  border: 1px solid #000000;
  background-color: #808080;
  color: #ffffff;
  text-align: center;
  padding: 4px 0px;
}

td {
  border: 1px solid #000000;
  text-align: center;
  padding: 4px 0px;
}

/* .time-table .table-col-1{
    width: 55%;
}
.time-table .table-col-2{
    width: 20%;
}
.time-table .table-col-3{
    width:25%
}

.price-table .table-col-1{
    width: 20%;
}
.price-table .table-col-2{
    width: 40%;
}
.price-table .table-col-3{
    width:40%;
} */

/*ドロップダウンリスト
-------------------------------------*/
/* .dropdown-check{
    display: none !important;
} */

.dropdown-menue-title {
  position: relative;
}

.sub-menue {
  display: none;
  position: absolute;
  text-align: center;
  left: 0;
  right: 0;
  margin: auto;
  background-color: #f4f4f4;
  z-index: 10;
}

@media screen and (min-width: 768px) {
  .dropdown-menue-title:hover .sub-menue {
    display: inline-block;
  }
}
@media screen and (max-width: 767px) {
  .is-open .sub-menue {
    display: inline-block;
  }
}

/*お知らせアコーディオン
-------------------------------------*/
.acd-check {
  display: none !important;
}
.acd-label {
  background: #333;
  color: #fff;
  display: block;
  margin-bottom: 1px;
  padding: 10px;
}
.acd-content {
  border: 1px solid #333;
  height: auto;
  opacity: 1;
  padding: 10px;
  transition: 0.5s;
  text-align: left;
}
/* .acd-check:checked + .acd-label + .acd-content{
    height: auto;
    opacity: 1;
    padding: 10px;
    visibility: visible;
} */

/*枠内設定
-------------------------------------*/

.box1 {
  background-color: #fff8dc;
  padding: 0em 0em;
  margin: 0em 0;
  margin-left: 1em;
  margin-right: 1em;
  border: solid 0px #3366ff;
}
.box1 p {
  margin: 0;
  padding: 0;
  text-align: left;
}
.box1 h2 {
  margin: 0 auto;
  max-width: 1200px;
  padding: 0 2rem;
  position: relative;
  margin-bottom: 20px;
}

.box1 h3 {
  margin-top: 25px;
  margin-bottom: 10px;
  text-align: left;
}

/*リンクの色
-------------------------------------*/

a {
  font-weight: bold;
  text-decoration: none;
}

a:link {
  color: #0000ff;
}

a:visited {
  color: #6600ff;
}

a:hover {
  color: #ff0099;
  text-decoration: underline;
}

a:active {
  color: #33cc00;
}

/*ヘッダーのリンクの色
-------------------------------------*/

header a {
  font-weight: bold;
  text-decoration: none;
}

header a:link {
  color: #666 !important;
}

header a:visited {
  color: #666 !important;
}

header a:hover {
  color: #666 !important;
  text-decoration: underline;
}

header a:active {
  color: #666 !important;
}

/*フッターのリンクの色
-------------------------------------*/

footer a {
  font-weight: bold;
  text-decoration: none;
  font-size: 14px;
}

footer a:link {
  color: #666 !important;
}

footer a:visited {
  color: #666 !important;
}

footer a:hover {
  color: #666 !important;
  text-decoration: underline;
}

footer a:active {
  color: #666 !important;
}

/*見出し
-------------------------------------*/

h2:first-letter {
  font-size: 1.5em;
}

h2 {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 2rem;
}

h2:before {
  position: absolute;
  content: "";
  bottom: -3px;
  left: 0;
  width: 0;
  height: 0;
  border: none;
  border-left: solid 15px transparent;
  border-bottom: solid 15px rgb(197, 62, 8);
}
h2:after {
  position: absolute;
  content: "";
  bottom: -3px;
  left: 10px;
  width: 100%;
  border-bottom: solid 3px rgb(197, 62, 8);
}

/*ブログ関連
-------------------------------------*/
.blog-grid-wrapper {
  text-align: center;
}

.blog-grid-item {
  display: flex;
  flex-direction: row;
  width: 100%;
  background-color: #ffffe6;
  height: auto;
  margin: auto;
  margin-bottom: 20px;
  margin-top: 20px;
}

.blog-grid-item img {
  margin: auto;
  text-align: left;
}

.blog-grid-item time {
  text-align: left;
  margin: 10px;
}

.blog-grid-item a {
  font-weight: bold;
  margin: 10px;
}

.blog-grid-item .col.span-5 {
  flex: 1 1 39.3333333333%;
  max-width: 39.3333333333%;
}

.blog-grid-item .col.span-7 {
  flex: 1 1 56.6666666667%;
  max-width: 56.6666666667%;
}

.instagram-media-wrap {
  max-width: 700px;
  margin: auto;
}
.instagram-media {
  min-width: 0px !important;
}

/*ヘッダーのリスト
-------------------------------------*/
.sub-menue-list {
  background-color: #f4f4f4;
}

/*ヘッダーのロゴ
-------------------------------------*/
.back {
  background: url(../img/logo.PNG) no-repeat 10px center / 50px auto;
  padding: 10px 10px 10px 70px;
}

/*フッターのロゴ
-------------------------------------*/
.before {
  padding: 10px;
  text-align: center;
  font-size: 18px;
}
.before::before {
  content: "";
  display: inline-block;
  background: url(../img/logo.PNG) no-repeat 0 0 / 50px auto;
  width: 50px;
  height: 50px;
  margin-right: 10px;
  vertical-align: middle;
}

/*グーグルマップ
-------------------------------------*/
.googlemap-container iframe {
  width: 90% !important;
  height: 300px !important;
}

/*swiper
-------------------------------------*/
.swiper-pagination {
  position: relative;
}

/*contenteditable outline
-------------------------------------*/
[contenteditable]:focus {
  outline: 0.2px solid blue;
}
