/* header */

.header {
	background: transparent;
	color: #fff;
	left: 0;
	position: fixed;
	top: 0;
	transition: 0.3s;
	width: 100%;
	z-index: 100;
}

.header.--main {
	background: #fff;
	color: #333333;
}

.header.--main .header__contact {
	border: min(calc(1 / 1440 * 100vw), 1px) solid #333333;
}

.header.--main .header__icon span {
	background: #333333;
}

.header.--main path {
	stroke: #333333;
}

.header__wrap {
	padding: min(calc(28 / 1440 * 100vw), 28px) min(calc(60 / 1440 * 100vw), 60px);
	transition: 0.5s;
}

.header__inner {
	align-items: center;
	display: flex;
	justify-content: space-between;
	position: relative;
}

.header__name {
	font-size: min(calc(26 / 1440 * 100vw), 26px);
}

.header__items {
	align-items: center;
	display: flex;
	gap: min(calc(31 / 1440 * 100vw), 31px);
}

.header__text {
	font-size: min(calc(15 / 1440 * 100vw), 15px);
	letter-spacing: 0.01em;
	transition: 0.3s;
}

.header__sns {
	display: flex;
	gap: min(calc(10 / 1440 * 100vw), 10px);
}

.header__sns-icon {
	display: block;
	width: min(calc(38 / 1440 * 100vw), 38px);
}

.header__contact {
	align-items: center;
	border: min(calc(1 / 1440 * 100vw), 1px) solid #fff;
	display: flex;
	gap: min(calc(10 / 1440 * 100vw), 10px);
	padding: min(calc(7 / 1440 * 100vw), 7px) min(calc(33 / 1440 * 100vw), 33px);
	transition: 0.5s;
}

.header__contact:hover {
	background: #333333;
	border: min(calc(1 / 1440 * 100vw), 1px) solid #333333;
	color: #fff;
}

.header__contact:hover path {
	stroke: #fff !important;
}

.header__contact-icon {
	width: min(calc(22 / 1440 * 100vw), 22px);
}

.header__contact-icon path {
	transition: 0.5s;
}

.header__contact-text {
	font-size: min(calc(15 / 1440 * 100vw), 15px);
	transition: 0.5s;
}

/* footer */

.footer {
	background: #f2f2ea;
	padding-block: min(calc(49 / 1440 * 100vw), 49px) 0;
}

.footer__inner {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: min(calc(24 / 1440 * 100vw), 24px);
}

.footer__title {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: min(calc(10 / 1440 * 100vw), 10px);
	line-height: 1;
}

.footer__title-name {
	font-size: min(calc(30 / 1440 * 100vw), 30px);
}

.footer__title-en {
	font-family: "Amiri", serif;
	font-size: min(calc(18 / 1440 * 100vw), 18px);
	letter-spacing: 0.05em;
}

.footer__content {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: min(calc(30 / 1440 * 100vw), 30px);
}

.footer__text {
	font-size: min(calc(16 / 1440 * 100vw), 16px);
	line-height: 1.625;
	text-align: center;
}

.footer__nav-items {
	align-items: center;
	display: flex;
	gap: min(calc(43 / 1440 * 100vw), 43px);
}

.footer__sns-items {
	align-items: center;
	display: flex;
	gap: min(calc(20 / 1440 * 100vw), 20px);
}

.footer__sns-link {
	display: block;
	width: min(calc(38 / 1440 * 100vw), 38px);
}

.footer__bottom {
	background: #8b8b8b;
	display: flex;
	justify-content: center;
	margin-top: min(calc(60 / 1440 * 100vw), 60px);
	padding-block: min(calc(12 / 1440 * 100vw), 12px) min(calc(16 / 1440 * 100vw), 16px);
}

.footer__copy {
	color: #fff;
	font-size: min(calc(14 / 1440 * 100vw), 14px);
}

@media screen and (max-width: 768px) {

.header__wrap {
	padding: calc(10 / 375 * 100vw);
}

.header__name {
	font-size: calc(20 / 375 * 100vw);
}

.header__nav {
	background: #fff;
	height: 100dvh;
	position: absolute;
	right: calc(-10 / 375 * 100vw);
	top: calc(-10 / 375 * 100vw);
	transform: translateX(100%);
	transition: 0.6s;
	z-index: -1;
}

.header__nav.--open {
	transform: translateX(0);
}

.header__items {
	flex-direction: column;
	gap: calc(30 / 375 * 100vw);
	margin-top: calc(100 / 375 * 100vw);
	padding-inline: calc(30 / 375 * 100vw);
}

.header__text {
	color: #333333;
	font-size: calc(15 / 375 * 100vw);
}

.header__sns {
	gap: calc(10 / 375 * 100vw);
}

.header__sns-icon {
	width: calc(38 / 375 * 100vw);
}

.header__contact {
	border: calc(1 / 375 * 100vw) solid #333333;
	gap: calc(10 / 375 * 100vw);
	padding: calc(7 / 375 * 100vw) calc(10 / 375 * 100vw);
}

.header__contact:hover {
	border: calc(1 / 375 * 100vw) solid #333333;
}

.header__contact:hover .header__contact-text {
	color: #fff !important;
}

.header__contact-icon {
	width: calc(22 / 375 * 100vw);
}

.header__contact-icon path {
	stroke: #333333 !important;
}

.header__contact-text {
	color: #333333;
	font-size: calc(15 / 375 * 100vw);
}

.header__icon {
	cursor: pointer;
	display: block;
	height: calc(20 / 375 * 100vw);
	position: relative;
	width: calc(40 / 375 * 100vw);
}

.header__icon span {
	background: #fff;
	height: calc(1 / 375 * 100vw);
	left: 50%;
	position: absolute;
	transform: translateX(-50%);
	transition: 0.6s;
	transition: 0.3s ease;
	width: 100%;
}

.header__icon span:nth-child(1) {
	top: 0;
}

.header__icon span:nth-child(2) {
	top: 50%;
	transform: translate(-50%, -50%);
}

.header__icon span:nth-child(3) {
	bottom: 0;
}

.header__icon.--open span {
	background: #333333;
}

.header__icon.--open span:nth-child(1) {
	top: 50%;
	transform: translate(-50%, -50%) rotate(45deg);
}

.header__icon.--open span:nth-child(2) {
	opacity: 0;
}

.header__icon.--open span:nth-child(3) {
	bottom: auto;
	top: 50%;
	transform: translate(-50%, -50%) rotate(-45deg);
}

.footer {
	padding-block: calc(49 / 375 * 100vw) 0;
}

.footer__inner {
	gap: 24px;
}

.footer__title {
	gap: 5px;
}

.footer__title-name {
	font-size: 30px;
}

.footer__title-en {
	font-size: 14px;
}

.footer__content {
	gap: 20px;
}

.footer__text {
	font-size: 14px;
}

.footer__nav-items {
	flex-direction: column;
	gap: 5px;
}

.footer__sns-items {
	gap: 10px;
}

.footer__sns-link {
	width: 38px;
}

.footer__bottom {
	margin-top: 60px;
	padding-block: 12px 16px;
}

.footer__copy {
	font-size: 14px;
}

}

