@charset "UTF-8";
/*======================================================= 
 まごころ鈑金館紫波店LP　スタイル
=======================================================*/
body{
	line-height: 1.5;
	font-size: 18px;
	color: #333;
	font-family: 'Noto Sans JP', sans-serif;
	background-color: #fff;
	width: 100%;
	margin: auto;
}
ul, li{
    list-style: none;
    margin: 0;
    padding: 0;
}
h2, h3, p{
    padding: 0;
    margin: 0;
}
a {
    display: inline-block;
    text-decoration: none;
}
img{
    display: block;
    max-width: 100%;
}

/* 共通 */
.inner{
    padding: 0 30px;
}

/* スタイル */
.tx-center{
    text-align: center;
}
.tx-bold{
    font-weight: bold;
}
.tx-red{
    color: #be1c2c;
}
.tx-green{
    color: #007256;
}
.tx-white{
    color: #fff;
}
.tx-lightgreen{
    color: #288e73;
}
.tx-lightyellow{
    color: #fcf6a7;
}
.tx-yellow{
    color: #fff100;
}
.tx-darkyellow{
    color: #ddd031;
}
.tx-brown{
    color: #a35826;
}
.tx-beige{
    color: #ddd;
}
.bg-green{
    background-color: #007256;
}
.bg-lightgreen{
    background-color: #c6e5e1;
}
.bg-yellow{
    background-color: #fff100;
}
.bg-beige{
    background-color: #f5f5f5;
}
.bg-white{
    background-color: #fff;
}
.line-yellow{
    background: linear-gradient(transparent 50%, #fff100 50%);
}

/* ***** header ***** */
.header{
    position: fixed;
    max-width: 750px;
    width: 100%;
    height: 85px;
    background-color: #ffffff;
    box-shadow: 0 3px 3px 0 #55555555;
	top: 0;
	left: 50%;
    transform: translate(-50%, 0);
	z-index: 9999;
}
.header-info-lofo{
    display: flex;
    justify-content: space-between;
    padding: 5px 0 0 15px;
}
.header-tagline{
    font-size: 0.8em;
}
img.logo{
    max-width: 280px;
}

/* menuボタン */
.menu-button {
    padding: 10px;
    margin-top: 15px;
}
.menu-button .label {
    color: #007256;
}
.menu-button, .menu-button span {
    display:block;
    transition:all .5s;
    -webkit-transition:all .5s;
    box-sizing:border-box;
}
.menu-button .h_menu {
    position:relative;
    width:30px;
    height:20px;
    margin:0 auto;
}
.menu-button span {
    position:absolute;
    left:0; width:100%;
    height:2px;
    background-color:#007256;
}

.menu-button span:nth-of-type(1) { top:0; }
.menu-button span:nth-of-type(2) { top:8px; }
.menu-button span:nth-of-type(3) { bottom:1px; }

.menu-button.active span:nth-of-type(1) {
  -webkit-transform:translateY(8px) rotate(-45deg);
  transform:translateY(8px) rotate(-45deg);
}
.menu-button.active span:nth-of-type(2) {
  opacity:0;
}
.menu-button.active span:nth-of-type(3) {
  -webkit-transform:translateY(-8px) rotate(45deg);
  transform:translateY(-8px) rotate(45deg);
}

/* gnav */
.gnav{
    display: none;
}
.gnav.active{
    display: block;
}
.gnav-list{
    background-color: #fff;
    box-shadow: 0 0 3px #555;
}
.gnav-list li{
    background-color: #fff;
    border-bottom: 1px solid #007256;
}
.gnav-list li:last-child{
    border: none;
}
.gnav-list li a{
    display: block;
    font-weight: bold;
    color: #007256;
    padding: 15px;
}

/* ***** fix-cta ***** */
.fix-nav{
    position: fixed;
    max-width: 750px;
    width: 100%;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
    background-color: #555;
    font-weight: bold;
	z-index: 9999;
}
.fix-nav p{
    color: #fff;
    text-align: center;
    padding: 10px 0;
}
.fix-nav-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 0 15px 10px 15px;
}
.fix-nav-item{
    font-size: 25px;
    text-align: center;
    background-color: #fff100;
    color: #007256;
    border-radius: 3px;
}
.fix-nav-item.tel {
    padding: 10px;
}
.fix-nav-item.line {
    padding: 20px 10px;
}
.fix-nav-item i{
    padding-right: 10px;
}
.fix-nav-item span{
    display: block;
    font-size: 12px;
}

/* ***** main ***** */
.main{
    padding-top: 85px;
}
.wrapper{
    max-width: 750px;
    width: 100%;
    margin: auto;
}
h2{
    text-align: center;
    font-size: 30px;
    padding: 1em 0;
}
h2 span{
    display: block;
    font-size: 100px;
    line-height: 1;
}

/* fv */
.top-block{
    padding: 30px;
}
.top-block .yellow-box{
    background-color: #fff100;
    font-weight: bold;
    text-align: center;
    color: #007256;
    padding: 5px;
    margin-top: 0.5em;
}
.fv-block{
    position: relative;
}
.fv-tx-bg{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    width: 480px;
    height: 480px;
    border-radius: 50%;
}
.fv-tx{
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}
.fv-item{
    width: fit-content;
    background-color: #007256;
    color: #fff100;
    font-weight: bold;
    padding: 5px 15px;
    margin: 0 auto 15px auto;
}
.fv-title{
    color: #007256;
    font-size: 3.5em;
    font-weight: bold;
    text-align: center;
}

/* reason */
.reason{
    background-image: url(https://magokoro-bankin.tosai.jp/../../../assets/img/reason_bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 30px 50px 20px 50px;
}
.reason-block{
    position: relative;
    bottom: 35px;
    background-color: #fff;
    border: 7px solid #007256;
    padding: 30px;
}
.reason-block ul li{
    position: relative;
    font-weight: bold;
    padding-left: 1.5em;
}
.reason-block ul li::before{
    position: absolute;
    content: "";
    width: 1em;
    height: 3px;
    background-color: #007256;
    top: 10px;
    left: 0;
}

/* voice */
.voice{
    padding-bottom: 30px;
}
.voice-item1,
.voice-item2{
    background-color: #fff;
    padding: 30px;
    margin-bottom: 30px;
}
.voice-item1{
    border-radius: 0 50px 50px 0;
    box-shadow: 10px 10px 0 #024f3b;
    margin-right: 20%;

}
.voice-item2{
    background-color: #fff;
    border-radius: 50px 0 0 50px;
    box-shadow: -10px 10px 0 #024f3b;
    margin-left: 20%;
}
.voice-title{
    font-size: 1.2em;
    font-weight: bold;
    color: #007256;
    padding-bottom: 10px;
}

/* repair */
.repair{
    padding: 30px;
}
.repair-kinds ul{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    padding: 20px 0;
}
.repair-kinds ul li{
    position: relative;
    font-weight: bold;
    padding-left: 1.5em;
}
.repair-kinds ul li::before{
    position: absolute;
    font-family: "Font Awesome 5 Free";
    content: '\f058';
    font-weight: bold;
    top: 0;
    left: 0;
    color: #007256;
}
.repair-kinds ul li:last-child {
  grid-column: span 3;
}

/* cta */
.cta{
    position: relative;
    padding: 30px 30px 50px 30px;
}
.cta:after{
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  left: 0;
  width: 0px;
  height: 0px;
  margin: auto;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
  border-width: 30px 30px 0 30px;
}
.cta-tx{
    text-align: center;
    font-size: 2.5em;
    font-weight: bold;
    line-height: 1;
}
.cta-tx .dots{
    -webkit-text-emphasis: filled;
    text-emphasis: filled;
}
.cta-logo{
    max-width: 500px;
    width: 100%;
    margin: 30px auto;
}
.cta-link{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.cta-link a{
    display: block;
    background-color: #fff;
    color: #007256;
    box-shadow: 5px 5px 5px #999;
    border-radius: 5px;
    font-size: 25px;
    font-weight: bold;
    text-align: center;
    padding: 20px;
}
.cta-link i{
    padding-right: 10px;
}

/* maker */
.maker{
    padding-bottom: 50px;
}
.maker-block{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border: 3px solid #ddd;
    background-color: #fff;
    padding: 5px;
    margin-bottom: 15px;
}
.maker-item{
    display: flex;
    align-items: center;
    padding: 0 15px;
}
.maker-item img{
    padding-right: 10px;
}

/* works */
.works{
    padding-bottom: 30px;
}
.works-item{
    position: relative;
    background-color: #fcf6a7;
    padding: 20px 30px 30px 30px;
    margin-bottom: 60px;
}
.works-item:last-child{
    margin-bottom: 30px;
}
.works-num{
    position: absolute;
    top: -40px;
}
.car-info{
    font-weight: bold;
    text-align: right;
}
.dealer-estimate{
    border: 2px solid #a35826;
    color: #a35826;
    text-align: center;
    padding: 5px;
    margin: 10px auto;
}
.works-magokoro{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #a35826;
    color: #fff;
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    padding: 5px 15px;
}
.works-magokoro p{
    width: 100%;
}
.works-magokoro span{
    font-size: 1.5em;
    padding: 0 5px;
}

.works-tx{
    padding: 30px;
}
.works-link{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px 0;
}
.works-link a{
    background-color: #007256;
    color: #fff;
    font-weight: bold;
    text-align: center;
    border-radius: 5px;
    box-shadow: 5px 5px 5px #999;
    padding: 30px 20px;
}
.works-link i{
    padding-right: 10px;
}

/* about */
.about{
    position: relative;
    padding: 30px 0;
}
.about:after{
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 50px;
    background: #fff;
    clip-path: polygon(0 0, 50% 100%, 100% 0);
    z-index: 1;
}
.about-block{
    padding: 30px;
}
.about-title{
    width: fit-content;
    font-size: 1.5em;
    margin: 0 auto 1em auto;
}

/* point */
.point{
    padding-bottom: 1px;
}
.point-item{
    position: relative;
}
.point-item:first-child{
        margin-top: 15px;
    }
.point-item-content{
    width: 80%;
    background-color: #fff;
    padding: 30px;
    margin: 0 0 50px auto;
}
.point-img{
    position: absolute;
    width: 25%;
    top: -20%;
    left: 0;
}
.point-item-title{
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 30px;
    padding-left: 85px;
}

/* features */
.features{
    padding-bottom: 50px;
}
.features h2 span{
    color: #e0d5cd;
}
.features-block {
    overflow-x: auto;
    display: block;
}
.features-block table{
    border-collapse: separate;
    border-spacing: 5px 0;
    margin: 15px auto;
}
.features-block table th,
.features-block table td {
    white-space: nowrap;
    font-weight: bold;
    text-align: center;
    border: 2px solid #c1c1c1;
    padding: 10px 20px;
}
.features-block table th{
    background-color: #c1c1c1;
    color: #fff;
}
.features-block table td{
    border-left: 4px solid #c1c1c1;
    border-right: 4px solid #c1c1c1;
    background-color: #f3efe8;
}
.features-block table tr:last-child td{
    border-bottom: 4px solid #c1c1c1;
}
.features-block table th.magokoro{
    background-color: #007256;
    border: 2px solid #007256;
    border-left: 4px solid #007256;
    border-right: 4px solid #007256;
    border-radius: 10px 10px 0 0;
}
.features-block table td.magokoro{
    background-color: #fff;
    border: 2px solid #007256;
    border-left: 4px solid #007256;
    border-right: 4px solid #007256;
    color: #007256;
}
.features-block table tr:last-child td.magokoro{
    border-bottom: 4px solid #007256;
}

/* スクロールバー全体を対象にする */
.features-block::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

/* スクロールバーの背景部分をカスタマイズ */
.features-block::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

/* スクロールバーの操作部分をカスタマイズ */
.features-block::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}
.features-block::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* free */
.free{
    padding-bottom: 30px;
}
.free-block{
    padding: 30px;
}
.free-block p{
    font-size: 1.5em;
}
.free-img{
    padding-bottom: 15px;
}

/* flow */
.flow{
    padding-bottom: 1px;
}
.flow-item{
    position: relative;
    background-color: #fff;
    padding: 30px;
    margin-bottom: 50px;
}
.flow-num{
    position: absolute;
    top: -35px;
    left: 0;
}
.flow-title{
    font-size: 1.5em;
    font-weight: bold;
    color: #007256;
    padding-bottom: 0.5em;
}
.yellow-block{
    font-weight: bold;
    background-color: #fff100;
    padding: 15px 15px 15px 50px;
    margin: 15px auto;
}
.yellow-block p{
    border-left: 3px solid #fff;
    padding-left: 15px;
}
.flow-cta{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.flow-cta p{
    font-size: 0.8em;
    font-weight: bold;
    text-align: center;
    padding-bottom: 5px;
}
.flow-cta a{
    display: block;
    background-color: #be1c2c;
    color: #fff;
    border-radius: 5px;
    font-size: 25px;
    font-weight: bold;
    text-align: center;
    padding: 20px;
}
.flow-cta i{
    padding-right: 10px;
}
.flow-cta .span-small{
    display: block;
    font-size: 14px;
}

/* faq */
.faq h2{
    line-height: 2.2;
}
.faq{
    padding-bottom: 30px;
}
.faq-item{
    background-color: #fff;
    margin-bottom: 15px;
}
.faq-title{
    position: relative;
    font-size: 18px;
    font-weight: bold;
    padding: 20px 50px;
}
.faq-title.open{
    border-bottom: 2px solid #ddd;
}
.faq-title::before{
    position: absolute;
    content: "Q.";
    font-size: 1.2em;
    top: 15px;
    left: 20px;
}
.faq-title::after{
    position: absolute;
    content: "+";
    font-size: 25px;
    font-weight: bold;
    color: #ddd;
    top: 28%;
    right: 25px;
}
.faq-title.open::after{
    content: "-";
}
.faq-text{
    position: relative;
    display: none;
    color: #007256;
    padding: 20px 20px 20px 50px;
}
.faq-text::before{
    position: absolute;
    content: "A.";
    font-size: 1.2em;
    font-weight: bold;
    top: 15px;
    left: 20px;
}

/* shop */
.shop{
    padding-bottom: 30px;
}
.shop-logo{
    padding-bottom: 15px;
}
.shop-block{
    padding: 30px;
}
.shop-tx{
    text-align: center;
    font-size: 2.3em;
    font-weight: bold;
    line-height: 1;
    padding-bottom: 30px;
}
.shop-tx .dots{
    -webkit-text-emphasis: filled;
    text-emphasis: filled;
}
.shop-block table{
    width: 100%;
    margin: 15px auto;
}
.shop-block th, .shop-block td{
    border: 2px solid #c1c1c1;
    padding: 15px;
}
.shop-block th{
    background-color: #c1c1c1;
    color: #fff;
}
.shop-block td{
    background-color: #f3efe8;
}
.map-link{
    display: block;
    width: fit-content;
    background-color: #fff;
    border: 2px solid #007256;
    border-radius: 5px;
    color: #007256;
    font-weight: bold;
    padding: 10px 50px;
    margin: 5px 0 0 auto;
}
.shop-cta{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}
.shop-cta p{
    font-size: 0.8em;
    font-weight: bold;
    text-align: center;
    padding-bottom: 5px;
}
.shop-cta a{
    display: block;
    background-color: #be1c2c;
    color: #fff;
    border-radius: 5px;
    font-size: 25px;
    font-weight: bold;
    text-align: center;
    padding: 20px;
}
.shop-cta a.tel{
    padding: 10px;
}
.shop-cta i{
    padding-right: 10px;
}
.shop-cta .span-small{
    display: block;
    font-size: 14px;
}

/* ***** footer ***** */
.footer{
    max-width: 750px;
    background-color: #fff;
    color: #555;
    text-align: center;
    padding: 20px;
    margin: 0 auto 127px auto;
}

/*750px以下*/
@media screen and (max-width: 750px){
    body{
        font-size: 15px;
    }
    /* 共通 */
    .inner{
        padding: 0 15px;
    }

    /* ***** fix-cta ***** */
    .fix-nav p{
        padding: 10px 0 5px 0;
    }
    .fix-nav-grid{
        gap: 10px;
    }
    .fix-nav-item{
        font-size: 20px;
    }

    /* ***** main ***** */
    h2{
        font-size: 25px;
    }
    h2 span{
        font-size: 80px;
    }

    /* fv */
    .top-block{
        padding: 15px;
    }
    .fv-tx-bg{
        width: 380px;
        height: 380px;
    }
    .fv-title{
        font-size: 3em;
    }

    /* reason */
    .reason{
        padding: 30px 15px 15px 15px;
    }
    .reason-block{
        bottom: 20px;
        border: 5px solid #007256;
        padding: 20px;
    }

    /* voice */
    .voice{
        padding-bottom: 30px;
    }
    .voice-item1{
        box-shadow: 7px 7px 0 #024f3b;
        margin-right: 12%;
    }
    .voice-item2{
        box-shadow: -7px 7px 0 #024f3b;
        margin-left: 12%;
    }

    /* repair */
    .repair{
        padding: 15px;
    }
    .repair-kinds ul{
        padding: 15px 0;
    }

    /* cta */
    .cta{
        padding: 15px 15px 30px 15px;
    }
    .cta-tx{
        font-size: 2em;
    }
    .cta-logo{
        margin: 15px auto;
    }
    .cta-link{
        gap: 15px;
    }
    .cta-link a{
        font-size: 18px;
        padding: 15px;
    }

    /* maker */
    .maker{
        padding-bottom: 25px;
    }
    .maker-item{
        padding: 0 10px;
    }
    .maker-item img{
        width: 50px;
        padding-right: 5px;
    }

    /* works */
    .works-item{
        padding: 15px;
        margin-bottom: 40px;
    }
    .works-item:last-child{
        margin-bottom: 20px;
    }
    .works-num{
        width: 100px;
        top: -25px;
    }
    .works-magokoro{
        font-size: 1.2em;
        padding: 5px 10px;
    }
    .works-magokoro img{
        width: 70px;
    }

    .works-tx{
        padding: 15px;
    }
    .works-link{
        gap: 10px;
        padding: 20px 0;
    }
    .works-link a{
        padding: 25px 15px;
    }

    /* about */
    .about {
        padding: 15px 0 ;
    }
    .about:after{
        height: 30px;
    }
    .about-block{
        padding: 15px;
    }

    /* point */
    .point-img {
        top: -17%;
    }
    .point-item-content{
        width: 85%;
        padding: 15px;
        margin: 0 0 40px auto;
    }
    .point-item-title{
        padding-bottom: 15px;
        padding-left: 80px;
    }

    /* features */
    .features-block{
        margin: 0 15px;
    }
    .features-block table th,
    .features-block table td {
        padding: 10px 15px;
    }

    /* スクロールバー全体を対象にする */
    .features-block::-webkit-scrollbar {
        width: 7px;
        height: 7px;
    }

    /* free */
    .free-block{
        padding: 15px;
    }
    .free-block p{
        font-size: 1.2em;
    }

    /* flow */
    .flow-item{
        padding: 15px;
    }
    .flow-title{
        padding-bottom: 15px;
    }
    .yellow-block{
        padding: 10px;
    }
    .flow-cta{
        gap: 10px;
    }
    .flow-cta a{
        font-size: 20px;
        padding: 15px;
    }

    /* faq */
    .faq-title{
        font-size: 15px;
    }

    /* shop */
    .shop-block{
        padding: 15px;
    }
    .shop-tx{
        font-size: 1.8em;
        padding-bottom: 20px;
    }
    .shop-cta{
        gap: 10px;
        margin-top: 30px;
    }
    .shop-cta a{
        font-size: 20px;
    }
    .shop-cta .span-small{
        font-size: 12px;
    }
}

/*480px以下*/
@media screen and (max-width: 480px){
    body{
        font-size: 12px;
    }

    /* ***** fix-cta ***** */
    .fix-nav-item{
        font-size: 15px;
    }

    /* ***** main ***** */
    h2{
        font-size: 20px;
    }
    h2 span{
        font-size: 50px;
    }

    /* fv */
    .fv-tx-bg{
        width: 280px;
        height: 280px;
    }
    .fv-item{
        margin: 0 auto 10px auto;
    }

    /* reason */
    .reason{
        padding: 15px 15px 0px 15px;
    }
    .reason-block{
        bottom: 16px;
    }

    /* voice */
    .voice{
        padding-bottom: 10px;
    }
    .voice-item1{
        margin-right: 10%;
    }
    .voice-item2{
        margin-left: 10%;
    }

    /* repair */
    .repair{
        padding: 15px;
    }
    .repair-kinds ul{
        grid-template-columns: 1.2fr 1fr 1fr;
    }

    /* cta */
    .cta:after{
        border-width: 20px 20px 0 20px;
    }
    .cta-link a{
        font-size: 15px;
    }

    /* maker */
    .maker-item img{
        width: 35px;
    }

    /* works */
    .works-item{
        margin-bottom: 30px;
    }
    .works-num{
        width: 80px;
        top: -20px;
    }
    .works-magokoro img{
        width: 50px;
    }

    .works-link a{
        padding: 25px 10px;
    }

    /* about */

    /* point */
    .point-img {
        width: 30%;
    }
    .point-item-content{
        width: 85%;
        padding: 15px;
        margin: 0 0 40px auto;
    }
    .point-item-title{
        padding-bottom: 15px;
        padding-left: 80px;
    }

    /* features */

    /* free */

    /* flow */
    .flow-cta a{
        font-size: 14px;
        padding: 15px 10px;
    }

    /* faq */
    .faq-title{
        font-size: 12px;
    }

    /* shop */
    .shop-cta a{
        font-size: 14px;
    }
}