@charset "utf-8";

/* ----------------------------------------------
    reset
---------------------------------------------- */
*, ::before, ::after {
	box-sizing: border-box;
	border-style: solid;
	border-width: 0;
}
html {
	line-height: 1.15;
	/*-webkit-text-size-adjust: 100%;
	-webkit-tap-highlight-color: transparent;*/
}
body {
	margin: 0;
}
main {
	display: block;
}
p, table, blockquote, address, pre, iframe, form, figure, dl {
	margin: 0;
} 
h1, h2, h3, h4, h5, h6 {
	font-size: inherit;
	font-weight: inherit;
	margin: 0;
}
ul, ol {
	margin: 0;
	padding: 0;
	list-style: none;
}
dd {
	margin-left: 0;
}
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
	border-top-width: 1px;
	margin: 0;
	clear: both;
	color: inherit;
}
pre {
	font-family: monospace, monospace;
	font-size: inherit;
}
address {
	font-style: inherit;
}
a {
	background-color: transparent;
	text-decoration: none;
	color: inherit;
}
abbr[title] {
	text-decoration: underline dotted;
}
b, strong {
	font-weight: bolder;
}
code, kbd, samp {
	font-family: monospace, monospace;
	font-size: inherit;
}
small {
	font-size: 80%;
}
sub, sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sub {
	bottom: -0.25em;
}
sup {
	top: -0.5em;
}
svg, img, embed, object, iframe {
	vertical-align: bottom;
}
button, input, optgroup, select, textarea {
	-webkit-appearance: none;
	appearance: none;
	vertical-align: middle;
	color: inherit;
	font: inherit;
	background: transparent;
	padding: 0;
	margin: 0;
	border-radius: 0;
	text-align: inherit;
	text-transform: inherit;
}
button, [type="button"], [type="reset"], [type="submit"] {
	cursor: pointer;
}
button:disabled, [type="button"]:disabled, [type="reset"]:disabled, [type="submit"]:disabled {
	cursor: default;
}
:-moz-focusring {
	outline: auto;
}
select:disabled {
	opacity: inherit;
}
option {
	padding: 0;
}
fieldset {
	margin: 0;
	padding: 0;
	min-width: 0;
}
legend {
	padding: 0;
}
progress {
	vertical-align: baseline;
}
textarea {
	overflow: auto;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}
[type="search"] {
	outline-offset: -2px;
}
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}
[type="number"] {
	/*-moz-appearance: textfield;*/
}
label[for] {
	cursor: pointer;
}
details {
	display: block;
}
summary {
	display: list-item;
}
[contenteditable]:focus {
	outline: auto;
}
table {
	border-color: inherit;
	border-collapse: collapse;
}
caption {
	text-align: left;
}
td, th {
	vertical-align: top;
	padding: 0;
}
th {
	text-align: left;
	font-weight: normal;
}

/* ----------------------------------------------
    common
---------------------------------------------- */
:root {
	--color-Black: #221815;
	--color-Gray:  #cbd5d6;
	--color-Red:   #db0e0e;
	--font-Sans:   "Noto Sans JP", sans-serif;
	--font-Serif:  "Noto Serif JP", serif;
}
html {
	font-size: 62.5%;
    scroll-behavior: smooth;
    touch-action: manipulation;
}
body {
	color: var(--color-Black);
	font: 400 1.8rem / 2.5 var(--font-Sans);
	font-feature-settings: "path";
}
svg, img, embed, object, iframe {
	max-width: 100%;
	height: auto;
}
i {
    display: block;
}
#wrap {
	width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
@media (hover: hover) {
	a {
		transition: opacity ease .3s;
	}
	a:hover {
		opacity: .6;
	}
}
@media screen and (max-width: 768px) {
	body {
		font-size: 1.4rem;
	}
	#wrap {
        padding: 60px 0 0;
    }
}

/* ----------------------------------------------
    header
---------------------------------------------- */
#header header {
    width: 100%;
}
#header header .inner {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#header header .inner .logo a {
    display: flex;
    gap: 1em;
    align-items: center;
}
#header header .inner .logo i {
    display: flex;
}
#header header .inner .logo span {
    font-size: 3.4rem;
    font-family: var(--font-Serif);
    letter-spacing: .3em;
}
#header header .inner .gnav nav ul {
    display: flex;
    gap: 1em 3em;
}
#header header .inner .hamburger {
    display: none;
}
@media screen and (min-width: 769px) {
	#header header .inner .gnav nav ul li a {
	    position: relative;
	}
	#header header .inner .gnav nav ul li a::after {
	    content: "";
	    width: 0;
	    height: 1px;
	    background: var(--color-Black);
	    position: absolute;
	    left: 50%;
	    bottom: -.3em;
	    transform: translateX(-50%);
	    transition: width ease .3s;
	}
	#header header .inner .gnav nav ul li a:hover {
		opacity: 1;
	}
	#header header .inner .gnav nav ul li a:hover::after {
	    width: 100%;
	}
}
@media screen and (max-width: 768px) {
	#header header {
		background: rgb(255 255 255 / .85);
	    position: fixed;
	    top: 0;
	    left: 0;
	    z-index: calc(infinity);
	}
	#header header .inner  {
	    height: 60px;
		padding: 0 5%;
	    display: flex;
	    gap: 1em;
	    align-items: center;
	    justify-content: space-between;
	}
	#header header .inner .logo {
	    font-size: 2.4rem;
	}
	#header header .inner .hamburger {
	    width: 25px;
	    height: 60px;
	    border: none;
	    cursor: pointer;
	    display: flex;
        gap: 5px;
	    flex-shrink: 0;
        align-items: center;
	    flex-direction: column;
        justify-content: center;
	}
	#header header .inner .hamburger .bar {
	    width: 25px;
	    height: 2px;
	    background: var(--color-Black);
	    border-radius: 100vmax;
	    display: block;
	    transition: transform 0.3s ease, opacity 0.3s ease;
	}
	#header header .inner .gnav {
	    width: 100%;
	    height: calc(100dvh - 60px);
	    padding: 2em 5%;
        color: #fff;
	    background: rgb(34 24 21 / 85%);
        backdrop-filter: blur(.2em);
	    position: fixed;
	    top: 60px;
	    left: 0;
	    transform: translateX(-100vw);
	    transition: transform 0.3s ease, opacity 0.3s ease;
	}
	#header header .inner .hamburger.open .bar:nth-child(1) {
	    transform: rotate(45deg) translate(5px, 5px);
	}
	#header header .inner .hamburger.open .bar:nth-child(2) {
	    opacity: 0;
	}
	#header header .inner .hamburger.open .bar:nth-child(3) {
	    transform: rotate(-45deg) translate(5px, -5px);
	}
	#header header .inner .gnav.open {
	    transform: translateX(0);
	}
	#header header .inner .gnav nav ul {
	    flex-direction: column;
	}
	#header header .inner .gnav nav ul li a {
	    padding: 0 0 .5em;
	    border-bottom: 1px solid;
	    display: block;
	}
}

/* ----------------------------------------------
    main
---------------------------------------------- */
.mb1 {
	margin-bottom: 1em;
}
.mb2 {
	margin-bottom: 2em;
}
.mb3 {
	margin-bottom: 3em;
}
.pt3 {
	padding-top: 3em;
}
.pb3 {
	padding-bottom: 3em;
}
/* ------------------------------------------- */
.img img {
    border-radius: 1em;
    overflow: hidden;
}
.topimg {
	position: relative;
	opacity: 1;
    transform: translateY(0);
}
.topimg::after {
    content: "";
    width: 100%;
    height: 100%;
    background: #fff;
    position: absolute;
    top: 0;
    right: 0;
    transition: width ease-out .3s .4s;
}
.topimg.active::after {
    width: 0;
}
.topimg img {
	width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
}
/* ------------------------------------------- */
.btn01 a {
    width: fit-content;
    padding: 0 2em;
    background: var(--color-Gray);
    border-radius: .3em;
    display: block;
    transition: color ease .3s, background ease .3s;
}
@media screen and (min-width: 769px) {
	.btn01 a:hover {
		color: #fff;
	    background: var(--color-Black);
	    opacity: 1;
	}
}
/* ------------------------------------------- */
.fade {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity ease-out .3s,
			    transform ease-out .3s;
}
.fade.active {
    opacity: 1;
    transform: translateY(0);
}
/* ------------------------------------------- */
.flex {
    display: flex;
    gap: 2em 4em;
}
.flex > .title {
	flex-shrink: 0;
}
.flex > .title h2 {
    padding: 0 .5em 0 0;
    font-size: 4.8rem;
    font-family: var(--font-Serif);
    line-height: 1;
    letter-spacing: .2em;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    position: relative;
}
.flex > .title h2::after {
    content: "";
    width: 3px;
    height: 0;
    background: var(--color-Black);
    position: absolute;
    top: 0;
    right: 0;
    transition: height ease .3s .3s;
}
.flex > .title.active h2::after {
    height: 100%;
}
.flex > .inner {
    width: 100%;
}
.flex .text {
    transition-delay: .6s;
}
.flex > .img {
    width: 100%;
    max-width: 400px;
    display: grid;
    gap: 2em;
    flex-shrink: 0;
    transition-delay: .6s;
}
@media screen and (max-width: 768px) {
	.flex {
	    gap: 2em 1em;
	}
	.flex:has(> .img) {
	    flex-direction: column;
	}
	.flex > .title {
		width: 3em;
	    position: relative;
	}
	.flex > .title h2 {
		padding: 0 .5em 0 0;
	    font-size: 2.2rem;
	    line-height: 1;
	}
	.flex > .img {
	    gap: 1em;
	}
}
/* ------------------------------------------- */
.map .text {
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
}
.map .text h2 {
    padding: 0 1.5em;
    border: 1px solid;
}
.map iframe {
    width: 100%;
    aspect-ratio: 2.5 / 1;
}
@media screen and (max-width: 768px) {
	.map .text {
	    flex-direction: column;
	    align-items: flex-start;
	}
	.map iframe {
	    aspect-ratio: 1;
	}
}
/* ------------------------------------------- */
@media screen and (min-width: 769px) {
	.desk-hidden {
		display: none;
	}
}
@media screen and (max-width: 768px) {
	.mobile-hidden {
		display: none;
	}
}

/* ----------------------------------------------
    home
---------------------------------------------- */
#home .sec01 .inner {
    position: relative;
	opacity: 1;
    transform: translateY(0);
}
#home .sec01 .inner::after {
    content: "";
    width: 100%;
    height: 100%;
    background: #fff;
    position: absolute;
    top: 0;
    right: 0;
    transition: width ease-out .4s .6s;
    z-index: 10;
}
#home .sec01 .inner.active::after {
    width: 0;
}
#home .sec01 .inner .text {
    width: 100%;
    height: 100%;
    color: #fff;
    font-family: var(--font-Serif);
    text-shadow: 0 0 .5em var(--color-Black);
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity ease-out .3s 1.5s;
}
#home .sec01 .inner.active .text {
    opacity: 1;
}
#home .sec01 .inner .text .text01 {
    font-size: 3.0rem;
    white-space: pre;
    letter-spacing: .3em;
    position: absolute;
    top: 50%;
    right: 1em;
    transform: translateY(-50%);
}
#home .sec01 .inner .text .text02 {
    font-size: 8.0rem;
    line-height: 1;
    white-space: pre;
    letter-spacing: .3em;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#home .sec01 .inner .text .text02 {
    font-size: 8.0rem;
    line-height: 1;
    letter-spacing: .3em;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#home .sec01 .inner .img img {
    aspect-ratio: 5 / 3;
    object-fit: cover;
    object-position: top;
}
@media screen and (max-width: 768px) {
	#home .sec01 .inner .text .text01 {
	    font-size: 1.6rem;
	    line-height: 1.4;
	}
	#home .sec01 .inner .text .text02 {
	    font-size: 4.0rem;
	}
	#home .sec01 .inner .img img {
	    aspect-ratio: 1 / 1.2;
	}
}

/* ----------------------------------------------
    history
---------------------------------------------- */
#history .sec01 .inner .text01 {
    font-size: 2.4rem;
    line-height: 2.3;
}
#history .sec01 .inner .text01 span {
    font-size: 1.6rem;
}
#history .sec01 .inner .award h3 {
	width: fit-content;
    padding: 0 1.5em;
    border: 1px solid;
}
#history .sec01 .inner .award dl div {
    display: flex;
}
#history .sec01 .inner .award dl div dt {
    width: 100px;
}
#history .sec01 .inner .award dl div dd:nth-of-type(1) {
    width: 100px;
}
@media screen and (max-width: 768px) {
	#history .sec01 .inner .text01 {
	    font-size: 1.6rem;
	}
	#history .sec01 .inner .text01 span {
	    font-size: 1.2rem;
	}
	#history .sec01 .inner .award dl div {
	    flex-wrap: wrap;
	}
	#history .sec01 .inner .award dl div dt {
        width: 100%;
    }
	#history .sec01 .inner .award dl div dt:not(:empty) {
        margin: .5em 0;
        padding: 0 .5em;
        background: #eaf0f1;
    }
	#history .sec01 .inner .award dl div dd:nth-of-type(1) {
	    width: 70px;
	}
	#history .sec01 .inner .award dl div dd:nth-of-type(2) {
	    width: calc(100% - 70px);
	}
}

/* ----------------------------------------------
    products
---------------------------------------------- */
#products .sec01 .inner h3 {
    padding: 0 1.5em;
    border: 1px solid;
}
#products .sec01 .inner ul {
    display: grid;
    gap: .5em 1em;
    grid-template-columns: repeat(3, 1fr);
}
@media screen and (max-width: 768px) {
	#products .sec01 .inner ul {
	    grid-template-columns: repeat(2, 1fr);
	}
}

/* ----------------------------------------------
    recruit
---------------------------------------------- */
#recruit .sec01 .inner dl {
    display: grid;
    gap: 1em;
}
#recruit .sec01 .inner dl div {
    display: flex;
    gap: 1em;
    align-items: baseline;
}
#recruit .sec01 .inner dl div dt {
    width: 120px;
    padding: 0;
    border: 1px solid;
    text-align: center;
    flex-shrink: 0;
}
@media screen and (max-width: 768px) {
	#recruit .sec01 .inner dl div {
	    gap: 0;
	    flex-direction: column;
	}
}

/* ----------------------------------------------
    contact
---------------------------------------------- */
#contact .sec01 .inner form dl dt {
    display: flex;
    gap: .5em;
    align-items: center;
}
#contact .sec01 .inner form dl dt .required {
    width: 40px;
    height: 20px;
    color: #fff;
    background: var(--color-Red);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
#contact .sec01 .inner form dl dd {
	display: flex;
    gap: 1em 0;
    flex-direction: column;
}
#contact .sec01 .inner form input,
#contact .sec01 .inner form textarea {
    width: 100%;
    height: 50px;
    padding: .5em 1em;
    background: #fff;
    border: 1px solid;
    cursor: pointer;
}
#contact .sec01 .inner form textarea {
    min-height: 300px;
}
#contact .sec01 .inner form input:focus-visible,
#contact .sec01 .inner form select:focus-visible,
#contact .sec01 .inner form textarea:focus-visible {
    outline: none;
    border: 1px solid;
}
#contact .sec01 .inner form .check {
    display: flex;
    gap: 0 1em;
    flex-wrap: wrap;
    align-items: center;
}
#contact .sec01 .inner form .check li input[type="checkbox"] {
	display: none;
}
#contact .sec01 .inner form .check li label {
	display: flex;
	gap: 0 .5em;
    align-items: center;
	cursor: pointer;
}
#contact .sec01 .inner form .check li label span {
    width: 25px;
    height: 25px;
    background: #fff;
    border: 1px solid;
    flex-shrink: 0;
    position: relative;
    transition: border 0.2s linear;
    -webkit-transition: border 0.2s linear;
	transition: background 0.2s linear;
	-webkit-transition: background 0.2s linear;
}
#contact .sec01 .inner form .check li label span::before {
    content: "";
    width: 8px;
    height: 12px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    position: absolute;
	top: 50%;
    left: 30%;
    z-index: 1;
    transform: rotate(45deg) translate(-50%, -50%);
    -ms-transform: rotate(45deg) translate(-50%, -50%);
    -webkit-transform: rotate(45deg) translate(-50%, -50%);
    transition: opacity 0.2s linear;
    -webkit-transition: opacity 0.2s linear;
    opacity: 0;
}
#contact .sec01 .inner form .check li input:checked + label span {
	background: var(--color-Black);
}
#contact .sec01 .inner form .check li input:checked + label span::before {
	opacity: 1.0;
}
#contact .sec01 .inner form .submit ul {
    display: flex;
    gap: 0 2em;
    align-items: center;
    justify-content: center;
}
#contact .sec01 .inner form .submit ul li {
    width: 48%;
    max-width: 280px;
}
#contact .sec01 .inner form .submit ul li input {
    width: 100%;
    height: 60px;
    text-align: center;
    line-height: 1;
    display: grid;
    place-items: center;
}
#contact .sec01 .inner form .submit ul li input.prev {
    background: #eee;
    border: 1px solid #eee;
}
#contact .sec01 .inner form .submit ul li input.next,
#contact .sec01 .inner form .submit ul li input.send {
	color: #fff;
    background: #333;
    border: 1px solid #333;
}
@media (hover: hover) {
	#contact .sec01 .inner form .submit ul li input {
		transition: opacity ease .3s;
	}
	#contact .sec01 .inner form .submit ul li input:hover {
		opacity: .6;
	}
}
@media (max-width: 740px) {
	#contact .sec01 .inner form input,
	#contact .sec01 .inner form select,
	#contact .sec01 .inner form textarea {
	    height: 40px;
	}
	#contact .sec01 .inner form .address dl dt {
	    width: 100px;
	    margin: 0;
	}
	#contact .sec01 .inner form .address dl dd {
	    width: calc(100% - 100px);
	}
	#contact .sec01 .inner form .address dl dd .zip .search {
	    width: 50px;
	    height: 40px;
	}
	#contact .sec01 .inner form .check li label span {
	    width: 20px;
	    height: 20px;
	}
	#contact .sec01 .inner form .check li label span::before {
	    width: 6px;
	    height: 10px;
    }
    #contact .sec01 .inner form textarea {
	    min-height: 220px;
	}
	#contact .sec01 .inner form .submit ul {
	    gap: 1em 0;
	    flex-direction: column;
	}
	#contact .sec01 .inner form .submit ul li {
	    width: 80%;
	}
}
/* ------------------------------------------- */
#contact .sec02 .inner ol {
    list-style: auto;
    list-style-position: inside;
}
@media screen and (max-width: 768px) {
}

/* ----------------------------------------------
    footer
---------------------------------------------- */
#footer footer {
    padding: 2em 0;
}
#footer footer .inner .copy {
    font-size: 1.4rem;
    text-align: center;
    letter-spacing: .1em;
}
@media screen and (max-width: 768px) {
	#footer footer .inner .copy {
	    font-size: 1.2rem;
	}
}
