@charset "UTF-8";

.p-clean p {
    font-size: 1.8rem;
    line-height: 1.5;
    letter-spacing: .05em;
}

/* グラデーション背景のベース */
.page-header__bg {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background-image: linear-gradient(90deg, rgba(226, 207, 255, 1), rgba(251, 253, 191, 1));
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.page-header__inner {
    padding: 0 59px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.page-header-text p {
    font-size: clamp(20px, 7.3vw, 100px);
    font-weight: 700;
    margin: 0;
    letter-spacing: .05em;
    display: inline-block;
    position: relative;
}

.page-header-text p::after {
    content: "";
    width: 50px;
    height: 95px;
    background: url(../img/rule/icon_a.svg) no-repeat center / cover;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%) translateX(100%);
    -webkit-transform: translateY(-50%) translateX(100%);
}

.page-header-text span {
    color: #F0007F;
}

.rule_main {
    color: initial;
}

.entry-content .inner {
    max-width: 1000px;
    width: 100%;
    margin: 40px auto;
    padding: 35px;
    border-radius: 20px;
    background-color: #fff;
}


.clean_intro p {
    text-align: center;
    line-height: 1.5;
    font-weight: 600;
    font-size: 2rem;
}

.clean_detail_item h3 {
    font-size: 2.6rem;
    padding-bottom: 16px;
    margin-bottom: 30px;
    font-weight: 700;
    border-bottom: 3px solid #AAAAAA;
    position: relative;
}

.clean_detail_item h3::before {
    content: "";
    width: 223px;
    height: 3px;
    display: block;
    background-color: #F0007F;
    position: absolute;
    bottom: -3px;
    left: 0;
}

.clean_detail {
    max-width: 780px;
    width: 100%;
    margin: 50px auto;
}

.clean_detail p, .clean_detail span {
    font-weight: 500;
    line-height: 1.5;
}

.clean_detail .d_year, .clean_detail .d_time {
    font-size: 1.8rem;
    font-weight: 600;
}

.clean_detail .d_month_day, .clean_detail .d_deadline {
    font-size: 3.2rem;
    font-weight: 600;
}

.clean_detail p.clean_day {
    margin-bottom: 0;
}

.clean_detail .d_time_att {
    margin: 15px 0;
    display: block;
}

.clean_detail_item {
    margin: 20px auto;
}

.sslide {
    padding: 40px 0;
}

.clean_attentions p {
    padding: 25px;
    background-color: #F8F8F8;
    border-radius: 20px;
}

.clean_attentions {
    letter-spacing: .05em;
    font-size: 1.8rem;
    line-height: 1.5;
}

.detail_bounus p, .detail_place p {
    font-size: 2.6rem;
    margin: 20px auto;
}

.btn-back {
    text-align: center;
    display: block !important;
    width: 50%;
    padding: 20px 0;
    background-color: #F0007F;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin: 20px auto;
    border-radius: 7px;
}

@media screen and (max-width: 768px) {
    .page-header__bg {
        height: 182px;
    }

    .page-header__inner {
        padding: 0 20px;
    }

    .page-header-text p {
        font-size: 3.6rem;
    }

    .page-header-text p::after {
        width: 14px;
        height: 26px;
    }

    .r_post_name {
        font-size: 2rem;
    }

    .page-header__title {
        margin: 10px 0;
    }

    .entry-content {
        padding: 0 5px;
    }

    .entry-content .inner {
        padding: 15px 10px;
    }

    .clean_intro p {
        font-size: 1.8rem;
    }

    .clean_detail .d_month_day, .clean_detail .d_deadline {
        font-size: 2.6rem;
    }

    .clean_detail .d_year, .clean_detail .d_time {
        font-size: 1.6rem;
    }

    .detail_bounus p, .detail_place p {
        font-size: 2rem;
    }

    .clean_attentions p {
        padding: 10px;
        border-radius: 10px;
        font-size: 1.6rem;
    }

    .btn-back {
        width: 97%;
        margin-bottom: 50px;
    }
}

/**コンテンツ一覧**/
.contents_wrap {
    padding: 60px 0;
}

.contents_wrap .inner {
    padding: 25px 35px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    /*background-color: #fff;*/
    border-radius: 40px;
}

.contents-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.card-img {
    border-radius: 20px 20px 10px 10px;
    background-color: #fff;
}

.card-img img {
    width: 100%;
    display: block;
    border-radius: 20px 20px 0 0;
}

.card-body {
    padding: 15px 20px 15px 10px;
}

.card-title {
    font-size: 2rem;
    padding-right: 20px;
    line-height: 1.4;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    gap: 4px;
    align-items: center;
    justify-content: flex-start;
}

.tag-label {
    background-color: #ffc8de;
    border: 1px solid #ffabcd;
    padding: 7px;
    border-radius: 7px;
    font-size: 1.4rem;
    font-weight: 600;
    color: #555;
}

.contents_btn {
    position: relative;
    border-radius: 20px;
    display: block;
    width: 100%;
    height: 75px;
    border-radius: 10px 10px 20px 20px;
    background-color: #fff;

}

.card-img_main {
    width: 100%;
    object-fit: cover;
    scale: 1;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    aspect-ratio: 500 / 333;
}

.card-img_main img {
    height: auto;
    transition: all .2s ease;

}

.contents-card a:hover img {
    scale: 1.1;
    display: block;
}

.contents-card {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    gap: 0;
}

.card_link_first {
    height: 100%;
    display: block;
    background-color: #fff;
    border-radius: 20px 20px 10px 10px;
    border-bottom: 1px dotted #efefef;
}

.contents-card:hover .btn:not([target="_blank"])::after {
    transform: translateX(4px);
}

.contents-lead {
    text-align: center;
    font-size: 2.4rem;
    letter-spacing: .05em;
    line-height: 1.5;
    font-weight: 600;
}

@media screen and (max-width: 768px) {
    .contents-grid {
        grid-template-columns: 1fr;
    }


    .contents_wrap .inner {
        padding: 0 10px;
    }

    .contents-lead {
        font-size: 1.8rem;
        text-align: left;
        letter-spacing: .02em;
    }
}

.bottom-contents .contents-grid {
    grid-template-columns: repeat(4, 1fr);
}

@media screen and (max-width: 768px) {
    .bottom-contents .contents-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }
}

/* ==========================================================================
   マルシェ概要
   ========================================================================== */
.marche-detail_ttl_block {
    background-color: #FDEE00;
    padding: 30px;
}

.marche-detail_ttl_block img {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    display: block;
}

.marche-detail-ttl {
    text-align: center;
    font-size: 2.9rem;
    margin-top: 10px;
}

.marche-detail-item.m-item-date {
    margin: 40px auto;
}

.marche-detail-info, .marche-detail-map, .marche-exhibitor-block {
    max-width: 820px;
    width: 100%;
    margin: 0 auto;
}

/*開催日時*/
.m-item-date .marche-detail-value, .marche-date-wrap {
    display: flex;
    align-items: baseline;
    font-weight: 700;
    gap: 5px;
    font-family: Roboto;
}

.marche-year, .w-day {
    font-size: 3rem;
}

.w-day {
    margin: 0 5px;
}

.marche-date-text {
    font-size: 4.2rem;
}

.marche-time-table th, .marche-time-table td {
    padding: 10px 0;

}

.marche-time-table th {
    width: 15%;
    vertical-align: middle;
    text-align: left;
}

.marche-time-table th span {
    font-size: 1.8rem;
    font-weight: 400;
    padding: 5px 10px;
    background-color: #555;
    color: #fff;
    border-radius: 10px;
}

.marche-time-table td {
    text-align: left;
    font-size: 3rem;
    font-weight: 700;
    vertical-align: middle;
    font-family: Roboto;
}

.marche-place-name {
    font-size: 2.8rem;
    font-weight: 600;
}

.zoom-icon {
    display: block;
    text-align: right;
}

.marche-time-table {
    margin-bottom: 10px;
}

.marche-detail-att {
    margin-top: 10px;
}

/* ==========================================================================
   マルシェ出展者一覧
   ========================================================================== */

/* ブロック全体のラッパー */
.marche-exhibitor-block {

    margin-bottom: 40px;
}

/* メインタイトル・サブタイトル */
.marche-exhibitor-block .ex-main-title, .marche-detail-label {
    font-size: 2.6rem;
    padding-bottom: 16px;
    margin-bottom: 30px;
    font-weight: 700;
    border-bottom: 3px solid #AAAAAA;
    position: relative;
}

.marche-exhibitor-block .ex-main-title::before, .marche-detail-label::before {
    content: "";
    width: 223px;
    height: 3px;
    display: block;
    background-color: #F0007F;
    position: absolute;
    bottom: -3px;
    left: 0;
}

.marche-exhibitor-block .ex-sub-title {
    font-size: 1.8rem;
    color: #555;
    margin-left: 10px;
}

/* 🌟 グリッドコンテナ（スマホ時は2列、PC時は4列など自動調整） */
.marche-exhibitor-block .exhibitor-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

/* 🌟 カード本体（aタグとdivタグ共通） */
.marche-exhibitor-block .exhibitor-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    /* aタグの時の下線消し */
    color: inherit;
    /* 文字色を継承 */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

/* リンクがある（aタグの）カードだけホバーエフェクトをかける */
a.marche-exhibitor-block .exhibitor-card:hover,
a.exhibitor-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

/* 1. 画像エリア（正方形を維持する設定） */
.marche-exhibitor-block .exhibitor-img-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    /* 正方形にする */
    background: #f7f7f7;
    overflow: hidden;
}

.marche-exhibitor-block .exhibitor-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 画像の比率を崩さずトリミング */
}

/* 2. 情報エリア */
.marche-exhibitor-block .exhibitor-info {
    padding: 10px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* 高さを揃えるため */
}

.exhibitor-space_wrap {
    position: absolute;
    bottom: 0%;
    left: 50%;
    transform: translateY(0%) translateX(-50%);
    -webkit-transform: translateY(0%) translateX(-50%);
    display: block;
    width: 100%;
}

/* スペース（A-1など） */
.marche-exhibitor-block .exhibitor-space {
    display: block;
    background: #FDEE00;
    color: #333;
    font-size: 1.4rem;
    text-align: center;
    font-weight: bold;
    padding: 2px 6px;
    margin-bottom: 0;
    letter-spacing: 0.05em;
}

/* 名前 */
.marche-exhibitor-block .exhibitor-name {
    font-size: 1.6rem;
    font-weight: bold;
    margin: 0;
    line-height: 1;
}

.exhibitor-ruby {
    font-size: 1.3rem;
    color: #7c7c7c;
    line-height: 1.3;
    font-weight: 400;
}

/* フリーテキスト（注釈）エリア */
.marche-exhibitor-block .exhibitor-meta {
    margin-top: auto;
    /* 上部に余白を作って下揃えにする */
    font-size: 1.3rem;
    color: #222222;
    line-height: 1.3;
}

.marche-exhibitor-block .exhibitor-meta p {
    margin: 0;
}

.marche-exhibitor-block .exhibitor-meta .ex-free2 {
    margin-top: 2px;
    color: #999;
    /* 2つ目の注釈は少し薄くするなどの微調整 */
}

/**リンクアイコン条件分岐**/

a.exhibitor-card::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('../img/common/icon_link_b.svg');
    /* デフォルトのアイコンB */
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    position: absolute;
    top: 6%;
    left: 90%;
    transform: translateY(-50%) translateX(-50%);
    -webkit-transform: translateY(-50%) translateX(-50%);
    z-index: 1;
}

a.exhibitor-card[href*="x.com"]::before,
a.exhibitor-card[href*="twitter.com"]::before {
    background-image: url('../img/common/icon_x_b.svg');
}

/* もしInstagramや他のURLも分岐させたい場合 コメントアウト外す
a.exhibitor-card[href*="instagram.com"]::before {
    background-image: url('img/icon-instagram.svg');
}*/

/* ==========================================================================
   マルシェページレスポンシブ
   ========================================================================== */
@media screen and (max-width: 768px) {
    .marche-exhibitor-block .exhibitor-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 5px;
    }

    .m-item-date .marche-detail-value {
        flex-wrap: wrap;
    }

    .w-day {
        font-size: 2.6rem;
    }

    .marche-time-table th {
        width: 30%;
    }

    .marche-exhibitor-block .ex-sub-title {
        display: block;
        margin-left: 0;
        font-size: 1.6rem;
    }

    .marche-exhibitor-block .ex-main-title, .marche-detail-label {
        font-size: 2.2rem;
        padding-bottom: 6px;
        margin-bottom: 15px;
    }

}

/* ==========================================================================
   みんなのアコスタ
   ========================================================================== */

.p-movie__mv_inner {
    background-color: #fff;
    background-image: url(../img/common/ma_logo_bk.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin-bottom: 50px;
    position: relative;
}

.p-movie__mv_inner::after {
    content: "";
    width: 100%;
    height: 34px;
    background-image: url(../img/common/ma_mv_bottom.svg);
    background-size: contain;
    background-repeat: repeat-x;
    position: absolute;
    bottom: 0%;
    left: 50%;
    transform: translateY(100%) translateX(-50%);
    -webkit-transform: translateY(100%) translateX(-50%);
}

.p-movie__mv_img img {
    display: block;
    margin: 0 auto;
    max-width: 510px;
    width: 100%;
}

.p-movie__intro {
    max-width: 530px;
    width: 100%;
    margin: 0 auto 40px;
    text-align: center;
}

.p-movie__intro_txt p {
    font-size: 2rem;
    line-height: 1.5;
    font-weight: 600;
}

.p-movie__intro_txt span {
    font-weight: 400;
    font-size: 1.6rem;
    display: block;
    margin-bottom: 10px;
}

.p-movie .block-title {
    text-align: center;
}

.p-movie .block-title {
    max-width: 370px;
    width: 100%;
    margin: 25px auto 5px;
    position: relative;
    background-color: #fff;
    border: 2px solid #000;
    border-radius: 50px;
    display: flex;
    align-items: center;
}

.p-movie .provid-box {
    background-color: #FF59A7;
    border-right: 2px solid #000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
    border-radius: 50px 0 0 50px;
    padding-left: 20px;
    padding-right: 15px;
}

.p-movie .provid-box span {
    margin: 0;
    color: #fff;
    font-size: 1.4rem;
}

.p-movie .privid-names {
    display: flex;
    justify-content: center;
    align-items: baseline;
    width: 185px;
    margin: 0 auto;
}

.p-movie .privid-names h3 {
    font-size: 2rem;
    margin: 0;
}

.p-movie .privid-names span {
    font-size: 1.6rem;
    font-weight: 500;
}

.p-movie .wp-block-group-is-layout-grid {
    margin: 50px auto;
}

.p-movie__bottom p {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 auto 30px;
}

@media screen and (max-width: 768px) {
    .p-movie__mv_img img {
        max-width: 230px;
    }

    .p-movie__mv_img {
        padding: 40px 0;
    }

    .p-movie__mv_inner::after {
        height: 25px;
        background-size: cover;

    }

    .p-movie .wp-block-group-is-layout-grid {
        grid-template-columns: 1fr !important;
        gap: 10px;
        margin: 40px auto;
    }
}