* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    overflow: auto;
}

body {
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    min-width: 1200px;
    overflow: hidden;
    text-size-adjust: none;
    -webkit-text-size-adjust: none;
    position: relative;
    color: #333;
}

main {
    margin-top: 64px;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

.bg-black {
    background-color: #0a0a0a;
}

.sp-only {
    display: none;
}

.sub-page .sub-inner {
    padding: 60px 0;
}

header {
    position: fixed;
    width: 100%;
    z-index: 99;
    padding: 5px 20px;
    background-color: #897e6d;
    top: 0;
    min-width: 1200px;
}

header .head-wrap {
    display: flex;
    align-items: center;
    padding: 5px 0;
}

header .head-wrap .logo img {
    height: 34px;
}

.navi-btn-wrap {
    display: none;
}

header nav {
    margin-left: auto;
}

header nav ul {
    display: flex;
    list-style: none;
}

header nav ul li {
    margin-left: 30px;
}

header nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    text-align: center;
    font-size: 1.1em;
    line-height: 1;
}

header nav ul li a span {
    display: block;
    font-size: 0.75em;
    border-top: 2px solid;
    padding-top: 5px;
}

.container {
    width: 1000px;
    margin: auto;
}

.main-wrap {
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
    background: url(../img/main.jpeg);
    background-size: cover;
    position: relative;
    background-position: center;
}

h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    white-space: nowrap;
    width: 70%;
}

.normal h1 span {
    display: flex;
    align-items: center;
}

.normal h1 img {
    height: 100px;
}

#top-news h2 {
    color: #000;
}

#top-news h2 span {
    color: #000;
}

h2 {
    font-size: 2.2em;
    position: relative;
    margin-bottom: 20px;
    color: #fff;
}

h2 span {
    font-size: 0.6em;
    margin-left: 10px;
}

h2 img {
    position: absolute;
    top: 50%;
    left: -40px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    height: 24px;
}

#top-news {
    padding: 40px 0;
    background-color: #fff;
}

#top-news .news-list {
    margin-top: 30px;
}

#top-news .news-list article {
    margin-bottom: 20px;
}

#top-news .news-list h3 {
    background-color: #897e6d;
    display: flex;
    padding: 12px 15px;
    cursor: pointer;
    border: 1px solid #707070;
    font-size: 1em;
    color: #fff;
}

#top-news .news-list h3 .date {
    border-right: 1px solid #fff;
    padding-right: 20px;
    margin-right: 30px;
    flex-shrink: 0;
    -webkit-flex-shrink: 0;
}

#top-news .news-list h3 .arrow {
    margin-left: auto;
}

#top-news .news-list h3 .arrow.open {
    display: none;
}

#top-news .news-list .active h3 .arrow.open {
    display: block;
}

#top-news .news-list .active h3 .arrow.close {
    display: none;
}

#top-news .news-list .news-cts {
    background-color: #fff;
    color: #333;
    padding: 25px 60px;
    padding-bottom: 10px;
    border: 1px solid #707070;
    border-top: none;
    display: none;
}

#top-news .news-list .news-cts .date {
    font-weight: bold;
    margin-bottom: 5px;
}

#top-news .news-list .news-cts .title {
    font-weight: bold;
}

#top-news .news-list .news-cts .cts {
    margin-top: 5px;
    line-height: 1.8;
}

#top-news .news-list .news-cts .cts a {
    color: #f7f5f5;
}

#top-news .news-list .news-cts .close-wrap {
    text-align: center;
    margin-top: 30px;
}

#top-news .news-list .news-cts .close {
    display: inline-block;
    cursor: pointer;
}

#top-news .news-list .news-cts .close img {
    height: 30px;
}

#top-news .news-list .news-cts .close span {
    display: block;
    font-size: 0.7em;
    margin-top: 2px;
    font-weight: bold;
}

.pagination {
    text-align: center;
    margin-top: 60px;
}

.pagination .page-numbers {
    text-decoration: none;
    border: 2px solid #897e6d;
    font-weight: bold;
    color: #3b3b3b;
    height: 50px;
    min-width: 55px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 2px;
    padding: 5px;
}

.pagination .page-numbers.current {
    background-color: #897e6d;
    border-color: #897e6d;
    color: #fff;
}

.pagination .page-numbers.next,
.pagination .page-numbers.prev {
    border: none;
    min-width: 30px;
    padding: 0;
    color: #897e6d;
}

#top-business {
    background-color: #897e6d;
    color: #fff;
    padding: 40px 0;
}

#top-business .lead {
    font-weight: bold;
    font-size: 1.2em;
    margin-top: 30px;
    line-height: 2;
}

#top-business .business-cts {
    margin-top: 30px;
    font-weight: bold;
}

#top-business .business-cts h3 {
    font-size: 1.4em;
    margin-bottom: 10px;
}

#top-business .business-cts div {
    margin-left: 22px;
    font-size: 1.4em;
}

#useful-house{
    background-color: #433c34;
    color: #fff;
    padding: 40px 0;
}

#useful-house .detail-area{
    font-size: 1.2em;
    line-height: 2;
    font-weight: bold;
}

.office-bg {
    background: url(../img/office_bg.jpg);
    background-size: cover;
    position: relative;
}

.office-bg::after {
    content: '';
    background-color: rgba(82, 79, 74, .6);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.office-bg .container {
    position: relative;
    z-index: 1;
}

#top-company {
    padding-top: 40px;
    color: #fff;
}

#top-company .img-area {
    position: relative;
}

#top-company .img-area>img {
    opacity: 0.7;
    max-height: 700px;
    width: 100%;
    object-fit: cover;
    object-position: bottom;
}

#top-company .img-area .container {
    height: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    padding: 40px 0;
    display: flex;
    flex-flow: column;
}

#top-company .company-name {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 4.6em;
    font-weight: bold;
}

#top-company .detail-area {
    padding: 40px 0;
    text-align: center;
}

#top-company .detail-area h3 {
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
}

#top-company .detail-area .company-detail {
    display: inline-block;
    text-align: left;
    min-width: 70%;
}

#top-company .detail-area table {
    font-size: 1.2em;
    line-height: 2;
}

#top-company .detail-area table th {
    text-align: left;
    font-weight: normal;
    padding-right: 30px;
    padding-bottom: 10px;
    vertical-align: top;
}

#top-company .detail-area table td {
    padding-bottom: 10px;
}

#top-company .detail-area table td a {
    color: #fff
}

#top-map {
    position: relative;
    padding: 40px 0;
}

#top-map {
    background-size: cover;
}

#top-map .map-wrap {
    margin-top: 40px;
    padding-bottom: 60px;
}

#top-map iframe {
    height: 500px;
    width: 100%;
}

footer {
    background-color: #897e6d;
    color: #fff;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 15px;
}

footer .copyright {
    font-size: 0.9em;
}

#page-top {
    position: fixed;
    right: 4%;
    bottom: 8%;
    z-index: 99;
}

#page-top img {
    height: 20px;
}

#contact h2 {
    color: #333;
}

#contact .lead {
    line-height: 2;
    margin-top: 40px;
    text-align: center;
}

#contact .form-area {
    margin-top: 30px;
}

#contact .form-area table {
    width: 100%;
    border-collapse: collapse;
}

#contact .form-area table th {
    background-color: #897e6d;
    color: #fff;
    width: 30%;
    padding: 15px;
    border: 1px solid #ccc;
}

#contact .form-area table th>div {
    display: flex;
    align-items: center;
}

#contact .form-area table th>div .required {
    background-color: #433c34;
    color: #fff;
    margin-left: auto;
    font-size: 0.8em;
    padding: 2px 6px;
}

#contact .form-area table td {
    border: 1px solid #ccc;
    padding: 15px;
}

#contact .form-area table td input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
}

#contact .form-area table td textarea {
    font-size: 1em;
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: vertical;
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
}

#contact .form-area .btn-wrap {
    text-align: center;
    margin-top: 50px;
}

#contact .form-area .btn-wrap .wpcf7-spinner {
    display: none;
}

#contact .form-area .btn-wrap input {
    background-color: #433c34;
    font-weight: bold;
    color: #fff;
    border: none;
    width: 240px;
    padding: 15px;
    font-size: 1em;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
}

#contact .form-area .btn-wrap input:hover{
    opacity: 0.8;
}

#contact span.wpcf7-not-valid-tip {
    margin-top: 5px;
}

#contact div.wpcf7-validation-errors,
#contact .wpcf7 form .wpcf7-response-output{
    color: #dc3232;
}

#contact div.wpcf7-validation-errors,
#contact .wpcf7 form .wpcf7-response-output,
#contact div.wpcf7-mail-sent-ok {
    border: none;
    text-align: center;
}

#contact div.wpcf7 .ajax-loader {
    display: block;
}

#contact .recaptcha-msg {
    text-align: center;
    margin-top: 40px;
}

#contact .recaptcha-msg a {
    color: #333;
    margin: 0 5px;
}

.grecaptcha-badge {
    visibility: hidden;
}
