@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" rel="stylesheet');
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz,wght@6..96,400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}

:root {
	--color-main: #bbb;
	--color-lightgray: #ccc;
	--color-line: #555;
	--color-gold: #B28850;
}

html {
	overflow: auto;
	background-color: #000;
}

/* Global */

body {
	color: var(--color-main);
	font-size: 1em;
	font-family: 'Roboto','Noto Sans JP', "游ゴシック体", "Yu Gothic", "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
	letter-spacing: 1px;
	overflow-wrap: anywhere;
	height: 100%;
	margin: 0;
	position: relative;
	background: linear-gradient(90deg, #222 0%, #000 80%);
	display: flex;
	flex-flow: column;
	min-height: 100vh;
}

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

.ie8 img {
	width: auto;
}

a:link {
	text-decoration: none;
	transition-property: all;
	transition: 0.2s linear;
}

a:hover {
	text-decoration: none;
}

a:visited {
	text-decoration: none;
}

.container {
	width: 92%;
	max-width: 1000px;
	margin: auto;
	position: relative;
}

.container1200 {
	width: 92%;
	max-width: 1200px;
	margin: auto;
	position: relative;
}

.container1400 {
	width: 92%;
	max-width: 1400px;
	margin: auto;
	position: relative;
}


/* Navigation */

.menu {
	display: flex;
	justify-content: space-between;
	width: 100%;
	position: fixed;
	top: 0px;
	z-index: 9900;
}

.hide {
	transform: translateY(-150%);
}

.sns_show {
	opacity: 1;
}

.sns_hide {
	opacity: 0;
}

.menu figure {
	width: 300px;
	margin: 18px 0 0 15px;
	text-align: left;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	-ms-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
}

.menu h1 {
	display: flex;
	align-items: center; /* 基本的にテキストを中央揃え */
	margin: 0;
	padding: 0;
	font-size: 0.75em;
	line-height: 1em;
	font-weight: 500;
}

.menu h1 img {
	margin: 0 8px 0 0;
	padding: 0;
	width: 150px;
}

.menu h1 span {
	position: relative; /* 相対位置を指定 */
	top: -7px;
}

.menu h1 a {
	color: #fff;
}

.menu .description {
	display: flex;
	justify-content: flex-end;
}



/* ふわっと表示 */
/* 画面外にいる状態 */

.fadein {
	opacity: 0;
	transform: translate(0, 100px);
	transition: all 700ms;
}

/* 画面内に入った状態 */

.fadein.scrollin {
	opacity: 1;
	transform: translate(0, 0);
}

.wrap {
	flex: 1;
}

/* General Slides */

.slide {
	background-attachment: fixed;
	width: 100%;
	height: auto;
	position: relative;
	padding: 0;
}



/* Slide 1 */

#slide1 {
	position: relative;
	margin: 0;
	width: 100%;
	padding-bottom: 100px;
	overflow: hidden;
	background:url('../images/slide1/topkabebig.png') no-repeat left top;
	background-repeat: repeat-x;
	opacity: 0;
}

#slide1::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.2); /* ← 暗さの調整 */
	pointer-events: none;
	z-index: 0;
}

#slide1 h1 {
	font-size: 6em;
	line-height: 1.3em;
	font-weight: 900;
	position: absolute;
	bottom: calc(350 / 1080 * 100%);
	left: calc(515 / 1920 * 100%);
	margin: 0;
	padding: 0;
	transform: rotate(-10deg);
	z-index: 5;
}

.kv_flex {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between; /* 横並びで間隔を均等に */
	width: 100%;
	max-width: 1680px; /* 最大幅を指定 */
	margin: 50px auto 0;
	padding: 0;
	position: relative;
	height: calc(100vw * (900 / 1680)); /* 幅に応じて高さを計算 */
	max-height: 900px; /* 最大高さを1200pxに固定 */
}

/* スクランブルテキストのスタイル */
.scramble-text-container {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	z-index: 10;
}

.scramble-line {
	font-size: 10px; /* 半分のサイズに */
	line-height: 1.6;
	margin: 5px 0;
	color: #333;
	visibility: hidden;
	opacity: 0;
}
	  

/* 基本スタイル（画面幅1680px以下） */

.title_svg {
	width: calc(1500 /  1920 * 100%); /* 1000pxの1.5倍 */
	top: calc(800 / 1680 * 100%); /* 1000pxの1.5倍 */
	height: 300px; /* 200pxの1.5倍 */
	position: absolute;
	display
	left: 50%; /* 横方向を中央に配置 */
	transform: translateX(-50%); /* 中央に配置し、回転 */
	margin: 0;
	padding: 0;
	z-index: 20;
	opacity: 0; /* 初期状態を表示 */
	
	

	  
	  
	  /* レスポンシブ対応のためのコメントアウトされた例 */
	  /* width: 100%; */
	  /* height: auto; */
}


/* プレフィックスを追加してクラス名を一意に */

.line_mov3-svg-container {
	width: 800px;
	height: 100px;
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: rotate(-10deg); /* -10度回転 */
	transform-origin: center center; /* 回転の基点を中央に設定 */
    /* 回転に伴うレイアウトの調整（必要に応じて調整） */
    /* 例えば、余白を追加するなど */
	margin: 20px;
	left: 50px;
	bottom: 120px;
	opacity: 0,
}

.line_mov3-svg {
	width: 100%;
	height: 100%;
}

#line_mov3-svg line {
	opacity: 1;
}

.line_mov3-label {
	position: absolute;
	top: 5px;
	left: 10px;
	font-size: 14px;
	color: #555;
}
    /* ページ全体のスタイルもプレフィックス付きで一意に */

.line_mov3-body {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100vh;
	background-color: #f9f9f9;
	font-family: Arial, sans-serif;
	margin: 0;
}

#slide1 .lines {
	position: absolute;
	top: calc((650 / 1680) * 100vw);
	right: 0;
	left: calc((-100 / 1680) * 100vw);
	height: 66.6rem;
	pointer-events: none;
	z-index: 10;
}

#slide1 .lines .slash {
	position: absolute;
	animation: main_slash 10s linear;
}

#slide1 .lines .slash * {
	height: 100%;
}

#slide1 .lines .slash .bar {
	width: .2rem;
	background-color: #999999;
	transform: rotate(-100.6deg);
	transform-origin: 100% 0;
	clip-path: inset(0% 0% 100% 0%);
}

#slide1 .lines .slash.-white .bar {
	background-color: #fff;
}

#slide1 .lines .slash.show .bar {
	transition: clip-path .8s cubic-bezier(0.25, 1, 0.5, 1);;
	clip-path: inset(0% 0% 0% 0%);
}

#slide1 .lines .slash.hide .bar {
	transition: clip-path .6s cubic-bezier(0.32, 0, 0.67, 0);
	clip-path: inset(100% 0% 0% 0%);
}

.back_svg {
	position: relative;
	color: fff;
	opacity: 0;;
}
    
/* Slide 2 */

#slide2 {
	position: relative;
	width: 100%;
	margin: 0 auto auto;
	padding-top: 0;
	padding-bottom: 200px;
	opacity: 0;
}

#slide2 p {
	font-size: 1.6em;
	line-height: 2.5em;
	text-align: left;
	margin: 0;
	font-weight: 300;
}


/* Slide 3　 */

#slide3 {
	position: relative;
	width: 100%;
	margin: 0 auto auto;
	padding-top: 0;
	padding-bottom: 0;
}

#slide3 h2 {
	color: var(--color-gold);
	font-size: 8rem;
	line-height: 1.5;
	font-weight: 400;
	font-family: "EB Garamond", serif;
	margin: 0 0 0 100px;
}

.flex_2col {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 100%;
	margin: 100px 0 0;
	padding: 0;
	position: relative;
	z-index: 10;
}

.flex_2col .description {
	width: calc(410 / 1400 * 100%);
	margin: 0;
}

.flex_2col .description h3 {
	color: #fff;
	font-size: 1.8em;
	line-height: 1.3em;
	margin: 0 0 30px;
}

.flex_2col .description p {
	font-size: 1.1em;
	line-height: 3em;
	margin: 0;
}

.about_link {
	width: calc(100% - calc(410 / 1400 * 100%)); /* 残りのスペースを計算して設定 */
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between; /* 均等配置 */
	gap: 20px; /* 要素間の余白 */
	margin-top: -130px;
}

.about_list {
	width: calc(32% - 6px); /* リストを3列に分割 */
	margin-bottom: 20px;
	text-align: center;
	position: relative;
}

.about_list a {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* 通常時 */

.about_list img {
	filter: grayscale(100%) brightness(50%);
	transition: filter 0.3s ease, opacity 0.3s ease; /* なめらかな変化 */
}

/* hover時に暗くする */

.about_list:hover img {
	filter: brightness(70%); /* 画像を暗くする */
	opacity: 0.9; /* 少し透明感を加える（オプション） */
}

.about_list figure {
	margin: 0;
	position: relative;
}

.about_list img {
	width: 100%; /* リスト幅に合わせて画像を調整 */
	height: auto;
}

.about_list figcaption {
	color: #ccc;
	font-size: 1.3em;
	font-weight: 600;
	line-height: 1.5em;
	text-align: left;
	position: absolute;
	left: 10px;
	bottom: 60px;
}

.mg_photo1 {
	margin-top: 65px;
}

.mg_photo2 {
	margin-top: 20px;
}

.mg_photo3 {
	margin-top: -40px;
}

.mg_photo4 {
	margin-top: -100px;
}

.bg_illust {
	width: 100%;
	object-fit: cover;
	opacity: 0.4;
	margin-top: -300px;
	position: relative;
	z-index: 1;
}


/* Slide 4 */
#slide4 {
	position: relative;
	width: 100%;
	margin: 0;
}

/* 無限ループアニメーション新 */
.flowing-ttl {
	display: flex;
	width: 100%;
	overflow: hidden;
}

.flowing-ttl__item {
	flex: 0 0 auto;
	white-space: nowrap;
	padding: 0 15px;
	color: rgba(181, 184, 191, 0.3);
	font-size: 9rem;
	line-height: 1;
	font-weight: 600;
	margin: -20px 0 0;
	letter-spacing: 0;
}

.flowing-ttl__item:nth-child(odd) {
	animation: loop 40s linear -20s infinite;
}

.flowing-ttl__item:nth-child(even) {
	animation: loop2 40s linear infinite;
}

.flowing-ttl.reverse .flowing-ttl__item:nth-child(odd) {
	animation: loop 40s linear -20s infinite reverse;
}

.flowing-ttl.reverse .flowing-ttl__item:nth-child(even) {
	animation: loop2 40s linear infinite reverse;
}

@keyframes loop {
0% {
	transform: translateX(100%);
}

to {
	transform: translateX(-100%);
}
}

@keyframes loop2 {
0% {
	transform: translateX(0);
}

to {
	transform: translateX(-200%);
}
}


/* メディアクエリ（画面幅1680px以上） */

@media (min-width: 1680px) {
	.title_svg {
		width: 1500px; /* 1000pxの1.5倍 */
		height: 480px; /* 320pxの1.5倍 */
		bottom: 50px; /* 下から350pxに固定 */
		left: 50%; /* 横方向を中央に配置 */
		transform: translateX(-50%); /* 中央に配置し、回転 */
	    /* 他のスタイルはそのまま維持 */
	}
}




@media (max-width: 640px) {
	/* Slide 1 */
	
	#slide1 {
    /* 元の記述（コメントアウトまたは削除） */
    /* height: calc(100vw * (900 / 640)); */ 

    /* ▼▼▼ ここから書き換え ▼▼▼ */
    height: 100vh;      /* 古いブラウザ用 */
    height: 100dvh;     /* 最新のスマホ用（アドレスバーを除いた画面いっぱい） */
    min-height: 550px;  /* 念のため、極端に縦が狭い端末での崩れ防止 */
    
    /* 背景画像の設定（ここは元のまま維持でもOKですが、念のため記述しておくと確実です） */
    background-image: url('../images/slide1/topkabebig_sp.png') !important;
    background-repeat: no-repeat !important;
    background-position: center top !important;
    background-size: cover !important; 
    /* ▲▲▲ ここまで ▲▲▲ */
}		
		
	/* 基本スタイル(画面幅640px以下) */
	.title_svg {
		width: calc(900 / 640 * 100%); /* 600pxの1.5倍（約140%） */
		max-width: 95vw; /* 画面をはみ出さないように */
		position: absolute;
		bottom: -30px;
		left: 48%;
		transform: translateX(-50%); /* 中央に配置し、回転 */
		margin: 20px;
		padding: 0;
		z-index: 20;
		opacity: 0; /* 初期状態を非表示 */
		  
		  /* レスポンシブ対応のためのコメントアウトされた例 */
		  /* width: 100%; */
		  /* height: auto; */
	}
	
	/* スマホ用：スクランブルテキストを小さく */
	.scramble-line {
		font-size: 8px !important; /* スマホ用も半分のサイズ */
		line-height: 1.5;
	}
	
	#slide1 .lines {
		position: absolute;
		top: 450px;
		right: 0;
		left: calc((-200 / 640) * 100vw);
		height: 66.6rem;
		pointer-events: none;
		z-index: 10;
	}
	
	/* Slide 2 */
	
	.scroll-infinity__item {
		width: calc(100vw / 1.2); /* アイテムの幅をさらに広げる */
	}
	
	.scroll-infinity__item > img {
		width: 200%; /* 画像をさらに大きく表示 */
	}
	
	.scroll-infinity__list {
		width: calc(100vw * 6); /* リスト全体の幅をアイテム数に基づき設定 */
	}
	
	.scroll-infinity__list--left {
		animation: infinity-scroll-left 120s infinite linear; /* アニメーション速度を調整 */
	}
}


/* 無限スクロールアニメーション */
@keyframes infinity-scroll-left {
from {
	transform: translateX(0);
}

to {
	transform: translateX(-100%); /* リスト全体が完全にスクロールする */
}
}





/* footer */
footer {
	margin: 100px 0 0;
	padding: 40px 20px 30px;
}

.fotter_area {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	flex-wrap: wrap;
	width: 100%;
	margin: 0;
	padding: 0 20px;
}

.footer_logo {
	display: flex;
	align-items: center;
	text-align: left;
	width: 50%;
	margin: 0;
}

.footer_logo figure {
	width: 120px;
	text-align: left;
	margin: 0 40px 0 0;
	filter: brightness(70%);
}

.footer_logo .description {
	color: #bbb;
	font-size: 0.7em;
	letter-spacing: 1px;
	line-height: 1.5em;
	font-family: 'Roboto', sans-serif;
	margin-top: 5px;
}

.fotter_link {
	display: flex;
	flex-direction: column;
	width: 50%;
	margin: 0;
}

.fotter_link .sns {
	display: flex;
	justify-content: flex-end;
	margin: 0 0 20px;
	padding: 0;
	list-style-type: none;
}

.fotter_link .sns li {
	margin: 0 0 0 20px;
}

.fotter_link .sns img {
	width: 40px;
}

.fotter_link .footer_ul {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style-type: none;
}

.fotter_link .footer_ul li {
	color: #fff;
	font-size: 0.75em;
	line-height: 2em;
	letter-spacing: 1px;
	margin: 0 0 0 40px;
}

.footer_ul a {
	color: #bbb;
}

.footer_ul a:hover {
	color: #fff;
	text-decoration: underline;
}



/* 下層ページ */
/* Slide1_header */
#slide1_header {
	width: 100%;
	position: relative;
}
.slide-header {
	width: 100%;
	position: relative;
}

.subpge_kv {
	width: 100%;
	object-fit: cover;
	object-position: 0 0;
	position: relative;
	vertical-align: bottom;
	filter: grayscale(100%);
	
	/* 画像自体を下部で透明にするマスク */
	-webkit-mask-image: linear-gradient(to bottom, 
	rgba(0, 0, 0, 0.7) 0%, 
	rgba(0, 0, 0, 0.5) 40%, 
	rgba(0, 0, 0, 0) 85%
);
	mask-image: linear-gradient(to bottom, 
	rgba(0, 0, 0, 0.8) 0%, 
	rgba(0, 0, 0, 0.5) 40%, 
	rgba(0, 0, 0, 0) 85%
);
}

.kv_filter70 {
	filter: grayscale(100%) brightness(70%);
}

.kv_filter80 {
	filter: grayscale(100%) brightness(80%);
}

.slide-header .title {
	position: absolute;
	left: calc(150 / 1920 * 100%);
	top: 40%;
	transform: translate(0,-60%);
	z-index: 2;
	color: #fff;
}

.slide-header h2 {
	font-size: 5em;
	line-height: 1;
	font-family: "EB Garamond", serif;
	font-weight: 500;
	margin: 0;
	letter-spacing: 0;
}

.slide-header .h2_jp {
	font-size: 1em;
	line-height: 1;
	margin: 10px 0 0;
}


/* #slide_main */

#slide_main {
	position: relative;
	width: 100%;
	margin: -200px 0 0;
	padding: 0;
}

.hr_e5 {
	padding-top: 50px;
	padding-bottom: 50px;
}


/* メッセージ */
.br-line { display: block; }
.message_wrap {
	width: 100%;
	margin: 0;
	padding: 0;
	visibility: hidden;
}

.message_wrap p {
	color: #fff;
	font-size: 1em;
	line-height: 3em;
	text-align: left;
	letter-spacing: 1px;
	margin: 0 0 50px;
}

.p_name {
  font-size: 1em;
  line-height: 1 !important;
  font-weight: 600;
  font-family: 'Noto Serif JP', serif;
  letter-spacing: 2px;
  margin: 0 !important;
  text-align: right;          /* 全体は右側へ */
  --signW: 210px;             /* ★サインの見た目の横幅（ここだけ調整） */
}

.p_name span {
  display: block;
  width: var(--signW);        /* サインと同じ幅の箱を作る */
  margin-left: auto;          /* 右寄せ */
  text-align: left;           /* 箱の中は左揃え＝サイン左端に揃う */
  position: static;           /* topでずらさない */
  transform: translateY(5px); /* 旧 top:5px 相当（必要なければ消してOK） */
}

.p_name img {
  display: block;
  width: var(--signW);        /* spanと同じ幅 */
  height: auto;               /* 画像比率維持 */
  margin: 20px 0 0 auto;      /* 右寄せ + 上余白 */
}

.p_name2 {
  font-size: 2.8em !important;
	line-height: 1 !important;
	font-weight: 400;
	font-family: 'Noto Serif JP', serif;
	float: right;
	margin: 0 !important;
}

.p_name2 span {
  font-size: 0.4em;
  margin-right: 20px;
}

#slide_main a:link {
	color: var(--color-gold) !important;
}

#slide_main a:visited {
	color: var(--color-gold) !important;
}

#slide_main a:hover {
	color: var(--color-gold) !important;
	text-decoration: underline;
}

.sub-title h2 {
	margin: 50px auto 0;
	color: #fff;
	font-size: 4em;
	line-height: 2em;
	letter-spacing: 5px;
	padding: 10px;
	font-weight: normal;
	font-style: normal;
}

/* データ */

.bg_white {
	background-color: #fff;
	padding-bottom: 80px;
	border-bottom: 1px solid #e5e5e5;
}

.data_note {
	font-size: 0.85em !important;
	line-height: 1.8em;
	margin: 30px auto 0 !important;
	max-width: 940px;
}

.mainH3 {
	color: #fff;
	font-size: 1.9em;
	line-height: 1.6em;
	letter-spacing: 1px;
	font-weight: 500;
	text-align: center;
	position: relative;
	margin: 100px 0 0;
	padding: 0;
}

.mainH3_en {
	color: #fff;
	font-size: 1em;
	line-height: 1.4em;
	font-weight: 300;
	letter-spacing: 0.5em;
	font-style: italic;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 20px 0 40px;
}


/* COMPANY */

.about_wrap {
	width: 100%;
	margin: 0;
	padding: 0;
}

.about_wrap p {
	color: #fff;
	font-size: 1em;
	line-height: 2.2em;
	text-align: left;
	letter-spacing: 1px;
	margin: 0 0 50px;
}

.lead_txt h3 {
	font-size: 2.5em;
	line-height: 1.5em;
	text-align: center;
	font-weight: bold;
	font-family: 'Noto Serif JP', serif;
	color: #fff;
	margin: 0;
}

.lead_txt p {
	text-align: center;
	font-size: 1.3em;
	line-height: 2em;
	margin-bottom: 100px;
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN","HG明朝E","ＭＳ Ｐ明朝","ＭＳ 明朝",serif;
}

.guide_frame {
	margin-bottom: 100px;
	text-align: center;
}

.guide_frame p {
	font-size: 1em;
	line-height: 1.8em;
	text-align: center;
	margin: 30px 0 0;
	padding-bottom: 30px;
}


/* 会社概要table */

table.prof {
	border-collapse: collapse;
	border: 1px solid var(--color-line);
	text-align: left;
	font-size: 0.9em;
	line-height: 1.8em;
	width: 100%;
	margin-right: auto;
	border-left-style: none;
	border-right-style: none;
}

table.prof th {
	color: #fff;
	text-align: left;
	letter-spacing: 1px;
	vertical-align: top;
	font-weight: normal;
	font-style: normal;
	border-top: 1px solid var(--color-line);
	width: 200px;
	padding-top: 15px;
	padding-bottom: 15px;
	padding-left: 15px;
}

table.prof td {
	color: #fff;
	vertical-align: top;
	padding: 15px 40px;
	border: 1px solid var(--color-line);
	border-right-style: none;
	border-left-style: none;
}

table.prof dl {
	margin: 0;
	padding: 0;
	width: 100%;
	display: flex;
}

table.prof dt {
	width: 80px;
}

table.prof dd {
	margin-left: 0px;
}


/* 募集要項 */

.recruit_wrap {
	width: 100%;
	margin: 0;
	padding: 0;
}

.recruit_wrap p {
	font-size: 0.85em !important;
	line-height: 1.8em;
	text-align: left;
	letter-spacing: 1px;
	margin: 0 0 10px;
}

/* Job Link Buttons */
.job_link {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	margin: 60px 0;
}

/* 共通ボタン */
.joblink_btn {
	font-size: 0.9rem;
	font-weight: 500;
	text-align: center;
	position: relative;
	width: 160px;
	padding: 10px 20px;
	background-color: #333;
	border: 2px solid #333;
	letter-spacing: 3px;
}

/* ボタン内テキスト */
.joblink_label {
	display: block;
	color: var(--color-gold);           /* 通常時：ゴールド */
	text-decoration: none;
	transition: color 0.3s ease;
}

/* 新卒採用（クリック不可） */
.joblink_btn--new {
	pointer-events: none;
	cursor: default;
}

/* 中途採用リンク */
.joblink_btn--career a {
	display: block;
	text-decoration: none;              /* 常に下線なし */
}

/* 矢印共通 */
.joblink_btn::after {
	content: "";
	position: absolute;
	right: 10px;
	top: 50%;
	width: 7px;
	height: 7px;
	border-top: 2px solid var(--color-gold);
	border-right: 2px solid var(--color-gold);
	transition: all 0.3s ease;
}

/* 新卒採用：下向き矢印 */
.joblink_btn--new::after {
	transform: translateY(-70%) rotate(135deg);
}

/* 中途採用：右向き矢印 */
.joblink_btn--career::after {
	transform: translateY(-50%) rotate(45deg);
}

/* 中途採用ホバー時：テキスト白・矢印白・下線なし */
.joblink_btn--career:hover .joblink_label {
	color: #fff;                        /* ここで確実に白に */
}

.joblink_btn--career:hover a {
	text-decoration: none;
}

.joblink_btn--career:hover::after {
	border-color: #fff;
}
/* 中途採用リンクの下線を完全に無効化 */
.job_link .joblink_btn--career a,
.job_link .joblink_btn--career a:link,
.job_link .joblink_btn--career a:visited,
.job_link .joblink_btn--career a:hover,
.job_link .joblink_btn--career a:active {
	text-decoration: none !important;
}

.h4_job {
	color: var(--color-gold);
	font-size: 1.2rem;
	line-height: 1;
	text-align: center;
	font-weight: 500;
	letter-spacing: 5px;
	margin-top: 60px;
}

/* 採用までの流れ */
.flow_design09 {
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 8px;
	margin-top: 20px;
	margin-bottom: 40px;
}

.flow09 {
	border-bottom: solid 1px #444;
	width: 100%;
	margin: 0 0 60px;
	padding: 0;
}

.flow09 > li {
	color: #bbb;
	list-style-type: none;
	display: flex;
	padding: 20px 0;
	border-top: solid 1px #444;
}

.flow09 > li dl dt {
	color: #fff;
	font-size: 1.1em;
	line-height: 2;
	font-weight: 600;
	margin-bottom: 10px;
}

.flow09 > li .icon09 {
	color: var(--color-gold);
	font-size: 2em !important;
	line-height: 1;
	font-weight: bold;
	text-align: center;
	width: 70px;
	position: relative;
	margin-top: 0;
}

.flow09 > li .icon09::before {
	content: 'STEP';
	font-size: 0.3em;
	display: block;
	margin-bottom: 3px;
	letter-spacing: 1px;
}

.flow09 > li .icon09::after {
	content: "";
	display: block;
	width: 1px;
	height: calc(100% - 40px);
	background-color: #666;
	position: absolute;
	left: 0;
	right: 0;
	top: 60px;
	margin: auto;
}

.flow09 > li dl dd {
	font-size: 0.9em;
	line-height: 1.8;
	margin: 0;
}

.flow09 > li dl {
	width: calc(100% - 70px);
	margin-top: 0.8em;
}


/* エントリー */

h4.h4_line {
	position: relative;
	padding-bottom: 0.4em;
	margin-bottom: 1.5em;
	font-weight: normal;
	font-style: normal;
	letter-spacing: 1px;
	color: #333;
	text-align: left;
	margin-top: 75px;
	font-size: 1.3em;
}

h4.h4_line:before {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 2px;
	background: #ccc;
}

h4.h4_line:after {
	content: '';
	display: block;
	position: absolute;
	left: 0;
	bottom: 0;
	background: #D7083B;
	width: 80px;
	height: 2px;
	z-index: 1;
}

span.span06em {
	font-size: 0.6em;
}

div.recruit {
	width: 100%;
	text-align: center;
	margin-top: 30px;
	padding: 0;
}

.recruit p {
	font-size: 1em !important;
	line-height: 1.8em;
	text-align: center;
	margin: 0;
	padding-bottom: 0;
	padding-top: 50px;
}

.recruit ul {
	display: flex;
	width: 100%;
	justify-content: space-between;
	flex-wrap: wrap;
	margin: 0 auto;
	padding: 0;
	list-style-type: none;
	max-width: 800px;
}

.recruit li {
	width: 47%;
	margin: 0 auto;
}

.recruit .li01 {
	color: #333;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: relative;
	margin-bottom: 30px;
	padding: 40px 20px;
}

h4.recruit_h4 {
	color: var(--color-gold);
	font-size: 1.5em;
	line-height: 2;
	font-weight: 400;
	text-align: center;
	letter-spacing: 10px;
	margin: 0;
	padding: 10px;
}

.thanks {
	width: 100%;
	text-align: center;
	margin-top: 0;
	padding: 0;
	margin-bottom: 100px;
}

.thanks p {
	color: #fff;
	font-size: 1.2em !important;
	line-height: 2.8em !important;
	text-align: center;
	margin: 50px 0 0;
}


/* インタビュー */
.interview_wrap {
	width: 100%;
	margin: 0;
	padding: 0;
}

.interview_wrap p {
	font-size: 1em;
	line-height: 2.2em;
	text-align: left;
	letter-spacing: 1px;
	margin: 40px 0 50px;
}

ul.grid_main {
	display: flex;
	flex-wrap: wrap;
	margin: 60px 0 0;
	padding: 0;
	list-style-type: none;
}

.grid_main li {
	position: relative;
	width: 32%;
	margin: 0 2% 3em 0;
	padding: 0;
	text-align: left;
}

.grid_main li:nth-child(3n) {
	margin-right: 0;
}

ul.grid_main2 {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 60px 0 0;
	padding: 0;
	list-style-type: none;
}

.grid_main2 li {
	position: relative;
	width: 48%;
	margin: 0 0 3em;
	padding: 0;
	text-align: left;
}

.grid_main li a, .grid_main2 li a {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
}

.photo_area {
	overflow: hidden; /* 子要素が枠を超えないように設定 */
	width: 100%; /* 親要素の幅を100%に設定 */
	aspect-ratio: 1 / 1.14; /* 必要に応じて画像の比率を指定 */
	border-radius: 20px; /* 角丸のサイズを指定 */
}

.grid_main li img, .grid_main2 li img {
	transition: transform 0.3s ease; /* スムーズな拡大効果 */
	width: 100%; /* 親要素に合わせて幅を指定 */
	height: 100%; /* 高さも親要素に合わせる */
	object-fit: cover; /* 枠に収まるように調整 */
	display: block; /* 余計な隙間を防ぐ */
}

.grid_main li:hover img, .grid_main2 li:hover img {
	transform: scale(1.1); /* hover時に正確に拡大 */
}

.grid_main .name2, .grid_main2 .name2 {
	color: #fff;
	font-size: 2.2em;
	line-height: 1em;
	margin: 20px 0 0;
	padding: 0 .3em .3em;
}

.grid_main .name2 span, .grid_main2 .name2 span {
	font-size: 14px;
}

.grid_main .midashi, .grid_main2 .midashi {
	color: #fff;
	font-size: 1.1em;
	line-height: 1.7em;
	position: relative;
	margin-top: 0px;
	padding: 5px .3em .3em .5em;
	position: relative;
	z-index: 2; /* テキストを前面に */
}

.grid_main .midashi::before, .grid_main2 .midashi::before {
	content: "";
	height: 2px;
	background: var(--color-gold);
	display: block;
	width: 60px;
	margin-top: 0px;
	margin-bottom: 20px;
}

.list_mg {
	margin-bottom: -100px !important;
}

.interview_area {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	background-color: #222;
	margin-top: 60px;
}

.interview_area figure {
	width: 50%;
	margin: 0;
	padding: 0;
}

.interview_area figure img {
	margin: 0;
	padding: 0;
	vertical-align: bottom;
}

.interview_area .description {
	width: 50%;
	text-align: left;
	margin: 0;
	padding: 0 1% 0 0;
}

.interview_area .sub_title {
	color: #fff;
	margin: 0 5% 0 7%;
	font-size: 2.2em;
	line-height: 1.6em;
	background-color: #000;
	padding: 15px 30px;
}

.profile_p {
	color: #fff;
	font-size: 4em;
	line-height: 1.2;
	font-weight: bold;
	letter-spacing: 10px;
	margin-top: 20px;
	padding-left: 1em;
	margin-bottom: 0;
}

.profile_p span {
	font-size: 1.1rem;
	font-weight: normal;
	letter-spacing: 3px;
}

.messe {
	margin: 0 auto;
	padding: 5em 0 3em;
}

.messe h5 {
	color: #fff;
	font-size: 1.2em;
	line-height: 1.6em;
	text-align: left;
	font-weight: 400;
	padding: 0;
	margin: 0 0 2em;
	display: flex;
	align-items: center;
}

.messe h5::before {
	content: "";
	height: 1px;
	background: #fff;
	display: block;
	width: 90px;
	margin-right: 15px;
}

.messe .sub {
	color: var(--color-gold);
	font-size: 1.4em;
	font-weight: normal;
	font-style: normal;
	line-height: 1.5em;
	display: flex;
	align-items: center;
	margin-bottom: 0.5em !important;
}

.messe .sub:before {
	display: none;
}

.messe p {
	font-size: 0.95em;
	line-height: 1.9em;
	text-align: left;
	margin-top: 0;
	margin-bottom: 80px;
	letter-spacing: 1px;
	position: relative;
}

.photo_messe {
	display: flex;
	justify-content: space-between;
	padding-bottom: 70px;
}

.photo_messe .description {
	width: 48%;
	margin: 0;
	padding: 0;
}

.photo_messe figure {
	width: 48%;
	margin: 0;
	padding: 0;
}

.photo_messe figure img {
	-webkit-filter: drop-shadow(20px 30px 0px rgba(240, 240, 240, 1));
	filter: drop-shadow(20px 20px 0px rgba(240, 240, 240, 1));
}

.note_area {
	#222background-image: -webkit-gradient(linear, 0 0, 100% 100%,color-stop(.25, #F9F9F9), color-stop(.25, transparent),color-stop(.5, transparent), color-stop(.5, #F9F9F9),color-stop(.75, #F9F9F9), color-stop(.75, transparent),to(transparent));
	-webkit-background-size: 7px 7px;
	border: 1px solid #666;
	margin-top: 60px;
}

.note {
	margin: 10px;
	padding: 20px;
	background-color: #222;
	text-align: left;
}

.note h5 {
	color: #fff;
	font-size: 0.9em;
	line-height: 2em;
	margin: 0 0 10px;
	padding: 0;
	letter-spacing: 0.5px;
}

.note h5::before {
	display: none;
}

.note p {
	margin: 0 !important;
	padding: 0 0 0 10px;
	font-size: 0.9em;
	line-height: 1.8em;
}

.note p::before {
	margin: 0 !important;
	padding: 0 0 0 10px;
	font-size: 0.95em;
	line-height: 1.8em;
	display: none;
}

.back_top {
	font-size: 0.85em;
	line-height: 1;
	text-align: center;
	margin-top: 50px;
}


/* 1日のタイムスケジュール */

.timetable_wrap {
	width: 100%;
	margin: 0;
	padding: 0;
}

.timetable_wrap p {
	color: #333;
	font-size: 1em;
	line-height: 2.2em;
	text-align: left;
	letter-spacing: 1px;
	margin: 0 0 50px;
}

.workflow_area {
	width: 100%;
	border: 1px solid #a8abb3;
	text-align: center;
	padding: 50px 10px;
	background-color: #f5f5f5;
	border-radius: 8px
}

.workflow_h4 {
	color: var(--color-gold);
	font-size: 1.3em;
	line-height: 1.5em;
	text-align: center;
	font-weight: 500;
	letter-spacing: 10px;
	margin: 0 0 50px;
	padding: 0 0 10px;
	border-bottom: thin solid rgba(178, 136, 80, 0.4);
}

.workflow {
	display: flex;
	margin: 0;
}

.flow_time {
	width: 12%;
	padding: 0 30px 0 0px;
	text-align: right;
	color: var(--color-gold);
	font-size: 1.5em;
	line-height: 1;
	font-weight: bold;
	font-family: 'Noto Serif JP', serif;
	font-weight: 500;
}

.flow_text {
	position: relative;
	zoom: 1;
	padding: 4px 20px 0 25px;
	border-left: 1px solid #555;
	width: 88%;
}

.flow_text::before {
	content: "";
	width: 5px;
	height: 5px;
	background-color: var(--color-gold);
	border-radius: 100%;
	position: absolute;
	left: -3px;
	top: 13px;
}

.flow_text dl {
	text-align: left;
	margin: -3px 0 0;
	padding: 0;
}

.flow_text dt {
	color: #fff;
	font-size: 1.1em;
	line-height: 1.8em;
	font-weight: 500;
	margin: 0 0 5px;
	padding: 0;
}

.flow_text dd {
	color: #bbb;
	font-size: 0.95em;
	line-height: 2em;
	letter-spacing: 1px;
	margin: 0;
	padding: 0 0 40px;
}

.flow_dd_last {
	padding-bottom: 10px !important;
}


/* 数字で見る */
/* 採用情報 データ */

.data_list {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 100%;
	margin: 100px 0 0;
	padding: 0;
	border-top: thin solid #333;
}

.individual_data {
	color: #bbb;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 33.333333%;
	margin: 0 auto;
	padding: 3em 1.5em;
	border-right: thin solid #333;
	border-bottom: thin solid #333;
}

.individual_data:nth-child(3n) {
	border-right: none;
}

.data_icon img {
	height: 90px;
	width: auto;
	opacity: 0.4;
}

.data_title {
	font-size: 1.5em;
	line-height: 1;
	font-weight: 500;
	margin: 20px 0 0;
	color: var(--color-gold);
}

.data_title span {
	font-size: 0.8em;
	line-height: 1;
	font-weight: bold !important;
	margin: 20px 0 0;
}

.data_figures {
	font-size: 3em;
	line-height: 1.2;
	font-weight: 900;
	margin: 25px 0 0;
}

.data_figures_01 {
	font-size: 1.2em;
	line-height: 2em;
	font-weight: 700;
	margin: 25px 0 0;
}

.data_figures_02 {
	font-size: 1em;
	line-height: 1.8em;
	font-weight: 500;
	margin: 0;
}

.data_figures span {
	font-size: 0.4em;
	font-weight: 500;
}

.v_hidden {
	font-size: 1em !important;
	visibility: hidden;
}





/* ギャラリー */

.gallery_wrap {
	width: 100%;
	margin: 0;
}

.gallery_wrap p {
	font-size: 0.95em;
	line-height: 2.5em;
	text-align: left;
	letter-spacing: 1px;
	margin: 80px auto 50px;
	width: 100%;
	max-width: 600px;
}

.gallery_wrap ul {
	display: flex;
	width: 100%;
	justify-content: flex-start;
	flex-wrap: wrap;
	margin: 80px 0 0;
	padding: 0;
}

.gallery_wrap li {
	width: 24%;
	margin-right: 1%;
	margin-bottom: 20px;
	list-style-type: none;
}

.gallery_wrap li:nth-child(4n) {
	margin-right: 0;
}

.gallery_wrap ul li.break {
    flex-basis: 24%;  /* 通常の幅に戻す */
    width: 24%;
    margin-right: 0 !important;  /* 右側の余白だけ消す */
    margin-bottom: 20px;
}

.other_link {
	margin-left: auto;
	margin-right: auto;
	margin-top: 50px;
}



/* 歴史を創る */

.mainH3-1 {
	color: #fff;
	font-size: 3em;
	line-height: 1;
	letter-spacing: 2px;
	font-weight: 500;
	text-align: center;
	margin: 80px 0 30px;
}

.mainH3_jp {
    color: var(--color-gold);
    font-size: 1em;
    line-height: 1.8em;
    font-weight: 400;
    letter-spacing: 0.3em;
    font-style: italic;
    margin: 20px 0 40px;
	text-align: center;
}

.mainH3_jp span {
	font-size: 1.2rem;
}

.lead_img {
	margin-top: 100px;
}

/* GAIN */

.gain_area ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 100%;
	margin: 80px 0 0;
	padding: 0;
	list-style-type: none;
}

.gain_area ul li {
	width: 45%;
	margin: 0 0 60px;
	padding: 1.5em 2em 2em;
	border: thin solid rgba(178, 136, 80, 0.5);
}

.gain_frame h4 {
	color: #fff;
	font-size: 1.7em;
	line-height: 1;
	text-align: center;
	font-weight: 400;
	margin: 0 0 40px;
	position: relative;
}

.stack-title {
	display: grid;           /* 同じグリッドに重ねる */
	place-items: center;
	position: relative;
}

.stack-title .en, .stack-title .ja {
	grid-area: 1 / 1;        /* 同じセルに配置 */
}

.stack-title .en {
	color: var(--color-gold);
	font-size: 2.2em;
	font-family: "EB Garamond", serif;
	font-optical-sizing: auto;
	font-weight: 600;
	opacity: 0.3;
}

.stack-title .ja {
	color: #FFF;
	font-weight: 400;
	letter-spacing: 1em;
	margin-top: 20px;
}

.gain_frame p {
	font-size: 0.95em;
	line-height: 2em;
	text-align: left;
	margin: 0;
}


/* 説明会 */
.event_note p {
	color: #fff;
	font-size: 1em;
	line-height: 2em;
	text-align: center;
	margin: 20px 0;
}

/* ===================================
   EVENT PAGE STYLES (説明会ページ)
   =================================== */
.h4_event {
    color: #fff;
    font-size: 1.2rem;
    line-height: 1.6;
    text-align: center !important;
    font-weight: 500;
    letter-spacing: 5px;
    margin-top: 80px;
}

.h4_event span {
    font-size: 0.9rem;
	font-weight: normal;
	font-style: normal;
}

/* 日程テーブルのカスタムスタイル */
.event_schedule {
	margin: 30px 0;
}

.schedule_table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 20px;
}

.schedule_table th,
.schedule_table td {
	padding: 15px;
	border: 1px solid #444;
	text-align: left;
	vertical-align: middle;
}

.schedule_table th {
	background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
	color: #fff;
	font-weight: bold;
	width: 30%;
}

.schedule_table td {
	background: rgba(0, 0, 0, 0.3);
	line-height: 1.8;
}

.schedule_date {
	display: block;
	margin-bottom: 5px;
	font-size: 16px;
}

.schedule_type {
	display: inline-block;
	padding: 3px 12px;
	margin-left: 10px;
	font-size: 13px;
	border-radius: 3px;
	font-weight: bold;
}

.schedule_type--web {
	background: #666;
	color: #fff;
}

.schedule_type--offline {
	background: #d4af37;
	color: #000;
}

.txt_highlight {
	color: #fff;
	font-weight: bold;
}

.map_link {
	color: #2196F3;
	text-decoration: underline;
	cursor: pointer;
}

.map_link:hover {
	color: #64B5F6;
}

.contact_tel {
	font-size: 24px;
	color: var(--color-gold);
	font-weight: bold;
	margin-top: 10px;
}

.map_container {
	width: 100%;
	overflow: hidden;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.event_ul {
	margin: 0;
	padding: 0;
}

.event_ul li {
	font-size: 0.9em;
    line-height: 1.8em;
	color: #fff;
	margin: 0 0 5px;
	padding: 0;
}

/* top用 */
.for_top {
	margin-top: 0;
	margin-bottom: 100px;
}

.other_link ul {
	display: flex;
	width: 100%;
	max-width: 840px;
	justify-content: center;
	align-items: center;
	margin: 0 auto;
	padding: 0 1%;
}

.other_link li {
	width: 32%;
	margin-right: 1%;
	margin-bottom: 30px;
	list-style-type: none;
	margin-left: 1%;
	display: flex;
	justify-content: center;
}


/* スマホ用固定リンク */

.link_sp {
	display: none;
}

.hidden_pc {
	display: none;
}

.hidden_sp {
	display: block;
}

.block_1024pc {
	display: block;
}

.block_1024 {
	display: none;
}

@media screen and (max-width: 1700px) {
	.slide-header h2 {
		font-size: 4em;
	}
	
	#slide_main {
		margin: -100px 0 0;
	}
}

@media screen and (max-width: 1450px) {
	#slide1 h1 {
		font-size: 5.5em;
		line-height: 1.3em;
		bottom: calc(350 / 1080* 100%);
		left: calc(515 / 1920* 100%);
	}
	
#slide3 h2 {
    font-size: 6rem;
    margin: 0 0 0 50px;
}
}


@media screen and (max-width: 1280px) {
	.flex_2col .description {
		width: calc(450 / 1400* 100%);
		margin: 0;
	}
	
	.about_link {
		width: calc(100% - calc(450 / 1400* 100%));
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		gap: 20px;
		margin-top: -130px;
	}
	
	.slide-header .title {
		position: absolute;
		left: 50px;
		top: 40%;
		transform: translate(0, -60%);
		z-index: 2;
		color: #fff;
	}
	
	.message_wrap {
		width: 85%;
		margin: 0 auto;
		padding: 0;
	}
	
	.gain_area ul li {
		width: 48%;
	}
}


@media screen and (max-width: 1024px) {
	.container {
		width: 88%;
	}
	
	.container1200 {
		width: 88%;
	}
	
	.container1400 {
		width: 88%;
	}
	
	#slide1 h1 {
		font-size: 5em;
		line-height: 1.3em;
		bottom: calc(250 / 1080* 100%);
		left: calc(350 / 1920* 100%);
		z-index: 5;
	}
	
	#slide2 p {
		font-size: 1.4em;
	}
	
	.flex_2col {
		margin: 70px 0 0;
	}
	
	.flex_2col .description {
		width: 100%;
		margin: 0;
	}
	
	.flex_2col .description p {
		line-height: 2.5em;
	}
	
	.about_link {
		width: 90%;
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		gap: 10px;
		margin-top: -30px;
		margin-left: 10%;
	}
	
	#slide3 h2 {
		
	}
	
	.mg_photo1 {
		margin-top: 50px;
	}
	
	.mg_photo3 {
		margin-top: -30px;
	}
	
	.mg_photo4 {
		margin-top: -80px;
	}
	
	.block_1024pc {
		display: none;
	}
	
	.block_1024 {
		display: block;
	}
	
	/* 下層ページ */
	
	.menu figure {
		margin: 15px 0 0 15px;
	}
	
	.slide-header .title {
		position: absolute;
		left: 30px;
		top: 50%;
		transform: translate(0, -60%);
		z-index: 2;
		color: #fff;
	}
	
	#slide_main {
		margin: -50px 0 0;
	}
	
	
	/* DATA */
	
	.data_list {
		justify-content: flex-start !important;
	}
	
	.individual_data {
		width: 50%;
		margin: 0;
	}
	
	.individual_data:nth-child(3n) {
		border-right: none;
		border-right: thin solid #000;
	}
	
	table.prof th {
		width: 150px;
		padding-top: 15px;
		padding-bottom: 15px;
		padding-left: 10px;
	}
}


@media screen and (max-width: 820px) {
	#slide1 h1 {
		font-size: 3.7em;
		line-height: 1.3em;
		bottom: calc(300 / 1080* 100%);
		left: calc(350 / 1920* 100%);
	}
	
	#slide2 p {
		font-size: 1.3em;
		line-height: 2.5em;
		text-align: left;
		margin: 0;
		font-weight: 300;
	}
	
	.about_link {
		width: 100%;
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		gap: 10px;
		margin-top: -30px;
		margin-left: 0;
	}
	
	.about_list figcaption {
		bottom: 50px;
	}
	
	.stack-title .en {
		font-size: 1.7em;
	}
	
	.stack-title .ja {
		margin-top: 10px;
	}
	
	.slide-header .title {
		position: absolute;
		left: 30px;
		top: 55%;
	}
	
	.slide-header h2 {
		font-size: 3em;
	}
	
	#slide_main {
		margin: -20px 0 0;
	}
	
	.lead_txt h3 {
		font-size: 2em;
		margin: 0 0 -50px;
	}
	
	.flow_time {
		width: 20%;
	}
	
	flow_text {
		width: 80%;
	}
	
	/* インタビュー */
	ul.grid_main {
    flex-wrap: wrap;
	justify-content: space-between;
}

	.grid_main li, .grid_main2 li {
		width: 47%;
	}
.grid_main li:nth-child(3n) {
	margin-right: 0;
}


.interview_area .sub_title {
    font-size: 1.8em;
    padding: 15px 20px;
}
.profile_p {
    font-size: 3em;
    margin-top: 20px;
    padding-left: 1em;
}
}


@media screen and (max-width: 768px) {
#slide3 h2 {
    font-size: 5rem;
    margin: 0 0 0 50px;
}

.flex_2col .description p {
    font-size: 1em;
}
	.about_link {
		margin-top: -20px;
	}
	
	.mg_photo1 {
		margin-top: 50px;
	}
	
	.mg_photo3 {
		margin-top: -30px;
	}
	
	.mg_photo4 {
		margin-top: -80px;
	}
	
	.flowing-ttl__item {
   font-size: 7rem;
    margin: -15px 0 0;
}
	
	/* 下層ページ */
	
	.slide-header h2 {
		font-size: 3em;
	}
}


@media screen and (max-width: 767px) {
	.recruit ul {
		display: flex;
		width: 100%;
		max-width: initial;
		max-width: auto;
		flex-direction: column;
		margin: 0 auto 30px;
		padding: 0;
		list-style-type: none;
	}
	
	.recruit li {
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
	
	.recruit .li01 {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	
	.recruit .li02 {
		margin-top: 50px;
	}
}


@media screen and (max-width: 640px) {
	.menu figure {
		margin: 5px 0 0 10px;
	}
	
	.menu h1 img {
		width: 120px;
	}
	
	.menu h1 span {
		position: relative; /* 相対位置を指定 */
		top: -5px;
	}
	
	.menu .description {
		display: none;
	}
	
	
	/* Slide 1 */
	#slide1 {
	background-image: url('../images/slide1/topkabebig_sp.png') !important;
    background-repeat: no-repeat !important;
    background-position: center top !important;
    background-size: cover !important; /* 収まる範囲にだけ縮小。拡大はしない */
	}
	
	#slide1 h1 {
		font-size: 2.5em;
		line-height: 1.2em;
		font-weight: 900;
		position: absolute;
		bottom: calc(350 / 1080* 100%);
		left: 0;
		margin: 0;
		padding: 0;
		transform: rotate(-10deg);
		z-index: 5;
	}
	
	
	/* slide2 */
	
	#slide2 {
		padding-bottom: 70px;
	}
	
	#slide2 p {
		font-size: 1em;
		line-height: 2.2em;
		text-align: left;
		margin: 0;
	}
	
	
	/* slide3 */
	#slide3 h2 {
        font-size: 4rem;
        margin: 0 0 0 20px;
    }
	
	.flex_2col {
		margin: 40px 0 0;
	}
	
	.flex_2col .description h3 {
		font-size: 1.5em;
		line-height: 1.6em;
		margin: 0 0 30px;
	}
	
	.flex_2col .description p {
		font-size: 0.95em;
		line-height: 2em;
		margin: 0;
	}
	
	.about_link {
		margin-top: 0;
	}
	
	.about_list {
		width: 48%;
		margin-bottom: 20px;
	}
	
	.about-sp {
		display: none;
	}
	
	.mg_photo1 {
		margin-top: 30px;
	}
	
	.mg_photo2 {
		margin-top: -30px;
	}
	
	.mg_photo3 {
		margin-top: -60px;
	}
	
	.mg_photo4 {
		margin-top: -30px;
	}
	
	.about_list figcaption {
		font-size: 1.1em;
		bottom: 30px;
	}
	
	.flowing-ttl__item {
        font-size: 5rem;
        margin: -10px 0 0;
    }
	
	/* footer */
	
	footer {
		margin: 70px 0 0;
		padding: 40px 20px 70px;
	}
	
	.fotter_area {
		display: flex;
		justify-content: space-between;
		flex-direction: column-reverse;
		align-items: flex-end;
		flex-wrap: wrap;
		width: 100%;
		margin: 0;
		padding: 0;
	}
	
	.footer_logo {
		display: flex;
		justify-content: center;
		align-items: center;
		text-align: left;
		width: 100%;
		margin: 0;
	}
	
	.footer_logo figure {
		width: 120px;
		text-align: left;
		margin: 0 20px 0 0;
	}
	
	.fotter_link {
		display: flex;
		flex-direction: column;
		width: 100%;
		margin: 0;
	}
	
	.fotter_link .sns {
		display: none;
	}
	
	.fotter_link .footer_ul {
		display: flex;
		justify-content: center;
		align-items: center;
	}
	
	.fotter_link .footer_ul li {
		margin: 0 20px 20px;
	}



	
	/* 下層ページ */
	
	.kv01 {
		margin: 0;
		height: 220px;
		object-position: 20% 100%
	}
	
	.slide-header .title {
		position: absolute;
		left: calc(100 / 1920* 100%);
		top: 50%;
		transform: translate(0, -60%);
	}
	
	.slide-header h2 {
		font-size: 2em;
	}
	
	.slide-header .h2_jp {
		font-size: 0.85em;
	}
	
	
	/* 会社概要table */
	
	.sub-title h2 {
		font-size: 1.8em;
		margin: 0 !important;
		padding: 0 !important;
	}
	
	.lead_txt h3 {
		font-size: 1.8em !important;
	}
	
	.lead_txt p {
		text-align: center;
		font-size: 1.1em;
		line-height: 2em;
		margin-bottom: 100px;
		font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN","HG明朝E","ＭＳ Ｐ明朝","ＭＳ 明朝",serif;
	}
	
	h3.mainH3 {
		font-size: 1.5em;
	}
	
	.mainH3-1 {
		font-size: 2.5em;
	}
	
	.guide_frame p {
		font-size: 0.9em;
		line-height: 1.8em;
		text-align: left;
		margin: 0;
		padding-bottom: 30px;
		padding-left: 20px;
		padding-right: 20px;
	}
	
	table.prof {
		border-collapse: collapse;
		border-right-style: none;
		border-left-style: none;
		width: 100%;
		margin-right: 0;
		margin-top: 20px;
		margin-left: 0;
	}
	
	table.prof th {
		color: #fff;
		text-align: left;
		width: 100%;
		padding-top: 5px;
		padding-bottom: 5px;
		padding-left: 10px;
		display: block;
		border-style: none;
		background-color: #333;
	}
	
	table.prof td {
		vertical-align: top;
		display: block;
		border-style: none;
		padding: 15px 0 30px;
		width: 100%;
	}
	
	.sp_mgBottom {
		padding-bottom: 100px;
	}
	
	/* インタビュー */
	.grid_main li, .grid_main2 li {
		width: 100%;
	}
	
	.interview_area {
		display: flex;
		flex-direction: column-reverse;
		align-items: center;
		width: 100%;
		margin-top: 0;
	}
	
	.interview_area figure {
		width: 100%;
		margin: 0;
		padding: 0;
	}
	
	.interview_area .description {
		width: 100%;
		text-align: left;
		margin: 0;
		padding: 0 0 10px;
	}
	
	.interview_area .sub_title {
    font-size: 1.6em;
    padding: 15px 20px;
		margin: 0;
	}
.profile_p {
    font-size: 3em;
    margin-top: 20px;
    padding-left: 0.3em;
}
.messe {
    background-color: #262626;
    margin: 0 auto;
    padding: 3em 1em 1em;
}
.messe h5 {
  display: flex;
    flex-direction: column;
	align-items: flex-start;
}

.messe h5::before {
   margin-right: 0;
	margin-bottom: 20px;
}
	
	.photo_messe {
		display: flex;
		flex-direction: column;
		padding-top: 0px;
		padding-bottom: 70px;
	}
	
	.photo_messe .description {
		width: 100%;
		margin: 0;
		padding: 0;
	}
	
	.photo_messe figure {
		width: 100%;
		margin: 0;
		padding: 0;
	}
	
	
	/* メッセージ */
	
	.message_wrap {
		width: 95%;
	}
	
	.message_wrap p {
		font-size: 1em;
		line-height: 2.2em;
		text-align: left;
		letter-spacing: 1px;
		margin: 0 0 50px;
	}
	
	.p_name2 {
  font-size: 2.2em !important;
	line-height: 1 !important;
	font-weight: 400;
	font-family: 'Noto Serif JP', serif;
	float: right;
	margin: 0 !important;
}

.p_name2 span {
  font-size: 0.4em;
  margin-right: 20px;
}

	
	/* 1日の流れ */
	
	.flow_time {
		font-size: 1.2em;
		width: 23%;
		padding: 2px 15px 30px 0px;
		text-align: right;
	}
	
	.flow_text {
		width: 77%;
		padding: 2px 0 30px 15px;
	}
	
	
	
	/* 数字で見る */
	
	.individual_data {
		width: 100%;
		margin: 0;
	}
	
	.data_list {
		margin-top: 30px;
	}
	
	.data_area h4 {
		font-size: 0.9em;
		line-height: 1.6em;
		background-color: #677087;
		padding: 5px;
		color: #fff;
		font-style: normal;
		letter-spacing: 1px;
		margin-bottom: 20px;
	}
	
	
	
	/* ギャラリー */
	
	.gallery_wrap li {
		width: 49%;
		margin-right: 2%;
		margin-bottom: 10px;
		list-style-type: none;
	}
	
	.gallery_wrap li:nth-child(3n) {
		margin-right: 0;
	}
	
	.gallery_wrap li:nth-child(even) {
		margin-right: 0;
	}
	
	.gallery_wrap li:nth-child(odd) {
		margin-right: 2%;
	}
	
	.other_link ul {
		display: flex;
		width: 100%;
		max-width: 840px;
		justify-content: center;
		align-items: center;
		margin: 0 auto 120px;
		padding: 0 15px;
	}
	
	
	
	/* リクルート */
	
	.flow_area {
		margin: 0 0 30px;
		padding-left: 10px;
		padding-right: 10px;
	}
	
	.flow09 {
		margin: 2em 1em;
	}
	
	.flow09 > li .icon09 {
		width: 30px;
	}
	
	.flow09 > li dl {
		width: calc(100% - 30px);
		margin-top: 0.8em;
		padding-left: 10px;
	}
	
	div.recruit {
		width: 100%;
		text-align: center;
		padding: 0px 10px;
		margin: 0;
	}
	
	.recruit p {
		text-align: left;
	}
	
	/* 歴史を創る */
	
	.lead_img {
		margin-top: 50px;
	}
	
	/* GAIN */
	.gain_area ul li {
		width: 100%;
	}
	
	/* イベント */
	.event_note p {
   text-align: left;
}


	/* スマホ用固定リンク */
	.link_sp {
    display: block;
    position: sticky;  /* absoluteからstickyに変更 */
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: #202020;
}
	
	.link_sp ul {
		width: 80%;
		display: flex;
		margin: 0 auto;
		padding: 0;
		list-style-type: none;
		justify-content: space-between;
	}
	
	.link_sp li {
		margin: 0 auto;
		padding: 0;
		list-style-type: none;
		display: flex;
		justify-content: center;
		align-items: center;
	}
	
	.link_sp li:last-child {
		border-right-style: none;
	}
	
	li.link_sp_li01 img {
	width: 50px;
	}
	
	.link_sp a:link, .link_sp a:visited {
		color: #B28850;
		display: block;
		text-decoration: none;
		font-size: 1em;
		letter-spacing: 1px;
		font-weight: bold;
	}
	
	.link_sp_li02 a:link {
		padding: 10px;
	}
}

	.thanks p {
	text-align: left;
}
	
	.hidden_pc {
		display: block;
	}
	
	.hidden_sp {
		display: none;
	}
}

/* ハンバーガーメニュー：SPでも英語＋日本語の二段表示 */
@media (max-width: 767px) {
	/* メニューエリア全体に上部のpaddingを追加（減らしました） */
	.fat-nav .fat-nav__wrapper .full-menu .menu-area,
	.fat-nav .menu-area {
		padding-top: 30px !important;
	}
	
	/* メニューのul要素（減らしました） */
	.fat-nav .fat-nav__wrapper .full-menu .menu-area ul,
	.fat-nav .menu-area ul {
		padding-top: 10px !important;
	}
	
	/* 英語を表示する（より詳細度の高いセレクタ） */
	.fat-nav .fat-nav__wrapper .full-menu .menu-area ul li .en,
	.fat-nav .menu-area ul li .en,
	.fat-nav .menu-area li .en {
		display: block !important;
		opacity: 1 !important;
		visibility: visible !important;
		height: auto !important;
		overflow: visible !important;
		max-height: none !important;
		position: relative !important;
	}
	
	/* 最初のli（HOME）に特別に強力な設定 */
	.fat-nav .fat-nav__wrapper .full-menu .menu-area ul li:first-child .en,
	.fat-nav .menu-area ul li:first-child .en,
	.fat-nav .menu-area li:first-child .en {
		display: block !important;
		opacity: 1 !important;
		visibility: visible !important;
		height: auto !important;
		overflow: visible !important;
		max-height: none !important;
		position: relative !important;
		transform: none !important;
		clip: auto !important;
		clip-path: none !important;
	}
	
	/* 英語のスタイル（PCと同じゴールドカラー） */
	.fat-nav .fat-nav__wrapper .full-menu .menu-area ul li .en,
	.fat-nav .menu-area ul li .en,
	.fat-nav .menu-area li .en {
		color: #d4af37 !important;
		font-size: 1.2em !important;
		font-weight: 500 !important;
		margin-bottom: 5px !important;
		letter-spacing: 2px !important;
		white-space: nowrap !important;
	}
	
	/* 日本語のスタイル */
	.fat-nav .fat-nav__wrapper .full-menu .menu-area ul li .ja,
	.fat-nav .menu-area ul li .ja,
	.fat-nav .menu-area li .ja {
		color: #bbb !important;
		font-size: 0.9em !important;
		font-weight: 400 !important;
	}
	
	/* リストアイテムの調整 */
	.fat-nav .fat-nav__wrapper .full-menu .menu-area ul li,
	.fat-nav .menu-area ul li,
	.fat-nav .menu-area li {
		text-align: center !important;
		padding: 15px 0 !important;
	}
}


@media screen and (max-width: 768px) {
	.schedule_table th {
		writing-mode: horizontal-tb !important;
		text-orientation: mixed !important;
	}
	
	.schedule_table th,
	.schedule_table td {
		padding: 10px;
		font-size: 14px;
	}
	
	.schedule_date {
		font-size: 14px;
	}
	
	.contact_tel {
		font-size: 20px;
	}
	
	.map_container iframe {
		height: 300px;
	}
}
