:root {
  --green: #00ad5f;
  --green-phone: #14b36b;
  --ink: #333333;
  --muted: #777777;
  --line: #e3e3e3;
  --width: 1100px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "Yu Gothic", "YuGothic", "Hiragino Sans", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body:has(#fs-l:checked) {
  font-size: 18px;
}

body:has(#fs-xl:checked) {
  font-size: 21px;
}

a {
  color: inherit;
}

.site-header {
  background: #fff;
}

.header-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--width), calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 14px;
}

.brand-name {
  margin: 0;
  color: #222;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.brand-en {
  margin: 2px 0 0;
  color: #8a8a8a;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}

.header-tools {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.tool-row,
.tool-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 14px;
}

.font-size {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  border: 0;
}

.font-size legend,
.color-label {
  margin-right: 4px;
  color: #666;
  font-size: 0.75rem;
}

.font-size input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.font-size label,
.swatch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2em;
  height: 1.7em;
  padding: 0 0.45em;
  border-radius: 2px;
  color: #fff;
  font-size: 0.75rem;
  line-height: 1;
}

.font-size label {
  background: #9a9a9a;
  cursor: pointer;
}

.font-size input:checked + label {
  background: #222;
}

.font-size input:focus-visible + label {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.color-ui {
  display: flex;
  align-items: center;
  gap: 4px;
}

.swatch {
  cursor: default;
}

.swatch-std { background: #8d8d8d; }
.swatch-1 { background: #2456d6; }
.swatch-2 { background: #f2d000; color: #222; }
.swatch-3 { background: #111; }

.search input {
  width: 9.5em;
  height: 1.8em;
  padding: 0 8px;
  border: 1px solid #ccc;
  border-radius: 12px;
  color: #888;
  font: inherit;
  font-size: 0.75rem;
}

.tool-link {
  color: #9a9a9a;
  font-size: 0.92rem;
  cursor: default;
}

.tool-link::before {
  content: "";
  display: inline-block;
  width: 0.95em;
  height: 0.95em;
  margin-right: 0.28em;
  background: #b0b0b0;
  vertical-align: -0.12em;
}

.tool-link:first-child::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a7 7 0 00-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 00-7-7zm0 9.5a2.5 2.5 0 110-5 2.5 2.5 0 010 5z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a7 7 0 00-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 00-7-7zm0 9.5a2.5 2.5 0 110-5 2.5 2.5 0 010 5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.tool-link:nth-child(2)::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 5h18a1 1 0 011 1v12a1 1 0 01-1 1H3a1 1 0 01-1-1V6a1 1 0 011-1zm9 7.2L4.2 7.1 3.2 8.4 12 14.2l8.8-5.8-1-1.3L12 12.2z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 5h18a1 1 0 011 1v12a1 1 0 01-1 1H3a1 1 0 01-1-1V6a1 1 0 011-1zm9 7.2L4.2 7.1 3.2 8.4 12 14.2l8.8-5.8-1-1.3L12 12.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.tel {
  color: var(--green-phone);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.tel::before {
  content: "";
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  margin-right: 0.25em;
  background: var(--green-phone);
  vertical-align: -0.05em;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.6 10.8a15.1 15.1 0 006.6 6.6l2.2-2.2a1 1 0 011-.25 11.4 11.4 0 003.6.57 1 1 0 011 1V20a1 1 0 01-1 1A17 17 0 013 4a1 1 0 011-1h3.5a1 1 0 011 1 11.4 11.4 0 00.57 3.6 1 1 0 01-.25 1L6.6 10.8z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.6 10.8a15.1 15.1 0 006.6 6.6l2.2-2.2a1 1 0 011-.25 11.4 11.4 0 003.6.57 1 1 0 011 1V20a1 1 0 01-1 1A17 17 0 013 4a1 1 0 011-1h3.5a1 1 0 011 1 11.4 11.4 0 00.57 3.6 1 1 0 01-.25 1L6.6 10.8z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.gnav {
  background: #e4e4e4;
}

.gnav ul {
  display: flex;
  width: min(var(--width), 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.gnav li {
  flex: 1 1 0;
  border-left: 1px solid #cfcfcf;
}

.gnav li:first-child {
  border-left: 0;
}

.gnav a,
.gnav span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 8px 4px;
  color: #8a8a8a;
  background: #e4e4e4;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.gnav a {
  background: var(--green);
  color: #fff;
}

.gnav span {
  cursor: default;
}

.notice,
.address {
  width: min(var(--width), calc(100% - 32px));
  margin-right: auto;
  margin-left: auto;
}

.notice {
  margin-top: 16px;
  margin-bottom: 16px;
  padding: 16px 18px;
  background: #f3fbf6;
  border: 1px solid #b7e0c8;
  border-left: 6px solid var(--green);
}

.notice h1 {
  margin: 0 0 8px;
  color: #0b6b3c;
  font-size: 1.25rem;
  line-height: 1.4;
}

.notice p {
  margin: 0 0 6px;
}

.notice p:last-child {
  margin-bottom: 0;
}

.hero {
  position: relative;
  width: min(var(--width), calc(100% - 32px));
  margin: 0 auto 18px;
  background: #eceae4;
}

.hero img {
  display: block;
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center 42%;
}

.hero-card {
  position: absolute;
  top: 22px;
  left: 22px;
  width: min(400px, calc(100% - 44px));
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.94);
  color: #333;
  font-size: 0.92rem;
}

.hero-card p {
  margin: 0 0 6px;
}

.hero-label {
  font-weight: 700;
}

.hero-note,
.hero-muted,
.hero-sub {
  color: #666;
  font-size: 0.82rem;
}

.hero-sub {
  display: block;
}

.hero-tel {
  margin-top: 8px;
  font-size: 1.15rem;
  font-weight: 700;
}

.hero-tel a {
  color: var(--green-phone);
  text-decoration: none;
}

.hero-muted {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.hero-muted span {
  cursor: default;
}

.hero-copy {
  position: absolute;
  right: 28px;
  bottom: 28px;
  margin: 0;
  color: #fff;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: right;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

.address {
  margin-top: 22px;
  margin-bottom: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: #444;
}

.address p {
  margin: 0 0 4px;
}

.address-name {
  font-weight: 700;
}

.address a {
  color: var(--green-phone);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 800px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .header-tools,
  .tool-row,
  .tool-links {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .tel {
    font-size: 1.6rem;
  }

  .gnav ul {
    flex-wrap: wrap;
  }

  .gnav li {
    flex: 1 1 50%;
    border-top: 1px solid #cfcfcf;
  }

  .hero img {
    height: 220px;
  }

  .hero-card {
    position: static;
    width: auto;
  }

  .hero-copy {
    position: static;
    padding: 12px 16px 4px;
    color: #333;
    text-align: left;
    text-shadow: none;
    background: #fff;
  }

}
