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

a {
	text-decoration: none;
}

li {
	list-style: none;
}

/****************************************************************************************************
************************************** header *******************************************************
*****************************************************************************************************  */
.header {
	width: 100%;
	height: 100%;
	/* margin-bottom: 128px; */
	position: relative;

}

.header-front-img {
    width: 100%;
    height: 90vh;          /* 高さは画面の80% */
    min-height: 600px;     /* 小さすぎる画面の保険 */
    position: relative;
    background-image: url('../img/team-386673_1920.jpg');
    background-size: cover;
    background-position: center;
}

.header-front-img:before {
    content: '';
    position: absolute;
    inset: 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: 30px;
	display: flex;
	justify-content: space-between;
	z-index: 999;
	background: none;
}
.header-top.change-color {/*****スクロール後***** */
	align-items: center;
	top: 0;
	height: 60px;
	background: rgba(0, 0, 0, 0.5);
	transition: all .5s;
}

.header-logo {
	width: 200px;
	height: 40px;
	margin-left: 30px;
}

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

.burger-nav,
.drawer_hidden {
	display: none;
}

.header-top>.nav-wrap {
	/* width: 700px; */
	height: 36px;
	padding-right: 30px;
}

.header-top>.nav-wrap>ul.nav {
	list-style: none;
	display: flex;
	font-size: 14px;
	justify-content: flex-end;
}

.header-top>.nav-wrap>ul.nav>li {
	width: 120px;
	height: 36px;
	position: relative;/*ドロップ用追加*/
	transition: all .3s;/*ドロップ用追加*/
	/* border: 1px solid #bdbdbd; */
}

.header-top>.nav-wrap>ul.nav>li:nth-of-type(5) {
	padding: 0 8px;
	margin-left: 16px;
	border-radius: 50px;
	border: 1px solid #d5000f;
}

.header-top>.nav-wrap>ul.nav>li>a {
	padding: 6px 0 24px 0;
	display: block;
	text-decoration: none;
	text-align: center;
	color: #fff;
	letter-spacing: 2px;
	transition: all .5s;
}

.header-top>.nav-wrap>ul.nav>li>a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px; /* 下線の太さ */
    background: #fff; /* 下線の色 */
    transition: width 0.3s ease, left 0.3s ease;
}

.header-top>.nav-wrap>ul.nav>li>a:hover::after {
    width: 40%;
    left: 0;
    transform: translateX(-50%); /* 中央に寄せる */
}

.header-top>.nav-wrap>ul.nav>li>a:hover::after {
    width: 40%;
    left: 50%;
    transform: translateX(-50%);
}

.header-top>.nav-wrap>ul.nav>li:nth-of-type(5):hover {
	background: #d5000f;
}

/* .header-top>.nav-wrap>ul.nav>li>a:hover {
	transform: scale(1.1);
} */

/* --------------ドロップダウン--------------- */
ul.nav-sub_1 {
	/*display: none;デフォルトでは非表示の状態にしておく*/
	margin-top: 12px;
	padding: 0 8px;
	width: 140px;
	position: absolute;
	top: 36px;
	left: 0;
	background: rgba(0, 0, 0, 0.5);
	opacity: 0;
	transform: translateY(-230px); /* 初期位置を少し上にずらす */
	transition: opacity 1.5s ease, transform 0.6s ease; /* 透明度と位置のトランジション */
}


ul.nav-sub_1>li {
	padding: 8px 0;
	height: 30px;
	position: relative;
	list-style: none;
}

ul.nav-sub_1>li:not(:first-child)::before{
	content: "";
	width: 50%;
	position: absolute;
	top: 0;
	left: 0;
}

ul.nav-sub_1>li a {
	display: flex;
	justify-content: center;
	align-items: center;
	color: #fff;
	text-decoration: none;
	position: relative;
	transition: all .5s;
}

ul.nav-sub_1>li a:hover {
	transform: scale(1.1);
}

ul.nav-sub_1>li a::before {
	content: '';
	display: block;
	width: 6px;
	height: 6px;
	border-top: 2px solid #fff;
	border-left: 2px solid #fff;
	transform: rotate(135deg);
	position: absolute;
	right: 15px;
	top: calc(50% - 5px);
}

ul.nav-sub_2 {
	/*display: none;デフォルトでは非表示の状態にしておく*/
	margin-top: 12px;
	padding: 0 8px;
	width: 140px;
	position: absolute;
	top: 36px;
	left: 0;
	background: rgba(0, 0, 0, 0.5);
	opacity: 0;
	transform: translateY(-230px); /* 初期位置を少し上にずらす */
	transition: opacity 1.5s ease, transform 0.6s ease; /* 透明度と位置のトランジション */
}

.dropdown:hover ul.nav-sub_1,
.dropdown:hover ul.nav-sub_2 {
	display: block; /* ドロップダウンメニューを表示 */
	opacity: 1; /* 表示時に不透明に */
	transform: translateY(0); /* 元の位置に戻す */
}

.header-top>.nav-wrap>ul.nav>li:hover ul.nav-sub_2 {
	display: block;/*ナビメニューにホバーしたら表示*/
}

ul.nav-sub_2>li {
	padding: 8px 0;
	height: 30px;
	position: relative;
	list-style: none;
}

ul.nav-sub_2>li:not(:first-child)::before{
	content: "";
	width: 60%;
	position: absolute;
	top: 0;
	left: 0;
}

ul.nav-sub_2>li a {
	display: flex;
	justify-content: center;
	align-items: center;
	color: #fff;
	text-decoration: none;
	position: relative;
	transition: all .5s;
}

ul.nav-sub_2>li a:hover {
	transform: scale(1.1);
}

ul.nav-sub_2>li a::before {
	content: '';
	display: block;
	width: 6px;
	height: 6px;
	border-top: 2px solid #fff;
	border-left: 2px solid #fff;
	transform: rotate(135deg);
	position: absolute;
	right: 9px;
	top: calc(50% - 5px);
}

.header-center {
	width: 90%;
	position: absolute;
	top: 50%;
	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: 42px;
}

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

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

/****************************************************************************************************
************************************** main *********************************************************
*****************************************************************************************************  */
.main {
	width: 100%;
	margin: 128px auto 0;
}

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

.main-header.visible {
	opacity: 1; /* 不透明にする */
	transform: translateY(0); /* 元の位置に戻る */
}

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

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

/****************************************************************************************************
************************************** section-first **************************************************
*****************************************************************************************************  */
/* セクション全体 */
.section-first {
    width: 100%;
    margin-top: 80px;
    position: relative;
}

/* 内枠（最大幅1200px） */
.section-first .section-inner {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    position: relative;
}

/* 左の縦ライン & タイトル群 */
.section-mark {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-40px);
    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: 28px;
    font-weight: bold;
}

.section-mark-sub {
    font-size: 14px;
}

/* コンテンツ本体（左右に分割） */
.section-center-pink {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;

    /* マーク分の高さを確保 */
    padding-top: 80px;
    padding-bottom: 40px;
}

/* 左側（タイトル & ロゴ） */
/* 左側：画像と文字を重ねるための親 */
.section-center-pink-left {
    width: 50%;
    position: relative;       /* 重ねるために必要 */
}

/* 画像 */
.section-center-pink-left-img {
    width: 100%;
}

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

.section-center-pink-left-intro {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    font-size: 32px;
    font-weight: bold;
    color: #333;
    text-align: center;

    z-index: 2;
}

/* 右側テキスト */
.section-center-pink-text {
    width: 50%;
    font-size: 18px;
    line-height: 1.8;
}

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

.section-second .section-inner {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    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: 28px; font-weight: bold; }
.section-mark-sub { font-size: 14px; }

/* コンテンツ本体（左右分割） */
.section-center-gray {
  display: flex;
  gap: 80px;
  padding-top: 80px;
  padding-bottom: 40px;
  align-items: stretch;
}

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

/* 左側文章+画像をまとめる親 */
.section-center-gray-wrap {
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-center-gray-intro {
  font-size: 32px;
  line-height: 1.8em;

}

/* 下揃え部分 */
.section-center-gray-bottom {
	position: absolute; 
	bottom: 0;
	right: 0;
	text-align: right;
	text-align: right;
}

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

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

/* 「詳しく見る」ボタン */
.message-more {
    width: 300px;
    margin: 16px auto 0;
    border: 1px solid #bdbdbd;
}
.message-more a {
    display: block;
    padding: 16px 0;
    text-align: center;
    font-size: 18px;
    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: 15%;
    top: calc(50% - 5px);
}
.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: 104px;
	/* background: linear-gradient(to bottom, #fff, #ffa9a1); */
	position: relative;
	display: inline-block;
}

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

.section-center-pink-l {
	width: 90%;
	height: auto;
	margin: 0 auto;
	padding-top: 32px;
	position: relative;
}

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

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

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: 63%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 80%;
}

.aboutus-img img {
	width: 100%;
	height: auto;
}

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

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

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

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

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

.history {
	opacity: 0; /* 初期状態を透明に設定 */
	transform: translateX(100px); /* 初期位置を左にずらす */
	transition: opacity 1s ease, transform 1s ease; /* フェードインと位置移動のトランジションを設定 */
	width: 100%;

	display: flex;
	align-items: center;
	overflow-x: auto;
}

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

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

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

.business-header-title {
	/* margin-bottom: 32px; */
	text-align: center;
	font-size: 32px;
}

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

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

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






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

.business-alone-intro {
	width: 240px;
	aspect-ratio: 16 / 9;
	border: 3px solid #bdbdbd;
	font-size: 18px;
	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: -50%;
	opacity: 0; /* 初期状態を透明に設定 */
	transform: translateX(-50px); /* 初期位置を左にずらす */
	transition: opacity 1s ease, transform 1s ease; /* フェードインと位置移動のトランジションを設定 */
}

/* 右に置く場合 */
.business-alone.right .business-alone-intro {
	right: -50%;
	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);
}


/*  途中から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;
    }
}

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

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

.section-recruit-box {
	width: 60%;
	margin: 0 auto;
	margin-top: 64px;
}

.section-recruit-box-inner {
	width: 100%;
	aspect-ratio: 16 / 6;
	margin: 0 auto;
	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: 240px;
}

.section-recruit-box-inner-intro a {
	display: block;
	padding: 16px 0;
	color: #fff;
	font-weight: 400;
	font-size: 20px;
	background: rgba(255, 255, 255, 0.2);
	transition: all .5s;
}

.section-recruit-box-inner a:hover {
	color: #3a3a3a;
	background: rgba(255, 255, 255, 0.5);
}

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

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

.footer-inner-left {
	/* width: 40%; */
	display: flex;
	justify-content: flex-start;
	text-align: center;
	margin: 0 auto;
	padding-top: 20px;
}

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

.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: 20%;
}

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

.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: 40%;
	text-align: center;
}

.footer-inner-right img{
	width: 180px;
}

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


/****************************************************************************************************
************************************** 代表挨拶 **************************************************
*****************************************************************************************************  */
.header-page-img {
	width: 100%;
	height: 400px;
	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 {
	opacity: 0; /* 初期状態を透明に設定 */
	transform: translateX(-150px); /* 初期位置を左にずらす */
	transition: opacity 1.5s ease, transform 1s ease; /* フェードインと位置移動のトランジションを設定 */
	position: absolute;
	top: 50%;
	left: 20%;
	font-size: 28px;
	color: #3a3a3a;
	font-weight: 100;
	letter-spacing: 4px;
	z-index: 1;
	padding: 16px 64px;
	background: rgba(255, 255, 255, 0.7)
}

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

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

.page-message-text {
	font-size: 16px;
	line-height: 1.8em;
	letter-spacing: 1.2px;
}

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

.page-message-singroup {
	display: flex;
	flex-direction: column; /* ← これで縦並び */
	align-items: flex-end;  /* 右揃え */
	gap: 16px;
	margin-top: 40px;
}

.page-message-singroup-president {
	text-align: right;
	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: 1200px;
	width: 90%;
	margin: 0 auto;
}

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

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

.cf-area:nth-of-type(4) {
  border: none;
}

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

.cf-area dt {
  width: 20%;
  padding-right: 30px;
  text-align: right;
	line-height: 1.5em;
}

.cf-area dd {
    flex: 1;
}

.cf-area dd.drop {
  
}

.cf-area input, .cf-area textarea {
  width: 80%;
  padding: 0.8em;
  border: none;
	border-radius: 2px;
  background-color: #ededed;
  font-size: 16px;
	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 6px;
	border-radius: 2px
}

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

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

.wpcf7-form-control {
  width: 30%;
  padding: 12px;
  font-size: 14px;
  border: 1px solid #bdbdbd;
	border-radius: 2px;
	color: #3a3a3a;
}

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

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

/* 見出し */
.ct-intro {
	font-size: 24px;
	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: 36px;
	color: #D5000f;
	font-weight: bold;
	text-decoration: none;
}

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


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

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

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

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

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

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

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

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

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

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

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

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

.page-recruit-btn {
    width: 70%;
    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: 32px;
    background: #fff;
}

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

.page-recruit-btn-contact > a,
.page-recruit-btn-apply > a {
    display: block;
    padding: 16px 0;
    text-align: center;
    font-size: 18px;
    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: 1200px;
	width: 80%;
	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: 32px;
}

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

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

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

.page-car-service-wrap {
  width: 100%;
	margin-bottom: 176px;
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 1s, transform 1s; /* ここまでアニメーション */
}

.page-car-service-wrap.visible {
	opacity: 1; /* 不透明にする */
	transform: translateY(0); /* 元の位置に戻る */
}

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

/* 画像側 */
.page-car-service-img {
  flex: 1;
  aspect-ratio: 4 / 3;
  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 {
  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: flex-end;
  align-items: center;
}

.page-car-link-text {
  width: 50%;
  margin-right: 32px;
  position: relative;
  font-size: 16px;
  text-align: right;
}

.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: 50%;
  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: 1200px;
	width: 80%;
	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: 32px;
}

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

.page-media-service-area {
	padding-bottom: 48px;
	width: 100%;
	height: auto;
	/* border-bottom: 1px solid #bdbdbd; */
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 1s, transform 1s; /* ここまでアニメーション */
}

.page-media-service-area.visible {
	opacity: 1; /* 不透明にする */
	transform: translateY(0); /* 元の位置に戻る */
}



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

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

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

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

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

.page-media-service-text-area {
	width: 96%;
	margin: 32px auto;
}

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

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

.page-media-service-content-inner {
	width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  gap: 16px; /* 子要素間の隙間 */
	flex-wrap: wrap;
}

.page-media-service-content-img-group {
  flex: 1; /* 均等幅にする */
  display: flex;
  flex-direction: column;
	gap: 8px;
}

.page-media-service-content-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  flex-shrink: 0;
	transition: transform 0.5s ease;
	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;

}

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

.page-media-service-content-text {
  padding-top: 8px;
  font-size: 18px;
  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: 1200px;
	width: 100%;
	margin: 0 auto;
}

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

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

.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: 64px;
	width: 100%;
	height: auto;
	/* border-bottom: 1px solid #bdbdbd; */
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 1s, transform 1s; /* ここまでアニメーション */
}

.page-food-service-area.visible {
	opacity: 1; /* 不透明にする */
	transform: translateY(0); /* 元の位置に戻る */
}

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

.page-food-service {
	width: 100%;
	/* margin: 48px 0; */
}

.page-food-service-margin {
	margin-top: 64px;
}

.page-food-service-header {
  border-left: 5px solid #d5000f;
  padding-left: 16px;
  margin-bottom: 16px;
}

.page-food-service-title {
  font-size: 28px;
  font-weight: bold;
  line-height: 1.4;
}

.page-food-service-text-area {
  width: 96%;
  margin: 8px auto 32px;
}

.page-food-service-text {
  font-size: 18px;
  line-height: 1.7;
}

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

.page-food-service-content-inner {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.page-food-service-content-img-store-group {
  width: 32%;
}

.page-food-service-content-img-store {
  width: 100%;
	aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  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;
  transition: transform 0.5s ease;
}

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

.page-food-service-content-img-group {
  width: 23%;
}

.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 {
  width: 800px;
  margin: 32px auto;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.page-food-service-link {
  width: 100%;
  max-width: 360px;
  border: 1px solid #bdbdbd;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

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

.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: 44px;
  top: calc(50% - 5px);
}

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

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

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

.page-manufacturing-inner {
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
}

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

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

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

.page-manufacturing-header-text {
  max-width: 900px;
  margin: 32px auto 80px;
  font-size: 20px;
  line-height: 1.8;
}

.page-manufacturing-service-area {

}

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

.page-manufacturing-service-wrap {
	
}

.page-manufacturing-service-intro-wrap {
  margin: 64px auto 48px;
  text-align: center;
}

.page-manufacturing-service-intro {
  font-size: 24px;
}

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

}

.intro-line .line {
  width: 60px;
  margin: 12px auto 0;
  border: 2px solid #03A9F4;
}

.page-manufacturing-service-lr {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  margin-bottom: 48px;
}

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

.page-manufacturing-service-right {
  width: 45%;
  position: relative;
  min-height: 600px;
}

.page-manufacturing-service-img-top {
  width: 45%;
  position: absolute;
  top: 0%;
  left: 5%;
  opacity: .7;
  border-radius: 50%;
  overflow: hidden;
}

.page-manufacturing-service-img-center {
  width: 55%;
  position: absolute;
  top: 32%;
  left: 40%;
  opacity: .7;
  border-radius: 50%;
  overflow: hidden;
}

.page-manufacturing-service-img-bottom {
  width: 70%;
  position: absolute;
  top: 65%;
  left: 0%;
  opacity: .7;
  border-radius: 50%;
  overflow: hidden;
}

.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;
	margin-top: 32px;
}

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

.page-manufacturing-service-text {
  margin: 24px 0 64px;
  line-height: 1.8;
}

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

.page-manufacturing-service-text-area {
  margin: 12px 0 28px 0;
  line-height: 1.8;
}

.page-manufacturing-service-text-area li {
  margin: 6px 0;
}

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

.page-manufacturing-service-area > .page-manufacturing-header-text {
  max-width: 900px;
  margin: 48px auto 80px;
  line-height: 1.8;
}

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

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

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

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

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

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