@charset "UTF-8";

:root {
    --purple: #543594;
    --yellow: #F9B234;
    --blue: #52A7DF;
    --noto: "Noto Sans JP", sans-serif;
    --roboto: "Roboto", sans-serif;
}

[hidden] {
    display: none !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: inherit;
    text-decoration: none;
    list-style: none;
    transition: .3s ease;
}

a { 
    display: block;
}

img {
    display: block;
    width: 100%;
    object-fit: contain;
}

body {
    font-family: var(--noto);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0;
    color: #000000;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 clamp(40px, calc(40 / 480 * 100vw), 80px);
    position: relative;
    z-index: 1;
    height: 100%;
}

@media (min-width: 768px) {
    a:hover {
        opacity: 0.6;
    }
}

/* Header */
.header {
    background-color: #fff;
    padding: 20px;
    height: 76px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #CCCCCC;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header__logo {
    max-width: 214px;
}

.header__actions {
    display: flex;
    gap: clamp(12px, calc(12 / 480 * 100vw), 20px);
}

.header__icon {
    width: clamp(24px, calc(24 / 480 * 100vw), 30px);
    height: clamp(24px, calc(24 / 480 * 100vw), 30px);
    cursor: pointer;
}

@media (min-width: 768px) {
    .header {
        padding: 16px 32px;
    }
}

.yellow-button {
    background: var(--yellow);
    border-radius: 2px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    white-space: nowrap;
    width: fit-content;
}

/* Main Content */
.main {
    margin-top: 76px;
}

/* fv Section */
.fv {
    background: url(../img/fv-bg.jpg);
    background-size: cover;
    min-height: 280px;
    position: relative;
    overflow: hidden;
    margin-bottom: 75px;
}

.fv .container {
    max-width: 800px;
    padding: 0;
}

.fv__woman {
    width: 100%;
    height: 110%;
    position: absolute;
    top: 0;
    right: -25%;
    z-index: 0;
}

.fv__woman img {
    height: 100%;
}

.fv .container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 80px;
}

.fv__text {
    font-weight: 700;
    font-size: clamp(20px, calc(30 / 480 * 100vw), 40px);
    color: #FFFFFF;
    line-height: 1.5;
    text-shadow: 0px 0px 4px #0000001A;
    margin-top: 50px;
    position: relative;
}

.fv__text .big {
    font-size: clamp(24px, calc(34 / 480 * 100vw), 48px);
}

.fv__buttons {
    width: 96%;
    margin: 0 auto 20px;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 10px;
}

.fv__button {
    max-width: 350px;
    padding: 0.625em 1em;
    border: 2px solid var(--purple);
    border-radius: 100px;
    font-weight: 700;
    font-size: clamp(14px, calc(16 / 480 * 100vw), 24px);
    white-space: nowrap;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fv__button.-purple {
    background: var(--purple);
    color: #fff;
    position: relative;
}

.fv__button.-purple::before {
    content: "";
    background: url(../img/fv-fukidashi.png);
    background-size: contain;
    width: 4.625em;
    height: 4.8125em;
    position: absolute;
    top: -4.2em;
    left: -20px;
}

.fv__button.-white {
    background: #fff;
    color: var(--purple);
}

@media (min-width: 768px) {
    .fv {
        height: 400px;
    }

    a.fv__button:hover {
        opacity: 1;
        scale: 1.05;
    }
}

/* Banner Section */
.banner {
    overflow: hidden;
}

.banner .container {
    width: 100%;
    padding-top: clamp(25px, calc(25 / 480 * 100vw), 40px);
    max-width: 100%;
}

.banner-swiper {
  width: 90%;
  max-width: 500px;
  margin: 0 auto;
}

.swiper-slide img {
  width: 100%;
  display: block;
  border-radius: 8px;
  aspect-ratio: 440 / 175;
  object-fit: cover;
}

/* Section */
.section__heading {
    margin-bottom: clamp(15px, calc(15 / 480 * 100vw), 30px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section__title {
    font-size: clamp(18px, calc(20 / 480 * 100vw), 28px);
    font-weight: bold;
    padding-left: clamp(29px, calc(29 / 480 * 100vw), 40px);
    line-height: clamp(24px, calc(24 / 480 * 100vw), 32px);
    background-size: clamp(24px, calc(24 / 480 * 100vw), 32px) auto;
    background-position: center left;
    background-repeat: no-repeat;
}

.section__more {
    padding: 0.615em 1.23em;
    border: 1px solid #CCCCCC;
    border-radius: 100px;
    font-size: clamp(12px, calc(13 / 480 * 100vw), 16px);
    font-weight: 500;
    line-height: 1;
}

/* Popular Creators Section */
.popular-creators .section__title {
    background-image: url(../img/ico_crown.svg);
}

/* Creators Grid */
.creators {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: calc(20 / 480 * 100vw);
}

.creator {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(10px, calc(10 / 480 * 100vw), 15px);
    text-decoration: none;
    color: inherit;
}

.creator__avatar {
    width: calc(90 / 480 * 100vw);
    max-width: 200px;
    height: calc(90 / 480 * 100vw);
    max-height: 200px;
    border: 2px solid #E0E0E0;
    border-radius: 50%;
    overflow: hidden;
}

.creator__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.creator__name {
    font-size: clamp(12px, calc(13 / 480 * 100vw), 18px);
    font-weight: 700;
}

.fun-button {
    padding: 0.6em 0.8em;
    font-size: clamp(10px, calc(12 / 480 * 100vw), 16px);
}

/* New Post List */
.new-post .section__title {
    background-image: url(../img/ico_new.svg);
}

.post-list__grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: calc(10 / 480 * 100vw);
}

.post-list__item {
    width: 100%;
    height: clamp(154px, 32vw, 200px);
    border: 1px solid #CCCCCC;
    border-radius: 10px;
    box-shadow: 0px 0px 10px 0px #0000001A;
    overflow: hidden;
}

.post-list__link {
    display: flex;
    gap: 12px;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.post-list__thumbnail {
    width: 50%;
}

.post-list__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-list__content {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.post-list__title {
    font-size: clamp(15px, calc(15 / 480 * 100vw), 18px);
    font-weight: 500;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.post-list__creator {
    font-size: clamp(13px, calc(13 / 480 * 100vw), 16px);
}

.post-list__date {
    font-size: clamp(12px, calc(12 / 480 * 100vw), 14px);
    color: #888;
}

@media (min-width: 768px) {
    .post-list__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .post-list__item {
        height: auto;
    }

    .post-list__link {
        flex-direction: column;
        align-items: stretch;
    }

    .post-list__content {
        justify-content: flex-start;
    }

    .post-list__thumbnail {
        width: 100%;
        height: 200px;
    }
}

/* Pickup Section */
.pickup .section__title {
    background-image: url(../img/ico_pickup.svg);
}

.pickup__tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: calc(10 / 480 * 100vw);
    margin-bottom: clamp(15px, calc(15 / 480 * 100vw), 30px);
}

.pickup__tab {
    border: 1px solid var(--purple);
    border-radius: 5px;
    padding: 0.714em;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(14px, calc(14 / 480 * 100vw), 18px);
    font-weight: 500;
    color: var(--purple);
    cursor: pointer;
}

.pickup__tab.--active {
    background: var(--purple);
    color: #fff;
}

.product__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: calc(15 / 480 * 100vw) calc(20 / 480 * 100vw);
}

.product__item {
    background-color: #fff;
    border: 1px solid #E0E0E0;
    box-shadow: 0px 0px 10px 0px #0000001A;
    border-radius: 10px;
    overflow: hidden;
}

.product__link {
    display: flex;
    flex-direction: column;
}

.product__image {
    width: 100%;
    height: 150px;
}

.product__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product__info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product__creator {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: clamp(12px, calc(12 / 480 * 100vw), 14px);
}

.product__creator img {
    width: clamp(30px, calc(30 / 480 * 100vw), 50px);
    height: clamp(30px, calc(30 / 480 * 100vw), 50px);
    border: 1px solid #E0E0E0;
    border-radius: 50%;
}

.product__title {
    font-size: clamp(14px, calc(14 / 480 * 100vw), 18px);
    line-height: 1.5;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

@media (min-width: 768px) {
    .product__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: calc(10 / 480 * 100vw);
    }

    .product__image {
        height: 200px;
    }
}

/* Footer */
.footer {
    margin: 20px 0 100px;
}

.footer .container {
    width: calc(374 / 480 * 100vw);
    padding: 0;
}

.footer__links {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer__link {
    font-size: clamp(13px, calc(13 / 480 * 100vw), 16px);
    font-weight: 500;
    padding: 5px 20px;
}

.footer__copyright {
    font-size: clamp(11px, calc(11 / 480 * 100vw), 14px);
    line-height: 1;
    color: #888;
    text-align: center;
}

@media (min-width: 768px) {
    .footer {
        margin: 20px 0;
    }
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 45px;
    transition: height 0.3s ease;
    background-color: #fff;
    border-top: 1px solid #ccc;
    display: flex;
    padding: 10px 0;
    z-index: 1000;
}

.bottom-nav.--bottom {
    height: 65px;
}

.bottom-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #888;
    font-size: 12px;
    font-weight: 500;
}

.bottom-nav__item.--active {
    color: var(--purple);
}

.bottom-nav__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background-color: #888;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

.bottom-nav__item.--active .bottom-nav__icon {
    background-color: var(--purple);
}

.bottom-nav__icon.ico-home {
    mask-image: url("../img/ico_home.svg");
    -webkit-mask-image: url("../img/ico_home.svg");
}

.bottom-nav__icon.ico-market {
    mask-image: url("../img/ico_market.svg");
    -webkit-mask-image: url("../img/ico_market.svg");
}

.bottom-nav__icon.ico-feed {
    mask-image: url("../img/ico_feed.svg");
    -webkit-mask-image: url("../img/ico_feed.svg");
}

.bottom-nav__icon.ico-account {
    mask-image: url("../img/ico_account.svg");
    -webkit-mask-image: url("../img/ico_account.svg");
}

.bottom-nav__item span {
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.bottom-nav.--bottom .bottom-nav__item span {
    opacity: 1;
    pointer-events: auto;
}

@media (min-width: 768px) {
    .bottom-nav {
        display: none;
    }
}

/** マーケット **/
/* Category Grid */
.categories .container {
    padding-bottom: (30px, calc(30 / 480 * 100vw), 60px);
}

.categories__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.category {
    background-color: #fff;
    padding: 0.9375em 0.625em;
    border-radius: 5px;
    border: 1px solid var(--purple);
    cursor: pointer;
    font-weight: 500;
    font-size: clamp(16px, calc(16 / 480 * 100vw), 20px);
    line-height: 1;
    color: var(--purple);
}
@media (min-width: 768px) {
    .categories__grid {
        grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    }

    .category:hover {
        background: var(--purple);
        color: #fff;
    }

}

/* Search Section */
.search .container {
    padding-bottom: clamp(30px, calc(30 / 480 * 100vw), 60px);
}

.search__box {
    display: flex;
    align-items: center;
    gap: clamp(8px, calc(8 / 480 * 100vw), 12px);
    width: 100%;
    padding: 0.875em 1.1875em;
    border: 1px solid var(--purple);
    border-radius: 100px;
    font-size: clamp(16px, calc(16 / 480 * 100vw), 20px);
    background-color: #fff;
}

.search__input {
    flex: 1;
    width: 100%;
    min-width: 0;
    border: none;
    outline: none;
    font: inherit;
}

.search__input::placeholder {
    color: #9A9A9A;
}

.search__button {
    width: clamp(20px, calc(20 / 480 * 100vw), 24px);
    height: clamp(20px, calc(20 / 480 * 100vw), 24px);
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
}

.search__button img {
    width: 100%;
    height: 100%;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    overflow: hidden;
    white-space: nowrap;
}

.search-page__header .container {
    padding-top: clamp(25px, calc(25 / 480 * 100vw), 40px);
}

.search-page__title {
    font-size: clamp(22px, calc(24 / 480 * 100vw), 32px);
    font-weight: 700;
    margin-bottom: clamp(16px, calc(18 / 480 * 100vw), 26px);
}

.search-result__meta {
    font-size: clamp(13px, calc(14 / 480 * 100vw), 18px);
    margin-top: clamp(14px, calc(16 / 480 * 100vw), 24px);
}

.search-results .container {
    padding-top: 0;
}

.search-results__empty {
    text-align: center;
    color: #666666;
    padding: clamp(30px, calc(40 / 480 * 100vw), 56px) 0;
}

/* Tags Section */
.tags {
    border-top: 2px solid #CCC;
    border-bottom: 2px solid #CCC;
}
.tags .container {
    padding: clamp(20px, calc(20 / 480 * 100vw), 40px) 0;
}

.tags .section__title {
    background-image: url(../img/ico_crown.svg);
}

.tags__list {
    display: flex;
    flex-wrap: wrap;
    gap: calc(10 / 480 * 100vw);
}

.tag {
    background: #5435941A;
    padding: 0.615em 1.23em;
    border-radius: 5px;
    font-weight: 500;
    font-size: clamp(13px, calc(13 / 480 * 100vw), 16px);
    cursor: pointer;
    white-space: nowrap;
}


@media (min-width: 768px) {
    .tag:hover {
        background-color: #f0f0f0;
    }
}

/* New Products Section */
.new-products .container {
    padding-top: clamp(30px, calc(30 / 480 * 100vw), 60px);
}

.new-products .section__title {
    background-image: url(../img/ico_new.svg);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: calc(10 / 480 * 100vw);
    padding-top: clamp(30px, calc(30 / 480 * 100vw), 60px);
}

.pagination__item {
    width: clamp(36px, calc(36 / 480 * 100vw), 42px);
    height: clamp(36px, calc(36 / 480 * 100vw), 42px);
    background-color: #fff;
    border: 1px solid var(--purple);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple);
    font-weight: 500;
    font-size: clamp(14px, calc(14 / 480 * 100vw), 18px);
}

.pagination__item.--active {
    background: var(--purple);
    color: #fff;
}

.pagination__item.--disabled {
    display: none;
}

.pagination__item.prev::before,
.pagination__item.next::after {
    display: inline-block;
    transform: rotate(45deg);
    width: 0.5em;
    height: 0.5em;
    content: '';
}

.pagination__item.prev::before {
    border-bottom: 2px solid var(--purple);
    border-left: 2px solid var(--purple);
    margin-left: 0.2em;
}

.pagination__item.next::after {
    border-top: 2px solid var(--purple);
    border-right: 2px solid var(--purple);
    margin-right: 0.2em;
}

@media (min-width: 768px) {
    .pagination__item:hover {
        background: var(--purple);
        color: #fff;
    }

    .pagination__item.prev:hover::before,
    .pagination__item.next:hover::after {
        border-color: #fff;
    }
}


/** 商品詳細 **/
/* Creator Profile */
.creator-prof {
    background: white;
    padding-top: clamp(25px, calc(25 / 480 * 100vw), 40px);
}

.creator-prof .container {
    padding-bottom: calc(20 / 480 * 100vw);
    display: flex;
    align-items: center;
    gap: calc(15 / 480 * 100vw);
}

.creator-prof__avatar {
    width: calc(60 / 480 * 100vw);
    max-width: 170px;
    height: calc(60 / 480 * 100vw);
    max-height: 170px;
    border-radius: 50%;
    border: 2px solid #E0E0E0;
    overflow: hidden;
}

.creator-prof__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.creator-prof__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: calc(8 / 480 * 100vw);
}

.creator-prof__heading {
    display: flex;
    gap: calc(15 / 480 * 100vw);
    align-items: center;
}

.creator-prof__name {
    font-size: clamp(20px, calc(20 / 480 * 100vw), 28px);
    font-weight: 700;
    line-height: 1.25;
}

.creator-prof__handle {
    font-size: clamp(16px, calc(16 / 480 * 100vw), 20px);
    font-weight: 700;
    line-height: 1.25;
}

.creator-prof__description {
    font-size: clamp(13px, calc(13 / 480 * 100vw), 16px);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    white-space: normal;
}

/* Navigation */
.product-tabs {
    background: #5435941A;
    margin-bottom: clamp(30px, calc(30 / 480 * 100vw), 60px);
}

.product-tabs .container {
    padding-bottom: 0;
}

.product-tabs__list {
    display: flex;
    justify-content: center;
}

.product-tab {
    border-radius: 5px;
    flex: 1;
    text-align: center;
    display: block;
    font-weight: 500;
    font-size: clamp(16px, calc(16 / 480 * 100vw), 20px);
    line-height: 1;
    color: #54359480;
    padding: 0.9375em 0;
    margin: 0.3125em 0;
    cursor: pointer;
    text-decoration: none;
}

.product-tab.--active {
    background: #FFF;
    font-weight: 700;
    color: var(--purple);
}

/* Product Detail Section */
.product-detail__title {
    font-size: clamp(24px, calc(24 / 480 * 100vw), 32px);
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: clamp(20px, calc(20 / 480 * 100vw), 40px);
}

.product-detail__body {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(30px, calc(30 / 480 * 100vw), 60px);
}

@media (min-width: 768px) {
    .product-detail__body {
        grid-template-columns: 1fr 400px;
        gap: 32px;
    }
}

/* product-detail Gallery */
.product-detail__gallery {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(15px, calc(15 / 480 * 100vw), 30px);
}

.gallery__main {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.gallery__main-image {
    width: 100%;
    height: 100%;
}

.gallery__thumbs {
    padding-bottom: 10px;
    display: flex;
    overflow-x: auto;
    gap: 10px;
}

.gallery__thumb {
    width: clamp(80px, 20%, 100px);
    aspect-ratio: 1 / 1;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.gallery__thumb-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 768px) {
    .gallery__main {
        max-height: 65vh;
    }

    .gallery__thumbs {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* product-detail Info */
.product-detail__price {
    font-family: var(--roboto);
    font-weight: 500;
    font-size: clamp(30px, calc(30 / 480 * 100vw), 48px);
    font-weight: 500;
    margin-bottom: clamp(15px, calc(15 / 480 * 100vw), 30px);
}

.product-detail__price span {
    font-family: var(--noto);
    font-size: clamp(13px, calc(13 / 480 * 100vw), 20px);
}

.product-detail__button {
    width: 100%;
    margin-bottom: clamp(40px, calc(40 / 480 * 100vw), 80px);
    background: var(--yellow);
    color: white;
    padding: 0.75em;
    border-radius: 100px;
    font-weight: 700;
    font-size: clamp(20px, calc(20 / 480 * 100vw), 28px);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
}

.product-detail__button img {
    width: 1em;
}

.product-detail__description {
    width: 95%;
    margin: 0 auto clamp(40px, calc(40 / 480 * 100vw), 80px);
    font-size: clamp(16px, calc(16 / 480 * 100vw), 20px);
    line-height: 1.5;
}

.product-detail__rating {
    background: #5435941A;
    margin: 0 calc(50% - 50vw);
    padding: 1em 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: clamp(20px, calc(30 / 480 * 100vw), 28px);
}

.rating__stars {
    color: var(--purple);
}

.rating__score {
    font-weight: bold;
    color: var(--purple);
}

.rating__count {
    color: #888;
    font-size: clamp(16px, calc(16 / 480 * 100vw), 20px);
    font-weight: 500;
}

.rating__count a {
    display: inline;
    text-decoration: underline;
}

@media (min-width: 768px) {
    .product-detail__rating {
        width: auto;
        margin: 0 auto;
    }
}

/* Recommendations */
.recommendations .section__title {
    background-image: url(../img/ico_heart.svg);
}


.recommendations .product__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: calc(15 / 480 * 100vw) calc(10 / 480 * 100vw);
}

.recommendations .product__image {
    height: calc(100 / 480 * 100vw);
    min-height: 100px;
}

.recommendations .product__title {
    font-size: clamp(12px, calc(12 / 480 * 100vw), 16px);
}

.recommendations .product__info {
    padding: 15px 10px;
}

.recommendations.most-view .section__title {
    background-image: url(../img/ico_bag.svg);
}

@media (min-width: 768px) {
    .recommendations .product__image {
        height: 200px;
    }

    .recommendations .product__info {
        padding: 15px;
    }
}

/** プラン **/
/* Plan Section */
.plan-list__inner {
    display: grid;
    grid-template-columns: 1fr;
}

.plan-list__item {
    padding: clamp(25px, calc(25 / 480 * 100vw), 50px) 0;
    border-bottom: 1px solid #CCCCCC;
    display: flex;
    flex-direction: column;
    gap: clamp(15px, calc(15 / 480 * 100vw), 50px);
}

.plan-list__item:first-child {
    padding-top :0;
}

.plan-list__header {
    display: flex;
    gap: clamp(20px, calc(20 / 480 * 100vw), 30px);
    flex-shrink: 0;
}

.plan-list__image img {
    width: clamp(120px, calc(120 / 480 * 100vw), 300px);
    height: clamp(120px, calc(120 / 480 * 100vw), 300px);
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.plan-list__info {
    display: flex;
    flex-direction: column;
    gap: calc(5 / 480 * 100vw);
}

.--join .plan-list__info .join-button {
    display: none;
}

.plan-list__title {
    font-weight: 400;
    font-size: clamp(18px, calc(18 / 480 * 100vw), 28px);
    line-height: 1.5;
}

.plan-list__subtitle {
    font-size: clamp(13px, calc(13 / 480 * 100vw), 16px);
    line-height: 1.5;
    color: #888888;
}

.plan-list__subtitle .--price {
    font-weight: 700;
    font-size: clamp(18px, calc(18 / 480 * 100vw), 24px);
    color: #000000;
}

.join-button {
    padding: 0.71em 2.14em;
    font-size: clamp(14px, calc(14 / 480 * 100vw), 18px);
    text-align: center;
}

.plan-list__description {
    font-size: clamp(14px, calc(14 / 480 * 100vw), 18px);
    line-height: 1.6;
}

.plan-list__footer {
    background: #EFEFEF;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(15px, calc(15 / 480 * 100vw), 30px) clamp(10px, calc(10 / 480 * 100vw), 20px);
}

.--join .plan-list__footer {
    background: #f9b13433;
}

.plan-list__price {
    width: 50%;
    text-align: center;
    font-size: clamp(13px, calc(13 / 480 * 100vw), 16px);
}

.plan-list__price .--price {
    font-weight: 700;
    font-size: clamp(20px, calc(20 / 480 * 100vw), 28px);
}

.plan-list__button {
    width: 50%;
    padding: 0.9375em 1.875em;
    border: 1px solid var(--yellow);
}

.--join .plan-list__button {
    border: 1px solid var(--yellow);
    background: transparent;
    color: var(--yellow);
}

.plan-list__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 768px) {
    .plan-list__item {
        flex-direction: row;
    }

    .plan-list__header {
        width: 50%;
    }

    .plan-list__content {
        justify-content: space-between;
    }
}

/** 投稿 **/
/* Article Section */
.article__content {
    display: flex;
    flex-direction: column;
    gap: calc(15 / 480 * 100vw);
}

.article__heading {
    display: flex;
    flex-direction: column;
    gap: calc(5 / 480 * 100vw);
}

.article__eyecatch img {
    width: 100%;
    aspect-ratio: 1 / 1;
}

.article__body p {
    font-size: clamp(16px, calc(16 / 480 * 100vw), 20px);
    line-height: 1.5;
    margin-bottom: 1em;
}

.article__body p .--small {
    font-size: clamp(13px, calc(13 / 480 * 100vw), 16px);
}

.article__body p:last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .article__eyecatch img {
        aspect-ratio: 16 / 9;
    }
}

/* Limited Contents Section */
.limited__box {
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--purple);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.limited__heading {
    background: var(--purple);
    padding: clamp(15px, calc(15 / 480 * 100vw), 30px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, calc(10 / 480 * 100vw), 20px);
}

.limited__heading img {
    width: clamp(24px, calc(24 / 480 * 100vw), 32px);
}

.limited__box-title {
    font-weight: 700;
    font-size: clamp(18px, calc(18 / 480 * 100vw), 24px);
    line-height: 1;
    color: #FFFFFF;
    text-align: center;
}

.limited__body {
    padding: 0 clamp(15px, calc(15 / 480 * 100vw), 30px);
    display: flex;
    flex-direction: column;
}

.limited__item {
    padding: clamp(20px, calc(20 / 480 * 100vw), 40px) 0;
    display: flex;
    gap: clamp(20px, calc(20 / 480 * 100vw), 40px);
    border-bottom: 1px solid var(--purple);
}

.limited__item:last-child {
    border-bottom: none;
}

.limited__image img {
    width: clamp(100px, calc(100 / 480 * 100vw), 200px);
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.limited__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: calc(5 / 480 * 100vw);
}

.limited__subject {
    background: #5435941a;
    padding: 0.417em 0.83em;
    font-weight: 500;
    font-size: clamp(12px, calc(12 / 480 * 100vw), 14px);
    line-height: 1;
    color: var(--purple);
}

.limited__item-title {
    font-weight: 700;
    font-size: clamp(16px, calc(16 / 480 * 100vw), 20px);
    line-height: 1.5;
}

.limited-button {
    width: 100%;
    text-align: center;
    padding: 0.71em;
    font-size: clamp(14px, calc(14 / 480 * 100vw), 18px);
}

.limited-button.--join {
    background: var(--purple);
}

/* Recommended Post Section */
.recommended-post .section__title {
    background-image: url(../img/ico_heart.svg);
}

/* Pagination */
.article-pagination {
    padding-bottom:  clamp(40px, calc(40 / 480 * 100vw), 80px);
}

.article-pagination__list {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.article-pagination__item {
    flex: 1 1 33.33%;
    text-align: center;
    overflow: hidden;
    font-weight: 700;
    font-size: clamp(13px, calc(13 / 480 * 100vw), 16px);
    color: var(--purple);
}

.article-pagination__link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.77rem;
    font-weight: bold;
    width: 100%;
    padding: 1em 1.15em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-top: 1px solid var(--purple);
    border-bottom: 1px solid var(--purple);
}

.article-pagination__link.is-center {
    background: var(--purple);
    color: #FFFFFF;
    border-radius: 4px;
}

.article-pagination__icon {
  width: 0.5em;
  flex-shrink: 0;
}

/* タイトルに幅制限をつけて省略を効かせる */
.article-pagination__title {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}

/* 中央のリンクだけアイコン無しでセンター寄せ */
.article-pagination__link.is-center {
  justify-content: center;
}

/** マイアカウント **/
/* User Profile */
.user-profile {
    padding-top: clamp(25px, calc(25 / 480 * 100vw), 40px);
}

.user-profile .container {
    padding-bottom: clamp(20px, calc(20 / 480 * 100vw), 40px);
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.user-profile__info {
    display: flex;
    align-items: center;
    gap: calc(10 / 480 * 100vw);
}

.user-profile__avatar img {
    width: clamp(64px, calc(64 / 480 * 100vw), 80px);
    height: clamp(64px, calc(64 / 480 * 100vw), 80px);
    border-radius: 50%;
    object-fit: cover;
}

.user-profile__name {
    font-weight: 700;
    font-size: clamp(16px, calc(16 / 480 * 100vw), 20px);
    line-height: 1;
    margin-bottom: 0.8em;
}

.user-profile__follow {
    display: flex;
    align-items: center;
    gap: clamp(10px, calc(10 / 480 * 100vw), 20px);
    font-weight: 500;
    font-size: clamp(12px, calc(12 / 480 * 100vw), 14px);
    line-height: 1;
}

.user-profile__follow-count {
    background: #5435941A;
    border-radius: 50%;
    padding: 0.42em;
    display: flex;
    align-items: center;
    justify-content: center;
    display: inline-block;
    font-weight: 700;
    color: var(--purple);
}

.creator-prof__heading .fun-button[aria-disabled="true"],
.creator-prof__heading .fun-button[data-loading="1"] {
    pointer-events: none;
    opacity: 0.65;
}

.user-profile__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: calc(6 / 480 * 100vw);
}

.user-profile__button {
    padding: 0.833em 1em;
    border-radius: 2px;
    font-size: clamp(12px, calc(12 / 480 * 100vw), 14px);
    font-weight: 700;
}

.user-profile__button.creator-menu {
    background: var(--purple);
    color: #FFFFFF;
}

.user-profile__button.logout {
    background: transparent;
    color: var(--purple);
    border: 1px solid var(--purple);
}

/* Settings Section */
.settings {
    background: #fff;
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
}

.settings .section__heading {
    margin-bottom: clamp(20px, calc(20 / 480 * 100vw), 40px);
}

.settings .section__title {
    font-size: clamp(18px, calc(20 / 480 * 100vw), 28px);
    background-image: url(../img/ico_setting.svg);
    background-size: clamp(20px, calc(20 / 480 * 100vw), 32px) auto;
}

.settings__body {
    display: flex;
    flex-direction: column;
    gap: clamp(25px, calc(25 / 480 * 100vw), 50px);
}

.settings__menu {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, calc(10 / 480 * 100vw), 20px);
}

.settings__menu-title {
    background: #E0E0E0;
    padding: 1em;
    font-weight: 700;
    font-size: clamp(15px, calc(15 / 480 * 100vw), 20px);
    line-height: 1;
    color: #333;
}

.settings__item {
    border-top: 1px solid #CCCCCC;
}

.settings__item:last-child {
    border-bottom: 1px solid #CCCCCC;
}

.settings__item-link {
    padding: 1.07em;
    color: #333;
    font-size: clamp(14px, calc(14 / 480 * 100vw), 18px);
    position: relative;
}

.settings__item-link::after {
    content: "";
    background: url(../img/ico_setting-arrow.svg);
    position: absolute;
    top: 50%;
    right: 1em;
    transform: translateY(-50%);
    width: 10px;
    height: 18px;
}

.settings__item-arrow {
    color: #ccc;
    font-size: 14px;
}

@media (min-width: 768px) {
    .settings__body {
        flex-direction: row;
    }

    .settings__menu {
        width: 50%;
    }
}

/* My Account Navigation */
.my-account-nav .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.my-account-nav__item {
    padding: 0.9375em 1.875em 0.9375em calc(1.875em + clamp(20px, calc(20 / 480 * 100vw), 30px) + 10px);
    border-bottom: 1px solid #CCCCCC;
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: clamp(16px, calc(16 / 480 * 100vw), 20px);
    background-size: clamp(20px, calc(20 / 480 * 100vw), 30px) auto;
    background-position: center left 1.875em;
    background-repeat: no-repeat;
}

.my-account-nav__item:nth-child(1) {
    border-top: 1px solid #CCCCCC;
    border-right: 1px solid #CCCCCC;
    background-image: url(../img/ico_plan.svg);
}

.my-account-nav__item:nth-child(2) {
    border-top: 1px solid #CCCCCC;
    background-image: url(../img/ico_purchased.svg);
}

.my-account-nav__item:nth-child(3){
    border-right: 1px solid #CCCCCC;
    background-image: url(../img/ico_payment.svg);
}

.my-account-nav__item:nth-child(4) {
    background-image: url(../img/ico_message.svg);
}

@media (min-width: 768px) {
    .my-account-nav .container {
        grid-template-columns: repeat(4, 1fr); 
    }

    .my-account-nav__item {
        border-top: 1px solid #CCCCCC;
        border-right: 1px solid #CCCCCC;
    }

    .my-account-nav__item:nth-child(4) {
        border-right: none;
    }
    
}

/** マイアカウント＞加入プラン **/
/* Subscription Plans Section */
.subscription-plan .section__heading {
    margin-bottom: clamp(30px, calc(30 / 480 * 100vw), 60px);
}

.subscription-plan .section__title {
    background-image: url(../img/ico_plan-ttl.svg);
}

.subscription-plan__tabs {
    display: flex;
    border-bottom: 1px solid #CCCCCC;
    margin-bottom: clamp(15px, calc(15 / 480 * 100vw), 30px);
}

.subscription-plan__tab {
    flex: 1;
    padding: 1em;
    text-align: center;
    font-size: clamp(16px, calc(16 / 480 * 100vw), 20px);
    line-height: 1;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.subscription-plan__tab.--active {
    font-weight: 700;
    color: var(--purple);
    border-bottom: 2px solid var(--purple);
}

/* Subscription / Purchased Card */
.my-account__list {
    background: #fff;
    padding: 0;
    border-radius: 0 0 8px 8px;
}

.my-account__item {
    padding: clamp(20px, calc(20 / 480 * 100vw), 40px) 0;
    border-bottom: 1px solid #CCCCCC;
    display: flex;
    gap: clamp(20px, calc(20 / 480 * 100vw), 40px);
}

.my-account__item:first-child {
    padding-top: 0;
}

.my-account__image img {
    width: clamp(160px, calc(150 / 480 * 100vw), 450px);
    height: clamp(160px, calc(150 / 480 * 100vw), 450px);
    object-fit: cover;
    flex-shrink: 0;
}

.my-account__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: clamp(10px, calc(10 / 480 * 100vw), 20px);
}

.my-account__subtitle {
    font-weight: 700;
    font-size: clamp(16px, calc(16 / 480 * 100vw), 20px);
    line-height: 1.5;
    margin-bottom: clamp(5px, calc(5 / 480 * 100vw), 10px);
}

.my-account__title {
    font-weight: 700;
    font-size: clamp(18px, calc(18 / 480 * 100vw), 24px);
    line-height: 1.5;
}

.my-account__price {
    font-size: clamp(13px, calc(13 / 480 * 100vw), 16px);
    color: #888888;
}

.my-account__price .--price {
    font-weight: 700;
    font-size: clamp(18px, calc(18 / 480 * 100vw), 24px);
    color: #000000;
}

.my-account__name {
    font-size: clamp(14px, calc(14 / 480 * 100vw), 18px);
}

.my-account__info {
    font-size: clamp(14px, calc(14 / 480 * 100vw), 18px);
    line-height: 1.5;
    color: #888888;
}

.my-account__button {
    width: 100%;
    padding: 0.9375em;
    border-radius: 5px;
    font-size: clamp(16px, calc(16 / 480 * 100vw), 20px);
    text-align: center;
    margin-top: auto;
}

.my-account__button.--disabled,
.my-account__button[aria-disabled="true"] {
    background: #d9d9d9;
    color: #8c8c8c;
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
    text-decoration: none;
}

.viewer-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Noto Sans JP', sans-serif;
    text-decoration: none;
    transition: opacity 0.3s;
    cursor: pointer;
    border: none;
}

.viewer-action.--disabled,
.viewer-action[aria-disabled="true"] {
    background: #d9d9d9;
    color: #8c8c8c;
    cursor: not-allowed;
    pointer-events: none;
}

/* Caution Section */
.caution__heading {
    background: #E0E0E0;
    margin-bottom: clamp(10px, calc(10 / 480 * 100vw), 20px);
}

.caution__title {
    padding: 1em;
    font-weight: 700;
    font-size: clamp(15px, calc(15 / 480 * 100vw), 20px);
    line-height: 1;
    color: #333333;
}

.caution__body {
    padding: clamp(10px, calc(10 / 480 * 100vw), 20px);
}

.caution__section {
    margin-bottom: clamp(25px, calc(25 / 480 * 100vw), 50px);
}

.caution__section:last-child {
    margin-bottom: 0;
}

.caution__section-title {
    font-weight: 600;
    font-size: clamp(14px, calc(14 / 480 * 100vw), 18px);
    line-height: 1.8;
}

.caution__list {
    list-style: none;
    padding-left: 0;
}

.caution__list-item {
    position: relative;
    padding-left: 1em;
    font-size: clamp(14px, calc(14 / 480 * 100vw), 18px);
    line-height: 1.8;
}

.caution__list-item::before {
    content: '•';
    position: absolute;
    left: 0;
}

/** マイアカウント＞購入済み **/
/* Purchased Item Section */
.purchased-item .section__heading {
    margin-bottom: clamp(20px, calc(20 / 480 * 100vw), 40px);
}

.purchased-item .section__title {
    background-image: url(../img/ico_purchased-ttl.svg);
}

/** ダッシュボード **/
/* Tab Navigation */
.dashboard-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-bottom: clamp(20px, calc(20 / 480 * 100vw), 40px);
}

.dash-nav {
    margin-bottom: clamp(20px, calc(20 / 480 * 100vw), 40px);
}

.dash-nav .container {
    padding-bottom: 0;
}

.dash-nav__list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.dash-nav__item {
    background: #52A7DF1A;
    border-right: 1px solid #FFFFFF;
}

.dash-nav__item:last-child {
    border-right: none;
}

.dash-nav__link {
    padding: 1.5em 0.4em;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: clamp(12px, calc(12 / 480 * 100vw), 18px);
}

.dash-nav__item.--active {
    background: var(--blue);
}

.dash-nav__item.--active .dash-nav__link {
    color: #FFFFFF;
}

.dashboard-nav__item {
    background: #52A7DF1A;
    border-right: 1px solid #FFFFFF;
    padding: 1.5em 0.4em;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: clamp(12px, calc(12 / 480 * 100vw), 18px);
}

.dashboard-nav__item.--active {
    background: var(--blue);
    color: #FFFFFF;
}

/* Creator Profile */
.dashboard-profile .container {
    display: flex;
    align-items: center;
    gap: clamp(16px, calc(16 / 480 * 100vw), 32px);
    padding-bottom: clamp(20px, calc(20 / 480 * 100vw), 40px);
}

.dashboard-profile__avatar img {
    width: clamp(64px, calc(64 / 480 * 100vw), 80px);
    height: clamp(64px, calc(64 / 480 * 100vw), 80px);
    border-radius: 50%;
    border: 2px solid #E0E0E0;
    object-fit: cover;
}

.dashboard-profile__details {
    display: flex;
    flex-direction: column;
    gap: clamp(5px, calc(5 / 480 * 100vw), 10px);
}

.dashboard-profile__name {
    font-size: clamp(16px, calc(16 / 480 * 100vw), 20px);
    font-weight: 700;
    line-height: 1.5;
}

.dashboard-profile__stats {
    margin-bottom: clamp(20px, calc(20 / 480 * 100vw), 40px);
    display: flex;
    gap: clamp(24px, calc(24 / 480 * 100vw), 48px);
    font-weight: 500;
    font-size: clamp(12px, calc(12 / 480 * 100vw), 14px);
    line-height: 1;
}

.dashboard-profile__stat-value {
    background: #52A7DF1A;
    border-radius: 25px;
    margin-left: clamp(10px, calc(10 / 480 * 100vw), 20px);
    padding: 0.417em;
    font-weight: 700;
    color: var(--blue);
}

/* Account Overview */
.account-overview .section__title {
    background-image: url(../img/ico_dashboard.svg);
    margin-bottom: clamp(10px, calc(10 / 480 * 100vw), 20px);
}

.account-overview__stats {
    margin: 0 auto clamp(20px, calc(20 / 480 * 100vw), 40px);
    max-width: 800px;
}

.account-overview__stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.714em;
    border-bottom: 1px solid #CCCCCC;
    font-size: clamp(14px, calc(14 / 480 * 100vw), 18px);
}

.account-overview__stat-label {
    color: #333333;
    line-height: 1;
}

.account-overview__stat-value {
    font-weight: 500;
    font-size: clamp(16px, calc(16 / 480 * 100vw), 20px);
}

.account-overview__button {
    width: 100%;
    max-width: 500px;
    background: var(--blue);
    color: white;
    padding: 1em;
    margin: 0 auto;
    border-radius: 5px;
    font-size: clamp(16px, calc(16 / 480 * 100vw), 20px);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, calc(10 / 480 * 100vw), 20px);
}

.account-overview__button img {
    width: 1.5em;
}

/* Notifications */
.notifications .section__title {
    background-image: url(../img/ico_recent.svg);
}

.notifications__tabs {
    margin-bottom: clamp(16px, calc(16 / 480 * 100vw), 32px);
    border-bottom: 1px solid #CCCCCC;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.notifications__tab {
    padding: 0.714em 0;
    border-bottom: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: clamp(14px, calc(14 / 480 * 100vw), 18px);
    cursor: pointer;
}

.notifications__tab.--active {
    font-weight: 700;
    color: var(--blue);
    border-bottom: 2px solid var(--blue);
}

.notifications__content {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, calc(10 / 480 * 100vw), 20px);
}

.notification-item {
    border: 1px solid #CCCCCC;
    border-radius: 10px;
    padding: 1.17em;
    font-size: clamp(12px, calc(12 / 480 * 100vw), 14px);
    line-height: 1.6;
}

.notification-item__title {
    font-size: clamp(16px, calc(16 / 480 * 100vw), 20px);
    font-weight: 700;
    margin-bottom: clamp(6px, calc(6 / 480 * 100vw), 12px);
    color: #333;
}

.notification-item__text {
    color: #666;
}

.notification-item__time {
    color: #666;
}

/** ダッシュボード＞投稿 **/
/* Section Header */
.dash-section__heading {
    margin-bottom: clamp(20px, calc(20 / 480 * 100vw), 40px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dash-section__title {
    font-size: clamp(24px, calc(24 / 480 * 100vw), 32px);
    font-weight: 700;
}

.dash-section__button {
    padding: 1.07em 4em;
    background: var(--blue);
    color: white;
    text-align: center;
    border-radius: 5px;
    font-size: clamp(14px, calc(14 / 480 * 100vw), 18px);
    font-weight: 700;
}

.dash-section__button.--sub {
    background: #ffffff;
    border: 1px solid var(--blue);
    color: var(--blue);
}

.dash-section__header {
    margin-bottom: clamp(20px, calc(20 / 480 * 100vw), 40px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: clamp(12px, calc(12 / 480 * 100vw), 24px);
}

.dash-flash {
    margin-bottom: clamp(16px, calc(16 / 480 * 100vw), 24px);
    border: 1px solid #BFE5C5;
    border-radius: 8px;
    background: #ECF9EE;
    color: #1E7A2E;
    font-weight: 500;
    font-size: clamp(13px, calc(13 / 480 * 100vw), 16px);
    line-height: 1.6;
    padding: 0.75em 1em;
}

@media (max-width: 767px) {
    .dash-section__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .dash-section__button {
        width: 100%;
        padding-left: 1.5em;
        padding-right: 1.5em;
    }
}

/* Filter Section */
.dash-section__filter {
    padding: clamp(10px, calc(10 / 480 * 100vw), 20px);
}

.dash-section__select {
    width: clamp(120px, calc(120 / 480 * 100vw), 200px);
    padding: 0.571em 0.714em;
    border: 1px solid #CCCCCC;
    border-radius: 5px;
    font-weight: 500;
    font-size: clamp(14px, calc(14 / 480 * 100vw), 18px);
    line-height: 1;
    background: white;
    cursor: pointer;
    background-image: url("../img/ico_select.svg");
    background-repeat: no-repeat;
    background-size: 0.643em auto; /* 画像のサイズ（幅 高さ）*/
    background-position: right 0.714em center;
}

.dash-section__select:focus {
    outline: none;
    border-color: var(--blue);
}

/* Post Card */
.dash-post__list {
    display: grid;
    grid-template-columns: 1fr;
}

.dash-post-card {
    padding: clamp(30px, calc(30 / 480 * 100vw), 60px) 0;
    border-bottom: 1px solid #CCCCCC;
    display: flex;
    flex-direction: column;
    gap: clamp(10px, calc(10 / 480 * 100vw), 20px);
}

.dash-post-card__heading {
    display: flex;
    gap: clamp(15px, calc(15 / 480 * 100vw), 30px);
    width: 100%;
}

.dash-post-card__image {
    max-width: 50%;
}

.dash-post-card__image img {
    width: clamp(140px, calc(140 / 480 * 100vw), 200px);
    max-width: 100%;
    aspect-ratio: 140 / 130;
    object-fit: cover;
    border-radius: 10px;
}

.dash-post-card__info {
    padding: clamp(10px, calc(10 / 480 * 100vw), 20px) 0;
    display: flex;
    flex-direction: column;
    gap: clamp(10px, calc(10 / 480 * 100vw), 20px);
}

.dash-post-card__title {
    font-weight: 700;
    font-size: clamp(16px, calc(16 / 480 * 100vw), 20px);
    color: #333333;
}

.dash-post-card__description {
    font-size: clamp(14px, calc(14 / 480 * 100vw), 18px);
    color: #333333;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.dash-post-card__meta {
    display: flex;
    gap: clamp(10px, calc(10 / 480 * 100vw), 20px);
    flex-wrap: wrap;
    align-items: center;
}

.dash-post-card__status {
    border: 1px solid #000000;
    border-radius: 100px;
    padding: 0.417em 1em;
    font-size: clamp(12px, calc(12 / 480 * 100vw), 14px);
    white-space: nowrap;
}

.dash-post-card__status.--published {
    border-color: #3CB531;
    color: #3CB531;
}

.dash-post-card__status.--private {
    border-color: #E34F25;
    color: #E34F25;
}

.dash-post-card__status.--draft {
    border-color: #888888;
    color: #888888;
}

.dash-post-card__date {
    font-size: clamp(12px, calc(12 / 480 * 100vw), 14px);
    color: #888888;
}

.dash-post-card__limited {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.dash-post-card__limited-heading {
    background: var(--purple);
}

.dash-post-card__limited-title {
    padding: 0.625em 1.25em;
    font-weight: 700;
    font-size: clamp(16px, calc(16 / 480 * 100vw), 20px);
    color: #FFFFFF;
}

.dash-post-card__limited-body {
    display: flex;
    flex-direction: column;
}

.dash-post-card__limited-item {
    padding: clamp(15px, calc(15 / 480 * 100vw), 30px) clamp(20px, calc(20 / 480 * 100vw), 40px);
    border: 1px solid #CCCCCC;
    border-top: none;
}

.dash-post-card__limited-item h5 {
    font-weight: 700;
    font-size: clamp(14px, calc(14 / 480 * 100vw), 18px);
    line-height: 1.5;
}

.dash-post-card__limited-item p {
    font-size: clamp(14px, calc(14 / 480 * 100vw), 18px);
    line-height: 1.5;
}

@media (min-width: 768px) {
    .dash-post__list {
        grid-template-columns: repeat(2, 1fr);
    }

    .dash-post-card {
        padding: clamp(30px, calc(30 / 380 * 100vw), 60px) clamp(15px, calc(15 / 380 * 100vw), 30px);
    }

    .dash-post-card:nth-child(odd) {
        border-right: 1px solid #CCCCCC;
    }
}

/* Action Buttons */
.action-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(10px, calc(10 / 480 * 100vw), 20px);
}

.action-button {
    border: 1px solid var(--blue);
    border-radius: 5px;
    padding: 0.571em 0.714em;
    font-weight: 700;
    font-size: clamp(14px, calc(14 / 480 * 100vw), 18px);
    line-height: 1.4;
    text-align: center;
}

.action-button.--edit {
    background: var(--blue);
    color: #FFFFFF;
}

.action-button.--delete {
    background: #FFFFFF;
    color: var(--blue);
}

/** ダッシュボード＞商品一覧 **/
/* Product Card */
.dash-product__list {
    display: grid;
    grid-template-columns: 1fr;
    border-top: 1px solid #CCCCCC;
    border-bottom: 1px solid #CCCCCC;
}

.dash-product-card {
    padding: clamp(20px, calc(20 / 480 * 100vw), 40px) 0;
    border-bottom: 1px solid #CCCCCC;
    display: flex;
    align-items: center;
    gap: clamp(20px, calc(20 / 480 * 100vw), 40px);
}

.dash-product-card:last-child {
    border-bottom: none;
}

.dash-product-card__image {
    max-width: 50%;
}

.dash-product-card__image img {
    width: clamp(150px, calc(150 / 480 * 100vw), 200px);
    max-width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.dash-product-card__text {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, calc(10 / 480 * 100vw), 20px);
}

.dash-product-card__status {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    background: #F0F0F0;
    color: #555555;
}

.dash-product-card__status.--selling {
    background: #E9F8EE;
    color: #1E7A3B;
}

.dash-product-card__status.--draft {
    background: #F3F1EA;
    color: #7A6A2A;
}

.dash-product-card__status.--pending {
    background: #FFF3E4;
    color: #A85A12;
}

.dash-product-card__status.--stopped {
    background: #F7EAEA;
    color: #9B3030;
}

.dash-product-card__title {
    font-weight: 700;
    font-size: clamp(16px, calc(16 / 480 * 100vw), 20px);
    line-height: 1.5;
}

.dash-product-card__price {
    font-weight: 700;
    font-size: clamp(16px, calc(16 / 480 * 100vw), 20px);
    line-height: 1.5;
}

.dash-product-card__actions {
    display: flex;
    gap: clamp(8px, calc(8 / 480 * 100vw), 12px);
    margin-top: clamp(8px, calc(8 / 480 * 100vw), 14px);
}

.dash-product-card__note {
    margin-top: -6px;
    font-size: 13px;
    line-height: 1.6;
    color: #A85A12;
}

@media (min-width: 768px) {
    .dash-product__list {
        grid-template-columns: 1fr;
    }

    .dash-product-card {
        padding: clamp(20px, calc(20 / 480 * 100vw), 40px) 0;
    }
}

/** ダッシュボード＞プラン管理 **/
.dash-plan__list {
    padding:  clamp(20px, calc(20 / 480 * 100vw), 40px) 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(20px, calc(20 / 480 * 100vw), 40px);
}

.dash-plan-card {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, calc(10 / 480 * 100vw), 20px);
}

.dash-plan-list,
.dash-plan__list {
    padding: clamp(20px, calc(20 / 480 * 100vw), 40px) 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(16px, calc(16 / 480 * 100vw), 32px);
}

.dash-plan-card__body {
    border-radius: 8px;
    border: 1px solid #EEEEEE;
    padding: clamp(16px, calc(16 / 480 * 100vw), 28px);
    background: #ffffff;
}

.dash-plan-card__stats {
    margin-top: clamp(14px, calc(14 / 480 * 100vw), 22px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(10px, calc(10 / 480 * 100vw), 16px);
}

.dash-plan-card__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dash-plan-card__stat-label {
    font-size: clamp(12px, calc(12 / 480 * 100vw), 14px);
    color: #666666;
}

.dash-plan-card__stat-value {
    font-weight: 700;
    font-size: clamp(14px, calc(14 / 480 * 100vw), 18px);
    color: #333333;
}

.dash-plan-card__actions {
    margin-top: clamp(14px, calc(14 / 480 * 100vw), 22px);
    display: flex;
    gap: clamp(8px, calc(8 / 480 * 100vw), 12px);
}

.dash-plan-card__action {
    min-width: 5.5em;
    border-radius: 4px;
    border: 1px solid var(--blue);
    padding: 0.5em 0.9em;
    text-align: center;
    font-size: clamp(12px, calc(12 / 480 * 100vw), 14px);
    font-weight: 700;
    line-height: 1;
    color: var(--blue);
}

.dash-plan-card__action--edit {
    background: var(--blue);
    color: #ffffff;
}

.dash-plan-card__action--delete {
    background: #ffffff;
}

.dash-plan-card__action.--disabled,
.dash-plan-card__action[aria-disabled="true"] {
    border-color: #D0D0D0;
    background: #F0F0F0;
    color: #777777;
    cursor: not-allowed;
}

.dash-plan-card__content {
    border-radius: 8px;
    border: 1px solid #EEEEEE;
    padding: clamp(15px, calc(15 / 480 * 100vw), 30px);
}

.dash-plan-card__heading {
    display: flex;
    justify-content: space-between;
    margin-bottom: clamp(15px, calc(15 / 480 * 100vw), 30px);
}

.dash-plan-card__title {
    font-weight: 700;
    font-size: clamp(16px, calc(16 / 480 * 100vw), 20px);
    line-height: 1.6;
    color: #333333;
}

.dash-plan-card__price {
    background: #5435941A;
    border-radius: 4px;
    padding: 0.357em 0.571em;
    font-weight: 700;
    font-size: clamp(14px, calc(14 / 480 * 100vw), 18px);
    line-height: 1;
    color: var(--purple);
}

.dash-plan-card__meta {
    font-weight: 500;
    font-size: clamp(13px, calc(13 / 480 * 100vw), 16px);
    line-height: 1.5;
}

@media (min-width: 768px) {
    .dash-plan-list,
    .dash-plan__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Plan Create */
.dash-plan-create .dash-section .container {
    padding-top: clamp(20px, calc(20 / 480 * 100vw), 32px);
}

.plan-create__lead {
    margin-bottom: clamp(16px, calc(16 / 480 * 100vw), 24px);
    font-size: clamp(13px, calc(13 / 480 * 100vw), 16px);
    line-height: 1.6;
    color: #555555;
}

.plan-create-form {
    border: 1px solid #DDDDDD;
    border-radius: 10px;
    background: #FFFFFF;
    padding: clamp(16px, calc(20 / 480 * 100vw), 32px);
}

.plan-form__group {
    margin-bottom: clamp(16px, calc(16 / 480 * 100vw), 24px);
}

.plan-form__label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: clamp(14px, calc(14 / 480 * 100vw), 18px);
    color: #333333;
}

.plan-form__required,
.plan-form__optional {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.4em;
    border-radius: 100px;
    padding: 0.25em 0.7em;
    font-size: clamp(10px, calc(10 / 480 * 100vw), 12px);
    line-height: 1;
    font-weight: 700;
}

.plan-form__required {
    background: #FFEEEC;
    color: #D53E2A;
}

.plan-form__optional {
    background: #F2F3F5;
    color: #666666;
}

.plan-form__control {
    width: 100%;
    border: 1px solid #CCCCCC;
    border-radius: 6px;
    padding: 0.75em 0.875em;
    font-size: clamp(14px, calc(14 / 480 * 100vw), 16px);
    line-height: 1.5;
    background: #FFFFFF;
}

.plan-form__control:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px #52A7DF26;
}

.plan-form__textarea {
    resize: vertical;
    min-height: 8em;
}

.plan-form__hint {
    margin-top: 6px;
    font-size: clamp(12px, calc(12 / 480 * 100vw), 14px);
    color: #777777;
    line-height: 1.5;
}

.plan-form__upload input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.plan-form__upload {
    border: 1px dashed #8DC4E6;
    border-radius: 8px;
    padding: 12px;
    background: #F4FAFE;
}

.plan-form__upload-button {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--blue);
    border-radius: 6px;
    padding: 0.85em 1em;
    font-weight: 700;
    font-size: clamp(13px, calc(13 / 480 * 100vw), 15px);
    color: var(--blue);
    background: #FFFFFF;
    cursor: pointer;
}

.plan-form__preview {
    margin-top: 10px;
    max-width: 280px;
    border: 1px solid #DDDDDD;
    border-radius: 8px;
    overflow: hidden;
}

.plan-form__preview img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.plan-form__media-list {
    margin-top: 12px;
    display: grid;
    gap: 12px;
}

.plan-form__media-caption {
    font-size: clamp(12px, calc(12 / 480 * 100vw), 14px);
    font-weight: 700;
    color: #555555;
}

.plan-form__media-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
}

.plan-form__media-item {
    border: 1px solid #DDDDDD;
    border-radius: 8px;
    overflow: hidden;
    background: #FFFFFF;
}

.plan-form__media-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F7F7F7;
    overflow: hidden;
}

.plan-form__media-thumb img,
.plan-form__media-thumb video {
    width: 100%;
    height: 100%;
}

.plan-form__media-thumb img {
    object-fit: cover;
}

.plan-form__media-thumb video {
    object-fit: contain;
    background: #000000;
}

.plan-form__media-name {
    padding: 10px 12px 12px;
    font-size: clamp(11px, calc(11 / 480 * 100vw), 13px);
    line-height: 1.5;
    color: #555555;
    word-break: break-word;
}

.plan-form__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(10px, calc(10 / 480 * 100vw), 16px);
}

.plan-form__actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: clamp(10px, calc(10 / 480 * 100vw), 16px);
    padding-top: clamp(8px, calc(8 / 480 * 100vw), 12px);
}

.plan-form__cancel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #CCCCCC;
    border-radius: 6px;
    padding: 0.75em 1.2em;
    color: #666666;
    font-size: clamp(14px, calc(14 / 480 * 100vw), 16px);
    font-weight: 700;
}

.plan-form__submit {
    border: none;
    border-radius: 6px;
    padding: 0.75em 1.5em;
    background: var(--blue);
    color: #FFFFFF;
    font-size: clamp(14px, calc(14 / 480 * 100vw), 16px);
    font-weight: 700;
    cursor: pointer;
}

@media (min-width: 768px) {
    .plan-form__row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/** ダッシュボード＞収益概要 **/
.return-chart__canvas {
    max-width: 800px;
    margin: 0 auto clamp(25px, calc(25 / 480 * 100vw), 50px);;
}

.return-chart__canvas canvas {
    margin-bottom: clamp(40px, calc(40 / 480 * 100vw), 80px);
}

.return-chart__block {
    margin-bottom: clamp(25px, calc(25 / 480 * 100vw), 50px);
    font-size: clamp(15px, calc(15 / 480 * 100vw), 20px);
}

.return-chart__block:last-child {
    margin-bottom: 0;
}

.return-chart__title {
    background: #E0E0E0;
    padding: 1em;
    font-size: clamp(15px, calc(15 / 480 * 100vw), 20px);
    font-weight: 700;
    line-height: 1;
    margin-bottom: clamp(10px, calc(10 / 480 * 100vw), 20px);
}

.sales-summary {
    border-top: 1px solid #ccc;
}

.sales-summary__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.071em;
    border-bottom: 1px solid #ccc;
    font-size: clamp(14px, calc(14 / 480 * 100vw), 18px);
    color: #333;
    line-height: 1;
}

.sales-summary__value {
    font-weight: 500;
    font-size: clamp(16px, calc(16 / 480 * 100vw), 20px);
}

.payout {
    background: #52A7DF1A;
    border: 1px solid var(--blue);
    border-radius: 8px;
    padding: 1em;
}

.payout__info {
    font-weight: 700;
    font-size: clamp(16px, calc(16 / 480 * 100vw), 20px);
    line-height: 1.6;
    color: var(--blue);
    margin-bottom: clamp(10px, calc(10 / 480 * 100vw), 20px);
}

.payout__date,
.payout__amount {
    font-weight: 700;
    font-size: clamp(16px, calc(16 / 480 * 100vw), 20px);
    line-height: 1.5;
}

@media (min-width: 768px) {
    .return-chart__detail {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(20px, calc(20 / 480 * 100vw), 40px);
    }
}
