/* --------------------------------------------------------------------------------
essential
-------------------------------------------------------------------------------- */

body {
	font-size: 1rem;
	line-height: 1.875rem;
}
h1 {
	font-size: 1.375rem;
	line-height: 2rem;
}
h2 {
	font-size: 1.25rem;
}
h3 {
	font-size: 1.125rem;
}
h4,
h5,
h6 {
	font-size: 1rem;
}
p.note {
	font-size: 0.75rem;
	line-height: 1.375rem;
}



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

input:where([type=text], [type=email], [type=number], [type=password], [type=search], [type=button], [type=submit]),
button,
textarea,
select {
	font-size: 1rem;
}
input:where([type=text], [type=email], [type=number], [type=password], [type=search]),
select {
	height: 55px;
}
input:where([type=button], [type=submit]),
button {
	width: 260px;
	height: 60px;
	border-radius: 30px;
}
button::before {
	right: 27.5px;
}
label.file div.alternate p.button-file {
	height: 55px;
}
label.file div.alternate p.button-clear {
	height: 55px;
}



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

br:where(.small, .sp-br) {
	display: inline;
}
br:where(.large, .pc-br) {
	display: none;
}
img.small {
	display: block;
}
img.large {
	display: none;
}
span.no-small {
	display: none;
}



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

p.button-default > * {
	width: 260px;
	height: 60px;
	border-radius: 30px;
}
p.button-default > *::before {
	right: 27.5px;
}

/* vision
-------------------------------------------------------------------------------- */

body.vision p.line {
	width: 915px;
	right: -457.5px;
	top: -240px;
}



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

header#header *#logo {
	left: 20px;
	top: 20px;
}
body.admin-bar header#header *#logo {
	top: 20px;
}
header#header *#logo img {
	width: calc(258px * 0.6875);
}
header#header :where(p#button-menu, div#menu) {
	position: fixed;
}
header#header p#button-menu {
	aspect-ratio: 1;
	width: 30px;
	right: 15px;
	top: 15px;
	z-index: 20;
	cursor: pointer;
}
header#header p#button-menu i {
	display: block;
	position: absolute;
	width: 30px;
	height: 0px;
	left: calc(50% - 15px);
	top: calc(50% - 0.5px);
	border-bottom: 1px solid #1d2f40;
}
div.menu-animate header#header p#button-menu i {
	transition: 0.375s all ease;
}
header#header p#button-menu i:nth-child(1) {
	transform: translateY(-4px);
}
header#header p#button-menu i:nth-child(2) {
	transform: translateY(4px);
}
div.menu-header header#header p#button-menu i {
	border-color: #ececec;
}
div.menu-header header#header p#button-menu i:nth-child(-n+2) {
	width: 0px;
	left: 50%;
	opacity: 0;
	transform: translateY(0px);
}
header#header p#button-menu i:nth-child(n+3):nth-child(-n+4) {
	opacity: 0;
}
div.menu-header header#header p#button-menu i:nth-child(n+3):nth-child(-n+4) {
	opacity: 1;
}
div.menu-header header#header p#button-menu i:nth-child(3) {
	transform: rotate(45deg);
}
div.menu-header header#header p#button-menu i:nth-child(4) {
	transform: rotate(-45deg);
}
header#header div#menu {
	visibility: hidden;
	width: 100%;
	height: 100%;
	left: 0px;
	top: 0px;
	overflow: auto;
	z-index: 10;
	color: #ffffff;
	pointer-events: none;
	background-color: #1d2f40;
	opacity: 0;
	-webkit-overflow-scrolling: touch;
}
div.menu-animate header#header div#menu {
	transition: opacity 0.375s ease, 0s visibility 0.375s;
}
div.menu-header header#header div#menu {
	visibility: visible;
	pointer-events: auto;
	opacity: 1;
	transition-delay: 0s;
}
header#header div#menu::-webkit-scrollbar {
	display: none;
}
header#header div#menu div.inner-menu {
	padding: 120px 30px 40px 30px;
}
header#header div#menu nav#navi {
	position: relative;
	right: auto;
	top: auto;
	z-index: 1;
}
body.admin-bar header#header div#menu nav#navi {
	top: auto;
}
header#header div#menu nav#navi ul {
	display: block;
}
header#header div#menu nav#navi ul li {
	font-size: 1.625rem;
	opacity: 0;
	transition-delay: 0s;
	transform: translateY(20px);
}
div.menu-animate header#header div#menu nav#navi ul li {
	transition: 0.75s opacity ease-in-out, 0.75s transform ease;
}
header#header div#menu nav#navi ul li:not(:last-child) {
	margin-bottom: 35px;
}
div.menu-header header#header div#menu nav#navi ul li:nth-child(1) {
	transition-delay: calc(0.1875s + calc(0.0625s * 0));
}
div.menu-header header#header div#menu nav#navi ul li:nth-child(2) {
	transition-delay: calc(0.1875s + calc(0.0625s * 1));
}
div.menu-header header#header div#menu nav#navi ul li:nth-child(3) {
	transition-delay: calc(0.1875s + calc(0.0625s * 2));
}
div.menu-header header#header div#menu nav#navi ul li:nth-child(4) {
	transition-delay: calc(0.1875s + calc(0.0625s * 3));
}
div.menu-header header#header div#menu nav#navi ul li {
	opacity: 1;
	transform: translateY(0px);
}
header#header div#menu nav#navi ul li a {
	display: inline-block;
	padding: 0px;
}
header#header div#menu nav#navi ul li a::before {
	display: none;
}
header#header div#menu p.logo {
	display: block;
	position: absolute;
	right: 30px;
	bottom: 30px;
	opacity: 0;
}
div.menu-animate header#header div#menu p.logo {
	transition: 1s opacity ease-in-out;
}
div.menu-header header#header div#menu p.logo {
	opacity: 1;
	transition-delay: 0.375s;
}
header#header div#menu p.logo img {
	width: calc(241px * 0.75);
}

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

body.home header#header *#logo {
	top: calc(100svh + 20px);
}
body.home div.main header#header *#logo {
	top: 20px;
}
body.home.admin-bar div.main header#header *#logo {
	top: 20px;
}
body.home header#header p#button-menu {
	position: absolute;
	top: calc(100svh + 15px);
}
body.home div:where(.main, .menu-header) header#header p#button-menu {
	position: fixed;
	top: 15px;
}
body.home header#header div#menu nav#navi {
	position: static;
	top: auto;
}
body.home div.main header#header div#menu nav#navi {
	top: auto;
}
body.home.admin-bar div.main header#header div#menu nav#navi {
	top: auto;
}



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

body.admin-bar div:where(#cover, #space-cover) {
	height: 100svh;
}
body.admin-bar div#cover {
	top: 0px;
}
div#cover p.line svg {
	width: 275vmin;
	height: 275vmin;
}
div#cover p.button-default {
	right: 30px;
	bottom: 30px;
}



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

div#title {
	width: calc(100% - 60px);
	padding-top: 140px;
}
div#title div.text {
	padding-bottom: 20px;
}
div#title div.text h1 {
	font-size: 2.375rem;
	line-height: 2.875rem;
}



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

main section div.inner-section {
	width: auto;
	padding: 40px 30px;
}
main section:last-child div.inner-section {
	padding-bottom: 80px;
}
main h2.line {
	font-size: 1.375rem;
	padding: 45px 0px 0px 30px;
}
main h2.line::before {
	width: calc(88px * 0.75);
	height: calc(82px * 0.75);
}
main section.example:not(:last-child) {
	margin-bottom: 80px;
}
main section.example header h2 {
	font-size: 1rem;
}
main section.example div.text h3 {
	font-size: 1rem;
}
main section.example div.video:not(:last-child) {
	margin-bottom: 50px;
}
main section.example div:where(.text, .description) p {
	font-size: 0.875rem;
	line-height: 1.5rem;
}
main section.example > p.image + p:where(.image, .image-caption-top) {
	margin-top: 40px;
}
main section.example div.slide-wrapper:last-child {
	margin-bottom: 40px;
}
main section.example div.slide div.pager p.button {
	width: 30px;
}
main section.example div.slide div.pager p.button-prev {
	left: -30px;
}
main section.example div.slide div.pager p.button-next {
	right: -30px;
}
main section.example :where(h2, h3, h4).headline-01 {
	display: block;
}
main section.example :where(h2, h3, h4).headline-01 span:not(:last-child) {
	margin-right: 0px;
}
main section.example :where(h2, h3, h4).headline-01 span.main {
	font-size: 1.375rem;
}
main section.example :where(h2, h3, h4).headline-01 span.sub {
	font-size: 0.875rem;
	line-height: 1.5rem;
}
main section.example :where(h2, h3, h4).headline-02 {
	font-size: 1.25rem;
	margin-bottom: 10px;
}
main section.example :where(h2, h3, h4).headline-03 {
	font-size: 1.125rem;
	margin-bottom: 25px;
}
main section.example :where(h2, h3, h4).headline-04 {
	font-size: 1.25rem;
	line-height: 1.875rem;
	letter-spacing: 0.05em;
	margin-bottom: 10px;
}
main section.example p:where(.description, .information):not(:last-child) {
	margin-bottom: 50px;
}
main section.example div.video div.embed:not(:last-child) {
	margin-bottom: 20px;
}
main section.example div.column {
	display: block;
}
main section.example div.column div.row {
	width: auto;
}
main section.example *.concept-box {
	padding: 25px;
}
main section.example *.concept-box:not(:last-child) {
	margin-bottom: 20px;
}
main section.example *.concept-box p.sub {
	font-size: 1.25rem;
	line-height: 1.875rem;
}
main section.example *.concept-box p.sub:not(:last-child) {
	margin-bottom: 5px;
}
main section.example *:where(.concept-box-title, .concept-box-title-center) {
	font-size: 1.5625rem;
	line-height: 2.125rem;
}
main section.example *:where(.concept-box-title, .concept-box-title-center) span {
	font-size: 0.75rem;
}
main section.example *.concept-box-text-b {
	font-size: 1.125rem;
	line-height: 2rem;         
}
main ul.bullet li::before,
main article.common div.body ul li::before {
	top: 13px;
}
body.single-post main nav#navi-article {
	margin-top: 60px;
	padding-top: 30px;
}
body:where(.single-works, .single-staff) main nav#navi-article ul {
	position: relative;
	width: auto;
	left: auto;
	top: auto;
	margin-bottom: 30px;
}

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

main section:where(#home-vision, #home-works, #home-about) header {
	margin-bottom: 40px;
}
main section:where(#home-vision, #home-works, #home-about, #home-news) header h2 {
	font-size: 2.375rem;
	line-height: 2.875rem;
}
main section#home-vision div.inner-section {
	padding: 160px 30px 80px 30px;
}
main section#home-vision h3 {
	font-size: 2.75rem;
	line-height: 2.75rem;
}
main section#home-vision p.description {
	font-size: 1.125rem;
	line-height: 2.25rem;
}
main section#home-works {
	background-color: #1d2f40;
	border-radius: 30px;
}
main section:where(#home-works, #home-about)::before {
	display: none;
}
main section:where(#home-works, #home-about, #home-news) div.inner-section {
	padding: 80px 30px;
}
main section#home-works div.inner-section {
	padding-left: 30px;
}
main section#home-works p.button-default {
	justify-content: center;
}
main section#home-about {
	margin: -30px 0px;
}
main section#home-about div.inner-section {
	padding: 110px 30px;
}
main section#home-about h3 {
	font-size: 1.75rem;
	line-height: 2.75rem;
}
main section#home-news {
	border-radius: 30px 30px 0px 0px;
}
main section#home-news {
	background-color: #ececec;
}
main section#home-news div.inner-section {
	padding-left: 30px;
}
main section#home-news header {
	position: static;
	left: auto;
	top: auto;
	margin-bottom: 20px;
}
main section#home-news div.list-news {
	margin-top: 0px;
}

/* vision
-------------------------------------------------------------------------------- */

main section#vision-summary header {
	margin-bottom: 60px;
}
main section#vision-summary :where(h3, p.description) {
	padding-left: 0px;
}
main section#vision-summary h3 {
	font-size: 2.75rem;
	line-height: 2.75rem;
	margin-bottom: 40px;
}
main section#vision-summary p.description {
	font-size: 1.125rem;
	line-height: 2.25rem;
}
main section#vision-summary p.description span i {
	display: inline;
}
main section#vision-summary p.description span i:not(:last-child) {
	margin-bottom: 0px;
}
main section#vision-detail header {
	margin-bottom: 40px;
}
main section#vision-detail div.block {
	margin: 0px -30px;
	padding: 40px 30px;
	border-radius: 30px;
}
main section#vision-detail div.block:not(:last-child) {
	margin-bottom: 40px;
}
main section#vision-detail div.block p.number {
	font-size: 1.875rem;
	line-height: 1.875rem;
	margin-bottom: 20px;
}
main section#vision-detail div.block div.illust-text {
	display: block;
	position: relative;
	margin-bottom: 40px;
}
main section#vision-detail div.block div.illust-text div.text {
	position: relative;
	width: auto;
	z-index: 1;
}
main section#vision-detail div.block div.illust-text div.text h3 {
	font-size: 1.75rem;
	line-height: 2.75rem;
}
main section#vision-detail div.block div.illust-text p.illust {
	position: absolute;
	right: -15px;
	top: -65px;
	width: calc(345px * 0.575);
	opacity: 0.25;
}
main section#vision-detail div.block-01 div.illust-text p.illust {
	transform: translate(15px, 15px);
}
main section#vision-detail div.block-02 div.illust-text p.illust {
	transform: translate(-10px, -5px);
}
main section#vision-detail div.block-03 div.illust-text p.illust {
	transform: translate(-15px, -10px);
}
main section#vision-detail div.block-04 div.illust-text p.illust {
	transform: translate(10px, 10px);
}
main section#vision-detail div.block div.list {
	display: block;
	margin-right: 0px;
}
main section#vision-detail div.block div.list div.row {
	width: auto;
	margin-right: 0px;
}
main section#vision-detail div.block div.list div.row:nth-child(2) a {
	border-top: none;
}
main section#vision-detail div.block div.list div.row p.image {
	width: 85px;
}
main section#vision-detail div.block div.list div.row div.text {
	width: calc(100% - 105px);
}
main section#vision-detail div.block div.list div.row div.text :where(h4, p.description) {
	font-size: 0.875rem;
	line-height: 1.5rem;
}
main section#vision-detail div.block div.list div.row div.text h4 {
	margin: 0px -15px 5px 0px;
}

/* news
-------------------------------------------------------------------------------- */

main div.list-news div.row a {
	display: block;
}
main div.list-news div.row a::before {
	right: 10px;
	top: 62px;
}
main div.list-news div.row p.created {
	width: auto;
}
main div.list-news div.row h3 {
	width: auto;
	font-size: 1rem;
	padding-right: 20px;
}
main article.news header {
	margin-bottom: 40px;
	padding-bottom: 20px;
}
main article.news header p.created {
	margin-bottom: 5px;
}
main article.news header h1 {
	font-size: 1.375rem;
	line-height: 2.375rem;
}
main article.news div.body {
	text-align: left;
}

/* works
-------------------------------------------------------------------------------- */

main div.list-category ul li {
	font-size: 0.875rem;
	line-height: 0.875rem;
}
main div.list-works {
	display: block;
	margin: 0px;
}
main div.list-works div.row {
	width: auto;
	margin: 0px;
}
main div.list-works div.row:not(:last-child) {
	margin-bottom: 40px;
}
main div.list-works div.row p.image {
	margin-bottom: 10px;
}
main div.list-works div.row h3,
main div.list-works-alternate div.row div.text h3 {
	font-size: 1.125rem;
	line-height: 1.75rem;
}
main div.list-works div.row div.category ul li,
main div.list-works-alternate div.row div.text ul li,
main article.works header div.category ul li {
	font-size: 0.75rem;
	line-height: 1.375rem;
}
main div.list-works-alternate div.row a {
	display: block;
}
main div.list-works-alternate div.row p.image {
	width: auto;
	margin-bottom: 10px;
}
main div.list-works-alternate div.row div.text {
	width: auto;
}
main article.works {
	margin: 0px -30px 30px -30px;
	padding: 40px 30px;
	border-radius: 30px;
}
main article.works header,
main article.works header div.category:not(:last-child) {
	margin-bottom: 30px;
}
main article.works header h1 {
	font-size: 1.75rem;
	line-height: 2.75rem;
}
main article.works header div.client-related {
	font-size: 0.875rem;
	line-height: 1.5rem;
	margin-bottom: 30px;
}
main article.works header p.image {
	margin: 0px -30px;
}
main article.works div.body > p.description:not(:last-child) {
	margin-bottom: 80px;
}
main section#works div.list-category {
	margin-bottom: 40px;
}
main section#works p.count {
	font-size: 1.25rem;
}
main section#works div.inner-section:has(article.works) {
	padding-top: 160px;
}
main section#works article.works section.example div:where(.column-hacoa, .column-sante-labo) {
	display: block;
	margin: 0px;
}
main section#works article.works section.example div:where(.column-hacoa, .column-sante-labo) div.row {
	margin: 0px;
}
main section#works article.works section.example div:where(.column-hacoa, .column-sante-labo) div.row:not(:last-child) {
	margin-bottom: 40px;
}
main section#works article.works section.example div.column-hacoa div.row {
	width: auto;
}
main section#works article.works section.example div.column-sante-labo div.row {
	width: auto;
}
main section#works article.works section.credit dl :where(dt, dd) {
	font-size: 0.875rem;
	line-height: 1.5rem;
}
main section#works article.works *.s-honbun {
	font-size: 0.875rem;
	line-height: 1.5rem;
}
main section#works article.works *.bottom_space {
	margin-bottom: 60px;
}
main section#works article.works *.catch {
	font-size: 1.375rem;
	line-height: 2.375rem;
}
main section#works article.works *.catch-indent {
	font-size: 1.125rem;
}
main section#works article.works *.image-caption-top {
	font-size: 0.875rem;
}
main section#works article.works *.image-caption-bottom-center {
	font-size: 0.875rem;
}
main section#works article.works *.flow-container {
	margin-bottom: 40px;
}
main section#works article.works *.box-text {
	font-size: 0.875rem;
	line-height: 1.5rem;
}
main section#works article.works *.flow-container h2 {
	font-size: 1.125rem;
}

/* about
-------------------------------------------------------------------------------- */

main div.list-staff {
	margin: 0px -30px -30px 0px;
}
main div.list-staff div.row {
	width: calc(50% - 30px);
	margin: 0px 30px 30px 0px;
}
main div.list-staff div.row p.image {
	margin-bottom: 10px;
}
main div.list-staff div.row h3 {
	font-size: 1.125rem;
}
main div.list-staff div.row h3:not(:last-child) {
	margin-bottom: 5px;
}
main div.list-staff div.row p.post {
	font-size: 0.875rem;
	line-height: 1.5rem;
}
main article.staff header {
	margin-bottom: 60px;
}
main article.staff header p.image {
	width: calc(50% - 15px);
}
main article.staff header div.text {
	width: calc(50% - 5px);
}
main article.staff header div.text h1 {
	font-size: 1.25rem;
	margin-bottom: 5px;
}
main article.staff header div.text p.post {
	font-size: 0.875rem;
	line-height: 1.5rem;
	margin-bottom: 0px;
}
main article.staff header div.text p.summary {
	display: none;
}
main article.staff header p.summary-small {
	display: block;
	width: 100%;
	padding-top: 20px;
}
main article.staff div.body {
	margin: 0px -30px 30px -30px;
	padding: 40px 30px;
	border-radius: 30px;
}
main article.staff div.body div.intro:not(:last-child) {
	margin-bottom: 40px;
}
main article.staff div.body div.intro h3 {
	font-size: 1.125rem;
}
main section:where(#about-staff, #about) header {
	margin-bottom: 40px;
}
main section#about div.list div.row {
	display: block;
	padding: 20px 0px;
}
main section#about div.list div.row p.label {
	width: auto;
	margin-bottom: 5px;
}
main section#about div.list div.row div.body {
	width: auto;
}
main section#about div.list div.row div.body h3 {
	font-size: 1rem;
}
main section#about div.list div.row div.body h3::before {
	top: 8px;
}
main section#about div.list div.row div.body a.map i.icon-location {
	font-size: 1.25rem;
}
main section#about div.list div.row div.body ul.scene li span.image {
	max-width: 560px;
	margin-bottom: 10px;
}
main section#about div.list div.row div.body ul.scene li span.image img {
	width: 100%;
}
main section#staff div.inner-section:has(article.staff) {
	padding-top: 160px;
}

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

main section.form div.header {
	margin-bottom: 60px;
}
main section.form div.component-wrapper {
	margin-bottom: 40px;
}
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;
}
div.confirm main section.form div.component p.label {
	margin-bottom: 5px;
}
main section.form div.component div.body {
	width: auto;
}
main section.form div.component div.body span.wpcf7-not-valid-tip,
main section.form div.agreement span.wpcf7-not-valid-tip {
	font-size: 0.75rem;
}
main section.form div.agreement {
	font-size: 0.875rem;
	line-height: 1.5rem;
	margin-bottom: 40px;
}
main section.form div.agreement span.wpcf7-not-valid-tip {
	width: auto;
}
main section.form div.action {
	display: block;
	margin-bottom: 40px;
}
main section.form div.action :where(input[type=text], input[type=email], button) {
	margin: 0px auto;
}
main section.form div.action :where(input[type=text], input[type=email], button):not(:last-child) {
	margin-bottom: 20px;
}
main section.form p.recaptcha {
	font-size: 0.875rem;
	line-height: 1.5rem;
}

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

main section#privacy-policy div.list div.row h2 {
	font-size: 1.125rem;
}



/* --------------------------------------------------------------------------------
modal
-------------------------------------------------------------------------------- */

body.admin-bar div#modal.active {
	height: 100svh;
	top: 0px;
}
div#modal div.inner-modal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	position: relative;
	width: 100%;
}
div#modal p.button-close {
	width: 30px;
	right: 15px;
	top: 15px;
	z-index: 1;
	cursor: pointer;
}
body.admin-bar div#modal p.button-close {
	top: 20px;
}
div#modal p.button-close::before,
div#modal p.button-close::after {
	width: 30px;
	left: calc(50% - 15px);
}
div#modal section {
	padding: 40px 15px;
}



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

footer#footer {
	padding: 40px 30px 20px 30px;
}
footer#footer nav#navi-footer ul {
	display: block;
}
footer#footer nav#navi-footer ul li {
	font-size: 1.125rem;
}
footer#footer nav#navi-footer ul li:not(:last-child) {
	margin: 0px 0px 15px 0px;
}
footer#footer p.instagram {
	margin-bottom: 80px;
}
footer#footer p.logo {
	right: 30px;
	bottom: 50px;
}
footer#footer p.logo img {
	width: calc(241px * 0.625);
}
footer#footer div.misc {
	display: block;
}
footer#footer div.misc p:not(:last-child) {
	margin-bottom: 5px;
}
footer#footer div.misc p.copyright {
	margin-right: 0px;
}
