@charset "UTF-8";

/* ===============================================
  About — KANAMSとは（ページ固有のみ）
  共通: common/css/base.css, project.css, layout.css 等
=============================================== */

/* ==============================
  Background（#background）
============================== */
.background__image {
    display: block;
    width: 100%;
    aspect-ratio: 480 / 270;
    object-fit: cover;
    border-radius: 10px;
    opacity: 0.9;
}

.background__promo {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding: 2em;
    background: var(--color-light-gray);
    border-radius: 0.625em;
}

.background__promo-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5em;
    width: 100%;
}

.background__promo-map {
    width: 4em;
    height: auto;
    flex-shrink: 0;
}

.background__promo-content {
    width: 100%;
    min-width: 0;
}

.background__promo-title {
    font-size: 1.364em;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.35;
    margin-bottom: 0.25em;
}

.background__promo-link {
    align-self: flex-end;
}

/* ==============================
  Philosophy（#philosophy）
============================== */
#philosophy .sec-ttl {
    border-bottom: none;
}

.philosophy__grid {
    border-top: 1px solid var(--color-dark-gray);
}

.philosophy__row {
    display: grid;
    grid-template-columns: 1fr;
    border-bottom: 1px solid var(--color-dark-gray);
}

.philosophy__cell {
    display: flex;
    flex-direction: column;
    padding: 2em 1.5em 3.5em 1em;
}

.philosophy__cell + .philosophy__cell {
    border-left: none;
    border-top: 1px solid var(--color-dark-gray);
}

.philosophy__label {
    font-family: "Oswald", sans-serif;
    font-size: 1em;
    font-weight: 500;
    color: var(--color-primary);
    letter-spacing: 0.06em;
    margin-bottom: 0.75em;
}

.philosophy__label--dark {
    color: var(--color-text);
    margin-bottom: 0;
}

.philosophy__statement {
    flex: 1;
    display: flex;
    align-items: center;
    padding-inline-start: 2vw;
    font-size: 1.2em;
    font-weight: 700;
    letter-spacing: 0.033em;
    line-height: 1.45;
}

@media (min-width: 768px) {
    .philosophy__statement {
        font-size: 1.5em;
    }
}
@media (min-width: 1024px) {
    .philosophy__statement {
        padding-inline-start: 0;
        justify-content: center;
        text-align: center;
        font-size: 1.818em;
    }
}

.philosophy__text {
    flex: 1;
    display: flex;
    align-items: center;
    padding-inline-start: 2vw;
    font-size: 1.227em;
    letter-spacing: 0.049em;
    line-height: 1.9;
}

.philosophy__concept > .philosophy__label--dark {
    padding: 6em 0 2em;
    font-size: 1.1em;
}

.philosophy__concept-lead {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 4em;
    align-items: start;
    width: 100%;
    max-width: 42em;
    margin-inline: auto;
    padding-bottom: 1.5rem;
}

.philosophy__symbol {
    justify-self: center;
}

.philosophy__symbol img {
    width: 100%;
    max-width: 12em;
}

.philosophy__heading-wrap {
    min-width: 0;
}

.philosophy__heading {
    font-size: clamp(2.182em, 6vw, 2.727em);
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.35;
    margin-bottom: 1em;
    text-align: center;
}

.philosophy__heading ruby {
    ruby-position: over;
    ruby-align: center;
}

.philosophy__heading rt {
    font-size: 0.35em;
    font-weight: 400;
    letter-spacing: 0.06em;
    line-height: 1;
    text-align: center;
}

.philosophy__tagline {
    font-size: 1.1em;
    letter-spacing: 0.06em;
    line-height: 1.9;
}

.philosophy__concept-desc {
    padding-bottom: clamp(2rem, 5vw, 3rem);
}

/* ==============================
  Message（#message / #staff）
============================== */
#message {
    background: var(--color-light-gray);
}

.message__card {
    background: var(--color-white);
    border-radius: 0.625em;
    padding: 2em;
}

.message__card + .message__card {
    margin-top: 1.5em;
}

.message__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5em;
    align-items: start;
}

.message__profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.message__photo {
    width: 100%;
    max-width: 20.3125em;
    aspect-ratio: 325 / 430;
    background: var(--color-light-gray);
    border-radius: 10px;
    overflow: hidden;
}

.message__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.message__role {
    font-weight: 700;
    margin-top: 1em;
    width: 100%;
    text-align: center;
}

.message__name {
    display: flex;
    justify-content: center;
    width: 100%;
    min-height: 2.75em;
    margin-top: 0.5em;
}

.message__name img {
    height: 2.75em;
    width: auto;
    max-width: 100%;
}

@media (max-width: 1023px) {
    .message__photo {
        width: 70%;
        margin-inline: auto;
    }

    .message__name {
        min-height: calc(2.75em * 0.7);
    }

    .message__name img {
        height: calc(2.75em * 0.7);
    }
}

.message__heading {
    font-size: 1.227em;
    font-weight: 700;
    letter-spacing: 0.049em;
    line-height: 1.5;
    margin-bottom: 0;
    word-break: break-all;
}

#staff {
    margin-top: 2em;
}

.staff__heading {
    font-size: 1.818em;
    font-weight: 700;
    letter-spacing: 0.033em;
    line-height: 1.45;
    text-align: center;
}

.staff__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3em;
}

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

.staff__head {
    width: 100%;
    min-height: calc(0.818em * 1.6 * 2);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.staff__dept {
    font-size: 0.818em;
    letter-spacing: 0.073em;
    line-height: 1.6;
    text-align: center;
}

.staff__photo {
    width: 70%;
    aspect-ratio: 1;
    margin-top: 1em;
    margin-inline: auto;
    border-radius: 50%;
    overflow: hidden;
}

.staff__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff__name {
    margin-top: 0.75em;
    font-family: "Oswald", sans-serif;
    font-size: 1em;
    font-weight: 700;
    letter-spacing: 0.073em;
    text-align: center;
    color: var(--color-primary);
}

.staff__catch {
    width: 100%;
    margin-top: 1em;
    font-size: 0.818em;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.9;
}

.staff__text {
    width: 100%;
    margin-top: 0.75em;
    font-size: 0.818em;
    letter-spacing: 0.06em;
    line-height: 1.9;
}

/* ==============================
  Company（#company）
============================== */
.company__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5em;
    padding-block: 1.875em;
    padding-inline: 2.25em 1.5em;
}

.company__row:nth-child(even) {
    background: var(--color-light-gray);
    border-radius: 0.25em;
}

.company__term {
    font-weight: 700;
    line-height: 2;
    white-space: nowrap;
}

.company__desc {
    min-width: 0;
    word-break: break-word;
}

.company__note {
    font-size: 0.818em;
    color: var(--color-dark-gray);
    letter-spacing: 0.06em;
    line-height: 1.9;
}

/* ==============================
  Responsive（min-width = タブレット以上）
============================== */
@media (min-width: 768px) {
    .background__promo {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 1.5rem 2.5rem;
        padding: 3em;
    }

    .background__promo-main {
        flex-direction: row;
        align-items: center;
        gap: 2em;
        flex: 1 1 17.5rem;
        min-width: 0;
        width: auto;
    }

    .background__promo-link {
        align-self: center;
    }

    .philosophy__tagline {
        font-size: 1.182em;
    }

    .message__card {
        padding: 3em;
    }

    .message__card + .message__card {
        margin-top: 2em;
    }

    .message__layout {
        gap: 3em;
    }

    .staff__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.5em;
    }

    .staff__photo {
        width: 100%;
        max-width: 15em;
    }

    .company__row {
        grid-template-columns: 6em minmax(0, 1fr);
        gap: 6em;
    }
}

@media (min-width: 1024px) {
    .background__image {
        max-width: 30em;
    }

    .philosophy__row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .philosophy__grid > .philosophy__row:first-child {
        grid-template-columns: 1fr;
    }

    .philosophy__cell + .philosophy__cell {
        border-left: 1px solid var(--color-dark-gray);
        border-top: none;
    }

    .philosophy__concept-lead {
        grid-template-columns: minmax(8rem, 12em) minmax(0, 1fr);
        column-gap: 7.5rem;
        row-gap: 0;
        align-items: center;
        padding-bottom: 3rem;
    }

    .philosophy__symbol {
        justify-self: start;
    }

    .philosophy__heading {
        margin-bottom: 1.5em;
    }

    .message__layout {
        grid-template-columns: minmax(0, 1fr) minmax(8.75rem, 14.21875em);
        grid-template-rows: auto auto;
        column-gap: 3em;
        row-gap: 1.5em;
    }

    .message__heading {
        grid-column: 1;
        grid-row: 1;
    }

    .message__layout > .txt-group {
        grid-column: 1;
        grid-row: 2;
    }

    .message__profile {
        grid-column: 2;
        grid-row: 2;
        align-items: center;
        text-align: center;
    }

    .message__photo {
        width: 100%;
        max-width: 14.21875em;
        margin-top: 0.5em;
    }

    .message__name {
        min-height: calc(2.75em * 0.7);
    }

    .message__name img {
        height: calc(2.75em * 0.7);
    }

    .staff__list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
