@charset "UTF-8";

main h1 {
    line-height: 250px;
    width: auto;
    margin: auto;
    padding: 0;
    border: none;
    background: url(../images/top_photo.jpg) no-repeat left top;
    background-size: auto 100%;
}
@media screen and (min-width:1001px) {
    main h1 {
        line-height: 500px;
        background-size: cover;
    }
}
main h1 img {
    vertical-align: middle;
}
main > p {
    margin: 30px 5% 60px 5%;
    text-align: left;
}

@media screen and (min-width:1001px) {
    main > p {
        margin: 50px auto 80px auto;
        text-align: center;
    }
}


/*--------------------------------------------

 税理士紹介

--------------------------------------------*/
@media screen and (min-width:1001px) {
    #about {
        display: flex;
    }
}
#about div {
    padding-left: 0;
    border-left: none;
}
@media screen and (min-width:1001px) {
    #about h2 {
        -webkit-writing-mode: vertical-rl;
        -ms-writing-mode: tb-rl;
        writing-mode: vertical-rl;
        margin-right: 70px;
        padding: 30px 0 0 0;
        background: url(../images/title_back_v.gif) no-repeat top center;
    }
    #about tr:first-child td {
        border-top: 2px solid #81C254;
    }
}
#about tr:first-child th {
    border-top: 2px solid #81C254;
}
#about td {
    width: 100%;
}
#about p {
    margin-top: 30px;
}


/*--------------------------------------------

 事務所紹介

--------------------------------------------*/
div td iframe {
    border: none;
}
@media screen and (max-width:1000px) {
    div td iframe {
        width: 100%;
        height: 400px;
        margin-top: 0.3em;
    }
}
@media screen and (min-width:1001px) {
    div td iframe {
        width: 715px;
        height: 300px;
    }
}
div td a {
    color: #000;
    text-decoration: none;
}
div td a:hover {
    text-decoration: underline;
}