@charset "utf-8";

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Noto Serif JP', serif;
  font-family: 'Pinyon Script', cursive;
  font-family: 'Shippori Mincho B1', serif;
  /* letter-spacing : 0.2em; */
}

header {
  display: flex;
  z-index: 5;
  padding: 10px;
  position: fixed;
  top: 0;
  width: 100%;
  height: 100px;
  justify-content: space-around;
  vertical-align: middle;
}

a:hover {
  color: var(--red);
}

h1 {
  font-family: 'Shippori Mincho B1', serif;
  color: var(--font);
  font-size: 2rem;
  line-height: 2rem;
  margin: 20px auto 20px auto;
}

h2,
h3,
h4,
h5,
li {
  color: var(--font);
  font-family: 'Shippori Mincho B1', serif;
  line-height: 2rem;
}

h5 {
  font-size: 1rem;
}

p {
  color: var(--font);
  font-family: 'Shippori Mincho B1', serif;
  line-height: 1.8rem;
}

td,
th {
  font-size: 14px;
  font-family: 'Shippori Mincho B1', serif;
  color: var(--font);
}

.caution li {
  list-style: square;
}

/* もっと見るボタン */
.morebutton {
  text-align: center;
  padding: 10px;
  color: #fff;
  background: var(--red);
  width: 200px;
}

.close {
  background: var(--font);
}

/* ｈ２飾り */

.section-title {
  text-align: center;
  margin: 40px auto 10px auto;
}

/* メニューページのタイトル */
.sub-title {
  font-size: 1.2rem;
  color: var(--red);
}

.headerimg {
  display: inline-block;
  position: relative;
  padding-top: 50px;
  padding-left: 30px;
  font-size: 26px;
}

.headerimg span {
  position: relative;
  z-index: 2;
}

.headerimg::before {
  content: attr(data-en);
  position: absolute;
  transform: rotate(-5deg);
  top: 20px;
  left: 0;
  color: rgba(227, 109, 45, 0.5);
  font-size: 55px;
  font-weight: 400;
  font-family: 'Pinyon Script', cursive;
}

/* ｈ２飾りここまで*/

/* .about{
  position: relative;
}
.about-text{
  position: absolute;
  top: 15%;
  left: 5%;
} */

.about h3 {
  margin-top: 2rem;
  font-size: 1.2rem;
  line-height: 2rem;
  font-family: 'Shippori Mincho B1';
  font-weight: 500;
}

/* コンタクトフォーム文字フォント指定 */
.about p,
dl,
dt,
button {
  font-family: 'Shippori Mincho B1';
}

.aboutus {
  /* max-width: 1200px; */
  background-color: var(--yellow);
  margin-top: 3rem;
}

.aboutus-text {
  max-width: 1200px;
  margin: auto;
}

#course {
  border: 1px solid #554236;
}

#course h5 {
  font-size: 1rem;
  line-height: 2rem;
}

#course p {
  font-size: 1rem;
  line-height: 1.5rem;
}

#course span {
  color: var(--red);
  font-family: 'Shippori Mincho B1', serif;
  font-weight: 500;
}

#contact {
  max-width: 1200px;
  min-height: 200px;
  align-items: center;
}

.contactarea {
  display: inline-block;
  min-height: 80px;
  min-width: 300px;
  padding: 30px;
  border: 1px solid #554236;
}

.contactarea:hover {
  border: none;
  background-color: var(--beige);
}

.box-scroll {
  max-width: 800px;
  margin-right: auto;
  margin-left: auto;
  border: 1px solid var(--font);
  height: 7em;
  overflow: auto;
  padding: 10px;
  background-color: #f1f0f0;
}

.icon-space {
  padding-left: 0.5em;
}

.price {
  max-width: 1000px;
}

/* 
.line {
  height: 40px;
  background-image: url(../img/lain.png);
  background-repeat: repeat-x;
  margin: 10px 0 10px 0;
}
.line2 {
  height: 80px;
  background-image: url(../img/ki.jpg);
  background-repeat: repeat-x;
}*/
/* .wide-menu{
  max-width: 1000px;
  width: 95%;
  margin-right: auto;
  margin-left: auto;
  border: 1px solid #554236;
} 
.wide-menu img{
 max-width: 200px;
 margin: 10px auto 10px auto;
} */
.hidden {
  background: none;
  transition: all 0.5s ease;
}

.globalMenuSp {
  display: none;
}


.header-title {
  display: flex;
  align-items: center;
}

.header-title img {
  max-height: 90px;
}

.header-logo {
  display: block;
  padding-left: 10px;
  text-align: left;
}

.header-logo p {
  font-family: 'Shippori Mincho B1', serif;
  color: #ffffff;
}

header h1 a {
  margin: 0;
  padding: 0;
  font-size: 30px;
  font-family: 'Shippori Mincho B1', serif;
  color: #ffffff;
}


header a {
  text-decoration: none;
  color: #ffffff;
  display: inline-block;
  padding: 10px;
  transition: 0.5s;
}

header a:hover {
  color: #274A78;
}

/* .pc-menu{
  display: flex;
}
.pc-menu ul{
  display: flex;
  margin: 0;
  align-items: center;
}

.pc-menu li a{
  color: var(--font);
}
.pc-menu li{
  position: relative;
} */

.under-line a::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #c99595;
  bottom: -1px;
  /*アンダーラインがaタグの下端から現れる*/
  transform: scale(0, 1);
  /*アンダーラインの縮尺比率。ホバー前はx方向に0*/
  transform-origin: left top;
  /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の左端*/
  transition: transform 0.3s;
  /*変形の時間*/
}

.under-line a:hover::after {
  transform: scale(1, 1);
  /*ホバー後、x軸方向に1（相対値）伸長*/
}

/* 料金表テーブル */
.table-striped {
  width: 100%;
}

.w-25 {
  width: 25%;
}

.w-50 {
  width: 50%;
}

.menu {
  align-items: baseline;
}

.menu h5 {
  min-height: 100px;
}

.menu-list {
  list-style: none;
  padding-left: 0;
}

.menu-list li {
  list-style: none;
}

.menu-list-title {
  padding-left: 0;
}

.menu-list-text {
  padding-left: 10px;
  margin-top: 10px;
}

/* コンタクトフォーム */

#contactform {
  max-width: 800px;
}


/*ページトップへ戻るボタン
  -------------------------------------*/

#pagetop {
  position: fixed;
  bottom: 10px;
  right: 10px;
}

#pagetop a {
  display: block;
  background: var(--red);
  color: #fff;
  width: 50px;
  height: 50px;
  padding: 10px;
  border-radius: 50%;
  text-align: center;
}

#pagetop a:hover {
  background: var(--yellow)
}

/*ページトップへ戻るボタン
    -------------------------------------*/
/* フッター */
footer {
  background-color: var(--beige);
  /* max-height: 300px; */
  overflow: hidden;
}

footer img {
  max-height: 200px;
}

footer li,
li a {
  color: var(--font);
}

footer a:hover {
  color: var(--font);
}

.copyright {
  text-align: center;
  color: var(--font);
}



/* タブレット */
@media screen and (max-width: 990px) {

  /* .pc-menu{
    display: none;
  } */
  .navbar {
    display: none;
  }

  .globalMenuSp {
    display: block;
  }

  /*　ハンバーガーボタン　*/
  .hamburger {
    display: block;
    position: fixed;
    z-index: 3;
    right: 13px;
    top: 12px;
    width: 42px;
    height: 42px;
    cursor: pointer;
    text-align: center;
  }

  .hamburger span {
    display: block;
    position: absolute;
    width: 30px;
    height: 2px;
    left: 6px;
    z-index: 5;
    background: var(--font);
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
  }

  .hamburger span:nth-child(1) {
    top: 10px;
  }

  .hamburger span:nth-child(2) {
    top: 20px;
  }

  .hamburger span:nth-child(3) {
    top: 30px;
  }

  /* ナビ開いてる時のボタン */
  .hamburger.active span:nth-child(1) {
    top: 16px;
    left: 6px;
    background: #fff;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  .hamburger.active span:nth-child(2),
  .hamburger.active span:nth-child(3) {
    top: 16px;
    background: #fff;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  nav.globalMenuSp {
    position: fixed;
    /* 重なったメニューの位置調整 */
    padding-top: 10px;
    /* 重なったメニューの位置調整 */
    z-index: 2;
    top: 0;
    left: 0;
    /* padding-top: 10%; */
    color: #fff;
    background: rgba(85, 66, 54, 0.8);
    text-align: center;
    width: 100%;
    opacity: 0;
    transition: opacity .6s ease;
    visibility: hidden;
  }


  nav.globalMenuSp ul {
    margin: auto;
    padding: 0;
    width: 100%;
  }

  nav.globalMenuSp ul li {
    list-style-type: none;
    padding: 0;
    width: 100%;
    transition: .4s all;
  }

  nav.globalMenuSp ul li:last-child {
    padding-bottom: 0;
  }

  nav.globalMenuSp ul li:hover {
    background: #808080;
  }

  nav.globalMenuSp ul li a {
    display: block;
    color: #fff;
    padding: 0.8rem 0;
    text-decoration: none;
    line-height: 1.2rem;
  }

  /* このクラスを、jQueryで付与・削除する */
  nav.globalMenuSp.active {
    opacity: 100;
    visibility: visible;
  }


}

@media screen and (max-width: 599px) {
  .header-title img {
    max-height: 50px;
  }

  /* .footer-access{
    display: none;
  } */

  .headerimg::before {
    content: attr(data-en);
    position: absolute;
    transform: rotate(-5deg);
    top: 30px;
    left: 10px;
    font-size: 40px;
    font-weight: 400;
    font-family: 'Pinyon Script', cursive;
  }
}