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

html {
    font-size: 62.5%; /* 1rem = 10px */
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-jp);
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 2.4;
    letter-spacing: 0.02em;
    overflow-x: hidden;
}

/* ------------------------------------
   VARIABLES
------------------------------------ */
:root {
    --color-bg: #EBEBE8;
    --color-accent01: #DBDBD3;
    --color-accent02: #929287;
    --color-text: #101010;
    --color--text02: #8C8C67;

    --font-jp: "Zen Old Mincho", serif;
    --font-en: "Cormorant Garamond", serif;
    --font-en02: "Aboreto", serif;

    --max-width-inner: 960px;
}

/* ------------------------------------
   COMMON TAG STYLES
------------------------------------ */
img {
    width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ------------------------------------
   UTILITIES
------------------------------------ */
.br__sp {
    display: none;
}

.br__pc {
    display: inline;
}

/* SP ONLY */
@media screen and (max-width: 1016px) {
    body {
        font-size: 1.4rem;
    }

    .br__sp {
        display: inline;
    }
    .br__pc {
        display: none;
    }
}

/* ------------------------------------
   SECTION BASE
------------------------------------ */
section {
    padding-inline: 28px;
}

.section__inner {
    max-width: var(--max-width-inner);
    margin-inline: auto;
    padding-block: 120px;
}

/* section title - JP */
.sectionTit__jp {
    font-family: var(--font-jp);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: .02em;
}

/* section title - EN */
.sectionTit__en {
    font-family: var(--font-en);
    font-size: 4rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .02em;
    margin-left: 12px;
}


@media screen and (min-width:560px) and (max-width:1016px){
    .section__inner{
        max-width: 560px;
        margin-inline: auto;
    }
}
@media screen and (max-width:599px){
    .section__inner{
        margin-inline: 0 auto;
    }
}


@media screen and (max-width:1016px){
    .section__inner {
        padding-block: 96px;
    }

    .sectionTit__jp {
        font-size: 1.3rem;
        letter-spacing: 0;
    }

    .sectionTit__en {
        font-size: 3.2rem;
    }
}



/* ------------------------------------
   FLEX LAYOUT
------------------------------------ */
.flexBox {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}


@media screen and (max-width:1016px){
    .flexBox {
        display: block;
    }

    .contentBox{
        max-width: 560px;
    }
}






/* ------------------------------------
   HEADER
------------------------------------ */

.header {
    width: 100%;
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
}

.header__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.header__logo {
    width: 120px;
    height: auto;
}

.header__logo img {
    display: block;
    width: 100%;
    height: auto;
}

/* NAVIGATION */
.nav__toggle{
    display: none;
}
.nav__wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.nav__item a {
    font-family: var(--font-en02);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1;
    color: var(--color-text);
    transition: opacity 0.2s ease;
}

/* .nav__item a:hover {
    opacity: 0.6;
} */

/* SP対応 */
@media screen and (max-width:1016px) {

    .header__inner {
        padding: 20px 24px;
    }

    .nav__wrapper {
        gap: 28px;
    }

    .nav__item a {
        font-size: 1.3rem;
    }

    .nav__toggle{
        display: block;
    }
}

/* ------------------------------------
   NAV ITEM – hover underline animation
------------------------------------ */
.nav__item a {
    position: relative;
    display: inline-block;
    padding-bottom: 2px; /* 下線の余白 */
    transition: color .25s ease;
}

/* 下線：初期状態は width:0 */
.nav__item a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px; /* 少し離す（調整可） */
    width: 0;
    height: 0.7px;
    background-color: var(--color-accent02);
    transition: width .3s ease;
}

/* hoverで左→右に伸びる */
.nav__item a:hover::after {
    width: 100%;
}

/* ------------------------------------
   NAV TOGGLE（SP ハンバーガー）
------------------------------------ */
.nav__toggle {
    display: none;
    width: 32px;
    height: 24px;
    position: relative;
    cursor: pointer;
    border: none;
    background: transparent;
    z-index: 110;
}

.nav__toggleBar {
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--color-text);
    transition: transform .3s ease, opacity .3s ease, top .3s ease;
}

.nav__toggleBar:nth-child(1) { top: 8px; }
.nav__toggleBar:nth-child(2) { top: 20px; }

/* active（×印アニメーション） */
.nav.active .nav__toggleBar:nth-child(1) {
    top: 13px;
    width: 80%;
    transform: rotate(45deg);
}
.nav.active .nav__toggleBar:nth-child(2) {
    top: 13px;
    width: 80%;
    transform: rotate(-45deg);
}


/* ------------------------------------
   SP NAV MENU（フルスクリーン）
------------------------------------ */
@media screen and (max-width: 1016px) {

    .nav__toggle {
        display: block;
    }


    
    /* フルスクリーンメニュー */
    .nav__wrapper {
        position: fixed;
        inset: 0;
        padding: 120px 40px;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-end;
        gap: 40px;
        background-color: #EBEBE890;
        z-index: 100;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);

        transition:
            opacity .35s ease,
            transform .35s ease,
            visibility .35s ease;
    }



    /* active のときだけ表示 */
    .nav.active .nav__wrapper {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }



    .nav__item a{
        display: block;
        font-size: 1.4rem;
        text-align: end;
        line-height: 1;
        font-family: var(--font-en02);
        font-weight: 400;
        letter-spacing: .04em;
        margin-inline: auto 0;
    }
}


/* ------------------------------------
   FV SECTION（最終確定）
------------------------------------ */

.section__fv {
    position: relative;
    width: 100%;
}

.section__inner--fv {
    height: 100vh;
    max-width: 960px;
    margin-inline: auto;
    padding-top: 0;
    padding-bottom: 120px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;

    text-align: center;
}

/* --- FV JAPANESE TEXT --- */
.fvText__jp {
    font-family: var(--font-jp);
    font-size: 1.6rem;
    line-height: 2;
    letter-spacing: 0.02em;
    margin-bottom: 32px;
    padding-top: 20vh;
}

/* --- FV ENGLISH TEXT（PC） --- */
.fvText__en {
    font-family: var(--font-en); /* Cormorant */
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.02em;
    margin-bottom: 48px;
    text-align: center;
}

/* --- FV IMAGE --- */
.fvImg {
    width: 332px;
    padding-left: 12px;
}

.fvImg img {
    display: block;
    width: 100%;
    height: auto;
}

/* ------------------------------------
   SP FV（修正点：fvText__en を 1.4rem に変更）
------------------------------------ */
@media screen and (max-width: 1016px) {

    .section__inner--fv {
        padding-bottom: 60px;
        align-items: center;
        text-align: left;
    }

    .fvText__jp {
        font-size: 1.3rem;
        padding-top: 120px;
        margin-bottom: 20px;
        text-align: left;
    }

    .fvText__en {
        font-family: var(--font-en);
        font-size: 1.4rem; /* ← あなたの指示通りに修正 */
        font-weight: 500;
        text-align: left;
        margin-bottom: 32px;
        width: 100%;
    }

    .fvImg {
        width: 62.6%;
        padding-left: 0;

        /* 中央揃え（SP） */
        margin-left: auto;
        margin-right: auto;
    }

    @media screen and (max-width: 1016px) {
    .section__inner--fv {
        align-items: flex-start; /* ← 中央寄せをやめ、左寄せに統一 */
        text-align: left;
    }

    .fvText__jp,
    .fvText__en {
        width: 100%;  /* ← 左ラインを揃えるための必須指定 */
        margin-left: 0;
    }

    .fvImg {
        margin-left: auto;
        margin-right: auto; /* ← 画像は中央のまま */
    }
}
}


/* ------------------------------------
   SECTION：SERVICE（TOP）
------------------------------------ */

.section__service {
    background-color: transparent;
}

/* 内側レイアウト */
.section__service .section__inner {
    padding-top: 120px;
    padding-bottom: 120px;
}

/* 左右2カラム */
.section__service .flexBox {
    align-items: flex-start;
    column-gap: 40px;
}

/* 左側テキストBOX */
.contentBox__service {
    max-width: 560px;
}

/* 説明テキスト部分（段落） */
.contentBox {
    margin-top: 100px;
}

.contentBox > p.p:first-child {
    margin-top: -12px;
}

.contentBox > p.p:not(first-child) {
    margin-top: calc(60px - 24px);
}

/* --- タグリスト（item01） --- */
.item01List {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: calc(68px - 12px);
}

.item01 {
    padding: 6px 16px 8px;
    background: #DBDBD3;
    border-radius: 80px;

    font-family: var(--font-jp);
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    white-space: nowrap;
    line-height: 100%;
}

/* --- 右側の画像 --- */
.serviceImg {
    width: 40%;
    max-width: 400px;
}

.serviceImg img {
    width: 100%;
    height: auto;
}

/* ------------------------------------
   SP Service（〜1016px）
------------------------------------ */
@media screen and (max-width: 1016px) {

    .section__service .section__inner {
        padding-top: 96px;
        padding-bottom: 96px;
    }

    .section__service .flexBox {
        display: block;
    }

    .contentBox {
        margin-top: 96px;
    }

    .item01List {
        margin-top: calc(52px - 10px);
    }

    .item01 {
        font-size: 1.4rem;
        padding: 6px 14px 8px;
    }

    .serviceImg {
        width: 100%;
        margin-top: 40px;
    }

    

    .contentBox > p.p:first-child {
    margin-top: -10px;
}

    .contentBox > p.p:not(first-child) {
    margin-top: calc(52px - 20px);

}
}


/* ------------------------------------
   SECTION：CONCEPT（TOP）
------------------------------------ */

.section__concept .section__inner {
    padding-top: 120px;
    padding-bottom: 120px;
}

.contentBox__concept{
    align-items: flex-end;
}
/* 左カラム（文章側） */
.contentBox__left--concept {
    max-width: 560px; /* Service と統一 */
}

.contentBox__right--concept{
    width: 335px;
}

/* テキストの段落間余白 */
.textBox {
    margin-top: 60px;
}

.textBox > p.p:first-child {
    margin-top: -12px;
}

.textBox > p.p:not(first-child) {
    margin-top: calc(60px - 24px);
}

/* 右側の画像 */
.conceptImg {
    width: 40%;
    max-width: 400px;
}

.conceptImg img {
    width: 100%;
    height: auto;
}

/* ------------------------------------
   SP Concept（〜1016px）
------------------------------------ */
@media screen and (max-width: 1016px) {

    .section__concept .section__inner {
        padding-top: 96px;
        padding-bottom: 96px;
    }

    .section__concept .flexBox {
        display: block;
    }

    .textBox {
        margin-top: 52px;
    }

    .textBox > p.p:first-child {
    margin-top: -10px;
    }

    .textBox > p.p:not(first-child) {
        margin-top: calc(52px - 20px);
    }

    .conceptImg {
        width: 100%;
        margin-top: 40px;
    }

    .contentBox__right--concept{
        width: 100%;
        max-width: 560px;
    }

    .contentBox__concept {
        margin-top: 96px;
    }
}



/* ------------------------------------
   BUTTON : btnBox / btn01 / btn__arr（画像矢印版）
------------------------------------ */

.btnBox--concept{
    margin-bottom: 12px;
}


/* ボタン本体 */
.btn01 {
    display: flex;
    align-items: baseline;
    justify-content: center;
    background-color: #fff;
    gap: 8px;
    border-radius: 1px;
    padding: 12px 18px 12px 20px;
    font-family: var(--font-jp);
    font-size: 1.6rem;
    line-height: 100%;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-align: center;
    color: var(--color-text);

    
}

/* 矢印画像が入る部分 */
.btn__arr {
    display: inline-block;
    width: 16px; 
    height: 11px;
    background-image: url(/assets/img/top/btn__arr.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    transition: transform .25s ease, opacity .25s ease;
}

.btn__arr img {
    width: 100%;
    height: auto;
    display: block;
}

/* ------------------------------------
   HOVER（反転 + 右へ動くアニメーション）
------------------------------------ */


.btn01:hover .btn__arr {
    opacity:  1;
    transform: translateX(5px);
}


/* arr変更 */
.btn01:hover .btn__arr {
    background-image: url("/assets/img/top/arr_bk.svg");
}

.btn01--contact:hover .btn__arr--contact{
    background-image: url(/assets/img/top/arr_orange.svg);
}


/* ------------------------------------
   SP（〜1016px）
------------------------------------ */
@media screen and (max-width: 1016px){
    .btnBox {
        margin-top: calc(60px - 10px);
        width: 100%;
    }

    .btn01 {
        padding: 12px 24px;
        font-size: 1.4rem;
        width: 100%;
    }

    .btnBox--concept{
    margin-bottom: 0px;
    }

}



/* ------------------------------------
   SECTION：OUR STYLE（TOP）
------------------------------------ */

.section__inner--ourstyle{
    max-width: 560px;
    margin-inline: auto 0;
}


/* figure */
.figure__ourstyle {
    list-style: none;
}

.item02 {
    font-family: var(--font-jp);
    font-size: 2.0rem;
    letter-spacing: 0.02em;
    margin-bottom: 48px;
    line-height: 100%;
    position: relative;
}

/* 英語サブテキスト */
.item02__en {
    display: block;
    font-family: var(--font-en02);
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 100%;
    margin-top: 16px;
    color: var(--color-accent02);
}

.figure__ourstyle .item02:nth-child(2){
    padding-left: 120px;
}

/* 最後の要素だけ余白調整 */
.figure__ourstyle .item02:last-child {
    margin-bottom: 0;
    padding-left: 270px;
}




/* 左側（テキスト側） */
.contentBox__left--ourstyle {
    max-width: 560px;
}

/* テキスト段落の余白 */


.section__ourstyle .textBox > p.p:first-child {
    margin-top: -12px;
}

.section__ourstyle .textBox > p.p:not(first-child) {
    margin-top: calc(60px - 24px);
}

/* ボタン（既存ルールを継承） */
.btnBox--ourstyle {
    margin-top: calc(68px - 12px);
}

/* 右側の画像 */
.ourstyleImg {
    width: 40%;
    max-width: 400px;
}

.ourstyleImg img {
    width: 100%;
    height: auto;
}

/* ------------------------------------
   SP（〜1016px）
------------------------------------ */
@media screen and (max-width: 1016px) {


    .section__inner--ourstyle{
    margin-inline: 0 auto;
    }

    .section__ourstyle .flexBox {
        display: block;
    }

    /* figure */

    .figure__ourstyle {
        margin-top: calc(52px - 10px);
    }

    .item02 {
        font-size: 1.6rem;
        margin-bottom: 40px;
    }

    .item02__en {
        font-size: 1.4rem;
        margin-top: 14px;
    }
    .figure__ourstyle .item02:nth-child(2){
    padding-left: 48px;
    }

    .figure__ourstyle .item02:last-child {
        padding-left: 99px;
    }

    /* textarea */
    .section__ourstyle .textBox > p.p:first-child {
        margin-top: -10px;
    }

    .section__ourstyle .textBox > p.p:not(first-child) {
        margin-top: calc(52px - 20px);
    }

    .btnBox--ourstyle {
        margin-top: calc(60px - 10px);
    }

    .ourstyleImg {
        width: 100%;
        margin-top: 40px;
    }
}


/* ------------------------------------
   SECTION：PROJECTS（施工事例）
------------------------------------ */



/* PC：2カラム（左：背景画像 / 右：テキスト） */
.contentBox__left--projects {
    
    width: 335px;
    height: 720px;
    
    background-image: url(/assets/img/top/projectsImg01.webp); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 2px;
    transition: background-image .3s ease;

}

.contentBox__right--projects {
    width: 560px;
}



/* ------------------------------------
   LIST：dt / dd の整形
------------------------------------ */

.projectsList--sp, .projectsSlider__nav{
    display: none;
}

.projectsCard{
    /* padding: 36px 0 40px 32px; */
    padding: 32px 0 40px 32px;
    border-top: 0.5px solid var(--color-text);
}
.projectsCard:last-of-type{
    border-bottom: 0.5px solid var(--color-text);
}



.projectsTit {
    font-family: var(--font-jp);
    font-size: 2.0rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1;
    position: relative;
}

.projectsTit::before{
    content: '';
    display: block;
    position: absolute;
    top: 7px;
    left: -32px;
    width: 12px;
    height: 8px;
    background-image: url(/assets/img/top/arr_bk.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.projectsTag {
    margin-top: 16px;
    font-family: var(--font-en02);
    font-size: 1.2rem;
    letter-spacing: 0.04em;
    color: var(--color--text02);
    display: inline-flex;
    gap: 16px;
    line-height: 100%;
}


.projectsText {
    /* margin-top: calc(28px - 6px); */
    margin-top: calc(28px - 20px);
    font-family: var(--font-jp);
    font-size: 1.4rem;
    line-height: 180%;
    max-width: 528px;
}

/* ------------------------------------
   BUTTON
------------------------------------ */
.btnBox--projects {
    margin-top: 60px;
}

/* ------------------------------------
   SP（〜1016px）
------------------------------------ */
@media screen and (max-width: 1016px) {

    

    /* SP は縦積み */
    .contentBox__left--projects {
        display: none;
    }

    .contentBox__right--projects {
        width: 100%;
    }


    /* projectsList */
    .projectsList{
        display: none;
    }

    .projectsList--sp, .projectsSlider__nav{
        display: block;
    }

    .projectsList {
        margin-top: calc(52px - 10px);
    }

    .projectsTit {
        font-size: 1.8rem;
        line-height: 150%;
        margin-top: - 5px;
    }

    

    .projectsTag {
        font-size: 1.2rem;
        margin-top: 0;
    }

    .projectsText {
        font-size: 1.3rem;
        margin-top: calc(28px - 16px);
        max-width: 100%;
    }

    .btnBox--projects {
        margin-top: calc(40px - 6px);
    }

    /* スライダー */
    .projectsList--sp {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 56px;
        justify-content: flex-start;
        align-items: center;

        -webkit-overflow-scrolling: touch;

        max-width: 560px;
        width: 100%;
        margin-inline: auto; /* 中央揃え */
    }

    .projectsCard{
    /* padding: 36px 0 40px 32px; */
    padding: 36px 0 52px 28px;
    border-block: 0.5px solid var(--color-text);
    }

    .projectsTit::before {
        top: 11px;
        left: -27px;
    }

    /* スライド1枚分 */
    .projectsCard, .projectsImg {
        flex: 0 0 100%;   /* → 1スライド = 画面幅100% */
        max-width: 560px; /* → 560pxを上限に広がる */
        scroll-snap-align: start;
    }

    .projectsImg{
        width: 100%;
        aspect-ratio: 5/8;
    }


    /* --スライド-- */
    .area{
    overflow: hidden;
    }
    .wrap{
    display: flex;
    }

    



    /* スクロールバー非表示（iOS/Android/Chrome） */
    .projectsList--sp::-webkit-scrollbar {
        display: block;
    }
    .projectsList--sp {
        scrollbar-width: block;
    }


    /* 矢印・dot */
    .projectsSlider__nav {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;

        margin-top: 20px;
        margin-bottom: 20px;

        width: 100%;
    }

    /* 矢印ボタン */
    /* .sliderArrow {
        background: var(--color-text);
        color: #fff;
        border: none;
        padding: 10px 14px;
        border-radius: 2px;

        font-family: var(--font-en);
        font-size: 1.4rem;
        cursor: pointer;

        transition: opacity .25s ease;
    }

    .sliderArrow:hover {
        opacity: 0.7;
    } */

    /* ドットナビ */
    .sliderDots {
        display: flex;
        gap: 28px;
    }

    .sliderDot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--color-accent01);
        transition: background .15s ease, transform .15s ease;
    }

    .sliderDot.active {
        background: var(--color-text);
        transform: scale(1.3);
    }
}



/* ------------------------------------
   SECTION：NEWS（Figma準拠）
------------------------------------ */




/* ------------------------------------
   list base
------------------------------------ */
.newsList {
    width: 100%;
    max-width: 560px; /* Figmaの本文幅に合わせる */
    display: block;
}

.newsDate {
    font-family: var(--font-en02);
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 0.02em;

    color: var(--color-accent02);
}

.newsDate:not(:first-of-type){
    margin-top: calc(48px - 12px);
}


.newsText {
    font-family: var(--font-jp);
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 240%;
    letter-spacing: 0.02em;
    margin-top: calc(28px - 11px)

}

/* ------------------------------------
   SP（〜1016px）
------------------------------------ */
@media screen and (max-width: 1016px) {

    .newsDate {
        font-size: 1.4rem;
    }

    .newsText {
        font-size: 1.4rem;
    }
}



/* ------------------------------------
   SECTION：ABOUT（Figma準拠）
------------------------------------ */

.contentBox__left--about {
    max-width: 335px;
    border-radius: 2px;
}



.contentBox__right--about {
    max-width: 560px;
}

/* dt（項目名） */
.aboutTit {
    font-family: var(--font-jp);
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: .02em;
    line-height: 1.0;
    width: 65px;
    white-space: nowrap;
}

/* dd（本文） */
.aboutText {
    font-family: var(--font-jp);
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 180%;
    letter-spacing: .02em;
}

.aboutItem{
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
    gap: 60px;
}

.aboutItem:not(:first-of-type){
    margin-top: calc(48px - 12px);
}

/* ------------------------------------
   2つ目の人物紹介
------------------------------------ */
.aboutName {
    font-family: var(--font-en);
    font-size: 2.4rem;
    font-weight: 600;
    letter-spacing: .02em;
    line-height: 1.0;
}

.aboutP {
    font-family: var(--font-jp);
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 200%; 
    margin-top: calc(60px - 8px);
}

/* ------------------------------------
   SP（〜1016px）
------------------------------------ */
@media screen and (max-width: 1016px) {


    .contentBox__left--about,
    .contentBox__right--about {
        max-width: 560px;
        max-width: 100%;
    }

    .contentBox__right--about {
        margin-top: 40px;
    }
    .aboutItem{
        gap: 24px;
    }
    .aboutItem.aboutItem:not(:first-of-type){
        margin-top: 28px;
    }

    /* dt */
    .aboutTit {
        font-size: 1.4rem;
        width: 60px;
    }


    /* dd */
    .aboutText {
        font-size: 1.4rem;
        line-height: 1.8;
    }

    /* 名前 */
    .aboutName {
        font-size: 2rem;
    }

    .aboutP {
        font-size: 1.4rem;
        line-height: 2.0;
        margin-top: calc(32px - 7px);
    }
}


/* ------------------------------------
   SECTION：CONTACT（TOP）
------------------------------------ */

/* セクション内の幅設定 */
.section__inner--contact {
    max-width: 560px;
    margin-inline: auto 0;
}


/* Paragraph（本文） */
.section__contact .p {
    font-family: var(--font-jp);
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 240%;
    letter-spacing: 0.02em;
}

/* 1つめだけ –12px */
.section__contact .p:first-of-type {
    margin-top: -12px;
}

/* 2つめ以降の余白 */
.section__contact .p:not(:first-of-type) {
    margin-top: calc(60px - 24px); /* 36px 程度のリズム */
}

/* 英語メッセージ EN */
.message__en {
    font-family: var(--font-en);
    font-size: 6.0rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 100%;
    margin-top: calc(80px - 18px);
    text-align: center;
}
.message__jp{
text-align: center;
font-size: 1.6rem;
font-weight: 500;
line-height: 100%;
letter-spacing: 0.02em;
margin-top: 8px;
}


/* ボタン（SP/PC共通の btn01 を継承） */
.btnBox--contact {
    margin-top: 40px;
    width: 100%;
}

.btnBox--contact .btn01 {
    width: 100%;
}

/* ------------------------------------
   SP（〜1016px）
------------------------------------ */
@media screen and (max-width: 1016px) {


    .section__contact .p {
        font-size: 1.4rem;
    }

    .section__contact .p:first-of-type {
        margin-top: -10px;
    }

    .section__contact .p:not(:first-of-type) {
        margin-top: calc(52px - 20px);
    }

    .message__en {
        font-size: 2.8rem;
        margin-top: calc(60px - 10px);
    }
    .message__jp{
        font-size: 1.4rem;
    }

    .btnBox--contact {
        margin-top: 28px;
    }
}




/* ------------------------------------
   FOOTER（Figma + 全体ルール準拠）
------------------------------------ */

.footer {
    width: 100%;
    background-color: transparent;
    padding-inline: 40px;
}


.contentBox--footer{
    display: flex;
    padding: 40px 0px;
    border-top: 0.5px solid #D4D4C7;
    justify-content: space-between;
    align-items: center;
}

.contentBox__right--footer{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 120px;
}

.footer__navi{
    display: flex;
    /* width: 560px; */
    justify-content: flex-start;
    gap: 60px;
    align-items: center;
}

/* ------------------------------------
   左側：ロゴ
------------------------------------ */

.contentBox__left--footer{
    width: 100px;
    height: 28px;
}
.footer__logo {
    display: inline-block;
    width: 100px;
    height: 28px;
}

.footer__logo img {
    width: 100%;
    height: auto;
}



.contentBox__right--footer {
    text-align: right;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* フッターナビ */
.footer__navi {
    list-style: none;
}

.footer__naviItem {
    font-family: var(--font-en02);
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: .02em;
    line-height: 1;
}



/* コピーライト */
.copyright {
    font-family: var(--font-en);
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: .02em;
    line-height: 1;
}

.footer .copyright a {
    transition: opacity .25s ease;
}

.footer .copyright a:hover {
    opacity: .5;
}

/* ------------------------------------
   SP（〜1016px）
------------------------------------ */
@media screen and (max-width: 1016px) {

    .contentBox--footer{
        margin-top: 0;
        max-width: unset;
        width: 100%;
    }
    /* 2カラム → 縦積み */
    .footer .flexBox {
        display: block;
    }

    .contentBox__right--footer {
        text-align: left;
        margin-top: 20px;
        display: block;
    }

    .footer__logo {
        width: 100px;
    }

    /* ナビ */
    .footer__naviItem {
        font-size: 1.3rem;
    }

    .footer__navi{
        gap: 36px;
    }

    /* コピーライト */
    .footer .copyright {
        font-size: 1.2rem;
        margin-top: 52px;
    }
}


/*  */
/* ------------------------------------
   SERVICE PAGE（/service）
------------------------------------ */
/*  */


/* ------------------------------------
   SUBPAGES FV（Service / Figma準拠）
------------------------------------ */


.section__inner--subpagesFv {
    max-width: var(--max-width-inner);
    margin-inline: auto;

    /* ★ Figma 指定：上に大きく余白を持たせる */
    padding-top: 280px;
    padding-bottom: 0;

}

.subpagesFv__tit {
    color: var(--color-text);
    font-family: var(--font-en);
    font-size: 6rem; /* 60px */
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.01em; /* 0.6px 相当 */
    text-align: right;
}


/* ------------------------------------
   SP（〜1016px）
------------------------------------ */
@media screen and (max-width: 1016px) {

    .section__inner--subpagesFv {
        padding-top: 200px;   /* SP用 */
    }

    .subpagesFv__tit {
        font-size: 4rem;
        text-align: right;
    }
}


/* ------------------------------------
   SECTION：制作物
------------------------------------ */

.contentBox__subpagesService{
    max-width: 560px;
}



/* ------------------------------------
   SERVICE CONTENTS（card01）
   ※ style.css にまだ存在しないもののみ記述
------------------------------------ */



.card01List {
    display: flex;
    flex-wrap: wrap;
    gap: 30px; /* Figma のカード間余白 */
    margin-top: 100px;
}

/* 共通カード */
.card01 {
    width: calc(33.33% - 20px);
    height: 364px;
    padding: 40px 20px 32px;
    border-radius: 2px;
    background-color: #fff;
}

/* グレー背景カード */
.card01--grey {
    background-color: var(--color-accent01);
}

/* タイトル（英語） */
.card01Tit__en {
    font-family: var(--font-en02);
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
    color: var(--color--text02);
    line-height: 1;
}

/* タイトル（日本語） */
.card01Tit__jp {
    font-family: var(--font-jp);
    font-size: 2.0rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.0;
}

/* 本文 */
.card01Text {
    font-family: var(--font-jp);
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: .02em;
    margin-top: calc(56px - 12px);
}


.btn01--serviceContent{
    font-size: 1.4rem;
    line-height: 1.0;
    padding: 12px 18px 11px 20px;
    justify-content: space-between;
}

.btnBox--serviceContents{
    margin-top: 20px;
}
/* 本文軽め */
.card01Text__light {
    color: #8D8D8D;
}

/* 最後のテキストボックス（横幅調整） */
.card01--textBox {
    flex: 2;
    background-color: unset;
    padding-block: 0;
    height: fit-content;
    margin-block: auto;
}

.item01List--card01{
    margin-top: calc(48px - 12px);
}


/* ------------------------------------
   SP（〜1016px）
------------------------------------ */
@media screen and (max-width: 1016px) {

    
    .card01List {
        gap: 32px;
        margin-top: 96px;
    }

    .card01Tit__en{
        font-size: 1.3rem;
        margin-bottom: 8px;
    }


    .card01Tit__jp {
        font-size: 1.8rem;
    }

    .card01Text {
        font-size: 1.4rem;
        line-height: 2.0;
        margin-top: calc(40px - 16px);
    }

    .card01{
        width: 100%;
        height: auto;
    }

    .btn01--serviceContent{
        font-size: 1.3rem;
    }

    .card01--textBox{
        padding-inline: 0;
    }


}

@media screen and (min-width: 560px) and (max-width: 1016px) {
    .card01{
        width: calc(50% - 16px);
    }
}


/* 12051722🍎 */


/* ------------------------------------
   SUBPAGES PROJECTS：
------------------------------------ */


    /* 左画像エリア（固定） */
    .contentBox__left--subpagesProjects {
        width: 560px;
        height: 720px;
        
    }

    .projectsTextBox__subpagesProjects{
        max-width: 560px;
        padding-top: 36px;
        border-top: 0.5px solid var(--color-text);
    }


    .projectsText__supagesProjects{
        width: 100%;
        max-width: unset;
    }

    .contentBox__right--subpagesProjects{
        width: 335px;
    }

    .projectsTit__subpagesProjects::before{
        display: none;
    }


    .detailTit{
        font-size: 1.6rem;
        font-weight: 600;
        line-height: 1.0;
        letter-spacing: .02em;
    }

    .detailText{
        font-size: 1.4rem;
        font-weight: 400;
        line-height: 1.8; /* 25.2px */
        letter-spacing: .02em;
        margin-top: 32px;
    }


    /* フェードイン用 */
    .contentBox__left--subpagesProjects.is-active::before {
        opacity: 1;
    }

    /* projectsSliderItem の上下余白（1スライドをしっかり作る） */
    .projectsSliderItem {
        display: flex;
        justify-content: space-between;
        margin-top: 60px; 
    }

    .contentBox__subpagesProjects{
        margin-top: 200px;

    }

    /* detailBox の縦中央寄せ */
    .projectsSliderItem .contentBox__right {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .detailBox:nth-of-type(2){
        margin-top: 80px;
    }


    .contentBox__left--subpagesProjects::before {
        background-image: var(--fade-image);
    }

    .btnBox--subpagesProjects{
        margin-top: 24px;
    }
    .btn01--subpagesProjects{
        font-size: 1.4rem;
        line-height: 1;
        letter-spacing: .02em;
        padding: 8px 12px;
        display: flex;
        gap: 8px;
        width: fit-content;
    }
    .contentBox__subpagesProjects--first{
        margin-top: 100px ;
    }

/* ------------------------------------
   SERVICE PROJECTS：
------------------------------------ */

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

    .contentBox__left--subpagesProjects {
        max-width: 560px;
        width: 100%;
        height: auto;
        aspect-ratio: 319/410;

        opacity: 1;
        transform: translateY(-20px);
        transition: opacity .6s ease, transform .6s ease;
    }
    .contentBox__left--subpagesProjects picture{
        display: block;
        width: 100%;
        height: 100%;
    }

    .detailTit{
        margin-top: 28px;
    }
    .detailText{
        font-size: 1.4rem;
    }

    .btn01--subpagesProjects{
        font-size: 1.3rem;
    }

    .projectsSliderItem{
        display: block;
        width: 100%;
        margin-top: 120px;
    }

    .contentBox__right--subpagesProjects{
        width: 100%;
        max-width: 560px;
    }

    .contentBox__subpagesProjects--first{
        margin-top: 96px ;
    }

}


/* ----------------------------------------------------
   CONTACT FORM（Service-contact / Figma 完全準拠）
---------------------------------------------------- */

.section__inner--subpagesContact{
    padding-block: 120px 80px;
}
.contentBox__subpagesContact{
    max-width: 560px;
    margin-top: 60px;
}


.contactForm__wrap {
    max-width: 960px;
    margin-inline: auto;
    background: #fff;
    border-radius: 1px;
    padding: 80px 80px 60px;
}


.formRow {
    padding-block: 30px;
    display: flex;
    gap: 60px;
    align-items: baseline;
    justify-content: flex-start;
}
.formRow:first-of-type{
    padding-top: 0;
}



/* label */
.formRow label {
    display: block;
    width: 180px;
    font-family: var(--font-jp);
    font-size: 1.6rem;
    font-weight: 400;
    letter-spacing: .02em;
    line-height: 1;
    white-space: no-wrap;
}

.required{
    display: inline-block;
    color: #C98D27;
    font-size: 1.4rem;
    padding: 4px 4px 5px 4px;
    border-radius: 1px;
    background: var(--base, var(--color-bg));
    margin-left: 8px;
}

/* 2カラム（姓＋名 / せい＋めい） */
.twoColumn {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    max-width: 560px;
}

.twoColumn > div {
    width: 50%;
}

/* .form_select{
    content: "";
    display: inline-block;
    width: 5px;
    height: 9px;
} */



/* input / select / textarea 共通 */
.formRow input,
.formRow select,
.formRow textarea {
    width: 100%;
    max-width: 560px;
    padding: 8px 12px;
    background-color: var(--color-bg);
    border-radius: 1px;
    border: none;
    font-family: var(--font-jp);
    font-size: 1.4rem;
    letter-spacing: .02em;
    line-height: 1.0;
}

.formRow select option{
    line-height: 1;
    font-size: 1.4rem;
    color: rgba(16, 16, 16, 0.40);
}

.formRow input{
    line-height: 1;
    font-size: 1.4rem;
    height: 30px;
}

.formRow input::placeholder,
.formRow textarea::placeholder {
    font-size: 1.4rem;
    line-height: 1.6;
    color: rgba(16, 16, 16, 0.40);
}



/* textarea */
.formRow textarea {
    height: 90px;
    resize: vertical;
}
/* .textarea--first {
    height: 32px !important;
} */

/* 注意文（個人情報） */
.p__contact {
    margin-top: 48px;
font-size: 1.4rem;
font-weight: 400;
line-height: 200%;
letter-spacing: .02em;
}

/* 送信ボタン */
.formSubmit {
    margin-top: 28px;
    width: 100%;
}

.btn01--contactForm {
    width: 100%;
    justify-content: center;
    font-size: 1.6rem;
    padding: 12px 12px;
    background-color: #C98D27;
    border-radius: 1px;
    color: #fff;
}

.btn__arr--contactForm{
    background-image: url(/assets/img/top/arr_wh.svg);
}

.section__subpagesContact{
    padding-bottom: 200px;
}


/* ------------------------------------
   SP（〜1016px）
------------------------------------ */
@media screen and (max-width: 1016px) {

    .contactForm__wrap {
        padding: 40px 20px;
        max-width: 560px;
    }

    

    .formRow {
    padding-block: 20px;
    display: block;
}
.formRow:first-of-type{
    padding-top: 0;
}

    .twoColumn {
        flex-direction: column;
        gap: 20px;
    }

    .twoColumn > div {
        width: 100%;
    }

    .formRow label {
        font-size: 1.4rem;
        margin-bottom: 14px;
    }

    .formRow .required {
        font-size: 1.2rem;
    }

    .formRow input,
    .formRow select,
    .formRow textarea {
        font-size: 1.2rem;
        padding: 8px 12px;
    }

    .formRow input::placeholder,
    .formRow textarea::placeholder {
        font-size: 1.2rem;
    }

    .p__contact {
        font-size: 1.2rem;
        margin-top: 32px;
    }

    .btn01--contactForm {
        font-size: 1.4rem;
        padding: 12px 16px;
    }

    .formRow select option {
        font-size: 1.2rem;
    }

    .formRow input{
        height: 33.5px;
    }
    .formRow select {
        height: 33.5px;
    }

    .section__subpagesContact{
        padding-bottom: 120px;
    }
}




/* thanksページ */
.btnBox--thanks{
    width: fit-content;
    margin-top: 40px;
}


.section__inner--thaks > .p:not(first-child){
    margin-top: 28px;
}

.section__inner--thaks{
    height: calc(100vh - 200px);
}

/* ------------------------------------
   SP（〜1016px）
------------------------------------ */
@media screen and (max-width: 1016px) {
    .section__inner--thaks{
    height: auto;
    padding-bottom: 120px;
    max-width: 560px;
}
}


/* ---- fade in ---- */

/* すべての fade-in 要素に適用される初期状態 */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s ease, transform .8s ease;
}

/* 画面内に入ったら発火 */
.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}