#page-trilogy {
    --brand-color--red:#BE1119;
    --brand-color--blue:#538DCB;
    --brand-color--beige:#FAF9F6;
    --brand-color--deepblue: #0E222D;
}

#page-trilogy .l-content {
    padding: 0;
}

.c-btn {
    display: block;
    margin: 0 auto;
}
.c-btn--sm {
    width: 200px;
    height: 49px;
    background-color: var(--brand-color--red);
    line-height: 50px;
    color: #fff;
    font-size: 18px;
    text-align: center;
    transition: all .1s ease;
}.c-btn--sm:hover {
    background-color: var(--brand-color--red);
    color: #fff;
    opacity: 1;
    transition: all .1s ease;
}

.c-btn--md {
    width: 250px;
    height: 60px;
    border-radius: 30px;
    line-height: 60px;
    color: #fff;
    text-align: center;
    font-weight: 500;
    }.c-btn--md.btn--red {
        background-color: var(--brand-color--red);
    }.c-btn--md.btn--right_red {
        background-color: #D87075;
    }

@media screen and (min-width: 768px) {
    .c-btn--sm {
        width: 182px;
        height: 37px;
        line-height: 38px;
        border: solid 1px var(--brand-color--red);
        border-radius: 20px;
        background-color: #fff;
        color: var(--brand-color--red);
        font-size: 20px;
    }
}

.c-line--red {
    display: block;
    margin: 0 auto;
    width: 100%;
        max-width: 1200px;
    border-top: solid 1px var(--brand-color--red);
}

.brand-top-section {
    width: 100%;
}
.brand-top-section__inner {
    margin: 0 auto;
    padding: 30px 10px 35px;
    box-sizing: border-box;
    width: 100%;
    max-width: 1092px;
}.brand-top-message .brand-top-section__inner {
    padding: 30px 0;
}.brand-top-icons .brand-top-section__inner {
    padding: 34px 10px;
}.brand-top-youtube .brand-top-section__inner {
    padding: 14px 0 50px;
    max-width: 820px;
}
@media screen and (min-width: 768px) {
    .brand-top-section__inner {
        padding: 60px 10px 55px;
    }.brand-top-message .brand-top-section__inner {
        padding: 27px 0;
    }.brand-top-youtube .brand-top-section__inner {
        padding: 60px 0 35px;
        max-width: 820px;
    }
}

.brand-top-message {
    text-align: center;
    color: #fff;
    }.brand-top-message h2 {
        font-size: 20px;
        line-height: 1.5;
    }.brand-top-message p {
        margin-top: 16px;
        font-size: 14px;
        line-height: 1.42;
    } 
@media screen and (min-width: 768px) {
    .brand-top-message h2 {
        font-size: 24px;
        line-height: 1.37;
    }.brand-top-message p {
        margin-top: 20px;
        font-size: 18px;
        line-height: 1.38;
    }
}

.brand-top-section__title,.brand-recommend--b .brand-title {
    margin-bottom: 18px;
    text-align: center;
    font-size: 25px;
    line-height: 1.36;
    color: var(--brand-color--red);
}.brand-top-section__title span, .brand-recommend--b .brand-title span {
    display: block;
    font-size: 16px;
    line-height: 1.31;
    color: #0E222D;
    font-weight: 500;
}
.brand-recommend__body {
    background-color: #FAF9F6;
}
@media screen and (min-width: 768px) {
    .brand-top-section__title, .brand-recommend--b .brand-title {
        margin-bottom: 29px;
        font-size: 35px;
        line-height: 1.37;
    }.brand-top-section__title span, .brand-recommend--b .brand-title span {
        font-size: 25px;
        line-height: 1.72;
    }
}

.brand-top-icons {
    display: flex;
        flex-wrap: wrap;
        justify-content: center;
    margin: 0 auto;
    max-width: 805px;
}.brand-top-icon {
    flex: 1;
    padding: 0 12px;
    min-width: 90px;
    max-width: 105px;
}
@media screen and (min-width: 768px) {
    .brand-top-icons {
        justify-content: space-between;
    }
}

.brand-top-recommend__items{
    display: flex;
    margin: 0 auto 24px;
    padding: 0 4px 8px;
    overflow-x: scroll;
    }.brand-top-recommend__items a {
        flex: 1;
        min-width: 166px;
    }

.brand-top-slider {
    display: flex;
    overflow-x: scroll;
    padding-bottom: 8px;
}.brand-top-slider__item {
    flex: 1;
    min-width: 165px;
    text-align: center;
    }.brand-top-slider__item + .brand-top-slider__item {
        margin-left: 15px;
    }.brand-top-slider__item img {
        margin-bottom: 15px;
    }
@media screen and (min-width: 768px){
    .brand-top-slider__item + .brand-top-slider__item {
        margin-left: 24px;
    }.brand-top-slider__item img {
        margin-bottom: 20px;
    }
}

.brand-top-slider__item span, .brand-top-icon__item span {
    display: block;
    line-height: 1.25;
    font-size: 11px;
    font-weight: bold;
}

/* brand-recommend--b */
.brand-recommend--b .brand-nav {
    margin-top: 0;
    background-color: var(--brand-color--red);
}

/* brand-top-youtube */
.brand-top-youtube .c-btn {
    margin-top: 40px;
}
.movie-wrap {
    position: relative;
    padding-bottom: 56.25%; /*アスペクト比 16:9の場合の縦幅*/
    height: 0;
    overflow: hidden;
    }.movie-wrap iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

/* brand-footer */
.brand-footer {
    padding: 40px 15px;
    width: 100%;
    box-sizing: border-box;
}
.brand-footer__logo {
    display: block;
    margin: 0 auto;
    width: 140px;
}
.brand-footer__menu {
    display: flex;
    flex-direction: column;
    margin: 13px auto 0;
    width: 100%;
        max-width: 644px;
}.brand-footer__menu > div {
    display: flex;
    flex-direction: column;
}.brand-footer__menu > div + div{
    margin-top: 12px;
}
.brand-footer__menu span {
    display: block;
    margin-top: 13px;
    padding: 0 20px;
    text-align: left;
    font-size: 22px;
    color: var(--brand-color--red);
    line-height: 1.36;
}.brand-footer__menu a {
    position: relative;
    padding: 0 20px;
    line-height: 40px;
    border: solid 1px #d1d1d1;
    border-width: 1px 0;
    color: #0E222D;
}.brand-footer__menu a:hover {
    opacity: 1;
    color: var(--brand-color--red);
    transition: color .1s ease;
}.brand-footer__menu a + a {
    border-top: none;
}.brand-footer__menu a::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 20px;
    width: 6px;
    height: 12px;
    background: no-repeat center / contain url(../img/common/icon-arrow--right.png);
    transform: translate(0, -50%); }
@media screen and (min-width: 768px) {
    .brand-footer__logo {
        width: 240px;
    }
    .brand-footer span {
        font-size: 20px;
        line-height: 1.35;
    }
    .brand-footer__menu {
        margin-top: 27px;
        flex-direction: row;
        justify-content: space-between;
    }.brand-footer__menu > div + div{
        margin-top: 0;
    }
    .brand-footer__menu span {
        padding: 0;
        text-align: center;
    }.brand-footer__menu a {
        border: none;
        padding: 0;
    }.brand-footer__menu a::before {
        display: none;
    }
    
}

/* brand page common cover */
.l-cover {
    position: relative;
    width: 100%;
    overflow: hidden; }

.p-page_cover {
    min-height: 450px;
    color: #fff;
    text-align: center;
}.p-page_cover__inner {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    padding: 0 10px;
    width: 100%;
    box-sizing: border-box; }

.c-cover__title {
    font-size: 35px;
    font-weight: 200;
    line-height: 1.28;
    color: #fff; }
.c-cover_image {
    width: 100%;
    height: 100%;
    object-fit: cover; }

@media screen and (min-width: 768px) {
    .p-page_cover {
        height: 500px;
    }
    .c-cover__title {
        font-size: 55px;
        line-height: 1.4;
    }
}


.u-font--serif {
    font-family:"ヒラギノ明朝 ProN W3", "HiraMinProN-W3", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
}
.u-font--serif_bold {
   font-family:"ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
}

.p-page_section {
    padding: 3rem 15px;
}.p-page_section__inner {
    max-width: 960px;
    margin: 0 auto;
}

.p-page_section__box--flex {
    display: flex;
    flex-direction: column;
}

.p-page_section__text {
    font-size: 16px;
    line-height: 1.56;
    box-sizing: border-box;
}

.p-page_section__h2 {
    font-size: 24px;
    color: var(--brand-color--red);
}
.p-page_section__h3 {
    font-size: 22px;
    line-height: 1.36;
}

.p-text--attention {
    font-size: 12px;
    line-height: 1.66;
}
@media screen and (min-width: 768px) {
    .p-page_section {
        padding: 4rem 20px; }

    .p-page_section__box--flex {
        flex-direction: row;
    }

    .p-page_section__text {
        line-height: 1.875;
    }

    .p-page_section__h2 {
        font-size: 35px;
    }

    .p-text--attention {
        font-size: 10px;
        line-height: 1.72;
    }
}

.trilogy-brand-about {
    color: var(--brand-color--deepblue);
}

/* for About */
.brand-message {
    background-color: #F1F1F1;
    padding: 30px 15px;
}
.brand-message__text {
    text-align: center;
    font-size: 16px;
    line-height: 1.56;
}
@media screen and (min-width: 768px) {
    .brand-message {
        background-color: #fff;
        padding: 70px 15px;
    }
    .brand-message__text {
        font-size: 20px;
        line-height: 2;
    }
}

.brand-introduction__box {
    align-items: center;
    justify-content: space-between;
}.brand-introduction__box + div {
    margin-top: 40px;
}
.brand-introduction__h2, .brand-history-introduction__h2 {
    font-size: 22px;
    line-height: 1.27;
}
.brand-introduction__h2, .brand-history-introduction__h2 {
    font-size: 22px;
    line-height: 1.27;
}
@media screen and (min-width: 768px) {
    .brand-introduction__box.flex-row-reverse{
        flex-direction: row-reverse;
    }
    .brand-introduction__box + div {
        margin-top: 80px;
    }
    .brand-introduction__h2, .brand-history-introduction__h2 {
        font-size: 25px;
        line-height: 1.4;
    }
    
}

/* for About */
.brand-introduction {
    padding: 40px 15px 60px;
}.brand-introduction .p-page_section__inner{
    max-width: 1140px;
}
.brand-introduction__text {
    padding: 0 0 22px;
}.brand-introduction__text p {
    margin-top: 20px;
}
.brand-introduction__h2 span {
    display: block;
    margin-top: 13px;
    margin-bottom: 20px;
    color: #959595;
    font-size: 11px;
    line-height: 2;
}
.brand-introduction__h2 + .c-line--red {
    margin-top: 20px;
}

.brand-introduction__list {
    margin: 30px auto;
}.brand-introduction__list li {
    position: relative;
    padding-left: 22px;
}.brand-introduction__list li+li {
    margin-top: 25px;
}.brand-introduction__list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 15px;
    height: 13px;
    background: no-repeat center / contain url(../img/brand/herbfarmacy/about/icon-checkmark--purple.svg);
}
@media screen and (min-width: 768px) {
    .brand-introduction {
        padding: 100px 15px 120px;
    }
    .brand-introduction__text {
        padding: 0 30px 0 0;
    }.brand-introduction__box.flex-row-reverse .brand-introduction__text {
        padding: 0 0 0 40px;
    }
    .brand-introduction__h2 span {
        margin-top: 15px;
        margin-bottom: 0;
        font-size: 14px;
        line-height: 1.57; }
    
    .brand-introduction__list li {
        padding-left: 35px;
    }.brand-introduction__list li::before {
        width: 25px;
        height: 21px;
    }
}

.brand-about-certification .p-page_section__inner {
    max-width: 960px;
    }.brand-about-certification h2 {
        text-align: center; }

.brand-about-certification__box {
    margin-top: 30px;
}

.brand-about-certification__item {
    padding: 30px 0;
    }.brand-about-certification__item + div {
    border-top: solid 1px #E0E0E0;}

.brand-about-certification__icon{
    margin: 0 auto;
    }.brand-about-certification__icon img{
        width: 130px; }

.brand-about-certification__text {
    margin-top: 20px;
    }.brand-about-certification__text h3 {
        margin-bottom: 20px;
        text-align: center; }

@media screen and (min-width: 768px) {
    .brand-about-certification__box {
        margin-top: 54px;
    }
    .brand-about-certification__item {
        padding: 25px 0;
    }.brand-about-certification__icon {
        margin: 0;
    }.brand-about-certification__icon img{
        width: 105px;
    }.brand-about-certification__text {
        margin-top: 0;
        margin-left: 15px;
    }.brand-about-certification__text h3 {
        margin-bottom: 13px;
        text-align: left;
    }
}

/* history */
.brand-history-introduction .p-page_section__inner,
.brand-history-image_panel .p-page_section__inner {
    max-width: 1110px;
}

.brand-history-introduction__text {
    padding: 0 0 30px;
}
.brand-history-introduction__h2 {
    font-size: 25px;
}
@media screen and (min-width: 768px) {
    .brand-history-introduction__text {
        padding: 0 23px;
    }
}

.brand-history-image_panel__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: max-content 1fr;
    grid-gap: 23px;
    max-height: 861px;
}
.brand-history-image_panel__img img {
    object-fit: cover;
    height: 100%;
}

.brand-history-message {
    background-color: #FFFBF5;
}.brand-history-message .p-page_section__inner {
    max-width: 1020px;
}
.brand-history-message__h2 {
    text-align: center;
}
.brand-history-message__box {
    margin-top: 25px;
}.brand-history-message__box .item__name{
    display: block;
    margin-left: auto;
    font-size: 12px;
    line-height: 1.25;
    text-align: right;
}

.brand-history-message__text {
    margin-bottom: 5px;
    font-size: 16px;
    line-height: 2.5;
}.brand-history-message__text p {
    position: relative;
}.brand-history-message__text p::before {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 2px;
    border-bottom: dotted 2px #DDCEAB;
}

@media screen and (min-width: 768px) {
    .brand-history-message__box {
        margin-top: 50px;
    }.brand-history-message__box .item__name{
        font-size: 18px;
        line-height: 1.38;
    }

    .brand-history-message__text {
        margin-bottom: 50px;
        font-size: 20px;
        line-height: 2.85;
    }
}

.brand-history-main_herbs .p-page_section__inner {
    max-width: 1200px;
}
.brand-history-main_herbs__h2 {
    text-align: center;
}
.brand-history-main_herbs__h2 span, .brand-about-infused_oil__h2 span {
    display: block;
    margin-top: 9px;
    font-size: 18px;
}

.brand-history-main_herbs__box {
    margin-top: 17px;
    display: flex;
    flex-wrap: wrap;
}

.brand-history-main_herbs__item {
    position: relative;
    width: 100%;
    height: 230px;
    color: #fff; }
.brand-history-main_herbs__item > div {
    content: '';
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 30px 15px;
    box-sizing: border-box;
    background-color: rgb(0, 0, 0, 0.5);
}

.brand-history-main_herbs__item .item__title {
    text-align: center;
    font-size: 20px;
    line-height: 1.75;
}
.brand-history-main_herbs__item .item__text {
    font-size: 14px;
    line-height: 1.42;
}

.brand-history-main_herbs__item img {
    object-fit: cover;
    height: 100%;
}
@media screen and (min-width: 768px) {
    .brand-history-main_herbs {
        padding-top: 104px;
    }

    .brand-history-main_herbs__h2 span, .brand-about-infused_oil__h2 span {
        margin-top: 12px;
        font-size: 20px;
    }
    .brand-history-main_herbs__box {
        margin-top: 34px;
    }

    .brand-history-main_herbs__item {
        width: 50%;
    }
    .brand-history-main_herbs__item > div {
        padding-top: 30px;
        opacity: 0;
        transition: opacity 0.4s ease;
    }.brand-history-main_herbs__item:hover div {
        opacity: 1;
        transition: opacity 0.4s ease;
    }
}@media screen and (min-width: 1100px) {
    .brand-history-main_herbs__item {
        width: 25%;
    }
}

.brand-about-infused_oil {
    padding-top: 0;
}
.brand-about-infused_oil .p-page_section__inner {
    max-width: 1142px;
}
.brand-about-infused_oil__h2 {
    margin-bottom: 25px;
    text-align: center;
    line-height: 1;
}
.brand-about-infused_oil__box {
    align-items: center;
    justify-content: space-between;
}
.brand-about-infused_oil__text {
    margin-bottom: 30px;
    width: 100%;
}
@media screen and (min-width: 768px) {
    .brand-about-infused_oil__text {
        margin-bottom: 0;
        padding-right: 23px;
        max-width: 632px;
    }
}

.brand-about-infused_oil-2 {
    padding-top: 0;
    padding-bottom: 90px;
}
.brand-about-infused_oil-2 .p-page_section__inner {
    max-width: 1058px;
}
.brand-about-infused_oil-2__h2 {
    text-align: center;
}
@media screen and (min-width: 768px) {
    .brand-about-infused_oil-2 {
        padding-top: 34px;
        padding-bottom: 100px;
    }
    .brand-about-infused_oil__h2 {
        margin-bottom: 20px;
        text-align: left;
    }
}

.brand-about-infused_oil-2__panel {
    padding-top: 21px;
    }.brand-about-infused_oil-2__panel .panel__item{
        position: relative;
        width: 48%;
    }
.brand-about-infused_oil-2__panel .item__num{
    position: absolute;
    margin-top: -40px;
    font-family: 'Oswald', sans-serif;
    font-size: 32px;
    font-style: italic;
    color: #362e2f;
}
.brand-about-infused_oil-2__panel .item__img{
    width: 100%;
    height: 160px;
    background: #f6f6f6;
    overflow: hidden;
}
.brand-about-infused_oil-2__panel .item__text {
    margin: 10px 0 -60px;
    font-size: 13px;
    line-height: 1.38;
}

#num1 {
    margin: 60px 2% 0 0; }
#num2, #num4, #num6, #num8, #num10 {
    margin-left: 52%;
    margin-top: -115px; }
#num3, #num5, #num7, #num9 {
    margin-left: 0%;
    margin-top: 40px; }

@media screen and (min-width: 480px) and (max-width: 895px) {
    .brand-about-infused_oil-2__panel .item__img{
        height: 260px;
    }
    #num2, #num4, #num6, #num8, #num10 {
        margin-left: 52%;
        margin-top: -195px; }
}
@media screen and (min-width: 896px) {
    .brand-about-infused_oil-2__panel .panel__item{
        width: 30%;
    }
    .brand-about-infused_oil-2__panel .item__num{
        font-size: 52px;
        margin-top: -65px;
    }
    .brand-about-infused_oil-2__panel .item__img{
        height: 260px;
    }
    .brand-about-infused_oil-2__panel .item__text {
        margin: 15px 0 -40px;
        font-size: 16px;
        line-height: 1.56;
    }

    #num1 {
        margin: 60px 2% 0 0; }
    #num2, #num5, #num8 {
        margin-left: 33%;
        margin-top: -230px; }
    #num3, #num6, #num9 {
        margin-left: 66%;
        margin-top: -230px; }
    #num4, #num7, #num10 {
        margin: 0px 2% 0 0; }
    #num2, #num5, #num8 {
        margin-left: 33%;
        margin-top: -230px; }
}

/* line-up */
.brand-lineup-face {
    padding-bottom: 0;
}
.brand-lineup-body {
    padding-top: 0;
}
.brand-lineup-face .p-page_section__inner, .brand-lineup-body .p-page_section__inner {
    max-width: 1168px;
}

.brand-lineup-face__title, .brand-lineup-body__title {
    position: relative;
    display: block;
    margin: 0 auto 40px;
    width: 100%;
    font-size: 22px;
    text-align: center;
    color: #AC64A4;
}.brand-lineup-face__title::before, .brand-lineup-body__title::before,
.brand-lineup-face__title::after, .brand-lineup-body__title::after {
    content: '';
    position: absolute;
    top: 50%;
    height: 1px;
    width: calc((100% - 268px)/2);
    background-color: #AC64A4;
}.brand-lineup-face__title::before, .brand-lineup-body__title::before {
    left: 0;
}
.brand-lineup-face__title::after, .brand-lineup-body__title::after {
    right: 0;
}
@media screen and (min-width: 768px) {
    .brand-lineup-face__title, .brand-lineup-body__title {
        margin-bottom: 50px;
        font-size: 25px;
    }
}

.brand-line-up__box {
    flex-wrap: wrap;
    max-width: 960px;
    margin: 0 auto;
}
.brand-lineup__item {
    display: block;
    margin-bottom: 40px;
    padding: 0 33px;
    box-sizing: border-box;
    width: 100%;
    }.brand-lineup__item:hover {
        opacity: 1;
    }.brand-lineup__item:hover .p-section__image{
        opacity: 0.7;
    }
.brand-lineup__item p {
    margin-top: 16px;
    font-size: 20px;
    line-height: 1.2;
    text-align: center;
    }.brand-lineup__item:hover p {
    color: #AC64A4;
    transform: color .1s ease;
}.brand-lineup__item span {
    display: block;
    font-size: 14px;
    line-height: 1.71;
}
@media screen and (min-width: 426px) and (max-width: 767px) {
    .brand-line-up__box {
        flex-direction: row;
    }
    .brand-lineup__item {
        margin-bottom: 85px;
        padding: 0 30px;
        width: calc(100% / 2);
    }
}
@media screen and (min-width: 768px) {
    .brand-lineup__item {
        margin-bottom: 85px;
        padding: 0 30px;
        width: calc(100% / 3);
    }
}


.brand-award .p-page_section__inner {
    max-width: 1000px;
}

.brand-award__box {
    width: 100%;
    text-align: center;
}.brand-award__box span {
    display: block;
    color: #707070;
}

.award-product img{
    width: 286px; }
.award-product span {
    margin-top: 30px;
}.award-product span:hover {
    color: #BE1119;
}

.brand-award__list {
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 654px;
    }.brand-award__item {
        margin-top: 25px;
        padding: 0 30px;
        width: 100%;
    }.brand-award__item img {
        width: 100%;
            max-width: 125px;
    }.brand-award__item span {
        margin-top: 26px;
        font-size: 14px;
        line-height: 1.57;
    }

@media screen and (min-width: 426px){
    .award-product span {
        margin-top: 40px;
    }
    .brand-award__item {
        margin-top: 30px;
        padding: 0 40px;
        width: calc(100%/3);
        box-sizing: border-box;
     }

}
