:root {
    /* Base font size */
    font-size: 100%; /* Default 16px */

    /* Base bg color */
    --base-bg-color: #fcf9f2;

    /* Base text color */
    --base-txt-color: #4f3318;

    /* Breadcrumb color */
    --breadcrumb-active-color: #4f3318;
    --breadcrumb-inactive-color: #7b7b7b;

    /* Section nav color */
    --section-nav-active-color: #4f3318;
    --section-nav-inactive-color: #7b7b7b;

    /* Member card color */
    --card-border-color: #4f3318;
    --card-txt-color: #4f3318;
    --card-underline-color: #4f3318;
}

html, body {
    margin: 0;
    padding: 0;
}

/* === Define style === */
html {
    scroll-snap-type: y mandatory;
}

/* === Page base layout === */
body {
    /* Theme */
    background-color: var(--base-bg-color);

    /* Layout config */
    display: grid;
    grid-template-columns: repeat(12, 1fr);
}

/* === Breadcrumb === */
.breadcrumb {
    /* UI config */
    cursor: default;
    
    /* Layout config */
    grid-column: 1 / 3;
}

.breadcrumb__inner {
    /* Layout config */
    list-style: none;
    white-space: nowrap;

    display: flex;
    flex-direction: row;
    margin-top: 2.5rem;

    /* Font config */
    color: var(--breadcrumb-inactive-color);
    font-family: 'Exo 2', sans-serif;
    font-weight: bold;
    font-size: 1.2rem;
}

.breadcrumb__link {
    /* UI config */
    text-decoration: none;
    color: inherit;
}

.breadcrumb__link:hover {
    /* Font config */
    color: var(--breadcrumb-active-color);
}

.breadcrumb__item + .breadcrumb__item::before {
    /* Layout config */
    margin-left: 0.5rem;
    margin-right: 0.5rem;

    /* Font config */
    content: "›";
    color: var(--breadcrumb-inactive-color);
}

.breadcrumb__inner > li[aria-current="page"] {
    /* Font config */
    color: var(--breadcrumb-active-color);
}

/* === Section Navigation === */
.section-nav {
    /* Layout config */
    position: fixed;
    top: 5.5rem;
    left: 0.5rem;
}

.section-nav__inner {
    /* Font config */
    list-style: none;
}

.section-nav__inner li {
    /* Layout config */
    margin-top: 5.5rem;
    padding-bottom: 0.5rem;
}

.section-nav__inner a {
    /* Font config */
    text-decoration: none;
    color: var(--section-nav-inactive-color);
    font-family: 'Exo 2', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    font-style: italic;
    letter-spacing: 0.05rem;

    /* Hover animation */
    position: relative;
}

.section-nav__inner a:hover {
    /* Font config */
    color: var(--section-nav-active-color);
}

.section-nav__inner a::after {
    /* Layout config */
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -6px;
    left: 0;

    /* Font config */
    background-color: var(--section-nav-inactive-color);

    /* Underline animation */
    transition: .3s;
}

.section-nav__inner a:hover::after {
    /* Layout config */
    width: 100%;

    /* Font config */
    background-color: var(--section-nav-active-color);
}

/* === Shared Section Styles === */
.snap-container {
    /* UI config */
    cursor: default;

    /* Layout config */
    grid-column: 4 / 10;
}

section {
    /* Layout config */
    scroll-snap-align: start;
    min-height: 100vh;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: clamp(4.5rem, 20vh, 10.5rem); /* TODO: 画面sizeによって調整が必要 */

    /* Font config */
    color: var(--base-txt-color);
    font-family: 'Exo 2', sans-serif;
}

/* === Philosophy section === */
.philosophy__inner h1 {
    /* Layout config */
    text-align: center;

    /* Font config */
    font-size: 5.5rem;
    font-style: italic;
    letter-spacing: 0.1rem;
}

.philosophy__inner p {
    /* Layout config */
    text-align: center;

    /* Font config */
    font-size: 2.5rem;
    word-spacing: 0.1rem;
}

/* === What We Do section === */
.what-we-do__inner h1 {
    /* Layout config */
    text-align: center;
    white-space: nowrap;

    /* Font config */
    font-size: 5.5rem;
    font-style: italic;
    word-spacing: 0.2rem;
}

.what-we-do__inner p {
    /* Layout config */
    text-align: center;

    /* Font config */
    font-size: 2.5rem;
    word-spacing: 0.1rem;
}

/* === Our Members Section === */
.members {
    /* Layout config */
    padding-top: clamp(4.5rem, 5vh, 10.5rem); /* TODO: 画面sizeによって調整が必要 */
}

.members h1 {
    /* Layout config */
    text-align: center;
    white-space: nowrap;

    /* Font config */
    font-size: 4.5rem;
    font-style: italic;
    word-spacing: 0.5rem;
}

/* --- Member Cards UI --- */
.members__cards {
    /* Layout config */
    display: flex;
    gap: 7.5rem;
    justify-content: center;
    flex-wrap: nowrap;
    margin-top: 3.5rem;
}

.member-card {
    /* UI config */
    border: 2px solid var(--card-border-color);
    border-radius: 8px;

    /* Layout config */
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    padding-left: 5.5rem;
    padding-right: 5.5rem;

    display: flex;
    flex-direction: column;
    align-items: center;
    
    /* Font config */
    font-size: 1.5rem;
}

.member-card__icon {
    /* UI config */
    border: 2px solid var(--card-border-color);
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
}

.member-card__name,
.member-card__role,
.member-card__link {
    /* Layout config */
    text-align: center;
}

.member-card__role {
    /* Layout config */
    margin-top: 0.5rem;
}

.member-card__link {
    /* Font config */
    text-decoration: none;
    color: var(--card-txt-color);

    /* hover animation */
    position: relative;
}

.member-card__link::after {
    /* Layout config */
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -6px;
    left: 0;

    /* Hover animation */
    transition: .3s;
}

.member-card__link:hover::after {
    /* Layout config */
    width: 100%;

    /* Font config */
    background-color: var(--card-underline-color);
}