:root {
  --blue: #258bc3;
  --blue-dark: #146691;
  --ink: #263541;
  --muted: #6c7982;
  --paper: #ffffff;
  --mist: #f1f5f7;
  --line: #d9e2e7;
  --accent: #b7d85a;
  --shadow: 0 18px 50px rgba(29, 61, 80, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; line-height: 1.8; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 100; background: #fff; padding: 10px 16px; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(217,226,231,.9); backdrop-filter: blur(12px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 145px; height: auto; }
.brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.nav-list { list-style: none; display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; }
.nav-list a, .nav-button { display: block; padding: 10px 13px; border-radius: 999px; color: #38505f; font-size: 14px; border: 0; background: transparent; cursor: pointer; }
.nav-list a:hover, .nav-list a[aria-current="page"], .nav-button:hover { color: #fff; background: var(--blue); }
.nav-group { position: relative; }
.subnav { position: absolute; top: calc(100% + 8px); left: 0; width: 190px; padding: 10px; margin: 0; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 15px; box-shadow: var(--shadow); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: .2s ease; }
.nav-group:hover .subnav, .nav-group:focus-within .subnav, .nav-group.is-open .subnav { opacity: 1; transform: translateY(0); pointer-events: auto; }
.subnav a { border-radius: 8px; }
.menu-toggle { display: none; border: 0; width: 44px; height: 44px; border-radius: 10px; background: var(--accent); color: #29433f; font-size: 23px; }

.hero { position: relative; min-height: 600px; overflow: hidden; background: #e7eef1; }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .65s ease; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,36,51,.68) 0%, rgba(9,36,51,.15) 58%, rgba(9,36,51,.08)); }
.hero-copy { position: relative; z-index: 2; min-height: 600px; display: grid; align-content: center; max-width: 630px; color: #fff; }
.eyebrow { margin: 0 0 14px; color: var(--blue-dark); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; }
.hero .eyebrow { color: #d7f2ff; }
.hero h1 { margin: 0; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(40px, 6vw, 74px); line-height: 1.18; letter-spacing: .03em; }
.hero p { max-width: 560px; margin: 24px 0 30px; font-size: 18px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 10px 22px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; transition: .2s ease; }
.button:hover { background: var(--blue-dark); transform: translateY(-2px); }
.button.light { background: #fff; color: var(--blue-dark); }
.button.outline { background: transparent; border: 1px solid var(--blue); color: var(--blue-dark); }
.hero-controls { position: absolute; z-index: 3; right: max(20px, calc((100vw - 1120px)/2)); bottom: 30px; display: flex; gap: 8px; }
.hero-controls button { width: 43px; height: 43px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; color: #fff; background: rgba(0,0,0,.18); cursor: pointer; }

.section { padding: 88px 0; }
.section.soft { background: var(--mist); }
.section-heading { max-width: 700px; margin-bottom: 40px; }
.section-heading h2, .page-intro h1 { margin: 0; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(32px, 5vw, 52px); line-height: 1.35; font-weight: 500; }
.section-heading p { margin: 14px 0 0; color: var(--muted); }
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.brand-card { position: relative; min-height: 350px; overflow: hidden; border-radius: 22px; color: #fff; box-shadow: var(--shadow); }
.brand-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.brand-card:hover img { transform: scale(1.04); }
.brand-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(9,31,44,.83), transparent 62%); }
.brand-card div { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; }
.brand-card h3 { margin: 0; font-size: 27px; }
.brand-card p { margin: 2px 0 0; color: #d9edf7; }
.feature { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.feature-media { border-radius: 22px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.feature-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.feature h2 { font-family: "Yu Mincho", serif; font-size: clamp(32px, 4.6vw, 50px); line-height: 1.3; margin: 0 0 18px; font-weight: 500; }
.feature p { color: var(--muted); }
.notice { display: grid; grid-template-columns: 140px 1fr; gap: 34px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.notice time { color: var(--blue-dark); font-weight: 700; }
.facebook-section { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(320px, 1.2fr); gap: 64px; align-items: start; }
.facebook-copy { position: sticky; top: 118px; }
.facebook-copy h2 { margin: 0; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: clamp(32px, 5vw, 52px); line-height: 1.35; font-weight: 500; }
.facebook-copy p:not(.eyebrow) { margin: 18px 0 26px; color: var(--muted); }
.facebook-feed-wrap { width: min(100%, 500px); min-width: 0; margin-left: auto; }
.facebook-plugin-frame { width: 100%; min-height: 680px; overflow: hidden; border-radius: 14px; background: var(--mist); box-shadow: var(--shadow); }
.facebook-plugin-frame .fb-page, .facebook-plugin-frame .fb-page > span, .facebook-plugin-frame iframe { max-width: 100% !important; }
.facebook-fallback { margin: 0; padding: 14px 18px; color: var(--muted); background: #fff; font-size: 13px; }
.facebook-fallback a { color: var(--blue-dark); text-decoration: underline; }

.page-hero { background: var(--blue); color: #fff; padding: 76px 0; }
.page-hero .eyebrow { color: #d8f1fb; }
.page-hero h1 { margin: 0; font-family: "Yu Mincho", serif; font-size: clamp(38px, 6vw, 64px); line-height: 1.2; font-weight: 500; }
.page-hero p { max-width: 720px; margin: 18px 0 0; font-size: 17px; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 54px; align-items: start; }
.prose h2 { margin: 40px 0 14px; font-family: "Yu Mincho", serif; font-size: 30px; font-weight: 500; color: var(--blue-dark); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 6px; font-size: 20px; }
.prose p { margin: 0 0 18px; color: #4e5f69; }
.side-image { position: sticky; top: 110px; overflow: hidden; border-radius: 20px; box-shadow: var(--shadow); }
.side-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.collection-logo { width: min(100%, 420px); max-height: 110px; object-fit: contain; object-position: left center; margin-bottom: 34px; }
.image-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item { display: block; min-height: 230px; padding: 0; overflow: hidden; border: 0; border-radius: 18px; background: #fff; box-shadow: var(--shadow); cursor: zoom-in; }
.gallery-item-wide { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .45s ease; }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item:focus-visible { outline: 4px solid var(--accent); outline-offset: 4px; }
.service-gallery .gallery-item img { aspect-ratio: 4/3; object-fit: contain; padding: 10px; }
.lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; gap: 18px; padding: 70px 28px 28px; background: rgba(5, 17, 24, .92); backdrop-filter: blur(12px); }
.lightbox[hidden] { display: none; }
.lightbox figure { display: grid; grid-template-rows: minmax(0, 1fr) auto; align-items: center; justify-items: center; min-width: 0; max-height: calc(100vh - 98px); margin: 0; }
.lightbox-image { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; border-radius: 10px; box-shadow: 0 24px 80px rgba(0,0,0,.45); }
.lightbox-caption { margin-top: 14px; color: #fff; text-align: center; }
.lightbox-close, .lightbox-nav { border: 1px solid rgba(255,255,255,.45); color: #fff; background: rgba(255,255,255,.1); cursor: pointer; transition: background .2s ease; }
.lightbox-close:hover, .lightbox-nav:hover { background: var(--blue); }
.lightbox-close { position: absolute; top: 18px; right: 22px; width: 46px; height: 46px; border-radius: 50%; font-size: 30px; line-height: 1; }
.lightbox-nav { width: 58px; height: 58px; border-radius: 50%; font-size: 24px; }
body.lightbox-open { overflow: hidden; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service-card { padding: 28px; background: var(--mist); border-radius: 18px; border-top: 4px solid var(--blue); }
.service-card h2 { margin: 0 0 10px; font-size: 23px; color: var(--blue-dark); }
.service-card p { margin: 0; color: var(--muted); }
.store-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.store-card { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(29,61,80,.07); }
.store-body { padding: 26px 30px 30px; }
.store-image { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.store-card h2 { margin: 0 0 8px; font-size: 25px; color: var(--blue-dark); }
.store-card p { margin: 5px 0; color: var(--muted); }
.store-card .tel { display: inline-block; margin-top: 14px; color: var(--blue-dark); font-size: 20px; font-weight: 700; }

.site-footer { background: #1c759f; color: #eaf7fc; }
.footer-main { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 52px; padding: 62px 0 46px; }
.footer-main h2, .footer-main h3 { margin: 0 0 18px; color: #fff; }
.footer-main h2 { font-size: 24px; }
.footer-main h3 { font-size: 16px; letter-spacing: .08em; }
.footer-main p { margin: 0 0 12px; font-size: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li + li { margin-top: 8px; }
.footer-links a:hover { text-decoration: underline; }
.copyright { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.18); font-size: 12px; }

@media (max-width: 850px) {
  .header-inner { min-height: 70px; }
  .brand img { width: 126px; }
  .menu-toggle { display: block; }
  .site-nav { position: fixed; top: 70px; left: 0; right: 0; max-height: 0; overflow: hidden; background: #fff; transition: max-height .3s ease; }
  .site-nav.is-open { max-height: calc(100vh - 70px); overflow-y: auto; border-bottom: 1px solid var(--line); }
  .nav-list { display: block; padding: 14px 20px 26px; }
  .nav-list a, .nav-button { width: 100%; text-align: left; padding: 12px; }
  .subnav { position: static; display: none; width: auto; margin-left: 12px; box-shadow: none; opacity: 1; transform: none; pointer-events: auto; border: 0; }
  .nav-group.is-open .subnav { display: block; }
  .hero, .hero-copy { min-height: 520px; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .image-gallery { grid-template-columns: repeat(2, 1fr); }
  .feature, .content-grid { grid-template-columns: 1fr; }
  .facebook-section { grid-template-columns: 1fr; gap: 34px; }
  .facebook-copy { position: static; }
  .facebook-feed-wrap { margin-left: 0; }
  .side-image { position: static; order: -1; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1120px); }
  .section { padding: 62px 0; }
  .hero, .hero-copy { min-height: 500px; }
  .hero h1 { font-size: 42px; }
  .brand-grid, .service-grid, .store-grid, .footer-main { grid-template-columns: 1fr; }
  .image-gallery { grid-template-columns: 1fr; }
  .gallery-item-wide { grid-column: auto; }
  .lightbox { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 8px; padding: 70px 8px 18px; }
  .lightbox-nav { width: 42px; height: 42px; }
  .brand-card { min-height: 300px; }
  .footer-main > div:first-child { grid-column: auto; }
  .notice { grid-template-columns: 1fr; gap: 5px; }
}

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