@charset "utf-8";
/*==========================
common
==========================*/
html {
    font-size: 62.5%;
}

body {
    font-family: 
        "Noto Serif JP", serif, system-ui;
    font-weight: 500; 
    font-style: normal;
    color: #691D1D;
    line-height: 1.5;
}

.container {
    margin: 0 auto;
}

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

.sectionBackground {
    margin: 0 auto;
}

.section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 32px 20px 48px;
    text-align: center;
}

.section__header {
    display: inline-block;
    margin: 20px auto;
    padding: 16px;
    border-top: 1px solid #691D1D; 
    border-bottom: 1px solid #691D1D; 
    text-align: center;
}

.section__title {
    font-size: 2.8rem;
}

.section__title_sub {
    font-size: 1.8rem; 
}

.section__topic {
    text-align: center;
    font-size: 1.6rem;
}

.section__topic_txt {
    font-size: 1.6rem;
    text-align: center;
    padding: 0 20px;
    word-break: auto-phrase;
}

.pcBr {
        display: none;
    }

/* common pc */
@media screen and (min-width:769px) {

.section {
    padding: 120px 20px 84px;
}

.section__header {
    border-top-width: 2px; 
    border-bottom-width: 2px; 
}

.section__title {
    font-size: 5.6rem;
}

.section__title_sub {
    font-size: 3.6rem; 
}

.section__topic {
    font-size: 2.4rem;
    margin-top: 48px;
}

.section__topic_txt {
    font-size: 2.4rem;
}

.spBr {
        display: none;
    }

.pcBr {
        display:none;
    }

    .tbBr {
        display: block;
    }    

}

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

    .tbBr {
        display: none;
    }

    .pcBr {
        display:block;
    }    

}

/*==========================
header
==========================*/
.headerBackground, .footerBackground {
    background-color: #FBFAE7;
}

.header {
    padding: 2px 4.2% 2px;
    background-color: #FBFAE7;
}

.title__flexbox {
    display: flex;
    align-items: center;
}

.title__flexbox_left {
    display: flex;
}

.title__flexbox_right {
    display: flex;
}

.header__icon, .nav__icon {
    width: 50px;
    height: 50px;
    object-fit: none;
    padding-top: 5px;
}

.header__logo, .nav_logo {
    width: 250px;
    height: 50px;
    object-fit: none;
    display: inline-block;
    top: 4px;
    left: 100px;
    color: #FFF;
    font-size: 2rem;
    margin-left: 20px;
}

.nav_logo_PC {
    display: none;
}

/* .nav初期表示 */
.nav {
    background: rgba(255, 255, 255, 0.9);
    width: 100%;
    height: 100vh;
    padding: 2px 4.2% 2px;
    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 {
    font-family: "Noto Sans JP", sans-serif, system-ui;
    margin-top: 66px;
    margin-left: 36px;
}

.nav__item {
    font-size: 1.8rem;
    line-height: 1;
    color: #401900;
    margin-top: 52px;
}

.nav__item img {
    display: inline-block;
    width: 25px;
    vertical-align: -3px;
    margin-right: 24px;
}

.nav_title {
    display:inline-block;
    width: 150px;
}

.rubyPc {
    display: none;
}

/* .nav.active表示 */
.nav.active {
    transform: translateX(0);
}

.header__icon{
    display: block;
}

.header__logo {
    display: block;
}

.header__btn, .nav__btn {
    display: block;
    width: 25px;
    height: 25px;
    cursor: pointer;
    position: absolute;
    top: 13px;
    right: 6.4%;
}
/* .header pc */
@media screen and (min-width:769px) {
    .header {
        max-width: 1440px;
        margin: 0 auto;
        padding: 16px 24px 8px;
        display: flex;    
        align-items: center;    
        flex-wrap: wrap;    
        justify-content: center;   
    }

    .header__icon {
        width: 103px;
        height: 103px;
        object-fit: none;
        padding-top: 10px;
        flex-shrink: 0;
    }

    .nav_logo_PC {
        display: inline-block;
        width: 350px;
        height: 100px;
        object-fit: none;
    }

    .nav_logo_SP {
        display: none;
    }    

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

    .nav__list {
        margin: 0 0 20px 0;
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
    }    

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

    .nav_title {
        display:block;
        margin-top: 8px;
        font-size: 2rem;
        font-weight: 700;
        text-align: center;
        width: auto;
    } 
    
    .rubySp {
        display: none;
    }

    .rubyPc {
        display: block;
        font-size: 1.4rem;
        font-weight: 400;
        text-align: center;

    }    

    .nav__header {
        display: none;
    }

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

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

    .header__btn {
        display: none;
    }

}/* pc 769px */

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

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

    .nav__list {
        margin: 0;
        display: flex;
        align-items: flex-end;
    }
}

/*==========================
article
==========================*/

.text_grade {
    background: linear-gradient(to right, #691D1D, #100000);
    background-clip: text;
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent;
}

.btn {
    display: block;
    padding: 16px 0px 18px;    
    background: linear-gradient(to top, #E79D34, #FFF910);
    border: 1px solid #000;
    border-radius: 4px;
    color: #FFF;
    font-weight: 700;
    font-size: 2.2rem;
    text-align: center;
    line-height: 1;
    margin: 5px auto 0;
    transition: 0.4s;
    position: relative;
    max-width:400px;
}

.btn::after {
    display: block;
    content: '';
    width: 14px;
    height: 24px;
    background-image: url(../images/btn-arrow.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 50%;
    right: 37px;
    transform: translateY(-50%);
}

.btn:hover {
    opacity: 0.5;
}

/* creation pc */
@media screen and (min-width: 769px) {

    .btn {
        font-size: 3.6rem;
        max-width:600px; 
    }

}/* pc 769px */


/*==========================
footer
==========================*/
.footer {
    margin: 0;
    padding: 24px 4.2% 16px;
    background-color: #FBFAE7;
}

.menu__list {
    display: none;
}

.copy {
    font-family: "Noto Sans JP", sans-serif, system-ui;
    text-align: center;
    font-size: 1.4rem;
    padding: 16px 0 32px;
    font-weight: 500;
}

/* footer pc */
@media screen and (min-width: 769px) {

    .footer {
        max-width: 1440px;
        margin: 0 auto;
        padding: 0;
    }

    .footer__content {
        max-width: 1440px;
        margin: 0 auto;
        padding: 16px 24px 8px;
        display: flex;    
        align-items: center;    
        flex-wrap: wrap;    
        justify-content: center;   
    }

    .menu__list {
        font-family: "Noto Sans JP", sans-serif, system-ui;
        display: flex;
        justify-content: center;
        margin: 32px auto 0;
    }

    .menu__item {
        margin-left: 16px;
        font-size: 4.8rem;
    }
    
}/* pc 769px */

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

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

    .menu__list {
        margin: 0;
        display: flex;
        align-items: flex-end;
    }
}
