@charset "UTF-8";

/* =========================
   Profile
========================= */

.profile-main {
    background-color: var(--color-white);
}

.profile {
    padding: 90px 20px 120px;

    background-image:
        url("../images/background/profile-bg.png");

    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}

.profile-inner {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

/* =========================
   Title
========================= */

.profile-title {
    margin: 0 0 70px;

    font-family: var(--font-base);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;

    color: var(--color-green);
}

.profile-title-sp {
    display: none;
}

/* =========================
   Layout
========================= */

.profile-content {
    display: grid;

    grid-template-columns:
        390px
        minmax(0, 1fr);

    gap: 90px;

    align-items: start;
}

/* =========================
   Left
========================= */

.profile-left {
    min-width: 0;

    text-align: center;
}

/* =========================
   Name
========================= */

.profile-name {
    width: 100%;
    text-align: center;
}

.profile-name-ja {
    margin: 0;

    font-family: var(--font-profile);
    font-size: 30px;
    font-weight: 500;
    line-height: 1.5;

    color: var(--color-text);
}

.profile-name-ja span {
    margin-left: 10px;

    font-size: 16px;
    font-weight: 400;
}

/* 英字 */

.profile-name-en {
    margin: 12px 0 0;

    font-family: var(--font-english);
    font-size: 27px;
    font-weight: 500;
    font-style: italic;
    line-height: 1.3;

    color: var(--color-green);

    transform: translateX(-6px);
}

/* 名前の下のゴールドライン */

.profile-name::after {
    content: "";

    display: block;

    width: 300px;
    max-width: 100%;
    height: 18px;

    margin: 14px auto 0;

    background-image:
        url("../images/illustration/profile-line01.png");

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* =========================
   Position
========================= */

.profile-position {
    width: fit-content;

    margin: 42px auto 0;

    text-align: left;
}

.profile-position p {
    font-family: var(--font-profile);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 0.03em;

    color: #9A7A2E;
}

.profile-position p + p {
    margin-top: 4px;
}

/* =========================
   Photo
========================= */

.profile-photo {
    position: relative;

    width: 350px;
    max-width: 100%;

    margin: 38px auto 0;
    padding: 8px;

    background-color: rgba(255, 255, 255, 0.92);

    border: 1px solid rgba(199, 162, 76, 0.45);
    border-radius: 24px;

    box-shadow:
        0 10px 28px rgba(55, 65, 81, 0.10);
}

.profile-photo::before {
    content: "";

    position: absolute;
    inset: -7px;
    z-index: -1;

    border: 1px solid rgba(199, 162, 76, 0.20);
    border-radius: 28px;
}

.profile-photo img {
    width: 100%;

    border-radius: 17px;
}

/* =========================
   Right
========================= */

.profile-right {
    min-width: 0;

    padding-top: 150px;
}

/* =========================
   Profile Item
========================= */

.profile-item + .profile-item {
    margin-top: 46px;
}

/* 見出し */

.profile-heading {
    position: relative;

    margin: 0 0 28px;
    padding-bottom: 13px;

    font-family: var(--font-profile);
    font-size: 28px;
    font-weight: 500;
    line-height: 1.4;

    color: var(--color-green);
}

/* 見出し下のゴールドライン */

.profile-heading::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 320px;
    height: 14px;

    background-image:
        url("../images/illustration/profile-line02.png");

    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
}

/* =========================
   Profile Text
========================= */

/* 学歴・職歴 */

.profile-item p {
    position: relative;

    padding-left: 1.5em;

    font-family: var(--font-base);
    font-size: 17px;
    font-weight: 400;
    line-height: 2;

    color: var(--color-text);
}

.profile-item p::before {
    content: "◆";

    position: absolute;
    left: 0;
    top: 0.2em;

    font-size: 0.8em;
    color: var(--color-gold-light);
}

/* =========================
   Profile List
========================= */

/* 資格・認定・所属 */

.profile-list li {
    position: relative;

    padding-left: 1.5em;

    font-family: var(--font-base);
    font-size: 16px;
    font-weight: 400;
    line-height: 2;

    color: var(--color-text);
}

.profile-list li::before {
    content: "◆";

    position: absolute;
    left: 0;
    top: 0.2em;

    font-size: 0.8em;
    color: var(--color-gold-light);
}

.profile-list li + li {
    margin-top: 2px;
}

/* ==================================================
   Tablet
   901px〜1100px
================================================== */

@media (min-width: 901px) and (max-width: 1100px) {

    .profile {
        padding: 80px 24px 100px;
    }

    .profile-inner {
        width: min(900px, 100%);
    }

    .profile-title {
        margin-bottom: 60px;

        font-size: 32px;
    }

    /* 2カラム */

    .profile-content {
        grid-template-columns:
            minmax(280px, 340px)
            minmax(0, 1fr);

        gap: 55px;
    }

    /* 名前 */

    .profile-name-ja {
        font-size: 27px;
    }

    .profile-name-ja span {
        font-size: 14px;
    }

    .profile-name-en {
        font-size: 24px;
    }

    /* 肩書き */

    .profile-position {
        margin-top: 34px;
    }

    .profile-position p {
        font-size: 18px;
    }

    /* 写真 */

    .profile-photo {
        width: min(100%, 310px);
    }

    /* 経歴 */

    .profile-right {
        padding-top: 125px;
    }

    .profile-heading {
        font-size: 24px;
    }

    .profile-item p {
        font-size: 15px;
        line-height: 1.9;
    }

    .profile-list li {
        font-size: 15px;
        line-height: 1.9;
    }
}

/* ==================================================
   Tablet / SP
   900px以下
================================================== */

@media (max-width: 900px) {

    .profile {
        padding: 70px 0 100px;

        background-image:
            url("../images/background/profile-bg-sp01.png"),
            url("../images/background/profile-bg-sp02.png");

        background-repeat:
            no-repeat,
            no-repeat;

        background-position:
            center top,
            center bottom;

        background-size:
            100% auto,
            100% auto;
    }

    .profile-inner {
        width: calc(100% - 48px);
        margin: 0 auto;
    }

    /* 1カラム */

    .profile-content {
        display: block;
    }

    /* 左側 */

    .profile-left {
        width: 100%;
        max-width: 520px;

        margin: 0 auto;
    }

    /* 経歴エリア */

    .profile-right {
        width: 100%;

        margin: 100px auto 0;
        padding-top: 0;

        text-align: left;
    }

    /*
       文章は左揃えのまま
       経歴グループ全体を中央へ
    */

    .profile-item {
        width: min(520px, calc(100% - 72px));

        margin-left: auto;
        margin-right: auto;
    }

    .profile-item + .profile-item {
        margin-top: 48px;
    }

    /* 本文 */

    .profile-item p,
    .profile-list li {
        font-size: 14px;
        line-height: 1.9;
    }
}

/* ==================================================
   SP
   767px以下
================================================== */

@media (max-width: 767px) {

    .profile {
        padding: 60px 0 90px;
    }

    /* タイトル */

    .profile-title {
        margin-bottom: 42px;

        font-size: 24px;
    }

    .profile-title-pc {
        display: none;
    }

    .profile-title-sp {
        display: inline;
    }

    /* 名前 */

    .profile-name-ja {
        font-size: 23px;
    }

    .profile-name-ja span {
        margin-left: 4px;

        font-size: 13px;
    }

    .profile-name-en {
        width: min(260px, 100%);

        margin: 12px auto 0;

        font-size: 21px;
    }

    /* 肩書き */

    .profile-position {
        margin-top: 26px;

        text-align: center;
    }

    .profile-position p {
        font-size: 15px;
        line-height: 1.8;
    }

    /* 写真 */

    .profile-photo {
        width: min(280px, 86%);

        margin: 28px auto 0;
        padding: 6px;

        border-radius: 22px;
    }

    .profile-photo::before {
        inset: -5px;

        border-radius: 25px;
    }

    .profile-photo img {
        border-radius: 16px;
    }

    /* 経歴 */

    .profile-right {
        margin-top: 90px;
    }

    .profile-item {
        width: min(520px, calc(100% - 48px));
    }

    /* 見出し */

    .profile-item + .profile-item {
        margin-top: 42px;
    }

    .profile-heading {
        margin-bottom: 24px;
        padding-bottom: 10px;

        font-size: 21px;
    }

    .profile-heading::after {
        width: 190px;
        height: 8px;
    }

    .profile-list li + li {
        margin-top: 1px;
    }
}

/* ==================================================
   Small SP
   520px以下
================================================== */

@media (max-width: 520px) {

    .profile-item {
        width: calc(100% - 32px);
    }

    .profile-item p,
    .profile-list li {
        font-size: 13px;
        line-height: 1.85;
    }
}

/* ==================================================
   Small SP
   430px以下
================================================== */

@media (max-width: 430px) {

    .profile-inner {
        width: calc(100% - 40px);
    }

    /* タイトル */

    .profile-title {
        font-size: 22px;
    }

    /* 名前 */

    .profile-name-ja {
        font-size: 21px;
    }

    .profile-name-ja span {
        display: inline-block;

        font-size: 12px;
    }

    .profile-name-en {
        font-size: 19px;
    }

    /* 肩書き */

    .profile-position p {
        font-size: 14px;
    }

    /* 写真 */

    .profile-photo {
        width: min(250px, 88%);
    }

    /* 経歴 */

    .profile-right {
        margin-top: 85px;
    }

    .profile-heading {
        font-size: 20px;
    }

    .profile-item p,
    .profile-list li {
        font-size: 13px;
    }
}