@charset "utf-8";
/*-------common------*/
html {
  font-size: 62.5%;
}
body {
  font-size: var(--b-fs);
  color: var(--b-color);
  font-family: var(--b-font-family);
  letter-spacing: var(--b-ls);
  line-height: var(--b-lh);
  font-weight: var(--b-fw);
  margin: 0;
  /* 黒地。梅鉢紋は Figma の配置どおり個別に置く（.p-index-deco / .l-bg-ume） */
  background-color: var(--c-black);
  overflow-x: hidden;
  position: relative;
}
/* 見出しは明朝 */
h1,
h2,
h3,
h4 {
  font-family: var(--f-serif);
}
/* =====================
  背景：星のきらめき
===================== */
.l-bg-stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.l-bg-stars__layer {
  position: absolute;
  inset: 0;
  display: block;
  background-repeat: repeat;
  will-change: opacity;
}
.l-bg-stars__layer--s {
  background-image: url("../img/common/bg-stars1.svg");
  background-size: 640px;
  animation: twinkle-s 3.4s ease-in-out infinite;
}
.l-bg-stars__layer--m {
  background-image: url("../img/common/bg-stars2.svg");
  background-size: 760px;
  animation: twinkle-m 5.6s ease-in-out 0.9s infinite;
}
.l-bg-stars__layer--l {
  background-image: url("../img/common/bg-stars3.svg");
  background-size: 900px;
  animation: twinkle-l 8s ease-in-out 1.8s infinite;
}
/* 背景より前面にコンテンツを置く */
.l-header,
main,
.l-footer,
.c-pagetop,
.c-footer-icons {
  position: relative;
  z-index: 1;
}
p {
  margin: 0;
}
a {
  text-decoration: none;
  color: var(--b-color);
  transition: 0.25s ease-in-out;
}
a:hover {
  opacity: 0.6;
}
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
  font-size: var(--b-fs);
}
img {
  max-width: 100%;
  vertical-align: middle;
  width: auto;
  /* WPが出力する height 属性で縦に伸びないようにする
     （aspect-ratio / object-fit を使う画像がこれで潰れる） */
  height: auto;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}
th {
  font-weight: 500;
}
li {
  list-style: none;
  margin: 0;
  padding: 0;
}
ul {
  margin: 0;
  padding: 0;
}
ol {
  padding: 0;
}
em {
  font-style: normal;
}
dl {
  margin: 0;
}
dt {
  margin: 0;
}
dd {
  margin: 0;
}
.SP {
  display: none;
}
/* =====================
  Layout / Box
===================== */
.l-inner {
  padding-inline: 5.55%;
}
.u-w-fit {
  width: fit-content;
}
.u-mx-auto {
  margin-inline: auto;
}
.u-pos-rel {
  position: relative;
}
.u-z-1 {
  z-index: 1;
}
.u-z-2 {
  z-index: 2;
}
/* =====================
  Display
===================== */
.u-flex {
  display: flex;
}
.u-flex-re {
  flex-direction: row-reverse;
}
.u-flex-col-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.u-block {
  display: block;
}
.u-inline-block {
  display: inline-block;
}
/* =====================
  Flex Align
===================== */
.u-ai-center {
  align-items: center;
}
.u-ai-start {
  align-items: flex-start;
}
.u-ai-end {
  align-items: flex-end;
}
.u-jc-center {
  justify-content: center;
}
.u-jc-start {
  justify-content: flex-start;
}
.u-jc-between {
  justify-content: space-between;
}
.u-jc-end {
  justify-content: flex-end;
}
.u-flex-1 {
  flex: 1;
}
.u-flex-wrap {
  flex-wrap: wrap;
}
/* =====================
  Grid
===================== */
.u-grid {
  display: grid;
}
.u-grid-col-2 {
  grid-template-columns: repeat(2, 1fr);
}
.u-grid-col-3 {
  grid-template-columns: repeat(3, 1fr);
}
.u-grid-col-4 {
  grid-template-columns: repeat(4, 1fr);
}
/* =====================
  Typography
===================== */
.u-fw300 {
  font-weight: 300;
}
.u-fw400 {
  font-weight: 400;
}
.u-fw500 {
  font-weight: 500;
}
.u-fw600 {
  font-weight: 600;
}
.u-fw700 {
  font-weight: 700;
}
.u-fw900 {
  font-weight: 900;
}

.u-lh10 {
  line-height: 1;
}
.u-lh12 {
  line-height: 1.2;
}
.u-lh14 {
  line-height: 1.4;
}
.u-lh16 {
  line-height: 1.6;
}
.u-lh20 {
  line-height: 2;
}

.u-ls005 {
  letter-spacing: 0.05em;
}
.u-ls01 {
  letter-spacing: 0.1em;
}
.u-ls0 {
  letter-spacing: 0;
}

.u-tc {
  text-align: center;
}
.u-uppercase {
  text-transform: uppercase;
}

/* =====================
  Color
===================== */
.u-cwhite {
  color: #fff;
}
.u-cblack {
  color: #000;
}

.u-bwhite {
  background: #fff;
}
.u-bblack {
  background: #000;
}

/* =====================
  Spacing
===================== */
.u-mr-01 {
  margin-right: 1em;
}

/* =====================
  Page
===================== */
.u-page-404 {
  padding: 150px 0;
}

/* =====================
  Reset
===================== */
* {
  box-sizing: border-box;
}
.u-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
/*-------common-end------*/
/* =====================================================
  ヘッダー / フッター（全ページ共通）
===================================================== */
/*-------hd------*/
/* ヘッダーは不透過（Figma注記）なので被せずにフローで置き、sticky で追従させる。
   .is-fixed はロゴの出し分けにだけ使う */
.l-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 500;
  /* Figma注記：background 000000／透過なし */
  background: var(--c-black);
}
.l-header.is-fixed {
  background: var(--c-black);
}
.l-header__inner {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, var(--px-40), 40px);
  min-height: clamp(64px, var(--px-100), 100px);
  padding-inline: clamp(16px, var(--px-55), 56px)
    clamp(16px, var(--px-47), 47px);
}
/* --- ロゴ＋サイト種別 --- */
.l-header__brand {
  display: flex;
  align-items: flex-start;
  gap: clamp(10px, var(--px-24), 24px);
  flex-shrink: 0;
}
.c-logo {
  flex-shrink: 0;
  /* 黒ボックスはバー(100px)より背が高く、下にせり出す。
     はみ出す分を負のマージンで相殺し、バー自体は伸ばさない */
  margin-block: clamp(9px, 0.9vw, 13px) calc(-1 * clamp(64px, 7.08vw, 102px));
}
.c-logo__link {
  display: block;
  width: clamp(186px, 17.99vw, 259px);
  padding: clamp(7px, 0.76vw, 11px) clamp(12px, var(--px-18), 18px);
  background: var(--c-black);
}
.c-logo__img {
  width: 100%;
  height: auto;
}
/* 固定時は横長ロゴに差し替わる（Figma：ヘッダースクロールで固定） */
.c-logo__img--bar {
  display: none;
}
.l-header.is-fixed .c-logo {
  margin-block: clamp(12px, 1.6vw, 23px) 0;
}
.l-header.is-fixed .c-logo__link {
  width: clamp(210px, 22.08vw, 318px);
  padding: 0;
  background: none;
}
.l-header.is-fixed .c-logo__img--box {
  display: none;
}
.l-header.is-fixed .c-logo__img--bar {
  display: block;
}
.l-header__sitetype {
  margin-top: clamp(18px, 2.64vw, 38px);
  font-size: clamp(14px, var(--px-20), 20px);
  line-height: 1.45;
  white-space: nowrap;
}
.l-header__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: clamp(6px, 0.76vw, 11px);
  margin-left: auto;
  padding-block: clamp(8px, var(--px-12), 12px);
}
/* TEL・お問い合わせ */
.l-header__contact {
  display: flex;
  align-items: center;
  gap: clamp(12px, var(--px-30), 30px);
}
.c-header-tel {
  display: flex;
  align-items: center;
  gap: clamp(6px, var(--px-12), 12px);
  font-family: var(--f-serif);
  font-weight: 700;
  line-height: 1;
}
.c-header-tel img {
  width: clamp(20px, var(--px-27), 27px);
  height: auto;
}
.c-header-tel__num {
  font-size: clamp(18px, var(--px-24), 24px);
}
.c-header-mail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, var(--px-12), 12px);
  width: clamp(130px, var(--px-166), 166px);
  min-height: clamp(36px, var(--px-44), 44px);
  padding-inline: 1em;
  border-radius: 999px;
  background: var(--c-red);
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: clamp(13px, var(--px-16), 16px);
  line-height: 1.2;
  white-space: nowrap;
}
.c-header-mail img {
  width: clamp(16px, var(--px-20), 20px);
  height: auto;
}
/* グロナビ */
.c-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(16px, var(--px-60), 60px);
}
.c-nav__item a {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: clamp(13px, var(--px-16), 16px);
  line-height: 1.2;
  white-space: nowrap;
}
.c-nav__item a:hover {
  color: var(--c-red);
  opacity: 1;
}
/*-------ft-----*/
.l-footer {
  position: relative;
  padding-block: clamp(20px, 2.29vw, 33px) clamp(6px, 0.49vw, 7px);
}
/* 背景：GAWON柄タイル（Figma：477×464 を敷き詰め／不透明度15%） */
.l-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/common/bg-pattern.png") repeat;
  background-size: 33.125% auto;
  opacity: 0.15;
  pointer-events: none;
}
.l-footer__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 11.8%;
  padding-inline: 9.38% 11.18%;
}
.l-footer__map {
  width: 60.2%;
  aspect-ratio: 689 / 424;
}
.l-footer__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.l-footer__info {
  flex: 1;
  min-width: 0;
  margin-top: clamp(16px, 3.4vw, 49px);
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: clamp(12px, var(--px-16), 16px);
  /* Figma：16px に対して行送り 60px */
  line-height: 3.75;
  letter-spacing: 0;
  white-space: nowrap;
}
/*-------copyright------*/
.c-copyright {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: clamp(52px, 5.76vw, 83px);
  margin-top: clamp(30px, 5.56vw, 80px);
  background: var(--c-red);
}
.c-copyright__text {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: clamp(12px, var(--px-16), 16px);
  line-height: 1.4;
  color: var(--c-white);
}
/*-------pagetop------*/
#page-top {
  position: fixed;
  right: 5%;
  bottom: clamp(24px, 3.5vw, 50px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
  z-index: 600;
}
#page-top.is-show {
  opacity: 1;
  visibility: visible;
}
.c-pagetop__link {
  display: block;
}
.c-pagetop__link img {
  width: clamp(56px, 6.11vw, 88px);
  height: auto;
}
/*-------SP 固定バー------*/
.c-footer-icons {
  display: none;
  justify-content: space-around;
  align-items: stretch;
  position: fixed;
  z-index: 701;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100%;
}
.c-fixed-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  background: var(--c-red);
  font-family: var(--f-serif);
  font-weight: 700;
  line-height: 1;
  padding-block: 12px;
}
/* Figma（SP）：TEL 188 / メール 96 / PAGE TOP 88 の3分割 */
.c-fixed-btn--tel {
  flex: 188;
  font-size: 22px;
  letter-spacing: 0.06em;
}
.c-fixed-btn--mail {
  flex: 96;
  font-size: 16px;
}
.c-fixed-btn img {
  width: 22px;
  height: auto;
}
/*-------hd SP------*/
@media screen and (max-width: 820px) {
  .c-nav__list {
    gap: clamp(12px, 2.4vw, 24px);
  }
  .c-header-tel__num {
    font-size: clamp(16px, 2vw, 20px);
  }
}
@media screen and (max-width: 680px) {
  /* Figma SP：バー50px／横長ロゴ＋その下にサイト表記／右にハンバーガー */
  .l-header__inner {
    align-items: center;
    min-height: 50px;
    padding-inline: 2.4vw 2.93vw;
  }
  .l-header__brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .c-logo {
    margin-block: 0;
  }
  .c-logo__link {
    width: 43.2vw;
    padding: 0;
    background: none;
  }
  /* SP は常に横長ロゴ */
  .c-logo__img--box {
    display: none;
  }
  .c-logo__img--bar {
    display: block;
  }
  .l-header__sitetype {
    margin-top: 2px;
    margin-left: 7.2vw;
    font-size: 3.2vw;
    line-height: 1.2;
  }
  /* SP は TEL／メールを画面下の固定バーに逃がす */
  .l-header__contact {
    display: none;
  }
}
/*-------ft SP------*/
@media screen and (max-width: 680px) {
  /* SP は 会社情報 → 地図 の順に縦積み（Figma SP） */
  .l-footer__inner {
    flex-direction: column;
    gap: 24px;
    padding-inline: 5.33%;
  }
  .l-footer__map {
    order: 2;
  }
  .l-footer__info {
    order: 1;
  }
  .l-footer__map {
    width: 100%;
  }
  .l-footer__info {
    margin-top: 0;
    line-height: 2.4;
    white-space: normal;
  }
  /* 固定バーの右端に PAGE TOP を置く（Figma：88px） */
  .c-footer-icons {
    padding-right: 88px;
  }
  #page-top {
    right: 0;
    bottom: 0;
    width: 88px;
  }
  .c-pagetop__link img {
    width: 72px;
  }
  /* 固定バーに隠れないよう下に余白 */
  body {
    padding-bottom: 89px;
  }
}
input[type="submit"] {
  font-family: "Noto Serif JP", serif;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: none;
  cursor: pointer;
}
input[type="submit"]:hover {
}
span.wpcf7-spinner {
  display: none;
}
/*lightbox*/
/* 記事本文の画像：拡大できることを示す */
.p-single__body img.is-zoomable {
  cursor: zoom-in;
}
.p-single__body img.is-zoomable:focus-visible {
  outline: 3px solid var(--c-gold-light);
  outline-offset: 2px;
}
/* 開いている間は背面をスクロールさせない */
body.is-lightbox-open {
  overflow: hidden;
}
#lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  justify-content: center;
  align-items: center;
  gap: clamp(4px, 1.4vw, 20px);
  padding: clamp(48px, 6vw, 80px) clamp(8px, 3vw, 40px);
  background: rgba(0, 0, 0, 0.88);
}
#lightbox-overlay.is-open {
  display: flex;
}
.lightbox__figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8em;
  max-height: 100%;
}
.lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - clamp(120px, 18vw, 220px));
  width: auto;
  object-fit: contain;
}
.lightbox__caption {
  font-size: clamp(12px, var(--px-14), 14px);
  line-height: 1.6;
  text-align: center;
  color: var(--c-white);
}
/* 閉じる（×） */
.lightbox__close {
  position: absolute;
  top: clamp(12px, 2vw, 28px);
  right: clamp(12px, 2vw, 28px);
  width: clamp(36px, 3.5vw, 48px);
  height: clamp(36px, 3.5vw, 48px);
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}
.lightbox__close::before,
.lightbox__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 15%;
  width: 70%;
  height: 3px;
  background: var(--c-white);
}
.lightbox__close::before {
  transform: rotate(45deg);
}
.lightbox__close::after {
  transform: rotate(-45deg);
}
/* 前後の送り */
.lightbox__nav {
  position: relative;
  flex-shrink: 0;
  width: clamp(32px, 3vw, 44px);
  height: clamp(32px, 3vw, 44px);
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}
.lightbox__nav::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40%;
  height: 40%;
  border-top: 3px solid var(--c-white);
  border-right: 3px solid var(--c-white);
}
.lightbox__nav--prev::before {
  transform: translate(-30%, -50%) rotate(-135deg);
}
.lightbox__nav--next::before {
  transform: translate(-70%, -50%) rotate(45deg);
}
.lightbox__close:hover::before,
.lightbox__close:hover::after,
.lightbox__nav:hover::before {
  border-color: var(--c-gold-light);
  background: var(--c-gold-light);
}
.lightbox__nav:hover::before {
  background: none;
}
.lightbox__close:focus-visible,
.lightbox__nav:focus-visible {
  outline: 2px solid var(--c-gold-light);
  outline-offset: 2px;
}
@media screen and (max-width: 680px) {
  .lightbox__nav {
    position: absolute;
    bottom: clamp(12px, 4vw, 24px);
  }
  .lightbox__nav--prev {
    left: 20%;
  }
  .lightbox__nav--next {
    right: 20%;
  }
}
/*-------ipad----*/
@media screen and (max-width: 1180px) {
}
/*-------ipad-air----*/
/*-------iphone----*/
@media screen and (max-width: 680px) {
  .u-flex,
  .u-flex.u-flex-re,
  dl .row {
    flex-direction: column;
  }
  .u-grid {
    grid-template-columns: 1fr;
  }
  .u-grid.u-grid-col-2,
  .u-grid.u-grid-col-3,
  .u-grid.u-grid-col-4 {
    grid-template-columns: 1fr;
  }
  body .SP {
    display: block;
  }

  body .PC {
    display: none;
  }
  .c-footer-icons {
    display: flex;
  }
  .u-tc.u-SPtl {
    text-align: left;
  }
  .fixed-wrap {
    position: fixed;
    animation: none;
  }
}
