@charset "utf-8";



@import url("theme.css");
@import url("inview.css");



@keyframes animation1 {
	0% {right: -200px;}
	100% {right: 0px;}
}



@keyframes opa1 {
	0% {opacity: 0;}
	100% {opacity: 1;}
}



body * {box-sizing: border-box;}
html {
	font-size: clamp(12px, 0.585vw + 9.80px, 18px);	
	overflow-x: visible;
}
body {
	margin: 0;padding:0;
	font-family: var(--base-font);	
	-webkit-text-size-adjust: none;
	background: var(--bg-color);	
	color: var(--bg-inverse-color);	
	line-height: 2;		
	overflow-x: hidden;
}


figure {margin: 0;}
dd {margin: 0;}
nav,ul,li,ol {margin: 0;padding: 0;}
nav ul {list-style: none;}


table {border-collapse:collapse;}


img {border: none;max-width: 100%;height: auto;vertical-align: middle;}


video {max-width: 100%;}


iframe {width: 100%;}


input {font-size: 1rem;}



section {
	padding: 0 var(--content-space-l);	
	margin: var(--content-space-l) 0;	
}



a {
	color: inherit;
	transition: 0.3s;	
}


a:hover {
	filter: brightness(1.1);	
	text-decoration: none;
}



#container {
	animation: opa1 0.2s 0.2s both;  
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}




header {
    display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 2rem;
	height: 100px;	
	padding-inline: var(--content-space-s);	
}


header .logo {margin: 0;flex-shrink: 0;}
header .logo img {
	display: block;
	width: 200px;	
}




.large-screen #menubar {
	font-weight: 500;	
	font-size: 0.9rem;	
}
.large-screen #menubar > nav > ul {
	display: flex;
	align-items: center;
	gap: 1.5rem;	
}


.large-screen #menubar li a {
	display: block;text-decoration: none;
}




.large-screen #menubar ul ul {
	text-shadow: none;
	position: absolute;z-index: 100;
	animation: opa1 0.5s 0.1s both;	
}


.large-screen #menubar ul ul a {
	background: var(--bg-color);	
	color: var(--bg-inverse-color);	
	padding: 0.2rem 1rem;	
	border-radius: 5px;		
	margin-top: 5px;		
	border: 1px solid #999;	
}




.small-screen #menubar {
	animation: animation1 0.2s both;
	position: fixed;overflow: auto;z-index: 100;
	right: 0px;top: 0px;
	width: 50%;	
	height: 100%;
	padding: 100px var(--content-space-l) 50px;	
	background: var(--primary-color);		
	color: var(--primary-inverse-color);	
}

.small-screen #menubar {display: none;}

	
	@media (max-width:700px) {

	.small-screen #menubar {
		width: 100%;	
	}

	}



.small-screen #menubar a {
	display: block;text-decoration: none;
	margin-bottom: 1rem;	
	padding: 1rem 2rem;		
	border-radius: 5px;		
	background: #fff;		
	color: #333;			
}


.small-screen #menubar .btn a {
	font-weight: normal;
}


.small-screen #menubar ul ul a {
	margin-left: 2rem;		
	padding: 0.5rem 1.5rem;	
}


a.ddmenu::before {
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	content: "\f078";		
	margin-right: 1em;		
	font-size: 0.7em;		
	vertical-align: middle;
	display: inline-block;
	line-height: 1;
}


#menubar ul ul {display: none;}



#menubar_hdr {
	display: none; 
	animation: opa1 0s 0.2s both;
	cursor: pointer;
	position: fixed;
	z-index: 101;
	right: 0px;	
	top: 0px;	
	width: 70px;	
	height: 70px;	
	border-bottom-left-radius: 10px;	
}


#menubar_hdr span {
	display: block;
	transition: 0.3s;
	position: absolute;
	left: 18px;
	width: 35px;
	height: 2px;		
	background: var(--bg-inverse-color);	
}


#menubar_hdr.ham {
	background: #fff;	
}
#menubar_hdr.ham span {
	background: #333;	
}


#menubar_hdr span:nth-of-type(1) {
	top: 24px;
}
#menubar_hdr span:nth-of-type(2) {
	top: 34px;
}
#menubar_hdr span:nth-of-type(3) {
	top: 44px;
}
#menubar_hdr.ham span:nth-of-type(1) {
	transform: translateY(10px) rotate(-45deg);
}
#menubar_hdr.ham span:nth-of-type(2) {
	opacity: 0;
}
#menubar_hdr.ham span:nth-of-type(3) {
	transform: translateY(-10px) rotate(45deg);
}


.small-screen #menubar_hdr {
	display: flex;
}




.mainimg {
	line-height: 1.8;	
	position: relative;
}
.mainimg .slide {
	display: flex;
	align-items: center;
	gap: 5vw;
}

	
	@media (max-width:700px) {

	
	.mainimg {
		margin: 0 var(--content-space-s) 2rem;	
	}
	.mainimg .slide {
		flex-direction: column-reverse;	
	}

	}



.mainimg picture {
	display: block;
	width: 100%;
}


.mainimg .text {
	position: absolute;
	left: var(--content-space-l);	
	top: 50%;
	transform: translateY(-50%);
	width: 40%;		
}

	
	@media (max-width:700px) {

	
	.mainimg .text {
		position: static;
		transform: none;
		width: 100%;
	}

	}



.mainimg .text h2 {
	margin: 0;padding: 0;
	line-height: 1.5;	
	font-weight: 700;	
	font-size: max(1.8rem, 3.2vw);	
	margin-bottom: 1rem;	
	display: flex;
	flex-direction: column-reverse;	
}

.mainimg .text h2 span {
	color: var(--primary-color);	
	display: block;
	font-size: 0.4em;	
}


.mainimg .text p {
	font-size: 0.8rem;	
}


.mainimg .btn-container {
	display: flex;
	gap: 1rem;	
	font-size: 1.1rem;	
}



.btn a {
	display: inline-block;
	text-decoration: none;
	background: var(--primary-color);		
	color: var(--primary-inverse-color);	
	border: 1px solid var(--primary-color);	
	padding: 0.4rem 1.2rem;	
	border-radius: 3px;		
	font-weight: 500;		
}


.btn.inverse a {
	background: var(--primary-inverse-color);	
	color: var(--primary-color);				
}


.btn a i {
	margin-left: 0.5em;	
	transition: 0.3s;
}
.btn a:hover i {
	transform: translateX(3px);	
}



#contents {
	flex: 1;
	min-height: 0;
}



main {
	container-type: inline-size;
}


main h2 {
	display: flex;
	flex-direction: column-reverse;	
}

main h2 span {
	display: block;
	opacity: 0.5;		
	font-size: 0.5em;	
}


main ul,main ol {
	margin-left: 2rem;
	margin-right: 2rem;
}



#menubar-overlay {
	display: none;
	position: fixed;
	z-index: 99;	
	top: 0;left: 0;
	width: 100%;height: 100%;
	background: rgba(0,0,0,0.3);	
}


body.noscroll {
	overflow: hidden;
}



.list1 * {margin: 0;padding: 0;}


.list1 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));	
	gap: 1.5rem;		
}

	
	@media (max-width:700px) {

	
	.list1 {
		grid-template-columns: 1fr;	
	}

	}



.list1 .list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	position: relative;
	background: #fff;	
	border: 1px solid var(--bg-border-color);	
	padding: 2rem;		
	border-radius: 5px;	
}


.list1 .list .text-parts {
	flex: 1;
}


.list1 .list h4 {
	font-size: 1.1rem;	
	text-align: center;	
}


.list1 .list p {
	font-size: 0.85rem;	
}


.list1 .list i {
	display: block;
	margin: 0 auto;
	font-size: 2rem;	
	background: var(--light-color);	
	color: var(--primary-color);	
	border-radius: 50%;	
	width: 5rem;		
	line-height: 5rem;	
	text-align: center;
}


.list1 .list .btn a {
	display: block;		
	text-align: center;	
}



.flex1 * {margin: 0;padding: 0;}


.flex1 {
	display: flex;
	align-items: center;
	gap: 5vw;	
}

	
	@media (max-width:700px) {

	
	.flex1 {
		flex-direction: column;
	}

	}



.flex1 .text {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}


.flex1 .image {
	width: 50%;	
}

	
	@media (max-width:700px) {

	
	.flex1 .image {
		width: 100%;	
	}

	}



.step1 * {margin: 0;padding: 0;}


.step1 {
	margin: 0;padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));	
	gap: 1.5rem;		
}

	
	@media (max-width:700px) {

	
	.step1 {
		grid-template-columns: 1fr;	
	}

	}



.step1 li {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	position: relative;
	border: 1px solid var(--bg-border-color);	
	padding: 1rem;	
	border-radius: 5px;	
}


/* .step1 li:not(:last-child)::after {
	font-family: "Font Awesome 6 Free";
	content: "\f054";	
	font-weight: 900;
	position: absolute;
	right: -1.5rem;
	top: 50%;
	transform: translate(-50%, -50%);
	opacity: 0.5;	
	line-height: 1;
} */

	
	@media (max-width:700px) {

	/* .step1 li:not(:last-child)::after {
		top: auto;right: auto;
		bottom: -1.3rem;
		left: 50%;
		transform: translateX(-50%) rotate(90deg);
	} */

	}



.step1 i {
	display: block;
	margin: 1rem auto;
	font-size: 4rem;	
	color: var(--primary-color);	
}


.step1 h4 {
	font-size: 1.1rem;	
	text-align: center;	
}


.step1 p {
	font-size: 0.85rem;	
}

	
	@media (max-width:700px) {

	
	.step1 p {
		text-align: center;	
	}

	}



.step1 .num {
	position: absolute;
	left: -0.5rem;	
	top: -0.5rem;	
	width: 3rem;	
	line-height: 3rem;	
	text-align: center;
	background: #fff;		
	color: var(--primary-color);	
	border: 1px solid var(--primary-color);	
	border-radius: 50%;
}




.openclose {
	position: relative;
	padding: 1.2rem 3rem 1.2rem 1.2rem;	
	border-bottom: 1px solid var(--bg-border-color);	
	cursor: pointer;	
	transition: background 0.2s;	
	user-select: none;	
	font-weight: bold;	
}


.openclose:first-of-type {
	border-top: 1px solid var(--bg-border-color);
}


.openclose:hover {
	background: var(--light-color);	
}


.openclose::before {
	content: "";
	position: absolute;
	right: 1.2rem;	
	top: 50%;
	width: 14px;	
	height: 2px;	
	background: var(--primary-color);	
	transform: translateY(-50%);
	transition: transform 0.3s, background 0.3s;	
}


.openclose::after {
	content: "";
	position: absolute;
	right: calc(1.2rem + 6px);	
	top: 50%;
	width: 2px;	
	height: 14px;	
	background: var(--primary-color);	
	transform: translateY(-50%);
	transition: transform 0.3s, background 0.3s;
}


.openclose.active::before,
.openclose.active::after {
	transform: translateY(-50%) rotate(45deg);
	background: #ff0000;	
}


.openclose + dd {
	padding: 1rem 1.2rem 1.5rem;	
	border-bottom: 1px solid var(--bg-border-color);	
	font-size: 0.95rem;	
	line-height: 1.8;	
}

	
	@media (max-width:600px) {

	
	.openclose {
		padding: 1rem 2.5rem 1rem 1rem;	
	}

	
	.openclose::before {
		right: 1rem;	
		width: 12px;	
	}
	.openclose::after {
		right: calc(1rem + 5px);	
		height: 12px;	
	}

	
	.openclose + dd {
		padding: 0.8rem 1rem 1.2rem;
	}

	}



.contact * {margin: 0;padding: 0;}


.contact {
	display: flex;
	align-items: center;
	gap: 5vw;	
}

	
	@media (max-width:700px) {

	
	.contact {
		flex-direction: column;	
		text-align: center;		
	}

	}



.contact > i {
	font-size: 50px;	
	width: 100px;		
	line-height: 100px;	
	border-radius: 50%;	
	text-align: center;
	background: #fff;	
	color: var(--primary-color);	
}


.contact .text {
	flex: 1;
}



.contact-form-block {
    width: 100%;
}

.form-global-error {
    border: 1px solid #f0c2c2;
    background: #fff4f4;
    color: #9b2e2e;
}

.js-ajax-form[hidden] {
    display: none !important;
}

.form-row + .form-row {
    margin-top: 1.25rem;
}

.form-label {
    display: block;
    margin-bottom: 0.55rem;
    font-weight: 700;
    color: #1f2947;
    line-height: 1.5;
}

.required-badge {
    display: inline-block;
    margin-left: 0.45rem;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #fff;
    background: #d94c4c;
    vertical-align: middle;
}

.contact-form-inner input[type="text"],
.contact-form-inner input[type="email"],
.contact-form-inner input[type="file"],
.contact-form-inner select,
.contact-form-inner textarea {
    width: 100%;
    appearance: none;
    border: 1px solid #d6dbeb;
    border-radius: 16px;
    padding: 0.95rem 1rem;
    background: #fff;
    font: inherit;
    line-height: 1.6;
    color: #222;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    box-sizing: border-box;
}

.contact-form-inner input[type="file"] {
    padding: 0.8rem 1rem;
    cursor: pointer;
}

.contact-form-inner input[type="file"]::file-selector-button {
    margin-right: 0.9rem;
    border: none;
    border-radius: 999px;
    padding: 0.55rem 1rem;
    background: #eef2ff;
    color: #2f55d4;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.contact-form-inner textarea {
    resize: vertical;
    min-height: 12em;
}

.contact-form-inner input[type="text"]:focus,
.contact-form-inner input[type="email"]:focus,
.contact-form-inner input[type="file"]:focus,
.contact-form-inner select:focus,
.contact-form-inner textarea:focus {
    outline: none;
    border-color: #5d7bff;
    box-shadow: 0 0 0 4px rgba(93, 123, 255, 0.12);
}

.select-inline-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
}

.select-inline {
    width: 100%;
}

.check-group,
.radio-group {
    display: grid;
    gap: 0.7rem;
}

.check-item,
.radio-item,
.check-single {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    line-height: 1.6;
}

.check-item input,
.radio-item input,
.check-single input {
    margin-top: 0.3rem;
    flex-shrink: 0;
}

.form-help-text,
.form-file-reset-text {
    margin: 0.45rem 0 0;
    font-size: 0.92rem;
    line-height: 1.6;
}

.form-row.is-error input[type="text"],
.form-row.is-error input[type="email"],
.form-row.is-error input[type="file"],
.form-row.is-error select,
.form-row.is-error textarea {
    border-color: #d94c4c;
    background: #fff8f8;
}

.form-row.is-error .form-label,
.form-row.is-error .check-single,
.form-row.is-error .check-item,
.form-row.is-error .radio-item {
    color: #972f2f;
}

.form-error-text {
    margin: 0.45rem 0 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #b23838;
}

.form-actions {
    margin-top: 1.8rem;
	text-align: center;
}


.form-row.js-privacy-row .check-single {
	display: flex;
	width: fit-content;
	margin: 0 auto;
	align-items: center;
	gap: 0.5rem;
}


.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 13em;
    min-height: 56px;
    border: none;
    border-radius: 999px;
    padding: 0.85rem 2rem;
    background: linear-gradient(135deg, #2f55d4 0%, #5d7bff 100%);
    color: #fff;
    font: inherit;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 12px 24px rgba(47, 85, 212, 0.18);
}

.submit-button:hover {
    transform: translateY(-1px);
}

.submit-button:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 767px) {
    .contact-form-inner {
        border-radius: 22px;
    }

    .select-inline-group {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .js-date-select-group[data-date-mode="ymd"] .select-inline-group {
        grid-template-columns: 1fr;
    }

    .submit-button {
        width: 100%;
        min-width: 0;
    }
}


@media (min-width: 768px) {

	.h-adr input[name="postal_code"],
	.h-adr input[name="address_pref"] {
		width: min(100%, 10rem);
	}

}


.h-adr select {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 2.6rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.9rem center;
	background-size: 0.8rem auto;
	cursor: pointer;
}



dl.news * {margin: 0;padding: 0;}


dl.news dt {
	display: flex;
}


dl.news dt span {
	display: inline-block;
	line-height: 1;
	width: 6rem;	
	padding: 0.3rem 0;	
	background: var(--primary-color);	
	color: var(--primary-inverse-color);	
	text-align: center;
	transform: scale(0.8);	
	border-radius: 3px;		
}

.bg1-primary-parts dl.news dt span {
	background: var(--bg-color);	
	color: var(--bg-inverse-color);	
}


dl.news dt span.accent-color {
	background: var(--accent-color);	
	color: var(--accent-inverse-color);	
}

.bg1-accent-parts dl.news dt span.accent-color {
	background: var(--bg-color);	
	color: var(--bg-inverse-color);	
}

	
	@media (min-width: 900px){

	dl.news {
		display: grid;
		grid-template-columns: max-content minmax(0, 1fr);	
		align-items: start;
	}

	}



footer ul {list-style: none;margin: 0;padding: 0;}
footer p {margin: 0;}
footer a {text-decoration: none;}


footer {
	font-size: 0.8rem;	
    padding: var(--content-space-s);	
    background: var(--primary-color);	
    color: var(--primary-inverse-color);	
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 2rem;
}


footer .logo {
	width: 300px;
}


footer .address {
	display: flex;
	flex-direction: column;	
	gap: 1rem;	
	width: 100%;
}

footer .address .contact-title {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.03em;
}

footer .address .contact-item {
	margin: 0;
	line-height: 1.6;
	opacity: 0.95;
}

footer .address .contact-item a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

footer .address .contact-item a:hover {
	opacity: 0.8;
}

footer .address .contact-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem;
	align-items: start;
	width: 100%;
}

footer .address .contact-column {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

footer .address .company-address .contact-item {
	max-width: 32ch;
}

footer .address .company-address {
	justify-self: end;
	text-align: left;
}

@media screen and (max-width: 700px) {
	footer .address .contact-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	footer .address .company-address {
		justify-self: start;
		text-align: left;
	}
}


footer .menu {
    display: flex;
    gap: 2rem;		
    align-items: flex-start;	
	font-size: 0.9em;	
}


footer .menu .title {
	font-weight: bold;		
	margin-bottom: 0.5em;	
}


footer small {
	display: block;
	width: 100%;
	text-align: center;	
}



.sns1-parts {
	list-style: none;
	margin: 0;padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;		
}

.sns1-parts i {
	font-size: 30px;	
}



.pr a {
	text-decoration: none;display: block;
	background: rgba(0,0,0,0.5);
	color: #ccc;
	text-align: right;
	padding: 0.5rem 1rem;
	font-size: 0.8rem;
}
.pr a::before {
	font-family: "Font Awesome 6 Free";
	content: "\e2ca";
	font-weight: 900;
	margin-right: 0.5em;
}



.pagetop-show {display: block;}


.pagetop a {
	display: block;text-decoration: none;text-align: center;z-index: 99;
	animation: opa1 1s 0.4s both;
	position: fixed;	
	right: 20px;		
	bottom: 180px;		
	color: #fff;		
	font-size: 1.5rem;	
	background: rgba(0,0,0,0.2);	
	width: 60px;		
	line-height: 60px;	
	border-radius: 50%;	
}



.bg1-border-parts {
	border-top: 1px solid var(--bg-border-color);		
	border-bottom: 1px solid var(--bg-border-color);	
}


.bg1-parts {
	background: var(--bg-inverse-color);	
	color: var(--bg-color);		
}


.bg1-primary-parts {
	background: var(--primary-color);		
	color: var(--primary-inverse-color);	
}



.bg1-light-parts {
	background: var(--light-color);		
	color: var(--light-inverse-color);	
}



.bg1-accent-parts {
	background: var(--accent-color);		
	color: var(--accent-inverse-color);	
}



.bg-parts {
	padding-top: var(--content-space-l);		
	padding-bottom: var(--content-space-l);	
}


.bg-parts + .bg-parts {
	margin-top: calc(-1 * var(--content-space-l)) !important;
}



.bleed-x-parts {
	--bleed-x: var(--content-space-l);	
	width: calc(100% + (var(--bleed-x) * 2));	
	margin-left: calc(var(--bleed-x) * -1);
	margin-right: calc(var(--bleed-x) * -1);
	max-width: none;
}



.bleed-left-parts {
	width: calc(100% + var(--content-space-l));
	margin-left: calc(-1 * var(--content-space-l));
}
.bleed-right-parts {
	width: calc(100% + var(--content-space-l));
	margin-right: calc(-1 * var(--content-space-l));
}



.color-check, .color-check a {color: #ff0000 !important;}
.l {text-align: left !important;}
.c {text-align: center !important;}
.r {text-align: right !important;}
.ws {width: 100%;display: block;}
.wl {width: 100%;display: block;}
.padding-x {padding: 0 var(--content-space-l);}
.mt0 {margin-top: 0px !important;}
.mt1rem {margin-top: 1rem !important;}
.mt3rem {margin-top: 3rem !important;}
.mb0 {margin-bottom: 0px !important;}
.mb1rem {margin-bottom: 1rem !important;}
.mb3rem {margin-bottom: 3rem !important;}
.mb30 {margin-bottom: 30px !important;}
.look {display: inline-block;padding: 0px 10px;background: rgba(0,0,0,0.7);color: #fff; border-radius: 3px;margin: 5px 0; word-break: break-all;}
.small {font-size: 0.85em;}
.large {font-size: 2em; letter-spacing: 0.1em;}
.pc {display: none;}
.dn {display: none !important;}
.block {display: block !important;}
.is-clip {overflow: hidden;}


.large-screen .ws {width: 50%;}
.large-screen .sh {display: none;}
.large-screen .pc {display: block;}
