@charset "utf-8";
/*-------common------*/
html {
  font-size: 62.5%;
  /* scroll-behavior: smooth; */
}
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;
  background-image: url(../img/common/bg.jpg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center top;
}
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;
  font-size: var(--b-fs);
  line-height: 1.2;
}
img {
  max-width: 100%;
  vertical-align: middle;
  width: 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;
}
em {
  font-style: normal;
}
dl {
  margin: 0;
}
dt {
  margin: 0;
}
dd {
  margin: 0;
}
dl .row {
  display: flex;
}
.p-top-mv__img .SP,
.SP {
  display: none;
}
.TAB820 {
  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;
}
/*-------common-end------*/
.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%;
  /* padding-bottom: calc(env(safe-area-inset-bottom) / 2); */
}
/*-------hd------*/
.fixed-wrap.is-fixed {
  position: fixed;
  animation: slideDown 0.4s ease-out;
}
@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
/*-------ft------*/
#page-top {
  position: fixed;
  right: 7.7%;
  bottom: 65px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
  z-index: 600;
}
#page-top.is-show {
  opacity: 1;
  visibility: visible;
}
/*-------contact-form------*/
.cs-contact-form {
  max-width: 950px;
  width: 100%;
  margin-inline: auto;
  padding-bottom: 80px;
}
.cs-contact-form .row {
  margin-bottom: 30px;
}
.cs-contact-form .row:last-child {
  margin-bottom: 0;
}
.cs-contact-form textarea,
.cs-contact-form input {
  border: none;
  background: #fff;
  font-size: max(1.111vw, 16px);
  width: 100%;
  padding: 0.5em 0 0.5em 1em;
}
.cs-contact-form input:focus-visible,
.cs-contact-form textarea:focus-visible {
  outline: none;
}
.cs-contact-form dt {
  width: 30%;
}
.cs-contact-form dd {
  width: 70%;
}
.cs-contact-form-btn-wrap {
  text-align: center;
}
.table-form input:focus-visible,
.table-form textarea:focus-visible {
  outline: none;
}
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*/
#lightbox-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
}
/*-------ipad----*/
@media screen and (max-width: 1180px) {
}
/*-------ipad-air----*/
@media screen and (max-width: 820px) {
  body .TAB820 {
    display: none;
  }
}
/*-------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;
  }
  .p-top-mv__img .SP,
  body .SP {
    display: block;
  }
  .p-top-mv__img .PC,
  body .PC {
    display: none;
  }
  .c-footer-icons {
    display: flex;
  }
  .u-tc.u-SPtl {
    text-align: left;
  }
  .table-form tr {
    display: flex;
    flex-direction: column;
  }
  .table-form th {
    width: 100%;
  }
  .table-form td {
    padding: 0 0 1em;
  }
  .cs-contact-form dt {
    width: 100%;
  }
  .cs-contact-form dd {
    width: 100%;
  }
  .fixed-wrap.is-fixed {
    position: fixed;
    animation: none;
  }
}

/* =========================================================
   共通フッター：お問い合わせ・アクセス
   ========================================================= */
.c-contact__inner {
  width: min(1198px, 92%);
  margin-inline: auto;
  padding-top: clamp(36px, 4vw, 50px);
  border-top: 1px solid #b9b3ad;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: clamp(30px, 5vw, 80px);
}
.c-contact__box {
  flex: 1 1 460px;
  min-width: 0;
  text-align: center; /* 見出し・社名・TEL は中央寄せ */
}
.c-contact__ttl {
  font-family: var(--b-font-deco);
  font-weight: 700;
  font-size: 3.2rem;
  letter-spacing: 0.0625em;
  line-height: 1.2;
  color: #483026;
}
.c-contact__lead {
  margin-top: 15px;
  font-family: var(--b-font-deco);
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 0.11em;
  line-height: 1.2;
  color: #483026;
}
.c-contact__name {
  margin-top: 6px;
  font-family: var(--b-font-deco);
  font-weight: 700;
  font-size: 2.4rem;
  letter-spacing: 0.083em;
  line-height: 1.5;
  color: #004891;
}
.c-contact__tel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  color: #483026;
}
.c-contact__tel:hover {
  opacity: 0.6;
}
.c-contact__tel-icon {
  width: clamp(26px, 2vw, 30px);
  height: clamp(26px, 2vw, 30px);
  flex-shrink: 0;
}
.c-contact__tel-num {
  font-weight: 700;
  font-size: 3.6rem;
  letter-spacing: 0.055em;
  line-height: 1;
}
.c-contact__list {
  margin-top: 25px;
  margin-inline: auto;
  max-width: 500px;
  text-align: left;
}
.c-contact__row {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.3vw, 33px);
  padding: 8px 0;
  border-bottom: 1px solid #d7d2cc;
}
.c-contact__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 23px;
  flex-shrink: 0;
  background: #004891;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.125em;
}
.c-contact__row dd {
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 1;
  color: #000;
}
.c-contact__box--access .c-contact__map {
  margin: clamp(24px, 3vw, 40px) auto 0;
  width: 100%;
  max-width: 500px;
  height: clamp(300px, 21.2vw, 306px);
}
.c-contact__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================================================
   共通フッター：雲フッター（ナビ・コピーライト）
   1440×363 の実寸比に合わせて配置（雲・テキストとも % 指定でスケール）
   ========================================================= */
.c-fnav {
  position: relative;
  width: 100%;
  aspect-ratio: 1440 / 363;
  margin-top: clamp(24px, 3vw, 48px);
  overflow: hidden;
}
.c-fnav__cloud {
  position: absolute;
  top: 0;
  height: auto;
  pointer-events: none;
  user-select: none;
}
.c-fnav__cloud--left {
  left: 0;
  width: 55%; /* 792 / 1440 */
}
.c-fnav__cloud--right {
  left: 54.79%; /* 789 / 1440 */
  width: 54.52%; /* 785 / 1440（右端は見切れる） */
}
.c-fnav__inner {
  position: absolute;
  inset: 0;
}
.c-fnav__nav {
  position: absolute;
  left: 11.1%; /* 160 / 1440 */
  top: 47.6%; /* 173 / 363 */
  display: flex;
  gap: clamp(24px, 2.4vw, 35px);
}
.c-fnav__col {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.c-fnav__col a {
  font-weight: 500;
  font-size: clamp(13px, 1.11vw, 16px);
  color: #483026;
  white-space: nowrap;
}
.c-fnav__totop {
  position: absolute;
  left: 61%; /* 878 / 1440 */
  top: 41.5%; /* 130 / 363 */
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--b-font-deco);
  font-weight: 500;
  font-size: clamp(13px, 1.11vw, 16px);
  color: #483026;
  white-space: nowrap;
}
.c-fnav__totop-arrow {
  width: 9px;
  height: 9px;
  border-top: 2px solid #483026;
  border-right: 2px solid #483026;
  transform: rotate(-45deg);
}
.c-fnav__totop-txt--sp {
  display: none;
}
.c-copyright {
  position: absolute;
  left: 79.1%; /* 1139.5 / 1440 */
  top: 90%; /* 約 3602 / 363 */
  transform: translateX(-50%);
  white-space: nowrap;
  font-weight: 500;
  font-size: clamp(11px, 0.97vw, 14px);
  letter-spacing: 0.04em;
  color: #fff;
}

/* 雲フッター：タブレット〜SP は縦積み（Figma SP デザイン準拠）
   「上に戻る」（右の雲を背景に）→ ナビ6項目1列・白文字 → 左の雲＋コピーライト */
@media screen and (max-width: 820px) {
  .c-fnav {
    aspect-ratio: auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(24px, 6vw, 40px);
    margin-top: clamp(30px, 8vw, 60px);
    padding-top: calc(clamp(72px, 20vw, 92px) + 30px);
    padding-bottom: clamp(20px, 5vw, 40px);
  }
  .c-contact__box {
    flex: 1 1 auto;
  }
  /* inner を解除して、雲も含め並び順を制御 */
  .c-fnav__inner {
    display: contents;
  }
  /* ① 上に戻る：右の雲を背景に、右端にぴったり */
  .c-fnav__cloud--right {
    display: none;
  }
  .c-fnav__totop {
    order: 1;
    align-self: stretch;
    width: 100%;
    left: auto;
    top: 0;
    justify-content: flex-end;
    padding-right: 15%;
    padding-top: 20px;
    min-height: clamp(72px, 20vw, 92px);
    background: url(../img/common/ft-right.webp) right center / auto 100%
      no-repeat;
  }
  .c-fnav__totop-txt--pc {
    display: none;
  }
  .c-fnav__totop-txt--sp {
    display: inline;
  }
  /* ② ナビ：1列・白文字・センター配置 */
  .c-fnav__nav {
    order: 2;
    position: static;
    align-self: center;
    flex-direction: column;
    gap: 15px;
  }
  .c-fnav__col a {
    color: #fff;
  }
  /* 左の雲：フロー要素として配置（コピーライトの上） */
  .c-fnav__cloud--left {
    order: 3;
    position: static;
    align-self: flex-start;
    width: min(356px, 92%);
    height: auto;
  }
  /* ③ コピーライト：雲より下・センター */
  .c-copyright {
    order: 4;
    position: static;
    transform: none;
    align-self: center;
    text-align: center;
    color: #fff;
  }
}

@media screen and (max-width: 680px) {
  .c-contact__inner {
    flex-direction: column;
  }
  .c-contact__list,
  .c-contact__box--access .c-contact__map {
    max-width: none;
  }
  /* お問い合わせの情報行：バッジを値の上に積む */
  .c-contact__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .c-contact__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 0 0 12px;
  }
}
