@charset "utf-8";
* {
  box-sizing: border-box;
}

body {
  font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3",
    "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

p {
  font-size: 16px;
  line-height: 1.95;
}

body.open {
  overflow: hidden;
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  margin-top: 0px;
}

a:hover {
  opacity: 0.8;
}

h2 {
  font-family: fot-tsukubrdgothic-std, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 24px;
  text-align: center;
}

h3 {
  font-family: fot-tsukubrdgothic-std, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 19px;
  text-align: center;
}

h4 {
  font-family: fot-tsukubrdgothic-std, sans-serif;
  font-weight: 700;
  font-style: normal;
}

.answer,
.year-label {
  font-family: fot-tsukubrdgothic-std, sans-serif;
  font-weight: 700;
  font-style: normal;
}

.txt_underline {
  background: linear-gradient(transparent 35%, #ffff27 35%);
}

.pc_none {
  display: none;
}

.sp_none {
  display: block;
}

.center-img {
  display: block;
  margin: 0 auto;
}

.objectfit-cover-img {
  object-fit: cover;
  font-family: "object-fit: cover;";
}

.note {
  position: relative;
  background-image: linear-gradient(
    to top,
    rgba(119, 137, 153, 0.3) 0.02em,
    transparent 0.1em
  );
  background-size: 100% 1.87em;
  line-height: 1.89em;
}

.wrap {
  /* max-width: 1600px; */
  margin: 0 auto;
  border-top: 8px solid #004077;
}

@media print, screen and (max-width: 767px) {
  .pc_none {
    display: block;
  }
  .sp_none {
    display: none;
  }
  p {
    font-size: 15px;
    line-height: 1.75;
  }
}

/******************
header
******************/

/*pc_header*/

header .pc_header {
    padding: 12px 15px;
    margin: 0 auto;
    max-width: 1400px;
    display: flex;
    height: 88px;
    align-items: flex-start;
}
header .pc_header h1{
    margin-right: 16px;
        margin-top: 8px;
}

header .pc_header h1 a img {
  max-width: 236px;
}

header .header_right {
  display: flex;
  margin: 0 0 0 auto;
  align-items: center;
}

header .pc_header ul {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-between;
  -ms-justify-content: space-between;
  justify-content: space-between;
  -webkit-align-items: center;
  -ms-align-items: center;
  align-items: center;
  width: 744px;
  margin-right: 32px;
  gap: 18px;
}

header .pc_header ul li a img {
  display: block;
}

.fv_souzoku_btn a {
  padding: 16px 24px;
  display: flex;
  align-items: center;
  background-color: #008674;
  border-radius: 29px;
  box-shadow: 0px 4px rgb(0 91 169 / 20%);
}

/*1200px以上header*/
@media print, screen and (max-width: 1200px) {
  h1 {
    position: relative;
    top: 0;
    left: 0;
  }
  header .pc_header {
    flex-direction: column;
        height: 130px;

  }
  header .header_right {
    position: relative;
    top: -53px;
    right: 0;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 12px;
  }
  header .pc_header ul {
    width: 95%;
  }
}

/*sp_header*/

header .sp_header {
  display: none;
}

@media print, screen and (max-width: 767px) {
  /* header {
    height: 37px;
  } */
  .sp_header_container {
      width: 100%;
    display: flex;
    margin: 6px 8px;
    align-items: center;
    gap:2%;
    justify-content: flex-end;
  }
  header .pc_header {
    display: none;
  }
  header .sp_header {
    display: flex;
    width: 100%;
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
  }
  #nav_toggle {
    display: flex;
    width: 62px;
    /* height: 44px; */
    z-index: 101;
    background: #004077;
    justify-content: center;
  }
  #nav_toggle img {
    width: 42%;
  }

  body.open #nav_toggle {
    background: #004077;
  }
  
  nav.sp_nav {
    display: none;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    left: 0;
    z-index: 100;
    cursor: pointer;
  }
  nav.sp_nav.active {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    position: fixed;
    top: 0;
    height: 100%;
    cursor: pointer;
  }
  nav.sp_nav ul {
    padding-top: 50px;
    height: 100%;
  }
  nav.sp_nav ul li {
    text-align: center;
    border-bottom: 1px dotted #004077;
  }
  nav.sp_nav ul li a {
    padding: 5% 0;
    display: block;
    color: #004077;
    text-decoration: none;
  }
  /* nav.sp_nav {
    position: relative;
  } */
  #close_btn_list {
    cursor: pointer;
  }
  nav.sp_nav ul li .close_btn {
    padding: 6.5% 0;
    cursor: pointer;
  }
  nav.sp_nav ul li .close_btn img {
    width: 68px;
    display: block;
    margin: 0 auto;
  }
  nav.sp_nav ul li .close_text {
    position: relative;
    color: #004077;
  }
  nav.sp_nav ul li .close_text .close_icon {
    position: absolute;
    display: inline-block;
    top: 0px;
    left: -30px;
    transform: translate(0, -50%);
    width: 32px;
    height: 32px;
    border: 0;
    background-color: #004077;
    border-radius: 32px;
    margin: 0;
    padding: 0;
    transform: scale(0.5) translate(0, -50%);
    cursor: pointer;
  }
  nav.sp_nav ul li .close_text .close_icon:before {
    content: "";
    position: absolute;
    display: inline-block;
    top: 4px;
    left: 13px;
    width: 6px;
    height: 24px;
    border: 0;
    margin: 0;
    padding: 0;
    background-color: white;
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  nav.sp_nav ul li .close_text .close_icon:after {
    content: "";
    position: absolute;
    display: inline-block;
    top: 4px;
    left: 13px;
    width: 6px;
    height: 24px;
    border: 0;
    margin: 0;
    padding: 0;
    background-color: white;
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  .fv_souzoku_btn a{
      padding:8px 12px;
  }
}

/******************
footer
******************/

footer .footer_cnts {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 50px 0;
}

footer .footer_cnts .box {
  width: 50%;
  padding: 0 15px;
}

footer .footer_cnts .box img {
  display: block;
  margin-bottom: 20px;
}

footer .footer_cnts .l_box img {
  max-width: 240px;
  width: 100%;
}

footer .footer_cnts .r_box img {
  max-width: 240px;
  width: 100%;
}

footer .footer_cnts .box .address01 {
  font-size: 13px;
  line-height: 20px;
}

footer .footer_cnts .box .address02 {
  margin-top: 4px;
  font-size: 20px;
  line-height: 30px;
}

footer .footer_cnts .box .address02 a {
  text-decoration: none;
  color: #000;
}

footer .footer_cnts .box.l_box p,
footer .footer_cnts .box.l_box p a {
  color: #004077;
}

footer .footer_cnts .box.r_box p,
footer .footer_cnts .box.r_box p a {
  color: #660044;
}

footer .copy {
  font-size: 14px;
  color: #fff;
  background: #004077;
  padding: 15px 0;
  text-align: center;
}

@media print, screen and (max-width: 767px) {
  footer .footer_cnts {
    display: block;
    width: 100%;
    margin: 0 auto;
    padding: 35px 0 40px;
  }
  footer .footer_cnts .box {
    display: table;
    padding: 20px 0;
    margin: 0 0 0 20px;
    width: auto;
    text-align: center;
  }
  footer .footer_cnts .box .footer_inner {
    display: inline-block;
    text-align: left;
    width: 100%;
  }
  footer .footer_cnts .box .address01 {
    font-size: 15px;
    margin-top: 10px;
  }
  footer .footer_cnts .box .address02 {
    /* font-size: 21px; */
    /* line-height: 34px; */
  }
}

/******************
pagetop
******************/

.pagetop {
  position: fixed;
  bottom: 60px;
  right: 20px;
  z-index: 100;
}

.pagetop:hover {
  cursor: pointer;
  opacity: 0.8;
}

@media print, screen and (max-width: 414px) {
  .pagetop {
    width: 50px;
  }
}
