@charset "UTF-8";
/*
Theme Name: 合同会社ひふみデザイン
Description: 住まいをバリューアップするリノベーションデザイン／ポップ版（テンプレ③ c2-4ベース）
Version: 1.0
*/

/* =========================================================
   _base.scss … 全ページ共通（カラー変数 / リセット / 共通部品）
   ひふみデザイン ポップ版
   ========================================================= */

:root {
  --navy: #172a88;        /* ロゴネイビー */
  --ink: #3e3a39;         /* ロゴグレー */
  --yellow: #f5c542;      /* こだわり① ひ／西鎌倉 */
  --green: #8cc152;       /* こだわり② ふ／湘南海岸 */
  --blue: #4a63d0;        /* こだわり③ み／春日部 */
  --navy-deep: #0f1d5e;
  --navy-soft: #eef1fb;
  --yellow-soft: #fdf3d4;
  --green-soft: #e8f3da;
  --blue-soft: #e4e8fa;
  --text: #3e3a39;
  --text-sub: #6b6967;
  --paper: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Zen Maru Gothic", sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.95;
  letter-spacing: .03em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: .3s;
}

.en {
  font-family: "Jost", sans-serif;
  letter-spacing: .08em;
}

/* コンテンツ最大幅 1720px / 左右パディング 80px */
.wrap {
  max-width: 1720px;
  margin: 0 auto;
  padding: 0 80px;
}

/* ===== ローディング ===== */
#loading {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 22px;
  transition: opacity .7s, visibility .7s;
}

#loading.hide {
  opacity: 0;
  visibility: hidden;
}

#loading img {
  width: 200px;
  animation: pop .8s cubic-bezier(.18, .89, .32, 1.28);
}

@keyframes pop {
  0% {
    opacity: 0;
    transform: scale(.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.ld-dots {
  display: flex;
  gap: 10px;
}

.ld-dots i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  animation: bnc .9s ease-in-out infinite;
}

.ld-dots i:nth-child(1) {
  background: var(--yellow);
}

.ld-dots i:nth-child(2) {
  background: var(--green);
  animation-delay: .15s;
}

.ld-dots i:nth-child(3) {
  background: var(--blue);
  animation-delay: .3s;
}

@keyframes bnc {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* ===== 浮遊ブロブ共通アニメ ===== */
@keyframes floaty {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

/* ===== セクション見出し共通 ===== */
.sec {
  padding: 110px 0;
}

.sec-head {
  text-align: center;
  margin-bottom: 60px;
}

.sec-head .en {
  display: block;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
}

.sec-head .ja {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--text-sub);
  background: var(--blue-soft);
  padding: 5px 20px;
  border-radius: 30px;
}

/* ===== ページトップボタン ===== */
.pagetop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 50px;
  height: 50px;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  transition: .4s;
  z-index: 900;
  box-shadow: 0 8px 20px rgba(74, 99, 208, .4);
}

.pagetop.show {
  opacity: 1;
  visibility: visible;
}

.pagetop:hover {
  transform: translateY(-4px);
}

/* ===== フェードイン ===== */
.fade {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .9s, transform .9s;
}

.fade.in {
  opacity: 1;
  transform: translateY(0);
}

.sp-br {
  display: none;
}

@media (max-width: 768px) {
  .wrap {
    padding: 0 24px;
  }
  .sec {
    padding: 70px 0;
  }
  .sp-br {
    display: block;
  }
}

/* =========================================================
   _header.scss … ヘッダー（固定 / 英語ナビ / WORKSドロップダウン）
   ========================================================= */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.hd-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 44px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(8px);
  transition: .4s;
}

header.scrolled .hd-inner {
  padding: 12px 44px;
  box-shadow: 0 6px 28px rgba(23, 42, 136, .07);
}

.hd-logo img {
  height: 50px;
  width: auto;
}

header.scrolled .hd-logo img {
  height: 42px;
}

.hd-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.hd-nav a {
  font-family: "Jost", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--ink);
  position: relative;
  padding: 6px 2px;
}

.hd-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--navy);
  transition: .3s;
  transform: translateX(-50%);
}

.hd-nav a:hover {
  color: var(--navy);
}

.hd-nav a:hover::after {
  width: 100%;
}

.hd-nav a.is-contact {
  color: var(--navy);
}

.hd-nav a.is-contact::after {
  background: var(--blue);
}

/* ===== WORKSドロップダウン ===== */
.hd-nav .has-drop {
  position: relative;
}

.hd-nav .drop {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  min-width: 236px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(23, 42, 136, .16);
  padding: 10px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transition: .32s cubic-bezier(.7, 0, .3, 1);
  z-index: 1200;
}

.hd-nav .drop::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 3px;
}

.hd-nav .has-drop:hover .drop {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(8px);
}

.hd-nav .drop li {
  width: 100%;
}

.hd-nav .drop a {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .03em;
  color: var(--ink);
  transition: .25s;
  white-space: nowrap;
}

.hd-nav .drop a::after {
  display: none;
}

.hd-nav .drop a small {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-sub);
  font-weight: 400;
}

.hd-nav .drop a:hover {
  background: var(--navy-soft);
  color: var(--navy);
  padding-left: 20px;
}

.hd-nav .drop .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hd-nav .drop .dot.c1 {
  background: var(--yellow);
}

.hd-nav .drop .dot.c2 {
  background: var(--green);
}

.hd-nav .drop .dot.c3 {
  background: var(--blue);
}

.hd-nav .drop .drop-all {
  margin-top: 4px;
  border-top: 1px solid #eef0f4;
  padding-top: 4px;
}

.hd-nav .drop .drop-all a {
  justify-content: center;
  font-family: "Jost", sans-serif;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--blue);
}

.hd-nav .drop .drop-all a small {
  margin-left: 0;
}

.hd-nav .drop .drop-all a i {
  font-size: 10px;
  transition: .3s;
}

.hd-nav .drop .drop-all a:hover {
  background: var(--blue);
  color: #fff;
  padding-left: 16px;
}

.hd-nav .drop .drop-all a:hover i {
  transform: translateX(3px);
}

/* WORKSインジケーター（▾） */
.hd-nav .has-drop > a::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 6px;
  vertical-align: middle;
  opacity: .6;
  transition: .3s;
}

.hd-nav .has-drop:hover > a::before {
  transform: rotate(225deg);
  opacity: 1;
}

.hamburger {
  display: none;
}

/* ===== SP ===== */
@media (max-width: 768px) {
  .hd-inner {
    padding: 14px 20px;
  }
  .hd-logo img {
    height: 40px;
  }
  .hd-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(23, 42, 136, .98);
    display: block;
    transform: translateX(100%);
    transition: .45s;
    overflow-y: auto;
    padding: 96px 24px 60px;
  }
  .hd-nav.open {
    transform: translateX(0);
  }
  .hd-nav ul {
    flex-direction: column;
    gap: 22px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    display: flex;
  }
  .hd-nav > ul > li {
    text-align: center;
  }
  .hd-nav a {
    color: #fff;
    font-size: 18px;
  }
  .hd-nav a.is-contact {
    color: var(--yellow);
  }
  /* SP：WORKSサブ項目を展開表示 */
  .hd-nav .drop {
    position: static;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin-top: 14px;
    min-width: 0;
    gap: 8px;
  }
  .hd-nav .drop::before {
    display: none;
  }
  .hd-nav .drop a {
    color: #fff;
    font-size: 14px;
    justify-content: center;
    padding: 8px;
  }
  .hd-nav .drop a small {
    display: none;
  }
  .hd-nav .drop a:hover {
    background: rgba(255, 255, 255, .12);
    color: #fff;
  }
  .hd-nav .drop .drop-all {
    border-top: 1px solid rgba(255, 255, 255, .2);
  }
  .hd-nav .drop .drop-all a {
    color: var(--yellow);
  }
  .hd-nav .has-drop > a::before {
    display: none;
  }
  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    cursor: pointer;
    z-index: 1100;
  }
  .hamburger span {
    display: block;
    height: 3px;
    border-radius: 3px;
    background: var(--navy);
    transition: .3s;
  }
  .hamburger.open span {
    background: #fff;
  }
  .hamburger.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

/* =========================================================
   _lower.scss … 下層ページ共通ヒーロー（ABOUT / PROFILE / WORKS）
   ========================================================= */

.lower-hero {
  position: relative;
  padding: 200px 0 90px;
  background: linear-gradient(135deg, var(--navy), #2c3fa8);
  color: #fff;
  overflow: hidden;
  border-radius: 0 0 40px 40px;
}

.lower-hero .lh-blobs span {
  position: absolute;
  border-radius: 24px;
  opacity: .16;
}

.lower-hero .lh-blobs span:nth-child(1) {
  width: 90px;
  height: 90px;
  background: var(--yellow);
  top: 110px;
  left: 6%;
  animation: floaty 6s ease-in-out infinite;
}

.lower-hero .lh-blobs span:nth-child(2) {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--green);
  bottom: 40px;
  left: 22%;
  animation: floaty 7s ease-in-out infinite 1s;
}

.lower-hero .lh-blobs span:nth-child(3) {
  width: 120px;
  height: 120px;
  background: #fff;
  top: 90px;
  right: 6%;
  animation: floaty 8s ease-in-out infinite .5s;
}

.lh-inner {
  position: relative;
  z-index: 2;
}

.lh-en {
  font-family: "Jost", sans-serif;
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 600;
  line-height: 1;
}

.lh-ja {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  letter-spacing: .16em;
  background: rgba(255, 255, 255, .16);
  padding: 6px 20px;
  border-radius: 30px;
}

.lh-bread {
  margin-top: 24px;
  font-family: "Jost", sans-serif;
  font-size: 12px;
  letter-spacing: .08em;
  opacity: .7;
}

.lh-bread a:hover {
  opacity: 1;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .lower-hero {
    padding: 150px 0 64px;
  }
}

/* =========================================================
   _front-page.scss … TOPページ
   ヒーロー / こだわり3 / ABOUT(ジグザグ) / Contents
   ========================================================= */

/* ===== ヒーロー ===== */
#hero {
  position: relative;
  padding: 118px 0 30px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 70px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-lead h1 {
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: .03em;
}

.hero-lead .accent {
  color: var(--navy);
}

.hero-lead .mark {
  background: linear-gradient(transparent 65%, var(--yellow) 65%);
  padding: 0 .1em;
}

.hero-lead .eyebrow {
  display: inline-block;
  font-family: "Jost", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--blue);
  background: var(--blue-soft);
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 18px;
}

.hero-lead p.sub {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--text-sub);
  line-height: 1.9;
}

/* 浮遊する写真ブロック */
.hero-art {
  position: relative;
  height: clamp(360px, 50vh, 520px);
}

.float-photo {
  position: absolute;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
  border: 6px solid;
}

.float-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 時間差切替スライド */
.float-photo .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.float-photo .slide.active {
  opacity: 1;
}

.float-photo .slide:first-child {
  position: relative; /* 高さ確保用 */
}

.fp1 {
  width: 40%;
  top: 0%;
  left: 0%;
  border-color: var(--yellow);
  aspect-ratio: 4 / 3;
  animation: floaty 6s ease-in-out infinite;
}

.fp2 {
  width: 40%;
  top: 56%;
  left: 30%;
  border-color: var(--green);
  aspect-ratio: 4 / 3;
  animation: floaty 6s ease-in-out infinite .8s;
  z-index: 3;
}

.fp3 {
  width: 40%;
  top: 2%;
  right: 0%;
  border-color: var(--blue);
  aspect-ratio: 4 / 3;
  animation: floaty 6s ease-in-out infinite 1.6s;
}

/* 散らばる角丸装飾 */
.blob {
  position: absolute;
  border-radius: 22px;
  z-index: 1;
}

.b1 {
  width: 46px;
  height: 46px;
  background: var(--yellow);
  top: 18%;
  right: 30%;
  animation: floaty 5s ease-in-out infinite;
}

.b2 {
  width: 34px;
  height: 34px;
  background: var(--blue);
  top: 40%;
  left: 20%;
  animation: floaty 5s ease-in-out infinite .5s;
}

.b3 {
  width: 56px;
  height: 56px;
  background: var(--green);
  bottom: 8%;
  right: 18%;
  animation: floaty 7s ease-in-out infinite 1s;
}

.b4 {
  width: 30px;
  height: 30px;
  background: var(--yellow);
  bottom: 18%;
  left: 46%;
  animation: floaty 6s ease-in-out infinite 1.4s;
}

.b5 {
  width: 40px;
  height: 40px;
  background: var(--blue);
  top: 62%;
  right: 6%;
  animation: floaty 5.5s ease-in-out infinite .3s;
}

/* ===== こだわり3（ひふみグリフ） ===== */
#commit {
  padding: 6px 0 60px;
}

.commit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.commit-card {
  position: relative;
}

.commit-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.commit-badge {
  flex-shrink: 0;
  width: clamp(100px, 11vh, 124px);
  height: clamp(82px, 9vh, 100px);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: clamp(16px, 1.9vh, 19px);
  line-height: 1.4;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
  transition: .4s;
}

.commit-card:hover .commit-badge {
  transform: translateY(-6px) rotate(-2deg);
}

.c1 .commit-badge {
  background: var(--yellow);
}

.c2 .commit-badge {
  background: var(--green);
}

.c3 .commit-badge {
  background: var(--blue);
  /* 「ペットと幸せに」が長く行内で折り返すため、③だけ少し縮小して1行に収める */
  font-size: clamp(13px, 1.55vh, 15.5px);
  line-height: 1.35;
  letter-spacing: -.01em;
  word-break: keep-all;
}

.commit-glyph {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 900;
  font-size: clamp(72px, 10vh, 100px);
  line-height: 1;
  opacity: .92;
}

.c1 .commit-glyph {
  color: var(--yellow);
}

.c2 .commit-glyph {
  color: var(--green);
}

.c3 .commit-glyph {
  color: var(--blue);
}

.commit-label {
  font-family: "Jost", sans-serif;
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--text-sub);
  margin-bottom: 6px;
}

.commit-label b {
  color: var(--ink);
}

.c1 .commit-label .no {
  color: var(--yellow);
}

.c2 .commit-label .no {
  color: var(--green);
}

.c3 .commit-label .no {
  color: var(--blue);
}

.commit-rule {
  height: 3px;
  border-radius: 3px;
  margin: 8px 0 16px;
}

.c1 .commit-rule {
  background: var(--yellow);
}

.c2 .commit-rule {
  background: var(--green);
}

.c3 .commit-rule {
  background: var(--blue);
}

.commit-card p {
  font-size: 14.5px;
  color: var(--text-sub);
  line-height: 2.05;
}

/* ===== ABOUT THE JOB（TOP・行アコーディオン/ジグザグ） ===== */
.about-rows {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.about-row:nth-child(even) .case-card {
  order: 2;
}

.case-card {
  position: relative;
  background: #fff;
  border-radius: 22px;
  padding: 38px 40px;
  border: 2px solid #f0f0f3;
  transition: .4s;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 34px;
  bottom: 34px;
  width: 5px;
  border-radius: 5px;
}

.case-card.c1::before {
  background: var(--yellow);
}

.case-card.c2::before {
  background: var(--green);
}

.case-card.c3::before {
  background: var(--blue);
}

.case-card:hover {
  transform: translateX(6px);
  box-shadow: 0 14px 34px rgba(23, 42, 136, .08);
}

.case-card.c1:hover {
  border-color: var(--yellow);
}

.case-card.c2:hover {
  border-color: var(--green);
}

.case-card.c3:hover {
  border-color: var(--blue);
}

.case-no {
  font-family: "Jost", sans-serif;
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--text-sub);
  margin-bottom: 10px;
}

.case-no b {
  font-size: 20px;
  margin-left: 4px;
}

.case-card.c1 .case-no b {
  color: var(--yellow);
}

.case-card.c2 .case-no b {
  color: var(--green);
}

.case-card.c3 .case-no b {
  color: var(--blue);
}

.case-card h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 14px;
  letter-spacing: .03em;
}

.case-card p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 2.05;
}

/* カード内「VIEW WORK」リンク */
.case-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-family: "Jost", sans-serif;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--navy);
}

.case-more i {
  transition: .3s;
}

.about-row:hover .case-more i {
  transform: translateX(4px);
}

/* 行全体がWORKS詳細へのリンク */
a.about-row {
  cursor: pointer;
}

/* 右：施工写真（カードと同じ高さ） */
.ap-photo {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 5px solid;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .1);
  min-height: 280px;
  /* 縦長画像は左右に余白が出る（画像全体を表示するため） */
  background: #fff;
}

.ap-photo.c1 {
  border-color: var(--yellow);
}

.ap-photo.c2 {
  border-color: var(--green);
}

.ap-photo.c3 {
  border-color: var(--blue);
}

.ap-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  inset: 0;
}

/* スライド切替（3枚入替） */
.ap-photo .slide {
  opacity: 0;
  transition: opacity 1.2s ease;
  z-index: 0;
}

.ap-photo .slide.active {
  opacity: 1;
}

.ap-photo figcaption {
  z-index: 2;
  position: absolute;
  left: 0;
  bottom: 0;
  background: rgba(15, 29, 94, .82);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 0 16px 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ap-photo figcaption .en {
  font-size: 12px;
  opacity: .8;
}

/* ===== Contents バナー（角丸カード） ===== */
#contents {
  background: #fafbff;
}

.bnr-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.bnr-card {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .1);
  transition: .4s;
}

.bnr-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(23, 42, 136, .16);
}

.bnr-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: .6s;
}

.bnr-card:hover img {
  transform: scale(1.06);
}

.bnr-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(transparent 30%, rgba(15, 29, 94, .82));
}

.bnr-body {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 34px 30px;
  width: 100%;
}

.bnr-body .bnr-en {
  font-family: "Jost", sans-serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
}

.bnr-body .bnr-ja {
  font-size: 14px;
  letter-spacing: .1em;
  margin: 8px 0 16px;
  opacity: .95;
}

.bnr-body .bnr-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Jost", sans-serif;
  font-size: 12px;
  letter-spacing: .1em;
  background: #fff;
  color: var(--navy);
  padding: 9px 18px;
  border-radius: 30px;
}

.bnr-card:nth-child(1) .bnr-btn {
  color: #caa400;
}

.bnr-card:nth-child(2) .bnr-btn {
  color: var(--blue);
}

.bnr-card .tag {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.bnr-card:nth-child(1) .tag {
  background: var(--yellow);
}

.bnr-card:nth-child(2) .tag {
  background: var(--blue);
}

/* ===== レスポンシブ ===== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .hero-art {
    height: 380px;
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }
  .commit-grid {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  #hero {
    padding: 130px 0 70px;
  }
  .about-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .about-row:nth-child(even) .case-card {
    order: 0;
  }
  .ap-photo {
    min-height: 220px;
  }
  .commit-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .commit-badge {
    width: 110px;
    height: 90px;
    font-size: 17px;
  }
  .commit-glyph {
    font-size: 90px;
  }
  .bnr-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .bnr-card {
    aspect-ratio: 16 / 10;
  }
}

/* =========================================================
   _about.scss … ABOUT THE JOB（下層ページ）
   ========================================================= */

.about-lower {
  background: #fff;
}

.al-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
  font-size: 16px;
  line-height: 2.1;
  color: var(--text-sub);
}

.al-cases {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.al-case {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: center;
  background: #fff;
  border-radius: 24px;
  border: 2px solid #f0f0f3;
  padding: 40px;
  transition: .4s;
}

.al-case:hover {
  box-shadow: 0 18px 40px rgba(23, 42, 136, .08);
}

.al-case.c1:hover {
  border-color: var(--yellow);
}

.al-case.c2:hover {
  border-color: var(--green);
}

.al-case.c3:hover {
  border-color: var(--blue);
}

.al-case:nth-child(even) {
  grid-template-columns: 1fr 200px;
}

.al-case:nth-child(even) .al-num {
  order: 2;
}

.al-num {
  width: 160px;
  height: 160px;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.al-case.c1 .al-num {
  background: var(--yellow);
}

.al-case.c2 .al-num {
  background: var(--green);
}

.al-case.c3 .al-num {
  background: var(--blue);
}

.al-num .glyph {
  font-size: 62px;
  font-weight: 900;
  line-height: 1;
}

.al-num .cs {
  font-family: "Jost", sans-serif;
  font-size: 12px;
  letter-spacing: .14em;
  margin-top: 6px;
  opacity: .9;
}

.al-body h3 {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 16px;
  letter-spacing: .03em;
}

.al-body p {
  font-size: 14.5px;
  color: var(--text-sub);
  line-height: 2.05;
}

@media (max-width: 1024px) {
  /* PAD：横並び維持（バッジを少し小さく） */
  .al-case {
    grid-template-columns: 140px 1fr;
    gap: 28px;
    padding: 32px;
    align-items: center;
  }
  .al-case:nth-child(even) {
    grid-template-columns: 1fr 140px;
  }
  .al-num {
    width: 128px;
    height: 128px;
  }
  .al-num .glyph {
    font-size: 50px;
  }
  .al-body h3 {
    font-size: 19px;
  }
}

@media (max-width: 768px) {
  /* SP：縦積み中央寄せ */
  .al-case,
  .al-case:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 20px;
    justify-items: center;
    text-align: center;
    padding: 28px;
  }
  .al-case:nth-child(even) .al-num {
    order: 0;
  }
  .al-num {
    width: 120px;
    height: 120px;
  }
  .al-num .glyph {
    font-size: 48px;
  }
}

/* =========================================================
   _profile.scss … PROFILE（会社情報 / ネーミング由来 / 代表）
   ========================================================= */

/* ===== 会社情報テーブル ===== */
.company {
  background: #fff;
}

.company-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 980px;
  margin: 0 auto;
}

.comp-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 1px solid #ececed;
}

.comp-row:first-child {
  border-top: 3px solid var(--navy);
}

.comp-row dt {
  background: #f7f8fc;
  font-weight: 700;
  font-size: 15px;
  padding: 22px 26px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}

.comp-row dt::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
}

.comp-row:nth-child(3n+2) dt::before {
  background: var(--green);
}

.comp-row:nth-child(3n) dt::before {
  background: var(--blue);
}

.comp-row dd {
  padding: 22px 26px;
  font-size: 15px;
  line-height: 1.8;
}

.comp-row dd .del {
  color: #b9b9bd;
  text-decoration: line-through;
}

.comp-row dd small {
  color: var(--text-sub);
  font-size: 13px;
}

/* ===== ネーミング由来 ===== */
.naming {
  background: #fafbff;
}

.naming-card {
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  border-radius: 28px;
  padding: 60px 64px;
  box-shadow: 0 20px 50px rgba(23, 42, 136, .07);
  position: relative;
  overflow: hidden;
}

.naming-glyphs {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.ng-item {
  text-align: center;
}

.ng-glyph {
  font-weight: 900;
  font-size: 84px;
  line-height: 1;
}

.ng-item:nth-child(1) .ng-glyph {
  color: var(--yellow);
}

.ng-item:nth-child(2) .ng-glyph {
  color: var(--green);
}

.ng-item:nth-child(3) .ng-glyph {
  color: var(--blue);
}

.ng-mean {
  font-size: 14px;
  font-weight: 700;
  margin-top: 10px;
}

.ng-mean span {
  display: block;
  font-size: 12px;
  color: var(--text-sub);
  font-weight: 400;
  margin-top: 2px;
}

.naming-text {
  text-align: center;
  font-size: 15.5px;
  line-height: 2.2;
  color: var(--text-sub);
  max-width: 760px;
  margin: 0 auto;
}

.naming-text b {
  color: var(--ink);
  font-weight: 700;
}

/* ===== 代表プロフィール ===== */
.person {
  background: #fff;
}

.person-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 64px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.person-photo {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  border: 6px solid var(--blue);
  box-shadow: 0 18px 44px rgba(23, 42, 136, .12);
}

.person-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.person-photo .badge {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 78px;
  height: 78px;
  background: var(--yellow);
  border-radius: 22px;
  transform: rotate(8deg);
  z-index: -1;
}

.person-name {
  margin-bottom: 8px;
}

.person-name .role {
  font-family: "Jost", sans-serif;
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--blue);
}

.person-name h3 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .06em;
}

.person-name .ruby {
  font-size: 13px;
  color: var(--text-sub);
  letter-spacing: .1em;
}

.history {
  margin: 28px 0 30px;
  list-style: none;
}

.history li {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dashed #e7e7ea;
  font-size: 14.5px;
}

.history li .yr {
  font-family: "Jost", sans-serif;
  color: var(--navy);
  font-weight: 500;
}

.licenses {
  background: #fafbff;
  border-radius: 20px;
  padding: 26px 30px;
}

.licenses .lc-head {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.licenses .lc-head i {
  color: var(--yellow);
}

.licenses ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.licenses li {
  background: #fff;
  border: 1px solid #e7e7ea;
  border-radius: 20px;
  padding: 7px 16px;
  font-size: 13px;
}

.licenses li.del {
  color: #b9b9bd;
  text-decoration: line-through;
}

.licenses li.hot {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  font-weight: 500;
}

@media (max-width: 1024px) {
  .person-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .comp-row {
    grid-template-columns: 110px 1fr;
  }
  .comp-row dt {
    padding: 16px;
    font-size: 13px;
  }
  .comp-row dd {
    padding: 16px;
    font-size: 14px;
  }
  .naming-card {
    padding: 40px 26px;
  }
  .ng-glyph {
    font-size: 64px;
  }
  .history li {
    grid-template-columns: 90px 1fr;
    gap: 10px;
  }
}

/* =========================================================
   _works.scss … WORKS 詳細（物件ごとの固定ページ）
   ========================================================= */

.work-detail {
  background: #fff;
}

.wd-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 54px;
  align-items: start;
  margin-bottom: 70px;
}

/* ===== ギャラリー ===== */
.wd-gallery .wd-main {
  border-radius: 26px;
  overflow: hidden;
  border: 6px solid var(--yellow);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .1);
  margin-bottom: 18px;
}

.wd-main img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.wd-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.wd-thumbs button {
  border: 3px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: none;
  transition: .3s;
}

.wd-thumbs button.active {
  border-color: var(--blue);
}

.wd-thumbs img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ===== 情報 ===== */
.wd-info .wd-year {
  font-family: "Jost", sans-serif;
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--text-sub);
}

.wd-info h2 {
  font-size: 30px;
  font-weight: 700;
  margin: 6px 0 6px;
  letter-spacing: .04em;
}

.wd-info .wd-loc {
  font-size: 14px;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
}

.wd-info .wd-loc i {
  color: var(--blue);
}

.wd-comment {
  background: #fafbff;
  border-radius: 20px;
  padding: 24px 26px;
  font-size: 14.5px;
  line-height: 2;
  color: var(--text-sub);
  margin-bottom: 28px;
}

.wd-comment .wc-head {
  font-weight: 700;
  color: var(--ink);
  font-size: 13px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wd-comment .wc-head::before {
  content: "";
  width: 18px;
  height: 3px;
  border-radius: 3px;
  background: var(--green);
}

.wd-spec {
  list-style: none;
}

.wd-spec li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid #ececed;
  font-size: 14.5px;
}

.wd-spec li .k {
  font-weight: 700;
  color: var(--ink);
  position: relative;
  padding-left: 16px;
}

.wd-spec .k::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
}

/* ===== 他の施工事例（表示中以外の2件） ===== */
.wd-others {
  max-width: 900px;
  margin: 0 auto;
}

.wd-others-head {
  text-align: center;
  font-family: "Jost", sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--navy);
  margin-bottom: 28px;
}

.wd-others-head span {
  display: block;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--text-sub);
  margin-top: 8px;
}

.wd-others-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.wd-other-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fafbff;
  border: 2px solid #f0f0f3;
  border-radius: 20px;
  padding: 26px 30px;
  transition: .35s;
}

.wd-other-card::before {
  content: "";
  width: 6px;
  align-self: stretch;
  border-radius: 6px;
  flex-shrink: 0;
}

.wd-other-card.c1::before {
  background: var(--yellow);
}

.wd-other-card.c2::before {
  background: var(--green);
}

.wd-other-card.c3::before {
  background: var(--blue);
}

.wd-other-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(23, 42, 136, .12);
}

.wd-other-card.c1:hover {
  border-color: var(--yellow);
}

.wd-other-card.c2:hover {
  border-color: var(--green);
}

.wd-other-card.c3:hover {
  border-color: var(--blue);
}

.wd-other-card .wo-label {
  font-family: "Jost", sans-serif;
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--text-sub);
}

.wd-other-card .wo-name {
  flex: 1;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--ink);
}

.wd-other-card .wo-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e7e7ea;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
  transition: .3s;
}

.wd-other-card:hover .wo-arrow {
  background: var(--navy);
  color: #fff;
  transform: translateX(3px);
}

@media (max-width: 1024px) {
  .wd-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .wd-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }
  .wd-others-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .wd-other-card {
    padding: 20px 22px;
  }
  .wd-other-card .wo-name {
    font-size: 15px;
  }
}

/* =========================================================
   _contact.scss … お問い合わせ（CF7フォーム）ひふみ調
   ========================================================= */

.contact-sec {
  background: #fff;
}

.contact-lead {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
  font-size: 15.5px;
  line-height: 2.1;
  color: var(--text-sub);
}

.contact-form {
  max-width: 820px;
  margin: 0 auto;
  background: #fafbff;
  border-radius: 24px;
  padding: 48px 50px;
  box-shadow: 0 18px 44px rgba(23, 42, 136, .06);
}

/* CF7 共通 */
.contact-form .wpcf7 p {
  font-size: 14.5px;
  line-height: 2;
}

.contact-form label {
  display: block;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  font-size: 14.5px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="url"],
.contact-form input[type="number"],
.contact-form input[type="date"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #dcdde3;
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  margin-bottom: 18px;
  transition: .25s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}

.contact-form textarea {
  min-height: 170px;
  resize: vertical;
}

/* 送信・確認ボタン */
.contact-form input[type="submit"],
.contact-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  margin: 10px auto 0;
  border: none;
  cursor: pointer;
  background: var(--navy);
  color: #fff;
  font-family: "Jost", sans-serif;
  font-weight: 600;
  letter-spacing: .08em;
  font-size: 15px;
  padding: 16px 40px;
  border-radius: 30px;
  transition: .3s;
}

.contact-form input[type="submit"]:hover,
.contact-form button[type="submit"]:hover {
  background: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(23, 42, 136, .18);
}

.contact-form .submit-wrap,
.contact-form .submit {
  text-align: center;
}

/* ===== 必須・任意マーカー ===== */
/* 必須（赤） … <span class="req">必須</span> */
.contact-form .req,
.contact-form .required,
.contact-form .must {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
  background: #e0403f;
  border-radius: 5px;
  vertical-align: middle;
}

/* 任意（グレー） … <span class="opt">任意</span> */
.contact-form .opt,
.contact-form .optional,
.contact-form .any,
.contact-form .nin {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
  background: #9aa0ab;
  border-radius: 5px;
  vertical-align: middle;
}

@media (max-width: 768px) {
  .contact-form {
    padding: 32px 22px;
  }
}

/* =========================================================
   確認画面（page-contact-confirm.php）
   ========================================================= */

.contact-confirm .confirm-note {
  margin-bottom: 26px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--navy);
  font-size: 14px;
  line-height: 1.9;
  text-align: center;
}

.contact-confirm .confirm-list {
  margin: 0 0 36px;
  border-top: 1px solid #e6e8f0;
}

.contact-confirm .confirm-list dt {
  padding: 20px 0 6px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--navy);
}

.contact-confirm .confirm-list dd {
  margin: 0;
  padding: 0 0 20px;
  border-bottom: 1px solid #e6e8f0;
  font-size: 15px;
  line-height: 1.9;
  color: var(--ink);
  white-space: pre-wrap;
  word-break: break-word;
}

.contact-confirm .confirm-list dd:empty::before {
  content: "―";
  color: #b6b9c4;
}

.contact-confirm .submit-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.contact-confirm .submit-wrap input[type="submit"] {
  margin: 0;
}

.contact-form .wpcf7-previous {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 16px 40px;
  border: 1px solid #c9ccd8;
  border-radius: 30px;
  background: #fff;
  color: var(--ink);
  font-family: "Jost", sans-serif;
  font-weight: 600;
  letter-spacing: .08em;
  font-size: 15px;
  cursor: pointer;
  transition: .3s;
}

.contact-form .wpcf7-previous:hover {
  background: #f2f4fb;
  border-color: var(--blue);
  color: var(--navy);
  transform: translateY(-3px);
}

@media (min-width: 769px) {
  .contact-confirm .confirm-list {
    display: grid;
    grid-template-columns: 190px 1fr;
    column-gap: 28px;
  }

  .contact-confirm .confirm-list dt {
    padding: 22px 0;
    border-bottom: 1px solid #e6e8f0;
  }

  .contact-confirm .confirm-list dd {
    padding: 22px 0;
  }
}

@media (max-width: 768px) {
  .contact-confirm .submit-wrap {
    flex-direction: column-reverse;
    gap: 12px;
  }

  .contact-confirm .submit-wrap input[type="submit"],
  .contact-confirm .submit-wrap .wpcf7-previous {
    width: 100%;
    min-width: 0;
  }
}

/* =========================================================
   送信完了（page-contact-completion.php）
   ========================================================= */

.contact-thanks {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 50px;
  border-radius: 24px;
  background: #fafbff;
  box-shadow: 0 18px 44px rgba(23, 42, 136, .06);
  text-align: center;
}

.contact-thanks .ct-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 30px;
}

.contact-thanks .ct-title {
  margin-bottom: 18px;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--navy);
}

.contact-thanks .ct-text {
  font-size: 15.5px;
  line-height: 2.1;
  color: var(--text-sub);
}

.contact-thanks .ct-note {
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.9;
  color: #8b8987;
}

.contact-thanks .ct-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 260px;
  margin-top: 34px;
  padding: 16px 40px;
  border-radius: 30px;
  background: var(--navy);
  color: #fff;
  font-family: "Jost", sans-serif;
  font-weight: 600;
  letter-spacing: .08em;
  font-size: 15px;
  transition: .3s;
}

.contact-thanks .ct-back:hover {
  background: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(23, 42, 136, .18);
}

@media (max-width: 768px) {
  .contact-thanks {
    padding: 44px 22px;
  }

  .contact-thanks .ct-back {
    width: 100%;
    min-width: 0;
  }
}

/* =========================================================
   _policy.scss … プライバシーポリシー
   ========================================================= */

.policy {
  background: #fff;
}

.policy-body {
  max-width: 920px;
  margin: 0 auto;
}

.policy-body h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .03em;
  margin: 40px 0 14px;
  padding-left: 16px;
  position: relative;
}

.policy-body h2:first-child {
  margin-top: 0;
}

.policy-body h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 22px;
  border-radius: 6px;
  background: var(--yellow);
}

.policy-body h2:nth-of-type(3n+2)::before {
  background: var(--green);
}

.policy-body h2:nth-of-type(3n)::before {
  background: var(--blue);
}

.policy-body p {
  font-size: 14.5px;
  line-height: 2.1;
  color: var(--text-sub);
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .policy-body h2 {
    font-size: 16px;
    margin: 32px 0 12px;
  }
  .policy-body p {
    font-size: 14px;
  }
}

/* =========================================================
   _footer.scss … フッター（CTA / メイン / コピーライト）
   ========================================================= */

footer {
  margin-top: 0;
}

/* ===== CTAバナー ===== */
.foot-cta {
  position: relative;
  background: linear-gradient(135deg, var(--navy), #2c3fa8);
  color: #fff;
  text-align: center;
  padding: 90px 24px;
  border-radius: 40px 40px 0 0;
  overflow: hidden;
}

.cta-blobs span {
  position: absolute;
  border-radius: 26px;
  opacity: .18;
}

.cta-blobs span:nth-child(1) {
  width: 90px;
  height: 90px;
  background: var(--yellow);
  top: 24px;
  left: 8%;
  animation: floaty 6s ease-in-out infinite;
}

.cta-blobs span:nth-child(2) {
  width: 60px;
  height: 60px;
  background: var(--green);
  bottom: 30px;
  left: 24%;
  border-radius: 50%;
  animation: floaty 7s ease-in-out infinite 1s;
}

.cta-blobs span:nth-child(3) {
  width: 110px;
  height: 110px;
  background: #fff;
  top: 30px;
  right: 7%;
  animation: floaty 8s ease-in-out infinite .5s;
}

.cta-inner {
  position: relative;
  z-index: 2;
}

.cta-en {
  font-family: "Jost", sans-serif;
  font-size: 14px;
  letter-spacing: .24em;
  opacity: .7;
  margin-bottom: 14px;
}

.cta-ttl {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .04em;
}

.cta-lead {
  margin-top: 18px;
  font-size: 14.5px;
  opacity: .9;
  line-height: 1.9;
}

.f-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  background: #fff;
  color: var(--navy);
  font-family: "Jost", sans-serif;
  font-weight: 600;
  letter-spacing: .08em;
  padding: 16px 48px;
  border-radius: 30px;
  transition: .3s;
}

.f-btn i {
  transition: .3s;
}

.f-btn:hover {
  background: var(--yellow);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .22);
}

.f-btn:hover i {
  transform: translateX(4px);
}

/* ===== メインフッター ===== */
.foot-main {
  background: var(--ink);
  color: #fff;
  padding: 70px 0 56px;
}

.foot-main-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: start;
}

.foot-brand .f-logo {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 22px;
}

.foot-brand .f-tagline {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 22px;
  opacity: .95;
}

.foot-brand address {
  font-style: normal;
  font-size: 13px;
  line-height: 1.95;
  opacity: .7;
}

.f-sns {
  list-style: none;
  display: flex;
  gap: 14px;
  margin-top: 26px;
}

.f-sns a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 16px;
  transition: .3s;
}

.f-sns a:hover {
  background: var(--blue);
  transform: translateY(-3px);
}

/* ===== サイトマップ ===== */
.foot-sitemap .fs-head {
  font-family: "Jost", sans-serif;
  font-size: 13px;
  letter-spacing: .2em;
  opacity: .5;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.foot-sitemap ul {
  list-style: none;
}

.foot-sitemap li {
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.foot-sitemap a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 14px 6px;
  transition: .3s;
}

.foot-sitemap a .en {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
}

.foot-sitemap a small {
  font-size: 12px;
  opacity: .55;
}

.foot-sitemap a:hover {
  padding-left: 16px;
}

.foot-sitemap a:hover .en {
  color: var(--yellow);
}

/* ===== コピーライト ===== */
.foot-bottom {
  background: #2b2827;
  padding: 22px 0;
}

.foot-bottom .fb-inner {
  max-width: 1720px;
  margin: 0 auto;
  padding: 0 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.foot-bottom .fb-policy {
  font-family: "Jost", sans-serif;
  font-size: 12px;
  color: #fff;
  opacity: .7;
  letter-spacing: .06em;
}

.foot-bottom .fb-policy:hover {
  opacity: 1;
}

.foot-bottom .copy {
  font-family: "Jost", sans-serif;
  font-size: 11px;
  color: #fff;
  opacity: .5;
}

@media (max-width: 768px) {
  .foot-cta {
    padding: 64px 24px;
    border-radius: 30px 30px 0 0;
  }
  .foot-main {
    padding: 54px 0 44px;
  }
  .foot-main-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .foot-bottom .fb-inner {
    padding: 0 24px;
    flex-direction: column;
    text-align: center;
  }
}

