/* ============================================================
   Ren Portfolio (WordPress) — assets/css/style.css
   白 × 空色 × グレー。しっぽり明朝 × 游ゴシック × Cormorant。
   余白を大切にした、雑誌のような空気感のデザイン。
   ============================================================ */
:root {
  --bg: #fdfdfc;
  --bg-sky: #eef4f8;               /* 淡い空色 */
  --panel: rgba(253, 253, 252, 0.78);      /* 液体が全面で透けるよう半透明に */
  --panel-alt: rgba(240, 245, 249, 0.78);
  --ink: #333333;                  /* 柔らかい墨色 */
  --ink-strong: #3d3f43;
  --sub: #4a4d51;
  --hair: rgba(67, 70, 77, 0.16);
  --accent: #314761;               /* アクセントのグレー */
  --sky: #5498ca;
  --irid: linear-gradient(115deg, #8ec9ef 0%, #b8c4f0 48%, #f0c9dc 100%);
  --serif: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --latin: "Cormorant Garamond", "Times New Roman", serif;
  --gothic: "yu-gothic-pr6n", sans-serif;
  --hand: "Klee One", cursive;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--gothic);
  font-weight: 400;
  font-size: 15px;
  line-height: 2.2;
  letter-spacing: 0.06em;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(169, 203, 228, 0.4); }
@font-face {
  font-family: "SoraToHikouki";
  src: url("../fonts/sora-to-hikouki.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {

  font-family: "花とちょうちょ";

  src: url("../fonts/花とちょうちょ.ttf") format("truetype");

  font-weight: normal;

  font-style: normal;

  font-display: swap;

}
/* ============ 液体キャンバス(最背面) ============ */
#fluid {
  position: fixed; inset: 0; z-index: -1;
  width: 100vw; height: 100vh;
  pointer-events: none;
}
#fluid.fallback {
  background:
    radial-gradient(900px 500px at 70% 20%, rgba(142, 201, 239, 0.2), transparent 60%),
    linear-gradient(#fdfdfc, #e3edf5);
}

/* ============ 紙の質感(ごく薄く) ============ */
#grain {
  position: fixed; inset: -50%; z-index: 96; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.028;
}

/* ============ ローディング(雫→波紋→円形リビール) ============ */
#loader {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
}
#loader .drop {
  position: absolute; left: 50%; top: -30px;
  width: 12px; height: 16px; margin-left: -6px;
  border-radius: 50% 50% 60% 60%;
  background: linear-gradient(160deg, #a9cbe4, #8ec9ef);
  animation: dropFall 0.85s cubic-bezier(0.55, 0, 1, 0.45) 0.25s forwards;
  opacity: 0;
}
@keyframes dropFall {
  0% { opacity: 1; top: -30px; transform: scaleY(1); }
  92% { opacity: 1; transform: scaleY(1.25); }
  100% { opacity: 0; top: 47%; transform: scaleY(0.6); }
}
#loader .ripple {
  position: absolute; left: 50%; top: 47%;
  width: 12px; height: 12px; margin: -6px 0 0 -6px;
  border-radius: 50%;
  border: 1.5px solid rgba(67, 70, 77, 0.35);
  opacity: 0; transform: scale(0);
}
#loader .r1 { animation: rippleOut 1.5s ease-out 1.1s forwards; }
#loader .r2 { animation: rippleOut 1.7s ease-out 1.3s forwards; border-color: rgba(142, 201, 239, 0.55); }
#loader .r3 { animation: rippleOut 1.9s ease-out 1.5s forwards; border-color: rgba(184, 196, 240, 0.45); }
@keyframes rippleOut {
  0% { opacity: 0.9; transform: scale(0); }
  100% { opacity: 0; transform: scale(26); }
}
#loader .loader-text { text-align: center; }
#loader .loader-name {
  font-family: var(--latin); font-weight: 400;
  font-size: clamp(40px, 8vw, 76px); letter-spacing: 0.08em;
  color: var(--ink-strong); line-height: 1.3;
  opacity: 0; filter: blur(8px); transform: translateY(14px);
  animation: nameIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) 1.25s forwards;
}
#loader .loader-name em {
  background: var(--irid);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
#loader .loader-sub {
  font-size: 11px; letter-spacing: 0.5em; color: var(--sub);
  margin-top: 10px; text-transform: uppercase;
  opacity: 0; animation: nameIn 1s ease 1.6s forwards;
}
@keyframes nameIn { to { opacity: 1; filter: blur(0); transform: none; } }

/* ============ カスタムカーソル(PC) ============ */
#cursor {
  position: fixed; z-index: 150; top: 0; left: 0;
  width: 14px; height: 14px; border-radius: 50%;
  background: #5b7ee6d6;
  pointer-events: none;
  transform: translate(-100px, -100px);
  transition: width 0.3s, height 0.3s;
  display: none;
  align-items: center; justify-content: center;
}
#cursor.hover { width: 34px; height: 34px; }
#cursor-label {
  font-size: 10px; letter-spacing: 0.2em; color: #fff;
  opacity: 0; transition: opacity 0.2s;
  font-family: var(--latin);
}
#cursor.hover #cursor-label { opacity: 1; }
@media (pointer: fine) { #cursor { display: flex; } }

/* ============ ヘッダー ============ */
#header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 95;
  display: flex; align-items: center; gap: 30px;
  padding: 22px 36px;
  transition: background 0.4s, padding 0.4s, backdrop-filter 0.4s;
}
#header.scrolled {
  background: rgba(253, 253, 252, 0.85);
  backdrop-filter: blur(12px);
  padding: 13px 36px;
  border-bottom: 1px solid var(--hair);
}
.logo { font-family: var(--latin); font-size: 27px; color: var(--ink-strong); }
.logo i { font-style: normal; color: var(--sky); }
#gnav { display: flex; gap: 28px; margin-left: auto; }
#gnav a {
  font-family: var(--latin); 
  font-size: 15px; letter-spacing: 0.12em; color: var(--accent);
  position: relative; padding: 4px 0; transition: color 0.3s;
}
#gnav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: right; transition: transform 0.35s;
}
#gnav a:hover { color: var(--ink-strong); }
#gnav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  font-size: 12px; letter-spacing: 0.1em;
  background: var(--accent); color: #fff;
  border-radius: 999px; padding: 10px 20px;
  transition: background 0.3s, transform 0.3s;
}
.nav-cta:hover { background: var(--ink-strong); transform: translateY(-2px); }
#menu-btn {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; position: relative; z-index: 120;
}
#menu-btn span {
  position: absolute; left: 8px; right: 8px; height: 1.5px;
  background: var(--ink-strong); transition: transform 0.35s, top 0.35s;
}
#menu-btn span:nth-child(1) { top: 15px; }
#menu-btn span:nth-child(2) { top: 24px; }
#menu-btn.open span:nth-child(1) { top: 19px; transform: rotate(24deg); }
#menu-btn.open span:nth-child(2) { top: 19px; transform: rotate(-24deg); }
#sp-menu {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(253, 253, 252, 0.97); backdrop-filter: blur(14px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  opacity: 0; pointer-events: none; transition: opacity 0.4s;
}
#sp-menu.open { opacity: 1; pointer-events: auto; }
#sp-menu a {
  font-family: var(--serif); font-size: 18px; letter-spacing: 0.16em;
  color: var(--ink-strong); padding: 7px;
}
#sp-menu .sp-cta {
  margin-top: 22px; font-family: var(--gothic); font-size: 13px;
  background: var(--accent); color: #fff;
  border-radius: 999px; padding: 14px 32px;
}
em {
font-style:normal!important
}
/* ============ ボタン共通（形・丸バッジ） ============ */
.btn {
  display: inline-flex;
	position:relative;
	width: 265px;
  align-items: center;
	justify-content: flex-start;
  gap: 15px;
  padding: 13px 13px 13px 20px;      /* 右は丸バッジ分を詰める */
  border-radius: 999px;
  font-size: 14px; letter-spacing: 0.15em; font-weight: 600;
  text-align: center;
  transition: transform .3s, box-shadow .3s, filter .3s;
}

/* 右端の白い丸＋チェブロン矢印 */
.btn::after {
  content: "";
	position:absolute;
	right:5px;
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 50%;
  background:
    #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f7fd6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 6 15 12 9 18'/%3E%3C/svg%3E")
    no-repeat center / 16px;
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}

.btn:hover { transform: translateY(-3px); }
.btn:hover::after { transform: translateX(3px); }   /* 矢印が少し進む */

/* ============ 塗り（グラデーション）＝画像のボタン ============ */
.btn-fill {
  color: #fff;
  background: linear-gradient(105deg, #35c2b4 0%, #5b7ee6 100%);
 
  border: none;
}
.btn-fill:hover {
  filter: brightness(1.04);
}
.btn-fill.big { padding: 13px 13px 13px 52px; font-size: 15px; }

/* ============ 線ボタン（グラデに合わせた淡色バージョン） ============ */
.btn-line {
  color: #3a5aa0;
  background: #fff;
  border: 1px solid rgba(91, 126, 230, 0.5);
}
.btn-line:hover {
  border-color: rgba(91, 126, 230, 0.9);
  box-shadow: 0 12px 26px rgba(74, 120, 210, 0.2);
}

.btn.hidden { display: none; }

/* ============ ヒーロー ============
   全幅の液体シミュレーションの上にテキストを載せる */
.hero {
  min-height: 100svh;
  position: relative; overflow: hidden;
  display: flex; align-items: center;
}
/* テキストの可読性を保つ、左側のやわらかい白のヴェール */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 62% 72% at 26% 46%, rgba(253, 253, 252, 0.82) 0%, rgba(253, 253, 252, 0.4) 55%, transparent 75%),
    linear-gradient(rgba(253, 253, 252, 0.5), transparent 25%, transparent 80%, rgba(253, 253, 252, 0.6));
}
.hero-vertical {
  position: absolute; z-index: 2;
  right: 2vw; top: 50%; transform: translateY(-50%);
  font-family: var(--latin); 
  font-size: 13px; letter-spacing: 0.42em; color: var(--sub);
	writing-mode: vertical-rl;
}
.hero-inner {
  position: relative; z-index: 2;
  padding: 120px 7vw 90px;
  max-width: 850px;
}
.hero-eyebrow {
  font-family: var(--latin); 
  font-size: 15px; letter-spacing: 0.34em;
  color: var(--sub); margin-bottom: 30px;
}
.hero-title {
  font-family: "花とちょうちょ", sans-serif !important;
  font-size: clamp(34px, 3.9vw, 65px);
  line-height: 1.9; letter-spacing: 0.12em;
  color: var(--ink-strong);
  margin-bottom: 22px;
	font-weight:300;
}
.hero-hand {
  font-family: var(--hand);
  font-size: clamp(14px, 1.6vw, 17px);
  color: var(--accent); letter-spacing: 0.1em;
  margin-bottom: 52px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.scroll-cue {
  position: absolute; left: 7vw; bottom: 36px; z-index: 2;
  font-family: var(--latin); font-size: 12px;
  letter-spacing: 0.3em; color: var(--sub);
  display: flex; align-items: center; gap: 14px;
}
.scroll-cue span {
  display: block; width: 56px; height: 1px; background: var(--hair);
  position: relative; overflow: hidden;
}
.scroll-cue span::after {
  content: ""; position: absolute; inset: 0; background: var(--sky);
  animation: cueSlide 2s ease-in-out infinite;
}
@keyframes cueSlide {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

/* ヒーローの出現(ローディング後にJSがinを付与) */
.rv0 { opacity: 0; transform: translateY(26px); transition: opacity 1s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1); }
.rv0.in { opacity: 1; transform: none; }

/* ============ セクション共通(余白を贅沢に) ============ */
.sec { position: relative; padding: 150px 0; background: var(--panel); }
.sec-alt { background: var(--panel-alt); }
.sec.contact { padding-bottom: 170px; }
.wrap { max-width: 1000px; margin: 0 auto; padding: 0 28px; }
.wrap.narrow { max-width: 760px; }
/* 参考デザインに合わせ、Cormorantの大きな英字見出しを主役に */
.sec-head { text-align: center; margin-bottom: 65px; }
.sec-en {
  font-family: var(--latin); font-weight: 400;
  font-size: clamp(28px, 4vw, 40px); letter-spacing: 0.4em;
  color: var(--ink-strong); line-height: 1.2;
  text-transform: uppercase; text-indent: 0.4em; /* 字間ぶんのセンター補正 */
}
.sec-head h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: 15px; letter-spacing: 0.34em;
  color: var(--sub); margin-top: 16px;
}

/* スクロール出現 */
.rv { opacity: 0; transform: translateY(30px); transition: opacity 1s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv, .rv0 { opacity: 1; transform: none; transition: none; }
}

/* ============ About ============ */
.about-grid { display: grid; grid-template-columns: 280px 1fr; gap: 70px; align-items: start; }
.about-photo { margin:0 auto; border-radius: 6px; overflow: hidden;
  position: relative;
  box-shadow: 18px 18px 0 var(--bg-sky);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; background-color: #f5faff;}
.about-photo .photo-fallback { display: none; }
.about-photo.noimg {
  background:
    radial-gradient(300px 200px at 70% 20%, rgba(142, 201, 239, 0.3), transparent 70%),
    radial-gradient(260px 220px at 25% 85%, rgba(184, 196, 240, 0.3), transparent 70%),
    #f2f6f9;
}
.about-photo.noimg .photo-fallback {
  display: flex; position: absolute; inset: 0;
  align-items: center; justify-content: center;
  font-family: var(--latin); font-size: 80px;
  color: rgba(67, 70, 77, 0.3);
}
.about-body p { margin-bottom: 26px; }
.about-body b { font-weight: 700; color: var(--ink-strong); }
.about-stats {
  list-style: none; display: flex; margin-top: 40px;
  border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
}
.about-stats li { flex: 1; text-align: center; padding: 22px 8px; }
.about-stats li + li { border-left: 1px solid var(--hair); }
.about-stats b { display: block; font-family: var(--serif); font-size: 15px; color: var(--ink-strong); }
.about-stats span { font-size: 10.5px; color: var(--sub); letter-spacing: 0.16em; }

/* ============ Service(参考デザイン準拠: タグ付きグレーパネル+3カラムカード) ============ */
.svc-group {
  position: relative;
  background: rgba(242, 241, 238, 0.82);
  padding: 76px 52px 60px;
  margin: 0 0 76px;
}
.svc-group:last-of-type { margin-bottom: 0; }
.svc-tag {
  position: absolute; top: -18px; left: 0;
  background: #8d8a86; color: #fff;
  font-family: var(--latin); font-size: 14px; letter-spacing: 0.28em;
  padding: 9px 30px;
}
.svc-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 46px;
}
.svc-card { text-align: center; }
.svc-thumb {
  background: #fff; aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; margin-bottom: 28px;
}
.svc-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.svc-ph {
  width: 74%; height: 74%; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(140px 100px at 70% 25%, rgba(142, 201, 239, 0.35), transparent 70%),
    radial-gradient(140px 110px at 28% 80%, rgba(184, 196, 240, 0.32), transparent 70%),
    #f2f6f9;
}
.svc-ph i {
  font-family: var(--latin);
  font-size: 15px; letter-spacing: 0.18em; color: var(--accent);
}
.svc-card h3 {
  font-family: var(--serif); font-weight: 500;
  font-size: 15.5px; letter-spacing: 0.22em; color: var(--ink-strong);
  text-decoration: underline; text-underline-offset: 8px;
  text-decoration-thickness: 1px; text-decoration-color: var(--ink-strong);
  margin-bottom: 18px;
}
.svc-card p { text-align: left; font-size: 13px; line-height: 2.3; }
.svc-cta { margin-top: 64px; text-align: center; }
.svc-cta p { font-size: 14px; margin-bottom: 18px; }

/* ============ Works ============ */
.works-filter {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 54px;
}
.works-filter button, .works-filter a {
  font-family: var(--gothic); font-size: 12px; letter-spacing: 0.14em;
  color: var(--accent); background: none; border: 1px solid var(--hair);
  border-radius: 999px; padding: 9px 22px; cursor: pointer;
  transition: all 0.3s; display: inline-block;
}
.works-filter button:hover, .works-filter a:hover { color: var(--ink-strong); border-color: var(--ink-strong); }
.works-filter button.on, .works-filter a.on { color: #fff; background: var(--accent); border-color: var(--accent); }
.works-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 34px; }
.work-card {
  position: relative; border-radius: 8px; overflow: hidden;
  background: #fff; cursor: pointer;
  box-shadow: 0 4px 20px rgba(67, 70, 77, 0.07);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s, opacity 0.4s;
}
.work-card.hide { display: none; }
.work-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 48px rgba(67, 70, 77, 0.16);
}
.work-thumb { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.work-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.work-card:hover .work-thumb img { transform: scale(1.05); }
.work-thumb.noimg { display: flex; align-items: center; justify-content: center; }
.work-thumb.noimg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(240px 170px at 72% 22%, rgba(142, 201, 239, 0.32), transparent 70%),
    radial-gradient(240px 190px at 26% 80%, rgba(184, 196, 240, 0.3), transparent 70%),
    #f2f6f9;
}
.work-thumb.noimg span {
  position: relative; font-family: var(--latin); 
  font-size: 13px; letter-spacing: 0.3em; color: rgba(67, 70, 77, 0.4);
}
.work-thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform 0.8s ease;
}
.work-card:hover .work-thumb::after { transform: translateX(110%); }
.work-meta { padding: 20px 22px 22px; }
.work-cat {
  display: inline-block; font-size: 10px; letter-spacing: 0.2em;
  color: var(--accent); border: 1px solid var(--hair); border-radius: 999px;
  padding: 3px 12px; margin-bottom: 10px; background: #fff;
}
.work-meta h3 {
  font-family: var(--serif); font-size: 15.5px; font-weight: 500;
  letter-spacing: 0.1em; line-height: 1.8; color: var(--ink-strong);
}
.work-meta p { font-size: 12px; color: var(--sub); margin-top: 6px; }
.work-more {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.9); border: 1px solid var(--hair);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--ink-strong);
  opacity: 0; transform: translateY(-6px);
  transition: opacity 0.35s, transform 0.35s;
}
.work-card:hover .work-more { opacity: 1; transform: none; }
.works-all { text-align: center; margin-top: 56px; }
.works-empty { grid-column: 1 / -1; text-align: center; color: var(--sub); padding: 40px 0; }

/* ============ 実績モーダル ============ */
#modal {
  position: fixed; inset: 0; z-index: 130;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
#modal.open { opacity: 1; pointer-events: auto; }
.modal-bg {
  position: absolute; inset: 0;
  background: rgba(46, 49, 56, 0.4);
  backdrop-filter: blur(8px);
}
.modal-panel {
  position: relative; z-index: 1;
  width: min(900px, 100%); max-height: 88vh; overflow-y: auto;
  background: var(--bg); border-radius: 12px;
  display: grid; grid-template-columns: 1.1fr 1fr;
  transform: translateY(26px) scale(0.98);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 40px 90px rgba(46, 49, 56, 0.3);
}
#modal.open .modal-panel { transform: none; }
.modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.92); border: 1px solid var(--hair);
  font-size: 20px; color: var(--ink-strong); cursor: pointer;
  transition: transform 0.3s;
}
.modal-close:hover { transform: rotate(90deg); }
.modal-thumb { min-height: 320px; background-size: contain; background-position: center; position: relative; background-repeat:no-repeat; background-color: #efefef;}
.modal-thumb.noimg {
  background:
    radial-gradient(300px 220px at 70% 25%, rgba(142, 201, 239, 0.34), transparent 70%),
    radial-gradient(280px 240px at 28% 80%, rgba(184, 196, 240, 0.32), transparent 70%),
    #f2f6f9;
}
.modal-thumb.noimg::after {
  content: "Image — Coming Soon";
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--latin);
  font-size: 13px; letter-spacing: 0.3em; color: rgba(67, 70, 77, 0.4);
}
.modal-body { padding: 46px 40px; }
.modal-body h3 {
  font-family: var(--serif); font-size: clamp(19px, 2.4vw, 24px); font-weight: 500;
  letter-spacing: 0.1em; line-height: 1.8; margin: 12px 0 16px; color: var(--ink-strong);
}
.modal-detail { font-size: 13.5px; margin-bottom: 26px; }
.modal-info { margin-bottom: 32px; border-top: 1px solid var(--hair); }
.modal-info div { display: flex; gap: 20px; padding: 13px 2px; border-bottom: 1px solid var(--hair); }
.modal-info dt { font-size: 11px; color: var(--sub); letter-spacing: 0.18em; min-width: 76px; padding-top: 4px; }
.modal-info dd { font-size: 13px; }
.modal-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.modal-btns .btn { padding: 14px 26px; font-size: 12.5px; }

/* ============ Strength(横並びのカード型) ============ */
.str-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px;
}
.str-item {
  background: #fff; border-radius: 8px; padding: 42px 34px;
  box-shadow: 0 4px 20px rgba(67, 70, 77, 0.06);
  transition: transform 0.4s, box-shadow 0.4s;
}
.str-item:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(67, 70, 77, 0.12); }
.str-no {
  font-family: var(--latin); font-size: 30px;
  color: var(--sky); display: block; margin-bottom: 14px;
}
.str-item h3 {
  font-family: var(--serif); font-size: 16px; font-weight: 500;
  letter-spacing: 0.1em; margin-bottom: 12px; line-height: 1.9; color: var(--ink-strong);
}
.str-item p { font-size: 13px; color: var(--sub); }

/* ============ Flow(縦並びのカード型) ============ */
.flow-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 30px;
  max-width: 680px; margin: 0 auto;
}
.flow-list li {
  position: relative;
  display: grid; grid-template-columns: 54px 180px 1fr;
  gap: 24px; align-items: center;
  background: #fff; border-radius: 8px;
  padding: 26px 30px;
  box-shadow: 0 4px 20px rgba(67, 70, 77, 0.06);
  transition: transform 0.35s, box-shadow 0.35s;
}
.flow-list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(67, 70, 77, 0.12);
}
.flow-list b {
  width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid var(--hair); background: var(--bg-sky);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--latin); font-style: italic; font-weight: 400;
  font-size: 15px; color: var(--ink-strong);
}
.flow-list h3 {
  font-family: var(--serif); font-size: 15.5px; font-weight: 500;
  letter-spacing: 0.14em; color: var(--ink-strong); line-height: 1.9;
}
.flow-list p { font-size: 12.5px; color: var(--sub); line-height: 2; }
/* ============ Price CTA(液体が透ける帯) ============ */
.price-cta { position: relative; padding: 160px 0; background: rgba(253, 253, 252, 0.28); }
.price-inner {
  text-align: center; max-width: 700px; margin: 0 auto;
  border-radius: 12px; padding: 68px 44px;
  background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px rgba(67, 70, 77, 0.1);
}
.price-eyebrow {
  font-family: var(--latin); letter-spacing: 0.3em;
  font-size: 20px; margin-bottom: 18px; color: var(--sky);
}
.price-inner h2 {
  font-family: var(--serif); font-size: clamp(20px, 3.2vw, 28px); font-weight: 500;
  letter-spacing: 0.14em; line-height: 2; margin-bottom: 20px; color: var(--ink-strong);
}
.price-lead { font-size: 13.5px; margin-bottom: 40px; }

/* ============ FAQ ============ */
.faq-item { border-bottom: 1px solid var(--hair); }
.faq-item:first-child { border-top: 1px solid var(--hair); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; gap: 20px;
  padding: 28px 8px; text-align: left;
  font-family: var(--gothic); font-size: 15px; font-weight: 500;
  color: var(--ink-strong); letter-spacing: 0.06em; line-height: 1.9;
}
.faq-q .q-mark {
  font-family: var(--latin);  font-size: 20px; flex-shrink: 0;
  color: var(--sky);
}
.faq-q .toggle { margin-left: auto; flex-shrink: 0; position: relative; width: 18px; height: 18px; }
.faq-q .toggle::before, .faq-q .toggle::after {
  content: ""; position: absolute; background: var(--accent);
  transition: transform 0.35s;
}
.faq-q .toggle::before { left: 0; right: 0; top: 8px; height: 1px; }
.faq-q .toggle::after { top: 0; bottom: 0; left: 8px; width: 1px; }
.faq-item.open .faq-q .toggle::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.faq-a p { padding: 0 8px 30px 48px; font-size: 13.5px; line-height: 2.3; }

/* ============ Contact ============ */
.contact-lead { text-align: center; margin-bottom: 46px; }
.contact-btns { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ============ 一覧・詳細ページ共通 ============ */
.archive-main { padding-top: 0; }
.archive-sec { padding-top: 180px; }
.archive-lead { text-align: center; margin: -30px 0 50px; font-size: 13.5px; color: var(--sub); }
.archive-pagination { margin-top: 70px; text-align: center; }
.archive-pagination .nav-links {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
}
.archive-pagination .page-numbers {
  min-width: 44px; padding: 10px 14px;
  border: 1px solid var(--hair); border-radius: 999px;
  font-family: var(--latin); font-size: 14px; color: var(--accent);
  transition: all 0.3s; display: inline-block;
}
.archive-pagination a.page-numbers:hover { border-color: var(--ink-strong); color: var(--ink-strong); }
.archive-pagination .page-numbers.current { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ============ 実績詳細(single) ============ */
.single-work { padding-top: 180px; }
.single-head { text-align: center; margin-bottom: 44px; }
.single-head h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(22px, 3.4vw, 32px); letter-spacing: 0.14em;
  line-height: 1.9; color: var(--ink-strong); margin-top: 14px;
}
.single-thumb { border-radius: 10px; overflow: hidden; margin-bottom: 40px; box-shadow: 0 20px 50px rgba(67, 70, 77, 0.12); }
.single-thumb.noimg {
  aspect-ratio: 16 / 9;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(400px 260px at 70% 25%, rgba(142, 201, 239, 0.3), transparent 70%),
    #f2f6f9;
}
.single-thumb.noimg span {
  font-family: var(--latin); 
  font-size: 13px; letter-spacing: 0.3em; color: rgba(67, 70, 77, 0.4);
}
.single-info { margin-bottom: 44px; }
.single-info a { color: var(--ink-strong); border-bottom: 1px solid var(--hair); }
.single-content { margin-bottom: 60px; }
.single-content p { margin-bottom: 24px; }
.single-content h2, .single-content h3 {
  font-family: var(--serif); font-weight: 500; color: var(--ink-strong);
  letter-spacing: 0.12em; margin: 40px 0 16px;
}
.single-content img { border-radius: 8px; margin: 20px 0; }
.single-nav { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============ フッター(サイトマップ型) ============ */
#site-footer {
  background: var(--bg-sky);
  border-top: 1px solid var(--hair);
  padding: 80px 28px 0;
}
.footer-inner {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px;
  padding-bottom: 60px;
}
.footer-logo {
  font-family: var(--latin); font-size: 34px; color: var(--ink-strong);
  margin-bottom: 18px;
}
.footer-logo em { color: var(--sky); }
.footer-copy { font-size: 12.5px; color: var(--sub); line-height: 2.3; }
.footer-map { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.fm-title {
  font-family: var(--latin); font-size: 15px;
  letter-spacing: 0.2em; color: var(--sky); margin-bottom: 14px;
}
.footer-map a {
  display: block; font-size: 12.5px; color: var(--accent);
  padding: 6px 0; transition: color 0.3s, padding-left 0.3s;
}
.footer-map a:hover { color: var(--ink-strong); padding-left: 6px; }
.footer-note {
  text-align: center; padding: 26px 0;
  border-top: 1px solid var(--hair);
  font-family: var(--latin); font-size: 12px; letter-spacing: 0.2em; color: var(--sub);
}

/* ============ 固定ボタン(料金シミュレーション) ============ */
#float-cta {
  position: fixed; right: 20px; bottom: 20px; z-index: 85;
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px);
  border: 1px solid var(--hair);
  border-radius: 999px; padding: 10px 22px 10px 12px;
  transition: transform 0.3s, box-shadow 0.3s, opacity 0.4s;
  opacity: 0; pointer-events: none;
  box-shadow: 0 10px 30px rgba(67, 70, 77, 0.14);
}
#float-cta.show { opacity: 1; pointer-events: auto; }
#float-cta:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(67, 70, 77, 0.22); }
#float-cta b {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); color: #fff;
  font-family: var(--latin);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
}
#float-cta span { font-size: 12px; letter-spacing: 0.1em; line-height: 1.5; color: var(--ink-strong); }
#float-cta small { display: block; font-size: 9.5px; color: var(--sub); letter-spacing: 0.12em; }

/* ============ レスポンシブ ============ */
.sp-only { display: none; }
@media (max-width: 900px) {
  #gnav { display: none; }
  .nav-cta { margin-left: auto; }
  #menu-btn { display: block; }
  .hero-vertical { display: none; }
  .hero::before {
    background:
      radial-gradient(ellipse 90% 60% at 50% 55%, rgba(253, 253, 252, 0.8) 0%, rgba(253, 253, 252, 0.35) 60%, transparent 80%),
      linear-gradient(rgba(253, 253, 252, 0.55), transparent 30%, transparent 75%, rgba(253, 253, 252, 0.6));
  }
  .about-grid { grid-template-columns: 1fr; gap: 46px; }
  .about-photo { max-width: 260px; }
  .svc-group { padding: 60px 30px 46px; }
  .svc-cards { grid-template-columns: 1fr 1fr; gap: 34px; }
  .str-grid { grid-template-columns: 1fr 1fr; }
  .modal-panel { grid-template-columns: 1fr; }
  .modal-thumb { min-height: 220px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
  body { font-size: 14px; line-height: 2.1; }
  .sp-only { display: inline; }
  #header {justify-content: space-between; padding: 14px 18px; gap: 12px; z-index:120!important}
  #header.scrolled { padding: 10px 18px; z-index:120!important}
	#header .btn  {display:none;}
  .nav-cta { font-size: 10.5px; padding: 8px 13px; }
  .hero-inner { padding-bottom: 110px; }
  .hero-title { font-size: 37px; line-height: 1.8; font-family: "花とちょうちょ", sans-serif !important;}
  .hero-cta { flex-direction: column; }
  .sec { padding: 100px 0; }
  .sec-head { margin-bottom: 46px; }
  .archive-sec, .single-work { padding-top: 130px; }
  .about-stats { flex-direction: column; }
  .about-stats li + li { border-left: none; border-top: 1px solid var(--hair); }
  .svc-group { padding: 52px 20px 40px; margin-bottom: 60px; }
  .svc-tag { font-size: 12px; padding: 8px 22px; }
  .svc-cards { grid-template-columns: 1fr; gap: 40px; }
  .works-grid { grid-template-columns: 1fr; gap: 24px; }
  .str-grid { grid-template-columns: 1fr; gap: 20px; }
  .str-item { padding: 32px 26px; }
.flow-list li {
    grid-template-columns: 44px 1fr;
    padding: 20px 18px; gap: 10px;
  }
  .flow-list b { width: 44px; height: 44px; font-size: 13px; }
  .flow-list p { grid-column: 2; }
  .price-cta { padding: 110px 0; }
  .price-inner { padding: 46px 24px; }
  .modal-body { padding: 32px 24px; }
  #float-cta { right: 12px; bottom: 12px; padding: 8px 16px 8px 9px; }
  #float-cta b { width: 32px; height: 32px; font-size: 14px; }
  #float-cta span { font-size: 11px; }
  #site-footer { padding-top: 56px; }
  .footer-note { padding-bottom: 96px; } /* 固定ボタンと重ならないように */
}
