/*
Theme Name: sigma
Theme URI: 
Author: 
Author URI: 
Description: 
Requires at least: 6.0
Tested up to: 6.4.2
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: sigma
Tags: 
*/


/*
----------------------------------------

common

----------------------------------------
*/

#wpadminbar {
	top: auto;
	bottom: 0;
}

.custom-link-control {
	border-top: 1px solid #e0e0e0;
	padding: 16px 48px 16px 16px;
}

html {
	margin-top: 0 !important;
}

body {
	line-height: 2;
	font-size: var(--wp--preset--font-size--16-px);
	font-feature-settings: 'palt';
	letter-spacing: 1px;
	min-width: 375px;
	box-sizing: border-box;
	right: 0;
	left: 0;
}

body * {
	box-sizing: border-box;
}

a {
	display: inline-block;
	transition: color .2s;
}

a img {
	transition: color .6s;
}

img {
	max-width: 100%;
	max-height: 100%;
	object-fit: cover;
}

h1, h2, h3, h4, h5, h6 {
	line-height: 1.6;
	font-weight: 600;
}

strong {
	color: var( --wp--preset--color--primary );
}

.en {
	font-family: var(--wp--preset--font-family--roboto);
}

.left {
	text-align: left;
}

.center {
	text-align: center;
}

.right {
	text-align: right;
}

.wp-block-embed {
	max-width: 100% !important;
}

.wp-block-embed__wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
}

.sp {
	display: none !important;
}

.ofi img {
	object-fit: cover;
	font-family: 'object-fit: cover;' /* ie */
}

.flex {
	display: flex;
	flex-wrap: wrap;
}

.line-clamp {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;  
	overflow: hidden;
}

/* clearfix */

.clearfix:before,
.clearfix:after {
	display: table;
	content: '';
}
.clearfix:after {
	clear: both;
}

.youtube {
	width: 800px;
	max-width: 100%;
	aspect-ratio: 16 / 9;
}
.youtube iframe {
	width: 100%;
	height: 100%;
}

.g-map {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	height: 0;
}

.g-map iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.editor-styles-wrapper .g-map {
	width: auto;
	padding-top: 0;
	height: auto;
}

.editor-styles-wrapper .g-map iframe {
	position: relative;
	height: auto;
}

.wp-block-post-content iframe {
	aspect-ratio: 16 / 9;
	max-width: 1000px;
	width: 100%;
	height: auto;
}

/* scrollbar */

/*
::-webkit-scrollbar {
	width: 5px;
	background: transparent;
}

::-webkit-scrollbar-track {
	box-shadow: none;
}

::-webkit-scrollbar-thumb {
	background-color: #ccc;
	box-shadow: none;
}
*/


@media ( max-width: 781px ) {

	.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
		flex-basis: 0 !important;
	}

}


@media ( max-width: 750px ) {

	.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
		flex-basis: 100% !important;
	}

	.sp {
		display: inline !important;
	}

	.pc {
		display: none !important;
	}

	.pc-left {
		text-align: left;
	}

	.pc-left br {
		display: none;
	}

}


/*
----------------------------------------

slick

----------------------------------------
*/

main .slick-track {
	margin: 0 auto;
}

main .slick-dots {
	bottom: -60px;
}

main .slick-dots li,
main .slick-dots li button,
main .slick-dots li button:before {
	width: 32px;
	height: 32px;
	line-height: 32px;
	margin: 0;
}

main .slick-dots li button:before {
	font-size: 8px;
	transition: all .2s;
}

main .slick-dots li.slick-active button:before {
	color: var(--wp--preset--color--primary) !important;
}

main .slick-prev,
main .slick-next {
	width: 48px;
	height: 48px;
	background: var(--wp--preset--color--primary) !important;
	z-index: 1;
}

main .slick-prev {
	left: 0;
}

main .slick-next {
	right: 0;
}

main .slick-prev:before,
main .slick-next:before {
	font-family: 'Material Symbols Outlined';
	font-size: 24px;
	line-height: 48px;
	display: inline-block;
	opacity: 1;
	transition: all .2s;
}

main .slick-prev:before {
	content: '\e5cb';
}

main .slick-next:before {
	content: '\e5cc';
}

main .slick-dotted.slick-slider {
	margin: 0 0 90px;
}


@media ( max-width: 750px ) {

	main .slick-prev,
	main .slick-next {
		width: 40px;
		height: 40px;
	}

	main .slick-prev:before,
	main .slick-next:before {
		line-height: 40px;
	}

	main .slick-dotted.slick-slider {
		margin: 0 0 70px;
	}

	main .slick-dots {
		bottom: -50px;
	}

}

@media ( min-width: 751px ) {

	main .slick-prev:hover,
	main .slick-next:hover {
		background: var(--wp--preset--color--contrast) !important;
	}

	main .slick-prev:hover:before {
		transform: translateX( -4px );
	}

	main .slick-next:hover:before {
		transform: translateX( 4px );
	}

	main .slick-dots li button:hover:before,
	main .slick-dots li button:focus:before {
		color: var(--wp--preset--color--secondary);
	}

}


/*
----------------------------------------

layout

----------------------------------------
*/

.sidebar .post {
	padding: 0 !important;
}

.sidebar .ttl {
	font-size: var(--wp--preset--font-size--16-px);
}

.thumb:has( > .default-image ) {
	border: solid 1px var(--wp--preset--color--gray);
}

.sidebar .cont > p {
	padding: 18px 0;
}

@media ( max-width: 1000px ) {

	.has-global-padding {
		padding-right: var(--wp--preset--spacing--30);
		padding-left: var(--wp--preset--spacing--30);
	}

	.has-global-padding :where(.has-global-padding:not(.wp-block-block)) {
		padding-right: 0;
		padding-left: 0;
	}

	:where(body .is-layout-flex) {
		gap: var(--wp--preset--spacing--30);
	}

	.contents-wrap {
		gap: 1.5em !important;
	}

	.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column.main-contents {
		flex-basis: calc( 100% - 1.5em - 200px ) !important;
	}

	.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column.sidebar {
		flex-basis: 200px !important;
	}

	.has-global-padding > .alignfull {
		margin-right: calc( var(--wp--preset--spacing--30) * -1 );
		margin-left: calc( var(--wp--preset--spacing--30) * -1 );
	}

}


@media ( max-width: 750px ) {

	.page-header {
		min-height: 50vw !important;
	}

	:where(body .is-layout-flow) > * {
		margin-block-start: 1.5em;
	}

}


/*
----------------------------------------

post

----------------------------------------
*/

.post {
	position: relative;
	transition: all .2s;
}

.post a {
	color: var(--wp--preset--color--contrast);
}

.thumb {
	overflow: hidden;
	line-height: .5;
	margin: 0 0 var(--wp--preset--spacing--20);
	transition: all .2s;
}

.thumb img {
	width: 100%;
	transition: all .6s;
}

.ttl {
	margin: 0;
	font-weight: normal;
	line-height: 1.5;
	transition: all .2s;
}

.meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	margin: 10px 0;
	min-height: 30px;
}

.meta .term {
	display: inline-block;
	font-size: var(--wp--preset--font-size--14-px);
	line-height: 1.5;
	padding: 5px 15px;
	color: var(--wp--preset--color--primary);
	border: solid 1px var(--wp--preset--color--primary);
	margin-left: auto;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.cat-list ul {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
	gap: 6px;
}

.cat-list li {
	line-height: .5;
}

.date {
	font-family: var(--wp--preset--font-family--roboto);
	font-size: var(--wp--preset--font-size--14-px);
	text-align: right;
	padding: 6px 0;
}

.view-more a {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	overflow: hidden;
	text-indent: -9999px;
}

.post .wp-block-read-more {
	display: flex;
	justify-content: flex-end;
	align-items: flex-end;
	margin: 0;
	padding: var(--wp--preset--spacing--50);
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	cursor: pointer;
}

.post .wp-block-read-more .btn {
	display: inline-block;
	position: relative;
	padding: .5em 2em .5em 1em;
	border-bottom: solid 2px var(--wp--preset--color--primary);
	color: var(--wp--preset--color--contrast);
}

.post .wp-block-read-more .btn::after {
	font-family: 'Material Symbols Outlined';
	content: '\e5cc';
	line-height: 20px;
	position: absolute;
	top: calc( 50% - 10px );
	right: 5px;
	color: var(--wp--preset--color--primary);
	transition: all .2s;
}

@media ( max-width: 1000px ) {

	.post {
		padding:  var(--wp--preset--spacing--30) var(--wp--preset--spacing--30) var(--wp--preset--spacing--50) !important;
	}

	.post .wp-block-read-more {
		padding:  var(--wp--preset--spacing--30) var(--wp--preset--spacing--30) var(--wp--preset--spacing--50) !important;
	}

}

@media ( max-width: 750px ) {

	#wpadminbar {
		display: none;
	}

	.meta .term {
		padding: 5px 10px;
	}

	.post .wp-block-read-more {
		justify-content: center;
	}

}


@media ( min-width: 751px ) {

	.post:hover .thumb {
		background: var(--wp--preset--color--contrast);
	}

	.post:hover .thumb img {
		transform: scale( 1.1 );
		opacity: .5;
	}

	.post:hover .ttl {
		color: var(--wp--preset--color--primary);
	}

	.post:hover .wp-block-read-more .btn::after {
		right: 0;
	}

}


/*
----------------------------------------

page

----------------------------------------
*/

.page-header {
	text-align: center;
	color: var(--wp--preset--color--base);
}

.page-header .page-ttl {
	font-size: var( --wp--preset--font-size--64-px );
	text-transform: capitalize;
	line-height: 1.5;
}

.page-header .default-image {
	display: none;
}

.tel-btn a {
	pointer-events: none;
}

@media ( max-width: 750px ) {

	.tel-btn a {
		pointer-events: auto;
	}

}

.annotation .ttl {
	display: flex;
	justify-content: center;
	align-items: center;
}

.privacy-policy {
	max-height: 24rem;
	overflow: auto;
}
