@charset "utf-8";


/* ==============================
   1. 基本リセット
   ============================== */
html, body {
  height: 100%;
  margin: 0;
}

body {
	font: 100%/1.4 "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS P Gothic", sans-serif;
	background: #FFF;
	margin: 0;
	padding: 0;
	color: #333;
}

ul, ol, dl { 
	padding: 0;
	margin: 0;
    list-style: none;
}
h1,h2,h3,h4, h5, h6, p {
	margin-top: 0;	
	padding-right: 15px;
	padding-left: 15px; 
}
a img {
	border: none;
}

a:link, a:visited {
  color:#00469F;
}

a:hover, a:active, a:focus {
	text-decoration: none;
	text-decoration: underline;
}


.container {
	width: 90%;
	max-width: 1040px;
	margin: 0 auto;
	background: #FFF;
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* 画面の高さに合わせる */}

.header {
	background: #FFF;
}


.content {
	padding-top: 10px;
	padding-right: 20px;
	padding-bottom: 10px;
	padding-left: 20px;
}

.content ul, .content ol { 
	padding: 0 15px 15px 40px; 
}






.clearfloat { /* このクラスは、#footer が #container から削除されているか取り出されている場合に、<br /> または空の div で、フローティングさせる最後の div に続く最後のエレメントとして (#container 内に) 配置できます。 */
	clear:both;
	height:0;
	font-size: 1px;
	line-height: 0px;
}


.logo-container {
  display: flex;
  justify-content: space-between; /* 左右に分ける */
  align-items: center;
}

.company-name {
	font-size: 1.2rem;
	font-weight: bold;
  color: #00469F;
}


/* ~~ フッター ~~ */
.footer {
	background:#004089;
	color: #FFF;
	padding-top: 30px;
	padding-bottom: 10px;
	margin: 0px;
	padding-right: 45px;
	padding-left: 45px;
	height: 288px;
	position: relative;
}



.fltrt { 
	float: right;
	margin-left: 8px;
}
.fltlft { 
	float: left;
	margin-right: 8px;
}

.footer #contactbtn {
	font-weight: bold;
	color: #004089;
	float: right;
	height: 45px;
	width: 245px;
	font-size: small;
	text-align: center;
	position: relative;
	letter-spacing: 0.2em;
	border: 1px solid #666;
	}


.btnbox {
	display: inline-block; /* 余白をつける */
	background-color: #FFF; /* 初期色 */
	text-decoration: none; /* 下線を消す */
	transition: background-color 0.2s ease; /* なめらか変化 */
	width: 165px;
	padding-top: 15px;
	padding-right: 40px;
	padding-bottom: 15px;
	padding-left: 40px;
}

.footer #contactbtn .btnbox:hover {
	background-color: #D5E7F6; /* オンマウス時の色 */
	text-decoration: none;
}



.footer #ftadress {
	font-size: 16px;
	color: #FFF;
	float: left;
	padding-top: 40px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 50px;
	width: 300px;
	margin: 0px;
	line-height: 1.8em;
}
.footer .p100 {
	clear: right;
	float: none;
	width: 100%;
}
.footer .ftmenu {
	font-size: 13px;
	line-height: 1.6em;
	font-weight: normal;
	color: #ceefff;
	float: right;
	width: 170px;
	padding-top: 50px;
	letter-spacing: 0.02em;
}

.footer .ftmenu a{
	color: #FFF;
	text-decoration: none;
}

.footer .ftmenu a:hover{
	color: #FFF;
	text-decoration: underline;
}
.footer .ftmenu ul li {
	padding-left: 0px;
}


.breadcrumb {
	list-style: none; /* リストの●を消す */
	display: flex;
	font-size: 11px;
	text-decoration: none;
	color: #004089;
	padding: 0;
	margin-left: 30px;
	margin-top: 20px;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li:not(:last-child)::after {
  content: "›"; /* 区切りマーク（>） */
  margin: 0 8px;
  color: gray;
}

.breadcrumb a {
  text-decoration: none; /* 下線を消す */
  color: #0073e6;
}

.breadcrumb a:hover {
  text-decoration: underline; /* ホバー時に下線をつける */
}



/* ~~ ページメイン ~~ */
.content h3 {
	font-weight: bold;
	color: #FFF;
	background-color: #004089;
	letter-spacing: 0.5em;
	text-align: center;
	padding-top: 15px;
	padding-bottom: 15px;
	font-size: 20px;
}

.content h2 img {
	width: 100%;
	margin-top: 15px;
	margin-bottom: 15px;
}

.content h4 {
	font-weight: bold;
	color: #004089;
	letter-spacing: 0.5em;
	text-align: center;
	padding-top: 15px;
	padding-bottom: 15px;
	font-size: x-large;
}


.content .subcontent {
	width: 95%;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 100px;
}

/* 追加画像：main02の50%幅、中央揃え（h4直下の配置用） */
.content > .img-wrap {
	width: 50%;
	margin: 15px auto;
}
.content > .img-wrap img {
	width: 100%;
	height: auto;
	vertical-align: top;
	display: block;
}
/* 段落下に配置する場合（.subcontent内） */
.content .subcontent .img-wrap {
	width: 52.63%;
	margin: 15px auto;
}
.content .subcontent .img-wrap img {
	width: 100%;
	height: auto;
	vertical-align: top;
	display: block;
}
.content h5 {
	font-size: large;
	color: #003e80;
	border-left-width: 35px;
	border-left-style: solid;
	border-left-color: #003e80;
	padding-left: 12px;
	padding-top: 5px;
	padding-bottom: 5px;
	letter-spacing: 0.3em;
	margin-top: 10px;
	margin-bottom: 20px;
}

.content h6 {
	font-size: large;
	color: #003e80;
	padding-left: 12px;
	padding-top: 5px;
	padding-bottom: 5px;
	letter-spacing: 0.3em;
	margin-top: 10px;
	margin-bottom: 20px;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #333;
}


.content .headtoptxt {
	line-height: 1.8em;
	padding-top: 10px;
	padding-bottom: 10px;
	margin-top: 5px;
	margin-bottom: 10px;
	width: 85%;
	margin-right: auto;
	margin-left: auto;
}

.content .headtxt {
	line-height: 1.8em;
	padding-top: 10px;
	padding-bottom: 10px;
	margin-top: 5px;
	margin-bottom: 10px;
}
.content hr.line {
	width: 100%;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #999;
	margin-top: 5px;
	margin-bottom: 20px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}


.grid-container {
	display: grid;
	grid-template-columns: 1fr 1fr; /* 2列 */
	gap: 20px; /* 間隔 */
	text-align: center;
	max-width: 100%;
	margin: auto;
	padding-top: 10px;
	padding-bottom: 10px;
}

.grid-container_t2r {
	display: grid;
	grid-template-columns: 1fr 1fr; /* 2列 */
	gap: 100px; /* 間隔 */
	max-width: 100%;
	padding-top: 10px;
	padding-bottom: 10px;
	line-height: 1.7em;
	font-size: 17px;
	text-align: justify;
	margin: auto;
}

.grid-container_t2r .item .txt {
	text-align: left;
	font-size: medium;
	letter-spacing: 0em;
}



.grid-container3r {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* 3列 */
    gap: 15px; /* 間隔 */
    text-align: center;
    max-width: 100%;
    margin: auto;
	padding-top: 10px;
	padding-bottom: 10px;
}


.grid-container4r {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr; /* 4列 */
    gap: 15px; /* 間隔 */
    text-align: center;
    max-width: 100%;
    margin: auto;
	padding-top: 10px;
	padding-bottom: 10px;
}


.item img {
    width: 100%; /* 画像を親要素に合わせる */
    height: auto;
}

.item p {
	margin-top: 5px;
	font-size: small;
	letter-spacing: 0.3em;
}

.cap {
	margin-top: 5px;
	font-size: small;
	letter-spacing: 0.3em;
}





/* ~~ ページトップに戻る ~~ */
#pagetop {
	font-weight: bold;
	color: #004089;
	text-align: right;
	font-size: 14px;
	margin-right: auto;
	margin-left: auto;
	padding-right: 20px;
	margin-top: 20px;
}

#pagetop a{
	text-decoration: none;
}

#pagetop a:hover{
	text-decoration: underline;
}





/* margin,padding
--------------------------------------------------------------------*/

html,
body,
h1,h2,h3,h4,h5,h6,hr,
div,
p,
pre,
address,
blockquote,
ul,
ol,
dl,
dt,
dd,
form,
fieldset {
	display: block;
	margin: 0;
	padding: 0;
}



/*
--------------------------------------------------------------------*/
.subsubcontent {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

#pagecontacttop {
	padding-top: 50px;
	padding-bottom: 50px;
	background-color: #d5e7f6;
	text-align: center;
	margin-top: 10px;
}


#pagecontact {
	padding-top: 15px;
	padding-bottom: 20px;
	background-color: #d5e7f6;
	text-align: center;
	margin-top: 10px;
}

#pagecontact p {
	padding-top: 10px;
	padding-bottom: 5px;
}
#pagecontact .con_large {
	font-size: xx-large;
	font-weight: bold;
	color: #003e80;
}


#pagecontact #contactbtn {
	font-weight: bold;
	color: #004089;
	height: 45px;
	width: 245px;
	font-size: small;
	text-align: center;
	letter-spacing: 0.3em;
	float: none;
	margin-right: auto;
	margin-left: auto;
	position: relative;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	}


#pagecontact .btnbox:hover {
	background-color: #003e80; /* オンマウス時の色 */
	text-decoration: none;
	color: #d5e7f6;
}



#pagecontacttop .btnbox:hover {
	background-color: #003e80; /* オンマウス時の色 */
	text-decoration: none;
	color: #d5e7f6;
}


/* 左側のテキスト */
.text-area {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 250px;
}
.content #pagecontact #contactbtn {
	margin-top: 10px;
}


.text-block h1 {
	margin: 0;
	font-size: 16px;
}


.text-block p {
	color: #333;
	font-size: 14px;
	margin-top: 5px;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0;
	padding-bottom: 20px;
}

/* 右側の画像（2列） */
.image-container {
    display: flex;
    gap: 10px;
    flex: 1;
    max-width: 400px;
}

.image-box {
    text-align: center;
    flex: 1;
}

.image-box img {
    width: 100%;
    height: auto;
}

.image-box p {
    margin-top: 5px;
	font-size: small;
    color: #333;
}


/* トップページ　画像 */
.hero {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
	padding-bottom: 30px;
}

.hero-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* テキストを左寄せ＆少し余白 */
.hero-text {
  position: absolute;
  top: 3%; /* 上からの位置を調整 */
  left: 20px;
  padding-top: 13px;
  padding-bottom: 13px;
  color: white;
  text-align: center;
  text-shadow: 0 px 3px rgba(255, 255, 255, 0.8);
  max-width: 53%;
  font-family: "Hiragino Mincho ProN", "游明朝", "Yu Mincho", "MS P明朝", serif;
  z-index: 2;  /* ← 追加 */
}

.hero-text .top {
  font-size: 2.5rem;
  margin: 0 0 20px;
}

.hero-text p {
  font-size: 1rem;
  margin: 0;
}


.contact-buttons {
  display: flex;
  gap: 20px; /* ボタンの間にスペースを空ける */
  justify-content: center; /* 中央寄せ（必要に応じて変更） */
  margin-top: 20px;
}


/*採用ページ*/
.rc-boxes {
	display: flex;
	gap: 40px;
	padding: 20px;
	justify-content: center;
	margin-top: 30px;
  }

.rc-box {
  border: 7px solid #004089;
  width: 400px;
  height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  }

.rc-content {
	background-color: white;
	padding: 25px;
	font-size: xx-large;
	color: #004089;
	font-weight: bold;
	display: flex;
	align-items: center;
}

.rc-action {
  background-color: #004089;
  text-align: center;
}

.rc-action a {
	display: block;
	padding: 20px;
	font-size: x-large;
	color: white;
	text-decoration: none;
	transition: background-color 0.3s, color 0.3s;
	letter-spacing: 0.4em;
}

.rc-action a:hover {
  background-color: #e0f0ff;
  color: #004089;
}


.qa-section {
  display: flex; 
  gap: 40px;  
  align-items: flex-start;  
  padding: 40px 20px;
  flex-direction: row-reverse; 
  }

.qa-image img {
  width: 350px;  /* 画像の幅を大きめに設定 */
  height: auto;  /* 高さは自動調整 */
  object-fit: cover;  /* 画像が枠内で切れないように調整 */
}

.qa-content {
  max-width: 650px;  /* テキスト部分の最大幅 */
  text-align: left;       /* ← これを追加！ */
  justify-content: flex-start; /* 念のため追加 */}


.qa-item {
	margin-bottom: 20px;  /* 各質問間に余白を追加 */
	width: 500px;
}

.qa-item .qa-q {
	font-weight: bold;
	color: #004089;
	margin-top: 25px;
	margin-bottom: 20px;
}


.qa-q,
.qa-a {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}


.qa-link {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding-top: 30px;
	color: #004089;
	padding-left: 10px;
}

.qa-link-top {
    padding-bottom: 4px;
}

.qa-link-close {
    padding-top: 4px;
} 



.qa-link a {
	text-decoration: none;
}

.qa-link a:hover{
	text-decoration: underline;
}



.qa-label {
  font-weight: bold;
  color: #004089;
}

.qa-label.answer {
  color: #004089;
}

.qa-question {
  font-weight: bold;
  color: #004089;
  margin: 0;
}






/*お問い合わせ*/

.contact-wrapper {
  display: flex;
  gap: 40px;
  justify-content: center;
  padding: 40px 0;
  flex-wrap: wrap;
}

.contact-column {
  width: 250px;
}


.contact-column.first .contact-title {
	background-color: #004089;  /* 青背景 */
	color: white;
	font-weight: bold;
	padding-top: 20px;
	padding-right: 10px;
	padding-bottom: 20px;
	padding-left: 20px;
}

.contact-column.second .contact-title {
	background-color: #004089;  /* 青背景 */
	color: white;
	font-weight: bold;
	padding-top: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
	padding-left: 20px;
}

.contact-title {
  font-weight: bold;
  
  color: #004089;
  margin-bottom: 8px;
}
.contact-title a {
	color: #FFF;
}

.contact-title a:hover, a:active, a:focus {
	color: #D5E7F6;
}


.contact-dept {
	margin-bottom: 10px;
	text-align: center;
	background-color: transparent;  /* 背景なし */
	border: none;  /* 枠なし */
	margin-top: 20px;
}

.contact-phone {
	margin-bottom: 6px;
	text-align: center;
	background-color: transparent;  /* 背景なし */
	border: none;  /* 枠なし */
	font-size: x-large;
	color: #004089;
	font-weight: bold;
}


/*カード*/
.card-section {
  display: flex; 
  gap: 40px;  
  align-items: flex-start;  
  padding: 10px 20px;
  flex-direction: row-reverse; 
  }


/*メンテナンス*/

.qa-mente {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 30px;
  justify-content: start; /* ← 左寄せに */
  align-items: start;
}

.mente {
  margin: 0;
  font-weight: bold;
  display: flex;
  align-items: center;
}

.qa-mente {
	display: grid;
	grid-template-columns: 1fr 1fr;  /* 2列に分ける */
	gap: 10px 30px;                  /* 縦横の間隔 */
	width: 500px;
}

.mente2 {
  margin: 0;
  font-weight: bold;
  display: flex;
  align-items: left;
}

.mente-content .mente-item {
	margin-bottom: 30px;
	padding-left: 30px;
}

.mente-item .qa-q {
	font-weight: bold;
	margin-top: 25px;
	margin-bottom: 10px;
}

/*トップページ*/



.image-link {
	text-decoration: none;
	text-decoration: underline;
}



.image-link img {
  transition: opacity 0.3s ease; /* 変化をスムーズに */
}

.image-link:hover img {
  opacity: 0.7; /* ホバー時に半透明に（0～1の間で指定） */
}



/*企業情報*/


.president-block {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.president-photo {
  width: 220px;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

.president-text {
  flex: 1;
  min-width: 260px;
}

.signature {
  margin-top: 1.5em;
  font-weight: bold;
}

.rinen ol {
	padding-left: 1.5em;
	line-height: 2em;
	font-weight: bold;
}


table.gaiyo {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1em;
}

table.gaiyo th,
table.gaiyo td {
  border: 1px solid #ccc;
  padding: 20px;
  vertical-align: top;
}

table.gaiyo th {
  background-color: #D5E7F6;
  width: 30%;
  text-align: left;
  letter-spacing: 0.5em;
}

table.gaiyo th.sm {
  letter-spacing: 0.1em;
}

table.gaiyo tr td.jms {
  border-right: none !important;
}

table.gaiyo td.jms + td {
  border-left: none !important;
}

.history-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5em;
}

.history-table th,
.history-table td {
	border: none;
	vertical-align: top;
	padding-top: 15px;
	padding-right: 12px;
	padding-bottom: 15px;
	padding-left: 12px;
}

.history-table th {
  font-weight: bold;
  width: 100px;
   border-bottom: none;
}

.history-table td {
  width: auto;
   border-bottom: none;
}

.history-table tr {
	border-bottom: 1px solid #ccc;
	padding-top: 10px;
	padding-bottom: 10px;
}



.president-photo-block {
  text-align: center;
  max-width: 240px;
}


.president-text{
	line-height: 1.7em;
}

.president-photo {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

.president-photo-block figcaption {
  margin-top: 10px;
  font-size: 0.95em;
  color: #444;
}


p.rine-h3{
	font-size: x-large;
	font-weight: bold;
}
p.rine-txt{
	line-height: 1.7em;
}

p.seitei {
	text-align: right;
}







/*プライバシーポリシー*/


.potxt {
	line-height: 1.8em;
	padding-top: 10px;
	padding-bottom: 10px;
	margin-top: 5px;
	margin-bottom: 10px;
	margin-right: auto;
	margin-left: auto;
	padding-left: 20px;
}


.with-number {
  list-style: decimal;
  margin-left: 1.5em; 
  line-height: 1.8;
  }


.with-paren {
  list-style: none;
  counter-reset: sub-item;
  margin-top: 0.5em;
  margin-left: 1.5em;
  line-height: 1.8;
  }

.with-paren li {
  counter-increment: sub-item;
  position: relative;
  padding-left: 2em;
}

.with-paren li::before {
  content: "(" counter(sub-item) ")";
  position: absolute;
  left: 0;
  color: #333;
}


/* レスポンシブ対応 */
@media screen and (max-width: 768px) {

    .container {
        flex-direction: column;
    width: 100%;
	       /* text-align: center;*/
    }

    /* 画像を下に持ってくる */
    .image-container {
        flex-direction: column;
        max-width: 100%;
    }

    .image-box {
        width: 100%;
    }

/* 3列の表。スマホでは1列表示 */
.grid-container3r,
  .grid-container4r,
  .grid-container_t2r {
    grid-template-columns: 1fr;
    max-width: 90%;
  }
  
  .hero-text {
    max-width: 90%;
    font-size: 0.9rem;
  }

  .hero-text .top {
    font-size: 2rem;
  } 
  .contact-buttons {
    flex-direction: column;
    align-items: center;
  }

  .footer {
    padding: 20px;
    height: auto;
  }

  .footer .ftmenu {
    float: none;
    width: 100%;
    margin-top: 20px;
  }

  #ftadress {
    width: 100%;
    float: none;
    padding: 20px;
  }

  .logo-container {
    flex-direction: column;
    align-items: flex-start;
  } 
   .hero {
    height: auto;
  }
  .hero-image {
    height: auto;
  }
  
  
    .rc-boxes {
    flex-direction: column;
  }

  .rc-box {
    width: 100%;
  }

.qa-section {
    flex-direction: column; /* スマホでは縦並びに */
    align-items: center;    /* 中央寄せ（お好みで） */
  }

  .card-section {
    flex-direction: column; /* スマホ：縦に並べる */
    align-items: center;    /* 中央寄せ（お好みで） */
  }

  .qa-image img {
    width: 100%; /* スマホでは画像を幅いっぱいに */
    max-width: 350px; /* 最大サイズはキープ */
  }

  .qa-content {
    max-width: 100%;
    width: 100%;
    padding: 0 10px;
  }

  .qa-item {
    width: 100%; /* 固定幅を解除して可変に */
  }

  
  .content-reverse {
    flex-direction: column;
    align-items: center;
  }

  .content-reverse .image-container,
  .content-reverse .text-area {
    width: 100%;
    max-width: 100%;
  }

  .content-reverse .image-container {
    order: -1;
  }
 
  table.gaiyo {
    display: block;
    width: 100%;
  }

  table.gaiyo tr {
    display: block;
  }

  table.gaiyo th, table.gaiyo td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  table.gaiyo th {
    font-weight: bold;
    background-color: #d5e7f6;
  }

  table.gaiyo td {
    position: relative;
  }
 
 
 table.gaiyo tr td.jms {
    border-right: 1px solid #ddd !important; /* 適宜色や太さを調整 */
  }

  table.gaiyo td.jms + td {
    border-left: 1px solid #ddd !important; /* 適宜色や太さを調整 */
  }
  
  
    table.history-table {
    display: block;
    width: 100%;
  }

  table.history-table tr {
    display: block;
  }

  table.history-table th, table.history-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  table.history-table th {
	font-weight: bold;
	text-align: left;
  }

  table.history-table td {
    position: relative;
  }

  
 .hero-text {
    top: 5%;
    left: 5%;
    right: 5%;
    font-size: 0.95rem;
    max-width: 90%;
  }

  .hero-text .top {
    font-size: 1.2rem;
  }
  .hero-image {
    height: 55vh;
    object-fit: cover;
  object-position: 40% center;	
  }  
  
  }



#mentebv {
	text-align: left;
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 30px;
}

.news-card-title {
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
  }
  
  .news-card-body {
	display: none;
	padding: 10px 0;
  }
  
  .news-card-body.open {
	display: block;
  }
  
  .news-arrow {
	transition: transform 0.3s;
  }
  
  .news-card-title:has(+ .news-card-body.open) .news-arrow {
	transform: rotate(180deg);
  }

  /* お知らせセクション */
  #news-section {
	max-width: 1040px;
	width: 100%;
	margin: 40px auto;
	padding: 0;
	box-sizing: border-box;
  }
  
  #news-section h2 {
	background-color: #1a3a6b;
	color: #fff;
	text-align: center;
	padding: 16px;
	font-size: 1.1rem;
	letter-spacing: 0.3em;
	margin-bottom: 0;
  }
  
  /* カード全体 */
  .news-card {
	border-bottom: 1px solid #ddd;
  }
  
  /* タイトル行 */
  .news-card-title {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 16px;
	background-color: #fff;
	cursor: pointer;
	transition: background-color 0.2s;
  }
  
  .news-card-title:hover {
	background-color: #f5f7fa;
  }
  
  .news-card-title p {
	margin: 0;
	font-size: 0.95rem;
	color: #333;
	border-left: 1px solid #1a3a6b;
	padding-left: 10px;
  }
  
  /* 矢印 */
  .news-arrow {
	font-size: 0.8rem;
	color: #1a3a6b;
	transition: transform 0.3s;
	flex-shrink: 0;
	margin-left: 10px;
  }
  
  .news-card-title:has(+ .news-card-body.open) .news-arrow {
	transform: rotate(180deg);
  }
  
  /* 本文 */
  .news-card-body {
	display: none;
	padding: 16px 20px;
	background-color: #f9f9f9;
	font-size: 0.9rem;
	color: #555;
	line-height: 1.8;
	margin: 0 16px ０px;
  }
  
  .news-card-body.open {
	display: block;
  }
  
  .news-card-body small {
	display: block;
	margin-top: 10px;
	color: #999;
	font-size: 0.8rem;
  }

  /* お知らせ本文内の画像 */
.news-card-body img {
	max-width: 100%;
	height: auto;
  }

  .news-card-title-inner {
	display: flex;
	align-items: center;
	gap: 16px;
  }
  
  .news-date {
	color: #1a3a6b;
	font-size: 0.85rem;
	white-space: nowrap;
	flex-shrink: 0;
  }

  #news-pagination {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 16px;
  }
  
  .pagination-btn {
	width: 36px;
	height: 36px;
	border: 1px solid #1a3a6b;
	background-color: #fff;
	color: #1a3a6b;
	cursor: pointer;
	font-size: 0.9rem;
	transition: background-color 0.2s, color 0.2s;
  }
  
  .pagination-btn:hover {
	background-color: #1a3a6b;
	color: #fff;
  }
  
  .pagination-btn.active {
	background-color: #1a3a6b;
	color: #fff;
  }

  /* ~~ 注意書き ~~ */
.qa-note p {
    color: #333;        /* 赤文字 */
    font-size: 0.85em;     /* 本文より少し小さく */
    line-height: 1.7em;
    padding-left: 0px;
    margin-top: 15px;      /* 上に余白を設けて分離 */
    margin-bottom: 0;
}

.news-category {
	display: inline-block;
	background-color: #1a3a6b;
	color: #fff;
	font-size: 0.75rem;
	padding: 2px 10px;
	white-space: nowrap;
	flex-shrink: 0;
  }

/*
.hero-text {
    background-color: rgba(0, 0, 0, 0.45);
    padding: 20px 24px;
    border-radius: 4px;
}
*/

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

	/* 既存のコードの末尾に追加 */
  
	.news-card-title-inner {
	  flex-direction: column;
	  align-items: flex-start;
	  gap: 6px;
	}
  
	.news-card-title p {
	  border-left: none;
	  padding-left: 0;
	  font-size: 0.9rem;
	}
  
	.news-date {
	  font-size: 0.8rem;
	}
  
	.news-category {
	  font-size: 0.75rem;
	}
  
	.news-card-title {
	  padding: 12px;
	  align-items: flex-start;
	}
  
  }

  .hero-text .top {
	font-size: 2.5rem;
	margin: 0 0 0px;
	font-family: "游明朝", "Yu Mincho", "MS P明朝", serif;
	color: #004089;
  }
  
  .hero-text .sub {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
	color: #004089;
	font-size: 1rem;
  }

  .hero::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.0);
	pointer-events: none;
	z-index: 1;  /* ← 追加 */
  }

  .hero-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 14%;  /* ← これを追加 */
}

.president-photo-block {
    display: none;
}