/*
Theme Name: SAKI CORPORATION Theme
Description: SAKI CORPORATION Theme is designed to take advantage of the new design tools introduced in WordPress 6.1. With a clean, blank base as a starting point, this default theme includes ten diverse style variations created by members of the WordPress community. Whether you want to build a complex or incredibly simple website, you can do it quickly and intuitively through the bundled styles or dive into creation and full customization yourself.
Requires at least: 1.0
Tested up to: 6.2
Requires PHP: 5.6
Version: 1.1
Text Domain: saki-corporation
Tags: one-column
 */
.wp--custom--item{
	width:50%;
}
@media screen and (max-width: 600px) {
	#wpadminbar {
		position: fixed;
	}
}

/* common */
@media screen and (min-width: 1024px) {
	html, body {
		overflow-x: hidden;
		overflow-x: clip;
	}
}
body {
	min-width: 1024px;
	max-width: var(--wp--style--global--wide-size);
	margin: 0 auto;
}
img {
	display: block;
	max-width: 100%;
}
.wrapper {
	max-width: var(--wp--style--global--content-size);
	box-sizing: content-box;
	padding-right: 20px;
	padding-left: 20px;
	margin: 0 auto;
}
.block-link-list .wp-block-buttons {
	height: 0;
	margin-top: 0;
}
.flex{
	display: flex;
}
@media screen and (min-width: 782px) {
	.sp-only-br > br {
		display: none;
	}
}
#footer #to-top {
	display: block;
	width: 70px;
	height: 70px;
	border-radius: 50%;
	background: #EDEEF2;
	box-shadow: var(--theme--shadow--block);
	position: fixed;
	right: 24px;
	bottom: 80px;
	box-sizing: border-box;
	padding-top: 34px;
	text-align: center;
	font-weight: bold;
	color: var(--theme-color-first);
	z-index: 10;
}
#footer #to-top:hover {
	text-decoration: none;
	box-shadow: var(--theme--shadow--block-hover);
}
#footer #to-top::after {
	content: '';
	display: block;
	width: 18px;
	height: 18px;
	border-top: solid 4px var(--theme-color-red);
	border-left: solid 4px var(--theme-color-red);
	transform: translateX(-50%) rotate(45deg);
	position: absolute;
	left: 50%;
	top: 18px;
	border-radius: 2px;
}

/* header */
#header {
	position: relative;
	top: 0;
	padding: 0;
	z-index: 99998;
	background: #fff;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
	margin: 0 calc(50% - 50vw);
}
.top-template #header {
	position: sticky;
}
.top-template #wpadminbar + #header {
	top: 32px;
}
@media screen and (max-width: 1024px) {
	#header {
		margin: 0 auto;
	}
}
#header .wrapper {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	position: relative;
}
#site-logo {
	box-sizing: border-box;
	padding: 12px 0;
	width: 144px;
}
#site-logo > a {
	display: block;
}
#toc {
	display: flex;
	align-items: center;
	gap: 60px;
}
#toc > nav > ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 10px;
	font-size: 14px;
	font-weight: 500;
}
#toc > nav > ul > li {
	position: relative;
}
#toc > nav > ul > li > :where(a, span) {
	display: flex;
	align-items: center;
	height: 56px;
	box-sizing: border-box;
	position: relative;
	padding: 0 20px;
	font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
	color: #000;
}
@media screen and (max-width: 1200px) {
	#toc > nav > ul > li > :where(a, span) {
		padding: 0 10px;
	}
}
#toc > nav > ul > li > :where(a, span):hover {
	text-decoration: none;
}
#toc > nav > ul > li:hover::after {
	content: '';
	display: block;
	width: 100%;
	height: 4px;
	background: var(--theme-color-first);
	position: absolute;
	bottom: 0;
	left: 0;
}
#toc span,
#toc a {
	text-decoration: none;
}
#toc a:hover {
	text-decoration: underline;
}
#toc .has-submenu > span::after {
	content: '';
	display: block;
	width: 4px;
	height: 4px;
	border: solid 1px transparent;
	border-right: solid 1px #000;
	border-bottom: solid 1px #000;
	transform: translateY(-25%) rotate(45deg);
	margin-left: 4px;
}
#toc .has-submenu > :where(div, ul) {
	display: none;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	background: #fff;
	list-style: none;
	min-width: 100%;
	padding: 20px 60px;
	margin: 0;
	border: 1px solid rgba(0,0,0,.15);
	font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
}
#toc .has-submenu:hover > :where(div, ul) {
	display: block;
	box-shadow: inset 0 3px 6px -3px rgba(0, 0, 0, 0.16);
}

#toc .has-submenu:hover > ul > li {
	width: max-content;
}
#toc .has-submenu:hover > ul{
	display: grid;
	gap: 20px 40px;
}
#toc #company-pages > ul,
#toc #product-pages > ul {
	grid-auto-flow: column;
}

#nav-search p {
	margin-top: 0;
}

.nav-label {
	/*font-family: 'Oswald', sans-serif;*/
	font-size: 16px;
	font-weight: bold;
}

#toc #language.has-submenu > ul :where(a, span) {
	padding-left: 20px;
}
#toc #language.has-submenu > ul span {
	background: url("assets/images/checkbox_checked.svg") left center/16px no-repeat;
}

.icon-nav {
	display: flex;
	align-items: center;
	gap: 4px;
}
.icon-nav::before {
	content: '';
	width: 13px;
	height: 13px;
}
#toc .icon-exit:before {
	background: url("assets/images/icon_exit.svg") center/contain no-repeat;
}
#toc .icon-glass:before {
	background: url("assets/images/icon_glass.svg") center/contain no-repeat;
}
#toc a.button {
	font-size: 14px;
	font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
}
#hamburger,
#header label {
	display: none;
}


/* footer */
#footer {
	position: relative;
	margin: 100px calc(50% - 50vw) 0;
	background-color: #F0F0F0;
	padding: 18px;
	font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
	font-weight: normal;
}
@media screen and (max-width: 1024px) {
	#footer {
		margin-right: auto;
		margin-left: auto;
	}
}
#footer {
	border-top: solid 3px var(--theme-color-first);
}
body:where(.top-template, .page-product) #footer {
	border-top: none;
}
body:where(.top-template, .page-product) #footer::before {
	content: '';
	width: 300px;
	height: 100px;
	position: absolute;
	top: -99px;
	left: calc(50vw - 600px);
	background: linear-gradient(to right top, var(--theme-color-secondary) 0%, var(--theme-color-secondary) 49.8%, transparent 50.2%, transparent 100%);
}
@media screen and (max-width: 1240px) {
	body:where(.top-template, .page-product) #footer::before {
		left: 20px;
	}
}
#footer > .wrapper {
	box-sizing: border-box;
	position: relative;
}
#footer .block-shadow-inset{
	padding:20px;
}
#footer .block-shadow-inset > div {
	display: grid;
	grid-template-columns: auto auto auto auto;
	/* grid-template-rows: 1fr 1fr; */
	background-color: #F4F4F4;
	padding:20px;
	grid-gap: 20px;
	grid-template-areas:
		"area1 area2 area3 area4"
		"area5 area2 area3 area4";
}
#footer .block-shadow-inset > div div:nth-child(1) {
	grid-area: area1;
}
#footer .block-shadow-inset > div div:nth-child(2) {
	grid-area: area5;
}
#footer .block-shadow-inset > div div:nth-child(3) {
	grid-area: area2;
}
#footer .block-shadow-inset > div div:nth-child(4) {
	grid-area: area3;
}
#footer .block-shadow-inset > div div:nth-child(5) {
	grid-area: area4;
}

#footer p {
	margin-top: 0;
	margin-bottom: 10px;
}
#footer ul {
	padding: 0;
	margin-bottom: 0;
	margin-top: 0;
}
#footer li {
	/*padding-left: 1em;*/
	list-style: none;
	margin-top: 16px;
	line-height: 1.2;
}
#footer li:first-child {
	margin-top: 0;
}
#footer a {
	text-decoration: none;
	cursor:pointer;
	font-size: 14px;
}

#footer p>a {
	font-weight: 600;
}

#footer a:hover {
	text-decoration: underline;
}

#footer #footer-policies {
	margin-top: 16px;
}

#footer .flex {
	gap: 20px;
}

#footer #footer-sns {
	display: flex;
	gap: 40px;
	align-items: center;
	background: none;
	padding: 0;
	position: absolute;
	top: calc(100% + 12px);
	right: 30px;
}
#footer-sns a:hover {
	opacity: 0.7;
}
#footer #copyright {
	text-align: center;
	margin: 30px 0 0;
	font-size: 14px;
}

/* top */
.top__feature-link-container .wp-block-buttons {
	height: 0;
	margin: 0;
}

/* product */
#main .product-list .wp-block-buttons {
	height: 0;
}

/* product-detail */
#main .common-tab-switch-wrapper header ul {
	display: none;
}
.page-under-product #main .slick-arrow {
	text-indent: -9999px;
	padding: 0;
	border: none;
	position: absolute;
	top: 36%;
	transform: translateY(-50%);
	width: 50px;
	height: 50px;
	border-radius: 50px;
	background: #EDEEF2;
	box-shadow: var(--theme--shadow--block);
	cursor: pointer;
	z-index: 100;
}
@media screen and (max-width: 782px) {
.page-under-product #main .slick-arrow {
	width: 30px;
	height: 30px;
}
}
.page-under-product #main .slick-next {
	right: 0;
}
.page-under-product #main .slick-prev {
	left: 0;
}
@media screen and (max-width: 1180px) {
	.page-under-product #main .slick-next {
		right: calc(50% - 50vw + 20px);
	}
	.page-under-product #main .slick-prev {
		left: calc(50% - 50vw + 20px);
	}
}
@media screen and (max-width: 1024px) {
	.page-under-product #main .slick-next {
		/* right: calc(50% - 512px + 20px); */
	}
	.page-under-product #main .slick-prev {
		/* left: calc(50% - 512px + 20px); */
	}
}
.page-under-product #main .slick-arrow::after {
	content: '';
	display: block;
	width: 12px;
	height: 12px;
	border-right: solid 4px var(--theme-color-red);
	border-bottom: solid 4px var(--theme-color-red);
	border-radius: 2px;
	transform: translate(-50%, -50%) rotate(-45deg);
	position: absolute;
	top: 50%;
	left: calc(50% - 3px)
}
@media screen and (max-width: 782px) {
.page-under-product #main .slick-arrow::after {
    width: 8px;
    height: 8px;
    border-right: solid 3px var(--theme-color-red);
    border-bottom: solid 3px var(--theme-color-red);
}
}
.page-under-product #main .slick-prev::after {
	transform: translate(-50%, -50%) rotate(-225deg);
	left: calc(50% + 3px)
}
.page-under-product #main .slick-dots {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
}
#main .product-detail-feature {
	cursor: pointer;
}
#main .product-detail-feature-content {
	padding-left: 144px;
	display: none;
}

@media screen and (min-width: 782px) {
#main .product-detail-feature-content.pc-open{
	display: block;
}
}
#main .product-detail-slick {
	width: calc(954 / 1160 * 100vw);
	min-width: 858px;
	max-width: 954px;
	margin: 0 auto 100px;
	padding: 0 0 50px;
	position: relative;
}
#main .product-detail-slick .slick-list {
	padding: 0  0 10px;
}
#main .product-detail-slick .slick-track {
	display: flex;
	margin: 0 25px;
}
#main .product-detail-slick .slick-slide {
	flex-basis: calc(268 / 1160 * 100vw);
	box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2),-3px -3px 8px #ffffff;
	width: calc(268 / 1160 * 100vw);
	min-width: 236px;
	max-width: 268px;
	padding: 16px 12px;
	margin: 0 25px 10px;
	position: relative;
	height: auto;
	border-radius: 10px;
}
#main .product-detail-nav-container {
	width: 100%;
	padding: 0 20px;
	position: sticky;
	bottom: 10px;
	z-index: 100;
	min-width: 1024px;
}

#main .slick .slick-dots button {
	background: #BEBEBE;
	box-shadow: inset 1px 2px 2px rgba(0, 0, 0, 0.66);
	margin: 0 10px;
	width: 14px;
	height: 14px;
	padding: 0;
	border: none;
	text-indent: -9999px;
	border-radius: 14px;
	opacity: 0.2;
}
#main .slick .slick-active button {
	background: var(--theme-color-red);
	box-shadow: none;
	opacity: 1;
}
#main .slick .wp-block-buttons {
	height: 0;
	margin: 0;
}
#main .product-image-slick-for {
	flex-basis: calc(268 / 1160 * 100vw);
	box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2),-3px -3px 8px #ffffff;
	width: calc(100vw);
	min-width: 236px;
	max-width: calc(1160px - 180px);
	padding: 16px 12px;
	margin: 0 90px;
	position: relative;
	height: auto;
	border-radius: 10px;
}
#main .product-image-slick {
	padding-bottom: 50px;
	margin-bottom: 40px;
}

@media screen and (max-width: 781px) {
#main .product-image-slick .slick-slide {
    margin: 0 10px;
}
}

#main .product-image-slick-for .block-link {
	display: flex;
    flex-flow: column;
}

#main .product-image-slick-for figure img {
	width: 360px;
}

#main .product-image-slick-navi .slick-slide {
	box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2),-3px -3px 8px #ffffff;
	padding: 16px 12px;
	margin: 0 25px 10px;
	position: relative;
	height: auto;
	border-radius: 10px;
}
#main .product-image-slick-navi .slick-slide.slick-current{
	border: 3px solid var(--theme-color-red);

}
.page-under-product #footer {
	margin-top: 10px;
}

/* tab */
#main .tab-content:nth-of-type(n+2) {
	display: none;
}

/* toggle content */
.toggle-container:not(.toggle-sp-only) .toggle-content {
	display: none;
}

/* archive */
.archive-template #main .mv-narrow .wp-block-cover {
	align-items: center;
	background-position: 50%;
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	overflow: hidden;
	overflow: clip;
	position: relative;
	min-height: 202px;
	aspect-ratio: 1366 / 202;
	max-width: none;
	padding: 0;
}
@media screen and (max-width: 1366px) {
	.archive-template #main .mv-narrow .wp-block-cover {
		max-width: 100%;
	}
}
.archive-template #main .mv-narrow .wp-block-cover::after {
	display: block;
	font-size: 0;
	min-height: inherit;
}
.archive-template #main .mv-narrow img {
	border: none;
	box-shadow: none;
	height: 100%;
	margin: 0;
	max-height: none;
	max-width: none;
	object-fit: cover;
	outline: none;
	padding: 0;
	position: absolute;
	right: 0;
	top: 0;
	width: auto;
	left: auto;
	right: 0;
	aspect-ratio: 1153 / 202;
	position: absolute;
}
.archive-template .wp-block-cover .wp-block-cover__inner-container {
	color: inherit;
	width: 100%;
	z-index: 1;
}
.archive-template #main .top__event {
	background: none;
	padding: 0;
}
.nav-archive {
	display: flex;
	justify-content: space-between;
	gap: 40px;
	align-items: center;
}
.nav-archive ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	gap: 30px;
	flex-shrink: 0;
}
.nav-archive ul li:not(:first-child) {
	list-style: disc;
}
#main .nav-archive ul a {
	display: block;
	padding: 6px 0;
	width: 100%;
	font-size: 18px;
	font-weight: normal;
	box-sizing: border-box;
	text-decoration: none;
}
#main .nav-archive ul a::after {
	top: 50%;
	transform: translateY(-50%) rotate(45deg);
}
#main .nav-archive ul a.active {

	pointer-events: none;
	cursor: default;
	font-weight: bold;
	text-decoration: underline;
}
#main .nav-archive ul a.active::after {
	border-color: #fff;
}
.year-list-container {
	display: block;
	padding: 0;
	box-sizing: border-box;
	flex-basis: 300px;
	position: relative;
}
.year-list-container::before {
	content: '';
	width: 10px;
	height: 10px;
	border-top: solid 2px #000;
	border-right: solid 2px #000;
	position: absolute;
	right: 20px;
	top: calc(50% - 10px);
	z-index: 100;
	transform: rotate(135deg);
}

#year-list {
	display: block;
	padding: 6px 12px;
	font-size: 14px;
	color: #000;
	box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
	transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
	height: 50px;
	border-radius: 5px !important;
	box-sizing: border-box;
	width: 100%;
	outline: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	cursor: pointer;
	border: 1px solid #ccc;
	position: relative;
	padding-right: 70px;
}
#main .news-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
#main .news-list > li {
	margin-top: 24px;
}
#main .news-list > li:nth-child(n + 13) {
	display: none;
}
#main .posts-more a {
	display: inline-block;
	box-sizing: border-box;
	margin: 40px 0;
}
#main .event-list > li:nth-child(n+4) {
	display: none;
}
#main .event-item:nth-child(n + 5) {
	display: none;
}
#main .top__event .wp-block-buttons{
/*	display: none;*/
}

/* pdf donwload */
.pdf-category {
	margin-top: 50px;
	border-bottom: solid 2px #D7D7D7;
}
.pdf-category > header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	cursor: pointer;
	padding: 0 20px 20px 0;
}
#main .pdf-category > header > h2 {
	margin: 0;
}
.pdf-category .icon-toggle,
.pdf-category .icon-toggle::before {
	position: relative;
	width: 40px;
	height: 40px;
	background: #F2F3F6;
	border-radius: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.4s linear;
	transform: rotate(0);
}
.pdf-category .icon-toggle {
	position: relative;
}
.pdf-category .icon-toggle::before {
	content: '';
	box-shadow: var(--theme--shadow--block);
	position: absolute;
	left: 0;
	top: 0;
}
.pdf-category .icon-toggle::after {
	content: '';
	display: block;
	width: 12px;
	height: 12px;
	border-right: solid 3px var(--theme-color-red);
	border-bottom: solid 3px var(--theme-color-red);
	border-radius: 2px;
	transform: translateY(-3px) rotate(45deg);
}
.pdf-category .open .icon-toggle {
	transform: rotate(180deg);
}
.pdf-category .open .icon-toggle::before {
	transform: rotate(-180deg);
}
.pdf-category > div > section {
	padding: 30px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.pdf-category > div > section:nth-child(even) {
	background: var(--theme-color-lightgray)
}
.pdf-category h3 {
	font-size: 18px;
	margin: 0;
}
.pdf-category p {
	margin: 20px 0 0;
}
.pdf-category .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 18px 12px;
	max-width: 420px;
	flex-shrink: 0;
	justify-content: flex-end;
}
#main .pdf-category .wp-block-button a.wp-block-button__link {
	display: block;
	min-width: 124px;
	padding: 2px 35px 2px 20px;
	padding-left: 20px;
	box-sizing: border-box;
}

/* search */
.search-form {
	display: flex;
	align-items: center;
	gap: 10px;
}
.search-form .search-input {
	height: 46px;
	border: solid 1px #CCCCCC;
	font-size: 20px;
	border-radius: 5px;
	box-shadow: inset 3px 3px 10px rgba(0, 0, 0, 0.08);
	padding: 1px 10px;
	width: 315px;
}
.search-form .search-submit {
	height: 50px;
	padding: 0 30px;
	cursor: pointer;
	display: flex;
	gap: 4px;
	justify-content: center;
	align-items: center;
	border-radius: 50px;
	font-size: 18px;
	font-weight: bold;
	color: #fff;
	background-image: url("assets/images/magnifying-glass-solid-w.svg");
	background-position: center left 30px;
	background-size: 16px;
	background-repeat: no-repeat;
	background-color: var(--theme-color-first);
	padding-left: 50px;
}
.search-form .search-submit:hover {
	color: #000;
	background-color: #fff;
	border-color: #707070;
	background-image: url("assets/images/icon_glass.svg");
}
#search > header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 40px;
	margin: 30px 0;
}
#main #search header > h1 {
	margin: 6px 0 0;
}
#search .search-form {
	flex-shrink: 0;
}
#search .search-input {
	width: 315px;
}
#search article > a {
	display: block;
	padding: 30px 20px;
	border-bottom: solid 1px #E3E3E3;
	text-decoration: none;
}
#search article:nth-of-type(even) > a {
	background: #FAFAFA;
}
#search a:hover h2 {
	text-decoration: underline;
}
#main #search h2 {
	font-size: 24px;
	margin: 0 0 20px;
}
#search time {
	display: block;
	margin-bottom: 20px;
}
#main #search article p {
	margin-bottom: 0;
	display: -webkit-box;
	text-overflow: ellipsis;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	-webkit-box-orient: vertical;
}
#search .screen-reader-text {
	display: none;
}
#search .nav-links {
	display: flex;
	justify-content: center;
	gap: 30px;
	margin-top: 40px;
}
#search .nav-links .current {
	color: var(--theme-color-first);
}
#search .nav-links a {
	text-decoration: none;
	border-bottom: solid 2px #000;
}
#search .nav-links a:where(.prev, .next) {
	display: flex;
	gap: 6px;
	align-items: center;
}
#search .nav-links a.prev::before,
#search .nav-links a.next::after {
	content: '';
	display: block;
	width: 6px;
	height: 6px;
	border-top: solid 2px #000;
	border-right: solid 2px #000;
	transform: rotate(45deg);
}
#search .nav-links a.prev::before {
	transform: rotate(-135deg);
}

/* company top */
#main .company-recruit-link > .wp-block-buttons {
	margin: 0;
}

/* technology top */
.technology-list article .technology-list-item::after {
	content: '';
	display: block;
	width: 18px;
	height: 18px;
	border-top: solid 4px var(--theme-color-red);
	border-right: solid 4px var(--theme-color-red);
	border-radius: 2px;
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%) rotate(45deg);
}
.technology-list .wp-block-buttons {
	margin: 0;
}

/* sustainability */
#main .sustainability-cover p.place {
	margin: 0;
	position: absolute;
	bottom: 16px;
	right: 50%;
	width: 100%;
	transform: translateX(50%);
	max-width: var(--wp--style--global--content-size);
}
@media screen and (max-width: 1200px) {
	#main .sustainability-cover p.place {
		right: 20px;
		transform: none;
	}
}

/**
 * SP
 */
@media screen and (min-width: 782px) {
	.sp-only {
		display: none !important;
	}
}
@media screen and (max-width: 781px) {
	/* common */
	.pc-only {
		display: none !important;
	}
	html, body {
		min-width: auto;
		max-width: 100%;
		overflow-x: hidden;
		overflow-x: clip;
	}
	#footer #to-top {
		width: 44px;
		height: 44px;
		font-size: 10px;
		padding-top: 24px;
	}
	#footer #to-top::after {
		width: 10px;
		height: 10px;
		top: 10px;
	}
	.page-under-product #footer #to-top {
		bottom: 80px;
	}

	/* header */
	.top-template #wpadminbar + #header {
		top: 46px;
	}
	#toc > nav {
		max-height: calc(100vh - 56px);
		overflow: scroll;
	}
	#toc > nav > ul > li:hover::after {
		content: none;
	}
	#toc .has-submenu > :where(div, ul) {
		position: static;
		transform: none;
		box-shadow: none;
		padding: 0;
		border: none;
	}
	#toc .has-submenu:hover > ul > li {
		width: 100%;
		margin-bottom: 0px;
	}
	#toc .has-submenu:hover > :where(div, ul),
	#toc .has-submenu:hover ul {
		display: none;
		box-shadow: none;
		border: none;
	}
	#toc > nav > ul > li > :where(a, span) {
		height: auto;
		font-size: 18px;
		padding: 16px 30px;
		align-items: flex-start;
	}
	#toc > nav > ul > li > :where(a, span)::after {
		content: '';
		display: block;
		width: 7px;
		height: 7px;
		position: absolute;
		top: 50%;
		right: 34px;
		border-right: solid 2px #000;
		border-bottom: solid 2px #000;
		transform: translateY(-50%) rotate(-45deg);
	}
	#toc > nav > ul > li.has-submenu > :where(a.toggle-button, span)::before,
	#toc > nav > ul > li.has-submenu > :where(a.toggle-button, span)::after {
		content: '';
		display: block;
		width: 12px;
		height: 2px;
		background: #000000;
		position: absolute;
		right: 30px;
		top: calc(50% - 1px);
		opacity: 1;
		transition: opacity 0.4s linear;
		border-radius: 2px;
		border: none;
		transform: none;
	}
	#toc > nav > ul > li.has-submenu > :where(a, span)::before {
		transform: rotate(90deg);
	}
	#toc > nav > ul > li.has-submenu > .open:where(a, span)::before {
		opacity: 0
	}
	#toc {
		gap: 30px;
	}
	#toc > nav {
		position: absolute;
		top: 100%;
		background: #fff;
		width: 100vw;
		left: 100%;
		transition: left 0.1s linear;
		border-bottom: solid 1px #D1D1D1;
	}
	#toc > nav > ul {
		display: block;
	}
	#toc li {
		border-top: solid 1px #D1D1D1;
	}
	#toc li a,
	#toc li span {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		padding: 4px 10px 4px 40px;
		min-height: 52px;
		font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
		font-weight: 500;
	}
	#toc #technology-pages li {
		margin-bottom: 0;
	}
	#toc :where(#technology-pages, #product-pages) li:first-child {
		font-weight: bold;
	}
	#toc #company-pages ul,
	#toc #company-pages .submenu,
	#company-pages div,
	#company-pages ul > li {
		display: block;
		width: 100%;
		padding: 0;
	}
	#company-pages ul > li {
		margin-bottom: 0;
	}
	#company-pages .submenu > div > div {
		border-top: solid 1px #D1D1D1;
	}
	#company-pages .submenu > div > div:last-child {
		margin-top: 0;
	}
	#header label {
		display: flex;
		flex-wrap: wrap;
		flex-direction: column;
		justify-content: space-between;
		width: 30px;
		height: 24px;
		position: relative;
		overflow: hidden;
		order: 2;
	}
	#header label::before,
	#header label span,
	#header label::after {
		content: '';
		display: block;
		width: 30px;
		height: 2px;
		background-color: #585858;
		transform-origin: right center;
		transition: transform 0.1s linear;
	}
	#hamburger:checked + label::before {
		transform: rotate(-45deg);
	}
	#hamburger:checked + label > span {
		transform: translateX(40px);
	}
	#hamburger:checked + label::after {
		transform: rotate(45deg);
	}
	#hamburger:checked ~ nav {
		left: 0;
	}
	#toc a.button {
		font-size: 13px;
		padding: 2px 16px;
	}
	#toc .icon-nav:before {
		content: none;
	}
	#nav-search {
		padding: 20px 30px;
	}
	#toc #nav-search .submenu {
		display: block;
	}
	#toc #language {
		border-top: none;
		padding: 12px 36px 20px;
	}
	#toc #language > span {
		display: none;
	}
	#toc #language.has-submenu > ul {
		display: grid;
		grid-template-columns: auto auto auto;
		gap: 20px 30px;
		justify-content: space-around;
	}
	#toc #language > ul > li {
		border-top: none;
		width: auto;
	}
	#toc #language > ul > li:last-child{
		margin-bottom: 0;
	} 
	#toc #language.has-submenu > ul a,
	#toc #language.has-submenu > ul span {
		padding: 0 0 0 20px;
		height: auto;
	}

	/* footer */
	#footer {
		margin-top: 30px;
		padding: 30px 10px 40px;
		background: #EBEBEB;
	}
	body:not(.has-parent) #footer::before {
		content: none;
	}
	#footer > div {
		font-size: 14px;
	}
	#footer .block-shadow-inset {
		padding: 6px;
		box-shadow: inset 2px 2px 2px rgba(0, 0, 0, 0.16), inset -1px -1px 1px #fff;
	}
	#footer .block-shadow-inset > div {
		display: block;
		padding: 0;
		border-radius: 6px;
	}
	#footer p > a,
	#footer .has-submenu p > a{
		border-top: solid 1px #fff;
		border-left: solid 1px #fff;
		border-bottom: solid 1px #CCCCCC;
	}
	#footer .has-submenu:first-child p{
		border-top: none;
	}
	#footer p>a {
		font-weight: normal;
	}
	#footer .has-submenu ul {
		display: none;
		margin-top: 0;
	}
	#footer .has-submenu ul > li {
		margin: 0;
		padding: 0;
	}
	#footer .has-submenu ul > li > a {
		border-top: solid 1px #fff;
		border-bottom: solid 1px #ccc;
		padding: 20px 20px 20px 40px;
		display: block;
		font-size: 16px;
		line-height: 1.6;
	}
	#footer :not(.has-submenu) > ul {
		margin-top: 0;
		display: grid;
		grid-template-columns: 50% 50%;
		position: relative;
		border-top: solid 1px #fff;
	}
	#footer :not(.has-submenu) > ul > li {
		margin-top: 0;
		padding: 0;
	}

	#footer :not(.has-submenu) > ul > li > a {
		display: block;
		padding: 20px 30px 20px 20px;
		border-top: solid 1px #fff;
		border-bottom: solid 1px #ccc;
		position: relative;
		border-left: solid 1px #fff;
		height: 100%;
		box-sizing: border-box;
		display: flex;
		align-items: center;
		font-size: 16px;
		line-height: 1.6;
	}
	#footer :not(.has-submenu) > ul > li:nth-child(odd) > a {
		border-right: solid 1px #ccc;
	}

	#footer :not(.has-submenu) > ul > li > a::after,
	#footer :not(.has-submenu) > p > a::after {
		content: '';
		display: block;
		width: 9px;
		height: 9px;
		position: absolute;
		top: 50%;
		right: 24px;
		border-right: solid 2px #000;
		border-bottom: solid 2px #000;
		transform: translateY(-50%) rotate(-45deg)
	}
	#footer #footer-policies {
		display: flex;
		gap: 10px 20px;
		flex-wrap: wrap;
		padding: 24px 6px;
		border: none;
		margin-top: 0;
		font-size: 14px;
	}
	#footer #footer-policies li {
		margin: 0;
		padding: 0;
	}
	#footer #footer-policies a {
		display: block;
		border: none;
		padding: 0 0 0 0;
		position: relative;
	}
	#footer #footer-policies a::after {
		content: none;
		display: block;
		width: 6px;
		height: 6px;
		position: absolute;
		top: 50%;
		left: 0;
		border-right: solid 2px #000;
		border-bottom: solid 2px #000;
		transform: translateY(-50%) rotate(-45deg);
	}
	#footer p {
		margin: 0;
	}
	#footer p > a {
		display: block;
		padding: 20px;
		position: relative;
		font-size: 16px;
	}
	#footer p > a:hover {
		text-decoration: none;
	}
	#footer .has-submenu p > a::before,
	#footer .has-submenu p > a::after {
		content: '';
		display: block;
		width: 16px;
		height: 2px;
		background: #000000;
		border-radius: 2px;
		position: absolute;
		top: calc(50% - 1px);
		right: 20px;
		opacity: 1;
		transition: opacity 0.4s linear;
	}
	#footer p > a::before {
		transform: rotate(90deg);
	}
	#footer p > a.open::before {
		opacity: 0;
	}
	#footer #footer-sns {
		position: static;
		justify-content: center;
	}
	#footer #copyright {
		margin-top: 20px;
		font-size: 12px;
	}
	@media screen and (max-width: 427px) {
		#footer br {
			display: inline;
		}
		#footer #copyright {
			font-size: 12px;
		}
	}

	/* product detail slick */
	#main .product-detail-specification-slick {
		font-size: 16px;
		margin: 0 calc(50% - 50vw);
		padding-bottom: 30px;
	}
	#main .product-detail-specification-slick .slick-slide {
		margin: 0 8px;
		opacity: 0.4;
	}
	#main .product-detail-specification-slick .slick-slide.slick-current {
		opacity: 1;
	}
	#main .product-detail-specification-slick .slick-arrow {
		width: 30px;
		height: 30px;
		z-index: 10;
	}
	#main .product-detail-specification-slick .slick-prev {
		left: 6px;
	}
	#main .product-detail-specification-slick .slick-next {
		right: 6px;
	}
	#main .product-detail-specification-slick .slick-arrow::after {
		width: 8px;
		height: 8px;
		border-width: 3px;
	}
	#main .product-detail-specification-slick .slick-disabled {
		display: none !important;
	}
	#main .product-detail-specification-slick .slick-dots {
		gap: 30px;
	}
	#main .product-detail-specification-slick .slick-dots button {
		margin: 0;
		padding: 0;
		background: none;
		border: none;
		border-radius: 0;
		outline: none;
		-webkit-appearance: none;
		-moz-appearance: none;
		appearance: none;
		position: relative;
		display: block;
		width: 20px;
		height: 20px;
		text-indent: -99999px;
		font-size: 18px;
	}
	#main .gx-series .product-detail-specification-slick .slick-dots button {
		width: 100px;
		height: 0;
		font-size: 16px;
	}
	#main .product-detail-specification-slick .slick-dots button::after {
		content: 'L';
		display: flex;
		align-items: center;
		justify-content: center;
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: #fff;
		text-indent: 0;
	}
	#main .product-detail-specification-slick .slick-active button::after {
		color: var(--theme-color-red);
		border-bottom: solid 2px var(--theme-color-red);
	}
	#main .gx-series .product-detail-specification-slick .slick-active button::after {
	color: var(--theme-color-red);
	border-bottom: none;
	}
	#main .product-detail-specification-slick .slick-dots li:first-child button::after {
		content: 'M';
	}
	#main .product-detail-specification-slick .slick-dots li:last-child button::after {
		content: 'XL';
	}
	#main .gx-series .product-detail-specification-slick .slick-dots li:first-child button::after {
		content: '3Si-LS3GX';
	}
	#main .gx-series .product-detail-specification-slick .slick-dots li:last-child button::after {
		content: '3Di-LS3GX';
	}	#main .product-detail-specification-slick.single-slide {
		justify-content: center;
	}
	#main .product-detail-specification-slick.single-slide :where(.slick-list, .slick-track) {
		width: 100% !important;
	}
	#main .product-detail-specification-slick.single-slide .slick-dots li button::after {
		content: none;
	}
	#main .product-detail-specification-slick.specification-2d-aoi li:first-child button {
		width: 5em;
	}
	#main .product-detail-specification-slick.specification-2d-aoi li:last-child button {
		width: 2em;
	}
	#main .product-detail-specification-slick.specification-2d-aoi li:first-child button::after {
		content: "インライン";
	}
	#main .product-detail-specification-slick.specification-2d-aoi li:last-child button::after {
		content: "卓上";
	}
	#main .product-detail-specification-slick.specification-2d-aoi.en li:first-child button {
		width:42px;
	}
	#main .product-detail-specification-slick.specification-2d-aoi.en li:last-child button {
		width: 76px;
	}
	#main .product-detail-specification-slick.specification-2d-aoi.en li:first-child button::after {
		content: "Inline";
	}
	#main .product-detail-specification-slick.specification-2d-aoi.en li:last-child button::after {
		content: "Benchtop";
	}
	#main .product-detail-specification-slick.specification-3d-ct-axi li:first-child button::after {
		content: "M110V3";
	}
	#main .product-detail-specification-slick.specification-3d-ct-axi li:last-child button::after {
		content: "M110V4";
	}
	#main .product-detail-specification-slick.specification-3d-ct-axi li:first-child button {
		width:70px;
	}
	#main .product-detail-specification-slick.specification-3d-ct-axi li:last-child button {
		width: 70px;
	}		#main .product-detail-slick {
		width: auto;
		margin: 0 calc(50% - 50vw) 50px;
		padding: 0 0 50px;
		max-width: none;
		min-width: 1px;
	}
	#main .product-detail-slick .slick-track {
		margin: 0;
	}
	#main .product-detail-slick .slick-slide {
		margin: 0 8px 10px;
		width: calc(100vw - 40px);
		flex-basis: calc(100vw - 40px);
		max-width: 400px;
	}
	#main .product-detail-slick .slick-arrow {
		display: none !important;
	}
	#main .product-detail-slick :where(figure, img) {
		width: 100%;
		height: auto;
	}
	#main .product-detail-nav-container {
		padding: 0 4px;
		bottom: 10px;
		min-width: auto;
	}

	/* toggle content */
	.toggle-container .toggle-content {
		display: none;
	}

	/* pdf donwload */
	#main .pdf-category > header > h2 {
		margin: 0;
	}
	.pdf-category .icon-toggle,
	.pdf-category .icon-toggle::before {
		width: 30px;
		height: 30px;
	}
	.pdf-category .icon-toggle::after {
		width: 8px;
		height: 8px;
		transform: translateY(-1px) rotate(45deg);
	}
	.pdf-category > div {
		margin: 0 calc(50% - 50vw);
	}
	.pdf-category > div > section {
		padding: 20px;
		flex-direction: column;
		gap: 20px;
		align-items: flex-start;
	}
	.pdf-category .wp-block-buttons {
		display: flex;
		flex-wrap: wrap;
		gap: 20px 0;
		max-width: none;
		justify-content: space-around;
		width: 100%;
	}
	.pdf-category .wp-block-buttons::after {
		content: '';
		width: 46%;
	}
	#main .pdf-category .wp-block-button {
		width: 46%;
	}
	#main .pdf-category .wp-block-button a.wp-block-button__link {
		width: 100%;
	}

	/* archive */
	.archive-template #main .mv-narrow .wp-block-cover {
		aspect-ratio: 428 / 172;
		min-height: auto;
		max-width: 100%;
	}
	.archive-template #main .mv-narrow img {
		left: 0;
		top: 0;
		width: 100%;
	}
	.archive-template .wp-block-cover .wp-block-cover__inner-container {
		color: inherit;
		width: 100%;
		z-index: 1;
	}
	.archive-template #main .top__event {
		padding-bottom: 0;
	}
	.nav-archive {
		flex-direction: column;
		gap: 20px;
		align-items: start;
	}
	.nav-archive ul {
		gap: 30px;
	}
	.nav-archive ul li {
		max-width: 400px;
		margin: 0 auto;
	}
	#main .nav-archive ul a {
		font-size: 14px;
		padding: 3px 0;
	}
	.year-list-container {
		flex-basis: auto;
		width:300px;
	}
	#year-list {
		
		width: 100%;
		max-width: 400px;
	}
	#main .posts-more a {
		margin: 20px 0;
	}

	/* search */
	#search > header {
		flex-direction: column;
		gap: 36px;
		margin: 30px 0 20px;
	}
	#main #search header > h1 {
		margin: 0;
		order: 2;
	}
	#search .search-form {
		width: 100%;
	}
	.search-form .search-submit {
		font-size: 15px;
		padding-right: 26px;
		padding-left: 46px;
		background-position: center left 26px;
	}
	.search-form .search-input {
		width: 100%;
	}
	#search article > a {
		padding: 20px;
	}
	#main #search h2 {
		font-size: 20px;
	}
	#search time,
	#main #search article p {
		font-size: 16px;
	}
	#main #search article p {
		-webkit-line-clamp: 5;
		line-clamp: 5;
	}

	/* technology top */
	.technology-list article .technology-list-item::after {
		width: 10px;
		height: 10px;
		border-width: 3px;
	}

	/* sustainability */
	#main .sustainability-cover p.place {
		bottom: 6px;
		font-size: 12px;
	}
}

