@charset "UTF-8";

/*変数*/
:root {
  --main_color: #ffa351;
  --ttl_color: #314d93;
  --txt_color: #242424;
  --hover_color: #e4821d;
  --en_font: "Arial", sans-serif;
}

/*呼び出し方は var(--main_color)*/

/*ベース*/
p,
li,
a,
dt,
dd,
address,
th,
td,
label,
input,
textarea {
  font-size: 1rem;
  line-height: 2;
  color: var(--txt_color);
}

.inner {
  max-width: 1200px;
  width: 96%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

@media screen and (max-width: 640px) {
  .inner {
    width: 92%;
  }
}

/*横並び*/
.column {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

@media screen and (max-width: 640px) {
  .column {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}

.column-reverse {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  flex-direction: row-reverse;
}

@media screen and (max-width: 640px) {
  .column-reverse {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}

/*見出し*/
.ttl {
  font-size: 6.5rem;
  line-height: 1.8;
  color: #000;
  margin-bottom: 8%;
  font-family: "inter-tight-variable", sans-serif;
  font-variation-settings: "wght" 500;
  letter-spacing: .2rem;
  font-style: italic;
}

.ttl.left {
  text-align: left;
}

.ttl-sub {
  font-size: 1.4rem;
  line-height: 1.8;
  color: var(--txt_color);
  font-weight: bold;
  margin-bottom: 5%;
}

.ttl-sub.center {
  text-align: center;
}

.ttl span {
  color: #054285;
  font-family: "inter-tight-variable", sans-serif;
  font-variation-settings: "wght" 500;
  font-style: italic;
  letter-spacing: .2rem;
}

@media screen and (max-width: 768px) {
  .ttl {
    font-size: 1.8rem;
    line-height: 1.6;
  }
}
@media screen and (max-width: 640px) {
.ttl {
  margin-bottom: 16%;
}
}

/*ボタン*/
.btn {
  position: relative;
  padding: 1% 4%;
  text-align: center;
  border-radius: 50px;
  display: table;
  margin: 4% auto 0;
  background: #054285;
  color: #fff;
  font-weight: bold;
  transition: .4s;
}

.btn:hover {
  opacity: .7;
}

.btn.left {
  margin: 4% 0 0;
}

.btn.right {
  margin: 4% 0 0 auto;
}

.btn::after {
  content: '';
  display: inline-block;
  width: .9rem;
  height: .9rem;
  margin-left: 10px;
  background: url(../../assets/img/arrow_white.svg) no-repeat right center / contain;
}

/*セクション上下の余白を設定*/
.sec {
  padding: 250px 0 0;
}

@media screen and (max-width: 640px) {
  .sec {
    padding: 15% 0;
  }
}

/*ヘッダー*/
#header {
  position: relative;
  justify-content: space-between;
  align-items: center;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  padding: 1% 2% 1% 8%;
  background: rgba(255, 255, 255, .8);
}

.header-logo {
  max-width: 250px;
  width: 25%;
}

.header-logo.center {
  margin: auto;
}

.tel-num {
  max-width: 280px;
  width: 30%;
  display: block;
}

@media screen and (max-width: 960px) {
  .tel-num {
    margin-right: 3rem;
  }
}

@media screen and (max-width: 805px) {
  .header-logo {
    max-width: 250px;
    width: 32%;
  }
}

@media screen and (max-width: 640px) {
  #header {
    padding: 0;
  }

  .header-logo {
    width: 60%;
    max-width: 200px;
    padding: 4% 3%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
  }

  #header.thanks-parts .header-logo {
    position: relative;
    margin: auto;
  }

  .tel-num {
    background: url(../../assets/img/tel_sp.svg) no-repeat right top / contain;
    width: 60px;
    height: 60px;
    margin-right: 0;
    position: fixed;
    top: 0;
    right: 60px;
    z-index: 99;
  }

  .tel-num img {
    display: none;
  }
}

/*ナビゲーションのデザイン*/
.nav_content {}

.nav_list {
  display: flex;
  justify-content: center;
  padding: 1% 2%;
  background: linear-gradient(to right, #000, #054285);
  margin-top: -1px;
}

.nav_list li {
  margin-right: 40px;
}

.nav_list li::after {
  content: '';
  display: inline-block;
  background: #242424;
  width: 1px;
  height: 50%;
  margin-left: 40px;
  vertical-align: middle;
  /*  斜めにしたい時▼ */
  /*  transform:rotate(30deg);*/
}

.nav_list li:last-child {
  margin-right: 0;
}

.nav_list li:last-child::after {
  display: none;
}

.nav_list a {
  color: #fff;
  transition: .4s;
  border-bottom: 2px solid rgba(255, 255, 255, 0);
  padding-bottom: 2px;
  position: relative;
  font-family: "inter-tight-variable", sans-serif;
  font-variation-settings: "wght" 400;
  letter-spacing: .1rem;
}

/*contentのコメントアウトを外すと文字の頭にボッチがつきます*/
.nav_list a::before {
  /*  content: '';*/
  display: inline-block;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--main_color);
  vertical-align: middle;
  margin-right: .4rem;
}

.nav_list a:hover {
  color: #3c92ed;
}

.nav_list.-footer {
  background: none;
  margin-top: 5%;
}

.nav_list.-footer a {
  color: #000;
}
.nav_list.-footer a:hover{
  border-bottom: 2px solid #054285;
}

.nav_list.-footer li::after {
  background: #000;
}

/*スクロールしたらナビゲーションに付与される*/
.fixed {
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 100;
}

/* 三本線の一番上の棒の位置調整 */
.drawer_open span:before {
  bottom: 8px;
}

/* 三本線の一番下の棒の位置調整 */
.drawer_open span:after {
  top: 8px;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
#drawer_input:checked~.drawer_open span {
  background: rgba(255, 255, 255, 0);
}

/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
#drawer_input:checked~.drawer_open span::before {
  bottom: 0;
  transform: rotate(45deg);
}

#drawer_input:checked~.drawer_open span::after {
  top: 0;
  transform: rotate(-45deg);
}

#drawer_input:checked~.drawer_open span::before,
#drawer_input:checked~.drawer_open span::after {
  background: #fff;
}

/* アイコンがクリックされたらメニューを表示 */
#drawer_input:checked~.nav_content {
  right: 0;
}


/*ファーストビュー*/
.top_content {
  position: relative;
}

.fv {
  width: 92%;
  margin-left: auto;
}

.fv .copy-wrap {
  padding: 10rem 0;
}

.fv h1 {
  font-size: 6rem;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 10px;
  text-align: left;
  color: #fff;
  font-family: "inter-tight-variable", sans-serif;
  font-variation-settings: "wght" 400;
  font-style: italic;
  letter-spacing: .3rem;
}

.vegas-content {
  padding: 0;
}

.fv p {
  color: #a5a5a5;
  text-align: center;
  font-family: var(--en_font);
}

/* スクロールダウンの位置 */
.scroll {
  position: absolute;
  left: 4%;
  top: 50%;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
  font-family: "inter-tight-variable", sans-serif;
  font-variation-settings: "wght" 400;
  font-style: italic;
}

/* 線のアニメーション部分 */
.scroll::before {
  animation: scroll 2s infinite;
  background-color: #000;
  bottom: -115px;
  content: "";
  height: 100px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  width: 1px;
}

/* 線のアニメーション */
@keyframes scroll {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }

  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }

  51% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }

  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

/* ハンバーガーメニューのアイコン */
.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
  display: none;
}

/*バーガーメニュー*/
/* チェックボックスを非表示にする */
.drawer_hidden {
  display: none;
}
@media screen and (min-width: 1500px) {
.fv .copy-wrap {
  padding: 13rem 0;
}
}
@media screen and (max-width: 960px) {

  /* ハンバーガーアイコンの設置スペース */
  .drawer_open {
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1000;
    /* 重なり順を一番上にする */
    cursor: pointer;
    position: fixed;
    top: 0;
    right: 0;
    background: #ececec;
  }

  /* ハンバーガーメニューのアイコン */
  .drawer_open span,
  .drawer_open span:before,
  .drawer_open span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background: #333;
    transition: 0.5s;
    position: absolute;
  }

  /*ナビゲーションのデザイン*/
  .nav_content {
    width: 90%;
    max-width: 500px;
    height: 100%;
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 99;
    background: rgba(5, 66, 133, .8);
    transition: .5s;
  }

  .nav_list {
    flex-direction: column;
    align-items: center;
    background: none;
    margin-top: 60px;
  }

  .nav_list li {
    width: 100%;
    margin-right: 0;
    border-bottom: 1px solid #fff;
  }

  .nav_list li a {
    color: #fff;
    display: block;
    padding: 20px 12px;
    text-align: center;
  }

  .nav_list li::after {
    display: none;
  }

  .nav_list.-footer {
    margin-top: 5%;
    flex-direction: row;
  }

  .nav_list.-footer li {
    border-bottom: none;
  }
}

@media screen and (max-width: 767px) {
  .nav_list.-footer a {
    line-height: 1.6;
    padding: 3% 0;
  }

  .nav_list.-footer {
    flex-wrap: wrap;
  }

  .nav_list.-footer li {
    width: auto;
    margin-right: 4%;
  }

  .nav_list.-footer li:last-child {
    margin-right: 0;
  }
}

@media screen and (max-width: 639px) {
  .nav_list.-footer {
    margin-top: 4%;
    padding-top: 4%;
    border-top: 1px solid #939393;
  }

  .nav_list.-footer a {
    font-size: .85rem;
  }
}


#drawer_input:checked~.drawer_open {
  background: #7a7a7a;
}

/*ファーストビューの基準の位置を変更する*/
.fv .vegas-slide-inner {
  /*  background-position: center bottom!important;*/
}

@media screen and (max-width: 1024px) {
  .fv h1 {
    font-size: 5rem;
    padding-left: 6%;
  }
}

@media screen and (max-width: 855px) {
  .fv h1 b {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .fv .copy-wrap {
    padding: 40% 4%;
  }
}

@media screen and (max-width: 640px) {
  .top_content {
    position: relative;
    margin-bottom: 16%;
}
  .fv .copy-wrap {
    padding: 70% 4%;
  }

  .fv h1 {
    font-size: 4rem;
    padding-left: 0;
  }

  .scroll {
    left: 3%;
  }
}

@media screen and (max-width: 525px) {
  .fv h1 {
    font-size: 3rem;
  }
}

@media screen and (max-width: 425px) {
  .fv h1 {
    font-size: 2.2rem;
  }
}
main{
  overflow: hidden;
}
/*service*/
.service_list li {
  padding: 4%;
  height: 245px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service_list li:first-child {
  background: url(../img/service_img01.jpg) no-repeat center/cover;
  width: 80%;
}

.service_list li:nth-child(2) {
  background: url(../img/service_img02.jpg) no-repeat center/cover;
  width: 80%;
  margin: auto;
}

.service_list li:last-child {
  background: url(../img/service_img03.jpg) no-repeat center/cover;
  width: 80%;
  margin-left: auto;
}

.service_list li h3 {
  font-family: "inter-tight-variable", sans-serif;
  font-variation-settings: "wght" 500;
  color: #fff;
  letter-spacing: .1rem;
  font-size: 2.5rem;
}

.service_list li p {
  color: #fff;
}

.service_list li:nth-child(2) h3,
.service_list li:nth-child(2) p {
  text-align: right;
}

@media screen and (max-width: 1024px) {
  .ttl {
    font-size: 5.5rem;
  }
}

@media screen and (max-width: 768px) {
  .service_list li {
    padding: 6%;
  }

  .service_list li:first-child,
  .service_list li:nth-child(2),
  .service_list li:last-child {
    width: 100%;
  }
}

@media screen and (max-width: 640px) {
  .ttl {
    font-size: 4.5rem;
  }

  .service_list li h3 {
    font-size: 2rem;
  }
}

@media screen and (max-width: 525px) {
  .ttl {
    font-size: 3.5rem;
  }
}

@media screen and (max-width: 425px) {
  .ttl {
    font-size: 2.7rem;
  }
}

/*Features*/
.features{
  padding-bottom: 5%;
}
.features_list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 20%;
  position: relative;
}

.features_list li:last-child {
  margin-bottom: 0;
}

.features_list li:nth-child(2) {
  flex-direction: row-reverse;
}

.features_list li:first-child:before {
  display: inline-block;
  content: "";
  background: url(../img/01.svg) no-repeat right bottom/cover;
  width: 92%;
  height: 50%;
  position: absolute;
  bottom: -16%;
  left: 0;
  z-index: -1;
}

.features_list li:nth-child(2):before {
  display: inline-block;
  content: "";
  background: url(../img/02.svg) no-repeat left bottom/cover;
  width: 92%;
  height: 50%;
  position: absolute;
  bottom: -16%;
  left: 0;
  z-index: -1;
}

.features_list li:last-child:before {
  display: inline-block;
  content: "";
  background: url(../img/03.svg) no-repeat right bottom/cover;
  width: 92%;
  height: 50%;
  position: absolute;
  bottom: -16%;
  left: 0;
  z-index: -1;
}

.features_list li:nth-child(2)::before {
  left: auto;
  right: 0;
}

.features_list li figure {
  width: 40%;
}

.features_list li .features_text_content {
  width: 40%;
  padding: 4%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(5, 66, 133, 0.9));
  margin-left: -4%;
  box-shadow: 4px 4px 12px #c1c1c1;
}

.features_list li:nth-child(2) .features_text_content {
  margin-left: auto;
  margin-right: -4%;
}

.features_list li .features_text_content h3 {
  color: #fff;
  font-size: 1.8rem;
  line-height: 1.6;
  border-bottom: 1px solid #fff;
  padding-bottom: 4%;
  margin-bottom: 4%;
}

.features_list li .features_text_content p {
  color: #fff;
}

@media screen and (max-width: 1160px) {
  .features_list li figure {
    width: 50%;
  }

  .features_list li .features_text_content {
    width: 50%;
  }

  .features_list li .features_text_content {
    margin-left: -13%;
  }

  .features_list li:nth-child(2) .features_text_content {
    margin-right: -13%;
  }
}

@media screen and (max-width: 1024px) {
  .features_list li .features_text_content h3 {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 768px) {
  .features_list li {
    flex-direction: column;
  }

  .features_list li:nth-child(2) {
    flex-direction: column;
  }

  .features_list li .features_text_content {
    margin-left: 0;
  }

  .features_list li:nth-child(2) .features_text_content {
    margin-left: 0;
    margin-right: 0;
  }

  .features_list li figure {
    width: 80%;
  }

  .features_list li .features_text_content {
    width: 80%;
  }

  .features_list li:first-child:before {
    height: 25%;
    bottom: -7%;
  }

  .features_list li:nth-child(2):before {
    height: 25%;
    bottom: -7%;
  }

  .features_list li:last-child:before {
    height: 25%;
    bottom: -7%;
  }

  .features_list li .features_text_content {
    padding: 7%;
  }
  .features_list li {
    margin-bottom: 48%;
  }
      .features_list li:first-child:before {
        bottom: -16%;
    }
    .features_list li:nth-child(2):before {
        bottom: -16%;
    }
        .features_list li:last-child:before {
        bottom: -16%;
    }
}

@media screen and (max-width: 640px) {
  .features {
    padding-bottom: 32%;
}
  .features_list li .features_text_content h3 {
    padding-bottom: 6%;
    margin-bottom: 7%;
  }
    .features_list li .features_text_content h3 {
    font-size: 1.2rem;
  }
}

.w_425 {
  display: none;
}

@media screen and (max-width: 425px) {
  .w_425 {
    display: block;
  }
}

/*Achievements*/
.achievements {}

.bg-content {
  position: relative;
}

.bg-content::before {
  display: inline-block;
  content: "";
  background: url(../img/achievents_bg.jpg) no-repeat left center/cover;
  width: 92%;
  height: 80%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 4px 4px 12px #c1c1c1;
}

.achievement_list {
  width: 65%;
  margin: auto;
}

.achievement_list li {
  width: 40%;
  position: relative;
  margin-bottom: 12%;
}

.achievement_list li:first-child,
.achievement_list li:last-child {
  margin-left: auto;
}

.achievement_list li:last-child {
  margin-bottom: 0;
}

.achievement_list li:first-child::before {
  display: inline-block;
  content: "01";
  font-family: "inter-tight-variable", sans-serif;
  font-variation-settings: "wght" 300;
  font-style: italic;
  font-size: 2rem;
  position: absolute;
  top: 50%;
  left: -24%;
  transform: translateY(-50%);
}

.achievement_list li:first-child::after {
  display: inline-block;
  content: "";
  height: 1px;
  width: 72px;
  background-color: #000;
  position: absolute;
  top: 50%;
  left: -12%;
}

.achievement_list li:nth-child(2)::before {
  display: inline-block;
  content: "02";
  font-family: "inter-tight-variable", sans-serif;
  font-variation-settings: "wght" 300;
  font-style: italic;
  font-size: 2rem;
  position: absolute;
  top: 50%;
  right: -24%;
  transform: translateY(-50%);
}

.achievement_list li:nth-child(2)::after {
  display: inline-block;
  content: "";
  height: 1px;
  width: 72px;
  background-color: #000;
  position: absolute;
  top: 50%;
  right: -12%;
}

.achievement_list li:last-child::before {
  display: inline-block;
  content: "03";
  font-family: "inter-tight-variable", sans-serif;
  font-variation-settings: "wght" 300;
  font-style: italic;
  font-size: 2rem;
  position: absolute;
  top: 50%;
  left: -24%;
  transform: translateY(-50%);
}

.achievement_list li:last-child::after {
  display: inline-block;
  content: "";
  height: 1px;
  width: 72px;
  background-color: #000;
  position: absolute;
  top: 50%;
  left: -12%;
}

.achievement_list li h3 {
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(5, 66, 133, 0.8));
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  color: #fff;
  text-align: center;
  line-height: 1.4;
  padding: 4% 0;
  font-size: 1.8rem;
}

@media screen and (max-width: 1024px) {
  .achievement_list li {
    width: 60%;
  }

  .achievement_list li h3 {
    font-size: 1.5rem;
    padding: 6% 0;
  }

  .achievement_list li:first-child::after {
    left: -8%;
  }

  .achievement_list li:nth-child(2)::after {
    right: -8%;
  }

  .achievement_list li:last-child::after {
    left: -8%;
  }
}

@media screen and (max-width: 768px) {
  .achievement_list {
    width: 70%;
  }

  .achievement_list li {
    margin-bottom: 22%;
  }
}

@media screen and (max-width: 640px) {
  .achievement_list li {
    width: 75%;
  }
    .achievement_list li:first-child::after {
    left: -6%;
  }

  .achievement_list li:nth-child(2)::after {
    right: -6%;
  }

  .achievement_list li:last-child::after {
    left: -6%;
  }
      .achievement_list li h3 {
        font-size: 1.2rem;
      }
}
@media screen and (max-width: 425px) {
      .achievement_list {
        width: 76%;
    }
.achievement_list li {
        width: 82%;
    }
  }

/*Gallrey*/
.gallery_img01 {
  margin: auto;
  width: 85%;
}

/*Company*/
.company_content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  position: relative;
}

iframe {
  margin-bottom: 8%;
}

.company_content .company_img {
  width: 40%;
  /*width: 70%;*/
}

.company_content .company_information {
  width: 60%;
  padding: 4%;
  /*position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);*/
  background-color: #fff;
  display: flex;
  flex-wrap: wrap;
  line-height: 1.4;
}

.company_content .company_information dt {
  width: 150px;
  border-bottom: 2px solid #054285;
  padding-bottom: 2%;
  margin-bottom: 2%;
  text-align: center;
  line-height: 1.4;
}

.company_content .company_information dd {
  width: calc(100% - 150px);
  border-bottom: 2px solid #000000;
  padding-bottom: 2%;
  margin-bottom: 2%;
  padding-left: 4%;
  line-height: 1.4;
}

@media screen and (max-width: 1024px) {
.company_content .company_img {
    width: 100%;
}
.company_content .company_information {
    width: 70%;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    background-color: rgba(255, 255, 255, 0.95);
  }
  .company_content {
    flex-direction: column-reverse;
  }
      .company_content .company_information {
        transform: none;
      }
  }
@media screen and (max-width: 640px) {
  .company{
    padding-bottom: 0;
  }
  .company_content {
    flex-direction: column-reverse;
  }
      .company_content .company_information {
        width: 100%;
        position: static;
        transform: none;
        margin-bottom: 6%;
      }
      .company_img img{
          object-fit: cover;
    /*height: 500px;*/
      }
    }
    @media screen and (max-width: 425px) {
          .company_content .company_information {
            flex-direction: column;
          }
          .company_content .company_information dt {
    width: 100%;
    border: none;
    background-color: #054285;
    color: #fff;
    padding-top: 4%;
    padding-bottom: 4%;
  }
  .company_content .company_information dd {
    width: 100%;
    text-align: center;
    border: none;
    padding-left: 0;
    padding-top: 4%;
  }
    }

/*メールフォーム*/
.contact {
  margin-top: 250px;
  background: linear-gradient(to right, #054285, #000);
  padding-bottom: 250px;
}

.contact .ttl {
  color: #fff;
  text-align: center;
}

.formstyle {
  width: 80%;
  max-width: 800px;
  margin: 30px auto 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background-color: #fff;
  padding: 5%;
  position: relative;
}

.formstyle label {
  margin-bottom: 1%;
  display: block;
}

/*必須*/
.red {
  display: inline-block;
  background-color: #E00A19;
  padding: 0 1%;
  line-height: 1.8;
  color: #fff;
  font-size: .8rem;
  margin-left: 5px;
  border-radius: 10%;
}

/*任意*/
.gray {
  display: inline-block;
  background-color: #606060;
  padding: 0 1%;
  line-height: 1.8;
  color: #fff;
  font-size: .8rem;
  margin-left: 5px;
  border-radius: 10%;
}

.formstyle select,
.formstyle input,
.formstyle textarea {
  width: 100%;
  background: #f2f2f2;
  border: 1px solid #a5a5a5;
  padding: 1% 2%;
  margin: 0 0 3%;
  font-size: 1rem;
  color: #231815;
}

input.radio {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: relative;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 25px;
  height: 25px;
  -webkit-transition: all 0.15s ease-out 0s;
  transition: all 0.15s ease-out 0s;
  background-color: #d9d9d9;
  border: none;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  margin-right: 0.5rem;
  outline: none;
  position: relative;
  margin-bottom: 0;
  z-index: 10;
}

.radiobox {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.checks {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-top: 5px;
}

label.radiotxt {
  margin: 0;
}

input.radio:hover {
  background: #9faab7;
}

input.radio:checked {
  background: #a7a7a7;
}

input.radio:checked::before {
  content: '';
  width: 10px;
  height: 5px;
  border-left: 2px solid #de2121;
  border-bottom: 2px solid #de2121;
  transform: rotate(-45deg);
  display: block;
  transform: translate(-50%, -50%) rotate(-45deg);
  display: block;
  position: relative;
  top: 40%;
  left: 50%;
}

.formstyle textarea {
  height: 250px;
}

.privacy {
  padding: 20px;
  width: 80%;
  height: 200px;
  margin: 30px auto 10px;
  overflow-y: scroll;
  border: #231815 1px solid;
}

.privacy h2 {
  font-size: 1.1rem;
  font-weight: bold;
  line-height: 2rem;
  border-bottom: 1px dotted #8c8c8c;
  padding-bottom: 2%;
  margin-bottom: 2%;
}

.privacy h3 {
  font-size: 1.1rem;
  font-weight: bold;
  line-height: 2rem;
  margin-bottom: 12px;
  border-left: 5px solid #a6a6a6;
  padding-left: 2%;
}

.privacy p,
.privacy-list {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: left;
}

.privacy-list li {
  list-style: disc;
  font-size: 0.9rem;
  margin-left: 2rem;
  line-height: 1.6;
}

.formstyle .submit-btn {
  width: 80%;
  font-size: 1.5rem;
  padding: 4%;
  border-radius: 50px;
  margin: 5% auto 0;
  color: #fff;
  background: linear-gradient(to right, #000, #054285);
  font-weight: bold;
  line-height: 1.2;
}

.privacycheck {
  width: 90%;
  text-align: center;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.aicon-name {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.aicon-name ::before {
  content: "";
  display: inline-block;
  width: 1rem;
  height: 1rem;
  background: url(../img/common/onepoint-blk.svg) no-repeat center center/contain;
}

.submit-btn {
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.submit-btn:hover {
  opacity: 0.7;
}

@media screen and (max-width: 960px) {
  .formstyle {
    width: 100%;
  }

  .contctform {
    width: 100%;
    margin: 0 auto;
  }

  .contctform p.txt {
    text-align: left;
  }

  .formstyle {
    width: 100%;
    margin: 20px auto;
  }

  .privacy {
    padding: 2%;
    width: 100%;
    height: 200px;
  }

  .privacycheck {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .formstyle textarea {
    height: 150px;
  }
}

@media screen and (max-width: 640px) {
  .formstyle {
    border-radius: 5px;
    padding: 8%;
  }

  .privacy {
    padding: 4%;
  }

  .radiobox {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-bottom: 2%;
  }
}

@media screen and (max-width: 640px) {
  .formstyle {
    border-radius: 5px;
    padding: 12% 8%;
  }
  .formstyle .submit-btn {
    width: 100%;
    font-size: 1.2rem;
  }
}

/*フォーム確認画面*/
#cheked .ttl {
  margin-bottom: 2%;
}

.confirmation {
  padding: 100px 0;
}

.cheked-ttl {
  margin: 0 auto;
  text-align: center;
  font-size: 2.5rem;
  font-weight: 500;
  color: #231815;
  position: relative;
  margin-bottom: 50px;
}
@media screen and (max-width: 1024px) {
  .contact {
    margin-top: 0;
  }
}
@media screen and (max-width: 640px) {
  .contact {
    margin-top: 0;
    padding-bottom: 15%;
  }
  .formstyle .radio-label {
    display: block;
    margin-left: 0;
  }

  .confirmation {
    padding: 15% 0;
  }
}

/*サンクスページ*/
#thanks {
  padding: 10% 0;
}

#thanks .contact-ttl {
  margin: 0 auto 50px auto;
}
.thanks_ttl{
    font-size: 3.5rem;
    line-height: 1.4;
    text-align:center;
    font-weight: 700;
}
.thanks_ttl span{
  font-weight: 700;
}

.top-column .logo-ttl.-center {
  width: 220px;
  display: block;
  text-align: center;
  margin: auto;
}

.thanks-wrap {
  padding: 80px 0;
}

.thanks-wrap .thanks-ttl {
  text-align: center;
  font-weight: 600;
  line-height: 1.8;
  color: #231815;
  font-size: 2rem;
  margin-bottom: 40px;
}

.thanks-wrap .txt {
  text-align: center;
}
.thanks_nav{
  display: none !important;
}
@media screen and (max-width: 960px) {
.thanks_nav{
  display: block !important;
}
}
@media screen and (max-width: 640px) {
  .thanks{
        padding: 120px 0 0;
  }
  .thanks_ttl {
    font-size: 2.5rem;
  }
  .thanks-wrap {
    padding: 15% 0;
  }

  .thanks-wrap .thanks-ttl {
    font-size: 1.2rem;
  }

  .thanks-wrap .txt {
    text-align: left;
    font-size: 0.9rem;
  }
}


/*概要リスト*/
.data-list {
  flex-wrap: wrap;
}

.data-list dt,
.data-list dd {
  padding: 2%;
  border-bottom: 1px dotted #9b9b9b;
}

.data-list dt:last-of-type,
.data-list dd:last-of-type {
  border-bottom: none;
}

.data-list dt {
  width: 160px;
  font-weight: bold;
}

.data-list dd {
  width: calc(100% - 160px);
}

.data-list li {
  list-style: disc;
  margin-left: 1rem;
}

.data-list address {
  font-style: normal;
  line-height: 1.6;
}

@media screen and (max-width: 640px) {
  .data-list {
    flex-direction: row !important;
  }
}

@media screen and (max-width: 425px) {
  .data-list {
    flex-direction: column !important;
  }

  .data-list dt,
  .data-list dd {
    padding: 2% 4%;
    border-bottom: none;
  }

  .data-list dt {
    width: 100%;
    font-weight: normal;
    background: #797979;
    color: #fff;
  }

  .data-list dd {
    width: 100%;
    padding: 2% 0;
  }
}

/*ギャラリー*/
.gallery {
  flex-wrap: wrap;
}

.gallery::before,
.gallery::after {
  content: '';
  display: block;
  width: 24%;
}

.gallery::before {
  order: 1;
}

.gallery li {
  width: 24%;
  margin-bottom: 1.5%;
}

/*横3つの場合*/
.gallery.three::after {
  width: 32%;
}

.gallery.three::before {
  display: none;
}

.gallery.three li {
  width: 32%;
}

@media screen and (max-width: 768px) {
  .gallery::after {
    width: 32%;
  }

  .gallery::before {
    display: none;
  }

  .gallery li {
    width: 32%;
  }
}

@media screen and (max-width: 640px) {
  .gallery {
    flex-direction: row;
  }

  .gallery::after {
    width: 49%;
  }

  .gallery li,
  .gallery.three li {
    width: 49%;
  }
}


/*TOPへ戻るボタン*/
.re-btn {
  position: fixed;
  bottom: 2%;
  right: 2%;
  z-index: 999;
  -webkit-transition: .4s;
  transition: .4s;
  max-width: 75px;
  opacity: .7
}

.re-btn img {
  width: 100%
}

.re-btn:hover {
  opacity: .7;
  filter: alpha(opacity=70);
  -ms-filter: "alpha(opacity=70)"
}

@media screen and (max-width: 640px) {
  .re-btn {
    position: fixed;
    bottom: 2%;
    right: 2%;
    z-index: 50;
    -webkit-transition: .4s;
    transition: .4s;
    width: 30%;
    z-index: 200;
    max-width: 80px;
    opacity: .7
  }

  .re-btn img {
    width: 100%
  }

  .re-btn:hover {
    opacity: .7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha(opacity=70)"
  }
}

/*footer*/
footer {
  background: #fff;
  padding: 100px 0 0;
}

footer .footer-logo {
  width: 60%;
  max-width: 280px;
  margin: 0 auto 3%;
  display: block;
}

footer address {
  font-style: normal;
  font-size: 1rem;
  line-height: 1.8;
  color: #000;
  text-align: center;
}

footer .copy {
  color: #fff;
  font-size: .9rem;
  text-align: center;
  display: block;
  margin-top: 5%;
  padding: 1% 0;
  background: linear-gradient(to right, #000, #054285);
}

@media screen and (max-width: 639px) {
  footer {
    padding: 15% 0 0;
  }

  footer .copy {
    margin-top: 15%;
  }
}

/*thanksページ*/
.thanks p {
  text-align: center;
}

@media screen and (max-width: 639px) {
  .thanks p {
    text-align: left;
  }
}

/*送信内容確認画面*/
.confirm-page .tel-num {
  right: 0;
}

#formWrap {
  width: 90%;
  max-width: 750px;
  margin: 0 auto 30px auto;
  line-height: 120%;
  /*cursor:pointer*/
  margin-bottom: 30px;
}

table.formTable {
  width: 100%;
  margin: 5% auto;
  border-collapse: collapse;
}

table.formTable td {
  border-bottom: 1px solid #777777;
  padding: 15px;
  background-color: #fff;
}

table.formTable td {
  border: 1px solid #DDDDDD;
  padding: 15px;
  background-color: #fff;
}

table.formTable th {
  width: 30%;
  font-weight: normal;
  background: #054285;
  color: #fff;
  text-align: left;
  border: 1px solid #ddd;
  border-bottom: 1px solid #fff;
  padding: 15px;
  padding: 15px;
}

p.error_messe {
  margin: 5px 0;
  color: red;
}

.send {
  display: -webkit-box;
  display: flex;
  justify-content: space-around;
  width: 400px;
  margin: 0 auto;
  font-size: .87rem;
}

.submitbtn {
  background: linear-gradient(to right, #000, #054285);
  font-size: 1rem;
  height: fit-content;
  text-align: center;
  margin: 20px auto;
  color: #fff;
  width: 196px;
  height: 48px;
}

.submitbtn,
.backpage {
  -webkit-transition: .4s;
  -o-transition: .4s;
  transition: .4s;
}

.submitbtn:hover,
.backpage:hover {
  opacity: .7;
}

.backpage {
  background-color: #b7b7b7;
  color: #231815;
  font-size: 1rem;
  height: fit-content;
  margin: 20px auto;
  text-align: center;
  height: 48px;
  width: 196px;
}



/*　簡易版レスポンシブ用CSS（必要最低限のみとしています。ブレークポイントも含め自由に設定下さい）　*/
@media screen and (max-width:639px) {
  #formWrap {
    width: 90%;
    margin: 0 auto 50px auto;
  }

  #formWrap h4 {
    font-size: 1.5rem;
    margin: 10% auto;
  }

  table.formTable td {
    border-bottom: none;

  }

  table.formTable th,
  table.formTable td {
    width: auto;
    display: block;
  }

  table.formTable td,
  table.formTable th {
    padding: 10px;
    border: none;
  }

  table.formTable th {
    margin-top: 5px;
    border-bottom: 0;
  }

  form input[type="submit"],
  form input[type="reset"],
  form input[type="button"] {
    display: block;
    font-size: 1rem;
    width: 100%;
  }

  .backpage {
    font-weight: normal;
    cursor: pointer;
    margin: 20px auto 0px;
    width: 100%;
  }

  .send {
    display: flex;
    justify-content: space-around;
    width: 80%;
    margin: 0 auto;
    flex-direction: column;
  }

  .send>.nav-entry {
    padding: 2rem 2rem;
  }
}
.w_370{
  display: none;
}
@media screen and (max-width:370px) {
      .service_list li h3{
        line-height: 1.4;
      }
.w_370{
  display: block;
}
.service_list li {
    height: 300px;
  }
}