html, body {
  padding: 0;
  margin: 0;
	background: #f4f8fa;
  height: 100%;
  font-family: 'Noto Sans JP', 'sans-serif';
	font-size: 13pt;
	font-weight: 100;
  color: #231815;
  display: flex;
  flex-flow: column;
}
* {
  box-sizing: border-box;
}
@media screen and (max-width: 700px) {
  body {
    padding: 0;
  }
}


/* header */
header{
  width:98%;
  max-width:1040px;
  margin: 10px auto;
  text-align: center;
}
header h1{
  text-align: center;
  font-size: 32px;
  vertical-align: middle;
  line-height: 66px;
  display: inline;
}
header img{
  display: block;
  text-align: left;
  width: 350px;
}


@media screen and (max-width: 700px) {
  header{
    padding:5px 0 15px 0;
    margin: 0 auto;
  }
  header img{
    width: 180px;
  }
  header h1{
    padding: 15px 0 0 0;
    font-size: 24px;
    vertical-align: top;
    line-height: 20px;
  }
}

main {
  flex-grow: 1;
}

.page{
  /*background-color: #fff;*/
  width:100%;
  padding: 0 50px 50px;
  display: flex;
  justify-content: center; /* 水平方向の中央寄せ */
}


.button a {
  background: #004285;
  border-radius: 3px;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 20px auto;
  width: 400px;
  max-width: 400px;
  padding: 10px 25px;
  font-family: "Noto Sans Japanese";
  color: #fff;
  line-height: 1.8;
  text-decoration: none;
  transition: 0.3s ease-in-out;
  font-weight: 500;
  border:#004285 1px solid;
}
.button a:hover {
  background: none;
  color: #004285;
  border:#004285 1px solid;
  border-radius: 3px;
}
.button a:after {
  content: '';
  width: 5px;
  height: 5px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(45deg) translateY(-50%);
  position: absolute;
  top: 50%;
  right: 20px;
  border-radius: 1px;
  transition: 0.3s ease-in-out;
}
.button a:hover:after {
  border-color: #FFF;
  border-top: 3px solid #004285;
  border-right: 3px solid #004285;
}

@media screen and (max-width: 700px) {
  .button a{
    width: 100%;
  }
}

.button2 a {
  background: #004285;
  border-radius: 3px;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 20px auto;
  width: 400px;
  max-width: 400px;
  padding: 10px 25px;
  font-family: "Noto Sans Japanese";
  color: #fff;
  line-height: 1.8;
  text-decoration: none;
  transition: 0.3s ease-in-out;
  font-weight: 500;
  text-align: center;
  border:#004285 1px solid;
}
.button2 a:hover {
  background: none;
  color: #004285;
  border:#004285 1px solid;
  border-radius: 3px;
}
.button2 a:after {
  content: '';
  width: 5px;
  height: 5px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(45deg) translateY(-50%);
  position: absolute;
  top: 50%;
  right: 20px;
  border-radius: 1px;
  transition: 0.3s ease-in-out;
}
.button2 a:hover:after {
  border-color: #004285;
}

@media screen and (max-width: 700px) {
  .button2 a{
    width: 100%;
  }
}

.button-back a {
  background: #eee;
  border-radius: 3px;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 20px auto;
  width: 400px;
  max-width: 400px;
  padding: 10px 25px;
  font-family: "Noto Sans Japanese";
  color: #333;
  line-height: 1.8;
  text-decoration: none;
  transition: 0.3s ease-in-out;
  font-weight: 500;
}
.button-back a:hover {
  background: #333;
  color: #FFF;
}
.button-back a:before {
  content: '';
  width: 5px;
  height: 5px;
  border-top: 3px solid #333;
  border-left: 3px solid #333;
  transform: rotate(-45deg) translateY(-50%);
  position: absolute;
  top: 50%;
  left: 20px;
  border-radius: 1px;
  transition: 0.3s ease-in-out;
}
.button-back a:hover:before {
  border-color: #FFF;
}

@media screen and (max-width: 700px) {
  .button-back a{
    width: 100%;
  }
}


.button-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* ボタンを中央寄せ */
  gap: 20px; /* ボタン間の余白 */
}

.button3 a {
  background: #004285;
  border-radius: 3px;
  position: relative;
  display: block; /* block要素に変更 */
  margin: 60px auto 0; /* マージンを調整 */
  width: 400px;
  max-width: 400px;
  padding: 10px 25px;
  font-family: "Noto Sans Japanese";
  color: #fff;
  line-height: 1.8;
  text-decoration: none;
  transition: 0.3s ease-in-out;
  font-weight: 500;
  text-align: center;
}

.button3 a:hover {
  background: #333;
  color: #FFF;
}

.button3 a:after {
  content: '';
  width: 5px;
  height: 5px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(45deg) translateY(-50%);
  position: absolute;
  top: 50%;
  right: 20px;
  border-radius: 1px;
  transition: 0.3s ease-in-out;
}

.button3 a:hover:after {
  border-color: #FFF;
}
@media screen and (max-width: 700px) {
  .button-container {
    display: flex;
    flex-direction: column; /* 縦並びに変更 */
    align-items: center;    /* 縦並びで中央寄せ */
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;        /* 左右にパディングを追加 */
    box-sizing: border-box; /* パディングを含めた幅にする */
  }
  .button-container .button3 {
    width: 100%;
    max-width: 400px;       /* 必要に応じて最大幅を設定 */
    margin-bottom: 10px;    /* ボタン間の間隔を設定 */
  }
  .button-container .button3 a {
    display: block;         /* aタグをブロック要素にする */
    width: 100%;
    box-sizing: border-box; /* パディングを含めた幅にする */
    text-align: center;     /* テキストを中央寄せ */
  }
}

body{
  vertical-align:middle; 
  padding-top: 50px;
  max-width: 100%; /* 親要素の幅を100%に設定 */
  overflow-x: hidden; /* 横スクロールを防ぐ */
}

p {
  word-wrap: break-word; /* 長い単語やURLを折り返す */
  word-break: break-all; /* 長い単語を適切に折り返す */
}

@media screen and (max-width: 700px) {
  p {
    padding: 0 1rem; /* スマホでのパディングを追加 */
  }
}

/* Font Awesome の読み込み */
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"
        integrity="sha512-iecdL8w4CViC38wXp5sE3V+34ptG5hsDOaE8O+jG8UTK/eHq7doLid10+8vkBzEYmPu8v+69KVaBeVvB41w=="
        crossorigin="anonymous" referrerpolicy="no-referrer" />

.external-link::before {
  content: '\f08e'; /* Font Awesome の外部リンクアイコン */
  margin-right: 5px;
  font-family: 'Font Awesome 6 Free'; /* Font Awesome のフォントを指定 */
  display: inline-block; 
  /* または、Font Awesome のアイコンクラスを直接適用 */
  /* class: 'fas fa-external-link-alt'; */
}

/* tab */
.tab-wrap {
  flex-grow: 1; /* 追加 */
  /*height: 1500px;　削除*/
  width:98%;
  max-width:1040px;
  margin: 0px auto 60px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  padding: 0 1rem; /* 左右にパディングを追加 */
  box-sizing: border-box; /* パディングを含めた幅にする */
}
.tab-label {
  width: 190px;
  color: #ffffff;
  background: #96bbd0;
  font-weight: bold;
  white-space: normal;
  font-size: 13.5pt;
  text-align: center;
  border:1px solid #004285;
  border-radius: 4px 0 0 4px;
  margin: 5px -1px 5px 1px;
  padding: 15px .5em;
  order: -1;
  position: relative;
  z-index: 1;
  cursor: pointer;
  float:left;
}
.tab-content {
  display:none;
}
@media screen and (max-width: 700px) {
  .tab-label {
    width: 100px;
    min-height: 100px;
    padding: 20px 5px;
    font-size: 13pt;
    display: flex;
    align-items: center;
  }
}


/* active-tab */
.tab-switch:checked+.tab-label {
  color: #004285;
  background: #ffffff;
  border-right-color: #ffffff;
}
.tab-switch:checked+.tab-label+.tab-content {
  width: calc(100% - 190px); /* - tab-width */
  height: 100%;
  padding: 10px 40px;
  border-left: 1px solid #004285;
  background: #ffffff;
  display:block;
}
@media screen and (max-width: 700px) {
  .tab-switch:checked+.tab-label+.tab-content {
    width: calc(100% - 90px); /* - tab-width */
    padding: 10px;
  }
  h2 {
    font-size: 24px;
  }
}

ol.tab-list{
  counter-reset:list;
  list-style-type:none;
  padding:0;
  margin: 0 0 30px 0;
}
ol.tab-list li{
  position:relative;
  padding: 0 0 0 10px;
  margin: 7px 0;
  font-weight: normal;
  font-size:15.5px;
  letter-spacing:0.8px;
  line-height: 30px;
  border-bottom: dashed 1px #6591B5;
}

ol.tab-list li:before{
  content: '';/*何も入れない*/
  background-image: url(assets/img/icon_pdf.png);
  background-repeat: no-repeat;
  display: inline-block;/*忘れずに！*/
  width: 33px;/*画像の幅*/
  height: 24px;/*画像の高さ*/
  background-size: contain;
  vertical-align: middle;
}

/* 三角非表示
ol.tab-list li:before{
  counter-increment: list;
  content: "";
  display: block;
  position: absolute;
  left: 0px;
  height: 0;
  width: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid #6591B5;
  top: 50%;
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}*/

/* hide-radiobutton */
.tab-switch {
  display: none;
}

.footer-wrapper { /* フッターを囲む要素 */
  overflow: hidden;
}

footer {
  background: #004285;
  width: 100%;
  /* height: 210px; 必要に応じて調整 */
  text-align: center;
  /* margin-top: 10px; 削除 */
  padding: 20px 0 10px 0;
  color: #ffffff;
  /* position: static; 削除 */
  /* bottom: 0; 削除 */
}
footer img{
  width:260px;
}
footer a{
  text-decoration:none;
  color: #ffffff;
}

.contact {
  height:50px;
  border-spacing: 10px;
  text-align: center;
  margin:3px auto;
}
.contact img {
  width:60px;
}
.contact h2 {
  margin:0 0 5px 0;
  font-size: 27px;
}
.contact h2 img{
  width: 20px;
}

.contact td:nth-of-type(1) {
  border: 1px solid #ffffff;
  font-size: 16px;
  padding:10px;
}
.contact td:nth-of-type(2) {
  font-size: 12px;
}
.contact td:nth-of-type(3) {
  text-align: left;
}
footer small{
  font-size: 11px;
}

@media screen and (max-width: 700px) {
  footer {
    height:160px;
  }
  footer img{
    width:190px;
  }
  .contact {
    margin:0 auto;
  }
  .contact h2 {
    font-size: 24px;
  }
  .contact td:nth-of-type(1) {
    display: none;
  }
  footer small{
    display: none;
  }
}
.breadcrumb {
  margin-top: 10px;
  padding: 0;
  list-style: none;
}

.breadcrumb li {
  display: inline;/*横に並ぶように*/
  list-style: none;
  font-size:15px;
}

.breadcrumb li:after {/* >を表示*/
  content: '>';
  padding: 0 0.2em;
  color: #555;
}

.breadcrumb li:last-child:after {
  content: '';
}

.breadcrumb li a {
  text-decoration: none;
  color: #52b5ee;/*色*/
}

.breadcrumb li a:hover {
  text-decoration: underline;
}

/*PCでは無効（改行しない）*/
.br_sp{
  display: none;
}

/*スマートフォンでは有効（改行する）*/
@media screen and (max-width:768px) {
  .br_sp{
      display: block;
  }
}

/*topの点線*/
.tensen{
border-bottom: 4px dotted #000000;
}