@charset "utf-8";

/* 管理バーを下に移動 */
#wpadminbar {
    top: auto !important;
    bottom: 0;
}

/* WordPressが自動でつける上マージンを打ち消す */
html {
    margin-top: 0 !important;
    font-size: 62.5%;
}

body {
  font-size: clamp(1.5rem, 1.2vw, 1.6rem)!important;
  line-height: 1.8;
}

@media (max-width: 768px) {
  body {
    font-size: 1.5rem;
  }
}

* {
    font-family: "roboto", 'Helvetica Neue', 'mode-mincho-a-large-std', "Zen Kaku Gothic New", sans-serif;
}

a {
    text-decoration: none !important;
}

:root {
    --ink: #171717;
    --muted: #666666;
    --line: #e8e8e8;
    --accent: #E8592D;
    /* ボタン赤系 */
    --accent-dark: #2d74db;
    --brown: #5c4631;
    --brown-opacity50: rgba(92, 70, 49, 0.5);
    --bg-soft: #faf7f3;
    --radius: 14px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    color: var(--ink);
    background: #ffffff;
    line-height: 1.7;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.h1, h1 {
    font-size: calc(1.8rem + 1.5vw)!important;
    font-weight: bold;
}

.h2, h2 {
    /* font-size: calc(1.325rem + .9vw); */
    font-size: clamp(2.6rem, 3vw, 3rem)!important;
    font-weight: bold;
}

.container {
    width: min(1120px, 94vw);
    margin-inline: auto;
}

.bg-brown05 {
    background-color: var(--brown-opacity50);
}

.l-section {
    padding-block: clamp(64px, 9vw, 104px);
}

.c-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9em 1.8em;
    border-radius: 999px;
    font-size: clamp(1.5rem, 2vw, 2.2rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    white-space: nowrap;
    gap: 0.35em;
}

.p-hero__buttons {
    display: flex;
    gap: 30px;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    margin-top:30px;
}


    .p-hero__buttons .c-btn.c-btn--outline {
        margin-top: 0;
    }
@media screen and (max-width:767.98px) {
    .c-btn {
        width: 100%;
        max-width: 240px;
        margin: 0 auto;
        display: flex;
    }

    .p-hero__buttons {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

}

.c-btn--primary {
    background: var(--accent);
    color: #fff;
    box-shadow: var(--shadow-soft);
}

.c-btn--primary:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

.c-btn--outline {
    border-color: var(--ink);
    color: var(--ink);
    background: transparent;
    margin-top: 30px;
}

.c-btn--outline:hover {
    background: var(--ink);
    color: #fff;
}

.c-btn--brown {
    background: var(--brown);
    color: #fff;
}

.c-btn--brown:hover {
    background: #3e3021;
}


/* =====================
       ABOUT
    ====================== */
.p-about {
    background: #fff;
}

.p-about__lead {
    text-align: center;
    margin-bottom: clamp(36px, 5vw, 52px);
    height: 10vh;
}

.p-about__lead-title {
    font-size: clamp(1.2rem, 4.5vw, 2.2rem)!important;
    letter-spacing: 0.16em;
    text-indent: 0.16em;
    font-weight: bold;
    margin: 0 0 0.6em;
}

.p-about__lead-underline {
    display: inline-block;
    width: 80px;
    height: 1px;
    background: var(--ink);
}

.p-about__body {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    gap: clamp(32px, 4vw, 56px);
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.p-about__text-block,
.p-about__image-block {
    width: calc((100% - 56px)/2);
}

.p-about__catch {
    font-size: 120%;
    text-indent: 0.4em;
    margin: 0 0 1em;
    font-weight: 700;
}

.p-about__text {
    /* font-size: 0.95rem; */
    /* color: var(--muted); */
    margin: 0 0 1.8em;
}

.p-about__image-block {
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    max-height: 360px;
}

.p-about__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


@media screen and (max-width:991.98px) {
    .p-about__body {
        flex-direction: column-reverse;
    }

    .p-about__text-block,
    .p-about__image-block {
        width: 100%;
    }
}

/* =====================
       STEPS
    ====================== */
.p-steps {
    background: var(--bg-soft);
}

.p-steps__intro {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
    gap: clamp(32px, 4vw, 64px);
    align-items: center;
    margin-bottom: clamp(40px, 5vw, 56px);
}

.p-steps__image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    aspect-ratio: 1 / 0.5;
}

.p-steps__title {
    font-size: 120%;
    margin: 0 0 1em;
    font-weight: 700;
}

.p-steps__description {
    /* font-size: 0.95rem; */
    /* color: var(--muted); */
    margin: 0 0 1.8em;
}

.p-steps__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.p-steps-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #000;
    color: #fff;
}

.p-steps-card__image {
    height: 100%;
}

.p-steps-card__image img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    filter: brightness(0.85);
    transition: transform 0.4s ease;
}

.p-steps-card__label {
    position: absolute;
    inset: 12px 14px auto 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    font-size: 0.85rem;
}

.p-steps-card__label-main {
    writing-mode: vertical-rl;
    font-size: 1rem;
    letter-spacing: 0.25em;
}

.p-steps-card__label-sub {
    font-size: 0.7rem;
    opacity: 0.8;
}

.p-steps-card__number {
    font-size: 1.4rem;
    margin-top: auto;
}

.p-steps-card:hover img {
    transform: scale(1.04);
}

.p-steps-service {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.p-steps-service .inner {
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    background-color: #fff;
    border-radius: var(--radius);
    width: calc((100% - 60px)/4);
}

.p-steps-service .inner a {
    text-decoration: none;
    color: var(--ink);
}

.p-steps-service .inner img {
    width: 100%;
    border-radius: var(--radius) var(--radius) 0 0;
    height: 150px;
    object-fit: cover;
}

.p-steps-service .inner p {
    padding: 10px;
    margin-bottom: 0;
}

.section-title {
    font-weight: bold;
    font-size: clamp(20px, 5vw, 40px);
    color: var(--brown);
}

.section-title span {
    font-weight: normal;
    font-size: 50%;
    display: block;
    line-height: 1.8em;
    margin-bottom: 30px;
}

.p-steps-point h2 {
    text-align: center;
    color: var(--brown);

}

.p-steps-point ul li h2 {
    text-align: left;
    color: var(--brown);
    margin-bottom: 0.5em;
    font-weight: bold;
    font-size: 120%;
}

.p-steps-point ul {
    list-style-type: none;
    padding-left: 0;
    max-width: 900px;
    width: 90vw;
    margin: 0 auto;
}

.p-steps-point ul li {
    padding: 0px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    margin-bottom: 15px;
}

.p-steps-point ul li .big-num {
    width: 100px;
    margin-bottom: 15px;
}

.p-steps-point ul li .inner-text {
    width: calc(100% - 140px);
}

.p-steps-point ul li .big-num span {
    display: block;
    font-size: 5rem;
    font-family: 'Roboto', sans-serif;
    color: var(--brown);
    font-weight: bold;
    opacity: 0.5;
    letter-spacing: -0.05em;
    line-height: 1em;
}

@media screen and (max-width: 767.98px) {
    .p-steps-point ul li {
        gap: 0px;
        margin-bottom: 15px;
    }

    .p-steps-point ul li .inner-text {
        width: 100%;
    }

    .p-steps-service {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 2;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 20px;
    }

    .p-steps-service .inner {
        width: 100%;
    }

}

/* ------------------------------
   相談セクション（sec-consult）
------------------------------ */

.sec-consult {
    padding: 80px 0;
}

.sec-consult__inner {
    width: min(1100px, 92%);
    margin: 0 auto;
}

/* 見出し */
.sec-consult__title {
    text-align: center;
    margin-bottom: 30px;
    color: var(--brown);
    position: relative;
}

.sec-consult__title span {
    display: inline-block;
    font-size: 28px;
    font-weight: 700;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--indigoblue);
    position: relative;
    z-index: 5;
}

.sec-consult-bg {
    position: absolute;
    width: 100%;
    max-width: 300px;
    left: 50vw;
    top: -50px;
    z-index: 1;
    opacity: 0.3;
}

.marker-lightprange {
    background-color: rgba(232, 89, 45, .2);
}

@media screen and (max-width: 767.98px) {
    .sec-consult-bg {
        position: absolute;
        width: 250px;
        left: calc((100% - 150px) /2);
        top: -50px;
    }
}

/* リード文 */
.sec-consult__lead {
    text-align: center;
    line-height: 1.8;
    max-width: 760px;
    margin: 0 auto 50px;
    font-size: 16px;
    position: relative;
    z-index: 5;
}

/* 相談カード一覧 */
.sec-consult__list {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-bottom: 50px;
}

/* カード本体 */
.sec-consult__item {
    background: #fff;
    padding: 24px 28px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.sec-consult__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* タグ */
.sec-consult__tag {
    font-size: 14px;
    color: var(--indigoblue);
    font-weight: 600;
    margin-bottom: 8px;
}

/* テキスト */
.sec-consult__text {
    font-size: 15px;
    color: #333;
    line-height: 1.7;
}

/* CTAブロック */
.sec-consult__cta {
    text-align: center;
    margin-top: 40px;
}

.sec-consult__cta-text {
    font-size: 16px;
    color: #444;
    line-height: 1.8;
    margin-bottom: 24px;
}

/* ボタン */
.sec-consult__btn {
    display: inline-block;
    background: var(--indigoblue);
    color: #fff;
    padding: 14px 34px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.sec-consult__btn:hover {
    opacity: 0.9;
}


/* =====================
       WORKS
    ====================== */
.p-works__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.p-works__title {
    font-size: 1.1rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin: 0;
}

.p-works__filter {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
}

.p-works__filter-label {
    /* color: var(--muted); */
}

.p-works__filter-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.p-works__filter-list li {
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.8rem;
    cursor: default;
    /* プレビューなので hover 無し */
}

.p-works__filter-list li.is-current {
    border-color: var(--ink);
}

.p-works__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.p-works-card {
    font-size: 0.85rem;
}

.p-works-card__thumb img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    margin-bottom: 8px;
}

.p-works-card__title {
    margin: 0;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.p-works__empty {
    /* color: var(--muted); */
    font-size: 0.9rem;
}

.p-works__more {
    text-align: right;
    margin-top: 20px;
}

/* =====================
       CONTACT STRIP
    ====================== */
.p-contact-strip {
    background: #f0ece6;
    padding-block: 40px;
}

.p-contact-strip__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

.p-contact-strip__label {
    font-size: clamp(28px, 5vw, 40px);
    letter-spacing: 0.05em;
    text-indent: 0.25em;
    margin: 0 0 0.6em;
    font-weight: 700;
}

.p-contact-strip__message {
    margin: 0;
    font-size: 0.95rem;
}

.p-contact-strip__image img {
    border-radius: var(--radius);
    object-fit: cover;
    width: 100%;
    height: 100%;
    /* max-height: 220px; */
}

/* =====================
       CONTACT MAIN
    ====================== */
.p-contact-main {
    position: relative;
    min-height: 320px;
    color: #fff;
    overflow: hidden;
}

.p-contact-main__bg-img {
    width: 100%;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
    filter: grayscale(0.1);
}

.p-contact-main__bg {
    position: relative;
}

.p-contact-main__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.35));
}

.p-contact-main__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
}

.p-contact-main__inner {
    position: relative;
}

.p-contact-main__content {
    max-width: 520px;
}

.p-contact-main__label {
    font-size: 0.9rem;
    letter-spacing: 0.25em;
    text-indent: 0.25em;
    margin: 0 0 0.8em;
}

.p-contact-main__title {
    font-size: clamp(1.2rem, 2.1vw, 1.6rem);
    margin: 0 0 1.6em;
}



/* =====================
       RESPONSIVE
    ====================== */

@media (max-width: 1024px) {

    .p-about__body,
    .p-steps__intro,
    .p-contact-strip__inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .p-steps__cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .p-works__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .l-header {
        mix-blend-mode: normal;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), transparent);
        pointer-events: auto;
    }

    .p-hero {
        height: 70vh;
        min-height: 360px;
    }

    .p-about__lead-title,
    .p-steps__title,
    .p-contact-main__title {
        line-height: 1.6;
    }

    .p-steps__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .p-works__list {
        grid-template-columns: minmax(0, 1fr);
    }

    .p-contact-strip__inner {
        gap: 20px;
    }

    .p-contact-main__content {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .p-steps__cards {
        grid-template-columns: minmax(0, 1fr);
    }
}



/* =========================================================
   CTA セクション
   p-contact-cta
========================================================= */

.p-contact-cta {
    background: #f5f5f5;
    padding: 60px 0;
    display: flex;
    align-items: center;
    position: relative;
}

.p-contact-cta__inner {
    width: min(1100px, 92vw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
    z-index: 5;
    position: relative;
}

/* テキストエリア */
.p-contact-cta__label {
    font-size: clamp(28px, 5vw, 40px);
    letter-spacing: 0.05em;
    text-indent: 0.25em;
    margin: 0 0 0.6em;
    font-weight: 700;
}

.p-contact-cta__text {
    /* font-size: 1.1rem; */
    line-height: 1.8;
    margin-bottom: 24px;
    color: #222;
}

.p-contact-cta__btn {
    display: block;
    background: #E74C3C;
    color: #fff;
    max-width: 240px;
    margin-bottom: 20px;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    transition: opacity 0.3s ease;
}

.p-contact-cta__btn:hover {
    opacity: 0.8;
}

/* 画像部分 */
.p-contact-cta__visual {
    text-align: center;
}

.p-contact-cta__image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.p-contact-cta__bg {
    z-index: 4;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--bg-soft);
}

.p-contact-cta__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;

}

/* =========================================================
   CTA セクション TEL
   p-contact-cta-tel
========================================================= */

.p-contact-cta-tel {
    background: linear-gradient(90deg,var(--bg-soft),var(--brown-opacity50));
    padding: 60px 0;
    display: flex;
    align-items: center;
    position: relative;
}

.p-contact-cta-tel__inner {
    /* width: min(1100px, 92vw); */
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
    z-index: 5;
    position: relative;
}

/* テキストエリア */
.p-contact-cta-tel__label {
    font-size: clamp(28px, 5vw, 40px);
    letter-spacing: 0.05em;
    text-indent: 0.25em;
    margin: 0 0 0.6em;
    font-weight: 700;
}

.p-contact-cta-tel__text {
    font-size: 2rem;
    line-height: 1.8;
    margin-bottom: 24px;
    color: #222;
}

.p-contact-cta-tel__btn {
    display: inline-block;
    background: #E74C3C;
    color: #fff;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 700;
    text-align: center;
    transition: opacity 0.3s ease;
}

.p-contact-cta-tel__btn:hover {
    opacity: 0.8;
}

/* 画像部分 */
.p-contact-cta-tel__visual {
    text-align: center;
}

.p-contact-cta-tel__image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.p-contact-cta-tel__bg {
    z-index: 4;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--bg-soft);
}

.p-contact-cta-tel__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;

}

.p-contact-cta-tel-box {
    display: flex;
    justify-content: center;
    gap: 40px;
    width: 90vw;
    margin: 0 auto;
}

@media screen and (max-width: 767.98px) {
    .p-contact-cta-tel-box {
        flex-direction: column;
        gap: 20px;
        width: 100%;
        margin: 0 auto;
        align-items: center;
    }

    .p-contact-cta-tel-box a {
        width: 100%;
        max-width: 280px;
    }
}



/* =========================================================
   PC レイアウト
========================================================= */

@media (min-width: 768px) {
    .p-contact-cta__inner {
        /* grid-template-columns: 1fr 1fr; */
        gap: 48px;
    }

}