@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Marcellus+SC&family=Noto+Sans+JP:wght@100..900&family=Zen+Kaku+Gothic+New&display=swap');

/*----------------------------------------------------
	共通
----------------------------------------------------*/
:root {
	--font-defalt: "Zen Kaku Gothic New", sans-serif;
	--font-more:  "Noto Sans JP", sans-serif;
	--font-other: "Marcellus SC", serif;
	--font-size: 62.5%;
	--line-height: 3em;
	--bg-color: #040F13;
	--font-color: #ffffff;
	--ac-color1: #231815;
	--letter: 1px;
	--background: #C9C9CA;
	--text-decoration: none;
}

* {
	margin: 0;
	padding: 0;
}

body {
	background-color: #C9C9CA;
	font-size: var(--font-size);
	font-family: var(--font-defalt);
	line-height: var(--line-height);
	color: var(--font-color);
	letter-spacing: var(--letter);
	font-weight: 400;
	scroll-behavior: smooth;
	margin: 0;
	/* overflow: hidden; */
}

h1,h2,h3,h4,h5,p {
	font-size: 1.6em;
}

h3 {
	font-family: var(--font-other);
}

a {
	text-decoration: var(--text-decoration);
}

.main-container {
	background-color: var(--bg-color);
	color: var(--font-color);
	padding-bottom: 10%;
}

.sub-container {
	background-color: var(--background);
	color: var(--ac-color1);
}


a:hover {
	opacity: 0.8;
	cursor: pointer;
}

.inner {
	width: 94%;
    margin: 10% auto;
    max-width: 1000px
}

.door-img {
	width: 50%;
	margin: 0 auto;
}

@media screen and (max-width: 639px) {
	h1,h2,h3,h4,h5,p,summary {
		font-size: 1.4em;
	}
}


/*----------------------------------------------------
	header
----------------------------------------------------*/
.header-container {
	margin: 0 2%;
}

.header-logo {
	position: fixed;
	z-index: 999;
}

.header-logo img {
	width: 50%;
	padding: 2%;
}

.header-menu {
	position: fixed;
	justify-content: right;
	z-index: 999;
	top: 0;
	right: 0;
	width: min(70%, 650px);
	display: flex;
	align-items: center;
}

.header-menu div {
	background-color: #D9D9D9;
	opacity: 0.6;
	padding: 5px;
	text-align: center;
}

.header-menu-left {
	width: 40%;
	border-right: 1px solid #a4a4a4;
	}

	.header-menu-right {
		width: 60%;
	}

.header-menu > div:nth-child(1):hover, .header-menu > div:nth-child(2):hover {
	background-color: var(--bg-color);
	color: var(--font-color);
	transition: .3s
}


@media screen and (max-width: 768px) {
	.header-menu {
		width: 80%;
		white-space: nowrap;
		line-height: 1.2;
	}

	.header-menu p {
		font-size: 1.2em;
	}

	.header-logo img {
		width: 30%;
	}
}

/*----------------------------------------------------
	メイン
----------------------------------------------------*/
/* .main-wrapper {
	z-index: -1;
} */
 
/*----------------------------------------------------
	トップ
----------------------------------------------------*/
.top-content {
	position: relative;
}

.top-content > div {
	white-space: nowrap;
}

.top-logo {
	width: 260px;
	position: absolute;
	top: 25%;
	left: 50%;
	transform: translate(-130px, -25px);
}

@media screen and (max-width: 768px) {
	.top-logo > div{
		width: 50%;
		margin: 10% auto 0;
		font-size: 1.2em;
	}

	.top-logo p {
		font-size: 1em;
    	text-align: center;
	}
}

/*----------------------------------------------------
	コンセプト
----------------------------------------------------*/
.concept-content {
	display: flex;
	justify-content: center;
	margin-top: 120px;
	gap: 10%;
}

.concept-content div:nth-child(1) {
	width: 25%;
}

.concept-content p {
	margin: 20% 0;
}

@media screen and (max-width: 768px) {
	.concept-content {
		display: block;
		margin-top: 60px;
	}

	.concept-content p {
		margin: 20% 5%;
	}

	.concept-content div:nth-child(1) {
		margin: 0 auto;
		width: 45%;
	}

	.concept-content div:nth-child(2) img {
		margin: 20% auto;
		width: 60%;
	}
}


/*----------------------------------------------------
	それぞれのストーリー
----------------------------------------------------*/
.story-content {
	margin-block: 120px;
	text-align: center;
	font-size: 1.6em;
}

.story-content ul {
	display: flex;
	justify-content: space-between;
	gap: 2%;
	margin-block: 5%;
}

/* モーダル */
 .modal-open-body {
    /* スクロールを無効にする */
    overflow: hidden; 
}

.modal_wrap input {
    display: none;
}

.modal_open-label,
.modal_close-label {
    cursor: pointer;
}

.modal_open-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60%;
    margin: 3% auto;
    padding: .2em 2em;
    border: 1px solid #a4a4a4;
    border-radius: 2px;
    font-weight: 600;
    font-size: 1em;
}

.modal_open-button:hover {
    background-color: #fff;
    color: #196092;
    outline: 1px solid #196092;
}

.modal_open-img:hover {
	opacity: .7;
}

.modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
	overscroll-behavior: contain;
}


.modal_open-input_A:checked + label + input + .modal {
    display: block;
    animation: modal-animation .6s;
}

.modal_open-input_B:checked + label + input + .modal {
    display: block;
    animation: modal-animation .6s;
}

.modal_open-input_C:checked + label + input + .modal {
    display: block;
    animation: modal-animation .6s;
}

.modal_content-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 85%;
    max-width: 100%;
    background-color: var(--bg-color);
    z-index: 2;
    border-radius: 5px;
}

.modal_close-label {
    background-color: #777;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 20px;
    width: 36px;
    height: 36px;
    line-height: 1.6;
    text-align: center;
    display: table-cell;
    position: fixed;
    top: -15px;
    right: -2%;
    z-index: 99999;
    font-size: 1.3em;
}

 .split {
	display: table;
	width: 100%;
	max-height: 90vh;
 }

 .split-item {
	display: table-cell;
 }

 .split-left {
	position: relative;
	width: 35%;
 }

 .split-left__inner {
	height: 100%;
	position: fixed;
	width: 35%;
 }

 .split-left__inner img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	object-position: left;
 }

 .split-right__inner {
	height: 90vh;
	max-height: 100%;
	overflow-y: auto;
	padding: 1.5em;
	overscroll-behavior: contain;
 }

.split p {
	text-align: left;
    font-size: 1em;
    line-height: 2.5;
	/* white-space: nowrap; */
	margin-block: 1em;
}

.modal_background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(4, 15, 19, .8);
    z-index: 1;
}

@keyframes modal-animation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@media only screen and (max-width: 520px) {
    .modal_open-label {
        max-width: 90%;
        /* padding: .94em 2.1em .94em 2.6em; */
		padding: .2em 1em;
    }

    .modal_close-label {
        top: -17px;
        right: -4%;
    }

    .modal_content-wrap {
        width: 90vw;
    }

    .split {
        /* padding: 33px 21px 35px; */
        max-width: 100%;
		height: 75svh;
    }
}

@media screen and (max-width: 768px) {
	.story-content{
		margin-block: 120px 60px;
		font-size: 1.2em;
	}
	.story-content ul li {
		width: 32%;
	}
	.modal_open-button {
		width: 75%;
		padding: 0 2em;
	}
	.split {
		display: flex;
		flex-direction: column;
	}
	.split-left {
		width: 100%;
		height: 30%;
	}
	.split-left__inner {
		position: unset;
		width: 100%;
	}
	.split-left__inner img {
		/* height: 30vh; */
	}
	.split-right {
		height: 70%;
	}
	.split-right__inner {
		padding: 1em;
		/* height: 40vh; */
	}
}

/*----------------------------------------------------
	使い方動画
----------------------------------------------------*/
.movie-btn {
	text-align: center;
	font-size: 1.6em;
}

.movie-btn h3 {
	margin-bottom: 1%;
	border-bottom: 1px solid #fff;
	font-size: 1em;
}

.movie-btn details {
	margin-top: 1%;
}

.movie-btn summary {
	/* color: var(--font-color) !important; */
	display: inline !important;
	background-color: var(--font-color);
	padding: .3em 1em !important;
	font-size: clamp(1em, 0.951em + 0.21vw, 1.2em) !important;
}

.movie-btn > .accordion summary:hover {
	opacity: .8;
}

.movie-btn video {
	margin: 3% auto;
	width: 50%;
}
@media screen and (max-width: 768px) {
	.movie-btn video {
		width: 80%;
	}
}

/*----------------------------------------------------
	商品詳細
----------------------------------------------------*/
.details-logo img {
	width: 40%;
	margin:10% auto 5%;
}

.details-content > .door-img {
	margin: 0 auto;
}

.function-img {
	width: 80%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12%;
	margin: 0 auto;
}

.door-items {
	display: flex;
	flex-direction: column;
	text-align: center;
}
.details-content h4 {
	margin-top: 10%;
}

.details-text {
	padding: 0 15% 5%;
	border-bottom: 1px solid var(--ac-color1);
} 

/* アコーディオン */
.accordion {
    max-width: 100%;
    margin: 0 auto 7px;
	padding: 1%;
}

.accordion summary {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 1em 2em;
    color: var(--ac-color1);
	font-size: 1.5em;
	gap: 1em;
}

.accordion summary::-webkit-details-marker {
    display: none;
}

.accordion summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 10px;
    height: 10px;
    margin-left: 10px;
    border-bottom: 3px solid var(--ac-color1);
    border-right: 3px solid var(--ac-color1);
    content: '';
    transition: transform .3s;
}

.accordion[open] summary::after {
    transform: rotate(225deg);
}

.accordion p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding-left: 4%;
	font-size: 1.2em;
    color: var(--ac-color1);
    /* transition: transform .5s, opacity .5s; */
}

.accordion[open] p {
    transform: none;
    opacity: 1;
}

@media screen and (max-width: 768px) {
	.details-text {
		padding: 3% 0;
	}
}


/*----------------------------------------------------
	問い合わせ
----------------------------------------------------*/
.inquiry-content {
	display: flex;
	justify-content: center;
	width: 85%;
	margin: 5% auto 2%;
	gap: 16%;
	font-size: 1.4em;
	padding: 5% 2%;
	background-color: #d6d6d6;
}

.inquiry-content > ul > li:first-child {
	font-weight: 800;
	font-size: 1.1em;
}

@media screen and (max-width: 768px) {
	.inquiry-content {
		display: block;
		padding: 1% 5%;
	}
	.inquiry-content > ul{
		margin-block: 5%;
	}
}

/*----------------------------------------------------
	会社紹介
----------------------------------------------------*/
.footer-container {
	display: flex;
	gap: 2%;
}

.footer-container > div {
	width: 35%;

}

.footer-container p {
	font-size: 1.2em;
	line-height: 2;
	margin-block: 2%;
}

.footer-container .factory-button {
	text-align: right;
}

.footer-container > div > div > a {
	border: 1px solid var(--ac-color1);
    padding: 2% 8%;
    text-align: right;
	border-radius: 20px;
}

.footer-container > div > div > a:hover {
	color: var(--font-color);
	background-color: var(--ac-color1);
}

@media screen and (max-width: 768px) {
	.footer-container {
		display: block;
	}

	.footer-container > div {
		width: 80%;
    	margin: 5% auto;
	}
}

/*----------------------------------------------------
	copyright
----------------------------------------------------*/
.copyright {
	display: flex;
	justify-content: center;
	margin: 15% auto 0;
}

.copyright img {
	width: min(25%, 150px);
    object-fit: contain;
}

/*----------------------------------------------------
	レスポンシブ
----------------------------------------------------*/

