@charset "utf-8";
/* ↓　all device　↓ */
body{
background: #fff;
font-family: "Noto Sans JP", sans-serif;
font-optical-sizing: auto;
font-weight: 400;
font-style: normal;
color: #5d6c5c;
}

/* ↓    top page   ↓　*/

div.top-wrap1,.top-wrap2{
	color: #fff;
 }
 
 p.p-top{
	font-weight: bold;
}
 
div.top-wrap1,.top-wrap2{
  text-shadow: 8px 5px 8px rgba(0, 0, 0, 50);
}

main{
	width: 100%;
	background-color: #fff;
}

a.btn{
	width:200px;
	padding: 20px;
	border: solid 1px #5d6c5c;
	text-decoration: none;
	display: inline-flex;
  align-items: center;
	justify-content: center;
	color: #5d6c5c;
}

a.btn:hover{
	background: #5d6c5c;
	color: #fff;
	transition: 0.3s;
}

.material-symbols-outlined {
	position: relative;
  top: 2.5px;
}

.p-naka,div.mvs-sp01 h3,div.mvs-sp02 h3,
h1.mvs-h1{
 font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
 font-weight: bold;
}

/* ↑    top page   ↑　*/
/* ↓    mvs page   ↓　*/

div.content01{
	background: url("../img/mission/mv.jpg")center/cover;
}
div.content02{
	background: url("../img/vision/mv.jpg")center/cover;
}
div.content03{
	background: url("../img/specialist/mv.jpg")center/cover;
}

div.mvs-text{
	background: #FFFFFF;	
}
section.mvs01 img,section.mvs02 img,
main.main-sno{
	width: 95vw;
	margin: 0 auto;
	display: block;
}

section.mvs01 h1,section.mvs02 h1{
	border-left: solid 5px #5d6c5c;
	padding-left: 10px;
	margin-bottom: 20px;
}

p.p-img{
	font-size: 20px;
}

div.mvs-item01{
	margin: 40px 0;
}

div.mvs-item01 p{
	padding: 15px 0;
}

h2.h2-border{
	display: flex;
	justify-content: space-between;
}

div.mvs-wrap01 img.img-will{
	margin: 0;
	padding: 0;
}

div.mvs-wrap03 table{
	text-align: left;
	font-size: 14px;
}

div.mvs-wrap03 p{
	padding: 0 0 5px;
	width: 100% !important;
	border-bottom: solid 1px #5d6c5c; 
}

div.mvs-wrap04 p{
	color: #FFF;
	background-color: #809480;
	font-size: 18px;
	text-align: center;
	padding: 3px;
}

div.mvs-wrap05{
	display: flex;
	justify-content: space-between;
}

div.mvs-sp01,div.mvs-sp02{
	background: #859d80;
	color: #fff;
}

div.mvs-sp01 h3,div.mvs-sp02 h3{
	font-size:2.4rem;
	font-weight: 400 !important;
}

section.mvs01 a,
section.grco-gaiyou01 div.mvs-wrap01 a{
	text-decoration: none;
}

dl.com-infopage dd a:hover{
	opacity: 0.7;
	transition: 0.3s;
}

section.mvs01 a:hover{
	opacity: 0.7;
	transition: 0.3s;
}

section.grco-gaiyou01 div.mvs-wrap01 a:hover{
	opacity: 0.7;
	transition: 0.3s;
}
a.grco-img02 img:hover{
	opacity: 0.7;
	transition: 0.3s;
}

div.form-wrap03 a:hover{
	opacity: 0.7;
	transition: 0.3s;
}

a.a-entry{
	color: #859d80;
}

 a.a-entry:hover{
	opacity: 0.7;
	transition: 0.3s;
}
/* ↑    mvs page   ↑　*/

/* ↓    staff page 　↓  */

h1.mvs-h1{
	background: #859d80;
	color: #fff;
	font-size: 50px;
	width: 95px;
	height: 95px;
	padding: 10px 0 0 20px;
	margin-bottom: 70px;
}

main.main-sno h2{
	padding-bottom: 20px;
}

div.sp-content03,div.sp-content04,div.sp-content07{
	letter-spacing: 3px;
}

div.sp-content04{
	margin: 45px 0; 
}

.h3-border {
  position: relative;
  display: flex; 
	align-items: center; 
  font-size: 1.5rem;
  font-weight: bold;
	margin: 10px 0;
}

.h3-border::after {
  content: "";
  flex: 1; 
  height: 1px; 
  background: #5d6c5c; 
  margin-left: 1em;
}

p.staff-subtitle{
	font-size: 20px;
	letter-spacing: 4px;
}

div.sp-content07{
	margin-bottom: 55px;
}

div.sp-content07 p{
	margin: 10px 0;
}

dl.timeline{
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px 20px;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: #f3f6f2;
  border: 1px solid #ddd;
  border-radius: 8px;
}

dl.timeline p {
  grid-column: 1 / -1;
  font-weight: bold;
  font-size: 1.3rem;
  margin: 0 0 1em;
  color: #5d6c5c;
  border-bottom: 2px solid #5d6c5c;
  padding-bottom: 0.5em;
	text-align: center;
}

dl.timeline dt {
  font-weight: bold;
  color: #5d6c5c;
  text-align: right;
  padding-right: 10px;
  border-right: 2px solid #5d6c5c;
}

/* 内容部分 */
dl.timeline dd {
  margin: 0;
  line-height: 1.6;
  padding-left: 15px;
  color: #333;
  background: #fff;
  border-radius: 4px;
  padding: 8px 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
/* ↑    staff page   ↑　*/

/* ↓    message page   ↓　*/

main.main-ms,div.philosophy{
	margin: 0 auto;
}

main.main-ms h1,
main.main-grco h1{
	border-bottom: 2px solid #5d6c5c;
	margin-bottom: 150px;
	padding-bottom: 10px;
}

div.top-vis{
	margin: 0 auto 100px;
}

div.top-vis img{
	width: 100%;
}

div.top-vis p{
	font-size: 14.5px;
}

div.top-vis p.top-name{
	font-size: 20px !important;
	padding: 7px 0;
}

div.philosophy{
	font-size: 16px;
}

p.top-date{
	text-align: right;
}

div.symbolmark{
	border: 1px solid #5d6c5c;
}

div.philosophy p{
	padding-bottom: 26px;
}

div.symbolmark h2,div.symbolmark p{
	margin: 0 auto;
}

div.symbolmark h2{
	display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
	font-weight: 400;
	color: #5d6c5c;
  gap: 1em;
}

.symbolmark h2::before,
.symbolmark h2::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #5d6c5c;
}

div.symbolmark p{
	font-size: 16px;
}

p.top-img{
	text-align: center;
	padding: 50px 0;
}

div.colormark{
	display: flex;
	justify-content: space-around;
	margin: 0 auto;
}

div.colormark p.p-blue,
div.colormark p.p-green,
div.colormark p.p-red{
	width: 100px !important;
	height: 100px;
	align-content: center;
	padding: 0;
	margin: 0;
	color: #fff;
}

div.colormark p{
	text-align: center;
}

div.mark{
	width: 100px;
}

p.p-blue{
	background: #2371cb;
}

p.p-green{
	background: #75b53c;;
}

p.p-red{
	background: #d02737;
}

p.p-msub{
	width: 100px !important;
	font-size: 11px !important;
	padding-top: 10px
}

/* ↑    message page   ↑　*/

/* ↓    company page   ↓　*/

/* ===== 特徴・強み:キャッチコピー ===== */
section.company-rule .strength-message{
	margin: 26px 0 0;
	padding: 0;
}

/* 明朝体 + 白い縁取り(写真の上でも読みやすく) */
section.company-rule p.strength-catch{
	margin: 0;
	padding: 0;
	font-family: "Shippori Mincho", "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
}


section.company-rule .strength-catch-lead{
	display: block;
	margin-bottom: 10px;
	font-size: clamp(26px, 3.7vw, 37px);
	font-weight: 500;
	letter-spacing: .04em;
	line-height: 1.15;
	color: #32593F;
}

section.company-rule .strength-catch-lead strong{
	font-size: 1.3em; 
	font-weight: 800;
	color: #32593F;
	-webkit-text-stroke: 0;
	text-shadow:
		 2px  0   0 #fff,
		-2px  0   0 #fff,
		 0    2px 0 #fff,
		 0   -2px 0 #fff,
		 1.5px  1.5px 0 #fff,
		-1.5px  1.5px 0 #fff,
		 1.5px -1.5px 0 #fff,
		-1.5px -1.5px 0 #fff;
}

section.company-rule .strength-catch-main{
	display: block;
	font-size: clamp(32px, 4.8vw, 48px);
	font-weight: 800;
	letter-spacing: .03em;
	line-height: 1.15;
	color: #FFFFFF;
}

section.company-rule,.strength-catch-join,.strength-catch-joins{
	margin: 0 .12em;
	font-size: .62em;
	font-weight: 500;
	letter-spacing: .08em;
  color: #fff;
	text-shadow: none;
}

section.company-rule p.strength-subcopy{
	margin: 22px 0 0;
	padding: 0;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .12em;
}



/* ===== company page: ヒーロー ===== */

/* このページだけ上の余白をなくす(他ページの main.main-grco には影響しません) */
main.main-grco.main-hero-top{
  padding-top: 0 !important;
}

section.company-entrance{
  --wave-h: clamp(24px, 4vw, 80px); 
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 55vh;
  min-height: 400px;
  overflow: hidden;
  isolation: isolate;
}

/* スライダー(背景) */
.hero-slider{
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #fff;

  --slide-count: 5;/* 画像の枚数 */
  --slide-time: 5s;/* 1枚あたりの表示間隔 */
}

.hero-slide{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: heroFade calc(var(--slide-time) * var(--slide-count)) infinite;
  animation-fill-mode: both;
}

.hero-slide:nth-child(1){ animation-delay: calc(var(--slide-time) * 0); }
.hero-slide:nth-child(2){ animation-delay: calc(var(--slide-time) * 1); }
.hero-slide:nth-child(3){ animation-delay: calc(var(--slide-time) * 2); }
.hero-slide:nth-child(4){ animation-delay: calc(var(--slide-time) * 3); }
.hero-slide:nth-child(5){ animation-delay: calc(var(--slide-time) * 4); }

/* 1枚が使う割合は 100% ÷ 5枚 = 20%(白を挟まないクロスフェード) */
@keyframes heroFade{
  0%      { opacity: 0; z-index: 2; }
  5%      { opacity: 1; z-index: 2; }
  20%     { opacity: 1; z-index: 2; }
  20.01%  { opacity: 1; z-index: 1; }
  25%     { opacity: 1; z-index: 1; }
  25.01%  { opacity: 0; z-index: 0; }
  100%    { opacity: 0; z-index: 0; }
}

/* 白いかすみ(左ほど白く、右ほど写真が見える) */
section.company-entrance .hero-overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(255,255,255,.96) 0%,
      rgba(255,255,255,.80) 30%,
      rgba(255,255,255,.35) 60%,
      rgba(255,255,255,0)   90%),
    linear-gradient(180deg,
      rgba(255,255,255,.35) 0%,
      rgba(255,255,255,0)   60%),
    rgba(255,255,255,.15);
}

/* 下端の波(白) */
section.company-entrance::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: var(--wave-h);
  z-index: 3;
  pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 14 C200 36 400 40 700 30 C1000 20 1250 4 1440 8 L1440 40 L0 40 Z' fill='%23fff'/%3E%3C/svg%3E") no-repeat center bottom / 100% 100%;
}

/* 文字 */
section.company-entrance .hero-content{
  position: relative;
  z-index: 2;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 5vw var(--wave-h) max(5vw, calc(50vw - 500px));
  color: #2d6a3e;
}

section.company-entrance .hero-content h1{
  border-bottom: none;
  margin: .25em 0 .6em;
  padding-bottom: 0;
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
  font-weight: 800;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.3;
  letter-spacing: .06em;
  color: #2d6a3e;
}

section.company-entrance .hero-small{
  margin: 0;
  width: auto;
  font-size: clamp(.7rem, 1.2vw, .9rem);
  font-weight: 700;
  letter-spacing: .18em;
  color: #5b9a62;
}

section.company-entrance .hero-lead{
  margin: 0;
  width: auto;
  font-size: clamp(.85rem, 1.3vw, 1rem);
  font-weight: 500;
  line-height: 2;
  letter-spacing: .08em;
  color: #4a4f4a;
}

section.c-gap{
	padding: 5vh 0;
}

main.main-hero-top section.grco-gaiyou01{
  padding-top: 60px;
}

div.section-heading{
	display: flex;
	
}

span.section-number{
	font-size: 35pt;
	font-weight: bold;
	color: #c9ddc1;
	line-height: 40px;
}

span.section-en{
	letter-spacing: 10px;
	font-weight: bold;
	color: #6f965d;
}

div.section-title{
	margin-left: 45px;
}

div.section-title h2{
	font-size: 23pt;
	letter-spacing: 10px;
}

div.strength-box{
	border: solid #5d6c5c 3px;
	border-radius: 25px;
}

div.strength-img img{
	display: block;
	width: 100%;
	border-radius: 24px 24px 0 0;
}

div.department-img img{
	display: block;
	width: 100%;
	border-radius: 0 0 24px 24px;
}

div.strength-img{
	position: relative;
}

div.strength-img p{
	position: absolute;
	top: 10px;
	left: 10px;
	margin: 0;
	padding: 0;
	width: 40px;
	height: 40px;
	background: #90A68B;
	color: #fff;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	line-height: 1;
}

div.strength-text{
	padding: 15px;
}

div.strength-text h3{
	letter-spacing: 8px;
}

div.strength-box{
	margin-bottom: 50px;
	color: #5D6C5C;
}

section.company-business p{
	padding: 20px 0;
}

div.business-box{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

div.business-img{
	position: relative;
	margin-bottom: 50px;
}

div.business-img img{
	width: 100%;
	border-radius: 25px;
	display: block;
}

div.business-img p{
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0;
	padding: 40px 10px 16px!important;
	text-align: center;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: #fff;
	background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.55));
	border-radius: 0 0 25px 25px;
}

div.strength-grid{
	display: flex;
	justify-content:space-around;
	flex-wrap: wrap;
	padding: 20px 0;
}

div.com-wrap01 h2{
	border-bottom: solid #5d6c5c 2px;
	width: 154px;
	height: 40px;
	text-align: justify;
	text-align-last: justify;
	display: block;
}

/* ↓    取引先企業    ↓　*/
ul.partner-grid{
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 20px 0 0;
	list-style: none;
}

li.partner-card{
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid #e3e8e1;
	border-radius: 12px;
}

div.partner-mark{
	flex: none;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #f1f5ef;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

div.partner-mark img{
	width: 70%;
	height: 70%;
	object-fit: contain;
}

section.company-partner p.partner-name{
	margin: 0;
	padding: 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
}

section.company-partner p.partner-note{
	margin: 2px 0 0;
	padding: 0;
	font-size: 12px;
	color: #6b7a68;
	line-height: 1.5;
}

section.company-partner p.partner-etc-text{
	margin: 16px 0 0;
	padding: 0;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.15em;
	color: #859D80;
	text-align: right;
}

p.com-kai{
	padding-bottom: 35px;
}

div.com-ideology h3{
	text-align: center;
	margin-bottom: 30px;
}

div.com-ideology p{	
	letter-spacing: 3px; 
	padding-top: 30px;
}

dl.com-info dt,dl.com-info dd{
	border-bottom: solid #5d6c5c 1px;
	letter-spacing: 3px; 
}
dt.com-info-last01,
dd.com-info-last02{
	border: none !important;
}

dl.com-infopage dd a{
	text-decoration: none;
	color: #5d6c5c;
	display: block;
  line-height: 1.2;
  padding: 5px 0; 
}

span.material-icons-outlined{
	position: relative;
	top: 6px;
	left: 20px;
}

dl.com-infopage dd a.com-imgshop{
	width: 280px;
	height: 75px;
	margin-bottom: 30px;
}

dl.com-infopage dd img{
	width: 280px;
	margin-bottom: 30px;
}

dl.com-infopage dt,
dl.com-infopage dd,
dl.com-enkaku dt,
dl.com-enkaku dd{
	padding-bottom: 20px;
}

div.business-img{
	position: relative;
	width: 300px;
	border-radius: 25px;
	overflow: hidden;
	isolation: isolate;
}

div.business-img img{
	display: block;
	width: 100%;
	border-radius: 25px;
	transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ===== 01 特徴・強み ===== */

/* 横長画像:1000pxを無視して画面幅いっぱいに */
section.company-rule div.rule-hero{
	position: relative;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	height: clamp(360px, 40vw, 560px);
	margin-bottom: 40px;
	overflow: hidden;
	isolation: isolate;
}

section.company-rule img.rule-hero-img{
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 40%;
	z-index: 0;
	filter: brightness(.5);
}

/* 1000pxの中で、見出しは左上、説明文は右下 */
section.company-rule div.rule-hero-inner{
	position: relative;
	z-index: 2;
	box-sizing: border-box;
	width: 1000px;
	max-width: calc(100% - 40px);
	height: 100%;
	margin: 0 auto;
	padding: 48px 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;  /* 見出し=上、説明文=下 */
	align-items: flex-start;
	gap: 24px;
	color: #fff;
}

section.company-rule .rule-hero-inner span.section-en{
	color: #e6f2df;
}

section.company-rule .rule-hero-inner div.section-title h2{
	color: #fff;
	text-shadow: 0 1px 6px rgba(0,0,0,.45);
}

section.company-rule .rule-hero-inner p.company-p{
	align-self: flex-end;
	width: max-content;
	max-width: 100%;
	margin: 0;
	padding: 0;
	font-size: 13px;
	line-height: 1.9;
	color: #fff;
	text-shadow: 0 1px 4px rgba(0,0,0,.6);
	text-align: left;
}

/* カード:PCは4枚横並び */
section.company-rule div.strength-grid{
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	padding: 0;
}

section.company-rule div.strength-grid div.strength-box{
	width: auto;
	margin-bottom: 0;
	display: flex;
	flex-direction: column;
}

section.company-rule div.strength-img img{
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

section.company-rule div.strength-text{
	flex: 1;
	padding: 12px;
}

section.company-rule div.strength-text h3{
	margin: 0 0 6px;
	font-size: 15px;
	letter-spacing: 2px;
}

section.company-rule div.strength-text p{
	margin: 0;
	font-size: 12.5px;
	line-height: 1.7;
}

/* マウスで操作できる端末だけ、ホバーでぽよっと拡大 */
@media (hover: hover){
	div.business-img:hover img{
		transform: scale(1.1);
	}
}

/* ↓ スクロールで下からふわっと表示 ↓ */
.js-reveal div.strength-box,
.js-reveal li.partner-card,
.js-reveal p.partner-etc-text{
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.8s ease, transform 0.8s ease;
	transition-delay: var(--reveal-delay, 0s);
}

.js-reveal div.strength-box.is-visible,
.js-reveal li.partner-card.is-visible,
.js-reveal p.partner-etc-text.is-visible{
	opacity: 1;
	transform: none;
}

/* 動きを減らす設定のユーザー向け */
@media (prefers-reduced-motion: reduce){
	div.business-img img{
		transition: none;
	}
	div.business-img:hover img{
		transform: none;
	}
	.js-reveal div.strength-box,
	.js-reveal li.partner-card,
	.js-reveal p.partner-etc-text{
		opacity: 1;
		transform: none;
		transition: none;
	}
}
/* ↑    company page   ↑　*/

/* ↓  grco page  ↓  */

p.grco-sub01{
	width: 255px !important;
}

p.grco-sub01{
	background: #859d80;
	color: #fff;
	text-align: center;
	letter-spacing: 2px;
	padding: 5px;
	margin-bottom: 35px;
}

div.grco-img01{
	display: flex;	
}

div.grco-img01 img{
	margin-left: 10px;
}

section.grco-gaiyou01 div.mvs-wrap02{
	margin-bottom: 35px;
}

p.grco-sub02{
	font-size: 18px;
	text-align: justify;
	text-align-last: justify;
	border-bottom: 2px solid #5d6c5c;
	display: block;
	width: 120px !important;
	height: 35px;
}

p.grco-in{
	letter-spacing: 4.5px;
}

section.grco-gaiyou01 div.mvs-wrap01 a{
	color: #5d6c5c;
}

dd.com-info-last03{
	padding-bottom: 100px!important;
}

a.grco-img02 img{
	margin-top:20px;
	width: 280px;
}

/* ↑  grco page  ↑　*/
/* ↓  news page　↓ */

dl.news dt{
	border-left: solid 3px #5d6c5c;
  padding-left: 10px;
	margin: 50px 0 20px 0;
	font-size: 18px;
}

dl.news dd{
	font-size: 16px;
	padding-bottom: 40px;
	border-bottom: solid 1px #5d6c5c;
}

dl.news dd:last-child{
	border: none;
}

dl.news dd a{
	color: #666464;
}

dl.news dd a:hover{
	opacity: 0.7;
	transition: 0.3s;
}

dl.dl-entry dd a:hover{
	opacity: 0.7;
	transition: 0.3s;
}

/* ↑  news page  ↑　*/

/* ↓    recruit page   ↓　*/

dl.dl-entry{
	border: 1px solid #5d6c5c;
	padding: 35px;
	margin-bottom: 50px;
}

dl.dl-entry dt,dl.dl-entry dd{
	border-bottom:  1px solid #5d6c5c;
}

div.div-recruit img,div.div-recruit a{
	width: 180px!important;	
}

div.div-recruit a:hover{
	transition: 0.3s;
	opacity: 0.7;
	cursor: pointer;
}

div.div-recruit,div.div-sai{
	padding-top: 20px;
}
/* ↑    recruit page   ↑　*/

/* ↓    saissennka page   ↓　*/
p.san-con{
	font-size: 1.5em;
}
div.div-sai{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
p.grco-sub03{
	font-size: 18px;
	text-align: justify;
	text-align-last: justify;
	border-bottom: 2px solid #5d6c5c;
	display: block;
	width: 250px !important;
	height: 35px;
	margin: 50px 0 -40px 0;
}

/* ↑    saissennka page   ↑　*/

/* ↓ PC,tablet　↓ */

@media screen and (min-width:769px){
/* ↓    top page   ↓　*/
section.top-sp{
  display: none;
}

section.top-pc{
  display: flex;
}
.one{
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  padding: 20px;
}
.bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: all 0.5s ease 0s;
  z-index: -1;
}

.show .bg {
  opacity: 1;
}
.bg._01 {
  background-image: url("../img/top/mv_01.jpg");
  opacity: 1 !important; 
  visibility: visible !important;
}
.bg._02 {
  background-image: url("../img/top/mv_02s.jpg");
}
.bg._03 {
	background-image: url("../img/top/mv_03s.jpg");
}
.bg._04 {
  background-image: url("../img/top/mv_04s.jpg");
}

p.p-top{
	font-size: 3.5rem;
}

div.top-wrap1,.top-wrap2{
  width: 70vw;
  margin: 0 auto;
	font-size: 1.8rem;
}

div.top-wrap2{
  text-align: right;
}

div.main-item3{
	display: none;
}

.main-item1 {
  display: flex;  
	justify-content: space-between;
	align-items: center;
	padding: 100px 0;
}

.main-item2 {
  padding-right:105px; 
}

.main-text {
  width: 55%;
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.text-left{
	position: relative;
	left: 20vw;
}

p.p-naka{
	margin-left:-45px;
}

.main-item1 img {
  width: 40%;
  height: auto;
}

.p-naka{
 font-size: 2vw;
 letter-spacing: 0.5vw;
}

.p-naka span{
	font-size: 5vw;
}

.main-text p {
  line-height: 1.6;
}

div.content01,div.content02,div.content03{
	width: 100%;
	height: 80vh;
}

p.p-mvstext{
	padding-left: 40px;
	font-size: 16.5px;
}

div.mvs-text{
	position: relative;
	max-width: 800px;
	width: 80%;
	height: auto;
	padding: 20px;
	top: 60vh;
	left: 25vw;
}

main.main-mvs,
main.main-grco{
	padding: 35vh 0 0;
	width: 1000px;
	margin: 0 auto;
}

section.mvs01{
	padding-bottom: 150px;
}

section.mvs01 img,section.mvs02 img{
	max-width: 1000px;
	padding:50px 0; 
}

div.mvs-wrap01{
	display: flex;
	justify-content: space-between;
	padding-top: 20px;
}

div.mvs-wrap01 img{
	width: 100%;
}

div.mvs-wrap02,div.mvs-wrap01 p{
	width: 450px;
}

div.mvs-wrap03{
	width: 258px;
}

div.mvs-wrap02 img{
	padding: 0;
}

div.mvs-wrap01 img.img92{
	width: 275px;
}

h2.h2-border:after {
  border-top: 1px solid;
  content: "";
  width:650px;
	margin-top: 18px;
}

p.p-content{
	width: 350px !important;
	padding: 50px 0 !important;
}

div.mvs-list{
	border: solid 1px #5d6c5c;
	padding: 20px;
	margin: 50px auto 0;
	width: 770px;
}

div.mvs-wrap04{
	width: 300px;
}

div.mvs-wrap04 ul li{
	margin-bottom: 10px;
}

img.img03{
	width: 220px !important;
	padding: 0 0 0 10px !important;
}

div.mvs-wrap04 p{
 width: 300px;
 margin-bottom: 20px;
}

div.mvs-wrap01 img.img-global{
	width: 255px;
	padding: 0;
	margin: 0 20px;
}

div.mvs-wrap01 p.p-global{
	padding: 0 10px 0 0;
}

div.mvs-wrap01 img.img-will{
	width: 225px;
}

div.mvs-wrap03 table tr th{
	width: 98px;
}

div.mvs-wrap04 ul{
	width: 300px;
	padding-left: 20px;
}

div.mvs-spa{
	justify-content: flex-start;
	margin-bottom: 60px;
}

div.mvs-spb{
	justify-content: flex-end;
	margin-bottom: 60px;
}

div.mvs-sp01,div.mvs-sp02{
	margin-right: 20px;
	padding: 20px 20px 20px 35px;
	height: 330px;
}

div.mvs-sp01,div.mvs-sp01 p,
div.mvs-sp02,div.mvs-sp02 p{
	width: 330px;
}

div.mvs-wrap01 img.img-sp{
	width: 500px;
	padding: 0;
	margin: 0;
}

p.mvs-subtitle{
	font-size: 20px;
	margin-bottom: 65px;
}

p.mvs-com01,p.mvs-com02,
p.mvs-com04{
	font-size: 14px;
}

p.mvs-com01{
	margin-bottom: 12px;
}

p.mvs-com03{
	font-size:18px
}

/* ↑    mvs page   ↑　*/
/* ↓    staff page 　↓  */

main.main-sno,section.staff-copc{
	max-width: 1000px;
	margin:  0 auto;
}

section.staff-cosp{
	display: none;
}

section.staff-copc{
	padding: 170px 0 70px 0;
}

img.staff-vis{
	width: 792px!important;
}

div.vis-text{
	width: 210px;
}

main.main-sno h2{
	font-size: 35px;
}

div.sp-content01{
	display: flex;
	justify-content: space-between;
}

div.sp-content02{
	width: 620px;
}

div.sp-content05 img{
	width: 310px;
	display: block;
	padding-bottom: 20px;
}
/* ↑    staff page   ↑　*/

/* ↓    message page   ↓　*/

main.main-ms{
	padding: 15vh 0;
	width: 1000px
}

div.top-vis{
	width: 305px;
}

div.philosophy{
	width: 720px;
}

div.symbolmark{
	margin: 120px 0 50px;
}

div.symbolmark h2,div.symbolmark p{
	width: 588px;
}

div.symbolmark h2{
	padding: 50px 0;
}

div.symbolmark img{
	width: 150px;
}

div.colormark{
	width: 440px;
}

/* ↑    message page   ↑　*/

/* ↓    company page   ↓　*/

br.sp-only{
	display: none;
}

div.strength-box{
	width: 450px;
}

p.company-p{
	width: 620px;
	padding: 20px 0;
}

div.business-img,div.business-img p,div.product-box{
	width: 320px!important;
}

ul.partner-grid{
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}
	
	li.partner-card{
		padding: 12px;
		gap: 10px;
	}
	
	div.partner-mark{
		width: 44px;
		height: 44px;
	}

div.com-wrap01{
	display: flex;
	justify-content: space-between;
}

p.com-kai{
	font-size: 26px;
}

div.com-ideology{
	width: 80%;
	padding: 60px 0 110px 0;
}

div.com-wrap01 h2{
	margin-right: 45px;
}

div.com-ideology dl,
section.grco-gaiyou01 dl{
	display: flex;
  flex-wrap: wrap;
  width: 100%;
}

div.com-ideology dl dt{
	width: 25%;
	margin-bottom: 10px;
}

div.com-ideology dl dd{
	width: 75%;
	margin-bottom: 10px;
}

dl.com-info dt,dl.com-info dd{
	padding: 30px 0;
	border-bottom: solid #5d6c5c 1px;
	margin: 0 !important;
	font-size: 14px;
}

.com-map{
	width: 730px;
	height: 430px;
}

div.com-ideology h3 img{
	width: 100%;
}

/* ↑    company page   ↑　*/

/* ↓    grco page   ↓　*/

main.main-grco{
	padding: 3vh 0 !important;
}

h2.grco-h2{
	font-size: 34px;
	margin-bottom: 35px;
}

section.grco-gaiyou01 div.mvs-wrap02{
	width: 100%;
}

section.grco-gaiyou01 div.mvs-wrap02 ul{
	padding-left: 25px;
}

section.grco-gaiyou01 dl.grco-jigyou dt{
	width: 10%;
	text-align: justify;
	text-align-last: justify;
}

section.grco-gaiyou01 dl.grco-jigyou dd{
	width: 90%;
	padding-left: 15px;
} 

dl.com-info dt{
	width: 25%;
	margin-bottom: 10px;
}

dl.com-info dd{
	width: 75%;
	margin-bottom: 10px;
}

section.grco-gaiyou01 dl.com-info{
	width: 800px;
	margin: 0 auto;
}

div.grco-wrap01{
	width: 500px !important;
}

div.grco-insta{
	position: relative;
	right: 390px;
}

div.grco-insta{
	margin-left: -220px;
	display: inline;
	width: 435px;
}

div.grco-insta img.icon{
	width: 50px;
	margin: 0 10px 0 20px;

}

div.grco-img01 img{
	width: 236px;
	height: 236px;
}

a.grco-shinco{
	margin-top: 40px;
}

dt.com-info-last03{
	padding-bottom: 100px!important;
}

br.grco-br{
	display: none;
}

/* ↑    grco page   ↑　*/

/* ↓    contact page   ↓　*/

div.form-wrap01{
	display: flex;
}

iframe.googleform{
	width: 800px;
	height: 1200px;
}

/* ↑    contact page   ↑　*/

/* ↓    recruit page   ↓　*/

dl.dl-entry{
	display: flex;
	flex-wrap: wrap;
	width: 800px;
}

dl.dl-entry dt{
	width: 20%;
	padding: 50px 0;
}

dl.dl-entry dd{
	width: 80%;
	padding: 50px 0;
}

dl.dl-entry dd:last-child{
	border: none;
}

dl.dl-entry dt:last-child{
	border: none;
}
/* ↑    recruit page   ↑　*/
/* ↓    saissennka page   ↓　*/

p.san-con{
	margin-top: -100px;
}

div.div-sai{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

div.div-sai img{
	width: 275px!important;
	padding: 0 10px 20px;
}

iframe.googleform-sai{
	width: 800px;
	height: 1000px;
}

/* ↑    saissennka page   ↑　*/

}

/* ↑ PC,tablet　↑ */


/* ↓ smart phone　↓ */
@media screen and (max-width: 768px) {
/* ↓    top page   ↓　*/
section.top-pc {
  display: none;
}
section.top-sp {
  display: flex;
}

.ones{
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  padding: 20px;
}
.bgs{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: all 0.5s ease 0s;
  z-index: -1;
}
.show .bgs {
  opacity: 1;
}
.bgs._01s {
  background-image: url("../img/top/mv_01_sp.jpg");
  opacity: 1 !important;
  visibility: visible !important;
}
.bgs._02s {
  background-image: url("../img/top/mv_02_sp.jpg");
}
.bgs._03s {
	background-image: url("../img/top/mv_03_sp.jpg");
}
.bgs._04s {
  background-image: url("../img/top/mv_04_sp.jpg");
}

div.top-wrap1,.top-wrap2{
	font-size: 1rem;
	position: relative;
	top: -5vh;
}

p.p-top{
	font-size: 2rem;
}

div.main-item2{
	display: none;
}

div.main-item1{
	text-align: center;
	padding: 5vh 0;
}

div.main-item1 img{
	max-width: 80vw;
}

.p-naka{
 font-size: 4vw;
 letter-spacing: 0.5vw;
}

.p-naka span{
	font-size:10vw;
}

a.btn{
	margin-top: 30px;
}

/* ↑    top page   ↑　*/
/* ↓    mvs page   ↓　*/

section.staff-copc{
	display: none;
}

main.main-mvs{
	width: 95vw;
	margin: 0 auto;
	padding: 50vh 0 5vh;
}

div.content01,div.content02,div.content03{
	width: 100%;
}

div.mvs-text{
	width: 95vw;
	height: auto;
	padding: 20px;
	margin: 0 auto;
	position: relative;
	top:43vh;
}

section.mvs01{
	padding: 10vh 0 0;
}

section.mvs01 img,section.mvs02 img{
	max-width: 760px;
	padding: 5vh 0; 
}

div.mvs-wrap01 img{
	width: 100%;
}

div.mvs-wrap02{
	padding: 3vh 0;
}

div.mvs-wrap02 img{
	padding: 0;
}

div.mvs-wrap01 img.img92{
	padding: 1.5vh 0;
}


h2.h2-border:after {
  border-top: 1px solid;
  content: "";
  width: 25vw;
	margin-top: 18px;
}

div.mvs-list{
	border: solid 1px #5d6c5c;
	padding: 20px;
	margin: 50px auto 0;
	width: 400px;
}

div.mvs-wrap01 img.img-will{
	width: 80vw;
	margin: 0 auto;
}

div.mvs-wrap03{
	padding: 35px 0;
}

div.mvs-wrap03 p{
	text-align: center;
}

div.mvs-wrap03 table{
	margin: 0 auto;
	width: 100%;
}

div.mvs-wrap03 table tr th{
	width: 50%;
}

div.mvs-wrap04 p{
	margin: 20px 0 10px;
}

div.mvs-wrap04 ul{
	padding-left: 20px;
}

img.img03{
	width: 32% !important;
	padding-top: 20px !important;
}

div.mvs-wrap01 img.img-global{
	width: 45vw;
	padding: 0;
}

div.mvs-spa,div.mvs-spb{
	display: flex;
	flex-direction: column;
}

div.mvs-sp01,div.mvs-sp02{
	order: 2;
	padding:15px 30px;
}

div.mvs-spa img.img-sp,
div.mvs-spb img.img-sp{
	padding: 60px 0 0 0;
}

p.mvs-subtitle,p.mvs-com01,
p.mvs-com02,p.mvs-com03,p.mvs-com04{
	font-size: 18px;
	position: relative;
	top: -165px;
	left: 120px;
	width: 250px;
}

p.mvs-subtitle{
	margin-bottom: 8px;
}

p.mvs-com01,p.mvs-com03{
	margin-bottom: 15px;
}

p.mvs-com01,p.mvs-com02,p.mvs-com04{
	font-size: 12px;
}

div.sp-content05 img{
	width: 100%;
	margin-bottom: 20px;
}

div.vis-text{
	height: 160px;
}

/* ↑    mvs page   ↑　*/

/* ↓    message page   ↓　*/

main.main-ms,
main.main-grco{
	width: 95vw;
	padding: 20px 0;
}

div.top-vis{
	width: 260px;
}

div.top-vis p{
	font-size: 12px;
}

div.philosophy p,div.symbolmark{
	width: 100%;
}

div.symbolmark{
	padding: 25px;
}

div.symbolmark img{
	width: 100px;
}
/* ↑    message page   ↑　*/

/* ↓    company page   ↓　*/
section.company-rule .strength-message{
	margin-top: 22px;
}

section.company-rule .strength-catch-lead{
	font-size: 5.8vw;
}

section.company-rule .strength-catch-main{
	font-size: 7.4vw;
}

section.company-rule p.strength-subcopy{
	margin-top: 18px;
	font-size: 12.5px;
}

section.company-rule small.strength-draft{
	font-size: 10.5px;
}

section.company-rule div.rule-hero{
	height: auto;
	margin-bottom: 24px;
}

section.company-rule img.rule-hero-img{
	filter: brightness(.6);          /* スマホは文字が画像全体にかかるので少し濃いめに */
}

section.company-rule div.rule-hero-inner{
	width: auto;
	max-width: none;
	height: auto;
	min-height: 400px;
	padding: 32px 5vw;
}

section.company-rule .rule-hero-inner p.company-p{
	align-self: flex-start;
	width: auto;
	font-size: 12.5px;
}

/* カード:スマホは2枚ずつ2行 */
section.company-rule div.strength-grid{
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

section.company-rule div.strength-text{
	padding: 10px;
}

section.company-rule div.strength-text h3{
	font-size: 13px;
	letter-spacing: 1px;
}

section.company-rule div.strength-text p{
	font-size: 11.5px;
}

section.company-rule div.strength-img p{
	width: 30px;
	height: 30px;
	font-size: 12px;
}

div.strength-grid{
	width: 100%;
}
div.business-box{
	flex-direction: column;
	align-items: center;
}

div.business-img{
	width: 100%;
	max-width: 320px;
}

div.product-box{
	width: 46vw;
}

ul.partner-grid{
		grid-template-columns: 1fr;
	}
	
p.company-p{
	padding: 3vh 0;
}

main.main-ms h1,
main.main-grco h1{
    padding-bottom: 10px;
  	margin-bottom: 50px;
}

div.com-wrap01{
	padding-bottom: 50px;
	flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

div.com-wrap01 h2{
	margin-bottom: 20px !important;
}

div.com-ideology{
	width: 100%;
	margin: 0;
}

div.com-ideology h3 img{
	width: 100%;
}

p.com-kai{
	font-size: 20px;
}

div.com-ideology dl{
	width: 100%;
}

div.com-ideology dl dd{
	padding: 10px 0 20px 20px;
}

dl.com-info,dl.com-enkaku{
	font-size: 12px; 
}

dl.com-info dt{
	border: none;
	padding-top: 20px; 
}

.com-map{
	width: 100%;
	height: 30vh;
}
dl.com-enkaku dt{
	padding: 0;
}

dl.com-enkaku dd{
	padding: 10px 0 20px 10px!important;
}

/* ↑    company page   ↑　*/

/* ↓    grco page   ↓　*/
section.company-entrance{
    height: auto;
    min-height: 420px;
  }
  section.company-entrance .hero-content{
    padding: 60px 5vw calc(var(--wave-h) + 40px);
  }
  .pc-only{ display: none; }

main.main-grco{
	margin: 0 auto;
}

h2.grco-h2{
	margin-bottom: 20px;
	font-size: 30px;
}

div.grco-img01 img{
	width: 45vw;
	margin: 0 auto;
}

dl.grco-jigyou dd{
	margin: 0 0 15px 10px;
}

div.mvs-wrap02 ul{
	width: 85vw;
	margin: 0 auto;
}

section.grco-gaiyou01 div.mvs-wrap01 a {
	margin: 20px 0;
}

div.grco-insta{
	flex-wrap: wrap;
}

div.grco-insta a img{
	width: 14vw;
	margin: 20px 10px 0;
}

section.grco-gaiyou01 div.mvs-wrap01{
	margin-bottom: 50px;
	display: grid;
}

dl.com-info dd{
	padding: 0 0 10px 10px;
	width: 100%;
}


/* ↑    grco page   ↑　*/

/* ↓    form page   ↓　*/

iframe.googleform{
	width: 100%;
	height: 2150px;
}

/* ↑    form page   ↑　*/

/* ↓    recruit page   ↓　*/
dl.dl-entry{
	width: 100%;
}

dl.dl-entry dt{
	border: none;
	padding: 10px 0;
}

dl.dl-entry dd{
	padding: 0 0 20px 10px;
}

div.div-recruit,div.div-sai{
	width: 380px;
	margin: 0 auto;
}

div.div-sai img{
	width: 190px;
	padding: 0 5px 10px;
}

iframe.googleform-sai{
	width: 100%;
	height: 1500px;
}
/* ↑    recruit page   ↑　*/
}

/* =========================================
   会社ページ：ヒーロー画像と01を波形・白線で接続
   ヒーロー直後に01があるページだけに適用
========================================= */
section.company-entrance:has(+ main.main-grco > section.company-rule:first-child),
section.company-entrance + main.main-grco:has(> section.company-rule:first-child) {
  --wave-h: clamp(24px, 4vw, 80px);
}

section.company-entrance:has(+ main.main-grco > section.company-rule:first-child) {
  height: auto;
  min-height: max(400px, 55vh);
  z-index: 1;
}

/* 背景の下端だけを元の曲線で切り抜く。上側は不透明のまま維持。 */
section.company-entrance:has(+ main.main-grco > section.company-rule:first-child) :is(.hero-slider, .hero-overlay) {
  -webkit-mask-image: linear-gradient(#000, #000), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0 H1440 V8 C1250 4 1000 20 700 30 C400 40 200 36 0 14 Z' fill='black'/%3E%3C/svg%3E");
  mask-image: linear-gradient(#000, #000), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 0 H1440 V8 C1250 4 1000 20 700 30 C400 40 200 36 0 14 Z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% calc(100% - var(--wave-h) + 1px), 100% var(--wave-h);
  mask-size: 100% calc(100% - var(--wave-h) + 1px), 100% var(--wave-h);
  -webkit-mask-position: center top, center bottom;
  mask-position: center top, center bottom;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* 曲線を左右の端まで描き、拡縮時も白線の太さを4pxに保つ。 */
section.company-entrance:has(+ main.main-grco > section.company-rule:first-child)::after {
  display: block;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M-2 13.78 L0 14 C200 36 400 40 700 30 C1000 20 1250 4 1440 8 L1442 8.04' fill='none' stroke='white' stroke-width='3' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat center bottom / 100% 100%;
}

section.company-entrance:has(+ main.main-grco > section.company-rule:first-child) .hero-content {
  height: auto;
  min-height: inherit;
  padding-top: clamp(60px, 8vh, 100px);
  padding-bottom: calc(var(--wave-h) + 48px);
}

/* 画像を波形の高さだけ重ね、従来のmain上余白をこの構成だけで解除。 */
section.company-entrance + main.main-grco:has(> section.company-rule:first-child) {
  position: relative;
  z-index: 0;
  margin-top: calc(-1 * var(--wave-h));
  padding-top: 0 !important; /* PC用の既存padding指定を上端だけ解除 */
}

section.company-entrance + main.main-grco > section.company-rule:first-child {
  padding-top: 0;
}

section.company-entrance + main.main-grco > section.company-rule:first-child div.rule-hero {
  margin-top: 0;
  height: auto;
  min-height: clamp(360px, 40vw, 560px);
  clip-path: none;
}

section.company-entrance + main.main-grco > section.company-rule:first-child div.rule-hero-inner {
  height: auto;
  min-height: inherit;
  padding-top: calc(var(--wave-h) + 48px);
}

@media screen and (max-width: 768px) {
  section.company-entrance:has(+ main.main-grco > section.company-rule:first-child) {
    min-height: 420px;
  }

  section.company-entrance + main.main-grco > section.company-rule:first-child div.rule-hero {
    min-height: 400px;
  }

  section.company-entrance + main.main-grco > section.company-rule:first-child div.rule-hero-inner {
    padding-top: calc(var(--wave-h) + 32px);
  }
}
