@charset "UTF-8";
@import "subpage.css";
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Shippori Mincho";
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

p {
  font-size: 18px;
}

h2 {
  font-size: 45px;
}
@media (max-width: 600px) {
  h2 {
    font-size: 35px;
  }
}

.main_wrap {
  max-width: 1400px;
  margin: auto;
}
@media (max-width: 1420px) {
  .main_wrap {
    padding: 0 20px;
  }
}

.btn {
  padding: 20px 50px;
  max-width: 490px;
  background: transparent;
  display: block;
  text-align: center;
  border: 3px solid #25201e;
  position: relative;
  z-index: 1;
  transition: 0.3s;
  font-size: 18px;
}
.btn span {
  color: #000;
  position: relative;
  z-index: 3;
}
.btn::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  background: #25201e;
  transform-origin: 100% 50%;
  transform: scaleX(0);
  transition: transform ease 0.3s;
}
.btn:hover span {
  color: #fff;
}
.btn:hover::before {
  transform-origin: 0% 50%;
  transform: scaleX(1);
}

.main_visual_wrap {
  width: 100%;
  background-size: cover;
  height: 90vh;
}
.main_visual_wrap .main_logo img {
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20%;
  text-align: center;
}
@media (max-width: 600px) {
  .main_visual_wrap .main_logo img {
    width: 50%;
  }
}

.top_intro {
  padding-top: 150px;
  position: relative;
}
@media (max-width: 600px) {
  .top_intro {
    padding-top: 100px;
  }
}
.top_intro::before {
  position: absolute;
  content: "";
  background: url(/images/texture.jpg);
  top: 0;
  right: 60px;
  width: 580px;
  height: 920px;
  z-index: -1;
}
@media (max-width: 600px) {
  .top_intro::before {
    top: -300px;
    right: 50px;
    width: 580px;
    height: 920px;
  }
}
.top_intro .tate {
  writing-mode: vertical-rl;
  margin: 0 auto 140px;
  font-size: 42px;
  font-weight: initial;
}
@media (max-width: 600px) {
  .top_intro .tate {
    margin: 0 auto 100px;
    font-size: 28px;
  }
}
.top_intro .intro_image img {
  width: 100%;
}
.top_intro .intro_text {
  margin: 120px 0;
  padding: 0 10px;
}
.top_intro .intro_text p {
  text-align: center;
}
.top_intro .intro_text p:first-child {
  margin-bottom: 60px;
}
.top_intro .intro_bottom {
  background-image: url(/images/intro_2.jpg);
  width: 100%;
  height: 60vh;
  position: relative;
  background-size: cover;
  background-position: center;
}
.top_intro .intro_bottom p {
  position: absolute;
  bottom: 90px;
  left: 10vw;
  color: #fff;
  text-shadow: 0 0 8px rgb(0, 0, 0);
}
@media (max-width: 600px) {
  .top_intro .intro_bottom p {
    left: 3vw;
    width: 93%;
  }
}

.top_menu {
  padding: 200px 0;
  background-image: url(/images/top_bg.jpg);
  background-repeat: repeat;
  position: relative;
}
@media (max-width: 600px) {
  .top_menu {
    padding: 100px 0;
  }
}
.top_menu::before {
  position: absolute;
  content: "";
  background: url(/images/texture.jpg);
  top: 0;
  left: 180px;
  width: 580px;
  height: 1120px;
}
@media (max-width: 1050px) {
  .top_menu::before {
    left: 70px;
    width: 300px;
  }
}
.top_menu h2 {
  text-align: center;
  margin-bottom: 120px;
  z-index: 1;
  position: relative;
}
@media (max-width: 600px) {
  .top_menu h2 {
    margin-bottom: 70px;
  }
}
.top_menu .menu_main {
  position: relative;
  margin-bottom: 260px;
}
@media (max-width: 1050px) {
  .top_menu .menu_main {
    margin-bottom: 330px;
  }
}
.top_menu .menu_main .text_wrap {
  z-index: 1;
  width: 40%;
  position: absolute;
}
@media (max-width: 600px) {
  .top_menu .menu_main .text_wrap {
    width: 70%;
  }
}
.top_menu .menu_main .text_wrap .container .title {
  padding-top: 130px;
  font-size: 33px;
}
@media (max-width: 600px) {
  .top_menu .menu_main .text_wrap .container .title {
    font-size: 20px;
  }
}
.top_menu .menu_main .text_wrap .container .title span {
  display: block;
  background: white;
  width: -moz-fit-content;
  width: fit-content;
  padding: 8px;
  margin-bottom: 10px;
}
.top_menu .menu_main .text_wrap .yamasaki_menu {
  max-width: 640px;
  background-image: url(/images/oshinagaki_bg.jpg);
  padding: 50px;
  margin-top: 170px;
  box-shadow: 6px 6px 0px 0px rgb(114, 114, 114);
}
@media (max-width: 1050px) {
  .top_menu .menu_main .text_wrap .yamasaki_menu {
    margin-top: 50px;
  }
}
@media (max-width: 600px) {
  .top_menu .menu_main .text_wrap .yamasaki_menu {
    margin-top: 30px;
  }
}
.top_menu .menu_main .text_wrap .yamasaki_menu h3 {
  font-size: 30px;
  border-bottom: 1px solid #858585;
  margin-bottom: 30px;
}
.top_menu .menu_main .text_wrap .yamasaki_menu ul {
  list-style: none;
}
.top_menu .menu_main .text_wrap .yamasaki_menu ul li:last-of-type {
  text-align: right;
}
.top_menu .menu_main .image {
  background-image: url(/images/oshinagaki_1.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 80%;
  max-width: 1590px;
  position: relative;
  right: 0;
  margin-left: auto;
}
.top_menu .menu_main .image::before {
  content: "";
  display: block;
  padding-top: 700px;
}
@media (max-width: 600px) {
  .top_menu .menu_main .image::before {
    padding-top: 390px;
  }
}
.top_menu .image_area {
  display: flex;
  position: relative;
}
@media (max-width: 1050px) {
  .top_menu .image_area {
    justify-content: center;
  }
}
@media (max-width: 600px) {
  .top_menu .image_area {
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px !important;
  }
}
.top_menu .image_area .image {
  max-width: 950px;
  max-height: 630px;
}
@media (max-width: 1399px) {
  .top_menu .image_area .image {
    max-width: 680px;
  }
}
@media (max-width: 1050px) {
  .top_menu .image_area .image {
    max-width: 400px;
  }
}
.top_menu .image_area .image img {
  width: 100%;
  height: 100%;
}
.top_menu .image_area p {
  margin: auto;
}
@media (max-width: 1050px) {
  .top_menu .image_area p {
    margin: auto 20px;
  }
}
.top_menu .image_area:last-of-type {
  margin-bottom: 120px;
}
@media (max-width: 600px) {
  .top_menu .image_area:last-of-type {
    flex-direction: column-reverse;
  }
}
.top_menu .btn {
  margin: auto;
}

.top_reserve .reserve_head {
  background-image: url(/images/enkai_main.jpg);
  background-size: cover;
  width: 100%;
  height: 530px;
  position: relative;
}
.top_reserve .reserve_head h2 {
  position: relative;
  bottom: -440px;
  left: 0;
}
.top_reserve .reserve_head h2 span {
  background: #fff;
  padding: 20px 40px;
  position: relative;
  bottom: -20px;
}
.top_reserve .reserve_main {
  display: flex;
  gap: 50px;
  margin: 100px auto 140px;
}
.top_reserve .reserve_main .text_wrap {
  width: calc(100% - 700px);
  padding: 50px;
}
.top_reserve .reserve_main .text_wrap h3 {
  font-size: 30px;
}
.top_reserve .reserve_main .text_wrap .btn {
  max-width: 360px;
}
.top_reserve .reserve_main .text_wrap h3,
.top_reserve .reserve_main .text_wrap p {
  margin-bottom: 50px;
}
.top_reserve .reserve_main .image_wrap img {
  width: 100%;
}
@media (max-width: 1050px) {
  .top_reserve .reserve_main {
    flex-direction: column;
  }
  .top_reserve .reserve_main .text_wrap {
    width: 100%;
  }
}
@media (max-width: 600px) {
  .top_reserve .reserve_main .text_wrap {
    padding: 0px;
  }
}

.top_info {
  background-color: #25201e;
  color: #fff;
}
.top_info h2 {
  text-align: center;
  padding-top: 120px;
  margin-bottom: 120px;
}
.top_info .info_wrap {
  display: flex;
  gap: 100px;
  margin-bottom: 100px;
}
@media (max-width: 1050px) {
  .top_info .info_wrap {
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 600px) {
  .top_info .info_wrap {
    margin-bottom: 20px;
  }
  .top_info .info_wrap .image_wrap img {
    width: 100%;
  }
}
.top_info .info_wrap .info_content div {
  display: flex;
  gap: 30px;
  margin-bottom: 50px;
}
.top_info .info_wrap .info_content div dt {
  width: 180px;
}
.top_info .info_wrap .info_content div dd {
  width: calc(100% - 180px);
}
@media (max-width: 600px) {
  .top_info .info_wrap .info_content div {
    flex-direction: column;
    margin-bottom: 30px;
    gap: 0;
  }
  .top_info .info_wrap .info_content div .logo {
    width: 120px;
  }
  .top_info .info_wrap .info_content div dt,
  .top_info .info_wrap .info_content div dd {
    width: 100%;
  }
}
.top_info .info_wrap .info_content div .tel {
  font-size: 30px;
}
.top_info .info_wrap .info_content div .info_content_inner div {
  margin-bottom: 0px;
}
.top_info .info_wrap .info_content div .info_content_inner:first-of-type {
  margin-bottom: 30px;
}

.map {
  line-height: 0;
  margin-top: 50px;
}
.map iframe {
  border: 0;
  width: 100%;
  height: 600px;
}

.footer_wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 100px auto;
}
.footer_wrap .logo {
  margin-bottom: 40px;
}
.footer_wrap .logo img {
  width: 120px;
}
.footer_wrap .footer_menu {
  border-top: 1px solid;
  padding-top: 40px;
}
.footer_wrap .footer_menu ul {
  display: flex;
  flex-direction: row;
  gap: 50px;
  list-style: none;
}
@media (max-width: 600px) {
  .footer_wrap .footer_menu ul {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}
.footer_wrap .footer_menu ul li a {
  color: #000;
}

/* ヘッダー・ハンバーガー */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  color: #fff; /* Adjust the text color as needed */
  padding: 40px 0px 40px 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000; /* Ensure it's above other elements */
  transition: 0.3s; /* Add a smooth transition effect */
}
@media (max-width: 980px) {
  #main-header {
    background-color: #fff;
  }
}

#logo {
  font-size: 1.5em;
  display: none; /* Initially hide the logo */
}
#logo .logo_image {
  padding: 10px;
}

.header {
  width: 100%;
  height: 50px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

.header__inner {
  display: flex;
  align-items: center;
  height: inherit;
  position: relative;
  width: 100%;
}

.header__title {
  width: 80px;
}

@media screen and (min-width: 600px) {
  .header__title {
    width: 120px;
  }
}
.header__title img {
  display: block;
  width: 100%;
  height: 100%;
}

.header__nav {
  position: absolute;
  right: -12px;
  left: -20px;
  top: -20px;
  width: 100vw;
  height: 100vh;
  transform: translateX(100%);
  background-color: #fff;
  transition: ease 0.4s;
  display: none;
}

@media screen and (min-width: 980px) {
  .header__nav {
    position: static;
    transform: initial;
    background-color: inherit;
    height: inherit;
    display: flex;
    justify-content: end;
    width: 500px;
    margin-left: 20px;
  }
}
@media screen and (min-width: 980px) {
  .nav__items {
    width: 100%;
    display: flex;
    align-items: center;
    height: initial;
    gap: 40px;
  }
}
.nav-items {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0;
}
@media (max-width: 600px) {
  .nav-items {
    width: 230px;
  }
  .nav-items a {
    font-size: 18px;
  }
}

@media screen and (min-width: 980px) {
  .nav-items {
    padding-top: inherit;
    padding-bottom: inherit;
    position: inherit;
    top: 0;
    left: 0;
    transform: translate(0, 0);
  }
}
.nav-items__item a {
  color: #fff;
  width: 100%;
  display: block;
  text-align: center;
  font-size: 20px;
  margin-bottom: 24px;
}
@media (max-width: 1399px) {
  .nav-items__item a {
    font-size: 14px;
  }
}
@media (max-width: 980px) {
  .nav-items__item a {
    color: #000;
  }
}

.nav-items__item:last-child a {
  margin-bottom: 0;
}

@media screen and (min-width: 980px) {
  .nav-items__item a {
    margin-bottom: 0;
  }
}
@media (max-width: 980px) {
  .nav-items {
    line-height: 40px;
  }
}
/* 下層ページでのヘッダー初期設定（ちらつき防止） */
body:not(.home) #main-header {
  background-color: white !important;
  /* 必要に応じて他の白背景用スタイルも追加 */
}

body:not(.home) #main-header nav a,
body:not(.home) #main-header .nav-link,
body:not(.home) #main-header .menu-item a {
  color: #333 !important;
}

/* トップページでのロゴ初期状態（非表示） */
body.home #logo {
  display: none;
}

/* white-bgクラスが付いた時のスタイル */
#main-header.white-bg {
  background-color: white !important;
  /* 必要に応じて他の白背景用スタイルも追加 */
}

#main-header.white-bg nav a,
#main-header.white-bg .nav-link,
#main-header.white-bg .menu-item a {
  color: #333 !important;
}

/* トップページでwhite-bgクラスが付いた時のロゴ表示 */
body.home #main-header.white-bg + * #logo,
body.home #logo.show {
  display: block !important;
}

/* ハンバーガーメニュー */
.header__hamburger {
  width: 48px;
  height: 100%;
}

.hamburger {
  background-color: transparent;
  border-color: transparent;
  z-index: 9999;
}

@media (max-width: 600px) {
  .header__title.header-title {
    display: none !important;
  }
}
@media screen and (min-width: 980px) {
  .hamburger {
    display: none;
  }
}
.hamburger span {
  width: 100%;
  height: 1px;
  background-color: #000;
  position: relative;
  transition: ease 0.4s;
  display: block;
}

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

.hamburger span:nth-child(2) {
  margin: 8px 0;
}

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

/* ハンバーガーメニュークリック後のスタイル */
.header__nav.active {
  transform: translateX(0);
}

.hamburger.active span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  top: -13px;
  transform: rotate(-45deg);
}

.header__nav.active {
  display: block;
}

/* main-content に適用されるデフォルトのスタイル */
#main-content {
  transition: background-color 0.5s ease; /* 背景色変更のアニメーションを追加 */
}

/* main-content がスクロール位置を超えた場合のスタイル */
.white-bg {
  background-color: white;
}
.white-bg .nav-items__item a {
  color: #000;
}

.head_tel {
  margin-left: auto;
  background: #211d1d;
  padding: 6px 20px;
  line-height: 1.2;
}
.head_tel p {
  font-size: 14px;
}
.head_tel p:last-of-type {
  text-align: right;
}
.head_tel .tel {
  font-size: 30px;
  color: #fff;
}

.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 0.6s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
    transition-timing-function: ease-in;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    transition-timing-function: ease-out;
  }
}
.fadeUpTrigger {
  opacity: 0;
}

.slide-in {
  overflow: hidden;
  display: inline-block;
}

.slide-in_inner {
  display: inline-block;
}

/*左右のアニメーション*/
.leftAnime {
  opacity: 0; /*事前に透過0にして消しておく*/
}

.slideAnimeLeftRight {
  animation-name: slideTextX100;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes slideTextX100 {
  from {
    transform: translateX(-100%); /*要素を左の枠外に移動*/
    opacity: 0;
  }
  to {
    transform: translateX(0); /*要素を元の位置に移動*/
    opacity: 1;
  }
}
.slideAnimeRightLeft {
  animation-name: slideTextX-100;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes slideTextX-100 {
  from {
    transform: translateX(100%); /*要素を右の枠外に移動*/
    opacity: 0;
  }
  to {
    transform: translateX(0); /*要素を元の位置に移動*/
    opacity: 1;
  }
}
@media (max-width: 600px) {
  .spnobr {
    display: none;
  }
  .subpage_wrap h3 {
    font-size: 22px;
  }
  .top_reserve .reserve_head h2 {
    font-size: 27px;
  }
  .top_reserve .reserve_head h2 span {
    bottom: -47px;
  }
  .top_reserve .reserve_main {
    margin: 50px auto 140px;
  }
  .top_reserve .reserve_main .text_wrap h3 {
    font-size: 23px;
  }
}
#youtube-area {
  position: relative;
  z-index: 1; /*最背面に設定*/
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  overflow: hidden;
  opacity: 0;
  height: 90vh;
}
@media (max-width: 600px) {
  #youtube-area {
    position: relative;
  }
}

/*jQueryで付与されたappearクラスがついたらYoutubeエリアをふわっと表示*/
#youtube-area.appear {
  animation-name: PageAnimeAppear;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
}

@keyframes PageAnimeAppear {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
#youtube {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 257.777778vh;
  height: 56.25vw; /* 16:9の幅 → 9 ÷ 16 = 56.25% */
  min-height: 110%;
  min-width: 100%;
}

/*youtubeがクリックされないためのマスク*/
#youtube-mask {
  position: absolute;
  z-index: 2; /*下から2番目に表示*/
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4901960784);
}

/*youtube 上のロゴ */
.m_v_text {
  position: absolute;
  z-index: 2;
  top: 43%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  color: #fff;
  text-shadow: 0 0 15px #666;
  max-width: 500px !important;
  padding: 70px;
}
@media (max-width: 600px) {
  .m_v_text {
    max-width: 150px !important;
    width: 100%;
    padding: 0;
  }
}/*# sourceMappingURL=style.css.map */