@charset "utf-8";

/* ==========================================================================
  外部CSS読み込み
   ========================================================================== */
@import url("item1.css");
@import url("item-detail1.css");
@import url("form1.css");
@import url("calendar1.css");
@import url("landing1.css");

/*PC・タブレット・スマホ共通設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/

/*全体の設定
---------------------------------------------------------------------------*/
body {
	margin: 0px;
	padding: 0px;
	color: #333;	/*全体の文字色*/
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;	/*フォント種類*/
	font-size: 16px;	/*文字サイズ*/
	line-height: 2;		/*行間*/
	background: #fff;	/*背景色*/
	-webkit-text-size-adjust: none;
}
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure,form,select,input,textarea {margin: 0px;padding: 0px;font-size: 100%;}
ul {list-style-type: none;}
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}
table {border-collapse:collapse;font-size: 100%;border-spacing: 0;}
iframe {width: 100%;}
video,audio {max-width: 100%;}

/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
	color: #507ea4;		/*リンクテキストの色*/
	transition: 0.5s;	/*マウスオン時の移り変わるまでの時間設定。0.5秒。*/
}
a:hover {
	color: #00A9FB;			/*マウスオン時の文字色*/
	text-decoration: none;	/*マウスオン時に下線を消す設定。残したいならこの１行削除。*/
}

/*サイトの最大幅の設定
---------------------------------------------------------------------------*/
#container,#menubar,footer .inner {
	max-width: 1300px;	/*サイトの最大幅。これ以上大きくならない。*/
	margin: 0 auto;
}

/*スマホ表示---------------------------------------------------------------------------*/
@media screen and (max-width:768px){
footer .inner {
	padding: 0 3%;	/*上下、左右へのブロック内余白*/
}
}

/*containerの設定（footer以外の、ホームページを囲むブロック）
body.is-fixed #menubarのmarginの数字と合わせておく。
---------------------------------------------------------------------------*/
#container {
	padding: 40px;	/*上下、左右へのブロック内余白*/
}

/*スマホ表示---------------------------------------------------------------------------*/
@media screen and (max-width:768px){
#container {
	padding: 0 1%;	/*上下、左右へのブロック内余白*/
	font-size: 13px;
}
}

/*ヘッダー（ロゴが入った最上段のブロック）
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	position: relative;
	margin: 0 auto;
	height: 60px;	/*ヘッダーの高さ*/
}
/*ロゴ画像*/
header #logo {
	width: 300px;		/*ロゴ画像の幅*/
	position: absolute;
	left: 0%;		/*ヘッダーブロックの左からの配置指定*/
	bottom: 20px;	/*ヘッダーブロックの下からの配置指定*/
	z-index: 100; /* 数字を大きくして、他の要素より手前に出す */
}
header #logo a {
    display: block;
    width: 100%;
    height: 100%;
}


/* 親要素：ここが横並びの肝です */
.header-banner {
  position: absolute;
  display: flex;            /* 横並びを有効化 */
  flex-wrap: wrap;          /* 画面幅が足りない時は折り返す */
  gap: 10px;                /* バナー同士の隙間 */
  justify-content: right;  /* 中央に寄せる（左寄せなら flex-start） */
  width: 100%;
  right: 10px;		/*ヘッダーブロックの右からの配置指定*/
  bottom: 20px;	/*ヘッダーブロックの下からの配置指定*/
}

/* LINEバナーの設定 */
.header-banner-line {
  display: flex;            /* アイコンと文字を横並びにする */
  align-items: center;      /* 垂直中央揃え */
  width: 170px;             /* 横幅固定 */
  height: 50px;             /* 高さ固定 */
  padding: 0 10px;
  background-color: #f8f8f8; /* 背景色（薄いグレー例） */
  border: 1px solid #0C0;    /* 枠線 */
  border-radius: 5px;
  text-decoration: none;
  font-weight:normal;
  color: #0C0;
  box-sizing: border-box;
  transition: 0.2s;
}

/* ホバー時の挙動 */
.header-banner-line:hover {
  background-color: #fff;
  border-color: #bbb;
  color: #0C0;
}

/* フォームバナーの設定 */
.header-banner-form {
  display: flex;            /* アイコンと文字を横並びにする */
  align-items: center;      /* 垂直中央揃え */
  width: 170px;             /* 横幅固定 */
  height: 50px;             /* 高さ固定 */
  padding: 0 10px;
  background-color: #f8f8f8; /* 背景色（薄いグレー例） */
  border: 1px solid #39C;    /* 枠線 */
  border-radius: 5px;
  text-decoration: none;
  color: #39C;
  box-sizing: border-box;
  transition: 0.2s;
}

/* ホバー時の挙動 */
.header-banner-form:hover {
  background-color: #fff;
  border-color: #bbb;
  color: #39C;
}

/* アイコン画像 */
.banner-icon {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  flex-shrink: 0;           /* 画像が潰れないように固定 */
}

/* テキスト部分 */
.banner-text {
  font-size: 16px;
  font-weight: normal;
  letter-spacing: 0.15em; /* 少し広げる（標準は 0 または normal） */
}

/*スマホ表示---------------------------------------------------------------------------*/
@media screen and (max-width:768px){
header {
	position: static;
	height: auto;
	background: none;
	padding: 10px 0;
	text-align: left;
}
/*ロゴ画像*/
header #logo {
	position: static;
	margin: 0 auto;
	width: 50%;
}

/* スマホ時の浮遊固定設定 */
.header-banner {
    position: fixed;       /* 絶対配置から固定配置に変更 */
    bottom: 5px;         /* 画面下端からの距離（少し浮かせると今風です） */
    left: 0;
    right: 0;
    width: 95%;           /* 画面幅いっぱいにせず、少し余白を作る */
    margin: 0 auto;       /* widthと合わせて中央寄せ */
    justify-content: center; /* ボタンを中央に寄せる */
    z-index: 9999;        /* 他のコンテンツより上に表示 */
    gap: 8px;             /* ボタン間の隙間を少し狭める */
}

.header-banner-line, 
.header-banner-form {
    flex: 1;              /* 2つのボタンを均等な幅にする */
    max-width: 330px;     /* 横に広がりすぎないよう制限 */
    justify-content: center; /* アイコンと文字を中央寄せ */
    box-shadow: 0 4px 10px rgba(0,0,0,0.15); /* 浮遊感を出すための影 */
    height: 50px;         /* スマホで押しやすいように少し高さを出す */
	padding: 0 5px;
	border-radius:10px;
}

.header-banner-line {
  background-color: #00c200; /* 背景色（薄いグレー例） */
  border: 1px solid #00c200;    /* 枠線 */
  color: #fff;
}

.header-banner-form {
  background-color: #00a3d9; /* 背景色（薄いグレー例） */
  border: 1px solid #00a3d9;    /* 枠線 */
  color: #fff;
}

  
  /* アイコン画像 */
.banner-icon {
  width: 30px;
  height: 30px;
  margin-right: 5px;
  flex-shrink: 0;           /* 画像が潰れないように固定 */
}

/* テキスト部分 */
.banner-text {
  font-size: 15px;
  font-weight: bold;
  letter-spacing: 0.1em; /* 少し広げる（標準は 0 または normal） */
}

}

/*メインメニュー
---------------------------------------------------------------------------*/
/*メニューブロックの設定*/
#menubar {
	position: relative;
	margin: 0 auto 20px;	/*上、左右、下へのマージン。20pxを変更する際は、「body.is-fixed header」の数値も変更する。*/
	height: 75px;			/*メニューの高さ。下の「#menubar li a」の「height」と「padding-top」の数字を合計した数字に合わせる。*/
}
/*メニュー１個あたりの設定*/
#menubar li {
	float: left;	/*左に回り込み*/
	width: 16.6%;	/*メニュー幅*/
	line-height: 1.8;	/*行間を少しだけ狭く*/
}
#menubar li a {
	text-decoration: none;display: block;
	text-align: center;
	height: 60px;		/*高さ*/
	padding-top: 15px;	/*上に追加する余白*/
	color: #fff;		/*文字色*/
	border-left: 1px dashed #fff;	/*メニューの左側の線の幅、線種、色（古いブラウザ用）*/
	border-left: 1px dashed rgba(255,255,255,0.4);	/*左の線の幅、線種、255,255,255は白の事で0.4は40%色がついた状態の事。*/
	background:#09C;	/*背景色*/
}
/*最初のメニューへの追加設定------------------*/
#menubar li:first-child a {
	border-left: none;
	border-radius: 10px 0px 0px 10px;	/*角丸の指定。左上、右上、右下、左下への順番。*/
}
/*最後のメニューへの追加設定------------------*/
#menubar li:last-child a {
	border-radius: 0px 10px 10px 0px;	/*角丸の指定。左上、右上、右下、左下への順番。*/
}
/*飾り文字*/
#menubar li span {
	display: block;
	font-size: 10px;		/*文字サイズ*/
	font-weight: normal;	/*文字を太字でなく標準に戻す設定*/
	letter-spacing: 0.2em;	/*文字間隔を少しあける設定*/
	opacity: 0.9;			/*透明度50％*/
}
/*マウスオン時の設定*/
#menubar li a:hover {
	background-color: #f5f5f5;
	color: #09c;
}
/*スマホ用メニューを表示させない------------------*/
#menubar-s {display: none;}

/*スマホ表示---------------------------------------------------------------------------*/
@media screen and (max-width:768px){
#menubar-s {
	display: block;overflow: hidden;z-index: 1;
	position: fixed;
	top: 0px;			/*上からの配置場所指定*/
	left: 0px;			/*左からの配置場所指定*/
	width: 100%;		/*幅*/
	animation-name: menu1;		/*上のkeyframesの名前*/
	animation-duration: 0.5S;	/*アニメーションの実行時間。0.5秒。*/
	animation-fill-mode: both;	/*アニメーションの待機中は最初のキーフレームを維持、終了後は最後のキーフレームを維持。*/
}
/*メニュー１個あたりの設定*/
#menubar-s li a {
	display: block;text-decoration: none;
	padding: 5px 10px;	/*上下、左右へのメニュー内の余白*/
	border-bottom: 1px solid #fff;	/*下の線の幅、線種、色*/
	background: #09c;	/*背景色*/
	font-size: 15px;		/*文字サイズ*/
	color: #fff;		/*文字色*/
}
/*英語表記（飾り文字）*/
#menubar-s li a span {
	font-size: 12px;	/*文字サイズ*/
	margin-left: 10px
}
/*PC用メニューを非表示にする*/
#menubar {display: none;
}
}

/*３本バーアイコンを表示させない------------------*/
#menubar_hdr {display: none;}

/*スマホ表示---------------------------------------------------------------------------*/
@media screen and (max-width:768px){
/*３本バーアイコン設定
---------------------------------------------------------------------------*/
/*３本バーブロック*/
#menubar_hdr {
	display: block;position: fixed;z-index: 2;
	top: 5px;	/*上からの配置場所指定*/
	right: 3%;	/*右からの配置場所指定*/
	border: 1px solid #fff;	/*枠線の幅、線種、色*/
}
/*アイコン共通設定*/
#menubar_hdr.close,
#menubar_hdr.open {
	width: 50px;		/*幅*/
	height: 50px;		/*高さ*/
	border-radius: 50%;	/*円形にする。この行削除すれば正方形になります。*/
}
/*三本バーアイコン*/
#menubar_hdr.close {
	background: #09c url(../image-site/common/icon_menu.png) no-repeat center top/50px;	/*背景色、アイコンの読み込み、上半分(top)を表示、幅50px*/
}
/*閉じるアイコン*/
#menubar_hdr.open {
	background: #333 url(../image-site/common/icon_menu.png) no-repeat center bottom/50px;	/*背景色、アイコンの読み込み、上半分(bottom)を表示、幅50px*/
}
}

/*fixmenu。メインメニューが画面上部に到達した際の設定
---------------------------------------------------------------------------*/
/*fixmenuブロック*/
body.is-fixed .nav-fix-pos {
	width: 100%;z-index: 100;position: fixed;top: 0;left: 0;
}
/*headerブロック*/
body.is-fixed header {
	margin-bottom: 95px;	/*メインメニューのheight(75)とmargin-bottom(20)を足した数字にする*/
}
/*最初のメニューへの追加設定*/
body.is-fixed #menubar li:first-child a {
	border-left: none;
	border-radius: 0px 0px 0px 10px;
}
/*最後のメニューへの追加設定*/
body.is-fixed #menubar li:last-child a {
	border-radius: 0px 0px 10px 0px;
}

/*スマホ表示---------------------------------------------------------------------------*/
@media screen and (max-width:768px){
body.is-fixed header {
	margin-bottom: 0px;	/*fixmenuから折りたたみメニューになるので、ここはリセット。*/
}
}

/*コンテンツ（mainとsubブロックを囲むボックス）
---------------------------------------------------------------------------*/
#contents {
	clear: both;
	padding: 0;
}

/*メインコンテンツ
---------------------------------------------------------------------------*/
/*メインコンテンツブロック*/
#main {
	float: right;	/*右に回り込み*/
	width: 75%;		/*ボックス幅*/
	padding-bottom: 20px;
}

/* #main直下のsectionにある、figure直下のimgだけに適用 */
#main > section > figure img {
    border-radius: 2px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.4);
    margin: 10px 0 0;
    display: block; /* 余計な隙間を防ぐために追加 */
}

/* リンク付き画像の場合、マウスを乗せた時に少し変化をつけたい場合（任意） */
#main > section > figure a:hover img {
    opacity: 0.8;
    box-shadow: 0px 0px 15px rgba(0,0,0,0.6); /* 影を少し強調 */
}

/*mainコンテンツのh2タグ設定*/
#main h2:not(.page-title):not(.item-heading):not(.section-heading){
	clear: both;
	box-sizing: border-box;
	margin:0 auto;
	padding: 10px 20px;	/*上下、左右への余白*/
	font-size: 18px;	/*文字サイズ*/
	color: #333;		/*文字色*/
	background: #c1e4e9;	/*背景色*/
	border-radius: 10px;	/*角丸のサイズ。この行を削除すれば角が尖った長方形になります。*/
    letter-spacing: 0.08em; /* 文字間隔を少し広げる */
	width:96%;
	font-weight:normal;
}
/*h2タグの１文字目への追加設定*/
#main h2:not(.page-title):not(.item-heading):not(.section-heading)::first-letter {
	border-left: 6px solid #09c;	/*左の線の幅、線種、色*/
	padding-left: 15px;				/*線とテキストとの余白*/
}

/*mainコンテンツのページタイトルのh2タグ設定*/
#main h2.page-title {
	clear: both;
	margin: 5px auto;
	padding: 0;
	font-size: 160%;
	font-weight: bold;
	color: #09c;
	text-align:center;
	letter-spacing: 0.08em; /* 文字間隔を少し広げる */
	width:96%;
}
/*h2タグの１文字目への追加設定*/
#main h2.page-title::first-letter {
	border-left: 0px solid #09c;	/*左の線の幅、線種、色*/
	padding-left: 0px;				/*線とテキストとの余白*/
}
/* 左側の記号 */
#main h2.page-title::before {
	content: "|";
	color: #09c;    /* 記号にアクセントカラーを使う */
	margin-right: 15px;
	vertical-align: middle;
}
/* 右側の記号 */
#main h2.page-title::after {
	content: "|";
	color: #09c;
	margin-left: 15px;
	vertical-align: middle;
}

/*mainコンテンツのh3タグ設定*/
#main > h3 {
	clear: both;
	box-sizing: border-box;
	margin:10px auto;
	padding: 6px 20px;	/*上下、左右への余白*/
	font-size: 22px;	/*文字サイズ*/
	color: #333;		/*文字色*/
	background: #f5f5f5;	/*背景色*/
	border-radius: 10px;	/*角丸のサイズ。この行を削除すれば角が尖った長方形になります。*/
    letter-spacing: 0.08em; /* 文字間隔を少し広げる */
	width:96%;
	font-weight:bold;
	text-align:center;
}


/*他。微調整。*/
#main p + p {
	margin-top: -5px;
}
#main h2 + p,
#main h3 + p {
	margin-top: -10px;
}
#main section + section {
	padding-top: 30px;
}

/* アンカーのジャンプ先の表示位置を調整設定 */
h2[id] {
  scroll-margin-top: 100px; /* 固定ヘッダーの高さ + 余裕分を指定 */
}

/*スマホ表示---------------------------------------------------------------------------*/
@media screen and (max-width:768px){
#main {
	float: none;
	width: auto;
	overflow: hidden;
}

#main h2:not(.page-title):not(.item-heading):not(.section-heading){
	padding: 5px 20px;	/*上下、左右への余白*/
	font-size: 14px;	/*文字サイズ*/
	margin:10px auto 0px;
	text-align:center;
}

/*h2タグの１文字目への追加設定*/
#main h2:not(.page-title):not(.item-heading):not(.section-heading)::first-letter {
	border-left: 0px solid #c1e4e9;	/*左の線の幅、線種、色*/
	padding-left: 0;				/*線とテキストとの余白*/
}

#main > h3 {
	margin:10px auto 0;
	padding: 3px 10px;	/*上下、左右への余白*/
	font-size: 15px;	/*文字サイズ*/
    letter-spacing: 0.04em; /* 文字間隔を少し広げる */
}

/* 1. セクションの余白を削って横幅を確保する */
#main section {
	width:96%;
        padding: 10px 0px; /* 左右の20pxを0（または数px）にして画像を広げる */
}

    /* 2. 画像をコンテナの横幅いっぱいに引き伸ばす */
#main section figure img {
        width: 100%;    /* max-widthではなくwidthにすることで、小さい画像も引き伸ばされます */
        height: auto;   /* 縦横比を維持 */
        margin: 0;      /* 上下の余計なマージンをリセット（必要に応じて） */
}

#main section + section {
	padding-top: 20px;
}
}

/*サブコンテンツ
---------------------------------------------------------------------------*/
#sub {
	float: left;	/*左に回り込み*/
	width: 22%;		/*ブロックの幅*/
	padding-bottom: 0px;
}	

#sub h2 {
	margin-bottom: 10px;
	font-size: 17px;	/*文字サイズ*/
	font-weight:normal;
}
/*subコンテンツのh2タグの１文字目への設定*/
#sub h2::first-letter {
	border-left: 5px solid #00a9fb;	/*左側のアクセント用ラインの幅、線種、色*/
	padding-left: 10px;
}
#sub .box1 h2 a {
	color:#333;
	text-decoration: none;
}

/*段落タグ（p）設定*/
#sub p {
	line-height: 1.3;	/*行間を少し狭く*/
}

/*スマホ表示---------------------------------------------------------------------------*/
@media screen and (max-width:768px){
#sub {
	float: none;
	width: auto;
	overflow: hidden;
}
#sub h2 {
	font-size: 15px;	/*文字サイズ*/
}
}

/*サブコンテンツ内のメニュー
---------------------------------------------------------------------------*/
/*メニュー全体の設定*/
#sub .submenu {
	margin-bottom: 20px;	/*メニューブロックの下に空けるスペース*/
	border-top: solid 1px #e4e4e4;	/*上の線の線種、幅、色*/
}
/*メニュー１個ごとの設定*/
#sub .submenu li {
	background: #fff;
	line-height:1.5;
}
#sub .submenu li a {
	text-decoration: none;
	border-bottom: solid 1px #e4e4e4;	/*下の線の線種、幅、色*/
	padding: 10px 10px; 10px 0;
	display: block;
}

#sub .submenu li:last-child a {
    border-bottom: none;
}

#sub .submenu li a:hover {
	transform: translateX(5px);
	color:#099;
}

ul .aboutus{
	line-height:1.3;
	padding: 10px 10px; 10px 0;
}
/*サブコンテンツ内のbox1
---------------------------------------------------------------------------*/
#sub .box1 {
	padding: 15px;			/*ボックス内の余白*/
	margin-bottom: 20px;	/*ボックスの下に空けるスペース*/
	background: #f5f5f5;	/*背景色*/
	border: solid 1px #dbdbdb;	/*線の線種、幅、色*/
	box-shadow: 0px 0px 1px 1px #fff inset;	/*ボックスの影。右へ、下へ、ぼかし幅、距離。#fffは白のことでinsetは内側へ向けての影の指定。*/
	border-radius: 10px;	/*角丸のサイズ*/
}

/*box1内のメニューの設定*/
#sub .box1 .submenu {
	margin-bottom: 0px;
}


/*フッター設定
---------------------------------------------------------------------------*/
/*footerボックス*/
footer {
	clear: both;
	padding: 0;	/*上に空けるボックス内の余白*/
	width:100%;

}

/*スマホ表示---------------------------------------------------------------------------*/
@media screen and (max-width:768px){
 footer {
	font-size: 13px;

}
}

/*フッターメニュー
---------------------------------------------------------------------------*/
/*ボックス全体*/
#footermenu {
	clear: both;overflow: hidden;
	font-size: 80%;	/*文字サイズを少し小さく*/
	padding: 20px 0;
	background-color:#f8f8f8;
}
/*１列分の設定*/
#footermenu ul {
	display: flex;
	justify-content: center; /* 中央揃え */
	flex-wrap: wrap;        /* 画面が狭い時に折り返す */
	list-style: none;       /* リストの点を消す */
	margin: 0;
	padding: 0;
}
/*メニュー１個あたりの設定*/
#footermenu ul li {
	padding: 0 10px;	/*上下、左右への余白*/
	border-right: 1px solid #999; /* 右側に線を引く */
}
#footermenu ul li:last-child {
	border-right: none; /* 一番右の項目の線だけ消す */
}

/*リンクテキスト*/
#footermenu a {
	color:#333;
	text-decoration: none;
	opacity: 1;	/*透明度。70%色がでた状態の事。*/
}
/*マウスオン時*/
#footermenu a:hover {
	opacity: 0.6;	/*透明度。100%色がでた状態の事。*/
}

/*スマホ表示---------------------------------------------------------------------------*/
@media screen and (max-width:768px){
#footermenu {
	display:none;
}
}

/*コピーライト
---------------------------------------------------------------------------*/
#copyright {
	clear: both;
	text-align: center;
	background: #09c;	/*背景色*/
	color: #fff;		/*文字色*/
	padding: 20px;		/*ボックス内の余白*/
}
#copyright a {text-decoration: none;color: #fff;}
#copyright .pr {display: block;}

/*スマホ表示---------------------------------------------------------------------------*/
@media screen and (max-width:768px){
#copyright {
	padding: 10px;		/*ボックス内の余白*/
	margin-bottom:80px;
}	
#copyright img {
	width:50%;
}
}

/*トップページ内「更新情報・お知らせ」ブロック
---------------------------------------------------------------------------*/
/*ブロック全体の設定*/

#new {
	margin:0;
	padding:0;
}

#new dl {
	width: 98%;           /* 横幅を固定 */
	margin: 0px auto;
	padding: 8px 10px;     /* 左右に少し余白を入れると見栄えが良くなります */
	background-color: #f5f5f5;
	display: flex;          /* Flexboxを有効化 */
	flex-wrap: wrap;        /* dtとddを横並びにしつつ折り返しを許可 */
	border-radius:10px;
}

#new dt {
	width: 6em;             /* 日付の固定幅 */
	letter-spacing: 0.1em;
	flex-shrink: 0;         /* 幅が縮まないように固定 */
}

#new dd {
	width: calc(100% - 6em); /* 全体からdtの幅を引いた残りをddの幅にする */
	margin: 0;              /* デフォルトの余白をリセット */
	padding-bottom: 4px;
	border-bottom: 1px solid #ccc;
	margin-bottom: 4px;     /* 次の行との間隔 */
}

/*スマホ表示---------------------------------------------------------------------------*/
/* お知らせブロック（#new）のレスポンシブ修正 */
@media screen and (max-width: 768px) {
/* 1. 親要素の section にかかっている余白と Grid レイアウトをリセット */
section#new {
        display: block;    /* grid を解除 */
        padding: 10px 0;   /* 左右の余白を 0 にして横幅を確保 */
        margin: 0 auto;
        width: 98%;
}

/* 2. dl（リスト本体）の幅を調整 */
#new dl {
        width: 100%;       /* 98% から 100% に広げる */
        border-radius: 0;  /* スマホでは端まで広げるなら角丸を 0 にする（好みで） */
        box-sizing: border-box;
        padding: 10px 0 5px; /* 内側に少しだけ余白を作る */
		text-align:center;
		border-radius:10px;
}

/* 3. dd（テキスト部分）の調整 */
#new dd {
        width: 100%;
        text-align: center !important; /* ★ここを追加 */
        margin: 0 auto 0px;
        padding-bottom: 5px;
        line-height: 1.6;
        border-bottom: none;
        list-style: none;
}

/* 最後の項目の下線が不要な場合は追加 */
#new dd:last-child {
        border-bottom: none;
        margin-bottom: 0;
}

#new dt {
	    display:none;
        width: 100%;
        text-align: center !important; /* ★ここを追加 */
        margin: 0 auto 0px;
        padding-bottom: 0;
        line-height: 1.6;
        list-style: none;
}	
}


/*listブロック
---------------------------------------------------------------------------*/

/*ブロック１個あたりの設定*/
/* 親要素（全体を囲む箱） */
section {
  display: flex;           /* Flexboxを有効化 */
  flex-wrap: wrap;        /* 幅が足りない場合は改行する */
  justify-content: center; /* ★全体を中央に寄せる */
  gap: 15px;              /* アイテム同士の隙間（2%などの代わりに便利） */
  padding: 20px;
  margin:0px auto 15px;
}

/* sectionの直下にある要素のうち、.list 以外をすべて100%にする */
section > *:not(.list) {
    width: 100%;
    box-sizing: border-box;
}

/* ブロック１個あたりの設定 */
.list {
  flex: 1;
  min-width: 130px;
  max-width: 100%; /* 1つだけの時は親要素いっぱいに広がる */
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid #ccc;
  box-shadow: 3px 4px 2px rgba(0,0,0,0.1);
  padding: 1% 0 0;
  border-radius: 3px;
  background: #fff;
}

/* 2. 【2つの時】左右の余白を減らすために少し広げる */
/* 「2番目が最後の子要素」＝「全部で2つ」という判定 */
section:has(> .list:nth-child(2):last-child) .list {
  max-width: 500px; /* 350pxより広げ、余白を埋める */
}

/* 3. 【3つの時】 */
section:has(> .list:nth-child(3):last-child) .list {
  max-width: 400px;
}

/* 4. 【4つ以上の時】 */
section:has(> .list:nth-child(4)) .list {
  /* gapの15pxが3箇所(45px)あるため、それを引いて4等分します */
  flex: 0 0 calc((100% - 45px) / 4); 
  max-width: calc((100% - 45px) / 4);
}

/* リンクと矢印の設定 */
.list a {
  display: block;
  text-decoration: none;
  overflow: hidden;
  margin: -2%; 
  padding: 2%;
}

/* マウスオン時（変更なし） */
.list a:hover {
  position: relative;
  left: 1px;
  top: 1px;
}

/* list内　h4 */
.list h4 {
  color: #333;
  font-size: 100%;
  font-weight:normal;
  text-align: center;
  height: 1.8em;
  overflow: hidden;
  padding: 1px 10px;	/*上下、左右へのブロック内の余白*/
  background-color:#efefef;
}

.list h4.hleft {
  text-align: left;
}

/* 画像が枠からはみ出ないように追加 */
.list figure img {
  width: 100%;
  height: auto;
  display: block;
  margin:5px 0;
}

/*p（段落）タグの設定*/
.list p {
	padding: 0.18em 0.6em !important;
	margin-top:5px;
	margin-bottom:0;
	line-height: 1.4em;	/*行間を少し狭くする。デフォルトは最上部のbodyにあります。*/
	font-size: 90%;		/*文字サイズを少し小さく*/
	color: #333;		/*文字色*/
	height: auto;		/*高さ。1.5emを１行分とカウントして下さい。6emなら４行です。*/
	overflow: hidden;	/*高さを超えた場合に非表示にする*/
	text-align:center;
}

/* 「見積する」ボタンの装飾 */
.list .btn-quote {
    display: block;               /* ブロック要素にして幅を持たせる */
    margin: 0 auto 5px !important;        /* 上に余白、左右中央寄せ */
    padding: 5px 2px !important;               /* 上下の余白（押しやすさ） */
    width: 40%;                   /* ボタンの横幅 */
    background-color: #09c;    /* ボタンの色（ロゴやアクセントに合わせたピンク例） */
    color: #fff !important;       /* 文字色を白に固定 */
    font-weight: normal;            /* 太字 */
    text-align: center;           /* 文字を中央に */
    border-radius: 5px;           /* 角を少し丸める */
    height: auto !important;      /* .list p で設定した高さをリセット */
}

/*list dl,dt,ddの設定
---------------------------------------------------------------------------*/

.list ul {
	padding: 10px 20px 10px;	/*上下、左右へのブロック内の余白*/
	margin-bottom: 10px;	/*ブロックの下(外側)に空ける余白*/
}

.list li {
	padding: 0.5em 0em;
	border-bottom: 1px dotted #ccc;	/*下線の幅、線種、色*/
	letter-spacing: 0.05em;
	line-height:1.5em;
}

.list li a {
  display: inline; /* blockから戻す場合 */
  background: none;
  margin: 0;
  padding: 0;
  color:#09C;
}
/* ==========================================================================
  1024px以下のレスポンシブ設定（.item-list内のみ2列固定）
  ========================================================================== */
@media screen and (max-width: 1024px) {
    /* クラス「item-list」がついた親要素だけをGridレイアウトにする */
    section.item-list {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important; /* 常に2列 */
        gap: 15px;
        padding: 15px;
        width: 100%;
        box-sizing: border-box;
    }

    /* .item-listの中にある .list だけに適用 */
    section.item-list .list {
        flex: none !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }

    /* PC版の複雑なセレクタの影響を完全に打ち消す */
    section.item-list:has(> .list) .list,
    section.item-list:has(> .list:nth-child(4)) .list {
        flex: none !important;
        max-width: none !important;
    }
}

/*スマホ表示（768px以下）--------------------------------------------------*/
@media screen and (max-width:768px){
    /* 1024pxの設定が引き継がれるため、差分だけ記述 */
    section.item-list {
        gap: 10px; /* スマホ用に少し間隔を詰めたい場合 */
    }

    /* h4の文字サイズや余白をスマホ用に微調整 */
    .list h4 {
        font-size: 13px;
		padding: 1px 5px;
        height: auto; 
        min-height: 1.1em;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* セクション間の余白調整 */
    #main section + section {
        padding-top: 0px !important; 
    }

    /* 装飾の微調整 */
    .list a {
        background: none;
    }
	
	.list p {
	line-height: 1.5em;	/*行間を少し狭くする。デフォルトは最上部のbodyにあります。*/
    }

}

/*サムネイル画像の設定
---------------------------------------------------------------------------*/
.thumbnail {
	width: 70px;	/*サムネイル画像の幅*/
	margin: 5px;	/*画像同士に空けるスペース*/
	opacity: 0.7;	/*透明度。色が70%出た状態。*/
}
/*マウスオン時*/
.thumbnail:hover {
	opacity: 1;	/*透明度。色が100%出た状態。*/
}

/*box（info1.htmlやstaff.htmlで使っている枠色がついたタイプのボックス）
---------------------------------------------------------------------------*/
/*box*/
.box {
	overflow: hidden;
	border: 3px solid #7009B9B;	/*枠線の幅、線種、色*/
	padding: 20px;				/*ボックス内の余白*/
	border-radius: 10px;		/*角丸のサイズ。この１行を削除すれば角のとれた長方形になります。*/
	margin-bottom: 20px;		/*ボックスの下に空けるスペース*/
}
/*box内のh4タグ*/
.box h4 {
	color: #00A9FB;		/*文字色*/
	font-size: 130%;	/*文字サイズ*/
}
/*box内のpタグ*/
.box p {
	padding: 0 !important;
}

/*ページナビ（メインメニューの下にある、現在の階層を示すナビメニュー）
---------------------------------------------------------------------------*/
/*ナビブロック全体*/
.nav {
	background: #fff;		/*背景色*/
	padding: 5px 20px;		/*上下、左右へのボックス内の余白*/
	margin-bottom: 10px;	/*ボックスの下（外側）に空けるスペース*/
	margin-top: -10px;		/*メニューとの余白が空きすぎるので少し上につめる*/
}
/*メニュー１個あたりの指定*/
.nav li {
	display: inline;	/*横並びになる指定*/
	padding: 0 3px;		/*上下、左右への余白*/
	font-size:15px;
}
/*メニューの冒頭に入れる「>」のマーク*/
.nav li::before{
	content: ">";			/*このテキストを出力します。変更してもかまいませんが機種依存文字は化ける場合があるので使わない。*/
	padding-right: 1px;	/*文字サイズ*/
	color: #999;			/*文字色*/
}
/*最初のメニューには「>」は入れない*/
.nav li:first-child::before {
	content: none;
}

/*スマホ表示---------------------------------------------------------------------------*/
@media screen and (max-width:768px){
.nav {
	background: #fff;		/*背景色*/
	padding: 5px 5px;		/*上下、左右へのボックス内の余白*/
	margin-bottom: 0px;	/*ボックスの下（外側）に空けるスペース*/
	margin-top: 5px;		/*メニューとの余白が空きすぎるので少し上につめる*/
}

.nav li {
	display: inline;	/*横並びになる指定*/
	padding: 0 3px;		/*上下、左右への余白*/
	font-size:12px;
	line-height:1em;
}
}


/*ページ内メニュー
---------------------------------------------------------------------------*/
/* 1. 外側の枠（ul）の指定 */
.menu-index {
    display: none;             /* 横並びにする */
    list-style: none;          /* リストの「・」を消す */
    padding: 0;
    margin: 20px auto;
    width: 98%;               /* 横幅いっぱい */
    gap: 0px;                  /* 項目間の隙間（不要なら0に） */
}

/* 2. 各リスト項目（li）の指定 */
.menu-index li {
    flex: 1;                   /* すべてのliを均等な幅にする */
    display: flex;             /* 中のaタグの高さを揃えるため */
	margin-left: -1px; /* ★左に1pxずらして隣と重ねる */
}

/* 3. リンク（a）の指定（ご提示のコードに数行追加しています） */
.menu-index li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    /* ↓ここから追加：liの高さに合わせる */
    height: 100%;
    min-height: 36px;          /* 最低限の高さ（お好みで） */
    /* ↑ここまで */
    box-sizing: border-box;
    padding: 12px 0;
    background-color: #E8F3FF;
    border: 1px solid #c1e4e9;
    color: #333;
    text-decoration: none;
    font-weight: normal;
    border-radius: 0;
    transition: all 0.3s ease;
    font-size: 14px;
    text-align: center;
    line-height: 1;
    word-break: keep-all;
}

/* マウスオン(hover)時の指定 */
.menu-index li a:hover {
    background-color: #c1e4e9;
    color: #333;
    border-color: #c1e4e9;
    transform: translateY(2px);
}

/*---------------------------------------------------*/

.menu {
	display: flex;
	gap: 10px;                  /* ボタン同士の隙間（狭い場合は数値を小さくしてください） */
	margin:20px auto 20px;
	padding: 0;
	list-style: none;
	width: 96%;                /* 画面幅いっぱいに広げる */
}

/* メニュー１個あたりの指定 */
.menu li {
	flex: 1;                    /* 【重要】リンクの数（1〜5個）に合わせて均等に幅を割り当てる */
	min-width: 0;               /* 幅が狭くなった時に要素がはみ出すのを防ぐ */
}

/* ボタン（リンク）の基本デザイン */
.menu li a {
	display: flex;              /* テキストを上下左右の中央に配置するため */
	justify-content: center;
	align-items: center;
	width: 100%;                /* 割り当てられたliの幅いっぱいに広げる */
	box-sizing: border-box;
	padding: 12px 2px;          /* 上下12px、左右5px（左右の余白は狭めにして文字を入れやすくする） */
	background-color: #E8F3FF;
	border:1px solid #c1e4e9;
	color:#333;
	text-decoration: none;
	font-weight: normal;
	border-radius: 5px;
	transition: all 0.3s ease;
	font-size: 14px; 
	text-align: center;
	line-height: 1.3;           /* 改行された時の行間 */
	word-break: keep-all;       /* 可能な限り単語の途中で改行させない */
}

/* マウスオン(hover)時の指定 */
.menu li a:hover {
    background-color: #c1e4e9;
    color: #333;
    border-color: #c1e4e9;
    transform: translateY(2px);
}


/*スマホ表示---------------------------------------------------------------------------*/
@media screen and (max-width:768px){
.menu-index {
	display: flex;
	gap: 0px;                  /* ボタン同士の隙間（狭い場合は数値を小さくしてください） */
	margin:5px auto 5px;
	padding: 0;
	list-style: none;
	width: 96%;                /* 画面幅いっぱいに広げる */
}

.menu-index li a {
	padding: 0;          /* 上下12px、左右5px（左右の余白は狭めにして文字を入れやすくする） */
	font-size: 10px; 
}

.menu-index li a::after {
	display:none;
}

/*---------------------------------------------------*/

/* スマホ向けのスタイル（メディアクエリ） */

.menu {
    display: flex;             /* flexを維持 */
    flex-direction: column;    /* これで縦並び（1カラム）になります */
    gap: 10px;                 /* ボタン同士の間隔（margin-bottomの代わり） */
    width: 96%;
    margin: 15px auto 30px;
    padding: 0;
}

.menu li {
    width: 50%;               /* 幅をいっぱいに広げる */
    margin:0 auto;;          /* gapで制御するため0に（お好みで） */
}

.menu li a {
    display: flex;             /* 縦並びでも文字を中央にするためflexを推奨 */
    justify-content: center;
    align-items: center;
    padding: 10px;
    background-color: #E8F3FF;
    color: #333; 
    border: 1px solid #c1e4e9;
    border-radius: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: normal;
    text-decoration: none;
    transition: 0.2s;
    letter-spacing: 0.15em;
}

.menu li a:hover {
    background-color: #c1e4e9;
    color: #333;
    border-color: #c1e4e9;
    transform: translateY(2px);
}
}



/*よく頂く質問
---------------------------------------------------------------------------*/
/*外側ブロック*/
.faq {
	padding: 0px 20px;	/*上下、左右への余白*/
}
/*質問*/
.faq dt {
	color: #09c;		/*文字色*/
	font-weight: bold;	/*太字にする設定*/
	padding-left: 30px;	/*背景アイコンに重ならないよう左に余白を作る*/
	background: url(../image-site/common/faq_q.png) no-repeat left top / 30px;	/*「Q」アイコン*/
}
/*回答*/
.faq dd {
	padding-left: 30px;		/*背景アイコンに重ならないよう左に余白を作る*/
	margin-bottom: 20px;	/*ボックスの下側（外側）に空けるスペース*/
	padding-bottom: 20px;	/*ボックス内の下側に空けるスペース*/
	border-bottom: 1px solid #ccc;	/*下線の幅、線種、色*/
	background: url(../image-site/common/faq_a.png) no-repeat left top / 30px;	/*「A」アイコン*/
}

/*スマホ表示---------------------------------------------------------------------------*/
@media screen and (max-width:768px){
.faq dt,.faq dd {
	background-size: 25px;
}
}

/*テーブル（ta1）
---------------------------------------------------------------------------*/
/*テーブル１行目に入った見出し部分（※caption）*/
.ta1 caption {
	border: 1px solid #ccc;	/*テーブルの枠線の幅、線種、色*/
	border-bottom: none;	/*下線だけ消す*/
	text-align: left;		/*文字を左寄せ*/
	background: #eee;		/*背景色*/
	color: #333;			/*文字色*/
	font-weight: bold;		/*太字に*/
	padding: 10px;			/*ボックス内の余白*/
}
/*テーブル１行目に入った見出し部分（※tamidashi）*/
.ta1 th.tamidashi {
	width: auto;
}
/*ta1設定*/
.ta1 {
	table-layout: fixed;
	width: 100%;
	margin: 0 auto 20px;
}
.ta1, .ta1 td, .ta1 th {
	word-break: break-all;
	border: 1px solid #ccc;	/*テーブルの枠線の幅、線種、色*/
	padding: 10px;	/*ボックス内の余白*/
}
/*ta1の左側ボックス*/
.ta1 th {
	width: 20%;		/*幅*/
	text-align: center;	/*センタリング*/
	background-color:#f5f5f5;
}

/*スマホ表示---------------------------------------------------------------------------*/
@media screen and (max-width:768px){
.ta1 caption {
	padding: 5px;	/*ボックス内の余白*/
}
/*ta1設定*/
.ta1, .ta1 td, .ta1 th {
	padding: 5px;	/*ボックス内の余白*/
}
/*ta1の左側ボックス*/
.ta1 th {
	width: 100px;
}
}


/*サイトマップ（.sitemap）。
---------------------------------------------------------------------------*/
.sitemap{
  width: 80%;
  margin: 0 auto;
}
.sitemap-grid{
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.sitemap-category{

  padding: 0.1rem;
}
.sitemap-list{
  list-style: none;
  padding: 0;
  margin: 0;
}

.sitemap-list li{ 
   margin: 1rem 0;
   text-align:center;
   border:1px solid #09c;
}

.sitemap-list li a{ 
   text-decoration: none;
}

.sitemap-list a:hover{
  transform: translateX(2px);
  text-decoration: none;
}

/*スマホ表示---------------------------------------------------------------------------*/
@media (max-width: 768px) {
  .sitemap-grid{
    grid-template-columns: 1fr;
    text-align: center;
  }
  
.sitemap-list li{ 
   margin: 0.15rem 0;
}

}

/*btn（inputタグ用）
---------------------------------------------------------------------------*/
input[type="submit"].btn,
input[type="button"].btn,
input[type="reset"].btn {
	padding: 5px 10px;		/*上下、左右へのボタン内の余白*/
	border: 1px solid #ccc;	/*枠線の幅、線種、色*/
	border-radius: 3px;		/*角丸のサイズ*/
	background: #eee;		/*背景色*/
}
/*マウスオン時の設定*/
input[type="submit"].btn:hover,
input[type="button"].btn:hover,
input[type="reset"].btn:hover {
	border: 1px solid #999;	/*枠線の幅、線種、色*/
	background: #fff;		/*背景色*/
}

/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/

/*デフォルトでは非表示に*/
body .nav-fix-pos-pagetop a {display: none;}
/*ボタンの設定*/
body.is-fixed-pagetop .nav-fix-pos-pagetop a {
	display: block;text-decoration: none;text-align: center;z-index: 100;position: fixed;
	width: 60px;		/*幅*/
	line-height: 60px;	/*高さ*/
	bottom: 20px;		/*下から40pxの場所に配置*/
	right: 1%;			/*右から1%の場所に配置*/
	background: #F00;	/*背景色*/
	color: #fff;		/*文字色*/
	font-weight:bold;
	font-size:160%;
	border: 1px solid #fff;	/*枠線の幅、線種、色*/
	border-radius: 50%;		/*円形にする*/
	animation-name: scroll;	/*上のアニメーションで指定しているkeyframesの名前（scroll）*/
	animation-duration: 1S;	/*アニメーションの実行時間*/
	animation-fill-mode: forwards;	/*アニメーションの完了後、最後のキーフレームを維持する*/
}
/*マウスオン時*/
body.is-fixed-pagetop .nav-fix-pos-pagetop a:hover {
	background: #09c;	/*背景色*/
}

/*スマホ表示---------------------------------------------------------------------------*/
@media (max-width: 768px) {
body.is-fixed-pagetop .nav-fix-pos-pagetop a {
	display: block;text-decoration: none;text-align: center;z-index: 100;position: fixed;
	width: 50px;		/*幅*/
	line-height: 50px;	/*高さ*/
	bottom: 60px;		/*下から40pxの場所に配置*/
	right: 1%;			/*右から1%の場所に配置*/
	background: #F00;	/*背景色*/
	color: #fff;		/*文字色*/
	font-weight:normal;
	font-size:160%;
	border: 1px solid #fff;	/*枠線の幅、線種、色*/
	border-radius: 50%;		/*円形にする*/
	animation-name: scroll;	/*上のアニメーションで指定しているkeyframesの名前（scroll）*/
	animation-duration: 1S;	/*アニメーションの実行時間*/
	animation-fill-mode: forwards;	/*アニメーションの完了後、最後のキーフレームを維持する*/
}
  }

/*「NEW」アイコン
---------------------------------------------------------------------------*/
.newicon {
	background: #F00;	/*背景色*/
	color: #FFF;		/*文字色*/
	font-size: 70%;		/*文字サイズ*/
	line-height: 1.5;
	padding: 2px 4px;
	border-radius: 2px;
	margin: 0px 5px;
	vertical-align: text-top;
}

/*その他
---------------------------------------------------------------------------*/
.look {color:#fff;background: #333;padding:5px;border-radius: 4px;}
.mb15,.mb1em {margin-bottom: 15px !important;}
.mb30 {margin-bottom: 30px !important;}
.clear {clear: both;}
.color1 {color: #00A9FB !important;}
.bgcolor1 {background: #f2f2f2 !important;}
.bgcolor2 {background: #dbebf7 !important;}
.pr {font-size: 10px;}
.wl {width: 96%;}
.ws {width: 50%;}
.w40p {width: 40%;}
.w20p {width: 20%;}
.c {text-align: center;}
.r {text-align: right;}
.l {text-align: left;}
.big1 {font-size: 200%;letter-spacing: 0.2em;}
.mini1 {font-size: 80%;}
.sh {display: none;}
.half {width: 48%;}
.link {display: block;margin-top: -80px;padding-top: 80px;}
.red { color:#F00; }


/*スマホ表示---------------------------------------------------------------------------*/
@media screen and (max-width:768px){

/*その他
---------------------------------------------------------------------------*/
body.s-n #sub,body.s-n #side {display: none;}
.big1 {font-size: 150%;letter-spacing: normal;}
.sh {display:block;}
.pc {display:none;}
.link {display: block;margin-top: 0px;padding-top: 0px;}
.ws,.wl {width: 94%;}

}





/* ヘッダーWEBフォーム、LINEボタンをスクロール後右に配置-PCのみに適用 */
/* PCのみに適用 */
@media screen and (min-width: 769px) {
    
    /* スクロール後にJSで付与されるクラス */
    .header-banner.is-active {
         position: fixed !important;
         right: 0 !important;
         left: auto !important;
         top: 60% !important;
         transform: translateY(-50%) !important;
         width: auto !important;
         display: flex !important;
         flex-direction: column !important; /* ボタン自体を縦に並べる */
         flex-wrap: nowrap !important;
         gap: 10px !important; /* 間隔を少し広めに */
         z-index: 9999 !important;
         animation: slideIn 0.4s ease-out;
    }

    /* ボタン個別の設定 */
    .is-active .header-banner-line,
    .is-active .header-banner-form {
        display: flex !important;
        flex-direction: column !important; /* アイコンを上、テキストを下へ */
        align-items: center !important;
        justify-content: center !important;
        
        /* ★重要：ボタン自体の縦書きは「horizontal-tb（横書き）」に戻す */
        writing-mode: horizontal-tb !important; 
        
        width: 50px !important;
        height: auto !important;
        padding: 15px 5px !important;
        border-radius: 10px 0 0 10px !important;
        background-color: #f8f8f8 !important;

        text-decoration: none !important;
    }

    /* アイコンの設定 */
    .is-active .banner-icon {
        width: 30px !important;
        height: 30px !important;
        margin: 0 0 8px 0 !important; /* 下に余白を確保 */
        display: block !important;
    }

    /* テキストの設定 */
    .is-active .banner-text {
        /* ★テキストのみを縦書きにする */
        writing-mode: vertical-rl !important;
        text-orientation: upright !important;
        font-size: 15px !important;
        line-height: 1.2 !important;
        letter-spacing: 0.15em !important;
        display: block !important;
        margin: 0 auto !important;
    }
}