@charset "UTF-8";
:root {
  --main-color:#05377F;
  --green1:#05717F;
  --green2:#477F05;
  --sub1:#F9FAFB;
  --sub2:#FFFAF4;
  --tag-yl:#FCE6B2;
}
html,body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.08rem;
  line-height: 36px;
  font-weight: 400;
  color: #000;
}
body.navmenu-opened {overflow: hidden;width: 100%;
}
a,a:visited {
  color:#000;
  text-decoration: none;
  transition: all 0.3s ease;
}
a:hover {
  color:var(--main-color);
  text-decoration: underline;
}
ul {
  list-style: none;
  margin:0;
  padding:0;}
ol {margin-bottom: 0;}
h1,h2,h3,h4,h5 {
  margin:0;
  font-weight: 600;
  line-height: unset;}
.flex {
  display:flex;
  flex-direction:row;
  flex-wrap:wrap;}
figure {margin:0;}
p,.txt {text-align:justify;word-break:break-all;}
img {max-width:100%;height:auto;}

@media (min-width: 1200px){
  .container {
    width: 1104px;
  }
}

.btn {
  position: relative;
  border:none;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.btn:hover {
  text-decoration: none;
}
.btn:focus-visible {
  box-shadow: 0 0 0 4px rgba(13, 110, 253, .25);
  outline: 0;
}
.btn-def,.btn-def:visited,.btn-def:active {
  font-weight: 600;
  color:#fff;
  background-color:var(--main-color);
  border:2px solid var(--main-color);

  padding:14px 20px;
}
.btn-def:focus-visible {
  background-color:var(--main-color);
  border:2px solid var(--main-color);
}
.btn-def:hover {
  color:var(--main-color);
  background: #fff;
  border:2px solid var(--main-color);
}
.btn-def.gr1,.btn-def.gr1:visited,.btn-def.gr1:active {
  background:var(--green1);
  border:2px solid var(--green1);
}
.btn-def.gr1:focus-visible {
  background-color:var(--green1);
  border:2px solid var(--green1);
}
.btn-def.gr2,.btn-def.gr2:visited,.btn-def.gr2:active {
  background:var(--green2);
  border:2px solid var(--green2);
}
.btn-def.gr2:focus-visible {
  background-color:var(--green2);
  border:2px solid var(--green2);
}
.btn-def.gr1:hover {
  color:var(--green1);
  background: #fff;
  border:2px solid var(--green1);
}
.btn-def.gr2:hover {
  color:var(--green2);
  background: #fff;
  border:2px solid var(--green2);
}
.btn-def.m-ct {
  font-size: 1.1rem;
  line-height: 28px;
  width: 100%;
  max-width: 320px;
}
.btn.ic {
  padding-right: 50px;
}
.btn.ic:before {
  content:"";
  position: absolute;
  right: 20px;
  top:50%;
  transform: translateY(-50%);
}
.btn.ic.arr-right:before {
  background: no-repeat center url(../img/common/arrow-right-white.svg);
  width: 16px;
  height: 16px;
}
.btn.ic.arr-right:hover:before {
  background: no-repeat center url(../img/common/arrow-right-navy.svg);
  width: 16px;
  height: 16px;
}
.btn.gr1.ic.arr-right:hover:before {
  background: no-repeat center url(../img/common/arrow-right-blue-green.svg);
}
.btn.gr2.ic.arr-right:hover:before {
  background: no-repeat center url(../img/common/arrow-right-yellow-green.svg);
}
.btn.ic:before {
  background-size: 100%!important;
}
#gotop-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background: transparent;
  text-align: center;
  display: none;
  width: 60px;
  height: 60px;
  display: none;
}
#gotop-btn a,#gotop-btn a:visited {
  display: inline-block;
  transition: all 0.3s ease;
}
#gotop-btn a ._on {
  display: none;
}
#gotop-btn a:hover  ._on {
  display: inline-block;
}
#gotop-btn a:hover  ._off {
  display: none;
}

header,footer {
  overflow: hidden;
}

/* header  */
.nav-site {
  padding: 0;
  background: #fff;
  border-bottom: 1px solid #DEDEDE;
}
.navbar-brand {
  padding:20px 0;
  margin:0;
}
.navbar-brand img {
  display: inline-block;
  vertical-align: bottom;
}
.navbar-brand span {
  display: inline-block;
  vertical-align: bottom;
  color:var(--main-color);
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 22px;
  border-left: 1px solid #000;
  margin-left: 20px;
  padding-left: 20px;
}
.nav-site>.container-fluid {
  padding:0 25px;
}
.navbar-nav .nav-item {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 14px;
}
.nav-site .navbar-nav .nav-link {
  position: relative;
  padding:15px 0;
  font-weight: 600;
  color:#000;
  font-size: 0.9rem;
  line-height: 22px;
  text-align: center;
}
.navbar-nav .nav-link:after {
  content:"";
  position: absolute;
  transition: all 0.3s ease;
  left: 0;
  right: 0;
  margin: auto;
  bottom: 10px;
  width: 0;
  height: 3px;
  background: var(--main-color);
  border:none;
}
.navbar-nav .gr1 .nav-link:after {
  background: var(--green1);
}
.navbar-nav .gr2 .nav-link:after {
  background: var(--green2);
}
.navbar-nav .nav-link:hover {
  color:var(--main-color);
  text-decoration: none;
}
.navbar-nav .nav-link:hover:after {
  width: 100%;
}
.nav-site .navbar-nav .nav-item.dropdown {
  margin-right: 22px;
}
.nav-site .dropdown-toggle::before {
  content:"";
  position: absolute;
  top:50%;
  transform: translateY(-50%);
  right: -18px;
  background:no-repeat center url(../img/common/arrow-down-black.svg);
  background-size: 100%;
  width: 12px;
  height: 12px;
}
.nav-site .dropdown-toggle:hover::before {
  background:no-repeat center url(../img/common/arrow-down-navy.svg);
  background-size: 100%;
}
.nav-site .gr1 .dropdown-toggle:hover::before {
  background:no-repeat center url(../img/common/arrow-down-green1.svg);
  background-size: 100%;
}
.nav-site .gr2 .dropdown-toggle:hover::before {
  background:no-repeat center url(../img/common/arrow-down-green2.svg);
  background-size: 100%;
}
.nav-site .navbar-nav .dropdown-menu {
  position: absolute;
  top: 64px;
  left: 0;
  right: auto;
  padding:0;
  border:none;
  background: transparent;
}
.nav-site .navbar-nav .dropdown-menu ul {
  display: block;
  border:none;
  padding: 6px 0;
}
.nav-site .dropdown-menu li {
  margin-bottom: 10px;
}
.nav-site .dropdown-menu .dropdown-item {
  min-width: 160px;
  font-size: 0.85rem;
  line-height: 22px;
  padding:10px;
  text-decoration: none;
  font-weight: 600;
  color:#fff;
  border-radius: 6px;
  background: var(--main-color);
  border:1px solid var(--main-color);
}
.navbar-nav .nav-item.gr1 .nav-link:hover {
  color:var(--green1);
}
.navbar-nav .nav-item.gr2 .nav-link:hover {
  color:var(--green2);
}
.nav-site .dropdown-menu .dropdown-item:hover {
  color:var(--main-color);
}
.nav-site .gr1 .dropdown-menu .dropdown-item {
  background: var(--green1);
  border:1px solid var(--green1);
}
.nav-site .gr2 .dropdown-menu .dropdown-item {
  background: var(--green2);
  border:1px solid var(--green2);
}
.nav-site .gr1 .dropdown-menu .dropdown-item:hover {
  color:var(--green1);
}
.nav-site .gr2 .dropdown-menu .dropdown-item:hover {
  color:var(--green2);
}
.nav-site .dropdown-menu .dropdown-item:hover {
  background:#fff!important;
}
.resp-m-wrap {
  display: none;
}

/* breadcrumb */
.sec-brc {
  position: relative;
}
.breadcrumb {
  background: none;
  margin: 0;
  padding: 15px 0 0;
  font-size: 0.7rem;
  line-height: 20px;
  font-weight: 500;
}
.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb ol {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumb ol li {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  padding-right: 18px;
}
.breadcrumb ol li:after {
  content:"";
  position: absolute;
  background:no-repeat center url(../img/common/brc-arr-right.svg);
  background-size: 100%;
  top:50%;
  transform: translateY(-50%);
  right: 2px;
  width: 12px;
  height: 12px;
}
.breadcrumb ol li:last-child:after {
  content: none;
}
.breadcrumb ol li span {
  padding:0 4px;
}
.breadcrumb ol li:first-child span {
  padding-left: 0;
}
.breadcrumb ol li:last-child {
  color:var(--main-color);
}

/* content */
.reader {
  position:absolute;
  z-index:100;
  top:0px;
  right:0px;
  width:1px;
  height:1px;
  margin:0;
  padding:0;
  overflow:hidden;}

.skip-nav {
  position:absolute;
  z-index:2000;
  left: -9999px;
  top:15px;
  background:#fff;
  padding:10px 20px;
  box-shadow:10px 10px 10px rgba(0, 0, 0, 0.3);

  overflow:hidden;
  width: 1px;
  height: 1px;
}
.skip-nav ul {
  list-style: disc;
  padding-left: 20px;
}
.skip-nav ul a {
  color:var(--main-color);
  line-height: 30px;
}
.skip-nav:focus,
.skip-nav:focus-visible,
.skip-nav:focus-within {
  left:15px;
  width: auto;
  height: auto;
  overflow: visible;

}

main {
  position: relative;
  margin-top: 100px;
}
main:before {
  content:"";
  position: absolute;
  top:500px;
  left: 0;
  width: 100%;
  height: calc(100% - 500px);

  background-image: url(../img/common/bg.svg);
  background-repeat: repeat-y;
  background-position: center top;
  background-size: 100%;

}

main .p-head {
  position: relative;
}
.p-head .head-wrap {
  height: 400px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

  /* dummy  */
  /*background: #ccc;*/
}
.p-head .ht {
  position: absolute;
  right: 0;
  top:50%;
  transform: translateY(-50%);
  display: inline-block;
  padding:10px 120px 10px 20px;
  background: rgba(255, 255, 255, 0.8);
  text-align: right;
}
.p-head .ht h1 {
  color:var(--main-color);
  font-weight: 600;
  font-size: 1.7rem;
  line-height: 42px;
}
.p-head .ht .en {
  font-size: 0.85rem;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 3px;
}

/* news list */
.news-wrap .r-tt {
  position: relative;
  z-index: 2;
  background: #fff;
  padding:20px 40px 0;
  max-width: 190px;
  border:2px solid var(--main-color);
  border-bottom: none;
  font-weight: 600;
}
.news-wrap .r-tt .t {
  font-size: 1.3rem;
  line-height: 34px;
  color:var(--main-color);
  margin-bottom: 2px;
}
.news-wrap .r-tt .en {
  letter-spacing: 5px;
  line-height: 22px;
}
.r-tt .t .cate {
  display: inline-block;
  vertical-align: middle;
  margin-left: 14px;
  width: 125px;
}
.news-wrap .news-list {
  position: relative;
  z-index: 1;
  margin-top: -2px;
  max-width: 492px;
  padding:30px 40px;
  background: #fff;
  border:2px solid var(--main-color);
}
.news-list .n-list-inn {
  overflow-y: scroll;
  max-height: 180px;
}
.news-list .news-item {
  margin-bottom: 25px;
}
.news-item .date-cate {
  width: 125px;
  flex:0 0 auto;
}
.date-cate .date {
  font-weight: 500;
  font-size: 0.8rem;
  line-height: 20px;
  margin-bottom: 4px;
}
.date-cate .cate,
.r-tt .t .cate {
  max-width: 125px;
  color:#fff;
  font-size: 0.6rem;
  line-height: 12px;
  text-align: center;
  padding:3px;
  background: var(--main-color);
}
.date-cate .cate.gr1 {
  background: var(--green1);
}
.date-cate .cate.gr2 {
  background: var(--green2);
}
.news-item .n-tt {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  margin-left: 20px;
}
.n-tt .inn {
  line-height: 28px;
}
.n-tt a {
  display: block;
  font-size: 0.9rem;
  line-height: 28px;
  text-decoration: underline;
  max-width: 382px;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.n-tt a:hover {
  color: var(--main-color);
}
/****/
.sec-sp-nav {
  padding:40px 0 20px;
}
.sec-sp-nav .btn-def {
  display: block;
  text-align: center;
  padding:8px 6px;
  padding-bottom: 24px;
  font-size: 0.8rem;
  line-height: 20px;
}
.sec-sp-nav .btn-def:focus {
  color:#fff;
}
.page-gr1 .sec-sp-nav .btn-def {
  background: var(--green1);
  border-color: var(--green1);
}
.page-gr2 .sec-sp-nav .btn-def {
  background: var(--green2);
  border-color: var(--green2);
}
.sec-sp-nav .ic.arr-down:before {
  left: 0;
  right: 0;
  top:auto;
  transform: unset;
  margin: auto;
  bottom: 8px;
  background: no-repeat center url(../img/common/arrow-down-white.svg);
  width: 12px;
  height: 12px;
}
.sec-sp-nav .ic.arr-down:hover:before {
  background: no-repeat center url(../img/common/arrow-down-navy.svg);
}
.page-gr1 .sec-sp-nav .ic.arr-down:hover {
  background: #fff;
  color:var(--green1);
}
.page-gr1 .sec-sp-nav .ic.arr-down:hover:before {
  background: no-repeat center url(../img/common/arrow-down-green1.svg);
  color:var(--green1);
}
.page-gr2 .sec-sp-nav .ic.arr-down:hover {
  background: #fff;
  color:var(--green2);
}
.page-gr2 .sec-sp-nav .ic.arr-down:hover:before {
  background: no-repeat center url(../img/common/arrow-down-green2.svg);
  color:var(--green2);
}
.sec-sp-nav .row-sp-nav {
  margin:0 -5px -10px;
}
.sec-sp-nav .row-sp-nav>div {
  padding:0 5px;
  margin-bottom: 10px;
}

.v-c1 .news-wrap .r-tt {
  max-width: 320px;
  padding-right: 30px;
}
.v-c1 .news-item .n-tt {
  display: block;
  margin-left: 0;
  height: auto;
}
.v-c1 .news-list .news-item {
  margin-bottom: 14px;
}
.v-c1 .n-tt .inn {
  line-height: 24px;
}
.v-c1 .n-tt a {
  line-height: 24px;
  max-width: 540px;
}
/****/

.p-head .top-news {
  position: absolute;
  left:120px;
  top:50%;
  transform: translateY(-50%);
}

main .sec {
  position: relative;
}
.thepage {
  padding-bottom: 70px;
}
.thepage .sec.ptop {
  position: relative;
  margin-top: 10px;
}
.thepage .sec {
  padding:70px 0;
}
.thepage h2 {
  color:var(--main-color);
  font-weight: 600;
  font-size: 1.9rem;
  line-height: 48px;
  text-align: center;
  margin-bottom: 50px;
}
.thepage h3 {
  color:var(--main-color);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 38px;
  text-align: center;
  margin-bottom: 50px;
}

.thepage h4 {
  font-size: 1.2rem;
  line-height: 32px;
  margin-bottom: 10px;
}


/* gov-visit */
.ag-visit .note-box {
  background: var(--sub1);
  padding:50px 60px;
}
.ag-visit .note-box .t {
  position: relative;
  color:var(--main-color);
  font-size: 1.2rem;
  line-height: 32px;
  font-weight: 600;
  margin-bottom: 22px;
  padding-left: 38px;
}
.ag-visit .note-box .t:before {
  content:"";
  position: absolute;
  left:0;
  top:50%;
  transform: translateY(-50%);
  background: no-repeat center url(../img/common/ico-attention-navy.svg);
  background-size: 100%;
  width: 28px;
  height: 28px;
}
.gr1.ag-visit .note-box .t:before {
  background: no-repeat center url(../img/common/ico-attention-blue-green.svg);
  background-size: 100%;
}
.gr2.ag-visit .note-box .t:before {
  background: no-repeat center url(../img/common/ico-attention-yellow-green.svg);
  background-size: 100%;
}
.ag-visit .note-box ul {
  list-style: disc;
  margin:0;
  margin-bottom: -20px;
  padding-left: 22px;

  font-size: 0.9rem;
  line-height: 32px;
}
.ag-visit .note-box ul li::marker {
  color: var(--main-color);
}
.ag-visit .note-box ul li {
  margin-bottom: 20px;
}
.ag-visit .note-box a {
  color:var(--main-color);
  font-weight: 600;
  text-decoration: underline;
}
.ag-visit .note-box a:hover {
  text-decoration: none;
}
.gr1.ag-visit .note-box .t,
.gr1.ag-visit .note-box ul li::marker,
.gr1.ag-visit .note-box a {
  color:var(--green1);
}
.gr2.ag-visit .note-box .t,
.gr2.ag-visit .note-box ul li::marker,
.gr2.ag-visit .note-box a {
  color:var(--green2);
}

/* qa-box */
.qa-box {
  border:2px solid var(--main-color);
  padding:40px 50px;
  background: #fff;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}
.qa-box .b {
  font-weight: 600;
}
.qa-box .n {
  display: flex;
  padding-right: 30px;
}
.qa-box .n .i {
  flex: 0 0 auto;
  width: 32px;
  margin-right: 18px;
}
.qa-box .q {
  position: relative;
  font-weight: 600;
  cursor: pointer;
}
.qa-box .q:after {
  content: "";
  position: absolute;
  right: -30px;
  top:50%;
  transform: translateY(-50%);
  background: no-repeat center url(../img/common/btn-faq-down.svg);
  background-size: 100%;
  width: 28px;
  height: 28px;
  cursor: pointer;
}
.qa-box.opened .q:after {
  transform: translateY(-50%) rotate(180deg);
}
.qa-box .a {
  overflow: hidden;
  height: 0;
  transition: all 0.3s ease;
}
.qa-box.opened .a {
  height: auto;
  padding-top: 30px;
}
.qa-box .i {
  font-weight: 600;
  font-size: 1.5rem;
  color:var(--main-color);
  margin-right: 20px;
}
.qa-box .a .val {
  flex:1;
}
.qa-box .a .table-wrap {
  margin:10px auto;
}
.qa-box .a .table {
  margin: 0;
}
.qa-box .a .table>:not(caption)>*>* {
  padding:8px;
}
.qa-box .table tr th {
  vertical-align: middle;
}
.gr1 .qa-box {
  border-color:var(--green1);
}
.gr1 .qa-box .q:after {
  background: no-repeat center url(../img/common/btn-faq-down-gr1.svg);
  background-size: 100%;
}
.gr1 .qa-box .i {
  color: var(--green1);
}

.fixed-smenu {
  position: fixed;
  right: 0;
  bottom: 120px;

  transition: all 0.3s ease;
}
.fxs-wrap {
  position: relative;
  background: var(--main-color);
  border-radius: 12px 0 0 12px;
  padding:30px 35px 30px 45px;
  line-height: 24px;
}
.fxs-wrap .btn-cl {
  position: absolute;
  top:0;
  left: 0;
  background: rgba(255, 255, 255, 0.15);
  height: 100%;
  width: 30px;
  border-radius: 12px 0 0 12px;
  color:transparent;
  text-indent: -9999px;
}
.fxs-wrap .btn-cl:before {
  content:"";
  position: absolute;
  left: 12px;
  top:50%;
  transform: translateY(-50%);
  padding:0;
  width: 0;
  height: 0px;
  border-left: 10px solid #fff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-radius: 0;

}
.fixed-smenu.close .btn-cl:before {
  transform: translateY(-50%) rotate(180deg);
}

.fxs-wrap ul {
  margin-bottom: -18px;
}
.fxs-wrap ul li {
  margin-bottom: 18px;
}
.fxs-wrap ul li a {
  position: relative;
  display: inline-block;
  color:#fff;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 24px;
}
.fxs-wrap a:hover {
  text-decoration: underline;
}
.fxs-wrap a:before {
  content:"";
  position: absolute;
  right: -18px;
  top:50%;
  transform: translateY(-50%);
  background: no-repeat center url(../img/common/arrow-down-white.svg);
  background-size: 100%;
  width: 12px;
  height: 12px;
}

.contact-wrap {
  max-width: 520px;
  padding:50px;
  margin:auto;
  background: var(--main-color);
  color:#fff;
}
.contact-wrap .t,
.contact-wrap .st {
  text-align: center;
}
.contact-wrap .t {
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 36px;
  margin-bottom: 28px;
}
.contact-wrap .st {
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 30px;
  margin-bottom: 24px;
}
.contact-wrap .ic {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
}
.contact-wrap .ic:before {
  content:"";
  position: absolute;
  left:0;
  top:50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
}
.contact-wrap .c-email:before {
  background: no-repeat center url(../img/common/ico-mail.svg);
  background-size: 100%;
}
.contact-wrap .c-tel:before {
  background: no-repeat center url(../img/common/ico-tel.svg);
  background-size: 100%;
}
.contact-wrap a {
  color: #fff;
  font-weight: 600;
}
.contact-wrap .c-tel a {
  font-size: 1.3rem;
  line-height: 34px;
}
.contact-wrap a:hover {
  text-decoration: underline;
}
.contact-wrap .note {
  font-size: 0.8rem;
  line-height: 24px;
  font-weight: 500;
  margin-bottom: 24px;
}
.contact-wrap .note-tel {
  font-size: 0.8rem;
  line-height: 20px;
}
.contact-wrap .contact-btn {
  text-align: center;
  font-size: 1.1rem;
  line-height: 28px;
}
.contact-wrap .contact-btn .btn {
  background:#fff;
  border-color:#fff;
  width: 100%;
  max-width: 320px;
}
.contact-wrap .contact-btn .btn:hover {
  color:#fff;
  text-decoration: none;
}
.gr1 .contact-wrap,
.gr1 .contact-wrap .ic.arr-right:hover {
  background: var(--green1);
}
.gr1 .contact-wrap .btn {
  color: var(--green1);
}
.gr1 .contact-wrap .ic.arr-right:before {
  background: no-repeat center url(../img/common/arrow-right-blue-green.svg);
  background-size: 100%;
  left: auto;
}
.contact-wrap .ic.arr-right:hover:before {
  background: no-repeat center url(../img/common/arrow-right-white.svg);
  background-size: 100%;
  left: auto;
}
.gr2 .contact-wrap,
.gr2 .contact-wrap .ic.arr-right:hover {
  background: var(--green2);
}
.gr2 .contact-wrap .btn {
  color: var(--green2);
}
.gr2 .contact-wrap .ic.arr-right:before {
  background: no-repeat center url(../img/common/arrow-right-yellow-green.svg);
  background-size: 100%;
  left: auto;
}

.testtype-wrap {
  padding:50px;
  margin:auto;
  background: var(--sub1);
}
.testtype-wrap .t {
  color:var(--main-color);
  text-align: center;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 36px;
  margin-bottom: 28px;
}
.testtype-wrap .desc {
  font-size: 0.9rem;
  line-height: 32px;
  margin-bottom: 28px;
}
.testtype-wrap .t1 {
  margin-bottom: 18px;
}
.testtype-wrap .btm-l {
  text-align: center;
}

.row-t2 {
  margin:0 -18px;
}
.row-t2>div {
  padding:0 18px;
}

.archive-cont>.row {
  margin-bottom: -25px;
}
.archive-cont>.row>div {
  margin-bottom: 25px;
}
.archive-cont .arc-box {
  text-align: center;
}
.arc-box .thumb {
  margin-bottom: 10px;
}
.arc-box .n {
  text-decoration: underline;
}

/* footer */
footer {
}
.f-inner {
  padding:60px 0;
  background: #F2F5F8;
  font-weight: 600;
}
.f-logo {
  max-width: 260px;
  text-align: center;
}
.f-logo a {
  display: inline-block;
}
.f-logo a:hover {
  text-decoration: none;
}
.f-logo .n {
  font-weight: 600;
  color:var(--main-color);
  text-align: center;
  margin-top: 4px;
}
.f-link {
  width: 100%;
  justify-content: center;
  text-align: center;
}
.f-link .fl-item {
  flex:0 0 auto;
  margin-left: 45px;
}
.f-link .fl-item:first-child {
  margin-left: 0;
}
.fl-item a {
  font-size: 0.9rem;
  font-weight: 600;
}
.fl-item a:hover {
  color:var(--main-color);
  text-decoration: underline;
}
.f-cr {
  margin-top: 22px;
  font-size: 0.8rem;
  text-align: center;
}

@media (max-width: 1450px) {

  .page-sougou_top .p-head .head-wrap,
  .page-daisotsu .p-head .head-wrap,
  .page-kousotsu .p-head .head-wrap {
    background-position: 10% center;
  }
  .navbar-brand img {
    max-width: 190px;
  }
  .navbar-brand span {
    font-size: 0.95rem;
    margin-left: 15px;
    padding-left: 15px;
  }
  .navbar-nav .nav-item {
    margin:0 10px;
  }
  .nav-site .navbar-nav .nav-link {
    font-size: 0.85rem;
  }
  .p-head .top-news {
    left: 80px;
  }
  .p-head .ht {
    padding-right: 80px;
  }
  main {
    margin-top: 85px;
  }
}
@media (max-width: 1320px) {
  .nav-site>.container-fluid {
    padding:0 18px;
  }
  .navbar-nav .nav-item {
    margin:0 8px;
  }
}

@media (min-width: 1217px) {
  .nav-site .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }
  .nav-site .navbar-toggler {
    display: none;
  }
  .nav-site .navbar-nav {
    flex-direction: row;
  }
}
@media (max-width: 1216px) {
  .nav-t-menu { display: none; }
  .resp-m-wrap {
    display: block;
    max-width: 500px;
    margin:auto;
    padding-top: 20px;
    padding-bottom: 30px;
  }

  /* navbar-expand-xlの代替 */
  .nav-site .navbar-collapse {
    display: none;
  }
  .nav-site .navbar-collapse.show {
    display: block !important;
  }
  .nav-site .navbar-toggler {
    display: block;
  }
  /**/

  .nav-site .navbar-toggler {
    position: relative;
    background:var(--main-color);
    border:none;
    border-radius: 22px;
    padding:10px 15px;
    padding-left: 60px;
    width: 130px;
  }
  .nav-site .navbar-toggler:before {
    content:"";
    position: absolute;
    left: 16px;
    top:50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: no-repeat center url(../img/common/ic-nav-def-close.svg);
    background-size: 100%;
  }
  .nav-site .navbar-toggler.collapsed {
    padding-left: 58px;
  }
  .nav-site .navbar-toggler.collapsed:before {
    background: no-repeat center url(../img/common/ic-nav-def.svg);
    background-size: 100%;
    left: 18px;
  }
  .nav-site .navbar-toggler .menu,
  .nav-site .navbar-toggler .close {
    color: #fff;
    font-weight: 600;
    font-size: 1.0rem;
    line-height: 24px;
  }
  .fixed-smenu,
  .navbar-toggler .menu,
  .navbar-toggler.collapsed>.close,.navbar-toggler:not(.collapsed)>.navbar-toggler-icon {
    display:none;
  }
  .navbar-toggler.collapsed>.menu {
    display: inline-block;
  }
  .nav-site #site-navbar-collapse {
    transition: none;
    overflow-y: scroll;
    height: calc(100vh - 85px);
  }
  .nav-resp-menu {
    border-top:2px solid var(--main-color);
    padding:8px 0;
  }
  .nav-resp-menu>.nav-item {
    margin:0;
    padding:0 0 0 10px;
    display: block;
  }
  .nav-site .navbar-nav .nav-link {
    text-align: left;
    padding:12px 0;
  }
  .nav-site .navbar-nav .nav-link:after{
    content:none;
  }
  .nav-site .navbar-nav.nav-resp-menu .nav-link {
    font-size: 1.0rem;
  }
  .nav-site .nav-resp-menu li a {
    display: block;
    position: relative;
    font-size: 0.9rem;
    line-height: 24px;
    font-weight: 600;
  }
  .nav-site .nav-resp-menu li a:hover {
    text-decoration: none;
  }
  .nav-site .nav-resp-menu li a:after,
  .nav-site .navbar-nav .nav-link:hover:after {
    content:""!important;
    position: absolute;
    left: auto;
    right: 10px;
    top:50%;
    transform: translateY(-50%);
    background: no-repeat center url(../img/common/arrow-right-black.svg);
    background-size: 100%;
    width: 14px;
    height: 14px;
  }
  .nav-site .nav-resp-menu .sub-nav {
    display: none;
    padding-left: 20px;
  }
  .nav-site .nav-resp-menu .opened .sub-nav {
    display: block;
  }
  .nav-site .navbar-nav .nav-link.dd-menu:after {
    background: no-repeat center url(../img/common/arrow-down-black.svg);
    background-size: 100%;
  }
  .nav-site .navbar-nav .opened .nav-link.dd-menu:after {
    transform: translateY(-50%) rotate(180deg);
  }

  .nav-site .nav-resp-menu .sub-nav li {
    padding:12px 0;
    border-bottom: 1px solid var(--main-color);
  }
  .nav-site .nav-resp-menu .sub-nav li:last-child {
    border-bottom: 0;
  }
  .p-head .top-news {
    left: 40px;
  }
  .p-head .ht {
    padding-right: 40px;
  }
}
@media (max-width: 992px) {
  .nav-site>.container-fluid {
    padding:0 16px;
  }
  .p-head .head-wrap {
    height: 240px;
  }
  .p-head .ht h1 {
    font-size: 1.4rem;
    line-height: 34px;
  }
  .p-head .top-news {
    transform: unset;
    margin-top: -60px;
    top:100%;
    left: 0;
    padding:0 40px;
    width: 100%;
  }
  .news-wrap .r-tt {
    padding:20px 30px 0;
  }
  .news-wrap .r-tt:after {
    content:"";
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    bottom: -1px;
    height: 2px;
    width: 100%;
    background: #fff;
  }
  .news-wrap .news-list {
    max-width: unset;
    padding:20px 30px;
  }
  .n-tt a {
    max-width: 450px;
  }
  .sec-brc {
    padding-top: 250px;
  }
  .sec-brc.no-news {
    padding-top: 0;
  }
  .thepage .sec.ptop {
    margin-top: 0;
  }
  .thepage .sec {
    padding:40px 0;
  }
  .thepage h2 {
    font-size: 1.6rem;
    line-height: 40px;
    margin-bottom: 20px;
  }
  .thepage h3 {
    font-size: 1.2rem;
    line-height: 30px;
    margin-bottom: 20px;
  }
  .row-t2 {
    margin:0 -12px;
  }
  .row-t2>div {
    padding:0 12px;
  }

  .ag-visit .note-box {
    padding:30px;
  }

  .qa-box {
    padding:20px;
    margin-bottom: 20px;
  }
  .qa-box .q:after {
    right: -10px;
  }

  .f-logo a img {
    max-width: 180px;
  }
  .fl-item a {
    font-size: 0.85rem;
  }
  .f-link .fl-item {
    flex:0 0 auto;
    margin-left: 25px;
  }
}
@media (max-width: 767px) {
  html, body {
    font-size: 0.9rem;
    line-height: 30px;
  }
  .nav-site>.container-fluid {
    padding:0 12px;
  }
  .navbar-brand {
    padding:10px 0;
    text-align: center;
  }
  .navbar-brand a {
    line-height: 24px;
  }
  .navbar-brand img {
    max-width: 150px;
  }
  .navbar-brand .br-t span {
    font-size: 0.85rem;
    line-height: 20px;
    border-left: 0;
    padding-left: 0;
    margin-left: 0;
    margin-top: 0;
    text-align: center;
  }

  .nav-site #site-navbar-collapse {
    height: calc(100dvh - 70px);
  }

  #gotop-btn {
    right: 15px;
    bottom: 15px;
  }
  .btn-def.m-ct {
    font-size: 1.0rem;
    line-height: 26px;
  }

  main {
    margin-top: 79px;
  }
  main:before {
    background-image: url(../img/common/sp/bg.svg?0329);
    top:160px;
    height: calc(100% - 160px);
  }

  .p-head .head-wrap {
    height: 160px;
  }
  .p-head .ht {
    padding:4px 15px;
  }
  .p-head .ht h1 {
    font-size: 1.0rem;
    line-height: 26px;
  }
  .p-head .ht .en {
    font-size: 0.8rem;
    letter-spacing:0;
  }

  .p-head .top-news {
    padding:0 12px;
    margin-top: -46px;
  }
  .news-wrap .r-tt {
    padding: 15px 20px 0;
    max-width: 152px;
  }
  .news-wrap .r-tt .en {
    font-size: 0.85rem;
    line-height: 20px;
  }
  .news-wrap .news-list {
    padding: 15px 20px;
  }
  .news-list .n-list-inn {
    max-height: 230px;
  }
  .news-list .news-item {
    flex-wrap: wrap;
    flex-direction: row;
    margin-bottom: 14px;
  }
  .news-list .news-item .n-col {
    width: 100%;
  }
  .news-item .date-cate {
    margin-bottom: 4px;
  }
  .news-item .n-tt {
    display: block;
    margin-left: 0;
  }
  .n-tt a {
    font-size: 0.85rem;
    line-height: 20px;
  }
  .sec-brc {
    padding-top: 290px;
  }

  .thepage h2 {
    font-size: 1.4rem;
    line-height: 34px;
  }
  .thepage h3 {
    font-size: 1.1rem;
    line-height: 28px;
  }

  .v-c1 .news-wrap .r-tt {
    padding-right: 20px;
    max-width: 300px;
  }
  .v-c1 .news-list .n-list-inn {
    max-height: 180px;
  }
  .page-gr1 .sec-brc,
  .page-gr2 .sec-brc,
  .page-sougou_top .sec-brc {
    padding-top: 240px;
  }

  .qa-box {
    padding:12px 10px;
  }
  .qa-box .q:after {
    right: 0;
    width: 16px;
    height: 16px;
  }
  .qa-box .n {
    padding-right: 15px;
  }
  .qa-box .n .i {
    margin-right: 8px;
    width: 23px;
    font-size: 1.2rem;
  }
  .qa-box.opened .a {
    padding-top: 20px;
  }

  .f-logo {
    margin:auto;
    margin-bottom: 30px;
  }
  .f-logo a img {
    max-width: 250px;
  }
  .f-link {
    display: block!important;
    text-align: center;
  }
  .f-link .fl-item {
    margin-left: 0;
    margin-bottom: 25px;
  }

  .ag-visit .note-box {
    padding:20px 15px;
  }

  .contact-wrap,.testtype-wrap,.faq-wrap {
    padding: 20px 15px;
  }
  .contact-wrap .t,
  .testtype-wrap .t,
  .faq-wrap .t {
    font-size: 1.1rem;
    line-height: 30px;
    margin-bottom: 15px;
  }
  .contact-wrap .st {
    font-size: 0.9rem;
    line-height: 24px;
    margin-bottom: 12px;
  }
}