:root {
  --accent: #e65757;
  --ink: #333;
  --muted-background: #f3f3f3;
  --content-width: 1160px;
  --section-space: 96px;
  --band-space: 72px;
  --gutter: 40px;
  --motion-fast: 180ms;
  --motion-menu: 320ms;
  --motion-ease: cubic-bezier(.22,1,.36,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "Noto Sans JP", sans-serif; font-weight: 400; font-size: 16px; line-height: 1.85; letter-spacing: .03em; }
img { max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; letter-spacing: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: 1; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { font-weight: 400; }
.container { width: min(var(--content-width), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.wide { --content-width: 1160px; }
.section-title { font-size: 26px; font-weight: 500; line-height: 1.45; letter-spacing: .05em; }
.section-title > span { color: var(--accent); font-size: 32px; }
.band { background: var(--muted-background); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Only the carousel viewport clips intentionally offscreen neighbouring slides. */
.hero { --slide-width: min(840px, 72vw); --slide-gap: clamp(24px, 3vw, 48px); }
.hero-window { position: relative; height: auto; aspect-ratio: auto; padding-top: min(569.34px, 48.8vw); overflow: clip; }
.hero-slide { position: absolute; top: 0; left: 50%; width: var(--slide-width); aspect-ratio: 90 / 61; }
.hero-slide-link { display: block; width: 100%; height: 100%; position: relative; text-decoration: none; color: inherit; }
.hero-slide img, .hero-slide-link > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-slide.current { transform: translateX(-50%); }
.hero-slide.previous { transform: translateX(calc(-150% - var(--slide-gap))); }
.hero-slide.next { transform: translateX(calc(50% + var(--slide-gap))); }
.hero-caption { position: absolute; top: 10.65%; left: 6.22%; width: 51.33%; height: auto; }
.hero-caption p { font-size: clamp(14px, 1.35vw, 26px); line-height: 1.5; margin-bottom: 18px; }
.hero-caption span { font-size: clamp(10px, .94vw, 18px); line-height: 1.7; letter-spacing: .08em; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 24px; }
.carousel-controls button { display: grid; place-items: center; width: 44px; min-height: 44px; padding: 0; border: 0; background: none; color: #111; }
.carousel-dots { display: flex; }
.carousel-dots button { width: 44px; }
.carousel-dots span { width: 8px; height: 8px; border-radius: 50%; background: #d9d9d9; }
.carousel-dots [aria-pressed="true"] span { background: var(--accent); }
.carousel-controls .carousel-playback { font-size: 12px; letter-spacing: .02em; border-left: 1px solid #ddd; margin-left: 4px; }
.carousel-controls [hidden] { display: none; }
.carousel-controls button { border-radius: 3px; }
.hero-window { touch-action: pan-y pinch-zoom; }
.hero-slide img { user-select: none; }
@media (hover: hover) and (pointer: fine) {
  .hero-slide-link:hover { opacity: .97; }
  .carousel-controls button:hover { background: #f5f3f1; color: var(--accent); }
  .ranking-filters button:hover { box-shadow: inset 0 0 0 1px #aaa; }
  .phone:hover { color: var(--accent); }
  .product-card-link:hover h3, .category-link:hover h3, .ranking-link:hover h3, .service-link:hover h2, .site-footer nav a:hover { color: var(--accent); }
  .price-buttons a:hover, .primary-button:hover { opacity: .9; }
}
@media (prefers-reduced-motion: no-preference) {
  .carousel-controls button, .ranking-filters button, .phone {
    transition: color var(--motion-fast), background-color var(--motion-fast), box-shadow var(--motion-fast);
  }
  .carousel-dots span { transition: background-color var(--motion-fast); }
  .carousel-controls button:active, .ranking-filters button:active { transform: translateY(1px); }
}
.news { display: grid; grid-template-columns: 240px minmax(0,1fr); gap: 48px; margin-top: 80px; }
.news ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; font-size: 15px; }
.news li { display: grid; grid-template-columns: 112px minmax(0,1fr); gap: 32px; line-height: 1.7; }
.story { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap: 56px; margin-top: var(--section-space); align-items: start; }
.story-images > img { width: 100%; aspect-ratio: 630 / 380; object-fit: cover; display: block; }
.story-images > div { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.story-images > div img { width: 100%; aspect-ratio: 294 / 247; object-fit: cover; display: block; }
.story-copy { max-width: 440px; }
.story-copy h1 { font-size: clamp(28px,2.2vw,32px); font-weight: 500; line-height: 1.6; letter-spacing: .05em; margin-bottom: 24px; }
.story-copy p { font-size: 16px; line-height: 1.9; }
.story-copy p + p { margin-top: 12px; }
.primary-button { display: block; width: min(100%, 376px); background: var(--accent); color: white; border: 0; border-radius: 4px; font-size: 16px; font-weight: 500; line-height: 1.5; padding: 16px; margin-top: 32px; letter-spacing: 0; text-align: center; }
.pickup { margin-block: var(--section-space); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 56px 40px; margin-top: 40px; }
.product-card-link { display: block; }
.product-card > img, .product-card-link > img { width: 100%; aspect-ratio: 340 / 220; object-fit: cover; display: block; margin-bottom: 16px; }
.product-card h3 { color: var(--accent); font-size: 17px; font-weight: 500; line-height: 1.5; margin-bottom: 8px; }
.product-lead { font-size: 21px; line-height: 1.6; margin-bottom: 12px; letter-spacing: .04em; min-height: 3.2em; }
.product-description { font-size: 16px; line-height: 1.85; }
.category { padding-block: var(--band-space); }
.category-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; margin-top: 40px; }
.category-link { display: block; }
.category-grid img { width: 100%; aspect-ratio: 540 / 338; object-fit: cover; display: block; }
.category-grid h3 { font-size: 21px; line-height: 1.6; margin: 16px 0 12px; }
.category-grid p { font-size: 16px; line-height: 1.85; }
.ranking { margin-top: var(--section-space); padding-block: var(--band-space); }
.ranking-heading { display: flex; gap: 64px; align-items: center; flex-wrap: wrap; }
.ranking-filters { display: flex; gap: 16px; }
.ranking-filters button { border: 0; padding: 10px 24px; border-radius: 30px; background: white; font-size: 15px; line-height: 24px; white-space: nowrap; }
.ranking-filters [aria-pressed="true"] { color: white; background: #333; }
.ranking-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 24px; padding: 0; margin: 40px 0 0; list-style: none; }
.ranking-card { min-width: 0; font-size: 14px; line-height: 1.8; display: flex; flex-direction: column; }
.ranking-card[hidden] { display: none; }
.ranking-link { display: flex; flex-direction: column; flex: 1; }
.ranking-photo { position: relative; background: #fff; }
.ranking-photo img { display: block; width: 100%; aspect-ratio: 210 / 205; object-fit: contain; }
.rank-number { position: absolute; top: 10px; left: 15px; color: var(--accent); font-size: 24px; font-weight: 500; }
.ranking-card > p, .ranking-link > p { margin: 16px 0; min-height: 3.6em; }
.ranking-price { border-block: 1px solid #ccc; padding: 8px 0; margin-top: auto; }
.ranking-price h3, .ranking-price p { font-size: 15px; line-height: 1.6; font-weight: 400; letter-spacing: .01em; }
.price-area { margin-top: var(--section-space); padding-block: var(--band-space); }
.price-area h2 { font-size: 26px; font-weight: 500; }
.price-buttons { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin-top: 32px; }
.price-buttons button, .price-buttons a { display: grid; place-items: center; text-align: center; background: #333; color: #fff; border: 0; border-radius: 50px; min-height: 60px; padding: 16px; font-size: 18px; font-weight: 500; line-height: 1.5; }
.services { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; margin-block: var(--section-space); text-align: center; }
.service-link { display: block; }
.service-circle { display: grid; place-items: center; background: var(--muted-background); border-radius: 50%; aspect-ratio: 1; width: min(240px,100%); margin-inline: auto; }
.service-circle img { width: 42%; height: auto; object-fit: contain; }
.services article:nth-child(2) img { width: 52%; }
.services article:nth-child(3) img { width: 34%; }
.services h2 { font-size: 20px; line-height: 1.6; margin: 24px 0 8px; letter-spacing: .04em; }
.services p { font-size: 16px; line-height: 1.85; letter-spacing: .03em; }
.site-footer { width: min(1280px,calc(100% - var(--gutter) * 2)); margin-inline: auto; border-top: 1px solid #e5e7eb; padding: 56px 0 32px; }
.footer-logo { display: block; width: 220px; height: auto; margin-bottom: 32px; }
.footer-columns { display: flex; justify-content: space-between; gap: 40px; }
.site-footer address, .site-footer nav button, .site-footer nav a { font-size: 14px; line-height: 1.8; font-style: normal; color: #374151; letter-spacing: .02em; }
.site-footer nav button, .site-footer nav a { display: block; border: 0; background: transparent; padding: 0; text-align: left; }
.footer-right { text-align: right; }
.footer-contact { display: flex; align-items: center; gap: 24px; }
.phone { display: flex; align-items: center; gap: 12px; font: 600 28px/1.4 Arial,sans-serif; letter-spacing: .02em; white-space: nowrap; }
.phone img { width: 42px; height: 28px; }
.footer-social { display: flex; gap: 4px; }
.footer-social button, .footer-social a { border: 0; background: none; padding: 0; width: 44px; height: 44px; display: grid; place-items: center; }
.footer-social img { width: 26px; height: 26px; }
.footer-right small { display: block; margin-top: 24px; color: #6b7280; font-size: 12px; letter-spacing: .01em; }

@media (max-width: 1199px) {
  :root { --gutter: 32px; --section-space: 80px; --band-space: 64px; }
  .story { gap: 40px; }
  .product-grid { column-gap: 32px; }
  .product-lead { font-size: 20px; }
  .footer-contact { flex-wrap: wrap; justify-content: flex-end; gap: 16px; }
}
@media (max-width: 999px) {
  .story { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 32px; }
  .story-copy h1 { font-size: 28px; }
  .news { grid-template-columns: 200px minmax(0,1fr); gap: 32px; }
  .news li { gap: 16px; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ranking-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px 24px; }
  .services { gap: 24px; }
  .services h2 { font-size: 18px; }
  .services p { font-size: 15px; }
}
@media (max-width: 799px) {
  .story { grid-template-columns: 1fr; gap: 32px; }
  .story-copy { max-width: none; }
  .story-copy > div { max-width: 60ch; }
  .footer-columns { flex-direction: column; gap: 32px; }
  .footer-right { text-align: left; }
  .footer-contact { justify-content: flex-start; }
}
@media (max-width: 699px) {
  :root { --gutter: 22px; --section-space: 64px; --band-space: 52px; }
  .section-title, .price-area h2 { font-size: 23px; }
  .section-title > span { font-size: 29px; }
  .hero { --slide-width: 90vw; --slide-gap: 16px; }
  .hero-window { padding-top: 61vw; }
  .hero-caption { width: 75%; }
  .hero-caption p { margin-bottom: 6px; }
  .carousel-controls { margin-top: 20px; }
  .news { display: block; margin-top: 56px; }
  .news ul { margin-top: 24px; gap: 16px; font-size: 14px; }
  .news li { grid-template-columns: 1fr; gap: 4px; }
  .news-date { color: #666; font-size: 13px; }
  .story-images > div { gap: 16px; margin-top: 16px; }
  .story-copy h1 { font-size: clamp(24px,6vw,28px); margin-bottom: 24px; }
  .primary-button { width: 100%; margin-top: 24px; }
  .product-grid { grid-template-columns: 1fr; gap: 48px; margin-top: 28px; }
  .product-card > img, .product-card-link > img { margin-bottom: 12px; }
  .product-lead { font-size: 20px; min-height: 0; }
  .category-grid { grid-template-columns: 1fr; gap: 40px; margin-top: 28px; }
  .category-grid h3 { font-size: 20px; margin-block: 12px 8px; }
  .ranking-heading { gap: 24px; }
  .ranking-filters { width: 100%; gap: 8px; }
  .ranking-filters button { font-size: 13px; padding: 10px; flex: 1; }
  .ranking-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px 16px; margin-top: 28px; }
  .rank-number { top: 4px; left: 8px; font-size: 22px; }
  .ranking-card > p, .ranking-link > p { margin-block: 12px; }
  .ranking-price h3, .ranking-price p { font-size: 15px; letter-spacing: 0; }
  .ranking-price p { white-space: nowrap; }
  .price-buttons { grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
  .price-buttons button, .price-buttons a { min-height: 56px; font-size: 17px; }
  .services { grid-template-columns: 1fr; gap: 48px; }
  .service-circle { width: 200px; }
  .services h2 { font-size: 20px; }
  .services p { font-size: 16px; }
  .site-footer { padding-block: 48px calc(88px + env(safe-area-inset-bottom, 0px)); }
  .footer-logo { width: 210px; margin-bottom: 24px; }
  .footer-contact { flex-direction: column; align-items: flex-start; gap: 16px; }
  .phone { font-size: 28px; }
  .footer-right small { font-size: 11px; line-height: 1.6; }
}
.mobile-bottom-nav,
.mobile-category-sheet { display: none; }
@media (max-width: 699px) {
  .mobile-bottom-nav {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 90;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid #d8d4ce;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    backdrop-filter: blur(8px);
  }
  .mobile-bottom-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 6px 4px;
    border: 0;
    border-right: 1px solid #ece8e2;
    background: transparent;
    color: #222;
    font: 500 12px/1.3 "Noto Sans JP", sans-serif;
    letter-spacing: 0.02em;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
  }
  .mobile-bottom-btn:last-child { border-right: 0; }
  .mobile-bottom-btn--filter {
    background: var(--accent, #e65757);
    color: #fff;
    font-weight: 700;
  }
  .mobile-category-sheet {
    display: block;
    position: fixed;
    inset: auto 0 0 0;
    width: 100%;
    max-width: 100%;
    max-height: 82vh;
    margin: 0;
    padding: 0 0 calc(64px + env(safe-area-inset-bottom, 0px));
    border: 0;
    border-radius: 16px 16px 0 0;
    background: #fff;
    color: #111;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.18);
    overflow-y: auto;
  }
  .mobile-category-sheet:not([open]) { display: none; }
  .mobile-category-sheet::backdrop {
    background: rgba(0, 0, 0, 0.48);
  }
  .mobile-sheet-header {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #fff;
    border-bottom: 1px solid #eee;
  }
  .mobile-sheet-header h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
  }
  .mobile-sheet-close {
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font-size: 13px;
    cursor: pointer;
  }
  .mobile-sheet-body {
    padding: 18px 20px 24px;
    display: grid;
    gap: 24px;
  }
  .mobile-sheet-group h3 {
    margin: 0 0 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #222;
    font-size: 14px;
    font-weight: 700;
  }
  .mobile-sheet-tags,
  .mobile-sheet-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .mobile-sheet-tags a,
  .mobile-sheet-links a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid #e2ddd7;
    border-radius: 6px;
    background: #faf9f7;
    color: #222;
    font-size: 13px;
    line-height: 1.35;
    text-decoration: none;
  }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
