@charset "utf-8";
#content_Wrap.unpadd{
padding-bottom: 0;
}
ul.notes{
color: #000;
}

/* ----------------------------------
共通
---------------------------------- */
#content_Wrap {
    padding-bottom: 100px;
    background: #fff;
}

li {
    position: relative;
}

.cap_txt02 {
    position: absolute;
    font-size: 10px;
    line-height: 1.3;
    z-index: 20;
    bottom: -20px;
}

/* .compare-tab li:nth-of-type(2) a {
    pointer-events: none;
}

.compare-tab li:nth-of-type(2) a img {
    opacity: .4;
} */

.tab {
    width: 90%;
    margin: 100px auto 0;
}

.tab ul {
    flex-wrap: wrap;
    justify-content: center;
}

.tab ul li {
    width: 400px;
}

.tab ul li:nth-of-type(1) {
    margin-right: 4%;
}

.tab ul li a {
    display: block;
    font-size: 20px;
    text-align: center;
    padding: 12px 0;
    position: relative;
}

.tab ul li a::before {
    content: "";
    position: absolute;
    top: 55%;
    right: 15px;
    transform: translateY(-50%);
    border: 6px solid transparent;
}

/* .tab ul li.here a {
    padding: 20px 0;
    position: relative;
} */

/* レジデンスタブ */
.tab.residence-tab ul li a {
    color: #18586e;
    background: #fff;
    border: 1px solid #18586e;
}

.tab.residence-tab ul li.here a {
    color: #fff;
    background: #18586e;
}

.tab.residence-tab ul li a:hover {
    color: #fff;
    background: #18586e;
}

.tab.residence-tab ul li.here a:hover {
    color: #18586e;
    background: #fff;
}

.tab.residence-tab ul li a::before {
    border-top: 7px solid #18586e; 
}

.tab.residence-tab ul li.here a::before {
    border-top: 7px solid #fff; 
}

.tab.residence-tab ul li.here a:hover::before {
    border-top: 7px solid #18586e; 
}

.tab.residence-tab ul li a:hover::before {
    border-top: 7px solid #fff; 
}

/* 駅前タブ */
.tab.ekimae-tab ul li a {
    color: #0d314f;
    background: #fff;
    border: 1px solid #0d314f;
}

.tab.ekimae-tab ul li.here a {
    color: #fff;
    background: #0d314f;
}

.tab.ekimae-tab ul li a:hover {
    color: #fff;
    background: #0d314f;
}

.tab.ekimae-tab ul li.here a:hover {
    color: #0d314f;
    background: #fff;
}

.tab.ekimae-tab ul li a::before {
    border-top: 7px solid #0d314f; 
}

.tab.ekimae-tab ul li.here a::before {
    border-top: 7px solid #fff; 
}

.tab.ekimae-tab ul li.here a:hover::before {
    border-top: 7px solid #0d314f; 
}

.tab.ekimae-tab ul li a:hover::before {
    border-top: 7px solid #fff; 
}

/* 選択状態のタブが分かりづらい */
.compare-tab li.here-residence {
    position: relative;
}

.compare-tab li.here-residence::after {
    content: "";
    display: block;
    width: 100%;
    border-bottom: 6px solid #9d8731;
    position: absolute;
    bottom: 0;
    left:0;
}

.compare-tab li.here-ekimae {
    position: relative;
}

.compare-tab li.here-ekimae::after {
    content: "";
    display: block;
    width: 100%;
    border-bottom: 6px solid #9d8731;
    position: absolute;
    bottom: 0;
    left:0;
}

[class$="-box"] {
    width: 90%;
    max-width: 1200px;
    margin: 100px auto 0;
}

h3 {
    font-size: 34px;
    font-weight: normal;
    letter-spacing: 5px;
    color: #3e4e57;
    text-align: center;
    margin-bottom: 20px;
}

h4 {
    font-size: 24px;
    letter-spacing: 3px;
    font-weight: normal;
    color: #fff;
    text-align: center;
    padding: 10px 10px;
    margin-bottom: 20px;
}

h4.flex {
    justify-content: center;
    align-items: center;
}

h5 {
    font-size: 20px;
    font-weight: normal;
    color: #045553;
    line-height: 1.3;
    margin-bottom: 20px;
}

.copy {
    font-size: 20px;
    color: #3e4e57;
    letter-spacing: 3px;
    line-height: 1.8;
    text-align: center;
}

.copy02 {
    font-size: 16px;
    color: #3e4e57;
    letter-spacing: 2px;
    line-height: 1.8;
    text-align: center;
    margin-top: 30px;
}

.item-ttl {
    font-size: 18px;
    line-height: 1.3;
    color: #18586e;
    margin-top: 14px;
}

.item-ttl.flex {
    flex-wrap: wrap;
    align-items: center;
}

.item-ttl span {
    display: inline-block;
}

.item-sub-ttl {
    font-size: 18px;
    line-height: 1.3;
    color: #231815;
}

.center-ttl {
    font-size: 22px;
    line-height: 1.5;
    color: #8e7824;
    text-align: center;
    margin-bottom: 20px;
}

.item-txt {
    font-size: 14px;
    margin-top: 6px;
}

.attention {
    margin-top: 10px;
}

.attention li {
    font-size: 12px;
}

.mini-notes {
    margin-top: 10px;
}

.mini-notes li {
    width: 100% !important;
    font-size: 12px;
    line-height: 1.2;
    margin-top: 0 !important;
}

.column2 {
    flex-wrap: wrap;
    justify-content: space-between;
}

.column2 li {
    width: 47%;
}

.column2 li:nth-of-type(n+3) {
    margin-top: 60px;
}

.column3 {
    flex-wrap: wrap;
    justify-content: space-between;
}

.column3 li {
    width: 30%;
}

.column3 li:nth-of-type(n+4) {
    margin-top: 60px;
}

.column3 li.dobble {
    width: 65%;
}

.column4 {
    flex-wrap: wrap;
    justify-content: space-between;
}

.column4 li {
    width: 21.25%;
}

.column4 li:nth-of-type(n+5) {
    margin-top: 60px;
}

.column5 {
    flex-wrap: wrap;
    justify-content: space-between;
}

.column5 li {
    width: 17.33333%;
}

.item-block {
    margin: 60px auto 0;
}

.gray-zone {
    background: #f1f1f3;
}

.border {
    border: 1px solid #6c6b6b;
    padding: 10px 30px 30px 30px;
}

.border figure {
    margin-top: 20px;
}

.tab_sp {
    display: none;
}

/*---------------------------
tab
---------------------------*/
@media only screen and (max-width: 1180px) {
    .tab_sp {
        display: block;
    }

    .tab ul li {
        width: 320px;
    }

    .tab ul li a {
        font-size: 16px;
    }
}


/*---------------------------
sp
---------------------------*/
@media only screen and (max-width: 820px) {

    /* ----------------------------------
共通
---------------------------------- */
    #content_Wrap {
        padding-bottom: 50px;
    }

    .tab {
        margin: 50px auto 0;
    }

    .tab ul li {
        width: 100%;
    }

    .tab ul li:nth-of-type(1) {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .tab ul li a {
        padding: 15px 0;
    }

    [class$="-box"] {
        margin: 80px auto 0;
    }

    .item-block {
        margin: 40px auto 0;
    }

    h3 {
        font-size: 24px;
        letter-spacing: 1px;
        margin-bottom: 6px;
    }

    h4 {
        font-size: 18px;
        letter-spacing: 1px;
    }

    h5 {
        font-size: 16px;
        letter-spacing: 1px;
    }

    .center-ttl {
        font-size: 18px;
        letter-spacing: 1px;
        margin-bottom: 0;
    }

    .copy {
        font-size: 16px;
    }

    .mini-notes li:nth-of-type(n+2) {
        margin-top: 6px !important;
    }

    .column2 li {
        width: 100%;
    }

    .column2 li:nth-of-type(n+2) {
        margin-top: 40px;
    }

    .column3 li {
        width: 100%;
    }

    .column3 li:nth-of-type(n+2) {
        margin-top: 40px;
    }

    .column3 li.dobble {
        width: 100%;
    }

    .column4 li {
        width: 100%;
    }

    .column4 li:nth-of-type(n+2) {
        margin-top: 40px;
    }

    .column5 li {
        width: 48%;
    }

    .column5 li:nth-of-type(n+3) {
        margin-top: 40px;
    }

    .border {
        padding: 10px 20px 20px 20px;
    }

    .compare-tab li.here-residence::after {
        border-bottom: 3px solid #9d8731;
    
      }
      
      .compare-tab li.here-ekimae::after {
        border-bottom: 3px solid #9d8731;
      }


}