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


:root{
	--main_color:#142374;
	--sub_color:#b8c1ec;
	--sub_Lcolor:#f3f2f7;
	--zenkakuGN:"Zen Kaku Gothic New", sans-serif;
	--robot:"Roboto", sans-serif;
	--nsJP:"Noto Sans JP", sans-serif;
	--oSans:"Open Sans", sans-serif;
}
.section-common[data-back="main-color"] {
    background: var(--main_color);
    color: #fff;
}
.section-common[data-back="sub-color"] {
    background: var(--sub_Lcolor);
}

@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;
	}

	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: #7c808b;
		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;
	}

	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;
	}
	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: 4px;
	}

	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: 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: #565961;
	font-family: "Noto Sans JP", "游ゴシック",YuGothic,"ヒラギノ角ゴ ProN W3","Hiragino Kaku Gothic ProN","メイリオ",Meiryo,sans-serif;
	font-size: min(15px, 3.7vw);
	letter-spacing: .05rem;
	font-weight: 400;
	text-align: justify;
    font-feature-settings: "palt";
	text-rendering: optimizeLegibility;
}

body p{
	line-height: 1.75;
}

.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);
			color:var(--main_color);
            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);
			color: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 min(2vw, 3px);
			display: -webkit-box;
			line-clamp: 2;
			-webkit-box-orient: vertical;
			-webkit-line-clamp: 2;
			overflow: hidden;
			text-overflow: ellipsis;
		}	
	}
	& 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);
			color: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.5rem
			}
		}
		: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: 9px;
					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, 2rem);
				&::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.2rem) min(1.3vw, 0.3rem) min(1.3vw, 0.2rem) min(1.3vw, 0.4rem);
                    width: min(5.5vw, 22px);
                    height: min(5.5vw, 22px);
					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:#0000ee;
	}
	&:active{
		color:#ff0000;
	}
	&:hover{
		color:#0000ee;
	}
	&:visited{
		color:#551a8b;
	}
}	
	
.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;
}

.wrap-zoom > img {
  transition: 0.5s;
	width:100%;
    height: auto;
    aspect-ratio: 3 / 2;
}

.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;
}


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

.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;
	margin-top:1rem;
}

.main-column .has-text-align-center{
	text-align:center;
}
	
/*ボタンデフォルト*/
.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;
	word-break: break-word;
}

/*間隔*/
.section-common{
	padding:min(25vw, 180px) 0;
}
.contents{
    width: min(100%,1380px);
    padding: 0 min(8vw,40px);
    margin: 0 auto;
}
.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:hover {
  opacity: 0.7;
  transition: 0.2s;
}
.btn-archive {
    display: flex;
    align-items: center;
    z-index: 1;
    position: relative;
    width: min(100%,350px);
	margin: min(9vw,45px) auto 0 0;
    text-align: left;
    transition: 0.5s;
    font-size: min(4vw,17px);
	font-family:var(--zenkakuGN);
	@media(width < 901px){
		width: 100%;
		color:#fff;
		background: var(--main_color);
		padding:min(5vw, 2.5rem) min(15vw, 8rem) min(6vw, 2.5rem) min(5vw, 2.5rem);
	}
}
.btn-archive:after {
    content: "";
	display: block;
	gap:min(3vw,20px);
    position: absolute;
    top: 50%;
    right: 0;
    width: min(15vw, 55px);
    height: auto;
    aspect-ratio: 1;
    border: 1px solid var(--sub_color);
    border-radius: 50%;
    transition: transform .75s cubic-bezier(0.19, 1, 0.22, 1);
	transform: translateY(-50%) scale(1);
    transform-origin: center center;
	@media(width < 901px){
		right: min(3.5vw, 1.3rem);
        border: 1px solid #fff;
        width: min(8vw, 41px);
        top: 47%;
	}
}
.btn-text{
	position:relative;
	color:var(--main_color);
	font-weight:bold;
    letter-spacing: 0.05rem;
    font-size: min(3.5vw, 14px);
	&::after{
		content: "";
        position: absolute;
        bottom: -0.3rem;
        left: 0;
        width: 100%;
        height: 0.1rem;
        min-height: 1px;
        background: var(--sub_color);
        transform-origin: right;
        transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
        transform: scaleX(0);
	}
	@media(width < 901px){
		text-align: center;
        color: #fff;
        font-size: min(4vw, 18px);
		&::after{
			display:none;
		}
	}
}
.btn-deco{
    position: relative;
    margin-left: auto;
    display: block;
    height: 100%;
    margin-right: min(5vw,1.1rem);
	z-index: 1;
	&::before, &::after{
		content: "";
		position: absolute;
		transition: 0.5s;
		top: 50%;
		right: min(3vw,0.5rem);
	}
	&::before{
        transform: translateY(-50%);
        width: min(12vw,43px);
        height: 1px;
		background: var(--main_color);
	}
	&::after{
		transform: translateY(-50%) rotate(45deg);
		width: min(3vw,10px);
        height: min(3vw,10px);
		background: none;
		border-top: 1px solid var(--main_color);
		border-right: 1px solid var(--main_color);
	}
	@media(width < 901px){
        position: absolute;
        margin: 0;
        right: min(7vw, 2.5rem);
		&::before, &::after {
            right: 0;
        }
		&::before {
            width: min(6.5vw, 43px);
            background: #fff;
            height: 2px;
        }
		&::after {
            width: min(2vw, 10px);
            height: min(2vw, 10px);
            border-top: 2px solid #fff;
            border-right: 2px solid #fff;
        }
	}
}
.btn-archive:hover{
	opacity:1;
	&::after{
		transform: translateY(-50%) scale(0.75);
	}
	& .btn-text::after{
		transform-origin: left;
        transform: scaleX(1);
	}
	@media(width < 901px){
		opacity:0.8;
	}
}
a:hover{
	& .btn-archive::after{
		transform: translateY(-50%) scale(0.75);
	}
}
	
/******************************************
 * *ヘッダー
* *****************************************/
.header {
    z-index: 6;
    background: #fff;
	box-shadow: 0 0 10px rgba(0 0 0 / 30%);
	position: fixed;
	left: 0;
	top: 0;
	transition: 0.5s;
}
body:not(.index):not(.en) .wrap-logo .logo .stop-logo{
	display:none;
}
.index .header{
	&:not(.bw-color){		
	}
}
.header.bw-color{
    background: #fff;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}
.lang-box{
    border-radius: 25rem;
    border: 1px solid var(--main_color);
    font-size: min(3vw, 15px);
	position:relative;
	@media(1430px < width){ 
		margin-right: min(2.5vw, 1.7rem);
	}
	@media(900px < width){
		margin-top: 0.1rem;
	}
	@media(width < 901px){
		&.sp{
			position: absolute;
			top: 15px;
			right: 56px;
		}
	}
	@media(width < 641px){
		&.sp{
			top: 18px;
			right: 52px;
		}
	}
}
.lang-box-choice{
    line-height: 1;
	padding: 0.35rem min(4.4vw, 1.25rem) 0.25rem min(3.5vw, 1.1rem);
    color: var(--main_color);
    text-align: center;
    cursor: pointer;
	position:relative;
	font-family:var(--robot);
	&:after{
        content: "";
        position: absolute;
        top: 46%;
        right: 0.4rem;
        border-top: 1px solid var(--main_color);
        border-right: 1px solid var(--main_color);
        transform: translateY(-50%) rotate(135deg);
        width: 5px;
        height: 5px;
        background: none;
	}
	&.rot:after{
        transform: translateY(-50%) rotate(315deg);
        top: 53%;
	}
}
.lang-menu{
	display:none;
	position: absolute;
    border: 1px solid var(--main_color);
    translate: -50% 0%;
    top: min(7.5vw, 2rem);
    left: 50%;
    width: calc(100% + min(2vw, 1rem));
	& li{
		& a{
            text-align: center;
            color: #fff;
            background: var(--main_color);
            transition: 0.3s;
            padding: min(1.5vw, 0.5rem);
            font-weight:500;
            display: block;
			font-family:var(--robot);
		}
		& + li{
			border-top:1px solid #fff;
		}
	}
}
.header-btn{
	& a{
		line-height: 1;
		padding: 0.8rem 1rem;
		font-size: min(3.7vw, 16px);
		font-weight: bold;
		display:block;
		text-align:center;
		font-family:var(--zenkakuGN);
		position: relative;
		&:hover{
			opacity:1;
		}
		@media(width < 901px){
			width:100%;
			padding:1rem;
		}
	}
	@media(900px < width){
		display:flex;
	}
	@media(900px < width < 1431px){
		display:none;
	}
}
.hd-recbtn{
	color:var(--main_color);
	background:var(--sub_color);
	border:1px solid var(--sub_color);
	&:hover{
		color:var(--sub_color);
		background:var(--main_color);
	}
	@media(900px < width){
		margin-right: min(2.5vw, 1.2rem);
	}
}
.hd-conbtn{
	color:#fff;
	background:var(--main_color);
	border:1px solid var(--main_color);
	&:hover{
		color:var(--main_color);
		background:#fff;
	}
}
.inner-header {
	display: flex;
	position: relative;
	align-items: center;
	justify-content: space-between;
	padding:1rem 0;
}
.wrap-logo {
  display: flex;
  align-items: center;
}
.wrap-logo .logo {
  display: block;
}
.wrap-logo .logo:hover {
  opacity:1;
}
.wrap-logo .logo img {
    position: relative;
	display: block;
	max-width: 100%;
	height: auto;
	max-height: 40px;
	width: min(40vw, 410px);
	@media(1430px < width){
		max-height: 60px;
		width: min(40vw, 450px);
	}
	@media(900px < width < 1431px){
		max-height: 40px;
		width:min(34vw, 350px);
	}
}
.head-header {
    margin-left: min(5vw,1.7rem);
	line-height: 1.25;
    margin-top: 5px;
	font-size:14px;
}
.head-header > *{
	font-weight: 500;
	line-height: 1;
}

.nav > .contents {
    width: 100%;
    padding: 0;
}
	
/*PCメニュー*/
.global-nav {
	display: flex;
	z-index: 2;
    gap: min(2.5vw, 1.5rem);
    margin-right: min(2.5vw, 1.5rem);
	@media(900px < width < 1431px){
		gap: min(2.5vw, 0.8rem);
		margin-right: min(2.5vw, 0.8rem);
	}
}
.global-nav > li {
  position: relative;
}
.global-nav > li > a {
	display: block;
	text-align: center;
	position:relative;
	font-weight:bold;
	font-family:var(--zenkakuGN);
	color:var(--main_color);
	font-size: min(3.7vw, 16px);
	@media(900px < width < 1431px){
		font-size:min(1.5vw,14px);
	}
}
.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;
}
.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-content .logo {
    display: block;
    margin: 1.3rem 1rem;
    overflow: hidden;
}
#nav-drawer {
  position: relative;
}
/*チェックボックス等は非表示に*/
.nav-unshown {
  display: none;
}
#nav-open {
	z-index: 10000;
	position: absolute;
    top: 15px;
	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(--main_color);
  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;
	margin-top:auto;
	background: #26252b;
}
.footer-top {
    padding: min(13vw, 90px) 0;
}
.inner-footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
    gap: min(5vw,45px);
}
.box-info-footer {
    width: min(70vw, 785px);
    text-align: center;
}
.box-info-footer .logo {
	display: block;
	margin-bottom: min(6vw, 35px);
	&:hover{
		opacity:1;
	}
	@media(width < 901px){
		margin-bottom: min(6vw, 30px);
		width: min(85vw, 450px);
	}
}
.box-info-footer img {
  width: 100%;
  height: auto;
}
.numf-time{
	font-family:var(--robot);
}
.info-footer {
	line-height: 1.35;
	color: #fff;
	font-size: min(3.7vw,15px);
	font-weight: 500;
}
.info-footer > * + *{
	margin-top: min(1.5vw, 0.4rem);
}
.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(5vw,100px);
}
.wrap-footer-nav .footer-nav li a span{
  display:none;
}
.wrap-footer-nav .footer-nav li a{
	padding: 0.3rem 0 0.3rem 0;
    display: block;
    color: #fff;
    line-height: 1.25;
    font-size: min(1.6vw,16px);
}
.copyright {
	& .contents{
		padding: min(4vw, 1.5rem) min(8vw,40px) min(5vw, 1.7rem);
        font-size: min(3vw, 15px);
        color: #ffffff;
        text-align: center;
        position: relative;
        font-weight: 300;
		& small{
			line-height: 0.9rem;
		}
		@media(900px < width){
			&::before{
				content: "";
				height: 1px;
				width: 94%;
				border-top: 1px solid #fff;
				position: absolute;
				top: 0;
				left: 50%;
				translate: -50% 0%;
			}
		}
		@media(width < 901px){
			border-top: 1px solid #fff;
		}
	}
}
/* シンプルフッター */
.wrap-simple-footer-nav{
	display:none;	
}
.simple-footer-nav {
    display: flex;
    justify-content: center;
}
.simple-footer-nav li a {
    padding: 0 1em;
    color: #fff;
    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;
	&:hover{
		opacity:1;
	}
}
.inner-footer-one .info-footer{
	text-align:center;
}
	
/******************************************
*投稿モジュール
* *****************************************/
.list-post .box-post-text{
    border-bottom: 2px solid #ececec;
}
.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;
	&::before, &::after {
        content: "";
        position: absolute;
        transition: 0.5s;
        top: 50%;
		right: 0;
    }
	&::before {
        transform: translateY(-50%);
        width: min(9vw, 17px);
        height: 2px;
        background: #6c727e;
    }
	&::after {
        transform: translateY(-50%) rotate(45deg);
        width: min(3vw, 10px);
        height: min(3vw, 10px);
        background: none;
        border-top: 2px solid #6c727e;
        border-right: 2px solid #6c727e;
    }
}
.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;
	display:-webkit-box;
	-webkit-box-orient:vertical;
	-webkit-line-clamp:2;
	overflow:hidden;
	text-align:left;
    font-family: "robot", "Noto Sans JP", sans-serif;
	font-weight:500;
}

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

.box-post-img-text a {
  display: block;
}

.img-text-info{
    display: flex;
    flex-direction: column;
    margin-top: min(5.5vw,27px);
}
.img-text-title{
	position:relative;
    color: var(--main_color);
    font-size: min(4.5vw,18px);
    line-height: 1.65rem;
	text-align: left;
	display: -webkit-box;
	line-clamp:2;
	-webkit-box-orient:vertical;
	-webkit-line-clamp:2;
	overflow:hidden;
	text-overflow: ellipsis;
	padding-right: min(7vw, 30px);
	&::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(4.5vw, 20px);
		height: auto;
		aspect-ratio: 1;
	}
}
.img-text{
	font-size: min(3.5vw,16px);
    margin-top: min(5vw,10px);
	display:-webkit-box;
	line-clamp:3;
	-webkit-box-orient:vertical;
	-webkit-line-clamp:3;
	overflow:hidden;
	text-overflow: ellipsis;
}

.time-post{
    font-size: min(3.2vw,14px);
    margin-right: 5px;
	font-family:var(--robot);
	font-weight:500;
}

.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 {
  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;
	display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
	text-align: left;
	text-overflow: ellipsis;
}

.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;
	font-size: 12px;
	text-align: center;
    line-height: 1;
    width: auto;
    height: auto;
    padding: 0.2rem 0.5rem 0.35rem;
    background: #f3f2f7;
    color: #7c808b;
}

.box-post-text .category-post {
	width:120px;
    padding: min(1vw,0.45rem) min(3vw,0.8rem) min(1.2vw,0.4rem);
    white-space: nowrap;
  font-size: min(2.5vw,13px);
	@media(900px < width){
		min-width: 120px;
	}
}

/*施工事例モジュール*/
.work-tcadr{
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: min(3vw,13px);
    padding-right: min(7vw,30px);
    font-size: min(3.5vw,15px);
    margin-top: min(6vw,25px);
}
.work-tcadr: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: 45%;
    right: 0;
    width: min(4.5vw,20px);
    height: auto;
    aspect-ratio: 1;
}
.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);
}

/*サイドバー*/
.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);
	color:var(--main_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;
}
.page-bread .breadcrumb{
    margin-bottom: 5rem;
}

/*間隔*/
.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);
		& .wrap-zoom{
			margin-bottom: 0.9rem;
		}
	}
	.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-gallery{
		display: grid!important;
		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-"] {
	&[class*="-middle"] {
      padding: min(8vw, 3rem);
    }
    &[class*="-min"] {
      padding: min(6vw, 2rem);
    }
	&[class*="-white"] {
      background: #fff;
    }
    &[class*="-gray"] {
		background: #f3f3f3;
    }
}

/*****************************
 * 見出し（タイトル）デザイン
 * ***************************/
/*メモ帳みたいなデザイン*/
.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);
	color:var(--main_color);
}
.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) {
		body:not(.index):not(.en) .btn-archive{
			margin:2rem 0 2rem;
		}
		.tb {
			display: none;
		}
		.sp {
			display: none;
		}
		.pc-textCenter{
			text-align:center;
			line-height:2.6;
		}

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

		/*ヘッダー*/
		.header{
			padding: 1rem 1.5rem;
		}
		#nav-content, .nav, .nav > .contents, .nav .header-tel{
			height: 100%;
		}
		.header-tel{
		    justify-content: center;
		}
		.nav-drawer{
			display: flex;
			flex-wrap: wrap;
			width: 100%;
			gap: min(3vw,15px) min(5vw,25px);
		}
		.inner-header{
			padding:0;
			margin-right: auto;
		}
		.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;
			flex-direction: column;
			gap: min(7vw,37px);	
			margin-left: auto;
			width: min(100%,885px);
		}
		.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) {
		body p {
			line-height: 1.85;
		}
		.pc {
			display: none;
		}

		.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: 20px;
		  }
		  .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, 60px);
		}
		 .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 #fff;
		}
		.simple-footer-nav li:nth-of-type(odd){
			border-right: 1px solid #fff;	
		}
		.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: 60px;
			padding: 9px 0 5px;
		}
		.wrap-logo {
			margin-left: 0;
		}
		.wrap-logo .logo {
			margin-left: 10px;
		}
		.wrap-logo .logo img{
			width: min(67vw, 410px)
		}
		.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: 30px;  
			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(--main_color);
			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(--main_color);
			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(--main_color);
			background-size:cover;
			margin:0 auto;
			right:0;
			left:0;
		}
		#nav-open {
			top: 16px;
			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 {
			font-size: 4vw;
		}
		.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,65px) 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);	
			}
		}
	}
	
	.grid-2 > [class*="wp-block-group__"] > * figure:has(+ *){
		margin-bottom:1.5rem;
	}

	: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, 2.5rem);
		&  div > figure:has(+ *){
			 margin-bottom: 1.5rem;
		}
	}
	[class*="title-line"] + .grid-3.wp-block-group > div {
		gap: min(12vw, 5rem) min(6vw, 3.5rem);
	}
	
	:is(.grid-4:not(.wp-block-group), .grid-4.wp-block-group >div){
		grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr));
/* 		gap:min(9vw,40px); */
		gap:min(11vw,40px) min(9vw,40px);
		&  div > figure:has(+ *){
			 margin-bottom: 0.8rem;
		}
	}

	:is([class*="flex-"]:not(.wp-block-group), [class*="flex-"].wp-block-group >div) {
		display: flex;
		gap: min(11vw, 6rem) min(8vw, 6rem);
	}
	: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;
	}
	
	.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: 1020px) {
		[class*="title-line"] + .grid-3.wp-block-group > div{
			gap:min(12vw, 3rem) min(6vw, 3rem);
		}
		: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(11vw, 40px) min(9vw, 35px);
		}
		:is([class*="flex-"]:not(.wp-block-group), [class*="flex-"].wp-block-group >div){
			gap: min(11vw, 6rem) min(8vw, 4rem);
		}
	}
	
	@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) min(5vw, 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%;
		  }
		}
	}
	
	.en-text, .en-text p{
		white-space: normal;
		overflow-wrap: normal;
		word-break: keep-all;
		text-align: left;
		-webkit-hyphens: auto;
		-ms-hyphens: auto;
		hyphens: auto;
/* 		line-break: anywhere; */
	}
	.en-ja-text, .en-text .en-ja-text, .cn-text-container{
		word-break: break-word;
		overflow-wrap: break-word;
		line-break: strict;
	}
}
/*--------------------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;
		color:var(--main_color);
	}
	.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);
		color: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{
		color:var(--main_color);
		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{
		color:var(--main_color);
		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 {
		color:var(--main_color);
		background: var(--sub_color);
		border-top: 3px solid var(--main_color);
		border-bottom: 3px solid var(--main_color);
		font-size: min(5.5vw, 25px);
		padding: min(3vw, 0.7rem) min(4vw, 1.3rem);
		line-height: 1.25;
		margin-bottom: min(8vw, 40px);
		& + p{
			margin-top:-10px;
		}
	}
	/*背景に塗りつぶし*/
	.backcolor{
		color:var(--main_color);
		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 {
		color:var(--main_color);
		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);
	}
	/*真ん中・太字・少し大きく*/
	[class*="title-min"] {
		color:var(--main_color);
		font-size: min(4.5vw, 18px);
		font-weight: 700;
		margin-block-end: 0.5rem;
		line-height: 1.25;
		text-align:center;
		&[class*="-left"]{
			text-align: left;
		}
		&[class*="mat"]{
			background:var(--sub_Lcolor);
			padding: 0.5rem 0.5rem 0.7rem;
			margin-block-end: 1rem;
		}
	}
	/*最初大文字の下線付き*/
	.obig-text-title {
		position: relative;
		font-size: min(4.5vw, 22px);
		color:var(--sub_color);
		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 {
		color: var(--main_color);
		position: relative;
		font-size: min(5vw, 20px);
		text-align: center;
		border-bottom: 3px solid var(--sub_color);
		margin-bottom: min(4vw, 17px);
		padding-bottom: min(3vw, 14px);
		line-height: 1.75rem;
		&::after {
			content: "";
			position: absolute;
			bottom: -3px;
			left: 50%;
			transform: translateX(-50%);
			width: 70px;
			height: 3px;
			background-color: var(--main_color);
		}
	}
	/*下線タイトル・2カラー*/
	[class*="title-line"]{
		color: var(--main_color);
		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;
		text-align:left;
		&[class*="-2color"]{
			&::after{
				content: "";
				width: min(10vw, 100px);
				height: 2px;
				background: var(--main_color);
				position: absolute;
				bottom: -1px;
				left: 0;
			}
		}
		&[class*="-en"]{
			&::before{
				content:"";
				color: var(--sub_color);
				font-size: min(3.7vw, 18px);
				position: relative;
				display: block;
				margin-bottom: min(3vw, 1.2rem);
				font-weight: 500;
				text-align: left;
			}
		}
	}
	h2[class*="-2color"]{
		font-size: min(6vw, 36px);
		padding-bottom: min(5vw, 1.6rem);
		margin-bottom: min(7vw, 2.7rem);
	}
	/*上に線*/
	[class*="title-oneline"]{
		position: relative;
		font-size: min(5vw, 20px);
		color: var(--main_color);
		margin-bottom: min(4vw, 1.3rem);
		line-height: 1.75rem;
		&::before{
			content: "";
			width: min(10vw, 45px);
			height: 2px;
			border-bottom: 2px solid var(--main_color);
			display: block;
			margin-bottom: min(4vw, 1.3rem);
		}
		& + p{
			font-size: min(3.5vw, 14px);
			line-height: min(6.5vw, 1.85rem);
		}
	}

	/********************************
	 * リストデザイン（通常：ドット、丸に数字）
	 * ******************************/
	.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 {
			color:var(--main_color);
			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);
	}
	/*※米リスト*/
	.kome-list{
		margin-top: 0.2rem;
	}
	.kome-list li{
		line-height: 1.55;
		padding-left: min(6vw, 1.3rem);
		&::before{
			content:"※";
			display:block;
			position: absolute;
			top: 0;
			left: 2px;
			width: min(5vw, 15px);
			height: auto;
			aspect-ratio: 1;
		}
	}
	ul li .kome-list{
		margin-top: 0.2rem;
		font-size: min(3.3vw, 12px);
		& li:before{
			top:0;
		}
	}
	/*矢印リスト*/
	.arrow-list > li{
		line-height: 1.55;
		padding-left: min(7vw, 1.9rem);
		&::before{
			content: "→";
			display: block;
			position: absolute;
			top: 0;
			left: 2px;
			width: min(2vw, 8px);
			height: auto;
			aspect-ratio: 1;
		}
		& + li{
			margin-top:0;
		}
	}
	/*二重丸リスト*/
	.dbcircle-list{
		margin-bottom: min(3vw, 1rem);
		margin-left: min(3vw, 1rem);
		margin-top: 0.2rem;
		& li{
			line-height: 1.55;
			padding-left: 1.5rem;
			font-size: min(3.7vw, 17px);
			&::before{
				content: "◎";
				display: block;
				position: absolute;
				top: 0;
				left: 2px;
				width: min(2vw, 17px);
				height: min(2vw, 17px);
				aspect-ratio: 1;
				border-radius: 0;
			}
			& + li{
				margin-top: min(1.3vw,0.5rem);
			}
		}
	}
	/*数字と点のリスト*/
	.num-dot-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, decimal-leading-zero) ".";
			display: block;
			position: absolute;
			top: 0;
			left: 0;
		}
	}
	.num-dot-list > li:not(:last-of-type) {
		margin-bottom: 0.4rem;
	}
	/*数字と点のリスト（ゼロなし）*/
	.num-dotzn-list li {
		position: relative;
		padding-left: min(5.5vw, 1.2rem);
		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-dotzn-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);
			content:"（"counter(ol-count)"）";
			display: block;
			position: absolute;
			top: 0;
			left: 0;
		}
		& ol{
			margin-top: 0.5rem;
		}
	}
	.num-brackets-list > li:not(:last-of-type) {
		margin-bottom: 1rem;
	}
	/*数字と右括弧のみのリスト*/
	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_color-table > table{
		width: min(100%,840px);
		margin: 0 auto;
	}
	.border_color-table td{
		border-bottom:1px solid #B8B8B8;
		padding: 1rem;
		text-align: left;
	}
	.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;
	}
}
/*--------------------design.cssここまで--------------------*/
	
/*--------------------common.css--------------------*/
@layer common {
/*フッターお問い合わせ*/
body:not(.index):not(.en) .contact-box {
    border-top: 1px solid #d9d9d9;
}
.contact-box{
	background:url(images/contact-back.jpg) center/cover no-repeat;
	position:relative;
	color: #fff;
	&:before {
		content: "";
		display: block;
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: #00103385;
	}
	& .contents{
		z-index: 1;
		position: relative;
	}
	& [class*="top-title"]{
		color: #fff;
		margin-bottom:0;
		&[class*="-en"] {
			&::before {
				color: #fff;
			}
		}
	}
	& .top-2column{
		& .ft-contact-info{
			position:relative;
			&::before{
				content:"";
				display:block;
				width:100%;
				height:1px;
				background:#fff;
			}
			@media (width > 900px) {
				padding-left: min(7vw, 5.5rem);
				flex: 2.7;
				&::before{
					width:1px;
					height:100%;
					position: absolute;
					left: 0;
					top: 0;
				}
			}
			@media (width < 901px) {
				&::before{
					margin-bottom:min(7vw,40px);
				}
			}
		}
		@media (width < 901px) {
			gap: min(6vw, 38px);
		}
	}
}
.ftcon-info-top a{
	color:#fff;
	text-decoration:underline;
}
.ftcon-info-tel{
    display: flex;
    gap: min(3vw, 40px);
    align-items: baseline;
    margin-top: 12px;
    flex-wrap: wrap;
	@media(width < 1370px){
		gap: min(3vw, 10px);
	}
	@media (width < 901px) {
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
}
.footer-tel{
	color:#fff;
	font-size: min(8vw, 44px);
	font-family:var(--robot);
	font-weight: 400;
	line-height: 1;
}
.ftime-holi{
	font-weight: 600;
	font-size: min(3.3vw, 16px);
	line-height: 1;
}
* + .ftcon-info-2btn{
	margin-top: min(9vw, 30px);
}
.ftcon-info-2btn{
	display:grid;
	grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr));
	gap: min(7vw, 30px);
	& .btn-archive{
		margin: 0;
		width:100%;
		padding:min(4.5vw, 1.5rem) min(16vw, 5.5rem) min(4.5vw, 1.5rem) min(4.5vw, 1.5rem);
		background:var(--main_color);
		&:after{
			width: min(8vw, 41px);
            right: min(3.5vw, 1rem);
		}
		& .btn-text{
			font-size: min(3.7vw, 16px);
			display: flex;
            align-items: center;
			&:after{
				display:none;
			}
		}
		& .btn-deco{
			position: absolute;
			margin: 0;
			right: min(7vw, 1.65rem);
			&::before, &::after{
				
			}
			&::before{
				
			}
			&::after{
				width: min(2vw, 8px);
				height: min(2vw, 8px);
			}
		}
		&[href*="pdf"]{
			background:var(--sub_color);
			color:var(--main_color);
			&:after{
				border: 1px solid var(--main_color);
			}
			& .btn-deco{
				&::before{
					background:var(--main_color);
				}
				&::after{
					border-top: 1px solid var(--main_color);
					border-right: 1px solid var(--main_color);
				}
			}
			& .btn-text{
				color: var(--main_color);
				&::before{
					content:"";
					background:var(--main_color);
					mask:url(images/calendar-icon.svg) center/contain no-repeat;
					-webkit-mask:url(images/calendar-icon.svg) center/contain no-repeat;
					width: min(6vw, 24px);
					height: auto;
					aspect-ratio: 73 / 75;
					display: inline-block;
					margin-right: 0.7rem;
				}
			}
		}
		&[href*="contact"]{
			& .btn-deco{
				&::before{
					background:#fff;
				}
				&::after{
					border-top: 1px solid #fff;
					border-right: 1px solid #fff;
				}
			}
			& .btn-text{
				color:#fff;
				&::before{
					content:"";
					background:url(images/mail3.svg) center/contain no-repeat;
					width: min(6vw, 25px);
					height: auto;
					aspect-ratio: 91 / 75;
					display: inline-block;
					margin-right: 0.7rem;
				}
			}
		}
	}
	@media(width < 901px){
		margin-top: min(9vw, 45px);
		grid-template-columns: repeat(auto-fill, minmax(min(100%, 450px), 1fr));
		gap: min(4vw, 25px);
		& .btn-archive{
			&::after{
				top: 51%;
			}
			& .btn-deco {
				right: min(7vw, 2.1rem);
			}
			& .btn-text{
				&::before{
					position: relative;
					top: -0.05rem;
				}
			}
		}
	}
}
	
/******************************************
 * *トップ
* *****************************************/
body:is(.index, .en){
	& .main-column{
		position:relative;
		&::before{
			content:"";
			background:url(images/back.png) center/cover no-repeat;
			display:block;
			width:100%;
			height:auto;
			aspect-ratio:192/108;
			position:absolute;
			translate:-50% 0%;
			top:0;
			left:50%;
			z-index:-1;
		}
	}
}
.wrap:has(> .main-column > section:last-of-type:not([data-back="sub-color"])){
	border-bottom:1px solid #ccc;
}
.top-maini-title{
	font-family:var(--robot);
    color: var(--main_color);
    line-height: 1.25;
    font-size: min(8vw, 45px);
    text-align: center;
    margin-bottom: min(12vw, 140px);
    font-weight: 300;
}
[class*="top-title"]{
	font-family:var(--zenkakuGN);
    color: var(--main_color);
    font-size: min(6.5vw, 40px);
    letter-spacing: 0.1rem;
    position: relative;
    line-height: min(9vw, 2.8rem);
    margin-bottom: min(7vw, 45px);
	&[en]{
		&::before{
			content: attr(en);
            display: block;
            font-family: var(--oSans);
			font-weight: 400;
            font-size: min(4vw, 20px);
            letter-spacing: 0.05rem;
            line-height: 1;
            margin-bottom: min(3.5vw, 1.3rem);
            color: var(--sub_color);
		}
	}
	&[class*="-left"]{
		text-align:left;
	}
	@media(width > 900px){
		&[class*="-center"]{
			text-align:center;
		}
	}
	@media(width < 901px){
		&::before{
			margin-left: 0.15rem;
		}
	}
	& + * > .btn-archive{
		margin-top:0;
		@media(width < 901px){
			margin-bottom: min(8vw, 40px);
		}
	}
}
.top-sub-title{
	font-size: min(5vw, 19px);
    color: var(--main_color);
    line-height: 1.75rem;
    margin-bottom: min(5vw, 20px);
	font-family:var(--zenkakuGN);
	font-weight:500;
	text-align: left;
}
.top-text{
	& + * > .btn-archive{
		margin-top:min(6vw,30px);
	}
}
.index .pc-textCenter + *{
    margin-top: min(12vw,50px);
}
/*トップ　2つ並び*/
.top-2column{
	display:flex;
	gap:min(14vw,50px);
	@media(width > 1280px){
		gap:min(10vw,150px);
	}
	@media(width > 900px){
		& > *:nth-child(1){
			flex: 1;
		}
		& > *:nth-child(2){
			flex: 2.6;
		}
	}
	@media(width < 901px){
		flex-wrap:wrap;
		& > *{
			width:100%;
		}
	}
}
.top-2column-text{
	display:flex;
    flex-direction: column;
    gap: min(11vw, 250px);
	@media(width < 901px){
		gap:0;
	}
}

/*メインイメージコンテンツ*/
.main-visual {
  position:relative;
}
.main-visual .noslide {
	width:100%;
	position:relative;
}
.main-visual picture {
  display: block;
}
.main-visual .noslide img{
	width:100%;
	height: auto;
}
.catchcopy-text{
    position: absolute;
    font-weight: bold;
    line-height: 1.45;
    left: 5%;
    bottom: 6%;
    color: #fff;
	& span{
		display:block;
		font-family:var(--robot);
	}
	@media(width < 901px){
		display:none;
		bottom: 7%;
		left: 6%;
		& .nct-top{
			font-size: min(9vw, 95px);
			line-height: min(10vw, 7.25rem);
		}
		& .nct-bottom{
			font-size: min(3vw, 20px);
			margin-top: min(5vw, 4rem);
		}
	}
}
.nct-top{
    font-size: min(8vw, 88px);
    line-height: min(9vw, 6.5rem);
	font-weight: 500;
}
.nct-bottom{
    font-size: min(2.5vw, 20px);
    margin-top: min(2vw, 4rem);
	font-weight: bold;
}
	
/*岐阜から世界各国に～*/
.top-intro{
    padding: min(25vw, 345px) 0;	
}
.top-intro-clm{
    gap: min(6vw, 50px);
	& [class*="top-title"]{
		margin-bottom: 0;
		font-size: min(6.5vw, 49px);
		line-height: min(9vw, 4.75rem);
		letter-spacing: 0.1rem;
	}
	@media(width > 900px){
		& > *:nth-child(1){
			flex: 1;
		}
		& > *:nth-child(2){
			flex: 0.8;
		}
	}
	@media(900px < width < 1222px){
		& [class*="top-title"]{
			font-size: min(3.5vw, 49px);
		}
		& .top-intro-clm-text p{
			font-size: min(3.7vw, 16px);
		}
	}
	@media(width < 901px){
		& [class*="top-title"] {
			&[class*="-left"] {
				text-align: center;
			}
		}
	}
}
.top-intro-clm-text p{
	font-size: min(3.7vw, 20px);
    color: var(--main_color);
    line-height: min(7vw, 2.35rem);
}
	
/*トップ：事務所について*/
.top-about{
	padding-top:0;
	@media(width > 900px){
		padding-top: 30px;
	}
	@media(width < 901px){
		& .sp{
			margin-bottom: min(6vw, 25px);
		}
	}
}
.top-about-clm .top-2column-text{
    @media (width > 1280px) {
		gap: min(7vw, 60px);
    }
	& .t2col-info {
		margin-top: auto;
	}
}
	
/*トップ：サービス案内*/
.top-services{
	background:#142374;
	color:#f2f2f2;
	& .btn-archive{
		&::after{
			border: 1px solid #fff;
		}
	}
	& .btn-text{
		color:var(--main_color);
	}
	& .btn-deco{
		&::before{
			background: #fff;
		}
		&::after{
			border-top: 1px solid #fff;
			border-right: 1px solid #fff;
		}
	}	
	& [class*="top-title"], & .top-sub-title, & .top-text, & .btn-text{
		color: #f2f2f2;
	}

	@media(width < 901px){
		& .btn-archive{
			background:var(--sub_color);
			&::after{
				border: 1px solid var(--main_color);
			}
		}
		& .btn-text{
			color:var(--main_color);
		}
		& .btn-deco{
			&::before{
				background: var(--main_color);
			}
			&::after{
				border-top: 1px solid var(--main_color);
				border-right: 1px solid var(--main_color);
			}
		}	
	}
}
.top-2column-ts{
	counter-reset: tscount;
}
.tservices-box{
	display:flex;
    gap: min(6.5vw, 60px);
	padding:min(10vw,40px) 0;
	&:not(:last-of-type){
		border-bottom:1px solid #7c808b;
	}
	&:first-of-type{
		padding-top:0;
		padding-bottom:min(10vw,40px);
	}
	&:last-of-type{
		padding-top:min(10vw,40px);
		padding-bottom:0;
	}
	@media(width > 900px){
		& > *:nth-child(1){
			flex: 1;
		}
		& > *:nth-child(2){
			flex: 2;
		}
	}
	@media(width < 901px){
		flex-wrap:wrap;
		& > *{
			width:100%;
		}
		& .flexRight{
			justify-content: center;
			& .simple-btn{
				width: min(100%, 350px);
			}
		}
	}		
}
.tservices-box-img{
	position:relative;
	&::before{
		counter-increment: tscount;
		content: counter(tscount, decimal-leading-zero)" /";
		line-height: 1;
		font-size: min(5vw, 20px);
		display: block;
		font-family:var(--robot);
		position:absolute;
		top:0;
		left:0;
	}
	& img{
		width:75%;
		display:block;
        margin: 0 0 0 auto;
		@media(width < 901px){
			width: 55%;
			margin: 0 auto;
		}
	}
}
.tservices-title{
    font-size: min(5vw, 19px);
    line-height: 1.75rem;
    margin-bottom: min(2.5vw, 20px);
	font-family:var(--zenkakuGN);
	color: #f2f2f2;
	@media(width < 901px){
		text-align:center;
	}
}
.simple-btn{
    padding: 0.6rem min(11vw, 3rem) 0.6rem min(4vw, 0.9rem);
    font-weight: bold;
    color: var(--main_color);
    background: var(--sub_color);
    position: relative;
    width: min(100%, 250px);
	margin-top: min(4vw, 1.5rem);
    font-size: min(3.3vw, 14px);
    &::before, &::after {
        content: "";
        position: absolute;
        transition: 0.5s;
        top: 50%;
		right: min(3vw, 1rem);
    }
	&::before{
        transform: translateY(-50%);
        width: min(9vw, 21px);
        height: 2px;
        background: var(--main_color);	
	}
	&::after{
        transform: translateY(-50%) rotate(45deg);
        width: min(3vw, 10px);
        height: min(3vw, 10px);
        background: none;
        border-top: 2px solid var(--main_color);
        border-right: 2px solid var(--main_color);
	}
}
.comi-btn{
	background:#C0C0C0;
	pointer-events:none;
}
	
/*トップ：弁理士紹介*/
.top-2column-tm{
	display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(45%, 250px), 1fr));
    gap: min(10vw, 60px) min(5vw, 30px);
}
.tmember-box-img{
	margin-bottom: min(5vw, 15px);
	& img{
		width:100%;
		aspect-ratio:11/15;
		object-fit:cover;
	}	
}
.tmember-yaku, .tmember-kana{
	font-size: min(3vw, 14px);
	font-weight:400;
	line-height: 1;
}
.tmember-box-info{
	font-family:"Noto Sans JP",sans-serif;
	@media(900px < width){
		display: flex;
		align-items: center;
		z-index: 1;
		position: relative;
		width: min(100%, 350px);
		text-align: left;
		transition: 0.5s;
		font-size: min(4vw, 17px);
		font-family: var(--zenkakuGN);
		&::after{
			content: "";
			display: block;
			gap: min(3vw, 20px);
			position: absolute;
			top: 50%;
			right: 0;
			width: min(15vw, 55px);
			height: auto;
			aspect-ratio: 1;
			border: 1px solid var(--sub_color);
			border-radius: 50%;
			transition: transform .75s 
				cubic-bezier(0.19, 1, 0.22, 1);
			transform: translateY(-50%) scale(1);
			transform-origin: center center;
		}
	}
	@media(width < 901px){
		& .btn-deco{
			display:none;
		}
	}
	@media(width < 641px){
		&::after{
			top: 34%;
			width: min(11vw, 55px);
		}
		& .btn-deco {
			margin-right: min(2.5vw, 1.1rem);
			position: absolute;
            right: 0;
			&::before, &::after {
				top: 34%;
			}
			&::before{
				width: min(8vw, 43px);
			}
		}
	}
}
.tmember-tmlinknn:after{
	display:none;
}
.tmember-box:hover{
	& .tmember-box-info:after{
		transform: translateY(-50%) scale(0.75);
	}
}
.tmember-name{
	color:var(--main_color);
    font-weight: 500;
    line-height: 1;
    margin: min(2.5vw, 0.8rem) 0;
    font-size: min(4.5vw, 18px);
}
	
/*トップ：採用情報*/
.top-recruit{
	@media(width < 901px){
		padding-bottom:0;
	}
}
.top-recruit-img{
	position:relative;
	& img{
		max-width: fit-content;
		@media(900px < width){
			position: absolute;
			object-fit: cover;
			width: auto;
			height: calc(100% + min(25vw, 180px) * 2);
			top: max(-25vw, -180px);
			left: 0;
		}
		@media(width < 901px){
			position: relative;
			left: 50%;
			right: 50%;
			transform: translateX(-50%);
			width: min(100vw, 900px);
		}
	}
}
	
/*トップ：新着*/
.top-info{
	& .box-post-text{
		& a{
			gap: min(2.5vw, 22px);
			padding:min(5vw, 45px) min(8.5vw, 80px) min(5vw, 45px) 0;
			@media(900px < width){
				flex-wrap:nowrap;
			}
		}
		& time {
			margin-right: 0;
			font-size: min(3.2vw,14px);
			display:block;
		}
		& .category-post{
			padding: min(1vw, 0.3rem) min(2vw, 0.6rem) min(0.8vw, 0.4rem);
		}
		& h3{
			font-size: min(14px, 3.3vw);
            line-height: min(6vw,1.55rem);
		}
	}
	@media(900px < width){
		& .top-2column-text{
			gap: min(20vw, 120px);
		}
	}
	@media(width < 901px){
		& .top-2column{
			gap: min(4vw, 50px);
		}
	}
}
.post-content{
	display:none;
}
.post-list-btn{
	& li{
		&.active{
			& a{
				background:var(--main_color);
				color:#fff;
			}
		}
		& a{
			border: 1px solid var(--main_color);
            font-family: var(--zenkakuGN);
            font-weight: bold;
            width: 100%;
            display: block;
            text-align: center;
            line-height: 1;
            padding: min(3vw,0.9rem);
			&:hover{
				background:var(--main_color);
				color:#fff;
				opacity:1;
			}
		}
		& + li{
			margin-top:1.2rem;
		}
		@media(width < 901px){
			& + li{
				margin-top:0;
			}
		}
	}
	@media(width < 901px){
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(min(45%, 350px), 1fr));
		gap: min(3vw, 20px);
	}
}
.top-info .sp .btn-archive{
    margin-top: min(12vw,45px);
}

/*こだわり*/
.tc-con{
    margin-bottom: min(14vw,70px);
}
.tc-box{
	background:#fff;
	border-radius:10px;
	padding:min(6vw,2rem);
}
.tc-box-title{
	color:var(--main_color);
    font-size: min(4.8vw,20px);
    line-height: 1.45;
    font-weight: bold;
	text-align:center;
}
.tc-box-img{
	display:block;
    margin: min(4vw,1.5rem) auto min(3.5vw,1.2rem);
    width: auto;
    height: min(13vw,50px);
}
.tc-box-text{
    text-align: center;
    font-size: min(3.5vw,15px);
    line-height: 1.55;
}

/*トップSDGs*/
.top-sdgs-con{
    background: #fff;
    width: min(100%,490px);
    margin: 0 auto;
    display: block;
    padding: min(5.5vw,2rem) min(6vw,2.3rem) min(5vw,1.9rem);
}
.top-sdgs-img{
	width:100%;
}
.top-sdgs-text{
	font-size: min(3.2vw,14px);
    text-align: center;
    line-height: 1.25;
    margin-top: min(3.5vw,1rem);
}

/*代表メッセージ*/
.top-message{
	background:url(images/top-recruit-back.jpg) center/cover no-repeat;
    padding: min(20vw,150px) 0 min(23vw,130px);
}
.top-message-title{
	line-height: 1.45;
    font-size: min(6.7vw,35px);
    margin-bottom: min(6vw,35px);
}
.top-message-box{
	gap:min(8vw,60px);
	display:flex;
	flex-wrap:wrap;
}
.tmb-text{
    flex: 1 min(100%,750px);
}
.top-message-text{
    line-height: min(8.5vw,3rem);
    font-size: min(3.7vw,16px);
}
.tmb-img{
    flex: 1 min(100%,150px);
}
.tmb-img img{
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1;
	display:block;
	margin:0 auto;
    max-width: 300px;
}
.top-message-name{
text-align: right;
    font-size: min(6.7vw,35px);
    font-weight: bold;
    line-height: 1.55;
    width: min(100%,870px);
    margin-top: min(6vw,60px);
}
.tm-job-title{
    font-size: min(3.5vw,14px);
    display: block
}

/*トップアクセス*/
.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;
}


/******************************************
 * *固定ページ
* *****************************************/
body:not(.index):not(.en):not(.recruit) .wrap {
	padding: 0 0 min(35vw,250px);
}
body:not(.index):not(.en) .main-visual {
	display: flex;
	align-items: center;
	background:url(images/h1.jpg) center/cover no-repeat;
}
.head-page {
    width: min(100%,567px);
    z-index: 1;
	font-size: min(3.5vw,15px);
    text-align: center;
    position: relative;
    margin: min(6vw, 50px) auto min(7vw, 50px);
	color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.head-page:before {
    margin-bottom: min(1vw, 0.3rem);
    font-size: min(7vw, 30px);
    text-transform: uppercase;
    font-weight: bold;
    line-height: 1.25;
}
.head-page-en{
    width: min(100%,567px);
    z-index: 1;
	font-size: min(7vw, 30px);
	line-height: 1.25;
	font-weight: bold;
	text-transform: uppercase;
    text-align: center;
    position: relative;
    margin: min(6vw, 50px) auto min(7vw, 50px);
	color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
	&::before{
		display:none;
	}
}
.wrap-head-common {
  margin-bottom: 30px;
}
.head-common {
  line-height: 1.5;
}
.page-section + .page-section{
    margin-top: min(35vw, 250px);
}
.page-section_inner + .page-section_inner{
    margin-top: min(18vw, 100px);
}
.section_inner-box + .section_inner-box{
	margin-top: min(15vw, 70px)
}
: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);	
	}
}
.text-center-left{
    text-align: center;
    font-size: min(3.7vw, 18px);
    line-height: min(6.5vw, 2.1rem);
	@media(width < 901px){
		text-align:left;
	}
}
.link-btn-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(47%, 200px), 1fr));
    gap: min(4vw, 30px);
	& li{
		& a{
			border-radius: 5px;
			background: #fff;
			border: 1px solid #fff;
			color: var(--main_color);
			position: relative;
			display: flex;
			align-items: center;
			justify-content: center;
			padding: min(2.5vw, 0.7rem) min(2.5vw, 0.7rem) min(3.5vw, 1rem);
			gap: min(1.5vw, 9px);
			border: 1px solid var(--main_color);
			flex-direction: column;
			&::after{
				display: block;
				width: 10px;
				height: 10px;
				-webkit-transform: rotate(135deg);
				transform: rotate(135deg);
				border-top: 1px solid var(--main_color);
				border-right: 1px solid var(--main_color);
				content: "";
				margin-bottom: 0.1rem;
			}
			&:hover{
				opacity:1;
				background:var(--main_color);
				color:#fff;
				&::after{
					border-top: 1px solid #fff;
					border-right: 1px solid #fff;
				}
			}
		}
		& + li{
			margin-top:0;
		}
	}
}
.capt-img figcaption{
    font-size: min(3.2vw, 16px);
    margin: min(3.2vw, 20px) 0 0 !important;
    line-height: 1.05rem;
}
[class*="text-"]{
	&[class*="-Center"]{
		text-align:center;
	}
	&[class*="-big"]{
		font-size: min(5.7vw, 32px);
        font-weight: bold;
        line-height: 1;
	}
}
	
/*事務所について*/
.page-about-title{
    text-align: center;
    font-size: min(5vw, 24px);
    line-height: min(8.5vw, 2.75rem);
    margin-bottom: min(5vw, 1.3rem);
    font-weight: 600;
}
.page-about-subtitle{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: min(4vw, 1.5rem);
    color: var(--main_color);
    font-size: min(3.7vw, 16px);
    position: relative;
    font-weight: 500;
    line-height: 1.45rem;
    text-align: center;
    margin-bottom: min(7vw, 38px);
	&::before, &::after{
		content: "";
        display: block;
        height: 1px;
        border-bottom: 1px solid #333;
		flex: 1;
	}
}
.pabout-intro-title{
    font-size: min(6vw, 24px);
    text-align: center;
    color: var(--main_color);
    margin-bottom: 1rem;
    line-height: min(9vw, 2.35rem);
}
.pabout-intro-subtitle{
    display: flex;
    justify-content: center;
    font-weight: 500;
    text-align: center;
    gap: min(2.5vw, 1.5rem);
    align-items: center;
    line-height: 1.45rem;
    position: relative;
	color:#808ED0;
    font-size: min(3.7vw, 18px);
	&::before, &::after {
        content: "";
        display: block;
        height: 1px;
        border-bottom: 1px solid #ccc;
        flex: 1 1 0%;
    }
}
.pabout-box{
	& p{
		font-size: min(3.7vw, 16px);
		line-height: min(7vw, 1.95rem);
	}
	& > div{
		display:flex;
		gap:min(5.5vw,65px);
		@media(width < 901px){
			flex-wrap:wrap;
			& > *{
				width:100%;
			}
		}
	}
	@media(900px < width){
		& > div{
			& > *:nth-child(1){
				flex:1;
			}
			& > *:nth-child(2){
				flex: 1.05;
			}	
		}
	}		
}
.pabout-number-con{
	& > div{
		counter-reset: ancount;
		& .card > div{
			display:flex;
			flex-direction:column;
			height: 100%;
			& figure{
				margin-top:auto;
			}
		}
	}
	& img{
        height: 180px !important;
        width: auto !important;
        margin: min(6vw, 1.7rem) auto 0;
        display: block;
	}
}
.pabout-title-number{
    position: relative;
    font-size: min(5vw, 20px);
    color: var(--main_color);
    margin-bottom: min(4vw, 1.3rem);
    line-height: min(7.5vw, 2rem);
    padding-top: min(7.5vw, 2rem);
	text-align: left;
	&::before{
        counter-increment: ancount;
        content: "Features-" counter(ancount, decimal-leading-zero);
        color: var(--sub_color);
        display: block;
        font-size: min(4vw, 16px);
        font-weight: 400;
        line-height: 1;
        background: #fff;
        z-index: 1;
        padding-right: min(3vw, 1rem);
        position: absolute;
        top: 0;
        left: 0;
	}
	&::after{
        content: "";
        width: 100%;
        height: 1px;
        border-bottom: 1px solid #ccc;
        position: absolute;
        top: 0.55rem;
        left: 0;
	}
	& + p{
		font-size: min(3.5vw, 14px);
		line-height: min(6.5vw, 1.85rem);
	}
	&:has(+ .pabout-sub-title-number){
		margin-bottom: min(3vw, 0.7rem);
	}
	@media(width < 901px){
		& > br{
			display:none;
		}
	}
}
.about:not(.en-text){
	& .pabout-number-con > div{
		gap: min(16vw, 65px) min(8vw, 50px);
		& > div{
			&:nth-of-type(1) .pabout-title-number:before{
				content: "Features-" counter(ancount, decimal-leading-zero)"：管理体制";
			}
			&:nth-of-type(2) .pabout-title-number:before{
				content: "Features-" counter(ancount, decimal-leading-zero)"：サポート体制";
			}
			&:nth-of-type(3) .pabout-title-number:before{
				content: "Features-" counter(ancount, decimal-leading-zero)"：エキスパート";
			}
			&:nth-of-type(4) .pabout-title-number:before{
				content: "Features-" counter(ancount, decimal-leading-zero)"：国際舞台";
			}
			&:nth-of-type(5) .pabout-title-number:before{
				content: "Features-" counter(ancount, decimal-leading-zero)"：海外ネットワーク";
			}
			&:nth-of-type(6) .pabout-title-number:before{
				content: "Features-" counter(ancount, decimal-leading-zero)"：知財戦略";
			}
			&:nth-of-type(7) .pabout-title-number:before{
				content: "Features-" counter(ancount, decimal-leading-zero)"：研修";
			}		
		}
	}
}
.pabout-sub-title-number{
    position: relative;
    display: flex;
    gap: min(2.5vw,0.5rem);
    align-items: center;
    font-weight: 500;
    line-height: 1.45rem;
    margin-bottom: min(6vw, 1.5rem);
	text-align: center;
	color:#808ED0;
	&::before, &::after{
		content:"";
		border-bottom:1px solid var(--sub_color);
		height:1px;
		flex: auto;
	}
}
.philosophy{
	& [class*="title-line"] {
		&[class*="-en"] {
			&::before{
				content:"Philosophy";
			}
		}
	}
}
.outline{
	& [class*="title-line"] {
		&[class*="-en"] {
			&::before{
				content:"Outline";
			}
		}
	}
}
.access{
	& [class*="title-line"] {
		&[class*="-en"] {
			&::before{
				content:"Access";
			}
		}
	}
}
.page-rinen{
    line-height: min(9vw, 3.4rem);
    font-size: min(4.5vw, 24px);
    text-align: center;
    font-weight: 400;
    margin-top: min(11vw, 70px);
	& span{
        background: linear-gradient(transparent 50%, #edeffa 50%);
	}
}
.line-table table{
	& img{
		width: min(100%, 550px);
	}
	@media(900px < width){
		& tr{
			&:not(:last-of-type){
				border-bottom: 1px solid #ccc;
			}
			& td{
				&:first-of-type{
					width:20%;
				}
			}
		}
	}
	@media(width < 901px){
		& tr{
			display: flex;
			flex-flow: wrap;
			align-items: center;
			width: 100%;
			& td{
				width:100%;
				border: none;
				text-align: left;
				&:first-of-type{
					background: #f3f3f3;
				}
				&:last-of-type{
					padding: 1em 1em 1.8em;
				}
			}
		}
	}
}
.access{
	& .pabout-box > div{
		gap: min(10vw, 65px);
	}	
}
.access-list{
	margin-top: min(7vw, 3.3rem);
	& li{
        font-weight: 500;
        position: relative;
        display: flex;
        align-items: center;
        font-size: min(3.7vw, 16px);
        line-height: 1.45rem;
		& strong{
			font-weight:500;
			position:relative;
			display:flex;
			align-items:center;
			&::after{
				content:"";
				width:min(13vw,50px);
				height:1px;
				border-bottom:1px solid #ccc;
				margin: 0 0.5rem;
			}
		}
		&::before{
			display:none;
		}
		& + li{
			margin-top:1.3rem;
		}
		@media(900px < width){
			align-items: baseline;
		}
		@media(width < 901px){
			flex-wrap: wrap;
		}
	}
}
.square-list{
	& > li{
        line-height: 1.55;
        padding-left: min(4vw, 1.15rem);
		&::before{
            content: "";
            display: block;
            position: absolute;
            top: min(1.5vw, 7px);
            left: 0;
            width: min(2.5vw, 11px);
            height: auto;
            aspect-ratio: 1;
            background: var(--main_color);
		}
		& + li{
			margin-top: 0.5rem;
		}
	}
}
	
/*サービス案内*/
.page-intro-text{
    color: var(--main_color);
    line-height: min(8vw, 3rem);
    font-size: min(5vw, 30px);
    font-weight: bold;
    margin-bottom: min(5vw, 35px);
	@media(900px < width){
		text-align:center;
	}
}
.sv-link-btn-list{
	margin-top: min(12vw, 100px);
	display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(45%, 250px), 1fr));
    counter-reset: pscount;
	& li{
		border-left:1px solid var(--sub_color);
		& a{
			text-align: left;
            border: 1px solid #fff;
            color: var(--main_color);
            position: relative;
            display: flex;
			padding:min(1.5vw, 0.5rem) min(2.5vw, 2.5rem) min(1.5vw, 0.5rem) min(10.5vw, 3.6rem);
            font-weight: 500;
			font-size: min(3.5vw, 16px);
			line-height: min(5vw, 1.35rem);
            height: 100%;
			&::before{
				counter-increment: pscount;
                content: counter(pscount, decimal-leading-zero) " /";
                line-height: 1;
                display: block;
                color: var(--sub_color);
                white-space: nowrap;
                position: absolute;
                top: 0.6rem;
                left: min(2.5vw, 1.3rem);
			}
			&::after {
                content: "";
                display: block;
                width: 7px;
                height: 7px;
                -webkit-transform: rotate(135deg);
                transform: rotate(135deg);
                border-top: 1px solid var(--sub_color);
                border-right: 1px solid var(--sub_color);
                margin-bottom: 0.1rem;
                position: absolute;
                right: 1.3rem;
                top: 0.85rem;
            }
		}
		& + li {
			margin-top: 0;
		}
	}
	@media(width < 1096px){
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(min(45%, 450px), 1fr));
        gap: min(3vw, 20px);
		& li{
			& a{
                border: none;
                flex-direction: column;
                background: var(--sub_color);
				padding:min(2vw, 1rem) min(3vw, 2.5rem) min(5vw, 1.7rem) min(10.5vw, 3.6rem);
				&::before{
                    color: var(--main_color);
                    counter-increment: pscount;
					top: min(2vw, 1rem);
					left: min(2.5vw, 1.3rem);
				}
				&:after{
					top: auto;
					bottom: min(2.5vw, 0.8rem);
                    position: absolute;
                    translate: -50% 0%;
                    right: auto;
                    left: 50%;
                    border-top: 1px solid var(--main_color);
                    border-right: 1px solid var(--main_color);
				}
			}
		}
	}
}
.page-service-con{
	& > div{
		counter-reset: psccount;
		& > div{
			& [class*="title-line"]:before{
				counter-increment: psccount;
			}
			& #patent:before{	
				content: counter(psccount, decimal-leading-zero) " Patent rights / utility model rights";
			}
			& #trademark:before{
				content: counter(psccount, decimal-leading-zero) " Trademark rights";
			}
			& #design:before{
				content: counter(psccount, decimal-leading-zero) " Design right";
			}
			& #service-other:before{
				content: counter(psccount, decimal-leading-zero) " Other Intellectual Property-Related Services";
			}
		}
	}
}
[class*="psv-2column"]{
	& p{
		font-size: min(3.5vw, 14px);
		line-height: min(7vw, 1.95rem);
	}
	& > div{
		display:flex;
		gap: min(6vw, 60px);
		@media(width < 901px){
			flex-wrap:wrap;
			& > *{
				width:100%;
			}
			& img{
				width:100%;
			}
		}
	}
	@media(900px < width){
		& > div{
			& > *:nth-child(1){
				flex:1;
			}
			& > *:nth-child(2){
				flex:1.3;
			}	
		}
		&[class*="-reverse"]{
			& > div{
				flex-flow: row-reverse;
			}
		}
	}
}
	
/*弁理士紹介*/
.box-post-profile{
	display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(45%, 200px), 1fr));
    gap: min(10vw, 60px) min(5vw, 30px);
}
	
/*採用情報*/
.recruit-img img{
	aspect-ratio: 255/142;
	object-fit: cover;
	width: 100%;
	height: auto;
}
.recruit-intro-box{
	& p{
		font-size: min(3.7vw, 17px);
        line-height: 2;
	}
}
.recruit-intro-title{
    margin-bottom: min(5vw, 30px);
    font-size: min(8vw, 40px);
    line-height: min(11vw, 3.5rem);
	color:var(--main_color);
	position:relative;
	&::before {
		content: "Message";
		color: var(--sub_color);
		font-size: min(3.7vw, 18px);
		position: relative;
		display: block;
        margin-bottom: min(3vw, 0.8rem);
		font-weight: 500;
		line-height:1;
	}
	@media(900px < width){
		text-align: center;
	}
}
.recruit .main-columnc * > strong{
    background: linear-gradient(transparent 50%, #dee0eb 50%);
    font-size: 115%;
    padding: 0 0.15rem;
    margin: 0 0.15rem;
}
.page-recruit-text{
	font-size: min(3.7vw, 17px);
	line-height: 2;
}
.rec-back{
	position:relative;
	&::before{
		content:"";
		display:block;
		z-index:-1;
		background:var(--sub_Lcolor);
		position:absolute;
		translate:-50% 0%;
		left:50%;
		top:0%;
		width:100vw;
		height:100%;
	}
}
.number-info2{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(45%, 500px), 1fr));
    gap: min(3vw, 35px);
}	
.number-info3{
    display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(45%, 300px), 1fr));
    gap: min(3vw, 35px);
	margin-top:min(3vw, 35px);
	& img{
		aspect-ratio:1;
	}
}
body.recruit .main-visual{
	background:none;
	& img{
		width:100%;
	}
}
.recruit-intro{
	& .wp-block-image figcaption{
		font-size: min(3.7vw, 17px);
	}
}
.wel-edu-title{
	margin: 1.2rem 0 0.7rem;
	& + p{
        font-size: min(3.7vw, 14px);
	}
}
.environment-box{
	& figure{
		margin-bottom: 1.1rem;
	}
	& [class*="title-min"]{
		margin-block-end: 0.7rem;
	}
}
#work-envi:before{
	content: "Workplace environment";
}
#empbene-traiprog:before{
	content: "Employee Benefits and Training Programs";
}
#corpo-info:before{
	content: "Corporate Information";
}
#senior-voice:before{
	content: "Senior Voice";
}
#app-guideline:before{
	content: "Application Guidelines";
}
.human-img img{
    width: 100%;
    aspect-ratio: 9 / 10;
    object-fit: cover;
    object-position: top;
}
@media(width < 901px){
	.human-img img{
        width: 65%;
        margin: 0 auto;
        display: block;
	}
}	
	
/*インタビューページ*/
.interview-intro{
	padding:min(28vw, 200px) 0;
	background:var(--sub_Lcolor);
}
.interview-top{
	gap: min(14vw, 4rem) min(8vw, 4rem);
}
.inte-intro-title{
    margin-bottom: min(3.5vw, 22px);
    font-size: min(8vw, 40px);
    line-height: min(11vw, 3.5rem);
    color: var(--main_color);
	position:relative;
	&[name]:before{
		content: attr(name);
        color: var(--sub_color);
        font-size: min(3.7vw, 18px);
        position: relative;
        display: block;
        margin-bottom: min(1.3vw, 0.4rem);
        font-weight: 500;
        text-align: left;
		line-height:1;
	}
}
.inte-intro-text{
    font-size: min(3.7vw, 17px);
    line-height: min(7vw, 2.1rem);
	margin-top:0;
	margin-bottom:auto;
}
.inte-intro-ic{
    text-align: center;
    display: inline-block;
    line-height: 1;
	padding: min(2vw, 0.4rem) min(11vw, 3.5rem) min(2.5vw, 0.65rem);
    border: 1px solid var(--main_color);
    font-size: min(4vw, 17px);
    margin-right: auto;
    font-weight: bold;
	background:var(--main_color);
	color:#fff;
	margin-bottom:min(5vw, 1.5rem);
}
.interview-top-name{
	& p{
		font-size: min(5vw, 18px);
        font-weight: bold;
        text-align: center;
        margin-top: min(4vw, 1rem);
	}
	& img{
		width:100%;
		aspect-ratio:1;
		object-fit:cover;
		object-position: top;
		box-shadow:0 0 20px #bdbdbd;
	}
}
.interview-wrap{
	margin-top:min(28vw, 200px);
}
.recruit-intro{
	& .wp-block-image figcaption{
		font-size: min(3.7vw, 17px);
	}
}
.interview-section + .interview-section{
    margin-top: min(28vw, 200px);
}
.in-qa-title{
	color: var(--main_color);
    line-height: 1.25;
    font-size: min(5vw, 20px);
    padding-bottom: min(5vw, 1.2rem);
    border-bottom: 1px solid #d7d7d7;
    margin-bottom: min(6vw, 1.5rem);
    position: relative;
    text-align: left;
	&::after {
		content: "";
		width: min(10vw, 100px);
		height: 2px;
		background: var(--main_color);
		position: absolute;
		bottom: -1px;
		left: 0;
	}
}
.in-qa-text{
    font-size: min(3.5vw, 16px);
}
.holiday-box{
    margin-top: min(8vw, 2.3rem);
    gap: min(4.5vw, 40px);
}
.in-comment-text{
    font-size: min(3.7vw, 15px);
}
.interview-link{
    display: grid;
    gap: min(5vw, 30px);
    margin: 0 auto;
	display: flex;
    justify-content: center;
	flex-wrap:wrap;
	& li{
		width: min(100%, 335px);
		& a{
            padding: min(4.5vw, 1.2rem) min(5vw, 1.5rem);
            font-weight: bold;
            color: var(--main_color);
            background: var(--sub_color);
            position: relative;
            font-size: min(3.7vw, 16px);
            display: flex;
            align-items: center;
			justify-content: center;
            gap: 0.5rem;
			&::after {
                content: "";
                transform: translateY(10%) rotate(45deg);
                width: min(2vw, 10px);
                height: min(2vw, 10px);
                border-top: 2px solid var(--main_color);
                border-right: 2px solid var(--main_color);
                display: block;
			}
		}
		& + li{
			margin:0;
		}
		&::before{
			display:none;
		}
		&:nth-of-type(1) a{
			&::before{
				content: "";
                transform: translateY(10%) rotate(225deg);
                width: min(2vw, 10px);
                height: min(2vw, 10px);
                border-top: 2px solid var(--main_color);
                border-right: 2px solid var(--main_color);
                display: block;
			}
			&::after{
				display:none;
			}
		}
	}	
}
@media screen and (min-width:901px){
	.interview-con > .wp-block-group__inner-container > div:nth-of-type(even){
		flex-flow: row-reverse;
	}
	.holiday-box{
		flex-flow: row-reverse;
		& > div:nth-of-type(1){
			flex:1;
		}
		& > div:nth-of-type(2){
			flex:2;
		}
	}
}
	
/*募集要項*/	
.job-table{
	& ul{
		& li{
			padding-left: min(3.4vw, 0.9rem);
			&::before{
				top: min(2.1vw, 0.65rem);
				left: 2px;
				width: min(1.5vw, 4px);
                height: min(1.5vw, 4px);
				border-radius: 50%;
			}
			& + li {
                margin-top: 0.3rem;
            }
		}
	}
	& tr{
		& th, td{
			padding: 1em 1em 1.2em;
		}
		& th{
			color: var(--main_color);
		}
	}
	@media(640px < width){
		margin-bottom: 40px;
		& tr{
			&:not(:last-of-type){
				& th{
					border-bottom: 2px solid var(--sub_color);	
				}
				& td{
					border-bottom: 1px solid #ccc;
				}
			}
			& th{
				width: 22%;
			}
		}
	}
	@media(width < 641px){
		& tr{
			display:flex;
			flex-wrap:wrap;
			& th, td{
				padding: 1em 1em 1.4em;
				display:block;
				width:100%;
			}
		}
	}
}
* + .job-table-title{
	margin-top:1rem;
}
.job-table-title{
	color: var(--main_color);
	background: var(--sub_color);
	border: 1px solid var(--sub_color);
	line-height:1;
	display:inline-block;
    padding: 0.3rem 1rem;
	margin-bottom: 0.4rem;
}
	
/* 会社概要 */
.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;
		}
	}	
}
	
/* お問い合わせ */
form #form-check + span{
	font-size: min(3.3vw, 14px);
}
.form-hissu{
    font-weight: bold;
    margin-left: 10px;
    color: #ffffff;
    font-size: 12px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 5px;
    margin: 0 0.4rem 0 0;
	background:#6e7882;
}
.form-check{
    display: flex;
    justify-content: center;
	align-items: center;
    margin-bottom: 1.5rem;
}
.fkaku-mail{
    margin: 0.6rem 0 0.3rem;
}
.grecaptcha-badge{
/*     bottom: min(4vw, 20px) !important; */
    z-index: 2;	
	bottom: min(25vw, 75px) !important;
	@media(width < 641px){
		bottom: min(26vw, 105px) !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, .form-check > span:first-of-type + span{
	font-weight:bold;
    margin-left: 10px;
	background: #6e7882;
    color: #ffffff;
    font-size: 12px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.05rem;
    padding: 3px 6px;
}
.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;
}
.en-adrs-td{
	flex-wrap:wrap;
    margin-top: 0.9rem;
	& span{
		flex: 1 1 0;
		min-width: 0;
		max-width: 100%;
		& input[type="text"]{
			width: auto;
			max-width: 100%;
		}
	}
	@media(width < 901px){
		flex-direction: column;
		align-items: flex-start;
	}
}
.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;
	text-align:left;
}

.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;
	& + li{
		margin-top:1rem;
	}
}

.footer-nav .sub-menu li a{
  padding-left: 1em;
}
.footer-nav .sub-menu li ul li a{
  padding-left: 2em;
}

.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;
  min-width: 40px;
  border-radius: 50%;
  background: #999;
  color: #fff;
  font-weight: bold;
  line-height: 40px;
  text-align: center;
}
.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;
}

	
/*プロフィール（メンバー）ページ*/
#p-patent-attorney-area{
	&[class*="title-line"] {
		&[class*="-en"] {
			&::before{
				content:"Patent Attorney";
			}
		}
	}
}
.member-column-top{
    display: flex;
    gap: min(7vw, 70px);
	@media(900px < width){
		& > *:nth-child(1){
			flex:1;
		}
		& > *:nth-child(2){
			flex:1.11;
		}
	}
	@media(width < 901px){
		flex-wrap:wrap;
	}
}
.member-img{
	& img{
		width:100%;
		aspect-ratio: 9 / 10;
		object-fit: cover;
		object-position: top;
	}
}
.member-yaku{
	font-size:min(3.7vw,16px);
}
.member-title{
	color:var(--main_color);
	font-size:min(6vw,35px);
    line-height: 1;
    margin: min(2.5vw, 0.8rem) 0;
}
.member-roma{
	color:var(--sub_color);
	font-size:min(3.7vw,16px);
}
.member-info-bottom{
    margin-top: min(8vw, 7rem);
}
.member-number{
    font-size: min(3.3vw, 14px);
    line-height: 1;
    background: var(--sub_Lcolor);
    padding: 0.35rem 1.7rem 0.5rem;
    display: inline-block;
    margin-top: min(4vw, 23px);
}
.member-column-bottom{
	margin-top: min(20vw, 120px);
	display:grid;
	grid-template-columns:repeat(auto-fill,minmax(min(100%,350px),1fr));
	gap:min(12vw,80px) min(7vw,40px);
}
.main-column .member-cb-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(26vw, 115px);
                font-weight: bold;
			}
		}
	}
}
.member-cb-box{
	& ul{
		& li{
            line-height: min(6vw, 1.55rem);
            padding-left: min(5vw, 1.2rem);
			&::before{
                content: "◎";
                background: none;
                border-radius: 0;
                width: min(3.9vw, 16px);
                top: 0;
                left: 0;
			}
			& + li{
				margin-top:min(3vw, 1rem);
			}
		}
	}
}
.member-main + .flexCenter:has(> .btn-archive){
	margin-top:min(5vw,2.5rem);
}
	
	
/*追従リンク*/
.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;
}
.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{
    color: #fff;
    background: #ffc85e;
    font-weight: bold;
    text-align: justify;
    line-height: 1.15;
    letter-spacing: 0.2rem;
    position: fixed;
    bottom:0;
	left:0;
    transition: 0.5s;
    z-index: 5;
    display: flex;
    align-items: center;
    padding: min(3.5vw,1rem) min(3vw,1rem) min(2.5vw,1rem);
}
.fbtn-link:before{
    content: "";
    display: block;
    position: absolute;
    width: min(13vw,60px);
    height: auto;
    aspect-ratio: 28/25;
}
.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;
    text-align: left;
}

.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: 1.5rem;
	}
	& strong{
		font-weight:bold;
	}
	& a{
		text-decoration:underline;
		color:#1A0DAB;
	}
	& p{
		line-height: 2;
		& + .wp-block-columns{
			margin-top:min(9vw,3rem);
		}
	}
	& img{
		max-width: 100%;
		height: auto;	
	}
	& iframe {
		max-width: 100%;
	}
	& table {
		width: 100%;
		border:1px solid #ccc;
		& th, td{
			padding: 0.5em 1em;
			line-height: 1.5;
		}
		& tr:not(:last-of-type){
			border-bottom:1px solid #ccc;
		}
		& td:not(:last-of-type){
			border-right:1px solid #ccc;
		}
	}
	& *:not(.wp-block-image) + .wp-block-image, * + .wp-block-gallery{
		margin-top:min(9vw,3rem);
	}
	& .wp-block-image:has(+ *:not(.wp-block-image)), .wp-block-columns:has(+ *), .wp-block-gallery{
		margin-bottom:min(9vw,3rem);
	}
	& .wp-block-gallery{
		gap: min(3vw, 1rem);
		& .wp-block-image:has(+ *){
			margin-bottom:0;
		}
	}
	& .wp-block-columns:has(> :nth-child(2)){
		gap: min(8vw, 1rem) min(3vw, 1rem);
	}
	@media(width < 901px){
		& .wp-block-columns-is-layout-flex {
			flex-wrap:nowrap;
			& .wp-block-column {
				flex-basis: 0 !important;
			}
		}
	}
}
	
.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;
}
.sitemap li + li{
	margin-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(--main_color);
    color: #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%;
  }
}
	
/******************************************
 * *英語（アメリカ）版
* *****************************************/
.en{
	& .top-info {
		& .box-post-text {
			& .category-post {
				background:var(--main_color);
				color:#fff;
			}
		}
	}
	& .list-post .box-post-text{
		border-bottom: 1px solid #7c808b;
	}
}
.archive-en .box-post-archive a:after{
	content: "Read more";
}
.en-tmember-box{
	& .tmember-yaku{
		line-height: min(4vw,1.15rem);
		font-size: min(2.8vw, 14px);
	}
	& .tmember-name{
		margin: min(2.5vw, 0.5rem) 0 0 0;
		font-weight: bold;
		line-height: 1.35rem;
	}
	& .btn-deco{
		position: absolute;
		top: 0;
		right: 0;
	}
	@media(900px < width){
		& .tmember-box-info{
			display:block;
		}
		& .tmember-text{
			padding-right: 5rem;
		}
	}
	@media(width < 901px){
		& .tmember-yaku{
			word-break:break-all;
		}
	}
}
.en-member-main{
	& .member-info-bottom{
		margin-top: min(8vw, 2.5rem);
	}
}
.en-sv-link-btn-list{
	@media (1095px < width){
        grid-template-columns: repeat(auto-fill, minmax(31%, 1fr));
        gap: 20px 0;
		& li {
            &:last-of-type {
                border-right: 1px solid var(--sub_color);
            }
        }
	}
	@media (width < 1096px){
		grid-template-columns: repeat(auto-fill, minmax(min(100%, 450px), 1fr));
		& li {
            & a {
                padding: min(2vw, 1rem) min(3vw, 2.5rem) min(5.5vw, 1.7rem) min(10.5vw, 3.6rem);
				&::before{
					top: min(2.5vw, 1rem);
				}
            }
        }
	}
}
.service .page-en{
	& [class*="title-line"]:before {
		content:counter(psccount, decimal-leading-zero);
		line-height: 1;
        font-size: min(4vw, 20px);
	}
}
h3 + .ens-table{
	margin-top: min(10vw,3.5rem);
}
.ens-table{
	& table{
		& tr{
			& td{
				text-align: left;
				&:nth-of-type(1){
					font-size: min(16px, 4vw);
					font-weight:bold;
					color:var(--main_color);
				}
				&:nth-of-type(2){
					font-size:min(3vw,13px);
				}
				& strong{
					display:block;
					font-size: min(15px, 3.7vw);
				}
				& * + strong{
					margin-top:0.8rem;	
				}
				& * + .num-dotzn-list{
					margin-top: 0.2rem;
				}
				& > * + .enst-dline{
					margin-top:0.8rem;	
				}
				& > .enst-line + .enst-dline{
					margin-top:0.2rem;	
				}
			}
		}
		@media(900px < width){
			& tr{
				& td{
					padding:0;
					&:nth-of-type(1){
						width: 30%;
                        padding-right: min(7vw, 3rem);
					}
				}
				&:not(:last-of-type){
					& td{
						padding-bottom: min(7vw, 2.5rem);
					}
				}
			}
		}
		@media(width < 901px){
			& tr{
				& td{
					display: block;
					width:100%;
					padding: 0 0 min(4vw, 1.5rem) 0;
					&:nth-of-type(1){
						font-weight: bold;
						color: var(--main_color);
						font-size: min(4.2vw, 20px);
						& br{
							display:none;
						}
					}
					&:nth-of-type(2){
                    	padding-bottom: min(10vw, 3.5rem);
					}
				}
				&:last-of-type{
					& td:nth-of-type(2){
						padding-bottom: 0;
					}
				}
			}
		}
	}	
}
.enst-line{
	text-decoration:underline;
	display: block;
	font-size: min(15px, 3.7vw);
	margin-bottom: 0.2rem;
}
*:not(strong) + .enst-line{
	margin-top:0.8rem;	
}
.enst-dline{
    text-decoration: underline double;
	display: block;
	font-size: min(15px, 3.7vw);
	margin: 0.2rem 0;	
}
.enst-child{
	margin-left:1.2rem;	
}
.italic-box{
	font-style: italic;
	margin-bottom:0.8rem;	
}
.roma-list{
	counter-reset: my-count;
	& li{
		counter-increment: my-count;
		&::before{
			content: counter(my-count, lower-alpha)".";
			margin-right: 0.2rem;
		}
	}	
}
.enst-line-child{
	margin-top:0.3rem;
	& * + .enst-line{
		margin-top:0.3rem;
	}
}
.en-service-routemap{
	display:block;
    margin-top: 1.1rem;
}
	
.wrap-post-app{
    display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
    gap: min(14vw, 60px) min(12vw, 45px);
    margin-top: min(14vw, 55px);
	& .img-text-info{
		margin-top: min(1.5vw, 9px);
	}
	& .img-text{
		font-size: min(3.5vw, 15px);
	}
	& .work-tcadr{
		margin-top: min(4vw, 20px);
	}
}
	
@media screen and (min-width: 901px) {
	/*追従*/	
	.fbtn-link{
		top: 50%;
		right: 0;
		transform: translate(0, -50%);
		bottom:auto;
		left:auto;
		display: flex;
		flex-direction: column-reverse;
		align-items: center;
		padding: 5.1rem 0.9rem 1rem;
		writing-mode: vertical-lr;
		border-radius: 5px 0 0 5px;
	}
	.fbtn-link:before{
		background: url(images/free-icon.svg) center/contain no-repeat;
		top: 1.2rem;
		left: 50%;
		transform: translatex(-50%);
	}

	/*メインイメージ*/	
	.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);
	}
}
	
/******************************************
 * *中国語版
* *****************************************/
.cn{
	& h2[class*="-2color"]{
		margin-bottom: min(10vw, 3.5rem);
	}
	& .wrap{
		padding-top: min(22vw,11rem)!important;
	}
	@media (900px < width) {
		& .tmember-text{
			font-family: var(--zenkakuGN);
		}
	}
}
#cn-about:before{
	content: "About Us";
}
#cn-service:before{
	content: "Service";
}
.cnbox-post-profile > div{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(45%, 200px), 1fr));
    gap: min(10vw, 60px) min(5vw, 30px);
}
	
	
@media screen and (max-width: 900px) {
	.sp-leftT{
		text-align:left;
	}
}


@media screen and (min-width: 641px), print {
	/* 会社概要　テーブル
	*************************** */
	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){
	.inte-rr-none{
		gap: min(18vw, 85px) !important;
	}
	
	.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;
	}

	/*追従*/	
	.fbtn-link:before{
		transform: translate(-173%,-50%);
	}

	/*****************************
	 * モバイルトップ
	 * ***************************/
	.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のみ
//////////////////////////////////////// */

/*ボタン（固定）*/
.wp-block-button{
    width: min(100%, 350px);
    margin: min(9vw, 45px) auto 0!important;
    position: relative;
	&::after{
        content: "";
        display: block;
        position: absolute;
        top: 50%;
        right: min(3.5vw, 1.3rem);
        width: min(8vw, 38px);
        height: auto;
        aspect-ratio: 1;
        border: 1px solid #fff;
        border-radius: 50%;
        transition: transform .75s cubic-bezier(0.19, 1, 0.22, 1);
        transform: translateY(-50%) scale(1);
        transform-origin: center center;
        z-index: 1;
	}
}
.wp-block-buttons .wp-block-button__link{
    display: flex;
    align-items: center;
    z-index: 1;
    width: 100%;
    text-align: left;
    transition: 0.5s;
    font-family: var(--zenkakuGN);
    position: relative;
    background: var(--main_color);
    color: #fff;
    font-weight: bold;
    letter-spacing: 0.05rem;
    font-size: min(3.7vw, 15px);
    padding: min(5vw, 1.5rem) min(18vw, 5.5rem) min(6vw, 1.5rem) min(5vw, 1.5rem);
    margin-top: 0;
    border-radius: 0;
	&::before, &::after{
		content: "";
        position: absolute;
        transition: 0.5s;
        top: 50%;
        right: min(7vw, 2.4rem);
	}
	&::before {
        transform: translateY(-50%);
        width: min(8.5vw, 36px);
        height: 1px;
        background: #fff;
    }
	&::after{
        transform: translateY(-50%) rotate(45deg);
        width: min(2vw, 9px);
        height: min(2vw, 9px);
        background: none;
        border-top: 1px solid #fff;
        border-right: 1px solid #fff;
	}
}
.wp-block-button:hover{
	&::after{
		transform: translateY(-50%) scale(0.75);
	}
}

.recruit-voice-con{
	& > div{
		counter-reset: rvcount;
	}
	& [class*="title-line"]{
		margin-bottom: min(6vw, 1rem);
		&::before{
			counter-increment: rvcount;
			content: "Interview" counter(rvcount, decimal-leading-zero);
			font-size: min(3.5vw, 14px);
            margin-bottom: min(1vw, 0.3rem);
		}
	}
	& p{
		font-size:min(3.7vw,15px);
	}
	& .wp-block-button{
		width: 100%;
		margin: min(5vw, 27px) auto 0;
	}
	@media(1000px < width){
		& .wp-block-button__link{
			padding: min(5vw, 0.7rem) min(18vw, 5.8em) min(6vw, 0.85rem) min(5vw, 1rem);
			line-height:min(7vw,1.35rem);
		}
	}
}

/*WPアップデートの追加CSSの為の追加*/
.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image){
	width:100%!important;
}
:where(.is-layout-flex){
	gap: revert-layer!important;
}
.wp-block-table td, .wp-block-table th{
    border: unset;
    padding: revert-layer;
}
img:is([sizes=auto i],[sizes^="auto," i]) {
    contain-intrinsic-size: none;
}

