html{

}
body{
	-webkit-font-feature-settings: 'palt';
	font-feature-settings: 'palt';
	font-family: "Noto Sans JP", sans-serif;
	font-optical-sizing: auto;
	font-weight: weight;
	font-style: normal;
    background-color: #fff;
	color: #333;
	text-align: center;
	position: relative;
}
*, *:before, *:after {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
input, button, textarea, select {
	-webkit-appearance: none;
	appearance: none;
}
img {
	width: 100%;
}
a {
	text-decoration: none;
	color: #333;
}

/* ==================================
全体ｃｓｓ
================================== */
.wrap {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

/* 色 */
:root {
	--mainColor : #6699cc;
	--subColor : #808080;
	--subColor2 : #cccccc;
}

/* レスポンシブ改行 */
.sp_br {
	display: none;
}
@media screen and (max-width: 465px) {
	.sp_br {
		display: block;
	}
}

/* =================================
ヘッダー
================================== */

/* gmenu */
.hamburger-grid_wrap {
	position: fixed;
	/* top: 20px;
	right: 20px; */
	top: 48%;
	right: -15px;
	z-index: 999;
	background-color: var(--subColor);
	width: 100px;
	height: 200px;
	border-radius: 100% 0 0 100% / 50%;
}
/* grid-styles.css */
.hamburger-grid {
	position: fixed;
	top: 57%;
	right: -15px;
	transform: translateX(-57%);
	width: 50px;
	height: 50px;
	padding: 10px;
	border: none;
	background: transparent;
	cursor: pointer;
}

@media screen and (max-width: 567px) {
	.hamburger-grid_wrap {
		width: 50px;
		height: 50px;
		background-color: unset;
		top: 20px;
		right: 20px;
	}
	.hamburger-grid {
		top: 20px;
		right: -5px;
	}
}

.hamburger-grid__dots {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 4px;
	width: 100%;
	height: 100%;
}



.hamburger-grid__dot {
	width: 100%;
	height: 100%;
	/* background-color: #fff; */
	border-radius: 50%;
	transition: transform 0.3s ease, background-color 0.3s ease;
}
.hamburger-grid.active .hamburger-grid__dot {
	background-color: #fff;
}
#menu_color span {
		background-color: #fff;
}
.hamburger-grid.active .hamburger-grid__dot:nth-child(1) {
	transform: scale(0);
}
.hamburger-grid.active .hamburger-grid__dot:nth-child(2) {
	transform: translateY(8px);
}
.hamburger-grid.active .hamburger-grid__dot:nth-child(3) {
	transform: scale(0);
}
.hamburger-grid.active .hamburger-grid__dot:nth-child(4) {
	transform: translateX(8px);
}
.hamburger-grid.active .hamburger-grid__dot:nth-child(5) {
	transform: scale(1.2);
}
.hamburger-grid.active .hamburger-grid__dot:nth-child(6) {
	transform: translateX(-8px);
}
.hamburger-grid.active .hamburger-grid__dot:nth-child(7) {
	transform: scale(0);
}
.hamburger-grid.active .hamburger-grid__dot:nth-child(8) {
	transform: translateY(-8px);
}
.hamburger-grid.active .hamburger-grid__dot:nth-child(9) {
	transform: scale(0);
}
.nav-grid {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: var(--subColor2);
	visibility: hidden;
	opacity: 0;
	transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 900;
}
.nav-grid.active {
	visibility: visible;
	opacity: 1;
}
.nav-grid__content {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 20px;
	max-width: 1200px;
	height: 100%;
	margin: 0 auto;
	padding: 100px 40px;
}
.nav-grid__sections {
	grid-column: span 12;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
}
.nav-grid__section {
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-grid.active .nav-grid__section {
	opacity: 1;
	transform: translateY(0);
}
.nav-grid.active .nav-grid__section:nth-child(1) {
	transition-delay: 0.2s;
}
.nav-grid.active .nav-grid__section:nth-child(2) {
	transition-delay: 0.3s;
}
.nav-grid__title {
	margin: 0 0 20px;
	color: #666;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 2px;
}
.nav-grid__list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.nav-grid__list li {
	margin-bottom: 15px;
	overflow: hidden;
}
.nav-grid__link {
	display: inline-block;
	color: #fff;
	font-size: 24px;
	text-decoration: none;
	transform: translateY(100%);
	transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
				color 0.3s ease;
}
.nav-grid.active .nav-grid__link {
	transform: translateY(0);
}

@media (max-width: 768px) {
	.nav-grid__content {
		padding: 80px 20px;
	}
	
	.nav-grid__sections {
		grid-template-columns: 1fr;
	}
	
	.nav-grid__link {
		font-size: 20px;
	}

	/* スクロールカラー変更 */
	#menu_color span {
		background-color: #fff;
	}
	#menu_color.invert span {
		background: var(--subColor);
	}
	/* ----------------- */
}

/* =================================
フッター
================================== */
.footer {
    margin-top: auto;
	background-color: var(--mainColor);
}
.footer small.copy {
	margin-bottom: 1em;
	color : #fff;
}
.footer_inner {
	position: relative;
	margin: 0 auto;
	height: 20vh;
	padding: 2em 0;
	text-align: center;
	color: #fff;
}
.footer_inner figure {
	position: absolute;
	max-width: 200px;
	width: 100%;
	bottom: 70px;
	left: 50%;
	transform: translateX(-50%);
}
@media screen and (max-width:465px) {
	.footer_inner figure {
		bottom: 70px;
	}	
}

/* =================================
メイン
================================== */
.top {
	background-color: var(--mainColor);
	color: #fff;
}
.top_inner {
	display: flex;
	justify-content: space-around;
	align-items: center;
	height: 60vh;
}
.top_inner h1 {
	text-align: right;
	letter-spacing: 5px;
}
.top_inner figure {
	max-width: 100px;
	width: 100%;
}

@media screen and (max-width:400px) {
	.top_inner {
		justify-content: center;
	}
}

/* work一覧 */
.work_inner {
	position: relative;
	margin: 50px 10px 25vh;
}
.work_menu {
	font-size: clamp(16px, 2vw, 20px);
	display: flex;
	gap: 2em;
	align-items: center;
	justify-content: center;
}
.work_menu a {
	transition: letter-spacing 0.3s;
}
.work_menu a:hover {
	letter-spacing: 0.05em;
	color: var(--mainColor);
}

.work_grid {
	max-width: 1300px;
	width: 100%;
	margin: 50px auto;
	padding: 1em 0;

	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	justify-items: center;
	gap: 50px 30px;
}
.work_grid article {
	max-width: 350px;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 1em;
}
.work_grid article a.grid_box {
	width: 350px;
	height: 300px;
	overflow: hidden;
	border: 1px solid var(--mainColor);
	top: 0;
	display: block;
	position: relative;
	transition: all .3s ease-in-out;
    transform: translateY(0);
    box-shadow: 0 5px 5px rgba(0,0,0,.1);
	cursor: pointer;
}
.work_grid article a.grid_box:hover {
	transform: translateY(-5px);
    box-shadow: 0 10px 10px rgba(82, 91, 119, 0.2);
}

.work_grid article a.grid_box p {
	position: absolute;
	background-color: var(--subColor);
	color: #fff;
	padding: 2px 15px;
	top: 0;
	left: 0;
}
.work_grid article div.work_itemTxt {
	display: flex;
	gap: 10px 1em;
	flex-wrap: wrap;
}
div.work_itemTxt p {
	background-color: var(--mainColor);
	color: #fff;
	width: 120px;
	padding: 2px 0;
}


/* モーダル */
.modal_wrap input {
	display: none;
}

.modal_overlay {
	display: flex;
	justify-content: center;
	overflow: auto;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	opacity: 0;
	transition: opacity 0.5s, transform 0s 0.5s;
	transform: scale(0);
}

.modal_trigger {
	position: absolute;
	width: 100%;
	height: 100%;
}

.modal_content {
    align-self: center;
    width: 70%;
    padding: 30px 15px 15px;
    box-sizing: border-box;
    background: #fff;
    line-height: 1.4em;
    transition: 0.5s;
}
@media screen and (max-width:765px) {
	.modal_content {
		width: 90%;
		padding: 30px 10px 15px;
	}	
}

.modal_content div.modal_contInner {
	padding: 1em;	
}

.close_button {
	position: absolute;
	top: -32px;
	right: 0;
	font-size: 20px;
	cursor: pointer;
	color: #fff;
}

.modal_wrap input:checked ~ .modal_overlay {
	opacity: 1;
	transform: scale(1);
	transition: opacity 0.5s;
}

.modal_wrap input:checked ~ .modal_overlay .modal_content {
	transform: translateY(10px);
}


.open-button:active {
	/*ボタンを押したとき*/
	-webkit-transform: translateY(2px);
	transform: translateY(2px);/*下に動く*/

}

/*アイコンを表示*/
.open-button:after {
	font-family: "Font Awesome 5 Free";
	content: "\f2d0";
    padding-left: 8px;
}

/*ラベルホバー時*/
.open-button:hover {
	color: #FFFFFF;
	background-color: #4f96f6;
	transition: .6s;
}

.modal_title2 {
	/* font-size: clamp(18px, 1.5625vw, 25px); */
	font-size: 20px;
	text-align: left;
	padding: 0 0 10px 10px;
	border-bottom: 1px solid var(--subColor);
}

label.open_button {
	cursor: pointer;
}

/* もっと見るボタン */
.readmore-content {
	position: relative;
	height: 560px;
	transition: all .4s;
	overflow: hidden;
	z-index: 1;
}
.readmore-content::before {
	position: absolute;
	display: block;
	content: "";
	left: 0;
	bottom: -12px;
	width: 100%;
	height: 75px;
	transition: all .4s;
	background: linear-gradient( rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, #fff 100% );
	z-index: 2;
}
.readmore-content.is_open:before{
	display: none;
}
.work_inner button.more {
	position: absolute;
	display: table;
	left: 50%;
	bottom: -60px;
	margin: 0 auto;
	width: 250px;
	padding: 10px 0;
	color: #fff;
	text-align: center;
	border-radius: 5px;
	background-color: var(--subColor);
	transform: translateX(-50%);
	cursor: pointer;
	z-index: 0;
	transition: all .4s;
	border: none;
}

.modal_workFlex {
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;

	max-width: 800px;
	width: 100%;
	margin: 0 auto;
	text-align: center;
}
.modal_workFlex p {
	display: inline-block;
	text-align: left;
	line-height: 1.5em;
	margin: 1em 0;
	letter-spacing: 2px;
}
.cont_category {
	display: flex;
	gap: 10px;
	margin: 0 0 10px 10px;
}
.cont_category p {
	background-color: var(--subColor);
	color: #fff;
	padding: 2px 10px;
}
.modal_workFlex a.site_link {
	margin-left: auto;
}
.modal_workFlex a.site_link::before {
	content: '\f08e';
	font-family: 'Font Awesome 6 Free';
	font-weight: 900;
	padding: 0 7px 0 0;
	color: var(--subColor2);
}
.modal_workFlex a.site_link:hover {
	opacity: .5;
}