@charset "UTF-8";
/*
Theme Name: 【最新】シンプル　天野企画テーマ１
Author: amanokikaku
Author URI: http://amnk.co.jp/
Description: 2019.5.10
Version: 1.0
*/


:root{
	--main_color:#83BCE1;
	--sub_color:#e3f0ff;
	--yellow_color:#f7e549;
	--dl_blue:#75a7e1;
	--light_blue:#aac9f1;
}
.section-common[data-back="sub-color"] {
    background: var(--sub_color);
}

@layer reset, form, base, layout, design, common;
/*--------------------reset.css--------------------*/
@layer reset {
	html, body, div, span, object, iframe,
	h1, h2, h3, h4, h5, h6, p, blockquote, pre,
	abbr, address, cite, code,
	del, dfn, em, img, ins, kbd, q, samp,
	small, strong, sub, sup, var,
	b, i,
	dl, dt, dd, ol, ul, li,
	fieldset, form, label, legend,
	table, caption, tbody, tfoot, thead, tr, th, td,
	article, aside, canvas, details, figcaption, figure,
	footer, header, hgroup, menu, nav, section, summary,
	time, mark, audio, video {
	  margin: 0;
	  padding: 0;
	  border: 0;
	  outline: 0;
	  background: transparent;
	  font-size: 100%;
	  vertical-align: baseline;
	}

	html{
		width:100%;
		overflow-x:hidden;
	}
	body {
	  -webkit-text-size-adjust: 100%;
	  line-height: 1;
	}
	
	strong{
		font-weight:bold;
	}

	article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	  display: block;
	}

	ol, ul, li {
	  list-style: none;
	}

	blockquote, q {
	  quotes: none;
	}

	blockquote:before, blockquote:after,
	q:before, q:after {
	  content: '';
	  content: none;
	}

	a {
		margin: 0;
		padding: 0;
		background: transparent;
		color:#333;
		font-size: 100%;
		text-decoration: none;
		vertical-align: baseline;
	}

	/* change colours to suit your needs */
	ins {
	  background-color: #ff9;
	  color: #000;
	  text-decoration: none;
	}

	/* change colours to suit your needs */
	mark {
	  background-color: #ff9;
	  color: #000;
	  font-style: italic;
	  font-weight: bold;
	}

	del {
	  text-decoration: line-through;
	}

	abbr[title], dfn[title] {
	  border-bottom: 1px dotted;
	  cursor: help;
	}

	table {
	  border-collapse: collapse;
	  border-spacing: 0;
	}

	/* change border colour to suit your needs
	*/
	hr {
	  display: block;
	  height: 1px;
	  margin: 1em 0;
	  padding: 0;
	  border: 0;
	  border-top: 1px solid #cccccc;
	}

	input, select {
	  vertical-align: middle;
	}

	img{
	  vertical-align: bottom;
	  max-width: 100%;
	  height: auto;
		width:100%;
	}

	iframe {
	  vertical-align: bottom;
	  max-width: 100%;
	}

	th {
	  text-align: left;
	}

	*, *:before, *:after {
	  box-sizing: border-box;
	}
}
/*--------------------reset.cssここまで--------------------*/

/*--------------------form.css--------------------*/
@layer form {
	input[type="text"],
	input[type="email"],
	input[type="tel"],
	input[type="search"],
	input[type="url"],
	input[type="password"],
	input[type="datetime"],
	input[type="date"],
	input[type="month"],
	input[type="week"],
	input[type="time"],
	input[type="datetime-local"],
	input[type="number"],
	input[type="range"],
	input[type="color"],
	input[type="radio"],
	input[type="checkbox"],
	input[type="submit"],
	input[type="button"],
	input[type="image"],
	select,
	button,
	textarea {
	  -webkit-appearance: none;
		 -moz-appearance: none;
			  appearance: none;
	  margin: 0;
	  padding: 0;
	  border: none;
	  border-radius: 0;
	  outline: none;
	  background: none;
	  font-family: "メイリオ", Meiryo, "Noto Sans JP",  sans-serif;
	}

	/* プレースホルダー */
	::-webkit-input-placeholder {
	  color: #ccc;
	}
	:-ms-input-placeholder {
	  color: #ccc;
	}
	::-ms-input-placeholder {
	  color: #ccc;
	}
	::placeholder {
	  color: #ccc;
	}

	/* 入力欄 */
	input[type="text"],
	input[type="email"],
	input[type="tel"],
	input[type="search"],
	input[type="url"],
	input[type="password"],
	input[type="datetime"],
	input[type="date"],
	input[type="month"],
	input[type="week"],
	input[type="time"],
	input[type="datetime-local"],
	input[type="number"],
	input[type="range"] {
	  width: 100%;
	  padding: 0.5em 1em;
	  border: 1px solid #ccc;
	  color: #666666;
	}

	/* 入力欄 */
	input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="url"], input[type="password"], textarea {
		background: #fff;
		font-size: 16px;
		border-radius: 4px;
		box-shadow: inset 1.5px 1.5px 0px #cccccc;
		border: none;
		border-bottom: 1px solid #cccccc;
		border-right: 1px solid #cccccc;
	}

	/* 日付 */
	input[type="datetime"], input[type="date"],	input[type="month"], input[type="week"], input[type="time"], input[type="datetime-local"] {
	  font-size: 16px;
	}

	/* 数値 */
	/* スピンボタン非表示*/
	input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button {
	  -webkit-appearance: none;
	  margin: 0;
	}
	input[type="number"] {
	  -moz-appearance: textfield;
	}

	/* レンジ */
	/* カラーピッカー */
	select {
	  width: 100%;
	  padding: 0.5em 1em;
	  border: 1px solid #ccc;
	  background: url(images/down-select.png) no-repeat right 1em center;
	  cursor: pointer;
	}
	select::-ms-expand {
	  display: none;
	}

	textarea {
	  width: 100%;
	  /* ieでスクロールバー非表示 */
	  padding: 0.5em 1em;
	  overflow: hidden;
	  border: 1px solid #ccc;
	}

	input[type="submit"], input[type="button"], button {
	  cursor: pointer;
	}

	form input[type="radio"] {
	  display: none;
	}
	form input[type="radio"] + span {
		display: inline-block;
		vertical-align: middle;
		cursor: pointer;
		position:relative;
/* 		line-height:1; */
		line-height: 1.35;
	}
	form input[type="radio"] + span:before {
	  margin-right: 0.3em;
	  content: "";
	  width:14px;
	  height:14px;
	  display:inline-block;
	  border-radius:10px;
	  border:1px solid #cccccc;
	  position:relative;
	  top:2px;
	}
	form input[type="radio"]:checked + span:after {
		content: "";
		width:10px;
		height:10px;
		background:var(--main_color);
		display:inline-block;
		border-radius: 5px;
		position: absolute;
		left: 2px;
/* 		top: min(1vw, 7px); */
		top: min(1.5vw, 10px);
	}

	form input[type="checkbox"] {
	  display: none;
	}
	form input[type="checkbox"] + span {
	  display: inline-block;
	  vertical-align: middle;
	  cursor: pointer;
	  position:relative;
		line-height:1;
	}
	form input[type="checkbox"] + span:before {
	  margin-right: 0.3em;
	  content: "";
	  width:14px;
	  height:14px;
	  display:inline-block;
	  border:1px solid #cccccc;
	  position:relative;
	  top:2px;
	}
	form input[type="checkbox"]:checked + span:after {
	  content: "";
	  width: 14px;
	  height: 10px;
	  display: inline-block;
	  position: absolute;
	  left: 1px;
	  top: 3px;
	  border-bottom: 3px solid var(--main_color);
	  border-left: 3px solid var(--main_color);
	  transform: rotate(-45deg);
	}

	.prefbox select{
	  width:100px;
	  margin-bottom:0.5em;
	  font-size:16px;
	}

	.wrap .contact-form table th,.wrap .contact-form table td {
		vertical-align: middle;
	}
	.contact-form button{
		display: block;
		z-index: 1;
		position: relative;
		width: min(300px,100%);
		padding: 0.85rem;
		background: #fff;
		text-align: center;
		transition: 0.5s;
		color: var(--main_color);
		border: 1px solid var(--main_color);
		border-radius: 4px;
		filter: drop-shadow(1px 1px 0px #ccc);
		font-size: 14px;
		margin: min(3vw,25px) auto 0;
	}
	.contact-form button:after {
		-webkit-transform: rotate(45deg);
		display: inline-block;
		position: absolute;
		top: 0;
		right: 1em;
		bottom: 0;
		width: 12px;
		height: 12px;
		margin: auto;
		transform: rotate(45deg);
		border-top: 3px solid var(--main_color);
		border-right: 3px solid var(--main_color);
		content: "";
	}
	.contact-form button:hover{
		background: var(--main_color);
		color: #fff;
		opacity: 1;
	}
	.contact-form button:hover:after{
		border-top: 3px solid #fff;
		border-right: 3px solid #fff;	
	}

	.mw_wp_form_preview .list-caution{
	  display:none;
	}
	
	@media screen and (min-width: 900px),print{
		  select {
/* 			width: 410px; */
		    width: auto;
		  }
		  textarea {
			height: 210px;
			display:block;
			border: none;
			border-bottom: 1px solid #cccccc;
			border-right: 1px solid #cccccc;
		  }
	}
	
	@media screen and (max-width: 640px) {
		textarea {
			height: 60vw;
			display: block;
		}
	}
}
/*--------------------form.cssここまで--------------------*/

/* ////////////////////////////////////////
PC,SP共通 base.css
//////////////////////////////////////// */
@layer base{
body {
	color: #333;
	font-family: "Zen Kaku Gothic New", "游ゴシック",YuGothic,"ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic ProN","メイリオ",Meiryo,sans-serif;
	font-size: min(16px, 3.7vw);
	letter-spacing: .05rem;
	font-weight: 500;
	text-align: justify;
    font-feature-settings: "palt";
	text-rendering: optimizeLegibility;
}
body:not(.index) .main-column{
	font-size: min(3.7vw,18px);
	line-height: min(6vw, 2rem);
	& .noner-img > img{
		border-radius:0;
	}
}
body p{
    line-height: min(7vw, 1.95rem);
}

.block-none{
	display:none!important;
}

.textLeft {
  text-align: left;
}
.textRight {
  text-align: right;
}
.textCenter {
  text-align: center;
}
.textJustify {
  text-align: justify;
  text-justify: inter-ideograph;
}
.weightBold {
  font-weight: bold;
}
.colorBlue {
  color: var(--main_color);
}

body {
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

.main-column{
	container: main-size / inline-size;
	& h2{
		:is(&:not([class]), &.wp-block-heading:not([class*=" "])){
			line-height: 1.75rem;
            margin-bottom: min(7vw, 28px);
            margin-top: min(20vw, 80px);
            font-size: min(5.5vw, 22px);
            padding: min(3vw, 12px);
            background: #f3f3f3;
            font-weight: bold;
		}
	}
	& h3:not(.box-post-text h3):not(.box-post-archive h3){
		:is(&:not([class]), &.wp-block-heading:not([class*=" "])){
			margin: min(5vw,1rem) 0;
			padding: min(2vw,0.25rem) 0;
			font-size: min(4.5vw,20px);
			line-height: 1.25;
			border-bottom: 2px solid var(--main_color);
		}
	}
	& .box-post-text h3{
		:is(&:not([class]), &.wp-block-heading:not([class*=" "])){
			margin:0;
			border-bottom:none;
			padding:0;
		}
	}
	& .box-post-archive h3{
		:is(&:not([class]), &.wp-block-heading:not([class*=" "])){
            width: 100%;
            line-height: 1.5;
            font-size: min(4.3vw, 20px);
            padding: 0;
            border: none;
            font-weight: bold;
            margin: min(2vw, 15px) 0;
		}	
	}
	& h4{
		:is(&:not([class]), &.wp-block-heading:not([class*=" "])){
			margin: min(8vw, 2rem) 0 min(3vw, 0.5rem);
			padding-left: min(2.5vw, 1rem);
			font-size: min(4vw,18px);
			line-height: 1.25;
			border-left: 4px solid var(--main_color);
		}
	}
	& > .card > div > *:first-child{
		margin-top:0;
	}
	& p{
		& + ul{
			:is(&:not([class]), &.wp-block-list:not([class*=" "])){
				margin-top:min(4vw,1rem);
			}
		}
		& + ol{
			:is(&:not([class]), &.wp-block-list:not([class*=" "])){
				margin-top:min(4vw,1rem);
			}
		}
	}
	& ul {
		& li {
			position: relative;			
			& + li{
				margin-top: 0.4rem
			}
		}
		:is(&:not([class]), &.wp-block-list:not([class*=" "])){
			& li:not([class]){
				line-height: 1.55;
				padding-left: min(4vw,1.05rem);
				&::before{
					content: "";
					display: block;
					position: absolute;
					top: 7px;
					left: 2px;
					width: min(1.9vw,8px);
					height: auto;
					aspect-ratio: 1;
					background: var(--main_color);
					border-radius: 15px;
				}
			}
		}
	}
	& ol{
		counter-reset: ol-count;
		& > li {
			position: relative;
			line-height: 1.55;
			&:before {
				counter-increment: ol-count;
				content: counter(ol-count);
			}
			[style*="upper-alpha"] &:before {
				content: counter(ol-count, upper-alpha);
			}
			[style*="lower-alpha"] &:before {
				content: counter(ol-count, lower-alpha);
			}
			[style*="upper-roman"] &:before {
				content: counter(ol-count, upper-roman);
			}
			[style*="lower-roman"] &:before {
				content: counter(ol-count, lower-roman);
			}
			& + li{
				margin-top: 0.4rem
			}
		}
		:is(&:not([class]), &.wp-block-list:not([class*=" "])){
			& li:not([class]){
				padding-left: min(7vw,1.5rem);
				&::before{
					counter-increment: ol-count;
					content: counter(ol-count);
					color: #fff;
					font-weight: bold;
					background: var(--main_color);
					line-height: 1;
					display: flex;
					align-items: center;
					justify-content: center;
					padding: min(1.3vw,0.35rem) min(1.3vw,0.2rem) min(1.3vw,0.2rem);
					width: min(4.8vw,20px);
					height: min(4.8vw,20px);
					border-radius: 50%;
					font-size: 80%;
					position: absolute;
					left: 0;
					top: 1px;
				}
				[style*="lower-alpha"] &:before {
					color: var(--main_color);
					font-weight: bold;
					content: counter(ol-count, lower-alpha) ".";
					background: none;
					border-radius: 0;
					padding: 0;
					top: 2px;
					font-size: 100%;
				}
				[style*="upper-roman"] &:before {
					color: var(--main_color);
					font-weight: bold;
					content: counter(ol-count, upper-roman) ".";
					background: none;
					border-radius: 0;
					padding: 0;
					top: 2px;
					font-size: 100%;
				}
				[style*="lower-roman"] &:before {
					color: var(--main_color);
					font-weight: bold;
					content: counter(ol-count, lower-roman) ".";
					background: none;
					border-radius: 0;
					padding: 0;
					top: 2px;
					font-size: 100%;
				}
			}
		}
	}
}

.main-column p + p {
    margin-top: min(3vw,1rem);
}
p{
  word-break: break-all;
}
p:not([class]) a{
	text-decoration:underline;
	&:link{
		color:var(--main_color);
	}
	&:active{
		color:var(--light_blue);
	}
	&:hover{
		color:var(--main_color);
	}
	&:visited{
		color:var(--dl_blue);
	}
}	
	
.clearfix:after {
  display: block;
  clear: both;
  content: "";
}
.flexCenter {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  width: 100%;
}
.flexLeft {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
}
.flexRight {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-end;
}
.fullWidth {
  width: 100%;
}
.wp-block-image figcaption{
  text-align:center;
  margin:15px 0 0;
  font-size:14px;
}
	
/*
* object-fitのclassとie対応（ofi.js必要）
*/
.ofi-cover {
  -o-object-fit: cover;
     object-fit: cover;
  font-family: "object-fit: cover;";
}

.ofi-contain {
  -o-object-fit: contain;
     object-fit: contain;
  font-family: "object-fit: contain;";
}

.wrap-zoom {
	overflow: hidden;
	border-radius: 0.4rem;
}
.wrap-zoom > img {
  transition: 0.5s;
	width:100%;
    height: auto;
    aspect-ratio: 36 / 29;
}
.wrap-zoom > img:hover {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

/*　疑似要素テキスト　*/
.attrTextLeft:before, .attrTextTop:before, .attrTextBottom:after, .attrTextRight:after {
  content: attr(data-text);
}

.attrTextLeft:before, .attrTextRight:after {
  display: inline-block;
}

.attrTextTop:before, .attrTextBottom:after {
  display: block;
}

/*　疑似要素テキスト　*/
/*　疑似要素アイコン　*/
.attrIconLeft:before, .attrIconTop:before, .attrIconBottom:after, .attrIconRight:after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 28px;
  background: var(--main_color);
  position: absolute;
  left: -36px;
  top: -2px;
  border-radius:5px;
}

.attrIconLeft:after{
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background:url(images/tel.svg);
  background-size:cover;
  position: absolute;
  left: -36px;
  top: -2px;
  border-radius:5px;
  margin:5px;
}

.attrIconTop:before, .attrIconBottom:after {
  display: block;
}

.attrIconLeft:before, .attrIconRight:after {
  display: inline-block;
}


/* 共通色指定
*************************** */
.btn-contact, .pagetop, .category-post, .slick-dots li.slick-active button:before,
.sp-nav,
.wpcf7-submit {
  background:var(--main_color);
  color: #fff;
}
.global-nav .sub-menu > li > a{
  background:var(--main_color);
	color:#fff;
	&:hover{
		color: #333;
	}
}
.main-slider .slick-prev:before, .main-slider .slick-next:before {
  color: #fff;
}

/* カテゴリ表示の背景色 */
/* .bg-cate-1 {
  background: #ffae5e;
}
.bg-cate-2 {
  background: #7a5b44;
}
.bg-cate-3 {
  background: #57b7e8;
}
.bg-cate-4 {
  background: #8fc31f;
}
.bg-cate-5 {
  background: #7e2a00;
}
.bg-cate-6 {
  background: #00a29a;
}
.bg-cate-7 {
  background: #f29c97;
}
.bg-cate-8 {
  background: #9082a4;
}
.bg-cate-9 {
  background: #e6001b;
}
.bg-cate-10 {
  background: #0047cf;
} */

/* カテゴリ表示の背景色 */


/* ウィジェット
*************************** */
.widget_nav_menu li > a {
  padding: 1em 1em;
}

#gallery-1 .gallery-item, #gallery-2 .gallery-item {
  margin-top: 0 !important;
  margin-bottom: 0.5em;
}

#gallery-1 .gallery-caption, #gallery-2 .gallery-caption {
  padding: 0.5em 0;
  line-height: 1.25;
}

/* 見出し */
.contents-page h2, .contents-page h3, .contents-page h4 {
  margin-bottom: 28px;
  line-height: 1.5;
}

.contents-page h2 {
  padding: 0.5em;
  font-size: 22px;
  font-weight: bold;
}

.contents-page h3 {
  padding: 0.5em;
  border-bottom: 1px solid #ccc;
  font-size: 20px;
}

.contents-page h4 {
  padding: 0.5em;
  font-size: 18px;
  font-weight: bold;
}

.contents-page h2 .mincho {
  font-size: 24px;
}

/* 見出し */
.contents-page p, .contents-page span {
  line-height: 1.75;
}
.contents-page img {
  max-width: 100%;
  height: auto;
}

.inner-main h1 {
  margin-bottom: 1em;
}

.inner-main p {
  letter-spacing: 0.1em;
  line-height: 1.75;
}

.wrap-2column .list-post{
  margin-top:-20px;
}

.main-column > p{
  text-align: justify;
  line-height:2.3;
	letter-spacing:.05em;
}

.main-column .has-text-align-right{
	text-align:right;
}

.main-column .has-text-align-center{
	text-align:center;
}

.main-columnc .is-style-outline .wp-block-button__link {
    background-color: transparent;
	text-decoration:none;
}
.is-style-outline .wp-block-button__link:after{
	-webkit-transform: rotate(45deg);
    display: inline-block;
    top: 0;
    right: 1em;
    bottom: 0;
    width: 10px;
    height: 10px;
    margin: auto;
	margin-left:10px;
    transform: rotate(45deg);
    border-top: 2px solid var(--main_color);
    border-right: 2px solid var(--main_color);
    content: "";
}

.main-column pre{
  max-width:100%;
  font-size: 14px;
  text-align: justify;
  line-height: 1.7;
  white-space: pre-wrap ;
}

.main-column table{
  width:100%;
}

/*テーブル*/
.main-column table th, .main-column table td{
   line-height: 1.75;
}
.main-column table th{
  padding: 1em 1em;
  vertical-align: top;
}
.main-column table td{
  padding: 1em 1em;
  vertical-align: top;
}

/*間隔*/
.section-common{
	padding:min(20vw, 160px) 0;
}
.contents{
    width: min(100%,1260px);
    padding: 0 min(8vw,30px);
    margin: 0 auto;
	& img:not(.noner-img){
		border-radius:0.4rem;
	}
}
.wrap-1column .contents, .wrap-1column-narrow .main-column{
    width: min(100%,1020px);
    margin: 0 auto;
}
.wrap-2column {
    gap: min(8vw, 40px);
}
.wrap-2column .main-column {
    flex: 1;
}
.fullvw-width{
	width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    max-width: unset;
}

/**********************************
 * パスワード画面
 * ********************************/
div:not(.contents):has(section:not(.main-column)) .post-password-form{
    width: min(100%, 1280px);
    padding: 0 min(8vw, 40px);
    margin: 0 auto;
}
.post-password-form{
    text-align: left;
}
.post-password-form input[type="submit"]{
	background: #333;
    color: #fff;
    padding: 0.2rem 0.8rem;
    border-radius: 5px;
    margin-top: 0.7rem;
}
.post-password-form input[type="submit"]:hover{
	opacity:0.8;
}

/**************************
 * リンク
 * ************************/
a:not([href]){
    cursor: default;	
}
a:has([href]):hover{
	opacity: 0.7;
	transition: 0.2s;	
}
.btn-archive {
display: block;
    z-index: 1;
    position: relative;
    width: min(100%, 550px);
    margin: min(7vw, 65px) auto 0;
    padding: min(5vw, 1.3rem) min(13vw, 3rem) min(5vw, 1.3rem) min(6vw, 1.5rem);
    transition: 0.5s;
    border-radius: 25rem;
    background: #fff;
    line-height: 1.3rem;
	box-shadow:-5px -5px 20px rgba(193, 193, 193, 0.16), 2px 4px 20px rgba(0, 0, 0, 0.06);
	font-weight:bold;
}
.btn-archive:hover{
	box-shadow:-5px -4px 10px rgba(193, 193, 193, 0.16), 2px 4px 10px rgba(0, 0, 0, 0.06);
	opacity:1;
}
.btn-archive:after {
    content: "";
	background:url(images/btn-deco.png) center/contain no-repeat;
    display: block;
    position: absolute;
	transform:translatey(-50%);
	top:50%;
	right:1.5rem;
	width:17px;
    height: auto;
	aspect-ratio:1;
}
.btn-archive:hover:after{
	animation: kurukuru 1.4s ease-out;
}
@keyframes kurukuru {
	0%{
		rotate: Y 0deg;
	}
	100%{
		rotate: Y 360deg;
	}
}


/******************************************
 * *ヘッダー
* *****************************************/
.header {
    z-index: 6;
    background: #fff;
	position: fixed;
	left: 0;
	top: 0;
	transition: all 0.5s 0.5s;
}
.header.over{
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);	
}
.inner-header {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px;
}
.wrap-logo {
  display: flex;
  align-items: center;
}
.wrap-logo .logo {
  display: block;
}
.wrap-logo .logo:hover {
  opacity:1;
}
.wrap-logo .logo img {
	display: block;
	max-width: 100%;
	height: auto;
	width:100%;
	aspect-ratio:423/160;
	transition: 0.3s;
	@media(width > 900px){
		&.sp{
			display:none;
		}
	}
	@media(width < 901px){
		&.pc{
			display:none;
		}
	}
}
.head-header {
    margin-left: min(2vw,1.7rem);
	line-height: 1.25;
    margin-top: 5px;
	font-size:14px;
}
.head-header > *{
	font-weight: 500;
	line-height: 1;
}
.header-tel{
	background:var(--main_color);
	color:#fff;
	display:flex;
	flex-direction:column;
	position:relative;
	padding:min(5vw,1rem) min(3vw,0.5rem) min(5vw,1rem) min(7vw,3.3rem);
	font-weight:bold;
}
.header-tel:before{
	content: "";
    background: url(images/tel.svg) center/contain no-repeat;
    width: min(3.5vw,33px);
    height: auto;
    aspect-ratio: 23/30;
    position: absolute;
    left: min(1.2vw,0.9rem);
    transform: translatey(-50%);
    top: 51%;
}
.htel{
	display:block;
	width:100%;
    font-size: min(3.1vw,35px);
	line-height:1;
}
.htime-holi{
	display:block;
	width:100%;
	font-size: min(1.15vw,12px);
	line-height:1;
	margin-top:0.15rem;
	text-align:center;
}
.hd-bnt-link{
    display: grid;
    width: auto;
    white-space: nowrap;
    grid-template-columns: 1fr 1fr;
	& a{
		display:flex;
		justify-content:center;
		align-items:center;
		text-align:center;
		padding:1rem 1.3rem;
		border-radius:25rem;
		box-shadow:-5px -5px 20px rgba(193, 193, 193, 0.16), 2px 4px 20px rgba(0, 0, 0, 0.06);
		transition:0.5s;
		&:hover{
			box-shadow:0px 0px 10px 5px rgba(0, 0, 0, 0.2);
			opacity: 1;
		}
	}
	@media(width > 900px){
		gap:5px;
	}
	@media(900px < width < 1550px){
		display:none;
	}
	@media(width < 900px){
		display: flex;
		flex-wrap: wrap;
		gap:1rem;
		margin: 30px 20px 0;
		& a{
			width:100%;
		}
	}
}
.hd-giburi{
	background:linear-gradient(#f7e33a, #f9ea69);
}
.hd-contact{
	background:linear-gradient(#73abdb, #aecafa);
	color:#fff;
}
	
.nav > .contents {
    width: 100%;
    padding: 0;
}
	
/*PCメニュー*/
.global-nav {
	display: flex;
	z-index: 2;
    gap: min(1.5vw, 1.8rem);
    margin-right: min(1.5vw, 1.2rem);
}
.global-nav > li {
  position: relative;
}
.global-nav > li > a {
	display: block;
	text-align: center;
	position:relative;
	font-weight:bold;
	@media(901px < width < 1151px){
		font-size:min(3.2vw,14px);
	}
	&::after{
		content:"";
		display:block;
		background:var(--main_color);
		margin-top:0.5rem;
		height:3px;
		width:0;
		    transition: width 0.5s ease;
	}
	&:hover{
		opacity:1;
		&::after{
			width:100%;
		}
	}
}
	
.global-nav > li > a span{
  display:block;
  font-size:10px;
  margin-top:4px;
  margin-bottom:-4px;
}
.global-nav > li:before {
  content: none;
  display: block;
  height: 1px;
  width:0;
  background: var(--main_color);
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  margin: 0 auto;
  transition:0.5s;
}
.global-nav > li:hover:before {
  width: 80%;
}
.global-nav > li > ul {
  z-index: 2;
  position: absolute;
  top: calc(100% + 0px);
  left: 50%;
    transform: translateX(-50%);
    width: 13rem;
  height:auto;
  opacity: 0;
  transition:0.5s;
  visibility: hidden;
}
.global-nav > li:hover > ul{
  height:auto;
  opacity:1;
  transition:0.5s;
  top: calc(100% + 15px);
  visibility: visible;
}
.global-nav > li:hover > ul:before{
  content:"";
  display:block;
  height:15px;
  width:100%;
  position:absolute;
  top:-15px;
  right:0;
  left:0;
  margin:0 auto;
}
.global-nav > li:hover > ul:after{
  content:"";
  height:0;
  width:0;
  display:block;
  border-color: transparent transparent var(--main_color);
  border-style: solid;
  border-width: 0 10px 10px;
  position:absolute;
  top:-10px;
  right:0;
  left:0;
  margin:0 auto;
  z-index:-1;
}
.global-nav > li > ul.sub-menu > li > ul > li{
	position:relative;
}
.global-nav > li > ul.sub-menu > li > ul > li:nth-child(1):before{
  content: "";
  height: 0;
  width: 0;
  display: block;
  border-color: transparent transparent #104f82;
  border-style: solid;
  border-width: 10px 10px 10px;
  position:absolute;
  top: 0;
  bottom: 0;
  left: -20px;
  margin: auto 0;
  z-index:2;
  transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
}
.global-nav > li:last-child > ul.sub-menu > li > ul > li:nth-child(1):before{
  left:initial;
  right: -20px;
  transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
}
.global-nav > li > ul.sub-menu > li a:hover{
	background:var(--sub_color);
	color:#333;
  opacity:1;
}
.global-nav > li > ul > li{
  position:relative;
  transition:0.5s;
}
.global-nav > li > ul > li > ul{
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  opacity:0;
  visibility:hidden;
  transition:0.5s;
  z-index:1;
}
.global-nav > li > ul > li:hover > ul{
  opacity:1;
  visibility:visible;
  transition:0.5s;
}
.global-nav > li:last-child > ul > li > ul{
  right:100%;
  left:initial;
}
.global-nav > li > ul > li > ul > li{
  opacity:0;
  visibility:hidden;
}
.global-nav > li > ul > li:hover > ul > li{
  opacity:1;
  visibility:visible;
}
.global-nav > li > ul.sub-menu > li > ul > li > a{
  background:#104f82;
}
.global-nav .sub-menu li:not(:last-child) {
  border-bottom: 1px solid #c9caca;
}
.global-nav .sub-menu a {
  display: block;
  padding: 1em;
  text-align: center;
}
.global-nav li > ul > li > a{
	z-index:10;
}

/*モバイルメニュー*/
.check {
  display: none;
}
.check + .parent {
  display: flex;
  justify-content: space-between;
  padding: 0.75em 1em;
  background: var(--main_color);
  color: #fff;
  line-height: 1.25;
  cursor: pointer;
}
.check + .parent:after {
  content: "▼";
}
.check + .parent + ul {
  display: none;
}
.check:checked + .parent:after {
  content: "▲";
}
.check:checked + .parent + ul {
  display: block;
}
.drawer-nav > li,.drawer-nav > li > ul > li,.drawer-nav > li > ul > li > ul >li {
  position: relative;
  border-bottom: 1px solid #ccc;
  line-height: 1.75;
}
.drawer-nav > li > ul > li:last-child,.drawer-nav > li > ul > li > ul >li:last-child {
  border-bottom: none;
}
 .drawer-nav > li > a,.drawer-nav > li > ul > li > a,.drawer-nav > li > ul > li > ul > li > a {
    z-index: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 50px;
	white-space: normal;
    word-break: break-word;
}
.drawer-nav > li > ul > li > a {
	background:#eeeeee;
}
.drawer-nav li a span{
  display:none;
}
.drawer-nav .sub-menu {
  display: none;
  border-top: 1px solid #ccc;
}
.drawer-nav a {
  display: block;
  padding: 0.5em 1em;
  position: relative;
}
.drawer-nav .btn-sub + a:after {
	content:none;
}
.drawer-nav .btn-sub {
    z-index: 2;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 50px;
    margin: auto;
    color: #999999;
}
.drawer-nav .fa-angle-down:before{
    content: "";
    border-top: 3px solid #999;
    border-right: 3px solid #999;
    height: 9px;
    width: 9px;
    position: absolute;
    top: 47%;
    right: 10%;
    transform: translate(75%,-50%) rotate( 135deg );
}
.drawer-nav .fa-angle-up:before{
    content: "";
    border-top: 3px solid #999;
    border-right: 3px solid #999;
    height: 9px;
    width: 9px;
    position: absolute;
    top: 44%;
    right: 8%;
    transform: rotate( -45deg );
}
.list-sp-menu {
  display: none;
}
.list-sp-menu li {
    width: 40px;
}
.sp-menu {
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
  text-align: center;
}
.sp-menu span {
  -webkit-transform: scale(0.8, 0.8);
  display: block;
  padding-top: 0.5em;
          transform: scale(0.8, 0.8);
  font-size: 10px;
  letter-spacing: 0;
}
.sp-menu:before {
  color: var(--main_color);
  font-size: 24px;
}
.nav-open {
  display: flex;
  flex-flow: column nowrap;
  justify-content: flex-end;
}
.nav-open:after {
  -webkit-transform: scale(0.8, 0.8);
          transform: scale(0.8, 0.8);
  font-size: 10px;
  text-align: center;
  content: "MENU";
}

#nav-content .logo {
    display: block;
	width: 65%;
    margin: 0.5rem auto;
}
#nav-drawer {
  position: relative;
}
/*チェックボックス等は非表示に*/
.nav-unshown {
  display: none;
}
#nav-open {
  z-index: 10000;
  position: absolute;
  top: 13px;
  right: 10px;
  width: 35px;
  height: 40px;
  margin: auto;
  vertical-align: middle;
}
#nav-open:hover {
  cursor: pointer;
}
#nav-open span {
  position: absolute;
  right: 0;
  left: 0;
  width: 80%;
  height: 3px;
  margin: auto;
  background: var(--dl_blue);
  transition: all 0.5s;
}
#nav-open span:nth-of-type(1) {
  top: 2px;
}
#nav-open span:nth-of-type(2) {
  top: 11px;
}
#nav-open span:nth-of-type(3) {
  top: 20px;
}

/*閉じる用の薄黒カバー*/
.btn-close {
    margin: 40px;
    padding: 1em;
    text-align: center;
    cursor: pointer;
    border: #666666 1px solid;
}
.btn-close:before {
	content:"×";
}
#nav-input:checked ~ #nav-open span:nth-of-type(1) {
  -webkit-transform: translateY(9px) rotate(-45deg);
          transform: translateY(9px) rotate(-45deg);
  transition: all 0.5s;
}
#nav-input:checked ~ #nav-open span:nth-of-type(2) {
  opacity: 0;
}
#nav-input:checked ~ #nav-open span:nth-of-type(3) {
  -webkit-transform: translateY(-9px) rotate(45deg);
          transform: translateY(-9px) rotate(45deg);
  transition: all 0.5s;
}
	
/*********************************
 * フッター
 * ********************************/
.footer {
	position:relative;
	overflow:hidden;
	margin-top:auto;
	&::before{
		content:"";
		display:block;
		background:url(images/footer-deco.png) center/contain;
		z-index:-1;
		position:absolute;
		translate:-50% 0%;
		top:10%;
		left:50%;
		width: min(100%, 1340px);
		height:auto;
		aspect-ratio:1340/1447;
	}
	@media(width < 641px){
		&::before{
			width: 210vw;
		}
	}
}
.footer-top {
    padding: min(20vw, 130px) 0;
	& .contents{
		width: min(100%, 1470px);
	}
	@media(width < 901px){
		padding-top: min(9vw, 44px);
	}
}
.inner-footer-top {
	display: flex;
	justify-content: space-between;
	gap: min(5vw,45px);
	@media(901px < width < 1146px){
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
}
.box-info-footer {
    width: min(70vw, 343px);
    text-align: center;
}
.box-info-footer .logo {
	display: block;
    margin-bottom: min(6vw, 35px);
	@media(width < 901px){
		width: min(100%, 230px);
		margin-bottom: min(4vw, 18px);
	}
}
.box-info-footer img {
	width: 100%;
	height: auto;
}
.info-footer {
	line-height: 1.35;
	font-size: min(3.7vw,15px);
}
.info-footer > * + *{
	margin-top:0.2rem;
}
.sns-link{
	gap:min(4vw,15px);
    display: flex;
	& li{
		width: min(15%,52px);
		& a{
			display:block;
			& img{
				width:100%;
			}
		}
	}
}
.footer-one .sns-link{
    justify-content: center;
    margin-top: min(4vw, 25px);
    margin-bottom: 0;
	width: 100%;
}
.wrap-footer-nav {
    display: flex;
    justify-content: end;
    margin-top: auto;
}
.footer-nav + .footer-nav{
    margin-left: min(4vw, 65px);
}
.wrap-footer-nav .footer-nav li {
	& + li{
		margin-top:1rem;
	}
	& a{
		& + ul{
			margin-top:1rem;
		}
	}
}
.wrap-footer-nav .footer-nav li a span{
  display:none;
}
.wrap-footer-nav .footer-nav li a{
	padding:0;
    display: block;
	font-weight:bold;
    line-height: 1.25;
    font-size: min(1.6vw,15px);
}
.copyright {
    text-align: center;
	padding:min(3vw,1.8rem) 0;
	width:min(100%,1720px);
	margin:0 auto;
	border-top: 1px solid #878787;
    font-family: "EB Garamond", serif;
    font-size: min(3.2vw, 16px);
}
.footer-nav .sub-menu li a{
	position:relative;
	display:flex;
	gap:0.35rem;
	&::before{
		content:"ー";
		display:block;
	}
}
	
/* シンプルフッター */
.simple-footer-nav {
    display: flex;
    justify-content: center;
}
.simple-footer-nav li a {
    padding: 0 1em;
    font-size: min(3vw,12px);
}
.simple-footer-nav li ul{
	display:none;
}

/*フッター　ワンカラム*/
.footer-one{
    padding: min(11vw,75px) 0 min(10vw,20px);
}
.inner-footer-one .box-info-footer{
	width:100%;
	margin-bottom: min(10vw,60px);
}
.inner-footer-one .box-info-footer .logo{
    width: min(70vw,385px);
	margin-left: auto;
    margin-right: auto;
}
.inner-footer-one .info-footer{
	text-align:center;
}
	
/******************************************
*投稿モジュール
* *****************************************/
.list-post .box-post-text{
	border-bottom: 1px solid #b4b4b4;
	&:first-of-type{
		border-top:1px solid #b4b4b4;
	}
}
.box-post-text a {
    display: flex;
    align-items: center;
    padding: min(4vw,17px) min(8.5vw,40px) min(4vw,17px) 0;
    position: relative;
    gap: min(2vw,22px);
    flex-wrap: wrap;
}
.box-post-text a:after {
    content: "";
	mask:url(images/arrow.svg) center/contain no-repeat;
	-webkit-mask:url(images/arrow.svg) center/contain no-repeat;
	background:#d9d9d9;
    display: block;
    position: absolute;
    transform: translatey(-50%);
    top: 50%;
    right: 0;
    width: min(5.5vw,28px);
    height: auto;
    aspect-ratio: 1;
}
.box-post-text time {
    margin-right: 0;
    font-size: min(3.2vw,14px);
}

.box-post-text h3 {
	margin:0;
	padding:0;
	position:relative;
    line-height: 1.45;
	color: #333;
	display:-webkit-box;
	-webkit-box-orient:vertical;
	-webkit-line-clamp:1;
	overflow:hidden;
	text-align:left;
}

.wrap-post-img-text {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(min(100%,350px),1fr));
    gap: min(14vw,45px);
}

.box-post-img-text a {
	display: block;
	height: 100%;
}
.img-text-top1{
	font-size: min(4.5vw, 18px);
	margin-bottom: min(4.5vw, 20px);
	line-height: 1.2rem;
	&:has( + .img-text-top2){
		margin-bottom: min(2.5vw, 7px);
	}
}
.img-text-top2{
	color: #878787;
	font-size: min(3.7vw, 14px);
	margin-bottom: min(4.5vw, 20px);
	line-height: 1.2rem;
}
.img-text-info{
    display: flex;
    flex-direction: column;
    margin-top: min(5.5vw,27px);
}
.img-text-title{
	font-size: min(4.5vw,18px);
	line-height: 1.25;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	overflow: hidden;
}
.img-text{
    line-height: min(5.7vw, 1.65rem);
    font-size: min(3.5vw, 15px);
    margin-top: min(5vw, 10px);
	display:-webkit-box;
	-webkit-box-orient:vertical;
	-webkit-line-clamp:2;
	overflow:hidden;
}

.time-post{
    display: block;
    font-size: 14px;
    margin-right: 5px;;
}

.wrap-1column .box-post-img-text .btn-flex{
    display: flex;
    flex-flow: column;
    justify-content: space-between;	
	height: 100%;
}

.wrap-1column .box-post-img-text h3[subtxt] {
	display: flex;
    flex-flow: column;
    align-items: baseline;
}

.wrap-1column .box-post-img-text h3[subtxt]:after {
    content: attr(subtxt);
    font-size: 14px;
    font-weight: normal;
    line-height: 1;
    color: var(--main_color);
}

.wrap-2column .wrap-post-archive{
  margin-top:max(-20px, -8vw);
}

.wrap-post-archive h3{
	text-align:left;
}

.box-post-archive:not(:last-of-type) {
  border-bottom: 1px solid #ccc;
}

.box-post-archive a {
    display: flex;
    align-items: flex-start;
    width: 100%;
    padding: 20px 0;
    position: relative;
}

.wrap-1column .box-post-archive a {
  padding: min(40px,8vw) 0;
}

.wrap-1column .box-post-archive:first-of-type a {
    padding-top: 0;
}

.box-post-archive a:after {
    content: "";
    content: "続きを読む";
    padding-right: 20px;
	display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    height: 14px;
    background: url(images/triangle.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
    margin-top: 15px;
    position: absolute;
	bottom: 20px;
	right: 0;
}

.wrap-1column .box-post-archive a:after {
	bottom: min(40px,8vw);
}

.box-post-archive a > div:nth-child(1) {
  width: 250px;
  margin-right: 20px;
}

.box-post-archive a > div:nth-child(2) {
    position: relative;
    width: calc(100% - 270px);
    display: flex;
    flex-flow: column;
    align-items: flex-end;
    height: 100%;
}

.box-post-archive a > div:nth-child(2) >div {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    width: 100%;
}

.box-post-archive img {
  width: 100%;
  height: auto;
    aspect-ratio: 3/2;
}

.box-post-archive time {
  display: block;
  font-size: 14px;
  line-height: 20px;
}

.box-post-archive time:before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background: url(images/date.svg);
  background-size: cover;
  margin-right: 5px;
  position: relative;
  top: 2px;
}

.wrap-1column .box-post-archive h3 {
  width: 100%;
line-height: 1.5;
  font-size:20px;
  margin:0;
  padding:0;
  border:none;
  font-weight: bold;
margin-top:15px;
margin-bottom:15px;
}

.box-post-archive p {
  width: 100%;
  line-height: 1.5;
  font-size:14px;
  margin-top:5px;
  position:relative;
  text-align: justify;
}

.box-post-archive-side a {
  display: flex;
  align-items: flex-start;
  width: 100%;
}

.box-post-archive-side a > div:nth-child(1) {
  width: 75px;
  margin-right:10px;
}

.box-post-archive-side a > div:nth-child(2) {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  width: calc(100% - 96px);
}

.box-post-archive-side img {
  width: 100%;
	height:75px!important;
  height: auto;
}

.box-post-archive-side time {
display: block;
font-size: 10px;
line-height:10px;
margin-bottom:4px;
}

.box-post-archive-side h3 {
  width: 100%;
  line-height: 1.35;
}

.box-post-archive-side .category-post {
  display:none;
  width: 70px;
  padding:0 5px;
  height: 14px;
  border-radius: 3px;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.wrap-post-archive-side{
	margin-top:12px;
}

.wrap-post-archive-side .box-post-archive-side:not(:last-child){
	margin-bottom:15px;
}

.category-post {
  display: inline-block;
  width: 80px;
  height: 20px;
  border-radius: 3px;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
}

.box-post-text .category-post {
    width: auto;
    padding: min(1vw,0.45rem) min(3vw,0.8rem) min(1.2vw,0.4rem);
    height: auto;
    white-space: nowrap;
    margin: 0;
    line-height: 1.25;
    font-size: min(3vw,13px);
}

/*お客様の声モジュール*/
.work-tcadr{
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: min(3vw, 13px);
    margin-top: min(6vw, 30px);
	gap: 0.5rem 0;
	& li{
		position:relative;
		display:flex;
		line-height:1;
		&:not(:last-of-type):after{
			content:"／";
			display:block;
			margin:0 0.15rem;
		}
	}
}
.main-column {
    & p {
        & + .work-tcadr {
			& li {
				& + li {
					margin-top: 0;
				}
			}
        }
    }
}
.work-tcadr .time-post{
    margin-right: 0;
    font-size: inherit;
}
.work-tcadr .category-post{
    font-size: inherit;
	width:auto;
	height:auto;
	line-height:1;
	background:none;
	color:#333;
}
.wrap-post-img-text + .flexCenter .btn-archive{
    margin-top: min(14vw,70px);
}

/*フッターお問い合わせ*/
.index .contact-box{
	margin-top: min(20vw, 110px);
}
.contact-box{
    padding: min(20vw, 147px) 0;
	position:relative;
	&::before{
		content: "";
        display: block;
        position: absolute;
        translate: -50% -50%;
        top: 50%;
        left: 50%;
        width: 100%;
        height: 100%;
        background: url(images/contact-back.jpg) center / cover no-repeat;
        z-index: -1;
	}
	& p{
		font-size:min(3.6vw,16px);
	}
	@media(width > 900px){
		&::before{
			width: 90%;
			border-radius: 0.5rem;
		}
	}
	@media(900px < width < 1401px){
		&::before{
			width: min(100%, 1720px);
            padding: 0 min(8vw, 30px);
            margin: 0 auto;
		}
	}
}
.contact-box-tel{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-box-tel .header-tel{
    background: none;
    color: #333;
	padding:0;
	margin:0;
}
.contact-box-tel .header-tel:before {
	display:none;
}
.contact-box-tel .htel{
    font-family: "EB Garamond", serif;
    font-weight: 500;
    font-size: min(11vw, 46pt);
    position: relative;
    padding: 0 0 0 min(9vw, 60px);
	&::before{
		content: "";
		background:url(images/tel-line.svg) center/contain no-repeat;
        width: min(6.5vw, 45px);
        height: auto;
        aspect-ratio: 1;
        position: absolute;
        left: 0;
        transform: translatey(-50%);
        top: 62%;
	}
}
.contact-box-tel .htime-holi{
    margin-top: 0.75rem;
    font-size: min(3.7vw, 16px);
}

/*サイドバー*/
.company_tel a, .company_fax a{
	pointer-events:none!important;
}
.sidebar img {
  max-width: 100%;
  height: auto;
}
.widget_nav_menu:not(:last-child),
.box-side:not(:last-child) {
  margin-bottom: 30px;
}
.widget_nav_menu h3,
.head-side {
  position: relative;
  padding:9px 0;
  font-size: 16px;
  font-weight: bold;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background: var(--sub_color);
  margin-bottom:15px;
  line-height: 1;
}
.widget_nav_menu h3:before,.head-side:before,.widget_nav_menu h3:after,.head-side:after {
  display: block;
  content:none;
  height: 16px;
  background-color: #eeeeee;
  -webkit-box-flex: 1;
  -ms-flex: 1 0 0%;
  flex: 1 0 0%;
  min-width: 20px;
}
.widget_nav_menu h3:before,.head-side:before{
  margin-right:0.5em;
}
.widget_nav_menu h3:after,.head-side:after {
  margin-left:0.5em;
}
.widget_nav_menu .menu > li{
  position:relative;
}
.widget_nav_menu .menu > li,.list-side > li:not(:last-of-type) {
  border-bottom: 1px solid #eee;
}
.widget_nav_menu .menu > li a,
.list-side > li a {
  display: block;
  position: relative;
  padding: 0.75em 0;
  background: #fff;
  line-height: 1.25;
}
.widget_nav_menu .menu > li a:after{
	-webkit-transform: rotate(45deg);
    display: inline-block;
    position: absolute;
    top: 0;
    right: 1em;
    bottom: 0;
    width: 10px;
    height: 10px;
    margin: auto;
    transform: rotate(45deg);
    border-top: 2px solid #999;
    border-right: 2px solid #999;
    content: "";
}
.widget_nav_menu ul > li > ul.sub-menu{
  visibility:hidden;
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  opacity:0;
  transition:0.5s;
}
.widget_nav_menu ul > li:hover > ul.sub-menu{
  visibility:visible;
  z-index:10;
  opacity:1;
}
.widget_nav_menu ul > li > ul.sub-menu > li:nth-child(1):before{
  content: "";
  height: 15px;
  width: 15px;
  display: block;
  background: var(--main_color);
  transform: rotate(-45deg);
  position: absolute;
  top: 0;
  bottom: 0;
  left: -8px;
  margin: auto 0;
  z-index: -1;
}
.widget_nav_menu ul > li > ul.sub-menu > li > ul > li:nth-child(1):before{
 background: #104f82;
}
.widget_nav_menu ul > li > ul.sub-menu > li:not(:last-child) {
  border-bottom: 1px solid #c9caca;
}
.widget_nav_menu ul > li > ul.sub-menu > li{
  position:relative;
}
.widget_nav_menu ul > li > ul.sub-menu > li a{
  background:var(--main_color);
  padding:0.75em 1em;
  color:#ffffff;
  z-index:1;
}
.widget_nav_menu ul > li > ul.sub-menu > li a:hover{
  opacity:1;
  background:#3b80b7;
}
.widget_nav_menu ul > li > ul.sub-menu > li > ul  > li > a{
  background:#104f82;
}
.wp-caption-text{
  font-size: 15px;
  line-height: 1.75;
  margin-top: 0.5em;
  width: 300px;
  text-align: justify;
  letter-spacing: 0.05em;
}
.list-side2 {
  margin-bottom: 1em;
}
.list-side2 li:not(:first-child) {
  margin-top: 15px;
}
.list-side2 a {
  display: flex;
}
.list-side2 a div:nth-child(1) {
  width: 90px;
  margin-right: 10px;
}
.list-side2 a div:nth-child(2) {
  width: 200px;
}
.box-side2 .list-side2 img {
  width: 100%;
  height: 90px!important;
}
.list-side2 time {
  display: block;
  margin-bottom: 0.5em;
  font-size: 12px;
}
.list-side2 span {
  font-size: 14px;
  line-height: 1.5;
}
.box-search {
  display: flex;
  padding-top:12px;
}
.box-search input[type="text"] {
  width: 85%;
  padding: 7px 14px 6px;
  border-radius: 4px 0 0 4px;
}
.box-search button[type="submit"] {
  width: 15%;
}
.box-search .fa-search {
  display: block;
  background: #666666;
  height: 39px;
  border-radius: 0 4px 4px 0;
  position:relative;
}
.box-search .fa-search:before {
  content:"";
  background:url(images/search.svg);
  background-size:cover;
  display:block;
  height:20px;
  width:20px;
  position:absolute;
  top:0;
  bottom:0;
  right:0;
  left:0;
  margin:auto;
}
.side-compnay {
  line-height: 1.5;
}
.side-compnay picture{
  margin-top:12px;
}
.side-compnay img {
  margin-bottom: 1em;
}
.side-address-compnay {
  margin-bottom: 1em;
}
.side-address-compnay p:before{
  content:"";
  display:inline-block;
  width:14px;
  height:14px;
  margin-right:5px;
  background-size:cover;
  position: relative;
  top: 2px;
}
.company_name:before{
  background:url(images/company.svg);
}
.company_zipcode:before{
  background:url(images/zip.svg);
}
.company_pref:before{
  background:url(images/pref.svg);
}
.company_tel:before{
  background:url(images/tel2.svg);
}
.company_fax:before{
  background:url(images/fax.svg);
}
.side-list-compnay {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(min(48%,100px),1fr));
    gap: min(4vw,15px);
}
.side-list-compnay a {
  display: block;
  padding: 0.5em 1em;
  border: 1px solid #aaaaaa;
  font-size: 12px;
  text-align: center;
}

/*パンくずリスト*/
.breadcrumb {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  margin-bottom: 2em;
  padding: 1em 0 0.5em;
}
.breadcrumb li:not(:first-child):before {
  margin: 0 0.5em 0 1em;
  font-size: 12px;
  content: "/";
}
.breadcrumb a,
.breadcrumb span {
  font-size: 12px;
}
.breadcrumb a:hover {
  text-decoration: underline;
  opacity: 1;
}

/*間隔*/
.interval5em > *:not(:last-child) {
  margin-bottom: 0.5rem;
}
.interval10em > *:not(:last-child) {
  margin-bottom: 1rem;
}
.interval15em > *:not(:last-child) {
  margin-bottom: 1.5rem;
}
.interval20em > *:not(:last-child) {
  margin-bottom: 2rem;
}
.interval25em > *:not(:last-child) {
  margin-bottom: 2.5rem;
}
.interval30em > *:not(:last-child) {
  margin-bottom: 3rem;
}
.interval35em > *:not(:last-child) {
  margin-bottom: 3.5rem;
}
.interval40em > *:not(:last-child) {
  margin-bottom: 4rem;
}
.interval45em > *:not(:last-child) {
  margin-bottom: 4.5rem;
}
.interval50em > *:not(:last-child) {
  margin-bottom: 5rem;
}

	/*その他デザインcss*/
	.related{
		margin-top: min(13vw,80px);
	}
	.wp-block-media-text{
	  margin:32px 0;
	}
	.wp-block-media-text{
	  align-items:flex-start;
	}
	.wp-block-media-text > *:nth-child(1){
	  margin-right:32px;
	}
	.wp-block-media-text.has-media-on-the-right > *:nth-child(1){
	  margin-right:0px;
	}
	.wp-block-media-text.has-media-on-the-right > *:nth-child(2){
	  margin-right:32px;
	}
	.wp-block-media-text .wp-block-media-text__content{
	  padding:0;
	}
	.wp-block-column .wp-block-image{
	  margin-bottom:0;
	}
	.wp-block-column{
		position: relative;
	}
	.wp-block-column >*:first-child{
		margin-top: 0;
	}
	.wp-block-buttons{
		width: 100%;
	}
	.wp-block-button__link {
		width: 100%;
		max-width: 360px;
		display: block;
	}
	.single-contents .wp-block-button__link{
		text-decoration:none;
	}
	.single-contents .wp-block-button__link strong{
		background:none;
		padding:0;
	}

	/*ギャラリー*/
	.wp-block-gallery{
		display: grid;
		grid-template-columns: repeat(auto-fill,minmax(min(25%,230px),1fr));
		gap: min(3vw,20px);
	}
	.wp-block-gallery.columns-2{
		grid-template-columns: repeat(auto-fill,minmax(min(45%,350px),1fr));
		gap: min(4vw,40px);
	}
	.wp-block-gallery.columns-3{
		grid-template-columns: repeat(auto-fill,minmax(min(25%,250px),1fr));
		gap: min(3vw,30px);
	}
	.wp-block-gallery.columns-5{
		grid-template-columns: repeat(auto-fill,minmax(min(25%,180px),1fr));
	}
	.wp-block-gallery.columns-6{
		grid-template-columns: repeat(auto-fill,minmax(min(25%,150px),1fr));
	}
	.wp-block-gallery img{
		width:100%;
		object-fit:cover;
		aspect-ratio:3/2;
	}
	
/*****************************
 * 装飾
 * ***************************/
[class*="mat-"] {
	border-radius:0.4rem;
	&[class*="-middle"] {
		padding: min(7vw, 3rem);
    }
    &[class*="-min"] {
      padding: min(6vw, 2rem);
    }
	&[class*="-white"] {
      background: #fff;
    }
    &[class*="-gray"] {
		background:#f5f8fa;
    }
	&[class*="-sub_color"] {
		background:var(--sub_color);
	}
	& .btn-archive{
		width: min(100%, 340px);
		margin: min(5vw, 26px) auto 0;
		box-shadow:none;
		padding:min(3.5vw, 1.3rem) min(11vw, 3rem) min(3.5vw, 1.3rem) min(5vw, 1.5rem);
		&::after{
			right:min(4vw,1.5rem);
		}
		&:hover{
			box-shadow: -5px -4px 10px rgba(193, 193, 193, 0.16), 2px 4px 10px rgba(0, 0, 0, 0.06);
		}
	}
}
.mat-text-center{
    text-align: center;
    font-size: min(4vw, 17px);
}

/*****************************
 * 見出し（タイトル）デザイン
 * ***************************/
/*メモ帳みたいなデザイン*/
.notepad-title-box{
    position: relative;
    padding: min(6vw,2.5rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--sub_color);
    width: min(100%,480px);
    margin: 0 auto min(11.5vw,65px);
}
.notepad-title-box:before{
    content: "";
    background: #b8b8b8;
    display: block;
    width: min(17vw,93px);
    height: 2px;
    transform: rotate(140deg);
    position: absolute;
    top: min(4vw,1.3rem);
    left: max(-4vw,-1.4rem);
}
.notepad-title-box:after{
content: "";
    background: #b8b8b8;
    display: block;
    width: min(17vw,93px);
    height: 2px;
    transform: rotate(140deg);
    position: absolute;
    bottom: min(4vw,1.3rem);
    right: max(-4vw,-1.4rem);
}
.notepad-title{
    font-size: min(9.5vw,50px);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: bold;
    line-height: 1.25;
}
.notepad-sub{
	color:var(--main_color);
	font-size:min(3.7vw,18px)
}

	
	@media screen and (min-width: 1241px){
		.single-wrap{
			border: 1px solid #ccc;
			padding:min(5vw,52px);
		}	

		.has-large-font-size{
		  font-size:42px;
		}

		.wp-block-cover__inner-container p{
		  color:#ffffff;
		  font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
		}
	}
	
	
	@media screen and (min-width: 901px) {
		.tb {
			display: none;
		}
		.sp {
			display: none;
		}
		.pc-textCenter{
			text-align:center;
			line-height:2.2;
		}

	  	.wrap-2column {
		  display: flex;
		  flex-flow: row-reverse nowrap;
		}
		.wrap-2column .sidebar {
			flex: 0 min(30%, 300px);
		}

		/*ヘッダー*/
		#nav-content, .nav, .nav > .contents, .nav .header-tel{
			height: 100%;
		}
		.header-tel{
		    justify-content: center;
		}
		.nav-drawer{
			display: flex;
			width: 100%;
			gap: min(3vw, 15px) min(5vw, 15px);
		}
		.inner-header{
			padding:0;
		}
		.header-menu{
			margin-left: auto;
			margin-right: 1rem;
		}
		.wrap-logo .logo{
			margin: 0.65rem 0;
		}
		.wrap-logo .logo img {
			max-height: 94px;
		}
		.header.over .wrap-logo .logo img{
			max-height: 60px;
			transition: 0.3s;
			@media(width < 1151px){
				max-height: 55px;
			}
		}
		.wrap-logo{
			margin-left: 1rem;
			@media(width < 1151px){
				flex-direction: column-reverse;
				align-items: baseline;
				& .logo {
					margin: 0.35rem 0 0.65rem;
					& img{
						max-height: 55px;
					}
				}
				& .head-header{
					margin-left: 0;
					margin-top: 0.65rem;
					font-size: min(2.5vw, 12px);
				}
			}
		}
		.nav{
			color:#666;
		}
		.nav > .contents {
			display: flex;
			align-items: center;
			margin: 0;
		}
		.drawer-nav {
			display: none;
		  }
		#nav-open{
			display: none;
		}
		.btn-close {
			display: none;
		}
		
		.inner {
			padding: 0 50px;
		  }
		  .wrap-section-interval > *:not(:last-child) {
			margin-bottom: 90px;
		  }
		  .wrap-section-padding > * {
			padding: 60px 0;
		  }

		.wrap-1column .box-post-img-text {
			width: calc((100% - 75px) / 3);
		}

		  .wrap-main {
			display: flex;
			position: absolute;
			top: -25px;
			left: -450px;
			align-items: center;
			justify-content: flex-end;
			width: 898px;
			height: 305px;
			padding: 50px;
		  }
		  .inner-main {
			width: 250px;
		  }
		  .inner-main h1 {
			font-size: 26px;
		  }
		  .inner-main p {
			font-size: 14px;
		  }

		  .wrap-tel-header {
			display: flex;
			flex-wrap: nowrap;
		  }

		  a[href^="tel:"] {
			pointer-events: none;
			word-break: keep-all;
			white-space: nowrap;
		  }
		  .btn-form,
		  button.btn-form {
			width: 250px;
			padding: 1em;
			font-size: 15px;
		  }

		  .pagetop.active {
			bottom: 20px;
			opacity: 0.7;
			transition: unset;
		  }
		.pagetop.active:hover {
		  opacity:1;
		  }

		  .icon-question:before, .icon-tel:before {
		  width: 15px;
		  height: 15px;
		  }
		  .bg-footer {
			background: url(images/bg-footer.jpg) no-repeat center top -1px;
			background-size: 2001px 273px;
		  }
		  .index .overlay:before {
			z-index: 4;
			position: absolute;
			top: -40px;
			left: -450px;
			width: 480px;
			height: 743px;
			background: rgba(0, 155, 219, 0.6);
			content: "";
		  }
		  .index1:after {
			z-index: 1;
			position: absolute;
			top: -160px;
			left: -450px;
			width: 898px;
			height: 864px;
			background: url(images/index1.png) no-repeat center center;
			content: "";
		  }
		  .bg-company {
			background: url(images/bg-works.png) no-repeat center top;
		  }
		  .bg-outline {
			background: url(images/bg-outline.jpg) no-repeat center top;
		  }
		  .bg-history {
			background: url(images/bg-history.jpg) no-repeat center top;
		  }
		  .bg-access {
			background: url(images/bg-access.jpg) no-repeat center top;
		  }
		
		.table-common th {
			width: 180px;
			padding: 0.5em 1em;
			vertical-align: top;
		}
		.table-common td {
			padding: 0.5em 1em;
			vertical-align: top;
		}
		.table-contact {
			margin-bottom: 60px;
		}
		.table-contact th {
			width: 230px;
			padding: 2em 0 0 1em;
			border-bottom: 1px solid #ccc;
			font-size: 15px;
			vertical-align: middle;
			vertical-align: top;
		}
		.table-contact th.required:after {
			top: 2.5em;
			font-size: 11px;
		}
		.table-contact td {
			padding: 1em 2em;
		}
		.confirm .table-contact td {
			height: 72px;
			line-height: 40px;
		}

		.wrap-1column .box-post-archive a > div:nth-child(1) {
			width: 300px;
			margin-right: 40px;
		}
		.wrap-1column .box-post-archive a > div:nth-child(2) {
			width: calc(100% - 300px);
		}
		
		/*フッター*/
		.footer-contents{
			display: flex;
		}
		.footer-top .sns-link{
			justify-content: end;
		}
		.inner-footer-top .wrap-simple-footer-nav{
			display:none;	
		}
		.info-footer{
			text-align: left;
		}

		/*フッター　ワンカラム*/
		.inner-footer-one .simple-footer-nav li:not(:first-of-type) a {
			border-left: 1px solid #fff;
		}	
	}

	@media screen and (min-width: 901px) and (max-width:1240px) {
	  .wrap-2column .main-column {
		width:calc(100% - 340px);
	  }
	}
	
	@media screen and (max-width: 900px) {
		.pc {
			display: none;
		}
		.sp{
			display:block;
		}
		
		.wrap-simple-footer-nav{
			display:none;
		}
		.color-btn{
			color:#333;
			background:var(--sub_color);
		}
		.color-btn:after{
			background:#fff;
			border-radius:50%;
		}

		.wrap-2column .main-column{
			margin-bottom: min(20vw,120px);
		}
		  .wrap-2column .section-common:nth-child(1) h2 {
			margin-top: 0px;
		  }

		  .wrap-section-interval > *:not(:last-child) {
			margin-bottom: 15vw;
		  }
		  .wrap-2column .section-common:not(:last-child) {
			margin-bottom: 10vw;
		  }

		  .pagetop {
			right: 3vw;
			bottom: -60px;
		  }
		  .pagetop.active {
			bottom: 3vw;
		  }

		/*ヘッダー*/
		.header-tel{
			margin: 20px 20px 0;
		}
		  .wrap-logo {
			  margin-left: 0.7rem;
		  }
		  .wrap-tel-header {
			display: none;
		  }
		  .global-nav {
			display: none;
		  }
		  #nav-close {
			display: none;
			z-index: 99;
			position: fixed;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			background: #000;
			opacity: 0;
			transition: 0.3s ease-in-out;
		  }
		  #nav-content {
		-webkit-transform: translateX(-105%); 
			z-index: 9999;
			position: fixed;
			top: 0;
			left: 0;
			width: 90%;
			max-width: 300px;
			min-width: 300px;
			height: 100%;
			overflow: auto;
			transform: translateX(-105%); 
			background: #fff;
			transition: 0.5s ease-in-out;
			white-space: nowrap;
			word-break: keep-all;
		  }
		  .btn-close {
			display: block;
		  }
		  #nav-input:checked ~ #nav-close {
			display: block;
			opacity: 0.5;
		  }
		  #nav-input:checked ~ #nav-content {
			 -webkit-transform: translateX(0%); 
			 transform: translateX(0%); 
			box-shadow: 6px 0 25px rgb(0 0 0 / 15%);
		  }
		.htel {
			font-size: min(4vw,27px);
		}
		.header-tel:before{
			width: min(3.5vw, 24px);
		    left: min(2.5vw, 1.2rem);
		}

		/*サイドバー*/
		  .sidebar {
			display: flex;
			flex-flow: row wrap;
			justify-content: space-between;
		  }
		  .sidebar > * {
			width: 100%;
		  }
		  .sidebar .widget_nav_menu {
			display:none;
		  }
		  .sidebar img {
			width: 100%;
		  }
		  .list-side2 a div:nth-child(1) {
			width: 40%;
			margin-right: 5%;
		  }
		  .list-side2 a div:nth-child(2) {
			width: 55%;
		  }
		  .side-compnay{
			display:flex;
			flex-wrap:wrap;
			justify-content:space-between;
		  }
		  .side-compnay h3{
			width:100%;
		  }
		  .side-compnay picture{
			width:100%;
		  }
		  .side-address-compnay-box{
			width:100%;
		  }
		  .company-photo{
			display:flex;
			flex-wrap:wrap;
			justify-content: space-between;
		  }
		  .sidebar .company-photo > div{
			width:48%;
			margin-bottom: 4vw;
			}

			body .telp {
			text-align: center;
			font-size: 3.5vw;
			}

			.contact-tel{
			font-size: 6vw;
			display: block;
			margin: 4vw 0 0;
			}

		/*フッター*/
		.footer-top .tb-contents {
			width: 100%;
			padding-right: 0;
			padding-left: 0;
		}
		.footer-nav {
			align-items: center;
		}
		.footer-contents {
			width:100%;
		}
		.footer-top {
			padding-bottom:0;
		}
		.inner-footer-top{
			flex-flow: row wrap;
			justify-content: center;
			gap: min(10vw, 45px);
		}
		 .box-info-footer {
			display: flex;
			flex-flow: column nowrap;
			align-items: center;
			width: min(100%,430px);
			padding: 0 min(8vw,40px);
		}
		.wrap-footer-nav{
			display:none;
		}
		.footer-top .sns-link{
			padding: 0 min(8vw,40px);
			width:100%;
			justify-content: center;
			margin-bottom: min(11vw,70px);
		}
		.simple-footer-nav{
			flex-wrap:wrap;
		    justify-content: space-between;
		}
		.simple-footer-nav li{
			width: 50%;
			text-align: center;
			border-top: 1px solid #878787;
		}
		.simple-footer-nav li:nth-of-type(odd){
			border-right: 1px solid #878787;
		}
		.simple-footer-nav li:nth-last-of-type(2){
			border-bottom: 1px solid #878787;
		}
		.simple-footer-nav li a{
			border-right:none;	
			width: 100%;
			padding: min(3.5vw,15px);
			display:block;
		}

		/*フッター　ワンカラム*/
		.footer-one{
			padding-bottom:0;	
		}
		.footer-one .contents{
			width: 100%;
			padding-right: 0;
			padding-left: 0;
		}
		
		/*テキスト投稿*/
		.box-post-text h3{
			width:100%;	
		}
	}
	
	@media screen and (min-width: 641px) and (max-width:900px){
		.wrap-logo .logo img{
			max-height: 45px;
		}
		
		.wrap-1column .box-post-archive a > div:nth-child(1) {
			width: 240px;
			margin-right: 40px;
		}
		.wrap-1column .box-post-archive a > div:nth-child(2) {
			width: calc(100% - 280px);
		}

		.widget_media_image figure{
		width:100%!important;
		display:flex;
		flex-direction:row;
		}
		.widget_media_image figure a{
			max-width:300px;
			margin-right:2%;
		}
		.widget_media_image figcaption{
			margin-top:0;
			width:calc(100% - (300px + 2%));
		}
	}
	
	@media screen and (max-width: 640px){
		/*モバイルヘッダー*/
		.header-tel{
			padding: min(4vw,1rem) min(3vw,1rem) min(4vw,1rem) min(13vw,3.3rem);
			font-family: "Roboto", sans-serif;
		}
		.header-tel:before {
			width: min(7vw, 24px);
			left: min(4.5vw, 1.5rem);
		}	
		.htel{
			font-size: min(7.5vw,27px);
		}
		.htime-holi {
			font-size: min(2.7vw,12px);
			margin-top: 0.3rem;
		}
		.inner-header {
			height: 80px;
			padding: 17px 0 5px;
		}
		.wrap-logo {
			margin-left: 0;
		}
		.wrap-logo .logo {
			width: min(40vw, 140px);
			margin-left: 10px;
		}
		.head-header {
			position: absolute;
			top: 0;
			width: 100%;
			margin: 0;
			background: var(--main_color);
			line-height: 15px;
		}
		.head-header > * {
			color: #fff;
			font-size: 8px;
			text-align: center;
			line-height: 1.75;
		}
		.list-sp-menu {
			display: flex;
			position: absolute;
			top: 27px;
			right: 50px;
		}
		/*spアイコンの色を変えるならfill内を"23"から初めて16進数のカラーコードで記述をする事*/
		.sp-header-tel:before{
			content:"";
			display:inline-block;
			height:25px;
			width:25px;
			mask:url(images/tel3.svg) no-repeat center center;
			-webkit-mask:url(images/tel3.svg) no-repeat center center;
			background:var(--dl_blue);
			background-size:cover;
			margin:0 auto;
			right:0;
			left:0;
		}
		.sp-header-contact:before{
			content:"";
			display:inline-block;
			height: 25px;
			width: 25px;
			mask:url(images/mail2.svg) no-repeat center center;
			-webkit-mask:url(images/mail2.svg) no-repeat center center;
			background:var(--dl_blue);
			background-size:cover;
			margin:0 auto;
			right:0;
			left:0;
		}
		.sp-header-access:before{
			content:"";
			display:inline-block;
			height:24px;
			width:24px;
			mask:url(images/pref.svg) center/contain no-repeat;
			-webkit-mask:url(images/pref.svg) center/contain no-repeat;
			background:var(--dl_blue);
			background-size:cover;
			margin:0 auto;
			right:0;
			left:0;
		}
		#nav-open {
			top: 27px;
			right: 10px;
		}

		/*モバイルアーカイブ*/
		.box-post-archive a{
			flex-flow: wrap;
		}
		.box-post-archive a:after{
			position: unset;
			bottom: none;
			right: none;
			width: 100%;
		}	
		.box-post-archive a > div:nth-child(1) {
			width: 25vw;
		}
		.box-post-archive a > div:nth-child(2) {
			width: calc(100% - 25vw - 20px);
		}
		.main-column .box-post-archive h3, .wrap-1column .box-post-archive h3 {
			margin: 5px 0;
			letter-spacing: 0.1em;
			line-height: 1.25;
			font-size: 16px;
		}

		/*モバイルフッター*/
		.box-footer-top {
			padding: 10vw 10vw 7.5vw;
			text-align: center;
		}
		.wrap-footer-nav {
			display: none;
		}
		
		/*モバイルサイドバー*/
		.sidebar {
			display: block;
		}
		.sidebar > * {
			width: auto;
		}
		.widget_nav_menu:not(:last-child), .box-side:not(:last-child) {
			margin-bottom: 10vw;
		}
		.list-side2 a div:nth-child(1) {
			width: 30%;
		}
		.list-side2 a div:nth-child(2) {
			width: 65%;
		}
		
		/*モバイルレイアウト*/
		.textCenter{
			text-align: unset;	
		}	
		.spFullWidth {
			width: 100%;
			height: auto;
		}
		.wrap-main {
			width: 100%;
			padding: 10vw 5vw;
		}
		.inner-main h1 {
			font-size: 6vw;
		}
		.btn-form,
		button.btn-form {
			width: 65vw;
			padding: 1em;
		}

		.pagination .pager i:before {
/* 			min-width: 7.5vw;
			height: 7.5vw; */
			font-size: 4vw;
/* 			line-height: 7.5vw; */
		}
		.bg-footer {
			background: url(images/bg-footer@2x.jpg) no-repeat center top;
			background-size: 100% 55.5vw;
		}
		.bg-company {
			background: url(images/bg-works.png) no-repeat right 40% bottom;
			background-size: cover;
		}
		.bg-outline {
			background: url(images/bg-outline.jpg) no-repeat center top;
			background-size: cover;
		}
		.bg-history {
			background: url(images/bg-history.jpg) no-repeat center top;
			background-size: cover;
		}
		.bg-access {
			background: url(images/bg-access.jpg) no-repeat center top;
			background-size: cover;
		}
		.spImgFullWidth {
			display: block;
			width: 100%;
			height: auto;
		}
		.wrap-about {
			flex-flow: row wrap;
			justify-content: center;
		}
		.wrap-about > div:nth-child(1) {
			margin-right: 0;
			margin-bottom: 3vw;
			margin-left:0;
			width:100%;
		}
		.wrap-about > div:nth-child(1) img {
			width:100%;
		}
		.wrap-about > div:nth-child(2) {
			width: 100%;
		}
		.widget_media_image figure{
			width:100%!important;
		}
		.widget_media_image figcaption{
			width:100%;		
		}

		/*投稿記事移動*/
		.nav-link {
			z-index: 10;
			bottom: 0;
			left: 0;
			width: 100%;
		}
		.link-prev, .link-next, .link-archive {
			flex: 1;
			width: auto;
			height: 100%;
		}
		.link-prev a, .link-next a, .link-archive a {
			height: 100%;
			font-size: 12px;
		}
		.link-prev a{
			border-right:none;
		}
		.link-next a{
			border-left:none;
		}
		.icon-question:before, .icon-tel:before {
			width: 4vw;
			height: 4vw;
		}
		
		/*モバイルテーブル*/
		.table-common > tbody > tr, .table-contact > tbody > tr {
			display: flex;
			flex-flow: wrap;
			align-items: center;
			width: 100%;
		}

		.table-common > tbody > tr th, .table-contact > tbody > tr th, .table-common > tbody > tr td, .table-contact > tbody > tr td {
			min-width: 8em;
			list-style-type: none;
			width: 100%;
		}
		.main-column .contact-form table th,.main-column .contact-form table td	{
			width: 100%;
			padding-left: 0;
			background : none;
		}
		.main-column .contact-form table td{
			padding-top: 0;
		}
		.main-column .contact-form table tr:last-of-type td{
			border-bottom:none;
		}

		.table-common th {
			padding: 1em 0 0.5em;
		}
		.table-common td {
			padding: 0 0 1em;
			border-bottom: 1px solid #eee;
		}
		.table-contact {
			margin-bottom: 5vw;
		}
		.table-contact th {
			padding: 1.5em 1em 0.5em;
		}
		.table-contact th.required:after {
			top: 1.5em;
			margin-right: 1em;
			font-size: 2.7vw;
		}
		.table-contact td {
			padding: 0.5em 1em 1.5em;
		}
		.main-column table th{
			border-bottom:none;	
			border-top:none;	
			background: #f3f3f3;
		}

		.mobile-tel-header a{
			letter-spacing: -0.02em;
		}
	}
}
/*--------------------base.cssここまで--------------------*/


/*--------------------（レイアウト）layout.css--------------------*/
@layer layout {
	/*アスペクト*/
	[class*="aspect-"]:not(:has(img)), [class*="aspect-"]:has(img) img {
		object-fit: cover;
		width: 100%;
	}
	.aspect-1_1:not(:has(img)), .aspect-1_1:has(img) img {
		aspect-ratio: 1/1;
	}
	.aspect-3_1:not(:has(img)), .aspect-3_1:has(img) img {
		aspect-ratio: 3/1;
	}
	.aspect-4_1:not(:has(img)), .aspect-4_1:has(img) img {
		aspect-ratio: 4/1;
	}
	.aspect-4_3:not(:has(img)), .aspect-4_3:has(img) img {
		aspect-ratio: 4/3;
	}
	.aspect-5_2:not(:has(img)), .aspect-5_2:has(img) img {
		aspect-ratio: 5/2;
	}
	.aspect-5_6:not(:has(img)), .aspect-5_6:has(img) img {
		aspect-ratio: 5/6;
	}
	.aspect-7_5:not(:has(img)), .aspect-7_5:has(img) img {
		aspect-ratio: 7/5;
	}
	.aspect-8_5:not(:has(img)), .aspect-8_5:has(img) img {
		aspect-ratio: 8/5;
	}
	.aspect-16_9:not(:has(img)), .aspect-16_9:has(img) img {
		aspect-ratio: 16/9;
	}
	.aspect-20_13:not(:has(img)), .aspect-20_13:has(img) img {
		aspect-ratio: 20/13;
	}
	
	/*テンプレ*/
	:is([class*="grid-"]:not(.wp-block-group), [class*="grid-"].wp-block-group >div) {
		display: grid;
	}
	:is(.grid-2:not(.wp-block-group), .grid-2.wp-block-group >div){
		grid-template-columns: repeat(auto-fill,minmax(min(100%,450px),1fr));
		gap: min(12vw,50px) min(8vw,50px);
		& .title-min{
			font-size: min(4.5vw, 20px);
			margin-bottom: min(2.5vw, 0.7rem);
			+ p{
				font-size: min(3.5vw,15px);	
			}
		}
	}

	:is(.grid-3:not(.wp-block-group), .grid-3.wp-block-group >div) {
		grid-template-columns: repeat(auto-fill,minmax(min(100%,300px),1fr));
		gap: min(12vw, 5rem) min(4vw, 3rem);
		&  div > figure:has(+ *){
			 margin-bottom: 1.5rem;
		}
	}
	:is(.grid-4:not(.wp-block-group), .grid-4.wp-block-group >div){
		grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),1fr));
		gap:min(9vw,25px);
	}

	:is([class*="flex-"]:not(.wp-block-group), [class*="flex-"].wp-block-group >div) {
		display: flex;
		gap: min(8vw, 6rem) min(4vw, 3rem);
	}
	:is(.flex-reverse:not(.wp-block-group), .flex-reverse.wp-block-group >div) {
		flex-flow: row-reverse;
	}
	:is(.flex-1_2:not(.wp-block-group), .flex-1_2.wp-block-group >div)>*:nth-child(1),
	:is(.flex-2_1:not(.wp-block-group), .flex-2_1.wp-block-group >div)>*:nth-child(2){
		flex: 1;
	}
	:is(.flex-1_2:not(.wp-block-group), .flex-1_2.wp-block-group >div)>*:nth-child(2),
	:is(.flex-2_1:not(.wp-block-group), .flex-2_1.wp-block-group >div)>*:nth-child(1){
		flex: 2;
	}
	
	:is(.flex-2:not(.wp-block-group), .flex-2.wp-block-group >div){
		@media(900px < width){
			& > *{
				flex: 1;
			}
		}
		@media(width < 901px){
			flex-wrap:wrap;
			& > *{
				width:100%;
			}
		}
	}
	
	.flex-2_1{
		& .grid-2 > div{
			grid-template-columns: repeat(auto-fill, minmax(min(40%, 180px), 1fr));
			gap: min(5vw, 1.2rem) min(4.5vw, 1.5rem);
			& img{
				width:100%;
			}
		}
	}
	
	:is(.flex-1_3:not(.wp-block-group), .flex-1_3.wp-block-group >div)>*:nth-child(1),
	:is(.flex-3_1:not(.wp-block-group), .flex-3_1.wp-block-group >div)>*:nth-child(2){
		flex: 1;
	}
	:is(.flex-1_3:not(.wp-block-group), .flex-1_3.wp-block-group >div)>*:nth-child(2),
	:is(.flex-3_1:not(.wp-block-group), .flex-3_1.wp-block-group >div)>*:nth-child(1){
		flex: 3;
	}		

	:is(.flex-1_4:not(.wp-block-group), .flex-1_4.wp-block-group >div)>*:nth-child(1),
	:is(.flex-4_1:not(.wp-block-group), .flex-4_1.wp-block-group >div)>*:nth-child(2){
		flex: 1;
	}
	:is(.flex-1_4:not(.wp-block-group), .flex-1_4.wp-block-group >div)>*:nth-child(2),
	:is(.flex-4_1:not(.wp-block-group), .flex-4_1.wp-block-group >div)>*:nth-child(1){
		flex: 4;
	}
	
	:is(.flex-1_1d7:not(.wp-block-group), .flex-1_1d7.wp-block-group >div)>*:nth-child(1){
		flex: 1;
	}
	:is(.flex-1_1d7:not(.wp-block-group), .flex-1_1d7.wp-block-group >div)>*:nth-child(2) {
		flex: 1.7;
	}
	
	@media screen and (min-width:901px){
		.float1-2_box > div{
			clear: both;
			& > *:nth-child(1) {
				float: right;
				width: min(100%, 250px);
				margin: 0 0 2rem 2rem;
			}
		}
	}	
	
	@container main-size (max-width: 860px) {
		.wrap-2column .wrap-post-img-text{
			grid-template-columns: repeat(auto-fill,minmax(min(45%,200px),1fr));
			gap: min(7vw,40px);
		}
		.wrap-2column .img-text-title{
			color: var(--main_color);
			font-size: min(3.7vw,16px);
			line-height: 1.25;	
		}
		.wrap-2column .wrap-zoom{
			margin-bottom: min(2.5vw,0.8rem);
		}
		.wrap-2column .wrap-zoom + div{
			gap: min(2vw,0.5rem);
			display: flex;
			flex-wrap: wrap;
			align-items: center;	
		}
		:is(.grid-4:not(.wp-block-group), .grid-4.wp-block-group >div){
			grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),1fr));
		}
	}
	
	@media screen and (max-width: 640px) {
		:is([class*="flex-"]:not(.wp-block-group, .flex-column), [class*="flex-"].wp-block-group:not(.flex-column) >div) {
		  flex-flow: wrap;
		  &>* {
			flex: 1 100%;
		  }
		}
	}
}
/*--------------------layout.cssここまで--------------------*/

/*--------------------design.css--------------------*/
@layer design {
	/*左線と英語*/
	.left-line-en{
		position: relative;
		font-size: min(5.5vw,30px);
		border-left: 5px solid var(--main_color);
		margin-bottom: min(13.5vw,75px);
		padding: min(3.3vw,1rem) 0 min(3.3vw,1rem) min(4vw,1.3rem);
		line-height: 1.25;
	}
	.left-line-en:after{
		content: attr(txt);
		display: block;
		font-size: min(3.5vw,17px);
		color: #b8b8b8;
		position: absolute;
		bottom: max(-5.5vw,-1.7rem);
		left: min(4.5vw,1.5rem);
	}
	/*下三角がついているべた塗タイトル*/
	.back-color-arrow{
		position: relative;
		background: var(--main_color);
		color: #fff;
		font-size: min(5.5vw,30px);
		padding: min(3.3vw,1rem) min(4vw,1.3rem);
		line-height: 1.25;
		margin-bottom: min(11.5vw,65px);
	}
	.back-color-arrow:after{
		content: "";
		background: var(--main_color);
		clip-path: polygon(0% 0%, 0% 0%, 100% 0%, 50% 75%);
		width: min(7vw,30px);
		height: auto;
		aspect-ratio: 1;
		position: absolute;
		bottom: max(-5vw,-1.5rem);
		left: min(5.5vw,2.5rem);
	}
	/*べた塗の左外に線のあるタイトル*/
	.left-line-out{
		border-left: 10px solid var(--main_color);
		background: #ececec;
		font-size: min(5vw,22px);
		padding: min(3.3vw,1rem) min(4vw,1.3rem);
		line-height: 1.25;
		margin-bottom: min(8vw,40px);
	}
	.left-line-out + p {
		margin-top: max(-2.5vw,-1rem);
	}
	/*べた塗の内側の左に線があるタイトル*/
	.left-line-in{
		background:#ececec;
		font-size: min(5vw,22px);
		position: relative;
		padding: min(3.3vw,1rem) min(4vw,1.3rem) min(3.3vw,1rem) min(8vw,2.1rem);
		line-height: 1.25;
		margin-bottom: min(8vw,40px);
	}
	.left-line-in:before{
		content: "";
		background: var(--main_color);
		width: 6px;
		height: 60%;
		display: block;
		left: 15px;
		top: 50%;
		position: absolute;
		transform: translateX(-50%) translateY(-50%);
	}
	/*下線のタイトル*/
	.line-bottom{
		line-height: 1.25;
		font-size: min(5vw,22px);
		padding-bottom: min(2.5vw,0.7rem);
		border-bottom: 3px solid var(--main_color);
		margin-bottom: min(4.5vw,35px);
	}
	/*背景に塗りつぶし・上線・下線あり*/
	.backcolor-line-title {
		background: var(--sub_color);
		border-top: 3px solid var(--main_color);
		border-bottom: 3px solid var(--main_color);
		font-size: min(5.5vw,30px);
		padding: min(3vw, 0.7rem) min(4vw, 1.3rem);
		line-height: 1.25;
		margin-bottom: min(8vw, 40px);
	}
	/*背景に塗りつぶし*/
	.backcolor{
		background: var(--sub_color);
		font-size: min(5.5vw,30px);
		padding: min(3vw, 0.7rem) min(4vw, 1.3rem);
		line-height: 1.25;
		margin-bottom: min(8vw, 40px);	
	}
	/*下線テキスト中央*/
	.title-center-border_bottom {
		border-bottom: 1px solid var(--main_color);
		padding-bottom: min(2.5vw, 0.7rem);
		font-size: min(4.5vw, 22px);
		font-weight: 700;
		margin-top: min(5vw, 1.2rem);
		margin-bottom: min(3.5vw, 1rem);
		line-height: 1.5;
		text-align: center;
		+ p {
			font-size: min(3.5vw,15px);
		}
	}
	/*太字・少し大きく*/
	.sub-title-color {
		color: var(--main_color);
		line-height: 1.5;
		font-size: min(4.5vw, 20px);
		font-weight: bold;
		margin-bottom: min(1.5vw, 0.5rem);
	}
	/*真ん中・太字・少し大きく*/
	.title-min {
		font-size: min(4.2vw, 18px);
		font-weight: 700;
		margin-block-end: 0.5rem;
		line-height: 1.25;
		text-align: center;
	}
	/*真ん中・太字・中*/
	.title-middle {
		font-size: min(4.5vw, 24px);
		font-weight: 700;
		margin-block-end: 1rem;
		line-height: 1.4;
		text-align: center;
	}
	/*真ん中・太字・大きく*/
	.title-big {
		font-size: min(5vw, 30px);
		font-weight: 700;
		margin-block-end: 1rem;
		line-height: 1.5;
		text-align: center;
	}
	/*最初大文字の下線付き*/
	.obig-text-title {
		position: relative;
		font-size: min(4.5vw, 22px);
		border-bottom: 1px solid var(--main_color);
		margin-bottom: min(3vw, 16px);
		padding-bottom: min(2vw, 12px);
		line-height: 1.25;
		&:first-letter {
			font-size: min(6.5vw, 30px);
			color: var(--main_color);
		}
		+ p{
			font-size: min(3.5vw, 14px);
			line-height: min(6vw, 1.75rem);
		}
	}
	/*中央テキスト・下線ありの真ん中色付き*/
	.center-color-title {
		position: relative;
		font-size: min(5vw, 22px);
		text-align: center;
		border-bottom: 3px solid #ddd;
		margin-bottom: min(4vw, 16px);
		padding-bottom: min(3vw, 12px);
		line-height: 1.25;
		&::after {
			content: "";
			position: absolute;
			bottom: -3px;
			left: 50%;
			transform: translateX(-50%);
			width: 70px;
			height: 3px;
			background-color: var(--main_color);
		}
	}
	/*下線タイトル・2カラー*/
	[class*="title-line"]{
		line-height: 1.25;
		font-size: min(5vw, 20px);
		padding-bottom: min(5vw, 1.2rem);
		border-bottom: 1px solid #d7d7d7;
		margin-bottom: min(6vw, 2rem);
		position: relative;
		&[class*="-2color"]{
			&::before{
				content: "";
				width: min(10vw, 90px);
				height: 2px;
				background: var(--main_color);
				position: absolute;
				bottom: -1px;
				left: 0;
			}
		}
		&[class*="-en"]{
			font-size: min(5vw, 23px);
			padding-bottom: min(5vw, 1.6rem);
			margin-bottom: min(7vw, 2.7rem);
			display: flex;
			flex-wrap: wrap;
			gap: min(2.5vw, 1.2rem);
			&::after{
				content:attr(en);
				color: var(--main_color);
				font-size: min(4.8vw, 23px);
				position: relative;
				display: block;
				font-weight: 400;
				text-align: left;
				font-family: "EB Garamond", serif;
			}
		}
	}
	/*中央・下線*/
	[class*="ptitle"]{
		font-size: min(5.5vw, 32px);
		line-height: min(8.3vw, 2.75rem);
		margin-bottom: min(5vw, 33px);
		&[class*="-center"]{
			text-align:center;
		}
		&[class*="-bline"]{
			border-bottom: 2px solid #e6e6e6;
			padding-bottom: min(4vw, 20px);
		}
		&[class*="-en"]{
			position:relative;
			margin-bottom: min(8vw, 55px);
			&::before{
				content: attr(en);
				display: block;
				color: var(--main_color);
				line-height: 1;
				margin-bottom: min(3vw, 22px);
				font-weight: 500;
				font-size: min(4.5vw, 23px);
				font-family: "EB Garamond", serif;
			}
		}
	}
	
	/********************************
	 * リストデザイン（通常：ドット、丸に数字）
	 * ******************************/
	.list_grid-3 > div{
		display:grid;
		grid-template-columns:repeat(auto-fill,minmax(min(100%,150px),1fr));
		gap:min(7vw,60px);
		width:min(100%,600px);
		margin:0 auto;
	}
	/*チェックリスト*/
	.check-list li{
		position: relative;
		padding-left: min(6vw,1.3rem);
		line-height: 1.55;
	}
	.check-list li:before{
		content: "";
		position: absolute;
		top: min(1.4vw,6px);
		left: 1px;
		display: block;
		width: min(4vw,12px);
		height: auto;
		aspect-ratio: 12/7;
		border-left: 2px solid var(--main_color);
		border-bottom: 2px solid var(--main_color);
		transform: rotate(-45deg);
	}
	/*タイトルありリスト*/
	.with-title-list li{
		position: relative;
		padding-left: min(5vw, 1.2rem);
		line-height: 1.65;
		font-size: min(3.5vw, 15px);
		&::before{
			content: "";
			display: block;
			position: absolute;
			top: 6px;
			left: 2px;
			width: min(2vw, 8px);
			height: auto;
			aspect-ratio: 1;
			background: var(--main_color);
			border-radius: 15px;
		}
		& strong {
			font-size: min(4.5vw, 17px);
			display: inline-block;
			margin-bottom: min(2vw, 0.3rem);
			line-height: 1.25;
		}
	}
	.with-title-list>li:not(:last-of-type) {
		margin-bottom: min(4.5vw, 1.2rem);
	}
	/*数字と点のリスト*/
	.num-dot-list li {
		position: relative;
		padding-left: min(4.5vw, 1.5rem);
		line-height: 1.55;
		&::before {
			counter-increment: ol-count;
			color: var(--sub_green_color);
			font-weight: bold;
			content: counter(ol-count) ".";
			display: block;
			position: absolute;
			top: 0;
			left: 0;
		}
	}
	.num-dot-list > li:not(:last-of-type) {
		margin-bottom: 0.4rem;
	}
	/*数字と括弧のリスト*/
	p + .num-brackets-list{
		margin-top: min(4vw, 1rem);	
	}
	.num-brackets-list li {
		position: relative;
		padding-left: min(6.5vw, 1.8rem);
		line-height: 1.55;
		&::before {
			counter-increment: ol-count;
			color: var(--sub_green_color);
	/* 		font-weight: bold; */
			content:"（"counter(ol-count)"）";
			display: block;
			position: absolute;
			top: 0;
			left: 0;
		}
	}
	.num-brackets-list > li:not(:last-of-type) {
		margin-bottom: 0.4rem;
	}
	/*数字と右括弧のみのリスト*/
	p + .num-Rbrackets-list{
		margin-top: min(4vw, 1rem);	
	}
	.num-Rbrackets-list li {
		position: relative;
		padding-left: min(6vw, 1.5rem);
		line-height: 1.55;
		&::before {
			counter-increment: ol-count;
			color: var(--sub_green_color);
			content: counter(ol-count)"）";
			display: block;
			position: absolute;
			top: 0;
			left: 0;
		}
	}
	.num-Rbrackets-list > li:not(:last-of-type) {
		margin-bottom: 0.4rem;
	}

	/*******************************
	 * テーブルデザイン
	 * *****************************/
	/*項目ベタ塗りテーブル*/
	.back_color-table > table{
		border-top: 1px solid #B8B8B8;
		width: min(100%,840px);
		margin: 0 auto;
	}
	.back_color-table td{
		border-bottom:1px solid #B8B8B8;
		padding: 1.2rem 1rem;
	}
	.back_color-table tr > *:nth-child(1){
		background:var(--sub_color);
		color:var(--main_color);
		font-weight:bold;
		border-bottom:1px solid #B8B8B8;
	}
	/*項目ライン入りテーブル*/
	.border_color-table > table{
		width: min(100%,840px);
		margin: 0 auto;
	}
	.border_color-table td{
		border-bottom:1px solid #B8B8B8;
		padding: 1rem;
	}
	.border_color-table tr > *:nth-child(1){
		font-weight:bold;
		color:var(--main_color);
		border-bottom:2px solid var(--main_color);
	}
	/*文字だけカラーなテーブル*/
	.item_color-table{
		border-top:1px solid #B8B8B8;
	}
	.item_color-table tr{
		display:flex;
		flex-wrap:wrap;
	}
	.item_color-table tr td{
		display: block;
		width: 100%;
		line-height: 1.45;
	}
	.item_color-table tr > *:nth-child(1){
		color: var(--main_color);
		font-weight: bold;
		padding: 1.5rem 0 0.3rem 0;
		font-size: min(3.5vw,14px);
	}
	.item_color-table tr > *:nth-child(2){
		border-bottom: 1px solid #B8B8B8;
		padding: 0 0 1.4rem 0;
	}
	
	.grid-3{
		& [class*="mat-"]{
			& > div{
				height:100%;
				display:flex;
				flex-direction:column;
				& .card{
					margin-bottom:auto;
				}
			}
			 &[class*="-min"] {
				padding: min(6vw, 1.7rem);
			}
			& .btn-archive{
				font-size: min(3.7vw, 15px);
				padding: min(3.5vw, 0.9rem) min(11vw, 2.7rem) min(3.5vw, 0.9rem) min(5vw, 1.2rem);
				line-height: 1.2rem;
				margin: min(5vw, 20px) auto 0;
				&::after{
					right:min(3.3vw,0.9rem);
				}
			}
			& .title-middle{
				font-size: min(5vw, 20px);
			}
			& .mat-text-center{
				font-size: min(3.7vw, 14px);
				line-height: min(7vw, 1.55rem);
			}
		}
	}
}
/*--------------------design.cssここまで--------------------*/
	
/*--------------------common.css--------------------*/
@layer common {
/******************************************
 * *トップ
* *****************************************/
.top-title{
    color: var(--main_color);
    line-height: 1.45;
    font-size: min(6.7vw,35px);
    text-align: center;
    margin-bottom: min(6vw,35px);
}
[class*="title-en"]{
    font-size: min(6.5vw, 32px);
    position: relative;
	line-height: min(9vw, 2.8rem);
    letter-spacing: min(0.5vw, 0.3rem);
    margin-bottom: min(7vw, 45px);
	&::before{
        content: attr(en);
        display: block;
        font-family: "EB Garamond", serif;
        font-weight: 500;
        font-size: min(4vw, 23px);
        letter-spacing: 0.1rem;
        line-height: 1;
        margin-bottom:min(3.5vw,1.3rem);
	}
	&[class*="-left"]{
		text-align:left;
	}
	@media(width > 900px){
		&[class*="-center"]{
			text-align:center;
		}
	}
	@media(width < 901px){
		&[class*="-spcenter"]{
			text-align:center;
		}
		&::before{
			margin-left: 0.15rem;
		}
	}
}
.index .pc-textCenter + *{
    margin-top: min(12vw, 65px);
}
	
/*トップ　2つ並び*/
.top-2column{
	display:flex;
	gap:min(10vw,50px);
	@media(width > 1280px){
		gap:min(8vw,80px);
	}
	@media(width < 901px){
		flex-wrap:wrap;
		& > *{
			width:100%;
		}
	}
}
	
/*福祉現場のお悩みありませんか？*/
.top-intro{
	padding-top: min(12vw, 100px);
	& [class*="title"]{
        margin-bottom: min(7vw, 45px);
	}
	@media(width > 1280px){
		& img{
			position: relative;
			width: max(100%, 650px);
			translate: -50% 0%;
			left: 44%;
			display: block;
			max-width: none;
		}
		& .top-intro-clm-list{
			padding-bottom: 7.5rem;
		}
	}
	@media(width > 900px){
		& .top-intro-clm-list{
			display: flex;
			flex-direction: column;
			margin-top: auto;
		}
	}
}
.top-intro-clm{
	position:relative;
	&::before{
		content:"";
		width:min(50%,252px);
		height:auto;
		aspect-ratio:252/150;
		background:url(images/top-problem-deco.png) center/contain no-repeat;
		position:absolute;
		top:0;
		right:0;
	}
	@media(width > 900px){
		& > *:nth-child(1){
			flex: 1;
		}
	}
}
.pr-check-list{
	& li{
		position: relative;
        padding-left: min(7vw, 2.1rem);
        line-height: min(6vw, 1.55rem);
        font-size: min(3.9vw, 17px);
		&::before{
			content:"";
			position:absolute;
            top: 0.15rem;
            left: 0;
            display: block;
            width: min(4vw, 18px);
			height:auto;
			aspect-ratio:18/22;
			background:url(images/check-icon.svg) center/contain no-repeat;
		}
		& strong{
			background: linear-gradient(transparent 50%, #e3f0ff 50%);
			padding: 0 0.2rem;
		}
		& + li {
            margin-top: min(3.5vw, 1.5rem);
		}
	}	
}
	
/*ドリプロがあなたの理念実現をサポート*/
.top-about-clm{
	gap: min(16vw, 60px);
	@media(width > 900px){
		& > *:nth-child(1){
			flex: 1;
		}
		& > *:nth-child(2){
			flex: 1.8;
		}
		& .btn-archive{
			width: min(100%, 250px);
			margin: min(9vw, 45px) auto 0 0;
		}
	}
}
.tc-con{
	counter-reset: tccounter;
}
.tc-box-num{
	display: flex;
    align-items: center;
    gap: 0.3rem;
	color:#878787;
	font-family: "EB Garamond", serif;
	font-weight: 500;
	font-size: min(3.5vw, 15px);
	line-height: 1;
	margin-bottom: min(3vw, 0.8rem);
	& span{
		font-family: "Zen Kaku Gothic New", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
	}
}
.tc-box-title{
    font-size: min(5.5vw, 24px);
    margin-bottom:min(4.5vw, 20px);
    line-height: 1.45;
    font-weight: bold;
    position: relative;
	& span{
        display: block;
        color: #878787;
        font-weight: 500;
        font-size: min(3.1vw, 13px);
        line-height: 1;
        margin-top: min(3vw, 0.8rem);
	}
}
.tc-box-img{
    display: block;
    margin: 0 0 min(5.5vw, 25px);
    width: 100%;
}
.tc-box-text{
	line-height:min(7vw,2rem);
}
	
/*ドリプロのサービス*/
.top-services{
	position:relative;
}
.top-services-deco{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	z-index:-1;
	& img{
		display:block;
		width:auto;
		&:nth-of-type(1){
			position:absolute;
			top:0;
			left:0;
		}
		&:nth-of-type(2){
			position:absolute;
			top:32%;
			right:0;
		}
		&:nth-of-type(3){
			position:absolute;
			bottom:18%;
			left:0;
		}
		@media(width < 901px){
			&:nth-of-type(1){
				width:90%;
			}
			&:nth-of-type(2){
				width: 35%;
			}
			&:nth-of-type(3){
				width:25%;
			}
		}
	}
}
.top-svtop-clm{
	gap: min(5vw, 60px);
	margin-bottom: min(9vw, 60px);
	& [class*="title-en"]{
		margin-bottom:0;
	}
	@media(width > 900px){
		& > *:nth-child(1){
			flex: 1;
		}
		& > *:nth-child(2){
			flex: 2;
			display: flex;
			flex-direction: column;
		}
		& p{
			font-size: min(15px, 3.7vw);
			line-height: 1.8rem;
			margin-top: auto;
		}
	}
	@media(width < 901px){
		
	}
}
.top-svbottom{
    border-top: 2px solid #f6f6f6;	
}
.top-svbottom-clm{
	gap: min(8vw, 60px);
    padding: min(10vw, 50px) 0;
    border-bottom: 2px solid #f6f6f6;
	@media(width > 900px){
		& > *:nth-child(1){
			flex: 1;
		}
		& > *:nth-child(2){
			flex: 1.3;
		}
	}
}
.tsvbottom-clm-info{
	@media(width > 900px){
		display: flex;
		flex-direction: column;
	}
}
.top-services-title{
	font-size: min(6vw, 28px);
    margin-bottom: min(5vw, 25px);
	line-height: 1.75rem;
	& span{
        display: block;
        color: #878787;
        font-size: min(3.7vw, 16px);
        margin-bottom: min(2.5vw, 20px);
        line-height: 1.2rem;
	}
}
.top-services-text{
	margin-bottom:auto;
}
.top-services-btn{
    position: relative;
    display: flex;
    align-items: center;
    gap: min(5vw, 13px);
    font-family: "EB Garamond", serif;
    font-weight: bold;
    font-size: min(4vw, 18px);
    margin-top: min(4vw, 30px);
	&::after{
		content:"";
		display:block;
		background:url(images/btn-icon.png) center/contain no-repeat;
		width:min(15vw,44px);
		height:min(15vw,44px);
		border-radius:50%;
		transition: box-shadow 0.3s ease;
		box-shadow:-8px -8px 20px rgba(193, 193, 193, 0.16), 8px 8px 20px rgba(0, 0, 0, 0.16);
	}
	&:hover{
		opacity:1;
		&::after{
			box-shadow:-2.5px -2.5px 10px rgba(193, 193, 193, 0.16), 2.5px 2.5px 10px rgba(0, 0, 0, 0.16)
		}
	}
}
	
/*今すぐできる経営強化。加算見直し・人権育成セミナー*/
.top-seminar{
	background:linear-gradient(#c4defd, #dfeded);
}
.top-seminar-clm{
	gap: min(17vw, 85px);
    margin-bottom: min(10vw, 60px);
	@media(width > 900px){
		& > *:nth-child(1){
			flex: 1;
		}
		& > *:nth-child(2){
			flex: 1.111;
		}
		& .btn-archive{
			width: min(100%, 270px);
			margin: min(9vw, 55px) auto 0 0;
		}
	}	
}
.tseminar-deco{
	position:relative;
	&::before{
		content:"";
		display:block;
		background:url(images/top-seminar-deco.png) center/contain no-repeat;
		position:absolute;
        left: max(-7vw, -7.2rem);
        bottom: max(-33vw, -13rem);
        width: min(38vw, 256px);
        height: auto;
        aspect-ratio: 256 / 268;
        translate: -50% -50%;
	}
	@media(width < 901px){
		&::before{
			left:auto;
			right:max(-25%,-9rem);
		}
	}
}
	
/*お客様の声*/
.top-voice{
	padding-top: 0;
	background:linear-gradient(#dfeded, #fffcd3);
	& .box-post-img-text{
		& a{
			display: block;
			background: #fff;
			border-radius: 0.5rem;
			padding: min(8vw, 2.3rem);
			box-shadow:0 0 0 #ccc;
			box-shadow: 0 0 7px 1px #ededed;
			&:hover{
				opacity:1;
				box-shadow: 0 0 15px 3px #ededed;
			}
		}
	}
	& .btn-archive{
		width: min(100%, 460px);
	}
}
	
/*トップ新着*/
.top-info{
	& .box-post-text{
		position:relative;
		&::before{
			content: "";
			background: var(--dl_blue);
			display: block;
			position: absolute;
			transform: translatey(-50%);
			top: 50%;
			right: min(3vw, 1rem);
			width: min(5.5vw, 9px);
			height: auto;
			aspect-ratio: 1;
            border-radius: 50%;
            transition: 0.5s;
			transform: translate(-50%, -50%) scale(1);
			transform-origin: center center;
		}
		&:has(> a:hover){
			&::before{
				transform: translate(-50%, -50%) scale(2.9);
			}
		}
		& a{
			padding: min(3vw, 35px) min(8.5vw, 52px) min(3vw, 35px) min(3vw, 17px);
            gap: min(2vw, 15px);
			&::before, &::after{
				content: "";
				position: absolute;
				transition: 0.5s;
				top: 50%;
				right: min(4.1vw,1.3rem);
				mask: none;
				-webki-mask: 0;
				background:none;
			}
			&::before{
				transform: translateY(-50%);
				width: 10px;
				height: 1px;
			}
			&::after{
				transform: translateY(-50%) rotate(45deg);
				width: 7px;
				height: 7px;
				background: none;
			}
			&:hover{
				&::before {
					background: #fff;
				}
				&::after {
					border-top: 1px solid #fff;
					border-right: 1px solid #fff;
				}
			}
			& h3{
				font-size: min(16px, 3.7vw);
				display: -webkit-box;
				-webkit-box-orient: vertical;
				-webkit-line-clamp: 2;
				overflow: hidden;
				font-weight:normal;
			}
			@media(width < 641px){
				padding:min(5vw, 35px) min(10.5vw, 52px) min(5vw, 35px) 0;
			}
		}
		& time {
			margin-right: 0;
			font-size: min(3.5vw,15px);
			font-family: "EB Garamond", serif;
			color:#878787;
		}
		& .category-post{
			font-size: min(2.5vw,13px);
			background: #f4f4f4;
			color: #333;
			padding: 0.1rem 0.7rem 0.2rem;
			border-radius: 2rem;
		}
	}
}
.top-info-con {
    display: flex;
    gap: 0 min(8vw, 75px);
	@media(width > 900px){
		& > div:nth-of-type(1){
			flex:1.1;
			display: flex;
            flex-direction: column;
			& h2 + *{
				margin-top:auto;
			}
		}
		& > div:nth-of-type(2){
            flex: 3;
		}
		.flexCenter{
			display:none;
		}
	}
	@media(width < 901px){
		flex-wrap:wrap;
		& > div{
			width:100%;
		}
		.flexLeft{
			display:none;
		}
	}
}
.top-info .btn-archive{
	margin-top: min(10vw, 55px);
}

	
/*メインイメージコンテンツ*/
.main-visual {
  position:relative;
}
.main-visual .noslide {
   width:100%;
  position:relative;
}
.main-visual picture {
  display: block;
}
.main-visual .noslide img{
	width:min(100%,1920px);
	height: auto;
	display:block;
	margin:0 auto;
}

/*トップ採用*/
.top-rec-link{
	width:min(100%,790px);
	height:auto;
	aspect-ratio:395/137;
	display:block;
	margin-left:auto;
	margin-right:auto;
	position:relative;
	background:#d9d9d9;
}
.top-rec-link:after{
    content: "";
    background:url(images/arrow.svg) center/contain no-repeat;
    display: block;
    position: absolute;
    right: min(2vw,0.7rem);
    bottom: min(2vw,0.7rem);
    width: min(4vw,20px);
    height: auto;
    aspect-ratio: 1;
}
.tr-link-banner{
	width:100%;
}

/*よくある質問*/
.top-qa{
	position:relative;
	&::before{
		content:"";
		position:absolute;
		top:0;
		left:0;
		display:block;
		z-index:-1;
        width: 100%;
        height: auto;
        aspect-ratio: 960 / 197;
		background:url(images/top-qa.jpg) top/cover no-repeat;
	}
	& [class*="title-en"]{
		margin-bottom: min(8vw, 55px);
	}
	@media(width < 901px){
		&::before{
			width: 100%;
			height: 40%;
			aspect-ratio: auto;
		}
	}
}
.top-qa-box{
	background: #fff;
	border-radius: 0.5rem;
    padding: min(12vw, 5.5rem) min(8vw, 5.5rem);
	box-shadow: 0 0 7px 2px #ededed;
}
.qa-box-post{
	border-bottom: 1px solid #a5a5a5;
	&:first-of-type{
		border-top:1px solid #a5a5a5;
	}
	&:has(> .rot){
		padding-bottom:min(8vw, 35px);
	}
}
.qa-box-post{
	position:relative;
}
.qa-title{
	position: relative;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    padding: min(5vw, 35px) min(5.5vw, 30px) min(5vw, 35px) min(3vw, 17px);
    gap: min(5vw, 21px);
    line-height: min(6vw, 1.7rem);
	&:hover{
		opacity:0.8;
	}
	&::before {
		content: "Q";
        font-family: "EB Garamond", serif;
        color: var(--light_blue);
        font-size: min(4vw, 18px);
        position: relative;
        top: -0.05rem;
	}
	@media(width < 901px){
		gap: min(3vw, 21px);
		padding: min(7vw, 35px) 0 min(5vw, 35px) 0;
		&::before{
            position: absolute;
			top: min(0.5vw, 1rem);
            left: 0;
            font-size: min(5vw, 18px);
		}
	}
	&.rot .qa-btn:after{
		content:"－";
		background:#fff;
		color:var(--light_blue);
	}
}
.qa-btn{
    font-size: min(3.3vw, 14px);
    display: flex;
    position: relative;
    gap: 0.2rem;
    margin-left: auto;
    white-space: nowrap;
	&::after{
        content: "＋";
        background: var(--light_blue);
        border: 1px solid var(--light_blue);
        color: #fff;
        width: min(6.1vw, 25px);
        height: min(6.1vw, 25px);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        padding: 0 0 min(0.1vw, 0.17rem) min(0.1vw, 0.17rem);
        font-size: min(3vw, 13px);
	}
	@media(width > 900px){
		&.qa-btn-sp{
			display:none;
		}
	}
	@media(width < 901px){
		&.qa-btn-pc{
			display:none;
		}
	}
}
.qa-text{
	display:none;
	background:#f4f4f4;
    padding: min(3.5vw, 25px) min(5.5vw, 30px) min(4.5vw, 25px) min(5vw, 39px);
	& > div{
		position: relative;
        display: flex;
        gap: min(1vw, 17px);
		&::before {
			content: "A";
            font-family: "EB Garamond", serif;
			line-height: min(6vw, 1.7rem);
            font-size: min(4vw, 16px);
            color: #9f1f1f;
            position: relative;
            top: 0.05rem;
			font-weight: bold;
		}
		@media(width < 901px){
			flex-direction: column;
			&::before{
				font-size: min(5vw, 18px);
			}
		}
	}
	& p{
        font-size: min(3.5vw, 15px);
        line-height: min(6vw, 1.7rem);
	}
}

/*ギブリ*/
.top-wfacility{
	position:relative;
	&::before{
		content:"";
		display:block;
		background:url(images/top-wf.png) center/contain no-repeat;
        width: min(90%, 1490px);
        height: auto;
        aspect-ratio: 191 / 128;
        position: absolute;
        translate: -50% -50%;
        left: 50%;
        top: 50%;
        z-index: -1;
	}
	@media(width < 901px){
		&::before{
			width: 200vw;
			left:18%;
			top: 65%;
		}
	}
	& [class*="title-en"]{
		& span{
			font-size:min(4vw,17px);
			letter-spacing: 0.1rem;
		}
		@media(width > 900px){
			margin-top: min(7vw,3rem);
		}
	}
	& .btn-archive{
		background:var(--yellow_color);
		&::after{
			background:#fff;
			border-radius:50%;
		}
	}
}
.top-wfacility-clm{
	gap: min(17vw, 85px);
	@media(width > 900px){
		flex-direction: row-reverse;
		& > *:nth-child(1){
			flex: 1;
		}
		& > *:nth-child(2){
			flex: 1.135;
		}
		& .btn-archive{
			width: min(100%, 250px);
			margin: min(9vw, 55px) auto 0 0;
		}
	}	
}

/*トップアクセス*/
.top-access-address{
    text-align: center;
    line-height: 1.45;
    margin-bottom: min(4vw,15px);
}
.top-access-contact{
    text-align: center;
    font-size: min(3.2vw,14px);
    line-height: 1.25;
}
.tac-tel{
	font-size: min(7vw,35px);
    display: block;
    font-weight: bold;
}
.top-access-box{
	margin-top: min(12vw,55px);
}
.tab-map{
	border:2px solid var(--main_color);
}
.tab-map iframe{
	width:100%;
	height:auto;
	aspect-ratio:10/7;
}
.tab-img img{
	width:100%;
	object-fit:cover;
	aspect-ratio:10/7;
}

/*フッター*/
.contact-box-con{
	display:flex;
	align-items:center;
	& [class*="title-en"]{
		letter-spacing: min(0.5vw, 0.1rem);
	}
	@media(900px < width){
		gap: min(8vw, 60px);
		& > *:nth-child(1){
			width:min(100%,520px);
		}
		& > *:nth-child(2){
			margin-left:auto;
			width:min(100%,420px);
		}
	}
	@media(width < 901px){
		& p{
			text-align:center;
		}
	}
}

/*お客様の声（アーカイブ含む）*/
.wrap-1column-narrow{
	& .top-voice{
		background:none;
		& .box-post-img-text {
			transition:0.3s;
			& a {
				padding: min(7vw, 1.5rem);
			}
		}
	}
	& .wrap-post-img-text{
		grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
		gap:min(8vw,45px) min(7vw, 35px);
	}
	& .img-text-title{
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 1;
		overflow: hidden;
	}
	& .work-tcadr{
		font-size: min(3vw, 12px);
	}
}
.post-hidden {
    opacity: 0;
    height: 0;
    margin: 0;
    pointer-events: none;
    border-bottom: none !important;
}
.posting-group{
	& .page-btn {
		& .btn-archive {
			margin-top: 0.2rem;
		}
	}
}
#v-seminar h2:before{
	content: "Seminar";
}
#v-rgt h2:before{
	content: "Research Group / Training";
}
.voice-cate-list{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: min(4vw, 30px);
    margin-top: min(7vw, 50px);
	& li{
		width: min(100%, 300px);
		& a{
            text-align: center;
            display: flex;
            align-items: center;
            z-index: 1;
            font-size: min(3.7vw, 17px);
            position: relative;
            width: 100%;
            padding: min(2vw, 1.3rem) min(8.5vw, 3rem) min(2.5vw, 1.3rem) min(4vw, 1.5rem);
            transition: 0.5s;
            border-radius: 25rem;
            background: #fff;
            line-height: 1.3rem;
            font-weight: bold;
            background: var(--sub_color);
			&::after {
                content: "";
                position: absolute;
                transition: 0.5s;
                top: 45%;
                right: min(3.5vw, 1.5rem);
                transform: translateY(-50%) rotate(135deg);
                width: min(2.5vw, 11px);
                height: min(2.5vw, 11px);
                background: none;
                border-top: 2px solid #333;
                border-right: 2px solid #333;
			}
		}
		& + li{
			margin-top:0;
		}
	}
}

/******************************************
 * *固定ページ
* *****************************************/
body:not(.index) .wrap {
	padding: 0 0 min(33vw, 230px);
}
body:not(.index) .main-visual {
	display: flex;
	align-items: center;
	background:url(images/h1-back.jpg) center/cover no-repeat;
}
.head-page {
    width: min(100%,567px);
    z-index: 1;
    font-size: min(5vw,27px);
	font-weight:bold;
    text-align: center;
    position: relative;
    margin: min(7vw, 46px) auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    line-height: 1.45rem;
}
.head-page:before {
	font-family: "EB Garamond", serif;
	margin-bottom: min(1.8vw, 1.4rem);
	font-size: min(4vw,23px);
    line-height: 1;
    font-weight: 500;
}
.wrap-head-common {
  margin-bottom: 30px;
}
.head-common {
  line-height: 1.5;
}
.page-section + .page-section{
	margin-top: min(25vw, 230px);
}
.page-section_inner + .page-section_inner{
    margin-top: min(15vw,80px);
}
.section_inner-box + .section_inner-box{
	margin-top: min(10vw, 50px);	
}
:is([class*="flex-"]:not(.wp-block-group, .flex-column), [class*="flex-"].wp-block-group:not(.flex-column) >div){
	.section_inner-box + .section_inner-box{
		margin-top: min(6vw, 30px);	
	}
}
.page-intro-img{
	margin-bottom:min(10vw,50px);
	& img{
		width:100%;
	}
}
[class*="ptext"]{
    line-height: min(6vw, 2rem);
	&[class*="-center"]{
		text-align:center;
	}
	& + p{
		margin-top: min(4vw, 1.8rem);
	}
	@media(width < 901px){
		&[class*="-spleft"]{
			text-align:left;
		}
	}
}

/*サービス系*/
.pagepr-check-list{
	& li{
        font-size: min(4.2vw, 18px);
        padding-left: min(8vw, 2.8rem);
        line-height: min(7vw, 1.55rem);
		&::before{
			width: min(5.5vw, 31px);
			top:-0.35rem;
			@media(640px < width < 901px){
				top:-0.5rem;
			}
			@media(width < 641px){
				top:-0.1vw;
			}
		}
		& + li{
            margin-top: min(4.5vw, 2.4rem);
		}
	}
}
.mat-list{
	display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(45%, 450px), 1fr));
    gap: min(3vw, 20px);
	& li{
		background: var(--sub_color);
        border-radius: 0.4rem;
        text-align: center;
        padding: min(4vw, 1.4rem);
		@media(900px < width){
			display: flex;
			align-items: center;
			justify-content: center;
		}
		@media(width < 901px){
			text-align:left;
			& br{
				display:none;
			}
		}
		& + li{
			margin-top:0;
		}
	}
}
.features-box{
	padding: min(7vw, 1.5rem);
	& > div{
		display:flex;
		flex-direction:column;
		height: 100%;
	}
}
.features-text{
	text-align:center;
	font-size:min(4vw,17px);
	margin-bottom:auto;
}
.features-img{
	display:block;
    width: 100%;
    margin: min(6vw, 2rem) auto 0;
	& img{
		width:auto;
        display: block;
        margin: 0 auto;
        height: 150px;
	}
}
:is(.grid-3:not(.wp-block-group):has( [class*="mat-"]), .grid-3.wp-block-group >div:has( [class*="mat-"])){
    gap: min(7vw, 3rem) min(4vw, 2.2rem);
}
.Lmore-box{
	&[class*="-middle"]{
		padding: min(7vw, 3rem) min(6vw, 2rem) min(6vw, 2rem) min(6vw, 2rem);
	}
}
.Lmore-img{
	display:block;
	width:100%;
	margin:min(7vw,25px) auto 0;
	& img{
		width:auto;
        display: block;
        margin: 0 auto;
        height: 188px;
	}
}
.movie-box{
/*     display: block; */
    margin: min(14vw, 65px) auto 0;
	& [class*="youtube"] iframe{
		aspect-ratio:5/2.81;
		width:100%;
		height:auto;
		object-fit:cover;
	}
/*     width: min(100%, 550px);
    position: relative;
	cursor: pointer;
	transition:0.3s;
	&::before{
		content:"";
		background:url(images/play-icon.svg) center/contain no-repeat;
		display:block;
        width: min(19vw, 100px);
        height: auto;
        aspect-ratio: 1;
        position: absolute;
        translate: -50% -50%;
        top: 50%;
        left: 50%;
        z-index: 1;
	}
	&:hover{
		opacity:0.7;
	} */
}

/*セミナー*/
.seminar-main{
	position:relative;
	& picture{
		display: block;
		width:100%;
	}
}
.seminar-intro{
	& > div{
		margin-top: min(15vw, 80px);
	}
	& .movie-box{
		width:100%;
		margin: min(9vw, 90px) auto 0;
		&::before{
			width: min(19vw, 130px);
		}
	}
}
.recom-con{
	& > div{
        gap: min(7vw, 40px) min(4vw, 40px);
        grid-template-columns: repeat(auto-fill, minmax(min(40%, 200px), 1fr));
		& img{
			width:100%;
		}
	}
}
.recom-text{
    text-align: center;
    font-weight: bold;
    font-size: min(3.5vw, 17px);
    line-height: min(5.5vw, 1.95rem);
    margin-top: min(3.5vw, 27px);
}
.overview-con{
	& > div{
		counter-reset: ov-count;
	}
}
.overview-box{
	position:relative;
	padding:min(9vw, 3rem) min(7vw, 3rem) min(7vw, 3rem);
	&::before{
		counter-increment: ov-count;
		content:"Day"counter(ov-count);
		font-family: "Afacad", sans-serif;
        font-size: min(8vw, 38px);
        display: block;
        position: absolute;
        top: -3%;
        left: 5%;
        font-weight: 400;
	}
	& figure{
		margin:min(4vw,25px) 0;
	}
}
.seminar-table{
	& tr{
		& th{
			background:var(--main_color);
			color:#fff;
			text-align:center;
			font-size:min(3.7vw,16px);
			font-weight:500;
			padding:0.7rem;
			line-height:1;
			&:first-of-type{
				border-radius:0.4rem 0 0 0;
			}
			&:last-of-type{
				border-radius:0 0.4rem 0 0;
			}
		}
		& td{
			background:#f5f8fa;
			text-align:center;
			padding: min(4vw,2rem) min(4vw,1.3rem);
			vertical-align: middle;
			&:first-of-type{
				border-radius:0 0 0 0.4rem;
				font-weight:bold;
			}
			&:last-of-type{
				border-radius:0 0 0.4rem 0;
			}
			&:nth-of-type(odd){
				background:var(--sub_color);
			}
		}
	}
	@media(640px < width){
		border-collapse: unset;
		& tr{
			& th{
				width:calc(100% / 5);
			}
		}
	}
	@media(width < 641px){
		& tr{
			& th{
				display:none;
			}
			& td{
				position:relative;
				width:100%;
				display: flex;
				gap: min(5vw,1.5rem);
				align-items: start;
				text-align: left;
				&::before{
					content: attr(label);
					display: block;
					font-weight: bold;
					word-break: keep-all;
					width: 20%;
					color:var(--main_color);
				}
				&:first-of-type{
					border-radius:0.4rem 0.4rem 0 0;
					font-weight:bold;
				}
				&:last-of-type{
					border-radius:0 0 0.4rem 0.4rem;
				}
			}
		}
	}
}
.ptext-center-spleft{
	& span{
		text-align:center;
		display:block;
	}
}
.page-btn{
	& .btn-archive{
        width: min(100%, 355px);
        margin: min(10vw, 55px) auto 0;
	}
}
.seminar-contact{
	position:relative;
	padding:min(20vw, 120px) 0;
	&::before{
		content: "";
        display: block;
        background: var(--sub_color);
        position: absolute;
        translate: -50% 0%;
        top: 0;
        left: 50%;
        width: 100vw;
        height: 100%;
		z-index: -1;
	}
	& [class*="title-en"]{
		letter-spacing: min(0.5vw, 0.1rem);
	}
	& .btn-archive{
		margin-top:0;
	}
	& > div{
		display: flex;
		align-items: center;
		gap: min(10vw, 50px);
		@media (width > 900px) {
			gap: min(8vw, 60px);
			& > *:nth-child(1) {
				width: min(100%, 550px);
			}
			& > *:nth-child(2) {
				width: min(100%, 355px);
			}
		}
		@media (width < 901px) {
			flex-wrap: wrap;
			& > * {
				width: 100%;
			}
		}
	}
}
.steps-con > div{
	counter-reset: step-count;
	margin-top:min(12vw, 75px);
}
.steps-box {
	position:relative;
	& + .steps-box{
        margin-top: min(17vw, 95px);
	}
	&::before{
        counter-increment: step-count;
        content: counter(step-count, decimal-leading-zero);
        font-family: "Afacad", sans-serif;
        font-size: min(8vw, 38px);
        display: block;
        position: absolute;
        top: 0%;
        left: min(8vw, 3rem);
        font-weight: 400;
        translate: -50% -50%;
	}
	&:not(:last-of-type){
		&::after{
			content: "";
			transform: translateY(-50%) rotate(135deg);
			width: min(9vw, 50px);
			height: min(9vw, 50px);
			border-top: 1px solid #333;
			border-right: 1px solid #333;
			display: block;
			position: absolute;
			translate: -50% 50%;
			left: 50%;
			bottom: max(-9.5vw, -3.5rem);
			z-index: 1;
		}
	}
	& > div{
		display: flex;
		gap: min(10vw, 40px);
		@media (width > 900px) {
			gap: min(8vw, 35px);
			& > *:nth-child(1) {
				flex:1;
			}
			& > *:nth-child(2) {
				flex:2;
			}
		}
		@media (width < 901px) {
			flex-wrap: wrap;
			& > * {
				width: 100%;
			}
		}
	}
	& .btn-archive{
		margin:min(5vw,25px) auto 0 0;
	}
}
.steps-img{
    & img {
        width: auto;
        display: block;
        margin: 0 auto;
        height: 200px;
    }	
}
.steps-title{
    font-size: min(4.3vw, 23px);
    margin-block-end: 1rem;
    line-height: 1.4;
	& strong{
		color:var(--main_color);
	}
}
.steps-text{
	font-size:min(3.5vw,14px);
}
.takeaways-con > div{
	margin-top:min(12vw, 75px);
	counter-reset: take-count;
    gap: min(15vw, 80px) min(8vw, 35px);
}
.takeaways-box{
	position:relative;
	&::before{
        counter-increment: take-count;
        content: counter(take-count, decimal-leading-zero);
        font-family: "Afacad", sans-serif;
        font-size: min(8vw, 38px);
        display: block;
        position: absolute;
        top: 0%;
        left: min(8vw, 3rem);
        font-weight: 400;
        translate: -50% -50%;
		text-shadow: 2px 2px 0 #fff;
	}
}
.takeaways-title{
	font-size: min(4.3vw, 22px);
    margin-top: min(4vw, 1.3rem);
    line-height: min(6.8vw, 2.3rem);
    text-align: center;
	& span{
		color:var(--main_color);
	}
}
.success-con > div{
	& img{
		width:100%;
	}
}
.inst-top-img{
	& img{
		width:100%;
		object-fit:cover;
		aspect-ratio:45/50;
	}
}
.inst-top-text{
	& > div{
		display:flex;
		flex-direction:column;
		height: 100%;
	}
}
.inst-info{
	margin-bottom:min(8vw, 2rem);
	@media(900px < width){
		padding-top: 35px;
	}
}
.inst-yaku{
    font-size: min(3.5vw, 16px);
	line-height: 1;
}
.inst-name{
    color: var(--main_color);
    font-size: min(6vw, 35px);
    line-height: 1;
    margin: min(3.5vw, 1.2rem) 0 min(2.5vw, 0.8rem);
}
.inst-roma{
    color: var(--sub_color);
    font-size: min(4vw, 18px);
	line-height: 1;
}
.inst-history{
	margin-top:auto;
}
.inst-top-table table{
	& tr{
		& td{
            padding: 0 0 min(3vw, 1rem) 0;
            font-size: min(3.7vw, 16px);
            line-height: min(6vw, 1.55rem);
			&:first-of-type{
				width: min(30vw, 132px);
                font-weight: bold;
			}
		}
	}
}
.inst-con-bottom{
	& .title-middle{
		margin-block-end: min(5vw,1.7rem);
		font-size: min(5.1vw, 24px);
	}
	& p{
		font-size: min(3.5vw, 16px);
		line-height: min(6vw, 1.95rem);
		& + p{
			margin-top: min(4vw, 1.7rem);
		}
	}
	& [class*="mat-"]{
		padding: min(7vw, 5rem);
		border-radius:0;
	}
}

/*ドリプロについて*/
.flex-raf > div{
	gap: min(8vw, 6rem) min(4vw, 4rem);
	@media(900px < width){
		& > *:nth-child(1){
			flex: 1;
		}
		& > *:nth-child(2){
			flex: 1.39;
		}
	}
}
.about-af{
	& [class*="ptitle"]{
		&[class*="-bline"]{
            font-size: min(9.5vw, 75px);
            color: var(--main_color);
            font-weight: 800;
            padding-bottom: min(4.5vw, 30px);
            line-height: 1;
            margin: min(10vw, 90px) 0 min(6vw, 50px);
		}
	}
}
.grid-2{
	& [class*="title-line"] {
		&[class*="-en"] {
            padding-bottom: min(4vw, 1.12rem);
            margin: min(6vw, 1.5rem) 0 min(4vw, 1.3rem);
		}
	}
}
.about-message{
	& p {
        font-size: min(3.5vw, 16px);
        line-height: min(6vw, 1.95rem);
		& + p {
            margin-top: min(5vw, 2rem);
			&.message-name{
				margin-top: min(8vw, 5rem);
				& strong{
					font-size: min(6vw, 36px);
                    font-weight: 400;
                    font-family: "Hina Mincho", serif;
                    display: block;
                    line-height: 1;
                    margin-top: min(2.5vw, 1.1rem);
				}
			}
        }
    }
}
.line-table table{
	font-size:min(3.7vw,16px);
	& tr{
		&:not(:last-of-type) td{
			&:first-of-type{
				border-bottom: 2px solid var(--main_color);
			}
			&:last-of-type{
				border-bottom: 1px solid #ccc;
			}
		}
		& td{
			&:first-of-type{
				color:var(--main_color);
				width:25%;
			}
		}
	}
	@media(width < 901px){
		& tr{
			& td{
				&:first-of-type{
					width: 33%;
				}
			}
		}
	}
}
.mission-box{
	padding:min(7vw, 4.8rem);
}
.num-title-list{
	counter-reset: ntl-count;
	margin-top: min(9vw,3.3rem);
	& li{
        position: relative;
        line-height: 1.55;
        padding-left: min(8vw, 2.2rem);
        font-size: min(3.7vw, 16px);
		&::before{
			counter-increment: ntl-count;
			content: counter(ntl-count);
			color: #fff;
			font-weight: bold;
			background: var(--main_color);
			line-height: 1;
			display: flex;
			align-items: center;
			justify-content: center;
            padding: min(1.3vw, 0.1rem) min(1.3vw, 0.2rem) min(1.3vw, 0.2rem) min(1.3vw, 0.3rem);
            width: min(5.5vw, 25px);
            height: min(5.5vw, 25px);
            border-radius: 50%;
            font-size: 90%;
            position: absolute;
            left: 0;
			top: 0.25rem;
		}
		& strong{
            font-size: min(4.3vw, 20px);
            font-weight: 700;
            display: block;
            margin-bottom: 0.5rem;
			line-height: 1.5;
		}
		& + li{
			margin-top:min(6vw, 2rem);
		}
	}
}

/*ドリプロ研究会*/
.ex-meeting{
	& .steps-box {
		padding: min(6vw, 3rem);
		margin-bottom:min(12vw,50px);
		&::before, &::after{
			display:none;
		}
		& .btn-archive{
			margin: min(5vw, 26px) auto 0;
			width: min(100%, 450px);
			@media(900px < width){
				margin: min(5vw, 26px) auto 0 0;
			}
		}
		& > div {
			@media (900px < width) {
				flex-direction: row-reverse;
				& > *:nth-child(1) {
					flex: 2;
				}
				& > *:nth-child(2) {
					flex: 1;
				}
			}
			@media(width < 901px){
				gap:min(7vw,25px);
			}
		}
	}
	& .steps-title{
		font-size: min(5vw, 30px);
		font-weight: 700;
		margin-block-end: 1rem;
		line-height: 1.5;
		@media(width < 901px){
			text-align:center;
		}
	}
	& .steps-text{
		font-size: min(4vw, 17px);
	}
}

/* 会社概要 */
.table-company a{
	pointer-events:none!important;
	text-decoration:none!important;
}
.company-box{
    width: min(100%,900px);
	margin:0 auto;
}
.company-img-map > *{
	height:calc((100% - min(8vw,45px)) / 2);
	width:100%;
}
.company-box.wp-block-columns{
    grid-template-columns: repeat(auto-fill,minmax(min(100%,415px),1fr));
    gap: min(8vw,55px);
}
.company-img-map{
	display: flex;
    flex-wrap: wrap;
    gap: min(8vw,45px);
}
.company-img-map .wp-block-image{
    margin-bottom: 0;
    width: 100%;
}
.company-img-map .wp-block-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.map-box iframe{
    width: 100%;
    height: 100%;
}

.company-access h3{
  margin-top: 0;
}
.history {
    overflow: visible;
}
.history table tr {
    display: flex;
    line-height: 1.5;
}
.history table tr td:nth-of-type(1) {
    position: relative;
    min-width: min(18vw,70px);
    padding: 0 1em 0 0;
}
.history table tr td:nth-of-type(2) {
	padding: 0px 0 min(4vw, 1.5em) 1.3em;
    position: relative;
    border-left: 1px solid var(--main_color);
}
.history table tr td:nth-of-type(2):before {
    content: "";
    height: min(2.7vw, 11px);
    width: min(2.7vw, 11px);
    border-radius: 50%;
    position: absolute;
    top: min(1.5vw, 7px);
    left: max(-1.5vw, -6px);
    background: var(--main_color);
}
.history table tr:nth-last-of-type(2) td:nth-of-type(2){
    padding-bottom: 1em;
}
.history table tr:last-of-type td:nth-of-type(2) {
    border-left: 1px dashed var(--main_color);
}
.history table tr:last-of-type td:nth-of-type(2):before{
	display:none;
}
.gmap{
	& iframe{
		width:100%;
		height:auto;
		aspect-ratio:10/4;
		@media(width < 641px){
			aspect-ratio:10/6.5;
		}
	}	
}
	
/* お問い合わせ */
.grecaptcha-badge{
    bottom: min(4vw, 20px) !important;
    z-index: 2;
	@media(width < 641px){
		bottom: min(18vw, 100px) !important;
	}
}
.main-column .contact-tell{
    padding: 2em;
    border: 1px solid #ccc;
    margin-bottom: 1.5rem;
}
.main-column .contact-tell a{
    font-size: min(6vw,24px);
	font-weight: bold;
}
.main-column .contact-tell span{
    font-size: 14px;
    display: block;
	line-height: 1;
}
.contact table {
	width: 100%;
	margin: min(6vw,3rem) 0 min(5.5vw,2rem);
}
.contact table th, .contact table td {
  line-height: 1.75;
}
.table-common th span{
    background: #990000;
    margin-left: 10px;
    color: #ffffff;
    font-size: 12px;
    padding: 2px 5px;
    border-radius: 5px;
    line-height: 1;
    letter-spacing: 0.2em;
    text-indent: 0.2em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.mw_wp_form .error {
    color: #990000;
    background: none;
    margin-left: 0;
	display: initial;
	font-size: 12px;
}
.contact-flex div{
  display: flex;
  align-items: center;
  flex-flow: column;
  margin: 80px 0;	
}
.contact-flex a{
  font-size: 32px;
  line-height: 1;
  display: block;
  margin: 15px 0;
}
.wauto-td{
	display:flex;
    align-items: center;
	gap:1rem;
}
.wauto-td select{
	width:auto;
}
.wauto-td > div{
	display: flex;
    align-items: center;
    gap: 0.5rem;
}

/*CF7（コンタクトフォーム7）*/
/*確認画面と完了画面を非表示*/
.substitute-form .confirm_area, .substitute-form .thanks_area{
	display: none;
}
/*デフォルトのサンクスメッセージを非表示*/
.substitute-form .wpcf7-response-output, .substitute-form .wpcf7-spinner{
	display: none;
}
/*そのほかデザイン*/
.form-btn{
    width: min(300px, 100%);
    position: relative;
    margin: min(3vw, 25px) auto 0;
}
.form-btn:after {
    -webkit-transform: rotate(45deg);
    display: inline-block;
    position: absolute;
    top: 0;
    right: 1em;
    bottom: 0;
    width: 12px;
    height: 12px;
    margin: auto;
    transform: rotate(45deg);
    border-top: 3px solid var(--main_color);
    border-right: 3px solid var(--main_color);
    content: "";
}
.form-btn:has(> input:hover):after {
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
}
.form-btn input, .confirm-links input[type='submit']{
    display: block;
    z-index: 1;
    width: 100%;
    padding: 0.85rem;
    background: #fff;
    text-align: center;
    transition: 0.5s;
    color: var(--main_color);
    border: 1px solid var(--main_color);
    border-radius: 4px;
    filter: drop-shadow(1px 1px 0px #ccc);
    font-size: 14px;
}
.form-btn input:hover, .confirm-links input[type='submit']:hover{
    background: var(--main_color);
    color: #fff;
    opacity: 1;
}
.form-btn input:disabled, .form-btn input[disabled=""]{
	background:#efefef;
	pointer-events:none;
	border:none;
}
.form-btn:has(input:disabled):after, .form-btn:has(input[disabled=""]):after{
	display:none;
}
.form-tyui{
    margin-top: 2rem;
    border: 2px solid #ffc85e;
    padding: 0.5rem 0.7rem;
    font-size: min(3.5vw, 15px);
    line-height: 1.55;
	display:none;
}
.adrs-td{
    display: flex;
    align-items: center;
	gap:5px;	
}
.adrs-td input[type="text"]{
    width: 100px;
    margin: 0;
}
.substitute-form .wpcf7-not-valid-tip{
    font-size: 12px;
	margin-top:0.3rem;
}
.substitute-form .wpcf7-list-item{
	display:block!important;
	margin:0!important;
}
.substitute-form .form-btn-box > * > *{
	display:flex;
	flex-wrap:wrap;
	gap: min(1vw, 15px) min(4vw,15px);
}
.confirm-links{
	display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
    gap: min(5vw, 30px);
    width: min(100%, 550px);
    margin: 0 auto;
}
.confirm-links .back_button{
    display: block;
    z-index: 1;
    width: 100%;
    padding: 0.85rem;
    background: var(--sub_color);
    text-align: center;
    transition: 0.5s;
    color: var(--main_color);
    border: 1px solid var(--sub_color);
    border-radius: 4px;
    filter: drop-shadow(1px 1px 0px #ccc);
    font-size: 14px;
}
.confirm-links .back_button:hover{
	opacity:0.5;
    transition: 0.5s;
}
.wpcf7 form.sent .wpcf7-response-output{
	display:none!important;
}
.ja-check, .f-check{
    color: #dc3232;
    font-size: 1em;
    font-weight: normal;
    display: block;
	margin-top: 0.3rem;
}

/******************************************
 * *投稿関連
* *****************************************/
.single-post .head-common {
    font-size: min(6vw,36px);
  border-bottom:1px solid #999999;
  padding-bottom: 13px;
    line-height: 1.35;
}

.sidebar .btn-archive {
	margin-top: min(5vw, 35px);
}

.btn-form,
button.btn-form {
  border: 1px solid var(--main_color);
  background: var(--main_color);
  color: #fff;
  text-align: center;
}

.btn-form:hover,
button.btn-form:hover {
  background: #fff;
  color: var(--main_color);
  opacity: 1;
}

.footer-nav > li {
  line-height: 1.75;
}

.pagination {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
  color: var(--main_color);
}

.main-column .pagination li {
  margin: 0 5px;
    padding: 0;
}

.main-column .pagination li:before{
	content: none;
}

.pagination .pager {
	display: inline-block;
	border-radius: 50%;
	background: #999;
	color: #fff;
	font-weight: bold;
	text-align: center;
    line-height: 1;
    width: min(10vw, 40px);
    height: min(10vw, 40px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.3rem 0.5rem;
    font-size: min(16px, 4vw);
}
.pagination .pager i {
  vertical-align: bottom;
}
.pagination .pager i:before {
  display: block;
  min-width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
}

.pagination .pager:hover, .pagination .pager.current {
  background: var(--main_color);
  opacity: 1;
}

.lazyload, .lazyloading {
  opacity: 0;
}

.okuric li{
	line-height:14px;
}

/*追従リンク*/
.pagetop {
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    position: fixed;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--main_color);
    color: #fff;
    text-align: center;
    right: 20px;
	bottom: -50px;
	@media(width < 641px){
		right: 15px;
	}
}
.pagetop span {
  -webkit-transform: rotate(-45deg);
  display: block;
  width: 25%;
  height: 25%;
  margin-top: 5px;
          transform: rotate(-45deg);
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
}

.fbtn-link{
    position: fixed;
    right: min(3vw, 2.5rem);
    bottom: min(21vw, 5rem);
    transition: 0.5s;
    z-index: 5;
	width: min(15vw, 165px);
	height:auto;
	aspect-ratio:91/88;
	&:hover{
		opacity:1;
	}
	@media(640px < width){
		&:hover{
			scale: 1.1;
		}
	}
	@media(width < 641px){
		& img{
			display:none;
		}
		color: #fff;
		background:url(images/free-btn-back.jpg) center/cover no-repeat;
        text-align: center;
        padding: min(5vw, 2rem);
        bottom: 0;
        left: 0;
        width: 100vw;
        aspect-ratio: auto;
        font-size: min(4vw, 18px);
        font-weight: bold;
        opacity: 1;
		box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
		text-shadow: 0px 0px 3px #0078c5;
		&:before{
			content:"加算状況の無料診断はコチラ ▶";
			display:flex;
			justify-content:center;
			align-items:center;
		}
	}
}
.fblink-top-text{
    font-size: min(3.7vw,18px);
}
.fblink-bottom-text{
    font-size: min(4.5vw,22px);
}

/*投稿記事移動*/
.nav-link{
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
    margin: 15px auto;	
}
.nav-link li:before{
  content:none;
}
.nav-link li.link-archive:nth-child(1){
	margin:0 auto;
}
.link-prev, .link-next, .link-archive {
position: relative;
}
.link-prev a, .link-next a, .link-archive a {
    display: flex;
    align-items: center;
    justify-content: center;
	padding: min(2.5vw, 1rem);
    color: var(--main_color);
    text-align: center;
    font-weight: bold;
    border: 1px solid var(--main_color);
    filter: drop-shadow();
    font-size: min(3vw, 14px);
}
.pageokuri li {
    width: 25%;
    margin: 0;
	padding:0;
}
.link-prev a:hover, .link-next a:hover, .link-archive a:hover{
	background: var(--main_color);
	color: #fff;
	opacity: 1;
}
.link-prev a:before, .link-prev a:after, .link-next a:before, .link-next a:after, .link-archive a:before, .link-archive a:after {
  font-family: "Font Awesome 5 Free";
  font-weight: 700;
}
.link-archive {
  order: 2;
}
.link-prev a:before {
    -webkit-transform: rotate(225deg);
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 10px;
    transform: rotate(225deg);
    border-top: 2px solid var(--main_color);
    border-right: 2px solid var(--main_color);
    content: "";
}
.link-next {
  order: 3;
  text-align: right;
}
.link-next a:after {
  -webkit-transform: rotate(45deg);
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 10px;
  transform: rotate(45deg);
  border-top: 2px solid var(--main_color);
  border-right: 2px solid var(--main_color);
  content: "";
}
.link-prev a:hover:before, .link-next a:hover:after{
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.list-num > li {
  list-style-position: inside;
  counter-increment: cnt;
}

.list-num > li:before {
  display: inline-block;
  content: counter(cnt);
}

.list-caution{
  margin:0.5em 0 0;
}
.list-caution:has(+ *){
	margin-bottom:0.7rem;	
}

.list-caution li{
  font-size:12px;
  line-height:16px;
    padding-left: 0;
}

.list-caution li:before {
  content: "※";
  height:initial;
  width:initial;
  background:none;
}

.list-circle > li {
  margin-left: 1em;
  text-indent: -1em;
}

.list-circle > li:before {
  content: "●";
}

.list-circle-border > li {
  margin-left: 1em;
  text-indent: -1em;
}

.list-circle-border > li:before {
  content: "○";
}

.list-dot > li {
  margin-left: 1em;
  text-indent: -1em;
}

.list-dot > li:before {
  content: "・";
}

.imgFullWidth {
  display: block;
  width: 100%;
  height: auto;
}

.table-common {
  width: 100%;
}

.table-common th {
  letter-spacing: 0.2em;
  line-height: 2;
}

.table-common td {
  letter-spacing: 0.1em;
  line-height: 2;
}

.table-common a {
  text-decoration: underline;
}

.table-contact {
  width: 100%;
  border-top: 1px solid #ccc;
}

.table-contact th {
  position: relative;
}

.table-contact th.required:after {
  position: absolute;
  right: 0;
  height: 1.5em;
  padding: 0 1em;
  background: #e60012;
  color: #fff;
  line-height: 1.5;
  content: "必須";
}

.table-contact td {
  border-bottom: 1px solid #ccc;
}

.single-post {
margin-bottom: 50px;
}

.single-header {
  margin-bottom: 1em;
  display:flex;
  justify-content:space-between;
}

.single-header time {
  margin-right: 2em;
  font-size: 14px;
}

.single-header time:before {
  content:"";
  display:inline-block;
  width:14px;
  height:14px;
  background:url(images/date.svg);
  background-size:cover;
  margin-right:5px;
  position:relative;
  top:2px;
}

.single-contents{
	& > *:not(:last-child){
		margin-bottom: 1em;
	}
	& strong{
		font-weight:bold;
	}
	& a{
		text-decoration:underline;
		color:#1A0DAB;
	}
	& p{
		line-height: 2;
		& + .wp-block-columns{
			margin-top:2rem;
		}
	}
	& img{
		max-width: 100%;
		height: auto;	
	}
	& iframe {
		max-width: 100%;
	}
	& .grid-2{
		grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
		gap: min(12vw, 50px) min(8vw, 50px);
	}
	& :is([class*="flex-"]:not(.wp-block-group), [class*="flex-"].wp-block-group >div){
		gap: min(7vw, 5rem) min(4vw, 2rem);
	}
	& table {
		width: 100%;
		font-size:min(3.5vw,15px);
		border-right:1px solid #B8B8B8;
		border-left:1px solid #B8B8B8;
		& th, td{
			line-height: 1.5;
			padding: min(3.5vw,1rem) min(4vw,0.8rem);
		}
		& th{
			border-right:1px solid #B8B8B8;
		}
		@media(640px < width){
			& th{
				width: 23%!important;
			}
		}
		@media(width < 641px){
			border-top:1px solid #B8B8B8!important;
			& tr{
				display: table-row;
				& th, td{
					display: table-cell;
					width: auto;
				}
				& td{
					border-bottom:1px solid #B8B8B8;
				}
			}
		}
	}
}
	
.main-column > *:nth-child(1){
  margin-top:0;
}

.wp-block-cover{
  margin:32px 0;
}

.has-very-dark-gray-background-color.has-very-dark-gray-background-color {
  background-color: var(--main_color);
}

.main-column .sitemap > li{
	border-top:1px solid #cccccc;
	& + li{
		margin-top:0;
	}
	& ul li + li > a{
		padding-top:0;
	}
}

.main-column .sitemap li > a{
    padding: 0.7rem 0 0.6rem;
    display: block;
    font-weight: bold;
    font-size: min(3.7vw, 15px);
    line-height: 1.55;
}

.main-column .sitemap > li:last-child{
	border-bottom:1px solid #cccccc;
}

.main-column .sitemap li a span{
  display:none;
}

.main-column .sitemap .sub-menu{
	margin:0;
}

.main-column .sitemap > li > .sub-menu {
    border-top: 1px solid #cccccc;
	padding-left: 15px;
}

.main-column .sitemap > li > ul > li > ul > li{
    margin: 0px 0 0 20px;
    line-height: 2;
}

.main-column .sitemap > li > ul > li > ul > li > a{
    display: inline-block;
}

.main-column .sitemap li:before{
  content:none;
}

.main-column .contact-form table th{
  padding: 15px 15px 15px 0;
  min-width:250px;
}

.main-column .contact-form table td{
  padding: 15px 0 15px 15px;
  width: calc(100% - 250px);
}

.mobile-header-banner {
    margin: 30px 20px 0;
}

.mobile-header-banner li{
	position: relative;
	top: unset;
}

.mobile-header-banner li:not(:first-child) {
    margin-top: 10px;
}

.mobile-header-banner li> *{
	font-family: "游ゴシック",YuGothic,"Noto Sans JP","ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic ProN","メイリオ",Meiryo,sans-serif;
}

.mobile-header-banner a {
    display: block;
	display: flex;
	align-items: center;
    position: relative;
    padding: 15px;
	background: var(--dl_blue);
    color: #fff;
}

.mobile-header-banner li.contact a:before{
    content: "";
    height: auto;
    width: min(7vw, 22px);
    aspect-ratio: 22 / 18;
    margin-right: min(2vw, 10px);
	mask:url(images/mail2.svg) no-repeat center center;
	-webkit-mask:url(images/mail2.svg) no-repeat center center;
	background:#fff;
	background-size: cover;
	fill: #fff;
}

/*MW WP Form*/
.mw_wp_form_input .mw-input-page {
    display: block;
}
.mw_wp_form p {
    font-size: 16px;
    line-height: 1.7em;
}
.mw_wp_form_input .mw-check-page {
    display: none;
}
.mw_wp_form_preview .mw-input-page {
    display: none;
}
.mw-btn {
    background: var(--main_color);
    display: block;
    text-align: center;
    color: #ffffff;
    padding: 1em;
	margin-top:min(6vw,35px);
}

/* Edge */
@supports (-ms-ime-align: auto) {
  .wp-block-image img{
    width: 100%;
  }
}


/* IE10以降 */
@media all and (-ms-high-contrast: none) { /* ハイコントラストモードが「オフ」の場合 */
  .wp-block-image img{
    width: 100%;
  }
}


@media screen and (min-width: 901px) {
	/*メインイメージ*/	
	.top-appli-box {
		position: absolute;
		bottom: 0;
		right: min(4vw,3.5rem);
		padding-top: min(4vw,3rem);
	}
	.top-appli-box:before{
		width: min(9vw,100px);
		left: max(-5vw,-3.5rem);
	}
	.top-appli-con{
		padding: min(7vw,3rem) min(5vw,2.5rem) min(5vw,2.5rem);
	}
	.top-appli-title{
		font-size: min(4.5vw,28px);
	}
}


/*ブルースカイス入れ込みのみ用*/
@media screen and (max-width: 600px){
	.wp-block-buttons{
		margin-top: 20px;
	}
	
	.wp-block-buttons .wp-block-button{
		display: initial;
		margin: 0;
	}
	
	.main-columnc .is-style-outline .wp-block-button__link{
	    position: relative;
        max-width: unset;
        display: block;
        left: unset;
        transform: unset;
        bottom: unset;	
	}
}
/*ブルースカイス入れ込みのみ用ここまで*/


@media screen and (min-width: 641px), print {
	.contact .fbtn-link{
		bottom: min(20vw, 9.5rem);
	}
	
  /* 会社概要　テーブル
	*************************** */
table.table-company tr:not(:last-of-type) {
    border-bottom: 1px solid #ccc;
  }

table.table-company th {
    width: 20%;
  }
	
	.border_color-table tr > *:nth-child(1), .back_color-table tr > *:nth-child(1) {
		width: 20%;
	}
  /* 会社概要　テーブル
	*************************** */
  /* お問い合わせ　テーブル
	*************************** */
  .contact table tr {
	display: flex;
    flex-flow: wrap;
  }

  .contact table th {
    width: 20%;
    line-height: 42px;
  }
  /* お問い合わせ　テーブル
	*************************** */
}



/* ////////////////////////////////////////
SPのみ
//////////////////////////////////////// */
@media screen and (max-width: 640px){
.index .main-visual {
	width: 100%;
	margin-bottom:0;
}
.wrap-slider .slider {
	height: 75vw;
}
.wrap-slider .slider img {
	height: 75vw;
}
.main-column .contact-tell{
	line-height: 1.5;
}
.main-column .contact-tell a {
	margin-top: 3vw;
	display: inline-block;
}
	
.link-prev a{
	border-right:none;	
}
.link-next a{
	border-left:none;
}
	
/*****************************
 * モバイルトップ
 * ***************************/
.top-sdgs-text{
	text-align:justify;	
}
	
/****************************
 * テーブルデザイン
 * *************************/
.back_color-table > table{
	border-top:none;
}
.back_color-table tr, .border_color-table tr{
    display: flex;
    flex-flow: wrap;
    align-items: center;
    width: 100%;
}	
.back_color-table td, .border_color-table td{
	border-bottom:none;
	display: block;
    width: 100%
}
.border_color-table{
    border-top: 2px solid var(--main_color);
}
.border_color-table tr > *:nth-child(1){
	background:var(--light-sub_color);
    border-bottom: 1px solid #B8B8B8;
}
.border_color-table tr > *:nth-child(2){
    border-bottom: 2px solid var(--main_color);
}

	
/*会社概要*/
    .access-code > div{
        flex-flow: column-reverse;
    }
	.access-code > div img{
		width: 100%;
	}
    .access-code-company{
	    margin-left: 0;
	    margin-bottom: 20px;
    }
/*会社概要*/

/*お問い合わせ*/	
  .contact-flex a {
      font-size: 24px;
      padding: 0.5em 0.75em;
      border-radius: 100px;
      background: var(--main_color);
      color: #fff;
      line-height: 1;
      display: block;
      margin: 20px 0;
  }
.substitute-form .codedropz-upload-wrapper, .main-column .contact-form table th, .main-column .contact-form table td, .contact-form tbody, .contact-form table{
    width: min(100%, 84vw);
    display: block;
}
.main-column .contact-form table td{
	padding-top:0;
	padding-left:0;
}
/*お問い合わせ*/	
}
}
/*--------------------common.cssここまで--------------------*/
/* ////////////////////////////////////////
SPのみ
//////////////////////////////////////// */
