@charset "utf-8";

/*-------------------------
header
---------------------------*/
header {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	width: 100%;
	height: 100px;
	padding: 30px 150px 30px 50px;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
	overflow: hidden;
}
.news-detail header {
	background-color: #f5f5f5;
	padding-top: 16px;
}
header a,
header img {
	display: block;
}
header a {
	color: #000;
}
header h1 {
	width: 208px;
	font-size: var(--text-s);
	text-align: center;
}
header h1 a,
header h1 img {
	width: 100%;
	color: var(--color-back);
	font-weight: bold;
}
header h1 a {
	transition: 200ms ease-out;
}
header h1 a:hover {
	opacity: .6;
}
header h1 img {
	margin-bottom: 5px;
}
header nav {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}
header ul {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}
header li {
	width: 140px;
	padding: 0 10px;
}
header nav a {
	width: 100%;
	text-align: center;
	position: relative;
}
header li a {
	padding-bottom: 8px;
}
header li a::before,
header li a::after {
	display: block;
	content: "";
	width: 100%;
	height: 1px;
	position: absolute;
	bottom: 0;
	left: 0;
}
header li a::before {
	background-color: #30a1d4;
}
header li a::after {
	background-color: #c1000b;
	width: 0;
	transition: 400ms ease-out;
}
header li a:hover::after {
	width: 100%;
}
@media screen and (max-width: 980px) {
	header {
		height: 70px;
		padding: 5px 15px;
	}
	.news-detail header {
		padding-top: 5px;
	}
	header h1 {
		width: 180px;
	}
	header nav {
		display: none;
	}
}
#contactButton {
	background-color: var(--color-back);
	width: 100px;
	height: 100px;
	position: fixed;
	top: 0;
	right: 0;
	overflow: hidden;
}
#contactButton figure {
	display:-webkit-box;
	display:-ms-flexbox;
	display:flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	width: 100%;
	height: 100%;
	color: #fff;
	fill: #fff;
	position: relative;
	z-index: 10;
	transition: 400ms ease-out;
}
#contactButton:hover figure {
	color: var(--color-back);
	fill: var(--color-back);
}
#contactButton svg {
	margin: 10px auto;
}
#contactButton::after {
	display: block;
	content: "";
	background-color: var(--color-text);
	width: 142%;
	height: 142%;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 0;
	transition: 200ms ease-out;
	-webkit-transform: translate(-57%, 57%) rotate(45deg);
	transform: translate(-57%, 57%) rotate(45deg);
}
#contactButton:hover::after {
	-webkit-transform: translate(15%, -15%) rotate(45deg);
	transform: translate(15%, -15%) rotate(45deg);
}

/*-------------------------
keyvisual
---------------------------*/
#keyvisual {
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	width: 100vw;
	height: 100vh;
	position: relative;
	z-index: 0;
}
#logo {
	width: 329px;
	height: 134px;
	position: absolute;
	top: 50%;
	left: 50%;
	overflow: hidden;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	animation: logo-l 1200ms ease-out forwards;
}
@keyframes logo-l {
	from {
		height: 0;
		padding-top: 134px;
	}
	to {
		height: 134px;
		padding-top: 0;
	}
}
@keyframes logo-s {
	from {
		height: 0;
		padding-top: 78px;
	}
	to {
		height: 78px;
		padding-top: 0;
	}
}
#logo img {
	display: block;
	width: 100%;
}
@media screen and (max-width: 640px) {
	#logo {
		width: 192px;
		height: 78px;
		animation: logo-s 1200ms ease-out forwards;
	}
}
.home #keyvisual,
.contact #keyvisual {
	background-image: url("../img/home/top_keyvisual.jpg");
}
.reform #keyvisual {
	background-image: url("../img/reform/top_keyvisual.jpg");
}
.case #keyvisual,
.privacy #keyvisual {
	background-image: url("../img/case/top_keyvisual.jpg");
}
.profile #keyvisual {
	background-image: url("../img/profile/top_keyvisual.jpg");
}
.contact #keyvisual,
.privacy #keyvisual {
	height: 50vh;
}

/*-------------------------
navigation
---------------------------*/
/* spNavi */
#spNavi {
	display: none;
}
@media screen and (max-width: 980px) {
	#spNavi {
		display: block;
	}
}
#menu {
	background-color: rgba(255,255,255,.9);
	width: 50px;
	height: 50px;
	border: 1px solid var(--color-back);
	position: fixed;
	top: 10px;
	right: 10px;
	z-index: 20;
	overflow: hidden;
	cursor: pointer;
}
@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))) {
	#menu {
		background-color: rgba(255,255,255,.65);
		-webkit-backdrop-filter: saturate(180%) blur(20px);
		backdrop-filter: saturate(180%) blur(20px);
	}
}
#menu span,
#menu::before,
#menu::after {
	display: block;
	content: "";
	background-color: var(--color-back);
	width: 26px;
	height: 2px;
	overflow: hidden;
	position: absolute;
	top: 50%;
	left: 50%;
	transition: .2s;
}
#menu span {
	height: 0;
	padding-top: 2px;
	-wbkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}
#menu::before {
	-wbkit-transform: translate(-50%, calc(-50% - 7px));
	transform: translate(-50%, calc(-50% - 7px));
}
#menu::after {
	-wbkit-transform: translate(-50%, calc(-50% + 7px));
	transform: translate(-50%, calc(-50% + 7px));
}
#menu.close-button span {
	opacity: 0;
}
#menu.close-button::before {
	-wbkit-transform: translate(-50%, -50%) rotate(-315deg);
	transform: translate(-50%, -50%) rotate(-315deg);
}
#menu.close-button::after {
	-wbkit-transform: translate(-50%, -50%) rotate(315deg);
	transform: translate(-50%, -50%) rotate(315deg);
}
#spNavi dd {
	background-color: rgba(255,255,255,.9);
	width: 100%;
	padding: 70px 20px 20px;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 15;
	transition: .4s;
	-webkit-transform: translateY(calc(-100% - 4px));
	transform: translateY(calc(-100% - 4px));
}
@supports ((-webkit-backdrop-filter: blur(0)) or (backdrop-filter: blur(0))) {
	#spNavi dd {
		background-color: rgba(255,255,255,.65);
		-webkit-backdrop-filter: saturate(180%) blur(20px);
		backdrop-filter: saturate(180%) blur(20px);
	}
}
#spNavi dd.open-menu {
	-webkit-transform: translateY(0);
	transform: translateY(0);
}
#spNavi dd::after {
	content: "";
	background: linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,0));
	mix-blend-mode: multiply;
	width: 100%;
	height: 4px;
	position: absolute;
	bottom: 0;
	left: 0;
	transition: .5s;
	-webkit-transform: translateY(100%);
	transform: translateY(100%);
}
#spNavi ul {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}
#spNavi li {
	width: 50%;
}
#spNavi li:nth-child(2n) {
	border-left: 1px solid var(--color-back);
}
#spNavi a {
	display: block;
	width: 100%;
	color: #000;
	text-align: center;
	padding: 10px;
}
#spNavi li:nth-child(1),
#spNavi li:nth-child(2) {
	border-bottom: 1px solid var(--color-back);
}
#spNavi li:nth-last-child(1) {
	background-color: var(--color-back);
	width: 100%;
	margin-top: 10px;
}
#spNavi li:nth-last-child(1) a {
	color: #fff;
	padding: 5px 10px;
}

/*-------------------------
main
---------------------------*/
main {
	background-color: var(--color-back);
	position: relative;
	z-index: 5;
}

/* title */
h2,h3 {
	font-size: calc(var(--text-l) * 2);
	font-weight: 300;
	text-align: center;
}
h2 {
	font-size: calc(var(--text-l) * 2);
	line-height: 1;
	word-break: break-all;
}
h3 {
	color: var(--color-point);
}
@media screen and (max-width: 640px) {
	h2,h3 {
		font-size: calc(var(--text-l) * 1.4);
	}
}

/* news-list */
.news-list {
	display: block;
	transition: 200ms ease-out;
}
.news-list:hover {
	background-color: rgba(255,255,255,.1);
}
.news-list dl {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	font-size: var(--text-s);
	padding: 14px 0;
	border-bottom: 2px solid var(--color-sub);
}
.news-list dl > * {
	padding-top: 5px;
	padding-bottom: 5px;
}
.news-list dt,
.news-list dt+dd {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}
.news-list dt {
	width: 140px;
	color: var(--color-point);
}
.news-list dd {
	border-left: 1px solid var(--color-sub);
}
.news-list dt+dd {
	width: 140px;
	padding-right: 0;
	padding-left: 0;
}
.news-list dd:last-child {
	width: calc(100% - 280px);
	text-align: justify;
	padding-right: 40px;
	padding-left: 40px;
	position: relative;
	word-break: break-all;
}
.news-list dd:last-child::after {
	display: block;
	content: "\25B6\FE0E";
	width: 16px;
	height: 16px;
	color: var(--color-sub);
	font-size: 10px;
	text-align: center;
	line-height: 16px;
	position: absolute;
	right: 0;
	bottom: -15px;
	border: 2px solid var(--color-sub);
	transition: 200ms ease-out;
}
.news-list:hover dd:last-child::after {
	background-color: var(--color-sub);
	color: var(--color-point);
}
@media screen and (max-width: 640px) {
	.news-list dl {
		padding: 0;
	}
	.news-list dl > * {
		padding-top: 10px;
		padding-bottom: 10px;
	}
	.news-list dt {
		-webkit-box-pack: start;
		-ms-flex-pack: start;
		justify-content: flex-start;
		width: 100px;
	}
	.news-list dt+dd {
		-webkit-box-pack: end;
		-ms-flex-pack: end;
		justify-content: flex-end;
		width: calc(100% - 100px);
	}
	.news-list dd:last-child {
		width: 100%;
		padding-top: 14px;
		padding-right: 36px;
		padding-bottom: 14px;
		padding-left: 0;
		border-top: 1px solid var(--color-sub);
		border-left: none;
	}
	.news-list dd:last-child::after {
		bottom: -1px;
	}
}
 /* pagenation */
.pagination {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}
.pagination li {
	width: 26px;
	text-align: center;
	padding: 0;
	margin: 0 4px;
	border: 1px solid var(--color-sub);
	cursor: pointer;
	transition: 200ms;
}
.pagination li:hover {
	background-color: var(--color-sub);
	color: var(--color-point);
}

/* news-detail */
:root {
	--news-margin: 260px;
}
@media screen and (max-width: 640px) {
	:root {
		--news-margin: 200px;
	}
}
.news-detail article {
	word-wrap: break-word;
	padding-top: var(--news-margin);
	position: relative;
}
.news-detail article h2 {
	font-size: calc(var(--text-m) * 1.4);
	font-weight: bold;
	text-align: left;
	line-height: 1.3;
	padding: 20px 0;
	border-top: 1px solid var(--color-sub);
	border-bottom: 1px solid var(--color-sub);
}
.news-data {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	width: calc(100% - 40px);
	font-size: var(--text-s);
	position: absolute;
	top: calc(var(--news-margin) - 1.75em);
	left: 20px;
}
.news-data p:first-child {
	color: var(--color-point);
}
.news-article {
	padding: 40px 0;
	border-bottom: 1px solid var(--color-sub);
}
.news-article p+p {
	text-align: justify;
	margin-top: 20px;
}
.news-article a {
	text-decoration: underline;
}
.news-article a:hover {
	color: var(--color-point);
}
.news-article img,
.news-article video,
.news-article iframe {
	display: block;
	max-width: 100%;
}
.news-article .text-r {
	text-align: right !important;
}
.news-article pre {
	white-space: pre-wrap;
}

/* about-us */
.about-us {
	width: 100%;
	max-width: 434px;
}
.about-us h3 {
	color: var(--color-text);
	font-size: calc(var(--text-m) * 1.4);
	text-align: left;
}
.about-us h3 span {
	display: block;
	color: var(--color-point);
	font-size: calc(var(--text-l) * 2);
	text-align: center;
	line-height: 1;
	margin-bottom: 20px;
}
#aboutUs01::after {
	background-image: url("../img/home/img_about01.jpg");
}
#aboutUs02::after {
	background-image: url("../img/home/img_about02.jpg");
}

/* contents */
#contents {
	position: relative;
	z-index: 3;
}
#contents h2 {
	color: var(--color-back);
}
#contents a {
	background-color: var(--color-back);
	height: 0;
	padding-top: 100%;
	position: relative;
	overflow: hidden;
}
#contents a::before,
#contents a::after {
	display: block;
	content: "";
	background-color: var(--color-text);
	position: absolute;
	z-index: 3;
}
#contents a::after {
	width: 34px;
	height: 34px;
	top: 0;
	right: 0;
	-webkit-transform: translate(50%, -50%) rotate(45deg);
	transform: translate(50%, -50%) rotate(45deg);
}
#contents a::before {
	width: 142%;
    height: 142%;
    top: 0;
    right: 0;
    transition: 300ms ease-out;
    -webkit-transform: translate(-57%, 57%) rotate(45deg);
    transform: translate(-57%, 57%) rotate(45deg);
}
#contents a:hover::before {
	-webkit-transform: translate(15%, -15%) rotate(45deg);
    transform: translate(15%, -15%) rotate(45deg);
}
#contents span {
	display: block;
	width: 100%;
	font-size: var(--text-m);
	text-align: center;
	line-height: 1.2;
	padding: 0 10px;
	position: absolute;
	top: 50%;
	left: 0;
	z-index: 4;
	transition: 300ms ease-out;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}
#contents a:hover span {
	color: var(--color-back);
}

/* reformImage */
#reformImage {
	position: relative;
}
#reformImage > div:first-child {
	position: relative;
	z-index: 3;
}
#reformImageParallax {
	background: url("../img/reform/img_reformImage.jpg") no-repeat right center;
	background-size: 320px 412px;
	width: 320px;
	height: 412px;
	position: absolute;
	top: 0;
	left: -20px;
	z-index: 1;
}
@media screen and (max-width: 1170px) {
	#reformImageParallax {
		width: 240px;
	}
}
@media screen and (max-width: 880px) {
	#reformImageParallax {
		opacity: .2;
	}
}

/* reformFlow */
#reformFlow h3 {
	font-size: calc(var(--text-m) * 1.4);
}
.reform-flow {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-align: end;
	-ms-flex-align: end;
	align-items: flex-end;
	width: calc(100% + 20px);
	margin: 80px -20px 0 0;
}
.reform-flow ol {
	background: url("../img/reform/ico_arrow.svg") no-repeat right top;
	width: calc(100% - 688px);
	min-height: 328px;
}
.reform-flow li {
	max-width: 340px;
	font-size: calc(var(--text-m) * 1.4);
	margin-left: auto;
	margin-right: 0;
}
.reform-flow li+li {
	margin-top: 14px;
}
.reform-flow li span {
	display: inline-block;
	color: var(--color-point);
	font-size: calc(var(--text-m) * 1.6);
	font-weight: 300;
	margin-right: 24px;
}
.reform-flow figure {
	width: 688px;
	padding-left: 50px;
	overflow: hidden;
}
.reform-flow figure img {
	display: block;
	width: 100%;
	opacity: 0;
	transition: transform 1800ms ease-out, opacity 3600ms ease-out;
	-webkit-transform: translateX(100%);
	transform: translateX(100%);
}
.reform-flow figure img.animated {
	opacity: 1;
	-webkit-transform: translateX(0);
	transform: translateX(0);
}
@media screen and (min-width: 1400px) {
	.reform-flow ol {
		background-position: right 30% top;
	}
	.reform-flow li {
		margin-left: auto;
		margin-right: auto;
	}
}
@media screen and (max-width: 960px) {
	.reform-flow ol,
	.reform-flow figure {
		width: 100%;
	}
	.reform-flow ol {
		background-position: right 20px top;
	}
	.reform-flow li {
		padding-right: 20px;
		margin-left: auto;
		margin-right: auto;
	}
	.reform-flow figure {
		padding-left: 0;
		margin-top: 60px;
	}
}

/* case */
#case a {
	transition: 200ms ease-out;
}
#case a:hover {
	opacity: .6;
}

/* profile */
#profile {
	position: relative;
}
.character {
	width: 130px;
	position: absolute;
	top: 120px;
}
.character a,
.character img {
	display: block;
	width: 100%;
}
.character01 {
	left: 20px;
}
.character02 {
	right: 20px;
}
.character a img {
	transition: 300ms ease-out;
}
.character a:hover img {
	-webkit-transform: rotateY(360deg);
	transform: rotateY(360deg);
}
@media screen and (max-width: 640px) {
	#profile h2,
	#profile h2+p {
		padding-left: 80px;
	}
	.character {
		width: 80px;
		top: 100px;
	}
	.character02 {
		display: none;
	}
}

/* profilePhoto */
#profilePhoto {
	padding: 100px 0 180px;
}
#profilePhoto img {
	position: relative;
	z-index: 0;
	transition: 300ms ease-out;
}
#profilePhoto figure:hover img {
	z-index: 10;
	-webkit-transform: scale(1.5);
	transform: scale(1.3);
}
#profilePhoto li:first-child img {
	-webkit-transform-origin: center left;
	transform-origin: center left;
}
#profilePhoto li:last-child img {
	-webkit-transform-origin: center right;
	transform-origin: center right;
}

/* privacy */
.privacy main dt {
	color: var(--color-point);
	font-size: var(--text-m);
	margin-top: 40px;
}
.privacy main dd {
	text-align: justify;
}
.privacy main ul {
	margin: 10px 0;
}

/*-------------------------
footer
---------------------------*/
footer {
	background-color: #f5f5f5;
	color: #000;
	font-weight: 300;
	position: relative;
	z-index: 5;
}
footer a {
	color: #000;
}

/* footerNavi */
#footerNavi {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
	font-weight: 500;
	max-width: 800px;
	padding: 20px 0;
	margin: 0 auto;
}
#footerNavi li {
	padding: 10px 20px;
}
#footerNavi a {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	height: 100%;
	color: var(--color-back);
	font-size: calc(var(--text-m) * 1.6);
	transition: 200ms ease-out;
}
#footerNavi a:hover {
	opacity: .6;
}
#footerNavi li a::before {
	display: block;
	content: "";
	background-color: var(--color-back);
	background-size: 40px;
	width: 40px;
	height: 40px;
	margin-right: 10px;
}
#footerNavi li:nth-child(1) a::before {
	content: none;
}
#footerNavi li:nth-child(2) a::before {
	background-image: url("../img/ico_tel.svg");
}
#footerNavi li:nth-child(3) a::before {
	background-image: url("../img/ico_mail.svg");
}
@media screen and (max-width: 960px) {
	#footerNavi {
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
	}
	#footerNavi li {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
	}
	#footerNavi li:nth-child(1) {
		width: 100%;
	}
}

/* footerInfo */
#footerInfo {
	background-color: #fff;
	text-align: center;
	padding: 70px 20px;
}
#footerInfo dt {
	font-size: calc(var(--text-m) * 1.2);
	margin-bottom: 20px;
}

/* sitemap */
#sitemap {
	max-width: 980px;
	text-align: center;
	padding: 40px 20px 20px;
	margin: 0 auto;
	border-bottom: 1px solid var(--color-back);
}
#sitemap li {
	display: inline-block;
	line-height: 1.2;
	padding: 0 14px 0 8px;
	border-right: 1px solid #000;
}
#sitemap li:last-child {
	border-width: 0;
}
#sitemap .button-underline-inline::after {
	bottom: 0;
}

/* copy */
footer > p {
	color: var(--color-back);
	text-align: center;
	padding: 20px 0;
}
footer > p small {
	font-size: var(--text-n);
}

footer .button-underline-inline::after {
	background-color: var(--color-back);
}

/* -------------------------
contact
--------------------------*/
.contact form {
	font-size: 16px;
}
.contact fieldset {
	padding-bottom: 30px;
	margin-bottom: 30px;
	border-bottom: 1px solid #adb1b1;
	overflow: hidden;
}
.contact fieldset > div:nth-child(1) {
	width: 12em;
	color: var(--color-text);
	padding-right: 1em;
	float: left;
}
.contact fieldset > div:nth-child(2) {
	width: calc(100% - 12em);
	float: right;
}
.contact input,
.contact textarea,
.contact select {
	display: block;
	width: 100%;
	font-size: 16px;
	border: 1px solid #ccc;
}
.contact input+input {
	margin-top: 10px;
}
.contact textarea {
	height: 10em;
}
.contact input[type="submit"] {
	display: block;
	background-color: var(--color-text);
	color: var(--color-back);
	width: 6em;
	margin: 0 auto;
	border: 1px solid var(--color-text);
	cursor: pointer;
	transition: .2s;
}
.contact input[type="submit"]:hover {
	background-color: var(--color-back);
	color: var(--color-text);
}
.contact select {
	height: calc(1em + 12px);
	font-size: 16px;
}
.required::after {
	display: inline-block;
	content: "※必須";
	color: #f30;
	font-size: 14px;
	margin-left: .5em;
}
.size-s {
	width: 10em !important;
}
@media screen and (max-width: 640px) {
	.contact fieldset > div:nth-child(1) {
		width: 100%;
		float: none;
	}
	.contact fieldset > div:nth-child(2) {
		width: 100%;
		float: none;
	}
}