@charset "utf-8";

@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP');

/* 基本レイアウト ここから↑ */
.topinner {
    height: 80px;
    width: 90%;
    margin: 0 auto 30px auto;
    display: flex;
    justify-content: space-between;
}

.logotop h1 {
    margin: 10px;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding-left: 0;
    overflow: hidden;
}


main h1 {
    margin: 0 0 30px 0;
    padding: 35px 20px;
    background-image: url(../images/h1line.svg);
    background-repeat: repeat-x;
    background-position: left bottom;
    font-size: 24px;
}

main {
    margin: 110px auto 30px auto;
}

article {
    max-width: 1000px;
    margin: 0 auto;
}

address {
    font-style: normal;
    text-align: center;
}

table {
    margin: 50px auto;
    width: 90%;
    border-collapse: collapse;
}

table td {
    padding: 20px;
}

table th, table td {
    border-top: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
    font-size: 16px;
    text-align: left;
    white-space: nowrap;
}

input[type="text"],input[type="email"],input[type="tel"] {
    padding: 10px;
    width: 300px;
}

textarea {
    padding: 10px;
    width: 300px;
    height: 120px;
    overflow-y: scroll;
}

#req {
    background-color: rgb(235, 0, 50);
    color: #ffffff;
    font-size: 80%;
    border: 1px solid rgb(235, 0, 50);
    border-radius: 5px;
    padding: 5px;
    margin-right: 20px;
    display: inline;
    opacity: 85%;
}

#fr {
    background-color: grey;
    color: #ffffff;
    font-size: 80%;
    border: 1px solid grey;
    border-radius: 5px;
    padding: 5px;
    margin-right: 20px;
    display: inline;
    opacity: 85%;
}

.send {
    text-align: center;
    margin-bottom: 50px;
}

/* 基本レイアウト ここまで↑ */

/* トップページ ここから↓ */

.topimg {
    margin-top: 120px;
    padding-top: 773px;
    background-image: url(../images/exterior2_bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.topimg .smimg {
    display: none;
}

.indexmain {
    margin-top: 40px !important;
    width: 1300px;
    display: flex;
}

#topics {
    width: 70%;
    margin: 0 10%;
}

#topics dl {
    padding: 15px;
    background-color: #ffffff;
    border-bottom: 1px dotted #202020;
}

#topics dl dt time {
    display: inline-block;
    width: 148px;
    font-weight: bold;
    text-indent: 0;
}

#topics dl dd {
    color: #333333;
}

/* トップページ ここまで↑ */

/* 物件一覧 ここから↓ */
#pro01,#pro02,#pro03 {
    padding-top: 100px;
    margin-top: -100px;
}
.scroll {
    width: 400px;
    height: 300px;
    position: relative;
    border: 1px solid lightgray;
}

.scroll ul {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    white-space: nowrap;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.scroll img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.scroll li {
    list-style: none;
    display: inline-block;
    scroll-snap-align: center;
    width: 100%;
    height: 100%;
}

.arrow {
    top: 0;
    position: absolute;
    width: 8%;
    height: 100%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
}

.arrow:before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-left: 4px solid rgb(36, 36, 36);
    border-bottom: 4px solid rgb(36, 36, 36);
}

.left {
    left: 0px;
}

.left:before {
    top: calc(50% - 10px);
    left: calc(50% - 4px);
    transform: rotate(45deg);
}

.right {
    right: 0px;
}

.right:before {
    top: calc(50% - 10px);
    right: calc(50% - 6px);
    transform: rotate(-135deg);
}

@media screen and (max-width:480px) {
    .scroll ul {
        overflow-x: auto;
    }
}

th {
    text-align: left;
}

td a {
    display: inline-block;
    width: 170px;
    text-align: center;
    margin-right: 10px;
}

@media screen and (max-width:480px) {
    .table__btns {
        padding: 10px 1%;
    }
}

#btn {
    border-radius: 5px;
    background-color: white;
    padding: 10px;
    text-decoration: none;
    color: #202020;
    border: 2px solid #666666;
    margin-right: 10px;
    box-shadow: 0 5px 3px 0 #202020;
    transition: all .3s;
}

#btn:hover {
    box-shadow: none;
    background-color: #888888;
    color: #ffffff;
}

#inbtn {
    border-radius: 5px;
    background-color: white;
    padding: 10px;
    text-decoration: none;
    color: #202020;
    border: 2px solid #ffee00;
    box-shadow: 0 5px 3px 0 gold;
    transition: all .3s;
    width: 150px;
}

#inbtn:hover {
    box-shadow: none;
    background-color: gold;
    color: #ffffff;
}
/* 物件一覧 ここまで↑ */

/* 査定お申込み ここから↓ */


/* 査定お申込み ここまで↑ */

/* 会社概要 ここから↓ */

.comimg {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.comtb {
    width: 900px;
}

.comtb th,.comtb td {
    border: 1px solid grey;
} 

.comtb th {
    width: 200px;
    text-align: center;
}

/* 会社概要 ここまで↑ */

/* 送信関係 ここから↓ */

dl {
    width: 90%;
    padding: 5px 10px;
    color: black;
    background-color: #f7f7f7;
}

dt {
    padding: 10px;
}

dd {
    padding: 15px;
}

.cs {
    border-radius: 5px;
    background-color: white;
    padding: 10px 20px;
    margin-right: 8px;
    text-decoration: none;
    color: #202020;
    border: 2px solid #ffee00;
    box-shadow: 0 5px 3px 0 gold;
    transition: all .3s;
}

.cs:hover {
    box-shadow: none;
    background-color: gold;
    color: #ffffff;
}

.back {
    border-radius: 5px;
    background-color: white;
    padding: 10px 20px;
    text-decoration: none;
    color: #202020;
    border: 2px solid #666666;
    margin-right: 10px;
    box-shadow: 0 5px 3px 0 #202020;
    transition: all .3s;
}

.back:hover {
    box-shadow: none;
    background-color: #888888;
    color: #ffffff;
}

#comment {
    font-size: 16px;
}


/* 送信関係 ここまで↑ */


/* レスポンシブ ここから↓ */

@media (max-width: 768px) {
    * {
        margin: 0;
        padding: 0;
    }

    #contents, header, nav, footer {
        width: 100%;
    }

    .logotop {
        text-align: center;
        width: 100%;
        height: 50px;
        margin-bottom: 30px;
    }

    .logotop a {
        display: block;
        height: 0;
    }

    .topinner {
        display: table;
        margin-bottom: 0;
    }
    

    .topimg {
        padding-top: 0;
        background-image: url(../images/exterior2-1_sm.jpg);
        margin-top: 160px;
        height: auto;
        background-size: contain;
        background-repeat: no-repeat;
    }

    .topimg .smimg {
        display: block;
        width: 100%;
        height: auto;
    }

    main {
        width: auto;
    }

    .indexmain {
        margin: 0 auto;
        display: block;
        width: 95%;
        flex-shrink: 0;
    }
    
    .indexmain img {
        margin-top: 10px;
    }

    nav ul li#nav_property,nav ul li#nav_assessment,nav ul li#nav_company,nav ul li#nav_inquiry {
        width: 35%;
    }
    
    nav ul li#nav_property a,nav ul li#nav_assessment a,nav ul li#nav_company a,nav ul li#nav_inquiry a {
        height: auto;
        margin: 0;
        padding-top: 7px;
        padding-bottom: 7px;
        background-color: #ffffff;
        color: #202020;
        font-size: 16px;
        text-decoration: none;
        text-align: center;
        box-sizing: border-box;
    }

    #topics {
        margin: 0 auto;
        width: 98%;
    }

    #topics dl dd {
        font-size: 15px;
    }

    
    #topics dl dt time {
        width: auto;
        font-weight: normal;
        margin-right: 10px;
    }

    #pagetop {
        bottom: 10px;
        right: 15px;
        position: fixed;
    }

    table th, table td {
        display: block;
        padding: 10px 20px;
        width: 100%;
        margin: 0 auto;
    }

    table th {
        height: 50px;
    }

    #protb {
        display: block;
        padding: 0;
        margin: 0 auto 20px auto;
        width: 90%;
        background-color: #ffffff;
    }

    
    .scroll {
        width: 95%;
        height: 95%;
        object-fit: contain;
    }

    .inqtb td:nth-child(odd) {
        background-color: #eeeeee;
    }

    #aform td:nth-child(odd) {
        background-color: #eeeeee;
    }

    #comment  {
        margin: 10px;
    }

    #btn, #inbtn {
        width: 150px;
        margin-bottom: 10px;
    }

    .comimg {
        display: block;
        text-align: center;
    }

    .comtb th, .comtb td {
        display: block;
        padding: 10px 0;
        margin: 0 auto;
        width: 90%;

    }
    
    .comtb {
        width: 100%;
        text-align: center;
        margin: 20px auto;
    }

    .commap {
        width: 100%;
    }

    
    input[type="submit"] {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }

}
