@charset "UTF-8";
/* ============================================================
   modern room 合同会社
   assets/scss/style.scss  →  assets/css/style.css
   ビルド: sass assets/scss/style.scss assets/css/style.css --style=expanded
   ============================================================ */
/* ============================================================
   modern room / design tokens
   ロゴ実測色 #3E3438（あたたかい墨紫）を軸に、白ベースで構築
   ============================================================ */
/* ============================================================
   modern room 合同会社
   assets/scss/style.scss  →  assets/css/style.css
   ビルド: sass assets/scss/style.scss assets/css/style.css --style=expanded
   ============================================================ */
/* ============================================================
   リセット & タイプ基準
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  color: #3E3438;
  background: #FFFFFF;
  line-height: 2;
  letter-spacing: 0.04em;
  font-size: 15.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  text-wrap: pretty;
  word-break: auto-phrase;
  line-break: strict;
  overflow-wrap: break-word;
}
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
}

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  word-break: auto-phrase;
  line-break: strict;
  overflow-wrap: break-word;
}

p, li, dd, dt, td, th {
  text-wrap: pretty;
  word-break: auto-phrase;
  line-break: strict;
  overflow-wrap: break-word;
}

* {
  border-radius: 0;
}

@media (prefers-reduced-motion: reduce) {
  .ap, .fade {
    transition: none !important;
    clip-path: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .lb-panel {
    transition: none !important;
    transform: none !important;
  }
  #lb {
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}
/* ---------- 展開ボーム ---------- */
.wrap {
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
}

.wrap-wide {
  max-width: 1500px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
}

.wrap-narrow {
  max-width: 880px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
}

.sec {
  padding-block: clamp(72px, 10vw, 140px);
}

.sec-mist {
  background: #F5F3F1;
}

/* ---------- 改行・寄せの出し分け（段落ち対策） ---------- */
.br-pc {
  display: inline;
}
@media (max-width: 768px) {
  .br-pc {
    display: none;
  }
}

.br-sp {
  display: none;
}
@media (max-width: 768px) {
  .br-sp {
    display: inline;
  }
}

.ta-c {
  text-align: center;
}
@media (max-width: 768px) {
  .ta-c {
    text-align: left;
  }
}

.nb {
  display: inline-block;
}

/* ---------- スクリーンリーダー用 ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: #3E3438;
  color: #fff;
  padding: 12px 20px;
  font-size: 13px;
}
.skip-link:focus {
  left: 0;
}

/* ============================================================
   modern room 合同会社
   assets/scss/style.scss  →  assets/css/style.css
   ビルド: sass assets/scss/style.scss assets/css/style.css --style=expanded
   ============================================================ */
/* ============================================================
   共通パーツ
   ============================================================ */
/* 署名要素①：縦組みラベル（原稿の縦組みコンセプトに倣う） */
.vlabel {
  writing-mode: vertical-rl;
  font-family: "Jost", sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: lowercase;
  color: #5F5457;
  display: flex;
  align-items: center;
  gap: 16px;
}
.vlabel::after {
  content: "";
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, #B99C86, transparent);
}

.eyebrow {
  font-family: "Jost", sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: lowercase;
  color: #5F5457;
  display: block;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  background: #B99C86;
  vertical-align: middle;
  margin-right: 14px;
}

.h-jp {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  line-height: 1.85;
  letter-spacing: 0.08em;
  font-size: clamp(20px, 3.1vw, 31px);
  text-wrap: balance;
  word-break: auto-phrase;
  line-break: strict;
  overflow-wrap: break-word;
}

.h-jp-s {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.08em;
  font-size: clamp(17px, 2.2vw, 22px);
  text-wrap: balance;
  word-break: auto-phrase;
  line-break: strict;
  overflow-wrap: break-word;
}

.lead {
  color: #5F5457;
  line-height: 2.15;
  font-size: 15px;
  text-wrap: pretty;
  word-break: auto-phrase;
  line-break: strict;
  overflow-wrap: break-word;
}
@media (max-width: 768px) {
  .lead {
    line-height: 2.05;
  }
}

.txt-limit {
  max-width: 36em;
}

.credit {
  margin-top: 26px;
  font-size: 12.5px;
  color: #857B7E;
  line-height: 2;
  letter-spacing: 0.06em;
}

.ulink {
  border-bottom: 1px solid #E5E0DD;
  transition: border-color 0.3s;
}
.ulink:hover {
  border-color: #B99C86;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: "Jost", sans-serif;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 400;
  padding: 17px 32px;
  border: 1px solid #E5E0DD;
  color: #3E3438;
  overflow: hidden;
  white-space: nowrap;
  background-color: #FFFFFF;
  background-image: linear-gradient(to right, #3E3438, #3E3438);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0 100%;
  transition: background-size 0.45s cubic-bezier(0.2, 0.7, 0.3, 1), color 0.25s ease 0.12s, border-color 0.35s ease;
}
.btn i {
  font-size: 10px;
  transition: transform 0.45s;
}
.btn:hover, .btn:focus-visible {
  color: #fff;
  border-color: #3E3438;
  background-size: 100% 100%;
}
.btn:hover i, .btn:focus-visible i {
  transform: translateX(5px);
}
.btn:focus-visible {
  outline: 2px solid #B99C86;
  outline-offset: 4px;
}
.btn.on-dark {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background-color: transparent;
  background-image: linear-gradient(to right, #fff, #fff);
}
.btn.on-dark:hover, .btn.on-dark:focus-visible {
  color: #3E3438;
  border-color: #fff;
}

/* 署名要素②：ロゴの絞り（スリット）が開くようにビジュアルが現れる */
.ap {
  clip-path: inset(0 46% 0 46%);
  opacity: 0;
  transition: clip-path 1.5s cubic-bezier(0.16, 0.84, 0.3, 1), opacity 0.8s ease;
}
.ap.in {
  clip-path: inset(0 0 0 0);
  opacity: 1;
}

.fade {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s ease, transform 1.1s cubic-bezier(0.16, 0.84, 0.3, 1);
}
.fade.in {
  opacity: 1;
  transform: none;
}
.fade.d1 {
  transition-delay: 0.12s;
}
.fade.d2 {
  transition-delay: 0.24s;
}
.fade.d3 {
  transition-delay: 0.36s;
}

/* ---------- 画像枠 ---------- */
.ph {
  overflow: hidden;
  background: #F5F3F1;
}
.ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.3, 1);
}

a:hover .ph img,
.wcard:hover .ph img {
  transform: scale(1.045);
}

/* ---------- タグ ---------- */
.tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.16em;
  padding: 3px 11px;
  border: 1px solid #E5E0DD;
  color: #5F5457;
  font-family: "Zen Kaku Gothic New", sans-serif;
  white-space: nowrap;
}
.tag.reno {
  border-color: #B99C86;
  color: #B99C86;
}

/* ---------- セクション見出し ---------- */
.sh {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 5vw, 60px);
}
@media (max-width: 768px) {
  .sh {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
}
.sh .lat {
  font-family: "Jost", sans-serif;
  font-weight: 200;
  font-size: clamp(30px, 4.6vw, 46px);
  letter-spacing: 0.16em;
  text-transform: lowercase;
  line-height: 1;
}
.sh .jp {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: #5F5457;
}

/* ---------- テーブル（会社概要 / 事例DATA） ---------- */
.tbl {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid #E5E0DD;
}
.tbl th, .tbl td {
  padding: 17px 4px;
  border-bottom: 1px solid #E5E0DD;
  text-align: left;
  font-size: 14.5px;
  font-weight: 400;
  vertical-align: top;
  line-height: 2;
}
.tbl th {
  width: 190px;
  color: #5F5457;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.tbl td {
  letter-spacing: 0.05em;
}
@media (max-width: 768px) {
  .tbl th, .tbl td {
    display: block;
    width: 100%;
  }
  .tbl th {
    border-bottom: 0;
    padding-bottom: 2px;
    font-size: 12px;
    letter-spacing: 0.2em;
    color: #857B7E;
  }
  .tbl td {
    padding-top: 0;
  }
}

/* ---------- 下層ページヘッダー ---------- */
.phead {
  position: relative;
  height: clamp(230px, 36vh, 340px);
  overflow: hidden;
  background: #3E3438;
}
.phead img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}
.phead::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(40, 33, 36, 0.62) 0%, rgba(40, 33, 36, 0.18) 55%, rgba(40, 33, 36, 0.05) 100%);
}

.phead-in {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-inline: clamp(24px, 7vw, 96px);
  color: #fff;
  padding-top: 40px;
}

.phead-lat {
  font-family: "Jost", sans-serif;
  font-weight: 200;
  font-size: clamp(28px, 5vw, 54px);
  letter-spacing: 0.22em;
  text-transform: lowercase;
  line-height: 1;
}

.phead-jp {
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: 0.34em;
  opacity: 0.9;
}

.crumb {
  font-family: "Jost", sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: #857B7E;
  padding: 20px 0 0;
  text-transform: lowercase;
}
.crumb span {
  margin: 0 8px;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  background: #3E3438;
  color: #fff;
  padding-block: clamp(64px, 9vw, 120px);
}
.cta img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
}
.cta .cta-in {
  position: relative;
  z-index: 2;
  text-align: center;
}
@media (max-width: 768px) {
  .cta .cta-in {
    text-align: left;
  }
}
.cta .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}
@media (max-width: 768px) {
  .cta .eyebrow {
    text-align: left;
  }
}
.cta .h-jp {
  color: #fff;
  margin-bottom: 18px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  letter-spacing: 0.12em;
  font-size: clamp(19px, 2.6vw, 27px);
  line-height: 1.9;
}
.cta p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 14.5px;
  line-height: 2.1;
}

.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 38px;
}
@media (max-width: 768px) {
  .cta-btns {
    justify-content: flex-start;
  }
}

.cta-tel {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #fff;
  padding: 13px 32px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  transition: 0.4s;
}
.cta-tel b {
  font-family: "Jost", sans-serif;
  font-weight: 300;
  font-size: 21px;
  letter-spacing: 0.1em;
}
.cta-tel small {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  opacity: 0.75;
}
.cta-tel:hover {
  background: #fff;
  color: #3E3438;
}

/* PEEES規約：PCでは電話リンクを無効化 */
@media (min-width: 769px) {
  a.tel-link {
    pointer-events: none;
  }
}
/* ---------- ページトップへ ---------- */
#toTop {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 110;
  width: 34px;
  height: 34px;
  background: #3E3438;
  color: #fff;
  border: 0;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: 0.4s;
  font-size: 10px;
}
#toTop.show {
  opacity: 0.45;
  pointer-events: auto;
}
#toTop:hover {
  opacity: 1;
  background: #B99C86;
}
@media (max-width: 768px) {
  #toTop {
    right: 12px;
    bottom: 12px;
    width: 30px;
    height: 30px;
  }
}
.has-recaptcha #toTop {
  bottom: 68px;
}
@media (max-width: 768px) {
  .has-recaptcha #toTop {
    bottom: 66px;
  }
}

/* ---------- ページャ（wp-pagenavi） ---------- */
.wp-pagenavi {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: clamp(40px, 6vw, 64px);
  font-family: "Jost", sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
}
.wp-pagenavi a, .wp-pagenavi span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid #E5E0DD;
  color: #5F5457;
  transition: 0.35s;
}
.wp-pagenavi a:hover {
  border-color: #3E3438;
  color: #3E3438;
}
.wp-pagenavi span.current {
  background: #3E3438;
  border-color: #3E3438;
  color: #fff;
}

/* ============================================================
   modern room 合同会社
   assets/scss/style.scss  →  assets/css/style.css
   ビルド: sass assets/scss/style.scss assets/css/style.css --style=expanded
   ============================================================ */
/* ============================================================
   ヘッダー / ドロワー
   ============================================================ */
#head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 130;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 3vw, 36px);
  height: 82px;
  transition: background 0.5s, box-shadow 0.5s, height 0.5s;
}
#head.solid {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 #E5E0DD;
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #3E3438;
}
.brand svg {
  width: 34px;
  height: auto;
  display: block;
  flex: none;
}
.brand img {
  width: auto;
  height: 36px;
  display: block;
  flex: none;
}
@media (max-width: 768px) {
  .brand img {
    height: 30px;
  }
}
.brand .bn {
  font-family: "Jost", sans-serif;
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 0.34em;
  line-height: 1;
}

#head.trans .brand {
  color: #fff;
}
#head.trans .brand img {
  filter: brightness(0) invert(1);
}
#head.trans .gnav a.nv {
  color: #fff;
}
#head.trans .hd-ig {
  color: #fff;
}
#head.trans #burger span {
  background: #fff;
}

.gnav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}
.gnav a.nv {
  font-family: "Jost", sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  padding-bottom: 5px;
  white-space: nowrap;
}
.gnav a.nv::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #B99C86;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s;
}
.gnav a.nv:hover::after, .gnav a.nv.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hd-utils {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 8px;
}

.hd-ig {
  font-size: 15px;
  opacity: 0.85;
  transition: opacity 0.3s;
}
.hd-ig:hover {
  opacity: 1;
}

.hd-line {
  font-size: 16px;
}

/* ---------- ハンバーガー ---------- */
#burger {
  display: none;
  width: 46px;
  height: 46px;
  position: relative;
  background: none;
  border: 0;
  cursor: pointer;
  z-index: 2;
}
#burger span {
  position: absolute;
  left: 12px;
  width: 22px;
  height: 1.5px;
  background: #3E3438;
  transition: transform 0.4s, background-color 0.3s;
}
#burger span:nth-child(1) {
  top: 18px;
}
#burger span:nth-child(2) {
  top: 27px;
}
#burger.open span {
  background: #3E3438 !important;
}
#burger.open span:nth-child(1) {
  transform: translateY(4.5px) rotate(45deg);
}
#burger.open span:nth-child(2) {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* ドロワーを開いている間は、TOPの透過ヘッダーでもロゴ・×を濃い色に戻す */
body.nav-open #head, body.nav-open #head.trans {
  background: transparent;
  box-shadow: none;
}
body.nav-open #head.trans .brand {
  color: #3E3438;
}
body.nav-open #head.trans .brand img {
  filter: none;
}
body.nav-open #head.trans #burger span {
  background: #3E3438;
}

/* ---------- ドロワー ---------- */
#drawer {
  position: fixed;
  inset: 0;
  z-index: 125;
  background: #FFFFFF;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s cubic-bezier(0.16, 0.84, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(20px, 5vw, 64px);
  overflow-y: auto;
}
#drawer.open {
  clip-path: inset(0 0 0 0);
}
#drawer a.dv {
  display: block;
  font-family: "Jost", sans-serif;
  font-size: 22px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 300;
  padding: 15px 0;
  border-bottom: 1px solid #E5E0DD;
}
#drawer a.dv small {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #857B7E;
  margin-left: 14px;
}

.dw-foot {
  margin-top: 38px;
  font-size: 12.5px;
  color: #5F5457;
  line-height: 2.1;
}

.dw-sns {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  font-size: 16px;
  color: #5F5457;
}

@media (max-width: 768px) {
  .gnav, .hd-utils {
    display: none;
  }
  #burger {
    display: block;
  }
}
/* ============================================================
   modern room 合同会社
   assets/scss/style.scss  →  assets/css/style.css
   ビルド: sass assets/scss/style.scss assets/css/style.css --style=expanded
   ============================================================ */
/* ============================================================
   フッター
   ============================================================ */
footer {
  background: #F5F3F1;
  padding-top: clamp(56px, 7vw, 88px);
}

.f-top {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(30px, 5vw, 60px);
  padding-bottom: 52px;
}
@media (max-width: 768px) {
  .f-top {
    grid-template-columns: 1fr;
  }
}

.f-brand svg {
  width: 52px;
  height: auto;
  display: block;
  color: #3E3438;
}
.f-brand img {
  width: auto;
  height: 40px;
  display: block;
}
@media (max-width: 768px) {
  .f-brand img {
    height: 34px;
  }
}

.f-name {
  font-family: "Jost", sans-serif;
  font-size: 17px;
  letter-spacing: 0.3em;
  margin: 14px 0 0;
  font-weight: 300;
  line-height: 1;
}

.f-info {
  font-size: 13.5px;
  color: #5F5457;
  line-height: 2.15;
  letter-spacing: 0.05em;
  margin-top: 18px;
}

.f-tel {
  font-family: "Jost", sans-serif;
  font-size: 22px;
  letter-spacing: 0.08em;
  color: #3E3438;
  display: inline-block;
  margin-top: 12px;
}

.f-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 24px;
  align-content: start;
}
.f-nav a {
  font-family: "Jost", sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 9px 0;
  border-bottom: 1px solid #E5E0DD;
  transition: color 0.3s;
}
.f-nav a:hover {
  color: #B99C86;
}

.f-bot {
  border-top: 1px solid #E5E0DD;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.f-bot small {
  font-family: "Jost", sans-serif;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #857B7E;
}

.f-sns {
  display: flex;
  gap: 16px;
  font-size: 14px;
  color: #5F5457;
}
.f-sns a:hover {
  color: #B99C86;
}

/* ============================================================
   modern room 合同会社
   assets/scss/style.scss  →  assets/css/style.css
   ビルド: sass assets/scss/style.scss assets/css/style.css --style=expanded
   ============================================================ */
/* ============================================================
   TOP
   ============================================================ */
/* ---------- ヒーロー（メインビジュアル3枚切り替え） ----------
   写真は3:2。画面が横長すぎると上下が大きく切られて「寄った」写真に
   見えるので、幅に対する最低の高さ（58vw）を持たせて引きで見せる。
   ------------------------------------------------------------ */
.hero {
  position: relative;
  height: 100svh;
  min-height: max(560px, 58vw);
  overflow: hidden;
  background: #3E3438;
}
@media (max-width: 768px) {
  .hero {
    min-height: 560px;
  }
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hslide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.hslide picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hslide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}
.hslide.on {
  opacity: 1;
  z-index: 2;
}
.hslide.on img {
  animation: kb 9s ease-out forwards;
}

@keyframes kb {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1);
  }
}
/* 写真の明るさを殺さないよう、コピーが載る左下だけを局所的に沈める（この3層は触らない） */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(38, 31, 34, 0) 42%, rgba(38, 31, 34, 0.3) 62%, rgba(38, 31, 34, 0.76) 100%), linear-gradient(90deg, rgba(38, 31, 34, 0.52) 0%, rgba(38, 31, 34, 0.12) 38%, rgba(38, 31, 34, 0) 58%), linear-gradient(180deg, rgba(38, 31, 34, 0.32) 0%, rgba(38, 31, 34, 0) 18%);
}

/* コピーを載せないときは、写真をできるだけそのまま見せる。
   上下だけ軽く沈めて、ヘッダーのロゴと scroll／インジケーターの視認性を確保する */
.hero.no-copy::after {
  background: linear-gradient(180deg, rgba(38, 31, 34, 0.34) 0%, rgba(38, 31, 34, 0) 20%), linear-gradient(180deg, rgba(38, 31, 34, 0) 74%, rgba(38, 31, 34, 0.38) 100%);
}

.hero-in {
  position: absolute;
  inset: auto 0 clamp(96px, 16vh, 168px) 0;
  z-index: 4;
  color: #fff;
  padding-inline: clamp(24px, 7vw, 96px);
}
@media (max-width: 768px) {
  .hero-in {
    bottom: 92px;
  }
}

.hero-lat {
  font-family: "Jost", sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.5em;
  text-transform: lowercase;
  opacity: 0.92;
  margin-bottom: 26px;
  text-shadow: 0 1px 14px rgba(30, 24, 26, 0.7);
}

.hero-copy {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  line-height: 1.72;
  letter-spacing: 0.09em;
  font-size: clamp(26px, 5.2vw, 54px);
  text-shadow: 0 2px 30px rgba(30, 24, 26, 0.4);
  text-wrap: balance;
  word-break: auto-phrase;
  line-break: strict;
  overflow-wrap: break-word;
}

.hero-sub {
  margin-top: 26px;
  font-size: 14.5px;
  line-height: 2.1;
  opacity: 0.96;
  letter-spacing: 0.06em;
  max-width: 30em;
  text-shadow: 0 1px 16px rgba(30, 24, 26, 0.6);
}

.hero-scr {
  position: absolute;
  left: clamp(24px, 7vw, 96px);
  bottom: 0;
  z-index: 4;
  color: #fff;
  font-family: "Jost", sans-serif;
  font-size: 9.5px;
  letter-spacing: 0.36em;
  writing-mode: vertical-rl;
  padding-bottom: 78px;
  opacity: 0.8;
}
.hero-scr::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: 64px;
  background: rgba(255, 255, 255, 0.55);
  animation: scr 2.4s ease-in-out infinite;
  transform-origin: top;
}
@media (max-width: 768px) {
  .hero-scr {
    display: none;
  }
}

@keyframes scr {
  0% {
    transform: scaleY(0);
  }
  45% {
    transform: scaleY(1);
  }
  100% {
    transform: scaleY(1);
    opacity: 0;
  }
}
/* ヒーローのスライドインジケーター */
.hero-dots {
  position: absolute;
  right: clamp(24px, 7vw, 96px);
  bottom: clamp(96px, 16vh, 168px);
  z-index: 4;
  display: flex;
  gap: 10px;
}
.hero-dots button {
  width: 34px;
  height: 2px;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.4s;
}
.hero-dots button.on {
  background: rgba(255, 255, 255, 0.95);
}
@media (max-width: 768px) {
  .hero-dots {
    right: auto;
    left: clamp(24px, 7vw, 96px);
    bottom: 44px;
  }
}

/* ---------- コンセプト / 代表メッセージ 共通 ---------- */
.cc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
}
@media (max-width: 768px) {
  .cc {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.cc-img {
  position: relative;
  aspect-ratio: 4/5;
}
.cc-img .ph {
  width: 100%;
  height: 100%;
}
.cc-img .vl {
  position: absolute;
  top: 24px;
  right: -34px;
}
@media (max-width: 768px) {
  .cc-img .vl {
    display: none;
  }
}

.cc-txt .h-jp {
  margin-bottom: 30px;
}
.cc-txt p + p {
  margin-top: 1.5em;
}

.sign {
  margin-top: 34px;
  font-size: 13px;
  color: #5F5457;
  letter-spacing: 0.1em;
}
.sign b {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #3E3438;
  letter-spacing: 0.16em;
  margin-left: 10px;
}

/* ---------- SERVICE 行 ---------- */
.srow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}
.srow + .srow {
  margin-top: clamp(56px, 8vw, 116px);
}
.srow.rev .srow-img {
  order: 2;
}
@media (max-width: 768px) {
  .srow {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .srow.rev .srow-img {
    order: 0;
  }
}

.srow-img .ph {
  aspect-ratio: 3/2;
}

.snum {
  font-family: "Jost", sans-serif;
  font-weight: 200;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: #B99C86;
  margin-bottom: 14px;
}

.srow-txt .h-jp-s {
  margin-bottom: 20px;
}

.slist {
  margin-top: 26px;
  border-top: 1px solid #E5E0DD;
}
.slist li {
  padding: 13px 0;
  border-bottom: 1px solid #E5E0DD;
  font-size: 14px;
  color: #5F5457;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  letter-spacing: 0.06em;
}
.slist li::before {
  content: "";
  width: 9px;
  height: 1px;
  background: #B99C86;
  flex: none;
  margin-top: 1em;
}

.snote {
  margin-top: 16px;
  font-size: 13px;
  color: #5F5457;
  letter-spacing: 0.06em;
  line-height: 1.9;
}

/* ---------- 強み ---------- */
.pcards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #E5E0DD;
  border: 1px solid #E5E0DD;
}
@media (max-width: 1024px) {
  .pcards {
    grid-template-columns: 1fr;
  }
}

.pcard {
  background: #FFFFFF;
  padding: clamp(28px, 3.4vw, 48px) clamp(22px, 2.6vw, 38px);
}
.pcard .n {
  font-family: "Jost", sans-serif;
  font-weight: 200;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: #B99C86;
}
.pcard h4 {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.07em;
  line-height: 1.75;
  margin: 16px 0 14px;
}
.pcard p {
  font-size: 14px;
  color: #5F5457;
  line-height: 2.05;
}

/* ---------- Instagram ----------
   写真を並べるとAPI連携と更新の手間が発生するため、
   アカウントへの導線だけを置く（画像なし・更新不要）
   ------------------------------------------------ */
.igbox {
  border: 1px solid #E5E0DD;
  padding: clamp(36px, 5vw, 64px) clamp(24px, 4vw, 56px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
@media (max-width: 768px) {
  .igbox {
    text-align: left;
    align-items: flex-start;
    padding: 32px 24px;
  }
}

.ig-mark {
  width: 54px;
  height: 54px;
  border: 1px solid #E5E0DD;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #3E3438;
  flex: none;
}

.ig-id {
  font-family: "Jost", sans-serif;
  font-weight: 300;
  font-size: clamp(20px, 2.6vw, 26px);
  letter-spacing: 0.18em;
  line-height: 1;
  color: #3E3438;
}

.ig-txt {
  color: #5F5457;
  font-size: 14.5px;
  line-height: 2.05;
  max-width: 30em;
  text-wrap: pretty;
  word-break: auto-phrase;
  line-break: strict;
  overflow-wrap: break-word;
}

.igbox .btn {
  margin-top: 8px;
}

/* ============================================================
   modern room 合同会社
   assets/scss/style.scss  →  assets/css/style.css
   ビルド: sass assets/scss/style.scss assets/css/style.css --style=expanded
   ============================================================ */
/* ============================================================
   施工事例
   一覧は写真と題名だけ。物件説明とDATAはクリックした先の
   個別ページ（single-works.php）で見せる
   ============================================================ */
.wgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(44px, 5vw, 76px) clamp(30px, 4vw, 56px);
  align-items: start;
}
.wgrid.three {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1024px) {
  .wgrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .wgrid.three {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .wgrid {
    grid-template-columns: 1fr;
  }
  .wgrid.three {
    grid-template-columns: 1fr;
  }
}

.wcard {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  color: inherit;
}
.wcard .ph {
  aspect-ratio: 4/3;
  position: relative;
  flex: none;
}
.wcard:focus-visible {
  outline: 2px solid #B99C86;
  outline-offset: 6px;
}

/* 写真の上に出る「詳しく見られます」の合図 */
.wcard .ph::after {
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  color: #3E3438;
  font-size: 12px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s, transform 0.35s;
}

.wcard:hover .ph::after,
.wcard:focus-visible .ph::after {
  opacity: 1;
  transform: none;
}

.wttl {
  margin-top: 16px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.08em;
  line-height: 1.7;
}

.wmeta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 9px;
  font-family: "Jost", sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #5F5457;
  flex-wrap: wrap;
}

/* ---------- フィルタ ---------- */
.filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.fbtn {
  font-family: "Jost", sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: lowercase;
  padding: 11px 24px;
  border: 1px solid #E5E0DD;
  background: none;
  cursor: pointer;
  color: #5F5457;
  transition: 0.35s;
  font-weight: 400;
  white-space: nowrap;
}
.fbtn small {
  font-family: "Zen Kaku Gothic New", sans-serif;
  letter-spacing: 0.1em;
  margin-left: 8px;
  font-size: 11.5px;
}
.fbtn:hover {
  border-color: #3E3438;
  color: #3E3438;
}
.fbtn.on {
  background: #3E3438;
  border-color: #3E3438;
  color: #fff;
}

.wempty {
  padding: 60px 0;
  text-align: center;
  color: #5F5457;
  font-size: 14px;
  letter-spacing: 0.1em;
}

/* ============================================================
   施工事例 詳細ページ
   ============================================================ */
/* 物件名を大きく見せるページヘッダー */
.phead-jp-lg {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: clamp(26px, 4.4vw, 46px);
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-wrap: balance;
  word-break: auto-phrase;
  line-break: strict;
  overflow-wrap: break-word;
}

.phead-sub {
  margin-top: 16px;
  display: flex;
  gap: 20px;
  font-size: 12px;
  letter-spacing: 0.28em;
  opacity: 0.92;
}

/* ---------- 写真スライダー ----------
   支給写真は横位置と縦位置が混ざっている。切り取ると縦写真の上下が
   見切れるので、枠は 4:3 に固定したうえで object-fit: contain で
   写真全体を収める（縦でも横でも欠けない）。
   大きさは max-height ではなく「幅」で決めること。
   ------------------------------------ */
.wslider {
  max-width: 880px;
  margin-inline: auto;
}
.wslider .slider {
  position: relative;
  flex: none;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #F5F3F1;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.slide.on {
  opacity: 1;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sarrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.92);
  border: 0;
  cursor: pointer;
  color: #3E3438;
  font-size: 13px;
  transition: 0.35s;
}
.sarrow:hover {
  background: #3E3438;
  color: #fff;
}
.sarrow.prev {
  left: 0;
}
.sarrow.next {
  right: 0;
}
@media (max-width: 768px) {
  .sarrow {
    width: 44px;
    height: 44px;
  }
}

.scount {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 4;
  background: #FFFFFF;
  font-family: "Jost", sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  padding: 11px 18px;
}

/* サムネイルは横1列。枚数が多いので横スクロールで見せる */
.thumbs {
  display: flex;
  gap: 6px;
  padding: 6px 0 0;
  overflow-x: auto;
  scrollbar-width: thin;
  scroll-behavior: smooth;
}
.thumbs button {
  flex: 0 0 auto;
  width: 108px;
  height: 72px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  opacity: 0.45;
  transition: opacity 0.35s;
  overflow: hidden;
}
.thumbs button.on, .thumbs button:hover {
  opacity: 1;
}
.thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #F5F3F1;
  display: block;
}
@media (max-width: 768px) {
  .thumbs button {
    width: 84px;
    height: 58px;
  }
}

/* ---------- 物件説明とDATA ----------
   写真（.wslider）と左右の位置を揃えるため、幅は同じ 880px にする
   ------------------------------------ */
.wdetail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
  max-width: 880px;
  margin-inline: auto;
}
@media (max-width: 1024px) {
  .wdetail {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
.wdetail.no-txt {
  grid-template-columns: minmax(0, 620px);
  justify-content: center;
}

.wdetail-txt .lead + .lead {
  margin-top: 1.5em;
}

.wdetail-data .tbl {
  margin-top: 4px;
}
.wdetail-data .tbl th {
  width: 7em;
  white-space: nowrap;
}
.wdetail-data .tbl th, .wdetail-data .tbl td {
  padding: 14px 4px;
  font-size: 14px;
}

/* ---------- 前後の事例・一覧へ戻る ---------- */
.wnav-sec {
  padding-block: clamp(40px, 5vw, 64px);
  border-top: 1px solid #E5E0DD;
}

.wnav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
}
@media (max-width: 768px) {
  .wnav {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "prev next" "back back";
    row-gap: 26px;
  }
}

.wnav-side {
  min-width: 0;
}
.wnav-side.right {
  display: flex;
  justify-content: flex-end;
}
@media (max-width: 768px) {
  .wnav-side:not(.right) {
    grid-area: prev;
  }
  .wnav-side.right {
    grid-area: next;
  }
}

@media (max-width: 768px) {
  .wnav .btn {
    grid-area: back;
    justify-self: center;
  }
}

.wnav-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  font-size: 13.5px;
  color: #5F5457;
  letter-spacing: 0.06em;
  transition: color 0.3s;
}
.wnav-link i {
  font-size: 10px;
  color: #B99C86;
  flex: none;
}
.wnav-link span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wnav-link:hover {
  color: #3E3438;
}
@media (max-width: 768px) {
  .wnav-link {
    font-size: 12.5px;
    gap: 8px;
  }
}

/* ============================================================
   modern room 合同会社
   assets/scss/style.scss  →  assets/css/style.css
   ビルド: sass assets/scss/style.scss assets/css/style.css --style=expanded
   ============================================================ */
/* ============================================================
   事業内容（FLOW）
   ============================================================ */
.flow {
  border-top: 1px solid #E5E0DD;
}

.fitem {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: clamp(16px, 3vw, 44px);
  padding: clamp(22px, 3vw, 34px) 0;
  border-bottom: 1px solid #E5E0DD;
  align-items: baseline;
}
.fitem .fn {
  font-family: "Jost", sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.24em;
  color: #5F5457;
}
.fitem h5 {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.07em;
  margin-bottom: 9px;
}
.fitem p {
  font-size: 14px;
  color: #5F5457;
  line-height: 2.05;
}
@media (max-width: 768px) {
  .fitem {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* ============================================================
   modern room 合同会社
   assets/scss/style.scss  →  assets/css/style.css
   ビルド: sass assets/scss/style.scss assets/css/style.css --style=expanded
   ============================================================ */
/* ============================================================
   会社概要
   ============================================================ */
/* ---------- 代表メッセージ（写真なし） ----------
   写真を置かない代わりに、左に見出し・右に本文を振って
   1行の文字数を抑え、余白で間を持たせる
   ------------------------------------------------ */
.msg {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 5vw, 88px);
  align-items: start;
  max-width: 1040px;
  margin-inline: auto;
}
@media (max-width: 1024px) {
  .msg {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
.msg.no-ttl {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}
.msg.no-ttl .msg-head {
  padding-left: 0;
}
.msg.no-ttl .msg-head::before {
  display: none;
}
.msg.no-ttl .msg-head .eyebrow {
  margin-bottom: 0;
}

.msg-head {
  position: relative;
  padding-left: 24px;
}
.msg-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(180deg, #B99C86, rgba(185, 156, 134, 0));
}
.msg-head .eyebrow {
  margin-bottom: 20px;
}
@media (max-width: 1024px) {
  .msg-head {
    padding-left: 20px;
  }
  .msg-head::before {
    bottom: auto;
    height: 100%;
  }
}

.msg-ttl {
  font-size: clamp(22px, 3.4vw, 34px);
  line-height: 1.8;
}

.msg-body {
  padding-top: clamp(0px, 1vw, 10px);
}
.msg-body p + p {
  margin-top: 1.6em;
}
.msg-body .lead {
  font-size: 15.5px;
}
.msg-body .sign {
  text-align: right;
  margin-top: 40px;
}
@media (max-width: 768px) {
  .msg-body .sign {
    text-align: left;
  }
}

/* ---------- ACCESS ---------- */
.access-map {
  position: relative;
  aspect-ratio: 16/7;
  background: #FFFFFF;
  border: 1px solid #E5E0DD;
  overflow: hidden;
}
.access-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
@media (max-width: 768px) {
  .access-map {
    aspect-ratio: 4/3;
  }
}

.access-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #857B7E;
  font-size: 12px;
  letter-spacing: 0.16em;
}

/* ============================================================
   modern room 合同会社
   assets/scss/style.scss  →  assets/css/style.css
   ビルド: sass assets/scss/style.scss assets/css/style.css --style=expanded
   ============================================================ */
/* ============================================================
   お問い合わせ（Contact Form 7）
   必須＝red / 任意＝blue でラベルを色分け
   ============================================================ */
.contact-intro {
  max-width: 40em;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}
.contact-intro .eyebrow {
  display: inline-block;
}
.contact-intro .h-jp {
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .contact-intro {
    text-align: left;
  }
  .contact-intro .eyebrow {
    display: block;
  }
}

.contact-tel {
  border-color: #E5E0DD;
  color: #3E3438;
  margin-top: 26px;
}
.contact-tel:hover {
  background: #3E3438;
  color: #fff;
  border-color: #3E3438;
}

/* ---------- LINEの導線 ---------- */
.linebox {
  max-width: 800px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  border: 1px solid #E5E0DD;
  padding: clamp(26px, 3.4vw, 42px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
@media (max-width: 768px) {
  .linebox {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}
.linebox .h-jp-s {
  margin-bottom: 14px;
}
.linebox .btn {
  margin-top: 22px;
}

.linebox-qr {
  text-align: center;
  flex: none;
}
.linebox-qr img {
  width: 132px;
  height: auto;
  margin-inline: auto;
  border: 1px solid #E5E0DD;
}
.linebox-qr p {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: 0.06em;
  color: #857B7E;
}
@media (max-width: 768px) {
  .linebox-qr {
    display: none;
  }
}

/* LINEブランドカラーのボタン */
.btn-line {
  border-color: #06C755;
  color: #06C755;
  background-image: linear-gradient(to right, #06C755, #06C755);
}
.btn-line i {
  font-size: 15px;
}
.btn-line:hover, .btn-line:focus-visible {
  color: #fff;
  border-color: #06C755;
}
.btn-line.on-dark {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.form {
  max-width: 800px;
  margin-inline: auto;
}

.frow {
  padding: 22px 0;
  border-bottom: 1px solid #E5E0DD;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  align-items: flex-start;
}
.frow:first-of-type {
  border-top: 1px solid #E5E0DD;
}
@media (max-width: 768px) {
  .frow {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.flab {
  font-size: 13px;
  letter-spacing: 0.1em;
  padding-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.7;
}
@media (max-width: 768px) {
  .flab {
    padding-top: 0;
  }
}

/* 必須・任意のラベル
   当初は赤・青だったが、2026-09-14 の指示で会社イメージ（ロゴ色）に合わせた。
   必須＝ロゴ色のベタ、任意＝アクセント色の枠線。色ではなく塗りの有無で区別する */
.req,
.opt {
  font-size: 9.5px;
  letter-spacing: 0.12em;
  padding: 3px 9px;
  flex: none;
  line-height: 1.6;
  border: 1px solid transparent;
}

.req {
  background: #3E3438;
  border-color: #3E3438;
  color: #fff;
}

.opt {
  background: transparent;
  border-color: #B99C86;
  color: #B99C86;
}

.form input[type=text],
.form input[type=email],
.form input[type=tel],
.form textarea,
.form select {
  width: 100%;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #3E3438;
  border: 1px solid #E5E0DD;
  background: #fdfcfc;
  padding: 13px 15px;
  border-radius: 0;
  transition: border-color 0.3s, background 0.3s;
  -webkit-appearance: none;
  appearance: none;
  line-height: 1.9;
}
.form select {
  background-image: linear-gradient(45deg, transparent 50%, #5F5457 50%), linear-gradient(135deg, #5F5457 50%, transparent 50%);
  background-position: calc(100% - 19px) 21px, calc(100% - 14px) 21px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.form textarea {
  min-height: 170px;
  line-height: 2;
}
.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: #B99C86;
  background: #fff;
}

.radios {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  padding-top: 9px;
}
.radios label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  cursor: pointer;
}
@media (max-width: 768px) {
  .radios {
    flex-direction: column;
    gap: 10px;
  }
}

/* CF7 が挿入するラッパを素通しにする */
.wpcf7-form-control-wrap {
  display: block;
}

.form .wpcf7-radio {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  padding-top: 9px;
}

.form .wpcf7-list-item {
  margin: 0;
}

.form .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  cursor: pointer;
}

.form .wpcf7-list-item-label {
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .form .wpcf7-radio {
    flex-direction: column;
    gap: 10px;
  }
}
/* ハニーポット（人には見せない） */
.mr-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.fnote {
  margin: 30px 0;
  font-size: 12.5px;
  color: #5F5457;
  text-align: center;
  line-height: 2.1;
}
.fnote a {
  border-bottom: 1px solid #E5E0DD;
}
@media (max-width: 768px) {
  .fnote {
    text-align: left;
  }
}

.fsubmit {
  text-align: center;
  position: relative;
}
.fsubmit button,
.fsubmit input[type=submit],
.fsubmit .wpcf7-submit {
  font-family: "Jost", sans-serif;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 19px 60px;
  background: #3E3438;
  color: #fff;
  border: 0;
  cursor: pointer;
  transition: 0.4s;
  -webkit-appearance: none;
  appearance: none;
}
.fsubmit button:hover,
.fsubmit input[type=submit]:hover,
.fsubmit .wpcf7-submit:hover {
  background: #B99C86;
}

/* ---------- CF7 のメッセージ類 ---------- */
.wpcf7-not-valid-tip {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #C0392B;
}

.wpcf7-not-valid {
  border-color: #C0392B !important;
  background: #fffafa !important;
}

.wpcf7 form .wpcf7-response-output {
  margin: 28px 0 0;
  padding: 16px 20px;
  border: 1px solid #E5E0DD;
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  text-align: left;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  border-color: #C0392B;
  color: #C0392B;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #B99C86;
  color: #3E3438;
}

.wpcf7-spinner {
  margin: 0 0 0 14px;
}

/* reCAPTCHA バッジ：右下で目立ちすぎるため 70% に縮小
   ※ バッジ本体は幅256pxで、左70pxだけが画面内に見えている（right:-186px）。
     見えている部分の右端（左から70px）を基準に縮小すると、画面右端に沿ったまま小さくなる */
.grecaptcha-badge {
  z-index: 100;
  transform: scale(0.7);
  transform-origin: 70px 100%;
}

/* ---------- 送信完了 ---------- */
.thanks-box {
  text-align: center;
  max-width: 40em;
  margin-inline: auto;
}
.thanks-box .h-jp {
  margin-bottom: 24px;
}
.thanks-box .btn {
  margin-top: 38px;
}
@media (max-width: 768px) {
  .thanks-box {
    text-align: left;
  }
}

/* ============================================================
   modern room 合同会社
   assets/scss/style.scss  →  assets/css/style.css
   ビルド: sass assets/scss/style.scss assets/css/style.css --style=expanded
   ============================================================ */
/* ============================================================
   予備ページ（非公開・下書き運用）／プライバシーポリシー／404
   ============================================================ */
.note-box {
  border: 1px solid #B99C86;
  padding: clamp(24px, 4vw, 40px);
  margin-bottom: 48px;
}
.note-box p {
  font-size: 14.5px;
  line-height: 2.1;
  color: #5F5457;
}
.note-box strong {
  font-weight: 500;
}

.policy h3 {
  margin-top: 36px;
}
.policy h3:first-of-type {
  margin-top: 0;
}
.policy p {
  margin-top: 12px;
}

.err {
  text-align: center;
  padding-block: clamp(90px, 14vw, 180px);
}
.err .err-num {
  font-family: "Jost", sans-serif;
  font-weight: 200;
  font-size: clamp(64px, 14vw, 148px);
  letter-spacing: 0.16em;
  line-height: 1;
  color: #857B7E;
}
.err .h-jp {
  margin: 26px 0 18px;
}
.err .btn {
  margin-top: 36px;
}
@media (max-width: 768px) {
  .err {
    text-align: left;
  }
}
