:root {
  --blue: #1540a2;
  --blue-dark: #062c82;
  --blue-light: #6da7de;
  --blue-pale: #eef5fb;
  --gold: #594a0f;
  --gold-light: #b7a46b;
  --ink: #333;
  --muted: #6f747b;
  --line: #dfe5ea;
  --white: #fff;
  --serif: "Noto Serif JP", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", "MS PMincho", serif;
  --sans: "Noto Sans JP", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --content: 1070px;
  --nav-height: 50px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 16px);
  overflow-x: clip;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: clip;
  word-break: normal;
  line-break: strict;
}

body.nav-open {
  overflow: hidden;
}

body > *,
main,
section,
article,
div {
  min-width: 0;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

picture {
  display: block;
  max-width: 100%;
}

iframe {
  display: block;
  width: min(100%, 760px);
  height: auto;
  margin-inline: auto;
  border: 0;
  aspect-ratio: 16 / 9;
}

a {
  color: var(--blue);
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  color: #4675e2;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid #f2c94c;
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--blue);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

/* Main visual */
.site-visual {
  position: relative;
  overflow: hidden;
  background: #a8a59e;
  isolation: isolate;
}

.site-visual--home {
  height: calc(100svh - var(--nav-height));
  min-height: 560px;
}

.site-visual--inner {
  height: 450px;
}

.site-visual--plain {
  height: 450px;
  background: var(--white);
}

.site-visual--plain .site-visual__slides {
  display: none;
}

.site-visual--plain::after {
  display: none;
}

.site-visual--plain .site-visual__brand {
  width: 161px;
  filter: none;
}

.site-visual::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(180deg, rgba(3, 16, 45, 0.02), rgba(3, 16, 45, 0.11));
  pointer-events: none;
}

.site-visual__slides,
.site-visual__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.site-visual__slide {
  object-fit: cover;
  object-position: center;
  opacity: 0;
  animation: hero-crossfade 20s infinite;
  will-change: opacity;
}

.site-visual__slide--1 { animation-delay: 0s; }
.site-visual__slide--2 { animation-delay: 10s; }

.site-visual--photo .site-visual__slide {
  object-position: center 12%;
}

.site-visual--photo .site-visual__slide--2,
.site-visual--soft .site-visual__slide--2 {
  display: none;
}

.site-visual--soft .site-visual__slide {
  object-position: center 70%;
}

.site-visual--soft::after {
  background: rgba(255, 255, 255, 0.58);
}

.site-visual--soft .site-visual__brand {
  filter: none;
}

@keyframes hero-crossfade {
  0%, 45% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.site-visual__brand {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 150px;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 2px 16px rgba(0, 0, 0, 0.2));
}

.site-visual__scroll {
  position: absolute;
  z-index: 2;
  right: 2rem;
  bottom: 2.4rem;
  margin: 0;
  color: var(--white);
  font-size: 10px;
  letter-spacing: 0.28em;
  writing-mode: vertical-rl;
}

.site-visual__scroll::after {
  display: inline-block;
  width: 1px;
  height: 44px;
  margin-top: 10px;
  content: "";
  background: currentColor;
}

/* Header navigation */
.site-nav {
  position: sticky;
  z-index: 1000;
  top: 0;
  height: var(--nav-height);
  color: var(--white);
  background: rgba(109, 167, 222, 0.98);
  box-shadow: 0 4px 18px rgba(20, 43, 71, 0.08);
  backdrop-filter: blur(12px);
}

.site-nav__inner {
  position: relative;
  width: min(100%, 1160px);
  min-height: var(--nav-height);
  margin-inline: auto;
}

.site-nav__list,
.site-nav__sublist {
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav__list {
  display: flex;
  height: var(--nav-height);
  align-items: stretch;
  justify-content: center;
}

.site-nav__item {
  position: relative;
  display: flex;
  align-items: stretch;
}

.site-nav__item > a {
  display: grid;
  padding: 12px 15px;
  color: var(--white);
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.1em;
  line-height: 1.85;
  place-items: center;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav__item > a:hover,
.site-nav__item > a:focus-visible,
.site-nav__item--active > a {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.32);
}

.site-nav__sublist {
  position: absolute;
  z-index: 5;
  top: 100%;
  left: 0;
  display: none;
  min-width: 240px;
  max-height: min(70vh, 560px);
  padding: 8px;
  overflow-y: auto;
  background: var(--white);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 12px 30px rgba(25, 54, 88, 0.16);
}

.site-nav__item:hover > .site-nav__sublist,
.site-nav__item:focus-within > .site-nav__sublist,
.site-nav__item.is-open > .site-nav__sublist {
  display: block;
}

.site-nav__sublist a {
  display: block;
  padding: 9px 12px;
  color: var(--blue);
  line-height: 1.55;
  text-decoration: none;
}

.site-nav__sublist a:hover,
.site-nav__sublist a:focus-visible {
  background: var(--blue-pale);
}

.site-nav__toggle,
.site-nav__mobile-brand,
.site-nav__subtoggle {
  display: none;
}

/* Breadcrumbs */
.breadcrumbs {
  width: min(calc(100% - 40px), var(--content));
  margin: 72px auto 0;
  font-size: 15px;
}

.breadcrumbs ol {
  display: flex;
  gap: 0;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  list-style: none;
}

.breadcrumbs li {
  display: flex;
  min-width: 0;
  align-items: center;
}

.breadcrumbs li + li::before {
  margin: 0 0.65em;
  color: #9ba4ad;
  content: "»";
}

.breadcrumbs a,
.breadcrumbs span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Main content */
.site-main {
  min-height: 50vh;
}

.page-inner:not(.page-has-breadcrumbs) .site-main {
  padding-top: 30px;
}

.page-heading {
  width: min(calc(100% - 40px), var(--content));
  padding: 34px 0 0;
  margin-inline: auto;
  text-align: center;
}

.page-heading h1,
.legacy-content h1 {
  margin: 0 0 42px;
  color: var(--blue-dark);
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 40px);
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-transform: none;
}

.legacy-content {
  width: min(calc(100% - 40px), var(--content));
  padding: 34px 0 100px;
  margin-inline: auto;
}

.page-inner .legacy-content {
  padding-top: 50px;
}

.page-heading + .legacy-content {
  padding-top: 20px;
}

.legacy-content--home {
  padding-top: 60px;
}

.legacy-content--home h1 {
  margin-bottom: 16px;
  font-size: clamp(28px, 2.8vw, 32px);
  font-weight: 600;
  line-height: 1.2;
}

.legacy-content h2,
.legacy-content h3,
.legacy-content h4 {
  font-weight: 500;
  text-align: center;
  text-transform: none;
}

.legacy-content h2 {
  margin: 32px 0;
  color: var(--gold);
  font-family: var(--serif);
  font-size: clamp(25px, 2.8vw, 32px);
  line-height: 1.5;
}

.legacy-content .section-title {
  padding: 0;
  margin: 28px 0;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.5;
}

.legacy-content h3 {
  margin: 50px 0 34px;
  color: var(--blue);
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 24px);
  line-height: 1.55;
}

.legacy-content h4 {
  margin: 36px 0 22px;
  color: var(--blue);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.6;
}

.legacy-content p {
  max-width: 100%;
  margin: 0 auto 1.75em;
}

.legacy-content hr {
  width: 100%;
  height: 1px;
  margin: 48px auto;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
  border: 0;
}

.legacy-content figure {
  margin: 36px auto;
  text-align: center;
}

.legacy-content figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.legacy-content img,
.legacy-content video {
  margin-inline: auto;
}

.content-block {
  margin-block: 26px;
}

.content-block--media,
.content-block--custom {
  text-align: center;
}

.content-block--heading {
  padding-top: 110px;
  padding-bottom: 1px;
}

.content-flex {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  justify-content: space-around;
  margin: 32px auto;
  flex-wrap: wrap;
}

.content-flex > * {
  min-width: 0;
  max-width: 100%;
}

.content-flex > p {
  flex: 1 1 430px;
}

.content-flex > picture,
.content-flex > img,
.content-flex > video {
  flex: 0 1 auto;
}

.content-flex--center {
  justify-content: center;
}

.content-grid {
  display: grid;
  gap: 34px 30px;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  align-items: start;
  margin: 36px auto;
}

.content-grid__column {
  min-width: 0;
  padding-bottom: 45px;
}

.content-grid > br {
  display: none;
}

.content-grid__column img {
  width: 100%;
}

.content-grid__column h3 {
  margin: 0;
  line-height: 1.25;
}

.content-grid__column .content-block {
  padding-block: 5px;
  margin-block: 0;
}

.content-grid__column p {
  margin-bottom: 0;
  line-height: 2;
}

.content-grid__column .content-cta {
  margin: 14px 0 0;
}

.content-grid__column .content-cta a {
  min-width: 0;
  min-height: 46px;
  padding: 8px 24px;
}

/* Jimdo gallery converted to a stable local slider */
.content-gallery {
  margin: 40px auto;
}

.content-gallery__inner {
  position: relative;
}

.content-gallery__inner > div {
  display: none;
}

.content-gallery__inner > ul {
  position: relative;
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
  list-style: none;
}

.content-gallery__inner > ul > li {
  display: none;
  margin: 0;
}

.content-gallery__inner > ul > li:first-child,
.content-gallery__inner > ul > li.is-active {
  display: block;
}

.content-gallery__inner > ul > li img {
  width: 100%;
  max-height: 760px;
  object-fit: contain;
}

.content-gallery__controls {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  height: calc(100% - 62px);
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.content-gallery__controls button {
  display: grid;
  width: 44px;
  height: 64px;
  padding: 0;
  color: var(--white);
  background: rgba(9, 35, 81, 0.38);
  border: 0;
  font-size: 30px;
  place-items: center;
  cursor: pointer;
  pointer-events: auto;
}

.content-gallery__controls button:hover {
  background: rgba(9, 35, 81, 0.65);
}

.content-gallery__thumbs {
  display: flex;
  gap: 5px;
  min-height: 52px;
  padding: 8px 0 0;
  margin: 0;
  align-items: flex-start;
  justify-content: center;
  overflow-x: auto;
  list-style: none;
}

.content-gallery__thumbs button {
  width: 42px;
  height: 34px;
  padding: 0;
  overflow: hidden;
  background: var(--white);
  border: 2px solid transparent;
  cursor: pointer;
}

.content-gallery__thumbs button[aria-current="true"] {
  border-color: var(--blue);
}

.content-gallery__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-gallery__grid {
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 32px auto;
  list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
}

.fluid-media { max-width: 100%; }
.feature-media,
.wide-media { width: 100%; }
.wide-media { max-width: 1070px; }
.medium-media {
  width: min(100%, 850px);
  max-width: 100%;
}
.rounded-media { border-radius: 10px; }
.font-mincho { font-family: var(--serif); }
.font-bold { font-weight: 700; }
.text-blue { color: var(--blue); }
.prose--center { text-align: center; }
.prose--large { font-size: 17px; line-height: 2.3; }
.sp-only,
.sp-break { display: none; }

.premium-label {
  color: var(--blue);
  letter-spacing: 0.03em;
}

.legacy-content ul,
.legacy-content ol {
  max-width: 860px;
  margin: 1.5em auto;
}

.legacy-content li + li {
  margin-top: 0.6em;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

.legacy-content table {
  width: min(100%, 860px);
  margin: 28px auto;
  border-spacing: 0;
  border-collapse: collapse;
  font-size: 14px;
}

.legacy-content th,
.legacy-content td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.legacy-content blockquote {
  max-width: 760px;
  padding: 26px 30px;
  margin: 35px auto;
  color: #4e5965;
  background: var(--blue-pale);
  border-left: 4px solid var(--blue-light);
}

/* News */
.news-list article,
.news-article {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.legacy-content .news-title {
  padding: 0;
  margin: 0 0 10px;
  color: var(--blue);
  font-family: var(--sans);
  font-size: 24px;
  line-height: 1.5;
  text-align: left;
}

.news-meta,
.news-category {
  color: var(--muted);
  font-size: 13px;
}

.page-news-index .text-blue {
  position: relative;
  top: 27px;
  display: flex;
  min-height: 72px;
  margin-bottom: 0;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

.page-howto .legacy-content {
  padding-top: 59px;
}

.page-howto .legacy-content h1 {
  font-size: 32px;
  line-height: 1.1;
}

.page-howto .content-block {
  margin-block: 20px;
}

.page-howto .legacy-content > div > .content-block--media img {
  width: 100%;
  max-width: 869px;
}

.page-news-index .content-grid {
  gap: 0;
  grid-template-columns: 41% 59%;
}

.page-news-index .content-grid__column {
  padding-bottom: 0;
}

.page-news-index .content-grid__column:first-child {
  padding-right: 21px;
}

.page-news-index .content-grid figure {
  margin: 0;
}

/* News CMS integration */
.labo-news {
  padding-top: 42px;
}

.labo-news__header,
.labo-news-detail__header {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}

.labo-news__header > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.labo-news__eyebrow {
  margin: 0 0 9px !important;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.labo-news__header h1,
.labo-news-detail__header h1 {
  margin-bottom: 18px;
}

.labo-news__categories {
  display: flex;
  gap: 10px;
  margin: 0 auto 28px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.labo-news__categories a {
  display: inline-flex;
  min-height: 42px;
  padding: 7px 20px;
  align-items: center;
  color: var(--blue);
  background: var(--white);
  border: 1px solid #b9cae8;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.labo-news__categories a[aria-current="page"],
.labo-news__categories a:hover,
.labo-news__categories a:focus-visible {
  color: var(--white);
  background: var(--blue);
  border-color: var(--blue);
}

.labo-news__search {
  max-width: 560px;
  padding: 18px 20px;
  margin: 0 auto 64px;
  background: #f5f8fb;
  border: 1px solid #e1e9f0;
}

.labo-news__search > label {
  display: block;
  margin-bottom: 7px;
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
}

.labo-news__search > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.labo-news__search input {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 8px 12px;
  background: var(--white);
  border: 1px solid #b8c5d0;
  border-right: 0;
  border-radius: 0;
  font: inherit;
}

.labo-news__search button {
  min-width: 88px;
  padding: 8px 18px;
  color: var(--white);
  background: var(--blue);
  border: 1px solid var(--blue);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.labo-news__pickup,
.labo-news__latest {
  margin-top: 70px;
}

.labo-news__section-heading {
  margin-bottom: 30px;
  text-align: center;
}

.labo-news__section-heading p {
  margin-bottom: 0;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.legacy-content .labo-news__section-heading h2 {
  margin: 2px 0 0;
  color: var(--gold);
  font-size: 30px;
}

.labo-news__pickup-grid {
  display: grid;
  gap: 34px 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.labo-news__pickup-card {
  min-width: 0;
}

.labo-news__pickup-image,
.labo-news__card-image {
  display: block;
  overflow: hidden;
  background: #edf2f6;
}

.labo-news__pickup-image {
  aspect-ratio: 4 / 3;
}

.labo-news__pickup-image img,
.labo-news__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.labo-news__pickup-image:hover img,
.labo-news__card-image:hover img {
  transform: scale(1.025);
}

.labo-news__meta {
  display: flex;
  gap: 8px 12px;
  margin: 15px 0 8px;
  align-items: center;
  color: var(--muted);
  flex-wrap: wrap;
  font-size: 12px;
}

.labo-news__meta span {
  color: var(--blue);
  font-weight: 700;
}

.labo-news__meta b {
  padding: 1px 7px;
  color: var(--white);
  background: var(--blue);
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: .08em;
}

.legacy-content .labo-news__pickup-card h3,
.legacy-content .labo-news__card h3 {
  padding: 0;
  margin: 0;
  font-family: var(--sans);
  font-weight: 700;
  text-align: left;
}

.legacy-content .labo-news__pickup-card h3 {
  font-size: 17px;
  line-height: 1.75;
}

.labo-news__pickup-card h3 a,
.labo-news__card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.labo-news__pickup-card h3 a:hover,
.labo-news__card h3 a:hover {
  color: var(--blue);
}

.labo-news__list {
  border-top: 1px solid var(--line);
}

.labo-news__card {
  display: grid;
  gap: 32px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: minmax(230px, 39%) minmax(0, 1fr);
}

.labo-news__card-image {
  aspect-ratio: 16 / 10;
}

.labo-news__card-body {
  align-self: center;
}

.labo-news__card-body .labo-news__meta {
  margin-top: 0;
}

.legacy-content .labo-news__card h3 {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 22px;
  line-height: 1.55;
}

.legacy-content .labo-news__card-body > p {
  display: -webkit-box;
  margin-bottom: 16px;
  color: #555d65;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.labo-news__readmore {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.labo-news__readmore span {
  font-size: 18px;
}

.labo-news__pagination {
  display: flex;
  gap: 20px;
  margin-top: 42px;
  align-items: center;
  justify-content: center;
}

.labo-news__pagination a,
.labo-news__pagination span {
  display: inline-flex;
  min-width: 76px;
  min-height: 42px;
  padding: 7px 15px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  text-decoration: none;
}

.labo-news__pagination span {
  color: var(--muted);
  background: #f7f9fb;
}

.labo-news__empty {
  padding: 50px 20px;
  color: var(--muted);
  background: #f7f9fb;
  text-align: center;
}

.labo-news-detail {
  width: min(calc(100% - 40px), 940px);
}

.labo-news-detail__header {
  margin-bottom: 52px;
}

.labo-news-detail__header .labo-news__meta {
  justify-content: center;
  margin: 0 0 15px;
}

.labo-news-detail__header h1 {
  color: var(--blue-dark);
  font-size: clamp(28px, 3.4vw, 40px);
  overflow-wrap: anywhere;
}

.labo-news-detail__content {
  font-size: 16px;
}

.labo-news-detail__content .ncm-block + .ncm-block {
  margin-top: 26px;
}

.labo-news-detail__content .ncm-legacy-content > :first-child {
  margin-top: 0;
}

.labo-news-detail__content .ncm-legacy-content > :last-child {
  margin-bottom: 0;
}

.labo-news-detail__categories {
  display: flex;
  gap: 8px;
  padding-top: 28px;
  margin-top: 58px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.labo-news-detail__categories a {
  padding: 5px 12px;
  color: var(--blue);
  background: var(--blue-pale);
  border-radius: 999px;
  font-size: 12px;
  text-decoration: none;
}

.labo-news-detail__share {
  display: flex;
  gap: 12px;
  margin: 28px 0 50px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .12em;
}

.labo-news-detail__share a {
  display: inline-flex;
  min-width: 52px;
  min-height: 38px;
  padding: 5px 11px;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  border: 1px solid #b9cae8;
  text-decoration: none;
}

.labo-news-detail__back {
  margin-bottom: 0 !important;
  text-align: center;
}

.labo-news-detail__back a {
  display: inline-flex;
  gap: 14px;
  min-width: 220px;
  min-height: 50px;
  padding: 10px 22px;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  border: 1px solid var(--blue);
  text-decoration: none;
}

.labo-news-detail__preview {
  padding: 12px 16px;
  color: #7a541a;
  background: #fff7dd;
  border: 1px solid #e0c77e;
}

.ncm-text-red {
  color: #d40000;
}

.ncm-text-blue-bold {
  color: var(--blue);
  font-weight: 700;
}

.ncm-note {
  padding: 18px 20px;
  background: #fff8e8;
  border-left: 4px solid var(--gold-light);
}

.ncm-image-block {
  margin: 30px 0;
}

.ncm-image-layout-vertical {
  display: grid;
  gap: 20px;
}

.ncm-image-layout-horizontal,
.ncm-image-layout-lightbox {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.ncm-image-block .ncm-figure {
  margin: 0;
}

.ncm-image-block img {
  width: 100%;
}

.ncm-image-layout-horizontal img,
.ncm-image-layout-lightbox img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ncm-image-layout-slider .ncm-image-item {
  display: none;
}

.ncm-image-layout-slider .ncm-image-item.is-active {
  display: block;
}

.ncm-image-slider-stage {
  overflow: hidden;
  background: #edf1f4;
}

.ncm-image-layout-slider img {
  max-height: 680px;
  object-fit: contain;
}

.ncm-image-slider-controls {
  display: flex;
  gap: 14px;
  margin-top: 10px;
  align-items: center;
  justify-content: center;
}

.ncm-image-slider-controls button {
  min-width: 42px;
  min-height: 38px;
  color: var(--white);
  background: var(--blue);
  border: 0;
  font-size: 22px;
}

.ncm-download-block {
  display: grid;
  gap: 10px;
  margin: 28px 0;
}

.ncm-download-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  align-items: center;
  background: #f7f9fb;
  border: 1px solid var(--line);
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.ncm-download-filetype {
  font-size: 12px;
  font-weight: 800;
}

.ncm-download-card .ncm-button {
  padding: 7px 14px;
  color: var(--white);
  background: var(--blue);
  text-decoration: none;
}

.ncm-modal-open {
  overflow: hidden;
}

.ncm-lightbox {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: none;
  gap: 18px;
  padding: 36px;
  align-items: center;
  background: rgba(0, 0, 0, .9);
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.ncm-lightbox.is-open {
  display: grid;
}

.ncm-lightbox-stage {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.ncm-lightbox img {
  max-width: min(100%, 1100px);
  max-height: 78vh;
  object-fit: contain;
}

.ncm-lightbox button {
  color: var(--white);
  background: rgba(0, 0, 0, .3);
  border: 1px solid rgba(255, 255, 255, .5);
  cursor: pointer;
}

.ncm-lightbox-close {
  position: absolute;
  top: 14px;
  right: 18px;
  border: 0 !important;
  font-size: 32px;
}

.ncm-lightbox-nav {
  width: 50px;
  min-height: 58px;
  font-size: 34px;
}

.ncm-lightbox-info {
  display: flex;
  gap: 10px 18px;
  color: var(--white);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.ncm-lightbox-info a {
  color: var(--white);
}

.content-cta,
.download-card {
  display: flex;
  justify-content: center;
  margin: 38px auto;
}

.content-cta a,
.download-card a,
.button {
  display: inline-flex;
  min-width: min(100%, 280px);
  min-height: 54px;
  padding: 12px 28px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 2px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.content-cta a:hover,
.download-card a:hover,
.button:hover {
  color: var(--blue);
  background: var(--white);
}

.business-info {
  width: min(calc(100% - 40px), 820px);
  padding: clamp(30px, 6vw, 60px);
  margin: 0 auto 100px;
  text-align: center;
  background: #fbfcfe;
  border: 1px solid var(--line);
}

.business-info h2 {
  margin: 0 0 24px;
  color: var(--blue);
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 32px);
}

.business-info strong {
  color: var(--blue);
}

.business-info__note {
  color: var(--muted);
  font-size: 12px;
}

.business-calendar {
  max-width: 520px;
  margin: 32px auto;
}

.business-calendar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.business-calendar__header button {
  padding: 7px 12px;
  color: var(--blue);
  background: var(--white);
  border: 1px solid var(--line);
  cursor: pointer;
}

.business-calendar__header strong {
  font-family: var(--serif);
  font-size: 18px;
}

.business-calendar table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.business-calendar th,
.business-calendar td {
  height: 42px;
  padding: 4px;
  border: 1px solid var(--line);
  text-align: center;
}

.business-calendar th:first-child { color: #c94b4b; }
.business-calendar th:last-child { color: var(--blue); }
.business-calendar td.is-closed { color: #b73c3c; background: #ffe4e4; }
.business-calendar td.is-today { box-shadow: inset 0 0 0 2px var(--blue); font-weight: 700; }
.business-calendar td.is-empty { background: #f7f8f9; }

.button--shop {
  margin-top: 20px;
  background: #e36664;
  border-color: #e36664;
}

.button--shop:hover {
  color: #c94f4d;
}

.not-found {
  padding: 30px 0 90px;
  text-align: center;
}

/* Related links and footer */
.quick-links {
  padding: 70px 20px;
  background: #f4f7fa;
}

.quick-links__inner {
  width: min(100%, var(--content));
  margin-inline: auto;
}

.quick-links h2 {
  margin: 0 0 30px;
  color: var(--blue);
  font-family: var(--serif);
  text-align: center;
}

.quick-links__grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, 1fr);
}

.quick-links__grid a {
  display: grid;
  min-height: 135px;
  padding: 22px;
  color: var(--blue);
  background: var(--white);
  border: 1px solid #e1e7ed;
  place-content: center;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-links__grid a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(26, 60, 99, 0.1);
}

.quick-links__grid span {
  color: var(--gold-light);
  font-size: 10px;
  letter-spacing: 0.18em;
}

.quick-links__shop {
  display: flex;
  width: min(100%, 520px);
  min-height: 56px;
  padding: 12px 24px;
  margin: 26px auto 0;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--blue);
  text-align: center;
  text-decoration: none;
}

.quick-links__shop:hover {
  color: var(--blue);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--blue);
}

.site-footer {
  display: flex;
  min-height: 300px;
  padding: 60px 20px 30px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  color: #dbe8f5;
  background: #102d69;
  text-align: center;
}

.site-footer__brand {
  width: 105px;
  margin-bottom: 24px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.site-footer__social,
.site-footer__links {
  display: flex;
  gap: 18px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.site-footer a {
  color: inherit;
}

.site-footer small {
  opacity: 0.7;
}

.to-top {
  position: fixed;
  z-index: 200;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  display: grid;
  width: 44px;
  height: 44px;
  color: var(--white);
  background: rgba(21, 64, 162, 0.76);
  border-radius: 3px;
  opacity: 0;
  place-items: center;
  pointer-events: none;
  text-decoration: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

@media (max-width: 1120px) {
  .site-nav__item > a {
    padding-inline: 10px;
    font-size: 13px;
    letter-spacing: 0.06em;
  }
}

@media (max-width: 900px) {
  :root {
    --nav-height: 54px;
  }

  body {
    font-size: 15px;
    line-height: 1.8;
  }

  .site-visual--home {
    min-height: 500px;
  }

  .site-visual--inner {
    height: clamp(260px, 48vw, 360px);
  }

  .site-visual--plain {
    height: clamp(260px, 48vw, 360px);
  }

  .site-visual__brand {
    width: 118px;
  }

  .site-nav__inner {
    display: flex;
    min-height: var(--nav-height);
    padding: 0 16px;
    align-items: center;
    justify-content: space-between;
  }

  .site-nav__mobile-brand {
    display: block;
    color: var(--white);
    font-family: var(--serif);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
  }

  .site-nav__toggle {
    display: grid;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: 0;
    place-content: center;
    cursor: pointer;
  }

  .site-nav__toggle span:not(.visually-hidden) {
    display: block;
    width: 24px;
    height: 2px;
    margin: 3px 0;
    background: var(--white);
    transition: 0.2s ease;
  }

  .site-nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .site-nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .site-nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .site-nav__list {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    height: auto;
    max-height: calc(100svh - var(--nav-height));
    padding: 8px 16px calc(24px + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: rgba(93, 151, 207, 0.99);
  }

  .site-nav__list.is-open {
    display: block;
  }

  .site-nav__item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 46px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .site-nav__item > a {
    display: block;
    padding: 12px 4px;
    font-size: 14px;
    white-space: normal;
  }

  .site-nav__subtoggle {
    display: block;
    color: var(--white);
    background: transparent;
    border: 0;
    font-size: 21px;
    cursor: pointer;
  }

  .site-nav__sublist {
    position: static;
    grid-column: 1 / -1;
    min-width: 0;
    max-height: none;
    padding: 4px 10px 12px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 0;
    box-shadow: none;
  }

  .site-nav__sublist a {
    color: var(--white);
  }

  .site-nav__item:hover > .site-nav__sublist,
  .site-nav__item:focus-within > .site-nav__sublist {
    display: none;
  }

  .site-nav__item.is-open > .site-nav__sublist {
    display: block;
  }

  .breadcrumbs,
  .legacy-content,
  .page-heading {
    width: min(calc(100% - 30px), var(--content));
  }

  .breadcrumbs {
    margin-top: 42px;
    font-size: 13px;
  }

  .page-inner:not(.page-has-breadcrumbs) .site-main {
    padding-top: 24px;
  }

  .legacy-content {
    padding-top: 28px;
  }

  .page-inner .legacy-content {
    padding-top: 34px;
  }

  .content-block--heading {
    padding-top: 70px;
    padding-bottom: 1px;
  }

  .legacy-content--home {
    padding-top: 36px;
  }

  .legacy-content .section-title {
    font-size: 21px;
  }

  .content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-links__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .site-visual__slide {
    object-position: 56% center;
  }

  .site-visual__scroll {
    right: 1rem;
  }

  .page-heading h1,
  .legacy-content h1,
  .legacy-content--home h1 {
    margin-bottom: 30px;
    font-size: 28px;
    line-height: 1.45;
  }

  .legacy-content h2 {
    margin-block: 26px;
    font-size: 25px;
  }

  .legacy-content .section-title {
    font-size: 20px;
  }

  .legacy-content h3 {
    margin-top: 40px;
    font-size: 21px;
  }

  .legacy-content p,
  .prose--center {
    text-align: left;
  }

  .prose--large {
    font-size: 16px;
    line-height: 2.05;
  }

  .content-flex {
    display: block;
  }

  .content-flex > * + * {
    margin-top: 24px;
  }

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

  .page-news-index .content-grid {
    gap: 18px;
    grid-template-columns: 1fr;
  }

  .page-news-index .content-grid__column:first-child {
    padding-right: 0;
  }

  .page-howto .legacy-content h1 {
    font-size: 27px;
  }

  .legacy-content ul,
  .legacy-content ol {
    padding-left: 1.35em;
  }

  .legacy-content table {
    font-size: 12px;
  }

  .legacy-content th,
  .legacy-content td {
    min-width: 6.5em;
    padding: 8px;
  }

  .content-gallery__controls {
    height: calc(100% - 52px);
  }

  .content-gallery__controls button {
    width: 38px;
    height: 54px;
  }

  .pc-only,
  .pc-break { display: none !important; }
  .sp-only { display: block; }
  .sp-break { display: inline; }
}

@media (max-width: 520px) {
  .site-visual--home {
    height: min(78svh, 680px);
    min-height: 460px;
  }

  .site-visual--inner {
    height: 250px;
  }

  .site-visual--plain {
    height: 250px;
  }

  .site-visual__slide {
    width: 100%;
    max-width: none;
    left: 0;
    object-position: 55% center;
    transform: scale(1.16);
  }

  .breadcrumbs a,
  .breadcrumbs span {
    max-width: 74vw;
  }

  .quick-links__grid {
    grid-template-columns: 1fr;
  }

  .quick-links__grid a {
    min-height: 110px;
  }
}

@media (max-height: 620px) and (orientation: landscape) {
  .site-visual--home {
    min-height: 420px;
  }
}

@media (max-width: 900px) {
  .labo-news__pickup-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .labo-news__card {
    gap: 24px;
    grid-template-columns: minmax(210px, 38%) minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  .labo-news {
    padding-top: 28px;
  }

  .labo-news__header,
  .labo-news-detail__header {
    margin-bottom: 34px;
  }

  .labo-news__categories {
    display: grid;
    grid-template-columns: 1fr;
  }

  .labo-news__categories a {
    justify-content: center;
  }

  .labo-news__search {
    padding: 15px;
    margin-bottom: 46px;
  }

  .labo-news__pickup,
  .labo-news__latest {
    margin-top: 52px;
  }

  .labo-news__pickup-grid {
    gap: 32px 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legacy-content .labo-news__pickup-card h3 {
    font-size: 15px;
  }

  .labo-news__card {
    gap: 18px;
    padding: 28px 0;
    grid-template-columns: 1fr;
  }

  .labo-news__card-image {
    aspect-ratio: 16 / 9;
  }

  .legacy-content .labo-news__card h3 {
    font-size: 20px;
  }

  .labo-news-detail {
    width: min(calc(100% - 30px), 940px);
  }

  .labo-news-detail__header h1 {
    font-size: 28px;
    line-height: 1.55;
  }

  .labo-news-detail__content {
    font-size: 15px;
  }

  .ncm-image-layout-horizontal,
  .ncm-image-layout-lightbox {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ncm-download-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .ncm-download-card .ncm-button {
    grid-column: 1 / -1;
  }

  .ncm-lightbox {
    padding: 54px 14px 76px;
    grid-template-columns: 1fr;
  }

  .ncm-lightbox-nav {
    position: absolute;
    bottom: 14px;
  }

  .ncm-lightbox-prev {
    left: 14px;
  }

  .ncm-lightbox-next {
    right: 14px;
  }
}

@media (max-width: 480px) {
  .labo-news__pickup-grid {
    grid-template-columns: 1fr;
  }

  .labo-news__pickup-image {
    aspect-ratio: 16 / 10;
  }

  .labo-news__search > div {
    grid-template-columns: minmax(0, 1fr) 76px;
  }

  .labo-news__search button {
    min-width: 76px;
    padding-inline: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .site-visual__slide--1 { opacity: 1; }
}


/* 2026-08-04 home-page visual refinement */
.site-nav__item > a.site-nav__external {
  display: flex;
  gap: 0.42em;
  align-items: center;
  justify-content: center;
}

.external-link-mark {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.82em;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-0.08em);
}

/* The public News keyword search is intentionally not displayed. */
.labo-news__categories {
  margin-bottom: 54px;
}

.page-home .legacy-content--home {
  padding-top: 66px;
  padding-bottom: 120px;
}

.page-home .legacy-content--home > .content-block,
.page-home .legacy-content--home > div > .content-block {
  margin-block: 34px;
}

.page-home .legacy-content--home .rounded-media {
  border-radius: 0;
}

.page-home .home-intro {
  display: block;
  margin-top: 0;
  margin-bottom: 58px;
}

.page-home .home-intro > picture {
  width: 100%;
}

.page-home .home-intro > div {
  width: min(100%, 870px);
  padding: 34px 20px 0;
  margin-inline: auto;
}

.page-home .home-intro h1 {
  margin-bottom: 17px;
  color: var(--blue);
  font-family: var(--sans);
  font-size: clamp(27px, 2.7vw, 35px);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.55;
}

.page-home .legacy-content--home .section-title {
  margin: 34px 0;
  color: var(--gold);
  font-family: var(--sans);
  font-size: clamp(21px, 2.1vw, 27px);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.page-home .legacy-content--home h3 {
  margin-top: 54px;
  margin-bottom: 30px;
  color: var(--blue);
  font-size: clamp(21px, 2.05vw, 27px);
  font-weight: 500;
}

.page-home .legacy-content--home h4 {
  color: var(--blue);
}

.page-home .legacy-content--home .prose {
  width: min(100%, 880px);
}

.page-home .legacy-content--home .prose--large {
  font-size: 17px;
  line-height: 2.35;
}

.page-home .legacy-content--home hr {
  margin-block: 58px;
  background: linear-gradient(90deg, transparent 0, #c5b985 14%, #c5b985 86%, transparent 100%);
  opacity: 0.82;
}

.page-home .home-detail-grid {
  display: grid;
  width: 100%;
  gap: 52px 34px;
  align-items: start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-home .home-detail-grid > div {
  width: auto;
  max-width: none;
  margin: 0;
}

.page-home .home-detail-grid > div > img {
  width: 100%;
  aspect-ratio: 503 / 306;
  object-fit: cover;
}

.page-home .home-detail-grid > div > div {
  padding: 17px 8px 0;
}

.page-home .home-detail-grid p {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 2;
  text-align: left;
}

.page-home .home-premium-grid {
  width: min(100%, 900px);
  gap: 38px;
  margin: 34px auto 70px;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  align-items: center;
}

.page-home .home-premium-grid .content-grid__column {
  padding-bottom: 0;
}

.page-home .home-premium-grid video {
  width: 100%;
  max-width: 340px;
}

.page-home .home-design-grid {
  display: grid;
  width: 100%;
  gap: 48px 30px;
  align-items: start;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-home .home-design-grid > div {
  width: auto;
  max-width: none;
  margin: 0;
  text-align: center;
}

.page-home .home-design-grid a {
  display: block;
}

.page-home .home-design-grid img {
  width: 100%;
  aspect-ratio: 400 / 283;
  object-fit: contain;
}

.page-home .home-design-grid p {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
}

.page-home img[src$="case1.svg"],
.page-home img[src$="case2.svg"],
.page-home img[src$="case3.svg"] {
  width: min(24vw, 176px);
}

.page-home img[src$="2ohutarinotikai.svg"],
.page-home img[src$="weddingitem.svg"],
.page-home img[src$="ohutarinokadode.svg"] {
  width: min(62vw, 560px);
}

.page-home .home-review-wrap {
  display: block;
  width: 100%;
}

.page-home .home-review-list {
  display: grid;
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 28px auto 0;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
}

.page-home .home-review-list > li {
  min-height: 100%;
  padding: 24px;
  margin: 0;
  background: #fbfcfe;
  border: 1px solid var(--line);
}

.page-home .home-review-list > li.content-flex {
  display: grid;
  gap: 22px;
  align-items: center;
  grid-template-columns: 153px minmax(0, 1fr);
}

.page-home .home-review-list > li img {
  width: 153px;
  margin: 0;
}

.page-home .home-review-list > li p {
  margin: 0;
  line-height: 1.95;
  text-align: left;
}

@media (max-width: 900px) {
  .site-nav__item > a.site-nav__external {
    display: inline-flex;
    justify-content: flex-start;
  }

  .labo-news__categories {
    margin-bottom: 46px;
  }

  .page-home .legacy-content--home {
    padding-top: 44px;
    padding-bottom: 90px;
  }

  .page-home .home-detail-grid {
    gap: 38px 24px;
  }

  .page-home .home-design-grid {
    gap: 38px 22px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .page-home .home-intro {
    margin-bottom: 42px;
  }

  .page-home .home-intro > div {
    padding: 24px 0 0;
  }

  .page-home .home-intro h1 {
    font-size: 25px;
    line-height: 1.6;
  }

  .page-home .legacy-content--home .section-title {
    font-size: 21px;
    line-height: 1.65;
  }

  .page-home .legacy-content--home .prose--large {
    font-size: 15px;
    line-height: 2.15;
  }

  .page-home .legacy-content--home hr {
    margin-block: 44px;
  }

  .page-home .home-detail-grid,
  .page-home .home-premium-grid,
  .page-home .home-review-list {
    grid-template-columns: 1fr;
  }

  .page-home .home-detail-grid {
    gap: 38px;
  }

  .page-home .home-detail-grid p {
    font-size: 14px;
  }

  .page-home .home-premium-grid {
    gap: 26px;
  }

  .page-home .home-review-list > li.content-flex {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .page-home .home-review-list > li img {
    width: 112px;
  }
}

@media (max-width: 520px) {
  .page-home .home-design-grid {
    grid-template-columns: 1fr;
  }

  .page-home .home-design-grid > div {
    width: min(100%, 400px);
    margin-inline: auto;
  }

  .page-home img[src$="case1.svg"],
  .page-home img[src$="case2.svg"],
  .page-home img[src$="case3.svg"] {
    width: 120px;
  }

  .page-home img[src$="2ohutarinotikai.svg"],
  .page-home img[src$="weddingitem.svg"],
  .page-home img[src$="ohutarinokadode.svg"] {
    width: min(100%, 330px);
  }

  .page-home .home-review-list > li,
  .page-home .home-review-list > li.content-flex {
    display: block;
    padding: 20px;
  }

  .page-home .home-review-list > li img {
    width: 120px;
    margin: 0 auto 18px;
  }
}

.page-home .home-social-section {
  padding-top: 62px;
  padding-bottom: 34px;
}

.page-home .home-social-section h2 {
  margin: 0 0 32px;
  color: var(--blue);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.6;
}

.page-home .home-social-links {
  display: flex;
  gap: 26px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.page-home .home-social-links a {
  display: grid;
  width: 150px;
  min-height: 150px;
  padding: 22px 18px 16px;
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--line);
  place-items: center;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.page-home .home-social-links a:hover,
.page-home .home-social-links a:focus-visible {
  color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(26, 60, 99, .12);
}

.page-home .home-social-links img {
  width: 74px;
  height: 74px;
  margin: 0 auto 8px;
  object-fit: contain;
}

.page-home .home-social-links span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
}

@media (max-width: 520px) {
  .page-home .home-social-links {
    gap: 14px;
  }

  .page-home .home-social-links a {
    width: calc(50% - 7px);
    min-height: 132px;
  }

  .page-home .home-social-links img {
    width: 62px;
    height: 62px;
  }
}

/* Footer tone and home-page ending follow the supplied reference image. */
.site-footer {
  color: #fff;
  background: #6da7de;
}

.page-home .quick-links {
  display: none;
}
