@charset "utf-8";

@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP&display=swap');
/*windows代替*/


html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
main {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}

ul,
ol {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

body {
  font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "HiraKakuPro-W3", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, Verdana, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  margin: 0;
  font-size: 16px;
  color: #333;
  line-height: 1.8;
}

body * {
  box-sizing: border-box;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
  text-decoration: none;
}

img {
  max-width: 100%;
  vertical-align: top;
}

.sp_only {
  display: none;
}

.pc_only {
  display: block;
}

.tab_sp_only {
  display: none;
}

@media only screen and (max-width: 1158px) {
  .tab_sp_only {
    display: block;
  }
}

@media only screen and (max-width: 768px) {
  .sp_only {
    display: block;
  }

  .pc_only {
    display: none;
  }
}

/* module
---------------------------------------------------------- */
/* media divide */
@media only screen and (min-width: 769px) {
  .no_pc {
    display: none !important;
  }

  a[href^="tel:"] {
    pointer-events: none;
    color: #000;
  }
}

@media only screen and (max-width: 768px) {
  .no_sp {
    display: none !important;
  }
}

/*header*/
.header {
  border-bottom: 5px solid #3B499F;
  background-color: #fff;
  position: relative;
}

.header_wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background-color: #fff;
}


/*@media only screen and (max-width: 769px) {
  .header_wrap {
    position: static;  
  }
}*/

.header .header_logo {
  padding: 35px 10px;
}

.header .header_logo img {
  max-height: 30px;
}

@media only screen and (max-width: 768px) {
  .header .header_logo {
    padding: 0 8px;
    height: 62px;
    display: grid;
    place-items: center;
  }

  .header .header_logo img {
    max-width: 500px;
    width: 80%;
    display: grid;
    place-items: center;
  }
}

/* header_nav
---------------------------------------------------------- */
.header .header_nav_list {
  font-weight: bold;
}

.header .header_nav_list .header_nav_list_btn {
  color: #3B499F;
}

@media only screen and (min-width: 769px) {

  /*PC only*/
  /* header_nav
  ---------------------------------------------------------- */
  .header .header_nav,
  .header .header_nav_udr {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }

  .header .header_nav_list~.header_nav_list {
    border-left: solid 1px #ccc;
  }

  .header .header_nav_list,
  .header .header_nav_udrlist {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
  }

  .header .header_nav_list_btn,
  .header .header_nav_udrlist_btn {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .header .header_nav_list_btn {
    height: 46px;
    cursor: pointer;
    transition: none;
    position: relative;
  }

  .header .header_nav_list_btn:after {
    content: "";
    display: block;
    height: 5px;
    position: absolute;
    bottom: -5px;
    background-color: #DBDEEE;
    transition: 0.25s ease;
    backface-visibility: hidden;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 0;
    left: 50%;
  }

  .header .header_nav_list_btn:hover:after {
    width: 100%;
  }

}

.s_wrap_cmn {
  width: 1158px;
  margin: 0 auto;
}

@media only screen and (max-width: 1158px) {
  .s_wrap_cmn {
    width: 100%;
  }
}

@media only screen and (max-width: 768px) {
  .s_wrap_cmn {
    width: 100%;
  }

  .s_wrap_cmn_sp {
    width: 90%;
    margin: 0 auto;
  }
}

/* wrap bg-color */
.s_bg_coler {
  background-color: #F4F4F0;
  min-width: 960px;
}

@media only screen and (max-width: 768px) {
  .s_bg_coler {
    min-width: inherit;
  }
}

@media only screen and (min-width: 769px) {
  .drw_nav_sp_wrap {
    max-width: 855px;
    width: 100%;
    margin: 0 auto;
  }
}

@media only screen and (max-width: 768px) {

  /*SP only*/
  body.drw_nav_sp_open {
    position: fixed;
    width: 100%;
    height: 100%;
  }

  /* drw_nav_sp_overlay
  ---------------------------------------------------------- */
  .drw_nav_sp_overlay {
    content: "";
    display: block;
    width: 0;
    height: 0;
    background-color: rgba(0, 0, 0, 0.35);
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    transition: 0.5s opacity;
    pointer-events: none;
    z-index: 998;
  }

  .drw_nav_sp_overlay.is_active {
    width: 100%;
    height: 100vh;
    opacity: 1;
  }

  /* drw_nav_sp_wrap
  ---------------------------------------------------------- */
  .header .drw_nav_sp_wrap {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
  }

  /* drw_nav_sp_inr
  ---------------------------------------------------------- */
  .header .drw_nav_sp_wrap .drw_nav_sp_inr {
    width: calc(100% - 75px);
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 100%;
    transition: 0.5s ease-in-out;
  }

  .header .drw_nav_sp_wrap.is_active .drw_nav_sp_inr {
    left: 75px;
  }

  /* drw_nav_sp_btn
  ---------------------------------------------------------- */
  .header .drw_nav_sp_btn {
    width: 48px;
    height: 48px;
    position: absolute;
    left: calc(-48px - 10px);
    top: 7px;
    cursor: pointer;
    background-color: #fff;
    border-radius: 50%;
    transition: 0.5s ease;
  }

  .header .drw_nav_sp_btn.is_active {
    left: 80%;
    z-index: 1001;
    background-color: transparent;
  }

  .header .drw_nav_sp_btn span {
    display: inline-block;
    position: absolute;
    left: 11px;
    width: 26px;
    height: 1.5px;
    transition: 0.5s ease-in-out;
    background-color: #3B499F;
  }

  .header .drw_nav_sp_btn span:nth-of-type(1) {
    top: 12px;
  }

  .header .drw_nav_sp_btn span:nth-of-type(2) {
    top: 22px;
  }

  .header .drw_nav_sp_btn span:nth-of-type(3) {
    top: 32px;
  }

  .header .drw_nav_sp_btn.is_active span {
    width: 34px;
    height: 1.5px;
    top: 22px;
    background-color: #fff;
  }

  .header .drw_nav_sp_btn.is_active span:nth-of-type(1) {
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
  }

  .header .drw_nav_sp_btn.is_active span:nth-of-type(2) {
    width: 0;
  }

  .header .drw_nav_sp_btn.is_active span:nth-of-type(3) {
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
  }

  /* header_nav
  ---------------------------------------------------------- */
  .header .drw_nav_sp_wrap .header_nav {
    background-color: #3B499F;
    width: 100%;
    height: 100vh;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    position: absolute;
    top: 0;
  }

  .header .drw_nav_sp_wrap.is_active .header_nav {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    pointer-events: auto;
  }

  .header .header_nav_list~.header_nav_list {
    border-bottom: solid 1px #fff;
  }

  .header .header_nav_list_btn,
  .header .header_nav_udrlist_btn {
    display: block;
    padding: 20px 30px 20px 45px;
    position: relative;
    color: #fff !important;
  }

  .header .header_nav_list_btn.acc_btn_sp.is_active,
  .header .header_nav_udrlist_btn {
    background-color: #EEF4FC;
  }

  .header .header_nav_list:not(.nav_home_sp) .header_nav_list_btn:after,
  .header .header_nav_udrlist_btn:after {
    content: "";
    display: block;
    width: 9px;
    height: 9px;
    border-top: solid 3px #fff;
    border-right: solid 3px #fff;
    -webkit-transform: translateY(-50%) rotate(45deg);
    transform: translateY(-50%) rotate(45deg);
    position: absolute;
    top: 50%;
    right: 15px;
  }

  .header .header_nav_list .header_nav_list_btn.acc_btn_sp:after {
    width: 0;
    height: 0;
    border: solid 6px transparent;
    border-top: solid 10px #3B499F;
    border-bottom: none;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }

  .header .header_nav_list .header_nav_list_btn.acc_btn_sp.is_active:after {
    border-bottom: solid 10px #3B499F;
    border-top: none;
  }

  .header .header_nav_list.nav_home_sp .header_nav_list_btn {
    padding: 65px 5% 5px 5%;
    border-bottom: solid 5px #3B499F;
  }

  .header .header_nav_list.nav_home_sp .header_nav_list_btn img {
    width: 100%;
  }

  .header .header_nav_udrbox {
    display: none;
  }

  .header .header_nav_udrlist {
    border-top: solid 1px #fff;
  }
}

.main_img {
  margin-top: 150px;
  width: 100%;
  height: 830px;
  background: url(../img/main_pc.jpg)no-repeat top center/cover;
  display: grid;
  place-items: center;
}

.main_img h1 {
  text-align: center;
  font-size: 70px;
  font-weight: bold;
  color: #3B499F;
}

.main_img div {
  margin: 0;
  padding: 0;
}

@media only screen and (max-width: 1158px) {
  .main_img h1 {

    line-height: 1.4;
  }
}

@media only screen and (max-width: 768px) {
  .main_img {
    margin-top: 67px;
    height: 460px;
    background: url(../img/main_sp.jpg)no-repeat center center/cover;
  }

  .main_img h1 {
    font-size: 32px;
  }
}

.slideConts {
  opacity: 0;
}

.slide {
  animation: slideAnime 2s ease forwards;
}

@keyframes slideAnime {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.txt1 {
  animation-delay: 0.2s;
}

.txt2 {
  animation-delay: 0.8s;
}

.txt3 {
  animation-delay: 1.6s;
}

.greeting_wrap {
  width: 100%;
  height: 950px;
  background: url(../img/back_img.jpg)no-repeat top center/cover;
}

.conte_body {
  width: 1158px;
  margin: 0 auto;
  padding-top: 80px;
}

.conte_title {
  font-size: 38px;
  font-weight: bold;
  padding-top: 20px;
  margin-bottom: 20px;
}

.conte_title span:first-child {
  display: inline-block;
  margin-left: 20px;
  background-color: #3B499F;
  width: 150px;
  height: 5px;
  vertical-align: middle;
}

.conte_title span:nth-child(2) {
  display: inline-block;
  margin-right: 20px;
  background-color: #a7a7a7;
  width: 40px;
  height: 5px;
  vertical-align: middle;
}

.title_en {
  font-size: 16px;
  color: #3B499F;
  vertical-align: middle;
}

.chairman_box {
  background-color: #fff;
  width: 100%;
  padding: 40px;
  display: grid;
  justify-items: flex-end;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(1, 1fr);
}

.box01 {
  width: 600px;
  grid-column-start: 1;
  grid-row-start: 1;
}

.box02 {
  text-align: right;
}

.box03 {
  grid-row: span 2 / span 2;
}

@media only screen and (max-width: 1158px) {
  .greeting_wrap {
    height: auto;
    padding-bottom: 50px;
  }

  .conte_body {
    width: 80%
  }

  .chairman_box {
    display: block;
  }

  .chairman_box img {
    margin: 20px auto;
  }

  .box01 {
    width: 100%;
  }
}

@media only screen and (max-width: 768px) {
  .conte_body {
    width: 90%;
    padding-top: 45px;
  }

  .conte_title {
    font-size: 25px;
    padding-top: 15px;
    margin-bottom: 10px;
  }

  .conte_title span:first-child {
    width: 60px;
    height: 3px;
    margin-left: 10px;
  }

  .conte_title span:nth-child(2) {
    width: 25px;
    height: 3px;
    margin-right: 10px;
  }

  #officers.conte_title span:first-child {
    width: 30px;
  }

  #officers.conte_title span:nth-child(2) {
    width: 12px;
  }

  .title_en {
    font-size: 11px;
  }

  .chairman_box {
    padding: 25px;
  }

  .chairman_box p {
    font-size: 14px;
  }

  .chairman_box img {
    width: 100%;
    max-width: 255px;
  }
}

#business,
#officers,
#news {
  border-bottom: 1px solid #a7a7a7;
}

.detail_name {
  width: 100%;
  font-size: 24px;
  font-weight: bold;
  background-color: #3B499F;
  padding-left: 24px;
  height: 40px;
  vertical-align: middle;
  border-radius: 5px;
  color: #fff;
  margin: 35px 0;
}

.detail_txt {
  margin-left: 145px;
  width: 890px;
}

.detail_list {
  margin-left: 145px;
  margin-top: 35px;
}

.detail_list p {
  text-indent: -1em;
  padding-left: 1em;
}

.txt_bold {
  font-weight: bold;
}

.em_indent {
  margin-left: 2em;
}

@media only screen and (max-width: 1158px) {
  .detail_txt {
    width: 100%;
    margin-left: 0;
  }

  .detail_list {
    width: 100%;
    margin-left: 0;
  }
}

@media only screen and (max-width: 768px) {
  .detail_name {
    font-size: 18px;
    height: 28px;
    padding-left: 18px;
    margin: 20px 0;
  }

  .detail_txt {
    font-size: 14px;
    width: 95%;
    margin: 0 auto;
  }

  .detail_list {
    margin-top: 20px;
  }

  .detail_list p {
    width: 95%;
    font-size: 14px;
    margin: 0 auto;
  }

  .em_indent {
    margin-left: 2.5em !important;
    padding-right: 2em;
  }
}

.overview_table {
  width: 82%;
  margin: 0 auto;
}

.overview_table tr {
  border-bottom: 1px solid #a7a7a7;
}

.overview_table tr:last-child,
.officers_table tr:last-child {
  border-bottom: none;
}

.overview_table tr:nth-child(even) {
  background-color: #f7f7f7;
}

.overview_table tr td {
  padding: 10px 1em;
}

.overview_table tr td:first-child {
  width: 133px;
  text-align-last: justify;
  border-right: 1px solid #a7a7a7;
}

@media only screen and (max-width: 768px) {
  .overview_table {
    width: 95%;
    font-size: 14px
  }

  .overview_table tr {
    border-bottom: none;
    height: 30px;
    line-height: 30px;
  }

  .overview_table tr td {
    display: block;
    height: 30px;
    padding: 0 1em;
  }

  .overview_table tr td:first-child {
    border-right: none;
    width: 100%;
    text-align-last: left;
    letter-spacing: 14px;
    background-color: #f7f7f7;
  }

  .overview_table tr td:last-child {
    margin-bottom: 15px;
  }

  .overview_table tr:nth-child(even) {
    background-color: #fff;
  }

  .sp_line_h {
    line-height: 1.6;
  }
}

.officers_table {
  width: 82%;
  margin: 60px auto 100px;
}

.officers_table tr td {
  vertical-align: middle;
  padding: 10px 1em;
}

.lr_border {
  border-left: 1px solid #a7a7a7;
  border-right: 1px solid #a7a7a7;
}

.bt_border {
  border-bottom: 1px solid #a7a7a7;
}

.bg_color {
  background-color: #f7f7f7;
}

.post_name {
  width: 133px;
  text-align-last: justify;
}

.officers_name {
  width: 160px;
  text-align-last: justify;
}

@media only screen and (max-width: 768px) {
  .officers_table {
    width: 95%;
    font-size: 14px;
    margin: 20px auto 60px;
  }

  .officers_table tr {
    border: none;
    height: 30px;
    line-height: 30px;
  }

  .officers_table tr td {
    display: block;
    border: none;
    padding: 0 1em;
  }

  .bg_color {
    background-color: #fff;
  }

  .post_name {
    width: 100%;
    background-color: #f7f7f7;
    text-align-last: left;
    letter-spacing: 14px;
  }

  .officers_name {
    width: 100%;
    text-align-last: left;
  }

  .officers_table tr td:last-child {
    margin-bottom: 15px;
  }
}

.btn_area {
  width: 100%;
  background-color: #3B499F;
  padding: 100px 0;
}

.btn_wrap {
  display: flex;
  justify-content: space-between;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}

.outside_btn {
  width: 470px;
  height: 115px;
  background-color: #fff;
  border-radius: 10px;
  color: #3B499F;
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  line-height: 115px;
  border: 1px solid #3B499F;
  transition: 0.2s linear;
  position: relative;
}

.outside_btn:after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right: 15px;
  transition: 0.1s linear;
  width: 15px;
  height: 15px;
  border-top: solid 3px #3B499F;
  border-right: solid 3px #3B499F;
  -webkit-transform: translateY(-50%) rotate(45deg);
  transform: translateY(-50%) rotate(45deg);
  transition: 0.2s linear;
}

@media only screen and (min-width: 769px) {
  .outside_btn:hover {
    background-color: #3B499F;
    border: 1px solid #fff;
    color: #fff;
  }

  .outside_btn:hover:after {
    border-color: #fff;
  }
}

@media only screen and (max-width: 1158px) {
  .btn_area {
    padding: 70px 0;
  }

  .btn_wrap {
    display: block;
  }

  .outside_btn {
    width: 80%;
    margin: 0 auto;
    font-size: 20px;
    height: 80px;
    line-height: 80px;
  }

  .btn_wrap div:first-child {
    margin-bottom: 20px;
  }
}

.news_wrap {
  width: 100%;
  background-color: #f7f7f7;
  padding-bottom: 50px;
}

.news_table_area {
  width: 100%;
  background-color: #fff;
  padding: 25px 45px;
  margin-top: 50px;
}

.news_table {
  width: 100%;
}

.news_table tr {
  border-bottom: 1px dashed #333;
}

.news_table tr td {
  padding: 10px 20px;
}

.news_table tr td:first-child {
  width: 140px;
  font-weight: bold;
}

.news_btn_link {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  width: fit-content;
  margin-top: 20px;
  color: #000;

  &:hover {
    opacity: .7;
  }
}

.news_btn_link::after {
  rotate: 45deg;
  display: block;
  width: .5em;
  aspect-ratio: 1 / 1;
  margin-left: .5em;
  border-top: solid 2px #3B499F;
  border-right: solid 2px #3B499F;
  content: "";
}

.news_table_area+.news_btn_link {
  margin-inline: auto 0;
}

.news_single_area+.news_btn_link {
  margin: 30px auto 50px;
}

@media only screen and (max-width: 768px) {
  .news_table {
    font-size: 14px;
  }

  .news_table_area {
    padding: 25px;
  }

  .news_table tr {
    display: flex;
    flex-direction: column;
    padding-inline: 14px;
    padding-bottom: 14px;


    &:not(:first-child) {
      padding-top: 14px;
    }
  }

  .news_table tr td {
    display: block;
    width: 100%;
    padding: 0;
  }
}

.news_table a {
  text-decoration: underline;
}

.news_table a.link-pdf,
.news_table a.link-external {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news_table a.link-pdf::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 19px;
  flex-shrink: 0;
  background-image: url("../img/icon-pdf.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

.news_table a.link-external::after {
  content: "";
  display: inline-block;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  background-image: url("../img/icon-external.svg");
  background-size: contain;
  background-repeat: no-repeat;
}

.news_page_common {
  margin-top: 50px;
}

.news_single_area {
  width: 100%;
  background-color: #fff;
  padding: 50px;
  margin-top: 50px;
}

@media only screen and (max-width: 768px) {
  .news_single_area {
    padding: 20px;
  }
}

.news_single_title {
  font-size: 26px;
  font-weight: bold;
  line-height: 1.6;
}

@media only screen and (max-width: 768px) {
  .news_single_title {
    font-size: 22px;
  }
}

.news_single_date {
  display: block;
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.6;

}

.news_single_content {
  margin-top: 20px;
  border-top: 1px dashed #000;

  >* {
    margin-top: 20px;
  }

  h2,
  h3,
  h4,
  h5,
  h6 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    font-weight: 700;
    line-height: 1.4;

    &:first-child {
      margin-top: 0;
    }
  }

  h2 {
    font-size: 1.5em;
    padding-bottom: 0.25em;
    border-bottom: 1px solid #ccc;
  }

  h3 {
    font-size: 1.25em;
  }

  h4,
  h5,
  h6 {
    font-size: 1.1em;
  }

  p {
    line-height: 1.8;
  }

  blockquote {
    margin: 1.5em 0;
    padding: 0.5em 0 0.5em 1em;
    border-left: 4px solid #3B499F;
    background-color: #f9f9f9;
    color: #333;
    font-style: italic;
  }

  ul {
    list-style-type: square;

    li {
      margin-left: 2rem;

      &::marker {
        color: #3B499F;
      }
    }
  }

  ol {
    list-style-type: decimal;

    li {
      margin-left: 2rem;

      &::marker {
        color: #3B499F;
      }
    }
  }

  img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
  }

  figure {
    margin: 1.5em 0;
  }

  figcaption {
    margin-top: 0.5em;
    font-size: 0.9em;
    color: #666;
    text-align: left;
  }

  pre,
  code {
    font-family: Consolas, Monaco, "Courier New", monospace;
    font-size: 0.9em;
  }

  code {
    padding: 0.2em 0.4em;
    background-color: #f4f4f4;
    border-radius: 3px;
  }

  pre {
    margin: 1.5em 0;
    padding: 1em;
    overflow-x: auto;
    background-color: #f4f4f4;
    border-radius: 4px;

    code {
      padding: 0;
      background-color: transparent;
    }
  }

  table {
    width: 100%;
    margin: 1.5em 0;
    border-collapse: collapse;
  }

  th,
  td {
    padding: 0.5em 0.75em;
    border: 1px solid #ccc;
    text-align: left;
  }

  th {
    background-color: #f4f4f4;
    font-weight: 700;
  }

  hr {
    margin: 2em 0;
    border: 0;
    border-top: 1px solid #ccc;
  }

  a {
    color: #0000ee;
    text-decoration: underline;
  }
}

.connection_wrap {
  padding-bottom: 80px;
}

.connection_wrap a {
  display: block;
}

.connection_wrap h3 {
  text-align: center;
  color: #3B499F;
  font-size: 30px;
  font-weight: bold;
}

.link_block {
  display: block;
  width: 690px;
  margin: 0 auto;
}

.sgh_btn {
  width: 690px;
  border: 1px solid #a7a7a7;
  margin: 0 auto;
  height: 170px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media only screen and (max-width: 768px) {

  .connection_wrap h3 {
    font-size: 18px;
  }

  .link_block {
    width: 90%;
  }

  .sgh_btn {
    width: 100%;
    height: 80px
  }

  .sgh_btn img {
    width: 90%;
  }
}

.footer_wrap {
  width: 100%;
  background-color: #3B499F;
  padding-top: 70px;
  padding-bottom: 15px;
  position: relative;
}

.footre_rogo {
  text-align: center;
}

.footre_rogo img {
  width: 680px;
}

.address {
  text-align: center;
  color: #fff;
  margin-top: 30px;
}

.copyright {
  text-align: center;
  font-size: 14px;
  color: #fff;
  margin-top: 95px;
}

@media only screen and (max-width: 768px) {
  .footer_wrap {
    padding-top: 30px;
  }

  .footre_rogo img {
    width: 335px;
  }

  .address {
    font-size: 14px;
    margin-top: 15px;
  }

  .copyright {
    font-size: 10px;
    margin-top: 30px;
  }
}

.footer_to_top {
  position: fixed;
  right: 70px;
  bottom: 5%;
  z-index: 1;
  display: none;
}

.footer_wrap .footer_to_top.is_stop {
  position: absolute;
  bottom: inherit;
  top: calc((70px / 2) * -1);
}

.footer_to_top a {
  display: block;
  background-color: #fff;
  width: 70px;
  height: 70px;
  border: 2px solid #3B499F;
  border-radius: 50%;
  position: relative;
  transition: 0.2s linear;
}

.footer_to_top a svg {
  position: absolute;
  top: 25%;
  left: 25%;
  fill: #3B499F;
}

@media only screen and (min-width: 769px) {
  .footer_to_top a:hover {
    border: 2px solid #fff;
    background-color: #3B499F;
    transition: 0.2s linear;
  }

  .footer_to_top a:hover svg {
    fill: #fff;
    transition: 0.2s linear;
  }
}

@media only screen and (max-width: 768px) {
  .footer_to_top {
    right: 20px;
  }

  .footer_to_top a {
    width: 48px;
    height: 48px;
  }

  .footer_to_top a svg {
    width: 28px;
    top: 7px;
    left: 8px;
  }

  .footer_wrap .footer_to_top.is_stop {
    top: calc((48px / 2) * -1);
  }
}

/* ページネーション */
.pagination_wrap {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 30px;
}

.c-pagination__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.c-pagination__item {
  display: flex;
  align-items: center;
  justify-content: center;

  &:has(.c-pagination__link--inactive) {
    display: none;
  }
}

.c-pagination__link,
.c-pagination__text {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

.c-pagination__link:hover {
  background-color: #3B499F;
  border-color: #3B499F;
  color: #fff;
}

.c-pagination__item--active .c-pagination__text {
  background-color: #3B499F;
  border-color: #3B499F;
  color: #fff;
}

.c-pagination__link--inactive {
  opacity: 0.3;
  pointer-events: none;
  cursor: default;
}

.c-pagination__link--prev::before,
.c-pagination__link--next::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.c-pagination__link--prev::before {
  transform: rotate(-135deg);
  margin-right: 5px;
}

.c-pagination__link--next::after {
  transform: rotate(45deg);
  margin-left: 5px;
}

.c-pagination__dots {
  font-size: 16px;
  color: #999;
}

@media only screen and (max-width: 768px) {
  .pagination_wrap {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .c-pagination__list {
    gap: 5px;
  }

  .c-pagination__link,
  .c-pagination__text {
    min-width: 35px;
    height: 35px;
    font-size: 14px;
  }
}

/* ========================================
   404 Error Page
======================================== */
.error404_wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 300px);
  padding: 80px 0;
  background-color: #f5f5f5;
}

.error404_content {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 40px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.error404_number {
  font-size: 120px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1;
  color: #3B499F;
}

.error404_title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

.error404_text {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
}

@media only screen and (max-width: 768px) {
  .error404_wrap {
    min-height: calc(100vh - 200px);
    padding: 50px 0;
  }

  .error404_content {
    padding: 40px 20px;
    border-radius: 0;
  }

  .error404_number {
    font-size: 80px;
    margin-bottom: 15px;
  }

  .error404_title {
    font-size: 22px;
    margin-bottom: 15px;
  }

  .error404_text {
    font-size: 14px;
  }
}