@charset "utf-8";



/*Font Awesomeの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css");


/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');


/*テンプレート専用cssファイルの読み込み
---------------------------------------------------------------------------*/
@import url("inview.css");
@import url("mainimg.css");


/*CSSカスタムプロパティ（サイト全体を一括管理する為の設定）
---------------------------------------------------------------------------*/
:root {
	--primary-color: #827C75;		/*テンプレートのメインまたはアクセントカラー*/
	--primary-inverse-color: #fff;	/*上のprimary-colorの対となる色*/
	
	--space-large: 8vw;			/*主に余白の一括管理用。画面幅100%＝100vwです。*/
	--space-small: 2vw;			/*主に余白の一括管理用。画面幅100%＝100vwです。*/
}



/*animation11のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes animation1 {
	0% {left: -200px;}
	100% {left: 0px;}
}
/* 上からスライドインするアニメーション */

@keyframes slideFromTop {
	from {
		transform: translateY(-100%);
		opacity: 0;
	}
	to {
		transform: translateY(0);
		opacity: 1;
	}
}

/* 上へスライド「アウト」 */
@keyframes slideToTop {
	from {
		transform: translateY(0);
		opacity: 1;
	}
	to {
		transform: translateY(-100%);
		opacity: 0;
	}
}
/* 右からスライド「イン」 */
@keyframes slideFromRight {
	from {
		transform: translateX(100%);
		opacity: 0;
	}
	to {
		transform: translateX(0);
		opacity: 1;
	}
}
/* 右へスライド「アウト」 */
@keyframes slideToRight {
	from {
		transform: translateX(0);
		opacity: 1;
	}
	to {
		transform: translateX(100%);
		opacity: 0;
	}
}
/*opa1のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes opa1 {
	0% {opacity: 0;}
	100% {opacity: 1;}
}
/* menubar の初期状態 */
#menubar {
	animation: none;
	transform: translateX(100%);
	transition: transform 0.3s ease-out;
}

/* 開いた状態 */
#menubar.open {
	animation: slideFromRight 0.3s ease-out both;
	transform: translateX(0%);
	display: block;
}

/* 閉じた状態 */
#menubar.close {
	animation: slideToRight 0.3s ease-in both;
	transform: translateX(100%);
}

/*全体の設定
---------------------------------------------------------------------------*/
body * {box-sizing: border-box;}
html,body {
	font-size: 13px;	/*基準となるフォントサイズ。*/
	overflow-x: hidden; /* 横スクロールを防ぐ */
}

	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:900px) {

	html, body {
		font-size: 15px;	/*基準となるフォントサイズ。*/
	}

	}/*追加指定ここまで*/


body {
	margin: 0;padding:0;
	font-family: "Noto Serif JP", "Hiragino Mincho Pro", "ヒラギノ明朝 Pro W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;	/*フォント種類*/
	-webkit-text-size-adjust: none;
	background: #fafafa;	/*背景色*/
	color: #333333;		/*文字色*/
	line-height: 2;		/*行間*/
	overflow-x: hidden;
}

/*リセット*/
figure {margin: 0;}
dd {margin: 0;}
nav,ul,li,ol {margin: 0;padding: 0;}
nav ul {list-style: none;}

/*table全般の設定*/
table {border-collapse:collapse;}

/*画像全般の設定*/
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}

/*videoタグ*/
video {max-width: 100%;}

/*iframeタグ*/
iframe {width: 100%;}

/*他*/
input {font-size: 1rem;}

/*section*/
section {
	padding: var(--content-space);	/*section内の余白。css冒頭のcontent-spaceを読み込みます。*/
}


/*リンクテキスト全般の設定
---------------------------------------------------------------------------*/
a {
	color: inherit;
	transition: 0.3s;	/*hoverまでにかける時間。0.3秒。*/
}

/*マウスオン時*/
a:hover {
	filter: brightness(1.1);	/*少しだけ明るくする*/
}


/*コンテナー（サイト全体を囲むブロック）
---------------------------------------------------------------------------*/
#container {
	position: relative;
	animation: opa1 0.1s 0.9s both;	/*1秒待機し、1秒かけてフェードイン*/
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	margin: 0 auto;
}


/*header（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	position: fixed;              /* ← ヘッダーを固定表示にする */
	top: 0;                      /* ← 画面上部に固定 */
	width: 100%;                  /* ← 横幅いっぱいに表示 */
	z-index: 100;                /* ← 他の要素より前面に表示 */
	flex-shrink: 0;
	display: flex;					/*flexボックスを使う指定*/
	align-items: center;			/*垂直揃えの指定。天地中央に配置されるように。*/
	justify-content: space-between;
	height: 80px;					/*ヘッダーの高さ*/
	color: #070000;  /* ← ここで文字色を指定（例：白） */
	
}


/* スクロール後に変化させたい内容 */
header.scrolled {
  height: 80px;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  color: #333;
}

/*ロゴ画像*/
#logo img {display: block;}
#logo {
	margin: 0;padding: 0;
	width: 18vw;	/*ロゴの幅*/
	position: relative;
	z-index: 0;
	
	left: 3vw;	/*左からの配置場所*/
	top: 0.1vw;		/*上からの配置場所*/}

	/*画面幅500px以下の追加指定*/
	@media screen and (max-width:924px) {
	
	#logo {
		top: 0;			/*上からの配置場所*/
		width: 235px;	/*ロゴの幅*/
		position: relative;z-index: 1000;
	}

	}/*追加設定ここまで*/

header nav a {
  position: relative;
  text-decoration: none;
  color: inherit;
}

header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 0;
  height: 0.6px;
  background-color: currentColor; /* 色 */
  transition: width 0.3s;
}

header nav a:hover::after {
  width: 100%;
}
/*ヘッダー内メニュー
---------------------------------------------------------------------------*/
/*900px未満では非表示*/
header nav ul {display: none;}

	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:900px) {
		
	/*メニューブロック全体の設定*/
	header > nav > ul {
		margin-right: 8vw;	/*ハンバーガーアイコンに重ならないように余白*/
		display: flex;		/*横並びにする*/
	}

	/*メニュー１個あたりの設定*/
	header nav li a {
		display: block;text-decoration: none;
		font-size: 0.95rem;		/*文字サイズ90%*/
		padding: 0.5rem 1rem;	/*メニュー内の余白。上下、左右へ。*/
	}
	
	/*ドロップダウンメニュー冒頭の矢印アイコン*/
	header nav i {
		padding-right: 1rem;	/*右に空ける余白*/
	}
/* ドロップダウンメニューを hover で表示 */
header nav li:hover > ul {
  display: block;
  position: absolute;
  background: #fbfbfb;   /* 背景色（必要に応じて） */
  padding: 0.8rem 0rem; 
  box-shadow: 0 0px 16px rgba(0,0,0,0.1); /* ドロップ感を出す */
  z-index: 101;
}

/* 子メニューの親に position: relative をつける */
header nav li {
  position: relative;
}
	}/*追加設定ここまで*/

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}



/*開閉メニュー
---------------------------------------------------------------------------*/
/*メニューブロック共通*/
#menubar {
	display: flex;
	flex-direction: column;
	justify-content: center; /* 上下中央に配置 */
	align-items: center;     /* 左右中央に配置 */
	animation: slideFromRight 0.3s ease-out both;
	position: fixed;
	overflow: auto;
	z-index: 1000;
	right: 0;
	top: 0;
	width: 20%;              /* 右から出すために幅を指定 */
	height: 100%;            /* 高さは画面全体に */
	padding: 150px 0 50px;   /* 上の余白を増やす */
	background: #f0f0f1;
	color: #333333; 
	transform: translateX(100%);   /* 初期状態で右に隠す */
	transition: transform 0.3s ease-out;
	text-align: center;      /* テキストも中央寄せにする場合 */
}
/* スマホサイズ用調整 */
@media (max-width: 768px) {
  #menubar {
    width: 55%; /* スマホでは幅を広げる */
  }

  /* 下線の位置調整（前のリクエスト） */
  #menubar a::after {
    left: 50%;
  }
}

#menubar.open {
	transform: translateX(0);   /* 右から表示 */
}

/* メニュー１個あたり */
#menubar a {
	display: inline-block;         /* 拡大アニメーションに必要 */
	text-decoration: none;
	color: inherit;
	margin-bottom: 0.5rem;
	padding: 0.6rem 1.2rem;
	font-size: 1.2rem;
	position: relative;
	transition: transform 0.3s ease, color 0.3s ease;
}

/* 下線（常に表示） */
#menubar a::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 150px;
	height: 1px;
	background-color: #4c4444; /* 下線の色 */
	transition: transform 0.3s ease, height 0.3s ease;
}


/* ホバー時に拡大 + 下線強調 */
#menubar a:hover {
	transform: scale(1.1);         /* テキストを拡大 */
	color: #4c4444;                /* 任意：ホバー時の文字色 */
}

#menubar a:hover::after {
	transform: translateX(-50%) scaleY(1.2); /* 下線を太くする */
	height: 0.8px;
}

/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
#menubar_hdr {
	display: flex;
	animation: opa1 0s 0.2s both;
	position: fixed;
	z-index: 101;
	cursor: pointer;
	right: 0px;	/*右からの配置場所*/
	top: 3px;	/*上からの配置場所*/
	width: 70px;	/*ボタンの幅*/
	height: 60px;	/*ボタンの高さ*/
	transform-origin: right top;
	transform: scale(1.2);	/*大きさを調整したい場合はここの「1」を変更します。1.2や0.7など。*/
}

/*バツ印が出ている時のボタン色*/

#menubar_hdr.ham span {
	background: #000000;  /* ← 好きな色に変更（例：赤系） */
}
/*ハンバーガーアイコンの線*/
#menubar_hdr span {
	display: block;
	position: absolute;
	left: 1px;
	width: 40px;
	height: 1px;		/*線の高さ*/
	background: #fafcff;	/*線の色*/
	transition: 0.3s;
}

#menubar_hdr span:nth-of-type(1) {
	top: 20px;
}
#menubar_hdr span:nth-of-type(2) {
	top: 30px;
}
#menubar_hdr span:nth-of-type(3) {
	top: 40px;
}

/* ハンバーガーメニュー展開時 */
#menubar_hdr.ham span:nth-of-type(1) {
	transform: translateY(10px) rotate(-45deg);
}
#menubar_hdr.ham span:nth-of-type(2) {
	opacity: 0;
}
#menubar_hdr.ham span:nth-of-type(3) {
	transform: translateY(-10px) rotate(45deg);
}
/* 通常の線（初期） */
#menubar_hdr span {
	background: #000000; /* ← 暗めの線 */
}


/*コンテンツ
---------------------------------------------------------------------------*/
/*コンテンツブロック*/
#contents {
	flex: 1;
}

/*トップページ以外のコンテンツ*/
body:not(.home) #contents {
	padding-top: 10rem;		/*上に10文字分の余白を空ける*/
	padding-bottom: 10rem;	/*下に10文字分の余白を空ける*/
}

/*コンテンツ内で使用するul,ol要素（リストタグ）*/
#contents ul,#contents ol {
	margin-left: 2rem;
	margin-right: 2rem;
}


/*p要素（段落タグ）
---------------------------------------------------------------------------*/
p {
	margin-left: 1rem;	/*左に１文字分のスペース*/
	margin-right: 1rem;	/*右に１文字分のスペース*/
}


/*main（メインコンテンツ）
---------------------------------------------------------------------------*/
/*h2見出し*/
main h2 {
	margin: 0;padding: 0;
	font-size: 2rem;		/*文字サイズ。240%。*/
	font-weight: normal;	/*h要素のデフォルトの太字を標準に*/
	margin-bottom: 2vw;		/*下にスペースを空ける*/
	display: flex;
	flex-direction: column-reverse;
	align-items: flex-start;
	scroll-margin-top: 160px;
}





main h3 {
	font-weight: 450;
	font-size: 2rem;	/*文字サイズ140%*/
	
}

/*見出し内のspan（小さな装飾文字と上部のアクセントライン）*/
main h2 span.small {
	display: inline-block;
	border-top: 0.9px solid #7c8294; /* 線の色 */
	font-size: 0.9rem;		/*文字サイズ90%*/
	opacity: 0.6;			/*透明度。色が60%出た状態。*/
	letter-spacing: 0.1rem;	/*文字間隔を少しだけ広く*/
	padding-top: 1rem; /* 通常より近くする例 */
	width: 155px;         /* ← 線の長さ */
	text-align: center;   /* テキストを中央寄せ */
}

/*見出しをセンタリングする場合*/
main h2.c {
	align-items: center;
	margin-bottom: -0.5rem; /* ここも小さくしてみる */
}






/*box1（1つ目のセクションボックス）
---------------------------------------------------------------------------*/
/*ボックス全体*/
.box1 {
    overflow-x: visible;
    position: relative;
    padding: var(--space-large);
    margin-top: 0vw;
    margin-bottom: 6rem;
}

.box1 .main-text {
  margin-top: 0.8em; /* 必要に応じて追加 */
}
.box1 .small0 {
display: block;
font-size: 0.9rem;
line-height: 1.2; /* 0 だとテキストが表示されにくくなるので注意 */
margin-top: 0em;
margin-bottom: 2em; /* ← ここで下の余白を増やす */
position: relative;
}

/* テキストの下に線を表示 */
.box1 .small0::after {
content: "";
display: block;
width: 70px;            /* 線の長さを調整 */
height: 0.7px;
background: #89b0ae;    /* 線の色 */
margin-top: 0.2em;
}

	/*画面幅600px以上の追加指定*/
	@media screen and (min-width:600px) {

	.box1 {
	display: flex;	/*横並びにする*/
	flex-direction: row-reverse; /* ← 並び順を反転（テキストを右、画像を左） */
	gap: 13vw;		/*左右の間のスペース*/
	border-radius: 0vw 0 0vw 0;	/*角を丸くする指示。左上、右上、右下、左下への順番。*/
	padding-left: 0; /* ← 左の余白を削除したい場合はここもチェック */
	}
	/* メインテキストの大枠 */
.box1 .main-text {
  display: block;

}
/* 「自信と誇りをもって...」部分のサイズ */
.box1 .large-message {
font-size: 28px;/* お好みに応じて調整（例：32px） */
line-height: 1.1;
font-weight: 400;/* 文字を細く（可能なら300なども試す） */
}

/* 「選ばれ、必要とされる...」部分をやや小さく */
.box1 .sub-title {
display: inline-block; /* ← 超重要 */
font-weight: 440;
font-size: 1.2rem;/*文字サイズ140%*/
padding-top: 1.5rem;
line-height: 1.6;/* ← PCでも軽く指定しておく */
}

/* アニメーションの遅延（各行ごと） */
.delay1::after {
animation-delay: 2s;
}
.delay2::after {
animation-delay: 3s;
}
.delay3::after {
animation-delay: 4s;
}
	
	.box1 > * {flex: 1;}
		
.box1 .text {
margin-bottom: 0;	/*下マージンのリセット*/
}
}/*追加指定ここまで*/


/*画像を囲むブロック*/
.box1 .image {
	position: relative;
	overflow: visible; /* はみ出し許可 */
}

/*画像の角を少し丸くする指定*/
.box1 .image img {
	border-radius: 1px;
}

/*画像ブロック内の１枚目の写真への追加指定*/
.box1 .image img:nth-of-type(1) {
	width: 80%;       /* ← 画像の幅を親要素いっぱいに */
	display: block;     /* ← 余計な隙間（インライン要素の空白）を防ぐため */
	margin-left: 0;     /* 念のためリセット */
}

/*画像ブロック内の２枚目の写真への追加指定*/
.box1 .image img:nth-of-type(2) {
	width: 65%;
	position: absolute;
	right: -85px;   /* ← さらに右へずらす */
	top: 20vw;
}

/* 初期状態：不透明度0、下にスライド、ぼかしあり */
.image.blur img {
opacity: 0;
transform: translateY(30px);
filter: blur(8px);
animation: blurUp 1s ease-out forwards;
}

/* 1枚目：すぐ始まる */
.image.blur img.delay1 {
animation-delay: 0.2s;
}

/* 2枚目：少し遅れて始まる */
.image.blur img.delay2 {
animation-delay: 0.5s;
}

/* アニメーションの定義 */
@keyframes blurUp {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* スマホ用メディアクエリ */
@media (max-width: 600px) {
  .box1 {
    display: flex;
    flex-direction: column; /* 上から画像→テキストの順に */
    align-items: left;
    position: relative;
  }

  .box1 .sub-title {
	position: relative;
    font-size: 1.1rem;    /* ← ここが効く */
    line-height: 1.25;     /* ← 行間を詰める */
    padding-top: 1rem;     /* ← 上の余白も少し縮める */
	line-height: 0.9;		/*行間を狭くする*/
  }
/* ★ サブタイトルをスマホでは非表示 */
.box1 .sub-title {
display: none;
}
.box1 .image {
position: relative;
 width: 75%;
max-width: 500px; /* 適宜調整 */
margin-top: 3rem;
margin-bottom: 8rem; /* テキストとの間隔 */
}

 

  .box1 .image img:nth-of-type(2) {
    position: absolute;
    top: 45%;   /* ← 下にずらす（画像が少し重なる） */
    right: -45%;  /* ← 横にもずらすとさらに動きが出る */
    width: 75%;
    z-index: 1;
  }

  .large-message {
    font-size: 1.8rem;
    margin-top: 2rem; /* 画像と被らないようにマージン */
    text-align: center;
  }

  .small {
    font-size: 0.8rem;
    text-align: center;
  }
}


/* ひし形背景 */
.box1 .diamond-bg {
position: absolute;
top: 40%;
left: 60%;
width: 150px;
height: 150px;
background: linear-gradient(135deg, rgb(183 215 217 / 70%), rgba(0,180,200,0.3));
opacity: 0;
transform: translate(-50%, -50%) rotate(45deg) scale(0.5);
z-index: -10;
border-radius: 2px;
}
/* アニメーションクラスは別に分けて定義 */
.box1 .diamond-bg.animate {
animation: diamondIn 4s ease-out forwards;
}

@keyframes diamondIn {
  0% {
    transform: translate(-50%, -50%) rotate(45deg) scale(2);  /* 元の大きさで開始 */
    opacity: 0;
  }
 40% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(45deg) scale(1.2); /* 少し大きく */
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(45deg) scale(4); /* 大きくなって消える */
  }
}



/*list1（コースのご案内コーナー）
---------------------------------------------------------------------------*/
/*冒頭の大きなロゴの飾り*/

.image1.up { 
  position: relative;
  z-index: 100; /* 前面に出す */ 
}


/*１枚目の写真*/
.list1.image1 {
	background: url("../images/list1.jpg") no-repeat center center / cover;
}

/*２枚目の写真*/
.list1.image2 {
	background: url("../images/list2.jpg") no-repeat center center / cover;
}

/*３枚目の写真*/
.list1.image3 {
	background: url("../images/list3.jpg") no-repeat center center / cover;
}

/*４枚目の写真*/
.list1.image4 {
	background: url("../images/list4.jpg") no-repeat center center / cover;
}

/*５枚目の写真*/
.list1.image5 {
	background: url("../images/list5.jpg") no-repeat center center / cover;
}

/*ボックス１個あたり*/
.list1 {
	padding: var(--space-large);	/*ボックス内の余白。冒頭のspace-largeを読み込みます。*/
	position: relative;
	overflow-x: hidden;
	margin-bottom: 0.1vw;	/*下に空けるスペース。ボックス同士の隙間です。*/

}

/*マウスオン用のアニメーション*/
.list1::before {
	content: "";position: absolute;top: 0;left: 0;width: 100%;height: 100%;
	background: rgba(0,0,0,0.6);		/*写真に重ねておく半透明の黒い色。0,0,0は黒のことで0.6は色が60%出た状態。*/
	transition: transform 0.4s 0.1s;	/*アニメーションの速度（0.5秒）と待機時間（0.1秒）。*/
}


/*テキストブロック*/
.list1 .text {
	position: relative;z-index: 1;
	width: 80%;		/*幅*/
	height: 100%;
	color: #fff;	/*文字色*/
	text-shadow: 2px 2px 3px rgba(0,0,0,0.3);	/*テキストの影。右へ、下へ、ぼかし幅、0,0,0は黒のことで0.3は色が30%出た状態。*/
}

	/*画面幅600px以上の追加指定*/
	@media screen and (min-width:600px) {

	/*テキストブロック*/
	.list1 .text {
		width: 100%;		/*幅*/
	}

	}/*追加指定ここまで*/


/*list1内のh3見出し*/
.list1 h3 {
	margin: 0;padding: 0;
	font-weight: normal;	/*h要素のデフォルトの太字を標準に*/
	position: relative;
	font-size: 2rem;		/*文字サイズを200%*/
	letter-spacing: 0.1rem;	/*文字間隔を少しだけ広く*/
	line-height: 1.2;		/*行間を狭くする*/
}

/*list1内のh3見出し内の１文字目の大きな文字*/
.list1 h3 .large {
	font-size: 5rem;	/*文字サイズを7倍*/
	font-weight: 600;       /* ← 文字を細くする（100〜400程度で調整可） */
}
@media screen and (max-width: 599px) {
  .list1 h3 .large {
    font-size: 3rem;  /* スマホでは少し小さくして1行に収める */
  }
}

/*list-grid1（業務実績３カラムボックス）
---------------------------------------------------------------------------*/
.list-grid1 .list * {margin: 0;padding: 0;				 
}

/*ボックス１個あたり*/
.list-grid1 .list {
    display: grid;
	margin-bottom: 1.5em;	/*ボックスの下に空けるスペース*/
	
	
}

/*ボックス内のp要素*/
.list-grid1 .list p {
	font-size: 0.9rem;	/*文字サイズを85%に*/
	line-height: 1.5;	/*行間を狭くする*/
}

/*ボックス１個あたり*/
.list-grid1 .list {
	padding: 1rem;			/*ボックス内の余白。１文字分。*/
	background: #fff;		/*背景色*/
	color: #111;			/*文字色*/
    grid-template-rows: auto 1fr auto;	/*１つ目（この場合はfigure要素のサイズ）と「詳しくみる」ボタンの高さは自動に、２つ目（この場合はtextブロック））を残った幅で使う*/
	box-shadow: 5px 5px 20px rgba(0,0,0,0.1);	/*ボックスの影。右へ、下へ、ぼかし幅、0,0,0は黒の事で0.1は色が10%出た状態。*/
	
}

/*ボックス内のfigure画像*/
.list-grid1 .list figure {
	margin: -1rem;			/*画像を枠いっぱいに表示させる為に上の「.list-grid1 .list」のpadding分をネガティブマーインで指定*/
	margin-bottom: 0.5rem;	/*画像の下に空けるスペース*/
}

	/*画面幅800px以上の追加指定*/
	@media screen and (min-width:800px) {

	/*listブロック全体を囲むブロック*/
	.list-grid1 {
		display: grid;
		grid-template-columns: repeat(3, 1fr);	/*3列にする指定。4列にしたければrepeat(4, 1fr)とする。*/
		gap: 3vw;	/*ブロックの間に空けるマージン的な指定*/
	}


	/*ボックス１個あたり*/
	.list-grid1 .list {
		margin-bottom: 0;	/*下に空けるスペースをなくす*/
	}

	}/*追加指定ここまで*/

.section-padding {
  padding: 45px 30px;       /* 上下100px、左右2pxの内側余白 */
  width: 100%;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
}
.bg1.section-padding {
  background: radial-gradient(circle at top, #363843, #343744, #313344);
}
.bg1 .main-text {
  color: #ffffff;         /* 明るめの白。必要なら別カラーでもOK */
}

/*ボタン
---------------------------------------------------------------------------*/
/*btn1、btn2共通*/
.btn1 a, .btn2 a {
	display: block;text-decoration: none;
	padding: 0.8rem 2rem;	/*上下、左右へのボタン内の余白*/
	margin-top: 2rem;		/*ボタンの上に2文字分のスペースを空ける*/
	text-align: center;		/*テキストをセンタリング*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広く*/
	box-shadow: 0px 10px 30px rgb(0 0 0 / 20%);	/*ボタンの影。右へ、下へ、ぼかし幅、0,0,0は黒のことで0.1は色が10%出た状態*/
}
/*マウスオン時（btn1、btn2共通）*/
.btn1 a:hover, .btn2 a:hover {
	letter-spacing: 0.2rem;	/*文字間隔を少し広げる*/
	box-shadow: none;		/*ボタンの影を消す*/
}

/*btn1への追加設定*/
.btn1 a {
	color: var(--primary-color);	/*文字色。冒頭のprimary-colorを読み込みます。*/
	background: var(--primary-inverse-color);	/*文字色。冒頭のprimary-inverse-colorを読み込みます。*/
}
.btn1 a:hover {
	background-color: #b6b6b60f;
}
/*btn2への追加設定*/
.btn2 a {
	color: #fff;	/*文字色*/
	border: 1px solid #ffffff;	/*枠線の幅、線種、色*/
}
/*list1内のbtn2の設定。マウスオン時にボタンの背景色を追加。*/
.list1:hover .btn2 a {
	background: rgba(0,0,0,0.8);	/*背景色。0,0,0は黒のことで0.8は色が80%出た状態。*/
}

/*btn3*/
.btn3 {
	padding-top: 1.7rem;				/*上の余白*/
	text-align: right;	/*テキストを右寄せ*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広く*/
	font-size: 0.9rem;
}
.btn3 a {
	display: inline-block;text-decoration: none;
	color: inherit;
	position: relative;
	padding-right: 5rem;	/*矢印のアイコンと重ならないように余白をとる*/
}

/*btn3の矢印のアイコン設定*/
.btn3 a::after {
	content: "";
	background: url("../images/arrow1.svg") no-repeat right center / 70px;	/*アイコン画像の指定。画像の右側を読み込みます。最後の100pxの数字は、widthの２倍で指定すればOK。*/
	display: block;
	position: absolute;
	right: 0px;
	bottom: -1rem;		/*下からの配置場所*/
	width: 45px;		/*アイコンの幅。ここを変更する場合は、上と下にあるbackgroundの100pxの数値も調整します。*/
	height: 45px;		/*アイコンの高さ*/
	border-radius: 50%;	/*円形にする指定。この１行を削除すれば正方形になります。*/
	text-align: center;
	transition: 0.3s;		/*hover時に切り替えをなめらかにする*/
	border: 1.2px solid var(--primary-color);	/*枠線の幅、線種、色*/
}

/*btn3の矢印のマウスオン時*/
.btn3 a:hover::after {
	background-color: var(--primary-color);	/*背景色を冒頭のprimary-colorにする*/
	background-position: left center;		/*矢印画像の入れ替え。画像の左側を読み込みます。*/
}

/*背景色が暗い所で使う場合*/
.btn3.white {
	color: #333333;	/*文字色*/
}
.btn3.white a::after {
	background: url("../images/arrow1.svg") no-repeat right center / 90px;	/*アイコン画像の指定。画像の右側を読み込みます。最後の100pxの数字は、widthの２倍で指定すればOK。*/
	border: 1px solid #ababab;	/*枠線の幅、線種、色*/
}
.btn3.white a:hover::after {
	background-color: #9E9E9E;				/*背景色を白に*/
	background-position: left center;	/*矢印画像の入れ替え。画像の左側を読み込みます。*/
}

/*採用情報　お知らせ
/*お知らせブロック
---------------------------------------------------------------------------*/
.faq {
	/*background: #5E5C5A;*/	/*背景色*/
	color: #333333;			/*文字色*/
	position: relative;
	padding: 35px;			/* 余白：上下左右に40pxずつ */
}
.faq h2 {
	padding: 0 0px;
	margin: 0;  /* コンテンツを内側からずらす */
	font-size: 1.2rem;	/*文字サイズを2倍*/
	font-weight: 200;	/*文字を細く*/
	letter-spacing: 0.4em;	/*文字間隔を広くする*/
}
/*質問*/
.faq dt {
	font-size: 1rem;	/*文字サイズ130%*/
	border-top: 1px solid rgb(36 39 77);	/*上の線の幅、線種、色。255,255,255は白のことで、0.2は色が20%出た状態。*/
	padding: 1rem 0 1rem 0;	/*上、右、下、左への余白*/
	font-style: italic; /* ← 斜体にする */
}

	/*画面幅600px以上の追加指定*/
	@media screen and (min-width:600px) {
  .faq dt {
    padding: 1rem 0 1rem 0;
    font-size: 1.1rem;
  }

  .faq dd {
    padding: 0 2rem 2rem 2rem;
  }
}/*追加指定ここまで*/


.tag {
  display: inline-block;
  padding: 3px 8px;
  margin: 2px 3px 2px 0;
  font-size: 0.9em;
  font-family: 'Yu Gothic', 'Meiryo', sans-serif;
  border: 0.5px solid #929292;
  border-radius: 4px;
  background-color: #ffffff;
  color: #333333;
  line-height: 1;
  white-space: nowrap;
}


/*Google Map　レスポンシブにする為のものなので、基本的に編集不要です。
---------------------------------------------------------------------------*/
.iframe-box {
	width: 100%;
	height: 0;
	padding-top: 50%;	/*マップの高さを増やしたい場合は、ここの数値を上げてみて下さい。*/
	position: relative;
	overflow: hidden;
	
}
.iframe-box iframe {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	padding: 0 150px; /* 上下は0、左右だけ150px */
}


/*フッター設定
/* ===== footer 全体 ===== */
.site-footer {
  background: radial-gradient(circle at top, #5f5b59, #3f3937, #5f5753);
  color: #dcdcdc;
  padding: 60px 20px 30px;
}

/* 中央コンテナ */
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

/* ===== ブランド ===== */
.footer-brand {
  max-width: 360px;
}

.footer-logo {
  width: 300px;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== ナビ ===== */
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 10px;
}

.footer-nav a {
  color: #c1c0c0;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-nav a:hover {
  text-decoration: underline;
}

/* ===== 会社情報 ===== */
.footer-info {
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ===== コピーライト ===== */
.footer-copy {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid rgb(179 179 179 / 16%);
  text-align: center;
  font-size: 0.8rem;
  color: #a6a6a6;
}

/* ===== スマホ ===== */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto 16px;
  }

  .footer-nav li {
    margin-bottom: 8px;
  }
}

/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
.pagetop-show {display: block;}

/*ボタンの設定*/
.pagetop a {
	display: block;text-decoration: none;text-align: center;z-index: 99;
	animation: opa1 1s 0.4s both;
	position: fixed;	/*スクロールに追従しない(固定で表示)為の設定*/
	right: 20px;		/*右からの配置場所指定*/
	bottom: 34px;		/*下からの配置場所指定*/
	color: #ffffff;		/*文字色*/
	font-size: 1.5rem;	/*文字サイズ*/
	background: #85c9d1bd;	/*背景色。0,0,0は黒の事で0.2は色が20%出た状態。*/
	width: 48px;		/*幅*/
	line-height: 48px;	/*高さ*/
	/*border-radius: 50%;	/*円形にする*/
	border: 0.8px solid #f3f3f3db;
  border-radius: 12px;
}



/*会社概要
---------------------------------------------------------------------------*/
/*ブロック全体*/
.new {
display: grid;	/*gridを使う指定*/
grid-template-columns: 1fr 2fr; /* ← 左右の幅を均等に */
max-width: 700px;	/*最大幅*/
margin: 0 auto;
}

/*日付、記事（共通）*/
.new dt,.new dd {
border-bottom: 1px solid rgba(0,0,0,0.1);	/*下線の幅、線種、0,0,0は黒のことで0.1は色が10%出た状態。*/
padding-top: 1.6rem;				/*上の余白*/
padding-bottom: 1.6rem;			/*下の余白*/	
}

.small-label {
margin-top: 0rem; /* 上の余白を小さく */
margin-bottom: 0;   /* 下の余白は0に */
/* それ以外は変えずに中央寄せを維持 */
display: block;
border-top: 1px solid #7c8294;
font-size: 0.9rem;
opacity: 0.6;
letter-spacing: 0.1rem;
width: 155px;
text-align: center;
margin: 0rem auto 5rem auto;  /* 上0.2rem、左右auto、下0.8rem */
padding-top: 0rem;
}

/*日付*/
.new dt {
	padding-left: 3rem; /* 必要に応じて値を調整（例: 1.5rem や 20px など） */
}
.new dd {
	padding-left: 1rem;			/*右の余白*/
}

@media screen and (max-width: 768px) {
  .new dt,
  .new dd {
    margin-top: 1rem;     /* 上の余白 */
    margin-bottom: 1rem;  /* 下の余白 */
    padding: 0;             /* 余計な内側余白はリセット */
  }
}
@media screen and (max-width: 768px) {
  .new {
    display: grid;               /* ← 追加：グリッド表示を有効に */
    grid-template-columns: auto; /* ← 1カラム（縦並び）にする */
  }

  .new dt,
  .new dd {
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-top: 0;
    margin-bottom: 0;
  }


.company-section {
padding-top: 45px;
padding-bottom: 45px;
}
@media screen and (max-width: 768px) {
	.new {
		grid-template-columns: 1fr; /* 1カラムに変更（縦並び） */
	}

	.new dt, 
	.new dd {
		padding-top: 0.4rem;
		padding-bottom: 0.4rem;
	}
  .new dt {
    font-size: 1rem; 
    font-weight: bold; /* 太くする指定 */
	border-bottom: none; /* ← 下線を消す */
  }
	
}

}

	
/*アクセス
---------------------------------------------------------------------------*/
@media screen and (min-width: 360px) {
  /* アクセスセクション全体 */
  .access {
    background-color: #f9f9f9;
    padding: 40px 12px;
    color: #333333;
  }

  /* 内部ラッパー */
  .access-inner {
    max-width: 980px;
    margin: 0 auto;
	text-align: center;
  }

  /* アクセステキストブロック */
  .access-text {
    margin-top: -65px;
    text-align: left;
    padding: 5px;
  }

  /* 項目見出し（住所、最寄り駅） */
  .access-text dt {
    font-weight: 350;	/*文字を細く*/
    font-size: 1.1rem;
    margin-top: 20px;
  }

  /* 項目本文 */
  .access-text dd {
    margin-left: 0;
    margin-top: 5px;
    font-size: 1rem;
    line-height: 1.6;
  }

  /* Google Map iframe */
  .access-map {
    max-width: 980px;
    margin: 0px auto 0;
    border-radius: 1px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }

  .access-map iframe {
    width: 100%;
    height: 450px;
    border: none;
  }

  /* メイン見出し調整（既存のh2を壊さず） */
  h2.c.no-line {
    font-size: 2rem;
    margin-bottom: 0.3rem;
  }

.small-label {
    font-size: 0.9rem;
    color: #888;
	padding-top: 0.3rem; /* 通常より近くする例 */
	text-align: center;   /* テキストを中央寄せ */
  }

}

/*沿革
---------------------------------------------------------------------------*/
/* 沿革セクション全体 */
.history {
  position: relative;
  overflow: hidden;
  padding: 80px 20px;
  color: #ffffff;

  /* ↓ 背景グラデーション：上は色あり、下に行くほど透明に */
  background: 
    linear-gradient(to bottom, rgb(191 173 156) 0%, rgba(78, 75, 72, 0) 100%),
    linear-gradient(135deg, #4e4b48, #2f2e2c); /* 元の背景 */
	padding-bottom: 5rem; /* グラデーション表示の余白を確保 */
}
.history .small-label {
  color: #ffffff;         /* 少し控えめなグレーで差別化も可能 */
　display: inline-block;
	border-top: 0.9px solid #ffffff; /* 線の色 */
	font-size: 0.9rem;		/*文字サイズ90%*/
	opacity: 0.6;			/*透明度。色が60%出た状態。*/
	letter-spacing: 0.1rem;	/*文字間隔を少しだけ広く*/
	padding-top: 0.5rem; /* 通常より近くする例 */
	width: 155px;         /* ← 線の長さ */
	text-align: center;   /* テキストを中央寄せ */
}

/* セクションタイトル */
.history h2 {
  font-size: 2.2rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  margin: 0 0 40px 0;
  position: relative;
  z-index: 2;
  text-align: left;
}

/* 英語装飾文字 */
.history .kazari {
  position: absolute;
  top: 0;
  right: 30%;
  font-size: 10vw;
  color: rgb(255 255 255 / 5%);
  font-weight: bold;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 1;
}

/* 沿革内容ラッパー */
.history-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 2;
  position: relative;
  width: 100%;
}

/* 年表リスト */
.history dl {
  display: grid;
  grid-template-columns: 150px 1fr;
  row-gap: 20px;
  column-gap: 30px;
  align-items: start;
  font-size: 1rem;
  line-height: 1.6;
	font-weight: 300; /* ← 全体を細字に */
}

/* 日付 */
.history dt {
  font-weight: 400; /* 少し太めに残す場合 */
  white-space: nowrap;
}
/* 縦線の追加 */
.year-marker {
  position: relative;
  display: inline-block;
  padding-bottom: 34px; /* 文字と線の間隔 */
}

.year-marker::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 5px;
  height: 35px;
  background-color: rgba(255, 255, 255, 0.3); /* 縦線の色 */
}

/* 内容 */
.history dd {
  margin: 0;
	font-weight: 200; /* 細字に */
	padding-bottom: 20px;  /* ←下線との間隔 */
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);  /* ←薄い白の下線 */
}

/* 下線なしのdd */
.history dd.no-underline {
  border-bottom: none;
  padding-bottom: 0;
  margin-top: 5px;
}

/* 空の dt にも対応（空白調整） */
.history dt:empty {
  visibility: hidden;
}

/* レスポンシブ対応 */
@media screen and (max-width: 767px) {
	.history {
    padding: 50px 15px; /* 上下40px、左右15pxに変更（お好みで調整） */
  }
	
  .history h2 {
    font-size: 1.8rem;
    text-align: center;
  }

  .history h2 .kazari {
    font-size: 23vw;
    top: 10px;
    right: 0px;
  }

  .history dl {
    grid-template-columns: 1fr;
  }

	  /* 日付（dt）の余白を狭くする */
.history dt {
    margin-bottom: -5px; /* 項目間の間隔を調整 */
}
/* 内容（dd）の余白を狭くする */
  .history dd {
    padding-bottom: 10px; /* デフォルトは20px → 半分に */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* 線も薄めにしてOK */
  }

  /* 下線なしの場合の余白調整（必要に応じて） */
.history dd.no-underline {
  border-bottom: none;
  padding-bottom: 0;
  margin-top: 5px;
}
}

/*技術領域
---------------------------------------------------------------------------*/
.title-bg {
  margin-top: 50px; /* ← 上に60pxの余白を追加 */
}


/* 横並びにする親 */
.tech-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 6rem auto;
  max-width: 1300px;
margin-top: -45px;
	padding: 0 4rem; /* ← ここを追加！スマホ向け白地の左右余白 */
	
}

@media screen and (min-width: 768px) {
  .tech-wrapper {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* 各ボックス */
.tech-section {
  background-color: #fff;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  flex: 1;
  min-width: 200px;
  position: relative;
	
}

/* タイトルスタイル */
.tech-section h2 {
  display: inline-block;
  background-color: #294d74;
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 1rem;
	font-family: 'Yu Gothic', 'Meiryo', sans-serif;
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 1;
}

.tech-section p {
  font-size: 0.95rem;
	font-family: 'Yu Gothic', 'Meiryo', sans-serif;
  color: #333;
  line-height: 2;
  margin: 0.5rem auto 0;  /* ←中央寄せのカギはここ！ */
  max-width: fit-content; /* ←中身にぴったり合わせたい時に有効（任意） */
	
}

/*▼▼▼▼▼ここから業務実績の上の紹介文*/
.lead-text {
  margin: 1rem auto;
	margin-top: -40px;
	margin-bottom: 40px;
  max-width: fit-content;
	/*background: #eaeaea;         /* 背景色 */
	color: #ffffff;         /* 背景色 */
	padding: 0 2rem; /* ← ここを追加！スマホ向け左右余白 */
	text-align: center;

}
@media screen and (max-width: 768px) {
  .lead-text {
    padding: 0 0rem;
    max-width: 100%;
    font-size: 0.95rem;
    line-height: 1.8;
	  text-align: center;
  }
}

/* 背景のパーツ */
.background6-parts .title-bg {
  position: relative;
  background: #efefefa8;         /* 背景色 */
  padding-top: 2vw;        /* 傾斜に合わせて余白も広げる */
  margin-top: 0vw;
  margin-bottom: 0vw;
  overflow: hidden;
  z-index: 0;
}

.bg1-section-padding .small-label {
color: #ffffff;         /* 少し控えめなグレーで差別化も可能 */
display: inline-block;
border-top: 1px solid #ffffff; /* 線の色 */
font-size: 0.9rem;		/*文字サイズ90%*/
opacity: 0.6;			/*透明度。色が60%出た状態。*/
letter-spacing: 0.1rem;	/*文字間隔を少しだけ広く*/
padding-top: 0.5rem; /* 通常より近くする例 */
width: 155px;         /* ← 線の長さ */
text-align: center;   /* テキストを中央寄せ */
}

/*スクロールアイコン本体 
---------------------------------------------------------------------------*/
.scroll-icon {
  position: absolute;
  bottom: 3vh; /* 画面下からの距離 */
  left: 50%;                            /* 画面の中央を基準に */
transform: translateX(-50%);          /* 自分の幅の半分だけ左へ移動 */
  width: 48px;
  height: 48px;
  border: 1.8px solid #ffffff;
  border-radius: 12px;
  box-sizing: border-box;
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(255 255 255 / 46%); /* 半透明グレー */
}

/* 下向き矢印 */
.scroll-icon::after {
  content: '';
  width: 18px;
  height: 18px;
  border-right: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  transform: rotate(50deg);
  display: block;

	animation: arrowMove 1.8s infinite ease-in-out; /* アニメーション適用 */
}

/* アニメーション定義 */
@keyframes arrowMove {
  0% {
    transform: translateY(0) rotate(45deg);
    opacity: 1;
  }
  50% {
    transform: translateY(6px) rotate(45deg);
    opacity: 0.6;
  }
  100% {
    transform: translateY(0) rotate(45deg);
    opacity: 1;
  }
}
.scroll-icon.fade-out {
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none; /* クリック不可にしたい場合 */
}


/* ここから、「動画スライドショー上のテキスト」 */
/* スマホ表示（600px以下） */
@media screen and (max-width: 600px) {
  .main-message {
    font-size: 1.6rem !important; /* 好きなサイズに調整 */
    white-space: nowrap;
    display: inline-block;
	margin-top: 0;           /* 上の余白をなくす */
  }

.sub-message {
    font-size: 0.85rem !important; /* ← ここで小さく */
    line-height: 1;           /* 行間も調整（任意） */
    white-space: normal;        /* 自然な折り返し */
    display: inline-block; /* ← block → inline-block に変更 */
	
  }

}
/*テキストのフェードイン設定
---------------------------------------------------------------------------*/
/*fadeInのキーフレーム設定*/
@keyframes fadeIn {
	0% {opacity: 0;transform: scale(0.1) rotate(-30deg);}
	100% {opacity: 1;transform: scale(1) rotate(0deg);}
}

/* 初期状態でテキストを非表示にする */
.fade-in-text {
    visibility: hidden;
}

/* アニメーションを適用するクラス。
animationの行の「0.2s」が文字の出現のなめらかさで、大きいほどなめらかに出てきます。
１文字ずつの出現する際の時差は、js/main.jsの「テキストのフェードイン効果」の中にある「0.1」で調整できます。*/
.char {
    display: inline-block;
    opacity: 0;
    animation: fadeIn 1s linear both;
}



/*その他
---------------------------------------------------------------------------*/
.clearfix::after {content: "";display: block;clear: both;}
.color-check, .color-check a {color: #ff0000 !important;}
.l {text-align: left !important;}
.c {text-align: center !important;}
.r {text-align: right !important;}
.ws {width: 95%;display: block;}
.wl {width: 95%;display: block;}
.mb0 {margin-bottom: 0px !important;}
.mb30 {margin-bottom: 30px !important;}
.mb5rem {margin-bottom: 5rem !important;}
.look {display: inline-block;padding: 0px 10px;background: #eee;border: 1px solid #ccc; color: #888; border-radius: 3px;margin: 5px 0; word-break: break-all;}
.small {font-size: 0.75em;}
.large {font-size: 2em; letter-spacing: 0.1em;}
.pc {display: none;}
.dn {display: none !important;}
.block {display: block !important;}

	/*画面幅900px以上の追加指定*/
	@media screen and (min-width:900px) {

	.ws {width: 48%;display: inline;}
	.sh {display: none;}
	.pc {display: block;}

	}/*追加指定ここまで*/
