/* SUITS PARTNER: static site styles.
   Sizes and colours are measured from the former WordPress (SWELL) site so the look stays the same. */
:root {
  --ink: #333;
  --ink-soft: #666;
  --bg: #fdfdfd;
  --band: #f7f7f7;
  --accent: #0c2949;
  --line: rgba(150, 150, 150, 0.2);
  --menu-line: rgba(199, 199, 199, 0.5);
  --header: #333;
  --white: #fff;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:hover { opacity: 0.8; }
.content p a:not(.line-button), .content li a { color: #1176d4; }
:focus-visible { outline: 2px solid #1176d4; outline-offset: 2px; }
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100; padding: 8px 16px;
  background: var(--white); color: var(--ink); border: 1px solid var(--ink); text-decoration: none; font-size: 14px;
}
.skip-link:focus { top: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header); color: #eaeaea;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}
.site-header__inner {
  height: 80px; padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between;
  transition: height 0.25s;
}
.is-scrolled .site-header--overlay .site-header__inner { height: 64px; }
.site-header__logo img { width: 244px; height: auto; transition: width 0.25s; }
.is-scrolled .site-header--overlay .site-header__logo img { width: 200px; }
.site-nav { display: flex; align-self: stretch; align-items: center; }
.site-nav a {
  display: flex; align-items: center; height: 72px; padding: 0 12px;
  color: #eaeaea; text-decoration: none; font-size: 14px; letter-spacing: 0.02em;
}
.is-scrolled .site-header--overlay .site-nav a { height: 56px; }
.site-nav a[aria-current="page"] { background: rgba(250, 250, 250, 0.16); }
.site-header__toggle { display: none; }

/* Home: the header sits on the hero, then turns dark on scroll. */
.site-header--overlay { position: fixed; left: 0; right: 0; background: transparent; box-shadow: none; color: var(--white); }
.site-header--overlay .site-nav a { color: var(--white); }
.is-scrolled .site-header--overlay { background: var(--header); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12); }

/* ---------- Title band and breadcrumb (inner pages) ---------- */
.title-band {
  position: relative; height: calc(17.34vw + 338px);
  background: var(--band) center / cover no-repeat;
  display: flex; align-items: center;
}
.title-band__inner { width: 100%; max-width: 1296px; margin: 0 auto; padding: 0 48px; }
.title-band h1 { margin: 0; font-size: 24px; line-height: 1.4; font-weight: 700; color: var(--ink); }
.breadcrumb__inner {
  max-width: 1296px; margin: 0 auto; padding: 12px 48px 8px;
  font-size: 11px; line-height: 1.6; color: var(--ink);
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px;
}
.breadcrumb a { text-decoration: none; display: inline-flex; align-items: center; gap: 3px; }
.breadcrumb svg { width: 10px; height: 10px; }
.breadcrumb .sep { font-size: 10px; }

/* ---------- Content ---------- */
.content { max-width: 900px; margin: 52px auto 0; padding: 0 16px 80px; font-size: 16px; line-height: 1.8; }
.content > :first-child { margin-top: 0; }
.content p { margin: 0 0 2em; }
.content h2 { font-size: 1.4em; line-height: 1.4; margin: 0 0 2em; }
.content h3 { font-size: 1.3em; line-height: 1.4; margin: 4em 0 2em; }
.content h2.wp-block-heading:first-child, .content h3.wp-block-heading:first-child { margin-top: 0; }
.has-text-align-center { text-align: center; }
.content h3.wp-block-heading { position: relative; padding: 0 0.5em 0.5em; }
.content h3.wp-block-heading::before {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--accent) 0 29.3%, var(--line) 29.3% 100%);
}
.wp-block-separator { border: 0; height: 1px; background: var(--ink); width: 100px; margin: 2.5em auto; }
.wp-block-separator.is-style-wide { width: 100%; }
.wp-block-image { margin: 0 0 2em; }
.wp-block-image img { margin: 0 auto; }
.wp-block-video { margin: 0 0 2em; }
.wp-block-video video { width: 100%; }
.wp-block-list { padding-left: 1.5em; margin: 0 0 2em; }
.wp-block-list li { line-height: 1.5; margin-bottom: 4px; }
.u-mb-10 { margin-bottom: 1em !important; }
.u-mb-40 { margin-bottom: 4em !important; }
.u-mb-60 { margin-bottom: 6em !important; }
.post-thumb { margin: 0 0 2em; }
.post-thumb img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.post-terms { display: flex; gap: 12px; align-items: center; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 11px; }
.post-terms .cat { background: var(--ink); color: var(--white); padding: 2px 6px; }
.post-terms .tag::before { content: "#"; margin-right: 2px; }

/* Media + text (manual page) */
.wp-block-media-text { display: grid; grid-template-columns: 50% 1fr; align-items: center; margin-bottom: 2em; }
.wp-block-media-text__media { margin: 0; }
.wp-block-media-text__media img { width: 100%; }
.wp-block-media-text__content { padding: 0 8%; }
.wp-block-media-text__content p:last-child { margin-bottom: 0; }

/* SWELL tab block (manual page) */
.c-tabList { display: flex; list-style: none; margin: 0; padding: 0; }
.c-tabList__item { width: 25%; margin: 0; }
.c-tabList__button {
  width: 100%; padding: 10.5px 7px; border: 0; background: transparent;
  font: inherit; font-size: 14px; line-height: 1; color: var(--ink); opacity: 0.75; cursor: pointer;
}
.c-tabList__button[aria-selected="true"] { background: var(--ink); color: var(--bg); opacity: 1; }
.c-tabBody { border: 1px solid var(--ink); padding: 32px; }
.c-tabBody .wp-block-list { margin: 0; }
.c-tabBody__item[aria-hidden="true"] { display: none; }

/* Post list card (new products page) */
.p-postList { list-style: none; padding: 0; margin: 0 0 48px; }
.p-postList__link { display: block; text-decoration: none; color: inherit; }
.c-postThumb__figure { margin: 0; }
.c-postThumb__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 4px 4px -4px rgba(0, 0, 0, 0.1); }
.p-postList__body { padding-top: 16px; }
.content .p-postList__title { font-size: 16px; line-height: 1.5; margin: 0 0 6px; padding: 0; }
.content .p-postList__title::before { display: none; }
.p-postList__excerpt { font-size: 13px; line-height: 1.5; }
.p-postList__meta { font-size: 11px; margin-top: 8px; opacity: 0.8; }
.c-postTimes__posted::before { content: "◷"; margin-right: 3px; }
.is-style-more_btn { text-align: center; margin: 0 0 2em; }
.is-style-more_btn a {
  position: relative; display: inline-block; width: 64%; padding: 12px 43.2px;
  border: 1px solid #ddd; background: var(--white); color: var(--ink-soft); text-decoration: none;
  font-size: 14.4px; line-height: 1.8; letter-spacing: 0.06em;
}
.is-style-more_btn a::after { content: "→"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 12px; }

/* Line button (MORE / CONTACT) */
.line-button {
  display: inline-flex; align-items: center; justify-content: center; position: relative;
  width: 240px; height: 52px; border: 1px solid var(--ink); background: var(--white); color: var(--ink);
  text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: 0.2em;
}
.line-button::after { content: ""; position: absolute; right: -20px; top: 50%; width: 76px; height: 1px; background: var(--ink); }
.line-button::before { content: ""; position: absolute; right: -20px; top: 50%; width: 8px; height: 1px; background: var(--ink); transform-origin: right center; transform: rotate(30deg); }

/* Contact form */
.contact-form label { display: block; font-size: 1em; }
.contact-form input, .contact-form textarea {
  width: 100%; margin-top: 2px; padding: 4px 8px; border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 0;
  font: inherit; font-size: 16px; line-height: 1.8; color: var(--ink); background: #f7f7f7;
}
.contact-form textarea { resize: vertical; }
.contact-form p { margin-bottom: 1em; }
.contact-form__submit { text-align: center; margin-top: 2em; }
.contact-form button {
  min-width: 200px; padding: 10px 32px; border: 0; background: var(--ink); color: var(--white);
  font: inherit; font-weight: 700; letter-spacing: 0.2em; cursor: pointer;
}
.contact-form button[disabled] { opacity: 0.5; cursor: wait; }
.contact-form__status { text-align: center; font-size: 14px; min-height: 1.8em; }
.contact-form__status.is-error { color: #b3261e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Home ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; background: #222; color: var(--white); }
.hero__slides, .hero__slide, .hero__slide img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__slide { opacity: 0; transition: opacity 1.6s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.25); }
.hero__text { position: absolute; z-index: 1; left: 0; right: 0; top: 50%; transform: translateY(-50%); max-width: 1296px; margin: 0 auto; padding: 0 48px; }
.hero__text p { margin: 0; font-size: 20px; line-height: 1.9; letter-spacing: 0.04em; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35); }
.hero__scroll {
  position: absolute; z-index: 1; left: 50%; bottom: 20px; transform: translateX(-50%);
  color: var(--white); text-decoration: none; font-size: 11px; letter-spacing: 0.1em; padding-top: 18px;
}
.hero__scroll::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 10px; height: 10px; margin-left: -5px;
  border-right: 1px solid var(--white); border-bottom: 1px solid var(--white); transform: rotate(45deg);
}

.content--home { max-width: 900px; margin-top: 96px; padding: 0 0 40px; }
.home-section { margin-bottom: 120px; scroll-margin-top: 80px; }
.section-title {
  position: relative; font-size: 20px; line-height: 1.6; margin: 0 0 64px; padding: 0 0 10px 16px;
}
.section-title::before { content: "—"; margin-right: 16px; font-weight: 400; }
.section-title::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--ink) 0 40%, var(--line) 40% 100%);
}
.post-card { display: grid; grid-template-columns: 324px 1fr; gap: 36px; align-items: start; text-decoration: none; color: inherit; }
.post-card img { width: 100%; aspect-ratio: 324 / 200; object-fit: cover; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 4px 4px -4px rgba(0, 0, 0, 0.1); }
.post-card h3 { font-size: 16px; line-height: 1.5; margin: 0 0 8px; }
.post-card p {
  font-size: 14px; line-height: 1.5; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.about { display: grid; grid-template-columns: 1fr 460px; gap: 20px; align-items: center; }
.about__text p { margin: 0 0 32px; line-height: 1.8; }
.about__text .line-button { margin-left: 20px; }
.about__image { display: block; width: 460px; }
.about__image img { width: 100%; aspect-ratio: 460 / 259; object-fit: cover; }
.home-section--store { display: flex; justify-content: center; }
.store-tile img { width: 300px; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 40px; padding: 40px 0 0; }
.site-footer__inner {
  max-width: 1296px; margin: 0 auto; padding: 0 48px;
  display: grid; grid-template-columns: repeat(3, 1fr); align-items: start;
}
.site-footer__inner > div { padding: 16px; }
.site-footer__heading { position: relative; margin: 0 0 8px; padding: 0 0 8px 6px; font-weight: 700; font-size: 16px; }
.site-footer__heading::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--ink) 0 40%, var(--line) 40% 100%);
}
.site-footer__menu ul { list-style: none; margin: 0; padding: 0; }
.site-footer__menu a {
  position: relative; display: block; padding: 12px 16px 12px 24px; border-bottom: 1px solid var(--menu-line);
  text-decoration: none; font-size: 16px; line-height: 1.4;
}
.site-footer__menu a::before { content: "›"; position: absolute; left: 8px; top: 50%; transform: translateY(-55%); }
.site-footer__contact { text-align: center; padding-top: 24px !important; }
.site-footer__icons { display: flex; justify-content: center; gap: 0; margin-top: 12px; }
.site-footer__icons a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; }
.site-footer__icons svg { width: 16px; height: 16px; fill: var(--ink); }
.site-footer__logo { padding-top: 32px !important; }
.site-footer__logo img { width: 290px; margin: 0 auto; }
.site-footer__copy { text-align: center; font-size: 12px; line-height: 1.6; margin: 0; padding: 40px 16px 32px; }

/* Page top button */
.pagetop {
  position: fixed; right: 40px; bottom: 48px; z-index: 40; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--ink); background: var(--white); color: var(--ink);
  display: flex; align-items: center; justify-content: center; text-decoration: none;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.pagetop::before { content: ""; width: 10px; height: 10px; margin-top: 5px; border-left: 1px solid var(--ink); border-top: 1px solid var(--ink); transform: rotate(45deg); }
.show-pagetop .pagetop { opacity: 1; pointer-events: auto; }

/* ---------- Phone and small tablet (same breakpoint as the old theme) ---------- */
@media (max-width: 959px) {
  body { font-size: clamp(13px, 3.6vw, 16px); }
  .site-header__inner, .is-scrolled .site-header--overlay .site-header__inner { height: 48px; padding: 0 8px; }
  .site-header__logo img, .is-scrolled .site-header--overlay .site-header__logo img { width: 171px; }
  .site-header__toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 40px; height: 40px; padding: 8px; border: 0; background: transparent; cursor: pointer;
  }
  .site-header__toggle span { display: block; height: 2px; background: var(--white); }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; background: var(--header); padding: 8px 0 16px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a, .is-scrolled .site-header--overlay .site-nav a { height: auto; padding: 12px 24px; font-size: 14px; color: #eaeaea; }

  .title-band { height: 86.7vw; max-height: 520px; }
  .title-band__inner { padding: 0 16px; }
  .title-band h1 { font-size: clamp(17px, 4.68vw, 22px); }
  .page-post .title-band h1 { font-size: clamp(18px, 5vw, 23px); }
  .breadcrumb__inner { padding: 12px 15.6px 8px; font-size: 10px; }

  .content { margin-top: 48px; padding: 0 16px 32px; font-size: clamp(14px, 4vw, 17px); }
  .content h2 { font-size: 1.2em; }
  .content h3 { font-size: 1.1em; }
  .wp-block-media-text { grid-template-columns: 1fr; }
  .wp-block-media-text__content { padding: 16px 0 0; }
  .c-tabList__item { width: 50%; }
  .c-tabList__button { font-size: 13px; padding: 9.75px 6.5px; }
  .c-tabBody { padding: 6vw; }
  .is-style-more_btn a { width: 80%; font-size: 14px; }

  .hero__text { padding: 0 16px; }
  .hero__text p { font-size: clamp(17px, 5vw, 22px); }
  .content--home { margin-top: 64px; padding: 0 16px 40px; }
  .home-section { margin-bottom: 88px; }
  .section-title { font-size: clamp(16px, 4.5vw, 20px); margin-bottom: 48px; }
  .post-card { grid-template-columns: 36% 1fr; gap: 14px; }
  .post-card h3 { font-size: clamp(13px, 3.6vw, 16px); }
  .post-card p { font-size: clamp(12px, 3.4vw, 15px); -webkit-line-clamp: 6; }
  .about { grid-template-columns: 1fr; gap: 24px; }
  .about__image { width: 100%; order: -1; }
  html { scroll-padding-top: 56px; }
  .about__text .line-button { margin-left: 0; }

  .site-footer { margin-top: 24px; padding-top: 24px; }
  .site-footer__inner { grid-template-columns: 1fr; padding: 0 16px; }
  .site-footer__inner > div { padding: 14px 0; }
  .site-footer__menu a { font-size: clamp(13px, 3.6vw, 16px); padding: 10.5px 14px 10.5px 21px; }
  .site-footer__logo img { width: 240px; }
  .pagetop { right: 14px; bottom: 26px; }
}

/* Visitors who turn off animations in their device settings */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
