@charset "UTF-8";
/*!
Theme Name: saito-sakan
Theme URI: https://saito-sakan.jp/
Description: 合同会社斎藤左官管理工業 オリジナルテーマ（テンプレ★★★★★ c6-2 ベース／漉き白×墨×弓茜）
Author: PEEES
Version: 1.0.0
*/
/* ============================================================
   1. ブレイクポイント（テンプレ標準）
   ============================================================ */
/* ============================================================
   2. カラートークン（テンプレ既存のオレンジ系を全面差し替え）
   ============================================================ */
/* ============================================================
   base : リセット / タイポグラフィ / レイアウト土台
   ============================================================ */
:root {
  --nav: 252px;
  --paper: #FBF9F5;
  --ink: #1F1D1A;
  --red: #A6402F;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Zen Kaku Gothic New", -apple-system, "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-weight: 400;
  color: #1F1D1A;
  background: #FBF9F5;
  line-height: 2;
  font-size: 15.5px;
  letter-spacing: 0.03em;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.en {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0.12em;
}

/* ---------- ローディング ---------- */
#loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #FBF9F5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  transition: opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0.8s;
}
#loading.off {
  opacity: 0;
  visibility: hidden;
}
#loading img {
  width: 190px;
  opacity: 0;
  animation: lin 1.1s cubic-bezier(0.22, 0.61, 0.36, 1) 0.15s forwards;
}
#loading .bar {
  width: 150px;
  height: 1px;
  background: rgba(35, 33, 30, 0.16);
  position: relative;
  overflow: hidden;
}
#loading .bar i {
  position: absolute;
  inset: 0;
  background: #1F1D1A;
  transform: scaleX(0);
  transform-origin: left;
  animation: lbar 1.5s cubic-bezier(0.22, 0.61, 0.36, 1) 0.2s forwards;
}

@keyframes lin {
  to {
    opacity: 1;
  }
}
@keyframes lbar {
  to {
    transform: scaleX(1);
  }
}
/* ---------- レイアウト ---------- */
main {
  margin-left: var(--nav);
  min-height: 100vh;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 54px);
}

.wrap-n {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 54px);
}

section {
  position: relative;
}

.pad {
  padding: clamp(72px, 9vw, 132px) 0;
}

.pad-s {
  padding: clamp(54px, 6vw, 86px) 0;
}

.bg-2 {
  background: #F4F0E9;
}

/* ---------- 見出し・本文 ---------- */
.stitle {
  text-align: center;
  margin-bottom: clamp(34px, 4vw, 58px);
}
.stitle .e {
  display: block;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  line-height: 1.2;
  letter-spacing: 0.06em;
}
.stitle .j {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: #4C473F;
}
.stitle .j::before, .stitle .j::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background: #CFC2AA;
  vertical-align: middle;
  margin: 0 12px 4px;
}
.stitle.left {
  text-align: left;
}
.stitle.left .j::before {
  display: none;
}

.tac {
  text-align: center;
}

h3.lead {
  font-size: clamp(1.32rem, 2.5vw, 1.85rem);
  font-weight: 500;
  line-height: 1.85;
  letter-spacing: 0.06em;
}

.txt {
  color: #2C2925;
  font-size: 0.97rem;
  line-height: 2.15;
}
.txt.sm {
  font-size: 0.9rem;
}

.mini {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: #756E64;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
}

.note {
  margin-top: 26px;
  font-size: 0.76rem;
  color: #756E64;
  text-align: center;
  letter-spacing: 0.05em;
}

/* ---------- アニメーション ---------- */
.fade {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s cubic-bezier(0.22, 0.61, 0.36, 1), transform 1s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.fade.in {
  opacity: 1;
  transform: none;
}

.d1 {
  transition-delay: 0.12s;
}

.d2 {
  transition-delay: 0.24s;
}

.d3 {
  transition-delay: 0.36s;
}

/* ---------- 改行制御（768pxで切替） ---------- */
.br-sp {
  display: none;
}

@media screen and (max-width: 768px) {
  .br-sp {
    display: block;
  }
  .br-pc {
    display: none;
  }
}
/* ---------- SP：本文まわりは左揃えに戻す ---------- */
@media screen and (max-width: 768px) {
  .tac, .txt, .note,
  .flow .st p, .faq .a div, .svc .it p, .str .it p {
    text-align: left;
  }
  .note {
    margin-top: 20px;
  }
}
@media screen and (max-width: 640px) {
  body {
    font-size: 14.5px;
    line-height: 1.95;
  }
  .txt {
    font-size: 0.9rem;
    line-height: 2.1;
  }
}
/* ============================================================
   components : ボタン / 下層ヒーロー / パンくず / CONTACT帯 / 汎用パーツ
   ============================================================ */
/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 1.1em;
  padding: 1.05em 2.6em;
  border-radius: 999px;
  background: #1F1D1A;
  color: #fff;
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  transition: 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  border: 0;
  font-family: inherit;
  cursor: pointer;
}
.btn i {
  width: 16px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.btn i::after {
  content: "";
  position: absolute;
  right: 0;
  top: -2px;
  width: 5px;
  height: 5px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn:hover {
  opacity: 0.82;
}
.btn:hover i {
  width: 26px;
}
.btn--red {
  background: #A6402F;
}
.btn--line {
  background: transparent;
  color: #1F1D1A;
  border: 1px solid rgba(35, 33, 30, 0.28);
}
.btn--wh {
  background: #fff;
  color: #1F1D1A;
}

.btn-c {
  text-align: center;
  margin-top: clamp(30px, 4vw, 46px);
}

/* ---------- 下層ページヒーロー ---------- */
.phero {
  height: clamp(240px, 38vh, 380px);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.phero .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}
.phero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(251, 249, 245, 0.9), rgba(251, 249, 245, 0.35));
}
.phero .in {
  position: relative;
  z-index: 3;
  padding: 0 clamp(24px, 5vw, 74px);
}
.phero .e {
  display: block;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: 0.05em;
}
.phero .j {
  display: block;
  margin-top: 10px;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: #4C473F;
}

.crumb {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: #756E64;
  padding: 16px clamp(24px, 5vw, 74px);
  border-bottom: 1px solid rgba(35, 33, 30, 0.16);
}
.crumb a {
  color: #4C473F;
}
.crumb a:hover {
  color: #1F1D1A;
}

/* ---------- タグ ---------- */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.tags span {
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  padding: 5px 13px;
  border: 1px solid rgba(35, 33, 30, 0.16);
  border-radius: 999px;
  color: #4C473F;
}

/* ---------- 交互2カラム ---------- */
.alt {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}
.alt.rev {
  grid-template-columns: 0.94fr 1.06fr;
}
.alt.rev .imgcol {
  order: 2;
}
.alt .imgcol .ph {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
}
.alt .txtcol {
  padding: clamp(0px, 2vw, 20px) 0;
}
@media screen and (max-width: 1024px) {
  .alt {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .alt.rev {
    grid-template-columns: 1fr;
  }
  .alt.rev .imgcol {
    order: 0;
  }
}

/* ---------- 工程フロー / 沿革 ---------- */
.flow {
  position: relative;
  padding-left: 34px;
}
.flow::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: rgba(35, 33, 30, 0.16);
}
.flow .st {
  position: relative;
  padding: 0 0 clamp(28px, 3.6vw, 42px);
}
.flow .st::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 9px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #FBF9F5;
  border: 1px solid #A6402F;
}
.flow .st .no {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  color: #A6402F;
}
.flow .st h4 {
  margin: 6px 0 8px;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.flow .st p {
  font-size: 0.9rem;
  color: #4C473F;
  line-height: 2.05;
}
@media screen and (max-width: 640px) {
  .flow {
    padding-left: 26px;
  }
}

/* ---------- テーブル ---------- */
.tbl {
  width: 100%;
  border-top: 1px solid rgba(35, 33, 30, 0.16);
}
.tbl tr {
  border-bottom: 1px solid rgba(35, 33, 30, 0.16);
}
.tbl th {
  width: 210px;
  text-align: left;
  padding: 20px 10px 20px 4px;
  font-weight: 500;
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  color: #4C473F;
  vertical-align: top;
}
.tbl td {
  padding: 20px 4px;
  font-size: 0.95rem;
  vertical-align: top;
  line-height: 2.05;
}
@media screen and (max-width: 640px) {
  .tbl th {
    display: block;
    width: 100%;
    padding: 16px 4px 4px;
    border: 0;
  }
  .tbl td {
    display: block;
    padding: 0 4px 18px;
  }
}

/* ---------- FAQ ---------- */
.faq .q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(35, 33, 30, 0.16);
  padding: 22px 42px 22px 34px;
  font-size: 0.97rem;
  font-weight: 500;
  font-family: inherit;
  color: #1F1D1A;
  cursor: pointer;
  position: relative;
  letter-spacing: 0.04em;
  line-height: 1.8;
}
.faq .q::before {
  content: "Q";
  position: absolute;
  left: 2px;
  top: 21px;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 400;
  color: #A6402F;
  font-size: 1.05rem;
}
.faq .q::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 31px;
  width: 11px;
  height: 1px;
  background: #4C473F;
  transition: 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.faq .q i {
  position: absolute;
  right: 8px;
  top: 31px;
  width: 11px;
  height: 1px;
  background: #4C473F;
  transform: rotate(90deg);
  transition: 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.faq .it.on .q i {
  transform: rotate(0);
}
.faq .a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.faq .a div {
  padding: 20px 42px 26px 34px;
  font-size: 0.91rem;
  color: #4C473F;
  line-height: 2.1;
  border-bottom: 1px solid rgba(35, 33, 30, 0.16);
  background: rgba(255, 255, 255, 0.5);
  position: relative;
}
.faq .a div::before {
  content: "A";
  position: absolute;
  left: 2px;
  top: 19px;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 400;
  color: #B6A588;
  font-size: 1.05rem;
}
@media screen and (max-width: 640px) {
  .faq .q {
    padding: 18px 34px 18px 28px;
  }
  .faq .a div {
    padding: 16px 30px 22px 28px;
  }
}

/* ---------- エリアタグ ---------- */
.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}
.area-list span {
  font-size: 0.8rem;
  padding: 7px 16px;
  background: #fff;
  border: 1px solid rgba(35, 33, 30, 0.16);
  letter-spacing: 0.05em;
  color: #1F1D1A;
}

/* ---------- CONTACT帯 ---------- */
.cband {
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
  padding: clamp(70px, 9vw, 120px) 0;
}
.cband .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.35) brightness(0.9);
}
.cband::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(28, 26, 24, 0.74);
}
.cband > * {
  position: relative;
  z-index: 3;
}
.cband .e {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  letter-spacing: 0.1em;
}
.cband .j {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  opacity: 0.92;
  margin-top: 8px;
}
.cband .cp {
  margin-top: 26px;
  font-size: 0.95rem;
  line-height: 2.05;
  opacity: 1;
}
.cband .acts {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  justify-content: center;
  align-items: center;
}
.cband .tel {
  display: block;
}
.cband .tel .lb {
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  opacity: 0.85;
}
.cband .tel .t {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  letter-spacing: 0.03em;
  line-height: 1.3;
  display: block;
}
.cband .tel .h {
  font-size: 0.74rem;
  opacity: 0.88;
  letter-spacing: 0.08em;
}
@media screen and (max-width: 768px) {
  .cband .cp {
    margin-top: 20px;
    font-size: 0.84rem;
    line-height: 1.95;
    letter-spacing: 0.02em;
    text-align: center;
  }
}
@media screen and (max-width: 640px) {
  .cband .acts {
    flex-direction: column;
    gap: 22px;
  }
}

/* ---------- 施工事例カード（TOP/一覧共用） ---------- */
.works {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.2vw, 30px);
}
.works .it {
  background: #fff;
  border: 1px solid rgba(35, 33, 30, 0.16);
  overflow: hidden;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.works .it:focus-visible {
  outline: 2px solid #A6402F;
  outline-offset: 3px;
}
.works .it .ph {
  position: relative;
  display: block;
  overflow: hidden;
}
.works .it .im {
  display: block;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  transition: transform 1s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.works .it:hover .im {
  transform: scale(1.05);
}
.works .it .zm {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(31, 29, 26, 0.74);
  opacity: 0;
  transform: translateY(6px);
  transition: 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.works .it .zm::before, .works .it .zm::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: #fff;
}
.works .it .zm::before {
  width: 14px;
  height: 1px;
  transform: translate(-50%, -50%);
}
.works .it .zm::after {
  width: 1px;
  height: 14px;
  transform: translate(-50%, -50%);
}
.works .it:hover .zm, .works .it:focus-visible .zm {
  opacity: 1;
  transform: none;
}
.works .it .bd {
  display: block;
  padding: 18px 20px 22px;
}
.works .it .cat {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #A6402F;
}
.works .it h4, .works .it .ttl {
  display: block;
  margin: 8px 0 6px;
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.works .it .mt {
  display: block;
  font-size: 0.78rem;
  color: #756E64;
  letter-spacing: 0.05em;
}
@media screen and (max-width: 1024px) {
  .works {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width: 640px) {
  .works {
    grid-template-columns: 1fr;
  }
}

/* ---------- 写真ライトボックス（施工事例カード用） ---------- */
.lbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 60px);
  background: rgba(20, 18, 16, 0.88);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.lbox.on {
  opacity: 1;
  visibility: visible;
}
.lbox [hidden] {
  display: none;
}
.lbox .bx {
  max-width: min(1100px, 100%);
  opacity: 0;
  transform: translateY(18px) scale(0.94);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.lbox.on .bx {
  opacity: 1;
  transform: none;
}
.lbox .ph {
  display: block;
  transition: opacity 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.lbox .ph.ld {
  opacity: 0;
}
.lbox img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  max-height: calc(100vh - 230px);
  object-fit: contain;
  background: #fff;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
}
.lbox .cp {
  margin-top: 18px;
  text-align: center;
  color: #fff;
}
.lbox .cp .cat {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #E0A091;
}
.lbox .cp .ttl {
  margin-top: 6px;
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.lbox .cp .mt {
  margin-top: 5px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.66);
}
.lbox .cp .ct {
  margin-top: 10px;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
}
.lbox .cl, .lbox .nv {
  position: absolute;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: #fff;
  transition: 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.lbox .cl {
  top: clamp(12px, 2.4vw, 26px);
  right: clamp(12px, 2.4vw, 26px);
  width: 46px;
  height: 46px;
}
.lbox .cl:hover {
  opacity: 0.6;
}
.lbox .cl::before, .lbox .cl::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 21px;
  height: 1px;
  background: #fff;
}
.lbox .cl::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.lbox .cl::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.lbox .nv {
  top: 50%;
  width: 52px;
  height: 52px;
  margin-top: -26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.34);
}
.lbox .nv:hover {
  background: rgba(255, 255, 255, 0.14);
}
.lbox .nv::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 11px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
}
.lbox .nv.pv {
  left: clamp(8px, 2vw, 26px);
}
.lbox .nv.pv::before {
  transform: translate(-35%, -50%) rotate(45deg);
}
.lbox .nv.nx {
  right: clamp(8px, 2vw, 26px);
}
.lbox .nv.nx::before {
  transform: translate(-65%, -50%) rotate(-135deg);
}
@media screen and (max-width: 640px) {
  .lbox {
    padding: 16px;
  }
  .lbox img {
    max-height: calc(100vh - 250px);
  }
  .lbox .nv {
    width: 42px;
    height: 42px;
    margin-top: -21px;
  }
}

/* ---------- カテゴリタブ ---------- */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: clamp(28px, 3.4vw, 46px);
}
.tabs a, .tabs button {
  border: 1px solid rgba(35, 33, 30, 0.16);
  background: transparent;
  border-radius: 999px;
  padding: 9px 22px;
  font-size: 0.79rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  color: #4C473F;
  font-family: inherit;
  transition: 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
  display: inline-block;
  line-height: 1.6;
}
.tabs a.on, .tabs a:hover, .tabs button.on, .tabs button:hover {
  background: #1F1D1A;
  border-color: #1F1D1A;
  color: #fff;
}

/* ---------- ページャ（wp-pagenavi） ---------- */
.wp-pagenavi {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(34px, 4vw, 54px);
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 0.84rem;
}
.wp-pagenavi a, .wp-pagenavi span {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid rgba(35, 33, 30, 0.16);
  color: #4C473F;
  transition: 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.wp-pagenavi a:hover, .wp-pagenavi span.current {
  background: #1F1D1A;
  border-color: #1F1D1A;
  color: #fff;
}

/* ============================================================
   header : 左サイドバー（PC）/ SPヘッダー / ドロワー
   ============================================================ */
.side {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--nav);
  height: 100vh;
  z-index: 100;
  background: #FBF9F5;
  background-image: url(img/tex-tile.jpg);
  background-size: 340px;
  border-right: 1px solid rgba(35, 33, 30, 0.16);
  display: flex;
  flex-direction: column;
  padding: 38px 0 30px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.side::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(251, 249, 245, 0.88), rgba(251, 249, 245, 0.96));
}
.side > * {
  position: relative;
  z-index: 2;
}
.side .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 26px 34px;
}
.side .logo .mk {
  width: 34px;
  flex: none;
  opacity: 0.9;
}
.side .logo .wd {
  width: 132px;
}
.side .foot {
  margin-top: auto;
  padding: 26px 26px 0;
  border-top: 1px solid rgba(35, 33, 30, 0.16);
}
.side .foot .lb {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: #756E64;
}
.side .foot .tel {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 500;
  font-size: 1.46rem;
  letter-spacing: 0.03em;
  line-height: 1.5;
  display: block;
}
.side .foot .hr {
  font-size: 0.74rem;
  color: #4C473F;
  letter-spacing: 0.04em;
  line-height: 1.85;
}
.side .seal {
  width: 34px;
  margin-top: 16px;
  opacity: 0.85;
}

.snav {
  padding: 0 22px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.snav a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 11px 8px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  border-radius: 4px;
  transition: 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
  position: relative;
}
.snav a .n {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 500;
  font-size: 0.76rem;
  color: #756E64;
  letter-spacing: 0.1em;
}
.snav a::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 6px;
  height: 1px;
  background: #1F1D1A;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.snav a:hover::before, .snav a.on::before {
  transform: scaleX(1);
  transform-origin: left;
}
.snav a.on {
  color: #A6402F;
}
.snav a.on .n {
  color: #A6402F;
}

/* ---------- 低い画面（PC）での詰め ---------- */
@media screen and (max-height: 720px) and (min-width: 1025px) {
  .side {
    padding: 26px 0 20px;
  }
  .side .logo {
    padding-bottom: 22px;
  }
  .side .foot {
    padding-top: 18px;
  }
  .side .foot .tel {
    font-size: 1.24rem;
  }
  .side .seal {
    display: none;
  }
  .snav a {
    padding: 8px;
  }
}
/* ---------- SPヘッダー ---------- */
.sphead {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 62px;
  z-index: 120;
  background: rgba(251, 249, 245, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(35, 33, 30, 0.16);
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}
.sphead .lg {
  display: flex;
  align-items: center;
  gap: 9px;
}
.sphead .lg img.mk {
  width: 22px;
}
.sphead .lg img.wd {
  width: 104px;
}

.hb {
  width: 42px;
  height: 42px;
  position: relative;
  background: none;
  border: 0;
  cursor: pointer;
}
.hb span {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 1px;
  background: #1F1D1A;
  transition: 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.hb span:nth-child(1) {
  top: 16px;
}
.hb span:nth-child(2) {
  top: 21px;
}
.hb span:nth-child(3) {
  top: 26px;
}
.hb.on span:nth-child(1) {
  top: 21px;
  transform: rotate(38deg);
}
.hb.on span:nth-child(2) {
  opacity: 0;
}
.hb.on span:nth-child(3) {
  top: 21px;
  transform: rotate(-38deg);
}

#drawer {
  display: none;
  position: fixed;
  inset: 62px 0 0;
  z-index: 110;
  background: #FBF9F5;
  padding: 26px 26px 90px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
#drawer.on {
  opacity: 1;
  visibility: visible;
}
#drawer a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 16px 4px;
  border-bottom: 1px solid rgba(35, 33, 30, 0.16);
  font-size: 1rem;
  font-weight: 500;
}
#drawer a .n {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 500;
  font-size: 0.78rem;
  color: #756E64;
}
#drawer .dtel {
  margin-top: 26px;
  text-align: center;
}
#drawer .dtel a {
  display: block;
  border: 0;
  padding: 0;
}
#drawer .dtel .t {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 500;
  font-size: 1.85rem;
  display: block;
}
#drawer .dtel .h {
  font-size: 0.78rem;
  color: #4C473F;
}

/* ---------- サイドバー幅の縮小 ---------- */
@media screen and (max-width: 1200px) {
  :root {
    --nav: 216px;
  }
}
/* ---------- 1024px以下：サイドバー→SPヘッダー ---------- */
@media screen and (max-width: 1024px) {
  :root {
    --nav: 0px;
  }
  .side {
    display: none;
  }
  .sphead {
    display: flex;
  }
  #drawer {
    display: block;
  }
  main {
    margin-left: 0;
    padding-top: 62px;
  }
  body {
    padding-bottom: 50px;
  }
}
/* ============================================================
   front-page : ヒーロー / メッセージ帯 / 強み / コンテンツ3枚
   ============================================================ */
.hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: slowzoom 22s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(251, 249, 245, 0.86) 0%, rgba(251, 249, 245, 0.45) 42%, rgba(251, 249, 245, 0) 72%);
}
.hero .inner {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 0 clamp(24px, 5vw, 74px) clamp(64px, 10vh, 120px);
}
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  color: #4C473F;
  margin-bottom: 24px;
}
.hero .eyebrow::before {
  content: "";
  width: 38px;
  height: 1px;
  background: #A6402F;
  flex: none;
}
.hero h1 {
  font-size: clamp(2.1rem, 5.6vw, 4.1rem);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: 0.06em;
}
.hero h1 .rd {
  color: #A6402F;
}
.hero .sub {
  margin-top: 22px;
  font-size: clamp(0.92rem, 1.5vw, 1.05rem);
  letter-spacing: 0.09em;
  color: #2C2925;
  line-height: 2.05;
}
.hero .scroll {
  position: absolute;
  right: clamp(20px, 4vw, 52px);
  bottom: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero .scroll span {
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  writing-mode: vertical-rl;
  color: #4C473F;
}
.hero .scroll i {
  width: 1px;
  height: 76px;
  background: rgba(35, 33, 30, 0.16);
  position: relative;
  overflow: hidden;
}
.hero .scroll i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #1F1D1A;
  animation: sc 2.4s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
}
@media screen and (max-width: 1024px) {
  .hero {
    height: auto;
    min-height: 0;
    padding-top: clamp(90px, 26vh, 180px);
  }
  .hero .inner {
    padding-bottom: clamp(80px, 14vh, 140px);
  }
  .hero .scroll {
    display: none;
  }
}
@media screen and (max-width: 640px) {
  .hero h1 {
    letter-spacing: 0.05em;
  }
}

@keyframes slowzoom {
  from {
    transform: scale(1.09);
  }
  to {
    transform: scale(1);
  }
}
@keyframes sc {
  0% {
    transform: translateY(-100%);
  }
  60%, 100% {
    transform: translateY(100%);
  }
}
/* ---------- メッセージ帯 ---------- */
.mband {
  position: relative;
  padding: clamp(90px, 11vw, 160px) 0;
  overflow: hidden;
}
.mband .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.mband::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(251, 249, 245, 0.5);
}
.mband .card {
  position: relative;
  z-index: 3;
  max-width: 730px;
  margin: 0 auto;
  background: rgba(251, 249, 245, 0.9);
  backdrop-filter: blur(3px);
  padding: clamp(38px, 5vw, 66px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 30px 70px -40px rgba(35, 33, 30, 0.35);
}
.mband h2 {
  font-size: clamp(1.4rem, 2.9vw, 2.05rem);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.06em;
  margin-bottom: 26px;
}
.mband .rule {
  width: 56px;
  height: 2px;
  background: #A6402F;
  margin-bottom: 26px;
}

/* ---------- 強み 3カラム ---------- */
.str {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 42px);
}
.str .it {
  padding: clamp(28px, 3vw, 40px) clamp(22px, 2.4vw, 32px);
  background: #fff;
  border: 1px solid rgba(35, 33, 30, 0.16);
  position: relative;
}
.str .it .no {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 400;
  font-size: 2.6rem;
  line-height: 1;
  color: #B6A588;
}
.str .it h4 {
  margin: 16px 0 14px;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.75;
}
.str .it p {
  font-size: 0.9rem;
  color: #4C473F;
  line-height: 2;
}
@media screen and (max-width: 1024px) {
  .str {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width: 640px) {
  .str {
    grid-template-columns: 1fr;
  }
}

/* ---------- コンテンツ3枚バナー ---------- */
.cts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 26px);
}
.cts a {
  position: relative;
  overflow: hidden;
  display: block;
  background: #1F1D1A;
}
.cts a .im {
  aspect-ratio: 4/3.1;
  background-size: cover;
  background-position: center;
  transition: transform 1.1s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.cts a:hover .im {
  transform: scale(1.07);
}
.cts a .lb {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  background: rgba(35, 33, 30, 0.78);
  color: #fff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(3px);
}
.cts a .lb .tt {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
}
.cts a .lb .ss {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  font-family: "Zen Kaku Gothic New", -apple-system, "Hiragino Sans", "Noto Sans JP", sans-serif;
}
.cts a .lb .ar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  color: #1F1D1A;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  flex: none;
}
@media screen and (max-width: 1024px) {
  .cts {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width: 640px) {
  .cts {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   service : 事業内容 4カード
   ============================================================ */
.svc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(22px, 3vw, 46px);
}
.svc .it {
  background: #fff;
  border: 1px solid rgba(35, 33, 30, 0.16);
}
.svc .it .im {
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
}
.svc .it .bd {
  padding: clamp(24px, 3vw, 38px);
}
.svc .it .no {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 500;
  font-size: 0.86rem;
  letter-spacing: 0.22em;
  color: #A6402F;
}
.svc .it h4 {
  margin: 10px 0 6px;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.svc .it .eh {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: #756E64;
}
.svc .it p {
  margin-top: 16px;
  font-size: 0.91rem;
  color: #4C473F;
  line-height: 2.05;
}
@media screen and (max-width: 640px) {
  .svc {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   craft : 左官のしごと（予備ページ枠）/ 仕上げ見本ギャラリー
   ============================================================ */
.fin {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.6vw, 20px);
}
.fin .it .im {
  aspect-ratio: 1/0.78;
  background-size: cover;
  background-position: center;
}
.fin .it h5 {
  margin-top: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.fin .it p {
  font-size: 0.8rem;
  color: #4C473F;
  line-height: 1.9;
  margin-top: 4px;
}
@media screen and (max-width: 1024px) {
  .fin {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width: 640px) {
  .fin {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   archive-works : 施工事例 一覧 / 詳細
   ============================================================ */
.works-empty {
  text-align: center;
  padding: clamp(50px, 7vw, 90px) 0;
  border: 1px dashed rgba(35, 33, 30, 0.16);
  background: rgba(255, 255, 255, 0.6);
}
.works-empty .e {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 500;
  font-size: 1.7rem;
  letter-spacing: 0.14em;
  color: #756E64;
}
.works-empty p {
  margin-top: 10px;
  font-size: 0.92rem;
  color: #4C473F;
}

/* ---------- 施工事例 詳細 ---------- */
.wsingle .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  align-items: baseline;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(35, 33, 30, 0.16);
}
.wsingle .meta .cat {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #A6402F;
}
.wsingle .meta .date {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 500;
  font-size: 0.86rem;
  color: #756E64;
  letter-spacing: 0.08em;
}
.wsingle h1 {
  margin: 18px 0 26px;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.04em;
}
.wsingle .main-img {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(35, 33, 30, 0.16);
}
.wsingle .spec {
  margin-top: clamp(30px, 4vw, 46px);
}
.wsingle .body {
  margin-top: clamp(28px, 3.6vw, 42px);
  font-size: 0.97rem;
  color: #2C2925;
  line-height: 2.15;
}
.wsingle .body p {
  margin-bottom: 1.4em;
}
.wsingle .body h2, .wsingle .body h3, .wsingle .body h4 {
  font-weight: 500;
  letter-spacing: 0.06em;
  margin: 1.8em 0 0.6em;
}
.wsingle .body img {
  margin: 1.4em 0;
}
.wsingle .gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 1.4vw, 18px);
  margin-top: clamp(28px, 3.6vw, 44px);
}
.wsingle .gallery .g {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(35, 33, 30, 0.16);
}
@media screen and (max-width: 640px) {
  .wsingle .gallery {
    grid-template-columns: 1fr 1fr;
  }
}
.wsingle .pnav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(36px, 4.5vw, 56px);
  padding-top: 24px;
  border-top: 1px solid rgba(35, 33, 30, 0.16);
  font-size: 0.86rem;
  letter-spacing: 0.06em;
}
.wsingle .pnav a {
  color: #4C473F;
  transition: 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.wsingle .pnav a:hover {
  color: #1F1D1A;
}

/* ============================================================
   company : 会社概要
   ============================================================ */
.cmp-sign {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.cmp-sign span {
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  color: #4C473F;
}
.cmp-sign span b {
  font-weight: 600;
  font-size: 1.06rem;
  color: #1F1D1A;
}

.cmp-map {
  aspect-ratio: 16/6.5;
  border: 1px solid rgba(35, 33, 30, 0.16);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
}
.cmp-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.cmp-map .ph {
  background: rgba(251, 249, 245, 0.9);
  padding: 14px 26px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}
@media screen and (max-width: 640px) {
  .cmp-map {
    aspect-ratio: 4/3;
  }
}

/* ============================================================
   contact : お問い合わせ（CF7 マルチステップ）
   必須＝弓茜（赤）／任意＝藍（青） で行ごと背景色を分ける
   ============================================================ */
.form {
  max-width: 740px;
  margin: 0 auto;
}

/* ---------- 入力行 ---------- */
.frow {
  margin-bottom: 18px;
  padding: 18px 20px;
  border-radius: 3px;
  border: 1px solid rgba(35, 33, 30, 0.16);
  border-left-width: 3px;
}
.frow > label, .frow .flabel {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.89rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  margin-bottom: 10px;
}
.frow input[type=text], .frow input[type=email], .frow input[type=tel], .frow select, .frow textarea {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(35, 33, 30, 0.22);
  padding: 14px 16px;
  font-family: inherit;
  font-size: 0.96rem;
  color: #1F1D1A;
  border-radius: 2px;
  line-height: 1.7;
}
.frow input[type=text]::placeholder, .frow input[type=email]::placeholder, .frow input[type=tel]::placeholder, .frow select::placeholder, .frow textarea::placeholder {
  color: #9A948B;
}
.frow input[type=text]:focus, .frow input[type=email]:focus, .frow input[type=tel]:focus, .frow select:focus, .frow textarea:focus {
  outline: 2px solid #CFC2AA;
}
.frow textarea {
  min-height: 170px;
  resize: vertical;
}
.frow {
  /* 必須：うすい赤背景 */
}
.frow.is-req {
  background: #FBEDEA;
  border-color: rgba(166, 64, 47, 0.18);
  border-left-color: #A6402F;
}
.frow {
  /* 任意：うすい青背景 */
}
.frow.is-opt {
  background: #EAF1F7;
  border-color: rgba(46, 93, 130, 0.18);
  border-left-color: #2E5D82;
}
@media screen and (max-width: 640px) {
  .frow {
    padding: 15px 14px;
  }
}

/* ---------- 必須／任意バッジ ---------- */
/* .red / .blue はテンプレ既存フォームの記法にも合わせる */
.req, .opt, .flabel .red, .flabel .blue {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 2px;
  color: #fff;
  line-height: 1.8;
  flex: none;
}

.req, .flabel .red {
  background: #A6402F;
}

.opt, .flabel .blue {
  background: #2E5D82;
}

/* ---------- 同意チェックボックス ---------- */
.frow .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}
.frow .wpcf7-acceptance label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  cursor: pointer;
}
.frow .wpcf7-acceptance input[type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: #A6402F;
  flex: none;
}
.frow .wpcf7-acceptance a {
  border-bottom: 1px solid #CFC2AA;
}

/* 凡例 */
.form-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: center;
  margin: 44px 0 26px;
  font-size: 0.8rem;
  color: #4C473F;
}
.form-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.form-legend i {
  width: 22px;
  height: 12px;
  border-radius: 2px;
  border: 1px solid rgba(35, 33, 30, 0.16);
  display: inline-block;
}
.form-legend .i-req {
  background: #FBEDEA;
  border-left: 3px solid #A6402F;
}
.form-legend .i-opt {
  background: #EAF1F7;
  border-left: 3px solid #2E5D82;
}

.fpolicy {
  font-size: 0.84rem;
  color: #4C473F;
  text-align: center;
  margin: 8px 0 24px;
}
.fpolicy a {
  border-bottom: 1px solid #CFC2AA;
}

.fsubmit {
  text-align: center;
}
.fsubmit input[type=submit], .fsubmit button[type=submit] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.1em;
  padding: 1.05em 2.6em;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: #A6402F;
  color: #fff;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  transition: 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.fsubmit input[type=submit]:hover, .fsubmit button[type=submit]:hover {
  opacity: 0.82;
}
.fsubmit input[type=submit].is-back, .fsubmit button.is-back {
  background: transparent;
  color: #1F1D1A;
  border: 1px solid rgba(35, 33, 30, 0.28);
}
.fsubmit .row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- CF7 の出力調整 ---------- */
.wpcf7 form .wpcf7-response-output {
  margin: 24px 0 0;
  border: 1px solid rgba(35, 33, 30, 0.16);
  background: #fff;
  padding: 14px 18px;
  font-size: 0.84rem;
  border-radius: 2px;
}

.wpcf7-not-valid-tip {
  color: #A6402F;
  font-size: 0.76rem;
  margin-top: 6px;
  display: block;
}

.wpcf7-spinner {
  display: block;
  margin: 12px auto 0;
}

.wpcf7 .wpcf7-submit {
  display: inline-flex;
}

/* CF7 が p / br を挿入した場合の余白潰し */
.form p {
  margin: 0;
}

/* ---------- 確認・完了画面 ---------- */
.confirm-note {
  text-align: center;
  font-size: 0.88rem;
  color: #4C473F;
  margin-bottom: 30px;
}

.done {
  text-align: center;
  padding: clamp(40px, 6vw, 80px) 0;
}
.done .e {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  letter-spacing: 0.1em;
}
.done h2 {
  margin-top: 14px;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.done p {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #4C473F;
  line-height: 2.1;
}

/* ============================================================
   policy : プライバシーポリシー
   ============================================================ */
.policy h4 {
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin: 28px 0 10px;
}
.policy h4:first-of-type {
  margin-top: 0;
}
.policy p {
  font-size: 0.93rem;
  color: #2C2925;
  line-height: 2.1;
}
.policy .lead {
  margin-bottom: 34px;
}

/* ============================================================
   footer : フッター / SP固定CTA
   ============================================================ */
footer {
  margin-left: var(--nav);
  position: relative;
  color: #fff;
  overflow: hidden;
  margin-top: 0;
}
footer .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(24, 23, 21, 0.82);
}
footer .in {
  position: relative;
  z-index: 3;
  padding: clamp(52px, 6vw, 76px) 0 0;
}
footer .grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
}
@media screen and (max-width: 1024px) {
  footer .grid {
    grid-template-columns: 1fr;
  }
}
footer .lg {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
footer .lg .mk {
  width: 36px;
  opacity: 0.9;
}
footer .lg .wd {
  width: 158px;
}
footer .ad {
  font-size: 0.84rem;
  line-height: 2.05;
  opacity: 0.92;
  letter-spacing: 0.04em;
}
footer nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 24px;
}
footer nav a {
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  opacity: 0.94;
  padding: 6px 0;
  transition: 0.3s;
}
footer nav a:hover {
  opacity: 1;
  padding-left: 6px;
}
footer .cr {
  margin-top: clamp(34px, 4vw, 52px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 18px 0 22px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  opacity: 0.8;
  text-align: center;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-weight: 400;
}

/* ---------- SP固定CTA ---------- */
.spcta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 130;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.spcta a {
  padding: 14px 0;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #fff;
}
.spcta a:nth-child(1) {
  background: #1F1D1A;
}
.spcta a:nth-child(2) {
  background: #A6402F;
}
@media screen and (max-width: 1024px) {
  .spcta {
    display: grid;
  }
}
