@media screen and (min-width: 641px) {
  html {
    min-Width: 1200px;
  }
}

html {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

body {
  line-height: 3.2rem;
  overflow-y: scroll;
}

a {
  -webkit-user-select: none;
  user-select: none;
}

a:hover {
  text-decoration: none;  
}

#wrapper {
  Width: 100%;
}

.sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}

#header {
  background-color: #ffffff;
  left: 0;
  height: 80px;
  margin: 0;
  width: 100%;
  z-index: 1001;
}

#header-logo {
  background-color: #ffffff;
  margin: 0;
  width: 100%;
}

.header-logo-a {
  display: block;
  width: 390px;
}

#header-logo-img {
  display: block;
  height: 80px;
  padding: 15px 10px;
  width: auto;
}

#header-nav {
  bottom: 10px;
  font-size: 0;
  line-height: 0;
  list-style: none;
  margin: 0 20px 0 0;
  position: absolute;
  right: 0;
}

#header-nav-sp {
  display: none;
}

.header-nav-item {
  display: inline-block;
  font-size: 1.8rem;
  font-weight: bold;
  padding: 10px 20px;
}

.header-nav-item-a {
  color: #212529;
  display: block;
  font-family: 'Hiragino Maru Gothic W4 JIS2004','Zen Maru Gothic', sans-serif;
  font-weight: 500;
  height: 2.5rem;
  line-height: 1.8rem;
  position: relative;
}

.header-nav-item-a:hover {
  color: #212529;
}

.header-nav-item-link::before,
.header-nav-item-link::after {
  border-bottom: solid 2px #333333;
  bottom: 0;
  content: "";
  display: block;
  position: absolute;
  transition: all .3s ease;
  -webkit-transition: all .3s ease;
  width: 0;
}

.header-nav-item-link::before {
  left: 50%;
}

.header-nav-item-link::after {
  right: 50%;
}

.header-nav-item-link:hover::before,
.header-nav-item-link:hover::after {
  width: 50%;
}

.header-nav-item-language {
  position: relative;
}

.header-nav-item-language-menu {
  cursor: pointer;
}

.header-nav-item-language-menu-span {
  padding-left: 5px;
}

.header-nav-item-language-menu-child {
  background: #ffffff;
  list-style: none;
  opacity: 0;
  padding-left: 0;
  position: absolute;
  right: 10px;
  top: 25px;
  -webkit-transition: all .2s ease;
  transition: all .2s ease;
  visibility: hidden;
  width: 130px;
  z-index: 1001;
}

.header-nav-item-language.hover .header-nav-item-language-menu-child {
  display: block;
  opacity: 1;
  top: 35px;
  visibility: visible;
}

.header-nav-item-language-menu-child-item {
  display: block;
  position: relative;
}

.header-nav-item-language-menu-child-item-a {
  border-top: solid 1px #efefef;
  color: #212529;
  display: block;
  font-family: 'Hiragino Maru Gothic W4 JIS2004','M PLUS Rounded 1c', sans-serif;
  font-size: 1.6rem;
  font-weight: 4000;
  height: 4rem;
  line-height: 4rem;
  padding: 0 0 0 45px;
  width: 100%;
}

.header-nav-item-language-menu-child-item-a:hover {
  background-color: #e7f7ff;
}

.header-nav-item-language-menu-child-item.active::after {
  content: url(../images/language_checkmark.svg);
  left: 12px;
  pointer-events: none;
  position: absolute;
  top: 10px;
}

.header-nav-item-language-menu-child-item-a:hover {
  color: #333333;
}

#main {
  width: 100%;
}

#main-image {
  position: relative;
  width: 100%;
}

.main-image-h1 {
  margin: 0;
  padding: 0;
}

.main-image-img {
  height: auto;
  width: 100%;
}

.main-image-title {
  color: #ffffff;
  left: 7rem;
  position: absolute;
  top: 44%;
}

.main-image-title-main {
  font-family: 'Maru Folk Medium','M PLUS Rounded 1c', sans-serif;
  font-size: 5.5rem;
  font-weight: 500;
  line-height: 1em;
  margin-bottom: 1.5rem;
  text-shadow: 1px 2px 3px #333333;
}

.main-image-title-sub {
  font-family: 'Maru Folk Medium','Zen Maru Gothic', sans-serif;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1em;
  text-shadow: 1px 2px 3px #333333;
}

.main-title {
  margin: 0 auto;
  font-family: 'Maru Folk Medium','M PLUS Rounded 1c', sans-serif;
  font-size: 4rem;
  font-weight: 500;
  font-weight: normal;
  line-height: 5rem;
  text-align: center;
}

#main-nav {
  margin: 4rem 0;
}

.main-nav-ul {
  border-left: 1px solid #cccccc;
  list-style-type: none;
  display: table;
  height: 45px;
  margin: 0 auto;
  padding: 0;
  width: 301px;
}

.main-nav-item {
  border-right: 1px solid #cccccc;
  display: table-cell;
  font-family: 'Hiragino Maru Gothic W4 JIS2004','Zen Maru Gothic', sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  text-align: center;
  vertical-align: middle;
  width: 150px;
}

.main-nav-item-a {
  color: #212529;
  display: inline-block;
  height: 45px;
  line-height: 45px;
  position: relative;
}

.main-nav-item-a::before {
  border: 8px solid transparent;
  border-left-color: #aaaaaa;
  box-sizing: border-box;
  content: "";
  display: inline-block;
  position: absolute;
  left: -18px;
  height: 16px;
  top: 15px;
  width: 16px;
}

.main-nav-item-a:hover {
  color: #212529;
}

.main-nav-item-a:hover::before {
  border-left-color: #212529;
}

#footer {
  width: 100%;
}

#footer-top {
  padding: 10.3rem 0 0 0;
  height: 68rem;
  text-align: center;
}

.footer-top-logo {
  display: block;
  height: auto;
  margin: 0 auto;
  padding: 0 0 1rem 0;
  width: auto;
}

.footer-top-info {
  line-height: 3rem;
  margin: 1rem 0 2rem 0;
  text-align: center;
}

.footer-top-info a {
  color: #212529;
  text-decoration: none;
}

.footer-top-link {
  font-size: 0;
  list-style: none;
  margin: 0 auto;
  overflow: hidden;
  padding: 0;
  width: 490px;
}

.footer-top-link-item {
  display: block;
}

.footer-top-link-reserve {
  float: left;
}

.footer-top-link-contact {
  float: right;
}

.footer-top-link-item-a.btneffect {
  border-radius: 3rem;
  background-color: #aab235;
  border: 4px solid #b2aa35;
  font-family: 'Hiragino Maru Gothic W4 JIS2004','Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 2.2rem;
  height: 6rem;
  line-height: 5.0rem;
  padding: 0 !important;
  width: 210px;
}

.footer-top-link-item-a.btneffect span {
  color: #ffffff;
}

.footer-top-link-item-a.btneffect:hover span {
  color: #b2aa35;
}

.footer-top-link-item-a.btneffect.bgright::before {
  background: #ffffff;/*背景色*/
}

#footer-bottom {
  background-color: #573420;
  color: #ffffff;
  height: 24.5rem;/*.5remはipadのスワイプ1px対応*/
  padding: 30px 0 .5rem 0;/*.5remはipadのスワイプ1px対応*/
  text-align: center;
}

.footer-bottom-sns {
  margin: 0 auto 30px auto;
  padding: 0 0 30px 0;
  width: 1050px;
  border-bottom: 1px solid #a28472;
}

.footer-bottom-sns-wrapper {
  display: table;
  margin: 0 auto;
}

.footer-bottom-sns-title {
  display: table-cell;
  font-size: 1.8rem;
  padding: 0 3rem 0 0;
  vertical-align: middle;
}

.footer-bottom-sns-link {
  display: table-cell;
  vertical-align: middle;
}

.footer-bottom-sns-link::after {
  content: "";
  clear: both;
  display: block;
}

.footer-bottom-sns-link-a {
  display: table;
  float: left;
  margin: 0;
}

.footer-bottom-sns-link .footer-bottom-sns-link-a:not(:last-of-type) {
  margin: 0 20px 0 0;
}

.footer-bottom-sns-link-a-icon {
  display: table-cell;
  padding: 0 15px 0 0;
  vertical-align: middle;
}

.footer-bottom-sns-link-a-icon-img {
  height: auto;
  width: 30px;
}

.footer-bottom-sns-link-a-text {
  color: #ffffff;
  display: table-cell;
  font-size: 1.8rem;
  line-height: 1.8rem;
  padding: .5rem 0 0 0;
  vertical-align: middle;
}

.footer-bottom-sns-link-a:hover .footer-bottom-sns-link-a-text {
  color: #ffffff;
}

.footer-bottom-sitemap {
  font-size: 0;
  list-style: none;
  padding: 0;
  text-align: center;
}

.footer-bottom-sitemap-item {
  display: inline-block;
  font-size: 1.8rem;
  padding: 0 20px;
}

.footer-bottom-sitemap-item-a {
  color: #ffffff;
  font-family: 'Hiragino Maru Gothic W4 JIS2004','Zen Maru Gothic', sans-serif;
  font-weight: 400;
}

.footer-bottom-sitemap-item-a:hover {
  color: #ffffff;
}

.footer-bottom-copyright-text {
  margin: 0;
}

#btn-backtotop::after {
  background-color: #00b9ef;
  border-radius: 30px;
  opacity: 1;
}

@media screen and (min-width: 2000px) {
  #header-wrapper {
    margin: 0 auto;
    position: relative;
    width: 2000px;
  }

  #main-image {
    margin: 0 auto;
    width: 2000px;
  }
}

@media screen and (min-width: 1500px) {
  #header {
    height: 100px;
  }

  .header-logo-a {
    width: 474px;
  }

  #header-logo-img {
    height: auto;
    padding: 20px 15px;
    width: 444px;
  }

  .header-nav-item-language-menu-child {
    width: 150px;
  }

  .header-nav-item-language-menu-child-item.active::after {
    top: 14px;
  }

  .main-nav-ul {
    width: 401px;
    height: 50px;
  }

  .main-nav-item {
    width: 200px;
  }

  .main-nav-item-a {
    height: 50px;
    line-height: 50px;
  }

  .main-nav-item-a::before {
    top: 17px;
  }

  #footer-top {
    height: 61rem;
  }

  .footer-top-link {
    width: 530px;
  }

  .footer-top-link-item-a.btneffect {
    width: 230px;
  }

  #footer-bottom {
    height: 22.5rem;/*.5remはipadのスワイプ1px対応*/
  }

  .footer-bottom-sns {
    width: 1350px;
  }
}

@media screen and (max-width: 640px) {
  body.fixed {
    height: 100%;
    overflow: hidden;
  }

  body.fixed #main,
  body.fixed #footer {
    pointer-events: none;
    -webkit-user-select: none;
    user-select:none;
    touch-action: none;
  }

  body.fixed #btn-backtotop {
    display: none;
  }

  #header {
    height: 50px;
    width: 100%;
  }

  #header-logo {
    height: 50px;
  }

  .header-logo-a {
    width: 330px;
  }

  #header-logo-img {
    height: 50px;
    padding: 5px 15px;
  }

  #header-nav {
    display: none;
  }

  #header-nav-sp {
    display: block;
  }

  /*　ハンバーガーメニューボタン　*/
  #header-nav-sp-hamburger {
    cursor: pointer;
    display: block;
    height: 42px;
    position: absolute;
    right: 10px;
    text-align: center;
    top: 4px;
    width: 42px;
    z-index: 1003;
  }

  .header-nav-sp-hamburger-span {
    background-color: #000000;
    display: block;
    height: 2px ;
    left: 6px;
    position: absolute;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
    width: 30px;
  }

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

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

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

  /* スマホメニューを開いてる時のボタン */
  #header-nav-sp-hamburger.active .header-nav-sp-hamburger-span {
    background-color : #ffffff;
  }

  #header-nav-sp-hamburger.active .header-nav-sp-hamburger-span:nth-child(1) {
    left: 6px;
    top : 20px;
    -webkit-transform: rotate(-45deg);
    -moz-transform   : rotate(-45deg);
    transform        : rotate(-45deg);
  }

  #header-nav-sp-hamburger.active .header-nav-sp-hamburger-span:nth-child(2),
  #header-nav-sp-hamburger.active .header-nav-sp-hamburger-span:nth-child(3) {
    -webkit-transform: rotate(45deg);
    -moz-transform   : rotate(45deg);
    transform        : rotate(45deg);
    top: 20px;
  }

  #header-nav-sp-menu.active::before {
    display: block;
  }

  .header-nav-sp-menu-ul {
    background :#955e3e;
    color: #ffffff;
    height: 100%;
    left : 0;
    list-style: none;
    margin: 0;
    overflow-y: scroll;
    padding: 50px 0 0 0;
    position: fixed;
    text-align: left;
    transform: translateX(-100%);
    transition: all 0.6s;
    top  : 0;
    width: 100%;
    z-index : 1002;
  }

  #header-nav-sp-menu.active .header-nav-sp-menu-ul {
    display: block;
    opacity: 100;
    transform: translateX(0%);
  }

  .header-nav-sp-menu-item {
    padding: 0 30px;
    transition: .4s all;
    width: 100%;
  }

  .header-nav-sp-menu-item:last-child {
    padding-bottom: 0;
  }

  .header-nav-sp-menu-item-a {
    color: #ffffff;
    display: inline-block;
    font-size: 1.8rem;
    line-height: 2rem;
    padding: 1.6rem 0;
    text-decoration :none;
  }

  .header-nav-sp-menu-item-a:hover {
    color: #ffffff;
  }

  .header-nav-sp-menu-item-language {
    background-color: #5d2708;
    font-size: 1.8rem;
    line-height: 2rem;
    font-weight: bold;
    margin: 1.5rem 0 0 0;
    padding: 2rem 30px;
  }

  .header-nav-sp-menu-item-language-child {
    font-size: 0;
    list-style: none;
    margin: 0;
    overflow: hidden;
    padding: 1rem 0 1rem 0;
    width: 240px;
  }

  .header-nav-sp-menu-item-language-child-item {
    margin: 0;
    padding: 1rem 0 1rem 25px;
    position: relative;
    width: 120px;
  }

  .header-nav-sp-menu-item-language-child-item:nth-child(odd) {
    float: left;
  }

  .header-nav-sp-menu-item-language-child-item:nth-child(even) {
    float: right;
  }

  .header-nav-sp-menu-item-language-child-item.active::after {
    content: url(../images/language_checkmark_sp.svg);
    left: 0;
    pointer-events: none;
    position: absolute;
    top: .8rem;
  }

  .header-nav-sp-menu-item-language-child-item-a {
    color: #ffffff;
    display: inline-block;
    font-size: 1.8rem;
    font-weight: normal;
    line-height: 2rem;
    margin: 0;
    padding: 0;
  }

  .header-nav-sp-menu-item-language-child-item-a:hover {
    color: #ffffff;
  }

  #main-nav {
    display: none;
  }

  .main-image-img {
    height: calc(100vh - 50px);
    object-fit: cover;
    width: auto;
  }

  .main-image-title {
    left: 3rem;
    margin: 0 3rem 0 0;
  }

  .main-image-title-main {
    font-size: 4.2rem;
    line-height: 1.1em;
  }

  .main-image-title-sub {
    font-size: 1.6rem;
  }

  .main-title {
    font-size: 2.8rem;
    line-height: 2.2rem;
  }

  #footer-top {
    height: 60rem;
  }

  .footer-top-logo {
    height: auto;
    width: 200px;
  }

  .footer-top-info {
    margin: 2rem 0 3rem 0;
  }

  .footer-top-link {
    margin: 0 auto;
    width: 70vw;
  }

  .footer-top-link-item-a.btneffect {
    background-color: #b2aa35;
    border: none;
    height: 5.8rem;
    line-height: 5.4rem;
    width: 32vw;
  }
  
  .footer-top-link-item-a.btneffect span {
    color: #ffffff;
  }
  
  .footer-top-link-item-a.btneffect:hover span {
    color: #ffffff;
  }
  
  .footer-top-link-item-a.btneffect.bgright:before {
    background-color: #b2aa35;
  }

  #footer-bottom {
    height: 28.5rem;/*.5remはipadのスワイプ1px対応*/
  }

  .footer-bottom-sns {
    margin: 0 2rem 30px 2rem;
    padding: 0 0 30px 0;
    width: auto;
    border-bottom: 1px solid #a28472;
  }
  
  .footer-bottom-sns-wrapper {
    display: block;
    margin: 0 auto;
    text-align: center;
  }
  
  .footer-bottom-sns-title {
    display: block;
    padding: 0;
  }

  .footer-bottom-sns-link {
    display: inline-block;
    margin: 1rem auto 0 auto;
  }

  #btn-backtotop::after {
    border-radius: 20px;
  }
}

@media screen and (max-width: 500px) {
  .header-logo-a {
    width: 285px;
  }

  #header-logo-img {
    height: 50px;
    padding: 8px 15px;
  }

  .main-image-title {
    left: 2rem;
    top: 48%;
  }

  .main-image-title-main {
    font-size: 3.2rem;
  }

  .main-image-title-sub {
    font-size: 1.3rem;
  }

  .footer-top-link {
    width: 300px;
  }

  .footer-top-link-item-a.btneffect {
    line-height: 5.0rem;
    width: 135px;
  }

  .footer-top-link-item-a.btneffect span {
    font-size: 16px;
  }
}

@media screen and (max-width: 410px) {
  #footer-bottom {
    height: 34.9rem;/*.5remはipadのスワイプ1px対応*/
  }

  .footer-bottom-sitemap {
    height: 11.8rem;  /* 1rem 下の余白 */
    margin: 0 auto;
    position: relative;
    width: 27rem;
  }

  .footer-bottom-sitemap-item {
    display: block;
    height: 3.6rem;
    left: 0;
    line-height: 3.6rem;
    padding: 0;
    position: absolute;
    top: 0;
    width: 9rem;
  }

  .footer-bottom-sitemap-item:nth-child(1),
  .footer-bottom-sitemap-item:nth-child(3) {
    left: 2rem;
  }
  
  .footer-bottom-sitemap-item:nth-child(2),
  .footer-bottom-sitemap-item:nth-child(4) {
    left: 16rem;
  }
  
  .footer-bottom-sitemap-item:nth-child(3),
  .footer-bottom-sitemap-item:nth-child(4) {
    top: 5.4rem;
  }
  
  .footer-bottom-sitemap-item:nth-child(5) {
    top: 10.4rem;
    width: 100%;
  }
}

@media screen and (max-width: 360px) {
  .header-logo-a {
    width: 275px;
  }

  #header-logo-img {
    padding: 8px 10px;
  }

  #header-nav-sp-hamburger {
    right: 8px;
    width: 36px;
  }

  .header-nav-sp-hamburger-span {
    left: 6px;
  }

  .main-image-title {
    top: 46%;
  }

  .main-image-title-main {
    font-size: 2.8rem;
  }

  .main-image-title-sub {
    font-size: 1.3rem;
  }

  .footer-bottom-sns-title {
    font-size: 1.5rem;
  }

  .footer-bottom-sns-link-a-text {
    font-size: 1.5rem;
    line-height: 1.5rem;
  }
}

@media screen and (max-width: 320px) {
  html {
    width: 320px;
  }
}

/* ipad */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
  .footer-top-link-item-a.btneffect:hover span {
    color: #ffffff;
  }
  
  .footer-top-link-item-a.btneffect.bgright:before {
    background-color: #aab235;
  }
}
