@charset "UTF-8";
/*======================================================= 
 まごころ鈑金館TOPページ　スタイル
=======================================================*/
body{
	line-height: 1.5;
	font-size: 15px;
	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{
    max-width: 1000px;
    margin: 0 auto;
}

/* スタイル */
.tx-green{
    color: #007256;
}
.tx-brown{
    color: #A35826;
}
.tx-yellow{
    color: #FFF100;
}
.tx-bold{
    font-weight: bold;
}
.bg-yellow{
    background-color: #FCF6A7;
}

/* ***** header ***** */
.header{
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    box-shadow: 0 3px 3px #eee;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px; /* .header-navを表示する場合は削除 */
}
.header h1{
    font-size: 14px;
    margin: 0;
}
.header-logo{
    max-width: 250px;
}
.header-nav ul{
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    padding: 10px 0 15px 0;
}
.header-nav ul li a{
    display: block;
    text-align: center;
    font-weight: bold;
    color: #333;
}
.menu-button{
    display: none;
}

/* ***** topへ戻るボタン ***** */
.back-to-top{
  position: fixed;
  right: 15px;
  bottom: 15px;
  width: 80px;
  height: 80px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  display: grid;
  place-content: center;
  gap: 5px;
  background: #007256;
  color: #fff;
  font-weight: bold;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.back-to-top.is-visible{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top-icon{
  font-size: 18px;
  line-height: 1;
}
.back-to-top-text{
  letter-spacing: .1em;
}
/* スマホで少し小さめに */
@media (max-width: 480px){
  .back-to-top{
    width: 70px;
    height: 70px;
  }
}

/* ***** main ***** */
.main{
    padding-top: 85px;
}
h2{
    text-align: center;
    font-size: 80px;
    padding-bottom: 0.5em;
}
h2 span{
    display: block;
    font-size: 30px;
    line-height: 1;
}

/* fv */
.fv img{
    width: 100%;
}

/* works */
.works{
    padding: 30px 0 50px 0;
}
.works-block{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 15px;
}
.works-item{
    background-color: #fff;
    border-radius: 10px;
}
.works-img{
    border-radius: 10px 10px 0 0;
}
.works-info{
    padding: 15px;
}
.dealer-estimate{
    border: 2px solid #a35826;
    color: #a35826;
    text-align: center;
    border-radius: 5px;
    padding: 5px;
    margin: 10px auto;
}
.works-magokoro{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #a35826;
    color: #fff;
    font-weight: bold;
    line-height: 1.2;
    padding: 5px 15px;
}
.works-magokoro span{
    font-size: 2em;
    padding: 0 5px;
}

.works-link{
    margin: 30px auto;
}
.works-link a{
    display: block;
    max-width: 300px;
    background-color: #007256;
    color: #fff;
    font-weight: bold;
    text-align: center;
    border-radius: 50px;
    padding: 15px;
    margin: auto;
}

/* shop */
.shop{
    padding: 30px 0 50px 0;
}
.shop-block .shop-item:first-child{
    margin-bottom: 50px;
}
.shop-info{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.shop-name{
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid #007256;
}
.shop-logo{
    max-width: 230px;
}
.green-banner{
    background-color: #007256;
    color: #fff;
    font-weight: bold;
    text-align: center;
    padding: 5px;
    margin: 10px 0;
}
.shop-block table{
    width: 100%;
    margin: 10px auto;
}
.shop-block th{
    display: block;
    text-align: left;
    font-weight: normal;
}

.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: 20px;
}
.shop-cta p{
    font-size: 0.8em;
    font-weight: bold;
    text-align: center;
    padding-bottom: 5px;
}
.shop-cta a{
    display: block;
    background-color: #FFF100;
    color: #007256;
    border-radius: 5px;
    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{
    background-color: #007256;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin: 0 auto;
}

/*1000px以下*/
@media screen and (max-width: 1000px){
    body{
        font-size: 14px;
    }
    .inner{
        padding: 0 15px;
    }
    /* works */
    .works-block{
        gap: 10px;
    }
    .works-info{
        padding: 10px;
    }
    .dealer-estimate{
        font-size: 12px;
    }
    .works-magokoro{
        padding: 5px;
    }
    .works-magokoro img{
        width: 60px;
    }
    /* shop */
    .shop-info{
        gap: 15px;
    }
    .shop-cta{
        gap: 15px;
    }
    .shop-cta a{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        padding: 10px;
    }
    .shop-cta .span-small{
        font-size: 10px;
    }
}

/*750px以下*/
@media screen and (max-width: 750px){
    /* 共通 */
    h2{
        font-size: 70px;
    }
    h2 span{
        font-size: 28px;
    }

    /* ***** main ***** */
    /* header */
    .header{
        padding: 10px;
    }
    .header .inner{
        padding: 0;
    }
    .header-nav{
        display: none;
    }
    .header-nav ul{
        display: block;
        padding: 15px 0;
    }
    .header-nav ul li a{
        text-align: left;
        color: #007256;
        border-bottom: 1px solid #007256;
        padding: 10px;
    }
    .menu-button {
        position: absolute;
        top: 15px;
        right: 15px;
        display: block;
        padding: 10px;
    }
    .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);
    }

    /* works */
    .works{
        padding: 30px 0;
    }
    .works-block{
        display: block;
    }
    .works-item{
        margin-bottom: 20px;
    }

    /* shop */
    .shop{
        padding: 30px 0;
    }
    .shop-info{
        display: block;
    }
    .shop-name{
        margin-top: 15px;
    }
}

/*480px以下*/
@media screen and (max-width: 480px){


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