@charset "utf8";

/*
Theme Name:NC Groupサイト
*/

body {
	margin: 0;
	max-width: 100%;
	font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif!important;
	color: #3a3a3a;
}

ul, h2, h3 p {
	margin: 0;
	padding: 0;
}

img {
	vertical-align: top;
}

li {
	list-style: none;
}

a {
	text-decoration: none;
}

.wrapper {
	overflow: hidden;
}

/****************************************************************************************************
************************************** header **************************************************
*****************************************************************************************************  */
.header {
	width: 100%;
	/* margin-bottom: 92px; */
}

.header-front-img {
    width: 100%;
    height: 300px;       /* スマホは固定値が安定 */
    min-height: 300px;   /* 必ずこの高さを保つ */
    position: relative;

    background-image: url('../img/team-386673_1920.jpg');
    background-size: cover;
    background-position: center;
}

.header-front-img:before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

/* 文字を乗せる場合 */
.header-front-img .header-text {
    position: relative;
    z-index: 2;
}

.header-top {
	width: 100%;
	position: fixed;
	top: 10px;
	display: flex;
	justify-content: space-between;
	z-index: 999;
	background: none;
}

.header-top.change-color {/*****スクロール後***** */
	align-items: center;
	top: 0;
	height: 50px;
	background: rgba(0, 0, 0, 0.5);
	transition: all .5s;
}

.header-logo {
	width: 120px;
	height: 20px;
	margin: 0 0 10px 10px;
}

.header-logo>a img {
	width: 120px;
}

.nav-wrap {
	display: none;
}

/* ハンバーガーここから */
/* チェックボックスを非表示にする */
.drawer_hidden {
  display: none;
}


/* 既存のCSSに追加 */
.menu-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* 半透明の背景 */
  display: none; /* 初期状態では非表示 */
  z-index: 98; /* メニューより下に */
}

/* メニューが開いているときに背景を表示 */
#drawer_input:checked ~ .menu-background {
  display: block; /* メニューが開いているときに表示 */
}



/* ハンバーガーアイコンの設置スペース */
.drawer_open {
  display: flex;
  height: 25px;
  width: 60px;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 100;/* 重なり順を一番上にする */
  cursor: pointer;
}

.drawer_open:after {
	display: block;
	content:"MENU";
	width: 25px;
	margin-top: 30px;
	margin-left: 0;
	font-size: 6.5px;
	color: #fff;
	font-family: 'Hiragino';
	letter-spacing: 1.2px;
}

/* ハンバーガーメニューのアイコン */
.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
  content: '';
  display: block;
  height: 2.5px;
  width: 25px;
  border-radius: 3px;
  background: #fff;
  transition: 0.5s;
  position: absolute;
}

/* 三本線の一番上の棒の位置調整 */
.drawer_open span:before {
  bottom: 7px;
}

/* 三本線の一番下の棒の位置調整 */
.drawer_open span:after {
  top: 7px;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
#drawer_input:checked ~ .drawer_open span {
  background: rgba(255, 255, 255, 0);
}

/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
#drawer_input:checked ~ .drawer_open span::before {
  bottom: 0;
  transform: rotate(45deg);
}

#drawer_input:checked ~ .drawer_open span::after {
  top: 0;
  transform: rotate(-45deg);
}

#drawer_input:checked ~ .drawer_open:after {
	display: block;
	content:"閉じる";
	width: 25px;
	margin-top: 30px;
	margin-left: 0;
	font-size: 7px;
	color: #fff;
	font-family: 'Hiragino';
	letter-spacing: 1px;
}

.burger-nav {
  width: 65%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 100%; /* メニューを画面の外に飛ばす */
  z-index: 99;
  background: #bdbdbd;
  transition: .5s;
	display: block;
}

.burger-nav li {
	border-bottom: 0.5px solid #fff;
}
.burger-nav li:nth-of-type(13) {
	background: #ffa9a1;
}

.burger-nav li a {
	display: block;
	padding: 16px 0 16px 32px;
	font-size: 12px;
	color: #fff;
	letter-spacing: 1px;
}

.burger-nav li:nth-of-type(3) a,
.burger-nav li:nth-of-type(4) a,
.burger-nav li:nth-of-type(5) a,
.burger-nav li:nth-of-type(6) a,
.burger-nav li:nth-of-type(8) a,
.burger-nav li:nth-of-type(9) a,
.burger-nav li:nth-of-type(10) a,
.burger-nav li:nth-of-type(11) a {
	padding-left: 64px;
	font-size: 10px;
}

/* アイコンがクリックされたらメニューを表示 */
#drawer_input:checked ~ .burger-nav {
  left: 35%;/* メニューを画面に入れる */
}
/* ハンバーガーここまで */

.header-center {
	margin-top: 0;
	width: 90%;
	position: absolute;
	top: 25%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.header-center-intro {
	opacity: 0;
  transform: translateY(20px);
	animation: fadeIn 1s forwards;
	text-align: center;
	color: #fff;
	font-size: 20px;
}

.header-center-text {
	opacity: 0;
  transform: translateY(20px);
	animation: fadeIn 1.5s forwards;
	margin-top: 32px;
	color: #fff;
	font-size: 12px;
	line-height: 1.8em;
	letter-spacing: 2px;
}

@keyframes fadeIn {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/****************************************************************************************************
************************************** main **************************************************
*****************************************************************************************************  */
.main {
	width: 100%;
	margin-top: 64px;
}

.main-header {/*********共通********/
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 1s, transform 1s; /* ここまでアニメーション */
	margin: 0 auto;
	margin-bottom: 64px;
	text-align: center;
}
.main-header.visible {
	opacity: 1;
	transform: translateY(0);
}

.main-header-title {/*********共通********/
	font-size: 24px;
	color: #d5000f;
}

.main-header-title-sub {/*********共通********/
	font-size: 16px;
}

/****************************************************************************************************
************************************** section-first **************************************************
*****************************************************************************************************  */
.section-first .section-inner {
    max-width: 450px;
    width: 90%;
    margin: 80px auto 0;
    position: relative;
}

/* セクションマーク */
.section-mark {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    color: #3a3a3a;
}
.section-mark-left { margin-right: 12px; }
.section-mark-line { width: 3px; height: 60px; background: #ffa9a1; }
.section-mark-title { font-size: 24px; font-weight: bold; }
.section-mark-sub { font-size: 12px; }

.section-center-pink {
		flex-direction: column;   /* 縦並び */
		gap: 32px;
		padding-top: 0;
		padding-bottom: 40px;
}

.section-center-pink-left,
.section-center-pink-text {
		width: 100%;  /* 横幅いっぱい */
}

/* 左側：画像サイズ制限 */
.section-center-pink-left-img {
		width: 60%;          /* 最大幅を60%に制限 */
		max-width: 400px;    /* 上限を400pxに設定 */
		margin: 0 auto;      /* 中央寄せ */
}

.section-center-pink-left-img img {
		width: 100%;
		height: auto;
}

/* 左側：文字重ねのサイズ調整 */
.section-center-pink-left-intro {
		position: absolute;
		top: 35%;
		left: 50%;
		transform: translate(-50%, -50%);
		
		font-size: 24px;
		font-weight: bold;
		color: #333;
		text-align: center;
		z-index: 2;

		width: 100%;      /* 横幅いっぱいに */
		max-width: 400px; /* 最大幅を画像幅に合わせる */
		white-space: nowrap; /* 折り返さない */
}

/* section-markの位置調整 */
.section-mark {
		position: relative;
		transform: translateY(0);
		margin-bottom: 16px;
}

/****************************************************************************************************
************************************** section-second **************************************************
*****************************************************************************************************  */
.section-second {
    width: 100%;
    margin-top: 80px;
    background: linear-gradient(to top,#fff, #bdbdbd, #fff);
}

.section-second .section-inner {
    max-width: 450px;
    width: 90%;
    margin: 0 auto;
    position: relative;
}

.section-center-gray {
  display: flex;
  gap: 30px;
  padding-top: 0;
  padding-bottom: 40px;
  align-items: stretch;
}

/* 左側画像 */
.section-center-gray-img {
    width: 50%;
}
.section-center-gray-img img {
    width: 100%;
    height: auto;
    display: block;
}

.section-center-gray-wrap {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-center-gray-intro {
  font-size: 16px;
  line-height: 1.4em;
	margin-bottom: 0;
}

.section-center-gray-bottom {
	position: absolute; 
	bottom: 8px;
	right: 0;
	text-align: right;
}

.section-center-gray-text {
    font-size: 10px;
    line-height: 1.4em;
    margin-bottom: 0;
}

.section-center-gray-sign img {
    max-width: 70px;
    height: auto;
    display: block;
    margin-left: auto;
}

/* 「詳しく見る」ボタン */
.message-more {
    width: 180px;
    margin: 16px auto 0;
    border: 1px solid #bdbdbd;
}
.message-more a {
    display: block;
    padding: 4px 0;
    text-align: center;
    font-size: 12px;
    color: #3a3a3a;
    text-decoration: none;
    transition: all .5s;
    position: relative;
}
.message-more a::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-top: 1px solid #3a3a3a;
    border-left: 1px solid #3a3a3a;
    transform: rotate(135deg);
    position: absolute;
    right: 10%;
    top: calc(50% - 3px);
}
.message-more a:hover {
    color: #fff;
    background: #bdbdbd;
}
.message-more a:hover::before {
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
}

/****************************************************************************************************
************************************** section-third **************************************************
*****************************************************************************************************  */
.section-third {
	width: 100%;
	height: auto;
	margin-top: 80px;
	background: none;
	position: relative;
	display: inline-block;
}

.section-third .section-inner {
    max-width: 450px;
    width: 90%;
    margin: 0 auto;
    position: relative;
}

.section-center-pink-l {
	width: 100%;
	height: auto;
	margin: 0 auto;
	position: relative;
}

.aboutus-header-title {
	margin: 32px 0;
	padding-top: 32px;
	text-align: center;
	font-size: 24px;
}

table.aboutus-table {
	margin: 0 auto;
	width: 100%;
	font-size: 10px;
}

table.aboutus-table td {
	padding: 16px 0;
	border-top: 1px solid #bdbdbd;
}

table.aboutus-table td.first {
	width: 30%;
	/* display: inline-block; */
}

table.aboutus-table td.second {
	width: 70%;
	padding-left: 16px;
}

.aboutus-img {
	position: absolute;
	top: 57%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
}

.aboutus-img>img {
	width: 100%;
}

/****************************************************************************************************
************************************** section-force **************************************************
*****************************************************************************************************  */
.section-force {
	width: 100%;
	height: auto;
	margin-top: 80px;
	background: linear-gradient(to top,#fff, #bdbdbd, #fff);
	position: relative;
	display: inline-block;
}

.section-force .section-inner {
    max-width: 450px;
    width: 90%;
    margin: 0 auto;
    position: relative;
}

.section-center-graytop {
	width: 100%;
	height: 500px;
	margin: 0 auto;
}

.history-header-title {
	margin: 32px 0 64px 0;
	padding-top: 32px;
	text-align: center;
	font-size: 24px;
}

.history-wrap {
	width: 100%;
	margin: 0 auto;
	overflow: hidden;
}

.history {
	width: 100%;
	display: flex;
	align-items: center;
	overflow-x: scroll;
}

.history-box {
	margin: 0 16px;
	padding: 8px;
	width: 250px;
	height: 250px;
	background: #fff;
	position: relative;
	flex-shrink: 0;
	overflow:hidden;
}

.history::-webkit-scrollbar {
	padding-top: 6px;
	height: 6px;
}
.history::-webkit-scrollbar-thumb {
	
	background: #ffb9b2;
	border-radius: 6px;
}
.history::-webkit-scrollbar-track {
	background: none;
}

.history-box-years {
	padding-right: 16px;
	width: 100px;
	height: 60px;
	position: absolute;
	top: 0;
	right: 0;
	font-size: 48px;
	color: #bdbdbd;
}

.history-box-years span {
	width: 100px;
	font-size: 12px;
	position: absolute;
	top: 60px;
	left: 40px;
}

.history-box-text-group {
	padding: 0 16px;
	height: 105px;
	position: absolute;
	bottom: 0;
	left: 0;
	letter-spacing: 2px;
}

.history-box-text-group-years-sub {
	padding-bottom: 4px;
	font-size: 16px;
	font-weight: bold;
	vertical-align:bottom;
}

.history-box-text-group-description {
	font-size: 14px;
}

.btn-group {
  margin: 16px auto 0;
  width: 280px;
  text-align: center;
}

button {
  margin: 0 16px;
  background-color: #ffb9b2; /* ボタンの背景色 */
  color: #fff; /* テキストの色 */
  border: none; /* ボーダーをなしに */
  border-radius: 50%; /* 角を丸く */
  padding: 10px 15px; /* 内側の余白 */
  font-size: 16px; /* フォントサイズ */
  cursor: pointer; /* カーソルをポインターに */
  transition: all 0.5s ease; /* アニメーションの効果 */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 影をつける */
}

button:hover {
  background-color: #de2b37; /* ホバー時の背景色 */
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2); /* ホバー時の影を強く */
}

button:active {
  background-color: #d5000f; /* クリック時の背景色 */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* クリック時の影を小さく */
  transform: translateY(2px); /* クリック時に少し下に移動 */
}

.button i {
  font-size: 32px;
}

/****************************************************************************************************
************************************** section-fifth **************************************************
*****************************************************************************************************  */
.section-fifth {
	width: 100%;
	margin: 0 auto;
	margin-top: 92px;
}

.section-fifth .section-inner {
    max-width: 450px;
    width: 90%;
    margin: 0 auto;
    position: relative;
}

.business-header-title {
	margin-bottom: 0;
	/* padding-top: 64px; */
	text-align: center;
	font-size: 24px;
}

.section-fifth-text {
	margin: 48px 0;
	font-size: 16px;
}

.business-group {
	margin-top: 64px;
	width: 100%;
}

.business-group-inner {
	width: 80%;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
}





.business-alone {
	position: relative;
	width: 48%;
	margin: 0 auto 20px;
}

.business-alone-intro {
	width: 100px;
	aspect-ratio: 16 / 9;
	border: 3px solid #bdbdbd;
	font-size: 10px;
	background: #fff;
	position: absolute;
	top: 10%;
	transform: translateY(-50%); /* 縦中央固定 */
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	transition: all .5s;
}

/* 左に置く場合 */
.business-alone.left .business-alone-intro {
	left: -30%;
	opacity: 0; /* 初期状態を透明に設定 */
	transform: translateX(-50px); /* 初期位置を左にずらす */
	transition: opacity 1s ease, transform 1s ease; /* フェードインと位置移動のトランジションを設定 */
}

/* 右に置く場合 */
.business-alone.right .business-alone-intro {
	right: -30%;
	opacity: 0; /* 初期状態を透明に設定 */
	transform: translateX(50px); /* 初期位置を左にずらす */
	transition: opacity 1s ease, transform 1s ease; /* フェードインと位置移動のトランジションを設定 */
}

/* hover */
.business-alone-intro:hover {
	transform: translateY(-50%) scale(1.05);
}

.business-alone.left>a,
.business-alone.right>a {
	color: #3a3a3a;
}

.business-alone.left a .business-alone-intro,
.business-alone.right a .business-alone-intro {
	transition: all .5s;
}

.business-alone.left::before,
.business-alone.right::before {
	content: '';
	display: block;
	width: 6px;
	height: 6px;
	border-top: 2px solid #3a3a3a;
	border-left: 2px solid #3a3a3a;
	transform: rotate(135deg);
	position: absolute;
	right: 50%;
	left: 50%;
	top: calc(70% - 5px);
}

.business-alone.left:hover,
.business-alone.right:hover {
	transform: scale(1.05);
}




.business-alone-img {
	width: 100%;
	aspect-ratio: 4 / 3; /* ← 4:3 に固定 */
	overflow: hidden;
	position: relative;
}

.business-alone-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
	
}

.business-alone-img img:hover {
	transform: scale(1.1);
}

.section-recruit {
	width: 100%;
	margin: 0 auto;
	margin-top: 128px;
}
/*  途中からnav非表示に  */
.hidden {
    animation: fade .2s ease-in-out forwards;
    pointer-events:none;/* 重要 */
}

@keyframes fade {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.visible {
    animation: fadeOut .2s ease-in-out forwards;
    pointer-events:all;/* 重要 */
}

@keyframes fadeOut {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.message-group {
	width: 100%;
	display: block;
	justify-content: space-around;
}

.message-more-list {
	width: 200px;
	height: 30px;
	margin: 0 auto;
	margin-top: 12px;
	border: 1px solid #bdbdbd;
}

.message-more-list >a {
	display: block;
	padding: 6px 0;
	text-align: center;
	font-size: 12px;
	color: #3a3a3a;
	text-decoration: none;
	transition: all .5s;
}
.message-more-list >a:hover {
	color: #fff;
	background: #bdbdbd;
}

/****************************************************************************************************
************************************** recruit **************************************************
*****************************************************************************************************  */
.section-recruit {
	width: 100%;
	margin: 0 auto;
	margin-top: 128px;
}

.section-recruit .section-inner {
    max-width: 450px;
    width: 90%;
    margin: 0 auto;
    position: relative;
}

.section-recruit-box {
	width: 80%;
	margin: 0 auto;
	padding-top: 40px;
	display: block;
	justify-content: none;
	/* align-items: center; */
}

.section-recruit-box-inner {
	width: auto;
	aspect-ratio: 16 / 6;
	margin: 0;
	border: 1px solid #bdbdbd;
	text-align: center;
	position: relative;
}

.section-recruit-box-inner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	
}

.section-recruit-box-inner-intro {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%); /* ← 完全中央 */
	border: 1px solid #fff;
	white-space: nowrap;
	width: 60%;
	max-width: 420px;
	min-width: 180px;
}

.section-recruit-box-inner-intro a {
	display: block;
	padding: 8px 0;
	color: #fff;
	font-weight: 500;
	font-size: 16px;
	transition: all .5s;
}

.section-recruit-box-inner a:hover {
	font-size: 17px;
}

/****************************************************************************************************
************************************** footer **************************************************
*****************************************************************************************************  */
footer {
	margin-top: 64px;
	height: auto;
	background: #2c2d2f;
}

.footer-inner {
	max-width: 450px;
	width: 90%;
	
	margin: 0 auto;
	padding: 64px 0;
	display: block;
	justify-content: space-around;
	align-items: center;
	color: #fff;
}

.footer-inner-left {
	width: 100%;
	display: flex;
	justify-content: space-around;
	text-align: center;
	margin: 0 auto;
	padding-top: 32px;
}

.footer-inner-left ul li {
	margin-bottom: 20px;
	list-style: none;
	text-align: left;
	font-size: 12px;
	font-weight: 100;
}
.footer-inner-left ul li:first-child {
	margin-bottom: 10px;
	font-size: 14px;
	font-weight: 500;
}

.fotter-list-left,
.fotter-list-right {
	padding-top: 16px;
	border-top: 0.5px solid #bdbdbd;
}

.fotter-list-left {
	
	margin-right: 0;
}

.footer-inner-left ul li a {
	padding: 4px 16px;
	text-decoration: none;
	color: #fff;
	display: block;
	
	
	transition: all .5s;
}
.footer-inner-left ul li a:hover {
	color: #b3b3b3;
}

.footer-inner-center {
	width: 100%;
}

.footer-inner-center-top {
	margin-bottom: 16px;
}

.footer-inner-center-top a,
.footer-inner-center-bottom a {
	display: block;
	padding: 8px 0;
	text-decoration: none;
	color: #fff;
	font-size: 16px;
	transition: all .5s;
}
.footer-inner-center-top a:hover,
.footer-inner-center-bottom a:hover {
	color: #b3b3b3;
}

.footer-inner-center-top,
.footer-inner-center-bottom {
	
	border: 1px solid #fff;
	text-align: center;
}

.footer-inner-right {
	width: 100%;
	margin-top: 32px;
	padding-bottom: 32px;
	text-align: center;
}

.footer-inner-right img{
	width: 30%;
}

.footer-inner-right-text {
	padding-top: 16px;
	font-size: 10px;
	color: #fff;
}

/****************************************************************************************************
************************************** 代表挨拶 **************************************************
*****************************************************************************************************  */
.header-page-img {
	width: 100%;
	height: 250px;
	position: relative;
}

.header-page-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.header-page-title {
	position: absolute;
	top: 50%;
	left: 20%;
	font-size: 18px;
	color: #3a3a3a;
	font-weight: 100;
	letter-spacing: 4px;
	z-index: 1;
	padding: 8px 32px;
	background: rgba(255, 255, 255, 0.7)
}

.page-message-container {
	max-width: 450px;
	width: 90%;
	margin: 0 auto;
	margin-top: 64px;
	position: relative;
}

.page-message-intro {
	margin-bottom: 64px;
	font-size: 24px;
	text-align: center;
	letter-spacing: 1.8px;
}

.page-message-text {
	padding-left: 5px;
	font-size: 14px;
	line-height: 1.6em;
	letter-spacing: 1.8px;
}

.page-message-text p {
	margin-bottom: 24px;
}

.page-message-singroup {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	margin-top: 40px;
}

.page-message-singroup-president {
	text-align: center;
	letter-spacing: 1.2px;
}

.page-message-singroup-img {
	width: 140px;
	height: auto;
	border-radius: 4px;
}

.page-message-singroup-img img {
	width: 100%;
	height: 100%;
}

/****************************************************************************************************
************************************** お問い合わせ **************************************************
*****************************************************************************************************  */
.entry {
	max-width: 450px;
	width: 90%;
	margin: 0 auto;
}

.cf-container {
	width: 100%;
	margin: 0 auto;
	margin-top: 64px;
	margin-bottom: 64px;
}

.cf-area {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 1em 0;
	border-bottom: 1px dashed #ccc;
	transition: all .3s;
}

.cf-area:last-child {
	border-bottom: none;
}

.cf-area dt {
  width: 30%;
  padding-right: 0;
  text-align: right;
	line-height: 1.2em;
}

.cf-area dt p {
	font-size: 14px;
}

.cf-area dd {
    flex: 1;
}

.cf-area input, .cf-area textarea {
  width: 80%;
  padding: 0.8em;
  border: none;
	border-radius: 2px;
  background-color: #ededed;
  font-size: 14px;
	resize: vertical;
	transition: all .3s;
}

.cf-area input:focus,.cf-area textarea:focus {
	outline: none;
	background: #dde2e9;
}

.cf-required {
	background: #ffa9a1;
	color: #d5000f;
	font-size: 0.8em;
	padding: 2px 4px;
	border-radius: 2px
}

.cf-send input {
	display: block;
	background: #bdbdbd;
	width: 300px;
	height: 40px;
	margin: 30px auto 0;
	border: none;
	border-radius: 10px;
	color: #fff;
	box-shadow: 2px 5px 15px 0 rgba(0, 0, 0, .2);
	font-size: 1em;
	transition: all .3s;
}

.cf-send input:hover {
	filter: brightness(1.5);
	color: #3a3a3a;
	background: #bdbdbd;
}

.wpcf7-form-control {
  width: 80%;
  padding: 6px;
  font-size: 12px;
  border: 1px solid #bdbdbd;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
	background-color: #fce3e3;
	border: none;
	text-align: center;
}

/* 電話問い合わせセクション */
.ct-container {
	margin: 0 auto;
	width: 90%;
	max-width: 600px;
}

.ct-inner {
	padding: 32px 0;
	width: 100%;
	border: 1px solid #dde2e9;
	text-align: center;
	border-radius: 8px;
}

/* 見出し */
.ct-intro {
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 12px;
}

/* 電話番号とアイコン */
.ct-num-group {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 16px;
	margin: 20px 0;
}

/* 電話アイコン */
.ct-num-img img {
	width: 40px;
	height: auto;
}

/* 電話番号 */
.ct-num a {
	font-size: 32px;
	color: #D5000f;
	font-weight: bold;
	text-decoration: none;
}

/* 補足テキスト */
.ct-text {
	font-size: 14px;
	color: #555;
	margin-top: 8px;
}

/****************************************************************************************************
************************************** 採用情報 **************************************************
*****************************************************************************************************  */
.page-recruit-one {
    margin-top: 64px;
    width: 100%;
}

.page-recruit-one-inner {
    max-width: 768px;
    width: 90%;
    margin: 64px auto; /* 上下にスペースを追加 */
    letter-spacing: 1.2px;
}

.page-recruit-one-inner:first-of-type {
    margin-top: 96px; /* ページ先頭は大きめ */
}

.page-recruit-header {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.page-recruit-title {
    font-size: 24px;
}

.page-recruit-subtitle {
    font-size: 16px;
}

.page-recruit-text {
    padding: 8px 0;
    text-align: left;
    font-size: 16px;
}

.page-recruit-detail {
    width: 100%;
    margin: 0 auto;
    border: 1px solid #bdbdbd;
    border-radius: 5px;
}

.page-recruit-detail-list {
    width: 90%;
    margin: 0 auto;
    padding: 0 8px;
    border-bottom: 0.5px solid #bdbdbd;
}
.page-recruit-detail-list:last-child {
    border-bottom: none;
}

.page-recruit-detail-list-item {
    font-size: 14px;
    font-weight: bold;
}

.page-recruit-detail-list-content {
    font-size: 14px;
    line-height: 1.8em;
}

.page-recruit-detail-list-content span {
    color: #d5000f;
}

.page-recruit-btn {
    width: 100%;
    margin: auto;
    padding-top: 32px;
    display: flex;
    justify-content: center;
}

.page-recruit-btn-contact,
.page-recruit-btn-apply {
    width: 300px;
    height: auto;
    border: 1px solid #bdbdbd;
}

.page-recruit-btn-contact {
    margin-right: 16px;
    background: #fff;
}

.page-recruit-btn-apply {
    margin-left: 16px;
    background: #fce3e3;
}

.page-recruit-btn-contact > a,
.page-recruit-btn-apply > a {
    display: block;
    padding: 16px 0;
    text-align: center;
    font-size: 16px;
    color: #3a3a3a;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-recruit-btn-contact > a:hover {
    font-size: 19px;
    color: #fff;
    background: #bdbdbd;
}

.page-recruit-btn-apply > a:hover {
    font-size: 19px;
    color: #fff;
    background: #d5000f;
}

/****************************************************************************************************
************************************** 自動車 **************************************************
*****************************************************************************************************  */
.page-car {
	width: 100%;
	margin-top: 64px;
}

.page-car-inner {
	max-width: 450px;
	width: 90%;
	margin: 0 auto;
}

.page-car-header {
	width: 100%;
	text-align: center;
}

.page-car-header-text {
	font-size: 16px;
	line-height: 1.8em;
}

.page-car-header-title-area {
	margin-top: 48px;
}

.page-car-header-title {
	font-size: 28px;
}

.page-car-header-subtitle {
	font-size: 18px;
}

.page-car-service-area {
	width: 100%;
}

.page-car-service-inner {
	width: 100%;
	margin: 0 auto;
}

.page-car-service-wrap {
	margin-bottom: 144px;
	transform: translateY(40px);
}

.page-car-service {
  width: 100%;
  margin: 0 auto;
  display: flex;
  gap: 32px; /* margin-leftより安全 */
  align-items: stretch; /* 高さを揃える */
  flex-direction: column;
}

/* 画像側 */
.page-car-service-img {
  width: 100%;
  flex: 1;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.page-car-service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.page-car-service-img img:hover {
  transform: scale(1.1);
}

/* 右側 */
.page-car-service-right {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* タイトル枠 */
.page-car-service-right-header {
  padding-left: 16px;
  border-left: 3px solid #cddc39;
  margin-bottom: 16px;
}

.page-car-service-right-intro {
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.page-car-service-right-subintro {
  font-size: 18px;
  line-height: 1.2;
}

/* 説明文 */
.page-car-service-right-text {
  font-size: 16px;
  padding-top: 8px;
  line-height: 1.8;
  flex-grow: 1; /* 下のリンクを押し下げて高さ調整 */
}

/* リンク部分 */
.page-car-link {
  width: 100%;
  margin-top: 16px;
}

.page-car-link-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.page-car-link-text {
  width: auto;
  margin-right: 0;
  padding-right: 20px;
  position: relative;
  font-size: 16px;
  text-align: center;
}

.page-car-link-text::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-top: 2px solid #3a3a3a;
  border-left: 2px solid #3a3a3a;
  transform: rotate(135deg);
  position: absolute;
  right: -5%;
  top: 28%;
}

.page-car-link-k-up {
  width: 40%;
  box-shadow: 10px 10px 15px -10px;
  transition: box-shadow 0.3s ease;
}

.page-car-link-k-up img {
  width: 100%;
}

.page-car-link-k-up:hover {
  box-shadow: 8px 8px 15px -10px;
}

/****************************************************************************************************
************************************** メディア **************************************************
*****************************************************************************************************  */
.page-media {
	width: 100%;
	margin-top: 64px;
}

.page-media-inner {
	max-width: 450px;
	width: 90%;
	margin: 0 auto;
}

.page-media-header {
	width: 100%;
	text-align: center;
}

.page-media-header-title-area {
	margin-top: 48px;
}

.page-media-header-title {
	font-size: 28px;
}

.page-media-header-subtitle {
	font-size: 18px;
}

.page-media-service-area {
	margin-bottom: 128px;
	padding: 0;
	width: 100%;
	height: auto;
	border-bottom: none;
	transform: translateY(40px);
}

.page-media-service-inner {
	width: 100%;
	margin: 0 auto;
	
}

.page-media-service {
	width: 100%;
	margin: 16px 0;
	
}

.page-media-service-header {
  height: 70px;
  border-left: 3px solid #ffeb3b;
  padding-left: 16px;
}

.page-media-service-title {
	font-size: 28px;
}

.page-media-service-title-sub {
	font-size: 18px;
	line-height: 1.2em;
}

.page-media-service-text-area {
	margin: 16px 0 32px 0;
}

.page-media-service-text {
  padding-top: 16px;
	font-size: 14px;
	line-height: 1.2em;
}

.page-media-service-content-area {
	width: 100%;
	margin-top: 16px;
}

.page-media-service-content-inner {
	width: 100%;
  display: flex;
  flex-direction: column; /* 縦並びに変更 */
  align-items: center;
  gap: 16px; /* 子要素間の隙間 */
	flex-wrap: wrap;
}

.page-media-service-content-img-group {
  width: 100%;
  margin-bottom: 24px;
}

.page-media-service-content-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-shrink: 0;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* 画像に影を付ける */
	border-radius: 4px;
}

.page-media-service-content-img img {
	width: 100%;
	height: auto;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.page-media-service-content-img img:hover {
	transform: scale(1.1);
}

.page-media-service-content-text {
  padding-top: 8px;
  font-size: 14px;
  text-align: center;
  flex-grow: 1; /* 余白に応じて伸縮 */
}

.page-media-service-link-area {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 16px;
  flex-wrap: wrap; /* 幅が足りなければ改行 */
}

.page-media-service-link {
  width: 300px;
  height: auto;
	border: 1px solid #bdbdbd;
}

.page-media-service-link a {
  display: block;
  padding: 16px 0;
  text-align: center;
  font-size: 18px;
  color: #3a3a3a;
  transition: all .5s;
}

.page-media-service-link a::before {
	content: '';
	display: block;
	width: 6px;
	height: 6px;
	border-top: 2px solid #3a3a3a;
	border-left: 2px solid #3a3a3a;
	transform: rotate(135deg);
	position: absolute;
	right: 30px;
	top: calc(50% - 5px);
}

.page-media-service-link a:hover {
	color: #fff;
	background: #bdbdbd;
}

.page-media-service-link a:hover::before {
  border-top: 2px solid #fff;
	border-left: 2px solid #fff;
}

/****************************************************************************************************
************************************** 食品製造 **************************************************
*****************************************************************************************************  */
.page-food {
	width: 100%;
	margin-top: 64px;
}

.page-food-inner {
	max-width: 450px;
	width: 90%;
	margin: 0 auto;
}

.page-food-header {
	width: 100%;
	text-align: center;
}

.page-food-header-text {
  text-align: left;
}

.page-food-header-title-area {
	margin-top: 48px;
}

.page-food-header-title-img {
  margin: 48px auto 16px;
  width: 200px;
  height: auto;
}

.page-food-header-title-img img {
  width: 100%;
  height: 100%;
}

.page-food-header-title {
	font-size: 32px;
}

.page-food-header-subtitle {
	font-size: 20px;
}

.page-food-service-area {
	padding-bottom: 32px;
	width: 100%;
	height: auto;
	border-bottom: none;
}

.page-food-service-inner {
	width: 100%;
	margin: 0 auto;
	
}

.page-food-service {
	width: 100%;
	margin: 16px 0;
	
}

.page-food-service-header {
  /* height: 70px; */
  border-left: 3px solid #d5000f;
}

.page-food-service-title {
  padding-left: 16px;
	font-size: 24px;
}

.page-food-service-text-area {
	margin: 16px 0 32px 0;
}

.page-food-service-text {
	font-size: 14px;
	line-height: 1.2em;
}

.page-food-service-content-area {
	width: 100%;
  height: auto;
}

.page-food-service-content-inner {
  display: block;
  width: 100%;
  gap: 0;
  text-align: center;
}

.page-food-service-content-img-store-group {
    width: 100%;
    margin-bottom: 24px;
}

.page-food-service-content-img-store {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.page-food-service-content-img-store img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-food-service-content-img-store img:hover {
	transform: scale(1.1);
}

.page-food-service-content-img-group {
    width: 48%;
    margin-bottom: 24px;
    display: inline-block;
    vertical-align: top;
}

.page-food-service-content-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.page-food-service-content-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-food-service-content-img img:hover {
	transform: scale(1.1);
}

.page-food-service-content-text {
  padding-top: 16px;
  font-size: 14px;
}

.page-food-service-link-area {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 94%;
    margin: 0 auto;
    padding-top: 0; /* 必要なら調整 */
}

.page-food-service-link {
    width: 100%;
    max-width: 100%;
    margin: 0;
    border: 1px solid #bdbdbd;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    background: #fff; /* 背景を保つ */
}

.page-food-service-link a {
    display: block;
    padding: 12px 0;
    text-align: center;
    font-size: 14px;
    color: #3a3a3a;
    background: #fff;
    transition: all .4s;
    text-decoration: none;
}

.page-food-service-link a::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-top: 2px solid #3a3a3a;
    border-left: 2px solid #3a3a3a;
    transform: rotate(135deg);
    position: absolute;
    right: 24px;            /* PCの44pxから狭めてスマホ向けに */
    top: 50%;
    transform-origin: center;
    transform: translateY(-50%) rotate(135deg);
}

.page-food-service-link a:hover {
	color: #fff;
	background: #ffb9b2;
  border: none;
}

.page-food-service-link a:hover::before {
    border-color: #fff;
}

/****************************************************************************************************
************************************** 製造造船 **************************************************
*****************************************************************************************************  */
.page-manufacturing {
	width: 100%;
	margin-top: 64px;
}

.page-manufacturing-inner {
	width: 90%;
	margin: 0 auto;
}

.page-manufacturing-header {
	width: 100%;
	
}

.page-manufacturing-header-title-area {
	margin-top: 48px;
}

.page-manufacturing-header-title {
  font-size: 24px;
  text-align: center;
}

.page-manufacturing-header-text {
  margin: 32px 0 80px 0;
  font-size: 14px;
  text-align: left;
	line-height: 1.6em;
}

.page-manufacturing-service-area {

}

.page-manufacturing-service-inner {
	width: 100%;
}

.page-manufacturing-service-wrap {
	
}

.page-manufacturing-service-intro-wrap {
  margin: 64px auto;
  width: 70%;
}

.page-manufacturing-service-intro {
  font-size: 20px;
  text-align: center;
}

.intro-line {
  width: 100%;
  margin: 0 auto;

}

.intro-line .line {
  width: 20%;
  margin: 8px auto 0;
  border: 2px solid #03A9F4;
}

.page-manufacturing-service-lr {
	width: 100%;
	display: block;
}

.page-manufacturing-service-left {
	width: 100%;
}

.page-manufacturing-service-right {
	width: 100%;
  margin: 32px 0;
	display: flex;
  justify-content: space-between;
}

.page-manufacturing-service-img-top {
	width: 30%;
	height: auto;
	overflow: hidden;
	margin: 0 auto;
  border-radius: 50%;
}

.page-manufacturing-service-img-center {
	width: 30%;
	height: auto;
	overflow: hidden;
	margin: 0 auto;
  border-radius: 50%;
}

.page-manufacturing-service-img-bottom {
	width: 30%;
	height: auto;
	overflow: hidden;
	margin: 0 auto;
  border-radius: 50%;
}

.page-manufacturing-service-img-top img,
.page-manufacturing-service-img-center img,
.page-manufacturing-service-img-bottom img {
	width: 100%;
	height: auto;
	object-fit: cover;
	object-position: 50% 50%;
	transition: transform 0.5s ease;
}

.page-manufacturing-service-img-top img:hover,
.page-manufacturing-service-img-center img:hover,
.page-manufacturing-service-img-bottom img:hover {
	transform: scale(1.1);
}

.page-manufacturing-service-subintro-wrap {
 border-left: 3px solid #03A9F4;
}

.page-manufacturing-service-subintro {
	padding-left: 16px;
  font-size: 16px;
}

.page-manufacturing-service-text {
	 margin: 32px 0;
	 font-size: 14px;
}

.page-manufacturing-service-line {
  margin: 32px 0;
  border: 0.5px solid #bdbdbd;
}

.page-manufacturing-service-text-area {
	 margin: 16px 0 32px 0;
}

.page-manufacturing-service-text-area li {
	margin: 4px 0;
	font-size: 14px;
}

.page-manufacturing-service-text-area li::before {
	content: '↪︎';
	margin-right: 8px;
	color: #03A9F4;
}

/****************************************************************************************************
************************************** パンくずリスト **************************************************
*****************************************************************************************************  */
.pan {
  width: 100%;
  height: 40px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ededed;
}

.pan ul{
  width: 90%;
  margin: 0 auto;
  position: relative;
	list-style: none;
}

.pan ul li{
	display: inline;
  font-size: 10px;
}

.pan ul li a{
	color: #3a3a3a;
	text-decoration: none;
  font-size: 10px;
}

.pan ul li + li{
  margin: 0 32px;
}

.pan li + li:before{
	content: '';
	display: block;
	width: 4px;
	height: 4px;
	border-top: 1px solid #3a3a3a;
	border-left: 1px solid #3a3a3a;
	transform: rotate(135deg);
	position: absolute;
	left: 23px;
	top: calc(50% - 0px);
}