@charset "utf-8";

/* ====================
    共通
===================== */
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

/* 62.5%=16px ×　0.625=10px 1rem=10px*/

body {
    font-family:
        'Noto Sans JP',
        Cormorant Garamond,
        Noto serif jp,
        Cormorant;
    font-style: normal;
    color: #2e2e2e;
    background-color: #fff;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
}

/* ====================
    ここからSP
==================== */
.header {
    padding: 24px 6.4% 16px;
}

.header__topic {
    color: #B8926F;
    font-weight: 500;
    font-size: 2.4rem;
    letter-spacing: 0.02em;
}

.header__btn {
    display: block;
    width: 18px;
    height: 11px;
    cursor: pointer;
    position: absolute;
    top: 37px;
    right: 6.6%;
}

.nav__topic {
    color: #fff;
    font-weight: 500;
    font-size: 2.4rem;
    letter-spacing: 0.02em;
}

.nav__btn {
    display: block;
    width: 14px;
    height: 14px;
    cursor: pointer;
    position: absolute;
    top: 37px;
    right: 6.6%;
}

.nav {
    background: rgba(123, 148, 111, 0.90);
    width: 100%;
    height: 100vh;
    padding: 24px 6.4%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.4s;
}

.nav__header {
    align-items: center;
}

.nav__list {
    margin-top: 53px;
    text-align: center;
}

.nav__item {
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 1;
    color: #2F2F2F;
    margin-top: 48px;
}

.nav.active {
    transform: translateX(0);
}

.section__topic {
    color: #444444;
    font-family: "Cormorant Garamond", serif;
    font-weight: 400;
    font-size: 4.0rem;
    line-height: 1.3;
    text-align: center;
}

.section__topic--subtitle {
    color: #444444;
    font-family: Noto Serif JP;
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 1.3;
    letter-spacing: 2.0;
    text-align: center;
    margin-bottom: 2em;
}

.mainTopics {
    padding: 48px 6.9%;
}

.about__img {
    max-width: 100%;
    width: 200px;
    margin: 0 auto;
}

.mainTopics__name {
    font-family: Noto Serif JP;
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    letter-spacing: 2.0;
    margin-top: 24px;
}

.mainTopics__txt {
    font-size: 1.4rem;
    line-height: 1.5;
    text-align: center;
    margin-top: 24px;
}

/* mainTopics__txtの改行 */
.mb-1 {
    margin-bottom: 1em;
}

.section--career {
    background-color: #F7F5F2;
    padding: 48px 4.2%;
}

.career__list {
    background-color: #FFF;
    padding: 1em 4.2%;
}

.career__Innner__flex__left {
    color: #B8926F;
    font-family: Cormorant;
    font-size: 2.4rem;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 1.5;
}

.career__topic {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1;
    margin-top: 8px;
    letter-spacing: 1.5;
    margin-bottom: -0.5em;
    display: block;
}

.career__txt {
    font-size: 1.4rem;
    margin-top: 8px;
    line-height: 1.5;
    letter-spacing: 1.5;
    margin-bottom: 2em;
    display: block;
}

.section--favorite {
    padding: 48px 4.2%;
    background-color: #FFF;
}

.favorite__content {
    border: 1px solid #444;
    padding: 20px 5.8%;
}

.favorite__name {
    font-size: 2.0rem;
    letter-spacing: 1.5;
    font-weight: 500;
    padding-left: 12px;
    border-left: 12px solid #7B946F;
}

.favorite__item {
    margin-top: 20px;
}

.favorite__txt {
    font-size: 1.6rem;
    padding-top: 20px;
    letter-spacing: 1.5;
    line-height: 1.8;
}

.detail {
    font-size: 1.6rem;
    margin-top: 20px;
}

.detail__tel {
    margin-top: 14px;
}

.section--birthplace {
    background-color: #F7F5F2;
    padding: 48px 0 48px;
}

.birthplace {
    text-align: center;
    display: block;
    font-size: 1.4rem;
    line-height: 1.8;
    letter-spacing: 1.5;
}

.section__topic section__topic--birthplace {
    margin-top: 30px;
}

.birthplace img {
    margin-right: 5px;
    width: 25px;
    vertical-align: -8px;
}

.birthplace__infomation {
    font-size: 1.4rem;
    margin-top: 24px;
    padding: 6.4%;
    line-height: 1.5;
    letter-spacing: 1.5;
}

.map {
    width: 100%;
    height: 400px;
    margin-top: 24px;
}

.directions__item:first-child {
    margin-bottom: 2em;
}

.directions__topic img {
    margin-right: .5em;
}

.directions__topic {
    font-size: 1.6rem;
    font-weight: 500;
    gap: 60px;
}

.directions__txt {
    font-size: 1.4rem;
    margin-top: 10px;
    line-height: 1.8;
    letter-spacing: 1.5;
}

.footer {
    background-color: #7B946F;
    text-align: center;
    color: #fff;
}

.copy {
    padding: 24px 33%;
    text-align: center;
    font-family: Noto Sans JP;
}

/* モバイルでも必要　769px以上（PC）で表示される */
.career__Innner__flex__left {
    width: 15%;
    padding: 35px;
}

.career__Innner__flex__left {
    color: #B8926F;
    font-size: 3.2rem;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 1.5;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    vertical-align: baseline;
    background: transparent;
    margin-bottom: 0.5em;
}

/* mvpc 非表示 */
.mainImg__pc {
    display: none;
}

/* mvsp表示 */
.mainImg__sp {
    display: block;
    width: 100%;
}

/* directions__pc非表示 */
.directions__pc {
    display: none;
}

/* directions__sp表示 */
.directions__sp {
    display: block;
    padding: 24px 15.4% 0;
}

/* spでは改行しないようにblockからinlineに変更 */
.sp-only-inline {
    display: inline;
}

/* ====================
    ここからPC
==================== */

@media screen and (min-width: 769px) {

    /* mvpc表示 */
    .mainImg__pc {
        display: block;
        width: 100%;
    }

    /* mvsp非表示 */
    .mainImg__sp {
        display: none;
    }

    /* directions__pc表示 */
    .directions__pc {
        display: flex;
        padding: 0 16%;
        justify-content: space-between;
    }

    /* directions__sp非表示 */
    .directions__sp {
        display: none;
    }

    .sp-only-inline {
        display: none;
    }

    .nav__header {
        display: none;
    }

    .header__btn {
        display: none;
    }

    .nav__item:first-of-type {
        display: none;
    }

    .nav {
        background: transparent;
        width: auto;
        height: auto;
        padding: 0;
        position: static;
        transform: translate(0);
    }

    .nav__list {
        margin-top: 0;
        display: flex;
    }

    .nav__item {
        margin: 0 1.5em;
        font-size: 2.3em;
    }

    .header {
        margin: 0 auto;
        padding: 20px 2.7% 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        background-color: #FFF;
        width: 100vw;
    }

    .header__topic {
        font-size: 2.4rem;
        letter-spacing: 0.02em;
    }

    .section__topic {
        color: #444444;
        font-family: "Cormorant Garamond", serif;
        font-weight: 400;
        font-size: 6.4rem;
        line-height: 1.3;
        text-align: center;
    }

    .section__topic--subtitle {
        color: #444444;
        font-family: Noto Serif JP;
        font-weight: 500;
        font-size: 2.0rem;
        line-height: 1.3;
        letter-spacing: 2.0;
        text-align: center;
    }

    .mainTopics {
        padding: 60px 16.6% 96px;
    }

    .mainTopics__name {
        font-size: 3.2rem;
        line-height: 1.3;
        letter-spacing: 2.0;
        text-align: left;
        gap: 40px;
    }

    .mainTopics__txt {
        font-size: 1.6rem;
        line-height: 1.5;
        letter-spacing: 1.5;
        text-align: left;
    }

    .abot_block {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 150px;
    }

    .abot_block div:first-child {
        order: 2;
    }

    .abot_block div:last-child {
        order: 1;
    }

    .section--career {
        background-color: #F7F5F2;
        padding: 60px 5% 36px;
    }

    .career__list {
        background-color: #FFF;
        padding: 3em 4.2%;
    }

    .career__list {
        display: flex;
        flex-wrap: wrap;
        max-width: 1160px;
        margin: 0 auto 60px;
    }

    .career__Innner__flex__left {
        color: #2e2e2e;
        width: 12%;
        font-size: 3.2rem;
        line-height: 2.3;
        letter-spacing: 1.5;
        margin: 0;
        left: 8px;
    }

    .career__Innner__flex__right::before {
        content: '';
        display: block;
        width: 15px;
        height: 15px;
        background-color: #B8926F;
        position: absolute;
        top: 3em;
        left: -8px;
        border-radius: 50%;
    }

    .career__Innner__flex__right {
        width: 83%;
        border-left: 2px solid #ddd;
        padding-left: 5%;
        position: relative;
    }

    .career__topic {
        font-size: 2.0rem;
        font-weight: 500;
        line-height: 1;
        margin-top: 8px;
        letter-spacing: 1.5;
        margin-bottom: -0.5em;
        display: block;
    }

    .career__txt {
        font-size: 1.6rem;
        margin-top: 8px;
        line-height: 1.5;
        letter-spacing: 1.5;
        margin-bottom: 2em;
        display: block;
    }

    .section--favorite {
        padding: 60px 5% 96px;
    }

    .favorite {
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 0;
        display: flex;
        justify-content: center;
        gap: 20px;
    }

    .favorite__item {
        max-width: 373px;
        width: 33.333%;
    }

    .section--birthplace {
        padding: 60px 0 96px;
    }

    .center {
        max-width: 1280px;
        margin: 0 auto;
    }

    .birthplace {
        text-align: center;
        display: block;
        font-size: 1.6rem;
        line-height: 1.8;
        letter-spacing: 1.5;
    }

    .birthplace__infomation {
        font-size: 1.6rem;
        margin-top: 3rem;
        padding: 32px 10%;
        line-height: 1.5;
        letter-spacing: 1.5;
    }

    .map {
        margin: 32px 0;
    }

    .directions__item {
        display: flex;
        width: 100%;
    }

    .directions__topic {
        /* display: flex; */
        text-align: center;
        font-size: 1.8rem;
        line-height: 1;
        margin-right: 20px;
    }

    .directions__topic img {
        margin-right: .3em;
        vertical-align: 1px;
        margin-bottom: -11px;
        height: 35px;
        margin-top: -10px;
    }

    .icon-by {
        margin-top: -10px;
    }

    .directions__txt {
        font-size: 1.6rem;
        line-height: 1;
        border-right: 2em;
        margin-top: 0;
    }

}