@charset "UTF-8";
@import url("grid.css");

img {
    max-width: 100%;
    height: auto;
    /*高さ自動*/
    vertical-align: top;
}

a {
    display: block;
    text-decoration-line: none;
}

.fixed {
    position: fixed;
    width: 100%;
    height: 100%;
}

/*ヘッダー
-------------------------------------*/

/*===========================================================*/
/*機能編  5-1-1 ドロップダウンメニュー（上） */
/*===========================================================*/

/*========= ナビゲーションドロップダウンのためのCSS ===============*/

/*ナビゲーションを横並びに*/
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
}

/*2階層目以降は横並びにしない*/
nav ul ul {
    display: block;
}

/*下の階層のulや矢印の基点にするためliにrelativeを指定*/
nav ul li {
    position: relative;
}

/*ナビゲーションのリンク設定*/
nav ul li a {
    display: block;
    text-decoration: none;
    color: #000;
    padding: 15px 20px;
    padding: 2px 1em;
    transition: all .3s;
}

#g-nav ul#g-navi2 {
    height: 57px;
}

#g-nav ul#g-navi2 li {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

#g-nav ul#g-navi2 li img {
    vertical-align: middle;
}


nav ul li a:hover {
    color: #fff;
    text-decoration: underline;
}


@media screen and (min-width:1365px) {
    nav ul#g-navi li a {
        padding: 2px 1.2em;
    }
}

/*== 2・3階層目の共通設定 */

/*下の階層を持っているulの指定*/
nav ul li.has-child ul {
    /*絶対配置で位置を指定*/
    position: absolute;
    left: 0;
    top: 57px;
    z-index: 4;
    /*形状を指定*/
    background: rgba(255, 255, 255, 0.9);
    width: 100%;
    /*はじめは非表示*/
    visibility: hidden;
    opacity: 0;
    /*アニメーション設定*/
    transition: all .5s;
    padding: 1em 0;
}

nav ul#g-navi li.has-child ul {
    top: 40px;
}

/*hoverしたら表示*/
nav li.has-child:hover>ul,
nav ul#g-navi2 li.has-child:hover>ul,
nav li.has-child:active>ul,
nav ul#g-navi2 li.has-child:active>ul {
    visibility: visible;
    opacity: 1;
}

/*ナビゲーションaタグの形状*/
nav li.has-child ul li a {
    color: #000;
}

nav li.has-child ul li:last-child a {
    border-bottom: none;
}

/*==900px以下の形状*/

@media screen and (max-width:900px) {
    nav ul#g-navi li.has-child ul {
        top: 0;
    }

    nav {
        padding: 0;
        z-index: 10;
    }

    nav ul {
        display: block;
    }

    nav ul#g-navi li a {
        border-bottom: 1px solid #ccc;
        width: 80%;
        margin: 0 auto;
    }



}

/*==================================
機能編 　5-1-11 クリックしたらナビが出現
===================================*/

@media screen and (max-width:900px) {
    #g-nav {
        /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
        position: fixed;
        z-index: 999;
        /*ナビのスタート位置と形状*/
        top: 60px;
        /* top: -120%; */
        /* right: 0; */
        right: -100%;
        width: 80%;
        /* height: 100vh;ナビの高さ */
        background: #1b2d25;
        transition: all 0.6s;
    }

    /*アクティブクラスがついたら位置を0に*/
    #g-nav.panelactive {
        right: 0;
    }


    /*ナビゲーションの縦スクロール*/
    #g-nav.panelactive #g-nav-list {
        /*ナビの数が増えた場合縦スクロール*/
        position: fixed;
        position: relative;
        z-index: 999;
        width: 100%;
        height: 100vh;
        /*表示する高さ*/
        height: auto;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    /*ナビゲーション*/
    #g-nav ul {
        /*ナビゲーション天地中央揃え*/
        width: 100%;
        margin: 40px auto 0 auto;
    }

    #g-nav ul#g-navi2 {
        margin-top: 20px;
    }

    #g-nav ul#g-navi2 a {
        line-height: 57px;
    }

    #g-nav ul ul {
        width: 100%;
        margin: 0;
    }

    /*プルダウンナビのCSS*/
    #g-nav ul li.has-child ul {
        position: relative;
        left: 0;
        top: 0;
        width: 100%;
        visibility: visible;
        /*JSで制御するため一旦表示*/
        opacity: 1;
        /*JSで制御するため一旦表示*/
        display: none;
        /*JSのslidetoggleで表示させるため非表示に*/
        transition: none;
        /*JSで制御するためCSSのアニメーションを切る*/
        transform: none;
        background-color: rgb(255, 255, 255, 0.2);
    }

    /*リストのレイアウト設定*/

    #g-nav li {
        list-style: none;
    }

    #g-nav li a {
        color: #fff;
        text-decoration: none;
        padding: 10px;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: bold;
    }

    #g-navi2 li a {
        color: #000;
        font-weight: normal;
        padding-left: 15%;
    }

    #g-navi2 li li a {
        padding: 0 0 0 15%;
    }
}

/*================================
　機能編 5-2-7 3本線が奥行きを持って回転して×に
===================================*/

.g-nav-openbtn {
    display: none;
}

@media screen and (max-width:900px) {
    .g-nav-openbtn {
        display: block;
        position: fixed;
        position: absolute;
        position: fixed;
        z-index: 9999;
        /*ボタンを最前面に*/
        top: 10px;
        right: 10px;
        cursor: pointer;
        width: 50px;
        height: 50px;
    }

    /*ボタン内側*/

    .g-nav-openbtn .openbtn-area {
        transition: all .4s;
    }

    .g-nav-openbtn span {
        display: inline-block;
        transition: all .4s;
        /*アニメーションの設定*/
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background: #000;
        width: 45%;
    }


    .g-nav-openbtn span:nth-of-type(1) {
        top: 15px;
    }

    .g-nav-openbtn span:nth-of-type(2) {
        top: 23px;
    }

    .g-nav-openbtn span:nth-of-type(3) {
        top: 31px;
    }

    /*activeクラスが付与されると
線と周りのエリアが回転して×になる*/

    .g-nav-openbtn.active .openbtn-area {
        transform: rotateY(-360deg);
    }

    .g-nav-openbtn.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-135deg);
        width: 30%;
    }

    .g-nav-openbtn.active span:nth-of-type(2) {
        opacity: 0;
    }

    .g-nav-openbtn.active span:nth-of-type(3) {
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(135deg);
        width: 30%;
    }
}

/* header */

.header_white_back {
    width: 100%;
    background-color: rgb(255, 255, 255, .9);
    position: fixed;
    z-index: 10;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
}

.header_cont {
    width: 100%;
    max-width: 1365px;
    height: 57px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.header_cont h1 {
    flex-basis: 25%;
    position: relative;
    left: 2%;
}

.header_cont h1 img {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    max-width: 320px;
}

.header_cont nav {
    flex-basis: 75%;
}


#g-nav-list a {
    color: #000;
}

#g-nav-list {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#g-navi {
    flex-basis: 60%;
    /* margin: 0 3%; */
    flex-grow: 1;
    padding-left: 2em;
}

#g-navi2 {
    flex-basis: 40%;
}

#header a {
    white-space: nowrap;
}

.border-r {
    border-right: 1px solid #000;
}

.top_yellow {
    background-color: #ffe76f;
}

.top_red {
    background-color: #db1625;
}

.top_blue {
    background-color: #004d8f;
}

@media screen and (max-width:900px) {

    .header_cont {
        height: 60px;
        flex-direction: column;
        width: 50%;
    }

    .header_cont h1 {
        flex-basis: 100%;
        left: 0;
        width: 100%;
    }

    #g-nav-list {
        flex-direction: column;
        justify-content: flex-start;
    }

    #g-navi {
        flex-basis: 20%;
        flex-grow: 0;
    }

    .border-r {
        border-right: none;
    }

    #g-nav ul#g-navi2 li img {
        width: 90px;
    }

    #g-nav ul#g-navi2 li.top_blue img {
        width: 120px;
    }
}



/*メイン画像
-------------------------------------*/

.head_area {
    max-width: 1365px;
    margin: 100px auto 8%;
    position: relative;
    overflow: hidden;
}

.head_area_pic {
    width: 53%;
    max-width: 770px;
    margin: 0 0 0 auto;
    transform: translateX(10px);
}

.head_area_ttl {
    position: absolute;
    top: 0;
    left: 2%;
    z-index: 1;
}

.head_area_ttl h2 {
    margin-bottom: .5em;
}

@media (max-width: 767px) {

    .head_area {
        text-align: center;
        margin-bottom: 20%;
    }

    .head_area_ttl {
        position: relative;
        left: 0;
        z-index: -1;
    }

    .head_area_pic {
        width: 100%;
        transform: translateX(0);
    }
}

@media (max-width: 900px) {
    .head_area {
        margin-top: 0;
        padding-top: 120px;
    }

    .head_area_ttl {
        top: 20%;
    }

    /* .head_area_ttl h2 {
		font-size: 6.5rem;
    } */

}

/* @media (max-width: 1364px) {

	.head_area_ttl h2 {
		font-size: 6.5rem;
    }
} */

@media only screen and (min-width: 1365px) {
    .head_area_pic {
        width: 60%;
    }

    .head_area_ttl {
        top: 5%;
        left: 4%;
    }

}

@media only screen and (min-width: 1400px) {
    .head_area {
        overflow: initial;
    }
}

/*メインコンテンツ
-------------------------------------*/
main {
    position: relative;
}

.container {
    margin: 0 auto;
    /* max-width: 1360px; */
    padding: 0 2.0rem;
    /*position: relative;*/
}

.wrapper1100 {
    width: 95%;
    max-width: 1150px;
    margin: 0 auto;
}

.wrapper1000 {
    width: 95%;
    max-width: 1100px;
    margin: 0 auto;
}

.wrapper900 {
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
}


/*セクション
-------------------------------------*/

section {
    margin-bottom: 100px;
}

.section_ttl {
    text-align: center;
    position: relative;
}

.section_ttl::before {
    position: absolute;
    content: '';
    background-image: url(../images/house_icon.svg);
    background-size: 2.5em;
    width: 2.5em;
    height: 2em;
    top: -1.2em;
    left: 50%;
    transform: translate(-50%, 0);
}

.section_ttl::first-letter {
    color: #db1625;
}

/*セクション1
-------------------------------------*/

.timing_ttl::first-letter {
    color: #db1625;
}

.timing_box {
    margin-bottom: 40px;
    text-align: center;
}

.section1_maincont {
    margin-top: 50px;
}

.timing_ttl {
    text-align: center;
    margin: .5em auto .2em;
}

.timing_txt {
    /* width: 95%; */
    /* margin: 0 auto; */
    text-align: left;
    display: inline-block;
}

@media (max-width: 767px) {
    .section1 .row {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .section1 .col {
        width: 40%;
        margin: 0 2%;
        flex: auto;
    }

    .timing_txt {
        display: none;
    }
}


/*セクション2
-------------------------------------*/

.section2 {
    background-color: #f7f7f7;
    background-image: url(../images/back1-min.png), url(../images/back2-min.png), url(../images/back3-min.png), url(../images/back4-min.png), url(../images/unno_top_back.png);
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat;
    background-size: 20%, 20%, 20%, 20%, 32px 32px;
    background-position: left 5% top 40%, right 5% top 40%, left 5% bottom 20%, right 5% bottom 20%, top;
    margin-bottom: 0;

}


.section2_ttl_area {
    width: 100%;
    position: relative;
    margin-bottom: 5rem;
}

.section2_ttl_area img {
    width: 100%;
}

.white_back h4::first-letter {
    color: #db1625;
}

.white_back {
    background-color: rgb(255, 255, 255, 0.9);
    position: absolute;
    width: 100%;
    text-align: center;
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
    padding: 1em 0;
}

.border_ttl {
    border: #000 1px solid;
    display: inline-block;
    margin: 5% auto 2%;
    padding: 0 1em;
}

.blue_ttl {
    position: relative;
    color: #fff;
    background-color: #004d8f;
    display: inline-block;
    margin: 5% auto 2%;
    padding: 0 1em;
}

.blue_ttl::before {
    content: '';
    background-image: url("../images/point.svg");
    position: absolute;
    background-size: 100%;
    background-repeat: no-repeat;
    width: 10%;
    height: 150%;
    left: -3%;
    top: -90%;
}

.section2 span {
    color: #db1625;
}

.section2_content_box_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* justify-content: center; */
}

.section2_content_box_inner p {
    width: 50%;
}

.section2_content_box_inner picture {
    width: 48%;
    /* flex-grow: 1; */
}

.section2_btn {
    margin-top: 50px;
    text-align: center;
}

.section2_btn a {
    background-color: #db1625;
    text-align: center;
    display: inline-block;
    min-width: 200px;
    padding: 1em 3em .5em;
    transition: all .5s;
    margin-bottom: 100px;
}

.section2_btn a:hover {
    opacity: 0.8;
}

.section2_btn img {
    width: 8em;
    height: auto;
}

.section2_content_box {
    text-align: center;
}

.section2_txt_top1 {
    /* width: 60%; */
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: left;
    display: inline-block;
}

/* .section2{
    background-color: rgb(240, 240, 240);
} */

.shapedividers_com-4196 {
    overflow: hidden;
    position: relative;
    height: 150px;
}

.shapedividers_com-4196::before {
    content: '';
    font-family: 'shape divider from ShapeDividers.com';
    position: absolute;
    z-index: 3;
    pointer-events: none;
    background-repeat: no-repeat;
    bottom: -0.1vw;
    left: -0.1vw;
    right: -0.1vw;
    top: -0.1vw;
    background-size: 100% 105px;
    background-position: 50% 100%;
    background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none" viewBox="0 0 476.62 100.69"><path fill="%23ffffff" d="M476.62 100.69V0l-238.3 95.47L0 0v100.69Z"/></svg>');
}

@media (min-width:2100px) {
    .shapedividers_com-4196::before {
        background-size: 100% calc(2vw + 105px);
    }
}


@media (max-width: 767px) {
    .section2 {
        background-image: url(../images/unno_top_back.png);
        background-repeat: repeat;
        background-size: 32px 32px;
        background-position: top;
    }

    .section2_content_box {
        width: 90%;
        margin: 0 auto;
    }

    .section2_txt {
        text-align: left;
    }

    .border_ttl {
        margin: 10% auto 8%;
        padding: 0 .5em;
    }

    .section2_content_box_inner {
        flex-direction: column;
    }

    .section2_content_box_inner p {
        width: 100%;
        margin-bottom: 5%;
    }

    .section2_content_box_inner picture {
        width: 100%;
    }

    .section2_btn a {
        padding: 2em 3em 1.5em;
        margin-bottom: 50px;
    }

    .section2_btn img {
        width: 15em;
        height: auto;
    }

    .section2_txt_top1 {
        width: 100%;
    }

    .blue_ttl::before {
        background-size: 100%;
        width: 20%;
        height: 100%;
        left: -7%;
        top: -30%;
    }
}

@media (min-width: 1305px) {
    .section2_content_box_inner p {
        width: 62%;
    }

    .section2_content_box_inner picture {
        width: 38%;
    }
}

@media (min-width: 1365px) {
    .section2_content_box_inner p {
        width: 55%;
    }

    .section2_content_box_inner picture {
        width: 45%;
    }
}

/*セクション3
-------------------------------------*/

.section3 {
    background-image: repeating-linear-gradient(-45deg, #dbdbdb, #dbdbdb 0.05%, #e6e6e6 0.05%, #e6e6e6 1.5%);
    padding: 100px;
}

.section3 h4 {
    margin-bottom: 1em;
}

@media (max-width: 767px) {
    .section3 {
        padding: 50px 5%;
        margin-bottom: 70px;
    }

    .section3 .span-6:first-child {
        margin-bottom: 10px;
    }
}

/*セクション3 変更
-------------------------------------*/
.section3_change {
    margin: 100px auto;
    text-align: center;
}

.section3_link_sample {
    margin-bottom: 2em;
}

.section3_change a {
    transition: all 0.5s;
}

.section3_change a:hover {
    opacity: .8;
}


/*セクション4
-------------------------------------*/
.section4 {
    text-align: center;
}

.section4_slide {
    margin-top: 50px;
}


.section4_txt {
    margin: 30px auto 30px;
}

.section4_txt span {
    color: #db1625;
}

.section3 a.area_box {
    overflow: hidden;
    position: relative;
}

a.area_box {
    /* overflow: hidden; */
    position: relative;
}

.area_pic {
    overflow: hidden;
}

a.area_box img {
    transition: all .5s;
}

a.area_box:hover img {
    transform: scale(1.1);
}

.area_back {
    background-color: #fff;
}

.area_box p {
    background-color: #555252;
    width: 100%;
    /* position: absolute; */
    position: relative;
    color: #fff;
    /* z-index: 1; */
    /* bottom: 0;
    left: 50%;
    transform: translate(-50%, 0); */
    text-align: center;
    padding-left: .8em;
}

.section3 .area_box p {
    background-color: rgb(255, 231, 111, 0);
    background-color: rgb(255, 255, 255, .68);
    width: 100%;
    position: absolute;
    /* position: relative; */
    color: #fff;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    padding-left: .8em;
}

/* .area_box p.area_yonezawa {
    background-color: rgb(91, 62, 145, .68);
}

.area_box p.area_sendai {
    background-color: rgb(219, 22, 37, .68);
}

.area_box p.area_fukushima {
    background-color: rgb(241, 109, 70, .68);
} */

@media (max-width: 767px) {
    .section4 {
        width: 90%;
        margin: 0 auto 50px;
    }

    .section4_txt {
        text-align: left;
    }

    .section4 .row {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .section4 .col {
        width: 40%;
        margin: 0 2% 4%;
        flex: auto;
    }

    .area_box p {
        padding-left: .4 em;
    }
}

/*==================================================
スライダーのためのcss
===================================*/
.slider {
    /*横幅94%で左右に余白を持たせて中央寄せ*/
    width: 94%;
    margin: 0 auto;
}

.slider img {
    width: 100%;
    /*スライダー内の画像を横幅100%に*/
    height: auto;
}

/*slickのJSで書かれるタグ内、スライド左右の余白調整*/

.slider .slick-slide {
    margin: 0 10px;
}

/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev,
.slick-next {
    position: absolute;
    /*絶対配置にする*/
    top: 42%;
    cursor: pointer;
    /*マウスカーソルを指マークに*/
    outline: none;
    /*クリックをしたら出てくる枠線を消す*/
    border-top: 2px solid #666;
    /*矢印の色*/
    border-right: 2px solid #666;
    /*矢印の色*/
    height: 15px;
    width: 15px;
}

.slick-prev {
    /*戻る矢印の位置と形状*/
    left: -1.5%;
    transform: rotate(-135deg);
}

.slick-next {
    /*次へ矢印の位置と形状*/
    right: -1.5%;
    transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
    text-align: center;
    margin: 20px 0 0 0;
}

.slick-dots li {
    display: inline-block;
    margin: 0 5px;
}

.slick-dots button {
    color: transparent;
    outline: none;
    width: 8px;
    /*ドットボタンのサイズ*/
    height: 8px;
    /*ドットボタンのサイズ*/
    display: block;
    border-radius: 50%;
    background: #ccc;
    /*ドットボタンの色*/
}

.slick-dots .slick-active button {
    background: #333;
    /*ドットボタンの現在地表示の色*/
}


/*セクション5
-------------------------------------*/

.section5 {
    text-align: center;
    background-image: repeating-linear-gradient(-45deg, #ffe76f, #ffe76f 0.05%, rgb(255, 231, 111, 0.1) 0.05%, rgb(255, 231, 111, 0.1) 1.5%);
    padding: 100px 0;
}

.flow_flex_out {
    margin: 50px auto;
}

ul.flow_attention{
    display: inline-block;
    text-align: left;
    font-size: 16px;
    margin-top: 50px;
}

ul.flow_attention li{
    position: relative;
    padding-left: 16px;
    text-indent: -16px;
}

ul.flow_attention li::before{
    content: "※";
}


@media (max-width: 767px) {
    .section5 {
        padding-bottom: 50px;
    }

    .section5 .wrapper1100 {
        width: 90%;
        margin: 0 auto;
    }

    .flow_flex_out {
        width: 100%;
    }

}

/*セクション6
-------------------------------------*/
.contact_box {
    margin-top: 50px;
    text-align: center;
    background-color: #f2f2f2;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact_pic1 {
    width: 40%;
    max-width: 95px;
    margin: 2em auto;
}

.contact_pic1 img {
    width: 100%;
}

.row.contact_flex {
    align-items: stretch;
}

.section6_btn_box {
    position: relative;
    display: inline-block;
    max-width: 80%;
}

.over_btn {
    position: absolute;
    top: -5px;
    left: -5px;
    transition: all .3s;
}

.under_btn {
    position: relative;
}

.modal {
    display: block;
    width: 600px;
    width: 90%;
    max-width: 900px;
    /* height: 550px; */
    position: fixed;
    z-index: 100;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
}

.closed {
    display: none;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50;
    background: rgba(0, 0, 0, 0.6);
}

.modal-guts {
    overflow: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
    padding-bottom: 70px;
}

.popup_in {
    margin: 10px auto;
    display: flex;
    justify-content: space-around;
    width: 60%;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

.popup_in:last-child {
    border-bottom: none;
}

.room_info a {
    display: inline-block;
}

.room_name {
    font-weight: 700;
    margin-right: 10%;
}

.room_info_tel {
    margin-bottom: .4em;
    position: relative;
    text-align: center;
    background-color: #1f3558;
    min-width: 200px;
}

.room_info_tel a {
    color: #fff;

}

.room_info_tel a:hover {
    cursor: default;
}

.modal .close-button {
    position: absolute;
    z-index: 1;
    bottom: 10px;
    left: 50%;
    transform: translate(-50%, 0);
    border: 0;
    background: black;
    color: white;
    padding: 1em 2em;
    font-size: 1.3rem;
}

.room_info_web a {
    background-color: #ffe76f;
    padding: 5em auto;
    line-height: 3em;
    transition: all .5s;
    min-width: 200px;
    text-align: center;
}

.room_info_web a:hover {
    opacity: 0.8;
}



@media (max-width: 767px) {
    .popup_in {
        flex-direction: column;
    }

    .room_name {
        margin-bottom: .5em;
        margin-right: 0;
    }

    .modal {
        height: 550px;
        height: auto;
        max-height: 550px;
        padding-bottom: 80px;
        text-align: center;
        overflow-y: scroll;
    }

    .modal .close-button{
        position: relative;
        left: 100;
        right: 0;
        top: 0;
    }

    .modal-guts {
        padding-bottom: 0;
        padding-top: 50px;
    }

    .room_info_tel {
        /* padding-left: 20px; */
        width: 100%;
        min-width: 100%;
    }

    .room_info_web a {
        width: 100%;
        min-width: 100%;
    }

    .section6 {
        margin-bottom: 70px;
    }

    .contact_flex {
        width: 75%;
        max-width: 300px;
        margin: 0 auto;
    }

    .contact_box {
        margin-top: 20px;
    }

    .contact_pic1 {
        margin: 30px auto;
    }

}


@media (hover:hover) and (pointer:fine) {
    .section6_btn_box:hover .over_btn {
        transform: translate(5px, 5px);
    }
}

/*フッター
-------------------------------------*/

.foot_logo {
    width: 30%;
    margin: 1em auto;
    text-align: center;
}

.foot_logo img{
    width: 100%;
}

footer a:hover {
    text-decoration: underline;
}

footer hr {
    border-top: 1px solid #000;
}

footer .container {
    max-width: 100%;
    padding: 0;
}

ul.foot-nav {
    display: flex;
    justify-content: center;
}

ul.foot-nav>li>a {
    padding: .5em 1em;
}

ul.foot-nav>li::after {
    content: '|';
}

ul.foot-nav>li:last-child::after {
    content: '';
}

ul.foot-nav-in {
    padding-left: 2em;
    position: relative;
}

ul.foot-nav-in::before {
    border-left: 1px solid #000;
    position: absolute;
    left: 0;
}

ul.foot-nav-in li::before {
    content: '―';
    color: #000;
}

ul.foot-link {
    display: flex;
    justify-content: flex-end;
    margin: 2em auto;
}

ul.foot-link li a {
    padding: 0 2em;
    position: relative;
}

ul.foot-link li a::after {
    content: '';
    background-image: url(../images/out_icon.svg);
    background-size: 2rem;
    width: 2rem;
    height: 2rem;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(0, -50%);
}

.foot-logo {
    max-width: 450px;
}

footer a {
    position: relative;
    padding: 0 .2em .5em;
    display: inline-block;
    transition: .4s;
}

.foot-nav-in {
    position: relative;
}

.tate_line {
    position: absolute;
    width: .5px;
    height: 89%;
    background-color: #000;
    left: 2em;
    top: -4%;
}



@media (max-width: 767px) {
    .foot_logo {
        width: 80%;
        margin: 0 auto;
        text-align: center;
    }

    ul.foot-nav {
        display: none;
    }

    ul.foot-link {
        justify-content: center;
    }

    ul.foot-link li a::after {
        background-size: 1rem;
        width: 1rem;
        height: 1rem;
    }

}

@media (max-width: 350px) {
    ul.foot-link {
        flex-direction: column;
        text-align: center;
    }

}

@media (min-width: 768px) {
    a[href*="tel:"] {
        pointer-events: none;
        cursor: default;
        text-decoration: none;
    }
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: #cccccc;
}


/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 10%;
    right: 15px;
    z-index: 10;
}

#pagetop a {
    display: block;
    width: 80px;
    text-align: center;
}

@media (max-width: 900px) {
    #pagetop a {
        display: none;
    }
}

@media (min-width: 1365px) {
    #pagetop {
        bottom: 40px;
        /* right: 3%; */
    }
}

/* マンションリノベ */
#apartment section.apart_top_section {
    margin-bottom: 0;
    padding-top: 57px;
}

#apartment .section_ttl {
margin-top: 8em;
margin-bottom: .5em;
}

#apartment .section_ttl::before {
    background-image: url(../images/apartment/midashi-apart.svg);
    background-size: 2.5em;
    width: 2.5em;
    height: 2em;
    top: -2.2em;
}

.section_sub_ttl{
    text-align: center;
    font-size: 1.25em;
    margin-bottom: 30px;
}

.fix_link_section{
    position: fixed;
    right: 0;
    top: 230px;
    z-index: 10;
    cursor: pointer;
}

.web_reserv, .tel_reserv{
    width: 63px;
    height: 124px;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.web_reserv{
    border-top-left-radius: 10px;
    background-color: #004d8f;
}

.tel_reserv{
    border-bottom-left-radius: 10px;
    background-color: #005a2c;
}

@media (max-width: 768px) {
    .fix_link_section{
        display: none;
    }

    #apartment .section_ttl{
        font-size: 2.4em;
    }

    .section_sub_ttl{
        font-size: 2em;
    }

    #apartment .section_ttl:first-child {
        margin-top: 5em;
        }
}

/* apart_ttl_section */

#apartment .section2_ttl_area {
    margin-bottom: 0;
}

.apart_ttl_section .wrapper1100 {
    position: relative;
}

#apartment .green_back {
    position: relative;
    background: #96a68b;
    background: linear-gradient(180deg, #96a68b 0%, #96a68b 90%, #fff 90%, #fff 100%);
    padding-top: 30px;
    text-align: center;
}

.apart_ttl_right {
    text-align: right;
    margin-bottom: 1em;
    margin-right: 1em;
}

#apartment .apart_ttl_box {
    text-align: center;
    color: #fff;
    margin: 0 auto;
    margin-bottom: 30px;
    font-size: 1.5em;
    display: inline-block;
}

#apartment .apart_ttl_box p{
    letter-spacing: 0.15em;
}

#apartment .apart_ttl_box h2 {
    margin: 0.1em auto;
    color: #fff;
    font-size: 9rem;
}

.apart_shikiri img {
    width: 100%;
}

.apart_ttl_madori {
    max-width: 835px;
    margin: 0 auto;
}

.apart_txt {
    text-align: center;
    margin: 50px auto;
}

.apart_txt p{
    font-size: 16px;
}

.youtube {
	aspect-ratio: 16 / 9;
    position: relative;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.youtube iframe {
	position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

@media (min-width: 1000px) {

    #apartment .apart_ttl_box p{
        font-size: 24px;
    }
    
    #apartment .apart_ttl_box h2 {
        font-size: 98px;
    }

    .apart_ttl_pic {
        position: absolute;
        top: 45vw;
        top: 650px;
        width: 100%;
        max-width: 979px;
        left: 50%;
        transform: translate(-50%, 0);
    }

    #apartment .green_back {
        background: none;
        padding-top: 150px;
        padding-bottom: 900px;
        margin-bottom: 80px;
        top: -100px;
    }

    #apartment .green_back::after {
        content: '';
        position: absolute;
        left: 0;
        top: 0;

        /*四角形を傾けます*/
        transform: skewY(4deg);
        transform-origin: top right;

        z-index: -1;
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg, #96a68b 0%, #96a68b 80%, #d6dcd2 80%, #d6dcd2 100%);
    }
}

@media (min-width: 1365px) {

    .apart_ttl_pic {
        top: 650px;
    }

    #apartment .green_back {
        padding-bottom: 950px;
        margin-bottom: 50px;
    }
}

@media (max-width: 767px) {
    #apartment .white_back{
        padding: 2em 0;
    }

    #apartment .apart_ttl_box{
        width: 100%;
    }

    #apartment .apart_ttl_box p{
        font-size: 1.3em;
        letter-spacing: 0.05em;
    }

    #apartment .apart_ttl_box h2{
        font-size: 4.2em;
    }

    #apartment .white_back h4 {
        font-size: 2.8em;
    }

    .apart_ttl_right{
        margin-right: 1.5em;
        margin-bottom: 0.5em;
    }

    .apart_txt p{
        text-align: left;
        font-weight: normal;
    }
}

@media (max-width: 550px) {

    #apartment .apart_ttl_box p{
        font-size: 1.2em;
    }
}

/* apartmentメインセクション共通 */

.apart_ba_box{
    position: relative;
    width: 100%;
    padding-bottom: 50vw;
}


.apart_before_pic{
    position: relative;
text-align: left;
width: 70%;
}

.apart_before_pic::before{
    position: absolute;
    left: 0;
    top: 0;
    content: "";
    background-image: url(../images/apartment/before.svg);
    background-size: 100%;
    background-repeat: none;
    width: 90px;
    height: 27px;
}

.apart_after_pic{
    position: absolute;
    width: 90%;
right: 0;
bottom: 0;
text-align: right;
}

.apart_after_pic::before{
    position: absolute;
    left: 0;
    top: 0;
    content: "";
    background-image: url(../images/apartment/after.svg);
    background-size: 100%;
    background-repeat: none;
    width: 100px;
    height: 30px;
}

.lightbox_cont ul{
display: flex;
justify-content: space-between;
}

.lightbox_cont ul li{
    margin-right: 2%;
    width: 25%;
    }

    .lightbox_cont ul li:last-child{
        margin-right: 0;
    }


@media (min-width: 768px) {
    .apart_ba_box{
        padding-bottom: 20vw;
    }
    
    .apart_before_pic{
    width: 45%;
    }
    
    .apart_after_pic{
        width: 60%;
    }

    /* .apart_before_pic::before{
        width: 105px;
        height: 27px;
    }

    .apart_after_pic::before{
        width: 150px;
        height: 42px;
    } */
}

@media (min-width: 600px) {

    .apart_before_pic::before{
        width: 105px;
        height: 27px;
    }

    .apart_after_pic::before{
        width: 150px;
        height: 42px;
    }
}

@media (min-width: 1150px) {
    .apart_ba_box{
        padding-bottom: 240px;
    }
}

/* sanitary_section */

.sanitary_section .apart_ba_box{
    padding-bottom: 40vw;
}

.sanitary_section .apart_before_pic{
width: 50%;
}

.sanitary_section .apart_after_pic{
    width: 60%;
}

.sanitary_section .lightbox_cont{
margin-top: 50px;
}

.sanitary_section .lightbox_cont ul li{
    margin-right: 1%;
    width: 16.6%;
    }

    .sanitary_section .lightbox_cont ul li:last-child{
        margin-right: 0;
    }

@media (min-width: 768px) {
    .sanitary_section .apart_ba_box{
        max-width: 780px;
        margin: 0 auto;
        padding-bottom: 200px;
    }
    
    .sanitary_section .apart_before_pic{
    width: 40%;
    }
    
    .sanitary_section .apart_after_pic{
        width: 55%;
    }
}

@media (min-width: 1150px) {
    .sanitary_section .apart_ba_box{
        padding-bottom: 220px;
    }
}

/* .apart_planner_section */

.apart_planner_section .row{
    align-items: center;
}

.apart_planner_section p{
    font-size: 1.2em;
    font-size: 18px;
    text-align: justify;
}

.apart_planner_section p.planner_yakusyoku{
    margin-top: 1em;
    font-size: 1em;
}

.apart_planner_section p.planner_name{
    font-size: 1.6em;
}

@media (max-width: 950px) {
    .apart_planner_section .row{
        flex-direction: column-reverse;
    }

    .apart_planner_section .row .col.span-7, .apart_planner_section .row .col.span-5{
        max-width: 100%;
    }

    .apart_planner_section img{
        width: auto;
        margin: 0 auto 30px;
        display: block;
    }

    .apart_planner_section p{
        /* font-size: 2em; */
        font-weight: normal;
    }
    
    .apart_planner_section p.planner_yakusyoku{
        font-size: 16px;
        font-weight: 500;
    }
    
    .apart_planner_section p.planner_name{
        font-weight: 500;
        font-size: 24px;
    }

    
}

/* apart_modelroom_section */
.apart_modelroom_section{
    margin-bottom: 200px;
}

.apart_modelroom_section .row{
    align-items: flex-end;
}

.shop_ttl{
    font-size: 24px;
}

.shop_address {
    margin-top: 30px;
    font-size: 20px;
}

.shop_address a{
    display: inline-block;
}

.shop_address span{
    padding-left: 1em;
}

.map_area iframe{
    height: 50vw;
    max-height: 430px;
}

.bottom_link_section{
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.web_reserv_btn, .tel_reserv_btn{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    padding: 0.7em 2em 0.3em;
    cursor: pointer;
}

.web_reserv_btn{
    margin-right: 3em;
    background-color: #ffe76f;
    box-shadow: 5px 5px #e6e6e6;
}

.tel_reserv_btn{
    background-color: #008052;
    box-shadow: 5px 5px #fff5c5;
}

@media (max-width: 767px) {
.shop_box_out{
    text-align: center;
}

.shop_box{
    display: inline-block;
    text-align: left;
}

    .shop_address {
        font-size: 16px;
        font-weight: normal;
    }

    .shop_address span{
        /* display: block; */
        font-weight: 500;
    }
    
    .row.bottom_link_section{
        flex-direction: column;
        align-items: center;
    }

    .web_reserv_btn{
        margin-right: 0;
        margin-bottom: 2em;
    }

    .web_reserv_btn, .tel_reserv_btn{
        padding-top: 2em;
        padding-bottom: 2em;
    }

    .web_reserv_btn img, .tel_reserv_btn img{
        width: 200px;
    }
}

@media (max-width: 400px) {
    .shop_address span{
        display: block;
        padding-left: 0;
    }
}