@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=M+PLUS+1:wght@100..900&display=swap');

/*slick.cssの読み込み
---------------------------------------------------------------------------*/
@import url("https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css");

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

/*CSSカスタムプロパティ（サイト全体を一括管理する為の設定）
---------------------------------------------------------------------------*/
:root {

	--primary-color: #006699;			/*テンプレートのメインまたはアクセントとなる色*/
	--primary-inverse-color: #fff;		/*primary-colorの対として使う色*/

	--global-space: 5vw;	/*サイト内の余白の一括管理用。画面幅100%＝100vwです。*/
}


/*animation1のキーフレーム設定（開閉ブロックのアニメーションに使用）
---------------------------------------------------------------------------*/
@keyframes animation1 {
	0% {left: -200px;}
	100% {left: 0px;}
}


/*opa1のキーフレーム設定（汎用的）
---------------------------------------------------------------------------*/
@keyframes opa1 {
	0% {opacity: 0;}
	100% {opacity: 1;}
}


/*全体の設定
---------------------------------------------------------------------------*/
body * {box-sizing: border-box;}

body {
	margin: 0;padding:0;
	font-family: "M PLUS 1", "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;	/*フォント種類*/
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	-webkit-text-size-adjust: none;
	background: #fff;	/*背景色*/
	color: #333;		/*文字色*/
	line-height: 2;		/*行間*/
	animation: opa1 0.2s 0.5s both;	/*0.5秒待機後、0.2秒かけてフェードイン表示*/
}

/*リセット*/
figure {margin: 0;}
dd {margin: 0;}
nav,ul,li,ol {margin: 0;padding: 0;}
nav ul {list-style: none;}
input {font-size: 1rem;}
section li {margin-left: 1rem;}

/*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%;}

/*sectionが続く場合*/
section + section {
	margin-top: 4vw;	/*sectionの上に空けるスペース*/
}


/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
	color: #333;		/*リンクテキストの色*/
	transition: 0.3s;	/*マウスオン時の移り変わるまでの時間設定。0.3秒。*/
}
a:hover {
	color: var(--primary-color);	/*文字色。css冒頭で指定しているprimary-colorを読み込みます*/
	filter: brightness(1.2);		/*マウスオン時に少し明るくする*/
}


/*container（フッター以外を囲むブロック）
---------------------------------------------------------------------------*/
#container {
	padding: 0 var(--global-space);	/*上下、左右へのcontainer内の余白。左右の余白はcss冒頭で指定しているglobal-spaceを読み込みます*/
}


/*contents（mainを囲むブロック）
---------------------------------------------------------------------------*/
#contents {
	padding: 3vw 0 5vw;	/*上、左右、下へのcontents内の余白。画面幅100%＝100vwです。*/
}

/*トップページのコンテンツ*/
.home #contents {
	padding-top: calc(3vw + 40px);	/*スライドショー上のボタンが画像下に移動するので重ならないよう適当にpxを指定しています*/
}

/*ヘッダー（ロゴや電話番号が入っている最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
    display: flex;	/*ヘッダー内にあるボックスを横並びにする*/
    justify-content: space-between;
    align-items: center;
	position: relative;	/*文字サイズブロックを絶対配置する為に必要な指定*/
}

/*ロゴ画像*/
#logo {margin: 0;padding: 0;}
#logo img {
	display: block;
	width: 400px;	/*ロゴ画像の幅*/
}

/*ヘッダーの中央バナー*/
header .banner {
	max-width: 500px;	/*最大幅。これ以上広くならない。*/
	flex: 1;
	margin: 0 3vw;		/*上下、左右へのバナーの外側へとるスペース*/
}

/*電話番号ブロック*/
address {
	font-style: normal;
	line-height: 1.2;	/*行間を狭くする*/
	text-align: center;	/*文字をセンタリング*/
	padding: 10px 0;	/*上下、左右へのブロック内の余白*/
	margin-top: 70px;	/*上に空けるスペース。文字サイズボックスに重ならないように。*/
}

/*電話番号*/
address .tel {
	font-size: 2rem;	/*文字サイズを２倍に。*/
	color: var(--primary-color);	/*文字色。css冒頭で指定しているprimary-colorを読み込みます*/
}
address.margin-top-reset {margin-top: 0;}

	/*画面幅900px以下の追加指定*/
	@media screen and (max-width:900px) {
	
	/*ヘッダーブロック*/
	header {
		flex-direction: column;	/*ヘッダー内にあるボックスを縦並びにする*/
	}
	
	/*ロゴ画像*/
	#logo img {
		margin-top: 20px;	/*ロゴの上に空けるスペース*/
	    width: 400px;	/*ロゴ画像の幅*/
	}
	
	/*電話番号ブロック*/
	address {
		margin-top: 0;	/*マージンのリセット*/
	}
	
	}/*追加指定ここまで*/


	/*画面幅400px以下の追加指定*/
	@media screen and (max-width:400px) {
	
	/*ロゴ画像*/
	#logo img {
		width: 400px;	/*ロゴ画像の幅*/
	}
	
	}/*追加指定ここまで*/



/*メニューブロック初期設定
---------------------------------------------------------------------------*/
#menubar {opacity: 0;line-height: 1.5;}
#menubar ul {list-style: none;margin: 0;padding: 0;}

.large-screen #menubar {opacity: 1;}

.small-screen #menubar.display-none {display: none;}
.small-screen #menubar.display-block {display: block;opacity: 1;}

/*3本バーをデフォルトで非表示*/
#menubar_hdr.display-none {display: none;}

/*ドロップダウンをデフォルトで非表示*/
.ddmenu_parent ul {display: none;}

/*ddmenuを指定しているメニューに矢印アイコンをつける設定*/
a.ddmenu::before {
	font-family: "Font Awesome 5 Free";
	content: "\f078";		/*使いたいアイコン名（Font Awesome）をここで指定*/
	font-weight: bold;		/*この手の設定がないとアイコンが出ない場合があります*/
	font-size: 0.7rem;		/*文字サイズを70%に*/
	padding-right: 0.5rem;	/*右側に空ける余白。0.5文字分。*/
}


/*大きな端末、小さな端末共通のメニューブロック設定
---------------------------------------------------------------------------*/
/*メニュー１個あたりの設定*/
#menubar a {
	display: block;text-decoration: none;
}

/*小文字の英語部分*/
#menubar span {
	display: block;
	font-size: 0.7em;		/*文字サイズを親要素の70%に*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くとる*/
	opacity: 0.6;			/*透明度。色が60%出た状態。*/
}


/*大きな端末用のメニューブロック設定
---------------------------------------------------------------------------*/
/*メニューブロックを囲むボックス*/
.large-screen #menubar {
    position: sticky;	/*画面の上部にメニューが固定される*/
    top: 0;
    z-index: 2;
    transition: opacity 0.3s;
}

/*メニューブロック全体の設定*/
.large-screen #menubar > nav > ul {
	display: flex;	/*横並びにする*/
	justify-content: space-between;
	align-items: center;
}

/*メニュー１個あたりの設定*/
.large-screen #menubar li {
	flex: 1;			/*個々のメニューを均等にし、幅いっぱいまで使う設定*/
	position: relative;	/*ドロップダウンの幅となる基準を作っておく*/
	text-align: center;	/*テキストをセンタリング*/
}

/*リンク（a要素）の設定*/
.large-screen #menubar li a {
	flex: 1;
	background: var(--primary-color);		/*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
	color: var(--primary-inverse-color);	/*文字色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
	padding: 0.8rem 0;	/*上下、左右の余白*/
	
	font-size: 1.2em; /* ← この1行を追加（日本語テキストを1.2倍に） */
}

/*マウスオン時に明るくする*/
.large-screen #menubar li a:hover {
	filter: brightness(1.2);
}

/*文字サイズ「大」の場合のメニューブロックを囲むボックス*/
html.f-large .large-screen #menubar {
	position: relative;	/*メニューが２段になる為、stickyを外してスクロールさせるようにする。固定させたままがいいならこの１行を削除する。*/
}

/*文字サイズ「大」の場合のメニューブロック全体の設定*/
html.f-large .large-screen #menubar > nav > ul {
	flex-wrap: wrap;	/*メニューを２段にする為、改行を許可する*/
}

/*文字サイズ「大」の場合のメニュー１個あたりの設定*/
html.f-large .large-screen #menubar > nav > ul > li {
	flex: auto;
	width: 33.33%;	/*メニュー幅。３列なので33.33%*/
}


/*大きな端末用のメニューブロックが画面上部に到達した場合（fixed）
---------------------------------------------------------------------------*/
/*文字色*/
.large-screen #menubar.fixed a {
    opacity: 0.8;	/*透明度。色を80%だけ出す。*/
}

/*マウスオン時*/
.large-screen #menubar.fixed a:hover {
	opacity: 1;		/*透明度。色を100%出す。*/
}

/*メニューの上下の余白を狭くする*/
.large-screen #menubar.fixed2 li a {
	padding-top: 0.4rem;	/*上の余白*/
	padding-bottom: 0.4rem;	/*下の余白*/
}


/*大きな端末、小さな端末、共通のドロップダウンメニュー設定
---------------------------------------------------------------------------*/
/*ドロップダウンブロック*/
.large-screen #menubar ul ul,
.small-screen #menubar ul ul {
	animation: opa1 0.5s 0.1s both;	/*0.1秒待機後、0.5秒かけてフェードイン表示*/
}


/*大きな端末用のドロップダウンメニュー
---------------------------------------------------------------------------*/
/*ドロップダウンメニューブロック全体*/
.large-screen #menubar ul ul {
	position: absolute;z-index: 2;
	width: 100%;
	top: 100%;
	left: 0px;
}

/*ドロップダウンメニュー1個あたりの上下、左右への余白。*/
.large-screen #menubar ul ul a {
	padding: 0.6rem 1rem !important;
}


/*小さな端末用の開閉ブロック
---------------------------------------------------------------------------
.small-screen #menubar {height: 0px;}*/

/*メニューブロック設定*/
.small-screen #menubar.display-block {
	position: fixed;overflow: auto;z-index: 100;
	left: 0px;top: 0px;
	width: 100%;
	height: 100%;
	padding-top: 90px;	/*上に空ける余白。ハンバーガーアイコンと重ならない為の指定ですのでお好みで変更OK。*/
	background: var(--primary-color);	/*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
	animation: animation1 0.2s both;	/*animation1を実行する。0.2sは0.2秒の事。*/
	color: var(--primary-inverse-color);	/*文字色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
}

/*メニュー１個あたりの設定*/
.small-screen #menubar li {
	border: 1px solid #fff;	/*枠線の幅、線種、色*/
	margin: 1rem;			/*メニューの外側に空けるスペース*/
	border-radius: 5px;		/*角を丸くする指定*/
}
.small-screen #menubar a {
	color: inherit;
	padding: 1rem 3rem;		/*メニュー内の余白。上下、左右へ。*/
}
.small-screen #menubar li li a {
	background: var(--primary-inverse-color);	/*背景色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
	color: var(--primary-color);	/*文字色。css冒頭で指定しているprimary-colorを読み込みます*/
}


/*３本バー（ハンバーガー）アイコン設定
---------------------------------------------------------------------------*/
/*３本バーを囲むブロック*/
#menubar_hdr {
	animation: opa1 0.3s 0.5s both;
	position: fixed;z-index: 101;
	cursor: pointer;
	top: 2vw;		/*上からの配置場所*/
	right: 2vw;		/*右からの配置場所*/
	width: 50px;	/*幅*/
	height: 50px;	/*高さ*/
	padding: 15px;	/*ブロック内の余白*/
	display: flex;
	justify-content: center;
	align-items: center;
	transition: transform 0.5s;
	background: rgba(0,0,0,0.6);	/*背景色*/
}

/*以下は変更不要*/
#menubar_hdr div {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

/*バーの設定*/
#menubar_hdr div span {
	display: block;
	width: 100%;
	height: 2px;			/*線の太さ*/
	background-color: #fff;	/*線の色*/
	border-radius: 2px;		/*コーナーを少しだけ丸く*/
	transition: all 0.5s ease-in-out;
	position: absolute;
}

/*以下変更不要*/
#menubar_hdr div span:nth-child(1) {top: 0;}
#menubar_hdr div span:nth-child(2) {top: 50%;transform: translateY(-50%);}
#menubar_hdr div span:nth-child(3) {bottom: 0;}
#menubar_hdr.ham div span:nth-child(1) {top: 50%;transform: translateY(-50%) rotate(45deg);}
#menubar_hdr.ham div span:nth-child(2) {opacity: 0;}
#menubar_hdr.ham div span:nth-child(3) {top: 50%;transform: translateY(-50%) rotate(-45deg);}


/*mainブロック
---------------------------------------------------------------------------*/
/*h2見出し*/
main h2 {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin: 0 0 2rem;		/*h2の外側にとるスペース。上、左右、下への順番。*/
	font-size: 1.5rem;		/*文字サイズ*/
	position: relative;		/*ulineを配置する為に必要な指定*/
	font-weight: normal;	/*デフォルトの太字を標準に*/
	border-bottom: 3px solid #ddd;	/*薄い色の線の幅、線種、色*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くする*/
}

/*h2のアクセントラインの設定*/
main h2 .uline {
	display: inline-block;position: relative;
	padding: 0.5rem 0;	/*h2内の余白。上下、左右への順番。*/
	bottom: -3px;		/*濃い線を薄い線に重ねる為の指定。枠線の幅と合わせます。*/
	border-bottom: 3px solid var(--primary-color);	/*濃い色の線の幅、線種、varは色の事でcss冒頭で指定しているprimary-colorを読み込みます*/
}

/*右側の装飾文字の設定*/
main h2 .small {
	display: block;
	font-size: 0.6em;	/*文字サイズを親要素の60%に*/
	opacity: 0.5;		/*透明度。色が50%出た状態。*/
  　position: relative;
  　top: 0.2em;  /* 微調整：0.1〜0.2emで好みに */

}

/*h2のテキストをセンタリングする場合*/
main h2.c {
	display: block;
	border: none;		/*下線を非表示に*/
	text-align: center;	/*テキストをセンタリング*/
	font-size: 1.5rem;	/*文字サイズを２倍に*/
}

/*h3見出し*/
main h3 {
	font-size: 1.3rem;		/*文字サイズ*/
	letter-spacing: 0.1em;	/*文字間隔を少しだけ広くする*/
	font-weight: normal;	/*デフォルトの太字を標準に*/
}


/*フッター共通
---------------------------------------------------------------------------*/
#footer-contents, #footermenu {
	padding: 2rem var(--global-space);	/*上下、左右へのボックス内の余白。左右はcss冒頭で指定しているglobal-spaceを読み込みます*/
	font-size: 1.3rem;		/*文字サイズ*/
}

/* ===== フッターメニュー 左余白を強化 ===== */
#footermenu { 
  padding-left: clamp(24px, 6vw, 64px) !important; 
}
@media (max-width: 700px) {
  #footermenu { 
    padding-left: 8vw !important; 
    padding-right: 6vw !important; 
  }
}


/* footermenu：PCは幅を約1000px、中央配置。中身は左寄せのまま */
@media screen and (min-width:701px) {
  #footermenu {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
    width: 100%; /* ★ 追加：常に画面幅いっぱい */
  }
}

  /* SPで width:100% を持っている場合に備えてPCでは列化 */
  #footermenu ul {
    width: auto;
    margin: 0;
    padding: 0;
  }
}

#footermenu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ==== footermenu 全幅対応（左右の白い余白を#363332に） ==== */
#footermenu {
  background-color: #363332;
  width: 100%;
}

section:has(#footermenu) {
  background-color: #363332;
  padding-left: 0;
  padding-right: 0;
}


/* ==== footermenu：フルブリード背景＋中央揃えを崩さない ==== */

/* 背景用のフルブリード疑似要素を敷く（中身のレイアウトは変えない） */
#footermenu {
  position: relative;  /* 疑似要素の基準にする */
  z-index: 0;
  color: #fff;         /* 念のため */
}
#footermenu::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;        /* 画面幅いっぱいに背景を敷く */
  background: #363332; /* ← ここがご希望の色 */
  z-index: -1;         /* 背景に回す（テキストより後ろ） */
}

/* PC幅では “全体を中央寄せ” に。各 <ul> は幅を固定せず自然幅に */
@media screen and (min-width: 901px) {
  #footermenu {
    display: flex;            /* 既存指定と重複OK：末尾で上書きされます */
    justify-content: center;  /* セクション全体を中央寄せ */
    gap: 2rem;                /* リスト同士の間隔（お好みで調整） */
    flex-wrap: wrap;          /* 折返し可：小さめ画面でも崩れにくい */
  }
  #footermenu ul {
    width: auto;              /* “右半分が空白”を防ぐ：100%指定を上書き */
    margin: 0;
    padding: 0;
  }
}


/*フッターのコンテンツ（住所やマップが入っているブロック）
---------------------------------------------------------------------------*/
/*ブロック全体*/
#footer-contents {
	background: #6a6462;	/*背景色*/
	color: #fff;			/*文字色*/
}
#footer-contents a {
	color: inherit;
}

/*左側のブロック*/
#footer-contents .left {
	margin-bottom: 50px;	/*下に空けるスペース*/
}


/* スマホでフッター住所テキストを縮小 */
@media screen and (max-width: 700px) {
  #footer-contents .left p {
    font-size: 0.9rem;       /* 文字サイズを小さく（例：50〜60%程度） */
    line-height: 1.6;        /* 行間をやや広げて読みやすく */
    word-break: keep-all;    /* 日本語の単語途中改行を防止 */
    white-space: normal;     /* 強制改行を許可 */
  }

  #footer-contents .left img {
    width: 100%;              /* ロゴ画像も縮小（任意） */
    height: auto;
  }
}


	/*画面幅901px以上の追加指定*/
	@media screen and (min-width:901px) {
	
	#footer-contents {
		display: flex;	/*flexボックスを使う指定*/
		gap: 2rem;		/*左右のボックスの間のマージン的な設定*/
	}
	
	/*左側のブロック*/
	#footer-contents .left {
		margin-bottom: 0;	/*下のマージン（外側への余白）をリセット*/
		width: 50%;			/*幅。leftとrightで合計100になれば、お好みで変更してもらって構いません。*/
	}
	
	/*右側のブロック*/
	#footer-contents .right {
		width: 50%;			/*幅。leftとrightで合計100になれば、お好みで変更してもらって構いません。*/
	}

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



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


/*フッターメニュー設定
---------------------------------------------------------------------------*/
/*ボックス全体の設定*/
#footermenu {
  background: #363332;
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  justify-content: center; /* ← space-between をやめる */
  align-items: flex-start;
  gap: 2rem;               /* ← 間隔は gap で固定 */
}

/*ボックス内のリンクテキスト設定*/
#footermenu a {
	text-decoration: none;
	color: inherit;
}

#footermenu ul {
  margin: 0;
  list-style: none;
  padding: 0;              /* ← 余計な左右paddingをやめる */
  flex: 0 0 auto;          /* ← flex:1 をやめて自然幅に */
  text-align: center;      /* ← 見かけの間隔が揃って見える */
}

/*メニューの見出し(title)*/
#footermenu .title {
	font-weight: bold;		/*太字にする*/
	color: #ccc;			/*文字色*/
	padding-bottom: 5px;	/*下に空けるスペース*/
}

@media screen and (max-width: 700px) {
  #footermenu ul,
  #footermenu .title,
  #footermenu .title a {
    text-align: left;
  }

	  }

/*フッター設定
---------------------------------------------------------------------------*/
small {font-size: 100%;}
footer {
	font-size: 0.9rem;		/*文字サイズ*/
	background: #1d1b1b;	/*背景色*/
	color: #fff;			/*文字色*/
	text-align: center;		/*内容をセンタリング*/
	padding: 1rem;			/*ボックス内の余白*/
}

/*リンクテキスト*/
footer a {color: inherit;text-decoration: none;}

/*著作部分*/
footer .pr {display: block;}


/* スマホで #footermenu を縦積みリストにする */
@media screen and (max-width: 700px) {
  #footermenu {
    display: block;           /* flexやめてブロックに */
    font-size: 1rem;          /* 文字少し小さめ（任意） */
    padding-left: var(--global-space);
    padding-right: var(--global-space);
  }

  #footermenu ul {
    flex: none;
    width: 100%;
    padding: 0;               /* 余白を調整 */
    margin: 0 0 0.5rem 0;     /* 下にだけ間隔 */
    border-bottom: 1px solid rgba(255,255,255,0.2); /* 仕切り線（任意） */
  }

  #footermenu .title {
    padding: 0;               /* 既存の余白をリセット */
    color: #fff;              /* 可読性担保（任意） */
  }

  #footermenu .title a {
    display: block;           /* タップしやすいブロック化 */
    padding: 0.9rem 0;        /* タップ領域を十分に */
    text-decoration: none;
  }
}

@media screen and (max-width: 700px) {
  #footermenu a { font-size: 0.8rem !important; }
}



/*フッター内にあるソーシャルメディアのアイコン
---------------------------------------------------------------------------*/
ul.icons {
	list-style: none;
	margin: 0;padding: 0;
	display: flex;
	align-self: center;
	gap: 1rem;	/*アイコン同士のマージン的な要素。１文字分。*/
}
.icons i {
	font-size: 40px;	/*アイコンサイズ*/
}


/*FAQ
---------------------------------------------------------------------------*/
/*質問*/
.faq dt {
	border-radius: 3px;		/*枠を角丸にする指定*/
	margin-bottom: 1rem;	/*下に空けるスペース*/
	background: #fff;		/*背景色*/
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
	text-indent: -2rem;				/*テキストのインデント。質問が複数行になった際に、テキストの冒頭を揃える為に設定しています。*/
	padding: 3rem 1em 3rem 3em;		/*ボックス内の余白。ここを変更する場合、上のtext-indentも調整します。*/
    background: #f5f5f5 
}

/*アイコン（Font Awesome）*/
.faq dt::before {
	font-family: "Font Awesome 6 Free";	/*Font Awesomeを使う指定*/
    content: "\f1c1";		/*アイコンのコード*/
	font-size: 150%;         /* ← これ */
	padding-left: 2rem;	/*アイコンとテキストとの間のスペース*/
	padding-right: 2rem;	/*アイコンとテキストとの間のスペース*/
	color: var(--primary-color);	/*アイコンの色。css冒頭で指定しているprimary-colorを読み込みます*/
}

/*回答*/
.faq dd {
	padding: 0 1rem 1rem 3rem;	/*ボックス内の余白。上、右、下、左への順番。*/
}

/*opencloseを適用した要素のカーソル*/
.openclose {
	cursor: pointer;	/*カーソルの形状。リンクと同じスタイルにしてクリックできると認識してもらう。*/
}


/*list-half（左右にわかれたボックス）
---------------------------------------------------------------------------*/
/*画像ブロック*/
.list-half .image {
    width: 40vw;	/*幅。60%。*/
	margin: 0 auto;	/*画像を中央に配置*/
	padding: 5vw 0;	/*上下、左右への余白。画像の上下に隙間をあけます。*/
}

	/*画面幅600px以上の追加指定*/
	@media screen and (min-width:600px) {
	
	/*ボックス全体*/
	.list-half {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 5vw;	/*左右の間に空けるマージン的な要素*/
		position: relative;
	}

	/*テキストブロック*/
	.list-half .text {
		flex: 1;
	}

	/*画像ブロック*/
	.list-half .image {
		padding: 0;		/*余白をリセット*/
		width: 60vw;	/*幅。40%。*/
	}

	/*左右を入れ替える場合用*/
	.list-half.reverse {
		flex-direction: row-reverse;
	}

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


/*画像の影のスタイル*/
.list-half .shadow1 {
	box-shadow: -4vw 4vw 0 rgba(0,0,0,0.05);
}

/*reverseの場合の影*/
.list-half.reverse .shadow1 {
	box-shadow: 4vw 4vw 0 rgba(0,0,0,0.05);
}


@media screen and (min-width:600px) {

  /* .text が無い／効いていない場合でも、テキスト側が潰れないように保険 */
  .list-half > :not(.image) {
    flex: 1;
    min-width: 0;
  }

  /* 画像側は固定幅っぽく安定させる（40vwより事故りにくい） */
  .list-half .image {
    flex: 0 0 20%;
    width: auto;      /* 既存 width:40vw を上書き */
    max-width: 480px; /* 任意：大きくなりすぎ防止 */
  }
}

/* =========================================================
   職場紹介：本文テキストの可読性調整
   ========================================================= */
.list-half p {
  font-size: 1.05rem;   /* ← 少しだけ大きく（約+5%） */
  line-height: 1.9;     /* ← 少しだけ広く（元が1.7〜1.8想定） */
}


/* =========================================================
   職場紹介：キャッチコピー上の余白をPCだけ詰める
   ========================================================= */
@media screen and (min-width:900px) {
  .list-half h3 {
    margin-top: 0.8rem;   /* ← 現状より少し小さく */
  }
}

/*list-grid1
---------------------------------------------------------------------------*/


/*ボタン（btn）
---------------------------------------------------------------------------*/
.btn a {
	display: block;text-decoration: none;
	font-size: 1rem;
	text-align: center;		/*テキストをセンタリング*/
	background: var(--primary-color) !important;	/*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
	color: var(--primary-inverse-color) !important;	/*文字色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
	padding: 0.5rem !important;		/*ボタン内の余白*/
	margin-top: 1rem !important;	/*ボタンの外（上）に空けるスペース*/
}


/*bg1背景色がついたブロック
---------------------------------------------------------------------------*/
.bg1 {
	position: relative;
	background: #fcf8ea;	/*背景色*/
	padding-top: 5vw;		/*ボックス内の上に空ける余白。お好みで調整して下さい。*/
	padding-bottom: 5vw;	/*ボックス内の下に空ける余白。お好みで調整して下さい。*/
	/*margin-top: 10vw;		ボックス外の上に空ける余白。お好みで調整して下さい。*/
	/*margin-bottom: 10vw;	ボックス外の下に空ける余白。お好みで調整して下さい。*/
	
	/*以下は変更不要*/
	margin-left: calc(-1 * var(--global-space));
	margin-right: calc(-1 * var(--global-space));
	padding-left: var(--global-space);
	padding-right: var(--global-space);
}
.bg1 a {
	color: inherit;
}


/*bg2背景が写真のブロック
---------------------------------------------------------------------------*/
.bg1 {
	position: relative;
	background: #fcf8ea;	/*背景色*/
	padding-top: 5vw;		/*ボックス内の上に空ける余白。お好みで調整して下さい。*/
	padding-bottom: 0vw;	/*ボックス内の下に空ける余白。お好みで調整して下さい。*/
	/*margin-top: 10vw;		ボックス外の上に空ける余白。お好みで調整して下さい。*/
	/*margin-bottom: 10vw;	ボックス外の下に空ける余白。お好みで調整して下さい。*/
	
	/*以下は変更不要*/
	margin-left: calc(-1 * var(--global-space));
	margin-right: calc(-1 * var(--global-space));
	padding-left: var(--global-space);
	padding-right: var(--global-space);
}
.bg1 a {
	color: inherit;
}



/*お知らせブロック
---------------------------------------------------------------------------*/
/*お知らせブロック*/
.new {
	background: rgba(0,0,0,0.02);	/*背景色。0,0,0は黒のことで0.02は色が2%出た状態。*/
	overflow: hidden;
	margin-bottom: 4rem;	/*ブロックの下に空けるスペース。4文字分。*/
	margin-left: 5%;	/*ブロックの下に空けるスペース。4文字分。*/
	margin-right: 5%;	/*ブロックの下に空けるスペース。4文字分。*/
}

/*奇数行目を背景色を少し濃くする。全体同じ色がよければここの数行は削除。*/
.new dt:nth-of-type(odd),
.new dd:nth-of-type(odd) {
	background: rgba(0,0,0,0.04);
}

/*日付(dt)設定*/
.new dt {
	padding: 1rem 1rem 0;	/*dt内の余白。上、左右、下への順番。*/
}

/*記事(dd)設定*/
.new dd {
	padding: 1rem;	/*dd内の余白*/
}

/*ブロック内のspan。日付の横のアイコン的な部分の共通設定*/
.new dt span {
	display: inline-block;
	text-align: center;
	line-height: 1.8;		/*行間（アイコンの高さ）*/
	border-radius: 3px;		/*角を丸くする指定*/
	padding: 0 0.5rem;		/*上下、左右へのブロック内の余白*/
	width: 8rem;			/*幅。8文字分。*/
	transform: scale(0.8);	/*80%のサイズに縮小*/
	background: #fff;		/*背景色*/
	color:#777;				/*文字色*/
	border: 1px solid #999;	/*枠線の幅、線種、色*/
}

/*icon-bg1*/
.new .icon-bg1 {
	background: var(--primary-color);	/*背景色。css冒頭で指定しているprimary-colorを読み込みます*/
	color: var(--primary-inverse-color);	/*文字色。css冒頭で指定しているprimary-inverse-colorを読み込みます*/
	border-color: transparent;			/*枠線を出したくないので透明にする*/
}

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

	/*ブロック全体*/
	.new {
		display: grid;	/*gridを使う指定*/
		grid-template-columns: auto 1fr;	/*横並びの指定。日付とアイコン部分の幅は自動で、内容が入るブロックは残り幅一杯とる。*/
	}

	/*日付(dt)設定*/
	.new dt {
		padding: 1rem 0 1rem 2rem;	/*dt内の余白。上、右、下、左への順番。*/
	}

	/*記事(dd)設定*/
	.new dd {
		padding: 1rem 2rem 1rem 0;	/*dd内の余白。上、右、下、左への順番。*/
	}

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





/*サブメニュー設定
---------------------------------------------------------------------------*/
/*サブメニューブロック全体*/
.submenu {
	padding: 0;
	margin: 0 0 1rem;	/*上、左右、下へのマージン*/
	border-top: 1px solid #ccc;	/*上の枠線の幅、線種、色*/
}

/*メニュー１個あたり*/
.submenu a {
	display: block;text-decoration: none;
	padding: 0.2rem 1rem;	/*上下、左右へのメニュー内の余白*/
	background: #fff;	/*背景色*/
}

/*メニュー１個あたり（子メニュー以外）*/
.submenu > li {
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
	border-top: none;		/*上の線だけなくす*/
}

/*子メニュー*/
.submenu li li a {
	padding-left: 2rem;	/*左に余白を空ける*/
}


/*box1
---------------------------------------------------------------------------*/
.box1 {
	padding: 1rem;			/*ボックス内の余白*/
	margin-bottom: 1rem;	/*ボックスの下に空けるスペース*/
	background: rgba(0,0,0,0.05);	/*背景色*/
	border: solid 1px #ccc;	/*線の線種、幅、色*/
	box-shadow: 0px 0px 1px 1px #fff inset;	/*ボックスの影。右へ、下へ、ぼかし幅、距離。#fffは白のことでinsetは内側へ向けての影の指定。*/
}

/*box1内のsubmenuの下マージンをなくす*/
.box1 .submenu {
	margin-bottom: 0;
}


/*詳細ページのサムネイル切り替えブロック
---------------------------------------------------------------------------*/
/*大きな画像が表示されるブロック*/
.thumbnail-view-parts {
	max-width: 1000px;		/*最大幅*/
	margin: 0 auto 1rem;	/*ブロック要素を中央に配置。下に1文字分のマージンをとる。*/
	text-align: center;		/*画像が小さい場合でもセンタリングされるように*/
}

/*サムネイル全体を囲むブロック*/
.thumbnail-parts {
	display: flex;				/*flexを使う指定*/
	justify-content: center;	/*並びかたの種類の指定。これはセンタリングする指定。*/
	margin-bottom: 2rem;		/*下に空けるスペース。２文字分。*/
}

/*サムネイル画像*/
.thumbnail-parts img {
	width: 100px;		/*サムネイルの幅*/
	margin: 2px;		/*サムネイル間のスペース*/
	cursor: pointer;	/*リンクタグではないが、クリックできる事をわかりやすくする為にリンクと同じポインターにしておきます。*/
	transition: 0.3s;	/*マウスオンまでにかける時間。3秒。*/
}
.thumbnail-parts img:hover {
	opacity: 0.8;	/*マウスオン時に80%だけ色を出す。つまり薄くなります。*/
}


/*テーブル（ta1）
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption {
	font-weight: bold;		/*太字に*/
	font-size: 1.2rem;		/*太字に*/
	padding: 0.5rem 1rem;	/*ボックス内の余白*/
	background: #999;		/*背景色*/
	color: #fff;			/*文字色*/
	margin-top: 2rem;	/*下に空けるスペース*/
	margin-bottom: 2rem;	/*下に空けるスペース*/
	border-radius: 5px;		/*角を丸くする指定*/
}

/*ta1テーブルブロック設定*/
.ta1 {
	table-layout: fixed;
	border-top: 1px solid #999;	/*テーブルの一番上の線。幅、線種、色*/
	width: 100%;				/*幅*/
	margin-bottom: 1rem;			/*テーブルの下に空けるスペース*/
}

/*tr（１行分）タグ設定*/
.ta1 tr {
	border-bottom: 1px solid #999;	/*テーブルの下線。幅、線種、色*/
}

/*th（左側）、td（右側）の共通設定*/
.ta1 th, .ta1 td {
	padding: 1rem;		/*ボックス内の余白*/
	word-break: break-all;	/*英語などのテキストを改行で自動的に折り返す設定。これがないと、テーブルを突き抜けて表示される場合があります。*/
}

/*th（左側）のみの設定*/
.ta1 th {
	width: 30%;			/*幅*/
	text-align: center;	/*左よせにする*/
	background: #eee;	/*背景色*/
}

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

		/*th（左側）のみの設定*/
		.ta1 th {
			width: 20%;		/*幅*/
		}

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

/*テーブル（ta2）
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta2 caption {
	font-weight: bold;		/*太字に*/
	font-size: 1.2rem;		/*太字に*/
	padding: 0.5rem 1rem;	/*ボックス内の余白*/
	background: #999;		/*背景色*/
	color: #fff;			/*文字色*/
	margin-top: 1.5rem;	/*下に空けるスペース*/
	margin-bottom: 2rem;	/*下に空けるスペース*/
	border-radius: 5px;		/*角を丸くする指定*/
}

/*ta2テーブルブロック設定*/
.ta2 {
	table-layout: fixed;
	border-top: 1px solid #999;	/*テーブルの一番上の線。幅、線種、色*/
	width: 100%;				/*幅*/
	margin-bottom: 1rem;			/*テーブルの下に空けるスペース*/
}

/*tr（１行分）タグ設定*/
.ta2 tr {
	border-bottom: 1px solid #999;	/*テーブルの下線。幅、線種、色*/
}

/*th（左側）、td（右側）の共通設定*/
.ta2 th, .ta2 td {
	padding: 1rem;		/*ボックス内の余白*/
	word-break: break-all;	/*英語などのテキストを改行で自動的に折り返す設定。これがないと、テーブルを突き抜けて表示される場合があります。*/
}

/*th（左側）のみの設定*/
.ta2 th {
	width: 30%;			/*幅*/
	text-align: center;	/*左よせにする*/
	background: #eee;	/*背景色*/
}

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

		/*th（左側）のみの設定*/
		.ta2 th {
			width: 20%;		/*幅*/
		}

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

/* =========================================================
   ta2：全デバイス共通 3列レイアウト
   1列目20%（中央）＋2列目20%（中央）＋3列目60%（左）
   ========================================================= */

/* 1列目・2列目：センター揃え */
.ta2 th:nth-child(1),
.ta2 td:nth-child(1),
.ta2 th:nth-child(2),
.ta2 td:nth-child(2) {
  width: 20%;
  text-align: center;
  vertical-align: middle;
}

/* 3列目：左揃え */
.ta2 th:nth-child(3),
.ta2 td:nth-child(3) {
  width: 60%;
  text-align: left;
  vertical-align: middle;
}

/* =========================================================
   ta2：PC表示を 3列（20% / 20% / 60%）に固定
   ========================================================= */
@media screen and (min-width: 900px) {

  /* 1列目・2列目：センター揃え（幅20%ずつ） */
  .ta2 th:nth-child(1),
  .ta2 td:nth-child(1),
  .ta2 th:nth-child(2),
  .ta2 td:nth-child(2) {
    width: 20%;
    text-align: center;
  }

  /* 3列目：左揃え（幅60%） */
  .ta2 th:nth-child(3),
  .ta2 td:nth-child(3) {
    width: 60%;
    text-align: left;
  }
}



/* =========================================================
   テーブル（ta3）: 2行1列・背景色／罫線なし・左寄せ＋余白あり
   ========================================================= */
/*テーブル１行目に入った見出し部分（※caption）*/
.ta3 caption {
	text-align: left;
	font-weight: bold;		/*太字に*/
	font-size: 1.2rem;		/*太字に*/
	padding: 0.5rem 1rem;	/*ボックス内の余白*/
	background: #999;		/*背景色*/
	color: #fff;			/*文字色*/
	margin-top: 1.5rem;	/*下に空けるスペース*/
	margin-bottom: 1rem;	/*下に空けるスペース*/
	border-radius: 5px;		/*角を丸くする指定*/
}

.ta3 {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;     /* 下に少し余白 */
  background: transparent; /* 背景なし */
}

.ta3 tr {
  border: none;            /* 行の境界線なし */
}

.ta3 td {
  padding: 0.8rem 1.2rem;  /* 左右に余白をしっかり */
  text-align: left;        /* 左寄せ */
  vertical-align: top;     /* 上揃え（任意） */
  background: transparent; /* 背景なし */
  border: none;            /* 枠線なし */
  color: #333;             /* 読みやすい文字色 */
  line-height: 1.8;        /* 行間を少し広めに */
}

/* ▼ 1行目（見出し） */
.ta3 tr:first-child td {
  font-weight: bold;
  font-size: 1.1rem;      /* 少し大きめ（通常より約10〜15%増） */
  padding: 1rem 1.2rem 0.4rem 1.2rem;  /* 上下の余白をバランス調整 */
  line-height: 1.6;
}

/* ▼ 2行目以降（本文） */
.ta3 tr:not(:first-child) td {
  padding: 0.4rem 1.2rem 0.8rem 4em;   /* 左に3文字分くらいの余白（4em前後が自然） */
  font-size: 1rem;                     /* 標準サイズ */
}

/* =========================================================
   公社概要ページ：段落の左右余白を調整（ta3 と揃える）
   ========================================================= */
.home .main-contents > p {
  padding-left: 1.2rem;   /* 左に読みやすい余白 */
  padding-right: 1.2rem;  /* 右にもバランスよく余白 */
  margin-left: 0;         /* 外側マージンはリセット */
  margin-right: 0;
  margin-bottom: 2rem;
  line-height: 1.8;       /* 読みやすい行間 */
  color: #333;            /* テキストカラー統一 */
}




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

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




/*その他
---------------------------------------------------------------------------*/
.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;}
.look {display: inline-block;padding: 0px 10px;background: #eee;color: #333;border: 1px solid #ccc; border-radius: 3px;margin: 5px 0; word-break: break-all;}
.small {font-size: 0.75em;}
.vsmall {font-size: 0.9em;}
.middle {font-size: 1.5em; letter-spacing: 0.1em;}
.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;}

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


/* =========================================================
   競合に強い：疑似要素で背景画像を載せる方式（!important不要）
   ========================================================= */

/* グリッド */
.list-grid1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

/* 各カード（本体） */
/* 各カード（本体）— ここだけを“唯一の定義”にする */
.list-grid1 .list {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;   /* 左寄せ */
  text-align: left;
  color: #fff;
  border-radius: 6px;
  overflow: hidden;
  min-height: 220px;             /* PCの基本高さ */

  /* ← ここを“確定値”として入れる（後ろで上書きされないように統合） */
  border: solid 10px #4ba3fc;    /* 青い枠線 */
  padding: .75rem 1rem;          /* 適度な内側余白 */
  box-sizing: border-box;
}

/* 背景画像レイヤー（最背面） */
.list-grid1 .list::after {
  content: "";
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* 可読性オーバーレイ（中間） */
.list-grid1 .list::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.10), rgba(0,0,0,.10));
  z-index: 1;
}

/* テキスト（最前面） */
.list-grid1 .list .text {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 6px rgba(0,0,0,.35);
}

/* 画像の割当（疑似要素） */
.list-grid1 .list.bg-achievement::after { background-image: url('../images/bg-achievement.jpg'); }
.list-grid1 .list.bg-workplace::after   { background-image: url('../images/bg-workplace-.jpg'); }
.list-grid1 .list.bg-employment::after  { background-image: url('../images/bg-employment.jpg'); }


/* スマホ：半分の高さ */
@media (max-width:700px){
  .list-grid1 .list{
    min-height:110px;            /* PCの約1/2 */
    padding: 0.6rem 0.9rem;      /* 高さを押し上げない程度に軽め */
    border-width: 8px;           /* 枠線も少し細く（任意） */
  }
  .list-grid1 .list .text p  { font-size:.8rem;  line-height:1.2; margin:0 0 .1rem; }
  .list-grid1 .list .text h4 { font-size:1.1rem; line-height:1.2; margin:0; }

  /* モバイル画像 */
  .list-grid1 .list.bg-achievement::after { background-image: url('../images/bg-achievement@mobile.jpg'); }
  .list-grid1 .list.bg-workplace::after   { background-image: url('../images/bg-workplace@mobile-.jpg'); }
  .list-grid1 .list.bg-employment::after  { background-image: url('../images/bg-employment@mobile.jpg'); }
}

/* PC：3カラム */
@media (min-width:1024px){
  .list-grid1{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
  .list-grid1 .list{ min-height:300px; }

  /* ← この1行を追加 */
  .list-grid1 .list .text h4 { font-size: 1.8rem; } /* もともと1.6rem → 約2倍 */
	
  /* ← ここから追加：PC時の行間と余白を詰める */
  .list-grid1 .list .text p  { line-height: 1.3; margin: 0 0 0.15rem; }
  .list-grid1 .list .text h4 { line-height: 1.15; margin: 0; }
}

/* ===== スマホ最終調整（ファイルの一番最後に置く） ===== */
@media (max-width: 700px) {
  .list-grid1 { gap: 0.8rem; }

  /* 本体の高さ・余白・枠線をスマホ用に軽量化 */
  .list-grid1 .list {
    min-height: 110px;          /* ← PCの約1/2 */
    padding: 0.75rem 1rem;      /* ← 2rem を圧縮（高さ増の主因） */
    border-width: 6px;          /* ← 10px→6pxに細く（任意） */
    display: flex;              /* ← 縦センター維持 */
    align-items: center;        /* ← 縦センター */
    justify-content: flex-start;    /* ← 横センター */
    overflow: hidden;
  }

  /* テキスト側の内側余白も控えめに */
  .list-grid1 .list .text {
    padding: 0;                 /* 余白が別にあればここでゼロに */
    text-align: left;
  }
  .list-grid1 .list .text p  { margin: 0 0 0.1rem; font-size: .8rem;  line-height: 1.2; }
  .list-grid1 .list .text h4 { margin: 0;           font-size: 1.1rem; line-height: 1.2; }
}


/* ===========================================
   achievement.html 専用カスタマイズ（最新版）
   =========================================== */

/* 1) PCでメインコンテンツを狭める（他ページへ影響なし） */
@media screen and (min-width: 900px) {
  body.home .main-contents {
    max-width: 100%;   /* お好みで 900〜1100px に調整可 */
    margin: 0 auto;      /* 左右中央寄せ */
  }
}

/* 2) 各テーブルの最上行：薄い背景＋中央寄せ＋高さ1/2 */
.ta1 tr:first-child {
  background-color: #f5f5f5;  /* 薄いグレー背景 */
  height: 2rem;               /* 行の高さ（標準の約1/2） */
}
.ta1 tr:first-child th,
.ta1 tr:first-child td {
  text-align: center;         /* 左右中央寄せ */
  vertical-align: middle;     /* 縦中央寄せ */
  font-weight: bold;
  padding: 0.5rem 1rem;       /* 通常より少し狭めて高さを抑える */
  line-height: 1.2;
}

/* 3) 各テーブルの左見出し列（th）を左右中央揃え＋幅拡大 */
.ta1 th {
  text-align: center !important;  /* 既存 left を上書き */
  vertical-align: middle;
  width: 25%;                     /*  */
}

/* 4) テーブルタイトル（caption）を左詰め＋余白追加で読みやすく */
.ta1 caption {
  text-align: left !important;
  padding-left: 1rem;             /* ← 左に余白（読みやすさ向上） */
  margin-bottom: 1rem;            /* 下余白は既存を維持*/
}


/* ===========================================
   achievement.html 専用カスタマイズ（最新版）
   =========================================== */

/* 1) PCでメインコンテンツを狭める（他ページへ影響なし） */
@media screen and (min-width: 900px) {
  body.home .main-contents {
    max-width: 100%;   /* お好みで 900〜1100px に調整可 */
    margin: 0 auto;      /* 左右中央寄せ */
  }
}

/* 2) 各テーブルの最上行：薄い背景＋中央寄せ＋高さ1/2 */
.ta2 tr:first-child {
  background-color: #f5f5f5;  /* 薄いグレー背景 */
  height: 2rem;               /* 行の高さ（標準の約1/2） */
}
.ta2 tr:first-child th,
.ta2 tr:first-child td {
  text-align: center;         /* 左右中央寄せ */
  vertical-align: middle;     /* 縦中央寄せ */
  font-weight: bold;
  padding: 0.5rem 1rem;       /* 通常より少し狭めて高さを抑える */
  line-height: 1.2;
}

/* 3) 各テーブルの左見出し列（th）を左右中央揃え＋幅拡大 */
.ta2 th {
  text-align: center !important;  /* 既存 left を上書き */
  vertical-align: middle;
  width: 25%;                     /*  */
}

/* 4) テーブルタイトル（caption）を左詰め＋余白追加で読みやすく */
.ta2 caption {
  text-align: left !important;
  padding-left: 1rem;             /* ← 左に余白（読みやすさ向上） */
  margin-bottom: 1rem;            /* 下余白は既存を維持*/
}

	
/* ===========================================
   achievement.html 専用：2カラムlist-grid＋大画像
   =========================================== */

/* 2カラムグリッド（スマホ1 → PC2） */
body.home .list-grid2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-top: 2rem;
  margin-bottom: 5rem;
}

/* 各アイテムの箱 */
/* 各ブロックを縦積み・外枠なしに */
body.home .lg2-item {
  display: block;           /* 横並び→縦並びに */
  border: none;             /* 外枠削除 */
  background: transparent;  /* 背景なし */
  padding: 0;
  margin: 0;
}

/* 写真を幅いっぱいに表示（比率固定） */
body.home .lg2-photo {
  width: 100%;
  aspect-ratio: 16 / 9;     /* 写真比率（必要に応じて変更） */
  overflow: hidden;
  border-radius: 0;
  margin: 0;
}
body.home .lg2-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;        /* はみ出し部分をトリミングして均一表示 */
}

/* テキストは写真の下にキャプション風で */
body.home .lg2-text {
  text-align: center;       /* 中央寄せでキャプション風 */
  padding-top: 0.5rem;      /* 写真との間に少し余白 */
  color: #555;
}
body.home .lg2-text h4 {
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}
body.home .lg2-text p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}


/* PCで2カラムへ */
@media (min-width: 900px) {
  body.home .list-grid2 {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  body.home .lg2-item {
    padding: 1rem;
  }
}

/* 大きな1枚画像（メイン幅にフィット） */
body.home .hero-wide {
  margin: 2rem 0 0;
  border-radius: 10px;
  overflow: hidden;
}
body.home .hero-wide img {
  display: block;
  width: 100%;
  height: auto;        /* 横幅に合わせて高さは自動 */
}

/* summaryページだけ main-contents の幅を絞る */
@media (min-width:900px){
  body.summary .main-contents {
    max-width: 1200px;
    margin: 0 auto;
  }
}

/* =========================================================
   ページ別 main-contents 横幅設定
   ========================================================= */

/* ▼ index（トップページ）: 横幅を100%に */
body.home:not(.summary):not(.achievement) .main-contents {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
}

/* ▼ summaryページ: 横幅1200pxに固定 */
body.summary .main-contents {
  max-width: 1000px;
  margin: 0 auto;
}

/* ▼ achievementページ: 横幅1200pxに固定 */
body.achievement .main-contents {
  max-width: 1000px;
  margin: 0 auto;
}


/* =========================================================
   PC/タブレット：内側にするのは「お知らせ」と「フッターメニュー」だけ
   それ以外（ヘッダー/メニュー/メイン画像/横並びコンテンツ）は従来幅のまま
   ========================================================= */
@media screen and (min-width: 901px) {

  /* 1) もし過去の上書きで #container の左右余白が消えていたら復帰
        （ヘッダー/メニュー/メイン画像/横並びコンテンツ＝従来幅に戻る） */
  #container {
    padding-left: var(--global-space);
    padding-right: var(--global-space);
    max-width: none;
    margin: 0;
  }

  /* 2) 「お知らせ」だけ内側（幅を決めて中央寄せ）
        ※ .new が“お知らせブロック” */
  .new {
    max-width: 1200px;   /* 好みで 900〜1100 程度で調整 */
    margin-left: auto;
    margin-right: auto;
  }

  /* 3) フッターメニューだけ内側（中央寄せ）
        ※ 背景がある場合でも「中身だけ」内側にできる */
  #footermenu {
    max-width: 1200px;   /* .new と揃えると気持ちいい */
    margin-left: auto;
    margin-right: auto;
  }

  /* 4) 念のため：フッターは従来どおり（触らない/全体の挙動を変えない） */
  footer {
    max-width: none;
  }
}


/* 下層ページだけ：本文（コンテンツ部分）を内側に（PC/タブレットのみ） */
@media screen and (min-width: 901px) {

  /* 下層の本文幅（好みで 900〜1100） */
  :root{
    --page-max: 1200px;
  }

  /* home以外＝下層ページだけに適用 */
  body:not(.home) #contents{
    max-width: var(--page-max);
    margin-left: auto;
    margin-right: auto;

    /* 画面が狭いPCでも左右が詰まらないように */
    padding-left: var(--global-space);
    padding-right: var(--global-space);
    box-sizing: border-box;
  }
}



body.page .main-contents p{
  padding-left: 1em;
  text-indent: 0;
}



.marker {
    background-color: #ff6600; /* カラーコード (ゴールド) */
    padding: 12px 30px; /* 背景の範囲を文字の周りに調整 */
}

@media screen and (max-width: 599px) {

  /* テーブル全体 */
  .ta2 {
    width: 100%;
    table-layout: fixed;
  }

  /* 列幅指定（3列想定） */
  .ta2 th:nth-child(1),
  .ta2 td:nth-child(1) {
    width: 30%;
  }

  .ta2 th:nth-child(2),
  .ta2 td:nth-child(2) {
    width: 25%;
  }

  .ta2 th:nth-child(3),
  .ta2 td:nth-child(3) {
    width: 45%;
  }

  /* 文字の折れ方を制御 */
  .ta2 th,
  .ta2 td {
    padding: .6rem .5rem;
    font-size: .9rem;
    line-height: 1.5;
    word-break: normal;
    overflow-wrap: break-word;
  }

  /* 見出しは変な縦折れを防ぐ */
  .ta2 th {
    word-break: keep-all;
  }
}

@media screen and (max-width: 599px) {

  .ta2 tr:first-child td {
    font-size: 0.7rem;
  }

}

/* ===== サムネイル切り替え：スマホは横並び1列で収める ===== */
@media screen and (max-width: 700px) {
  .thumbnail-parts{
    width: 100%;
    justify-content: space-between;
  }

  .thumbnail-parts img{
    width: calc((100% - 10px) / 6); /* 6枚で100% */
    margin: 0;
    height: auto;
  }
}