@charset "utf-8";

/* 美容医薬品 */

.featured-had__catch {
    max-width: 1000px;
    margin: 0 auto;
}

.featured-had {
    max-width: 1000px;
    margin: 0 auto 3rem;
    padding: 2rem 1rem;
    background: #d7e9fb;
}

.featured-had__tabs {
    background: #fff;
    border-radius: 5px;
}

.tab-list {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    gap: 1rem;
    padding-bottom: 0;
    border-bottom: 1px solid #ccc;
}

.tab-list__item {
    padding: 1.2rem 2rem 1rem;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: 0.3s;
}

.tab-list__item.active {
    color: #3f6c9a;
    border-bottom: 3px solid #3f6c9a;
    font-weight: bold;
}

.tab-panel {
    padding: 1.5rem;
}

.tab-panel__item {
    position: relative;
    display: none;
}

.tab-panel__body {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 50px;
}

.tab-panel__image {
    width: 120px;
    flex-shrink: 0;
}

.tab-panel__title {
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1.2;
}

.tab-panel__description {
    margin-bottom: 1rem;
    color: #444;
    font-size: 1.2rem;
}

.tab-panel__link {
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    padding: 1.5rem 0;
    background: #ee728f;
    color: #fff !important;
    border-radius: 9999px;
    font-size: 1.4rem;
    text-align: center;
    text-decoration: none;
}

.tab-panel__link:hover {
    text-decoration: none;
}

.section {
    margin-top: 2rem;
}

.section__title-wrapper {
    margin: 2rem 0;
    text-align: center;
}

.section__title {
    display: inline-block;
    padding-bottom: .5rem;
    border-bottom: 4px solid #b1d3f5;
    font-size: 2rem;
}

.section__description {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.section__image {
    margin: -1rem 0 2rem;
}

.intro-detail {
    padding: 1rem;
    background: #fff;
    border-radius: 5px;
}

.intro-detail__border {
    position: relative;
    display: inline-block;
    width: 100%;
    padding: 3px;
    background: linear-gradient(to right, #e897a5, #31ade3);
    border-radius: 8px;
}

.intro-detail__inner {
    padding: 3rem 1rem 1rem;
    background: #fff;
    border-radius: 5px;
}

.intro-detail__title-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    transform: translateY(-50%);
    z-index: 2;
}

.intro-detail__title {
    padding: 0 !important;
    text-align: center;
}

.intro-detail__title img {
    width: 90%;
    max-width: 660px;
    height: auto;
}

.intro-detail__table {
    width: 100%;
    margin: 1rem 0;
}

.intro-detail__table-heading {
    width: 40%;
    padding: 1rem 0;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    color: #000;
    font-size: 1.4rem;
    font-family: 'Noto Sans JP', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    text-align: left;
    line-height: 1.2;
    vertical-align: middle;
}

.intro-detail__table tr:last-child .intro-detail__table-heading {
    border-bottom: none;
}

.intro-detail__table-data {
    padding: 1.5rem 0 1.5rem 1rem;
    border-bottom: 2px solid #000;
    color: #000;
    font-size: 1.4rem;
    line-height: 1.4;
}

.intro-detail__table tr:last-child .intro-detail__table-data {
    border-bottom: none;
}

.intro-detail__text {
    font-size: 1.2rem;
}

.intro-detail__text:last-child {
    margin: 0;
}

.component-list__item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 5px;
}

.component-list__item .component-list__image-wrapper {
    text-align: center;
}

.component-list__item:first-of-type .component-list__image-wrapper {
    margin: 0 0 2rem;
}

.component-list__title {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-family: 'Noto Sans JP', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    line-height: 1.4;
}

.component-list__text {
    font-size: 1.4rem;
}

.component__description {
    margin-bottom: 2rem;
    font-size: 1.4rem;
}

.drug-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    background: #fff;
    border-radius: 5px;
    line-height: 1.4;
}

.drug__description {
    margin-bottom: 2rem;
}

.drug-section__title {
    padding: 1rem 1rem 1.2rem;
    background: #689cd2;
    color: #fff;
    border-radius: 5px 5px 0 0;
    font-size: 1.6rem;
    font-family: 'Noto Sans JP', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    line-height: 1;
}

.drug-section__block {
    padding: 1.5rem 1.5rem 0;
}

.drug-section__heading {
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid #689cd2;
    color: #689cd2;
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1.4;
}

.drug-section__text {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.drug-section__caption--top {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.2;
}

.drug-section__caption--bottom {
    margin-top: 1rem;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.2;
}

.drug-section__image {
    display: block;
    margin: 0 auto;
}

.merit__description {
    font-size: 1.4rem;
}

.merit-list__item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem 1rem;
    background: #fff;
    border-radius: 5px;
}

.merit-list__image-wrapper {
    width: 80px;
}

.merit-list__title {
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-family: 'Noto Sans JP', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
}

.merit-list__features {
    margin: 1rem 0;
}

.merit-list__feature-item {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.merit-list__text {
    margin-top: 1rem;
    color: #689cd2;
    font-size: 1.4rem;
    font-weight: bold;
    line-height: 1.2;
}

.section--review {
    margin: 0 0 2rem;
}

/* モバイルでSwiper矢印を非表示 */
@media screen and (max-width: 720px) {
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
}

@media screen and (min-width: 960px) {
    .featured-had {
        padding: 3rem 2rem;
    }

    .tab-panel {
        padding: 2rem;
    }

    .tab-panel__body {
        gap: 2rem;
        padding-bottom: 0;
    }

    .tab-panel__image {
        width: 200px;
    }

    .tab-panel__title {
        font-size: 2rem;
    }

    .tab-panel__description {
        font-size: 1.4rem;
    }

    .tab-panel__link {
        width: 200px;
    }

    .section__title-wrapper {
        margin: 3rem 0 2rem;
    }

    .section__title {
        display: inline-block;
        padding-bottom: .8rem;
        border-bottom: 6px solid #b1d3f5;
        font-size: 3.6rem;
    }

    .section__description {
        font-size: 1.4rem;
    }

    .section__image {
        margin-bottom: 4rem;
    }

    .intro-detail__inner {
        padding: 5rem 2rem 2rem;
    }

    .intro-detail__text {
        margin-bottom: 1.5rem;
        font-size: 1.4rem;
    }

    .intro-detail__table-heading {
        width: 180px;
        padding: 1.5rem 1rem;
        font-size: 2rem;
    }

    .intro-detail__table-data {
        padding: 1.5rem;
        font-size: 2rem;
    }

    .intro-detail {
        padding: 1.5rem;
    }

    .component-list__item {
        display: flex;
        align-items: center;
        gap: 2rem;
    }

    .component-list__image-wrapper {
        flex-shrink: 0;
    }

    .component-list__item:first-of-type .component-list__image-wrapper {
        margin: 0;
    }

    .component-list__title {
        font-size: 2.2rem;
    }

    .drug-section {
        padding-bottom: 2rem;
    }

    .drug-section__block {
        padding: 2rem 2rem 0;
    }

    .drug-section__heading {
        margin-bottom: 2rem;
        font-size: 1.8rem;
    }

    .drug-section__title {
        padding: 1rem 1rem 1.2rem;
        font-size: 1.8rem;
    }

    .drug-section__caption--top {
        margin-bottom: 2rem;
        font-size: 2rem;
        text-align: center;
    }

    .drug-section__caption--bottom {
        margin-top: 2rem;
        font-size: 2rem;
        text-align: center;
    }

    .drug-section__text {
        margin-bottom: 2rem;
    }

    .merit-list__item {
        display: flex;
        align-items: center;
        gap: 2rem;
        padding: 2rem;
    }

    .merit-list__image-wrapper {
        width: auto;
    }

    .merit-list__title {
        font-size: 2rem;
    }

    .merit-list__features {
        margin: 2rem 0;
    }
}
