/*
 Theme Name:   OnePress Child
 Theme URI:    https://www.famethemes.com
 Description:  OnePress sample child theme
 Author:       FameThemes
 Author URI:   https://www.famethemes.com
 Template:     onepress
 Version:      1.0.0
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  onepress-child
*/

/* Add your custom css below
-------------------------------------------------------------- */


body {
  font-family: 'Noto Serif Display JP', serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
  font-family: 'Noto Serif Display JP', serif;
  font-weight: 400;
  margin-bottom: 15px;
  margin-bottom: 15px;
  margin-bottom: 0.9375rem;
  margin-top: 0;
  color: #1c1c1c;
}


.section-title-area .section-title {
  font-size: 52px;
  letter-spacing: 0px;
  font-weight: 500;
  position: relative;
  margin-bottom: 0px;
  text-transform: inherit;
  font-feature-settings: "palt";
}

.section-meta {
  background-color: #FFF;
}

.pc-only{
    display: block;
}
.sp-only{
    display: none;
}

@media (min-width: 1200px) {
	.container {
		width: 92% !important;
	}
}

/* Section: owner
------------------------------*/
#owner.section-owner .container {
  width: 100%;

}
@media (min-width:992px) {
  #owner.section-owner .container {
    width: 800px !important;
  }
  #activity2 .container  {
    width: 800px !important;
  }
}



/* footセクションの2枚画像の隙間を消す */
#foot .container-fluid {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

#foot .gallery {
	margin: 0 !important;
	padding: 0 !important;
	display: flex !important;
	gap: 0 !important;
}

#foot .gallery-item {
	margin: 0 !important;
	padding: 0 !important;
	width: 50% !important;
	max-width: 50% !important;
	display: block !important;
}

#foot .gallery-icon,
#foot .gallery-icon p,
#foot .gallery-item dt,
#foot .gallery-item dl {
	margin: 0 !important;
	padding: 0 !important;
}

#foot .gallery img {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
}

/*------------------------------
	Table
------------------------------*/
table > thead > tr > th,
table > tbody > tr > th,
table > tfoot > tr > th,
table > thead > tr > td,
table > tbody > tr > td,
table > tfoot > tr > td {
  padding: 10px;
}

@media screen and (max-width: 768px){
    .pc-only{
        display: none;
    }
    .sp-only{
        display: block;
    }
}

.wp-block-image .alignleft {
    margin: 0.5em 1em 1.5em 0;
}
.wp-block-image .alignright {
    margin: 0.5em 0 1.5em 1em;
}

#access .container-fluid {
  padding-right: 0px !important;
  padding-left: 0px !important;
}

/* sp menu
------------------------------*/
@media screen and (max-width: 1140px) {
  .onepress-menu.onepress-menu-mobile a {
    color: #555;
  }
  .onepress-menu a {
   	font-size: 1.25rem !important;
 	}
  .onepress-menu.onepress-menu-mobile > li > a {
     padding: 15px 20px;
   }
}

@media screen and (max-width: 599px) {
  .site-header {
    line-height: 70px;
  }
  .site-branding .site-logo-div {
    line-height: 62px;
  }
  .site-logo-div img {
    height: 45px;
  }
}


/* MV
------------------------------*/
.hero-content-style1 p {
  font-style: normal;
  font-size: 15px;
  line-height: 2;
}
@media screen and (min-width: 940px) {
  .hero-content-style1 p {
    font-size: 18px;
  }
}
@media screen and (min-width: 1140px) {
  .hero-content-style1 p {
    font-size: 22px;
    line-height: 2;
  }
}
.hero-content-style1 h2 {
  text-transform: inherit;
}


/* Section: lightBox
------------------------------*/
.lg-video-cont {
    max-width: 1024px !important;
}


/* Section: Services
------------------------------*/
.section-services .service-item:hover {
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
}
.section-services .service-item {
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
}
.section-services .service-item .service-content p,
#stay p,
#activity p,
#activity2 p,
#owner p {
  width: 800px;
  margin: auto auto;
  margin-top: 1.5rem;
  font-size: 16px;
  color: #575757 !important;
}


/* Section: owner
------------------------------*/
#owner.section-owner .container {
  width: 100%;

}
@media (min-width:992px) {
  #owner.section-owner .container {
    width: 800px;
  }
}


@media screen and (max-width: 599px) {
  /* Section: Services
  ------------------------------*/
  .section-services .service-item .service-content p {
    width: 100%;
    margin: auto auto;
    margin-top: 1.5rem;
    text-align: left;
  }
  .section-videolightbox .videolightbox__heading {
    font-size: 1.7rem;
  }
}
@media screen and (max-width: 720px) {
  .section-services .service-item {
    padding: 0 20px;
    margin-top: -30px;
  }
}

/* Section: contact&reservation
------------------------------*/
#reservation {
  margin-top: 70px;
}
@media (min-width:992px) {
  #reservation {
    margin-top: 140px;
  }
}

/* Section: activity
------------------------------*/
#activity.section-padding {
  padding-bottom: 20px;
}

#activity2 .container {
  padding: 0 15px;
}
@media (min-width:992px) {
  #activity2 .container  {
    width: 800px;
  }
}


h3 {
  font-size: 26px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 2px;
}

h4 {
  font-size: 1.4625rem;
  margin-bottom: 12px;
  margin-top: 2.5rem !important;
}

.section-desc {
  width: 800px;
  font-size: .9rem;
  margin: 2.5rem auto 0;
  text-align: left;
}

.section-padding {
  padding: 90px 0px;
  padding: 6.375rem 0px;
}

#videolightbox.section-padding {
  padding: 130px 0px;
  padding: 11.375rem 0px;
}

.section-services .service-item .service-image {
  float: none;
  margin-right: 0;
  text-align: center;
}

.feature-media span.icon-image img {
    max-width: 10%;
}

.feature-item h4 {
  font-size: 24px;
  font-size: 1.4625rem;
  margin-bottom: 2.5rem;
}

.feature-item h5 {
  font-size: 21px;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  margin-top: 2.5rem;
  letter-spacing: 1.5px;
}

.feature-item .feature-item-content {
  text-align: left;
}


/* Section: information
------------------------------*/
.cancellation-policy {
  margin-top: 40px;
}

.cancellation-policy h5 {
  margin: 0 0 16px;
  font-weight: 600;
}

.cancellation-policy > p {
  margin: 0 0 16px;
  line-height: 1.8;
}

.cancellation-policy table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.cancellation-policy th,
.cancellation-policy td {
  padding: 12px 14px;
  border: 1px solid #ddd;
  text-align: left;
  line-height: 1.6;
}

.cancellation-policy th {
  width: 65%;
  font-weight: 500;
  background: #fafafa;
}

.cancellation-policy .policy-note {
  margin-top: 14px;
  font-size: 14px;
}

@media (max-width: 767px) {
  .cancellation-policy {
    margin-top: 30px;
  }

  .cancellation-policy th,
  .cancellation-policy td {
    padding: 10px;
    font-size: 14px;
  }

  .cancellation-policy th {
    width: 62%;
  }
}

/* Section: activity
------------------------------*/
.project-wrapper .project-header .project-small-title {
  font-size: 18px;
}

.section-content {
  width: 80%;
  margin: auto auto;
}

.section-content .feature-item {
  padding-left: 30px;
  padding-right: 30px;
  margin-bottom: 3.5rem;
}

.custom-section-content {
  width: 800px;
  margin: auto auto 120px;
}

#access .custom-section-content {
  margin: auto auto 0;
}


/* Section: gallely
------------------------------*/
.g-zoom-in .g-item img {
  width: 100%;
}


@media screen and (max-width: 767px) {
  .section-padding {
    padding: 4rem 0px;
  }
  .section-title-area .section-subtitle {
    font-size: 11px;
  }
  .section-title-area .section-title {
    font-size: 37px;
  }
  h3 {
    font-size: 24px;
    line-height: 1.5;
    letter-spacing: 1px;
  }

  #about .container {
    padding-right: 0 !important;
    padding-left: 0 !important;  .container
  }

  /* Section: Services
  ------------------------------*/
  .section-services .service-item .service-content p,
  .section-about .container p,
  #stay .section-desc p, #activity .section-desc p, #owner .container p, #information .container p, .project-detail-entry p, #activity2 .container p {
    width: 100%;
    margin: auto auto;
    margin-top: 1.5rem;
    text-align: left;
    font-size: 15px;
    /* color: #1a1a1a; */
    color: #595959;
  }
  /* Section: video
  ------------------------------*/
  .section-videolightbox .videolightbox__heading {
    font-size: 1.7rem;
  }

  .section-desc {
    width: 100%;
    padding: 0 30px;
  }
  /* Section: activity
  ------------------------------*/
  .project-wrapper .project-header .project-small-title {
    font-size: 16px;
  }
  .project-detail .project-expander-contents {
    padding: 40px 0px 60px;
  }
  /* Section: gallery
  ------------------------------*/
  .g-col-4 .g-item {
      width: 50%;
    }
  #activity .section-desc {
    padding: 0 15px;
  }
  /* Section: owner
  ------------------------------*/
  #owner .custom-section-content {
    width: 100%;
    margin: auto auto 120px;
  }
  #owner .section-content-area p {
    /* padding: 0 30px; */
  }
  #owner .section-content-area h4 {
    font-size: 20px;
    margin-top: 2rem;
  }
  #owner .section-content-area p.en_name {
    margin-top: 0;
    color: #90989b;
  }
  /* Section: information
  ------------------------------*/
  #information .section-content {
    width: 100%;
    margin: auto auto;
  }
  .feature-item h4 {
    font-size: 1.7rem;
  }
  .feature-media span.icon-image img {
      max-width: 13%;
  }
  /* Section: reservation
  ------------------------------*/
  #reservation .custom-section-content {
    width: 100%;
    margin: auto auto 60px;
  }
}

@media screen and (max-width: 599px) {
  .project-detail .project-expander-contents {
    padding: 40px 0px 90px !important;
  }
}


#foot.section-padding {
  padding: 90px 0 0;
}

#foot .container-fluid {
  padding-right: 0;
  padding-left: 0
}

#foot .custom-section-content {
  width: 100%;
  margin: auto auto 0;
}

#foot .gallery {
  margin-bottom: 0;
  display: flex;
}

@media screen and (max-width: 599px) {
  #foot .gallery {
    display: block;
  }
#foot .gallery.gallery-columns-2 .gallery-item {
  max-width: 100%;
  margin: 0;
}
#foot .gallery.gallery-columns-2 .gallery-item dt,
#foot .gallery.gallery-columns-2 .gallery-item p {
  margin: 0;
}
}

/* Section: copy
------------------------------*/
.site-footer .site-info .container {
  font-size: 12px;
}

/* news
------------------------------*/
.page-header .entry-title,
.page-header .page-title {
  margin-bottom: 0px;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: inherit;
}

.sidebar .widget .widget-title {
  text-transform: inherit;
  letter-spacing: 1px;
  font-weight: 400;
}

.sidebar .widget a {
  font-size: 13px;
}

.section-news .list-article-meta, .archive .list-article-meta, .blog .list-article-meta {
  font-weight: 400;
  text-transform: inherit;
}

.entry-meta {
  letter-spacing: 1px;
  text-transform: inherit;
  font-weight: 400;
}

.entry-footer .cat-links, .entry-footer .tags-links {
  text-transform: inherit;
  letter-spacing: 1px;
  font-weight: 400;
}

.entry-header .entry-title {
  letter-spacing: 1px;
  font-size: 28px;
}

#news .entry-header .entry-title {
  font-size: 20px;
}

@media screen and (max-width: 767px) {
  /* Section: news
  ------------------------------*/
  #news .section-content {
    width: 100%;
    margin: auto auto;
  }
  /* Section: entry
  ------------------------------*/
  .entry-header .entry-title {
    font-size: 20px;
  }

  #foot.section-padding {
    padding: 40px 0 0;
  }
}


.project-wrapper {
  border-left: none !important;
}
.project-wrapper .project-header {
  padding: 17px 20px 15px 0 !important;
  background: #FFF !important;
}
.project-detail-title {
  font-weight: 400 !important;
}
.project-wrapper .project-item {
  border-right: none !important;
  border-bottom: none !important;
  border-top: none !important;
}
.project-detail .project-expander-contents {
  background: #F2F2F2 !important;
  border: none !important;
}
.project-3-column .project-item {
  width: 33.2% !important;
}

@media screen and (max-width: 767px) {
  .project-3-column .project-item {
    width: 49.5% !important;
  }
  .project-content-inside {
    padding-left: 0;
    padding-left: 0rem;
    padding: 20px 30px !important;
  }
}

/* 予約ページ
  ------------------------------*/
.reservation-summary {
  width: calc(100% - 140px);
  max-width: 1050px;
  margin: 30px auto 18px;
  padding: 24px 28px;
  background: #f7f7f5;
  color: #333;
  box-sizing: border-box;
}

.reservation-summary h2 {
  margin: 0 0 16px;
  font-size: 25px;
  line-height: 1.4;
}

.reservation-summary h3 {
  margin: 22px 0 8px;
  padding-top: 18px;
  border-top: 1px solid #ddd;
  font-size: 19px;
  line-height: 1.4;
}

.reservation-summary table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.reservation-summary th,
.reservation-summary td {
  padding: 9px 12px;
  border: 1px solid #ddd;
  text-align: left;
  line-height: 1.5;
}

.booking-conditions th {
  width: 16%;
  background: #efefec;
  font-weight: 600;
  white-space: nowrap;
}

.booking-conditions td {
  width: 34%;
}

.policy-introduction {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.7;
}

.cancellation-fees th {
  width: 25%;
  background: #efefec;
  text-align: center;
  font-weight: 600;
}

.cancellation-fees td {
  text-align: center;
}

.reservation-notice {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 700px) {
  .reservation-summary {
    width: calc(100% - 24px);
    margin: 20px auto 14px;
    padding: 20px 16px;
  }

  .reservation-summary h2 {
    font-size: 22px;
  }

  .booking-conditions,
  .booking-conditions tbody,
  .booking-conditions tr,
  .booking-conditions th,
  .booking-conditions td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  /* 白背景とセルの枠線を削除 */
  .booking-conditions,
  .booking-conditions th,
  .booking-conditions td {
    border: 0;
    background: transparent;
  }

  .booking-conditions th {
    padding: 11px 10px 2px;
    font-weight: 600;
  }

  .booking-conditions td {
    margin: 0;
    padding: 2px 10px 11px;
    border-bottom: 1px solid #ddd;
  }

  /* 最後の罫線は不要 */
  .booking-conditions tr:last-child td:last-child {
    border-bottom: 0;
  }

  .cancellation-fees {
    font-size: 12px;
  }

  .cancellation-fees th,
  .cancellation-fees td {
    padding: 7px 4px;
    white-space: normal;
  }
}

.reservation-note {
  width: calc(100% - 140px);
  max-width: 1050px;
  margin: 40px 0 30px;
  padding: 24px 28px;
  background: #f8f5ef;
  border: 1px solid #e4ded2;
  font-size: 16px;
  line-height: 1.9;
}

.reservation-note h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.reservation-note p {
  margin: 0 0 12px;
}

.reservation-note p:last-child {
  margin-bottom: 0;
}

.reservation-note .example {
  padding: 14px 18px;
  background: #fff;
  border-left: 4px solid #c9b89a;
}

@media (max-width: 700px) {
    .reservation-note {
      width: calc(100% - 24px);
  }
}

/* キャンセルポリシー
  ------------------------------*/
.cancellation-policy-page {
  width: 70%;
  max-width: 1000px;
  margin: 0 auto;
}

.cancellation-policy-page h2 {
  margin: 40px 0 16px;
  font-size: 26px;
  font-weight: 500;
}

.cancellation-policy-page p {
  margin: 0 0 18px;
  line-height: 1.9;
}

.cancellation-policy-page table {
  width: 100%;
  margin: 24px 0 18px;
  border-collapse: collapse;
  background: transparent;
}

.cancellation-policy-page th,
.cancellation-policy-page td {
  padding: 14px 16px;
  border: 1px solid #ddd;
  text-align: left;
  line-height: 1.6;
}

.cancellation-policy-page th {
  width: 65%;
  font-weight: 500;
  background: #f7f7f5;
}

.cancellation-policy-page .policy-note {
  font-size: 14px;
}

.cancellation-policy-page hr {
  margin: 50px 0 10px;
  border: 0;
  border-top: 1px solid #ddd;
}

@media (max-width: 767px) {
  .cancellation-policy-page {
    width: 100%;
  }
  .cancellation-policy-page h2 {
    margin-top: 30px;
    font-size: 22px;
  }

  .cancellation-policy-page th,
  .cancellation-policy-page td {
    padding: 10px;
    font-size: 14px;
  }

  .cancellation-policy-page th {
    width: 62%;
  }
}

/* ファーストビューの「空室確認・ご予約」ボタン */
#hero .hero__content > a.btn.btn-info {
  background: none !important;
  border: 1px solid rgba(255, 255, 255, 0.75) !important;
  min-width: 320px;
  padding: 18px 52px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.12em;
  border-radius: 2px;
}
/* マウスを重ねたとき */
#hero .hero__content > a.btn.btn-info:hover,
#hero .hero__content > a.btn.btn-info:focus {
  background: #252525 !important;
  border-color: #252525 !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
}
.hero-slideshow-wrapper .hero__content .btn::after {
  content: "▶";
  display: inline-block;
  margin-left: 1.2em;
  font-size: 0.7em;
  vertical-align: 0.1em;
  transition: transform 0.25s ease;
}

.hero-slideshow-wrapper .hero__content .btn:hover::after,
.hero-slideshow-wrapper .hero__content .btn:focus::after {
  transform: translateX(5px);
}

/* タブレット */
@media screen and (max-width: 991px) {
  #hero .hero__content > a.btn.btn-info {
    min-width: 250px;
    padding: 16px 42px;
    font-size: 17px;
  }
}

/* スマホ */
@media screen and (max-width: 576px) {
  #hero .hero__content > a.btn.btn-info {
    width: min(82vw, 320px);
    min-width: 0;
    padding: 15px 24px;
    font-size: 16px;
    letter-spacing: 0.08em;
  }
}

/* グローバルナビのReservationを強調 */
#site-navigation a[href*="/reservation"] {
  display: inline-block;
  background-color: #252525;
  padding: 9px 18px;
  color: #FFF;
  border: 1px solid #252525;
  border-radius: 2px;
  line-height: 1;
  transition:
    color .25s ease,
    background-color .25s ease,
    border-color .25s ease;
}

#site-navigation a[href*="/reservation"]:hover,
#site-navigation a[href*="/reservation"]:focus,
#site-navigation .current-menu-item > a[href*="/reservation"] {
  color: #252525;
  background-color: #FFF;
  border-color: #252525;
}

/* Informaton下部の「空室確認・ご予約」ボタン */
.features-reservation-cta {
  clear: both;
  width: 100%;
  padding: 40px 15px 10px;
  text-align: center;
}

.features-reservation-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 320px;
  padding: 18px 52px;
  background: transparent;
  border: 1px solid #252525;
  color: #252525 !important;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.12em;
  border-radius: 2px;
  text-decoration: none !important;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.features-reservation-button::after {
  content: "▶";
  margin-left: 1.2em;
  font-size: 0.7em;
  line-height: 1;
  transition: transform 0.25s ease;
}

.features-reservation-button:hover,
.features-reservation-button:focus {
  background: #252525;
  border-color: #252525;
  color: #FFF !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
}

.features-reservation-button:hover::after,
.features-reservation-button:focus::after {
  transform: translateX(5px);
}

@media screen and (max-width: 991px) {
  .features-reservation-button {
    min-width: 250px;
    padding: 16px 42px;
    font-size: 17px;
  }
}

@media screen and (max-width: 767px) {
  .features-reservation-cta {
    padding-top: 45px;
  }
}

@media screen and (max-width: 576px) {
  .features-reservation-button {
    width: min(82vw, 320px);
    min-width: 0;
    padding: 15px 24px;
    font-size: 16px;
    letter-spacing: 0.08em;
  }
}

/* スクロール後に表示する固定予約ボタン */
.floating-reservation-cta {
  position: fixed;
  left: 50%;
  bottom: calc(22px + env(safe-area-inset-bottom));
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, calc(100% + 50px));
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0s linear 0.28s;
}

.floating-reservation-cta.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}

.floating-reservation-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 300px;
  padding: 16px 34px;
  background: #252525;
  border: 1px solid #252525;
  color: #fff !important;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-reservation-button::after {
  content: "▶";
  margin-left: 1.2em;
  font-size: 0.7em;
  line-height: 1;
  transition: transform 0.25s ease;
}

.floating-reservation-button:hover,
.floating-reservation-button:focus {
  background: #FFF;
  border-color: #252525;
  color: #252525 !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.floating-reservation-button:hover::after,
.floating-reservation-button:focus::after {
  transform: translateX(4px);
}

@media screen and (max-width: 767px) {
  .floating-reservation-cta {
    bottom: calc(12px + env(safe-area-inset-bottom));
    width: calc(100% - 28px);
  }

  .floating-reservation-button {
    width: 100%;
    min-width: 0;
    padding: 14px 22px;
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-reservation-cta,
  .floating-reservation-button,
  .floating-reservation-button::after {
    transition: none;
  }
}
