@charset "UTF-8";
@import url("css/reset.min.css");
/*
theme Name:TmpA2022
Author: TmpA2022
Description:TmpA2022
*/


/*共通スタイル
--------------------------------------------------*/
/*------------------------------------------------*/
html {
  scroll-behavior: smooth;
  font-size: 62.5%;
  /*pxだと10px;*/
}

@media screen and (min-width: 1000px) and (max-width: 1150px) {
  html {
    font-size: 56.7%;
  }
}

body {
  width: 100%;
  height: auto;
  background: #fff;
  color: #404040;
  font-family: "Avenir", "Helvetica Neue", "Helvetica", "Arial", "Hiragino Sans",
    "ヒラギノ角ゴシック", YuGothic, "Yu Gothic", "メイリオ", Meiryo,
    "ＭＳ Ｐゴシック", "MS PGothic";
  position: relative;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  display: inline-block;font-weight: bold;
  color: #404040;
  text-decoration-line: none;
}

a:hover {
  opacity: 0.9;
  transition-duration: 0.8s;
}

a img:hover {
  opacity: 0.9;
  transition-duration: 0.8s;
}

a.anchor {
  display: block;
  margin-top: -80px;
  padding-top: 80px;
}

@media screen and (max-width: 999px) {
  a.anchor {
    margin-top: -40px;
    padding-top: 40px;
  }
}

.underline {
  border-bottom: 3px solid #000;
  padding-bottom: 1rem;
}

.pc-none {
  display: none;
}

.sp-none {
  display: block;
}

@media screen and (max-width: 999px) {
  .pc-none {
    display: block;
  }

  .sp-none {
    display: none;
  }

  a.anchor {
    margin-top: -40px;
    padding-top: 40px;
  }
}

.clear {
  clear: both;
}

.max-img {
  width: 100%;
}

section {
  display: block;
}

/*ヘッダー
-------------------------------------*/
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 3;
}

#header .header-inner {
  width: 94%;
  height: 70px;
  margin: 30px auto 0;
  padding: 0 2%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, 0.7);
}

#header.change .header-inner {
  height: 50px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0px 10px 10px -6px rgba(0, 0, 0, 0.3);
  transition-duration: 0.8s;
}

@media screen and (max-width: 999px) {

  #header .header-inner {
    width: 100%;
    padding: 8px 3%;
    margin: 0;
    height: 54px;
    justify-content: space-between;
  }

  #header.change .header-inner {
    height: 44px;
    box-shadow: none;
    background-color: rgba(255, 255, 255, 1);
    transition-duration: 0.8s;
  }
}

#header .header-inner .left,
#header .header-inner .right {
  display: flex;
}

#header .logo img {
  height: 45px;
}

#header.change .logo img {
  height: 35px;
  transition-duration: 0.8s;
}

@media screen and (max-width: 999px) {

  #header .logo img {
    height: 40px;
  }

  #header.change .logo img {
    height: 30px;
    transition-duration: 0.8s;
  }
}

/*SNSリンク*/
#header ul.sns-area {
  display: flex;
  align-items: center;
  margin-left: 2rem;
}

#header ul.sns-area img {
  width: 3.4rem;
  height: auto;
  margin-right: 1rem;
}

@media screen and (max-width: 999px) {
  #header ul.sns-area {
    display: none;
  }
}

#header .header-nav {
  display: flex;
  justify-content: space-between;
}

@media screen and (max-width: 999px) {
  #header .header-nav {
    display: block;
  }
}

#header li.menu-item a {
  position: relative;
  display: block;
  line-height: 48px;
  padding: 0 1.5em;
  box-sizing: border-box;
  color: #404040;
  font-size: 1.4rem;
  text-align: right;
  white-space: nowrap;
}

#header .menu-item a:hover {
  color: #03227B;
}

#header .menu-item a:hover::after {
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
  margin: auto;
  content: '';
  width: 4rem;
  height: 2px;
  background: #03227B;
  transition: .3s;
}

@media screen and (max-width: 999px) {
  #header li.menu-item a {
    text-align: center;
    font-size: 1.5rem;
    color: #fff;
  }
}

#header ul.nav-area {
  display: flex;
  align-items: center;
  justify-content: end;
}

@media screen and (max-width: 999px) {
  #header ul.nav-area {
    display: block;
    margin-top: 30%;
  }
}


/*ご相談・お問い合わせ*/
#header nav li.menu-item-contact a {
  display: block;
  width: 17.8rem;
  height: 45px;
  line-height: 45px;
  font-size: 1.5rem;
  text-align: center;
  color: #FFF;
  background-color: #D00;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  margin-left: 2rem;
}

#header.change nav li.menu-item-contact a {
  height: 35px;
  line-height: 35px;
  font-size: 1.4rem;
  transition-duration: 0.8s;
}


@media screen and (max-width: 999px) {
  #header nav li a {
    padding: 0;
    width: 60%;
    height: 40px;
    margin: 1rem auto;
    font-size: 2.0rem;
    font-weight: 400;
    text-align: center;
    color: #404040;
  }

  #header nav li.menu-item-contact a {
    display: block;
    padding: 0;
    height: 40px;
    line-height: 40px;
    font-size: 1.6rem;
    margin: 4rem auto 0;
  }
}

@media screen and (max-width: 999px) {
  #header nav {
    position: absolute;
    top: -100vh;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    transition: top 0.5s;
    z-index: 200;
    opacity: 0;
  }

  #header .open nav {
    top: 0;
    opacity: 1;
    background: #002D76;
  }

  #header nav .inner {
    padding: 6vh 0;
    height: 50vh;
  }

  #header nav .navlogo {
    text-align: center;
    margin-top: 10vh;
  }

  #header nav .navlogo img {
    width: 123px;
    height: auto;
    padding-bottom: 1rem;
  }

  #header nav .navlogo h1 {
    font-size: 1.4rem;
    font-family: LogoFont;
  }

  #header nav .inner ul {
    display: block;
    list-style: none;
    margin: 0 auto;
    padding: 0;
  }

  #header nav .close_btn {
    width: 50px;
    margin: 0 auto;
    text-align: center;
  }
}

a.head-sp-inq {
  display: none;
}

@media screen and (max-width: 999px) {
  a.head-sp-inq {
    display: block;
    width: 44px;
    height: 44px;
    padding: 14px 12px;
    background: #D00000;
    margin-right: 50px;
  }
}

/*ハンバーガーボタン*/
@media screen and (min-width: 999px) {

  /* PC時はMENUボタンを非表示 */
  .toggle_btn {
    display: none !important;
  }

  #navi {
    display: block !important;
  }
}

@media screen and (max-width: 999px) {
  #header .toggle_btn {
    position: fixed;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    transition: all 0.5s;
    cursor: pointer;
    z-index: 3;
  }

  #header .toggle_btn span {
    display: block;
    position: absolute;
    right: 20px;
    height: 2px;
    background-color: #03227B;
    border-radius: 4px;
    transition: all 0.5s;
  }

  #header .toggle_btn span:nth-child(1) {
    top: 20px;
    width: 23.39px;
  }

  #header .toggle_btn span:nth-child(2) {
    top: 30px;
    display: none;
  }

  #header .toggle_btn span:nth-child(3) {
    top: 28px;
    width: 19px;
  }

  #header .open .toggle_btn {
    z-index: 300;
    background-color: #002D76;
  }

  #header .open .toggle_btn span {
    background: #fff;
  }

  #header .open .toggle_btn span:nth-child(1) {
    -webkit-transform: translateY(10px) rotate(-315deg);
    transform: translateY(10px) rotate(-315deg);
    top: 18px;
  }

  #header .open .toggle_btn span:nth-child(2) {
    opacity: 0;
    background: #98801c;
  }

  #header .open .toggle_btn span:nth-child(3) {
    -webkit-transform: translateY(-10px) rotate(315deg);
    transform: translateY(-10px) rotate(315deg);
    top: 38px;
    width: 23.39px;
  }

  #header .close_btn {
    display: none;
  }

  #header .open .close_btn {
    display: block;
  }

  #header #mask {
    display: none;
    transition: all 0.5s;
  }

  #header .open #mask {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5);
    opacity: 0.8;
    letter-spacing: 0.05em;
    z-index: 2;
    cursor: pointer;
  }
}


/*コンテンツ
-------------------------------------*/
/*横幅画面一杯のコンテンツ*/
.contents-full {
  position: relative;
  width: 100%;
}

/*横幅1260pxのコンテンツ*/
.contents {
  width: 1140px;
  max-width: 90%;
  margin: 0 auto;
}

@media screen and (max-width: 999px) {
  .contents {
    max-width: 90%;
  }
}

@media screen and (max-width: 500px) {
  .contents {
    max-width: 85%;
  }
}

/*breadcrumb ぱんくずリスト
-------------------------------------*/
.breadcrumb-area {
  width: 100%;
  background: #CCD6DE;
}

.breadcrumb {
  display: flex;
  padding: 1rem 0;
  font-size: 1.35rem;
}

.breadcrumb a {
  padding: 0 0.5em;
}

@media screen and (max-width: 500px) {
  .breadcrumb {
    font-size: 1rem;
  }
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
  position: absolute;
  content: "";
  top: -60px;
  right: 5%;
  width: 60px;
  height: 60px;
  background: #FFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 1000px) {
  #pagetop {
    width: 43px;
    height: 43px;
    top: -30px;
    border: 1px solid #03227B;
  }
}


/*フッター
-------------------------------------*/
footer {
  width: 100%;
  height: auto;
  background: #F7F7F7;
  padding-top: 55px;
  position: relative;
}

.footer-in {
  width: 90%;
  margin: 0 auto;
}

.footer-left {
  float: left;
  width: 48%;
}

.footer-left p {
  margin: 0.5rem auto;
}

.footer-logo {
  height: 40px;
}

.shop-info {
  margin-top: 1rem;
}

.shop-info p {
  font-size: 1.4rem
}

.shop-info .adress {
  font-size: 1.4rem;
}

.shop-info a {
  display: inline-block;
  padding: 1%;
  background-color: #002D76;
  color: #FFF;
}

.shop-info .adress a {
  width: 44px;
  height: 18px;
  line-height: 18px;
  font-size: 1.2rem;
  text-align: center;
  padding: 0;
  margin-left: 1rem;
}

ul.footer-nav {
  display: flex;
  width: 52%;justify-content: space-between;-between;-between;
}

ul.footer-nav a {
  margin-left: 7%;
}

ul.footer-nav li {
  /* flex: 1; */
  text-align: center;
}

ul.footer-nav li a {
  font-size: 1.4rem;
  white-space: nowrap;
  width: 100%;
  display: block;
  height: 30px;
}

.copy {
  display: block;
  max-width: 1266px;
  margin: 0 auto;
  height: 55px;
  font-size: 1.4rem;
  text-align: right;
}

@media screen and (max-width: 999px) {
  .footer-left {
    float: none;
    display: block;
    width: 100%;
    text-align: center;
  }

  .footer-left p {
    font-size: 1.5rem;
    margin: 1rem auto;
  }

  ul.footer-nav {
    float: none;
    width: 100%;
    flex-wrap: wrap;
    margin: 40px auto;
  }

  ul.footer-nav li {
    flex: auto;
    width: 33%;
    text-align: center;
    margin: 0.5rem 0;
  }

  ul.footer-nav li:nth-child(2) {
    border-right: 1px solid #ccc;
    border-left: 1px solid #ccc;
  }

  ul.footer-nav li:nth-child(4) {
    border-right: 1px solid #ccc;
  }

  ul.footer-nav li a {
    font-size: 1.2rem;
    height: 20px;
    line-height: 20px;
    margin: 0
  }

  .footer-logo {
    width: 200px;
    margin: 0 auto 10px;
  }

  .footer-logo img {
    width: auto;
    height: auto;
  }

  .shop-info {
    margin: 0 auto;
    text-align: center;
  }

  .shop-info a {
    line-height: 1;
  }

  adress {
    line-height: 1.4;
  }

  .shop-info .adress a {
    width: 100px;
    height: 30px;
    line-height: 30px;
    font-size: 1.4rem;
    text-align: center;
    padding: 0;
    margin-left: 0;
    margin-top: 1rem;
  }

  .copy {
    text-align: center;
    height: 32px;
    font-size: 1.1rem;
  }
}


/*各ページスタイル
--------------------------------------------------*/
/*index トップページ*/
/*------------------------------------------------*/

/*最上部画像
-------------------------------------*/
.mainimg-area {
  position: relative;
  width: 100%;
  height: 770px;
  overflow: hidden;
}
.mainimg-area::after {
  content: '';
  background-color: #0058c358;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  height: 770px;
}

.mainimg-area img {
  width: 100%;
  object-fit: cover;
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -ms-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
  -webkit-animation: animeA 9s 0s forwards;
  animation: animeA 9s 0s forwards;
}

@keyframes animeA {
  0% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

.maintitle-area {
  position: absolute;
top: 25%;
left: 15%;
max-width: 70%;
border-radius: 0 5px 5px 0;
color: #fff;z-index: 1;
}

.maintitle-area p.main-txt {
  font-size: 4.5rem;
  font-weight: bold;
  letter-spacing: 0.2rem;
  line-height: 1.4;
  text-align: center;
  margin-bottom: 5.3rem;text-shadow: 1px 1px 10px #1a1a38;
}

.maintitle-area p.sub-txt {
  font-size: 2rem;
  letter-spacing: 0.1rem;
  line-height: 1.7;
  font-weight: 700;
  text-shadow: 0px 0px 6px #1a1a38;text-align: center;
}

@media screen and (max-width: 1400px) {
  .maintitle-area {
    max-width: 80%;
    top: 30%;left: 20%;
  }
}

@media screen and (max-width: 999px) {

  .mainimg-area,
  .mainimg-area img,
  .mainimg-area::after {
    height: 610px;
  }

  .maintitle-area {
    padding: 0;
    max-width: 90%;
    top: 20%;
    left: 5%;
  }

  .maintitle-area p.main-txt {
    font-size: 2.2rem;
    margin-bottom: 2rem;
  }

  .maintitle-area p.sub-txt {
    font-size: 1.5rem;
  }
}

.scroll {
  position: absolute;
  bottom: 10%;
  left: 50%;
  color: #fff;
  font-size: 2.4rem;
  font-family: "Avenir";
  font-weight: 300;
  display: inline-block;
  z-index: 1;
}

.scroll::before {
  animation: scroll 3.5s infinite;
  border: solid #fff;
  border-width: 0 0 2px 2px;
  content: "";
  display: inline-block;
  margin: auto;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  transform: rotate(-45deg);
  width: 20px;
  height: 20px;
}

@keyframes scroll {
  0% {
    transform: rotate(-45deg) translate(0, 0);
  }

  80% {
    transform: rotate(-45deg) translate(-30px, 30px);
  }

  0%,
  80%,
  100% {
    opacity: 0;
  }

  40% {
    opacity: 1;
  }
}

@media screen and (max-width: 999px) {
  .scroll {
    font-size: 1.5rem;
    text-align: center;
    left: 0;
    right: 0;
    margin: auto
  }
}


/*NEWS
-------------------------------------*/
.news-area {
  max-width: 60%;
  box-sizing: border-box;
  margin: 7rem auto;
}

.news-area p {
  font-size: 1.4rem;
  font-weight: 600;
  color: #002D76;
}

.news-area h2 {
  width: 3.3em;
  font-size: 3.3rem;
  font-weight: 600;
  color: #002D76;
  border-bottom: 3px solid #002D76;
  padding: 0.5rem 0;
}

.news-area ul {
  margin: 2rem auto;
  font-size: 1.6rem;
}

.news-area li {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid #CCD6DE;
  line-height: 1.5;
}

.news-area li a:hover {
  color: #002D76;
}

.news-area li .time {
  margin-right: 3rem;
}

.news-area a.custom_btn02 {
  text-align: center;
  font-size: 1.4rem;
  width: 160px;
  height: 30px;
  display: block;
  margin: 0 auto;
  border: 1px solid #002D76;
  color: #002D76;
  line-height: 30px;
}

@media screen and (max-width: 999px) {
  .news-area {
    max-width: 85%;
    margin: 4rem auto;
  }

  .news-area h1 {
    display: inline-block;
    width: auto;
    padding: 0;
    font-size: 2.4rem;
  }

  .news-area li {
    display: block;
    padding: 0.5rem 0;
  }

  .news-area li .time {
    font-size: 1.2rem;
  }

  .news-area li p {
    font-size: 1.4rem;
  }
}

/*サービス内容
-------------------------------------*/
.index {
  background: #002D76;
  height: auto;
  padding: 131px 0 151px;
}

h2.index-title {
  position: absolute;
  top: -5rem;
  left: 8%;
  font-size: 22rem;
  font-family: 'Avenir';
  font-weight: 900;
  color: #FFF;
  opacity: 0.85;
  z-index: 0;
}

.index .index-box {
  display: flex;
  width: 95%;
  height: auto;
  background: #FFF;
}

@media screen and (max-width: 999px) {
  .index .index-box {
    display: block;
  }
}

.index section:nth-child(3) .index-box {
  margin: 10rem 0 10rem 5%;
  flex-direction: row-reverse;
}

.index-img {
  width: 52%;
}

.index-txt {
  width: 48%;
  padding: 5%;
  box-sizing: border-box;
}

.index section:nth-child(3) .index-img {
  width: 55%;
  height: auto;
  display: flex;
}

.index img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 999px) {

  .index-img,
  .index section:nth-child(3) .index-img,
  .index-txt {
    width: 100%;
  }

  .index section:nth-child(3) .index-box {
    margin: 2rem 0 2rem 5%;
  }
}


.index-txt h3 {
  font-size: 3rem;
  font-weight: 600;
  color: #002D76;
  margin-bottom: 4rem;
}

.index-txt p {
  font-size: 2rem;
  color: #4E4E4E;
  margin: 2rem auto;
  line-height: 1.7;
}

.index section:nth-child(1) .service-txt {
  margin: 10rem 10% 10rem 5%;
}



@media screen and (max-width: 999px) {
  .index {
    padding: 65px 0;
    overflow: hidden;
  }

  h2.index-title {
    top: -2rem;
    left: 5%;
    font-size: 10rem;
  }

  .index img {
    height: 278px;
  }

  .index-txt,
  .index-txt {
    width: 80%;
    margin: 0 10%;
    padding: 40px 0;
  }

  .index-txt h3 {
    font-size: 2.0rem;
    margin-bottom: 1.5rem;
  }

  .index-txt p {
    font-size: 1.4rem;
    line-height: 1.8;
    margin: 0;
  }
}

/* 左からフェードイン */
.slide-left {
  opacity: 0;
  transform: translate(-80px, 0);
  transition: all 1s ease-out;
}

/* 右からフェードイン */
.slide-right {
  opacity: 0;
  transform: translate(80px, 0);
  transition: all 1s ease-out;
}


/*各ページスタイル
--------------------------------------------------*/
/*about 会社概要ページ*/
/*------------------------------------------------*/


/*共通パーツ　ページタイトル
-------------------------------------*/
.contents-main-img-area {
  width: 100%;
  height: 392px;
  background-image: url(img/services/service-top.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

.contents-main-img-area h2 {
  padding-top: 200px;
  text-align: center;
  color: #fff;
  font-size: 4.5rem;width: 70%;margin: 0 auto;
}

.contents-main-img--area{
  background-image: url(img/services/service--top.jpg);
}

.contents-main-img-area2{
  background-image: url(img/services/service-top2.jpg);
}

.contents-main-img-area3{
  background-image: url(img/services/service-top3.jpg);
}

.contents-main-img-area4{
  background-image: url(img/services/service-top4.jpg);
}

.contents-main-img--area h2 {
  color: #002D76;
}

@media screen and (max-width: 999px) {
  .contents-main-img-area {
    height: 188px;
  }

  .contents-main-img-area h2 {
    padding-top: calc(100vw / 3.5);
    font-size: 2rem;
  }
}


/*共通パーツ　事業案内と会社案内のコンテンツの章タイトル
-------------------------------------*/

.contents-title-area {
  position: relative;
  width: 90%;
  height: auto;
  margin-right: auto;
  margin-top: 12rem;
}

.contents-title--area{
  height: auto;
  padding-bottom: 10rem;
}

.contents-title-area h3 {
  position: absolute;
  left: 0;
  top: -2.5rem;
  width: 30vw;
  height: 64px;
  font-size: 2.8rem;
  letter-spacing: 0.3rem;
  background-color: #002D76;
  color: #FFF;
  display: flex;
  justify-content: center;
  align-items: center;
}

.title-img {
  display: flex;
  height: 100%;
}

.title-img img {
  width: 60%;
  height: auto;
  object-fit: cover;
}

.title-img .service-img {
  width: 100%;
  margin-top: 1rem;
}

.title--img img {
  width: 40%;
}


.title---img img {
  width: 30%;
}

.contents-title-txt {
  width: 100%;
  padding-left: 1.5%;
  box-sizing: border-box;
}

.contents-title--txt{
  width: 100%;
  padding-left: 10%;
}

.contents-title-txt p {
  font-weight: 400;
  color: #002D76;
  font-size: 1.8rem;
  line-height: 1.7;
  padding: 0.5em 0;
}

@media screen and (max-width: 999px) {
  .contents-title-area {
    margin-top: 6rem;
    height: auto;margin: 6rem auto;
  }

  .contents-title-area h3 {
    width: 70vw;
    height: 40px;
    font-size: 1.8rem
  }

  .title-img {
    display: block;
  }

  .title-img img {
    width: 100%;
  }
  .title--img img {
    height: 25rem;
    object-position: 0 -80px;
    }

  h1.contents-title {
    font-size: 1.8rem;
    margin-bottom: 40px;
    height: 38px;
  }

  .contents-title-txt {
    width: 100%;
    margin-left: 0;padding-left: 0;
    margin-top: 2.5rem;
  }

  .contents-title-txt p {
    font-size: 1.6rem;
    line-height: 1.5;margin: 0 auto;width: 100%;
  }
}

/*会社概要
-------------------------------------*/
.overview {
  font-size: 1.6rem;
  padding: 0 10%;
}

.overview h3 {
  font-size: 2.8rem;
  font-weight: 600;
  color: #002D76;
  margin: 108px 0 46px;
}

.overview dl {
  display: flex;
  padding: 20px 0;
  border-top: 1px solid #CCD6DE;
}

.overview dt {
  width: 20%;
  font-weight: 300;
}

.overview dd {
  width: 80%;
}

/*支社*/
.branch {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin: 83px 0;
}

.branch .left {
  width: 30%;
}

.branch .right {
  width: 70%;
}

.branch h4 {
  font-size: 2.0rem;
  color: #002D76;
  font-weight: 600;
  text-decoration: underline;
  padding-bottom: 2rem;
}

.branch p {
  line-height: 1.6;
  padding-bottom: 2rem;
}


@media screen and (max-width: 999px) {
  .overview {
    font-size: 1.4rem;
    padding: 0;
  }

  .overview h3 {
    font-size: 1.8rem;
    margin: 40px 0 15px;
  }

  .overview dl {
    padding: 15px 0;
  }

  .overview dt {
    width: 28%;
  }

  .overview dd {
    width: 72%;
    line-height: 1.5;
  }

  .branch {
    display: block;
    margin: 40px auto;
  }

  .branch .left,
  .branch .right {
    width: 100%;
  }

  .branch h4 {
    font-size: 1.7rem;
    padding-bottom: 1rem;
  }

  .branch p {
    line-height: 1.5;
    padding-bottom: 1rem;
  }
}

/*沿革
-------------------------------------*/
.history {
  font-size: 1.6rem;
  padding: 0 10% 100px;
}

.history h3 {
  font-size: 2.8rem;
  font-weight: 600;
  color: #002D76;
  margin: 108px 0 46px;
}


.history dl {
  display: flex;
  padding: 20px 0;
  border-top: 1px solid #CCD6DE;
}

.history dt {
  width: 7%;
  font-weight: 300;
}

.history dd:nth-child(2) {
  width: 10%;
  white-space: nowrap;
}

.history dd:nth-child(3) {
  width: 83%
}

@media screen and (max-width: 999px) {
  .history {
    font-size: 1.6rem;
    margin: 62px auto;
    padding: 0;
  }

  .history h3 {
    font-size: 1.8rem;
    margin: 40px 0 15px;
  }

  .history dl {
    padding: 15px 0;
  }

  .history dt {
    width: 18%;
    margin-right: 1%;
    white-space: nowrap;
  }

  .history dd {
    padding-right: 0;
  }

  .history dd:nth-child(2) {
    width: 13%;
    margin-right: 1%;
    white-space: nowrap;
  }

  .history dd:nth-child(3) {
    width: 67%;
  }
}

/*各ページスタイル
--------------------------------------------------*/
/*service 事業紹介ページ*/
/*------------------------------------------------*/

/*事業
-------------------------------------*/
.service-container {
  margin: 8rem 0;
}

.service-container h4 {
  border-left: solid 6px #002D76;
  font-size: 2.4rem;
  color: #002D76;
  font-weight: 400;
  padding-left: 10px;letter-spacing: 1px;
}

.service-txt p {
  line-height: 1.5;
  font-size: 1.6rem;
}

.service-container .service-txt {
  margin: 3rem 0;
}

.service3 {
  display: flex;
}

.service3 section {width: 360px;
  margin: 3rem 3% 0 0;
}

.service3 section:last-child {
  margin: 3rem 0 0 0;
}

.service3 section img {width: 100%;
  
  height: 317px;
  object-fit: cover;
}

.service3 .txt {
  background: #F7F7F7;
  padding: 5rem 2.5rem;height: 25rem;
}

.service3 .txt h5 {
  font-size: 1.8rem;
  color: #002D76;
  font-weight: 600;
  border: none;
  padding: 0 0 1rem;
}

.service3 .txt p {
  font-size: 1.5rem;
  line-height: 1.5;
}


@media screen and (max-width: 999px) {
  .service-container {
    margin: 4rem 0;
  }

  .service-container h4 {
    font-size: 2.0rem;
  }

  .service3 {
    display: block;
  }

  .service3 section {width: 100%;
    margin: 20px 0;
  }

  .service-container .service-txt {
    margin: 25px 0;
  }

  .service3 section img {
    width: 100%;
    height: 55vw;
  }

  .service3 .txt {
    padding: 25px 5%;
  }

  .service-container .service-txt p {
    font-size: 1.4rem;
  }
}

/*コンタクト
-------------------------------------*/
.contact-area {
  width: 100%;
  padding: 103px 0;
  background-image: url(img/services/back.svg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.contact-area .contents {
  display: flex;
  justify-content: space-between;align-items: center;
}

.contact-area .left {
  width: 50%;
  font-size: 2.5rem;
  color: #002D76;
  line-height: 1.8;
}

.contact-area .right {
  width: 30%;
  margin-left: 20%;
}

.contact-area .right a.btn {
  display: block;
  width: 20vw;
  height: 60px;
  line-height: 60px;
  background: #D00000;
  margin: 0 auto;
  text-align: center;
  font-size: 2.2rem;
  font-weight: 600;
  color: #fff;
}

.contact-area .right a.phone {
  display: block;
  width: 34.2rem;
  text-align: center;
  font-size: 2.8rem;
  font-weight: 600;
  color: #fff;
  padding-top: 25px;
}

.contact-area .right p {
  display: block;
  width: 34.2rem;
  text-align: center;
  font-size: 2.0rem;
  font-weight: 600;
  color: #fff;
  padding-top: 18px;
}

@media screen and (max-width: 999px) {
  .contact-area {
    width: 100%;
    padding: 39px 0 26px;
    background-image: url(img/services/back-sp.svg);
  }

  .contact-area .contents {
    display: block;
  }

  .contact-area .left {
    width: 100%;
    height: 150px;
    padding-top: 3rem;
    font-size: 1.5rem;
    text-align: center;
  }

  .contact-area .right {
    width: 100%;
    margin: 0 auto;
    padding: 17rem 0 3rem;
  }

  .contact-area .right a.btn {
    width: 273px;
    height: 51.17px;
    line-height: 51.17px;
    font-size: 1.7rem;
    margin: 0 auto;
  }

  .contact-area .right a.phone {
    width: 273px;
    margin: 0 auto;
    font-size: 2.4rem;
  }

  .contact-area .right p {
    font-size: 1.6rem;
    width: 100%;
    padding-top: 10px;
  }
}

/*各ページスタイル
--------------------------------------------------*/
/*recruit 採用ページ*/
/*------------------------------------------------*/

/*募集要項
-------------------------------------*/
.recruit {
  font-size: 1.6rem;
  padding: 0 10% 80px;
}

.recruit h3 {
  font-size: 2.8rem;
  font-weight: 600;
  color: #002D76;
  margin: 108px 0 46px;
}

.recruit dl {
  display: flex;
  padding: 20px 0;
  border-top: 1px solid #CCD6DE;
}

.recruit dl:last-child {
  border-bottom: 1px solid #CCD6DE;
}

.recruit dt {
  width: 313px;
  font-weight: 300;
}

.recruit dt {
  width: 28%;
}

.recruit dd {
  width: 72%;
}


@media screen and (max-width: 999px) {
  .recruit {
    padding: 0 0 60px
  }

  .recruit h3 {
    font-size: 2.0rem;
    margin: 80px 0 32px;
  }

  .recruit dl {
    padding: 15px 0;
    display: block;
  }

  .recruit dt {
    width: 100%;
    padding-bottom: 1rem;
  }

  .recruit dd {
    width: 100%;
  }
}

/*エントリー
-------------------------------------*/
.entry {
  text-align: center;
}

.entry p {
  font-size: 1.8rem;
  font-weight: 600;
  color: #002D76;
}

.entry a {
  display: block;
  width: 500px;
  height: 60px;
  line-height: 60px;
  margin: 2rem auto 150px;
  font-size: 2.8rem;
  font-weight: 600;
  background: #002D76;
  color: #fff;
}

@media screen and (max-width: 999px) {
  .entry a {
    width: 100%;
    height: 52px;
    line-height: 52px;
    margin-bottom: 15rem;
  }

}


/*各ページスタイル
--------------------------------------------------*/
/*news お知らせページ*/
/*------------------------------------------------*/

/*お知らせ一覧
-------------------------------------*/
ul.news-list {
  width: 90%;
  margin: 11rem auto;
}

.news-list li {
  border-top: 1px solid #ccc;
  padding: 2em 0;
}

.news-list li:last-child {
  border-bottom: 1px solid #ccc;
}

.news-list li a {
  display: flex;
  font-size: 1.6rem;
}

.news-list li a:hover {
  opacity: 0.6;
}

.news-list li a time {
  color: #002D76;
  margin-right: 2em;
}

.news-list li a p {
  line-height: 1.5;
}

@media screen and (max-width: 999px) {
  ul.news-list {
    width: 100%;
    margin: 5rem auto;
  }

  .news-list li {
    padding: 1em 0;
  }

  .news-list li a {
    font-size: 1.4rem;
    display: block;
  }

  .news-list li a time {
    margin-right: 0;
    margin-bottom: 0.5em;
  }

  .news-list li a p {
    padding-top: 0.5em;
  }
}

/*お知らせ個別
-------------------------------------*/
.news-cont {
  width: 80%;
  padding: 11rem 0 4rem;
  font-size: 1.6rem;
}

.news-cont p.date {
  color: #002D76;
}

.news-cont h3 {
  font-size: 2.4rem;
  font-weight: bold;
  margin: 1em 0 2em;
  line-height: 1.6;
}

.news-cont .news-item p {
  line-height: 1.6;
  padding-bottom: 0.5em;
}

a.back-news {
  display: block;
  width: 200px;
  height: 40px;
  line-height: 40px;
  margin: 0 auto 11rem;
  border: 1px solid #002D76;
  ;
  text-align: center;
  font-size: 1.4rem;
  color: #002D76;
}

a.back-news:hover {
  background: #002D76;
  color: #fff
}

@media screen and (max-width: 999px) {
  .news-cont {
    width: 100%;
    padding: 5rem 0;
    font-size: 1.4rem;
  }

  .news-cont h3 {
    font-size: 1.8rem;
  }
}


/*各ページスタイル
--------------------------------------------------*/
/*inquiry 問い合わせページ*/
/*------------------------------------------------*/

.write {
  margin: 80px auto;
  width: 100%;
}

.write h3 {
  font-size: 1.5rem;
  text-align: center;
}

.flow {
  width: 611px;
  margin: 0 auto 60px;
  padding: 2rem 1rem;
  border-top: 1px solid #002D76;
  border-bottom: 1px solid #002D76;
}

.flow ul {
  display: flex;
  width: 100%;
}

.flow ul li {
  flex: 1;
  text-align: center;
  font-size: 1.6rem;
}

.flow ul li.current {
  color: #5c88d0;
  font-weight: bold;
}

#formarea {
  width: 611px;
  margin: 40px auto 0;
  font-size: 1.6rem;
}

#formarea dl {
  display: flex;
}

#formarea .text{
  display: block;
}

#formarea dl.term {
  display: block;
}

.mw_wp_form_preview #formarea dl.term {
  display: none
}

#formarea dt {
  width: 240px;
  white-space: nowrap;
  padding: 40px 0;
  font-size: 1.6rem;
  font-weight: 300;
}

#formarea .text dt{
  padding: 40px 0 20px;
}

#formarea .term dt {
  padding: 40px 0 0;
}

#formarea dd {
  padding: 40px 0;
  font-size: 1.5rem;
  width: 371px;
}


#formarea .text dd{
  padding: 0;
  font-size: 1.5rem;
  width: 100%;
}

#formarea dl.term dd {
  width: 100%;
}

#formarea .send dt,
.send dd {
  padding: 20px 0;
}

#formarea .Required {
  font-size: 1.5rem;
  color: #9D1E1E;
  margin-left: 1.5em;
}

#formarea dl .pt-txt {
  font-size: 90%;
  padding-bottom: 1rem;
}

.mw_wp_form_preview #formarea dl .pt-txt {
  display: none;
}

#formarea dl .vali {
  display: block;
  color: #9D1E1E;
  margin-top: 0.5rem;
}

#formarea dl.term p {
  font-size: 1.4rem;
  padding-bottom: 1rem;
}

#formarea label input {
  font-size: 1.6rem;
  padding: 1rem;
  border: 1px #707070 solid;
  vertical-align: middle;
  width: 100%;
}

#formarea .mwform-tel-field input[type="text"] {
  width: auto;
}

#formarea input[name="amount"] {
  width: 346px !important;
}

#formarea input[type="number"]::-webkit-outer-spin-button,
#formarea input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#formarea input[type="radio"] {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin-right: 1rem;
}

#formarea input[type="radio"]:last-child {
  margin: 0 1rem 0 0;
}

#formarea textarea {
  font-family: inherit;
  font-size: 1.5rem;
  width: 100%;
  padding: 1em;
  border: 1px #707070 solid;
}

#formarea #scroll {
  width: 100%;
  height: 123px;
  padding: 1rem;
  border: 1px solid #707070;
  overflow: scroll;
}

#formarea p.term-txt {
  font-size: 1.5rem;
  line-height: 1.8;
}

#formarea p.term-check {
  text-align: center;
  font-size: 1.6rem;
  padding-top: 2rem;
}

#formarea input[type="checkbox"] {
  display: none;
}

#formarea input[type="checkbox"]+span {
  position: relative;
  padding-left: 35px;
  margin-bottom: 20px;
  font: 1.6rem;
  color: #000;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

#formarea input[type="checkbox"]+span:last-child {
  margin-bottom: 0;
}

input[type="checkbox"]+span:before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  border: 1px solid #9D1E1E;
  position: absolute;
  left: 0;
  top: 0;
  opacity: .6;
  -webkit-transition: all .12s, border-color .08s;
  transition: all .12s, border-color .08s;
}

#formarea input[type="checkbox"]:checked+span:before {
  width: 10px;
  top: -5px;
  left: 5px;
  border-radius: 0;
  opacity: 1;
  border-top-color: transparent;
  border-left-color: transparent;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

/*確認画面へボタン*/
#formarea input[type="submit"] {
  width: 193px;
  height: 47px;
  display: block;
  color: #002D76;
  border: 1px solid #002D76;
  ;
  text-align: center;
  vertical-align: middle;
  margin: 3em auto !important;
  font-size: 1.5rem;
}

#formarea #check_button {
  display: flex;
  justify-content: center;
  width: 50%;
  margin: 3rem auto;
}

.back-index {
  display: block;
  width: 193px;
  height: 47px;
  line-height: 47px;
  border: 1px solid #002D76;
  color: #002D76;
  text-align: center;
  border-style: none;
  vertical-align: middle;
  font-size: 1.5rem;
  margin: 3em auto;
}

::-webkit-input-placeholder {
  opacity: 0.5;
}

::-moz-placeholder {
  opacity: 0.5;
}

:-ms-input-placeholder {
  opacity: 0.5;
}

::placeholder {
  color: #707070;
}

.mw_wp_form .error {
  padding-top: 0.5em
}

.mw_wp_form_complete p {
  font-size: 1.6rem;
  width: 611px;
  margin: 0 auto;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .write {
    width: 85%;
    margin: 40px auto;
  }

  .flow {
    width: 100%;
    margin: 0 auto 40px;
  }

  .write h3 {
    font-size: 1.4rem;
    text-align: left;
    padding-bottom: 3rem;
  }

  #formarea {
    width: 85%;
    margin-top: 0;
  }

  #formarea dl {
    display: block;
  }

  #formarea dt {
    padding: 0;
    font-size: 1.4rem;
    width: 100%;
  }

  #formarea dd {
    padding: 15px 0 30px;
    width: 100%;
  }

  #formarea dl.term p {
    line-height: 1.5;
  }

  #formarea .Required {
    font-size: 1.2rem;
  }

  #formarea label input {
    font-size: 1.4rem;
  }

  #formarea input[type="text"],
  input[type="email"],
  input[type="tel"] {
    width: 100%;
  }

  #formarea .mwform-tel-field input[type="text"] {
    width: auto;
  }

  #formarea textarea {
    width: 100%;
  }

  #formarea input[name="btn_confirm"] {
    margin: 0 auto !important;
    font-size: 1.4rem;
  }

  .mw_wp_form_complete p {
    font-size: 1.4rem;
    width: 100%;
    margin: 0 auto;
    line-height: 1.8;
    text-align: left;
  }
}


.flow_design08 {
  display: flex;
  align-items: center;
}

.flow08 {
  padding-left: 0;
}

.flow08 > li {
  list-style-type: none;
  font-size: 1.5rem;
}

.flow08 > li:not(:last-child) {
  margin-bottom: 20px;
}

.flow08 > li dl {
  display: flex;
  align-items: center;
  gap: 10px;
}

.flow08 > li dl dt {
  font-weight: bold;
  width: 16rem;
  text-align: center;
  border-radius: 15px;
  background: #F4F6FA;
  position: relative;
  padding: 20px 10px;
  margin-bottom: 1rem;
}

.flow08 > li dl dt::after{
  content: "▼";
  display: block;
  color: #002D76;
  font-size: 1.6rem;
  position: absolute;
  top: 6.5rem;
  left: 45%;
}

.flow08 > li dl .last::after{
  content: "";
  display: none;
}

.flow08 > li dl dd {
  margin: 0;
  width: calc(100% - 20px);
  
}

.flow08_last{
  display: flex;
}
.flow08__last{
  width: 50px !important;
}
.flow08_last_text{
  width: 270px;
}

.inquiry{
  border-bottom: 1px solid #000;
}

.about_small{
  font-size: 15px;
}

.services_text{
  font-size: 16px;
margin-top: 15px;
line-height: 1.5;
}

.recruit_text{
  line-height: 1.5;

}
@media (max-width: 900px) {
  .flow08 > li dl dd {
    font-size: 1.4rem;
  }

.services_text{
  font-size: 14px;
}
.flow08__last{
  width: 60px !important;
}
.flow08_last_text{
  width: 100%;
}
}