:root {
    --journey-cream: #f2eddf;
    --journey-ink: #11110f;
    --journey-blue: #2456d6;
    --journey-yellow: #f4c430;
    --journey-line: 2px solid var(--journey-ink);
    --journey-pad: clamp(1.25rem, 4vw, 4.5rem);
    --journey-content: 1100px;
    /* 背景は全幅のまま、中身を --journey-content 幅で中央に揃えるための左右余白 */
    --journey-gutter: max(var(--journey-pad), calc((100% - var(--journey-content)) / 2));
}

html { scroll-behavior: smooth; }
body {
    color: var(--journey-ink);
    background: var(--journey-cream);
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    letter-spacing: 0;
}
body::before { display: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--journey-yellow); outline-offset: 3px; }
.screen-reader-text.skip-link:focus { color: var(--journey-ink); background: var(--journey-yellow); border: var(--journey-line); }

.journey-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5.25rem;
    padding: 0 var(--journey-pad);
    border-bottom: var(--journey-line);
    transition: background-color .25s ease, box-shadow .25s ease, height .25s ease;
}
.journey-header.is-scrolled { position: fixed; height: 4.5rem; background: rgba(242, 237, 223, .92); box-shadow: 0 2px 0 var(--journey-ink); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.journey-brand { font-family: "Archivo Black", sans-serif; font-size: 1.7rem; line-height: 1; }
.journey-brand span { color: var(--journey-blue); font-size: .6rem; vertical-align: top; }
.journey-nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.8rem); font-size: .8rem; font-weight: 900; text-transform: uppercase; }
.journey-nav a { position: relative; }
.journey-nav a:not(.journey-nav-contact)::after { content: ""; position: absolute; right: 0; bottom: -.25rem; left: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.journey-nav a:hover::after, .journey-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.journey-nav-contact { padding: .55rem 1rem; border: var(--journey-line); border-radius: 100px; background: var(--journey-yellow); transition: transform .2s ease, box-shadow .2s ease; }
.journey-nav-contact:hover { transform: translate(-3px, -3px); box-shadow: 3px 3px 0 var(--journey-ink); }
/* RINIA（チームでのWeb制作相談）への入口。Contactより一段控えめな枠線のみのボタン */
.journey-nav-rinia { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem 1rem; border: var(--journey-line); border-radius: 100px; text-transform: none; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.journey-nav-rinia:hover { background: var(--journey-cream); transform: translate(-3px, -3px); box-shadow: 3px 3px 0 var(--journey-ink); }
.journey-nav a.journey-nav-rinia::after { display: none; }
/* ロゴは文字と同じくらいの大きさに */
.journey-nav-rinia-mark { flex: none; width: 1.1em; height: 1.1em; }

.journey-home section { min-height: 0; padding: 0; border-bottom: var(--journey-line); }
.journey-home #hero { height: auto; min-height: 100svh; background: var(--journey-cream); border-bottom: var(--journey-line); }
.journey-home #about { background: var(--journey-cream); }
.journey-home #works { background: var(--journey-ink); }
.journey-home #story { color: var(--journey-cream); background: var(--journey-ink); transform-origin: 50% 0; }
.journey-home #contact { background: var(--journey-blue); }
.journey-home #faq { background: var(--journey-yellow); }
.journey-home #blog { background: var(--journey-cream); }
.journey-home #works::before, .journey-home #contact::before, .journey-home #blog::before { display: none; }
.journey-eyebrow { margin: 0 0 1rem; font-size: .78rem; font-weight: 900; letter-spacing: .14em; }
.journey-section { position: relative; padding: clamp(6rem, 11vw, 10rem) var(--journey-gutter) !important; }
.journey-section-index { position: absolute; top: 2rem; right: var(--journey-gutter); display: grid; place-items: center; width: 3rem; aspect-ratio: 1; border: var(--journey-line); border-radius: 50%; font-weight: 900; }
.journey-home h1, .journey-home h2, .journey-home h3 { font-family: "Archivo Black", "Noto Sans JP", sans-serif; }

.journey-hero {
    position: relative;
    min-height: 100svh !important;
    padding: clamp(8.5rem, 16vh, 11rem) var(--journey-gutter) 2rem !important;
    display: grid !important;
    grid-template-rows: 1fr auto;
    overflow: hidden;
}
.journey-hero-copy { position: relative; z-index: 3; }
.journey-hero h1 { margin: 0; font-size: clamp(3.2rem, 9.2vw, 8.6rem); letter-spacing: -.065em; line-height: .86; text-transform: uppercase; }
.journey-hero h1 span { display: block; }
.journey-hero h1 span:last-child { color: var(--journey-blue); }
.journey-hero-lead { margin: clamp(1.4rem, 3vw, 2.4rem) 0 0; font-size: clamp(1.05rem, 1.7vw, 1.45rem); font-weight: 700; line-height: 1.65; }
.journey-sun { position: absolute; top: 11%; right: calc(var(--journey-gutter) + 4%); width: clamp(7rem, 11vw, 10rem); aspect-ratio: 1; border: var(--journey-line); border-radius: 50%; background: var(--journey-yellow); }
.journey-hero-art { position: absolute; z-index: 2; right: calc(var(--journey-gutter) - 9rem); bottom: 5.5rem; width: min(56rem, 70vw); pointer-events: none; }
.journey-hero-art img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: contain; }
.journey-hero-bottom { position: relative; z-index: 4; display: flex; justify-content: space-between; align-items: end; padding-top: 2rem; border-top: 1px solid var(--journey-ink); font-size: .72rem; font-weight: 900; letter-spacing: .1em; }
.journey-hero-bottom p { margin: 0; }
.journey-hero-bottom a { display: flex; align-items: center; gap: 1rem; }
.journey-hero-bottom a span { display: grid; place-items: center; width: 2.4rem; aspect-ratio: 1; border: var(--journey-line); border-radius: 50%; }
.journey-hero-bottom a:hover span { color: var(--journey-cream); background: var(--journey-blue); transform: translateY(4px); }

@keyframes journey-enter-up { from { transform: translate3d(0, 1.5rem, 0); } to { transform: translate3d(0, 0, 0); } }
@keyframes journey-enter-down { from { transform: translate3d(0, -1.5rem, 0); } to { transform: translate3d(0, 0, 0); } }
@keyframes journey-enter-side { from { transform: translate3d(3rem, 0, 0); } to { transform: translate3d(0, 0, 0); } }
.journey-header { animation: journey-enter-down .65s backwards cubic-bezier(.22, 1, .36, 1); }
.journey-hero .journey-eyebrow { animation: journey-enter-up .65s .1s backwards cubic-bezier(.22, 1, .36, 1); }
.journey-hero h1 span:first-child { animation: journey-enter-up .8s .18s backwards cubic-bezier(.22, 1, .36, 1); }
.journey-hero h1 span:last-child { animation: journey-enter-up .8s .28s backwards cubic-bezier(.22, 1, .36, 1); }
.journey-hero-lead { animation: journey-enter-up .7s .38s backwards cubic-bezier(.22, 1, .36, 1); }
.journey-hero-art { animation: journey-enter-side .9s .2s backwards cubic-bezier(.22, 1, .36, 1); }
.journey-hero-bottom { animation: journey-enter-up .6s .48s backwards cubic-bezier(.22, 1, .36, 1); }

.journey-about { display: grid !important; grid-template-columns: minmax(15rem, .7fr) 1.4fr; gap: clamp(2.5rem, 5vw, 4rem) clamp(2.5rem, 6vw, 5rem); }
.journey-section-heading h2, .journey-works h2, .journey-story h2, .journey-blog h2, .journey-contact h2 { margin: 0; letter-spacing: -.065em; line-height: .86; text-transform: uppercase; }
.journey-section-heading h2 { font-size: clamp(2.4rem, 4.2vw, 3.6rem); line-height: 1.2; letter-spacing: -.02em; word-break: keep-all; overflow-wrap: normal; }
.journey-about-body { align-self: end; }
.journey-about-intro { margin: 0; font-size: clamp(1.15rem, 2vw, 1.55rem); font-weight: 700; line-height: 1.8; }
.journey-profile { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(16rem, .7fr) 1.3fr; gap: clamp(2rem, 5vw, 4.5rem); padding: clamp(1.25rem, 3vw, 2rem); border: var(--journey-line); background: #fffdf7; box-shadow: 10px 10px 0 var(--journey-yellow); }
.journey-profile-visual { min-height: 100%; margin: 0; overflow: hidden; border: var(--journey-line); background: var(--journey-ink); }
.journey-profile-visual img { display: block; width: 100%; height: 100%; min-height: 22rem; object-fit: cover; }
.journey-profile-content { align-self: center; }
.journey-profile-label { margin: 0 0 .75rem; color: var(--journey-blue); font-family: "Archivo Black"; font-size: .75rem; letter-spacing: .14em; }
.journey-profile-content h3 { display: flex; flex-direction: column; gap: .45rem; margin: 0 0 1.5rem; font-family: "Noto Sans JP", sans-serif !important; font-size: clamp(1.75rem, 3vw, 2.8rem); line-height: 1.25; }
.journey-profile-content h3 small { color: var(--journey-blue); font-family: "Archivo Black"; font-size: .72rem; letter-spacing: .13em; }
.journey-profile-copy { line-height: 1.9; }
.journey-profile-copy p { margin: 0 0 1rem; }
.journey-profile-skills { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.journey-profile-skills li { padding: .3rem .75rem; border: 1.5px solid var(--journey-ink); border-radius: 999px; background: var(--journey-cream); font-size: .8rem; font-weight: 700; }
.journey-profile-links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.journey-profile-links a { padding: .7rem 1rem; border: var(--journey-line); background: var(--journey-yellow); font-weight: 900; transition: transform .2s ease, box-shadow .2s ease; }
.journey-profile-links a:last-child { background: var(--journey-cream); }
.journey-profile-links a:hover { transform: translate(-3px, -3px); box-shadow: 4px 4px 0 var(--journey-ink); }
.journey-services { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); margin: 0; padding: 0; list-style: none; }
.journey-service { --service-accent: var(--journey-yellow); --service-icon-ink: var(--journey-ink); position: relative; display: flex; flex-direction: column; padding: clamp(1.5rem, 2.5vw, 2rem); border: var(--journey-line); background: #fffdf7; transition: transform .25s ease, box-shadow .25s ease; }
.journey-service.is-blue { --service-accent: var(--journey-blue); --service-icon-ink: var(--journey-cream); }
.journey-service.is-ink { --service-accent: var(--journey-ink); --service-icon-ink: var(--journey-yellow); }
.journey-service:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--service-accent); }
.journey-service-icon { display: grid; place-items: center; width: 4.25rem; aspect-ratio: 1; margin-bottom: 1.75rem; border: var(--journey-line); border-radius: 14px; background: var(--service-accent); color: var(--service-icon-ink); }
.journey-service-icon svg { width: 2rem; height: 2rem; }
.journey-service-num { position: absolute; top: 1.25rem; right: 1.5rem; color: transparent; font-family: "Archivo Black"; font-size: 3rem; line-height: 1; -webkit-text-stroke: 1.5px var(--journey-ink); opacity: .35; }
.journey-service h3 { display: flex; flex-direction: column; gap: .35rem; margin: 0 0 1rem; font-family: "Noto Sans JP", sans-serif !important; font-size: clamp(1.4rem, 2.1vw, 1.75rem); font-weight: 900; line-height: 1.35; }
.journey-service h3 small { color: var(--journey-blue); font-family: "Archivo Black"; font-size: .7rem; font-weight: 400; letter-spacing: .14em; }
.journey-service > p { margin: 0; font-size: 1rem; line-height: 1.9; }
.journey-service-prices { margin: 1.25rem 0 0; padding: 0; }
.journey-service-prices div { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; padding: .55rem 0; border-bottom: 1px dashed rgba(17, 17, 15, .35); }
.journey-service-prices dt { font-size: .85rem; font-weight: 700; }
.journey-service-prices dd { flex: none; margin: 0; font-family: "Noto Sans JP", sans-serif; font-size: 1rem; font-weight: 900; }
.journey-services-note { grid-column: 1 / -1; margin: 0; font-size: .8rem; line-height: 1.7; opacity: .75; }
.journey-service-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin: auto 0 0; padding: 1.5rem 0 0; list-style: none; }
.journey-service-tags li { padding: .2rem .75rem; border: 1.5px solid var(--journey-ink); border-radius: 999px; background: var(--journey-cream); font-size: .75rem; font-weight: 700; }

.journey-works { color: var(--journey-cream); background: var(--journey-ink); overflow: hidden; }
.journey-works.journey-section { padding-top: clamp(4.5rem, 7vh, 6rem) !important; padding-bottom: clamp(4.5rem, 7vh, 6rem) !important; }
.journey-works-sticky { position: relative; }
.journey-works .journey-section-index { border-color: var(--journey-cream); }
.journey-works-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: clamp(2.5rem, 5vh, 4.5rem); }
.journey-works h2 { font-size: clamp(4.5rem, 8vw, 8.5rem); }
.journey-blog h2 { font-size: clamp(2.4rem, 4.2vw, 3.6rem); line-height: 1.2; letter-spacing: -.02em; text-transform: none; }
.journey-works-head > p { margin: 0; padding-bottom: .8rem; font-weight: 700; }
.journey-work-viewport { width: 100%; overflow: visible; }
.journey-work-viewport::-webkit-scrollbar { height: 5px; }
.journey-work-viewport::-webkit-scrollbar-track { background: rgba(242, 237, 223, .18); }
.journey-work-viewport::-webkit-scrollbar-thumb { background: var(--journey-yellow); }
.journey-work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 4rem); }
.journey-work-card { display: block; min-width: 0; color: inherit; opacity: 1 !important; visibility: visible !important; }
.journey-work-visual { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 2px solid var(--journey-cream); background: var(--journey-yellow); color: var(--journey-ink); transition: box-shadow .3s ease, transform .3s ease; }
.journey-work-visual::after { content: "VIEW"; position: absolute; right: 1rem; bottom: 1rem; display: grid; place-items: center; width: 4rem; aspect-ratio: 1; border: 2px solid var(--journey-ink); border-radius: 50%; background: var(--journey-yellow); color: var(--journey-ink); font-family: "Archivo Black"; font-size: .66rem; opacity: 0; transform: scale(.7) rotate(-15deg); transition: opacity .25s ease, transform .3s ease; }
.journey-work-card:hover .journey-work-visual { transform: translate(-5px, -5px); box-shadow: 7px 7px 0 var(--journey-yellow); }
.journey-work-card:hover .journey-work-visual::after { opacity: 1; transform: scale(1) rotate(7deg); }
.journey-work-card:nth-child(3n + 2) .journey-work-visual { background: var(--journey-blue); }
.journey-work-card:nth-child(3n) .journey-work-visual { background: var(--journey-cream); }
.journey-work-visual img { width: 100%; height: 110%; object-fit: cover; filter: saturate(.86) contrast(1.04); transition: transform .45s ease; }
.journey-work-card:hover .journey-work-visual img { transform: scale(1.035); }
.journey-work-visual > span { position: absolute; inset: 0; display: grid; place-items: center; font-family: "Archivo Black"; font-size: clamp(3rem, 8vw, 8rem); transform: rotate(-6deg); }
.journey-work-info { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0 0; }
.journey-work-info h3 { margin: 0; font-size: 1rem; text-transform: uppercase; }
.journey-work-info p, .journey-work-summary { margin: 0; color: #c8c1b2; font-size: .8rem; }
.journey-work-summary { padding-top: .6rem; max-width: 46rem; line-height: 1.7; }
.journey-work-action { display: inline-flex; gap: .45rem; align-items: center; margin-top: .85rem; color: var(--journey-yellow); font-size: .85rem; font-weight: 900; }
.journey-work-card:hover .journey-work-action span { transform: translate(.2rem, -.2rem); }
.journey-works-note { display: flex; justify-content: space-between; align-items: center; gap: 2rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.5rem; border-top: 1px solid rgba(242, 237, 223, .4); }
.journey-works-note p { max-width: 44rem; margin: 0; color: #c8c1b2; line-height: 1.8; }
.journey-works-note a { flex: none; padding: .7rem 1rem; border: 2px solid var(--journey-cream); color: var(--journey-cream); font-weight: 900; transition: color .2s ease, background-color .2s ease; }
.journey-works-note a:hover { color: var(--journey-ink); background: var(--journey-yellow); }

.journey-story { overflow: hidden; }
.journey-story .journey-section-index { border-color: var(--journey-cream); }
.journey-story-head { margin-bottom: clamp(4rem, 7vw, 6rem); }
.journey-story h2 { max-width: 12em; font-size: clamp(2.4rem, 4.2vw, 3.6rem); line-height: 1.2; letter-spacing: -.02em; word-break: keep-all; overflow-wrap: normal; text-transform: none; }
.journey-story-route { position: relative; }
.journey-route-base { position: absolute; top: calc(2rem - 2px); right: 0; left: 0; height: 4px; background: rgba(242, 237, 223, .22); }
.journey-route-progress { display: block; width: 100%; height: 100%; background: var(--journey-yellow); transform: scaleX(0); transform-origin: left; }
.journey-story-route ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin: 0; padding: 0; list-style: none; }
.journey-story-route li { position: relative; padding-top: 5.5rem; }
.journey-route-dot { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 4rem; aspect-ratio: 1; border: 2px solid var(--journey-cream); border-radius: 50%; background: var(--journey-yellow); color: var(--journey-ink); transition: transform .25s ease, background-color .25s ease; }
.journey-route-dot svg { width: 1.7rem; height: 1.7rem; }
.journey-story-route li:hover .journey-route-dot { background: var(--journey-cream); transform: scale(1.1) rotate(-6deg); }
.journey-story-route li > p:first-of-type { margin: 0 0 .6rem; font-family: "Archivo Black"; font-size: .72rem; letter-spacing: .12em; }
.journey-story-route h3 { margin: 0 0 .9rem; font-family: "Noto Sans JP", sans-serif !important; font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 900; }
.journey-story-route li > p { color: #c8c1b2; }
.journey-story-route li > p:first-of-type { color: var(--journey-yellow); }
.journey-story-route li > p:last-child { max-width: 15rem; margin: 0; font-size: .9rem; }

.journey-contact { position: relative; padding: clamp(7rem, 11vw, 10rem) var(--journey-gutter) !important; overflow: hidden; color: var(--journey-cream); background: var(--journey-blue); }
.journey-contact-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(17rem, .85fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 5rem); width: 100%; margin: 0 auto; align-items: start; }
.journey-contact-lead { position: sticky; top: 7rem; text-align: left; }
.journey-contact h2 { margin-bottom: 2rem; font-size: clamp(2.2rem, 3.8vw, 3.4rem); line-height: 1.2; letter-spacing: -.02em; word-break: keep-all; overflow-wrap: normal; text-transform: none; }
.journey-contact-lead > p:last-of-type { max-width: 34rem; margin: 0; font-size: 1.05rem; line-height: 1.9; }
.journey-contact-points { margin: 3rem 0 0; padding: 0; border-top: 1px solid rgba(242, 237, 223, .65); list-style: none; }
.journey-contact-points li { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid rgba(242, 237, 223, .65); font-size: .92rem; font-weight: 700; }
.journey-contact-points span { color: var(--journey-yellow); font-family: "Archivo Black"; font-size: .72rem; }
.journey-contact-form { position: relative; padding: clamp(1.5rem, 4vw, 3rem); border: var(--journey-line); background: var(--journey-cream); color: var(--journey-ink); box-shadow: 10px 10px 0 var(--journey-ink); }
.journey-contact-form::before { content: ""; position: absolute; top: -.7rem; left: 50%; width: 7rem; height: 1.35rem; background: rgba(244, 196, 48, .9); transform: translateX(-50%) rotate(-2deg); }
.journey-form-heading { margin-bottom: 2.2rem; padding-bottom: 1.5rem; border-bottom: var(--journey-line); }
.journey-form-heading p { margin: 0 0 .45rem; color: var(--journey-blue); font-size: .72rem; font-weight: 900; letter-spacing: .16em; }
.journey-form-heading h3 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.5rem); line-height: 1.1; }
.journey-contact .form-group { margin-bottom: 1.5rem; }
.journey-contact label { display: block; margin-bottom: .55rem; padding: 0; color: var(--journey-ink); font-size: 1rem; font-weight: 700; }
.journey-contact label::before { display: none; }
.journey-contact .required { color: var(--journey-blue); }
.journey-contact .form-control { width: 100%; min-height: 3.5rem; padding: .85rem 1rem; border: 2px solid var(--journey-ink); border-radius: 0; background: #fffdf7; color: var(--journey-ink); font: inherit; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.journey-contact .form-control::placeholder { color: #777268; opacity: 1; }
.journey-contact .form-control:focus { outline: 0; border-color: var(--journey-yellow); box-shadow: 5px 5px 0 var(--journey-ink); transform: translate(-2px, -2px); }
.journey-contact textarea.form-control { min-height: 10rem; resize: vertical; }
.journey-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.journey-contact .btn { width: 100%; min-height: 4rem; border: var(--journey-line); border-radius: 999px; background: var(--journey-yellow); color: var(--journey-ink); font-family: "Archivo Black"; font-size: 1rem; cursor: pointer; }
.journey-contact .btn:hover { transform: translate(-3px, -3px); box-shadow: 4px 4px 0 var(--journey-ink); }
/* Contact Form 7 */
.journey-contact .wpcf7 p { margin: 0; }
.journey-contact .wpcf7 form > p { margin-bottom: 1.5rem; }
.journey-contact .wpcf7 label { margin-bottom: 0; }
.journey-contact .wpcf7 p > br, .journey-contact .wpcf7 label br { display: none; }
.journey-contact .wpcf7-form-control-wrap { display: block; margin-top: .55rem; }
.journey-contact .wpcf7 input:is([type="text"], [type="email"], [type="tel"], [type="url"]), .journey-contact .wpcf7 select, .journey-contact .wpcf7 textarea { width: 100%; min-height: 3.5rem; padding: .85rem 1rem; border: 2px solid var(--journey-ink); border-radius: 0; background: #fffdf7; color: var(--journey-ink); font: inherit; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.journey-contact .wpcf7 textarea { min-height: 10rem; resize: vertical; }
.journey-contact .wpcf7 :is(input, select, textarea):focus { outline: 0; border-color: var(--journey-yellow); box-shadow: 5px 5px 0 var(--journey-ink); transform: translate(-2px, -2px); }
.journey-contact .wpcf7-submit { width: 100%; min-height: 4rem; border: var(--journey-line); border-radius: 999px; background: var(--journey-yellow); color: var(--journey-ink); font-family: "Archivo Black"; font-size: 1rem; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.journey-contact .wpcf7-submit:hover { transform: translate(-3px, -3px); box-shadow: 4px 4px 0 var(--journey-ink); }
.journey-contact .wpcf7-spinner { display: block; margin: .75rem auto 0; }
.journey-contact .wpcf7-not-valid-tip { margin-top: .4rem; color: #b42318; font-size: .85rem; font-weight: 700; }
.journey-contact .wpcf7 form .wpcf7-response-output { margin: 1.25rem 0 0; padding: 1rem; border: var(--journey-line); font-weight: 700; }
.journey-contact .wpcf7 form.sent .wpcf7-response-output { background: var(--journey-yellow); }
.journey-contact .recaptcha-notice { margin: 1rem 0 0; color: #555; font-size: .72rem; line-height: 1.6; }
.journey-contact-alt { margin: 1.5rem 0 0; color: #555; font-size: .8rem; text-align: center; }
.journey-contact-alt a { text-decoration: underline; }
.journey-contact .field-error, .journey-contact .contact-error-banner { color: #b42318; font-weight: 700; }
.journey-contact .contact-success { padding: 2rem; border: var(--journey-line); background: var(--journey-yellow); text-align: center; }

.journey-faq { display: grid !important; grid-template-columns: minmax(15rem, .7fr) 1.4fr; gap: clamp(2.5rem, 6vw, 5rem); background: var(--journey-yellow); }
.journey-faq h2 { margin: 0; font-size: clamp(2.4rem, 4.2vw, 3.6rem); letter-spacing: -.02em; line-height: 1.2; word-break: keep-all; overflow-wrap: normal; }
.journey-faq-list { margin: 0; border-top: var(--journey-line); }
.journey-faq-list details { border-bottom: var(--journey-line); transition: background-color .25s ease; }
.journey-faq-list details:hover, .journey-faq-list details[open] { background: rgba(242, 237, 223, .58); }
.journey-faq-list summary { position: relative; display: flex; align-items: center; min-height: 5.5rem; padding: 1.4rem 4rem 1.4rem 3.4rem; list-style: none; cursor: pointer; font-size: clamp(1.08rem, 1.55vw, 1.3rem); font-weight: 900; line-height: 1.6; }
.journey-faq-list summary::-webkit-details-marker { display: none; }
.journey-faq-list summary::before { content: "Q."; position: absolute; left: .6rem; color: var(--journey-blue); font-family: "Archivo Black"; font-size: 1.15rem; }
.journey-faq-list summary::after { content: "+"; position: absolute; right: .7rem; display: grid; place-items: center; width: 2.4rem; aspect-ratio: 1; border: var(--journey-line); border-radius: 50%; background: var(--journey-cream); font-family: "Archivo Black"; font-size: 1.35rem; line-height: 1; transition: transform .3s ease, background-color .3s ease; }
.journey-faq-list details[open] summary::after { background: var(--journey-blue); color: var(--journey-cream); transform: rotate(45deg); }
.journey-faq-answer { overflow: hidden; }
.journey-faq-answer p { margin: 0; padding: 0 4rem 1.8rem 3.4rem; font-size: clamp(1rem, 1.25vw, 1.12rem); line-height: 2; }
@supports (interpolate-size: allow-keywords) {
    :root { interpolate-size: allow-keywords; }
    .journey-faq-list details::details-content { block-size: 0; overflow: hidden; opacity: 0; transition: block-size .35s ease, opacity .3s ease, content-visibility .35s allow-discrete; }
    .journey-faq-list details[open]::details-content { block-size: auto; opacity: 1; }
}

.journey-blog { background: var(--journey-cream); }
.journey-blog-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 3rem; }
.journey-blog-nav { display: flex; gap: .75rem; }
.journey-blog-arrow { display: grid; place-items: center; width: 3.25rem; aspect-ratio: 1; border: var(--journey-line); border-radius: 50%; background: var(--journey-cream); color: var(--journey-ink); font-size: 1.1rem; font-weight: 900; cursor: pointer; transition: background-color .2s ease, color .2s ease, opacity .2s ease; }
.journey-blog-arrow:hover { background: var(--journey-ink); color: var(--journey-cream); }
.journey-blog-arrow:disabled { opacity: .3; cursor: default; background: var(--journey-cream); color: var(--journey-ink); }
/* ホバーで浮くカードの上の線が横スクロールの枠で切れないよう、上に余白を取って同じだけ引き上げる */
.journey-blog-grid { display: flex; gap: clamp(1.25rem, 2.5vw, 2rem); margin-top: -.75rem; padding-top: .75rem; padding-bottom: 1.5rem; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--journey-ink) rgba(17, 17, 15, .12); }
.journey-blog-grid::-webkit-scrollbar { height: 4px; }
.journey-blog-grid::-webkit-scrollbar-track { background: rgba(17, 17, 15, .12); }
.journey-blog-grid::-webkit-scrollbar-thumb { background: var(--journey-ink); }
.journey-blog-card { flex: 0 0 clamp(16rem, 31%, 22rem); scroll-snap-align: start; }
.journey-blog-card a { display: block; height: 100%; }
/* サムネイル（1200×630）と同じ比率にして、中の文字やマークが切れないようにする */
.journey-blog-thumb { aspect-ratio: 1200 / 630; overflow: hidden; display: grid; place-items: center; border: var(--journey-line); border-radius: 12px; background: var(--journey-yellow); }
.journey-blog-card:nth-child(3n + 2) .journey-blog-thumb { background: var(--journey-blue); color: var(--journey-cream); }
.journey-blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.journey-blog-thumb span { font-family: "Archivo Black"; font-size: clamp(2rem, 4vw, 3rem); transform: rotate(-7deg); }
.journey-blog-card:hover .journey-blog-thumb { transform: translateY(-4px); }
.journey-blog-thumb { transition: transform .25s ease; }
.journey-blog-meta { padding: 1.1rem .1rem 0; }
.journey-blog-meta time, .journey-blog-meta b { font-size: .7rem; letter-spacing: .1em; }
.journey-blog-meta h3 { display: -webkit-box; margin: .5rem 0; overflow: hidden; font-family: "Noto Sans JP", sans-serif !important; font-size: 1.05rem; font-weight: 900; line-height: 1.6; -webkit-line-clamp: 3; -webkit-box-orient: vertical; transition: color .2s ease; }
.journey-blog-card:hover .journey-blog-meta h3 { color: var(--journey-blue); }
.journey-blog-meta p { display: -webkit-box; margin: 0 0 .8rem; overflow: hidden; color: #57544d; font-size: .84rem; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.journey-blog-meta b { color: var(--journey-blue); }
.journey-blog-empty { padding: 2rem; border: var(--journey-line); }
.journey-blog-more { margin: 2.5rem 0 0; text-align: right; }
.journey-blog-more a { display: inline-block; padding: .75rem 1.1rem; border: var(--journey-line); background: var(--journey-yellow); font-weight: 900; transition: transform .2s ease, box-shadow .2s ease; }
.journey-blog-more a:hover { transform: translate(-3px, -3px); box-shadow: 4px 4px 0 var(--journey-ink); }

.journey-footer { padding: clamp(4rem, 8vw, 7rem) var(--journey-gutter) 1.5rem; border-top: var(--journey-line); background: var(--journey-ink); color: var(--journey-cream); font-size: .82rem; }
.journey-footer p { margin: 0; }
.journey-footer-main { display: grid; grid-template-columns: minmax(18rem, 1.35fr) repeat(3, minmax(10rem, 1fr)); gap: clamp(2.5rem, 5vw, 6rem); padding-bottom: clamp(4rem, 7vw, 7rem); }
.journey-footer-brand { display: inline-block; margin-bottom: 1.5rem; font-family: "Archivo Black"; font-size: clamp(2rem, 4vw, 4.5rem); line-height: .9; }
.journey-footer-intro > p { max-width: 28rem; color: #c8c1b2; font-size: .95rem; line-height: 1.8; }
.journey-footer-contact { display: inline-flex; align-items: center; gap: .8rem; margin-top: 2rem; padding: .8rem 1.1rem; border: 2px solid var(--journey-yellow); color: var(--journey-ink); background: var(--journey-yellow); font-weight: 900; transition: transform .2s ease, box-shadow .2s ease; }
.journey-footer-contact:hover { transform: translate(-3px, -3px); box-shadow: 4px 4px 0 var(--journey-blue); }
.journey-footer-nav, .journey-footer-services, .journey-footer-info { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; }
.journey-footer-nav > p, .journey-footer-services > p, .journey-footer-info > p { margin-bottom: .65rem; color: var(--journey-yellow); font-family: "Archivo Black"; font-size: .7rem; letter-spacing: .12em; }
.journey-footer-nav a { border-bottom: 1px solid transparent; font-weight: 800; }
.journey-footer-nav a:hover, .journey-footer-social a:hover { color: var(--journey-yellow); border-bottom-color: currentColor; }
.journey-footer-services ul { margin: 0; padding: 0; color: #c8c1b2; list-style: none; line-height: 1.8; }
.journey-footer-info dl { margin: 0; }
.journey-footer-info dt { color: #888277; font-size: .65rem; font-weight: 900; letter-spacing: .12em; }
.journey-footer-info dd { margin: .15rem 0 .9rem; color: #c8c1b2; }
.journey-footer-social { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .4rem; font-weight: 900; }
.journey-footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid rgba(242, 237, 223, .3); font-size: .72rem; font-weight: 900; }

.journey-scroll-progress { position: fixed; top: 0; left: 0; z-index: 3000; width: 100%; height: 4px; background: var(--journey-yellow); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.journey-section-heading, .journey-works-head, .journey-story-head, .journey-faq-head { overflow: hidden; }

.journal-page { padding-top: clamp(8rem, 13vw, 11rem); }

@media (max-width: 900px) {
    .journey-brand { font-size: 1.2rem; }
    .journey-nav { gap: .8rem; font-size: .7rem; }
    /* 人物4人がすべて画面内に入るよう、右端を画面内に収めて左の風景側をはみ出させる */
    .journey-hero-art { right: 2vw; bottom: 6rem; width: 120vw; opacity: .9; }
    .journey-about { grid-template-columns: 1fr; }
    .journey-profile { grid-template-columns: minmax(14rem, .8fr) 1.2fr; }
    .journey-services { grid-template-columns: 1fr; }
    .journey-service-icon { width: 3.5rem; margin-bottom: 1.25rem; }
    .journey-story-route ol { grid-template-columns: repeat(2, 1fr); row-gap: 3.5rem; }
    .journey-route-base { display: none; }
    .journey-faq { grid-template-columns: 1fr; }
    .journey-works-head { display: block; }
    .journey-works-head > p { margin-top: 2rem; }
    .journey-blog-card { flex-basis: 42%; }
    .journey-contact-grid { grid-template-columns: 1fr; }
    .journey-contact-lead { position: static; max-width: 48rem; }
    .journey-footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
    .journey-header { height: 4.5rem; }
    .journey-brand { font-size: 1.05rem; }
    .journey-nav { gap: .7rem; }
    .journey-nav a:not(.journey-nav-contact):not(.journey-nav-rinia) { display: none; }
    .journey-nav-rinia { gap: .35rem; padding: .4rem .75rem .4rem .45rem; }
    .journey-nav-rinia-label { display: none; }
    .journey-hero { min-height: 48rem !important; padding-top: 8.5rem !important; }
    .journey-hero h1 { font-size: clamp(3.55rem, 17vw, 6rem); }
    .journey-sun { top: 17%; right: -1.5rem; }
    .journey-hero-art { right: 2vw; bottom: 7.5rem; width: 170vw; }
    .journey-hero-lead { display: inline-block; padding: .35rem .5rem; background: rgba(242, 237, 223, .88); }
    .journey-hero-bottom p { max-width: 10rem; }
    .journey-section-index { top: 1.5rem; }
    .journey-work-viewport { overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; scrollbar-color: var(--journey-yellow) rgba(242, 237, 223, .18); overscroll-behavior-inline: contain; }
    .journey-work-grid { display: flex; width: max-content; gap: 1.25rem; padding-bottom: 1rem; }
    .journey-work-card { flex: 0 0 min(82vw, 31rem); width: min(82vw, 31rem); }
    .journey-work-visual { aspect-ratio: 4 / 3; }
    .journey-work-info { display: block; }
    .journey-works-note { align-items: flex-start; flex-direction: column; }
    .journey-profile { grid-template-columns: 1fr; padding: 1rem; box-shadow: 6px 6px 0 var(--journey-yellow); }
    .journey-profile-visual img { min-height: 0; aspect-ratio: 1; }
    .journey-profile-content { padding: .5rem .25rem .25rem; }
    .journey-profile-copy { font-size: 1rem; }
    .journey-profile-skills li { font-size: .75rem; }
    .journey-profile-links { flex-direction: column; }
    .journey-profile-links a { text-align: center; }
    .journey-story h2 { font-size: clamp(2.7rem, 12vw, 3.2rem); }
    .journey-contact h2 { font-size: clamp(2.2rem, 10vw, 2.7rem); }
    .journey-route-base { display: block; top: 0; bottom: 0; left: calc(1.625rem - 2px); width: 4px; height: auto; }
    .journey-route-progress { transform: scaleY(0); transform-origin: top; }
    .journey-story-route ol { grid-template-columns: 1fr; gap: 3.5rem; }
    .journey-story-route li { padding: 0 0 0 4.75rem; }
    .journey-route-dot { width: 3.25rem; }
    .journey-route-dot svg { width: 1.4rem; height: 1.4rem; }
    .journey-contact-form { padding: 1.25rem; }
    .journey-faq-list summary { min-height: 5rem; padding: 1.2rem 3.3rem 1.2rem 2.8rem; }
    .journey-faq-list summary::before { left: .25rem; }
    .journey-faq-list summary::after { right: .25rem; width: 2.2rem; }
    .journey-faq-answer p { padding: 0 2.8rem 1.5rem; }
    .journey-form-row { grid-template-columns: 1fr; }
    .journey-blog-card { flex-basis: 80%; }
    .journey-blog-arrow { width: 2.75rem; }
    .journey-service-num { font-size: 2.4rem; }
    .journey-footer-main { grid-template-columns: 1fr; }
    .journey-footer-bottom { align-items: flex-start; flex-direction: column; }
}

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

/* フッターのプロフィール・プライバシーポリシーへのリンク */
.journey-footer-links { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin: 1.25rem 0 0; padding: 0; list-style: none; font-size: .8rem; }
.journey-footer-links a { text-decoration: underline; text-underline-offset: 3px; }
