@import url(./common_import.css);
/*************************************************************************/
/*****************************  共通  ************************************/
/*************************************************************************/

*{
    list-style: none;
    text-decoration: none;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    line-height: 100%;
}

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

.container_1440{
    max-width: 1440px;
    width: 89%;
    margin: auto;
}

.container_1450{
    max-width: 1450px;
    width: 89%;
    margin: auto;
}

.sp{
    display: none;
}

.tab{
    display: none;
}

.tab_only{
    display: none;
}

label, input[type='checkbox'] {
    cursor: pointer;
}

body.rock{
    overflow: hidden;
}

@media screen and (min-width:660px) and (max-width:1300px){
    .tab_only{
        display: block;
    }
}

@media screen and (max-width:1200px){
    .container_1440 ,.container_1450{
        width: 94.8%;
    }
    .tab{
        display: block;
    }
}
@media screen and (max-width:767px){
    .container_1440 ,.container_1450{
        width: calc(100% - 30px);
    }
    .sp{
        display: block;
    }
}


/*************************************************************************/
/***************************  共通ここまで  *******************************/
/*************************************************************************/


/*************************************************************************/
/*****************************  header  **********************************/
/*************************************************************************/


header{
    background-color:var(--main-color);
    height: 90px;
    display: flex;
    justify-content:space-between;
    align-content: center;
    flex-wrap: wrap;
    z-index: 10;
}

header *{
    font-family: "Noto Sans JP", sans-serif;
}

header .logo{
    width: 230px;
}

header .gnavi{
    height: 100%;
}

header .gnavi > ul{
    display: flex;
    align-items: center;
    gap: 60px;
    height: 100%;
}

header .gnavi > ul > li{
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

header .lnavi{
    transition: .5s;
    position: absolute;
    top: 65px;
    left: 0;
    right: 0;
    margin: auto;
    width: 200px;
    transform: scaleY(0) translateX(-35px);
    transform-origin: center top; 
    transition: transform .3s;
    z-index: 10;
}

header .lnavi > ul::before{
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  border-bottom: 10px solid #d9e7f5;
  border-top: 0;
  content: '';
  top: -10px;
  left: 0;
  right: 0;
  margin: auto;
  position: absolute;
}

header .lnavi > ul li{
    background-color: #D9E7F5;
    text-align: center;
    width: 100%;
}

header .lnavi > ul li:not(:last-child){
    border-bottom: solid 1px var(--main-color);
}

header .lnavi > ul li a{
    font-size: 16px;
    font-weight: 400;
    color: var(--main-color);
    display: block;
    padding: 12px 0;
    width: 100%;
}


header .gnavi > ul a{
    color: #fff;
    font-size: 18px;
    line-height: 170%;
    font-weight: 400;
}

.header_inner{
    display: flex;
    align-items: center;
    gap: 60px;
    margin-right: 243px;
}

header .contact a{
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 24px;
    height: 60px;
    font-size: 18px;
    background-color: var(--second-color);
}

header .web_kobetsu{
    position: fixed;
    right: 30px;
    background-color: var(--main-color);
    z-index: 10;
}

header .web_kobetsu a{
    padding: 19px 20px;
    border: solid 1px var(--second-color);
    font-size: 18px;
    color: #fff;
    font-weight: bold;
    display: block;
    position: relative;
    padding-left: 51px;
}

header .web_kobetsu a span{
    position: relative;
}

header .web_kobetsu a span::before{
    background-image: url(../img/icon/web_icon.svg);
    background-position: center;
    background-size: 22px 21px;
    background-repeat: no-repeat;
    width: 22px;
    height: 21px;
    content: '';
    top: 0;
    bottom: 0;
    left: -30px;
    margin: auto;
    position: absolute;
}

.hamburger {
    position: relative;
    height: 20px;
    width: 28px;
    display: inline-block;
    box-sizing: border-box;
    display: none;
}

.hamburger div {
    position: absolute;
    left: 0;
    height: 1px;
    width: 28px;
    background-color: #fff;
    border-radius: 2px;
    display: inline-block;
    box-sizing: border-box;
    transition: all .5s;
  }
  .hamburger div:nth-of-type(1) {
    bottom: 20px;
  }
  .hamburger div:nth-of-type(2) {
    bottom: 10px;
  }
  .hamburger div:nth-of-type(3) {
    bottom: 0;
  }
  .hamburger.active div:nth-of-type(1) {
    -webkit-transform: translateY(10px) rotate(-45deg);
    transform: translateY(10px) rotate(-45deg);
  }
  .hamburger.active div:nth-of-type(2) {
    opacity: 0;
  }
  .hamburger.active div:nth-of-type(3) {
    -webkit-transform: translateY(-10px) rotate(45deg);
    transform: translateY(-10px) rotate(45deg);
  }


@media screen and (max-width:1400px){
    .header_inner{
        margin-right: 17.357142857142858vw;
    }
    header .contact a,header .web_kobetsu a,header .gnavi > ul a{
        font-size: 16px;
    }
    header .web_kobetsu a{
        padding: 22px 10px;
        padding-left: 40px;
    }
    .header_inner,header .gnavi > ul{
        gap: 3.125vw;
    }
}


@media screen and (max-width:1110px){
    .header_inner {
        margin-right: 180px;
        width: calc(100% - 425px);
        justify-content: end;
    }
    .header_inner, header .gnavi > ul{
        gap: 20px;
    }
    header .contact a, header .web_kobetsu a{
        font-size: 14px;
    }
    header .gnavi > ul a{
        font-size: 15px;
        line-height: 100%;
    }
    header .gnavi > ul{
        gap: 13px 15px;
        height: auto;
        flex-wrap: wrap;
    }
    header .gnavi > ul li{
        height: auto;
    }
    header .gnavi{
        height: auto;
    }
    header .contact a{
        width: 80px;
        padding: 0;
    }
}

@media screen and (min-width:767px){
    header .gnavi > ul > li:hover .lnavi{
        transform: scaleY(1) translateX(-35px);
    }
    header .gnavi > ul > li .lnavi > ul > li:hover a{
        background-color: var(--main-color);
        color: #fff;
    }
}

/*以下スマホ*/
@media screen and (max-width:767px){
    header{
        height: 60px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 100;
    }
    .hamburger{
        display: block;
    }
    header .logo{
        width: 180px;
    }
    header .web_kobetsu{
        bottom: -100%;
        top: auto;
        left: 0;
        right: 0;
        z-index: 10;
        will-change: transform;
        transition: .5s;
    }
    header .web_kobetsu.visible{
        bottom: 0;
    }
    header .web_kobetsu a{
        font-size: 18px;
        text-align: center;
    }
    header .gnavi{
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #fff;
        z-index: 150;
        transform: translateX(-100%);
        transition: .5s;
    }
    header .gnavi.active{
        transform: translateX(0);
        overflow-y: auto;
    }
    header .contact a{
        width: 84px;
        font-size: 16px;
        height: 30px;
    }
    .header_inner{
        margin-right: 60px;
    }
    header .gnavi > ul{
        width: 68%;
        margin: auto;
        flex-direction: column;
        align-items: start;
        margin-top: 30px;
        gap: 0;
    }
    header .gnavi > ul li a{
        color: var(--main-color);
        display: block;
        padding: 0;
        padding-bottom: 20px;
        width: 100%;
        font-size: 20px;
        position: relative;
    }

    header .gnavi > ul > li > a:first-child{
        padding-top: 20px;
    }
    header .gnavi > ul > li{
        text-align: left;
        width: 100%;
        border-top: solid 1px #b8b8b8;
        flex-direction: column;
    }
    header .lnavi{
        position: relative;
        width: 100%;
        transform: scaleY(1) translateX(0);
        display: grid; 
        grid-template-rows: 0fr;
        transition: 250ms grid-template-rows ease;
        top: 0;
    }
    header .lnavi > ul{
        overflow: hidden;
    }
    header .lnavi > ul li a{
        font-size: 18px;
        font-weight: 300;
    }
    header .lnavi.is-active{
        grid-template-rows: 1fr;
    }
    header .lnavi > ul::before{
        display: none;
    }
    header .lnavi > ul li{
        background: none;
        text-align: left;
    }
    header .lnavi > ul li:not(:last-child){
        border-bottom: none;
    }
    header .gnavi > ul li a::before {
        content: '';
        width: 10px;
        height: 10px;
        border-top: solid 0.5px #5070e3;
        border-right: solid 0.5px #5070e3;
        position: absolute;
        transform: rotate(45deg);
        right: 10px;
        top: 0;
        bottom: 0;
        margin: auto;
    }
    header .gnavi ul li.lnavi_container > a::before{
        display: none;
    }
    header .gnavi .contact a{
        width: 68%;
        margin: auto;
        height: 50px;
    }
}


@media screen and (max-height:670px){
    header .gnavi > ul li a{
        font-size: 16px;
    }
}

/*************************************************************************/
/***************************  headerここまで  *****************************/
/*************************************************************************/


/*************************************************************************/
/*****************************  footer  **********************************/
/*************************************************************************/

    footer .elementor-782 .elementor-element.elementor-element-0b56cf8{
        width: 100%!important;
        max-width: 100%!important;
    }
    footer .elementor-section.elementor-section-boxed > .elementor-container{
        max-width: none;
    }
    footer .elementor-column-gap-default>.elementor-column>.elementor-element-populated{
        padding: 0;
    }

    .footer_notice{
        display: flex;
        justify-content: center;
    }

  .footer_notice p{
    color: #707070;
    font-size: 16px;
    padding-top: 80px;
    max-width: 1400px;
    margin: auto;
  }
  .footer_notice p a {
    color: #f5f5f5;
  }
  .footer_contents1 {
    background-color: #002349;
    padding: 50px 45px 70px 45px;
  }
  .footer_contents1_inner {
    display: flex;
    margin-right: auto;
    margin-left: auto;
    position: relative;
    flex-wrap: wrap;
    align-items: baseline;
  }
  .footer_contents1_boxs{
    gap: 2em;
    padding-left: 1%;
  }
  .footer_contents1_boxs,.footer_contents1_box{
    width: 84%;
    display: flex;
    margin-right: auto;
    margin-left: auto;
    position: relative;
    flex-wrap: wrap;
    margin: 0;
    align-items: baseline;
  }

  .footer_contents1_boxs .footer_contents1_box1_inner{
    width: 50%;
  }

  .footer_contents1_boxs .footer_contents1_box2_inner{
    width: 100%;
  }

  .footer_contents1_logo{
    width: 16%;
  }
  .footer_contents1_logo a{
    display: inline-block;
  }

  .footer_contents1_logo img {
    width: 100%;
    max-width: 230px;
    }

  .footer_contents1_boxs p{
    color: #848484;
    font-family: "Roboto", Sans-serif;
    font-size: 16px;
    font-weight: 100;
    margin-bottom: 25px;
  }

  .footer_contents1_boxs p a{
    color: #FFFFFF;
  }

  .footer_contents1_boxs h2{
    color: #FFFFFF;
    font-family: "Roboto", Sans-serif;
    font-size: 20px;
    font-weight: 100;
    line-height: 1.25em;
    margin: 0px 0px 20px 0px;
    padding: 0px 0px 10px 0px;
    border-style: solid;
    border-width: 0px 0px 1px 0px;
    border-color: #707070;
    display: inline-block;
    width: 100%;
  }

  .footer_contents1_boxs h3{
    color: #FFFFFF;
    font-family: "Roboto", Sans-serif;
    font-size: 18px;
    font-weight: 100;
    margin: 0px 0px 25px 0px;
    padding: 0px 0px 0px 0px;
    border-style: solid;
    border-width: 0px 0px 0px 0px;
    border-color: #707070;
  }

  .footer_contents1_boxs h3 a{
    color: #FFFFFF;
  }

  .footer_contents1_boxs .footer_contents1_box:nth-child(1){
    width: 17.332%;
  }

  .footer_contents1_boxs .footer_contents1_box:nth-child(2){
    width: 48%;
  }

  .footer_contents1_boxs .footer_contents1_box:nth-child(2) .footer_contents1_box1_inner:nth-child(2){
    width: 46%;
  }

  .footer_contents1_boxs .footer_contents1_box:nth-child(2) .footer_contents1_box1_inner:nth-child(3){
    width: 26%;
}   

.footer_contents1_boxs .footer_contents1_box:nth-child(2) .footer_contents1_box1_inner:nth-child(4){
        width: 27.333%;
}
  .footer_contents1_boxs .footer_contents1_box:nth-child(3){
    width: 17.332%;
  }

  .footer_contents1_boxs .footer_contents1_box:nth-child(3) .footer_contents1_box1_inner{
    width: 100%;
  }

  .footer_contents1_boxs .footer_contents1_box:nth-child(3) .footer_contents1_box1_inner:nth-child(2){
        margin-bottom: 30px;
}

  @media screen and (max-width:1920px){
    .footer_contents1_boxs .footer_contents1_box:nth-child(1) {
        width: calc(20% - 20px);
        min-width: 185px;
    }
    .footer_contents1_boxs .footer_contents1_box:nth-child(2) {
        width: calc(58% - 20px);
    }
    .footer_contents1_boxs .footer_contents1_box:nth-child(3) {
        width: calc(42% - 20px);
    }
    .footer_contents1_boxs .footer_contents1_box:nth-child(3) .footer_contents1_box1_inner {
        width: 50%;
    }
    .footer_contents1_boxs .footer_contents1_box:nth-child(3) .footer_contents1_box1_inner:nth-child(2){
        margin-bottom: 0;
    }
  }


  @media screen and (max-width:768px){
    .footer_contents1{
        padding-top: 25px;
        padding-bottom: 50px;
    }
    .footer_contents1_boxs{
        gap: 20px 0;
        width: 100%;
        padding-left: 0;
    }
    .footer_contents1_boxs .footer_contents1_box:nth-child(1) {
        width: 100%;
        min-width: auto;
    }
    .footer_contents1_boxs .footer_contents1_box:nth-child(2) {
        width: 100%;
    }
    .footer_contents1_boxs .footer_contents1_box:nth-child(3) {
        width: 100%;
    }
    .footer_contents1_logo{
        width: 100%;
        text-align: center;
        margin-bottom: 25px;
    }

  }
  @media screen and (max-width:767px){
        footer{
            padding-bottom: 57px;
        }
    }
  @media screen and (max-width:470px){
    .footer_contents1{
        padding: 50px 25px 50px 25px;
    }
    .footer_contents1_boxs .footer_contents1_box:nth-child(2) .footer_contents1_box1_inner:nth-child(2),.footer_contents1_boxs .footer_contents1_box:nth-child(2) .footer_contents1_box1_inner:nth-child(3),.footer_contents1_boxs .footer_contents1_box:nth-child(2) .footer_contents1_box1_inner:nth-child(4){
        width: 100%;
    }
    .footer_contents1_boxs .footer_contents1_box:nth-child(2) .footer_contents1_box1_inner:nth-child(2),.footer_contents1_boxs .footer_contents1_box:nth-child(2) .footer_contents1_box1_inner:nth-child(3){
        margin-bottom: 30px;
    }
    .footer_contents1_boxs .footer_contents1_box:nth-child(3) .footer_contents1_box1_inner {
        width: 100%;
    }
    .footer_contents1_boxs .footer_contents1_box:nth-child(3) .footer_contents1_box1_inner:nth-child(2){
        margin-bottom: 30px;
    }
    .footer_notice p {
        padding-top: 30px;
    }
  }


/*************************************************************************/
/***************************  footerここまで  *****************************/
/*************************************************************************/


/*************************************************************************/
/****************************  タイトル関係  ******************************/
/*************************************************************************/

.common_title{
    margin-bottom: 50px;
}

.common_title h3{
    font-size: 16px;
    font-weight: bold;
    line-height: 170%;
    color: var(--second-color);
    font-family: "Noto Sans JP", sans-serif;
}

.common_title h2{
    font-family: "Noto Serif JP", serif;
    color: var(--main-color);
    font-size: 36px;
    font-weight: 500;
}

/*スマホ*/
@media screen and (max-width:767px){
    .common_title{
        margin-bottom: 40px;
    }
    .common_title h2{
        font-size: 28px;
    }
}


.common_title2{
    margin-bottom: 50px;
}

.common_title2 h3{
    font-size: 16px;
    font-weight: bold;
    line-height: 170%;
    color: var(--second-color);
    font-family: "Noto Sans JP", sans-serif;
}

.common_title2 h2{
    font-family: "Noto Serif JP", serif;
    color: var(--main-color);
    font-size: 36px;
    font-weight: 500;
    border-bottom: solid 1px #B8B8B8;
    position: relative;
    padding-bottom: 20px;
}

.common_title2 h2::before{
    position: absolute;
    content: '';
    background: linear-gradient(217deg, #623EA7, #A64747 70.71%);
    width: 178px;
    height: 5px;
    left: 0;
    bottom: 0;
}

/*スマホ*/
@media screen and (max-width:767px){
    .common_title2{
        margin-bottom: 40px;
    }
    .common_title2 h2{
        font-size: 28px;
    }
    .common_title2 h2::before{
        width: 155px;
    }
}

/*************************************************************************/
/*************************  タイトル関係ここまで  **************************/
/*************************************************************************/

/*************************************************************************/
/******************************  ボタン関係  ******************************/
/*************************************************************************/

/*メインボタン*/
.btn_main{
    flex: 0 0 auto; /* shrinkもgrowもしない */
    cursor: pointer;
}
.btn_main .btn_inner{
    display: block;
}

.btn_main .btn_inner a{
    display: inline-block;
    color: #fff;
    padding: 15px 20px;
    background-color: var(--main-color);
    font-size: 18px;
    font-weight: 400;
    border:  solid 1px var(--main-color);
    transition: .5s;
}

.btn_main .btn_inner a:hover{
    background-color: #fff;
    color: var(--main-color);
}

.btn_main .btn_inner span{
    position: relative;
    display: inline-block;
    padding-right: 15px;
}

.btn_main .btn_inner span::after{
    content: '';
    width: 8px;
    height: 8px;
    border-top: solid 1px #fff;
    border-right: solid 1px #fff;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    transform: rotate(45deg);
}


/*スマホ*/
@media screen and (max-width:767px){
    .btn_main{
        text-align: center;
    }
    .btn_main .btn_inner a{
        font-size: 16px;
    }
}


/*セカンダリーボタン*/
.btn_second{
    width: 100%;
    margin: 40px 0;
    cursor: pointer;
}


.btn_second:hover{
    opacity: 0.6;
}

.btn_second .btn_inner{
    border: solid 1px var(--main-color);
    padding: 20px 0;
    width: 300px;
    color: var(--main-color);
    text-align: center;
    margin: auto;
}

.btn_second .btn_inner span{
    position: relative;
    display: inline-block;
    padding-right: 15px;
}

.btn_second .btn_inner span::after{
    content: '';
    width: 10px;
    height: 10px;
    border-top: solid 1px var(--main-color);
    border-right: solid 1px var(--main-color);
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    transform: rotate(45deg);
}

.btn_second a{
    display: block;
    color: var(--main-color);
}

/*矢印下に向ける*/
.btn_second.arrow-bottom .btn_inner span::after{
  transform: rotate(135deg);
  right: -10px;
}


/*サブボタン*/
.btn_sub{
    flex: 0 0 auto; /* shrinkもgrowもしない */
    cursor: pointer;
}

.btn_sub:hover{
    opacity: 0.6;
}

.btn_sub .btn_inner{
    border: solid 1px var(--main-color);
    padding: 10px 20px;
    color: var(--main-color);
    text-align: center;
    margin: auto;
    font-size: 14px;
}

.btn_sub .btn_inner span{
    position: relative;
    display: inline-block;
    padding-right: 15px;
}


.btn_list{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

/*スマホ*/
@media screen and (max-width:767px){
    .btn_second{
        margin: 20px 0;
    }
    .btn_second .btn_inner{
        max-width: none;
        width: 100%;
    }
}


/*************************************************************************/
/**************************  ボタン関係ここまで  ***************************/
/*************************************************************************/


/*************************************************************************/
/*******************************  コラム  *********************************/
/*************************************************************************/

.home_column{
    margin-bottom: 130px;
}

.home_column .common_title .container_1440{
    position: relative;
}

.home_column .btn_main{
    position: absolute;
    right: 0;
    bottom: 0;
    margin: auto;
}

.home_column_inner{
    display: flex;
    flex-wrap: wrap;
    gap: 80px 2px;
}

.home_column_content{
    width: calc(33.33333% - 1.5px);
}

.home_column_content_image{
    height: 478px;
    margin-bottom: 20px;
}

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

.home_column_content_text{
    width: calc(100% - 40px);
    margin: auto;
}

.home_column_content_tag{
    font-size: 14px;
    font-weight: 400;
    font-family: "Noto Sans JP", sans-serif;
    color: var(--main-color);
    border: solid 1px var(--main-color);
    margin-bottom: 20px;
    display: inline-block;
    padding: 1px;
}

.home_column_content_tag img{
    width: 23px;
    margin-right: 10px;
    display: inline-block;
    vertical-align: middle;
}

.home_column_content_tag span{
    display: inline-block;
    vertical-align: middle;
}

.home_column_title h3{
    font-size: 18px;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    line-height: 170%;
    color: #000;
}

@media screen and (max-width:1440px){
    .home_column_content_image{
        height: 30vw;
    }
}

@media screen and (max-width:1200px){
    .home_column_inner{
        flex-wrap: wrap;
    }
    .home_column_content{
        width: calc(100% / 2 - 2px);
    }
}


/*スマホ*/
@media screen and (max-width:767px){
    .home_column{
        margin-bottom: 65px;
    }
    .home_column_inner{
        flex-direction: column;
        gap: 50px;
    }
    .home_column_content{
        width: 100%;
    }
    .home_column_content_image{
        height: 92vw;
    }
}

/*************************************************************************/
/****************************  コラムここまで  ****************************/
/*************************************************************************/


/*************************************************************************/
/************************  詳細ページお問い合わせ  *************************/
/*************************************************************************/
.details_contact{
    margin-bottom: 80px;
}

.details_contact_inner{
    width: 82.986%;
    margin: auto;
}

.details_contact h2{
    font-family: "Noto Serif JP", serif;
    font-size: 24px;
    font-weight: 600;
    padding-bottom: 20px;
    margin-bottom: 80px;
    border-bottom: solid 1px #B8B8B8;   
}

.details_contact_inner table{
    width: 100%;
}

.details_contact_inner table th{
    font-size: 18px;
    font-weight: 500;
    text-align: left;
    font-family: "Noto Sans JP", sans-serif;
    width: 245px;
    padding: 17.5px 0;
    vertical-align: middle;
    padding-bottom: 40px;
}

.details_contact_inner table td{
    width: calc(100% - 245px);
    padding-bottom: 40px;
}

.details_contact_inner table td input[type="text"]{
    background-color: #F6F6F6;
    width: 100%;
    height: 48px;
    border: solid 1px #B8B8B8;
    border-radius: 5px;
    padding: 0 25px;
}

.required span{
    position: relative;
}

.required span::after{
    position: absolute;
    content: '*';
    color: #FF0000;
}

.details_contact_inner .details_contact_checkbox ul{
    display: flex;
    flex-wrap: wrap;
    gap: 20px 70px;
}

.details_contact_inner .details_contact_checkbox li label{
    font-family: "Noto Sans JP", sans-serif;
    font-size: 18px;
    color: var(--main-color);
}


.details_contact_inner .details_contact_checkbox label{
    font-size: 18px;
    color: var(--main-color);
    font-weight: 400;
    display: flex;
    gap: 10px;
}

.details_contact_inner .details_contact_checkbox input[type="checkbox"] {
  display: none;
}

.custom-checkbox {
  width: 20px;
  height: 20px;
  border: 1px solid #A4A4A4;
  position: relative;
  flex-shrink: 0; /* 縮まない */
}

/* チェックされたときの表示（CSSのみ） */
.details_contact_inner .details_contact_checkbox input[type="checkbox"]:checked + .custom-checkbox::after {
    content: "";
    position: absolute;
    left: 4px;
    top: -12px;
    width: 11px;
    height: 20px;
    border: solid #D4B572;
    border-width: 0 4px 4px 0;
    transform: rotate(45deg);
    background: transparent;
}


.details_contact_radio ul{
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.details_contact_radio label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  color: var(--main-color);
}

.details_contact_radio label input[type="radio"] {
  display: none;
}

.details_contact_radio .radio-style {
  width: 20px;
  height: 20px;
  font-size: 18px;
  border: 1px solid #A4A4A4;
  border-radius: 50%;
  display: inline-block;
  position: relative;
  margin-right: 10px;
}

.details_contact_radio label input[type="radio"]:checked + .radio-style::after {
  content: '';
  position: absolute;
    top: 3px;
    left: 3.5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #BB9C50;
}

.details_contact_inner textarea{
    background-color: #F6F6F6;
    width: 100%;
    min-height: 90px;
    border-radius: 5px;
    border: solid 1px #B8B8B8;
    padding: 25px;
}

.details_contact_inner .submit_box{
    text-align: center;
    margin-top: 80px;
}

.details_contact_inner .submit{
    margin: auto;
    font-size: 18px;
    font-family: "Noto Sans JP", sans-serif;
    color: #fff;
    width: 300px;
    padding: 20px 0;
    background-color: var(--main-color);
    border: none;
    outline: none;
    cursor: pointer;
}

.details_contact_inner .submit span{
    position: relative;
}

.details_contact_inner .submit span::before {
  content: '';
  width: 10px;
  height: 10px;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  position: absolute;
  right: -20px;
  top: 0;
  bottom: 0;
  margin: auto;
  transform: rotate(45deg);
}

@media screen and (max-width:1010px){
    .details_contact_inner{
        width: 100%;
    }
    .details_contact_inner table th{
        width: 186px;
    }
    .details_contact_inner table td{
        width: calc(100% - 186px);
    }
    .details_contact_inner .submit_box{
        margin-top: 40px;
    }
}


@media screen and (max-width:767px){
    .details_contact h2{
        font-size: 22px;
        padding-bottom: 20px;
        margin-bottom: 68px;
    }
    .details_contact_inner table th{
        display: block;
        width: 100%;
        padding-top: 0;
        padding-bottom: 20px;
    }
    .details_contact_inner table td{
        display: block;
        width: 100%;
        padding-bottom: 50px;
    }
    .details_contact_inner .details_contact_checkbox li label{
        font-size: 16px;
    }
    .details_contact_inner table tr:nth-child(6) .details_contact_checkbox ul{
        gap: 22px 20px;
    }
    .details_contact_inner .submit{
        width: 100%;
    }
}

.more_btn{
    display: none;
}

/*************************************************************************/
/********************  詳細ページお問い合わせここまで  *********************/
/*************************************************************************/

.error_text{
    color: red;
    margin-top: 15px;
}

@media screen and (max-width:767px){
    .sp_link_none{
        pointer-events: none;
    }
    .web_kobetsu{
        opacity: 0;
        transition: opacity 0.5s ease, transform 0.5s ease;
        visibility: hidden;
    }
    .web_kobetsu.visible {
        opacity: 1;
        visibility: visible;
    }
}
