@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
*/
/************************************
** 子テーマ用のスタイルを書く
************************************/
.pc {
    display: none !important;
}
@media (min-width: 480px) {
    .pc {
        display: block !important;
    }
}
.sp {
    display: block !important;
}
@media (min-width: 480px) {
    .sp {
        display: none !important;
    }
}
/***-----------------------------------
.site-main
-----------------------------------***/
.site-main h2.category__title {
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 2em;
    position: relative;
}
.site-main h2.category__title::before {
    content: "";
    background: #2ca9e1;
    width: 30px;
    height: 2px;
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
}
/***-----------------------------------
.site-main .campaign
-----------------------------------***/
.site-main .campaign {
    display: flex;
    flex-wrap: wrap;
}
.site-main .campaign a {
    text-decoration: none;
    background: #f4f5f7;
    padding: 24px;
    width: calc((100% - 48px) /3);
    margin-right: 24px;
    margin-top: 24px;
}
.site-main .campaign a:nth-child(3n) {
    margin-right: 0;
}
.site-main .campaign a:nth-child(-n+3) {
    margin-top: 0;
}
.site-main .campaign a figure {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.site-main .campaign a figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.site-main .campaign a figure img:hover {
    opacity: 0.85;
    transition: opacity 0.3s ease;
}
.site-main .campaign a h2 {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    border-bottom: 1px solid #ccc;
    padding-bottom: 8px;
    margin-top: 32px;
}
.site-main .campaign a p {
    font-size: 14px;
    margin-top: 16px;
    color: #333;
}
@media screen and (max-width: 1023px) {
    .site-main .campaign a {
        width: calc((100% - 24px) /2);
    }
    .site-main .campaign a:nth-child(3n) {
        margin-right: 24px;
    }
    .site-main .campaign a:nth-child(2n) {
        margin-right: 0;
    }
    .site-main .campaign a:nth-child(-n+3) {
        margin-top: 24px;
    }
    .site-main .campaign a:nth-child(-n+2) {
        margin-top: 0;
    }
}
@media screen and (max-width: 480px) {
    .site-main .campaign a {
        width: 100%;
        margin-right: 0;
    }
    .site-main .campaign a:nth-child(3n) {
        margin-right: 0;
    }
    .site-main .campaign a:nth-child(-n+2) {
        margin-top: 24px;
    }
    .site-main .campaign a:nth-child(1) {
        margin-top: 0;
    }
}
/***-----------------------------------
.site-main .case
-----------------------------------***/
.site-main .case {
    display: flex;
    flex-wrap: wrap;
}
.site-main .case a {
    text-decoration: none;
    background: #f4f5f7;
    padding: 24px;
    width: calc((100% - 72px) /4);
    margin-right: 24px;
    margin-top: 24px;
}
.site-main .case a:nth-child(4n) {
    margin-right: 0;
}
.site-main .case a:nth-child(-n+4) {
    margin-top: 0;
}
.site-main .case a figure {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.site-main .case a figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.site-main .case.item a figure img:hover {
    opacity: 0.85;
    transition: opacity 0.3s ease;
}
.site-main .case a p.category {
    text-decoration: none;
    background: #2ca9e1;
    font-size: 15px;
    font-weight: 400;
    text-align: center;
    color: #fff;
    padding: 4px 0;
    border-top: 1px solid #fff;
}
.site-main .case a p.name {
    font-size: 18px;
    font-weight: 600;
    color: #2ca9e1;
    margin-top: 24px;
    margin-bottom: 0;
}
.site-main .case a p.price {
    font-size: 18px;
    font-weight: 600;
    color: #cb160a;
    margin-top: 8px;
    margin-bottom: 0;
}
.site-main .case a h2 {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    margin-top: 12px;
}
@media screen and (max-width: 1023px) {
    .site-main .case a {
        width: calc((100% - 48px) /3);
    }
    .site-main .case a:nth-child(4n) {
        margin-right: 24px;
    }
    .site-main .case a:nth-child(3n) {
        margin-right: 0;
    }
    .site-main .case a:nth-child(-n+4) {
        margin-top: 24px;
    }
    .site-main .case a:nth-child(-n+3) {
        margin-top: 0;
    }
}
@media screen and (max-width: 480px) {
    .site-main .case a {
        width: 100%;
        margin-right: 0;
    }
    .site-main .case a:nth-child(4n) {
        margin-right: 0;
    }
    .site-main .case a:nth-child(-n+3) {
        margin-top: 24px;
    }
    .site-main .case a:nth-child(1) {
        margin-top: 0;
    }
}
/***-----------------------------------
.site-main .staff
-----------------------------------***/
.site-main .staff {
    display: flex;
    flex-wrap: wrap;
}
.site-main .staff a {
    text-decoration: none;
    width: calc((100% - 96px) /4);
    margin-right: 32px;
    margin-top: 32px;
}
.site-main .staff a:nth-child(4n) {
    margin-right: 0;
}
.site-main .staff a:nth-child(-n+4) {
    margin-top: 0;
}
.site-main .staff a figure {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.site-main .staff a figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.site-main .staff.item a figure img:hover {
    opacity: 0.85;
    transition: opacity 0.3s ease;
}
.site-main .staff a p.post {
    background: #2ca9e1;
    padding: 4px 0;
    font-size: 15px;
    font-weight: 400;
    text-align: center;
    color: #fff;
    margin-top: 16px;
    margin-bottom: 0;
}
.site-main .staff a h2 {
    font-size: 15px;
    line-height: 1.6;
    text-align: center;
    color: #333;
    margin-top: 8px;
}
.site-main .staff a p.catch {
    font-size: 14px;
    line-height: 1.6;
    font-weight: 400;
    color: #333;
    margin-top: 8px;
}
@media screen and (max-width: 1023px) {
    .site-main .staff a {
        width: calc((100% - 64px) /3);
    }
    .site-main .staff a:nth-child(4n) {
        margin-right: 32px;
    }
    .site-main .staff a:nth-child(3n) {
        margin-right: 0;
    }
    .site-main .staff a:nth-child(-n+4) {
        margin-top: 32px;
    }
    .site-main .staff a:nth-child(-n+3) {
        margin-top: 0;
    }
}
@media screen and (max-width: 480px) {
    .site-main .staff a {
        width: 100%;
        margin-right: 0;
    }
    .site-main .staff a:nth-child(4n) {
        margin-right: 0;
    }
    .site-main .staff a:nth-child(-n+3) {
        margin-top: 32px;
    }
    .site-main .staff a:nth-child(1) {
        margin-top: 0;
    }
}
/***-----------------------------------
.site-main .voice
-----------------------------------***/
.site-main .voice {
    display: flex;
    flex-wrap: wrap;
}
.site-main .voice a {
    text-decoration: none;
    background: #f4f5f7;
    padding: 16px 16px 8px;
    width: calc((100% - 72px) /4);
    margin-right: 24px;
    margin-top: 24px;
}
.site-main .voice a:nth-child(4n) {
    margin-right: 0;
}
.site-main .voice a:nth-child(-n+4) {
    margin-top: 0;
}
.site-main .voice a figure {
    position: relative;
    width: 100%;
    aspect-ratio: 35 / 53;
    overflow: hidden;
}
.site-main .voice a figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.site-main .voice.item a figure img:hover {
    opacity: 0.85;
    transition: opacity 0.3s ease;
}
.site-main .voice a h2 {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    margin-top: 12px;
}
@media screen and (max-width: 1023px) {
    .site-main .voice a {
        width: calc((100% - 48px) /3);
    }
    .site-main .voice a:nth-child(4n) {
        margin-right: 24px;
    }
    .site-main .voice a:nth-child(3n) {
        margin-right: 0;
    }
    .site-main .voice a:nth-child(-n+4) {
        margin-top: 24px;
    }
    .site-main .voice a:nth-child(-n+3) {
        margin-top: 0;
    }
}
@media screen and (max-width: 480px) {
    .site-main .voice a {
        width: calc((100% - 24px) /2);
    }
    .site-main .voice a:nth-child(4n) {
        margin-right: 0;
    }
    .site-main .voice a:nth-child(3n) {
        margin-right: 24px;
    }
    .site-main .voice a:nth-child(2n) {
        margin-right: 0;
    }
    .site-main .voice a:nth-child(-n+3) {
        margin-top: 24px;
    }
    .site-main .voice a:nth-child(-n+2) {
        margin-top: 0;
    }
}
/***-----------------------------------
.site-main .blog
-----------------------------------***/
.site-main .blog {
    display: flex;
    flex-wrap: wrap;
}
.site-main .blog a {
    text-decoration: none;
    background: #f4f5f7;
    padding: 16px;
    width: calc((100% - 72px) /4);
    margin-right: 24px;
    margin-top: 24px;
}
.site-main .blog a:nth-child(4n) {
    margin-right: 0;
}
.site-main .blog a:nth-child(-n+4) {
    margin-top: 0;
}
.site-main .blog a figure {
    position: relative;
    width: 100%;
    aspect-ratio: 5 / 4;
    overflow: hidden;
}
.site-main .blog a figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.site-main .blog a figure img:hover {
    opacity: 0.85;
    transition: opacity 0.3s ease;
}
.site-main .blog a p.date {
    font-size: 12px;
    line-height: 1.6;
    font-weight: 400;
    color: #333;
    margin-top: 8px;
    text-align: right;
}
.site-main .blog a h2 {
    font-size: 14px;
    line-height: 1.6;
    font-weight: 400;
    color: #333;
    padding-left: 8px;
    margin-top: 8px;
    position: relative;
}
.site-main .blog a h2::before {
    content: "";
    background: #2ca9e1;
    width: 2px;
    height: 18px;
    position: absolute;
    top: 0;
    left: 0;
}
.site-main .blog a p {
    font-size: 14px;
    margin-top: 16px;
    color: #333;
}
@media screen and (max-width: 1023px) {
    .site-main .blog a {
        width: calc((100% - 48px) /3);
    }
    .site-main .blog a:nth-child(4n) {
        margin-right: 24px;
    }
    .site-main .blog a:nth-child(3n) {
        margin-right: 0;
    }
    .site-main .blog a:nth-child(-n+4) {
        margin-top: 24px;
    }
    .site-main .blog a:nth-child(-n+3) {
        margin-top: 0;
    }
}
@media screen and (max-width: 480px) {
    .site-main .blog a {
        width: calc((100% - 16px) /2);
        margin-right: 16px;
        margin-top: 16px;
    }
    .site-main .blog a:nth-child(4n) {
        margin-right: 0;
    }
    .site-main .blog a:nth-child(3n) {
        margin-right: 16px;
    }
    .site-main .blog a:nth-child(2n) {
        margin-right: 0;
    }
    .site-main .blog a:nth-child(-n+4) {
        margin-top: 16px;
    }
    .site-main .blog a:nth-child(-n+3) {
        margin-top: 16px;
    }
    .site-main .blog a:nth-child(-n+2) {
        margin-top: 0;
    }
}
/***-----------------------------------
.case__header
-----------------------------------***/
.case__header a.case-cat {
    text-decoration: none;
    display: inline-block;
    background: #2ca9e1;
    font-size: 15px;
    font-weight: 400;
    color: #fff;
    padding: 12px 80px;
    margin-right: 8px;
    margin-top: 8px;
}
.case__header p.case__header__name {
    font-size: 18px;
    font-weight: 600;
    color: #2ca9e1;
    margin-top: 32px;
    margin-bottom: 0;
}
.case__header p.case__header__price {
    font-size: 18px;
    font-weight: 600;
    color: #cb160a;
    margin-top: 8px;
    margin-bottom: 0;
}
@media screen and (max-width: 834px) {
    .case__header a.case-cat {
        display: block;
        width: 100%;
        text-align: center;
        margin-right: 0;
        margin-top: 4px;
    }
}
/***-----------------------------------
.case__body
-----------------------------------***/
.case__body {
    border-top: 1px solid #ccc;
}
.case__body .wrap {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 24px auto;
}
.case__body .wrap .item {
    width: calc((100% - 24px) /2);
    margin-right: 24px;
}
.case__body .wrap .item:nth-child(2n) {
    margin-right: 0;
}
.case__body .wrap .item h5 {
    margin-bottom: 0;
}
.case__body .wrap .item figure {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.case__body .wrap .item figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* after側の画像ラッパー */
.case__body .wrap .item:nth-child(2n) figure {
    position: relative;
}
/* 擬似要素で三角を追加 */
.case__body .wrap .item:nth-child(2n) figure::before {
    content: "";
    border: 32px solid transparent;
    border-left: 32px solid #ccc;
    position: absolute;
    top: 50%;
    left: -16px;
    transform: translateY(-50%);
}
/***-----------------------------------
.staff__header
-----------------------------------***/
.staff__header .eye-catch-wrap {
    margin-bottom: 32px;
}
.staff__header figure {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.staff__header figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/***-----------------------------------
.voice__header
-----------------------------------***/
.voice__header {
    width: 100%;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}
.voice__header .eye-catch-wrap {
    margin-bottom: 32px;
}
.voice__header figure {
    position: relative;
    width: 100%;
    max-width: 350px;
    aspect-ratio: 35 / 53;
    overflow: hidden;
    border: 1px solid #333;
    box-shadow: 2px 2px 4px #333;
    margin: 0 auto;
}
.voice__header figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.voice__body {
    width: 100%;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}
.voice__body p {
    text-align: center;
}
@media screen and (max-width: 480px) {
    .voice__body p {
        text-align: justify;
    }
}
/***-----------------------------------
.sc__area
-----------------------------------***/
.sc__area {
    border-top: 1px solid #ccc;
}
/***-----------------------------------
.sc__work
-----------------------------------***/
.sc__case {
    border-top: 1px solid #ccc;
    padding-top: 32px;
}
/***-----------------------------------
.sc__voice
-----------------------------------***/
.sc__voice {
    border-top: 1px solid #ccc;
    padding-top: 32px;
}
/***-----------------------------------
#main
-----------------------------------***/
#main {
    margin: 32px auto;
}
/***-----------------------------------
.fs-l-page
-----------------------------------***/
.fs-l-page {
    padding-top: 24px;
}
.fs-l-page.vol {
    padding-top: 0;
}