/* --------------------------------------------------------------------------------
misc
-------------------------------------------------------------------------------- */

br.small {
	display: inline;
}
br.large {
	display: none;
}
img.small {
	display: block;
}
img.large {
	display: none;
}
span.no-small {
	display: none;
}



/* --------------------------------------------------------------------------------
page
-------------------------------------------------------------------------------- */

p.catch {
	width: calc(100% - 40px);
	height: 60px;
}



/* --------------------------------------------------------------------------------
header
-------------------------------------------------------------------------------- */

header#header *#logo {
	left: 20px;
	top: 20px;
	z-index: 20;
}
body.admin-bar header#header *#logo {
	top: 30px;
}
header#header *#logo :where(img, svg) {
	width: calc(209px * 0.875);
}
header#header :where(p#button-menu, div#menu) {
	position: fixed;
}
header#header p#button-menu {
	aspect-ratio: 1;
	width: 60px;
	right: 0px;
	top: 0px;
	z-index: 30;
	cursor: pointer;
}
header#header p#button-menu i {
	position: absolute;
	width: 30px;
	height: 0px;
	left: calc(50% - 15px);
	top: calc(50% - 0.5px);
	border-bottom: 1px solid #000000;
	transition: 0.375s all ease;
}
header#header p#button-menu i:nth-child(1) {
	transform: translateY(-8px);
}
header#header p#button-menu i:nth-child(2) {
	transform: translateY(8px);
}
header#header:has(div#menu.active) p#button-menu i:nth-child(-n+3) {
	width: 0px;
	left: 50%;
	opacity: 0;
	transform: translateY(0px);
}
header#header:has(div#menu.active) p#button-menu i:nth-child(4) {
	transform: rotate(45deg);
}
header#header:has(div#menu.active) p#button-menu i:nth-child(5) {
	transform: rotate(-45deg);
}
header#header div#menu {
	width: 100%;
	height: 100%;
	right: 0px;
	top: 0px;
	overflow: auto;
	z-index: 10;
	background-color: #ecf2f0;
	transform: translateX(100%);
	transition: 0.375s transform ease;
	-webkit-overflow-scrolling: touch;
}
header#header div#menu.active {
	transform: translateX(0%);
}
header#header div#menu::-webkit-scrollbar {
	display: none;
}
header#header div#menu div.inner-menu {
	padding: 100px 30px 40px 30px;
}
header#header nav#navi {
	position: static;
	right: auto;
	top: auto;
}
body.admin-bar header#header nav#navi {
	top: auto;
}
header#header nav#navi ul {
	display: block;
}
header#header nav#navi ul li {
	text-align: center;
}
header#header nav#navi ul li:not(:last-child) {
	margin: 0px 0px 30px 0px;
}
header#header nav#navi ul li span.main {
	position: relative;
	font-family: "semplicitapro", sans-serif;
	font-size: 1.25rem;
	line-height: 1.75rem;
}
header#header nav#navi ul li span.main::before {
	display: none;
}

/* home
-------------------------------------------------------------------------------- */

body.home div:not(.cover) header#header :where(*#logo, p#button-menu) {
	transition: none;
}
body.home div:not(.cover) header#header.menu-transition :where(*#logo, p#button-menu) {
	transition: 0.375s top ease;
}
body.home div.cover header#header :where(*#logo, nav#navi) {
	position: fixed;
}
body.home div:not(.cover) header#header *#logo {
	top: 80px;
}
body.home div:has(div#menu.active) header#header *#logo {
	position: fixed;
	top: 20px;
}
body.home div:not(.main-alternate):not(:has(div#menu.active)) header#header *#logo svg :where(path, polygon, rect:not([style*="fill:none"])) {
	fill: #ffffff !important;
}
body.home div:not(.cover) header#header p#button-menu {
	position: absolute;
	top: 60px;
}
body.home div:has(div#menu.active) header#header p#button-menu {
	position: fixed;
	top: 0px;
}
body.home div:not(.main-alternate):not(:has(div#menu.active)) header#header p#button-menu i {
	border-color: #ffffff;
}
body.home div.cover header#header nav#navi {
	position: static;
}
body.home div:not(.cover) header#header nav#navi {
	top: auto;
}
body.home div:not(.main-alternate) header#header nav#navi ul li {
	color: #000000;
}



/* --------------------------------------------------------------------------------
cover
-------------------------------------------------------------------------------- */

div#cover p.catch {
	left: 20px;
}
div#cover h2 {
	width: 100%;
	left: 0px;
	top: 27.5%;
	text-align: center;
	font-size: 2rem;
	line-height: 2.75rem;
}
div#cover h2 i {
	display: inline-block;
	opacity: 0;
	transition: 1.25s opacity ease-in-out, 1.25s transform ease;
	transform: translateX(40px);
}
div#cover.active h2 i {
	opacity: 1;
	transform: translateX(0px);
}
div#cover h2 i:last-child {
	margin-right: -0.5em;
}



/* --------------------------------------------------------------------------------
title
-------------------------------------------------------------------------------- */

div#title:has(p.description) {
	margin-bottom: 80px;
}
div#title:not(:has(p.image)) {
	padding-top: 140px;
}
div#title:has(p.image) {
	padding-top: 60px;
}
div#title p.image {
	width: auto;
}
div#title div.text :where(h1, p.sub) {
	padding-left: 30px;
}
div#title div.text h1 {
	font-size: 2.75rem;
	line-height: 3.25rem;
}
div#title div.text p.sub:not(:last-child) {
	margin-bottom: 60px;
}
div#title div.text p.description {
	width: auto;
	padding: 0px 30px;
}



/* --------------------------------------------------------------------------------
main
-------------------------------------------------------------------------------- */

main section div.inner-section {
	width: auto;
	padding: 80px 30px;
}
main section header.common,
main section header.common p.sub:not(:last-child) {
	margin-bottom: 60px;
}
main section header.common h2 {
	font-size: 2.25rem;
	line-height: 3rem;
}
main div.list-category ul {
	display: none;
}
main div.list-category select {
	display: block;
	width: 100%;
	background-color: #ecf2f0;
}
main div.list-common {
	display: block;
	margin: 0px;
}
main div.list-common div.row {
	width: auto;
	margin: 0px;
}
main div.list-common div.row:not(:last-child) {
	margin-bottom: 40px;
}
main p.more-add {
	margin-top: 60px;
}
main div.related {
	margin-top: 80px;
}

/* home
-------------------------------------------------------------------------------- */

main section:where(#home-information, #home-works, #home-recruit) div.inner-section {
	padding-bottom: 0px;
}
main section#home-information div.image-01 {
	height: 390px;
	margin-bottom: 40px;
}
main section#home-information div.image-01 p.row-01 {
	width: calc(320px * 0.625);
	left: -30px;
}
main section#home-information div.image-01 p.row-02 {
	width: calc(565px * 0.625);
	right: -30px;
}
main section#home-information div.image-02 {
	height: 600px;
}
main section#home-information div.image-02 p.row-01 {
	width: calc(540px * 0.625);
	left: calc(50% - calc(calc(540px * 0.625) * 0.5));
	top: calc(50% - calc(calc(310px * 0.625) * 0.5));
}
main section#home-information div.image-02 p:where(.row-02, .row-05) {
	width: calc(375px * 0.625);
}
main section#home-information div.image-02 p.row-02 {
	left: calc(50% - 220px);
	top: calc(50% - 298px);
}
main section#home-information div.image-02 p:where(.row-03, .row-04) {
	width: calc(260px * 0.625);
}
main section#home-information div.image-02 p.row-03 {
	right: calc(50% - 220px);
	top: calc(50% - 197px);
}
main section#home-information div.image-02 p.row-04 {
	left: calc(50% - 220px);
	bottom: calc(50% - 197px);
}
main section#home-information div.image-02 p.row-05 {
	right: calc(50% - 220px);
	bottom: calc(50% - 298px);
}
main section#home-information div.list-information {
	width: auto;
	margin-bottom: 80px;
}
main section#home-information div.list-information div.row a {
	display: block;
}
main section#home-information div.list-information div.row div.misc {
	width: auto;
	margin-bottom: 10px;
}
main section#home-information div.list-information div.row h3 {
	width: auto;
}
body.admin-bar main section#home-information {
	--home-image-height: 100svh;
}
body.admin-bar main section#home-company div.background {
	height: 100svh;
}
body.admin-bar main section#home-company.top div.background {
	top: 0px;
}
main section#home-company div.list div.row:not(:last-child) {
	margin-bottom: 80px;
}
main section#home-company div.list div.row a {
	display: block;
}
main section#home-company div.list div.row div.text {
	display: block;
	width: auto;
	padding: 40px;
}
main section#home-company div.list div.row div.text h3 {
	font-size: 2rem;
	line-height: 2.75rem;
}
main section#home-company div.list div.row div.text h4 {
	font-size: 1.5rem;
}
main section#home-company div.list div.row p.image {
	width: auto;
}
main section#home-business div.block {
	display: block;
}
main section#home-business div.block:not(:last-child) {
	margin-bottom: 80px;
}
main section#home-business div.block div.text {
	width: auto;
	margin-bottom: 40px;
}
main section#home-business div.block div.text h3 {
	font-size: 1.5rem;
}
main section#home-business div.block div.list {
	width: auto;
}
main section#home-business div.block div.list div.row p.logo {
	width: 140px;
}
main section#home-business div.block div.list div:where(.row-auie, .row-etusus, .row-eugue) p.logo {
	padding-bottom: 10px;
}
main section#home-business div.block div.list div.row-auie p.logo img {
	width: 118px;
}
main section#home-business div.block div.list div:where(.row-etusus, .row-eugue, .row-yamaken) p.logo img {
	width: 131px;
}
main section:where(#home-works, #home-estate, #home-recruit) div.inner-section {
	padding-left: 0px;
	padding-right: 0px;
}
main section:where(#home-works, #home-estate) div.slide div.list div.row {
	width: 280px;
}
main section#home-recruit div.list {
	display: block;
	margin: 0px -30px;
}
main section#home-recruit div.list div.row {
	width: auto;
}
main section#home-recruit div.list div.row p.image {
	height: 400px;
}
main section#home-recruit div.list div.row div.text p.sub {
	width: 180px;
	height: 40px;
	font-size: 1.125rem;
	border-radius: 20px;
}
main section#home-recruit div.list div.row div.text h3 {
	font-size: 2.25rem;
	line-height: 3rem;
}
main section#home-recruit div.list div.row div.text span.arrow {
	width: 60px;
	height: 60px;
}

/* news, event
-------------------------------------------------------------------------------- */

main article:where(.news, .event) {
	width: auto;
}
main article:where(.news, .event) header {
	margin-bottom: 60px;
}

/* company
-------------------------------------------------------------------------------- */

main section#company div.block:not(:last-child) {
	margin-bottom: 140px;
}
main section#company div:where(.block-top-message, .block-mission, .block-value) div.image-text {
	display: block;
}
main section#company div.block-top-message div.image-text p.image {
	aspect-ratio: 0.75;
	width: auto;
	margin: 0px auto 40px auto;
}
main section#company div.block-top-message div.image-text p.image img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}
main section#company div.block-top-message div.image-text div.text {
	width: auto;
}
main section#company div.block-vision div.image-text p.image {
	margin: 0px -30px 60px -30px;
}
main section#company div.block-vision div.image-text div.text {
	width: auto;
}
main section#company div:where(.block-mission, .block-value) div.image-text p.image {
	width: auto;
	margin-bottom: 60px;
}
main section#company div:where(.block-mission, .block-value) div.image-text div.text {
	width: auto;
}
main section#company div.block-mission div.image-text {
	margin-left: 0px;
}
main section#company div.block-mission div.image-text p.image {
	margin-left: -30px;
}
main section#company div.block-value div.image-text {
	margin-right: 0px;
}
main section#company div.block-value div.image-text p.image {
	margin-right: -30px;
}
main section#company div.block-company-profile p.image {
	aspect-ratio: 1.5;
	margin-bottom: 80px;
}
main section#company div.block-company-profile p.image img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}
main section#company div.block-company-profile div.list {
	width: auto;
	margin-bottom: 80px;
}
main section#company div.block-company-profile div.list div.row {
	display: block;
}
main section#company div.block-company-profile div.list div.row p.label {
	width: auto;
	margin-bottom: 10px;
}
main section#company div.block-company-profile div.list div.row p.body {
	width: auto;
}
main section#company div.block-company-profile div.map {
	width: auto;
	margin: 0px -30px;
}
main section#company div.block-company-profile div.map iframe {
	height: 320px;
}
main section#company div.block-organization p.diagram {
	width: auto;
	margin: 0px -15px;
}

/* business
-------------------------------------------------------------------------------- */

main section#business div.inner-section {
	width: auto;
}
main section#business div.block:not(:last-child) {
	margin-bottom: 140px;
}
main section#business div.block-summary p.description,
main section#business div.block-summary div.list div.row:not(:last-child) {
	margin-bottom: 80px;
}
main section#business div.block-summary div.list div.row table td p.logo {
	height: 50px;
}
main section#business div.block-summary div.list div.row table td p.logo-auie img {
	width: calc(118px * 0.625);
}
main section#business div.block-summary div.list div.row table td p:where(.logo-etusus, .logo-eugue, .logo-yamaken) img {
	width: calc(131px * 0.625);
}
main section#business div.block-summary div.list div.row table td p.logo-yamazaki img {
	width: calc(130px * 0.625);
}
main section#business div.block-detail div.list div.row {
	display: block;
}
main section#business div.block-detail div.list div.row :where(p.image, div.text) {
	width: auto;
}

/* works, estate
-------------------------------------------------------------------------------- */

main article:where(.works, .estate) {
	width: auto;
}
main article:where(.works, .estate) header,
main article:where(.works, .estate) header div.slide {
	margin-bottom: 60px;
}
main article:where(.works, .estate) header div.slide div.image {
	margin: 0px -30px 10px -30px;
}
main article:where(.works, .estate) header div.slide div.navi p.row {
	width: calc(20% - 10px);
}
main article:where(.works, .estate) div.column {
	display: block;
}
main article:where(.works, .estate) table :where(th, td) {
	display: block;
}
main article:where(.works, .estate) table tr:not(:last-child) :where(th, td) {
	padding-bottom: 0px;
}
main article:where(.works, .estate) table th {
	width: 100%;
}
main article:where(.works, .estate) table tr:not(:first-child) th {
	padding-top: 20px;
}
main article:where(.works, .estate) table td {
	width: 100%;
	padding-top: 10px;
}
main article:where(.works, .estate) table tr:not(:last-child) td {
	border-bottom: 1px solid #000000;
	padding-bottom: 20px;
}
main article:where(.works, .estate) div.column div.left {
	margin-bottom: 60px;
}
main article.works div.column div.left {
	width: auto;
}
main article.works div.column div.right {
	width: auto;
}
main article.estate div.column div.left {
	width: auto;
}
main article.estate div.column div.right {
	width: auto;
}

/* recruit
-------------------------------------------------------------------------------- */

main div.list-recruit div.row {
	display: block;
}
main div.list-recruit div.row p.image {
	display: none;
}
main div.list-recruit div.row div.text {
	width: auto;
}
main article.recruit {
	width: auto;
}
main article.recruit header {
	margin-bottom: 80px;
}
main article.recruit header h1 {
	font-size: 2rem;
	line-height: 2.75rem;
}
main article.recruit table :where(th, td) {
	display: block;
}
main article.recruit table tr:not(:last-child) :where(th, td) {
	padding-bottom: 0px;
}
main article.recruit table th {
	width: 100%;
}
main article.recruit table tr:not(:first-child) th {
	padding-top: 20px;
}
main article.recruit table td {
	width: 100%;
	padding-top: 10px;
}
main article.recruit table tr:not(:last-child) td {
	border-bottom: 1px solid #000000;
	padding-bottom: 20px;
}
main section#recruit div.inner-section {
	width: auto;
}
main section#recruit div.block:not(:last-child) {
	margin-bottom: 140px;
}
main section#recruit div.block-new-graduate div.banner a {
	display: block;
}
main section#recruit div.block-new-graduate div.banner p.image {
	width: auto;
}
main section#recruit div.block-new-graduate div.banner p.image span {
	font-size: 2.25rem;
	line-height: 3rem;
}
main section#recruit div.block-new-graduate div.banner div.text {
	width: auto;
}
main section#recruit div.block-new-graduate div.banner div.text :where(h2, p.description) {
	margin-bottom: 20px;
}

/* form
-------------------------------------------------------------------------------- */

main section.form::before {
	width: calc(100% - 60px);
	left: 30px;
}
main section.form div.inner-section {
	width: auto;
}
main section.form div.component-wrapper {
	margin-bottom: 60px;
}
main section.form div.component {
	display: block;
}
div.confirm main section.form div.component {
	padding: 20px 0px;
}
main section.form div.component p.label {
	display: block;
	width: auto;
	height: auto;
	margin-bottom: 10px;
}
main section.form div.component div.body {
	width: auto;
}
main section.form div.component-event {
	display: none;
}
main section.form div:where(.component-name-furigana, .component-number) div.body div.row p.prefix {
	width: 40px;
}
main section.form div:where(.component-name-furigana, .component-number) div.body div.row span.wpcf7-form-control-wrap {
	width: calc(100% - 40px);
}
main section.form div.component-interest div.body span:where(.wpcf7-radio, .wpcf7-checkbox) {
	display: block;
}
main section.form div.component-interest div.body span:where(.wpcf7-radio, .wpcf7-checkbox) span.wpcf7-list-item {
	width: auto;
}
main section.form div.agreement {
	margin-bottom: 60px;
}
main section.form div.action {
	display: block;
}
main section.form div.action :where(input[type=button], input[type=submit], button) {
	margin: 0px auto;
}
main section.form div.action :where(input[type=button], input[type=submit], button):not(:last-child) {
	margin-bottom: 20px;
}
main section#thanks h2 {
	font-size: 2.25rem;
	line-height: 3rem;
}

/* privacy-policy
-------------------------------------------------------------------------------- */

main section#privacy-policy div.inner-section {
	width: auto;
}



/* --------------------------------------------------------------------------------
footer
-------------------------------------------------------------------------------- */

footer#footer {
	padding-top: 80px;
}
footer#footer :where(div.information-brand, p.copyright) {
	width: calc(100% - 60px);
}
footer#footer div.information-brand {
	display: block;
	margin-bottom: 60px;
}
footer#footer div.information {
	text-align: center;
	margin-bottom: 60px;
}
footer#footer div.information :where(p.logo, h3) {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}
footer#footer div.information p.logo img {
	width: calc(209px * 1.25);
}
footer#footer div.information h3 img {
	width: calc(200px * 0.875);
}
footer#footer div.brand div.list {
	margin: 0px -20px -20px 0px;
}
footer#footer div.brand div.list div.row {
	width: calc(50% - 20px);
	margin: 0px 20px 20px 0px;
}
footer#footer div.brand div.list div.row:not(:last-child) {
	margin-right: 20px;
}
footer#footer div.brand div.list div.row p.logo {
	height: 100px;
}
footer#footer p.copyright {
	text-align: center;
	margin: 0px auto;
}
