@charset "UTF-8";

:root {
  --bg: #f7f6f2;
  --paper: #ffffff;
  --ink: #171717;
  --muted: #6d6a63;
  --line: #d9d6cf;
  --gold: #b49348;
  --gold-light: #d0b06a;
  --footer: #111111;
  --header-height: 76px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(0, 0, 0, 0.035);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 40px), 1500px);
  height: 100%;
  margin: 0 auto;
}

.brand {
  width: 180px;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 56px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.global-nav a {
  position: relative;
  padding: 26px 0 23px;
}

.global-nav a::after {
  position: absolute;
  bottom: 16px;
  left: 50%;
  width: 0;
  height: 1px;
  content: "";
  background: var(--gold);
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

.global-nav a:hover::after,
.global-nav a.is-current::after {
  width: 46px;
}

.menu-button {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: 50% 50%;
  height: clamp(500px, 50vw, 720px);
  min-height: 0;
  padding-top: var(--header-height);
  overflow: hidden;
  background: var(--paper);
}

.hero-copy {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 42px 40px 34px;
  text-align: center;
}

.hero-logo {
  width: min(300px, 48%);
  margin-bottom: 28px;
}

.hero-kicker {
  display: none;
}

.hero h1 {
  margin: 0;
  font-size: clamp(18px, 1.3vw, 23px);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.hero-rule {
  display: grid;
  grid-template-columns: 96px auto 96px;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  color: var(--gold);
}

.hero-rule span {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(180, 147, 72, 0.72),
    transparent
  );
}

.hero-rule i {
  font-style: normal;
  font-size: 20px;
  line-height: 1;
}

.hero-visual {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #ddd;
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(
    90deg,
    rgba(255, 254, 250, 0.1),
    transparent 18%
  );
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.section {
  padding: 72px 32px 64px;
}

.service-section {
  background: #f5f5f5 !important;
}

.section-heading {
  margin-bottom: 48px;
  text-align: center;
}

.section-label {
  margin: 0 0 6px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: 0.32em;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 2.7vw, 40px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.12em;
}

.section-heading > span {
  display: block;
  width: 66px;
  height: 1px;
  margin: 12px auto 0;
  background: var(--gold);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(100%, var(--content));
  margin: 0 auto;
}

.service-card {
  min-width: 0;
  padding: 2px 52px 20px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.service-card:first-child {
  border-left: 0;
}

.service-card:last-child {
  border-right: 0;
}

.service-icon {
  display: grid;
  width: 88px;
  height: 88px;
  margin: 0 auto 25px;
  place-items: center;
}

.service-icon svg {
  width: 64px;
  height: 64px;
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.service-icon .gold {
  stroke: var(--gold);
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.service-card p {
  margin: 0;
  color: #4c4a45;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 13px;
  line-height: 2;
  letter-spacing: 0.05em;
  text-align: left;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  min-height: 470px;
  background: var(--paper);
}

.about-image {
  min-height: 470px;
  overflow: hidden;
  background: #262626;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content {
  align-self: center;
  padding: 48px clamp(36px, 7vw, 104px);
}

.section-heading--left {
  margin-bottom: 24px;
  text-align: left;
}

.section-heading--left > span {
  margin-left: 0;
}

.company-table {
  margin: 0;
  border-top: none;
}

.company-table > div {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.company-table dt,
.company-table dd {
  margin: 0;
}

.company-table dt {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  align-self: center;
}

.company-table dd {
  font-size: 15px;
  line-height: 1.7;
}

.contact-section {
  padding: 56px 28px 40px;
  text-align: center;
  background:
    linear-gradient(rgba(255, 254, 250, 0.93), rgba(255, 254, 250, 0.93)),
    repeating-linear-gradient(
      0deg,
      rgba(180, 147, 72, 0.04) 0,
      rgba(180, 147, 72, 0.04) 1px,
      transparent 1px,
      transparent 5px
    );
}

.contact-section .section-heading {
  margin-bottom: 16px;
}

.contact-lead {
  margin: 0 0 28px;
  font-size: 15px;
}

.contact-button {
  display: inline-grid;
  grid-template-columns: 28px auto 32px;
  align-items: center;
  gap: 18px;
  width: min(100%, 390px);
  padding: 16px 22px;
  color: #fff;
  background: #111;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  transition: transform 0.25s ease, background 0.25s ease;
}

.contact-button:hover {
  background: #262626;
  transform: translateY(-2px);
}

.contact-button svg {
  width: 22px;
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.2;
}

.contact-button strong {
  font-size: 26px;
  font-weight: 300;
}

.site-footer {
  position: relative;
  padding: 42px 28px 16px;
  color: #fff;
  background:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,0.03), transparent 34%),
    var(--footer);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.55fr 0.8fr 76px;
  align-items: center;
  width: min(100%, 1040px);
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  min-height: 122px;
  padding-right: 40px;
  border-right: 1px solid rgba(180, 147, 72, 0.55);
}

.footer-brand img {
  width: 230px;
}

.footer-info {
  min-height: 122px;
  padding: 0 46px;
  border-right: 1px solid rgba(180, 147, 72, 0.55);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 12px;
  line-height: 1.7;
}

.footer-info p {
  display: grid;
  grid-template-columns: 24px 1fr;
  margin: 0 0 8px;
}

.footer-info span {
  color: var(--gold-light);
}

.footer-info i {
  grid-column: 2;
  font-style: normal;
}

.footer-nav {
  display: grid;
  gap: 7px;
  padding: 0 30px;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 12px;
}

.footer-nav a:hover {
  color: var(--gold-light);
}

.page-top {
  display: grid;
  width: 54px;
  height: 54px;
  margin-left: auto;
  color: var(--gold-light);
  border: 1px solid rgba(180, 147, 72, 0.7);
  border-radius: 50%;
  font-size: 22px;
  place-items: center;
}

.copyright {
  margin: 24px 0 0;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  letter-spacing: 0.06em;
  opacity: 0.8;
}

@media (max-width: 980px) {
  :root {
    --header-height: 70px;
  }

  .header-inner {
    width: min(calc(100% - 34px), 1480px);
  }

  .brand {
    width: 150px;
  }

  .global-nav {
    gap: 30px;
  }

  .hero {
    grid-template-columns: 1fr 1.05fr;
    min-height: 650px;
  }

  .hero-copy {
    padding: 48px 28px 60px;
  }

  .service-card {
    padding-inline: 28px;
  }

  .about-content {
    padding-inline: 44px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-brand,
  .footer-info {
    min-height: auto;
    border-right: 0;
  }

  .footer-brand {
    padding-right: 0;
  }

  .footer-info {
    padding: 0;
  }

  .footer-nav {
    padding: 0;
  }

  .page-top {
    align-self: end;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 68px;
  }

  .brand {
    width: 140px;
  }

  .menu-button {
    position: relative;
    z-index: 102;
    display: grid;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 0;
    background: transparent;
    place-content: center;
    gap: 5px;
  }

  .menu-button > span:not(.sr-only) {
    width: 24px;
    height: 1px;
    background: var(--ink);
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .menu-button[aria-expanded="true"] > span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] > span:nth-child(2) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .global-nav {
    position: fixed;
    z-index: 101;
    top: 0;
    right: 0;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    justify-content: center;
    width: min(82vw, 360px);
    height: 100vh;
    padding: 80px 28px;
    background: rgba(255, 254, 250, 0.98);
    box-shadow: -18px 0 36px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s ease;
  }

  .global-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
  }

  .global-nav a {
    width: 100%;
    padding: 18px 0;
    text-align: center;
    border-bottom: 1px solid var(--line);
  }

  .global-nav a::after {
    display: none;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-top: 68px;
  }

  .hero-copy {
    order: 2;
    min-height: 420px;
    padding: 52px 24px 60px;
  }

  .hero-visual {
    order: 1;
    min-height: 380px;
  }

  .hero-logo {
    width: 270px;
  }

  .hero h1 {
    font-size: 24px;
    letter-spacing: 0.11em;
  }

  .hero-rule {
    grid-template-columns: 82px auto 82px;
  }

  .section {
    padding: 58px 22px 46px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2 {
    font-size: 30px;
  }

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

  .service-card {
    padding: 24px 24px 32px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .service-card:nth-child(2n) {
    border-right: 0;
  }

  .service-card:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .service-card p {
    text-align: center;
  }

  .about-section {
    display: block;
  }

  .about-image {
    min-height: 340px;
  }

  .about-content {
    padding: 52px 24px 58px;
  }

  .company-table > div {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
  }

  .contact-section {
    padding: 48px 22px 42px;
  }

  .footer-inner {
    display: block;
  }

  .footer-brand {
    justify-content: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(180, 147, 72, 0.4);
  }

  .footer-info {
    max-width: 320px;
    margin: 28px auto;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
    max-width: 320px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(180, 147, 72, 0.4);
    text-align: center;
  }

  .page-top {
    margin: 30px auto 0;
  }
}

@media (max-width: 500px) {
  .hero-visual {
    min-height: 300px;
  }

  .hero-copy {
    min-height: 385px;
  }

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

  .service-card,
  .service-card:nth-child(2n) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-card:last-child {
    border-bottom: 0;
  }

  .company-table > div {
    display: block;
    padding: 14px 0;
  }

  .company-table dt {
    margin-bottom: 4px;
    color: var(--gold);
  }

  .contact-button {
    grid-template-columns: 24px auto 24px;
    gap: 10px;
    padding-inline: 16px;
    font-size: 13px;
  }
}


.brand img,
.hero-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-logo img {
  mix-blend-mode: multiply;
}

/* APIRIS HERO TEXT START */

.hero-logo {
  width: min(285px, 44%);
  margin-bottom: 10px;
}

.hero-logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.hero-subtitle {
  margin: 0 0 26px;
  color: #b49348;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.32em;
  white-space: nowrap;
}

.hero h1 {
  margin: 0;
  font-size: clamp(16px, 1.18vw, 20px);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.hero-rule {
  display: grid;
  grid-template-columns: 105px auto 105px;
  align-items: center;
  gap: 13px;
  margin-top: 22px;
  color: #b49348;
}

.hero-rule span {
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(180, 147, 72, 0.08),
    rgba(180, 147, 72, 0.75),
    rgba(180, 147, 72, 0.08)
  );
}

.hero-rule i {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-style: normal;
  line-height: 1;
  transform: translateY(-1px);
}

@media (max-width: 760px) {
  .hero-logo {
    width: min(260px, 66%);
    margin-bottom: 10px;
  }

  .hero-subtitle {
    margin-bottom: 22px;
    font-size: 9px;
    letter-spacing: 0.27em;
  }

  .hero h1 {
    font-size: 17px;
    letter-spacing: 0.08em;
    white-space: normal;
  }

  .hero-rule {
    grid-template-columns: 80px auto 80px;
    margin-top: 20px;
  }
}

/* APIRIS HERO TEXT END */

/* FVロゴ画像内の下余白を一時的に相殺 */
.hero-subtitle {
  margin-top: -28px;
}

@media (max-width: 760px) {
  .hero-subtitle {
    margin-top: -24px;
  }
}

/* FVロゴサイズ調整 */
.hero-logo {
  width: min(370px, 58%);
  margin-bottom: -4px;
}

@media (max-width: 760px) {
  .hero-logo {
    width: min(320px, 78%);
    margin-bottom: -2px;
  }
}


/* テキスト入りFVロゴ */
.hero-logo {
  width: min(410px, 62%);
  margin-bottom: 24px;
}

.hero-logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

@media (max-width: 760px) {
  .hero-logo {
    width: min(340px, 82%);
    margin-bottom: 22px;
  }
}

/* FVキャッチコピー・星マーク最終調整 */
.hero h1 {
  font-weight: 600;
}

.hero-rule i {
  position: relative;
  display: block;
  width: 26px;
  height: 26px;
  font-size: 0;
  color: transparent;
  transform: none;
}

.hero-rule i::before,
.hero-rule i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 26px;
  content: "";
  background: #b49348;
  clip-path: polygon(
    50% 0%,
    57% 38%,
    100% 50%,
    57% 62%,
    50% 100%,
    43% 62%,
    0% 50%,
    43% 38%
  );
  transform: translate(-50%, -50%);
}

.hero-rule i::after {
  width: 16px;
  height: 16px;
  opacity: 0.72;
  transform: translate(-50%, -50%) rotate(45deg);
}

/* FV中央マーク：参考画像の4方向の光へ修正 */
.hero-rule i {
  position: relative;
  display: block;
  width: 30px;
  height: 34px;
  font-size: 0;
  color: transparent;
  transform: none;
}

.hero-rule i::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 34px;
  content: "";
  background: #b49348;
  clip-path: polygon(
    50% 0,
    68% 42%,
    100% 50%,
    68% 58%,
    50% 100%,
    32% 58%,
    0 50%,
    32% 42%
  );
  opacity: 1;
  transform: translate(-50%, -50%);
}

.hero-rule i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 8px;
  content: "";
  background: #b49348;
  clip-path: polygon(
    0 50%,
    42% 30%,
    50% 0,
    58% 30%,
    100% 50%,
    58% 70%,
    50% 100%,
    42% 70%
  );
  opacity: 0.9;
  transform: translate(-50%, -50%);
}

/* FV中央マーク：参考画像の星に再調整 */
.hero-rule i {
  position: relative;
  display: block;
  width: 30px;
  height: 30px;
  font-size: 0;
  color: transparent;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><polygon fill='%23b49348' points='50,0 56,36 85,15 64,44 100,50 64,56 85,85 56,64 50,100 44,64 15,85 36,56 0,50 36,44 15,15 44,36'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transform: none;
}

.hero-rule i::before,
.hero-rule i::after {
  content: none !important;
}

.hero-rule {
  grid-template-columns: 110px auto 110px;
  gap: 14px;
}

.hero-rule span {
  height: 1px;
  background: rgba(180, 147, 72, 0.42);
}

/* FV中央マークを assets/star.png に差し替え */
.hero-rule {
  grid-template-columns: 110px auto 110px;
  gap: 14px;
}

.hero-rule i {
  display: block;
  width: 30px;
  height: 30px;
  font-size: 0;
  line-height: 0;
  color: transparent;
  background-image: url("./assets/star.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.hero-rule i::before,
.hero-rule i::after {
  content: none !important;
}

.hero-rule span {
  height: 1px;
  background: rgba(180, 147, 72, 0.42);
}

@media (max-width: 760px) {
  .hero-rule {
    grid-template-columns: 82px auto 82px;
    gap: 12px;
  }

  .hero-rule i {
    width: 26px;
    height: 26px;
  }
}

/* FVキャッチコピーと装飾を上へ移動 */
.hero h1 {
  transform: translateY(-18px);
}

.hero-rule {
  transform: translateY(-18px);
}

@media (max-width: 760px) {
  .hero h1,
  .hero-rule {
    transform: translateY(-12px);
  }
}

/* FVキャッチコピーと装飾をさらに上へ移動 */
.hero h1,
.hero-rule {
  transform: translateY(-36px);
}

@media (max-width: 760px) {
  .hero h1,
  .hero-rule {
    transform: translateY(-24px);
  }
}

/* FVキャッチコピーと装飾を少しだけさらに上へ */
.hero h1,
.hero-rule {
  transform: translateY(-45px);
}

@media (max-width: 760px) {
  .hero h1,
  .hero-rule {
    transform: translateY(-30px);
  }
}

/* FVキャッチコピーの文字サイズを少し下げる */
.hero h1 {
  font-size: clamp(14px, 1vw, 18px);
}

@media (max-width: 760px) {
  .hero h1 {
    font-size: 16px;
  }
}

/* FVコピーと装飾の間隔・位置調整 */
.hero h1 {
  transform: translate(8px, -45px);
}

.hero-rule {
  margin-top: 8px;
  transform: translateY(-45px);
}

@media (max-width: 760px) {
  .hero h1 {
    transform: translate(4px, -30px);
  }

  .hero-rule {
    margin-top: 8px;
    transform: translateY(-30px);
  }
}

/* FVロゴを枠ごと約1.5倍へ拡大 */
.hero-logo {
  width: min(615px, 90%);
}

.hero-logo img {
  width: 100%;
  height: auto;
  transform: none;
}

/* ヘッダーロゴを70%へ縮小 */
.brand img {
  width: 100%;
  height: auto;
  transform: scale(0.7);
  transform-origin: left center;
}

@media (max-width: 760px) {
  .hero-logo {
    width: min(510px, 92%);
  }

  .hero-logo img {
    transform: none;
  }

  .brand img {
    transform: scale(0.7);
  }
}

/* FVロゴを拡大前のサイズへ戻す */
.hero-logo {
  width: min(410px, 62%);
}

@media (max-width: 760px) {
  .hero-logo {
    width: min(340px, 82%);
  }
}

/* ヘッダーロゴを80%へ調整 */
.brand img {
  transform: scale(0.8);
  transform-origin: left center;
}

@media (max-width: 760px) {
  .brand img {
    transform: scale(0.8);
  }
}

/* ヘッダーメニューのフォントウェイトを1段階上げる */
.global-nav {
  font-weight: 700;
}

/* FV右側画像：building.png 用の表示調整 */
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* FV右側のビルを少し左へ移動 */
.hero-visual {
  overflow: hidden;
}

.hero-visual img {
  transform: translateX(-8%) scale(1.1);
  transform-origin: center center;
}

@media (max-width: 760px) {
  .hero-visual img {
    transform: none;
  }
}

/* FV右側ビル：横幅を広げて左へ寄せる＋左端を白へ馴染ませる */
.hero-visual {
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: translateX(-18%) scale(1.28);
  transform-origin: center center;
}

.hero-visual::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #ffffff 8%,
    rgba(255, 255, 255, 0.98) 16%,
    rgba(255, 255, 255, 0.86) 26%,
    rgba(255, 255, 255, 0.50) 36%,
    rgba(255, 255, 255, 0.00) 48%
  );
  pointer-events: none;
}

@media (max-width: 760px) {
  .hero-visual img {
    transform: translateX(-10%) scale(1.12);
  }

  .hero-visual::before {
    background: linear-gradient(
      90deg,
      #ffffff 0%,
      rgba(255, 255, 255, 0.92) 18%,
      rgba(255, 255, 255, 0.00) 42%
    );
  }
}

/* FV右側画像：右寄せ・見切れなし */
.hero-visual {
  position: relative;
  overflow: hidden;
  background: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-visual img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: right center !important;
  transform: none !important;
  transform-origin: right center !important;
  display: block;
}

.hero-visual::before {
  content: none !important;
}

.hero-visual::after {
  background: none !important;
}

@media (max-width: 760px) {
  .hero-visual {
    justify-content: center;
  }

  .hero-visual img {
    object-fit: cover !important;
    object-position: center center !important;
  }
}

/* FV全体に横幅制限をつけて中央寄せ */
.hero {
  width: min(calc(100% - 80px), 1580px);
  margin: 0 auto;
  grid-template-columns: 46% 54%;
}

/* 左側のロゴ・テキストを中央寄せ */
.hero-copy {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  text-align: center;
  justify-self: center;
}

/* 念のため内部要素も中央寄せ */
.hero-logo,
.hero-subtitle,
.hero h1,
.hero-rule {
  margin-left: auto;
  margin-right: auto;
}

/* 右側画像も横幅制限内で自然に配置 */
.hero-visual {
  width: 100%;
  max-width: 100%;
  justify-self: center;
}

@media (max-width: 760px) {
  .hero {
    width: min(calc(100% - 32px), 100%);
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* =========================================================
   HERO / HEADER 距離感リセット（参考画像寄せ）
   ========================================================= */

/* ヘッダー幅 */
.header-inner {
  width: min(calc(100% - 40px), 1100px) !important;
  margin: 0 auto !important;
}

/* ヘッダーのロゴ・メニュー位置を安定化 */
.brand {
  width: 170px !important;
}

.brand img {
  width: 100% !important;
  height: auto !important;
  transform: scale(0.8) !important;
  transform-origin: left center !important;
}

.global-nav {
  font-weight: 700 !important;
}

/* FV全体 */
.hero {
  width: min(calc(100% - 24px), 1460px) !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: 48% 52% !important;
  height: 615px !important;
  min-height: 615px !important;
  padding-top: var(--header-height) !important;
  background: #ffffff !important;
  overflow: hidden !important;
}

/* 左カラム */
.hero-copy {
  width: 100% !important;
  max-width: 460px !important;
  margin: 0 auto !important;
  padding: 12px 24px 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: column !important;
  text-align: center !important;
  justify-self: center !important;
}

/* ロゴ */
.hero-logo {
  width: min(330px, 88%) !important;
  margin: 0 auto 14px !important;
}

.hero-logo img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  mix-blend-mode: multiply !important;
  transform: none !important;
}

/* サブタイトル */
.hero-subtitle {
  margin: 0 0 30px !important;
  color: #b49348 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 11px !important;
  line-height: 1 !important;
  letter-spacing: 0.28em !important;
  white-space: nowrap !important;
}

/* コピー */
.hero h1 {
  margin: 0 0 18px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.8 !important;
  letter-spacing: 0.08em !important;
  white-space: nowrap !important;
  transform: none !important;
}

/* 星ライン */
.hero-rule {
  display: grid !important;
  grid-template-columns: 110px auto 110px !important;
  align-items: center !important;
  gap: 14px !important;
  margin: 0 auto !important;
  color: #b49348 !important;
  transform: none !important;
}

.hero-rule span {
  display: block !important;
  width: 100% !important;
  height: 1px !important;
  background: rgba(180, 147, 72, 0.42) !important;
}

.hero-rule i {
  display: block !important;
  width: 28px !important;
  height: 28px !important;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  background-image: url("./assets/star.png") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
}

.hero-rule i::before,
.hero-rule i::after {
  content: none !important;
}

/* 右カラム */
.hero-visual {
  width: 100% !important;
  height: 100% !important;
  background: #ffffff !important;
  overflow: hidden !important;
  display: block !important;
  justify-self: stretch !important;
  position: relative !important;
}

.hero-visual img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
}

/* 右画像に不要な白フェード等が残っていたら消す */
.hero-visual::before {
  content: none !important;
}

.hero-visual::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.06),
    transparent 18%
  ) !important;
  pointer-events: none !important;
}

/* スマホ */
@media (max-width: 760px) {
  .hero {
    width: min(calc(100% - 20px), 100%) !important;
    grid-template-columns: 1fr !important;
    height: auto !important;
    min-height: 0 !important;
    padding-top: 68px !important;
  }

  .hero-copy {
    max-width: 100% !important;
    padding: 40px 20px 46px !important;
  }

  .hero-logo {
    width: min(280px, 82%) !important;
    margin-bottom: 12px !important;
  }

  .hero-subtitle {
    margin-bottom: 22px !important;
    font-size: 9px !important;
    letter-spacing: 0.24em !important;
  }

  .hero h1 {
    font-size: 15px !important;
    white-space: normal !important;
    margin-bottom: 16px !important;
  }

  .hero-rule {
    grid-template-columns: 82px auto 82px !important;
    gap: 12px !important;
  }

  .hero-visual {
    min-height: 360px !important;
  }

  .hero-visual img {
    object-position: center center !important;
  }
}

/* =========================================================
   FV背景をフルブリード化
   背景だけ両サイドにはみ出し、ロゴ・文字は上に重ねる
   ========================================================= */

.hero {
  position: relative !important;
  width: min(calc(100% - 40px), 1100px) !important;
  height: 620px !important;
  min-height: 620px !important;
  margin: 0 auto !important;
  padding-top: var(--header-height) !important;
  display: block !important;
  overflow: visible !important;
  background: transparent !important;
}

/* 背景画像レイヤー */
.hero-visual {
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  z-index: 0 !important;
  width: 110vw !important;
  min-width: 110vw !important;
  height: 100% !important;
  transform: translateX(-50%) !important;
  overflow: hidden !important;
  background: #ffffff !important;
}

/* 背景画像そのもの */
.hero-visual img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
}

/* 左のテキストブロックを背景の上に載せる */
.hero-copy {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  max-width: 460px !important;
  height: 100% !important;
  margin: 0 0 0 90px !important;
  padding: 24px 24px 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

/* 不要な左右分割感を消す */
.hero::before,
.hero::after,
.hero-visual::before {
  content: none !important;
}

/* うっすら左から白を残す */
.hero-visual::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.98) 0%,
    rgba(255,255,255,0.96) 15%,
    rgba(255,255,255,0.90) 24%,
    rgba(255,255,255,0.70) 34%,
    rgba(255,255,255,0.28) 46%,
    rgba(255,255,255,0.00) 60%
  ) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

/* ロゴ等の位置の安定化 */
.hero-logo {
  width: min(330px, 88%) !important;
  margin: 0 auto 14px !important;
}

.hero-subtitle {
  margin: 0 0 30px !important;
}

.hero h1 {
  margin: 0 0 18px !important;
}

.hero-rule {
  margin: 0 auto !important;
}

/* 画面がかなり広くても背景がはみ出るように */
@media (min-width: 1800px) {
  .hero-visual {
    width: 120vw !important;
    min-width: 120vw !important;
  }
}

/* スマホ */
@media (max-width: 760px) {
  .hero {
    width: 100% !important;
    height: auto !important;
    min-height: 560px !important;
    padding-top: 68px !important;
  }

  .hero-visual {
    width: 120vw !important;
    min-width: 120vw !important;
    height: 100% !important;
  }

  .hero-copy {
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 44px 20px 48px !important;
  }
}

/* =========================================================
   FV微調整
   - ロゴブロックを左へ
   - ビル上部が切れないようにする
   ========================================================= */

/* 左のロゴ・テキストブロックをもっと左へ */
.hero-copy {
  margin: 0 0 0 28px !important;
  max-width: 440px !important;
}

/* 背景画像は上部を切らないように右上基準で全体表示 */
.hero-visual {
  background: #ffffff !important;
}

.hero-visual img {
  object-fit: contain !important;
  object-position: right top !important;
  width: 100% !important;
  height: 100% !important;
}

/* 広い画面で少しだけ右へ寄せる */
@media (min-width: 1200px) {
  .hero-visual img {
    object-position: 100% 0% !important;
  }
}

/* スマホは従来寄り */
@media (max-width: 760px) {
  .hero-copy {
    margin: 0 auto !important;
    max-width: 100% !important;
  }

  .hero-visual img {
    object-fit: cover !important;
    object-position: center top !important;
  }
}

/* =========================================================
   FV最終位置調整
   - ビル画像の右端が見えないところまで左へ寄せる
   - ロゴ位置は維持
   ========================================================= */

.hero {
  position: relative !important;
}

.hero-visual {
  position: absolute !important;
  top: var(--header-height) !important;
  left: 50% !important;
  z-index: 0 !important;
  width: 110vw !important;
  min-width: 110vw !important;
  height: calc(100% - var(--header-height)) !important;
  transform: translateX(-50%) !important;
  overflow: hidden !important;
  background: #ffffff !important;
}

.hero-visual img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: right top !important;
  transform: none !important;
}

.hero-copy {
  position: absolute !important;
  z-index: 3 !important;
  left: 35px !important;
  top: 118px !important;
  width: 425px !important;
  max-width: 425px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: center !important;
  transform: none !important;
}

.hero-logo {
  width: 310px !important;
  margin: 0 auto 14px !important;
  transform: translateY(6px) !important;
}

.hero-subtitle {
  margin: 0 0 28px !important;
}

.hero h1 {
  margin: 0 0 8px !important;
  white-space: nowrap !important;

  transform: translate(8px, -5px) !important;}

.hero-rule {
  margin: 0 auto !important;
  transform: translateY(-5px) !important;
}



@media (max-width: 760px) {
  .hero-visual {
    top: 68px !important;
    width: 120vw !important;
    min-width: 120vw !important;
    height: calc(100% - 68px) !important;
  }

  .hero-visual img {
    object-fit: cover !important;
    object-position: center top !important;
    transform: none !important;
  }

  .hero-copy {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 44px 20px 48px !important;
  }

  .hero-logo {
    width: min(280px, 82%) !important;
  }
}


/* =========================================================
   事業内容セクション背景をフルブリード化
   グレー背景が左右で切れないようにする
   ========================================================= */
.service-section {
  position: relative !important;
  isolation: isolate !important;
  background: transparent !important;
  overflow: visible !important;
}

.service-section::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 50% !important;
  width: 100vw !important;
  transform: translateX(-50%) !important;
  background: #f5f5f5 !important;
  z-index: -1 !important;
}

/* =========================================================
   事業内容：内容幅は維持して背景だけ画面全幅へ
   ========================================================= */
.service-section {
  background: #f5f5f5 !important;
  box-shadow:
    100vw 0 0 #f5f5f5,
    -100vw 0 0 #f5f5f5 !important;
  overflow: visible !important;
}

/* 前回追加した背景レイヤーを無効化 */
.service-section::before {
  content: none !important;
  display: none !important;
}


/* SERVICE ICON PNG START */
/* 事業内容のPNGアイコン */
.service-icon {
  width: 86px !important;
  height: 86px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.service-icon img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: contain !important;
  transform: scale(1.8) !important;
  transform-origin: center !important;
  mix-blend-mode: multiply !important;
}
/* SERVICE ICON PNG END */


/* SERVICE HEADING STYLE START */
/* 事業内容セクションの見出し調整 */
.service-section .section-label,
.service-section .section-heading h2 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif !important;
  letter-spacing: 7px !important;
}

.service-section .section-label {
  font-weight: 700 !important;
}

.service-section .section-heading h2 {
  font-size: 28px !important;
  font-weight: 600 !important;
}

.service-section .section-heading > span {
  height: 2px !important;
}

@media (max-width: 760px) {
  .service-section .section-heading h2 {
    font-size: 28px !important;
  }
}
/* SERVICE HEADING STYLE END */


/* SERVICE CARD TITLE WEIGHT START */
/* 4つのサービス名のフォントウェイト調整 */
.service-card h3 {
  font-weight: 600 !important;
}
/* SERVICE CARD TITLE WEIGHT END */


/* SERVICE CARD DESCRIPTION ALIGN START */
/* 4つのサービス説明文を中央揃え */
.service-card p {
  text-align: center !important;
}
/* SERVICE CARD DESCRIPTION ALIGN END */


/* SERVICE DESCRIPTION LINE BREAK START */
/* サービス説明文は指定した位置だけで改行 */
.service-card p {
  width: 100% !important;
  max-width: none !important;
  text-align: center !important;
  white-space: nowrap !important;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif !important;
  font-weight: 600 !important;
}

/* スマホでは画面幅からはみ出さないよう調整 */
@media (max-width: 760px) {
  .service-card p {
    font-size: 13px !important;
  }
}
/* SERVICE DESCRIPTION LINE BREAK END */


/* ABOUT HEADING STYLE START */
/* 会社概要見出しを事業内容と同じ数値に統一 */
.about-section .section-label,
.about-section .section-heading h2 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif !important;
}

.about-section .section-label {
  font-weight: 700 !important;
}

.about-section .section-heading h2 {
  font-size: 28px !important;
  font-weight: 550 !important;
  line-height: 1.4 !important;
  letter-spacing: 7px !important;
}

.about-section .section-heading > span {
  width: 66px !important;
  height: 2px !important;
  margin: 12px 0 0 !important;
}

@media (max-width: 760px) {
  .about-section .section-heading h2 {
    font-size: 28px !important;
  }
}
/* ABOUT HEADING STYLE END */


/* ABOUT HEADING POSITION START */
/* 会社概要は左へ6px・上へ4px */
.about-section .section-heading h2 {
  transform: translate(-6px, -4px) !important;
}

/* 下線は文字より2px右へ */
.about-section .section-heading > span {
  transform: translate(-4px, -4px) !important;
}
/* ABOUT HEADING POSITION END */


/* CONTACT HEADING STYLE START */
/* お問い合わせ見出しを事業内容と同じデザインに統一 */
.contact-section .section-label,
.contact-section .section-heading h2 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif !important;
  letter-spacing: 7px !important;
}

.contact-section .section-label {
  font-weight: 700 !important;
}

.contact-section .section-heading h2 {
  font-size: 28px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
}

.contact-section .section-heading > span {
  width: 66px !important;
  height: 2px !important;
  margin: 12px auto 0 !important;
}

@media (max-width: 760px) {
  .contact-section .section-heading h2 {
    font-size: 28px !important;
  }
}
/* CONTACT HEADING STYLE END */


/* CONTACT BUTTON SPACING START */
/* お問い合わせボタンの中央配置・要素間隔・フォント調整 */
.contact-button {
  display: grid !important;
  grid-template-columns: auto auto auto !important;
  align-items: center !important;
  justify-content: center !important;
  width: min(300px, calc(100% - 32px)) !important;
  margin: 0 auto !important;
  padding: 10px 18px !important;
  column-gap: 14px !important;
  box-sizing: border-box !important;
}

.contact-button svg {
  justify-self: center !important;
  margin: 0 !important;
}

.contact-button span {
  justify-self: center !important;
  margin: 0 !important;
  text-align: center !important;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif !important;
  font-weight: 600 !important;
}

.contact-button strong {
  justify-self: center !important;
  margin: 0 !important;
}

@media (max-width: 760px) {
  .contact-button {
    grid-template-columns: auto auto auto !important;
    width: min(300px, calc(100% - 32px)) !important;
    padding: 10px 18px !important;
    column-gap: 14px !important;
  }
}
/* CONTACT BUTTON SPACING END */


/* FOOTER CONTACT ICONS START */
/* フッター連絡先のゴールド線画アイコン */
.footer-info-row {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  margin: 0 0 12px !important;
}

.footer-info-row:last-child {
  margin-bottom: 0 !important;
}

.footer-info-icon {
  display: block !important;
  flex: 0 0 20px !important;
  width: 20px !important;
  height: 20px !important;
  margin-top: 2px !important;
  fill: none !important;
  stroke: #b49348 !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.footer-info-text {
  display: block !important;
  margin: 0 !important;
  line-height: 1.7 !important;
  font-style: normal !important;
  color: #ffffff !important;
}
/* FOOTER CONTACT ICONS END */


/* FOOTER MINCHO FONT START */
/* フッター内のテキストを明朝体に統一 */
.site-footer,
.site-footer a,
.site-footer p,
.site-footer span,
.site-footer i {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif !important;
}
/* FOOTER MINCHO FONT END */


/* FOOTER TEXT SIZE WEIGHT START */
/* フッター内テキストのサイズ・ウェイト調整 */
.footer-info-text {
  font-size: 13px !important;
  font-weight: 600 !important;
}

.footer-nav a {
  font-size: 14px !important;
  font-weight: 600 !important;
}

.site-footer .copyright {
  font-size: 11px !important;
  font-weight: 500 !important;
}
/* FOOTER TEXT SIZE WEIGHT END */


/* FOOTER ADDRESS ICON ALIGN START */
/* 所在地アイコンを郵便番号＋住所の中央高さへ */
.footer-info-row:first-child {
  align-items: center !important;
}

.footer-info-row:first-child .footer-info-icon {
  margin-top: 0 !important;
}
/* FOOTER ADDRESS ICON ALIGN END */


/* FOOTER CENTER ALIGN START */
/* ロゴ・連絡先・ナビを横並びの1グループとして中央配置 */
.footer-inner {
  display: grid !important;
  grid-template-columns: auto auto auto !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  text-align: left !important;
}

.footer-brand {
  margin: 0 !important;
  text-align: left !important;
}

.footer-brand img {
  display: block !important;
  margin: 0 !important;
}

.footer-info {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}

.footer-info-row {
  justify-content: flex-start !important;
  text-align: left !important;
}

.footer-nav {
  display: grid !important;
  justify-content: start !important;
  align-items: center !important;
  margin: 0 !important;
}

.site-footer .copyright {
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

@media (max-width: 760px) {
  .footer-inner {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    justify-items: center !important;
  }
}
/* FOOTER CENTER ALIGN END */


/* FOOTER VISUAL CENTER START */
/* フッター3要素の塊全体を視覚的に左へ調整 */
.footer-inner {
  position: relative !important;
  left: -24px !important;
}

@media (max-width: 760px) {
  .footer-inner {
    left: 0 !important;
  }
}
/* FOOTER VISUAL CENTER END */


/* CONTACT PAGE START */
.contact-page-body {
  background: #ffffff !important;
}

.contact-page-main {
  padding-top: var(--header-height);
  background: #ffffff;
}

.contact-page-hero {
  padding: 82px 24px 54px;
  text-align: center;
  background: #ffffff;
}

.contact-page-hero .section-heading {
  margin: 0;
}

.contact-page-hero .section-label,
.contact-page-hero h1 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  letter-spacing: 7px;
}

.contact-page-hero .section-label {
  margin: 0 0 10px;
  color: #b49348;
  font-size: 13px;
  font-weight: 700;
}

.contact-page-hero h1 {
  margin: 0;
  color: #111111;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.4;
}

.contact-page-hero .section-heading > span {
  display: block;
  width: 66px;
  height: 2px;
  margin: 12px auto 0;
  background: #b49348;
}

.contact-page-lead {
  margin: 28px 0 0;
  color: #222222;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.08em;
}

.contact-form-section {
  padding: 0 24px 100px;
  background: #ffffff;
}

.contact-form {
  width: min(100%, 880px);
  margin: 0 auto;
  padding: 52px 64px 58px;
  background: #f5f5f5;
  box-sizing: border-box;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.14);
}

.contact-form-row:first-child {
  border-top: 1px solid rgba(17, 17, 17, 0.14);
}

.contact-form-row label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #111111;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.contact-form-required,
.contact-form-optional {
  display: inline-grid;
  min-width: 34px;
  min-height: 20px;
  padding: 2px 6px;
  place-items: center;
  box-sizing: border-box;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.contact-form-required {
  color: #ffffff;
  background: #b49348;
}

.contact-form-optional {
  color: #777777;
  border: 1px solid #bdbdbd;
  background: transparent;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  color: #111111;
  border: 1px solid #d4d0c8;
  border-radius: 0;
  outline: none;
  background: #ffffff;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 15px;
  font-weight: 500;
  box-sizing: border-box;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-form input,
.contact-form select {
  height: 48px;
  padding: 0 15px;
}

.contact-form textarea {
  min-height: 190px;
  padding: 14px 15px;
  line-height: 1.8;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #b49348;
  box-shadow: 0 0 0 1px #b49348;
}

.contact-select-wrap {
  position: relative;
}

.contact-select-wrap::after {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 8px;
  height: 8px;
  content: "";
  border-right: 1px solid #777777;
  border-bottom: 1px solid #777777;
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.contact-form select {
  padding-right: 42px;
  appearance: none;
}

.contact-form-row--textarea {
  align-items: start;
}

.contact-form-row--textarea label {
  padding-top: 13px;
}

.contact-consent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 34px auto 26px;
  color: #222222;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.7;
}

.contact-consent input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: #b49348;
}

.contact-submit-button {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: min(300px, 100%);
  min-height: 54px;
  margin: 0 auto;
  padding: 10px 24px;
  color: #ffffff;
  border: 0;
  background: #111111;
  cursor: pointer;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.contact-submit-button strong {
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

.contact-submit-button:hover {
  color: #111111;
  background: #b49348;
}

.contact-form-note {
  margin: 18px 0 0;
  color: #666666;
  text-align: center;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 11px;
  line-height: 1.7;
}

@media (max-width: 760px) {
  .contact-page-hero {
    padding: 58px 20px 40px;
  }

  .contact-page-hero h1 {
    font-size: 28px;
  }

  .contact-page-lead {
    font-size: 14px;
  }

  .contact-form-section {
    padding: 0 16px 72px;
  }

  .contact-form {
    padding: 32px 20px 38px;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px 0;
  }

  .contact-form-row--textarea label {
    padding-top: 0;
  }

  .contact-consent {
    align-items: flex-start;
    margin-top: 26px;
    font-size: 12px;
  }

  .contact-submit-button {
    width: min(300px, 100%);
  }
}
/* CONTACT PAGE END */


/* FINAL SECTION HEIGHT ADJUST START */

/* ヘッダー下の境界線を削除 */
.site-header {
  border-bottom: none !important;
  box-shadow: none !important;
}

/* 事業内容セクションの縦幅を縮小 */
.service-section {
  padding-top: 48px !important;
  padding-bottom: 42px !important;
  box-sizing: border-box !important;
}

.service-section .section-heading {
  margin-bottom: 34px !important;
}

/* 会社概要セクションの縦幅を少し縮小 */
.about-section {
  min-height: 440px !important;
}

.about-image {
  min-height: 440px !important;
}

.about-content {
  padding-top: 34px !important;
  padding-bottom: 34px !important;
}

@media (max-width: 760px) {
  .service-section {
    padding-top: 42px !important;
    padding-bottom: 38px !important;
  }

  .service-section .section-heading {
    margin-bottom: 28px !important;
  }

  .about-section,
  .about-image {
    min-height: 0 !important;
  }

  .about-content {
    padding-top: 34px !important;
    padding-bottom: 34px !important;
  }
}

/* FINAL SECTION HEIGHT ADJUST END */


/* HERO LOGO GAP STAR SIZE START */
/* ロゴとキャッチコピーの間隔を詰める */
.hero-logo {
  margin-bottom: -10px !important;
}

/* 星画像を少し大きくする */
.hero-rule i {
  width: 34px !important;
  height: 34px !important;
  background-size: contain !important;
}
/* HERO LOGO GAP STAR SIZE END */


/* RESPONSIVE FINAL START */

/* 横方向の不要なはみ出しを防止 */
html,
body {
  width: 100%;
  overflow-x: hidden;
}

/* =========================================================
   タブレット：761px〜980px
   ========================================================= */
@media (min-width: 761px) and (max-width: 980px) {
  :root {
    --header-height: 70px;
  }

  /* ヘッダー */
  .header-inner {
    width: calc(100% - 36px) !important;
  }

  .brand {
    width: 140px !important;
  }

  .global-nav {
    gap: 28px !important;
    font-size: 11px !important;
  }

  /* FV */
  .hero {
    width: 100% !important;
    height: 560px !important;
    min-height: 560px !important;
    margin: 0 !important;
    padding-top: var(--header-height) !important;
    overflow: hidden !important;
  }

  .hero-copy {
    position: absolute !important;
    top: 112px !important;
    left: clamp(28px, 5vw, 60px) !important;
    width: 360px !important;
    max-width: 360px !important;
    padding: 0 !important;
  }

  .hero-logo {
    width: 280px !important;
  }

  .hero h1 {
    font-size: 15px !important;
  }

  .hero-rule {
    grid-template-columns: 90px auto 90px !important;
    gap: 12px !important;
  }

  .hero-rule i {
    width: 32px !important;
    height: 32px !important;
  }

  .hero-visual {
    top: var(--header-height) !important;
    width: 112vw !important;
    min-width: 112vw !important;
    height: calc(100% - var(--header-height)) !important;
  }

  .hero-visual img {
    object-fit: cover !important;
    object-position: 64% top !important;
    transform: none !important;
  }

  /* 事業内容：2列 */
  .service-section {
    padding: 52px 24px 46px !important;
  }

  .service-section .section-heading {
    margin-bottom: 34px !important;
  }

  .service-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: min(100%, 820px) !important;
    margin: 0 auto !important;
  }

  .service-card {
    padding: 30px 26px !important;
    border-right: none !important;
    border-bottom: 1px solid var(--line) !important;
  }

  .service-card:nth-child(odd) {
    border-right: 1px solid var(--line) !important;
  }

  .service-card:nth-last-child(-n + 2) {
    border-bottom: none !important;
  }

  .service-card p {
    white-space: normal !important;
  }

  /* 会社概要 */
  .about-section {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) !important;
    min-height: 420px !important;
  }

  .about-image {
    min-height: 420px !important;
  }

  .about-content {
    padding: 38px 34px !important;
  }

  .company-table > div {
    grid-template-columns: 108px minmax(0, 1fr) !important;
  }

  .company-table dd {
    overflow-wrap: anywhere !important;
  }

  /* お問い合わせ */
  .contact-section {
    padding: 52px 24px 54px !important;
  }

  /* フッター */
  .footer-inner {
    grid-template-columns: auto auto auto !important;
    justify-content: center !important;
    width: min(100%, 920px) !important;
    left: 0 !important;
  }

  .footer-brand {
    padding-right: 28px !important;
  }

  .footer-brand img {
    width: 205px !important;
  }

  .footer-info {
    padding: 0 30px !important;
  }

  .footer-nav {
    padding: 0 24px !important;
  }

  /* お問い合わせページ */
  .contact-form {
    width: min(100%, 820px) !important;
    padding: 44px 42px 48px !important;
  }

  .contact-form-row {
    grid-template-columns: 165px minmax(0, 1fr) !important;
    gap: 22px !important;
  }
}

/* =========================================================
   スマホ：760px以下
   ========================================================= */
@media (max-width: 760px) {
  :root {
    --header-height: 64px;
  }

  /* ヘッダー */
  .site-header {
    height: 64px !important;
  }

  .header-inner {
    width: calc(100% - 28px) !important;
    height: 64px !important;
  }

  .brand {
    width: 126px !important;
    flex: 0 0 126px !important;
  }

  .brand img {
    width: 100% !important;
    transform: none !important;
  }

  .menu-button {
    position: relative !important;
    z-index: 103 !important;
    display: grid !important;
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    place-content: center !important;
    gap: 5px !important;
  }

  .menu-button > span:not(.sr-only) {
    display: block !important;
    width: 24px !important;
    height: 1px !important;
    margin: 0 !important;
    background: #111111 !important;
    transition:
      transform 0.2s ease,
      opacity 0.2s ease !important;
  }

  .menu-button[aria-expanded="true"] > span:nth-child(1) {
    transform: translateY(6px) rotate(45deg) !important;
  }

  .menu-button[aria-expanded="true"] > span:nth-child(2) {
    opacity: 0 !important;
  }

  .menu-button[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg) !important;
  }

  .global-nav {
    position: fixed !important;
    top: 64px !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 102 !important;
    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 8px 22px 18px !important;
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08) !important;
    font-size: 13px !important;
  }

  .global-nav.is-open,
  .menu-button[aria-expanded="true"] + .global-nav {
    display: flex !important;
  }

  .global-nav a {
    width: 100% !important;
    padding: 15px 4px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07) !important;
    text-align: center !important;
  }

  .global-nav a:last-child {
    border-bottom: 0 !important;
  }

  .global-nav a::after {
    display: none !important;
  }

  /* FV */
  .hero {
    position: relative !important;
    width: 100% !important;
    height: 560px !important;
    min-height: 560px !important;
    margin: 0 !important;
    padding-top: 64px !important;
    overflow: hidden !important;
  }

  .hero-visual {
    position: absolute !important;
    top: 64px !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    min-width: 100% !important;
    height: calc(100% - 64px) !important;
    transform: none !important;
  }

  .hero-visual img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 68% top !important;
    transform: none !important;
  }

  .hero-visual::after {
    display: block !important;
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.96) 0%,
        rgba(255, 255, 255, 0.82) 42%,
        rgba(255, 255, 255, 0.20) 78%,
        rgba(255, 255, 255, 0) 100%
      ),
      linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(255, 255, 255, 0.85) 48%,
        rgba(255, 255, 255, 0.08) 100%
      ) !important;
    pointer-events: none !important;
  }

  .hero-copy {
    position: absolute !important;
    top: calc(64px + ((100% - 64px) / 2) + 30px) !important;
    left: 0 !important;
    z-index: 3 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 22px !important;
    box-sizing: border-box !important;
    transform: translateY(-50%) !important;
  }

  .hero-logo {
    width: min(250px, 72vw) !important;
    margin: 0 auto -12px !important;
    transform: none !important;
  }

  .hero h1 {
    margin: 0 0 7px !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
    letter-spacing: 0.06em !important;
    white-space: normal !important;
    transform: none !important;
  }

  .hero-rule {
    grid-template-columns: 72px auto 72px !important;
    gap: 10px !important;
    transform: none !important;
  }

  .hero-rule i {
    width: 30px !important;
    height: 30px !important;
  }

  /* 共通見出し */
  .section-label {
    font-size: 12px !important;
  }

  .service-section .section-heading h2,
  .about-section .section-heading h2,
  .contact-section .section-heading h2,
  .contact-page-hero h1 {
    font-size: 27px !important;
    letter-spacing: 6px !important;
  }

  /* 事業内容：1列 */
  .service-section {
    width: 100% !important;
    padding: 44px 20px 38px !important;
  }

  .service-section .section-heading {
    margin-bottom: 26px !important;
  }

  .service-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: min(100%, 460px) !important;
    margin: 0 auto !important;
  }

  .service-card,
  .service-card:first-child,
  .service-card:last-child,
  .service-card:nth-child(odd) {
    padding: 28px 18px !important;
    border-right: none !important;
    border-bottom: 1px solid var(--line) !important;
  }

  .service-card:last-child {
    border-bottom: none !important;
  }

  .service-icon {
    width: 78px !important;
    height: 78px !important;
  }

  .service-icon img {
    transform: scale(1.7) !important;
  }

  .service-card h3 {
    font-size: 17px !important;
  }

  .service-card p {
    width: 100% !important;
    max-width: none !important;
    font-size: 14px !important;
    line-height: 1.9 !important;
    white-space: normal !important;
  }

  /* 会社概要 */
  .about-section {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    min-height: 0 !important;
  }

  .about-image {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    aspect-ratio: 5 / 3 !important;
  }

  .about-image img {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .about-content {
    width: 100% !important;
    padding: 42px 24px 46px !important;
    box-sizing: border-box !important;
  }

  .about-section .section-heading h2 {
    transform: none !important;
  }

  .about-section .section-heading > span {
    transform: none !important;
  }

  .company-table {
    width: 100% !important;
  }

  .company-table > div {
    grid-template-columns: 92px minmax(0, 1fr) !important;
    gap: 14px !important;
    padding: 13px 0 !important;
  }

  .company-table dt {
    font-size: 12px !important;
  }

  .company-table dd {
    min-width: 0 !important;
    font-size: 13px !important;
    line-height: 1.8 !important;
    overflow-wrap: anywhere !important;
  }

  /* お問い合わせ */
  .contact-section {
    padding: 50px 20px 58px !important;
  }

  .contact-lead {
    padding: 0 !important;
    font-size: clamp(10px, 3.2vw, 14px) !important;
    line-height: 1.9 !important;
    white-space: nowrap !important;
  }

  .contact-button {
    grid-template-columns: auto auto auto !important;
    width: min(300px, calc(100% - 16px)) !important;
    padding: 11px 16px !important;
    column-gap: 13px !important;
  }

  .contact-button svg {
    width: 21px !important;
    height: 21px !important;
  }

  .contact-button span {
    font-size: 13px !important;
    white-space: nowrap !important;
  }

  .contact-button strong {
    font-size: 20px !important;
  }

  /* フッター */
  .site-footer {
    padding: 38px 20px 16px !important;
  }

  .footer-inner {
    display: grid !important;
    grid-template-columns: 1fr !important;
    justify-items: stretch !important;
    width: min(100%, 360px) !important;
    max-width: 360px !important;
    margin: 0 auto !important;
    left: 0 !important;
    row-gap: 26px !important;
  }

  .footer-brand {
    justify-content: center !important;
    min-height: 0 !important;
    padding: 0 0 24px !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(180, 147, 72, 0.55) !important;
  }

  .footer-brand img {
    width: min(210px, 76vw) !important;
    margin: 0 auto !important;
  }

  .footer-info {
    width: 100% !important;
    min-height: 0 !important;
    padding: 0 0 24px !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(180, 147, 72, 0.55) !important;
  }

  .footer-info-row {
    width: 100% !important;
    margin-bottom: 12px !important;
  }

  .footer-info-text {
    font-size: 12px !important;
    overflow-wrap: anywhere !important;
  }

  .footer-nav {
    display: grid !important;
    grid-template-columns: repeat(2, auto) !important;
    justify-content: center !important;
    gap: 12px 28px !important;
    padding: 0 !important;
    text-align: center !important;
  }

  .footer-nav a {
    font-size: 13px !important;
  }

  .site-footer .copyright {
    margin-top: 26px !important;
    font-size: 10px !important;
  }

  /* お問い合わせページ */
  .contact-page-main {
    padding-top: 64px !important;
  }

  .contact-page-hero {
    padding: 54px 20px 38px !important;
  }

  .contact-page-lead {
    margin-top: 24px !important;
    font-size: 14px !important;
  }

  .contact-form-section {
    padding: 0 16px 68px !important;
  }

  .contact-form {
    width: 100% !important;
    padding: 28px 20px 36px !important;
  }

  .contact-form-row {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding: 16px 0 !important;
  }

  .contact-form-row--textarea label {
    padding-top: 0 !important;
  }

  .contact-form input,
  .contact-form select {
    height: 46px !important;
  }

  .contact-form textarea {
    min-height: 170px !important;
  }

  .contact-consent {
    align-items: flex-start !important;
    margin: 26px 0 22px !important;
    font-size: 12px !important;
    text-align: left !important;
  }

  .contact-submit-button {
    width: min(300px, 100%) !important;
  }
}

/* =========================================================
   小型スマホ：500px以下
   ========================================================= */
@media (max-width: 500px) {
  .hero {
    height: 520px !important;
    min-height: 520px !important;
  }

  .hero-copy {
    top: calc(64px + ((100% - 64px) / 2) + 30px) !important;
    padding: 0 18px !important;
    transform: translateY(-50%) !important;
  }

  .hero-logo {
    width: min(220px, 70vw) !important;
  }

  .hero h1 {
    font-size: 13px !important;
  }

  .hero-rule {
    grid-template-columns: 58px auto 58px !important;
  }

  .service-section .section-heading h2,
  .about-section .section-heading h2,
  .contact-section .section-heading h2,
  .contact-page-hero h1 {
    font-size: 25px !important;
    letter-spacing: 5px !important;
  }

  .about-content {
    padding-right: 20px !important;
    padding-left: 20px !important;
  }

  .company-table > div {
    grid-template-columns: 1fr !important;
    gap: 5px !important;
    padding: 14px 0 !important;
  }

  .company-table dt {
    align-self: auto !important;
  }

  .contact-button {
    width: min(288px, 100%) !important;
    padding-right: 13px !important;
    padding-left: 13px !important;
    column-gap: 10px !important;
  }

  .footer-inner {
    width: 100% !important;
  }

  .footer-nav {
    gap: 10px 18px !important;
  }

  .contact-form {
    padding-right: 16px !important;
    padding-left: 16px !important;
  }
}

/* 会社概要：黒テキストのウェイト調整 */
.company-table dd {
  font-weight: 500 !important;
}

/* スマホフッター：分割線削除 */
@media (max-width: 760px) {
  .footer-inner,
  .footer-brand,
  .footer-info,
  .footer-nav {
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-left: none !important;
  }

  .footer-inner::before,
  .footer-inner::after,
  .footer-brand::before,
  .footer-brand::after,
  .footer-info::before,
  .footer-info::after,
  .footer-nav::before,
  .footer-nav::after {
    display: none !important;
    content: none !important;
  }
}

/* スマホフッター：各要素を横中央へ配置 */
@media (max-width: 760px) {
  .footer-inner {
    justify-items: center !important;
  }

  .footer-info {
    width: fit-content !important;
    max-width: 100% !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .footer-info-row {
    width: 100% !important;
  }

  .footer-nav {
    width: fit-content !important;
    max-width: 100% !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }
}

/* スマホフッター：ブロック間余白調整 START */
@media (max-width: 760px) {
  .footer-inner {
    row-gap: 10px !important;
  }

  .footer-brand {
    padding-bottom: 0 !important;
  }

  .footer-info {
    padding-bottom: 0 !important;
  }

  .footer-nav {
    margin-top: 12px !important;
  }

  .site-footer .copyright {
    margin-top: 16px !important;
  }
}
/* スマホフッター：ブロック間余白調整 END */

/* スマホフッター：ナビ横一列 START */
@media (max-width: 760px) {
  .footer-nav {
    display: grid !important;
    grid-template-columns: repeat(4, auto) !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    max-width: none !important;
    gap: 0 18px !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .footer-nav a {
    white-space: nowrap !important;
  }
}

@media (max-width: 380px) {
  .footer-nav {
    gap: 0 11px !important;
  }

  .footer-nav a {
    font-size: 12px !important;
  }
}
/* スマホフッター：ナビ横一列 END */

/* スマホメニュー：フルスクリーン調整 START */
@media (max-width: 760px) {
  .site-header {
    z-index: 110 !important;
  }

  .global-nav {
    position: fixed !important;
    top: 64px !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 105 !important;

    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;

    width: 100vw !important;
    max-width: none !important;
    height: auto !important;
    min-height: calc(100vh - 64px) !important;
    margin: 0 !important;
    padding: 36px 28px 54px !important;
    box-sizing: border-box !important;

    gap: 0 !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;

    border: 0 !important;
    background: rgba(255, 255, 255, 0.99) !important;
    box-shadow: none !important;

    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-8px) !important;

    transition:
      opacity 0.22s ease,
      transform 0.22s ease,
      visibility 0.22s ease !important;
  }

  .global-nav.is-open,
  .menu-button[aria-expanded="true"] + .global-nav {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  .global-nav a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: min(100%, 300px) !important;
    min-height: 62px !important;
    padding: 16px 10px !important;
    box-sizing: border-box !important;

    border: 0 !important;
    border-bottom: 1px solid rgba(180, 147, 72, 0.32) !important;

    color: #111111 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    letter-spacing: 0.12em !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  .global-nav a:first-child {
    border-top: 1px solid rgba(180, 147, 72, 0.32) !important;
  }

  .global-nav a.is-current {
    color: #b49348 !important;
  }

  .global-nav a::after {
    display: none !important;
    content: none !important;
  }
}
/* スマホメニュー：フルスクリーン調整 END */

/* RESPONSIVE FINAL END */

.hero-logo-sub {
  margin-top: 10px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--gold, var(--accent-gold, #b89a57));
  text-align: center;
  line-height: 1.4;
}

.hero-logo .hero-logo-sub,
.hero .hero-logo .hero-logo-sub,
p.hero-logo-sub {
  color: #b89a57 !important;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Times New Roman", serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  letter-spacing: 0.22em !important;
  text-align: center !important;
  line-height: 1.4 !important;
  margin-top: 10px !important;
}

/* ===== HERO FINAL FIX START ===== */
.hero {
  position: relative !important;
  min-height: 620px !important;
  height: auto !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  box-sizing: border-box !important;
  padding: 110px 0 72px !important;
}

.hero-copy {
  position: relative !important;
  z-index: 3 !important;
  width: min(48vw, 560px) !important;
  margin: 0 !important;
  padding-left: clamp(48px, 9vw, 150px) !important;
  padding-right: 24px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  transform: none !important;
  inset: auto !important;
  box-sizing: border-box !important;
}

.hero-logo {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
  transform: none !important;
  inset: auto !important;
}

.hero-logo img {
  display: block !important;
  width: min(30vw, 330px) !important;
  max-width: 330px !important;
  height: auto !important;
  margin: 0 auto 6px !important;
  padding: 0 !important;
  clip-path: none !important;
}

.hero-logo-sub,
.hero-logo .hero-logo-sub,
.hero .hero-logo .hero-logo-sub,
p.hero-logo-sub {
  position: relative !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #b89a57 !important;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Times New Roman", serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.2em !important;
  line-height: 1.25 !important;
  text-align: center !important;
  transform: none !important;
  inset: auto !important;
  white-space: nowrap !important;
}

#hero-title,
.hero-copy h1 {
  position: relative !important;
  display: block !important;
  margin: 24px 0 0 !important;
  padding: 0 !important;
  color: #111 !important;
  font-size: clamp(22px, 2vw, 32px) !important;
  line-height: 1.55 !important;
  letter-spacing: 0.08em !important;
  text-align: center !important;
  transform: none !important;
  inset: auto !important;
  white-space: nowrap !important;
}

.hero-rule {
  display: none !important;
}

.hero-visual {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 58% !important;
  height: 100% !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

.service,
#service {
  position: relative !important;
  z-index: 2 !important;
  clear: both !important;
  margin-top: 0 !important;
}

@media (max-width: 768px) {
  .hero {
    min-height: 560px !important;
    padding: 92px 0 58px !important;
    justify-content: center !important;
  }

  .hero-copy {
    width: 100% !important;
    padding: 0 24px !important;
  }

  .hero-logo img {
    width: min(66vw, 290px) !important;
    max-width: 290px !important;
    margin-bottom: 5px !important;
  }

  .hero-logo-sub,
  .hero-logo .hero-logo-sub,
  .hero .hero-logo .hero-logo-sub,
  p.hero-logo-sub {
    font-size: 11px !important;
    letter-spacing: 0.15em !important;
  }

  #hero-title,
  .hero-copy h1 {
    margin-top: 20px !important;
    font-size: clamp(18px, 4.8vw, 25px) !important;
    white-space: normal !important;
  }

  .hero-visual {
    width: 100% !important;
    opacity: 0.35 !important;
  }
}
/* ===== HERO FINAL FIX END ===== */

/* ===== APIRIS SERVICE 5 ITEMS START ===== */

.service-icon--svg svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: #111111;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: scale(1.1);
}

.service-icon--svg svg .gold {
  stroke: #b49348;
}

/* PC：上段3件＋下段2件を中央配置 */
@media (min-width: 981px) {
  .service-grid {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    width: min(1180px, calc(100% - 120px)) !important;
    max-width: 1180px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    column-gap: 0 !important;
    row-gap: 0 !important;
  }

  .service-card {
    grid-column: span 2 !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 0 26px !important;
    border-right: 1px solid var(--line) !important;
    border-bottom: 1px solid var(--line) !important;
    overflow: visible !important;
  }

  .service-card:nth-child(3) {
    border-right: none !important;
  }

  .service-card:nth-child(4) {
    grid-column: 2 / span 2 !important;
    border-bottom: none !important;
  }

  .service-card:nth-child(5) {
    grid-column: 4 / span 2 !important;
    border-right: none !important;
    border-bottom: none !important;
  }

  .service-card h3 {
    font-size: clamp(16px, 1.2vw, 21px) !important;
    line-height: 1.5 !important;
    min-height: 3em !important;
    margin-bottom: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
  }

  .service-card p {
    font-size: clamp(14px, 0.98vw, 16px) !important;
    line-height: 1.9 !important;
    text-align: center !important;
    margin: 0 auto !important;
  }

  .service-icon {
    margin-bottom: 22px !important;
  }
}

/* タブレット：2列＋最後の1件を中央配置 */
@media (min-width: 761px) and (max-width: 980px) {
  .service-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .service-card {
    grid-column: auto !important;
    width: auto !important;
    border-right: 1px solid var(--line) !important;
    border-bottom: 1px solid var(--line) !important;
  }

  .service-card:nth-child(even) {
    border-right: none !important;
  }

  .service-card:nth-child(5) {
    grid-column: 1 / -1 !important;
    width: 50% !important;
    justify-self: center !important;
    border-right: none !important;
    border-bottom: none !important;
  }
}

/* スマホ：従来どおり1列 */
@media (max-width: 760px) {
  .service-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    grid-column: auto !important;
    width: 100% !important;
    justify-self: stretch !important;
    border-right: none !important;
    border-bottom: 1px solid var(--line) !important;
  }

  .service-card:last-child {
    border-bottom: none !important;
  }

  .service-icon--svg svg {
    transform: scale(1.15);
  }
}

/* ===== APIRIS SERVICE 5 ITEMS END ===== */

/* ===== APIRIS SERVICE HORIZONTAL CARD START ===== */

/* PC：アイコン左、右側に業務名と詳細 */
@media (min-width: 981px) {
  .service-card {
    display: grid !important;
    grid-template-columns: 64px minmax(0, 1fr) !important;
    grid-template-rows: auto auto !important;
    grid-template-areas:
      "icon title"
      "icon description" !important;
    column-gap: 22px !important;
    row-gap: 10px !important;
    align-content: center !important;
    align-items: start !important;
    min-height: 190px !important;
    padding: 34px 30px !important;
    text-align: left !important;
    box-sizing: border-box !important;
  }

  .service-card .service-icon {
    grid-area: icon !important;
    width: 64px !important;
    height: 64px !important;
    margin: 2px 0 0 !important;
    align-self: start !important;
    justify-self: center !important;
  }

  .service-card .service-icon img,
  .service-card .service-icon svg {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    transform: none !important;
  }

  .service-card h3 {
    grid-area: title !important;
    display: block !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: clamp(16px, 1.18vw, 20px) !important;
    line-height: 1.5 !important;
    letter-spacing: 0.05em !important;
    text-align: left !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
  }

  .service-card p {
    grid-area: description !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: clamp(13px, 0.92vw, 15px) !important;
    line-height: 1.85 !important;
    letter-spacing: 0.035em !important;
    text-align: left !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }
}

/* ===== APIRIS SERVICE HORIZONTAL CARD END ===== */

/* ===== APIRIS SERVICE ICON SPACING FIX START ===== */

@media (min-width: 981px) {
  /* 全カードで分割線を越えないようにする */
  .service-card {
    min-width: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    padding-right: 42px !important;
    padding-left: 42px !important;
  }

  .service-card h3,
  .service-card p {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
  }

  /* 上段3項目のアイコンを拡大 */
  .service-card:nth-child(-n+3) {
    grid-template-columns: 86px minmax(0, 1fr) !important;
    column-gap: 28px !important;
  }

  .service-card:nth-child(-n+3) .service-icon {
    width: 86px !important;
    height: 86px !important;
    margin-top: 0 !important;
    overflow: visible !important;
  }

  .service-card:nth-child(-n+3) .service-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    transform: scale(1.18) !important;
    transform-origin: center !important;
  }

  /* 下段2項目も説明文をカード内で折り返す */
  .service-card:nth-child(n+4) {
    grid-template-columns: 72px minmax(0, 1fr) !important;
    column-gap: 26px !important;
  }

  .service-card p {
    line-height: 1.85 !important;
  }
}

/* ===== APIRIS SERVICE ICON SPACING FIX END ===== */

/* ===== APIRIS SERVICE FINAL ADJUST START ===== */

@media (min-width: 981px) {
  /* カード間の分割線をすべて削除 */
  .service-card,
  .service-card:nth-child(3),
  .service-card:nth-child(4),
  .service-card:nth-child(5),
  .service-card:last-child {
    border: none !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-left: none !important;
  }

  .service-card::before,
  .service-card::after {
    display: none !important;
  }

  /* 上段3項目のアイコンをさらに拡大 */
  .service-card:nth-child(-n+3) {
    grid-template-columns: 104px minmax(0, 1fr) !important;
    column-gap: 24px !important;
  }

  .service-card:nth-child(-n+3) .service-icon {
    width: 104px !important;
    height: 104px !important;
    overflow: visible !important;
  }

  .service-card:nth-child(-n+3) .service-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    transform: scale(1.28) !important;
    transform-origin: center !important;
  }

  /* 下段2項目のアイコンを10px下へ */
  .service-card:nth-child(n+4) .service-icon {
    transform: translateY(10px) !important;
  }
}

/* ===== APIRIS SERVICE FINAL ADJUST END ===== */

/* ===== APIRIS SERVICE ROW GAP START ===== */

@media (min-width: 981px) {
  /* 下段2項目を上へ20px詰める */
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    margin-top: -20px !important;
  }
}

/* ===== APIRIS SERVICE ROW GAP END ===== */

/* ===== APIRIS SERVICE MOVE UP START ===== */

@media (min-width: 981px) {
  /* 上段・下段をまとめて10px上へ移動 */
  .service-grid {
    transform: translateY(-10px) !important;
  }
}

/* ===== APIRIS SERVICE MOVE UP END ===== */

/* ===== APIRIS SERVICE REVEAL START ===== */

/*
  各事業内容を
  ・右から16pxだけ移動
  ・フェードイン
  ・左から順に表示
*/
@media (prefers-reduced-motion: no-preference) {
  .service-grid.service-reveal-ready .service-card {
    opacity: 0;
    transform: translateX(16px);
    transition:
      opacity 0.9s ease,
      transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
  }

  .service-grid.service-reveal-ready.is-visible .service-card {
    opacity: 1;
    transform: translateX(0);
  }

  .service-grid.service-reveal-ready.is-visible
    .service-card:nth-child(1) {
    transition-delay: 0s;
  }

  .service-grid.service-reveal-ready.is-visible
    .service-card:nth-child(2) {
    transition-delay: 0.12s;
  }

  .service-grid.service-reveal-ready.is-visible
    .service-card:nth-child(3) {
    transition-delay: 0.24s;
  }

  .service-grid.service-reveal-ready.is-visible
    .service-card:nth-child(4) {
    transition-delay: 0.36s;
  }

  .service-grid.service-reveal-ready.is-visible
    .service-card:nth-child(5) {
    transition-delay: 0.48s;
  }
}

/* ===== APIRIS SERVICE REVEAL END ===== */

/* ===== APIRIS ABOUT WIDTH SYNC START ===== */

@media (min-width: 981px) {
  /*
    会社概要の情報欄を
    ヘッダー右端までの横幅に揃える
  */
  .apiris-about-info-width-sync {
    width: var(--apiris-about-info-width) !important;
    max-width: none !important;
    margin-right: auto !important;
    margin-left: 0 !important;
    box-sizing: border-box !important;
  }

  .apiris-about-info-width-sync *,
  .apiris-about-business-row * {
    box-sizing: border-box !important;
  }

  /* 事業内容を指定幅内で自然に折り返す */
  .apiris-about-business-row > :last-child {
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    line-height: 1.8 !important;
  }
}

/* ===== APIRIS ABOUT WIDTH SYNC END ===== */

/* ===== APIRIS ABOUT REVEAL START ===== */

@media (prefers-reduced-motion: no-preference) {
  .about-reveal-ready {
    opacity: 0;
    transform: translateY(20px);
    transition:
      opacity 0.95s ease,
      transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
  }

  .about-reveal-ready.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== APIRIS ABOUT REVEAL END ===== */

/* ===== APIRIS ABOUT SP REVEAL START ===== */

@media (max-width: 760px) and (prefers-reduced-motion: no-preference) {
  .about-reveal-ready {
    opacity: 0 !important;
    transform: translateY(20px) !important;
    transition:
      opacity 0.95s ease,
      transform 0.95s cubic-bezier(0.22, 1, 0.36, 1) !important;
    will-change: opacity, transform;
  }

  .about-reveal-ready.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
}

/* ===== APIRIS ABOUT SP REVEAL END ===== */

/* ===== APIRIS SERVICE PC BREAK START ===== */

/* SP・タブレットでは強制改行しない */
br.service-pc-break {
  display: none;
}

/* PC版のみ指定位置で改行 */
@media (min-width: 981px) {
  br.service-pc-break {
    display: initial;
  }
}

/* ===== APIRIS SERVICE PC BREAK END ===== */

/* ===== FIRE DESCRIPTION TWO LINES START ===== */

@media (min-width: 981px) {
  /* 防火対象物点検：アイコンサイズを保ちながら文章幅を確保 */
  .service-card:nth-child(3) {
    grid-template-columns: 84px minmax(0, 1fr) !important;
    column-gap: 18px !important;
    padding-right: 20px !important;
    padding-left: 20px !important;
    overflow: visible !important;
  }

  .service-card:nth-child(3) .service-icon {
    width: 104px !important;
    height: 104px !important;
    transform: translateX(-10px) !important;
  }

  .service-card:nth-child(3) p {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    font-size: clamp(13px, 0.9vw, 15px) !important;
    letter-spacing: 0.02em !important;
    line-height: 1.9 !important;
    overflow: visible !important;
  }

  .service-card:nth-child(3) .service-description-line {
    display: inline-block !important;
  }

  .service-card:nth-child(3) .service-description-line--long {
    white-space: nowrap !important;
  }
}

/* ===== FIRE DESCRIPTION TWO LINES END ===== */

/* ===== PC HEADER LOGO SIZE ADJUST START ===== */

@media (min-width: 981px) {
  .site-header .brand,
  .header .brand,
  header .brand {
    width: 190px !important;
  }

  .site-header .brand img,
  .header .brand img,
  header .brand img {
    width: 100% !important;
    height: auto !important;
  }
}

/* ===== PC HEADER LOGO SIZE ADJUST END ===== */

/* ===== FOOTER EXACT LOGO COLOR START ===== */

.site-footer,
.site-footer .footer-inner,
.site-footer .footer-brand {
  background: #131212 !important;
}

/* ===== FOOTER EXACT LOGO COLOR END ===== */
