:root {
    --mainColor: #b59667;
    --bgGray: #fff;
    --ttlSize: 50px;
    --arrowSize: 40px;
}
.mainSection h2 {
    background-color: transparent;
    border: none;
}
.mainSection h3 {
    border: none;
    padding: 0;
    margin-bottom: 2em;
}
.mainSection h3::after {
    content: '';
    height: 1px;
    width: 100%;
    border-bottom: 1px solid rgba(0,0,0,.1) !important;
    top: 50%;
    transform: translateY(-50%);
}
.mainSection h3 span {
    background-color: #f5f5f5;
    padding: 0 1em;
    position: relative;
    z-index: 1;
    display: inline-block;
    margin-top: -2em;
}
.mainSection h3 img {
    width: 12em;
    vertical-align: bottom;
}
.bgW {
    background: #f5f5f5;
    background: var(--bgGray);
}
.min_width {
    max-width: 890px;
    margin-left: auto;
    margin-right: auto;
}
.min_width h4 {
    background: #b59667;
    border-radius: 0;
    color: #fff;
}
.min_width ul {
    margin: 0;
    padding-top: 1.5em;
    padding-bottom: 1.2em;
    padding-right: 1em;
    display: inline-block;
    text-align: left;
}

.bn{
    background-color: var(--mainColor);
    color: #fff;
    font-size: 150%;
    text-align: center;
    position: relative;
    padding: 20px;
    /* line-height: 1; */
    margin-top: 3em;
}
.bn::after {
    content: '';
    height: calc(100% - 20px);
    width: calc(100% - 20px);
    border: 1px solid #fff;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: block;
    position: absolute;
}
.bn p {
    line-height: 1.2;
}
.plan {
    margin-left: 2em;
}
.plan + .plan {
    margin-top: 3em;
}
.plan_ttl {    
    background-color: rgba(0,0,0,.06);
    position: relative;
    padding: 10px 1em 10px calc(var(--ttlSize)/2 + 10px);
    margin: 10px 0 1em calc(var(--ttlSize)/2);
}
.plan_ttl .num {
    background-color: var(--mainColor);
    color: #fff;
    position: absolute;
    width: var(--ttlSize);
    height: var(--ttlSize);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    font-size: 70%;
    border-radius: 50%;
    bottom: 0;
    left: calc(var(--ttlSize) / 2 * -1);
    text-align: center;
    line-height: 1;
}
.plan_ttl .num span {
    display: block;
    width: 100%;
    font-size: 2em;
    margin-top: -12px;
}
.plan > p {
    padding-left: calc(var(--ttlSize) + 10px);
}
.line_id {
    background-color: var(--bgGray);
    display: inline-flex;
    font-size: 130%;
}
.line_id .green {
    background: #00B901;
    color: #fff;
    padding: 0 10px;
}
.line_id .green + p{
    padding: 0 10px;
}
.plan .bn{
    background-color: var(--mainColor);
    color: #fff;
    font-size: 150%;
    text-align: center;
    position: relative;
    padding: 20px;
    /* line-height: 1; */
    margin-top: 1em;
}
.plan .bn::after {
    content: '';
    height: calc(100% - 20px);
    width: calc(100% - 20px);
    border: 1px solid #fff;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: block;
    position: absolute;
}

@media (max-width: 768px) {
    .plan {
        margin-left: 0;
    }
    .plan:not(.plan1) {
        margin-top: 3em;
    }
    .bn p {
        font-size: 85%;
    }
}

/*
 *	Line ページ
 ========================================= */
.merit__wrapper{
    display: flex;
    justify-content: space-between;
   
   }

   
@media (max-width: 768px) {
    .merit__wrapper{
        display: block;
        padding: 0 10px;
       }
    
}
.merit__title{
    text-align: center;
    line-height: 1.2;
    font-size: 28px;
    margin-top: 60px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    padding: 0 50px;
    position: relative;
}
.merit__title::before {
    content: '';
    position: absolute;
    display: block;
    width: 1px;
    height: 40px;
    background-color: #000;
    top: 0;
    left: 0;
    transform: rotate(-30deg);
}
.merit__title::after {
    content: '';
    position: absolute;
    display: block;
    width: 1px;
    height: 40px;
    background-color: #000;
    top: 0;
    right: 0;
    transform: rotate(30deg);
}
@media (max-width: 768px) {
    .merit__title{
        font-size: 20px;
        padding: 0 25px;
       }
       .merit__title::before{
        height: 30px;
       }
       .merit__title::after{
        height: 30px;
       }
    
}
.merit__item {
    width: calc(25% - 9px);
    background-color: rgba(0, 0, 0, .06);
    padding: 13px;
    border-radius: 5px;
  }
  @media (max-width: 768px) {
    .merit__item {
        width: 100%;
       max-width: 250px;
       margin: auto;
       margin-top: 20px;
      }
    
}
.merit__item-number {
    font-size: 20px;
    background-color: var(--mainColor);
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    padding: 10px;
  }
 
  
  
.merit__item-img {
    width: 50px;
    margin: auto;
  }
.merit__item-img-1{
    width: 67px;
}
.merit__item-img-2{
    width: 51px;
}
.merit__item-img-3{
    width: 75px;
}

.merit__item-img-4{
    width: 55px;
}
.merit__item-title {
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    margin-top: 10px;
  }
  
.merit__item-desc {
    font-size: 14px;
    margin-top: 5px;
  }
  
  