@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+JP:wght@400;500;600;700&display=swap");

:root {
    --ink: #3e3a35;
    --muted: #716b64;
    --paper: #f9f5ec;
    --white: #fff;
    --orange: #e89049;
    --orange-dark: #b95f26;
    --blue: #67a9c7;
    --green: #789b6c;
    --oshi: #e4747d;
    --oshi-bg: #f7f5f0;
    --purple: #9281ac;
    --purple-bg: #f2eef7;
    --line: rgba(62, 58, 53, 0.14);
    --shadow: 0 18px 50px rgba(77, 66, 53, 0.1);
    --radius-lg: 38px;
    --radius-md: 24px;
    --content: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

#about,
#services,
#guide,
#handmade-service { scroll-margin-top: 86px; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Noto Sans JP", "Hiragino Sans", Meiryo, sans-serif;
    line-height: 1.8;
    overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

img { max-width: 100%; height: auto; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

a:focus-visible,
button:focus-visible {
    outline: 3px solid #176f9e;
    outline-offset: 4px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 10px;
    left: 10px;
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--ink);
    color: #fff;
    transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
    position: fixed;
    z-index: 100;
    inset: 0 0 auto;
    border-bottom: 1px solid transparent;
    transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.site-header.scrolled {
    border-color: var(--line);
    background: rgba(249, 245, 236, .9);
    box-shadow: 0 4px 24px rgba(77, 66, 53, .06);
    backdrop-filter: blur(14px);
}

.header-inner {
    width: min(var(--content), calc(100% - 40px));
    height: 76px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--ink);
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 50% 48% 47% 52%;
    color: #fff;
    background: var(--orange);
    font-size: 1rem;
    box-shadow: inset -4px -4px 0 rgba(132, 70, 30, .1);
    transform: rotate(-5deg);
}

.global-nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 3vw, 38px);
}

.global-nav a {
    position: relative;
    font-size: .86rem;
    font-weight: 600;
    text-decoration: none;
}

.global-nav a:not(.nav-cta)::after {
    position: absolute;
    right: 0;
    bottom: -5px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--orange);
    transform: scaleX(0);
    transition: transform .2s ease;
}

.global-nav a:hover::after { transform: scaleX(1); }

.global-nav .nav-cta {
    padding: 10px 19px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    transition: color .2s, background .2s;
}

.global-nav .nav-cta:hover { color: #fff; background: var(--ink); }
.nav-toggle { display: none; }

.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 118px 0 88px;
    overflow: hidden;
    background:
        radial-gradient(circle at 6% 10%, rgba(255, 255, 255, .95) 0 9%, transparent 27%),
        linear-gradient(135deg, #fffaf1 0%, #f6f1e7 55%, #eef6ed 100%);
}

.hero::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    content: "";
    opacity: .25;
    background-image: radial-gradient(rgba(88, 72, 53, .16) .7px, transparent .7px);
    background-size: 9px 9px;
}

.hero-shape { position: absolute; border-radius: 50%; filter: blur(1px); }
.hero-shape-one { width: 340px; height: 340px; right: -100px; top: 14%; background: rgba(232, 169, 103, .16); }
.hero-shape-two { width: 250px; height: 250px; left: -110px; bottom: 5%; background: rgba(103, 169, 199, .14); }

.hero-inner {
    position: relative;
    z-index: 1;
    width: min(1240px, calc(100% - 64px));
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: clamp(45px, 7vw, 100px);
    align-items: center;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--orange-dark);
    font-family: "DM Sans", sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .2em;
}

.hero h1 {
    margin: 0;
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    font-weight: 600;
    letter-spacing: .02em;
    line-height: 1.36;
}

.hero h1 span { color: var(--orange-dark); }

.hero-lead {
    max-width: 580px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: clamp(.98rem, 1.3vw, 1.08rem);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 13px 25px;
    border-radius: 999px;
    font-size: .92rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, color .2s ease, background .2s ease;
}

.button:hover { transform: translateY(-3px); }

.button-primary {
    color: #fff;
    background: var(--ink);
    box-shadow: 0 10px 24px rgba(62, 58, 53, .2);
}

.button-primary:hover { box-shadow: 0 14px 30px rgba(62, 58, 53, .26); }

.text-link {
    border-bottom: 1px solid var(--ink);
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
}

.hero-visual { position: relative; }

.hero-image-frame {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 50% 42% 48% 38% / 43% 45% 40% 48%;
    background: rgba(255, 255, 255, .48);
    box-shadow: 0 30px 80px rgba(75, 92, 58, .17);
    transform: rotate(1.5deg);
}

.hero-image-frame img {
    display: block;
    width: 100%;
    aspect-ratio: 1.32;
    border-radius: inherit;
    object-fit: cover;
    object-position: center;
}

.hero-note {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 999px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 8px 24px rgba(64, 56, 47, .12);
    backdrop-filter: blur(8px);
    font-size: .8rem;
    font-weight: 700;
}

.hero-note span { font-size: 1.05rem; }
.hero-note-study { left: -5%; bottom: 22%; color: #317b9d; }
.hero-note-create { right: 1%; top: 8%; color: #7c6a9c; }
.hero-note-love { right: -3%; bottom: 12%; color: #bb5b64; }

.scroll-hint {
    position: absolute;
    bottom: 20px;
    left: 50%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-family: "DM Sans", sans-serif;
    font-size: .58rem;
    letter-spacing: .2em;
    text-decoration: none;
    transform: translateX(-50%);
}

.scroll-hint i { width: 1px; height: 30px; background: var(--muted); animation: scroll-line 1.7s ease-in-out infinite; }

@keyframes scroll-line {
    0%, 100% { transform: scaleY(.25); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
}

.section { padding: clamp(90px, 10vw, 145px) 0; }
.section-inner { width: min(var(--content), calc(100% - 48px)); margin: auto; }

.about { background: #fff; }

.about-grid {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: clamp(50px, 10vw, 140px);
}

.about h2,
.section-heading h2,
.closing h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.35rem);
    font-weight: 600;
    letter-spacing: .03em;
    line-height: 1.45;
}

.about-heading { position: relative; }
.about-heading::after { display: block; width: 72px; height: 3px; margin-top: 30px; content: ""; background: var(--orange); }
.about-body { color: var(--muted); }
.about-body > p { max-width: 660px; margin: 0 0 20px; }
.about-body .about-lead { color: var(--ink); font-size: 1.2rem; font-weight: 600; line-height: 1.9; }

.value-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin: 44px 0 0;
    padding: 0;
    border: solid var(--line);
    border-width: 1px 0;
    list-style: none;
}

.value-list li { padding: 22px 14px; color: var(--ink); font-size: .84rem; font-weight: 600; text-align: center; }
.value-list li + li { border-left: 1px solid var(--line); }
.value-list span { display: block; margin-bottom: 5px; color: var(--orange); font: 600 .7rem "DM Sans", sans-serif; letter-spacing: .1em; }

.services { background: #f4efe5; }
.section-heading { max-width: 760px; margin: 0 auto clamp(50px, 7vw, 85px); text-align: center; }
.section-heading > p:last-child { margin: 20px 0 0; color: var(--muted); }

.service-card {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1.07fr;
    min-height: 620px;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.service-card + .service-card { margin-top: 54px; }
.service-card:nth-of-type(odd) .service-copy { order: 2; }
.service-card:nth-of-type(odd) .service-visual { order: 1; }

.service-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(44px, 6vw, 82px);
}

.service-number { position: absolute; top: 32px; right: 38px; color: rgba(62, 58, 53, .08); font: 700 5.5rem/1 "DM Sans", sans-serif; }
.service-kicker { margin: 0 0 12px; color: var(--orange-dark); font: 700 .66rem "DM Sans", sans-serif; letter-spacing: .18em; }
.service-copy h3 { margin: 0 0 20px; font-size: clamp(2rem, 3.5vw, 3.15rem); font-weight: 600; line-height: 1.3; }
.service-copy h3 span { font-size: .52em; letter-spacing: .08em; }
.service-copy > p:not(.service-kicker):not(.service-summary) { margin: 0; color: var(--muted); font-size: .94rem; }
.service-copy .service-summary { margin: 0 0 18px; font-size: 1.12rem; font-weight: 600; }

.tag-list { display: flex; gap: 8px; margin: 28px 0 32px; padding: 0; flex-wrap: wrap; list-style: none; }
.tag-list li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .73rem; font-weight: 600; }
.service-button { border: 1px solid currentColor; background: transparent; }
.service-button:hover { color: #fff; background: var(--ink); }

.service-visual { position: relative; min-height: 480px; overflow: hidden; }

.papan-visual { display: flex; flex-direction: column; justify-content: center; padding: 44px; background: #e8f3f7; }
.papan-visual::before { position: absolute; width: 280px; height: 280px; top: -100px; right: -70px; border-radius: 50%; content: ""; background: rgba(255, 204, 139, .45); }
.papan-visual img { position: relative; z-index: 1; width: 100%; aspect-ratio: 1.25; border: 10px solid #fff; border-radius: 48% 42% 44% 40%; box-shadow: 0 22px 45px rgba(63, 107, 123, .18); object-fit: cover; }
.visual-caption { position: relative; z-index: 2; display: flex; justify-content: center; gap: 25px; margin-top: 24px; color: #44788b; font: 700 .65rem "DM Sans", sans-serif; letter-spacing: .18em; }

.service-oshi { background: #fff; }
.service-oshi .service-kicker { color: #ad555f; }
.oshi-visual { display: grid; padding: clamp(28px, 5vw, 65px); place-items: center; background: var(--oshi-bg); }
.oshi-visual::before { position: absolute; inset: 8% 7%; border: 1px solid rgba(62, 58, 53, .08); border-radius: 28px; content: ""; }
.chart-card { position: relative; z-index: 1; width: min(390px, 100%); padding: 28px; border-radius: 18px; background: #fff; box-shadow: 0 20px 48px rgba(47, 43, 38, .1); }
.mini-label { margin: 0 0 20px; color: #aaa8a2; font: 600 .65rem "DM Sans", sans-serif; letter-spacing: .16em; }
.donut { position: relative; display: grid; width: min(250px, 80%); margin: auto; aspect-ratio: 1; place-items: center; border-radius: 50%; background: conic-gradient(#df6f78 0 42%, #efb95f 42% 70%, #6aaac4 70% 88%, #8c84b5 88% 100%); box-shadow: 0 12px 32px rgba(70, 58, 55, .14); }
.donut::before { position: absolute; width: min(130px, 38%); aspect-ratio: 1; border-radius: 50%; content: ""; background: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,.04); }
.donut span { position: relative; z-index: 1; font-size: clamp(.9rem, 2vw, 1.25rem); font-weight: 700; line-height: 1.35; text-align: center; }
.chart-legend { display: grid; gap: 9px; margin-top: 26px; font-size: .72rem; }
.chart-legend span { display: grid; grid-template-columns: 12px 1fr auto; gap: 8px; align-items: center; }
.chart-legend b { font-family: "DM Sans", sans-serif; }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot-one { background: #df6f78; }.dot-two { background: #efb95f; }.dot-three { background: #6aaac4; }.dot-four { background: #8c84b5; }

.service-handmade .service-kicker { color: #756391; }
.handmade-visual { display: grid; padding: 54px 40px 0; place-items: end center; background: linear-gradient(145deg, #eee8f5, #f8f6fb); }
.handmade-visual::after { position: absolute; width: 260px; height: 260px; right: -80px; bottom: -80px; border-radius: 50%; content: ""; background: rgba(178, 164, 212, .22); }
.phone-frame { position: relative; z-index: 1; width: min(340px, 88%); aspect-ratio: 5 / 7; border: 7px solid #47434c; border-bottom: 0; border-radius: 42px 42px 0 0; background: #f8f6fb; box-shadow: 0 20px 50px rgba(87, 70, 105, .22); overflow: hidden; }
.phone-frame::before { position: absolute; z-index: 2; top: 9px; left: 50%; width: 66px; height: 5px; border-radius: 4px; content: ""; background: rgba(71, 67, 76, .65); transform: translateX(-50%); }
.phone-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }

.guide { background: #fff; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide-card { display: grid; min-height: 180px; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-md); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.guide-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.guide-icon { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 50%; font-size: 1.45rem; }
.guide-study .guide-icon { color: #377f9f; background: #e8f5fa; }
.guide-oshi .guide-icon { color: #b45660; background: #fbeaec; }
.guide-make .guide-icon { color: #756391; background: #eee8f5; }
.guide-text { display: flex; flex-direction: column; }
.guide-text small { color: var(--muted); font-size: .7rem; }
.guide-text strong { margin-top: 4px; font-size: 1rem; }
.guide-arrow { font-size: 1.4rem; transition: transform .2s; }
.guide-card:hover .guide-arrow { transform: translateX(5px); }

.closing { padding-top: 40px; background: #fff; }
.closing-inner { width: min(var(--content), calc(100% - 48px)); margin: auto; display: grid; grid-template-columns: auto 1fr auto; gap: clamp(25px, 5vw, 65px); align-items: center; padding: clamp(38px, 6vw, 70px); border-radius: var(--radius-lg); background: linear-gradient(120deg, #eff8fa, #fff8ed 52%, #f1f6ed); }
.closing img { width: 120px; filter: drop-shadow(0 8px 12px rgba(63, 58, 50, .13)); }
.closing h2 { font-size: clamp(1.65rem, 3.3vw, 2.75rem); }

.site-footer { padding: 72px max(24px, calc((100% - var(--content)) / 2)) 24px; color: #e9e3da; background: #3e3a35; }
.footer-inner { display: flex; justify-content: space-between; gap: 50px; padding-bottom: 48px; }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand strong, .footer-brand small { display: block; }
.footer-brand small { margin-top: 3px; color: #bdb6ad; font-size: .7rem; }
.footer-links { display: flex; max-width: 560px; justify-content: flex-end; gap: 15px 30px; flex-wrap: wrap; }
.footer-links a, .footer-bottom a { color: #d7d0c7; font-size: .78rem; text-decoration: none; }
.footer-links a:hover, .footer-bottom a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #a9a198; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
    .header-inner { height: 68px; }
    .nav-toggle { position: relative; z-index: 102; display: grid; width: 44px; height: 44px; padding: 0; border: 0; place-items: center; background: transparent; }
    .nav-toggle-lines, .nav-toggle-lines::before, .nav-toggle-lines::after { display: block; width: 23px; height: 2px; content: ""; background: var(--ink); transition: transform .25s, opacity .25s; }
    .nav-toggle-lines::before { transform: translateY(-7px); }
    .nav-toggle-lines::after { transform: translateY(5px); }
    .nav-toggle[aria-expanded="true"] .nav-toggle-lines { background: transparent; }
    .nav-toggle[aria-expanded="true"] .nav-toggle-lines::before { transform: translateY(1px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] .nav-toggle-lines::after { transform: translateY(-1px) rotate(-45deg); }
    .global-nav { position: fixed; z-index: 101; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: 80px 30px; background: rgba(249,245,236,.98); visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity .2s, transform .2s, visibility .2s; }
    .global-nav.open { visibility: visible; opacity: 1; transform: none; }
    .global-nav a { font-size: 1.05rem; }
    html:not(.js) .nav-toggle { display: none; }
    html:not(.js) .global-nav { position: static; visibility: visible; opacity: 1; transform: none; flex-direction: row; padding: 0; background: transparent; }
    html:not(.js) .global-nav a:not(.nav-cta) { display: none; }
    .hero { min-height: auto; padding-top: 120px; }
    .hero-inner { grid-template-columns: 1fr; width: min(680px, calc(100% - 40px)); text-align: center; }
    .hero-lead { margin-inline: auto; }
    .hero-actions { justify-content: center; }
    .hero-visual { width: min(620px, 92%); margin: 0 auto; }
    .about-grid { grid-template-columns: 1fr; gap: 45px; }
    .service-card { grid-template-columns: 1fr; }
    .service-card .service-copy, .service-card:nth-of-type(odd) .service-copy { order: 1; }
    .service-card .service-visual, .service-card:nth-of-type(odd) .service-visual { order: 2; }
    .guide-grid { grid-template-columns: 1fr; }
    .guide-card { min-height: 130px; }
    .closing-inner { grid-template-columns: auto 1fr; }
    .closing-inner .button { grid-column: 1 / -1; justify-self: center; }
}

@media (max-width: 600px) {
    .header-inner { width: calc(100% - 28px); }
    .brand { font-size: .96rem; }
    .brand-mark { width: 36px; height: 36px; }
    .hero { padding: 105px 0 75px; }
    .hero-inner { width: calc(100% - 32px); gap: 48px; }
    .hero h1 { font-size: clamp(2.15rem, 11vw, 3.15rem); }
    .hero-lead br { display: none; }
    .desktop-only { display: none; }
    .hero-actions { flex-direction: column; gap: 20px; }
    .hero-image-frame { padding: 7px; }
    .hero-image-frame img { aspect-ratio: 1.04; }
    .hero-note { padding: 7px 11px; font-size: .66rem; }
    .hero-note-study { left: -6%; }
    .hero-note-create { right: -4%; }
    .hero-note-love { right: -6%; bottom: 6%; }
    .scroll-hint { display: none; }
    .section { padding: 80px 0; }
    .section-inner { width: calc(100% - 28px); }
    .about h2, .section-heading h2 { font-size: clamp(1.8rem, 8vw, 2.45rem); }
    .about-body .about-lead { font-size: 1.06rem; }
    .value-list { grid-template-columns: 1fr; }
    .value-list li { display: grid; grid-template-columns: 36px 1fr; text-align: left; }
    .value-list li + li { border-top: 1px solid var(--line); border-left: 0; }
    .value-list span { margin: 0; }
    .section-heading { margin-bottom: 42px; }
    .service-card { min-height: 0; border-radius: 25px; }
    .service-card + .service-card { margin-top: 28px; }
    .service-copy { padding: 45px 25px 38px; }
    .service-number { top: 22px; right: 22px; font-size: 4rem; }
    .service-copy h3 { font-size: 2.15rem; }
    .service-copy .service-summary { max-width: 85%; font-size: 1.02rem; }
    .tag-list { margin-block: 24px 28px; }
    .service-button { width: 100%; }
    .service-visual { min-height: 390px; }
    .papan-visual { min-height: 350px; padding: 30px 23px; }
    .papan-visual img { aspect-ratio: 1.1; border-width: 7px; }
    .oshi-visual { padding: 34px 22px; }
    .chart-card { padding: 22px; }
    .handmade-visual { min-height: 430px; padding: 35px 25px 0; }
    .phone-frame { width: min(310px, 92%); }
    .guide-card { min-height: 118px; padding: 22px 19px; }
    .guide-icon { width: 50px; height: 50px; }
    .closing { padding-top: 15px; }
    .closing-inner { width: calc(100% - 28px); grid-template-columns: 1fr; padding: 38px 24px; text-align: center; }
    .closing img { width: 95px; margin: auto; }
    .footer-inner { flex-direction: column; }
    .footer-links { justify-content: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
