/* Theme aligned with public/new_assets/css/main.css (navbar, footer, accents) */

:root {
  --color-text: #232323;
  --color-muted: #666;
  --color-nav: #212121;
  --color-accent: #4caf50;
  --color-accent-hover: #45a049;
  --color-cta: #0dc1c1;
  --color-footer-bg: #21252b;
  --color-footer-bar: #282d33;
  --color-footer-text: #ccc;
  --color-border: #ddd;
  --header-h: 70px;
  --max-w: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: var(--header-h);
  padding-bottom: 0;
  font-family: "Open Sans", system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text);
  letter-spacing: 0.03em;
  overflow-x: hidden;
}

a {
  color: var(--color-nav);
  text-decoration: none;
}

a:hover {
  color: var(--color-accent);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-cta);
  outline-offset: 2px;
}

h1 {
  font-size: 1.65rem;
  font-weight: 700;
  margin: 0 0 1rem;
  line-height: 1.35;
}

h2 {
  font-size: 1.25rem;
  font-weight: 400;
  margin: 0 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--color-border);
  color: #333;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 1.25rem 0 0.75rem;
}

/* ----- Header (navbar-inverse style) ----- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 3px solid var(--color-accent);
  box-shadow: 0 1px 15px rgba(0, 0, 0, 0.12);
}

.site-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  min-height: var(--header-h);
  padding: 0.35rem 0;
}

.site-nav > a:first-child {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.site-nav img {
  max-width: 220px;
  height: auto;
  vertical-align: middle;
}

.site-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem 1.25rem;
}

.site-nav li a {
  display: inline-block;
  padding: 0.35rem 0;
  color: var(--color-nav);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.site-nav li a:hover,
.site-nav li a[aria-current="page"] {
  color: var(--color-accent);
}

@media (max-width: 720px) {
  .site-nav {
    flex-direction: column;
    align-items: stretch;
  }
  .site-nav ul {
    justify-content: flex-start;
  }
}

/* ----- Main ----- */
main,
.page-main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.5rem 1rem 2.5rem;
}

main > section:first-child {
  margin-top: 0;
}

section {
  margin: 2rem 0;
}

main p {
  margin: 0 0 1rem;
}

main ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

/* ----- Footer ----- */
.site-footer {
  margin-top: 0;
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  border-top: 1px solid #2e343a;
}

.site-footer a {
  color: var(--color-footer-text);
}

.site-footer a:hover {
  color: var(--color-accent);
}

.site-footer__main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 1rem 2rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
}

.site-footer__lead {
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  margin: 0 0 0.75rem;
}

.site-footer__text {
  font-weight: 300;
  font-size: 13px;
  line-height: 1.7;
  color: #eee;
  margin: 0 0 1rem;
}

.site-footer__tel {
  font-size: 13px;
  margin: 0;
  color: #eee;
}

.site-footer__nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__nav li {
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
}

.site-footer__nav li a {
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.site-footer__nav li a::before {
  content: "›";
  color: var(--color-accent);
  font-weight: 700;
}

.site-footer__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  padding: 1.25rem 1rem;
  background: var(--color-footer-bar);
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  font-weight: 300;
  text-align: center;
}

/* ----- Forms ----- */
.form-static-notice {
  margin: 1rem 0;
  padding: 0.75rem;
  border: 1px solid #333;
  max-width: 32rem;
  background: #fffef5;
}

form label {
  display: block;
  margin-top: 0.75rem;
  font-weight: 600;
  font-size: 13px;
}

form input,
form textarea {
  width: 100%;
  max-width: 36rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--color-border);
  border-radius: 2px;
  font: inherit;
}

form button[type="submit"] {
  margin-top: 1rem;
  padding: 0.65rem 1.75rem;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: #fff;
  background: var(--color-cta);
  border: 1px solid #09b1b9;
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

form button[type="submit"]:hover {
  filter: brightness(1.05);
}

/* ----- Tables ----- */
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

th,
td {
  border: 1px solid var(--color-border);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

th {
  background: #f7f7f7;
  font-weight: 600;
  white-space: nowrap;
}

/* ----- Map ----- */
.map-figure {
  margin: 1rem auto;
  max-width: 600px;
  text-align: center;
}

.map-figure img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: 1px solid var(--color-border);
}

.map-figure figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* ----- Contact page ----- */
.contact-page main {
  padding-bottom: 3rem;
}

.contact-section {
  margin: 2rem 0 2.5rem;
}

.contact-section__head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.contact-section__title {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0 auto 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-accent);
  max-width: 28rem;
  color: #222;
}

.contact-section__lead {
  margin: 0 auto;
  max-width: 36rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-muted);
}

.contact-notice {
  margin: 0 auto 1.25rem;
  padding: 0.85rem 1rem;
  max-width: 40rem;
  font-size: 0.875rem;
  line-height: 1.5;
  background: #fff8e6;
  border: 1px solid #e6d5a8;
  border-left: 4px solid #c9a227;
  border-radius: 6px;
  color: #5c4a1a;
}

.contact-form-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 1.75rem 1.5rem 1.5rem;
  background: #fff;
  border: 1px solid #e3ebe4;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.contact-form .form-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 0;
}

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

@media (min-width: 560px) {
  .contact-form .form-row--2 {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

.contact-form .form-field {
  margin-bottom: 1.1rem;
}

.contact-form .form-field:last-of-type {
  margin-bottom: 0;
}

.contact-form label {
  display: block;
  margin: 0 0 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #333;
}

.contact-form .req {
  color: #c62828;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  max-width: none;
  padding: 0.65rem 0.85rem;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  font: inherit;
  font-size: 0.9375rem;
  background: #fafafa;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:hover,
.contact-form textarea:hover {
  border-color: #b0b0b0;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

.contact-form textarea {
  resize: vertical;
  min-height: 9rem;
  line-height: 1.6;
}

.contact-form .form-actions {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #eee;
  text-align: center;
}

.contact-form .contact-submit {
  min-width: 200px;
  margin-top: 0;
  padding: 0.75rem 2.5rem;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(180deg, #0dcfcf 0%, #0bb8c4 100%);
  border: 1px solid #09a8b5;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(13, 192, 193, 0.35);
  transition: filter 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.contact-form .contact-submit:hover {
  filter: brightness(1.06);
  box-shadow: 0 4px 14px rgba(13, 192, 193, 0.45);
}

.contact-form .contact-submit:active {
  transform: translateY(1px);
}

.contact-info-card {
  max-width: 640px;
  margin: 2.5rem auto 0;
  padding: 1.5rem 1.5rem 1.65rem;
  background: linear-gradient(180deg, #f8faf8 0%, #f0f4f1 100%);
  border: 1px solid #e3ebe4;
  border-radius: 10px;
}

.contact-info-card h2 {
  margin: 0 0 0.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 1.1rem;
}

.contact-info-card__name {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: #333;
}

.contact-info-card__address {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  font-style: normal;
  color: #444;
}

.contact-info-card__meta {
  margin: 0;
  padding: 0;
}

.contact-info-card__meta > div {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.5rem 1rem;
  padding: 0.65rem 0;
  border-top: 1px solid #e0e8e2;
  font-size: 0.875rem;
  align-items: baseline;
}

.contact-info-card__meta > div:first-of-type {
  border-top: none;
  padding-top: 0;
}

.contact-info-card__meta dt {
  margin: 0;
  font-weight: 600;
  color: #555;
}

.contact-info-card__meta dd {
  margin: 0;
  color: #333;
}

.contact-info-card__meta a {
  color: var(--color-cta);
  font-weight: 600;
}

.contact-info-card__meta a:hover {
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  .contact-form .contact-submit:active {
    transform: none;
  }
}

/* ----- Home: slider ----- */
.slider {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto 1rem;
}

.slider .slide {
  display: none;
}

.slider .slide.active {
  display: block;
}

.slider img {
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.slider-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.5rem 0.25rem;
  flex-wrap: wrap;
}

.slider-prev,
.slider-next {
  flex-shrink: 0;
  min-width: 44px;
  min-height: 44px;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  border: 1px solid var(--color-border);
  background: #fff;
  border-radius: 4px;
  color: #333;
}

.slider-prev:hover,
.slider-next:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.slider-thumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.slider-thumb {
  display: block;
  padding: 0;
  margin: 0;
  width: 88px;
  height: 56px;
  cursor: pointer;
  border: 3px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  background: #eee;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  opacity: 0.75;
}

.slider-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: middle;
}

.slider-thumb:hover {
  opacity: 1;
  border-color: #b5dfb8;
}

.slider-thumb.is-active {
  opacity: 1;
  border-color: var(--color-accent);
  box-shadow: 0 2px 10px rgba(76, 175, 80, 0.45);
}

@media (max-width: 480px) {
  .slider-thumb {
    width: 72px;
    height: 46px;
  }
}

/* ----- Home: business ----- */
.section-business .business-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 0;
}

.section-business {
  padding: 1.5rem;
  background: #eee;
  border-radius: 2px;
}

.section-business .business-grid div {
  border: 1px solid var(--color-border);
  padding: 0.85rem;
  text-align: center;
  background: #fff;
}

.section-business .business-grid p {
  margin: 0;
  font-weight: 600;
  font-size: 14px;
}

/* ----- Home: 取り扱い商品 ----- */
.products-section {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding: 2.25rem 1.5rem 2.5rem;
  background: linear-gradient(180deg, #f8faf8 0%, #f0f4f1 100%);
  border: 1px solid #e3ebe4;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.products-section > h2.products-title {
  text-align: center;
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 auto 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-accent);
  max-width: 22rem;
}

.products-lead {
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-muted);
  margin: 0 0 1.5rem;
  font-weight: 400;
}

.products .categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.75rem;
}

.category-chip {
  cursor: pointer;
  padding: 0.65rem 1.15rem;
  font-size: 0.875rem;
  font-family: inherit;
  font-weight: 500;
  color: #333;
  background: #fff;
  border: 2px solid #e0e8e2;
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease,
    color 0.2s ease, transform 0.15s ease;
}

.category-chip:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}

.category-chip.is-active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(76, 175, 80, 0.35);
}

.category-chip.is-active:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 400px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  text-align: center;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 0;
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.2s ease, transform 0.2s ease;
}

/* JS toggles hidden; author display:flex must not override [hidden] */
.product-grid .product-card[hidden] {
  display: none !important;
}

.product-card:hover {
  border-color: #c8e6c9;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.product-card__media {
  aspect-ratio: 1;
  background: linear-gradient(145deg, #fafafa 0%, #f0f0f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.product-card__media img {
  max-width: 78%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}

.product-card__name {
  margin: 0;
  padding: 0.85rem 0.65rem 1rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  font-weight: 600;
  color: #333;
  border-top: 1px solid #f0f0f0;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
}

.products-actions {
  text-align: center;
  margin-top: 2rem;
}

.btn-show-all {
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  border: none;
  background: var(--color-accent);
  color: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(76, 175, 80, 0.35);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-show-all:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 4px 14px rgba(76, 175, 80, 0.45);
  transform: scale(1.02);
}

.btn-show-all:active {
  transform: scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
  .product-card:hover,
  .btn-show-all:hover,
  .btn-show-all:active {
    transform: none;
  }
}

.cta {
  margin: 2rem 0;
  padding: 2rem 1.5rem;
  text-align: center;
  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("../assets/img/asahi/home/sushi-bg.jpg") center / cover no-repeat scroll;
  color: #fff;
  border-radius: 2px;
}

@media (min-width: 900px) {
  .cta {
    background-attachment: fixed;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta {
    background-attachment: scroll;
  }
}

.cta h2 {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.35);
}

.cta p {
  margin: 0.5rem 0;
}

.cta a {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.65rem 1.5rem;
  background: var(--color-accent);
  color: #fff !important;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.03em;
  border-radius: 2px;
}

.cta a:hover {
  background: var(--color-accent-hover);
  color: #fff !important;
}

.intro {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
  padding-top: 0.5rem;
}

@media (min-width: 600px) {
  .intro {
    grid-template-columns: 1fr 2fr;
    align-items: start;
  }
}

.intro a {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: var(--color-accent);
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  border-radius: 2px;
}

.intro a:hover {
  background: var(--color-accent-hover);
  color: #fff !important;
}

/* ----- About ----- */
.hero-about {
  background: #2d2d2d;
  color: #fff;
  padding: 2.5rem 1rem;
  text-align: center;
  margin: -1.5rem -1rem 1.5rem;
  max-width: none;
}

.hero-about h1 {
  color: #fff;
  border: none;
  margin-bottom: 1rem;
}

.hero-about p {
  margin: 0 auto;
  max-width: 52rem;
  font-weight: 300;
  line-height: 1.9;
}

.breadcrumb {
  display: block;
  margin: 0 auto 1rem;
  padding: 0.65rem 1rem;
  max-width: var(--max-w);
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.breadcrumb a {
  color: var(--color-cta);
  font-weight: 600;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-sep {
  margin: 0 0.4rem;
  color: #bbb;
  font-weight: 400;
}

.breadcrumb-current {
  color: #555;
  font-weight: 600;
}

.about-photo {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 1.5rem;
}

.company-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.company-cards section {
  border: 1px solid var(--color-border);
  padding: 0.85rem;
  background: #fafafa;
}

.company-cards h3 {
  margin-top: 0;
  font-size: 14px;
}

.company-cards a {
  color: var(--color-cta);
  word-break: break-all;
}

/* ----- Act ----- */
.act-hero {
  min-height: 200px;
  background-size: cover;
  background-position: center;
  background-image: url("../assets/img/asahi/home/title_new3.png");
  margin: -1.5rem -1rem 1.5rem;
  border-radius: 0;
}

.act-page main h1 {
  margin-bottom: 1.5rem;
}

.privacy-page main h1 {
  margin-bottom: 1rem;
}
