/*
Theme Name: hightime-pre
Theme URI: 
Author: Mee in the forest - 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: onyx
Domain Path: /languages
*/

*,
*::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;
	font-family: var(--wp--preset--font-family--gothic)
}

body,
html {
	min-height: 100vh
}

html {
	margin: 0 !important;
	scroll-behavior: smooth
}

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


/* ============================================================================================
   DESTROY FLOAT
============================================================================================ */
.is-layout-constrained > .alignright,
.is-layout-flow > .alignright {
	float: none;
	margin-left: auto
}
.is-layout-constrained > .alignleft,
.is-layout-flow > .alignleft {
	float: none;
	margin-right: auto
}


/* ============================================================================================
   PARAGRAPH CONTROL
============================================================================================ */
.entry-content > p {
	margin-block: 1.6em;
	line-height:1.9;
}


/* ============================================================================================
	 PRE BABBER
============================================================================================ */
.pre-banner {
	container-type: inline-size
}
.pre-banner-inner {
	flex-flow: column
}
.pre-banner-name {
	font-weight: 500;
	line-height: 1;
	font-size: 16cqw
}
.pre-banner-image {
	width: 100%
}
.pre-banner-point {
	line-height: 1
}
.open-date {
	container-type: inline-size;

	display: flex;
	align-items: center;
	justify-content: center;
	width: 20cqw;
	height: 20cqw;
	border-radius: 50%
}
.open-date p {
	font-size: 20cqw
}
.date-2nd {
	letter-spacing: .024em
}
.pre-banner-image img {
	width: 100%;
	height: 100%;
	object-fit: cover
}
.pre-banner-content {
	container-type: inline-size;
	overflow: hidden
}
.open {
	font-weight: 500;
	font-size: 22cqw
}
.address {
	position: relative;
	box-shadow: 10vw 0px 0px 0px white,
				-10vw 0px 0px 0px white;
	transform: rotate(-3deg)
}
.en-1st::before,
.en-1st::after {
	content: "";
	display: block;
	position: absolute;
	width: 60%;
	background: white
}
.en-1st::before {
	top: -10px;
	left: 0;
	height: 4px
}
.en-1st::after {
	top: -18px;
	left: 10%;
	height: 2px
}
.en-2nd::before,
.en-2nd::after {
	content: "";
	display: block;
	position: absolute;
	width: 60%;
	background: white
}
.en-2nd::before {
	bottom: -10px;
	right: 0;
	height: 4px
}
.en-2nd::after {
	bottom: -20px;
	right: 10%;
	height: 2px
}
.zero {
	font-weight: bold;
	font-size: 12cqw;
    line-height: 1;
    font-style: italic;
    text-shadow: .05em 0px 0px rgb(149, 186, 196)
}
.now {
	position: relative;
	margin-right: 1.3em !important;
	padding: .2em 1em;
	border-radius: 2px;
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base)
}
.now::before {
	content: "";
	position: absolute;
	left: calc(100% - 1px);
	bottom: 0;
	clip-path: polygon(0 75%, 0% 100%, 100% 100%);
	width: 1em;
	height: 3em;
	background: var(--wp--preset--color--contrast)
}
@media screen and (min-width: 768px) {
	.pre-banner-inner {
		flex-flow: row nowrap
	}
	.pre-banner-image {
		width: 45%
	}
	.pre-banner-content {
		flex: 1;
		min-width: 0
	}
}


/* ============================================================================================
	 PRE INTRO
============================================================================================ */
.intro p {
	margin: 1.6em 0;
	line-height: 1.9
}


/* ============================================================================================
	 FEATURED
============================================================================================ */
.featured {
	container-type: inline-size
}
.num {
	position: relative;
	z-index: 1;
	width: 2em;
	height: 2em;
	clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
	font-size: 6cqw
}
.num-wrap {
	position: relative;
}
.pre-en {
	font-size: 6cqw
}


/* ============================================================================================
	 STEP
============================================================================================ */
.register-text p {
	margin: 1em 0;
	line-height: 1.4
}


/* ============================================================================================
	 OTHERS
============================================================================================ */
.others {
	flex-flow: column
}
@media screen and (min-width: 768px) {
	.others {
		flex-flow: row nowrap
	}
	.others-content {
		width: 55%
	}
	.others-image {
		flex: 1;
		min-width: 0
	}
}
.others-tel a {
	color: currentColor;
	text-decoration: none
}


/* ============================================================================================
	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: 1em .5em;
	outline: none;
	box-shadow: none;
	border-radius: 2px;
	border: 1px solid rgb(200,200,200);
	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,
.wpcf7-form textarea:focus {
	border-color: rgb(50,50,50)
}
.wpcf7-form select,
.wpcf7-form-control-wrap .wpcf7-validates-as-date {
	width: 50%;
	max-width: 400px
}
.wpcf7-form .wpcf7-submit {
	width: 100%;
	height: 4em;
	margin: 2em 0 0 auto;
    padding: 1em 1.5em;
    font-size: var(--wp--preset--font-size--x-small);
    background: rgb(241, 168, 71);
    border-radius: 2px;
	border: 0;
	cursor: pointer;
	transition: .3s ease-in-out
}
.wpcf7-form > p:last-of-type {
	width: 14em;
	position: relative;
	z-index: 1;
	margin-left: auto
}
.wpcf7-form .wpcf7-submit:hover {
	transform: translateY(-2px)
}

/* 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)
}

.hhobar-cancel-tel a {
	text-decoration: none
}

.no-underline a {
	text-decoration: none
}
