@charset "utf-8";

/* =========================================================================================
LAYOUT
=========================================================================================*/
.entry-content {
    position: relative;
}
.entry-content section:nth-of-type(1) /*ページの一番最初のsection*/ {
    padding-top: 50px;
}
.entry-content section:nth-last-of-type(1) /*ページの一番最最後のsection*/ {
    padding-bottom: 150px;
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 468px) {
}

/* =========================================================================================
PAGE HEADER
=========================================================================================*/
.page-header {
    min-height: 200px;
    background: var(--color-main);
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-block: 20px;
    margin: 0;
    position: relative;
    z-index: 1;
}
.page-header .page-title {
	color:#fff;
    text-align: center;
    font-weight: var(--weight-bold);
    letter-spacing: 0.025em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
}
.page-header .page-title .jp {
    font-size: 2.5rem;
    line-height: 1.4;
    margin: 0;
}
.page-header .page-title .en {
    font-size: 1rem;
    line-height: 1;
}

@media only screen and (max-width: 820px) {
    .page-header .page-title .jp {
        font-size: clamp(1.625rem, calc(0.888rem + 3.146vw), 2.5rem); /* min: 26px, max: 40px */
    }
}
@media only screen and (max-width: 468px) {
}

/* =========================================================================================
COMPANY
=========================================================================================*/
/* -----------
greeting
------------*/
body.company .greeting .flex-box {
    display: flex;
    flex-wrap: nowrap;
    gap: 50px;
}
body.company .greeting .flex-box .photo {
    text-align: center;
    max-width: 300px;
    min-width: 200px;
}
body.company .greeting .flex-box .message {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
body.company .greeting .flex-box .message .signature {
    margin-top: 1em;
}
body.company .greeting .flex-box .message .post {
    text-align: right;
}
body.company .greeting .flex-box .message .name {
    text-align: right;
    font-size: 1.5em;
}

@media only screen and (max-width: 820px) {
    body.company .greeting .flex-box {
        flex-wrap: wrap;
        justify-content: center;
    }
    body.company .greeting .flex-box .item {
        width: 100% !important;
    }
}
@media only screen and (max-width: 468px) {
}

/* -----------
overview
------------*/
body.company .overview table {
    width: 100%;
    max-width: 900px;
    margin: auto;
    border-spacing: 0;
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}
body.company .overview th,
body.company .overview td {
    text-align: left;
    padding: 1em;
    border-bottom: 1px solid #ccc;
}
body.company .overview th {
    background: #ddd;
    width: 200px;
}
body.company .overview .file-list li + li {
    margin-top: 0.5em;
}
body.company .overview .file-list li a[target="_blank"] {
    padding-right: 1.5em;
    background: url(../images/common/icon_file.svg) no-repeat right;
    background-size: 1em;
}
@media only screen and (max-width: 820px) {
    body.company .overview th,
    body.company .overview td {
        display: block;
    }
    body.company .overview th {
        width: 100%;
    }
}
@media only screen and (max-width: 468px) {
}

/* -----------
access
------------*/
body.company .access .flex-box {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    justify-content: space-around;
}
body.company .access .flex-box + .flex-box {
    margin-top: 100px;
}
body.company .access .flex-box .map {
    width: calc(100% - 400px);
}
body.company .access .flex-box .map iframe {
    width: 100% !important;
    max-height: 400px !important;
}

@media only screen and (max-width: 820px) {
    body.company .access .flex-box {
        flex-direction: column-reverse;
        gap: 10px;
    }
    body.company .access .flex-box .item {
        width: 100% !important;
    }
    body.company .access .flex-box .map iframe {
        max-height: 300px !important;
    }
}
@media only screen and (max-width: 468px) {
}

/* -----------
history
------------*/
body.company .history .history-block {
    padding-left: 75px;
    width: 100%;
    max-width: 900px;
    margin: auto;
    position: relative;
}
body.company .history .history-block::before {
    content: "";
    width: 3px;
    height: 100%;
    background: #ccc;
    position: absolute;
    top: 20px;
    left: 24px;
}
body.company .history .history-block dl {
    display: flex;
    justify-content: left;
    gap: 30px;
    align-items: start;
}
body.company .history .history-block dl + dl {
    margin-top: 50px;
}
body.company .history .history-block dt {
    font-size: clamp(1.625rem, calc(1.098rem + 2.247vw), 2.25rem); /* min: 26px, max: 36px */
    font-weight: var(--weight-black);
    line-height: 1;
    white-space: nowrap;
    position: relative;
}
body.company .history .history-block dt::before {
    content: "";
    width: 18px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: #ccc;
    position: absolute;
    top: 0.375em;
    left: -58px;
}

@media only screen and (max-width: 820px) {
    body.company .history .history-block {
        padding-left: 60px;
    }
    body.company .history .history-block dl {
        flex-direction: column;
        gap: 15px;
    }
    body.company .history .history-block dt::before {
        top: 0.3em;
        left: -43px;
    }
}
@media only screen and (max-width: 468px) {
    body.company .history .history-block {
        padding-left: 26px;
    }
    body.company .history .history-block::before {
        left: 5px;
    }
    body.company .history .history-block dt::before {
        top: 0.25em;
        left: -28px;
    }
}

/* =========================================================================================
CONTACT
=========================================================================================*/
body.contact #main .inner {
    max-width: var(--contents-width-small);
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 468px) {
}

/* =========================================================================================
Search
=========================================================================================*/
/* -----------
search-area
------------*/
body.search .search-area {
    padding-bottom: 0;
    margin-block: 0;
}
body.search .search-area .inner {
    padding-block: 2em;
    background: var(--color-gray);
}
body.search .search-area form {
    display: grid;
    grid-template-columns: 1fr 60px;
    gap: 30px;
    align-items: center;
    width: 90%;
    margin: auto;
}
body.search .search-area input[type="text"] {
    background-color: #fff;
    transition: 0.5s;
}
body.search .search-area input[type="submit"] {
    color: #fff;
    text-indent: -9999px;
    width: 60px;
    min-width: auto;
    aspect-ratio: 1 / 1;
    background: var(--color-main) url(../images/common/icon_search.svg) no-repeat center;
    background-size: 40%;
    border-radius: 50%;
    padding: 0;
    margin: 0;
}
body.search .search-area input[type="submit"]:hover {
    opacity: 0.8;
    transition: 0.3s;
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 468px) {
}

/* -----------
result-area
------------*/
body.search .result-area .search-count {
    color: var(--color-base-font);
    font-size: 1.5rem;
    text-align: center;
    display: block;
    margin-bottom: 1em;
}
body.search .result-area .post-list {
    margin-bottom: 50px;
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 468px) {
}

/* =========================================================================================
404
=========================================================================================*/
body.error404 .entry-header {
    text-align: center;
    padding: 40px 20px;
    margin: 0;
}
body.error404 .error-message {
    text-align: center;
    padding: 20px;
    margin-bottom: 30px;
}
body.error404 .error-message p img {
    max-width: 300px;
    margin: 0 auto 50px;
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 468px) {
}

/* =========================================================================================
********
=========================================================================================*/
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 468px) {
}
