@charset "UTF-8";
/*
Theme Name: NSFインター株式会社
Description: NSFインター株式会社のテンプレートです
Version: 1.0
Author: H.Nagoshi
*/
/* Root */
html {
  font-size: 85%;
  scroll-behavior: smooth;
}
@media screen and (min-width: 576px) {
  html {
    font-size: 100%;
  }
}

/* --- */
/* Base */
body {
  color: #555;
  font-family: "Roboto", "Helvetica", "Arial", sans-serif;
  line-height: 1.6;
  word-wrap: break-word;
}
body:lang(ja) {
  font-family: "Noto Sans JP", "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  font-weight: 500;
  line-height: 1.8;
}
body * {
  box-sizing: border-box;
}
body a {
  color: #555;
  text-decoration: none;
}
body li {
  list-style: none;
}
body span.line {
  display: block;
  width: 100%;
  height: 1.5px;
  margin-top: 70px;
  background-color: #3C379E;
}
body .js-fadeinup-trigger,
body .js-fadein-trigger {
  opacity: 0;
}
body select {
  /* 初期化 */
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
  color: #333;
  font-size: 1rem;
  width: 100%;
  height: 100%;
  padding: 0 10px;
}

/* --- */
/* Common */
.content,
.main-header-content,
.main-footer-content,
.sub-footer-content {
  padding: 0px 15px;
  margin: 0px auto;
  max-width: 1120px;
}
@media screen and (min-width: 576px) {
  .content,
  .main-header-content,
  .main-footer-content,
  .sub-footer-content {
    padding: 0px 40px;
  }
}

.main-content {
  padding-bottom: 7rem;
  background-color: #fff;
}
.main-content section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.main-content section.home-service, .main-content section.home-news, .main-content section.greeting, .main-content section.history {
  background-color: #F4F8FA;
}

.grecaptcha-badge {
  visibility: hidden;
}

/* --- */
.content-title {
  font-size: 1rem;
  font-weight: 500;
  color: #3C379E;
  letter-spacing: 0.15rem;
  position: relative;
  margin-left: 0px;
  padding-left: 0px;
  margin-bottom: 1.8rem;
}
.content-title::before {
  content: attr(data-title);
  font-family: "Roboto", sans-serif;
  font-size: 3.8rem;
  font-weight: 500;
  font-style: italic;
  color: #3C379E;
  line-height: 1em;
  letter-spacing: 0.14rem;
  text-transform: uppercase;
  margin-right: 10px;
}
@media screen and (min-width: 782px) {
  .content-title::before {
    font-size: 3.8rem;
  }
}
.content-title::after {
  content: "";
  width: 100%;
  height: 1.8px;
  position: absolute;
  background-color: #3C379E;
  left: 0px;
  bottom: -5px;
}
.content-title-align {
  text-align: left;
}

/* 共通ボタン */
.item-button {
  background-color: #04274b;
  color: #fff;
  font-size: 0.9rem;
  padding: 9px 24px;
  border: 1px solid #04274b;
  border-radius: 3px;
  transition-property: all;
  transition-duration: 0.5s;
  transition-timing-function: ease;
  transition-delay: 0.1s;
}
.item-button:hover {
  background-color: #fff;
  color: #32373c;
  transition-property: all;
  transition-duration: 0.5s;
  transition-timing-function: ease;
  transition-delay: 0.2s;
}

/* --- */
/* MainHeader */
.main-header {
  padding: 10px 0px;
  position: fixed;
  background-color: rgba(255, 255, 255, 0.9);
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}
.main-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.main-header-content .site-branding {
  display: flex;
}
.main-header-content .site-branding .logo {
  display: flex;
  justify-content: center;
  align-items: center;
}
.main-header-content .site-branding .logo img {
  width: 50px;
  height: 50px;
}
.main-header-content .site-branding-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  padding-left: 10px;
}
.main-header-content .site-branding-wrapper .site-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111;
  line-height: 1.5;
}
.main-header-content .site-branding-wrapper .site-description {
  font-size: 0.85rem;
  color: #777;
}

/* --- */
/* Navigation */
.gnav {
  display: none;
}
@media screen and (min-width: 980px) {
  .gnav {
    display: block;
    text-align: center;
  }
  .gnav > ul {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
  }
  .gnav > ul > li {
    position: relative;
  }
  .gnav > ul > li a {
    line-height: 50px;
  }
  .gnav > ul > li.current-menu-item > a {
    font-weight: bold;
  }
  .gnav > ul > li:has(.sub-menu).menu-item > a::after {
    content: "\f107";
    display: inline-block;
    font: 16px FontAwesome;
    margin-left: 8px;
  }
  .gnav > ul > li:has(.sub-menu).menu-item ul {
    opacity: 0;
    position: absolute;
  }
  .gnav > ul > li:has(.sub-menu).menu-item ul li {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #eee;
    width: 200px;
    text-align: left;
  }
  .gnav > ul > li:has(.sub-menu).menu-item ul li a {
    line-height: 50px;
    padding: 10px;
    font-weight: normal;
  }
  .gnav > ul > li:has(.sub-menu).menu-item ul li a:hover {
    color: #aaa;
  }
  .gnav > ul > li:has(.sub-menu):hover.menu-item ul {
    opacity: 1;
    z-index: 1;
    transition-property: all;
    transition-duration: 0.5s;
    transition-timing-function: ease-in-out;
    transition-delay: 0.3s;
  }
}

.dnav {
  width: 75%;
  height: 100vh;
  padding-top: 78px;
  background-color: rgba(255, 255, 255, 0.9);
  line-height: 3.866;
  position: fixed;
  top: 0;
  right: -120%;
  transition: all 0.6s;
  z-index: 2;
}
@media screen and (min-width: 576px) {
  .dnav {
    width: 50%;
  }
}
.dnav.is-open {
  right: 0;
}
.dnav > ul {
  margin-right: 50px;
  margin-left: 50px;
}
.dnav > ul > li {
  position: relative;
}
.dnav > ul > li.current-menu-item > a {
  font-weight: bold;
}
.dnav > ul > li:has(.sub-menu).menu-item::after {
  content: "\f107";
  font: normal 16px FontAwesome;
  position: absolute;
  top: 22px;
  right: 10px;
}
.dnav > ul > li:has(.sub-menu).menu-item.toggled-on::after {
  content: "\f106";
}
.dnav > ul > li:has(.sub-menu).menu-item > .sub-menu {
  padding-left: 30px;
  line-height: 0;
  transition: all 0.5s;
}
.dnav > ul > li:has(.sub-menu).menu-item > .sub-menu a {
  opacity: 0;
}
.dnav > ul > li:has(.sub-menu).menu-item > .sub-menu.toggled-on {
  padding-left: 30px;
  line-height: 3;
  transition: all 0.5s;
}
.dnav > ul > li:has(.sub-menu).menu-item > .sub-menu.toggled-on a {
  opacity: 1;
  transition: all 1.5s;
}
@media screen and (min-width: 980px) {
  .dnav {
    display: none;
  }
}

.btn-nav {
  position: fixed;
  top: 10px;
  right: 20px;
  width: 30px;
  height: 30px;
  z-index: 3;
}
.btn-nav span::before, .btn-nav span, .btn-nav span::after {
  content: "";
  display: block;
  height: 2px;
  width: 25px;
  border-radius: 3px;
  background-color: #666666;
  position: absolute;
  transition: all 0.4s;
}
.btn-nav span::before {
  bottom: 8px;
}
.btn-nav span::after {
  top: 8px;
}
.btn-nav.is-open span {
  background-color: rgba(255, 255, 255, 0);
}
.btn-nav.is-open span::before {
  bottom: 0px;
  transform: rotate(45deg);
}
.btn-nav.is-open span::after {
  top: 0px;
  transform: rotate(-45deg);
}
@media screen and (min-width: 980px) {
  .btn-nav {
    display: none;
  }
}

/* --- */
/* HomeHeader */
.home-header {
  background-color: #333;
  background-position: center;
  background-size: cover;
  margin-top: 86.4688px;
}
.home-header.home-header-1 {
  background-image: url(img/home-header-1.jpg);
}
.home-header.home-header-2 {
  background-image: url(img/home-header-2.jpg);
}
.home-header.home-header-3 {
  background-image: url(img/home-header-3.jpg);
}
.home-header .home-header-content {
  padding-top: 150px;
  padding-bottom: 150px;
  text-align: center;
}
@media screen and (min-width: 782px) {
  .home-header .home-header-content {
    padding-top: 250px;
    padding-bottom: 250px;
  }
}
@media screen and (min-width: 980px) {
  .home-header .home-header-content {
    padding-top: 350px;
    padding-bottom: 350px;
  }
}
.home-header .home-header-content .home-header-title {
  font-size: 1.9rem;
  color: #fff;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}
@media screen and (min-width: 782px) {
  .home-header .home-header-content .home-header-title {
    font-size: 2.5rem;
  }
}
@media screen and (min-width: 980px) {
  .home-header .home-header-content .home-header-title {
    font-size: 3rem;
  }
}
.home-header .home-header-content .home-header-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 5px;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}
@media screen and (min-width: 980px) {
  .home-header .home-header-content .home-header-text {
    font-size: 1.2rem;
  }
}

/* --- */
/* SubHeader */
.sub-header {
  background-color: #333;
  background-position: center;
  background-size: cover;
  margin-top: 86.4688px;
}
.sub-header.sub-header-company {
  background-image: url(img/sub-header-company.jpg);
}
.sub-header.sub-header-service {
  background-image: url(img/sub-header-service.jpg);
}
.sub-header.sub-header-news {
  background-image: url(img/sub-header-news.jpg);
}
.sub-header.sub-header-contact {
  background-image: url(img/sub-header-contact.jpg);
}
.sub-header.sub-header-privacy {
  background-image: url(img/sub-header-privacy.jpg);
}
.sub-header.sub-header-notfound {
  background-image: url(img/sub-header-notfound.jpg);
}
.sub-header .sub-header-overlay {
  background-color: rgba(0, 0, 0, 0.5);
}
.sub-header .sub-header-overlay .sub-header-content {
  padding-top: 50px;
  padding-bottom: 50px;
  text-align: center;
}
@media screen and (min-width: 782px) {
  .sub-header .sub-header-overlay .sub-header-content {
    padding-top: 70px;
    padding-bottom: 70px;
  }
}
@media screen and (min-width: 980px) {
  .sub-header .sub-header-overlay .sub-header-content {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}
.sub-header .sub-header-overlay .sub-header-content .sub-header-title {
  font-size: 1.9rem;
  font-family: "Roboto", "Helvetica", "Arial", sans-serif;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.2em;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}
@media screen and (min-width: 782px) {
  .sub-header .sub-header-overlay .sub-header-content .sub-header-title {
    font-size: 2.5rem;
  }
}
@media screen and (min-width: 980px) {
  .sub-header .sub-header-overlay .sub-header-content .sub-header-title {
    font-size: 3.5rem;
  }
}
.sub-header .sub-header-overlay .sub-header-content .sub-header-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.35em;
  margin-top: 5px;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}
@media screen and (min-width: 980px) {
  .sub-header .sub-header-overlay .sub-header-content .sub-header-text {
    font-size: 1.3rem;
  }
}

/* --- */
/* Breadcrumb */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: #6C6C6C;
  line-height: 3.2;
  padding-left: 20px;
  border-bottom: 1px solid #eee;
  background-color: #F4F8FA;
}
.breadcrumb > li {
  display: inline-block;
  position: relative;
}
.breadcrumb > li:not(:last-of-type)::after {
  content: ">";
  display: inline-block;
  margin-right: 0.5em;
  margin-left: 0.5em;
}

/* --- */
/* Footer */
footer {
  color: #fff;
}
footer a {
  color: #fff;
}
footer .main-footer {
  background-color: #222;
}
footer .main-footer .main-footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: right;
  padding-top: 15px;
  padding-bottom: 5px;
}
footer .main-footer .main-footer-content .fnav {
  flex: 1 1 auto;
  font-size: 0.8rem;
  font-weight: 600;
}
footer .main-footer .main-footer-content .fnav > ul {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-wrap: wrap;
}
@media screen and (min-width: 980px) {
  footer .main-footer .main-footer-content .fnav > ul {
    justify-content: flex-end;
  }
}
footer .main-footer .main-footer-content .fnav > ul li {
  flex: 0 0 100px;
  text-align: center;
}
@media screen and (min-width: 980px) {
  footer .main-footer .main-footer-content .fnav > ul li {
    text-align: right;
  }
}
footer .main-footer .sub-footer-content {
  padding-top: 5px;
  padding-bottom: 5px;
}
footer .main-footer .sub-footer-content .site-info {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.7rem;
}
@media screen and (min-width: 980px) {
  footer .main-footer .sub-footer-content .site-info {
    justify-content: flex-end;
  }
}
footer .main-footer .sub-footer-content .site-info p {
  margin-right: 20px;
}
footer .pagetop {
  height: 50px;
  width: 50px;
  position: fixed;
  right: 13px;
  bottom: 90px;
  background: rgba(255, 255, 255, 0.5);
  border: solid 2px #aaa;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}
footer .pagetop .pagetop-arrow {
  height: 10px;
  width: 10px;
  border-top: 3px solid #aaa;
  border-right: 3px solid #aaa;
  transform: translateY(20%) rotate(-45deg);
}

/* --- */
/* Content */
.about {
  text-align: center;
}
.about p:nth-of-type(1) {
  font-family: "Noto Serif JP", serif;
  font-size: 2.1rem;
  font-weight: 400;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: #3C379E;
}
.about p:nth-of-type(1)::after {
  content: "";
  width: 350px;
  height: 2px;
  margin: 30px auto 60px auto;
  background-color: #3C379E;
  display: block;
}
.about p:nth-of-type(2) {
  font-size: 1rem;
  line-height: 35px;
  letter-spacing: 1px;
}

/* --- */
/* Service */
@media screen and (min-width: 782px) {
  .box-item-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}
.box-item-container .box-item-home {
  margin-bottom: 100px;
}
@media screen and (min-width: 782px) {
  .box-item-container .box-item-home {
    width: 31%;
    margin-bottom: 0;
  }
}
.box-item-container .box-item-home .item-img img {
  width: 100%;
}
.box-item-container .box-item-home .item-title {
  position: relative;
  font-size: 1.5rem;
  padding-left: 50px;
  margin-bottom: 0.3rem;
  color: #3C379E;
}
.box-item-container .box-item-home .item-title::before {
  position: absolute;
  font-family: FontAwesome;
  top: 3px;
  left: 5px;
}
.box-item-container .box-item-home .item-title.system::before {
  content: "\f390";
}
.box-item-container .box-item-home .item-title.web::before {
  content: "\f0c2";
}
.box-item-container .box-item-home .item-title.consultant::before {
  content: "\f4c6";
}
.box-item-container .box-item-home .item-text p {
  font-size: 0.9rem;
  letter-spacing: 1.2px;
  margin-bottom: 2rem;
  opacity: 0.8;
}
.box-item-container .box-item-home .item-button-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.box-item-container .box-item-service {
  margin-bottom: 100px;
}
@media screen and (min-width: 782px) {
  .box-item-container .box-item-service {
    margin-bottom: 0;
  }
}
.box-item-container .box-item-service .item-title-sub {
  text-align: center;
}
.box-item-container .box-item-service .item-img img {
  width: 70%;
  display: block;
  margin: 0 auto;
}
.box-item-container .box-item-service .item-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #3C379E;
}
.box-item-container .box-item-service .item-link {
  display: none;
}
@media screen and (min-width: 782px) {
  .box-item-container .box-item-service .item-link {
    display: block;
  }
}
.box-item-container .box-item-service .item-link a {
  display: block;
  width: 50px;
  height: 50px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}
.box-item-container .box-item-service .item-link a::after {
  content: "";
  width: 30px;
  height: 30px;
  position: absolute;
  top: 5px;
  left: calc((100% - 30px) / 2);
  border-bottom: solid 2px #555;
  border-right: solid 2px #555;
  transform: rotate(45deg);
}

.service-item {
  padding-top: 2rem !important;
}
.service-item h3 {
  counter-increment: title_no;
  position: relative;
  width: 100%;
  color: #3C379E;
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 1rem;
  font-weight: 600;
  border-bottom: 3px solid #3C379E;
  margin-bottom: 25px;
  font-size: 2.5rem;
}
@media screen and (min-width: 576px) {
  .service-item h3 {
    padding-left: 9rem;
  }
}
@media screen and (min-width: 782px) {
  .service-item h3 {
    font-size: 3rem;
    padding-top: 4rem;
    padding-bottom: 1.5rem;
    padding-left: 14rem;
  }
}
.service-item h3::before {
  display: none;
  font-family: "Roboto", "Helvetica", "Arial", sans-serif;
  font-style: italic;
  color: rgba(230, 230, 230, 0.5);
}
@media screen and (min-width: 576px) {
  .service-item h3::before {
    display: block;
    content: "0" counter(title_no);
    position: absolute;
    top: -2.2rem;
    left: 10px;
    font-size: 6rem;
  }
}
@media screen and (min-width: 782px) {
  .service-item h3::before {
    top: -3.4rem;
    font-size: 10rem;
  }
}

.service-item-container {
  background-color: #F4F8FA;
  border-radius: 10px;
  margin-bottom: 70px;
}
.service-item-container:nth-last-child(1) {
  margin-bottom: 0;
}
@media screen and (min-width: 782px) {
  .service-item-container {
    padding-top: 324px;
    padding-right: 25px;
    padding-bottom: 25px;
    padding-left: 25px;
  }
}
.service-item-container .service-item-wrapper {
  display: flex;
  flex-direction: column;
  margin-left: auto;
  padding: 20px;
  padding-bottom: 0;
  border-radius: 10px;
  font-size: 1rem;
}
@media screen and (min-width: 782px) {
  .service-item-container .service-item-wrapper {
    width: 750px;
    padding: 25px;
    padding-bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
  }
  .service-item-container .service-item-wrapper.reverse {
    margin-left: 0;
  }
}
.service-item-container .service-item-wrapper .service-item-title {
  position: relative;
  margin-bottom: 15px;
  padding-left: 40px;
  font-size: 1.8rem;
  font-weight: bold;
  color: #3C379E;
}
@media screen and (min-width: 782px) {
  .service-item-container .service-item-wrapper .service-item-title {
    padding-left: 50px;
  }
}
.service-item-container .service-item-wrapper .service-item-title::before {
  font-family: FontAwesome;
  position: absolute;
  top: 1px;
  left: 5px;
}
.service-item-container .service-item-wrapper .service-item-title.summary::before {
  content: "\f0c0";
}
.service-item-container .service-item-wrapper .service-item-title.work::before {
  content: "\f0b1";
}
.service-item-container .service-item-wrapper .service-item-title.skill::before {
  content: "\f7d9";
}
.service-item-container .service-item-wrapper .service-item-title::after {
  content: "";
  position: absolute;
  display: block;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: #3C379E;
}
.service-item-container .service-item-wrapper .service-item-img {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
}
@media screen and (min-width: 782px) {
  .service-item-container .service-item-wrapper .service-item-img {
    position: absolute;
    width: 650px;
    padding: 25px;
    z-index: -1;
  }
  .service-item-container .service-item-wrapper .service-item-img.reverse {
    right: 0;
    left: auto;
  }
}
.service-item-container .service-item-wrapper .service-item-img img {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}
.service-item-container .service-item-wrapper .service-item-text {
  width: 100%;
}
.service-item-container .service-item-wrapper .service-item-text p {
  margin-bottom: 20px;
}
.service-item-container .service-item-wrapper .service-item-text ul {
  position: relative;
  margin-bottom: 20px;
}
.service-item-container .service-item-wrapper .service-item-text ul li {
  padding-left: 25px;
}
.service-item-container .service-item-wrapper .service-item-text ul li::before {
  font-family: FontAwesome;
  content: "\f0da";
  position: absolute;
  left: 5px;
  color: gray;
  margin-bottom: 20px;
}

/* --- */
/* Company */
.home-company {
  background-image: url("img/content-bg.jpg");
  background-color: rgba(255, 255, 255, 0.9);
  background-blend-mode: lighten;
  background-size: cover;
}

.box-company dl {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.box-company dl:not(:last-of-type) {
  margin-bottom: 24px;
}
.box-company dt {
  width: 12em;
  margin-right: 2rem;
  background-color: rgba(196, 196, 196, 0.2);
  text-align: center;
  line-height: 1.4rem;
  padding: 2px 0;
}
.box-company dd {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 0px;
}

.greeting .greeting-wrapper {
  display: block;
}
@media screen and (min-width: 980px) {
  .greeting .greeting-wrapper {
    display: flex;
    justify-content: space-between;
  }
}
.greeting .greeting-wrapper .greeting-figure {
  width: 50%;
  margin: 0 auto 35px;
}
@media screen and (min-width: 980px) {
  .greeting .greeting-wrapper .greeting-figure {
    width: 50%;
    margin: 0;
  }
}
.greeting .greeting-wrapper .greeting-figure img {
  display: block;
  width: 100%;
  margin: 0 auto;
}
@media screen and (min-width: 980px) {
  .greeting .greeting-wrapper .greeting-figure img {
    width: 85%;
    margin: 0;
  }
}
.greeting .greeting-wrapper div.greeting-text {
  width: 100%;
  margin: 0 auto;
}
.greeting .greeting-wrapper div.greeting-text p {
  line-height: 1.75em;
  letter-spacing: 0.01em;
}
.greeting .greeting-wrapper div.greeting-text .greeting-name {
  padding-top: 10px;
  text-align: right;
}
.greeting .greeting-wrapper div.greeting-text .greeting-name p {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5em;
  letter-spacing: 0.06em;
}

.company {
  background-image: url("img/content-bg.jpg");
  background-color: rgba(255, 255, 255, 0.9);
  background-blend-mode: lighten;
  background-size: cover;
}
.company .company-info-wrapper {
  display: flex;
  flex-direction: column;
}
.company .company-info-wrapper .space {
  padding-top: 50px;
}
.company .company-info-wrapper .map {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 50%;
  border: 1px solid #ccc;
}
@media screen and (min-width: 980px) {
  .company .company-info-wrapper .map {
    padding-top: 29%;
  }
}
.company .company-info-wrapper .map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.history table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0px;
}
.history table tr {
  display: block;
  padding: 0.5em 0;
  border-bottom: 1px solid #ccc;
}
.history table tr:first-child {
  padding-top: 0;
}
.history table tr th, .history table tr td {
  font-size: 1rem;
}
.history table tr th {
  display: block;
  width: 7.5rem;
  text-align: left;
  color: #666;
}
@media screen and (min-width: 980px) {
  .history table tr th {
    display: table-cell;
    vertical-align: top;
  }
}
.history table tr td {
  display: block;
  color: #777;
}
@media screen and (min-width: 980px) {
  .history table tr td {
    display: table-cell;
  }
}

/* --- */
/* News */
.news-list > li {
  padding-bottom: 10px;
  border-bottom: 1px solid #BABABA;
}
.news-list > li:not(:last-of-type) {
  margin-bottom: 13px;
}
.news-list > li > a {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.news-list > li > a .thumbnail {
  width: 15%;
  line-height: 1;
}
.news-list > li > a .thumbnail img {
  width: 100%;
  height: auto;
}
.news-list > li > a .text {
  padding-left: 5%;
}
.news-list > li > a .text .list-head {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 8px;
}
.news-list > li > a .text .list-head .date {
  width: 85px;
  font-size: 1rem;
  color: #3C379E;
}
.news-list > li > a .text .list-head ul {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.news-list > li > a .text .list-head ul .cat-item {
  font-size: 0.75rem;
  padding: 5px;
  margin-left: 8px;
  background-color: #000;
  color: #fff;
  line-height: 1em;
  border-radius: 3px;
}
.news-list > li > a .text .title {
  font-size: 1.2rem;
}

.wp-pagenavi {
  display: flex;
  justify-content: flex-end;
  margin-top: 42px;
}
.wp-pagenavi span, .wp-pagenavi a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #444444;
  font-size: 1rem;
  font-weight: 500;
  transition: 0.3s ease-in;
}
.wp-pagenavi span:not(:last-child), .wp-pagenavi a:not(:last-child) {
  margin-right: 2.5%;
}
.wp-pagenavi span:hover, .wp-pagenavi a:hover {
  background-color: #3C379E;
  color: #fff;
}
.wp-pagenavi span.current {
  background-color: #3C379E;
  color: #fff;
}
.wp-pagenavi a {
  color: #666;
}

@media screen and (min-width: 980px) {
  aside.sidebar {
    width: 18%;
    min-width: 200px;
    padding: 10px;
  }
}
aside.sidebar .box-archive .item {
  padding-bottom: 20px;
  border-bottom: 1px solid #aaa;
  margin-bottom: 30px;
}
aside.sidebar .box-archive .item .sidebar-title {
  font-size: 1.4rem;
  color: #3C379E;
  margin-bottom: 10px;
}
aside.sidebar .box-archive .item .sidebar-list {
  font-size: 1.2rem;
  /* 基本のセレクトボックスのカスタマイズ */
}
aside.sidebar .box-archive .item .sidebar-list .select {
  background: rgba(245, 245, 245, 0.9);
  color: #333;
  height: 35px;
  width: 100%;
  border-radius: 3px;
  position: relative;
  z-index: 1;
}
aside.sidebar .box-archive .item .sidebar-list .select::after {
  position: absolute;
  content: "";
  width: 8px;
  height: 8px;
  right: 10px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  z-index: -1;
}

.news-wrapper {
  display: block;
}
@media screen and (min-width: 980px) {
  .news-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
}
.news-wrapper .box-news {
  margin-top: 50px;
  position: relative;
}
@media screen and (min-width: 980px) {
  .news-wrapper .box-news {
    width: 79%;
    padding: 10px;
    margin-top: 0;
  }
}
.news-wrapper .box-news .post-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.news-wrapper .box-news time {
  font-size: 1.4rem;
  color: #3C379E;
  margin-right: 12px;
}
.news-wrapper .box-news .cat-list {
  font-size: 1rem;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.news-wrapper .box-news .cat-list li {
  font-size: 1rem;
  padding: 5px;
  margin-left: 8px;
  background-color: #000;
  color: #fff;
  line-height: 1em;
  border-radius: 3px;
}
.news-wrapper .box-news .post-title {
  font-size: 1.8rem;
  padding-top: 5px;
  padding-bottom: 15px;
  margin-bottom: 30px;
  border-bottom: 1px solid #aaa;
}
@media screen and (min-width: 576px) {
  .news-wrapper .box-news .post-title {
    font-size: 2.5rem;
  }
}
.news-wrapper .box-news .post-wrapper {
  margin-bottom: 50px;
}
.news-wrapper .box-news .post-wrapper .eyecatch {
  margin-bottom: 30px;
}
.news-wrapper .box-news .post-wrapper .eyecatch img {
  width: 100%;
  height: auto;
}
.news-wrapper .box-news .post-wrapper p {
  font-size: 1.2rem;
}
.news-wrapper .box-news .page-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  padding: 15px 10px;
  border-top: 1px dashed #aaa;
  border-bottom: 1px dashed #aaa;
}
.news-wrapper .box-news .page-nav li {
  flex-basis: 200px;
  flex-shrink: 1;
  flex-grow: 1;
}
.news-wrapper .box-news .page-nav li:nth-child(1) {
  text-align: left;
}
.news-wrapper .box-news .page-nav li:nth-child(2) {
  text-align: center;
}
.news-wrapper .box-news .page-nav li:nth-child(3) {
  text-align: right;
}

/* --- */
/* contact */
.contact {
  max-width: 800px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}
.contact .about-text {
  margin-bottom: 54px;
  font-size: 0.9375rem;
  color: #333;
  line-height: 2.333;
}
.contact .about-text .text-red {
  color: #DA1725;
}
.contact .about-text a {
  color: #3C379E;
}
.contact .form-box {
  width: 100%;
}
.contact .form-box dl {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
}
@media screen and (min-width: 782px) {
  .contact .form-box dl {
    flex-direction: row;
  }
}
.contact .form-box dl dt {
  font-weight: 400;
  text-align: left;
  padding-bottom: 10px;
}
@media screen and (min-width: 782px) {
  .contact .form-box dl dt {
    padding-bottom: 30px;
  }
}
.contact .form-box dl dt .required {
  display: inline-block;
}
.contact .form-box dl dt .required::after {
  content: "※";
  display: inline-block;
  padding-left: 1rem;
  color: #DA1725;
}
.contact .form-box dl dd {
  width: 100%;
  padding-bottom: 30px;
}
@media screen and (min-width: 782px) {
  .contact .form-box dl dd {
    padding-bottom: 30px;
    width: 63.993%;
  }
}
.contact .btn-wrapper {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.contact .btn-wrapper .item-button {
  padding: 9px 64px;
}
.contact .btn-wrapper span.wpcf7-spinner {
  display: none !important;
}

.wpcf7-form-control-wrap .wpcf7-radio {
  display: flex;
  flex-direction: column;
}
.wpcf7-form-control-wrap .wpcf7-radio .wpcf7-list-item {
  margin: 0 !important;
  /* デフォルトのボタン */
  /* チェック後のボタン */
}
.wpcf7-form-control-wrap .wpcf7-radio .wpcf7-list-item input[type=radio] {
  opacity: 0; /* デフォルトのボタンを非表示 */
  position: absolute;
}
.wpcf7-form-control-wrap .wpcf7-radio .wpcf7-list-item .wpcf7-list-item-label {
  cursor: pointer;
  display: flex;
  /* チェック前のボタン */
}
.wpcf7-form-control-wrap .wpcf7-radio .wpcf7-list-item .wpcf7-list-item-label::before {
  background: #fff;
  border: 1px solid #333;
  border-radius: 100%; /* ラジオボタンっぽく丸くする */
  content: "";
  height: 1.2rem;
  margin-bottom: auto;
  margin-right: 0.5rem;
  margin-top: auto;
  transition: background-color 0.5s; /* 色をじんわり変化させる */
  width: 1.2rem;
}
.wpcf7-form-control-wrap .wpcf7-radio .wpcf7-list-item input[type=radio]:checked + .wpcf7-list-item-label::before {
  background-color: #7fbfff; /* チェック後の中心の色 */
  box-shadow: inset 0 0 0 3px #fff; /* 中心の色のスタイル */
}
.wpcf7-form-control-wrap input[type=text], .wpcf7-form-control-wrap input[type=email], .wpcf7-form-control-wrap input[type=tel], .wpcf7-form-control-wrap textarea {
  width: 100%;
  padding: 6px 10px;
  border: 1px solid #C4C4C4;
  border-radius: 5px;
  outline: none;
}

/* --- */
/* Privacy */
.privacy > * {
  max-width: 630px;
  margin: 0 auto;
  margin-bottom: 1.8rem;
  padding-left: 15px;
  padding-right: 15px;
}
.privacy p {
  padding-left: 15px;
}
.privacy ul li {
  list-style: disc;
  margin-left: 55px;
}

/* --- */
/* NotFount */
.notfound {
  max-width: 586px;
  margin: 0 auto;
  font-size: 0.9rem;
  color: #555;
  line-height: 2rem;
}
.notfound > p:not(:last-of-type) {
  margin-bottom: 1.5rem;
}

/* --- */