.clearfix {
    clear: both
}
#main-image {
    width: 100%
}
h1 {
    color: #33437b;
    font-weight: 900;
    position: relative
}
h1 #catchcopy {
    position: absolute;
    top: 20%;
    left: 20px;
    margin: 0;
    padding: 0
}
h1 #catchcopy #level1 {
    font-size: 2rem
}
h1 #catchcopy #level2 {
    margin-top: 1em;
    font-size: 1.5rem
}
h1 #catchcopy #level3 {
    margin-top: 0.5em;
    font-size: 1.2rem
}
section .tabs .nav-tabs {
    border: none;
    margin-top: 15px
}
section .tabs .nav-tabs .nav-item {
    width: 20%;
    text-align: center;
    font-size: 1.1rem;
    border-left: 1px solid #000
}
section .tabs .nav-tabs .nav-item a {
    color: #000
}
section .tabs .nav-tabs .nav-item:first-child {
    border-left: 0
}
section .tabs .nav-tabs #nav-tab1,
section .tabs .nav-tabs #nav-tab2,
section .tabs .nav-tabs #nav-tab3,
section .tabs .nav-tabs #nav-tab4,
section .tabs .nav-tabs #nav-tab5 {
    background-color: #fff !important
}
section .tabs .nav-tabs #nav-tab1:hover,
section .tabs .nav-tabs #nav-tab2:hover,
section .tabs .nav-tabs #nav-tab3:hover,
section .tabs .nav-tabs #nav-tab4:hover,
section .tabs .nav-tabs #nav-tab5:hover {
    background-color: #f2f2f2
}
section .tab-content > div > p {
    margin-left: 0;
    margin-right: 0;
    padding-left: 30px;
    padding-right: 30px
}
section .tab-content h2,
section .tab-content h3 {
    clear: both;
    padding: 0.3rem;
    color: #000;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
    font-size: 1.5rem
}
section .tab-content h2 {
    font-weight: bold;
    padding: 1rem 0
}
section .tab-content h3 {
    font-size: 120%;
    font-weight: bold;
    padding: 0.75rem 0
}
section .tab-content .item-title {
    font-weight: bold
}
section .tab-content figure {
    margin-bottom: 20px
}
section .tab-content figure figcaption {
    text-align: center;
    font-size: 100%;
    padding: 5px 0
}
section .tab-content .summary {
    clear: both;
    border: solid 2px;
    border-radius: 60px;
    padding: 3em;
    width: 95%;
    margin: 20px auto
}
section .tab-content .summary .summary_title {
    color: 0;
    text-align: center;
    padding: 1em;
    margin-bottom: 20px
}
section .tab-content .summary ul {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    padding: 0;
    margin: 10px -5px
}
section .tab-content .summary ul li {
    list-style: none;
    border: 1px solid #ccc;
    width: 50%;
    margin: 0 5px;
    padding: 10px
}
section .tab-content .summary ul li p {
    margin: 0
}
section .tab-content .summary ul li.book1 {
    overflow: hidden;
    position: relative;
    background-color: #eaeaea
}
section .tab-content .summary ul li.book1 img {
    width: 120px;
    float: right;
    margin-left: 10px;
    transform: rotate(20deg);
    position: absolute;
    right: 0;
    top: -5px
}
section .tab-content .summary ul li.book1 div {
    padding-right: 140px
}
section .tab-content .summary ul li.book1 p {
    font-size: 0.8em;
    padding-right: 140px
}
section .tab-content .summary .present {
    font-size: 85%
}
section .tab-content .name {
    font-size: 0.9rem;
    padding-bottom: 10px
}
section .tab-content .qualification {
    font-size: 0.7rem;
    padding-bottom: 10px
}
section .tab-content .company {
    font-size: 0.7rem
}
section .tab-content #tab1 .summary {
    border-color: #ccc
}
section .tab-content #tab1 .summary .summary_sub_title a {
    color: #000
}
section .tab-content #tab1 .summary .summary_sub_title a:visited {
    color: #000
}
section .tab-content #tab1 .summary ul li {
    border-color: #ccc
}
section .tab-content #tab2 img#family {
    width: 33%;
    float: right
}
section .tab-content #tab2 ol {
    margin-bottom: 1rem
}
section .tab-content #tab2 #storage-images {
    padding: 0 15px;
    display: flex;
    flex-wrap: wrap;
    align-content: stretch
}
section .tab-content #tab2 #storage-images figure {
    margin-right: 1px
}
section .tab-content #tab2 #storage-images figure img {
    max-width: 121px;
    margin-bottom: 10px
}
section .tab-content #tab2 #storage-images figure img.double-width {
    max-width: 242px
}
section .tab-content #tab2 #storage-images figure figcaption {
    text-align: center
}
section .tab-content #tab2 #storage-images figure figcaption .category {
    font-size: 0.8rem;
    font-weight: bold
}
section .tab-content #tab2 #storage-images figure figcaption .item {
    font-size: 0.7rem
}
section .tab-content #tab2 .summary {
    border-color: #ccc
}
section .tab-content #tab2 .summary .summary_sub_title a {
    color: #000
}
section .tab-content #tab2 .summary .summary_sub_title a:visited {
    color: #000
}
section .tab-content #tab2 .summary ul li {
    border-color: #ccc
}
section .tab-content #tab3 .sub_title.education {
    background-color: #eee
}
section .tab-content #tab3 #education-area {
    padding: 30px
}
section .tab-content #tab3 #education-area #shimanto-photo {
    width: 120px;
    margin-right: 20px;
    margin-bottom: 20px
}
section .tab-content #tab3 #education-area #books-photo {
    width: 350px;
    display: block;
    margin: 0 auto
}
section .tab-content #tab3 .summary {
    border-color: #ccc
}
section .tab-content #tab3 .summary .summary_sub_title a {
    color: #000
}
section .tab-content #tab3 .summary .summary_sub_title a:visited {
    color: #000
}
section .tab-content #tab3 .summary .txt_navy {
    color: #fff
}
section .tab-content #tab3 .summary ul li {
    border-color: #ccc
}
section .tab-content #tab4 #subsidy-table {
    display: block;
    border-collapse: collapse;
    font-size: 80%;
    border-left: 1px solid #333;
    border-bottom: 1px solid #333
}
section .tab-content #tab4 #subsidy-table th,
section .tab-content #tab4 #subsidy-table td {
    border-top: 1px solid #333;
    border-right: 1px solid #333
}
section .tab-content #tab4 #subsidy-table th {
    width: 20%;
    text-align: center
}
section .tab-content #tab4 #subsidy-table .bg-color {
    background-color: #eaeaea
}
section .tab-content #tab4 #subsidy-table td {
    vertical-align: top
}
section .tab-content #tab4 #subsidy-table td.top-none {
    border-top: none
}
section .tab-content #tab4 #subsidy-table p {
    margin-bottom: 0
}
section .tab-content #tab4 #subsidy-table #tax-rate {
    display: flex;
    justify-content: center
}
section .tab-content #tab4 #subsidy-table #tax-rate table {
    text-align: center;
    border: 1px solid #333
}
section .tab-content #tab4 #subsidy-image {
    display: none
}
#henkeici section .tabs .nav-tabs .nav-item {
    width: 50%
}
#henkeici section .tabs .tab-content #architecture-area {
    display: flex;
    padding-right: 15px;
    padding-left: 15px
}
#henkeici section .tabs .tab-content #architecture-area #architecture-area-left {
    flex-grow: 1;
    padding-right: 15px
}
#henkeici section .tabs .tab-content #architecture-area #architecture-area-right {
    display: flex;
    padding-left: 15px
}
#henkeici section .tabs .tab-content #architecture-area #architecture-area-right #architect-profile {
    width: 10rem;
    text-align: right;
    padding-right: 15px;
    align-self: flex-end;
    font-size: 80%
}
#henkeici section .tabs .tab-content #architecture-area #architecture-area-right #architect-photo {
    width: 200px;
    height: auto
}
#henkeici section .tabs .tab-content #architecture-area #architecture-area-right #architect-photo img {
    max-width: 100%
}
#nigiwai section .tabs .nav-tabs .nav-item {
    width: 50%
}
#nigiwai section .tabs .tab-content #architecture-area {
    display: flex;
    padding-right: 15px;
    padding-left: 15px
}
#nigiwai section .tabs .tab-content #architecture-area #architecture-area-left {
    flex-grow: 1;
    padding-right: 15px
}
#nigiwai section .tabs .tab-content #architecture-area #architecture-area-left .architecture-title {
    font-weight: bold
}
#nigiwai section .tabs .tab-content #architecture-area #architecture-area-right {
    padding-left: 15px
}
#nigiwai section .tabs .tab-content #architecture-area #architecture-area-right #architect-profile {
    padding-top: 10px;
    padding-right: 15px
}
#nigiwai section .tabs .tab-content #architecture-area #architecture-area-right #architect-photo {
    width: 200px;
    height: auto
}
#nigiwai section .tabs .tab-content #architecture-area #architecture-area-right #architect-photo img {
    max-width: 100%
}
@media(max-width: 1024px) {
    .navbar-light .navbar-toggler {
        background: whitesmoke;
        margin: 10px
    }
    section .tabs .nav-tabs .nav-item {
        font-size: 0.8rem
    }
    section .tabs .tab-content .summary ul {
        display: block
    }
    section .tabs .tab-content .summary ul li {
        width: 100%;
        margin: 10px 0
    }
    section .tabs .tab-content #tab4 #subsidy-table {
        display: none
    }
    section .tabs .tab-content #tab4 #subsidy-image {
        display: block
    }
}
@media(max-width: 768px) {
    section .tabs .nav-tabs {
        display: block
    }
    section .tabs .nav-tabs .nav-item {
        width: 100%
    }
    section .tabs .nav-tabs .nav-item a {
        font-size: 1.5rem
    }
    section .tabs .nav-link {
        padding: 0.2rem 0.5rem
    }
    section .tabs h2 {
        font-size: 1.5rem
    }
    section .tab-content .summary {
        padding: 1.2em;
    }
    @media(max-width: 576px) {
        h1 #catchcopy {
            top: 20%;
            left: 10px
        }
        h1 #catchcopy #level1 {
            font-size: 1.2rem
        }
        h1 #catchcopy #level2 {
            margin-top: 1em;
            font-size: 0.8rem
        }
        h1 #catchcopy #level3 {
            margin-top: 0.5em;
            font-size: 0.7rem
        }
        section .tabs .nav-tabs {
            display: block
        }
        section .tabs .nav-tabs .nav-item {
            width: 100%
        }
        section .tabs .nav-tabs .nav-item a {
            font-size: 1rem
        }
        section .tabs .tab-content .sub_title {
            font-size: 1rem
        }
        section .tabs .tab-content #tab2 #storage-images figure img {
            max-width: 80px
        }
        section .tabs .tab-content #tab2 #storage-images figure img.double-width {
            max-width: 160px
        }
        section .tabs .tab-content .summary ul li.book1 img {
            width: 80px
        }
        section .tabs .tab-content .summary ul li.book1 div {
            padding-right: 100px
        }
        section .tabs .tab-content .summary ul li.book1 p {
            padding-right: 100px
        }
        #henkeici section .tabs .nav-tabs .nav-item {
            width: 100%
        }
        #henkeici section .tabs .tab-content #tab3 #architecture-area {
            display: block
        }
        #henkeici section .tabs .tab-content #tab3 #architecture-area #architecture-area-left {
            padding-right: 0
        }
        #henkeici section .tabs .tab-content #tab3 #architecture-area #architecture-area-right {
            padding-left: 0;
            display: block;
            width: 200px;
            margin: 0 auto
        }
        #henkeici section .tabs .tab-content #tab3 #architecture-area #architecture-area-right #architect-profile {
            text-align: center;
            padding-right: 0;
            padding-bottom: 5px;
            width: auto
        }
        #nigiwai section .tabs .nav-tabs .nav-item {
            width: 100%
        }
        #nigiwai section .tabs .tab-content #tab3 #architecture-area {
            display: block
        }
        #nigiwai section .tabs .tab-content #tab3 #architecture-area #architecture-area-left {
            padding-right: 0
        }
        #nigiwai section .tabs .tab-content #tab3 #architecture-area #architecture-area-right {
            padding-left: 0
        }
        #nigiwai section .tabs .tab-content #tab3 #architecture-area #architecture-area-right #architect-photo {
            text-align: center;
            width: 200px;
            margin: 0 auto
        }
        #nigiwai section .tabs .tab-content #tab3 #architecture-area #architecture-area-right #architect-profile {
            text-align: center;
            padding-right: 0;
            padding-bottom: 5px;
            width: auto
        }
    }
    .photo_cap {
        font-size: 80%
    }