/*
Theme Name: hightime
Theme URI: 
Author: Akira
Author URI: 
Description: 
Requires at least: 6.6
Tested up to: 6.6
Requires PHP: 5.7
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hightime
Domain Path: /languages
*/

/* common class name
ripple
hightime-spacer-with-bg
*/

/* common animation */

*,
*::before,
*::after {
	box-sizing: border-box !important
}

body .is-root-container *,
body .editor-styles-wrapper *,
body .block-editor-block-list__layout *,
body .wp-block * {
	box-sizing: border-box !important;
}

body .is-root-container *::before,
body .is-root-container *::after,
body .editor-styles-wrapper *::before,
body .editor-styles-wrapper *::after,
body .block-editor-block-list__layout *::before,
body .block-editor-block-list__layout *::after,
body .wp-block *::before,
body .wp-block *::after {
	box-sizing: border-box !important;
}

[style*="box-sizing"] {
	box-sizing: border-box !important;
}

body,
.editor-styles-wrapper body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	/* 慣性スクロールを無効化 */
	/*overscroll-behavior: none*/
}

body,
html {
	min-height: 100vh
}

:root {
	--admin-bar-height: 46px;/* 0〜600 */
	--hightime-navigation-fixed-height: 70px;
	--delay: .5s;
	--delay-plus: .2s;
	--reveal-animation: reveal .4s cubic-bezier(.42, 0, 1, 1) forwards
}
@media screen and (min-width: 783px) {
	:root {
			--admin-bar-height: 32px;
	}
	body.admin-bar {
		padding-top: var(--admin-bar-height)
	}
}

html {
	margin: 0 !important;
	scroll-behavior: smooth;
	scroll-padding-top: var(--hightime-navigation-fixed-height)
}

/* scroll */
@media screen and (min-width: 601px) {
	html {
		scroll-padding-top: calc(var(--hightime-navigation-fixed-height) + var(--admin-bar-height))
	}
}

body {
	background: var(--wp--preset--color--base)
}
.editor-styles-wrapper body,
.editor-styles-wrapper html {
	min-height: 100vh
}

.wp-site-blocks {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	overflow-x: clip;
}

footer,
.editor-styles-wrapper footer {
	margin-block-start: auto !important
}

.wp-block-cover {
	padding: 0
}

@media screen and (min-width: 980px) {
	body:has(.hightime-navigation) .wp-site-blocks {
		padding-right: 12em
	}
}


/* ============================================================================================
	 hightime SVGS
============================================================================================ */

.hightime-icon svg {
	display: inline-block;
	vertical-align: -.125em;
	font-size: inherit;
}


/* ============================================================================================
	 DESTROY FLOAT
============================================================================================ */

.is-layout-constrained > .alignright {
	float: none;
	margin-left: auto
}
.is-layout-constrained > .alignleft {
	float: none;
	margin-right: auto
}


/* ============================================================================================
		HTML in ARTICLE
============================================================================================ */
.keyboard {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	height: 37px;
	margin: 5px;
	padding: 0 15px;
	border-radius: 4px;
	box-shadow: 0 0 25px hsl(0, 0%, 91%) inset, 0 1px 0 hsl(0, 0%, 76%), 0 2px 0;
	border-top: 1px solid hsl(0, 0%, 96%);
	background: hsl(220, 10%, 95%);
	color: hsl(0, 0%, 42%);
	font: bold 14px arial;
	text-shadow: 0 1px 0 hsl(0, 0%, 96%)
}
.prettyprint {
	display: inline-block;
	margin-bottom: px;
	padding: .1em 1em;
	vertical-align: middle;
	border-radius: 4px;
	background: rgb(20, 20, 20);
	color: rgb(250, 250, 250);
	font-size: 13px;
	font-family: Menlo, consolas, Courier;
	text-align: left
}
.precode2 {
	color: rgb(151, 244, 93)
}


/* ============================================================================================
	 ENTRY CONTENT
============================================================================================ */
.post-entry-content p {
	margin: 1.6em auto !important;
	line-height: 1.9
}

.reservation-tel a {
	color: currentColor;
	text-decoration: none
}


/* ============================================================================================
	 LATEST POSTS ALIGNMENT ADJUST
============================================================================================ */

.hightime-loop-latest-posts-grid-list-centered-text {
	text-align: center
}

.hightime-search-results-content:not(:has(.hightime-search-results)) {
	display: none
}

:root :where(.is-layout-constrained) > p {    margin-block-start: 1.6rem;
	margin-block-end: 1.6em
}

.taxonomy-category.terms-with-icon.wp-block-post-terms a svg,
.taxonomy-post_tag.terms-with-icon.wp-block-post-terms a svg {
	display: inline-block;
	margin-right: .4em;
	vertical-align: -.125em;
	font-size: inherit
}


/* ============================================================================================
	 ICON
============================================================================================ */
@media screen and (max-width: 600px) {
	html #wpadminbar {
		display: none !important
	}
}
.wp-block-navigation__responsive-container-content {
	display: block !important
}


/* ============================================================================================
	TRANSLATION
============================================================================================ */
.translation-show {
	display: none
}
.translated-ltr .translation-hidden {
	display: none
}
.translated-ltr .translation-show {
	display: block
}

.hightime-room-type-main p {
	margin: 1.9em 0
}


/* ============================================================================================
	BUTTON COMMON DESIGN(SHINE)
============================================================================================ */
@keyframes flash{100%{left: 120%}}
.shine-btn .wp-block-button__link {
	display: block;
    position: relative;
    overflow: hidden
}
.shine-btn .wp-block-button__link::before {
    content: "";
	position: absolute;
    top: 0;
    left: -60%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
    transform: skewX(-25deg);
    transition: .5s;
}
.shine-btn .wp-block-button__link:hover::before {
    animation: flash .75s
}

/* ============================================================================================
	CONTACT FORM
============================================================================================ */

.wpcf7-form {
	max-width: 800px;
	margin: 0 auto;
	font-size: var(--wp--preset--font-size--x-small)
}
.wpcf7-form label {
	display: block
}
.wpcf7-form input,
.wpcf7-form select,
.wpcf7-form textarea {
	display: block;
	width: 100%;
	padding: .8em .5em;
	outline: none;
	box-shadow: none;
	border-radius: 0;
	border: 1px solid var(--wp--preset--color--border);
	font-size: 16px
}
.wpcf7-form textarea {
	min-height: 100px;
	resize: vertical
}
.wpcf7-form select {
	font-size: var(--wp--preset--font-size--x-small)
}
.wpcf7-form input:focus {
	border-color: var(--wp--preset--color--contrast)
}
.wpcf7-form select,
.wpcf7-form-control-wrap .wpcf7-validates-as-date {
	width: 50%;
	max-width: 400px
}
.wpcf7-form .wpcf7-submit {
	width: 100%;
	height: 3.3em;
	margin: 2em 0 0 auto;
    padding: 1em 1.5em;
    font-size: var(--wp--preset--font-size--x-small);
    background: var(--wp--preset--color--accent);
    border-radius: 2px;
	border: 0;
	cursor: pointer
}
.wpcf7-form > p:last-of-type {
	width: 14em;
	position: relative;
	z-index: 1;
	margin-left: auto
}
.wpcf7-form > p:last-of-type::before {
	opacity: 0;
	content: "";
	position: absolute;
	top: -6px;
	left: -6px;
	z-index: -1;
	width: calc(14em + 12px);
	height: calc(3.3em + 12px);
	margin: auto;
	border: 4px solid var(--wp--preset--color--accent);
	transform: scale(0);
	transform-origin: center center;
	transition: transform .3s, opacity .3s
}
.wpcf7-form > p:last-of-type:hover::before {
	opacity: 1;
	transform: scale(1)
}

/* message */
.wpcf7 form.sent .wpcf7-response-output {
    padding: 1em;
	border-color: rgb(96, 126, 43);
    background: rgb(214, 230, 215)
}
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    padding: 1em;
	border-color: rgb(244, 67, 53); /* Red */
	background: rgb(255, 235, 238)
}

.wpcf7 form.spam .wpcf7-response-output {
    padding: 1em;
	border-color: rgb(255, 167, 38); /* Orange */
	background: rgb(255, 243, 224)
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    padding: 1em;
	border-color: rgb(253, 216, 53); /* Yellow */
	background: rgb(255, 253, 231)
}

.hightime-cancel-tel a {
	text-decoration: none
}
.post-entry-content p.hightime-contact-form-tel {
	margin-top: 0 !important
}
.hightime-contact-form-tel a {
	text-decoration: none
}


/* ============================================================================================
	COMMON
============================================================================================ */

/* hightime-ripple button effect */
.hightime-ripple a {
	position: relative;
	z-index: 1
}
.hightime-ripple a::before {
	opacity: 0;
	content: "";
	position: absolute;
	top: -6px;
	left: -6px;
	z-index: -1;
	width: calc(100% + 12px);
	height: calc(100% + 12px);
	margin: auto;
	border: 4px solid var(--wp--preset--color--accent);
	transform: scale(0);
	transform-origin: center center;
	transition: transform .3s, opacity .3s
}
.hightime-ripple-blue a::before {
	border-color: var(--wp--preset--color--accent-2);
}
.hightime-ripple a:hover::before {
	opacity: 1;
	transform: scale(1)
}

.hightime-spacer-with-bg {
	position: relative;
	z-index: 1;
	background: var(--wp--preset--color--base)
}

/* hightime fade in up animation */
.hightime-fade-in-up {
	opacity: 0;
	transform: translateY(50px)
}
.observe_is_active.hightime-fade-in-up {
	animation: fadeInUp .4s forwards;
}

/* common animation */
@keyframes reveal{0%{transform:scaleX(1)}100%{transform:scaleX(0)}}
@keyframes fadeInUp{0%{opacity:0;transform:translateY(50px)}100%{opacity:1;transform:translateY(0)}}
@keyframes scaleIn{from{opacity:0;transform:scale(10)}to{opacity:1;transform:scale(1)}}

/* smash balloon fix */
.sbi_item p:has(.sbi_photo) {
	position: absolute;
	top: 0;
	width: 100%;
	font-size: 0
}
.sbi_feedtheme_header_text h3 {
	color: var(--wp--preset--color--contrast) !important
}
