@charset "UTF-8";

/*変数*/
:root {
  --main_color_blue: #003e9b;
  --main_color_red: #d93a3c;
  --ttl_color: #b5b5b6;
  --txt_color: #333333;
  --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: 1.7;
  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: 2.2rem;
  line-height: 1.5;
  text-align: center;
  color: var(--main_color_blue);
  font-weight: bold;
  letter-spacing: 0.2rem;
  padding-top: 3%;
  margin-bottom: 6%;
  position: relative;
}
.ttl::after{
  content: "";
  position: absolute;
  width: 190px;
  height: 1rem;
  background: url(../../assets/img/deco_ttl_red.svg) no-repeat center center / contain;
  top: 100%;
  right: calc(100% / 2 - 95px);
}
.ttl span{
  color: var(--ttl_color);
  font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 2px;
  display: block;
}
.ttl.left{
  text-align: left;
}
.ttl-sub{
  font-size: 1.5rem;
  font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  line-height: 1.2;
  color: var(--main_color_red);
  font-weight: bold;
}
.ttl-sub.center{
  text-align: center;
}
@media screen and (max-width: 768px){
  .ttl{
    font-size: 1.8rem;
    line-height: 1.6;
    margin-bottom: 10%;
  }
}
@media screen and (max-width: 640px){
  .ttl{
    margin-bottom: 11%;
  }
}


/*ボタン*/
.btn{
  position: relative;
  padding: 1% 4%;
  text-align: center;
  border-radius: 50px;
  display: table;
  margin: 4% auto 0;
  background: var(--main_color_red);
  color: #fff;
  font-weight: bold;
  transition: .4s;
}
.btn:hover{
  opacity: 0.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: 3.5rem 0;
  margin: 4rem 0;
}


/*ヘッダー*/
#header{
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 2rem;
  background: #fff;
  border-bottom: 1px solid #333;
  z-index: 999;
}
.header_wrap{
  display: flex;
  position: relative;
  justify-content: space-between;
  align-items: center;
}
.header-logo{
  max-width: 250px;
  width: 25%;
  transition:.4s;
}
.header-logo:hover{
  opacity: .7;
}
.header-logo.center{
  margin: auto;
}


@media screen and (max-width: 640px){
  #header {
    padding: 2rem;
  }
  .header-logo{
    width: 60%;
    max-width: 200px;
    padding: 1% 3%;
    position: fixed;
    top: 3px;
    left: 0;
    z-index: 99;
  }
  _::-webkit-full-page-media, _:future, :root .header-logo{
    top: 0;
    padding: 3%;
    }
  #header.thanks-parts .header-logo{
    position: relative;
    margin: auto;
  }

}
/*ナビゲーションのデザイン*/
.nav_content{
  width: 90%;
  display: flex;
  justify-content: end;
}
.nav_list{
  display: flex;
  justify-content: center;
  padding: 1% 2%;
}
.nav_list li{
  margin-right: 1.5rem;
}
.nav_list li::after{
  content: '';
  display: inline-block;
  background: var(--txt_color);
  width: 1px;
  height: 50%;
  margin-left: 1.5rem;
  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: var(--main_color_red);
  transition: .4s;
  border-bottom: 2px solid rgba(255, 255, 255, 0);
  padding-bottom: 2px;
  position: relative;
}
/*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: var(--main_color_red);
  border-bottom: 2px solid var(--main_color_red);
  opacity: 0.7;
}

.nav_list.-footer{
  background: none;
  margin: 3% auto;
}
.nav_list.-footer a{
  color: #fff;
}
.nav_list.-footer li::after{
  background: #d1d1d1;
}

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

/*バーガーメニュー*/
/* チェックボックスを非表示にする */
.drawer_hidden {
  display: none;
}

@media screen and (max-width: 960px){
  /* ハンバーガーアイコンの設置スペース */
  .drawer_open{
    display: flex;
    height: 50px;
    width: 50px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 100;/* 重なり順を一番上にする */
    cursor: pointer;
    position: fixed;
    top: 1.5%;
    right: 1.5%;
    /*background: var(--main_color_blue);*/
    border: 1px solid var(--main_color_red);
  }

  /* ハンバーガーメニューのアイコン */
  .drawer_open span,
  .drawer_open span:before,
  .drawer_open span:after{
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background: var(--main_color_red);
    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(0,0,0,.8);
    transition: .5s;
    display: block;

  }
  .nav_list{
    flex-direction: column;
    align-items: center;
    background: none;
  }
  .nav_list li{
    width: 100%;
    margin-right: 0;
    border-bottom: 1px solid #6a6a6a;
  }
  .nav_list li a{
    color: #fff;
    display: block;
    padding: 20px 6px;
    text-align: center;
  }
  .nav_list li::after{
    display: none;
  }
  .nav_list.-footer{
    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){
  .drawer_open{
    top: 5px;
  }
  .nav_list.-footer{
    margin-top: 4%;
    padding-top: 4%;
  }
  .nav_list.-footer a{
    font-size: .85rem;
  }
}


#drawer_input:checked ~ .drawer_open{
  background: var(--main_color_red);
}

/*スクロールしたらナビゲーションに付与される*/
.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;
}


/*ファーストビュー*/
.fv{
  height: 100vh;
  margin-top: -90.5px;
}
_::-webkit-full-page-media, _:future, :root .fv{
	height :100vw;
}
_::-webkit-full-page-media, _:future, :root .fv .copy-wrap{
	padding: 36% 4% 10%;
}
.fv .copy-wrap{
  padding-top: 15rem;
  text-align: center;
}

.fv h1 span{
  color: #333;
  font-size: 45px;
	font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  font-weight: 600;
  padding: 5px;
  line-height: 1.6;
  margin-bottom: 10px;
  background-color: rgba(255,255,255,0.5);
}

.vegas-content{
  padding: 0;
}
.vegas-slide-inner {
  background-position: top left!important;
}

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

@media screen and (max-width: 768px){
  .fv{
    height: 75vh;
    margin-top: -62.27px;
  }
  .fv .copy-wrap{
    padding: 28% 4% 10%;
  }
  .fv h1 span{
    font-size: 32px;
    line-height: 1.6;
  }
}
@media screen and (max-width: 640px){
  .fv .copy-wrap {
    padding: 26% 4% 6%;
  }
  _::-webkit-full-page-media, _:future, :root .fv {
    height: 42vh;
    }
  _::-webkit-full-page-media,_:future, :root .fv .copy-wrap {
    padding: 30% 4% 10%;
  }
  .vegas-slide-inner {
    background-position: bottom right!important;
  }
}
@media screen and (max-width: 425px){
  .fv h1{
    font-size: 2.2rem;
  }
  .fv .copy-wrap {
    padding: 39% 4% 6%;
  }
}

/*Aパーツ：画像とテキスト横並び*/
.a-parts .item{
  width: 47%;
}
.a-parts .item img{
  height: 100%;
  object-fit: cover;
  object-position: left;
}
.a-parts .txt-box{
  width: 47%;
}
.a-parts li{
  margin-bottom: 8%;
}
.a-parts li:last-child{
  margin-bottom: 0;
}
.bg_bl{
  color: #fff;
  font-family: "YuMincho";
  background: var(--main_color_red);
  padding: 1% 0 1% 0.5%;
  margin: 0.5%;
}

@media screen and (max-width: 640px){
  .a-parts .ttl{
    margin-top: 2%;
  }
  .a-parts .item{
    width: 100%;
    margin-bottom: 5%;
  }
  .a-parts .txt-box{
    width: 100%;
  }
}



/*画像＋テキストの要素を横並びにする*/
.item-list{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  flex-wrap: wrap;
}
.item-list li{
  width: 30%;
  display: flex;
  flex-direction: column;
  /*align-items: stretch;*/
  /*justify-content: space-between;*/
  background: #fff;
}

.item-list picture{
  width: 100%;
  display: block;
}
@media screen and (max-width: 768px){
  .item-list li{
    width: 100%;
    margin-bottom: 8%;
  }
}
@media screen and (max-width: 640px){
  .item-list li:last-child{
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .item-list picture{
    margin-bottom: 0;
    float: left;
  }
  .item-list .ttl-sub{
    float: left;
    font-size: 1.5rem;
  }
  .item-list li p{
    float: left;
  }
}

@media screen and (max-width: 425px){
  .item-list picture, .item-list .ttl-sub, .item-list li p{
    float: none;
    width: 100%;
  }
}

/*li要素が4つ〜6つ以上の時*/
.item-list li:first-child:nth-last-child(4),
.item-list li:first-child:nth-last-child(4) ~ .item-list li,
.item-list li:first-child:nth-last-child(5),
.item-list li:first-child:nth-last-child(5) ~ .item-list li,
.item-list li:first-child:nth-last-child(6),
.item-list li:first-child:nth-last-child(6) ~ .item-list li{
  margin-bottom: 8%;
}

/*要素が2つの場合*/
.item-list.two{
  justify-content: center;
}
.item-list.two li{
  margin-right: 8%;
}
.item-list.two li:last-child{
  margin-right: 0;
}

.item-list picture{
  margin-bottom: 5%;
}
@media screen and (max-width: 768px){

}

/*要素が4つの場合*/
.item-list.four li{
  width: 23%;
}
@media screen and (max-width: 1023px){
  .item-list.four{
    flex-wrap: wrap;
    justify-content: center;
  }
  .item-list.four li{
    width: 42%;
    margin-right: 8%;
    margin-bottom: 8%;
  }
  .item-list.four li:nth-child(3),.item-list.four li:nth-child(4){
    margin-bottom: 0;
  }
  .item-list.four li:nth-child(even){
    margin-right: 0;
  }
}

@media screen and (max-width: 640px){
  .item-list{
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .item-list.four li{
    width: 100%;
  }
  .item-list.four li:nth-child(3),.item-list.four li:nth-child(4){
    margin-right: 8%;
    margin-bottom: 8%;
  }
  .b-parts .txt-box.bg{
    width: 80%;
  }
}
@media screen and (max-width: 425px){
  .b-parts .txt-box.bg{
    width: 100%;
  }
}

/*Cパーツ：横並びのリスト*/
.c-parts{
  background: url(../../assets/img/bg_business.png) no-repeat center center / cover;
}
.business_ttl_sub{
  font-size: 17px;
  font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  text-align: center;
  position: relative;
  display: inline-block;
  padding: 0 2.3rem;
}
.business_ttl_sub::before, .business_ttl_sub::after{
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 2.8vw;
  height: 1px;
  background-color: black;
}
.business_ttl_sub::before{
  left: 1rem;
}
.business_ttl_sub::after{
  right: 1rem;
}

.business_p{
  padding: 4%;
  line-height: 1.7;
}
.wrap_business_detail{
  width: 100%;
  margin-top: auto;
  padding: 0 4% 5%;
}
.wrap_business_detail p{
  color: #fff;
  font-size: 14px;
  line-height: 1.3;
  text-align: center;
  width: 100%;
  background: #606060;
  padding: 2% 1rem;
  margin-bottom: 0.5rem;
}

@media screen and (max-width: 768px){
  .item-list li{
    align-items: center;
  }
  .business_ttl_sub::before, .business_ttl_sub::after{
    width: 40%;
  }
  .business_ttl_sub::before{
    left: -4rem;
  }
  .business_ttl_sub::after{
    right: -4rem;
  }
  .business_p{
    flex-grow: 0;
  }
}
@media screen and (max-width: 640px){
  .business_ttl_sub::before, .business_ttl_sub::after{
    width: 35px;
  }
  .business_ttl_sub::before{
    left: -2rem;
  }
  .business_ttl_sub::after{
    right: -2rem;
  }
  .business_p{
    line-height: 1.6;
  }
  .wrap_business_detail{
    display: block;
    padding-bottom: 1rem;
  }
}

/*feature*/
.feature_contents{
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  margin-bottom: 10rem;
}
.feature_contents:last-child{
  margin-bottom: 0;
}
.feature_contents .txt h3{
  color: var(--txt_color);
  font-size: 25px;
  font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  line-height: 1.5;
  /*width: 65%;
  margin-left: auto;*/
  margin-bottom: 1.8rem;
}
.feature_contents .txt h3:first-letter{
  font-size: 2.3rem;
  color: var(--main_color_red);
}
/*.feature_contents .txt p{
  width: 65%;
  margin-left: auto;
}*/
.feature_contents:nth-child(2n+1) > .txt h3,.feature_contents:nth-child(2n+1) > .txt p{
  margin-right: auto;
  margin-left: 0;
}
.img{
  width: 50%;
  height: 56vh;
}
.img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature_contents:nth-child(2) > .img img{
  object-position: right;
}
.feature_contents:nth-child(3) > .img img{
  object-position: center;
}
.feature_contents:last-child > .img img{
  object-position: left;
}
.feature_contents .txt{
  box-sizing: border-box;
  width: 45%;
  background: #fff;
  border: 1px solid #333;
  margin: 0 -4rem -3rem 0;
  padding: 3%;
  z-index: 1;
}
.feature_contents:nth-child(2n+1){
  flex-direction: row-reverse;
}
.feature_contents:nth-child(2n+1) .txt{
  margin-right: 0;
  margin-left: -4rem;
}
@media screen and (max-width: 960px){
  .feature_contents .txt h3, .feature_contents .txt p{
    width: 100%;
  }
}
@media screen and (max-width: 768px){
  .feature_contents .txt,.feature_contents:nth-child(2n+1) .txt{
    width: 60%;
  }
  .feature_contents .txt{
    padding: 3% 6% 6%;
  }
  .feature_contents:nth-child(2n) .txt{
    border-left: none;
  }
  .feature_contents:nth-child(2n+1) .txt{
    border-right: none;
  }
}
@media screen and (max-width: 640px){
  .feature_contents{
    flex-direction: column-reverse;
    margin-bottom: 21%;
  }
  .feature_contents:nth-child(2n+1){
    flex-direction: column-reverse;
  }
  .feature_contents .txt{
    margin: -4rem auto 0 0;
  }
  .feature_contents .txt h3{
    margin-bottom: 2%;
  }
  .feature_contents .txt,.feature_contents:nth-child(2n+1) .txt,.img{
    width: 90%;
  }
  .feature_contents .img{
    height: 40vh;
  }
  _::-webkit-full-page-media, _:future, :root .img{
    height: 23vh;
  }
  .feature_contents:nth-child(2n+1) .img{
    margin-right: auto;
  }
  _::-webkit-full-page-media, _:future, :root .feature_contents:last-child > .img img{
    object-position: 20%;
  }
}
@media screen and (max-width: 428px){
  
  .feature_contents .txt{
    margin: -1rem auto 0 0;
    padding: 2rem;
  }
  .feature_contents .txt h3{
    font-size: 20px;
    line-height: 1.3;
  }
  .feature_contents .txt h3:first-letter{
    font-size: 28px;
  }
}


/*Dパーツ：画像とテキスト横並び(5:5)*/
.d-parts .txt-box{
  width: 90%;
  margin: auto;
}
.txt_q, .txt_a{
  border: 1px solid var(--txt_color);
  padding: 1rem 1rem 1rem 4rem;
  position: relative;
}
.txt_q::before, .txt_a::before{
  position: absolute;
  font-size: 1.8rem;
  font-family: "Noto Sans JP";
  font-weight: bold;
  top: 0;
  left: 30px;
}
.txt_q::before{
  content: "Q";
  color: #fff;
}
.txt_a::before{
  content: "A";
  color: var(--main_color_red);
}
.txt_q{
  color: #fff;
  background: var(--main_color_blue);
}
.txt_a{
  margin-bottom: 2.5rem;
}
.txt_a:last-child{
  margin-bottom: 0;
}
@media screen and (max-width: 640px){
  .d-parts .txt-box{
    width: 100%;
    line-height: 1.5;
  }
  .txt_q, .txt_a {
    padding: 1.5rem 1rem 1rem 4rem;
  }
  .txt_q::before, .txt_a::before{
    top: 0.3rem;
  }
}

#message > .inner > .column-reverse > *{
  width: 47%;
}
#message > .inner > .column-reverse{
  align-items: stretch;
}
.message{
  display: flex;
  align-items: center;
  padding-left: 1.5rem;
  border-left: 7px solid var(--main_color_blue);
}
@media screen and (max-width: 768px){
  #message > .inner > .column-reverse{
    flex-direction: column;
  }
  #message > .inner > .column-reverse > *{
    width: 70%;
  }
  #message > .inner > .column-reverse picture{
    margin: auto;
  }
  .message{
    margin: 3rem auto 0;
  }
}
@media screen and (max-width: 640px) {
  #message > .inner > .column-reverse > * {
      width: 80%;
  }
}

/*Gパーツ：画像と概要*/
.g-parts{

}
.g-parts .item{
  width: 47%;
}
.g-parts .item iframe{
  width: 100%;
  height: 100%;
}
.g-parts .data-list{
  width: 47%;
}
@media screen and (max-width: 768px){
  .g-parts .item{
    width: 35%;
  }
  .g-parts .data-list{
    width: 60%;
  }
}
@media screen and (max-width: 640px){
  .g-parts .item{
    width: 100%;
    margin-bottom: 5%;
  }
  .g-parts .item iframe{
    height: 300px;
  }
  .g-parts .data-list{
    width: 100%;
    margin-bottom: 5%;
  }
}


/*Jパーツ：メールフォーム*/
.j-parts{
  background: url(../../assets/img/bg_contact.jpg) no-repeat center center/cover;
  padding-bottom: 8%;
  margin-bottom: 0;
}
.j-parts p{
  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;
  border: 1px solid var(--txt_color);
  box-shadow: 15px 15px 0px 0 rgb(95, 95, 119);
  padding: 5%;
  position: relative;
}

.formstyle label {
  margin-bottom: 1%;
  width: 35%;
}

/*必須*/
.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: 65%;
  background: #FFF;
  border: 1px solid #231815;
  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!important;
  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 {
  width: 20px;
  height: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  content: "\f00c";
  font-size: 12px;
  font-weight: bold;
  position: absolute;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-family: "Font Awesome 5 Free";
  top: 50%;
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  transform: translate(0, -50%);
  left: 0;
  right: 0;
  margin: auto;
}

.formstyle textarea {
  height: 250px;
}

.privacy {
  padding: 20px;
  width: 80%;
  height: 200px;
  margin: 30px auto 10px;
  overflow-y: scroll;
  border: #231815 1px solid;
}
.privacy h2 {
  color: var(--txt_color);
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 2rem;
  border-bottom: 1px dotted #8c8c8c;
  padding-bottom: 2%;
  margin-bottom: 2%;
}
.privacy h3 {
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 2rem;
  margin-bottom: 12px;
  border-left: 5px solid var(--main_color_blue);
  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: 55%;
  font-size: 1.2rem;
  padding: 2%;
  border-radius: 5px;
  margin: 5% auto 0;
  color: #fff;
  background-color: var(--main_color_red);
  border: none;
}

.privacycheck {
  width: 100%!important;
  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: 90%;
    margin: 20px auto;
  }
  .privacy {
    padding: 2%;
    width: 100%;
    height: 200px;
  }
  .privacycheck {
    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;
  }
  .formstyle .submit-btn{
    width: 65%;
  }
}
@media screen and (max-width: 640px) {
  .formstyle label, .formstyle select, .formstyle input, .formstyle textarea {
    width: 100%;
  }
  .formstyle .submit-btn{
    font-size: 1rem;
  }
  .privacy {
    padding: 4%;
  }
  .radiobox {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    margin-bottom: 2%;
  }
}
/*フォーム確認画面*/
#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: 640px) {
  .formstyle .radio-label {
    display: block;
    margin-left: 0;
  }
  .confirmation{
    padding: 15% 0;
  }
}
/*サンクスページ*/
#thanks {
  padding: 10% 0;
}

#thanks .contact-ttl {
  margin: 0 auto 50px auto;
}

.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;
}
@media screen and (max-width: 640px) {
  .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%;
}
.data-list dt{
  border-bottom: 2px solid #333;
}
.data-list dd{
  border-bottom: 2px solid #efefef;
}
.data-list dt{
  width: 25%;
  font-weight: bold;
}
.data-list dd{
  width: calc(100% - 25%);
}
.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: 1% 0;
    width: 100%;
  }
  .data-list dt{
    border-bottom: none;
  }
  .data-list dd{
    border-bottom: 2px solid #efefef;
  }
}



/*TOPへ戻るボタン*/
 .re-btn {
  position: fixed;
  bottom: 2%;
  right: 0;
  z-index: 999;
  -webkit-transition: .4s;
  transition: .4s;
  max-width: 75px;
}
.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: 60px;
    opacity: .8;
  }
  .re-btn img {
    width: 100%
  }
  .re-btn:hover {
    opacity: .7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha(opacity=70)"
  }
}

/*footer*/
footer{
  background: var(--txt_color);
  padding: 3% 0 0;
}
footer .inner{
  border-bottom: 1px solid #fff;
}
footer .footer-logo{
  max-width: 30%;
  margin: 0 auto 1%;
  display: block;
}
footer .footer_name{
  font-style: normal;
  font-size: 25px;
  line-height: 1.8;
  color: #fff;
  text-align: center;
}
footer .footer_name span{
  font-size: 1rem;
  display: block;
}
footer .copy{
  color: #fff;
  font-size: .9rem;
  text-align: center;
  display: block;
  padding: 1% 0;
  background: #313131;
}
@media screen and (max-width: 639px){
  footer{
    padding: 9% 0 0;
  }
  footer .footer-logo{
    max-width: 70%;
  }
  footer .copy{
    margin-top: 2%;
  }
}

/*thanksページ*/
.thanks {
  margin: 4% 0;
}
.thanks p{
  text-align: center;
  margin-top: 5rem;
}

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

/*送信内容確認画面*/
/* 自由に編集下さい */
#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: var(--ttl_color);
  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-color: var(--main_color_red);
  padding: 12px 50px;
  font-size: 1rem;
  height: fit-content;
  text-align: center;
  margin:20px auto;
  color: #fff;
}
.submitbtn,.backpage {
    -webkit-transition: .4s;
    -o-transition: .4s;
    transition: .4s;}
.submitbtn:hover,.backpage:hover{
  opacity: .7; 
}

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



/*　簡易版レスポンシブ用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;
    width: 100%;
    height: auto;
    padding: 5%;
    font-size: 1rem;
}
.backpage{
  font-weight: normal;
  cursor:pointer;
  margin: 20px auto 0px;
}
.send{
    display: flex;
    justify-content: space-around;
    width: 80%;
    margin: 0 auto;
    flex-direction: column;
}
.send>.nav-entry{
  padding: 2rem 2rem;
}
}