/* 汎用クラス */
.mb0 {margin-bottom: 0!important;}

/* IE メディアと文章のレイアウト調整 */
@media only screen and (min-width: 601px) {
.wp-block-media-text {
    display: -ms-grid;
    -ms-grid-rows: auto;
    -ms-grid-columns: 50% auto;
}
.wp-block-media-text .wp-block-media-text__media {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}
.wp-block-media-text .wp-block-media-text__content {
    -ms-grid-row: 1;
    -ms-grid-column: 2;
}
}
/* iphone検索窓の両端が丸くならないようにする */
input[type=search], input[type=search]:focus {
	    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -webkit-appearance: none;
   border-radius: 0;
}
/* IEヘッダー内ボーダー修正 */
.main-navigation li:hover > a {
    border-color: #fff;
}
a {color: #383a3b;}

/* ヘッダー内文字位置調整 */
@media only screen and (max-width: 767px) {
.page:not(.home) #primary-header .container {
    padding-bottom: 100px;
    padding-top: 220px;
}
	.page.home #primary-header .container {
		padding-left: 0;
		padding-right: 0;
		text-shadow:1px 1px 3px #444444;
	}
	.page.home #primary-header .container .taxonomy-description{
    opacity: 1;
    }
}
@media only screen and (min-width: 768px) {
	.page.home #primary-header .container {
		padding-left: 7%;
		padding-right: 7%;
		text-shadow:1px 1px 3px #444444;
	}
	.page.home #primary-header .container .taxonomy-description{
    opacity: 1;
    }
}
/* ヘッダーの配色の調整 */
@media only screen and (min-width: 768px) {
	#masthead {
		background: rgba(63, 47, 38,0.95);
		padding-top: 15px;
		padding-bottom: 15px;
	}
	#masthead.scroll-header #site-navigation a, #masthead.scroll-header {
		color: #fff;
	}
	#site-navigation .sub-menu, #masthead #site-navigation .sub-menu {
		background: rgba(63, 47, 38,0.95);
	}
}

/* ヘッダーの配色の調整（スクロール時） */
@media only screen and (min-width: 768px) {
	#masthead.scroll-header {
		background: rgba(63, 47, 38,0.95);
	}
	#masthead.scroll-header #site-navigation a {
		color: #fff;
	}
	#site-navigation .sub-menu, #masthead.scroll-header #site-navigation .sub-menu {
		background: rgba(63, 47, 38,0.85);
	}
}

/* ヘッダーの配色の調整（スマホ版） */
@media only screen and (max-width: 768px) {
	#masthead, .toggle-sidebar {
		background: rgba(63, 47, 38,1);
	}
	#primary-header .featured-image {
		top: 0;
	}
}

/* ヘッダーのナビのマウスオーバー時のスタイルの調整（Safari のみに必要） */
#masthead #site-navigation ul > a:hover {
    border: 1px solid #fff;
}

/* ヘッダーのナビの調整 */
.active-toggle-sidebar #masthead {
	left: 0;
	right: 0;
}

@media only screen and (max-width: 768px) {
	#masthead {
    position: absolute;
    z-index: 2;
		width: 100%;
	}
	.admin-bar #masthead {
	  top: 0;	
	}
.home.page-template #primary-header .container, #primary-header .container {
    padding: 100px 0;
}
	.toggle-sidebar .inner-panel {
		background: rgba(63, 47, 38,0.7)
	}
}
@media only screen and (min-width: 768px) {
	.main-navigation a {
		padding: 4px 8px;
	}
	.home.page-template #primary-header .container, #primary-header .container {
    padding-top: 125px;
}
}
/* ヘッダーの検索アイコンの配色の調整 */
#masthead .toggle-sidebar-button::before {
	color: #fff;
}

/* ヘッダーのハンバーガーメニューの閉じるボタンの配色の変更 */
#close-toggle-sidebar {
	color: #fff;
}

/* サイドバーの予約動線 */
#sidebar-reserve-section p, #sidebar-reserve-section ul {
	margin-bottom: 15px;
}
#sidebar-reserve-section .wp-block-button a {
	text-decoration: underline;
	color: #fff;
}
#sidebar-reserve-section .wp-block-button a:hover {
	color: #fff;
}

/* フッターのメニュー内のサブメニューの字下げ */
.footer-widget-area .menu .sub-menu {
	padding-left: 1.5em;
}
.mobile-navigation ul .sub-menu {
	font-size: 13px;
	padding-left: 1em;
}

/* フッターのロゴの調整 */
.footer_daitoukanlogo {
	width: 90%;
	margin: 0 auto 30px;
}
@media only screen and (max-width: 768px) {
	.footer_daitoukanlogo {
	width: 90%;
	margin: 0px auto 20px;
}
}
.footer_grouplogo {
	margin: 0 auto;
	width: 55%;
}
	/* フッター配色 */
#colophon {
	color: #ffffff;
}
/* 見出しの英字を大文字にしない調整 */
.hentry .entry-header .entry-title, .hentry .entry-header .entry-category, .hentry .entry-header .entry-meta, .hentry .entry-content .more-link-container a, .hentry .entry-summary .more-link-container a, #primary-header .entry-title, #primary-header .page-title {
	text-transform: initial;
}

/* トップページのページタイトルを消す */
.home #post-494 .entry-header {
	display: none;
}
.homepage-widgets .widget:first-child {
	padding-top: 0;
}
.home #post-201 .entry-header .entry-title {
	pointer-events: none;
}

/* トップページのページタイトルの下線の装飾を消す */
.home .homepage-widgets .front-page-block .entry-header:after {
	border-bottom: none;
}

/* トップページのタイトルの下のマージンを詰める */
@media only screen and (max-width: 768px) {
	.homepage-widgets #post-201 figure.wp-block-media-text__media {
		margin-bottom: 30px;
	}
}

/* MV の調整 */
@media only screen and (min-width: 768px) {
	.home .bx-viewport {
		height: 450px!important;
	}
	.home #featured-content-bg {
		background-position: center;
	}
	.home.page-template-front-page #primary-header .featured-image {
		background-attachment: inherit;
	}
}
/* 各ページのヘッダー画像を暗くする */
#primary-header {
    background-color: #212121;
}
#primary-header .featured-image {
opacity: 0.6;
}
.featured-content > ol, .featured-content > ol > li {
background-color: transparent;
}
/* トップページの空室検索の調整 */
.booking-box + .wp-block-button {
	margin-bottom: 3em;
}
@media only screen and (max-width: 768px) {
	.booking-box select {
		border: solid 1px #ccc;
		height: 38px;
	}
}
@media only screen and (min-width: 768px) {
	.booking-box dl {
		margin-bottom: 0;
		float: left;
		width: 33%;
	}
	.booking-box select {
		border: solid 1px #ccc;
		height: 38px;
	}
}

/* トップページの見出し調整*/
@media only screen and (max-width: 768px) {
.single .entry-content h2, .page .entry-content h2, .comments-area .comment-body h2  {
    font-size: 1.75rem;
	}
	.single .entry-content h3, .page .entry-content h3, .comments-area .comment-body h3  {
    font-size: 1.4rem;
	}
	.homepage-widgets .front-page-block .post-201	.entry-header {
    margin-bottom: 20px;
	}
		.homepage-widgets .front-page-block .grid-page-title {
    text-align: left
	}
#page .wp-block-button .wp-block-button__link,
.wp-block-button__link {
		font-size:14px;
	}
}
@media only screen and (min-width: 768px) {
		.homepage-widgets .front-page-block .post-201	.entry-header {
    margin-bottom: 40px;
	}
}
.page-id-26 .homepage-widgets .front-page-block .post-201 .regular-page .entry-thumb {
    margin-bottom: -10px;
}

/* テーブル内文字のセンタリング */
.table-center {
	text-align: center;
}
/* 左寄せテーブル */
@media only screen and (min-width: 768px) {
.table-small {
	display: table;
	width:550px !important;
}
}
/* スマホ版テーブル幅調整 */
@media only screen and (max-width: 767px) {
.wp-block-table.aligncenter, .wp-block-table.alignleft, .wp-block-table.alignright {
    display: unset;
    float: none;
}
}
/* 2カラムの画像＋テキストブロックの調整 */
@media only screen and (min-width: 768px) {
	.wp-block-media-text {
		margin-bottom: 30px;
	}
}
/* 同タブで開くボタンのスタイル */
.wp-block-button .wp-block-button__link {
	background-color: #89786C;
	padding: 12px 24px;
	font-size: 18px;
	font-weight: normal;
}
#page .wp-block-button .wp-block-button__link {
	text-decoration: underline;
}
/* 別タブで開くボタンのスタイル */
.another-tab-link {
	margin-bottom: 30px;
	transition: color 350ms ease-in-out, opacity 350ms ease-in-out, background-color 350ms ease-in-out;
}
.another-tab-link:hover {
  opacity: 0.7;	
}
.another-tab-link a {
	color: #fff;
}
.wp-block-button__link {
	background: #89786C;
}
/* 白ボタンのスタイル */
.another-tab-link--white {
	margin-bottom: 30px;
	background: #fff;
	border: solid 2px #89786C;
	transition: color 350ms ease-in-out, opacity 350ms ease-in-out, background-color 350ms ease-in-out;
}
.another-tab-link--white:hover {
	opacity: 0.7;
}
.another-tab-link--white a {
	color: #89786C;
}
.wp-block-button.is-style-outline .wp-block-button__link {
	border-radius: 28px;
}

/* GoogleMap の調整 */
#google-map-box {
	margin-bottom: 30px;
	width: 100%;
	height: 400px;
}

/* 検索結果ページのサイドバーを非表示にする */
.search .col-lg-4.col-md-4.sidebar-section {
	display: none;
}
.search #primary {
	width: 100%;
}
.search .no-results .page-content {
	padding-bottom: 40px;
}

/* 検索結果が存在しない場合の見出し文字を小さくする */
.search-no-results #primary-header .page-title {
	font-size: 2rem;
}

/* 客室ページの各客室の見出し下の表示を消す */
.page-template-grid-full-width-page .entry-sub-title {
	display: none;
}

/* 客室ページのアイコンを消す */
.wp-block-table img[class*="wp-image-"],
.wp-block-table .entry-attachment img {
	border: none;
	padding: 0;
	position: relative;
	top: -2px;
	right: 5px;
}
@media only screen and (max-width: 768px) {
	.wp-block-table.is-icon-table td {
		padding-right: 40px;
	}
}

/* 投稿の一覧ページのサムネイルの横幅の調整 */
@media only screen and (max-width: 768px) {
	.blog #main a.thumb-link, .archive #main a.thumb-link {
		width: 100%;
	}
	.blog #main a.thumb-link img, .archive #main a.thumb-link img {
		width: 100%!important;
	}
}

/* 投稿の詳細ページの「前へ」「次へ」リンクのスタイルの調整 */
@media only screen and (max-width: 768px) {
	.post-navigation .nav-previous {
		padding-right: 10px;
	}
	.post-navigation .nav-next {
		padding-left: 10px;
	}
}
/* スマホ版カラム内のスタイル調整 */
@media only screen and (max-width: 768px) {
	.wp-block-column .wp-block-image {
		margin-bottom: 0;
	}
}
/* IEでカラムの画像の大きさ修正 */
@media (min-width: 600px) {
.wp-block-column {
    flex-basis: 34%;
    flex-grow: 0;
}
}
/* 空室検索リンク範囲調整 */
.booking-search-btn {
    display: inline-block;
}
/* テーブルの枠線を消す */
@media screen and (max-width: 767px){
.table-responsive {
    border: none;
}
}
/* メニュー文字の改行を防ぐ */
@media screen and (min-width: 500px) and  (max-width: 991px){
	.toggle-sidebar-button {
		width: 112px;
	}
}
@media screen and (max-width: 991px){
.site-header .th-w-full {
    width: 75%;
}
}
@media screen and (max-width: 499px){
.site-header .th-w-full {
    width: 100%;
}
}

@media screen and (min-width: 992px){
.site-header .site-branding {
    max-width: 160px;
}
}

@media all and (-ms-high-contrast: none) {
.site-header .th-w-full {
    width: 100%;
}
}
/* IEでグロナビがずれるバグ修正 */
@media all and (-ms-high-contrast: none) {
	.site-header .site-branding   {
	  	max-width: none;
	  }
}

/* MVのぼやけ修正(スマホ版) */
@media screen and (max-width: 767px){
	.home.page-template-front-page #primary-header .featured-image {
    background-attachment: unset;
  }
}
/* IEメディアと文章の文字位置調整 */
@media all and (-ms-high-contrast: none) {
	.page-id-563 .wp-block-media-text__content, .page-id-228 .wp-block-media-text__content {
		padding-top: 40px;
	}
}
@supports (-ms-ime-align: auto) {
	.page-id-563 .wp-block-media-text__content, .page-id-228 .wp-block-media-text__content {
		padding-top: 40px;
	}
}
@media screen and (max-width: 991px){
	.page-id-563 .wp-block-media-text__content, .page-id-228 .wp-block-media-text__content {
		padding-top: 0;
	}
}

/* 予約ウィジェット干渉によるヘッダーの崩れをCSSで解消 */
.notice li a:hover {
	color:#846B22; !important;
}

.notice li a {
	color:#383a3b; !important;
}

header nav ul li a {
	color:#ffffff;
}

header nav ul li a:hover {
	color:#ffffff;
	text-decoration:none;
}

header nav ul li a{
	font-family:'Montserrat' !important; 
}

/* TOPページ動画用 */
.header_wrap{
	position: relative;
	width: 100vw;
	height: 100vh;
	margin: 0 calc(50% - 50vw);
}
.header_movie{
	overflow: hidden;
	position: absolute;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100%;
	z-index: 1;
}
.header_movie video {
	position: absolute;
	top: 50%;
	left: 50%;
	width: auto;
	height: auto;
	min-width: 100%;
	min-height: 100%;
	transform: translate(-50%,-50%);
	object-fit: cover;
}
.header_text{
	position: absolute;
	z-index: 2;
	left: 50%;
	top: 40%;
	transform: translate(-50%, -50%);
	text-align: center;
}
.header_text h2{
	font-size: 30px;
	color: #fff;
	font-weight: bold;
	text-shadow: 2px 2px 8px #000;
	margin-bottom: 0;
}
.header_text h3{
	font-size: 20px;
	color: #fff;
	text-shadow: 2px 2px 8px #000;
	margin-top: 10px;
}

/* ウィジェット高さ調整 */
.tripla-bwapp-widget {
        height: auto !important;
}

/* 新着情報カルーセル設置 */
    #top-news-wrap {
        padding: 50px 0;
    }

    #top-news-wrap>div {
        max-width: 1170px;
        margin: 0 auto;
    }

    .wp-block-newspack-blocks-carousel {
        padding: 0 70px !important;
        margin-top: 30px !important;
    }

    .wp-block-newspack-blocks-carousel .swiper-slide {
        height: 100% !important;
    }

    .wp-block-newspack-blocks-carousel article .entry-wrapper {
        position: static !important;
        background-color: initial !important;
        padding: 0.5em 0 0 !important;
        color: unset !important;
    }

    .wp-block-newspack-blocks-carousel .post-thumbnail a,
    .wp-block-newspack-blocks-carousel .post-thumbnail img {
        aspect-ratio: 800 / 480;
    }

    .wp-block-newspack-blocks-carousel article .entry-title {
        margin-bottom: 0 !important;
    }

    .wp-block-newspack-blocks-carousel .entry-meta {
        margin-top: 0.25rem !important;
    }

    .wp-block-newspack-blocks-carousel .entry-title a {
        color: unset !important;
        line-height: 24px;
    }

    .wp-block-newspack-blocks-carousel article .entry-meta {
        color: #969696 !important;
    }

    .wp-block-newspack-blocks-carousel .swiper-button-next,
    .wp-block-newspack-blocks-carousel .swiper-button-prev {
        margin-top: -65px !important;
    }

    .wp-block-newspack-blocks-carousel .swiper-button {
        background-color: #fff !important;
        border-radius: inherit !important;
        border: solid 1px #212529 !important;
    }

    .wp-block-newspack-blocks-carousel .swiper-button-prev {
        left: 0 !important;
    }

    .wp-block-newspack-blocks-carousel .swiper-button-next {
        right: 0 !important;
    }

    .wp-block-newspack-blocks-carousel .swiper-button-prev::before {
        color: #212529 !important;
        content: "←";
    }

    .wp-block-newspack-blocks-carousel .swiper-button-next::before {
        color: #212529 !important;
        content: "→";
    }

    .wp-block-newspack-blocks-carousel .swiper-button:focus {
        box-shadow: inset 0 0 0 0px rgba(0, 0, 0, .75), inset 0 0 0 4px #fff !important;
    }

    .swiper.swiper-initialized.swiper-horizontal.swiper-pointer-events.swiper-watch-progress {
        position: static !important;
    }

    .wp-block-newspack-blocks-carousel .swiper-pagination-bullets {
        height: calc(1.5em + 5px) !important;
    }

    .wp-block-newspack-blocks-carousel .swiper-pagination-bullet {
        background: #fff !important;
        border: solid 1px #212529 !important;
        opacity: 1 !important;
    }

    .wp-block-newspack-blocks-carousel .swiper-pagination-bullet.swiper-pagination-bullet-active,
    .wp-block-newspack-blocks-carousel .swiper-pagination-bullet[selected] {
        width: 12px !important;
        background: #212529 !important;
    }

    #top-news-wrap p.has-text-align-right {
        margin: 0;
    }

    #top-news-wrap p.has-text-align-right a {
        color: inherit;
    }

    @media (min-width:992px) {
        .wp-block-newspack-blocks-carousel {}
    }

    @media (max-width:991px) {
        #top-news-wrap {
            background-color: #f5f5f5;
            width: 100vw;
            margin: 0 calc(50% - 50vw) 50px;
            overflow-x: hidden;
        }

        #top-news-wrap>div {
            padding-left: 30px;
            padding-right: 30px;
        }

        .wp-block-newspack-blocks-carousel {
            padding: 0 !important;
        }

        .wp-block-newspack-blocks-carousel .swiper-pagination-bullets {
            padding-bottom: 30px !important;
        }
    }

/* ボタンリンク調整 */
.wp-block-button__link {
	padding: 0;
}
.wp-block-button__link a {
    padding: 0.87em 1.45em;
    display: inline-block;
}

/* スマホ版ヘッダー調整 */
@media (max-width:991px) {
	#wpadminbar {
		position: fixed;
	}
	.admin-bar #masthead {
		top: 46px;
	}
	#masthead .th-mb-base {
		margin-bottom: 0;
	}

	.custom-logo-link img {
		max-width: 160px;
	}

	#masthead {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		position: sticky;
		top: 0;
		z-index: 999;
	}

	.site-header .th-w-full {
		width: 100%;
		/* width: fit-content; */
		/* padding-left: 25px; */
		text-align: left;
	}

	.site-header svg {
		height: 25px;
		width: 25px;
	}

	.header-menu {
		font-size: 0;
	}
	
	#sidebar-button {
    justify-content: flex-end;
}
}

/* PC版カルーセル調整 */
    @media only screen and (min-width: 769px) {
        .th-siema {
            height: 550px !important;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        #featured-content .container {
            padding: 0 !important;
            margin-top: 0;
        }

        .featured-content-pager {
            padding-top: 1rem;
        }
    }

    /* SP版カルーセル調整 */
    @media only screen and (max-width: 768px) {
        .th-siema {
            height: calc(80vh - 0px) !important;
            margin: 0 calc(50% - 50vw);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .home.page-template #primary-header .container,
        #primary-header .container {
            padding: 50px 20px;
            margin-top: 0;
        }

        .home.page-template #primary-header .container {
            margin-top: -40px;
        }

        .featured-content-pager {
            position: absolute;
            z-index: 100;
            bottom: 0;
            left: 0;
            right: 0;
        }

        .page:not(.home) #primary-header .container {
            padding-bottom: 50px;
            padding-top: 50px;
        }
    }

/* H2のmargin-top調整 */
h2.wp-block-heading {
    margin-top: 2rem;
}

/* ボタンリンクのバグ修正 */
.wp-block-button__link {
    display: inline-block;
    width: fit-content;
    height: fit-content;
}