:root {
    --primary-color: #651631;
    --box-shadow: rgba(9, 10, 12, 0.1) 0px 8px 16px -2px,
        rgba(9, 10, 12, 0.02) 0px 0px 0px 1px;
    --boder-color: #7a7a7a;
    --inner-width: 900px;
    --min-margin: 8px;
}

@media (max-width: 769px) {
    :root {
        --inner-width: 100%;
    }
}


html,
body {
    font-size: 16px;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

body {
    background-color: #ffffff;
    color: var(--primary-color);
    margin: 0;
    padding: 0;
    font-family: "Hiragino maru Gothic ProN W4",
        "Hiragino Kaku Gothic Pro",
        "Hiragino Sans",
        "arial",
        "Meiryo",
        "MS PGothic",
        sans-serif !important;
    width: 100vw;
}

/* nav */

nav.main-nav {
    display: flex;
    justify-content: center;
    padding: 40px;
}

nav.main-nav a {
    color: var(--primary-color);
}

.main-nav-list {
    display: flex;
    padding: 0 36px 0 18px;
    border-radius: 60px;
    align-items: center;
    background-color: #fff;
    width: var(--inner-width);
    justify-content: space-between;
}

.main-nav-list li {
    padding: 4px 24px;
    font-size: 16px;
}

/*.main-nav-list li:last-child {
    background-color: var(--primary-color);
}

.main-nav-list li:last-child a {
    color: #fff;
}*/

.menu-logo-img {
    height: 2.5rem;
    margin-top: 6px;
}

@media (max-width: 769px) {
    /*nav.main-nav {
        display: none;
    }*/
}

/* top */
body {
    background-position:
        /*bottom center, center center*/
        center calc(100% + 20px), center center;
    background-attachment: local;
    background-size: 100% auto, 100% auto;
    background-repeat: no-repeat, repeat;
}

.artriam-kv-back {
    width: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background-size: 100%;
    background-repeat: no-repeat;
    z-index: -100;
    aspect-ratio: 1921 / 1231;
}

.purpose-inner {
    position: relative;
}

.purpose-inner:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.75;
    z-index: -1;
    background-color: currentColor;
}

.artriam-back-2 {
    width: 100%;
    background-size: 100%;
    background-repeat: no-repeat;
    z-index: -110;
    position: absolute;
    /*aspect-ratio: 1921 / 2124;*/
}

.artriam-kv {
    height: 70vh;
    display: flex;
    align-items: center;
}

.purpose-box {
    margin: 20px auto;
    width: 550px;
    margin-top: 25px;
}

.purpose-inner {
    aspect-ratio: 16 / 9;
    backdrop-filter: blur(5px);
    box-shadow: var(--box-shadow);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 16px;
}

.purpose {
    font-size: 2.5rem;
    text-align: center;
}

.purpose .emp {
    font-weight: bold;
    font-size: 2.75rem;
}

@media (max-width: 769px) {
    .purpose-box {
        width: 100%;
    }

    .purpose {
        font-size: 1.5rem;
    }

    .purpose .emp {
        font-size: 2rem;
    }
}

/* service */

section.service {}

/* news */

.news-list {
    padding: 0;
}

.news-item {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid var(--boder-color);
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: .5rem;
}

.news-date {
    font-size: .9rem;
    width: 6rem;
}

.news-tags {
    width: 12rem;
}

.news-tags a {
    padding: 8px 24px;
    border-radius: 20px;
    font-size: .85rem;
    color: #fff;
    background-color: var(--primary-color);
}

.news-title a {
    font-size: 1rem;
    color: var(--primary-color);
}

/* contact */

section.contact .inner {
    padding-top: 10vh;
    padding-bottom: 30vh;
}

/* footer */
#footer {
    background-color: transparent;
    color: #fff;
}

#footer a {
    color: #fff;
}

.footer-bottom {
    margin: 0;
}

.footer-navigation {
    width: var(--inner-width);
    margin: 0 auto;
}

.footer-menu-list {
    display: flex;
    margin: 32px 24px 0;
    padding: 0;
}

.footer-menu-list li {
    margin-right: 40px;
}

.footer-menu-list li:last-child {
    margin-left: auto;
    margin-right: 0;
}

.copyright {
    margin: 32px 0 12px 0;
    font-size: .75rem;
}

.footer-bottom.fdt-up-and-down .footer-bottom-content {
    float: none;
    display: block;
    text-align: center;
}

@media (max-width: 769px) {
    .copyright {
        margin: 8px 0 0;
    }

    .footer-menu-list {
        margin: 0;
        flex-direction: column;
    }
}


/* common */

.btn {
    text-align: center;
}

section .inner {
    width: var(--inner-width);
    margin: 0 auto;
    padding: 40px 0;
}

section.center .inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title-box {
    display: flex;
}

.section-title-box.right {
    flex-direction: row-reverse;
}

.section-title-box h2 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.85rem;
    margin-bottom: 2rem;
}

.section-title-box h2 span {
    font-size: .75rem;
    font-weight: normal;
}

.section-card-box {
    display: flex;
    align-content: space-between;
    flex-wrap: wrap;
    width: var(--inner-width);
    margin: 32px 0;
}

.section-card,
.section-card-column {
    padding: 24px 32px 40px;
    border-radius: 20px;
    background-color: #fff;
    width: 100%;
}

.section-card-column {
    width: calc((var(--inner-width) - (16px * 3)) / 2);
    aspect-ratio: sqrt(2) / 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0 8px 8px;
}

.section-card-column h3 {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.section-card-column hr {
    margin: 1rem 0 1.5rem;
}

.section-card-column p {
    font-size: .9rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    opacity: .75;
}

.section-card-column .copy {
    line-height: 1.5rem;
    margin-bottom: 1rem;
}

.section-card-column .btn {
    display: block;
}

section .btn {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px;
    border-radius: 50px;
    font-size: .95rem;
    min-width: 200px;
}

section .btn.btn-lg {
    font-size: 1.25rem;
    min-width: 400px;
}

section table.table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    margin-bottom: 20px;
    max-width: 100%;
}

section table.table tr,
section table.table tr th,
section table.table tr td {
    background-color: transparent;
    border: none;
    padding: 12px;
}

section table.table tr {
    border-bottom: 1px solid var(--boder-color);
}

.card {
    width: 100%;
    background-color: #fff;
    border-radius: 20px;
    margin-left: 2rem;
    padding: 16px 24px;
}

.card:first-child {
    margin-left: 0;
}

@media (max-width: 769px) {

    section .inner,
    section.contact .inner {
        padding: 48px 16px;
    }

    .section-card-column {
        width: 100%;
        margin: 0 0 16px 0;
    }

    section .btn.btn-lg {
        min-width: 260px;
    }
}

/* custome */

.logo.logo-footer.logo-text {
    display: none
        /* 設定で非表示にできないか */
}

/* helper */

.d-flex {
    display: flex;
}

.d-flex .col-30 {
    width: 30%;
}

.d-flex .col-40 {
    width: 40%;
}

.d-flex .col-60 {
    width: 60%;
}

.d-inline {
    display: inline-block;
}

.flex-right {
    display: flex;
    flex-direction: row-reverse;
}

.text-left {
    text-align: left;
}

.font-size125 {
    font-size: 1.25rem;
}

.font-size-20 {
    font-size: 2rem;
}

.font-weight-bold {
    font-weight: bold;
}

.w-100 {
    width: 100%;
}

.my-15 {
    margin: 1.5rem 0;
}

.mt-3 {
    margin-top: 3rem;
}

.mt-4 {
    margin-top: 4rem;
}

/*.paper {
    position: relative;
}

.paper::after {
    position: absolute;
    right: 2px;
    bottom: 5px;
    content: '';
    width: 45%;
    height: 10px;
    background: #aaa;
    box-shadow: 0 6px 12px #aaa;
    transform: rotate(3deg);
    z-index: -1;
}*/

/* 簡易版 */
.main-nav-box {
    display: flex;
    justify-content: center;
}

nav.main-nav {
    width: var(--inner-width);
    justify-content: flex-start;
}

.main-nav-list {
    padding: 0 18px;
    width: auto;
}

@media (max-width: 769px) {
    nav.main-nav {
        justify-content: center;
        padding: 20px;
        padding-bottom: 0;
    }
}