@charset "utf-8";

/* ==================================
common
===================================*/
html {
    font-size: 62.5%;
}

body {
    font-family:
        "Figtree",
        "Zen Kaku Gothic New",
        sans-serif;
    font-style: normal;
    color: #635245;
    background-color: #fff;
    line-height: 1.8;
}

h3.section__topic {
    background-image: url(../images/title_line_weak.png);
    background-size: cover;
    background-repeat: no-repeat;
}

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

.section__topic {
    font-family: Figtree;
    color: #420003;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.8;
    text-align: center;
}

@media screen and (min-width: 769px) {
    .section__topic {
        text-align: center;
        font-family: Figtree;
        font-size: 5.6rem;
        font-weight: 700;
        line-height: 1;
    }
}

/* ==================================
header
===================================*/
/* nav */
.nav__item a {
    position: relative;
    display: inline-block;
}

.nav__item a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #8d3043;
    /* 下線の色 */
    transition: width 0.3s;
}

.nav__item a:hover::after {
    width: 100%;
}

.nav__item_tel a {
    cursor: pointer;
}

.nav__item_tel a:hover img {
    transform: scale(1.05);
    transition: transform 0.3s;
}

.header {
    padding: 25px 8%;
}

.header__inner {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header__topic {
    display: flex;
}

.header__topic,
.nav__topic {
    color: #420003;
    font-size: 2rem;
    font-weight: 700;
}

/* .header__topic {
    width: 63%;
} */

.topic-sub,
.nav__topic-sub {
    color: #420003;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1;
}

/* .nav初期表示 */
.nav {
    background: #FFF;
    width: 100%;
    height: 100vh;
    padding: 25px 8%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.4s;
}

.nav__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__list {
    margin-top: 50px;
}

.nav__item {
    color: #635245;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 2;
    margin-top: 30px;
}

.nav__item_tel,
.nav__item_sns {
    margin-top: 30px;
}

.nav__item_tel {
    max-width: 222px;
}


.nav__item img {
    display: inline-block;
    vertical-align: -13px;
    margin-right: 20px;
}

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

.header__btn {
    display: block;
    cursor: pointer;
    position: absolute;
    top: 50px;
    right: 7.5%;
}

/* .header pc */
@media screen and (min-width: 769px) {
    .header {
        max-width: 1280px;
        padding: 20px 25px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        width: 74px;
    }

    .header__topic,
    .nav__topic {
        color: #420003;
        font-size: 2.4rem;
        font-weight: 700;
        line-height: 1;
    }

    .nav__list {
        gap: 20px;
    }

    .topic-sub,
    nav__topic-sub {
        color: #420003;
        font-size: 1.8rem;
        font-weight: 500;
        line-height: 1;
    }

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

    .nav__list {
        display: flex;
        margin-top: 0;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 0;
        margin: 0;
    }

    .nav__item {
        margin-top: 0;
        font-size: 2rem;
        font-weight: 500;
        line-height: 1;
        margin-left: 20px;
    }

    .nav__item_tel,
    .nav__item_sns {
        margin-top: 0;
    }

    .nav__header {
        display: none;
    }

    .nav__item img {
        display: none;
        margin-right: 0;
    }

    .nav__item_sns {
        width: 35px;
        height: 35px;
    }

    .header__btn {
        display: none;
    }


}

/* pc 769px */


/* ==================================
header
===================================*/
/* article header */
.mainImg .mainImg__pc {
    display: none;
}

/* img padding */
.mainTopics .mainImg {
    margin-top: 0;
}

/* article header pc */
@media screen and (min-width: 769px) {
    .mainImg .mainImg__pc {
        display: block;
        margin: auto;
    }

    .mainImg .mainImg__sp {
        display: none;
    }
}

/* pc 769 */

/* pagetop */
.pagetop {
    text-align: right;
    margin-right: 25px;
    position: fixed;
    bottom: 50px;
    right: 0;
}

@media screen and (min-width: 769px) {
    .pagetop {
        padding-right: 125px;

    }

    .pagetop__topic {
        margin-left: auto;
        display: block;
        width: 75px;
    }

    .pagetop__topic img {
        display: block;
        /* width: 100%; */
        position: fixed;
        bottom: 10px;
        right: 40px;
        width: 50px;
        height: 50px;
    }
}

/* ==================================
footer
===================================*/
.footer {
    padding: 32px 6.6%;
    background-color: #F5F2F0;
}

.footer_logo {
    text-align: center;
}

.menu__list {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.8;
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 15px;
}

.menu__list a {
    position: relative;
    display: inline-block;
}

.menu__list a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #8d3043;
    transition: width 0.3s;
}

.menu__list a:hover::after {
    width: 100%;
}

.menu__item_sns a {
    cursor: pointer;
}

.copy {
    color: #420003;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    margin-top: 26px;
}

@media screen and (min-width: 769px) {
    .menu__list {
        font-size: 2rem;
        font-weight: 500;
        font-size: 20px;
        font-style: normal;
        font-weight: 500;
        line-height: 1;
        gap: 30px;
    }

    .menu__item {
        display: flex;
        flex-direction: row;
        gap: 20px;
        align-items: flex-start;
        flex-wrap: wrap;
        margin-top: 50px;
    }

    .copy {
        color: #420003;
        text-align: center;
        font-size: 1.6rem;
        font-style: normal;
        font-weight: 500;
        line-height: 1.8;
    }

    .footer_logo img {
        width: 120px;
        height: auto;
    }
}