:root {
    --paper:#faf9f5;
    --tint:#f1f0e9;
    --ink:#45443e;
    --muted:#96968d;
    --line:#dedfd7;
    --header-height:100px
}

* {
    box-sizing:border-box
}

html {
    scroll-behavior:smooth;
    scroll-padding-top:var(--header-height)
}

body {
    margin:0;
    background:var(--paper);
    color:var(--ink);
    background-image: url("../img/bg.png");
    background-repeat: repeat;
    background-position: top left;
    font-family:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;
    font-weight:400;
    line-height:2;
    letter-spacing:.07em
}

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

button {
    font:inherit
}

.site-header {
    height:var(--header-height);
    padding:0 clamp(26px,5.5vw,100px);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    background:rgba(250,249,245,.94);
    position:fixed;
    top:0;
    left:0;
    right:0;
    z-index:10;
    backdrop-filter:blur(12px)
}

.brand {
    display:flex;
    align-items:center;
    gap:12px;
    font-size:16px;
    white-space:nowrap
}


.main-nav {
    display:flex;
    align-items:center;
    gap:clamp(18px,3.5vw,65px)
}

.main-nav a {
    font-size:16px;
    color:#77766e;
    transition:opacity .2s
}

.main-nav a:hover {
    opacity:.55
}

.menu-toggle {
    display:none
}

.hero {
    margin-top:var(--header-height);
    height:min(57vw,940px);
    min-height:370px;
    background:#f8f7f2 url('../img/hero-preview.jpg') center center/cover no-repeat
}


.section {
    padding:clamp(110px,13vw,210px) clamp(24px,7vw,130px)
}

.section-layout {
    max-width:1300px;
    margin:auto;
    display:grid;
    grid-template-columns:25% minmax(0,1fr);
    gap:25px
}

.section-index {
    display:flex;
    align-items:flex-start;
    gap:24px;
    color:var(--muted);
    font-size: clamp(15px, 1.3vw, 16px);
    padding-top:8px;
    white-space:nowrap
}

.section-num {
    font-size: clamp(15px, 1.3vw, 16px);
}

.section-content {
    max-width:850px
}

.eyebrow {
    font-size:14px;
    color:var(--muted);
    margin:0 0 28px
}

h2,h3,p {
    font-weight:500
}

/* ========================================
   FV 縦書きテキスト
======================================== */

.hero {
    position: relative;
}

.hero-copy {
    position: absolute;
    top: 30%;
    left: 22%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 50px;
    z-index: 2;
}

.hero-copy-main {
    writing-mode: vertical-rl;
    font-size: clamp(34px, 3vw, 48px);
    font-weight: 400;
    letter-spacing: 0.25em;
    line-height: 1.5;
    margin: 0;
}

.hero-copy-sub {
    writing-mode: vertical-rl;
    font-size: clamp(12px, 1.2vw, 16px);
    font-weight: 400;
    letter-spacing: 0.2em;
    line-height: 1.8;
    margin: 0;
    color: #77736c;
}

/* ========================================
   モバイル調整
======================================== */

@media (max-width: 760px) {

    .hero-copy {
        top: 20%;
        left: 6%;
        gap: 8px;
    }

    .hero-copy-main {
        font-size: 30px;
        letter-spacing: 0.1em;
    }

    .hero-copy-sub {
        font-size: 12px;
        letter-spacing: 0.12em;
    }

}


/* PC */
.brand-mark {
    display: block;
    width: 55px;
    height: auto;
}

.brand-mark-f {
    display: block;
    width: 65px;
    height: auto;
}


h2 {
    font-size:clamp(36px,2.8vw,40px);
    letter-spacing:.14em;
    line-height:1.65;
    margin:0 0 60px
}

.phrase {
    font-size:clamp(30px,2.6vw,36px);
    letter-spacing:.16em;
    margin:0
}

.reading {
    font-size:14px;
    color:var(--muted);
    margin:3px 0 46px
}

.body-copy {
    font-size:clamp(18px,1.1vw,20px);
    line-height:2.7
}

.body-copy p {
    margin:0 0 30px
}

.subsection {
    border-top:1px solid var(--line);
    margin-top:110px;
    padding-top:75px
}

.phrase.smaller {
    font-size:clamp(27px,2.6vw,34px);
    margin-bottom:46px
}

.tinted {
    background:var(--tint)
}

.section-heading {
    font-size:clamp(27px,2.6vw,34px);
    letter-spacing:.12em;
    margin:0 0 40px;
    line-height:1.7
}

.place-section {
    padding-top:150px;
    padding-bottom:155px
}

.place-copy {
    font-size:clamp(18px,1.1vw,20px);
    line-height:2.7
}

.place-copy p {
    margin:0 0 30px
}

.business-section {
    padding-top:140px;
    padding-bottom:140px
}

.company-section {
    padding-top:145px;
    padding-bottom:150px
}

.company-table {
    margin:32px 0 0;
    font-size:clamp(14px,1.1vw,16px);
}

.company-table>div {
    display:grid;
    grid-template-columns:170px 1fr;
    border-bottom:1px solid var(--line);
    padding:23px 0;
    gap:20px
}

.company-table dt {
    color:var(--muted)
}

.company-table dd {
    margin:0
}

.company-table small {
    display:block;
    font-size:13px;
    letter-spacing:.18em;
    color:var(--muted);
    margin-top:3px
}

.site-footer {
    min-height:270px;
    padding:55px clamp(24px,7vw,130px) 24px;
    position:relative;
    background:#f5f5ef
}

.footer-brand {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    line-height:1.5
}

.footer-mark {
    font-size:56px;
    line-height:1;
    transform:rotate(-35deg);
    margin-bottom:10px
}

.footer-name {
    font-size:20px
}

.footer-en {
    font-size:12px;
    letter-spacing:.2em
}

.footer-company {
    font-size:14px;
    margin-top:10px
}

.back-to-top {
    position:absolute;
    right:7%;
    top:65px;
    border-bottom:1px solid var(--line);
    font-size:28px;
    width:38px;
    text-align:center;
    line-height:1.5
}

.copyright {
    text-align:center;
    font-size:12px;
    color:var(--muted);
    margin:30px 0 0
}


/* スマホ */
@media (max-width: 760px) {

    .brand-mark {
        width: 50px;
    }

    .brand-mark-f {
        width: 60px;
    }



    :root {
        --header-height:86px
    }

.site-header {
        padding:0 20px
    }

.brand {
        font-size:18px
    }

.brand-mark {
        font-size:34px
    }

.menu-toggle {
        display:flex;
        width:38px;
        height:38px;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        gap:6px;
        border:0;
        background:none;
        cursor:pointer
    }

.menu-toggle span {
        width:23px;
        height:1px;
        background:var(--ink)
    }

.main-nav {
        display:none;
        position:absolute;
        top:var(--header-height);
        left:0;
        right:0;
        background:var(--paper);
        padding:24px;
        box-shadow:0 12px 20px #0000000a;
        flex-direction:column;
        align-items:flex-start;
        gap:20px
    }

.main-nav.is-open {
        display:flex
    }

.main-nav a {
        font-size:14px
    }

.hero {
        min-height:280px;
        height:100vw;
        background-position:75% center
    }

.section {
        padding:85px 25px
    }

.section-layout {
        grid-template-columns:1fr;
        gap:35px
    }

.section-index {
        font-size:14px;
        gap:15px
    }

.section-content {
        max-width:none
    }

h3 {
        margin-bottom:48px
    }

.reading {
        margin-bottom:35px
    }


.subsection {
        margin-top:75px;
        padding-top:55px
    }

.phrase.smaller {
        margin-bottom:35px
    }

.place-section,.business-section,.company-section {
        padding-top:90px;
        padding-bottom:95px
    }

.place-copy {
        margin:40px 0 0 0;
    }

.place-copy p {
        margin-bottom:24px
    }

.company-table {
        font-size:18px
    }

.company-table>div {
        grid-template-columns:90px 1fr;
        gap:14px;
        padding:17px 0
    }

.site-footer {
        min-height:245px;
        padding:45px 25px 22px
    }

.back-to-top {
        right:25px;
        top:50px
    }


}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior:auto
    }


}


/* ========================================
   FV フェードイン
======================================== */

.hero {
    animation: heroFadeIn 1.8s ease-out both;
}

@keyframes heroFadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* 動きを減らす設定への対応 */
@media (prefers-reduced-motion: reduce) {
    .hero {
        animation: none;
    }
}

/* ========================================
   モバイルメニュー 全画面表示
======================================== */

@media (max-width: 760px) {

    .site-header {
        z-index: 100;
    }

    .brand,
    .menu-toggle {
        position: relative;
        z-index: 102;
    }

    .main-nav {
        display: flex;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        width: 100%;
        height: calc(100dvh - var(--header-height));
        padding: 70px 35px;
        background: var(--paper);
        box-shadow: none;

        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 35px;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.4s ease,
                    visibility 0.4s;
    }

    .main-nav.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .main-nav a {
        font-size: 16px;
        letter-spacing: 0.15em;
    }

}

.js .fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s ease,
              transform 1.2s ease;
}

.js .fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ========================================
   スマホのみ改行
======================================== */

.sp-only {
    display: none;
}

@media (max-width: 760px) {

    .sp-only {
        display: inline;
    }

}