@charset 'utf-8';

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

a {
    text-decoration: none;
}

li {
    list-style: none;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 15px;
}

/* --- components --- */

.btn a {
    max-width: 300px;
    width: 100%;
    background-color: #B0ECE6;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    text-align: center;
    color: #333;
    font-weight: bold;
    padding: 13px 0;
    margin: 40px auto;
    height: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(176, 236, 230, 0.3);
    text-decoration: none;
}

/* ホバー時の挙動 */
.btn a:hover {
    background-color: #98ded6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(176, 236, 230, 0.4);
    color: #333;/
}

.site-header {
    background-color: #fff;
    text-align: center;
    color: #333;
    padding: 60px 0;
    margin-bottom: 80px;
    border-bottom: 1px solid #f0f0f0;
}

.site-header h1 {
    position: relative;
    display: inline-block;
    font-size: 40px;
    font-weight: 500;
    color: #333;
    letter-spacing: 0.2em;
    line-height: 1.2;
    text-transform: uppercase;
}

.site-header h1>span:not(.site-header__subtitle) {
    color: #B0ECE6;
}

.site-header__subtitle {
    display: block;
    font-size: 10px;
    letter-spacing: 0.3em;
    color: #888;
    font-weight: 400;
    text-transform: uppercase;
    margin-top: 10px;
}

.p-work-title {
    text-align: center;
    margin-bottom: 40px;
}

.p-work-title__main {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.p-work-title__sub {
    font-size: 14px;
    color: #888;
    letter-spacing: 0.1em;
}

.content {
    margin-bottom: 200px;
}

.content {
    width: 76%;
    max-width: 670px;
    margin: 0 auto 70px;
}

.content div {
    position: relative;
    margin-bottom: 120px;
}

.content div::after {
    content: "";
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 20px;

    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 80%);
    filter: blur(12px);
    z-index: -1;
}

.main-img {
    margin-bottom: 80px;
}

.main-img div {
    width: 80%;
    max-width: 500px;
    margin: 0 auto;
}

.c-feature-gallery {
    max-width: 936px;
    margin: 0 auto 100px;
}

.c-feature-gallery__heading {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #444;
    letter-spacing: 0.1em;
}

.c-feature-gallery__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 0 4%;
}

.c-feature-gallery__item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.c-feature-gallery__item:hover {
    box-shadow: 0 8px 25px rgba(176, 236, 230, 0.3);
}

.c-feature-gallery__img-wrapper {
    width: 100%;
    overflow: hidden;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.c-feature-gallery__img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.c-feature-gallery__item:hover .c-feature-gallery__img {
    transform: scale(1.05);
}

.c-feature-gallery__body {
    padding: 16px;
    text-align: center;
}

.c-feature-gallery__title {
    font-size: 0.9375rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.c-feature-gallery__text {
    font-size: 0.8125rem;
    color: #666;
    line-height: 1.6;
}

.p-work-feature {
    width: 100%;
    padding: 60px 4%;
}

.p-work-feature__inner {
    max-width: 936px;
    margin: 0 auto 80px;
}

.p-work-feature__inner:last-child {
    margin-bottom: 0;
}

.p-work-feature__title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.p-work-feature__image-wrapper {
    display: flex;
    justify-content: center;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.p-work-feature__image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* --- オーバーラップ配置の設定 --- */

.p-work-visual {
    position: relative;
    max-width: 936px;
    margin: 60px auto 110px;
    padding-right: 5%;
}

/* PC画像（背後） */
.p-work-visual__pc {
    width: 88%;
    position: relative;
}

.p-work-visual__pc img {
    width: 100%;
    height: auto;
    /* border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);  */
}

/* スマホ画像（前面に重ねる） */
.p-work-visual__sp {
    position: absolute;
    width: 25%;
    bottom: -90px;
    right: 45px;
    z-index: 2;
}

.p-work-visual__sp img {
    width: 60%;
    height: auto;
    /* border: 6px solid #fff; 
    border-radius: 20px;    
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);  */
    margin: 0 auto;
    display: block;
}

/* デバイスラベル（PC VIEW / SP VIEW） */
.device-label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: #999;
    margin-top: 10px;
}

.p-work-feature__desc {
    margin-top: 1.5rem;
    text-align: left;
}

.p-work-feature__desc p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    color: #333;
}

.c-device-label.-tag {
    display: inline-block;
    padding: 2px 10px;
    background-color: #B0ECE6;
    color: #333;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.15em;
    border-radius: 2px;
    line-height: 1.2;
    text-transform: uppercase;
    margin-right: 0.5rem;

}

.p-work-feature__subtitle {
    font-size: 0.85rem;
    color: #888;
    text-align: center;
    margin-top: -15px;
    margin-bottom: 30px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.p-work-solution {
    margin-bottom: 80px;
}

.p-work-solution__title {
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 0.1em;
    color: #444;
}

.p-work-solution__container {
    display: flex;
    align-items: stretch;
    gap: 20px;
    max-width: 936px;
    margin: 0 auto;
    padding: 0 4%;
}

/* 共通のボックススタイル */
.p-work-solution__box {
    flex: 1;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(46, 59, 79, 0.05);
}

.p-work-solution__header {
    padding: 12px 20px;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* 課題側の配色 */
.p-work-solution__box--issue {
    border: 1px solid #ffeded;
}

.p-work-solution__box--issue .p-work-solution__header {
    background-color: #E57373
}

.p-work-solution__box--success {
    border: 1px solid #ebf9f1;
}

.p-work-solution__box--success .p-work-solution__header {
    background-color: #4DB6AC;
}

.p-work-solution__body {
    padding: 24px;
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

.p-work-solution__arrow {
    display: flex;
    align-items: center;
    color: #ccc;
    font-size: 24px;
}

.p-work-solution__arrow::after {
    content: "\279D";
}

.p-work-overview {
    margin-bottom: 80px;
}

.p-work-overview__title {
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 0.1em;
    color: #444;
    text-transform: capitalize;
}

.inner-wrapper {
    padding: 0 4%;
}

.inner-site {
    max-width: 936px;
    margin: 0 auto 80px;
    box-shadow: 0 2px 4px rgba(46, 59, 79, 0.03),
        0 8px 16px rgba(46, 59, 79, 0.03),
        0 20px 48px rgba(46, 59, 79, 0.06);

    padding: 50px 50px 20px;
    background-color: #fff;
}

.inner-top {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 30px;
}

.inner-top h2 {
    width: 45%;
    font-size: 20px;
    font-weight: normal;
}

.inner-top .category {
    width: 55%;
}

.category ul {
    display: flex;
}

.category ul li {
    margin-right: 10px;
    background-color: #100E0E;
    border-radius: 30px;
    color: #fff;
    font-size: 10px;
    padding: 8px 20px;
}

.p-work-spec__row {
    display: grid;
    grid-template-columns: 240px 1fr;
    border-bottom: 1px solid #e0e0e0;
    align-items: center;
    padding: 24px 0;
}

.p-work-spec__label {
    font-weight: 500;
    font-size: 0.85rem;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.p-work-spec__data {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.p-work-spec__link {
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #333;
    transition: opacity 0.3s;
}

.p-work-spec__link:hover {
    opacity: 0.6;
}

.p-work-spec__sub-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.p-work-spec__sub-list li {
    position: relative;
    padding-left: 1.4em;
    margin-bottom: 4px;
}

.p-work-spec__sub-list li:last-child {
    margin-bottom: 0;
}

.p-work-spec__sub-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.2em;
    width: 1.2em;
    height: 1.2em;
    background-color: #B0ECE6;
    border-radius: 4px;
}

.p-work-spec__sub-list li::after {
    content: '';
    position: absolute;
    left: 0.35em;
    top: 0.5em;
    width: 0.5em;
    height: 0.3em;
    border-left: 2px solid #888;
    border-bottom: 2px solid #888;
    transform: rotate(-45deg);
}

.p-work-spec__caption {
    display: block;
    font-size: 12px;
    color: #888;
    margin-top: 4px;
    line-height: 1.4;
}

/* --- Work Navigation --- */
.p-work-navigation {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.p-work-navigation__inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}

.p-work-navigation__prev,
.p-work-navigation__next {
    width: 48%;
}

.p-work-navigation__link {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: #f9fdfd;
    border: 1px solid #e0f2f0;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    height: 100%;
}

.p-work-navigation__link:hover {
    background-color: #fff;
    border-color: #B0ECE6;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(176, 236, 230, 0.2);
}

.p-work-navigation__text {
    display: flex;
    flex-direction: column;
}

.p-work-navigation__label {
    font-size: 11px;
    font-family: 'Montserrat', sans-serif;
    color: #B0ECE6;
    font-weight: 600;
    margin-bottom: 4px;
}

.p-work-navigation__title {
    font-size: 14px;
    color: #333;
    font-weight: bold;
    /* 長いタイトルを省略（任意） */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

/* 矢印アイコンの装飾 */
.p-work-navigation__arrow {
    width: 20px;
    height: 20px;
    position: relative;
    flex-shrink: 0;
}

.p-work-navigation__prev .p-work-navigation__arrow {
    margin-right: 15px;
}

.p-work-navigation__next .p-work-navigation__arrow {
    margin-left: 15px;
}

.p-work-navigation__arrow::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 10px;
    height: 10px;
    border-top: 2px solid #B0ECE6;
    border-left: 2px solid #B0ECE6;
}

.p-work-navigation__prev .p-work-navigation__arrow::before {
    left: 5px;
    transform: translateY(-50%) rotate(-45deg);
}

.p-work-navigation__next .p-work-navigation__arrow::before {
    right: 5px;
    transform: translateY(-50%) rotate(135deg);
}

/* 一覧に戻るボタン */
.p-work-navigation__back {
    text-align: center;
}

.p-work-navigation__back a {
    color: #999;
    font-size: 14px;
    text-decoration: underline;
    transition: color 0.3s;
}

.p-work-navigation__back a:hover {
    color: #B0ECE6;
}

.btn {
    margin-bottom: 80px;
}

.site-footer {
    background-color: #B0ECE6;
    padding: 15px 0;
}

.site-footer small {
    text-align: center;
    display: block;
    color: #333;
    opacity: 0.8;
}

.head {
    margin-bottom: 100px;
}

.tag {
    display: flex;
    margin-bottom: 30px;
}

.tag li {
    margin-right: 25px;
}

.tag li:nth-of-type(1):before {
    content: "";
    border-left: 4px solid #F2E74C;
    padding-right: 15px;
}

.tag li a {
    color: #000;
}

.tag-content {
    padding: 0 30px;
}

.main-section {
    max-width: 1166px;
    margin: 0 auto;
    padding: 0 30px;
}

.main-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
}

.main-content li {
    width: 30%;
    margin-bottom: 76px;
    text-align: center;
}

.main-content li p {
    font-size: 13px;
}

.main-content img {
    margin-bottom: 20px;
    object-fit: contain;
    height: auto;
    box-shadow: 0 4px 12px rgba(46, 59, 79, 0.08);
}

.main-content .post-categories li {
    width: 100%;
    margin-bottom: 5px;
    font-size: 12px;
}

.main-content .post-categories li a {
    display: none;
}

.main-img .sub-image {
    max-width: 600px;
    margin: 0 auto 30px;
}

.main-img .sub-image2 {
    max-width: 600px;
    margin: 0 auto 30px;
}

/* --- sp --- */
@media screen and (max-width:650px) {

    .site-header {
        margin-bottom: 40px;
        padding: 40px 0;
    }

    .site-header h1 {
        font-size: 28px;
    }

    .site-header__subtitle {
        font-size: 8px;
        margin-top: 8px;
    }

    .p-work-title__main {
        font-size: 20px;
    }

    .p-work-title {
        margin-bottom: 30px;
        padding: 0 20px;
    }

    .site-content {
        padding: 0 20px;
    }

    .inner-wrapper {
        padding: 0 20px;
    }

    .inner-top {
        flex-direction: column;
    }

    .inner-top h2 {
        width: 100%;
        margin-bottom: 20px;
        font-size: 0.8rem;
    }

    .inner-top .category {
        width: 100%;
    }

    .category ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .category ul li {
        margin-bottom: 10px;
        margin-right: 0;
        width: auto;
    }

    .inner-main dl {
        flex-direction: column;
    }

    .inner-main dt {
        width: 100%;
        margin-bottom: 7px;
    }

    .inner-main dd {
        width: 100%;
        font-size: 0.8125em;
    }

    .p-work-solution__container {
        flex-direction: column;
    }

    .p-work-solution__arrow {
        justify-content: center;
        transform: rotate(90deg);
        margin: -10px 0;
    }

    .p-work-spec__row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 20px 0;
    }

    .p-work-spec__label {
        font-size: 11px;
    }

    .c-feature-gallery__list {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .p-work-spec__caption {
        font-size: 11px;
    }

    .p-work-spec__data {
        font-size: 14px;
    }

    .c-feature-gallery {
        padding: 0 20px;
        margin-bottom: 80px;
    }

    .p-work-solution {
        padding: 0 20px;
        margin-bottom: 60px;
    }

    .p-work-solution__container {
        width: 100%;
    }

    .p-work-overview {
        margin-bottom: 60px;
    }

    .p-work-overview__title {
        font-size: 1.125rem;
        margin-bottom: 30px;
    }

    .main-section {
        padding: 0 20px;
    }

    .main-content {
        flex-direction: column;
    }

    .main-content li {
        width: 100%;
    }

    .p-work-visual__pc,
    .p-work-visual__sp {
        position: static;
        width: 100%;
        margin-bottom: 30px;
    }

    .p-work-visual__sp {
        width: 70%;
        margin: 0 auto 30px;
    }

    .p-work-visual {
        margin-bottom: 50px;
    }

    /* page nation */
    .p-work-navigation {
        margin-top: 60px;
    }

    .p-work-navigation__inner {
        flex-direction: column;
    }

    .p-work-navigation__prev,
    .p-work-navigation__next {
        width: 100%;
    }

    .p-work-navigation__title {
        font-size: 13px;
    }
}