@charset "utf-8";

/* ------------------------------
   Browser Reset
------------------------------ */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
	font-family: inherit;
	font-style: inherit;
	font-weight: inherit;
	box-sizing: border-box;
    color: #222;
}

* {
    font-family: 'Noto Sans JP', sans-serif;
    box-sizing: border-box;
    align-items: flex-start;
}

html,body {
	margin: 0;
	padding: 0;
	width:100%;
	height:100%;
	box-sizing: border-box;
}
html{
	font-size: 16px;
}

body {

}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}


/*各スタイル
--------------------------------------*/
a {
	text-decoration: none;

}
a:hover{

	text-decoration: underline;
}
a.anchor{
	padding-top:300px;
	margin-top:-100px
}

/*表示非表示切替
--------------------------------------*/
.pc_disp {
	display: inherit !important;
}
.sp_disp {
	display: none !important;
}


h1 {
	
}
h2 {
	font-size: 3rem;
	line-height: 1.5em;
    text-align: center;
    margin-bottom: 70px;
    font-weight: 600;
    font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;

}
/* スマホ用 -------------------*/
@media screen and (max-width: 768px) {
    h2{
        margin-bottom: 50px;
    }
}
h3{
    font-weight: 400;
    font-style: normal;
}
h4{
	
}
h5{
	
}

img{
	border: none;
    height: auto;
}
p{
    font-size: 1.1rem;
    line-height: 2em;
    word-break: break-word;
    font-weight: 400;
    font-style: normal;
}
li{
    list-style: none;
    font-size: 1.1rem;
    line-height: 2em;
    word-break: break-word;

    font-style: normal;
}
/* スマホ用 -------------------*/
@media screen and (max-width: 768px) {
    .pc_disp {
        display: none !important;
    }
    .sp_disp {
        display: inherit !important;
    }
    * {

        margin: 0;
        padding: 0;
    }
    .inner{
        width: 92%;
        margin: 0 auto;
    }
    h2{
        margin-bottom: 30px;
    }
    h3{
        font-size: 2rem;
        line-height: 1.5em;
    }
    p{
        font-size: 1.8rem;
        line-height: 1.8em;

    }
    dl{
        font-size: 1.5rem;
        line-height: 2.5em;
    }
    dt{
        font-size: 1.5rem;
        line-height: 2.5em;
    }
    dd{
        font-size: 1.5rem;
        line-height: 2.5em;
    }

}


/*画像装飾
--------------------------------------*/
.pic_shadow{
	box-shadow:rgba(31, 33, 36, 0.25) 2px 2px 2px 0px;
	-webkit-box-shadow:rgba(31, 33, 36, 0.25) 2px 2px 2px 0px;
	-moz-box-shadow:rgba(31, 33, 36, 0.25) 2px 2px 2px 0px;
}

/*文字カラー、太さ指定
--------------------------------------*/
.pink {
	background-color: #DF3B73;
    color: #fff;
    padding: 0px 10px;
}
.bold{
	font-weight: bold;
}
.red{
    color: #b31700;
}
.blue{
    color: #1C48AF;
}
.blue2{
    color: #2261AA;
}
.red2{
    color: #E24C4B;
}
.yellow{
    color: #F0F702;
}
.l_red{
    color: #FF0041;
}
.blue3{
    color: #0080D0;
}
.red_3{
    color: #D60404;
}


/*サイズ指定
--------------------------------------*/
.width100 {
	width: 100%;
}
.width20 {
	width: 20%;
}
/*効果（シャドウ）
--------------------------------------*/
.shadow{
    position: relative;
    display: block;
    width: 100%; /* 画像の横幅 */
    margin: 0 auto;
    z-index: 1;
}
.shadow:before{
    content: "";
    position: absolute;
    bottom: 6px;
    left: 18px;
    width: 50%;
    box-shadow: 0 0 4px 8px rgba(0,0,0,0.6);
    z-index: -1;
    transform:rotate(-3deg)
}
.shadow:after{
    content: "";
    position: absolute;
    bottom: 6px;
    right: 18px;
    width: 50%;
    box-shadow: 0 0 4px 8px rgba(0,0,0,0.6);
    z-index: -1;
    transform:rotate(3deg)
}




/*共通
--------------------------------------*/
.mgt_10{
    margin-top: 10px;
}
.mgt_20{
    margin-top: 20px;
}
.mgt_30{
    margin-top: 30px;
}
.mgt_40{
    margin-top: 40px;
}
.mgt_50{
    margin-top: 50px;
}
.mgt_60{
    margin-top: 60px;
}
.mgt_70{
    margin-top: 70px;
}
.mgt_80{
    margin-top: 80px;
}
.mgt_90{
    margin-top: 90px;
}
.mgt_100{
    margin-top: 100px;
}
.mgb_10{
    margin-bottom: 10px;
}
.mgb_20{
    margin-bottom: 20px;
}
.mgb_30{
    margin-bottom: 30px;
}
.mgb_40{
    margin-bottom: 40px;
}
.mgb_50{
    margin-bottom: 50px;
}
.mgb_60{
    margin-bottom: 60px;
}
.mgb_70{
    margin-bottom: 70px;
}
.mgb_80{
    margin-bottom: 80px;
}
.mgb_90{
    margin-bottom: 90px;
}
.mgb_100{
    margin-bottom: 100px;
}
.pdt_10{
    padding-top: 10px;
}
.pdt_20{
    padding-top: 20px;
}
.pdt_30{
    padding-top: 30px;
}
.pdt_40{
    padding-top: 40px;
}
.pdt_50{
    padding-top: 50px;
}
.pdt_60{
    padding-top: 60px;
}
.pdt_70{
    padding-top: 70px;
}
.pdt_80{
    padding-top: 80px;
}
.pdt_90{
    padding-top: 90px;
}
.pdt_100{
    padding-top: 100px;
}
.pdb_10{
    padding-bottom: 10px;
}
.pdb_20{
    padding-bottom: 20px;
}
.pdb_30{
    padding-bottom: 30px;
}
.pdb_40{
    padding-bottom: 40px;
}
.pdb_50{
    padding-bottom: 50px;
}
.pdb_60{
    padding-bottom: 60px;
}
.pdb_70{
    padding-bottom: 70px;
}
.pdb_80{
    padding-bottom: 80px;
}
.pdb_90{
    padding-bottom: 90px;
}
.pdb_100{
    padding-bottom: 100px;
}



.inner{
	width: 1000px;
	margin: 0 auto;
	display: block;
}
/* スマホ用 -------------------*/
@media screen and (max-width: 768px) {
    .inner{
        width: 92%;
    }
}

.sec_base{
    width: 100%;
    padding: 80px 0;
}
/* スマホ用 -------------------*/
@media screen and (max-width: 768px) {
    .sec_base{
    width: 100%;
    padding: 50px 0;
}
}
.small{
    font-size:0.8rem;
    line-height: 20px;
}


#bg{
	
}






body{
    overflow-x: hidden;
    position: relative;
}

.spaceing{
    width: 100%;
    background-color: #fff;
    padding: 50px 0;
    text-align: center;
    color: #D60404;
    font-size: 72px;
}

/*ヘッダー
--------------------------------------*/
header{
    width: 100%;
    height: 85px;
    background-image: url(../images/kv_bg@2x.png);
    background-position: center;
    background-size: cover;
    z-index: 0;
    border-bottom: 1px solid #ddd;
    padding: 10px;
    justify-content: space-between;
    display: flex;
}
header .logo{
    padding-top: 10px;
}
header .logo img{
    width: 455px;
}
.header_cv{
    display: flex;
    justify-content: space-between;
    width: 470px;
}
.header_tel{
    width: 237px;
    margin-right: 20px;
}
.header_tel img{
    width: 100%;
}
/* スマホ用 -------------------*/
@media screen and (max-width: 768px) {
    header{
        width: 100%;
    }
    header .logo{
        width: 60%;
        padding: 10px;
        padding-top: 5px;
    }
    header .logo img{
        width: 100%;
    }
    .header_cv{
        width: 150px;
        padding: 0;
    }
    .header_contact_sp{
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding: 0px;
        height: 65px;
    }
    .header_contact_sp a{
        width: 65px;
        display: block;
        height: 65px;
        background-color: #b31700;
    }
    .header_contact_sp a img{
        width: 100%;
    }
}

.header_form_btn{
    background-color: #b31700;
    display:block;
    line-height:50px;
    position:relative;
    text-decoration:none;
    text-align:center;
    color:#fff;
    z-index:0;
    width: 208px;
    height: 62px;
    padding-top: 5px;
    transition: all .3s;
  }
  .header_form_btn:hover{
    background-color: #700f00;
    text-decoration: none;
    cursor: pointer;
  }
  /* スマホ用 -------------------*/
  @media screen and (max-width: 768px) {
      .icon_tel_sp img{
        width: 30px !important;
        display: block;
        margin: 0 auto;
        padding-top: 10px;
      }
      .icon_mail_sp img{
        width: 40px !important;
        display: block;
        margin: 0 auto;
        padding-top: 17px;
      }
  }




#kv{
    width: 100%;
    background-image: url(../images/kv_bg@2x-80.jpg);
    background-position: top center;
    background-size: cover;
    padding: 0;
    height: 750px;
    position: relative;
    z-index: 0;
}
#kv .inner{
    position: relative;
    z-index: 0;
    height: 800px;
    display: block;
}
.kv_p_01{
    padding: 20px 0;
}
#kv h2{
    width: 528px;
    margin-bottom: 20px;
}
#kv h2 img{
    width: 528px;
}
.kv_sub_copy{
    width: 500px;
    padding-left: 5px;
    margin-bottom: 50px;
}
.kv_cv{
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    width: 610px;
}
.kv_cv_btn{
    width: 290px;
    padding: 20px;
    text-align: center;
    font-size: 1.2rem;
    position: relative;
    transition: all .3s;
}
.kv_cv_01{
    background-color: #b31700;
    color: #fff;
}
.kv_cv_02{
    background-color:#fff;
    color: #b31700;
    border: 1px solid #b31700;
}
.kv_cv_btn:after{
    content: '';
    position: absolute;
    width: 10px;
    height: 20px;
    background-size: 10px 20px;
    background-repeat: no-repeat;
    right: 25px;
    top:27px;
    transition: all .3s;
}
.kv_cv_01:after{
    background-image: url(../images/cta_arrow_white@2x.png);
}
.kv_cv_02:after{
    background-image: url(../images/cta_arrow_red@2x.png);
}
.kv_cv_btn:hover:after{
    right: 15px;
}
.kv_cv_btn:hover{
    text-decoration: none;
}
/* スマホ用 -------------------*/
@media screen and (max-width: 768px) {
    #kv_sp{
        width: 100%;
    }
    #kv_sp img{
        width: 100%;
    }
    .kv_cv_sp{
        height: auto;
        width: 100%;
        padding: 10px;

    }
    .kv_cv_sp .kv_cv_btn{
        width: 100%;
        display: block;
        margin-bottom: 10px;
        padding: 30px 0;
        font-size: 1.5rem;
    }
}




.cv{
    background-image: url(../images/cv_bg@2x-80.jpg);
    background-position: center;
    background-size: cover;
    padding: 30px 0;
}
.cv_p_01{
    text-align: center;
    margin-bottom: 40px;
}
.cv h2{
    margin-bottom: 10px;
}
.cv h2 img{
    width: 984px;
}
.cv_ai{
    width: 20rem;
    text-align: center;
    margin: 0 auto;
    padding: 5px;
    margin-bottom: 50px;
    position: relative;
    display: block;
    height: 50px;
}
.cv_ai p{
    color: #b31700;
    font-size: 1.5rem;
    width: 15rem;
    text-align: center;
    margin: 0 auto;
    position: relative;
}
.cv_ai p:before{
    content: '';
    position: absolute;
    background-color: #b31700;
    width: 2px;
    height: 30px;
    background-size: 75px 74px;
    background-repeat: no-repeat;
    left: 0px;
    top:10px;
    transform: rotate(-15deg);
}
.cv_ai p:after{
    content: '';
    position: absolute;
    background-color: #b31700;
    width: 2px;
    height: 30px;
    background-size: 75px 74px;
    background-repeat: no-repeat;
    right: 0px;
    top:10px;
    transform: rotate(15deg);
}
.cv .content{
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding-right: 60px;
}
.cv .content li:nth-child(1){
    width: 279px;
}
.cv .content li:nth-child(2){
    width: 350px;
}
.cv .content li:nth-child(3){
    width: 207px;
}
.cv .content li:nth-child(1) img,
.cv .content li:nth-child(3) img{
    width: 100%;
    display: block;
}
.cv .content li:nth-child(3) img{
    margin-top: -30px;
}
.cv .content li a{
    display: block;
    width: 100%;
    margin-bottom: 20px;
}
.cv .content li a.kv_ct_btn{
    width: 100%;
    display: block;
}
.cv_under{
    background-color: #e2d6c7;
    padding: 10px 0 5px;
}
.cv_under img{
    width: 617px;
    margin: 0 auto;
    display: block;
}
/* スマホ用 -------------------*/
@media screen and (max-width: 768px) {
    .cv_sp{
        width: 100%;
    }
    .cv_sp img{
        width: 100%;
    }
    .cv_sp_btns{
        width: 100%;
        padding: 20px;
    }
    .cv_btn_sp{
        width: 100%;
        padding: 30px;
        text-align: center;
        font-size: 1.5rem;
        position: relative;
        display: block;
    }
    .cv_btn_sp_01{
        background-color: #b31700;
        color: #fff;
        margin-bottom: 10px;
    }
    .cv_btn_sp_02{
        background-color:#fff;
        color: #b31700;
        border: 1px solid #b31700;
    }
    .cv_btn_sp:after{
        content: '';
        position: absolute;
        width: 10px;
        height: 20px;
        background-size: 10px 20px;
        background-repeat: no-repeat;
        right: 25px;
        top:27px;
        transition: all .3s;
    }
    .cv_btn_sp_01:after{
        background-image: url(../images/cta_arrow_white@2x.png);
    }
    .cv_btn_sp_02:after{
        background-image: url(../images/cta_arrow_red@2x.png);
    }
    .cv_under img{
        width: 90%;
    }
}





#main_biz{
    background-image: url(../images/main_biz_bg@2x-80.jpg);
    background-position: center;
    background-size: cover;
}
#main_biz h2 img{
    width: 681px;
}
#main_biz .p_01{
    margin-bottom: 50px;
}
#main_biz .list_01{
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin-bottom: 50px;
}
#main_biz .list_01 li{
    width: 320px;
    background-color: #fff;
    /* box-shadow */
    box-shadow: 0px 0px 10px -6px rgba(0,0,0,0.6);
}
#main_biz .list_01 li h3{
    width: 100%;
}
#main_biz .list_01 li h3 img{
    width: 100%;
}
#main_biz .list_01 li p{
    padding: 20px;
}
#main_biz .list_02 li{
    background-color: #fff;
    /* box-shadow */
    box-shadow: 0px 0px 10px -6px rgba(0,0,0,0.6);
    padding: 20px 0;
    margin-bottom: 30px;
}
#main_biz .list_02 li h3{
  position: relative;
  padding: 10px 42px 10px 20px;
  background: #012543;
  font-size: 20px;
  color: white;
  margin-right: -33px;
  line-height: 1.3;
  z-index: 2;
  width: 600px;
  font-size: 1.6rem;
}
#main_biz .list_02 li h3:before {
  position: absolute;
  content: '';
  right: -2px;
  top: -2px;
  border: none;
  border-right: solid 40px white;
  border-bottom: solid 79px transparent;
  z-index:1;
}
#main_biz .list_02 .p_02{
    color: #b31700;
    font-size: 1.2rem;
    font-weight: bold;
    padding-left: 20px;
    margin-bottom: 10px;
}
#main_biz .list_02 .p_03{
    padding: 20px;
}
/* スマホ用 -------------------*/
@media screen and (max-width: 768px) {
    #main_biz{
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center top;
    }
    #main_biz h2 img{
        width: 100%;
    }
    #main_biz .list_01{
        flex-direction: column;
        width: 90%;
        margin: 0 auto;
    }
    #main_biz .list_01 li{
        width: 100%;
        margin-bottom: 30px;
        background-color: #fff3f3;
        /* box-shadow */
        box-shadow: 0px 0px 10px -6px rgba(0,0,0,0.6);
    }
    #main_biz .list_02 li{
        width: 90%;
        margin: 0 auto 30px;
        background-color: #f8f8f8;
        box-shadow: 0px 0px 10px -6px rgba(0,0,0,0.6);

    }
    #main_biz .list_02 .p_02{
        font-size: 1.5rem;
        line-height: 1.5em;
    }
    #main_biz .list_02 li h3{
        width: 100%;
    }
    #main_biz .list_02 li h3:before{
        right: 0px;
        top: 0px;
        border-right: solid 40px white;
        border-bottom: solid 90px transparent;
    }
}


#rinen{
    background-image: url(../images/rinen_bg@2x-80.jpg);
    background-position: center;
    background-size: cover;
}
#rinen img{
    width: 100%;
}
#ryoiki{
    background-color: #f2f2f2;
}
#ryoiki h2 img{
    width: 540px;
}
#ryoiki .p_01{
    margin-bottom: 30px;
}
#ryoiki .inner > ul > li{
    background-color: #fff;
    padding: 50px;
    margin-bottom: 30px;
}
#ryoiki .inner > ul > li h3 img{
    margin: 0 auto 40px;
    display: block;
}
#ryoiki .inner > ul > li:nth-child(1) h3 img{
    width: 541px;
}
#ryoiki .inner > ul > li:nth-child(2) h3 img{
    width: 650px;
}
#ryoiki .inner > ul > li:nth-child(3) h3 img{
    width: 400px;
}
/* スマホ用 -------------------*/
@media screen and (max-width: 768px) {
    #ryoiki h2 img{
        width: 90%;
    }
    #ryoiki .inner > ul > li:nth-child(1) h3 img{
        width: 100%;
    }
    #ryoiki .inner > ul > li:nth-child(2) h3 img{
        width: 100%;
    }
    #ryoiki .inner > ul > li:nth-child(3) h3 img{
        width: 90%;
    }
}

#ryoiki .inner > ul > li > ul{
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin-bottom: 40px;
}
#ryoiki .inner > ul > li:nth-child(1)  > ul > li{
    background-color: #f4f2ef;
    width: 205px;
}
#ryoiki .inner > ul > li > ul > li h4{
   
}
#ryoiki .inner > ul > li > ul > li h4 img{
    width: 100%;
}
#ryoiki .inner > ul > li > ul > li p{
    padding: 10px 20px 20px;
}
#ryoiki .last_copy{
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
}
#ryoiki .inner > ul > li:nth-child(2) > ul li{
    background-color: #b31700;
    width: 205px;
    padding: 20px;
    color: #fff;
    text-align: center;
} 
#ryoiki .last_copy_L{
    font-size: 1.5rem;
    line-height: 1.5em;
}
/* スマホ用 -------------------*/
@media screen and (max-width: 768px) {
    #ryoiki .inner > ul > li > ul{
        flex-direction: column;
    }
    #ryoiki .inner > ul > li:nth-child(1)  > ul > li{
        width: 100%;
    }
    #ryoiki .inner > ul > li > ul > li h4{
        background-color: #b31700;
    }
    #ryoiki .inner > ul > li > ul > li h4 img{
        width: 70%;
        margin: 0 auto;
        display: block;
    }
    #ryoiki .inner > ul > li:nth-child(1)  > ul > li{
        margin-bottom: 30px;
    }
    #ryoiki .last_copy{
        font-size: 1.8rem;
        text-align: left;
        line-height: 1.6em;
    }
    #ryoiki .inner > ul > li:nth-child(2) > ul li{
        width: 100%;
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
}
#ryoiki .inner > ul > li:nth-child(3) > ul{
    flex-wrap: wrap;
}
#ryoiki .inner > ul > li:nth-child(3) > ul li{
    background-color: #9e9282;
    width: 205px;
    padding: 20px;
    color: #fff;
    text-align: center;
    line-height: 1.5em;
    margin-bottom: 20px;
    padding-top: 30px;
    height: 90px;
} 
#ryoiki .inner > ul > li:nth-child(3) > ul li:nth-child(4){
    padding-top: 20px;
}
#ryoiki .inner > ul > li:nth-child(3){
    padding-bottom: 10px;
}
/* スマホ用 -------------------*/
@media screen and (max-width: 768px) {
    #ryoiki .inner > ul > li:nth-child(3) > ul{
        width: 100%;
    }
    #ryoiki .inner > ul > li:nth-child(3) > ul li{
        width: 100%;
        height: auto;
        font-size: 1.6rem;
    }
}

#change{
    background-color: #f9f9fa;
    background-image: url(../images/change_bg@2x-80.jpg);
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 650px;
}
#change .inner{

}
#change .inner .content{
    width: 50%;
}
#change .inner h2{
    margin-bottom: 30px;
}
#change .inner h2 img{
    width: 676px;
}
/* スマホ用 -------------------*/
@media screen and (max-width: 768px) {
    #change{
        background: none;
        height: auto;
        padding: 0 0 30px;
    }
    #change .inner{
        width: 100%;
    }
    #change .inner .content{
        width: 100%;
    }
    #change h2{
        width: 100%;
    }
    .change_h2_sp{
        width: 100% !important;
    }
    #change p{
        width: 92%;
        margin: 0 auto;
    }
}

#change_2{
    background-color: #f9f9fa;
}
#change_2 .inner> ul{

}
#change_2 .inner> ul > li{
    width: 100%;
    /* box-shadow */
    box-shadow: 0px 0px 10px -6px rgba(0,0,0,0.3);
    padding: 2rem;
    background-color: #fff;
    margin-bottom: 30px;
}
#change_2 .inner> ul > li h3{
    font-size: 2rem;
    border-bottom: 3px solid #b31700;
    padding: 0 0 0.8rem 0;
    margin-bottom: 30px;
}
#change_2 .inner> ul > li > ul{
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}
#change_2 .inner> ul > li > ul > li:nth-child(1){
    width: 16%;
}
#change_2 .inner> ul > li > ul > li:nth-child(1) img{
    width: 100%;
}
#change_2 .inner> ul > li > ul > li:nth-child(2){
    width: 80%;
}
/* スマホ用 -------------------*/
@media screen and (max-width: 768px) {
    #change_2 .inner> ul > li > ul{
        flex-direction: column;
    }
    #change_2 .inner> ul > li > ul > li{
        width: 100%  !important;
        font-size: 1.6rem;
    }
    #change_2 .inner> ul > li > ul > li img{
        width: 40% !important;
        margin: 0 auto  20px !important;
        display: block;
    }
}

#jinzai{
    background-color: #f8f8f8;
    background-image: url(../images/jinzai_bg@2x.png);
    background-position: right top;
    background-size: contain;
    background-repeat: no-repeat;
}
#jinzai h2{
    width: 514px;
    margin-bottom: 50px;
}
#jinzai h2 img{
    width: 100%;
}
#jinzai .inner > ul{
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}
#jinzai p{
    margin-bottom: 30px;
}
/* スマホ用 -------------------*/
@media screen and (max-width: 768px) {
    #jinzai{
        background-size: 80%;
    }
    #jinzai h2{
        width: 80%;
    }
}
#jinzai .inner > ul > li{
    width: 46%;
    background-color: #fff;
    /* box-shadow */
    box-shadow: 0px 0px 10px -6px rgba(0,0,0,0.6);
    padding: 0px 20px 20px 0;
}
#jinzai .inner > ul > li:nth-child(1){
    border-left: 5px solid #b31700;
    border-bottom: 5px solid #b31700;
}
#jinzai .inner > ul > li:nth-child(2){
    border-left: 5px solid #727474;
    border-bottom: 5px solid #727474;
}
#jinzai .inner > ul > li h3 img{
    margin-left: -1px;
}
#jinzai .inner > ul > li:nth-child(1) h3 img{
    width: 273px;
}
#jinzai .inner > ul > li:nth-child(2) h3 img{
    width: 380px;
}
#jinzai .inner > ul > li > ul{
    padding: 20px;
}
#jinzai .inner > ul > li > ul > li{
    position: relative;
    padding-left: 40px;
    margin-bottom: 10px;
}
/* スマホ用 -------------------*/
@media screen and (max-width: 768px) {
    #jinzai .inner > ul{
        flex-direction: column;
    }
    #jinzai .inner > ul > li{
        width: 100%;
        margin-bottom: 30px;
    }
    #jinzai .inner > ul > li:nth-child(1) h3 img{
        width: 50%;
    }
    #jinzai .inner > ul > li:nth-child(2) h3 img{
        width: 70%;
    }
    #jinzai .inner > ul > li > ul > li{
        font-size: 1.6rem;
        line-height: 1.6em;
    }
}
#jinzai .inner > ul > li:nth-child(1)  > ul > li:before{
    content: '';
    position: absolute;
    background-image: url(../images/jinzai_check@2x.png);
    width: 30px;
    height: 30px;
    background-size: 30px 30px;
    background-repeat: no-repeat;
    left: 0;
    top:5px;
}
#jinzai .inner > ul > li:nth-child(2)  > ul > li:before{
    content: '';
    position: absolute;
    background-image: url(../images/jinzai_batsu@2x.png);
    width: 25px;
    height: 25px;
    background-size: 25px 25px;
    background-repeat: no-repeat;
    left: 0;
    top:5px;
}
/* スマホ用 -------------------*/
@media screen and (max-width: 768px) {
    #jinzai .inner > ul > li:nth-child(1)  > ul > li:before{
        top:7px;
    }
    #jinzai .inner > ul > li:nth-child(2)  > ul > li:before{
        top:7px;
    }
}

#kibishi{
    background-image: url(../images/kibishi_bg@2x.png);
    background-position: center top;
    background-size: contain;
    background-repeat: no-repeat;
}
#kibishi h2{
    width: 518px;
}
#kibishi h2 img{
    width: 100%;
}
.kibishi_img{
    width: 100%;
}
/* スマホ用 -------------------*/
@media screen and (max-width: 768px) {
    #kibishi{
        background: none;
        padding-top: 0;
    }
    #kibishi .inner{
        width: 100%;
    }
    #kibishi h2{
        width: 100%;
        margin-bottom: 30px;
    }
    .kibishi_img_sp{
        width: 80%;
        margin: 0 auto;
    }
}
#feature{
    background-image: url(../images/feature_bg@2x-80.jpg);
    background-position: center;
    background-size: cover;
}
#feature h2{
    
}
#feature h2 img{
    width: 480px;
    margin: 0 auto;
    display: block;
}
#feature .p_01{
    margin-bottom: 30px;
}
#feature ul{
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}
#feature ul li{
    width: 30%;
    background-color: #fff;
    /* box-shadow */
    box-shadow: 0px 0px 10px -6px rgba(0,0,0,0.2);
}
/* スマホ用 -------------------*/
@media screen and (max-width: 768px) {
    #feature{
        background-position: left center;
    }
    #feature ul{
        flex-direction: column;
    }
    #feature ul li{
        width: 100%;
        margin-bottom: 30px;
    }
}
#feature ul li h3{
    background-color: #b31700;
    color: #fff;
    text-align: center;
    padding: 20px;
}
#feature ul li img{
    width: 100%;
}
#feature ul li p{
    padding: 20px;
}
#kankyo{
    background-color: #f8f8f8;
    background-image: url(../images/kankyo_bg@2x.png);
    background-position: right top;
    background-size: contain;
    background-repeat: no-repeat;
}
#kankyo h2{
    width: 294px;
}
#kankyo h2 img{
    width: 100%;
}
#kankyo .p_01{
    width: 540px;
    margin-bottom: 30px;
}
#kankyo  ul{
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
}
#kankyo  ul li{
    width: 47%;
    background-color: #fff;
    padding: 30px;
    /* box-shadow */
    box-shadow: 0px 0px 10px -6px rgba(0,0,0,0.3);
    margin-bottom: 50px;
}
#kankyo  ul li img{
    width: 116px;
    margin: 0 auto;
    display: block;
}
/* スマホ用 -------------------*/
@media screen and (max-width: 768px) {
    #kankyo  ul li{
        width: 100%;
    }
}
#kankyo  ul li h3{
    text-align: center;
    font-weight: bold;
    position: relative;
    margin-bottom: 50px;
}
#kankyo  ul li h3:after{
    content: '';
    position: absolute;
    width: 75px;
    height: 3px;
    background-size: 75px 3px;
    background-repeat: no-repeat;
    left: 50%;
    bottom:-20px;
    margin-left: -38px;
    background-color: #b31700;
    color: #000;
}

#philo h2 img{
    width: 720px;
}
#philo p{
    margin-bottom: 50px;
}
#philo ul{
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    margin-bottom: 50px;
}
#philo ul li{
    width: 32%;
}
#philo ul li img{
    width: 100%;
}
.philo_last_copy{
    width: 682px;
    margin: 0 auto;
    display: block;
}
/* スマホ用 -------------------*/
@media screen and (max-width: 768px) {
    #philo h2 img{
        width: 100%;
    }
    #philo ul{
        width: 100%;
        margin: 0 auto;
    }
    #philo ul li{
        width: 48%;
        margin-bottom: 20px;
    }
    .philo_last_copy_sp{
        width: 90%;
        margin: 0 auto;
        display: block;
    }
}
#hani{
    background-color: #f8f8f8;
    background-image: url(../images/hani_bg@2x.png);
    background-position: center top;
    background-size: contain;
    background-repeat: no-repeat;
}
#hani h2{
    width: 600px;
}
#hani h2 img{
    width: 100%;
}
#hani .p_01{
    width: 536px;
    margin-bottom: 50px;
}
#hani ul{
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
}
/* スマホ用 -------------------*/
@media screen and (max-width: 768px) {
    #hani{
        background: none;
        background-color: #f8f8f8;
        width: 100%;
    }   
    #hani .inner{
        width: 100%;
    }
    #hani h2{
        width: 100%;
    }
    #hani h2 img{
        width: 100%;
    }
    #hani .p_01{
        width: 90%;
        margin: 0 auto 30px;
    }
    #hani ul{
        flex-direction: column;
        width: 90%;
        margin: 0 auto;
    }
}
#hani ul li{
    width: 31%;
    background-color: #fff;
    padding: 20px;
    margin-bottom: 30px;
}
#hani ul li img{
    width: 95px;
    margin: 0 auto 20px;
    display: block;
}
#hani ul li h3{
    font-size: 1.5rem;
    font-weight: bold;
    position: relative;
    margin-bottom: 30px;
}
#hani ul li h3:after{
    content: '';
    position: absolute;
    width: 75px;
    height: 3px;
    background-size: 75px 3px;
    background-repeat: no-repeat;
    left: 0;
    bottom:-20px;
    background-color: #b31700;
    color: #000;
}
/* スマホ用 -------------------*/
@media screen and (max-width: 768px) {
    #hani ul li{
        width: 100%;
    }
    #hani ul li h3{
        font-size: 2rem;
    }
}
#partner{
    background-image: url(../images/partner_bg@2x-80.jpg);
    background-position: center;
    background-size: cover;
}
#partner h2 img{
    width: 720px;
}
#partner p{
    margin-bottom: 50px;
    text-align: center;
}
#partner .partner_flow{
    width: 100%;
}
/* スマホ用 -------------------*/
@media screen and (max-width: 768px) {
    #partner h2 img{
        width: 90%;
        margin: 0 auto;
    }
    #partner p{
        text-align: left;
    }
    .partner_flow_sp{
        width: 100%;
    }
}
#result{
    background-image: url(../images/result_bg@2x-80.jpg);
    background-position: center;
    background-size: cover;
}
#result h2 img{
    width: 510px;
}
#result .inner > ul{
    display: flex;
    justify-content: space-between;
}
#result .inner > ul > li:nth-child(1){
    width: 260px;
    background-color: #fff;
    /* box-shadow */
    box-shadow: 0px 0px 10px -6px rgba(0,0,0,0.4);
    padding: 10px;
}
#result .inner > ul > li:nth-child(2){
    width: 700px;
}
.result_pic{
    width: 100%;
    margin-bottom: 10px;
}
.result_name{
    width: 70%;
    margin: 0 auto 20px;
    display: block;
}
#result .p_01{
    font-size: 1rem;
    text-align: center;
    line-height: 1.5em;
    margin-bottom: 20px;
}
#result .p_02{
    font-size: 0.8rem;
    line-height: 1.5em;
}
/* スマホ用 -------------------*/
@media screen and (max-width: 768px) {
    #result h2 img{
        width: 80%;
    }
    #result .inner > ul{
        flex-direction: column;
    }
    #result .inner > ul > li:nth-child(1){
        order:2;
        padding: 20px;
    }
    #result .inner > ul > li:nth-child(2){
        order:1;
    }
    #result .inner > ul > li:nth-child(1),
    #result .inner > ul > li:nth-child(2){
        width: 100%;
    }
    .result_pic{
        width: 60%;
        margin: 0 auto 20px;
        display: block;
    }
    .result_name{
        width: 60%;
    }
    #result .p_01{
        font-size: 1.7rem;
    }
    #result .p_02{
        font-size: 1.5rem;
        padding: 10px;
    }
}
#result h3{
    font-size: 1.5rem;
    border-bottom: 2px solid #d5d7db;
    padding-bottom: 30px;
    margin-bottom: 30px;
}
#result .p_03{
    margin-bottom: 30px;
}
#result .p_04{
    text-align: right;
    font-size: 1.3rem;
    line-height: 1.8em;
    margin-bottom: 10px;
}
#result .syozoku{
    width: 100%;
    padding-left:82%;
}
#result .p_05{
    text-align: center;
    font-size: 0.8rem;
    line-height: 1.8em;
    border: 1px solid #000;
    width: 8rem;
}
/* スマホ用 -------------------*/
@media screen and (max-width: 768px) {
    #result h3{
        font-size: 2rem;
    }
    #result .p_04{
        font-size: 1.5rem;
        text-align: left;
    }
    #result .syozoku{
        padding: 0;
        
    }
    #result .p_05{
        margin-bottom: 30px;
        font-size: 1rem;
        width: 10rem;
    }
}

/* カルーセル全体を囲む外枠（画面幅いっぱいに広げる） */
.carousel-container {
  width: 100%;
  overflow: hidden; /* 画面からはみ出た写真を隠す */
}

/* 横一列に写真を並べて動かすトラック */
.carousel-track {
  display: flex;
  width: max-content; /* 中身（写真14枚分）の合計幅に自動で広げる */
  animation: loop-scroll 40s linear infinite; /* 40秒かけて等速で無限ループ */
}

/* 各写真のブロック */
.carousel-item {
  flex-shrink: 0; /* 写真が潰れるのを防ぐ */
  padding: 0;     /* 隙間を0にする */
  margin: 0;      /* 隙間を0にする */
}

/* 写真自体のサイズ設定 */
.carousel-item img {
  width: 350px;      /* 写真1枚あたりの横幅（お好みで調整してください） */
  height: 250px;     /* 写真1枚あたりの高さ */
  object-fit: cover; /* 画像の比率を保ったまま綺麗にトリミング */
  display: block;    /* 画像の下に生まれる謎の微小な隙間を解消 */
}

/* 左へずっと流れるアニメーションの設定 */
@keyframes loop-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    /* 1セット目（全体の半分）が左にハケきった瞬間に位置を0に戻すことで、無限に繋がって見えます */
    transform: translateX(-50%);
  }
}

#youkou h2 img{
    width: 240px;
}
#youkou .inner > dl{
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
#youkou .inner > dl > dt{
    width: 20%;
    font-size: 1.1rem;
    font-weight: bold;
}
#youkou .inner > dl > dd{
    width: 80%;
    font-size: 1.1rem;
}
#youkou .p_01{
    margin-bottom: 10px;
}
#youkou .inner > dl > dd > dl{
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: wrap;
    margin-bottom: 30px;
}
#youkou .inner > dl > dd > dl > dt{
    width: 25%;
    
}
#youkou .inner > dl > dd > dl > dt p{
    border: 1px solid #000;
    text-align: center;
    font-size: 0.9rem;
}
#youkou .inner > dl > dd > dl > dd{
    width: 73%;
}
#youkou .last_copy{
    width: 100%;
    border: 1px solid #000;
    padding: 20px;
    font-size: 1rem;
}
/* スマホ用 -------------------*/
@media screen and (max-width: 768px) {
    #youkou .inner > dl{
        flex-direction: column;
        margin-bottom: 50px;
    }
    #youkou .inner > dl > dt{
        width: 100%;
        font-size:2rem;
        border-left: 8px solid #b31700;
        line-height: 2.3rem;
        padding-left: 20px;
        margin-bottom: 20px;
    }
    #youkou .inner > dl > dd{
        width: 100%;
        font-size:2rem;
        line-height: 1.8em;q
    }
    #youkou .inner > dl > dd > dl{
        flex-direction: column;
    }
    #youkou .inner > dl > dd > dl > dt{
        width: 100%;
    }
    #youkou .inner > dl > dd > dl > dt p{
        font-size: 1.6rem;
        margin-bottom: 10px;
    }
    #youkou .inner > dl > dd > dl > dd{
        line-height: 1.8em;
        width: 100%;
    }
    #youkou .last_copy{
        font-size: 1.5rem;
    }
}
#flow{
    background-image: url(../images/flow_bg@2x-80.jpg);
    background-position: center;
    background-size: cover;
}
#flow h2 img{
    width: 300px;
}
.flow_img{
    width: 100%;
}
/* スマホ用 -------------------*/
@media screen and (max-width: 768px) {
    #flow h2 img{
        width: 50%;
    }
    .flow_img_sp{
        width: 100%;
    }
}





#form{
    padding-bottom: 30px;
}
#form h2{
    
}
#form h2 img{
    width: 600px;
}
#form .p_01{
    text-align: center;
    margin-bottom: 50px;
}
#form form{
    width: 800px;
    margin: 0 auto;
}
/* スマホ用 -------------------*/
@media screen and (max-width: 768px) {
    #form form{
        width: 100%;
    }
    #form .p_01{
        text-align: left;
    }
}
#form form .form_outer{
    width: 100%;
}
#form dl{
    margin-bottom: 40px;
}
#form  dt{
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}
#form .must{
    position: relative;
}
#form .must:after{
    content: '必須';
    position: absolute;
    background-color: #a28255;
    color: #fff;
    padding: 4px;
    font-size: 12px;
    line-height: 12px;
    background-repeat: no-repeat;
    margin-left: 10px;
    font-weight: normal;
    margin-top: 3px;
}
.input_radio_2nd{
    margin-left: 20px;
}
.form_radio input{
    margin-right: 5px;
}
#form a{
    color: #005baa;
    text-decoration: underline;
}
/* スマホ用 -------------------*/
@media screen and (max-width: 768px) {
    #form h2 img{
        width: 80%;
    }
    #form  dt{
        font-size: 2rem;
        width: 100%;

    }
    #form .must:after{
        padding: 10px;
        font-size: 18px;
        line-height: 20px;
        background-repeat: no-repeat;
        margin-left: 10px;
        font-weight: normal;
        margin-top: 1px;
        top:22px;
    }
    .input_radio_2nd{
        margin-left: 0px;
    }
}
#form .input_01{
    padding: 20px;
    width: 100%;
}
#form dl .form_checkbox{
    margin-left: 20px;
    margin-right: 10px;
    margin-bottom: 10px;
}
#form textarea{
    padding: 20px;
    width: 100%;
}
#form .form_outer p.p_02{
    text-align: center;
    display: block;
    margin-bottom: 30px;
}
#form #submit{
    background: #b31700;
    width: 300px;
    padding: 30px;
    color: #fff;
    margin: 0 auto 80px;
    display: block;
    border: none;
    font-size: 1.3rem;
    transition: all .3s;
}
#form #submit:hover{
    background: #700f00;
}
#form .p_03{
    font-size: 1rem;
    margin-bottom: 50px;
    text-align: center;
}

/* スマホ用 -------------------*/
@media screen and (max-width: 768px) {
    #form #submit{
        font-size: 24px;
    }  
    #form .p_03{
        font-size: 1.5rem;
        text-align: left;
    }
    #form .p_02{
        text-align: left !important;
    }
    #form #submit{
        width: 100%;
    }
} 



footer{
    width: 100%;
    padding: 20px 0;
}


footer address{
    text-align: center;
    font-size: 14px;
}

.fix_cta{
    position: fixed;
    width: 80px;
    bottom: 10px;
    right: 10px;
}
.fix_cta img{
    width: 100%;
}




/* サンクスページ -------------------*/
.thanks_bg{
    padding: 50px 0;
}
{
    width: 92%;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
.thanks_logo{
    width: 300px;
    margin: 0 auto 50px;
    display: block;
}
.thanks_p{
    text-align: center;
}
#thanks_msg p{
    text-align: center;
}
#thanks_msg a{
    background: linear-gradient(90deg, #1E48B3 0%, #1099EE 100%);
    width: 300px;
    display: block;
    margin: 80px auto 0;
    padding: 20px;
    text-align: center;
    color: #fff;
    border-radius: 50px;
    transition: all .3s;
}
#thanks_msg a:hover{
    margin-top: 75px;
    text-decoration: none;
}
