/* ============================================================
   RESTPLACE — Main Stylesheet
   ============================================================ */

/* 1. Variables & Tokens
   2. Reset
   3. Base
   4. Layout
   5. Navigation
   6. Hero
   7. Sections (shared)
   8. Business
   9. Product
   10. About
   11. Message
   12. FAQ
   13. Contact
   14. Footer
   15. Buttons
   16. Animations
   17. Responsive
   ============================================================ */

/* ---- 1. Variables ---- */
:root {
    --clr-dark:        #0F0F0F;
    --clr-dark-2:      #1A1A1A;
    --clr-dark-3:      #2A2A2A;
    --clr-bg:          #FFFFFF;
    --clr-bg-alt:      #F5F3F0;
    --clr-text:        #1A1A1A;
    --clr-text-mid:    #555555;
    --clr-text-muted:  #999999;
    --clr-text-light:  #F0EDE8;
    --clr-accent:      #5B7F5E;
    --clr-accent-lt:   #EBF2EC;
    --clr-line:        #00B900;
    --clr-amazon:      #FF9900;
    --clr-border:      #E8E4DF;
    --clr-white:       #FFFFFF;

    --ff-en: 'Helvetica Neue', HelveticaNeue, Helvetica, Arial, sans-serif;
    --ff-ja: 'Noto Sans JP', sans-serif;

    --section-py: clamp(80px, 10vw, 140px);
    --container-max: 1140px;
    --container-px: clamp(24px, 5vw, 60px);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --shadow-sm: 0 2px 12px rgba(0,0,0,.07);
    --shadow-md: 0 8px 32px rgba(0,0,0,.10);
    --shadow-lg: 0 20px 60px rgba(0,0,0,.12);

    --trans: .3s ease;
    --trans-slow: .6s ease;
}

/* ---- 2. Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; background: none; border: none; font: inherit; }
input, textarea, select { font: inherit; }

/* ---- 3. Base ---- */
body {
    font-family: var(--ff-ja);
    font-size: 16px;
    line-height: 1.8;
    color: var(--clr-text);
    background: var(--clr-bg);
    overflow-x: hidden;
}

/* ---- 4. Layout ---- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
}

/* ---- 5. Navigation ---- */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: background var(--trans), box-shadow var(--trans);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--clr-border);
}

.nav { padding: 0 var(--container-px) 0 6px; }
.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.nav-logo {
    display: flex;
    align-items: center;
    transition: opacity var(--trans);
}

.nav-logo:hover { opacity: .75; }

.nav-logo-img {
    width: clamp(130px, 16vw, 200px);
    height: auto;
    display: block;
}

.nav-logo-tagline {
    display: none;
    font-family: 'Noto Serif JP', serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: .2em;
    color: var(--clr-text-mid);
    margin-left: 10px;
    white-space: nowrap;
}

.header.scrolled .nav-logo { opacity: 1; }

.nav-menu {
    position: fixed;
    top: 0;
    right: var(--container-px);
    height: 80px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1001;
}

.nav-link {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .04em;
    color: var(--clr-text-mid);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: color var(--trans), background var(--trans);
}

.nav-link:hover { color: var(--clr-dark); background: rgba(0,0,0,.06); }

.header.scrolled ~ .nav-menu .nav-link { color: var(--clr-text-mid); }
.header.scrolled ~ .nav-menu .nav-link:hover { color: var(--clr-dark); background: var(--clr-bg-alt); }

.nav-cta {
    color: var(--clr-white) !important;
    background: var(--clr-accent);
    padding: 8px 18px;
    border-radius: 100px;
    font-weight: 500;
}

.nav-cta:hover { background: #4a6e4d !important; color: var(--clr-white) !important; }
.header.scrolled ~ .nav-menu .nav-cta { color: var(--clr-white) !important; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
    overflow: hidden;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--clr-dark); /* 画像が明るいので常にダーク */
    border-radius: 2px;
    transition: transform var(--trans), opacity var(--trans), background var(--trans);
}

.header.scrolled .nav-toggle span { background: var(--clr-dark); }

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); border-radius: 0; }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); border-radius: 0; }

/* ---- 6. Hero ---- */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #e8e4df; /* fallback while image loads */
}

/* 画像背景 */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img,
.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* 右半分に白いグラデーションを重ねてテキストを読みやすくする */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(to right, rgba(0,0,0,0.32) 0%, transparent 38%),
        linear-gradient(to right, transparent 0%, transparent 40%, rgba(255,255,255,0.70) 54%, rgba(255,255,255,0.90) 66%, rgba(255,255,255,0.96) 100%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 120px var(--container-px) 100px;
    max-width: calc(var(--container-max) + var(--container-px) * 2);
    margin: 0 auto;
    display: flex;
    justify-content: flex-end; /* コンテンツを右寄せ */
}

.hero-content {
    max-width: 460px;
    width: 44%;
}

.hero-eyebrow {
    font-family: var(--ff-en);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .3em;
    color: var(--clr-accent);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-divider {
    width: 40px;
    height: 2px;
    background: var(--clr-accent);
    margin-bottom: 28px;
    border-radius: 2px;
}

.hero-text {
    font-size: clamp(14px, 1.6vw, 16px);
    line-height: 2;
    color: var(--clr-text);
    margin-bottom: 20px;
    font-weight: 400;
}

.hero-sub {
    font-size: 13px;
    line-height: 1.9;
    color: var(--clr-text-mid);
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

/* 背景が明るいのでゴーストボタンをダーク調に */
.hero .btn-ghost {
    color: var(--clr-text-mid);
    border-color: rgba(0, 0, 0, .22);
}

.hero .btn-ghost:hover {
    background: rgba(0, 0, 0, .05);
    border-color: var(--clr-accent);
    color: var(--clr-dark);
}

/* キャッチコピー + ロゴ */
.hero-catchphrase-wrap {
    position: absolute;
    left: var(--container-px);
    top: 38%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    pointer-events: none;
}

.hero-logo {
    height: clamp(140px, 16vw, 240px);
    width: auto;
    align-self: center;
    opacity: 0;
    animation: catchphraseIn .65s cubic-bezier(.25, .46, .45, .94) forwards calc(7 * 120ms + 600ms + 200ms);
    transition: opacity .7s ease;
}

.hero-catchphrase {
    font-family: 'Noto Serif JP', '游明朝', YuMincho, 'HiraMinProN-W3', serif;
    font-size: clamp(26px, 3.6vw, 52px);
    font-weight: 400;
    color: #64564A;
    letter-spacing: .2em;
    line-height: 1;
    white-space: nowrap;
}

.hero-catchphrase span {
    display: inline-block;
    opacity: 0;
    animation: catchphraseIn .65s cubic-bezier(.25, .46, .45, .94) forwards;
    animation-delay: calc(var(--i) * 120ms + 600ms);
}

@keyframes catchphraseIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    right: var(--container-px); /* 右端に移動 */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 3;
}

.hero-scroll-indicator span {
    font-family: var(--ff-en);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .25em;
    color: rgba(0, 0, 0, .28);
    writing-mode: vertical-rl;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(0,0,0,.22), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: .4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(.7); }
}

/* ---- 7. Sections (shared) ---- */
.section {
    padding: var(--section-py) 0;
    background: var(--clr-bg);
}

.section-alt { background: var(--clr-bg-alt); }

.section-dark {
    background: var(--clr-dark);
}


.section-header {
    margin-bottom: 64px;
}

.section-label {
    font-family: var(--ff-ja);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .1em;
    color: var(--clr-accent);
    text-transform: none;
    margin-bottom: 10px;
}

.section-label--light { color: rgba(91,127,94,.85); }

.section-title {
    font-family: var(--ff-en);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: .05em;
    color: var(--clr-dark);
    text-transform: uppercase;
}

.section-title--light { color: var(--clr-white); }

.section-desc {
    margin-top: 16px;
    font-size: 16px;
    color: var(--clr-text-mid);
    line-height: 1.8;
}

/* ---- 8. Business ---- */
.business-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.lead-text {
    font-size: 18px;
    line-height: 1.9;
    color: var(--clr-text);
    font-weight: 400;
    margin-bottom: 24px;
}

.body-text {
    font-size: 15px;
    line-height: 1.9;
    color: var(--clr-text-mid);
}

.values-label {
    font-family: var(--ff-en);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .25em;
    color: var(--clr-accent);
    text-transform: uppercase;
    margin-bottom: 32px;
}

.value-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.value-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--clr-border);
}

.value-item:last-child { border-bottom: none; padding-bottom: 0; }

.value-num {
    font-family: var(--ff-en);
    font-size: 12px;
    font-weight: 600;
    color: var(--clr-accent);
    letter-spacing: .1em;
    min-width: 28px;
    margin-top: 2px;
}

.value-body h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--clr-dark);
    margin-bottom: 6px;
    line-height: 1.4;
}

.value-body p {
    font-size: 14px;
    color: var(--clr-text-mid);
    line-height: 1.8;
}

/* ---- 9. Product ---- */
.product-card {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 80px;
    align-items: center;
    background: var(--clr-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.product-visual {
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
}

.product-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    display: block;
}

.product-info {
    padding: 48px 56px 48px 0;
}

.product-label {
    font-family: var(--ff-en);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .3em;
    color: var(--clr-accent);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.product-name {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    color: var(--clr-dark);
    line-height: 1.3;
    margin-bottom: 24px;
}

.product-desc {
    font-size: 15px;
    line-height: 2;
    color: var(--clr-text-mid);
    margin-bottom: 40px;
}

.product-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

.product-buy-row { display: flex; flex-direction: row; align-items: center; gap: 32px; }

.amazon-logo { height: 22px; width: auto; display: block; position: relative; top: 5px; }

.product-note {
    font-size: 13px;
    color: var(--clr-text-muted);
}

/* ---- 10. About ---- */
.table-wrap {
    max-width: 720px;
}

.company-table {
    width: 100%;
    border-collapse: collapse;
}

.company-table tr {
    border-bottom: 1px solid var(--clr-border);
}

.company-table tr:first-child {
    border-top: 1px solid var(--clr-border);
}

.company-table th {
    width: 160px;
    padding: 28px 0;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: var(--clr-dark);
    vertical-align: top;
    white-space: nowrap;
}

.company-table td {
    padding: 28px 0 28px 32px;
    font-size: 15px;
    color: var(--clr-text-mid);
    line-height: 1.8;
}

/* ---- 11. Message ---- */
.message-wrap {
    max-width: 720px;
    position: relative;
    z-index: 1;
}

.message-quote-mark {
    font-family: var(--ff-en);
    font-size: 120px;
    font-weight: 700;
    line-height: .6;
    color: var(--clr-accent);
    opacity: .25;
    margin-bottom: 24px;
    user-select: none;
}

.message-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 48px;
}

.message-body p {
    font-size: clamp(15px, 2vw, 18px);
    line-height: 2;
    color: rgba(255, 255, 255, .82);
}

.message-sig {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.sig-role {
    font-size: 13px;
    color: rgba(255, 255, 255, .45);
    letter-spacing: .08em;
}

.sig-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--clr-white);
    letter-spacing: .05em;
}

/* ---- 12. FAQ ---- */
.faq-list {
    max-width: 760px;
}

.faq-item {
    border-bottom: 1px solid var(--clr-border);
}

.faq-item:first-child {
    border-top: 1px solid var(--clr-border);
}

.faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 24px 0;
    text-align: left;
    font-size: 15px;
    font-weight: 500;
    color: var(--clr-dark);
    line-height: 1.6;
    transition: color var(--trans);
}

.faq-q:hover { color: var(--clr-accent); }

.faq-q[aria-expanded="true"] { color: var(--clr-accent); }

.faq-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid var(--clr-border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background var(--trans), border-color var(--trans), transform var(--trans);
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: var(--clr-text-mid);
    border-radius: 1px;
    transition: transform var(--trans), opacity var(--trans), background var(--trans);
}

.faq-icon::before { width: 10px; height: 1.5px; }
.faq-icon::after  { width: 1.5px; height: 10px; }

.faq-q[aria-expanded="true"] .faq-icon {
    background: var(--clr-accent);
    border-color: var(--clr-accent);
    transform: rotate(45deg);
}

.faq-q[aria-expanded="true"] .faq-icon::before,
.faq-q[aria-expanded="true"] .faq-icon::after { background: var(--clr-white); }

.faq-a {
    overflow: hidden;
    max-height: 0;
    transition: max-height .4s ease, padding .3s ease;
}

.faq-a.open {
    max-height: 400px;
}

.faq-a p {
    padding: 0 0 24px 0;
    font-size: 15px;
    line-height: 1.9;
    color: var(--clr-text-mid);
}

/* ---- 13. Contact ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 48px;
    align-items: start;
}

.contact-line-card,
.contact-form-card {
    background: var(--clr-bg-alt);
    border-radius: var(--radius-md);
    padding: 40px;
}

.line-icon-wrap {
    margin-bottom: 20px;
}

.contact-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--clr-dark);
    margin-bottom: 12px;
}

.contact-card-desc {
    font-size: 14px;
    line-height: 1.9;
    color: var(--clr-text-mid);
    margin-bottom: 28px;
}

.contact-form-card {
    background: var(--clr-bg-alt);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--clr-dark);
    letter-spacing: .02em;
}

.required {
    color: #e05555;
    margin-left: 2px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--clr-bg);
    border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--clr-dark);
    transition: border-color var(--trans), box-shadow var(--trans);
    outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder { color: #C0BBB5; }

.form-input:focus,
.form-textarea:focus {
    border-color: var(--clr-accent);
    box-shadow: 0 0 0 3px rgba(91,127,94,.12);
}

.form-textarea { resize: vertical; min-height: 120px; }

/* ---- 14. Footer ---- */
.footer {
    background: var(--clr-bg-alt);
    border-top: 1px solid var(--clr-border);
}

.footer-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-px);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
    padding: 56px 0 40px;
    border-bottom: 1px solid var(--clr-border);
}

.footer-logo {
    display: flex;
    align-items: center;
    transition: opacity var(--trans);
}

.footer-logo:hover { opacity: .65; }

.footer-logo-img {
    width: clamp(120px, 14vw, 180px);
    height: auto;
    display: block;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.footer-nav a {
    font-size: 13px;
    padding: 6px 12px;
    color: var(--clr-text-mid);
    border-radius: var(--radius-sm);
    transition: color var(--trans), background var(--trans);
}

.footer-nav a:hover {
    color: var(--clr-dark);
    background: rgba(0,0,0,.05);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 24px 0;
}

.footer-copy {
    font-size: 12px;
    color: var(--clr-text-muted);
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-legal a {
    font-size: 12px;
    color: var(--clr-text-muted);
    transition: color var(--trans);
}

.footer-legal a:hover { color: var(--clr-dark); }

.footer-sep {
    color: var(--clr-border);
    font-size: 12px;
}

/* ---- 15. Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .03em;
    transition: background var(--trans), color var(--trans), box-shadow var(--trans), transform var(--trans);
    white-space: nowrap;
    cursor: pointer;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: var(--clr-accent);
    color: var(--clr-white);
}

.btn-primary:hover {
    background: #4a6e4d;
    box-shadow: 0 8px 24px rgba(91,127,94,.35);
}

.btn-ghost {
    color: rgba(255,255,255,.8);
    border: 1.5px solid rgba(255,255,255,.25);
}

.btn-ghost:hover {
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.5);
    color: var(--clr-white);
}

.btn-amazon {
    background: var(--clr-amazon);
    color: var(--clr-dark);
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 100px;
}

.btn-amazon:hover {
    background: #e68900;
    box-shadow: 0 8px 24px rgba(255,153,0,.35);
}

.btn-line {
    background: var(--clr-line);
    color: var(--clr-white);
    font-weight: 500;
    display: block;
    text-align: center;
    padding: 14px 28px;
    border-radius: 100px;
}

.btn-line:hover {
    background: #00a000;
    box-shadow: 0 8px 24px rgba(0,185,0,.3);
    color: var(--clr-white);
}

.btn--full { width: 100%; }

/* ---- 16. Animations ---- */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s ease, transform .65s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: .1s; }
.fade-up:nth-child(3) { transition-delay: .2s; }
.fade-up:nth-child(4) { transition-delay: .3s; }
.fade-up:nth-child(5) { transition-delay: .4s; }

/* ---- 17. Responsive ---- */
@media (max-width: 1024px) {
    .business-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }

    .product-card {
        grid-template-columns: 1fr;
    }

    .product-visual {
        aspect-ratio: 1 / 1;
    }

    .product-info {
        padding: 40px;
    }

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        inset: 0;
        height: 100dvh;
        background: rgba(15,15,15,.1);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        padding: 80px 40px 40px;
        transform: translateX(100%);
        transition: transform .4s cubic-bezier(.4,0,.2,1);
        pointer-events: none;
    }

    .nav-menu.open {
        transform: translateX(0);
        pointer-events: auto;
    }

    .nav-menu li { width: 100%; }

    .nav-link {
        display: block;
        font-size: 22px;
        font-weight: 500;
        color: rgba(255,255,255,.7);
        padding: 14px 0;
        border-radius: 0;
        border-bottom: 1px solid rgba(255,255,255,.06);
    }

    .nav-link:hover {
        color: var(--clr-white);
        background: none;
    }

    .nav-cta {
        background: none !important;
        border-radius: 0 !important;
        padding: 14px 0 !important;
    }

    .nav-toggle {
        display: flex;
        position: fixed;
        top: 20px;
        right: var(--container-px);
        z-index: 1002;
    }
    .nav-logo-tagline { display: inline; }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .company-table th {
        width: 100px;
        font-size: 13px;
    }

    .company-table td {
        padding-left: 16px;
        font-size: 14px;
    }

    /* モバイル: 画像→コンテンツの縦積みレイアウト */
    .hero {
        min-height: auto;
        display: block;
    }

    .hero-bg {
        position: relative;
        height: 55vh;
        max-height: 420px;
        min-height: 260px;
    }

    .hero-overlay {
        bottom: auto;
        height: 55vh;
        max-height: 420px;
        min-height: 260px;
        background: linear-gradient(
            to bottom,
            transparent 40%,
            rgba(255, 255, 255, 0.65) 78%,
            rgba(255, 255, 255, 1) 100%
        );
    }

    .hero-inner {
        position: relative;
        background: #fff;
        padding: 48px var(--container-px) 64px;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
    }

    .hero-scroll-indicator { display: none; }
    .hero-catchphrase-wrap { display: none; }
}

@media (max-width: 480px) {

    .product-visual { aspect-ratio: 1 / 1; }
    .product-info { padding: 32px 24px; }

    .contact-line-card,
    .contact-form-card { padding: 28px 24px; }

    .company-table {
        display: block;
    }

    .company-table tr {
        display: block;
        padding: 20px 0;
    }

    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
        padding: 0;
    }

    .company-table th {
        margin-bottom: 6px;
    }

    .company-table td {
        color: var(--clr-text);
        padding-left: 0;
    }
}

/* Legal pages */
.legal-page {
    padding: 120px var(--container-px) 100px;
    max-width: calc(var(--container-max) + var(--container-px) * 2);
    margin: 0 auto;
}

.legal-page .legal-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--clr-accent);
    margin-bottom: 48px;
    transition: gap var(--trans);
}

.legal-page .legal-back:hover { gap: 12px; }

.legal-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    color: var(--clr-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.legal-updated {
    font-size: 13px;
    color: var(--clr-text-muted);
    margin-bottom: 56px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--clr-border);
}

.legal-body {
    max-width: 720px;
}

.legal-body p {
    font-size: 15px;
    line-height: 2;
    color: var(--clr-text-mid);
    margin-bottom: 24px;
}

.legal-body h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--clr-dark);
    margin: 48px 0 16px;
    padding-left: 16px;
    border-left: 3px solid var(--clr-accent);
}

.legal-body ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 24px;
}

.legal-body ul li {
    font-size: 15px;
    line-height: 2;
    color: var(--clr-text-mid);
    margin-bottom: 4px;
}
