/*
Theme Name: M+S Design
Author: M+S Design
Version: 1.0
*/

/* =========================
   M+S Design base
========================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f6f5f5;
    font-family: "Zen Kaku Gothic New", sans-serif;
	font-weight: 400;
}

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

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wrapper {
    display: flex;
    min-height: 100vh;
}

/* =========================
   side navigation
========================= */

.side-nav {
    position: fixed;
    left: 0;
    top: 0;
    width: 90px;
    height: 100vh;
    border-right: 1px solid #cfcfcf;
    background: #fff;
    z-index: 10;
}

.side-nav h1 {
    position: absolute;
    top: 60px;
    left: 50%;
    margin: 0;
    font-family: "Baskervville", serif;
    font-size: 18px;
    font-weight: 400;
    writing-mode: vertical-rl;
    transform: translateX(-50%);
}

.side-nav nav {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.side-nav nav ul {
    display: flex;
    flex-direction: column;
    gap: 34px;
    align-items: center;
}

.side-nav nav a {
    writing-mode: vertical-rl;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-decoration: none;
    color: #222;
    position: relative;
    padding-bottom: 20px; /* 線のスペース */
	font-family: "Roboto", sans-serif;
	font-weight:500;
}

/* 下に縦ライン（最初は縮んでる） */
.side-nav nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 1px;
    height: 20px;
    background: #222;
    transform: translateX(-50%) scaleY(0);
    transform-origin: top;
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

/* hover */
.side-nav nav a:hover::after {
    transform: translateX(-50%) scaleY(1);
}

.sns {
    position: absolute;
    bottom: 45px;
    left: 50%;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transform: translateX(-50%);
}

.sns a {
    display: inline-block;
    margin-right: 8px;
    font-size: 20px;
    line-height: 1;
    color: #999;
    transition: color 0.4s ease, transform 0.3s ease;
}
.sns a.big{
	font-size:23px;
}
.sns a:hover {
    color: #222;
    transform: translateY(-2px);
}



/* =========================
   main
========================= */

.main-content {
    width: calc(100% - 90px);
    margin-left: 90px;
}

/* =========================
   first view
========================= */

.fv {
    display: grid;
    grid-template-columns: 36% 64%;
    min-height: 720px;
    border-bottom: 1px solid #cfcfcf;
}

.fv-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8vw 6vw;
    border-right: 1px solid #cfcfcf;
	background:#e9e8e8;
}

.fv-left h2 {
    margin: 0;
    font-family: "Baskervville", serif;
    font-size: clamp(56px, 7vw, 110px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: 0.04em;
}

.fv-left .sub {
    margin: 42px 0 0;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.32em;
}

.fv-left .copy {
    margin: 58px 0 0;
    font-size: 14px;
    line-height: 2.4;
    letter-spacing: 0.12em;
}

.fv-right {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 240px;
}

.grid-item {
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
}

/* 画像 */
.grid-item:nth-child(1) {
    background-image: url("img/fv_img_01.webp");
}

.grid-item:nth-child(2) {
    background-image: url("img/fv_img_02.webp");
}

.grid-item:nth-child(3) {
    background-image: url("img/fv_img_03.webp");
}

.grid-item:nth-child(4) {
    background: #f4f4f2;
    grid-row: span 2;
    position: relative;
}

.grid-item:nth-child(5) {
    background-image: url("img/fv_img_04.webp");
}

.grid-item:nth-child(6) {
    background-image: url("img/fv_img_05.webp");
}

.grid-item:nth-child(7) {
    background-image: url("img/fv_img_06.webp");
}

.grid-item:nth-child(8) {
    background-image: url("img/fv_img_07.webp");
}

/* SCROLL */
.grid-item:nth-child(4)::after {
    content: "SCROLL";
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    writing-mode: vertical-rl;
    font-size: 11px;
    letter-spacing: 0.35em;
    color: #333;
}

/* scrollの小さい線 */
.grid-item:nth-child(4)::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 58%;
    width: 1px;
    height: 34px;
    background: linear-gradient(
        to bottom,
        transparent,
        #c8a96a,
        transparent
    );
    transform: translateX(-50%);
    animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-12px) scaleY(0);
    }

    35% {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scaleY(1);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(18px) scaleY(0);
    }
}

/* =========================
   about
========================= */

.about {
    display: grid;
    grid-template-columns: 36% 64%;
    min-height: 370px;
    border-bottom: 1px solid #cfcfcf;
}

.about-text {
    padding: 70px 5vw;
    border-right: 1px solid #cfcfcf;
}

.about h3,
.works h3,
.news h3,
.contact h3 {
    margin: 0 0 36px;
    font-size: 18px;
    letter-spacing: 0.42em;
	font-family: "Roboto", sans-serif;
	font-weight:500;
}

.about h3::after,
.news h3::after,
.contact h3::after {
    content: "";
    display: block;
    width: 16px;
    height: 1px;
    margin-top: 22px;
    background: #222;
}

.about-text p {
    margin: 0 0 30px;
    font-size: 13px;
    line-height: 2.4;
    letter-spacing: 0.1em;
}

.about-text a,
.news .link a,
.contact a {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    min-width: 150px;
    padding: 14px 20px;
    border: 1px solid #999;
    font-size: 11px;
	font-family: "Roboto", sans-serif;
    font-weight: 500;
    letter-spacing: 0.2em;
    position: relative;
    overflow: hidden;
    transition: color 0.4s;
}

/* 背景アニメーション */
.about-text a::before,
.news .link a::before,
.contact a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #222;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: -1;
}

/* 右の線 */
.about-text a::after,
.news .link a::after,
.contact a::after {
    content: "";
    width: 32px;
    height: 1px;
    background: #222;
    transition: width 0.4s ease;
}

/* ホバー */
.about-text a:hover,
.news .link a:hover,
.contact a:hover {
    color: #fff;
	background:#303131;
}

.about-text a:hover::before,
.news .link a:hover::before,
.contact a:hover::before {
    transform: scaleX(1);
}

.about-text a:hover::after,
.news .link a:hover::after,
.contact a:hover::after {
    width: 50px;
    background: #fff;
}

.about-img {
    background: url("img/about_fv_img.webp") center / cover no-repeat;
    filter: grayscale(100%);
}

/* =========================
   works
========================= */

.works {
    padding: 70px 4vw 80px;
}

.sec-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 38px;
}

.sec-title h3 {
    margin: 0;
}

.sec-title a {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-decoration: none;
    color: #222;
	font-family: "Roboto", sans-serif;
	font-weight:500;
    transition: transform 0.4s ease;
}

.sec-title a::after {
    content: "";
    width: 45px;
    height: 1px;
    background: #222;
    transform: scaleX(1);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.sec-title a:hover::after {
    transform: scaleX(1.6);
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.work-item {
    background: none;
}

.work-item a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.work-item img {
    width: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.4s, transform 0.4s;
}

.work-item a:hover img {
    filter: grayscale(0%);
    transform: scale(1.03);
}
.work-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #ddd;
}

.work-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
    transition: 0.4s;
}

.work-item a:hover .work-thumb img {
    filter: grayscale(0%);
    transform: scale(1.05);
}
.work-cat {
    margin: 16px 0 8px;
    font-size: 10px;
    letter-spacing: 0.28em;
    color: #555;
    text-transform: uppercase;
	font-family: "Roboto", sans-serif;
	font-weight:400;
}

.work-item h4 {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: #333;
}
@media screen and (max-width: 1024px) {
    .works-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 600px) {
    .works-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .work-cat {
        margin: 10px 0 6px;
        font-size: 9px;
        letter-spacing: 0.18em;
    }

    .work-item h4 {
        font-size: 12px;
    }
}


/* =========================
   news / contact
========================= */

.bottom-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #cfcfcf;
   border-bottom: 1px solid #cfcfcf;
	background:#e9e9e9;
}

.news,
.contact {
    padding: 70px 5vw;
}

.news {
    border-right: 1px solid #cfcfcf;
}

.news ul {
    margin-bottom: 28px;
}

.news li {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #ccc;
    font-size: 13px;
    letter-spacing: 0.08em;
}

/* リンク */
.news li a {
    position: relative;
    text-decoration: none;
    color: #222;
    display: inline-block;
    transition: transform 0.3s ease;
}

/* 下線（最初は非表示） */
.news li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1px;
    background: #222;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

/* hover */
.news li:hover a {
    transform: translateX(6px);
}

.news li:hover a::after {
    transform: scaleX(1);
}

.contact p {
    margin: 0 0 32px;
    font-size: 13px;
    line-height: 2;
}

/* =========================
   footer
========================= */

.footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
    padding: 34px 4vw;
    color: #f4f4f2;
    background: #222;
}

.footer-logo {
    font-family: "Baskervville", serif;
	font-weight: 400;
    font-size: 18px;
    letter-spacing: 0.04em;
}

.footer ul {
    display: flex;
    gap: 28px;
	font-family: "Roboto", sans-serif;
	font-weight:500;
    font-size: 11px;
    letter-spacing: 0.22em;
}


.footer a {
    color: #fff;
    transition: color 0.4s ease;
}

.footer a:hover {
    color: #444;
}
.footer small {
    justify-self: end;
    font-size: 10px;
    letter-spacing: 0.08em;
}

/* =========================
   responsive
========================= */

@media (max-width: 1024px) {
    .fv,
    .about {
        grid-template-columns: 1fr;
    }

    .fv-left,
    .about-text {
        border-right: none;
        border-bottom: 1px solid #cfcfcf;
    }

    .works-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer small {
        justify-self: center;
    }

    .footer ul {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .wrapper {
        display: block;
    }

    .side-nav {
        position: fixed;
        width: 100%;
        height: 64px;
        border-right: none;
        border-bottom: 1px solid #cfcfcf;
    }

    .side-nav h1 {
        top: 50%;
        left: 20px;
        font-size: 18px;
        writing-mode: horizontal-tb;
        transform: translateY(-50%);
    }

    .side-nav nav {
        right: 20px;
        left: auto;
        top: 50%;
        transform: translateY(-50%);
    }

    .side-nav nav ul {
        flex-direction: row;
        gap: 18px;
    }

    .side-nav nav a {
        writing-mode: horizontal-tb;
        font-size: 10px;
        letter-spacing: 0.12em;
    }

    .sns {
        display: none;
    }

    .main-content {
        width: 100%;
        margin-left: 0;
        padding-top: 64px;
    }

    .fv {
        min-height: auto;
    }

    .fv-left {
        padding: 90px 8vw;
    }

    .fv-left h2 {
        font-size: 64px;
    }

    .fv-right {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }

    .about-text {
        padding: 60px 8vw;
    }

    .about-img {
        min-height: 280px;
    }

    .works {
        padding: 60px 8vw;
    }

    .works-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bottom-wrap {
        grid-template-columns: 1fr;
    }

    .news {
        border-right: none;
        border-bottom: 1px solid #cfcfcf;
    }

    .news,
    .contact {
        padding: 60px 8vw;
    }
}

@media (max-width: 480px) {
    body {
        letter-spacing: 0.05em;
    }

    .side-nav nav ul {
        gap: 12px;
    }

    .side-nav nav a {
        font-size: 9px;
    }

    .fv-left h2 {
        font-size: 52px;
    }

    .fv-left .sub {
        font-size: 11px;
        letter-spacing: 0.18em;
    }

    .fv-left .copy {
        font-size: 13px;
    }

    .fv-right {
        grid-auto-rows: 150px;
    }

    .works-grid {
        grid-template-columns: 1fr;
    }

    .news li {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .footer ul {
        flex-wrap: wrap;
    }
}

.work-detail {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 20px;
}

.work-detail h1 {
    font-size: 28px;
    margin-bottom: 40px;
}

.main-img img {
    width: 100%;
    margin-bottom: 40px;
}

.work-info {
    margin-bottom: 30px;
}

.work-info li {
    font-size: 13px;
    margin-bottom: 10px;
}

.work-text {
    line-height: 2;
    margin-bottom: 40px;
}

.sub-img img {
    width: 100%;
}

/* =========================
   page about
========================= */

.page-about {
    background: #f6f5f5;
}

.page-about img {
    width: 100%;
    height: auto;
    display: block;
}

.page-about-label {
    font-size: 11px;
    letter-spacing: 0.32em;
    color: #777;
    margin: 0 0 20px;
}

/* FV */

.page-about-fv {
    display: grid;
    grid-template-columns: 48% 52%;
    min-height: 620px;
}

.page-about-fv-text {
    padding: 90px 7vw 80px;
}

.page-about-fv-text h2 {
    font-family: "Baskervville", serif;
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1;
    margin: 0 0 18px;
}

.page-about-sub {
    font-size: 13px;
    letter-spacing: 0.1em;
    margin: 0 0 110px;
	font-family: "Zen Kaku Gothic New", sans-serif;
	font-weight: 400;
}

.page-about-catch {
    font-size: clamp(18px, 1.6vw, 26px);

    line-height: 1.8;
    letter-spacing: 0.08em;
    margin: 0 0 60px;
	font-family: "Noto Serif JP", serif;
	font-weight:400;
}

.page-about-history dl {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 30px;
    margin: 0 0 28px;
}

.page-about-history dt,
.page-about-history dd {
    font-size: 14px;
    line-height: 2;
    letter-spacing: 0.06em;
}

.page-about-history dt {
    color: #333;
}

.page-about-history dd {
    margin: 0;
}

.page-about-fv-img {
    min-height: 620px;
}

.page-about-fv-img img {
    height: 100%;
    object-fit: cover;
}

/* profile */

.page-about-profile {
    width: min(1120px, 86%);
    margin: 80px auto;
    padding: 56px;
    display: grid;
    grid-template-columns: 1fr 43%;
    gap: 60px;
    background: rgba(255,255,255,0.72);
}

.page-about-profile-list dl {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 30px;
    padding: 24px 0;
    margin: 0;
    border-bottom: 1px solid #d8d8d8;
}

.page-about-profile-list dt,
.page-about-profile-list dd {
    font-size: 14px;
    line-height: 1.9;
    letter-spacing: 0.05em;
}

.page-about-profile-list dt {
    color: #555;
}

.page-about-profile-list dd {
    margin: 0;
}

.page-about-profile-list a {
    color: inherit;
    text-decoration: none;
}

.page-about-profile-img img {
    height: 100%;
    object-fit: cover;
}

/* message */

.page-about-message {
    width: min(1120px, 86%);
    margin: 0 auto 100px;
    display: grid;
    grid-template-columns: 45% 1fr;
    gap: 70px;
    align-items: center;
}

.page-about-message-text h2 {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: 0.32em;
    margin: 0 0 32px;
	font-family: "Roboto", sans-serif;
	font-weight:500;
}

.page-about-message-text h2::after {
    content: "";
    display: block;
    width: 18px;
    height: 1px;
    background: #b69b64;
    margin-top: 20px;
}

.page-about-message-text p {
    font-size: 14px;
    line-height: 2.4;
    letter-spacing: 0.07em;
    margin: 0 0 26px;
}

.page-about-message-img img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* responsive */

@media screen and (max-width: 900px) {
    .page-about-fv {
        grid-template-columns: 1fr;
    }

    .page-about-fv-text {
        padding: 70px 8vw;
    }

    .page-about-sub {
        margin-bottom: 70px;
    }

    .page-about-fv-img {
        min-height: auto;
    }

    .page-about-profile,
    .page-about-message {
        grid-template-columns: 1fr;
    }

    .page-about-profile {
        padding: 36px;
    }
}

@media screen and (max-width: 600px) {
    .page-about-fv-text {
        padding: 56px 7vw;
    }

    .page-about-catch {
        font-size: 21px;
    }

    .page-about-history dl,
    .page-about-profile-list dl {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .page-about-profile {
        width: 88%;
        padding: 28px;
        margin: 56px auto;
    }

    .page-about-message {
        width: 88%;
        gap: 36px;
        margin-bottom: 70px;
    }

    .page-about-message-text h2 {
        font-size: 20px;
    }
}


/* =========================
   page works archive
========================= */

.page-works {
    color: #222;
    background: #f6f5f5;
    padding: 90px 8vw 110px;
}

.page-works-label {
    font-size: 11px;
    letter-spacing: 0.32em;
    color: #777;
    margin: 0 0 20px;
}

.page-works-header {
    margin-bottom: 70px;
}

.page-works-header h2 {
     font-family: "Baskervville", serif;
    font-weight: 400;

    font-size: clamp(42px, 5vw, 72px);
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1;
    margin: 0 0 18px;
}

.page-works-sub {
    font-size: 13px;
    letter-spacing: 0.1em;
    margin: 0;
}

/* category */

.page-works-category {
    display: flex;
    flex-wrap: wrap;
    gap: 34px;
    margin-bottom: 50px;
    border-bottom: 1px solid #d5d5d5;
}

.page-works-category a {
    position: relative;
    display: inline-block;
    padding-bottom: 18px;
    color: #333;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-decoration: none;
    text-transform: uppercase;
}

.page-works-category a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 1px;
    background: #222;
    transition: width 0.3s ease;
}

.page-works-category a:hover::after,
.page-works-category a.is-active::after {
    width: 100%;
}

/* grid */

.page-works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 64px 44px;
}

.page-works-item a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.page-works-thumb {
    aspect-ratio: 4 / 3;
    background: #e5e5e5;
    overflow: hidden;
}

.page-works-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform 0.7s ease, filter 0.7s ease;
}

.page-works-item:hover .page-works-thumb img {
    transform: scale(1.045);
    filter: grayscale(0%);
}

.page-works-info {
    padding-top: 18px;
}

.page-works-cat {
    font-size: 10px;
    letter-spacing: 0.24em;
    color: #777;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.page-works-info h3 {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.7;
    margin: 0;
}

.page-works-empty {
    font-size: 14px;
    letter-spacing: 0.08em;
    color: #777;
}

/* pagination */

.page-works-pagination {
    margin-top: 80px;
}

.page-works-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 26px;
}

.page-works-pagination a,
.page-works-pagination span {
    color: #222;
    font-size: 13px;
    text-decoration: none;
    letter-spacing: 0.08em;
}

.page-works-pagination .current {
    position: relative;
}

.page-works-pagination .current::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    width: 18px;
    height: 1px;
    background: #222;
    transform: translateX(-50%);
}

/* responsive */

@media screen and (max-width: 900px) {
    .page-works {
        padding: 70px 7vw 90px;
    }

   .page-works-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 24px;
    }
}

@media screen and (max-width: 600px) {
    .page-works {
        padding: 56px 7vw 80px;
    }

    .page-works-header {
        margin-bottom: 50px;
    }

    .page-works-category {
        gap: 22px;
        margin-bottom: 40px;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 1px;
    }

    .page-works-category a {
        white-space: nowrap;
    }

    .page-works-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .page-works-info h3 {
        font-size: 15px;
    }
}

/* =========================
   works detail
========================= */

.page-works-detail {
    background: #f6f5f5;
    color: #222;
    padding: 70px 8vw 100px;
}

.page-works-detail-back {
    margin-bottom: 56px;
}

.page-works-detail-back a {
    color: #333;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-decoration: none;
}

.page-works-detail-header {
    margin-bottom: 54px;
}

.page-works-detail-category {
    font-size: 11px;
	font-family: "Roboto", sans-serif;
	font-weight:400;
    letter-spacing: 0.24em;
    color: #666;
    margin: 0 0 18px;
    text-transform: uppercase;
}

.page-works-detail-header h2 {
    font-size: clamp(18px, 2.2vw, 28px);
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1.6;
    margin: 0 0 20px;
}

.page-works-detail-date {
    font-size: 13px;
    letter-spacing: 0.1em;
    margin: 0;
}

.page-works-detail-visuals {
	width:100%;
    margin-bottom: 76px;
    background: linear-gradient(
    135deg,
    #2f312f 0%,
    #4a4a46 100%
);
    box-shadow:0 12px 30px rgba(0,0,0,0.05);
    transition: 0.4s ease;
}
.page-works-detail-mainimg {
    width: 100%;
    height: 450px;
	margin:0 auto 0 0;

}

.page-works-detail-mainimg img {
    width: auto;
    height: 100%;
	display:block;
	margin:0 0 0 auto;
}
.page-works-detail-visuals {
    position: relative;
    overflow: hidden;
}

.page-works-detail-visual-label {
    position: absolute;
    left: 2%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    pointer-events: none;
}

.page-works-detail-visual-label span {
    font-family: "Roboto Condensed", sans-serif;
    font-size: clamp(34px, 5vw, 72px);
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.045);
}
@media screen and (max-width: 700px) {

    .page-works-detail-visuals {
		width:100%;
        margin:0 auto 0 auto;
    }
	.page-works-detail-mainimg {
		width: 100%;
		height: auto;
		margin:0 auto;
	}
	.page-works-detail-mainimg img {
		width: 100%;
		height: auto;
		display:block;
		margin:0 auto;
	}
}
/* intro */

.page-works-detail-intro {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 80px;
    padding: 76px 0 90px;
}

.page-works-detail-text {
    font-size: 14px;
    line-height: 2.4;
    letter-spacing: 0.06em;
}

.page-works-detail-text p {
    margin: 0 0 28px;
}

.page-works-detail-data {
    font-size: 13px;
	
}

.page-works-detail-data dl {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 24px;
    padding: 18px 0;
    margin: 0;
    border-bottom: 1px solid #d0d0d0;
}

.page-works-detail-data dt {
    font-size: 10px;
    letter-spacing: 0.2em;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

.page-works-detail-data dd {
    margin: 0;
    line-height: 1.8;
}

.page-works-detail-data a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* capture */

.page-works-detail-capture {
    margin: 0 auto;
}

.page-works-detail-capture img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 0 36px;
}

/* nav */

.page-works-detail-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 70px;
    padding-top: 34px;
    border-top: 1px solid #d0d0d0;
}

.page-works-detail-nav span {
    display: block;
    font-size: 10px;
    letter-spacing: 0.2em;
    color: #777;
    margin-bottom: 10px;
}

.page-works-detail-nav a {
    color: #222;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-decoration: none;
}

.page-works-detail-next {
    text-align: right;
}

/* responsive */

@media screen and (max-width: 900px) {
    .page-works-detail {
        padding: 60px 7vw 90px;
    }

    .page-works-detail-mainimg {
        margin-left: -7vw;
        margin-right: -7vw;
    }

    .page-works-detail-intro {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}
@media screen and (max-width: 700px) {

    .page-works-detail-visuals {
        width: 100%;
        margin: 0 auto 40px;
        background: #fff;
    }

    .page-works-detail-mainimg {
        width: 100%;
        height: auto;
        margin: 0;
    }

    .page-works-detail-mainimg img {
        width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }
}
@media screen and (max-width: 600px) {
    .page-works-detail {
        padding: 50px 7vw 70px;
    }

    .page-works-detail-back {
        margin-bottom: 42px;
    }

    .page-works-detail-header {
        margin-bottom: 42px;
    }

 

    .page-works-detail-intro {
        padding: 50px 0 60px;
    }

    .page-works-detail-data dl {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .page-works-detail-nav {
        gap: 30px;
    }
}

/* =========================
   page contact
========================= */

.page-contact {
    background: #f6f5f5;
}

.page-contact img {
    width: 100%;
    height: auto;
    display: block;
}

.page-contact-label {
    font-size: 11px;
    letter-spacing: 0.32em;
    color: #777;
    margin: 0 0 20px;
}

/* FV */

.page-contact-fv {
    display: grid;
    grid-template-columns: 48% 52%;
    min-height: 520px;
}

.page-contact-fv-text {
    padding: 90px 7vw 80px;
}

.page-contact-fv-text h2 {
    font-family: "Baskervville", serif;
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1;
    margin: 0 0 18px;
}

.page-contact-sub {
    font-size: 13px;
    letter-spacing: 0.1em;
    margin: 0 0 90px;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
}

.page-contact-catch {
    font-size: clamp(17px, 1.45vw, 24px);
    line-height: 2;
    letter-spacing: 0.08em;
    margin: 0;
    font-family: "Noto Serif JP", serif;
    font-weight: 400;
}

.page-contact-fv-img {
    min-height: 520px;
}

.page-contact-fv-img img {
    height: 100%;
    object-fit: cover;
}

/* form area */

.page-contact-form-section {
    width: min(1120px, 86%);
    margin: 80px auto 100px;
    display: grid;
    grid-template-columns: 34% 1fr;
    gap: 60px;
    align-items: start;
}

.page-contact-info h2 {
    font-size: 26px;
    line-height: 1.7;
    letter-spacing: 0.08em;
    font-weight: 400;
    margin: 0 0 28px;
    font-family: "Noto Serif JP", serif;
}

.page-contact-text {
    font-size: 14px;
    line-height: 2.2;
    letter-spacing: 0.07em;
    margin: 0 0 56px;
}

.page-contact-menu {
    border-top: 1px solid #d8d8d8;
    padding-top: 36px;
}

.page-contact-menu p {
    font-size: 14px;
    letter-spacing: 0.08em;
    margin: 0 0 20px;
}

.page-contact-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-contact-menu li {
    font-size: 14px;
    line-height: 2;
    letter-spacing: 0.07em;
}

.page-contact-menu li::before {
    content: "—";
    margin-right: 14px;
    color: #777;
}

.page-contact-form {
    background: rgba(255,255,255,0.72);
    border: 1px solid #d8d8d8;
    padding: 56px;
}

/* Forminator余白だけ調整 */
.page-contact-form .forminator-ui {
    margin: 0;
}

.page-contact-form .forminator-row {
    margin-bottom: 22px;
}

/* responsive */

@media screen and (max-width: 900px) {
    .page-contact-fv {
        grid-template-columns: 1fr;
    }

    .page-contact-fv-text {
        padding: 70px 8vw;
    }

    .page-contact-sub {
        margin-bottom: 70px;
    }

    .page-contact-fv-img {
        min-height: auto;
    }

    .page-contact-form-section {
        grid-template-columns: 1fr;
    }

    .page-contact-form {
        padding: 36px;
    }
}

@media screen and (max-width: 600px) {
    .page-contact-fv-text {
        padding: 56px 7vw;
    }

    .page-contact-catch {
        font-size: 20px;
    }

    .page-contact-form-section {
        width: 88%;
        margin: 56px auto 70px;
        gap: 36px;
    }

    .page-contact-info h2 {
        font-size: 22px;
    }

    .page-contact-form {
        padding: 28px;
    }
}

/* =========================
   page news
========================= */

.page-news,
.page-news-single {
    background: #f6f5f5;
}

.page-news img,
.page-news-single img {
    width: 100%;
    height: auto;
    display: block;
}

/* FV */

.page-news-fv {
    display: grid;
    grid-template-columns: 48% 52%;
    min-height: 520px;
}

.page-news-fv-text {
    padding: 90px 7vw 80px;
}

.page-news-fv-text h2 {
    font-family: "Baskervville", serif;
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1;
    margin: 0 0 18px;
}

.page-news-sub {
    font-size: 13px;
    letter-spacing: 0.1em;
    margin: 0 0 90px;
    font-family: "Zen Kaku Gothic New", sans-serif;
}

.page-news-lead {
    font-size: 14px;
    line-height: 2.2;
    letter-spacing: 0.08em;
}

.page-news-fv-img img {
    height: 100%;
    object-fit: cover;
}

/* list */

.page-news-list {
    width: min(1120px, 86%);
    margin: 80px auto 100px;
    border-top: 1px solid #d6d6d6;
}

.page-news-item a {
    display: grid;
    grid-template-columns: 110px 80px 1fr 140px 40px;
    gap: 28px;
    align-items: center;
    padding: 28px 0;
    border-bottom: 1px solid #d6d6d6;
    color: inherit;
    text-decoration: none;
}

.page-news-date {
    font-size: 13px;
    letter-spacing: 0.08em;
}

.page-news-cat {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 64px;
    padding: 5px 10px;
    border: 1px solid #d7d7d7;
    font-size: 11px;
    letter-spacing: 0.08em;
    color: #555;
}

.page-news-item h3 {
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.08em;
    margin: 0;
}

.page-news-thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.page-news-thumb img {
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.page-news-arrow {
    font-size: 18px;
    text-align: right;
}

.page-news-item a:hover .page-news-thumb img {
    transform: scale(1.04);
}

.page-news-thumb img {
    transition: transform 0.5s ease;
}

/* pager */

.page-news-pager {
    margin-top: 48px;
    text-align: center;
}

.page-news-pager .nav-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    align-items: center;
}

.page-news-pager a,
.page-news-pager span {
    font-size: 13px;
    color: #222;
    text-decoration: none;
}

.page-news-pager .current {
    background: #222;
    color: #fff;
    padding: 4px 8px;
}

/* single */

.page-news-single {
    padding: 90px 0 0;
}

.page-news-back,
.page-news-detail,
.page-news-postnav {
    width: min(960px, 82%);
    margin-left: auto;
    margin-right: auto;
}

.page-news-back {
    margin-bottom: 60px;
}

.page-news-back a {
    color: inherit;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.14em;
}

.page-news-detail-meta {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 24px;
}

.page-news-detail-meta .cat {
    border: 1px solid #d7d7d7;
    padding: 5px 12px;
    font-size: 11px;
    letter-spacing: 0.08em;
}

.page-news-detail-meta time {
    font-size: 13px;
    letter-spacing: 0.08em;
}

.page-news-detail h2 {
    font-family: "Noto Serif JP", serif;
    font-size: clamp(18px, 1.8vw, 28px);
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.12em;
    margin: 0 0 54px;
}

.page-news-detail-img {
    margin-bottom: 64px;
}

.page-news-detail-img img {
    aspect-ratio: 16 / 7;
    object-fit: cover;
    filter: grayscale(100%);
}

.page-news-content {
    font-size: 15px;
    line-height: 2.4;
    letter-spacing: 0.07em;
    margin-bottom: 90px;
}

.page-news-content p {
    margin: 0 0 28px;
}

.page-news-content a {
    color: inherit;
}

/* prev next */

.page-news-postnav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #d6d6d6;
    border-bottom: 1px solid #d6d6d6;
    margin-bottom: 90px;
}

.page-news-postnav > div {
    padding: 34px 40px;
}

.page-news-postnav .next {
    border-left: 1px solid #d6d6d6;
    text-align: right;
}

.page-news-postnav a {
    color: inherit;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.08em;
}

.page-news-postnav span {
    display: block;
    font-size: 11px;
    letter-spacing: 0.2em;
    margin-bottom: 8px;
    color: #777;
}

.page-news-postnav strong {
    font-weight: 400;
}

/* responsive */

@media screen and (max-width: 900px) {
    .page-news-fv {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .page-news-fv-text {
        padding: 70px 8vw;
    }

    .page-news-sub {
        margin-bottom: 60px;
    }

    .page-news-item a {
        grid-template-columns: 90px 70px 1fr 34px;
    }

    .page-news-thumb {
        display: none;
    }
}

@media screen and (max-width: 600px) {
    .page-news-fv-text {
        padding: 56px 7vw;
    }

    .page-news-list {
        width: 88%;
        margin: 56px auto 70px;
    }

    .page-news-item a {
        grid-template-columns: 1fr 34px;
        gap: 12px;
        padding: 24px 0;
    }

    .page-news-date,
    .page-news-cat {
        grid-column: 1 / 2;
    }

    .page-news-item h3 {
        grid-column: 1 / 2;
        line-height: 1.8;
    }

    .page-news-arrow {
        grid-column: 2 / 3;
        grid-row: 1 / 4;
    }

    .page-news-single {
        padding-top: 60px;
    }

    .page-news-back,
    .page-news-detail,
    .page-news-postnav {
        width: 88%;
    }

    .page-news-detail h2 {
        margin-bottom: 36px;
    }

    .page-news-detail-img img {
        aspect-ratio: 4 / 3;
    }

    .page-news-postnav {
        grid-template-columns: 1fr;
    }

    .page-news-postnav .next {
        border-left: none;
        border-top: 1px solid #d6d6d6;
    }
}

/* item */

.page-news-item {
    position: relative;
}

.page-news-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 1px;
    background: #b69b64;
    transition: width .45s ease;
    transform: translateY(-50%);
}

.page-news-item a {
    position: relative;
    display: grid;
    grid-template-columns: 110px 80px 1fr 140px 40px;
    gap: 28px;
    align-items: center;
    padding: 30px 0;
    border-bottom: 1px solid #d6d6d6;
    color: inherit;
    text-decoration: none;
    transition: background .4s ease,
                padding .4s ease;
}

/* hover */

.page-news-item:hover::before {
    width: 36px;
}

.page-news-item a:hover {
    padding-left: 42px;
    background: rgba(255,255,255,0.45);
}

/* image */

.page-news-thumb {
    overflow: hidden;
}

.page-news-thumb img {
    transition: transform .7s ease,
                filter .5s ease;
}

.page-news-item a:hover .page-news-thumb img {
    transform: scale(1.06);
    filter: grayscale(0%);
}

/* arrow */

.page-news-arrow {
    font-size: 18px;
    transition: transform .35s ease,
                opacity .35s ease;
}

.page-news-item a:hover .page-news-arrow {
    transform: translateX(8px);
    opacity: .7;
}