@charset "utf-8";


/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Questrial&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tangerine&display=swap');


/*keyframes.cssの読み込み
---------------------------------------------------------------------------*/
@import url("keyframes.css");


/*全端末（PC・タブレット・スマホ）共通設定
------------------------------------------------------------------------------------------------------------------------------------------------------*/

/*全体の設定
---------------------------------------------------------------------------*/
body {
	margin: 0px;
	padding: 0px;
	color: #220;	/*全体の文字色*/
	font-family:Osaka, "ＭＳ Ｐゴシック", "MS PGothic","メイリオ", Meiryo, sans-serif;	/*フォント種類*/
	font-size: 14px;	/*文字サイズ*/
	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 {margin: 0px;padding: 0px;font-size: 100%;font-weight: normal;}
ul {list-style-type: none;}
ol {padding-left: 40px;padding-bottom: 15px;}
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}
table {border-collapse:collapse;font-size: 100%;border-spacing: 0;}
video {max-width: 100%;}
iframe {width: 100%;}

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

/*inner
---------------------------------------------------------------------------*/
.inner {
	max-width: 1600px;	/*サイトの最大幅*/
	margin: 0 auto;
	padding-left: 2%;
	padding-right: 2%;
}

/*ヘッダー
---------------------------------------------------------------------------*/
/*ヘッダーブロック*/
header {
	position: relative;
	padding: 20px;	/*ヘッダー内の余白*/
}
@media screen and (min-width: 769px) {
  .resizeimage {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .resizeimage img {
    width: 50%;
    height: auto;
    display: block;
  }
}

/*言語切替
---------------------------------------------------------------------------*/
.language-switcher {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 14px;
  z-index: 1000;
}

.language-switcher .lang {
  color: #004b6b;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.language-switcher .lang:hover {
  background-color: #e6f3f8;
}

.language-switcher .lang.active {
  background-color: #004b6b;
  color: #fff;
  font-weight: bold;
}



/* 言語切替：スマホ表示用（幅768px以下） */
@media screen and (max-width: 768px) {
  .language-switcher {
    position: static;       /* 通常の文書フローに戻す */
    margin-top: 10px;
    text-align: center;
  }

  .resizeimage {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .resizeimage img {
    max-width: 100%;
    height: auto;
    margin-bottom: 5px;
  }
}


/*メインメニューのブロック
---------------------------------------------------------------------------*/
#menubar {
	position: relative;z-index: 10;
	text-align: center;	/*文字を中央に*/
	background: #ff0303;	/*背景色(現状赤色)*/
	border-top: 1px solid #ccc;		/*上の線の幅、線種、色*/
	border-bottom: 1px solid #ccc;	/*下の線の幅、線種、色*/
	font-family: 'Questrial', sans-serif;	/*冒頭で読み込んだGoogle Fontsを適用する指定*/
	height: 100px;	/*高さ。「#menubar ul li a」や「fixmenu」とも連動するので変更の際は注意。説明はこの下の「#menubar ul li a」で書いています。*/

}
/*メニュー１個あたりの設定*/
#menubar ul li {
	float: left;	/*左に回り込み*/
	width: 14%;		/*幅。今回は７個なので、100÷7=14。*/
	font-size: 20px;	/*文字サイズ*/
	font-weight: bold;
}
#menubar ul li a {
	text-decoration: none;display: block;
	height: 80px;		/*メニューブロックの高さ。ここの「80」と、下の行の「20」を合計した「100」の数字と、上の「#menubar」の「height」および下のfixmenu設定に２箇所ある「margin-top」の数字を合わせて下さい。*/
	padding-top: 20px;	/*メニューブロックの高さプラス、上に空ける余白。メニューテキストの上下の配置バランスをここで調整して下さい。※変更の際は、上の行の注意書きもしっかり読んで下さい。*/
}
#menubar ul li a:hover {
	color: #d4a500;	/*マウスオン時の文字色（現状橙色）*/
}
/*飾り文字*/
#menubar ul li span {
	display: block;
	font-size: 10px;	/*文字サイズ(下の英語)*/
	font-weight: bold;
	color: #f7f7f7;		/*文字色*/
	letter-spacing: 0.2em;	/*文字間隔を少し広くとる設定*/
}
/*スマホ用メニューを表示させない*/
#menubar-s, #menubar-s2 {display: none;}

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

/*ドロップダウンメニューの親メニュー*/
#menubar a.cursor-default {
	cursor: default;	/*マウスオーバー時に通常のカーソルになるように*/
	color: #fff;		/*文字色*/
}

/*ドロップダウンメニュー用
----------------------------------------------------------------------------------------------------------------------------------*/
/*メニューブロック*/
#menubar ul.ddmenu {
	position:fixed;visibility: hidden;z-index: 10;
	left: 0;
	width: 100%;
	padding: 10px 3%;
	background: #f5f5f5;	/*背景色。古いブラウザ用。*/
	opacity: 0.9;	/*透明度。70%色がついた状態。*/
	text-align: center;	/*テキストをセンタリング*/
	border-bottom: 1px solid #fff;	/*境界が見辛いので、下線の設定。*/
}
/*ドロップダウンメニューの出現アニメーション*/
#menubar li:hover ul.ddmenu {
	animation-name: opa1;		/*keyframes.cssで使う@keyframesの指定*/
	animation-fill-mode: both;
	animation-duration: 0.8s;	/*アニメーションを実行する時間。「s」は秒の事。*/
	animation-delay: 0.1s;		/*出現するタイミング（秒後）*/
}
/*メニュー１個あたりの設定*/
#menubar ul.ddmenu li {
	float: none;
	width: auto;
	display: inline-block;
	font-size: 60%;	/*文字サイズ*/
}
#menubar ul.ddmenu li a {
	height: 5px;
	padding: 5px;	/*メニューテキスト同士の余白*/
	color: #2b2b2b;	/*文字色*/
	opacity: 0.9;	/*透明度。70%色がついた状態。*/
}
#menubar ul.ddmenu li a { 
  text-decoration: underline;
}
/*マウスオン時*/
#menubar ul.ddmenu li a:hover {
	opacity: 0.4;		/*透明度。色が100%出た状態。*/
}

/*fixmenu設定（メニューが画面上部に到達した際のスタイル）
---------------------------------------------------------------------------*/
/*上部固定メニュー用fixmenu設定*/
body.is-fixed-menu #menubar.nav-fix-pos {
	position: fixed;width: 100%;top: 0;
	height: 60px;	/*メニューの高さを少し狭くする*/
}
body.is-fixed-menu #contents {
	margin-top: 100px;	/*※上の「#menubar ul li a」の注意書きにある数字を指定します。*/
}
/*※以下の２ブロックのスタイルの「中身」は、上の２ブロックのスタイルと単純に合わせておいて下さい。*/
body.is-fixed #menubar.nav-fix-pos {
	position: fixed;width: 100%;top: 0;
}
body.is-fixed #contents {
	margin-top: 100px;	/*※上の「#menubar ul li a」の注意書きにある数字を指定します。*/
}

/*装飾文字を非表示にする*/
body.is-fixed-menu #menubar ul li span {
	display: none;
}
/*メニューテキストの上下バランスを調整しなおす。２つの数字の合計と、「body.is-fixed-menu #menubar.nav-fix-pos」の「height: 60px;」の数字が合うようにして下さい。*/
body.is-fixed-menu #menubar ul li a {
	height: 50px;
	padding-top: 10px;
}
/*ドロップダウンメニューへの再設定*/
body.is-fixed-menu #menubar ul.ddmenu li a {
	padding: 5px;
	height: auto;
}


/*コンテンツ
---------------------------------------------------------------------------*/
#contents {
	padding: 0 0 50px;	/*上、左右、下へのコンテンツ内の余白*/
	position: relative;
	animation-name: opa2;	/*keyframes.cssで使う@keyframesの指定*/
	animation-duration: 0.5s;	/*アニメーションの実行時間*/
	animation-delay: 0.5s;		/*出現するタイミング（秒後）*/
	animation-fill-mode: both;
}

/*段落タグ*/
#contents p {
	padding: 0 3% 30px;	/*上、左右、下への余白*/
}
#contents h2 + p,
#contents h3 + p {
	margin-top: -5px;
}
#contents p + p {
	margin-top: -10px;
}
#contents section + section {
	margin-top: 100px;
}
/* デフォルトは横並び（PCなど） */
h3 {
  display: flex;
  align-items: center;
  gap: 8px; /* 画像とテキストの間隔を少し空ける */
}

/* モバイル（幅768px以下）では縦並びにする */
@media screen and (max-width: 768px) {
 .section {
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }
}

/*フッター設定
---------------------------------------------------------------------------*/
footer {
	clear: both;position: relative;z-index: 1;
	font-size: 80%;	/*文字サイズ*/
	background:  #d1390f;	/*背景色*/
	color: #ccc;		/*文字色*/
	text-align: center;
}
footer a {color: #ccc;}
footer a:hover {color: #fff;}
footer .pr {display: block;font-size: 80%;}

/*フッターメニュー
---------------------------------------------------------------------------*/
/*ボックス全体*/
#footermenu {
	overflow: hidden;
	padding: 50px 0;	/*上下、左右へのボックス内の余白*/
	background: url(../images/footer_logo.png) no-repeat right center / 20%;	/*背景画像の読み込み。*/
}
/*リンクテキスト*/
#footermenu li a {
	text-decoration: none;
	opacity: 0.7;	/*透明度。70%の色がついた状態。*/
}
/*マウスオン時*/
#footermenu li a:hover {
	opacity: 1;		/*透明度。100%色がついた状態。*/
}
/*１行分の設定*/
#footermenu ul {
	float: left;	/*左に回り込み*/
	width: 18%;		/*幅*/
	padding-right: 1%;
	padding-left: 1%;
	text-align: left;
}
/*見出し*/
#footermenu li.title, #footermenu li.title a {
	opacity: 1;	/*透明度。100%色がついた状態。*/
}

/*コピーライト
---------------------------------------------------------------------------*/
#copyright {
	clear: both;
	text-align: center;
	background:#d1390f;	/*背景色*/
	padding: 20px 0;	/*上下、左右へのボックス内の余白*/
}
#copyright a {text-decoration: none;}

/*facebookやtwitterなどのアイコン
---------------------------------------------------------------------------*/
/*アイコン全体を囲むブロック*/
ul.icon {
	margin-bottom: 20px;
}
/*アイコン１個あたりの設定*/
ul.icon li {
	display: inline-block;	/*横並びにさせる指定*/
}
/*アイコン画像の設定*/
ul.icon img {
	width: 30px;		/*画像の幅*/
}
ul.icon img:hover {
	opacity: 0.8;
}

/*「ニュース・お知らせ」ブロック
---------------------------------------------------------------------------*/
#news {
  background-color: #F52028;
  padding: 40px 20px;
  margin: 40px auto;
  max-width: 1200px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* セクション見出し */
#news h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #fff;
}
#news h3 {
  color: #fff;
}
/* ニュース一覧 */
#news ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 各ニュース項目 */
#news li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #ccc;
  transition: background-color 0.3s;
}

#news li:hover {
  background-color: #e8f0f7;
}

/* 日付 */
#news li .date {
  font-size: 0.95rem;
  color: #fff;
  min-width: 120px;
  text-align: left;
  font-weight: bold;
}

/* 見出しリンク */
#news li a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  flex: 1;
  margin-left: 20px;
  transition: color 0.3s;
}

#news li a:hover {
  color: #0077b6;
}

/* スマホ向けレスポンシブ */
@media screen and (max-width: 768px) {
  #news li {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #news li .date {
    margin-bottom: 5px;
    text-align: center;
  }

  #news li a {
    margin-left: 0;
  }
}



/*ヘッダーにメニューが固定される分、リンク先が隠れるのを防ぐ為のスタイル。※ページ内へのリンクで使う。
---------------------------------------------------------------------------*/
.link {
	display: block;
	margin-top: -120px;
	padding-top: 120px;
}

/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
/*通常時のボタンは非表示*/
body .nav-fix-pos-pagetop a {display: none;}
/*fixmenu_pagetop.jsで設定している設定値になったら出現するボタンスタイル*/
body.is-fixed-pagetop .nav-fix-pos-pagetop a {
	display: block;text-decoration: none;text-align: center;
	width: 50px;		/*幅*/
	line-height: 50px;	/*高さ*/
	z-index: 1;
	position: fixed;
	bottom: 20px;	/*下から20pxの場所に配置*/
	right: 3%;		/*右から3%の場所に配置*/
	background: #666;	/*背景色（古いブラウザ用）*/
	background: rgba(0,0,0,0.6);	/*背景色。0,0,0は黒の事。0.6は60%色がついた状態。*/
	color: #fff;	/*文字色*/
	border: 1px solid #fff;	/*枠線の幅、線種、色*/
	animation-name: opa1;	/*keyframes.cssで使う@keyframesの指定*/
	animation-duration: 1S;	/*アニメーションの実行時間*/
	animation-fill-mode: both;	/*アニメーションの待機中は最初のキーフレームを維持、終了後は最後のキーフレームを維持。*/
}
/*マウスオン時*/
body.is-fixed-pagetop .nav-fix-pos-pagetop a:hover {
	background: #999;	/*背景色*/
}

/*ul.disc,olタグ
---------------------------------------------------------------------------*/
ul.disc {
	list-style: disc;
	padding: 0 3% 20px 6%;
}
ol {
	padding: 0 3% 20px 6%;
}

/*その他
---------------------------------------------------------------------------*/
.look {background: #fff;border: 1px solid #ccc;display: inline-block;padding: 0px 10px !important;border-radius: 4px;}
p.look {margin: 0 3%;}
.mb15,.mb1em {margin-bottom: 15px !important;}
.mb20 {margin-bottom: 20px !important;}
.mb30 {margin-bottom: 30px !important;}
.mb50 {margin-bottom: 50px !important;}
.clear {clear: both;}
.color1, .color1 a {color: #fff !important;}
.pr {font-size: 10px;}
.wl {width: 96%;}
.ws {width: 50%;}
.c {text-align: center !important;}
.r {text-align: right !important;}
.l {text-align: left !important;}
.fl {float: left;}
.fr {float: right;}
.big1 {font-size: 30px;}
.mini1 {font-size: 11px;display: inline-block;line-height: 1.5;}
.sh {display: none;}
}
