@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

/* Swiper全体 */
.mySwiper {
    width: 100%;
    padding: 0 50px 50px 50px;
    box-sizing: border-box;
    margin-top: 60px;
    margin-bottom: 30px;
}

/* カルーセルの各スライドを3:4で統一 */
.mySwiper .swiper-slide.event-slide {
    width: 212px !important;
    aspect-ratio: 3 / 4;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* 画像は切り抜かず、枠内に収める */
.mySwiper .swiper-slide.event-slide img {
    display: block !important;
    height: 100% !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    margin: 0 auto !important;
}

/* =========================
   会社概要
========================= */

#section__company {
    width: 100%;
    padding: 50px 20px;
    box-sizing: border-box;
}

#section__company .company__head {
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: center !important;
}

#section__company .company__content {
    max-width: 900px;
    margin: 0 auto;
}

#section__company .company-table {
    width: 100%;
    border-top: 1px solid #ddd;
}

#section__company .company-row {
    display: flex;
    border-bottom: 1px solid #ddd;
}

#section__company .company-label {
    width: 200px;
    flex-shrink: 0;
    padding: 20px;
    box-sizing: border-box;
    background: #f3f3f3;
    font-weight: bold;
}

#section__company .company-value {
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
    background: #fff;
}

/* スマホ */
@media screen and (max-width: 600px) {

    #section__company {
        padding: 60px 15px;
    }

    #section__company .company__head {
        margin-bottom: 30px;
        font-size: 26px;
    }

    #section__company .company-row {
        display: block;
    }

    #section__company .company-label {
        width: 100%;
        padding: 12px 15px;
    }

    #section__company .company-value {
        padding: 15px;
    }
}
/* PICKUP EVENT */
.pickup-event-title {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
}

.pickup-event-title img {
    width: 300px;
    max-width: 80%;
    height: auto;
    display: inline-block;
}
/* イベント詳細ページのSNSシェアを非表示 */
.single-event .sns-share {
    display: none !important;
}

.single-event .sns-follow {
    display: none !important;
}
/* =========================================
   事例実績
   ========================================= */

#section-examples .examples__item {
    position: relative;
}

#section-examples .examples__category,
#section-examples .examples__tags {
    margin-top: 8px;
}

#section-examples .examples__category span,
#section-examples .examples__tags span {
    display: inline-block;
    margin: 0 6px 6px 0;
    padding: 4px 10px;
    font-size: 13px;
    line-height: 1.4;
}

#section-examples .examples__category span {
    border: 1px solid #ccc;
}

#section-examples .examples__tags span {
    border-radius: 20px;
    background: #f5f5f5;
}

#section-examples .examples__title {
    margin: 8px 0 0;
    font-size: 18px;
    line-height: 1.5;
}

#section-examples .examples__title a {
    text-decoration: none;
}
/* =========================================
   事例実績：カテゴリフィルター
   ========================================= */

#section-examples .examples__filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

#section-examples .examples__filter-button {
    display: inline-block;
    padding: 10px 22px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
    transition: 0.2s ease;
}

#section-examples .examples__filter-button:hover {
    opacity: 0.7;
}

#section-examples .examples__filter-button.is-active {
    background: #333;
    color: #fff;
    border-color: #333;
}
/* =========================================
   事例実績：画像サイズを統一
   ========================================= */

#section-examples .examples__item > a:first-child {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

#section-examples .examples__item > a:first-child img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* =========================================
   事例実績：詳細ページ
   ========================================= */

#event-detail {
    width: 100%;
    padding: 80px 20px 100px;
    box-sizing: border-box;
}

#event-detail .event-detail__inner {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}


/* タイトル */

#event-detail .event-detail__title {
    margin: 0 0 50px;
    font-size: 36px;
    line-height: 1.5;
    font-weight: 700;
}


/* 2カラム */

#event-detail .event-detail__layout {
    display: grid;
    grid-template-columns: 36% 1fr;
    gap: 60px;
    align-items: start;
}


/* 左側 */

#event-detail .event-detail__left {
    min-width: 0;
}


/* メイン画像 */

#event-detail .event-detail__main-image {
    width: 100%;
    margin-bottom: 30px;
}

#event-detail .event-detail__main-image img {
    display: block;
    width: 100%;
    height: auto;
}


/* =========================================
   カテゴリ
   ========================================= */

#event-detail .event-detail__categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
    margin-bottom: 30px;
}

#event-detail .event-detail__category {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #ccc;
    font-size: 13px;
    line-height: 1.4;
}


/* =========================================
   タグ
   ========================================= */

#event-detail .event-detail__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
}

#event-detail .event-detail__tag {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}


/* =========================================
   スマートフォン
   ========================================= */

@media screen and (max-width: 767px) {

    #event-detail .event-detail__categories {
        margin-top: 15px;
        margin-bottom: 30px;
    }

    #event-detail .event-detail__tags {
        margin-bottom: 20px;
    }

}

/* 実施期間 */

#event-detail .event-detail__period {
    padding-top: 25px;
    border-top: 1px solid #ddd;
}

#event-detail .event-detail__info-title {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.5;
}

#event-detail .event-detail__info-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
}


/* 右側：本文 */

#event-detail .event-detail__right {
    min-width: 0;
}

#event-detail .event-detail__content {
    font-size: 16px;
    line-height: 2;
}

#event-detail .event-detail__content p {
    margin-bottom: 1.5em;
}

#event-detail .event-detail__content img {
    max-width: 100%;
    height: auto;
}

#event-detail .event-detail__content h2 {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 24px;
}

#event-detail .event-detail__content h3 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 20px;
}


/* 一覧へ戻る */

#event-detail .event-detail__back {
    margin-top: 80px;
    text-align: center;
}

#event-detail .event-detail__back a {
    display: inline-block;
    padding: 14px 30px;
    border: 1px solid #333;
    text-decoration: none;
}


/* スマートフォン */

@media screen and (max-width: 767px) {

    #event-detail {
        padding: 50px 15px 70px;
    }

    #event-detail .event-detail__title {
        margin-bottom: 30px;
        font-size: 28px;
    }

    #event-detail .event-detail__layout {
        display: block;
    }

    #event-detail .event-detail__left {
        margin-bottom: 45px;
    }

    #event-detail .event-detail__main-image {
        margin-bottom: 25px;
    }

    #event-detail .event-detail__content {
        font-size: 15px;
        line-height: 1.9;
    }

    #event-detail .event-detail__content h2 {
        margin-top: 40px;
        font-size: 21px;
    }

}
/* 追加情報 */

#event-detail .event-detail__additional-info {
    margin-bottom: 30px;
    border-top: 1px solid #ddd;
}

#event-detail .event-detail__info-row {
    display: flex;
    padding: 14px 0;
    border-bottom: 1px solid #ddd;
    line-height: 1.7;
}

#event-detail .event-detail__info-label {
    flex: 0 0 80px;
    font-weight: 700;
}

#event-detail .event-detail__info-value {
    flex: 1;
}

#event-detail .event-detail__info-value a {
    text-decoration: underline;
}

@media screen and (max-width: 767px) {

    #event-detail .event-detail__info-row {
        display: block;
    }

    #event-detail .event-detail__info-label {
        display: block;
        margin-bottom: 4px;
    }

}
