/* =========================
   Custom Font：花とちょうちょ
========================= */
@font-face {
  font-family: 'Hanatotyoutyo';
  src: url('fonts/hanatotyoutyo.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* =========================
   Base
========================== */
:root {
  --bg: #f1e4f5;          /* ほんのりラベンダー */
  --ink: #3A3A3A;         /* 本文色 */
  --accent: #8C7B6A;      /* グレージュ系アクセント */
  --line: #E5DED3;        /* 罫線 */
  --container: 1120px;    /* コンテンツ幅 */
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Noto Sans JP", system-ui, -apple-system, Helvetica, Arial,
    "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.75;
  letter-spacing: 0.02em;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

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

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* =========================
   Header / Global Nav
========================== */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #f6f1fa;
  border-bottom: 1px solid var(--line);
}

/* 対応ブラウザでは“ガラス”風に */
@supports ((-webkit-backdrop-filter: none) or (backdrop-filter: none)) {
  header {
    background: rgba(246, 241, 250, 0.85);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }
}

.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gnav {
  display: flex;
  gap: 28px;
  font-weight: 600;
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.05em;
  font-size: 17px;
  color: var(--ink);
}

.gnav a { position: relative; }

.gnav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: 0.25s;
}

.gnav a:hover::after { width: 100%; }

/* 現在地 */
.gnav a.is-active::after { width: 100%; }

/* ==========================
   Logo（じぇいゆ〜 ju_design）
=========================== */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.logo img {
  width: 36px;
  height: 36px;
}

/* “ju_design” の上に小さく じぇいゆ〜デザイン（ふりがな風） */
.logo__brand{
  position: relative;
  display: inline-block;
  line-height: 1;
  padding-top: 12px;
}

.logo__en{
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .08em;
  color: var(--accent);
}

.logo__jp{
  position: absolute;
  left: .12em;
  top: -10px;
  font-family: "Noto Serif JP", serif;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--accent);
  opacity: .85;
}

/* =========================
   Hero Section
========================== */
.hero { padding: 72px 0 56px; }

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero__image img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.eyebrow {
  font-family: "Noto Serif JP", serif;
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.h1 {
  font-family: "Noto Serif JP", serif;
  font-size: 48px;
  line-height: 1.3;
  margin: 8px 0 16px;
  letter-spacing: 0.08em;
}

.lead {
  max-width: 56ch;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.9;
}

/* ブランド・スローガン */
.slogan {
  margin-top: 10px;
  color: #5a5a5a;
  font-size: 18px;
  letter-spacing: 0.05em;
  font-family: 'Hanatotyoutyo', "Noto Serif JP", serif;
  text-shadow:
    0.6px 0.6px 0 rgba(0,0,0,0.06),
    0 0 4px rgba(140, 123, 106, 0.12),
    0 0 10px rgba(140, 123, 106, 0.05);
}

/* ハイライト */
.hl{
  position: relative;
  font-weight: 600;
  color: var(--ink);
  padding: 0 .12em;
  transition: filter .2s ease;
}
.hl-join{
  background-image: linear-gradient(transparent 62%, rgba(176, 214, 190, .42) 62%);
}
.hl-joy{
  background-image: linear-gradient(transparent 62%, rgba(255, 199, 168, .45) 62%);
}
.hl-you{
  background-image: linear-gradient(transparent 62%, rgba(200, 212, 230, .45) 62%);
}
@media (hover:hover){
  .hl:hover{ filter: brightness(1.05); }
}

/* Hero 下辺スローガン配置 */
.hero{ position: relative; padding-bottom: 96px; }
.hero .container{ position: relative; }
.hero__slogan{
  position: absolute;
  left: 24px;
  bottom: 16px;
  display: block;
  z-index: 2;
}
.hero__slogan .slogan{ pointer-events:auto; }

@media (max-width: 820px){
  .hero__slogan{ display:none; }
}

.profile-link {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.profile-link:hover { opacity: 0.8; }

/* =========================
   Works Section（index用・これ1つに統一）
========================== */
#works{
  padding: 96px 0 64px;
  border-top: 1px solid var(--line);
}

#works h2{
  font-family: "Noto Serif JP", serif;
  font-size: 28px;
  margin: 0 0 32px;
  letter-spacing: 0.1em;
}

#works .works__grid{
  display: grid;
  gap: 32px;
  grid-template-columns: 1.25fr 1fr 1fr;
  align-items: stretch;
  justify-items: center;
}

#works .card{
  background: #f8f4ef;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform .25s ease, box-shadow .25s ease;

  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
}

#works .card:hover{
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

#works .card > img{
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform .28s ease;
}

#works .card:hover > img{ transform: scale(1.02); }

#works .card.is-featured > img{
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

#works .card__body{
  padding: 14px 4px 4px;
  text-align: left;

  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#works .card__body strong{
  display: block;
  margin-bottom: 2px;
}

#works .tag{
  margin-top: auto;
  display: inline-block;
  font-size: 12px;
  color: #6b6b6b;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 10px;
  background: #fafafa;
}

#works .works-more-wrap{
  margin-top: 28px;
  text-align: center;
}

#works .works-more{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: #fff;
  color: var(--accent);
  font-weight: 700;
  font-family: "Noto Serif JP", serif;
  letter-spacing: .06em;
  box-shadow: 0 6px 18px rgba(140,123,106,.18);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
#works .works-more:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(140,123,106,.28);
  opacity: .96;
}

@media (max-width: 960px){
  #works .works__grid{ grid-template-columns: 1fr 1fr; }
  #works .card{ max-width: none; }
}
@media (max-width: 600px){
  #works .works__grid{ grid-template-columns: 1fr; }
}

/* =========================
   Contact Section
========================== */
#contact{
  padding: 96px 0;
  border-top: 1px solid var(--line);
}

/* ★ここが追加：Contactの見出しをWorksと同じセリフに統一 */
#contact h2{
  font-family: "Noto Serif JP", serif;
  font-size: 28px;
  margin: 0 0 32px;
  letter-spacing: 0.1em;
}

.contact__box{
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  padding:28px 32px 28px 110px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:24px;
  flex-wrap:nowrap;
  box-shadow:0 5px 18px rgba(0,0,0,.04);
  position:relative;
  overflow:visible;
  isolation:isolate;
}

.contact__flower{
  position:absolute;
  left: -60px;
  bottom:0;
  width: 280px;
  opacity:.42;
  transform: rotate(-4deg);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.08)) blur(.3px);
  pointer-events:none;
  z-index:-1;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0 80%, rgba(0,0,0,0) 100%);
          mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0 80%, rgba(0,0,0,0) 100%);
}

.contact__box > *{
  position:relative;
  z-index:1;
}

#contact p{
  font-size:20px;
  line-height:1.9;
  max-width:550px;
  color:var(--ink);
  flex:0 1 520px;
}

#contact .btn{ margin-left:auto; }

@media (hover:hover){
  .contact__box:hover .contact__flower{
    opacity:.30;
    transform: rotate(-4deg) translateY(-2px);
  }
}
@media (prefers-reduced-motion: reduce){
  .contact__box:hover .contact__flower{ transform:none; }
}

@media (max-width: 820px){
  .contact__box{
    flex-wrap:wrap;
    padding:24px 20px;
  }
  #contact p{
    flex:1 1 100%;
    max-width:none;
  }
  #contact .btn{ margin-left:0; }
  .contact__flower{
    left: clamp(-16px, 5vw, 16px);
    width: clamp(110px, 26vw, 180px);
    opacity:.20;
  }
}
@media (max-width: 600px){
  .contact__flower{ display:none; }
}

/* =========================
   Price Page
========================= */
#price { padding: 96px 0 40px; }

.price-layout {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: 64px;
  align-items: flex-start;
}

.price-layout__side .h1 { margin: 0 0 16px; color: #222; }

.price-layout__side .lead { color: #555; line-height: 1.8; }

.price-layout__note { margin-top: 16px; font-size: 14px; color: #777; }

.price-item { padding: 32px 0; border-bottom: 1px solid rgba(0,0,0,0.1); }

.price-item__title {
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  letter-spacing: .06em;
  margin: 0 0 8px;
  color: #222;
}

.price-item__desc { margin: 0 0 16px; color: #555; line-height: 1.7; }

.price-item__detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px));
  gap: 8px 24px;
  font-size: 14px;
}

.price-item__detail dt { font-weight: 600; color: var(--accent); font-size: 14px; }

.price-item__detail dd { margin: 0; color: #333; font-weight: 600; }

.price-item__detail div { padding: 4px 6px; border-radius: 4px; }

.price-item__detail div:first-child { background: rgba(180, 160, 200, 0.15); }

.price-item__detail div:nth-child(2) { background: rgba(180, 160, 200, 0.08); }

.price-note { padding: 32px 0 0; font-size: 14px; }

.price-note__title {
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  margin: 0 0 12px;
  color: #222;
}

.price-note ul {
  margin: 0 0 16px 1.2em;
  padding: 0;
  list-style: disc;
  line-height: 1.7;
  color: #555;
}

.price-note__foot { margin: 0; color: #555; }

@media (max-width: 768px) {
  #price { padding: 72px 0 96px; }
  .price-layout { grid-template-columns: 1fr; gap: 40px; }
  .price-item__detail { grid-template-columns: 1fr; }
}

/* =========================
   Buttons
========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 200px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--accent);
  font-weight: 700;
  font-family: "Noto Serif JP", serif;
  box-shadow: 0 6px 18px rgba(140, 123, 106, 0.25);
  transition: 0.25s;
}
.btn:hover { filter: brightness(1.05); }

/* =========================
   Page Top Button
========================== */
.pagetop {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

/* =========================
   下部リンクセクション
========================= */
.bottom-links {
  padding: 64px 0;
  text-align: center;
}
.bottom-links__inner {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* =========================
   ボタン（outline/accent）
========================= */
.btn-outline,
.btn-accent {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-outline {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}
.btn-accent:hover {
  background: #fff;
  color: var(--accent);
}

/* =========================
   ボタン内アイコン（葉っぱ）
========================= */
.icon-leaf {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  vertical-align: middle;
  transition: transform 0.25s ease, opacity 0.25s ease;
  color: var(--accent);
}

.icon-leaf.main { color: var(--accent); }

.icon-leaf.light { color: #C7BEB3; }

.btn-outline:hover .icon-leaf,
.btn-accent:hover .icon-leaf {
  transform: rotate(-8deg) scale(1.05);
  opacity: 0.9;
}

/* =========================
   Footer
========================== */
footer {
  padding: 40px 0 32px;
  text-align: center;
  color: #7b7b7b;
}

footer .container {
  max-width: 960px;
  margin: 0 auto;
}

.footer-sns { margin-bottom: 16px; }

.footer-sns a { display: inline-block; }

.footer-sns img {
  width: 28px;
  height: 28px;
  opacity: 0.85;
  vertical-align: middle;
  transition: opacity .2s ease, transform .2s ease;
}
.footer-sns img:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.footer-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.footer-leaf {
  width: 22px;
  height: 22px;
  margin-left: 2px;
  vertical-align: middle;
  color: #5b8b3d;
  transition: transform 0.3s ease;
}
.footer-leaf:hover { transform: scale(1.1) rotate(-5deg); }

/* =========================
   Responsive（全体）
========================== */
@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .h1 { font-size: 36px; }

  /* ※全体の works__grid を触ると #works と二重で効くので、
     必要なら #works の方で調整するのが安全 */
  .gnav { gap: 18px; }

  .hero__image img { max-width: 340px; }
}

@media (max-width: 600px) {
  .h1 { font-size: 30px; }

  .contact__box {
    flex-direction: column;
    align-items: flex-start;
  }

  /* ヘッダーの重なり修正 */
  .nav {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: 12px 0;
    gap: 8px;
  }

  .logo img {
    width: 32px;
    height: 32px;
  }

  .gnav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }

  .gnav a { font-size: 14px; }

  .hero__image img { max-width: 100%; }
}
