/* ==========================================================
   Inugasuki Design — 共通スタイル
   色やフォントは :root の変数でまとめて変更できます
   ========================================================== */
:root {
  --bg: #FAEEFA;          /* ページ背景のピンク */
  --pink: #FAEEFA;        /* アイコン丸・ボタンのピンク */
  --pink-border: #E8C8E8; /* ボタンのふち */
  --blue: #D6E6F5;        /* ナビ・フッターの水色 */
  --blue-text: #7A8CA8;   /* ロゴ・ナビの文字色 */
  --link-blue: #5B7BAF;   /* ボタンの文字色 */
  --text: #543A44;        /* 本文の文字色 */
  --white: #FFFFFF;

  --font-logo: "Comfortaa", sans-serif;
  --font-en: "Poppins", "Zen Kaku Gothic New", sans-serif;
  --font-body: "Poppins", "Zen Kaku Gothic New", sans-serif;
  --font-maru: "Zen Maru Gothic", sans-serif;

}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a, button { transition: opacity .3s cubic-bezier(.4, .4, 0, 1); }
a:hover, button:hover { opacity: .7; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal; font-style: normal;
  line-height: 1; letter-spacing: normal; text-transform: none;
  display: inline-block; white-space: nowrap; direction: ltr;
  -webkit-font-feature-settings: "liga"; font-feature-settings: "liga";
}

/* ---------- ヘッダー ---------- */
.site-header__bar {
  background: var(--white);
  padding: 24px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.site-header__side { width: 160px; display: flex; align-items: center; }
.site-header__side--right { justify-content: flex-end; gap: 16px; }
.site-logo {
  font-family: var(--font-logo);
  font-weight: 600;
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: .03em;
  color: var(--blue-text);
  white-space: nowrap;
}
.icon-link {
  color: var(--blue-text);
  font-size: 26px;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
}
.sns-circle {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--pink);
  display: flex; align-items: center; justify-content: center;
  color: #000;
}
.sns-circle svg { width: 17px; height: 17px; }

.site-nav {
  background: var(--blue);
  padding: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
}
.site-nav a, .footer-nav a {
  position: relative;
  font-family: var(--font-en);
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: .03em;
  color: var(--blue-text);
  white-space: nowrap;
}
/* いま開いているページの上につく小さな点 */
.site-nav a[aria-current="page"]::before {
  content: "";
  position: absolute;
  top: -10px; left: 50%;
  width: 4px; height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--text);
}

/* ナビ下のレースのフリル */
.frill {
  height: 74px;
  /* 画面の解像度に合わせて、ちょうどいい大きさの画像を使い分けます */
  background-image: url("../../images/common/frill-2560.webp");
  background-image: -webkit-image-set(url("../../images/common/frill-1280.webp") 1x, url("../../images/common/frill-2560.webp") 2x);
  background-image: image-set(url("../../images/common/frill-1280.webp") 1x, url("../../images/common/frill-2560.webp") 2x);
  background-size: 1280px auto;
  background-position: 50% 100%;
  background-repeat: repeat-x;
}

/* ---------- メイン ---------- */
.main {
  width: 90%;
  margin: 0 auto;
  padding: 40px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* トップのバナー */
.banner { display: block; width: 100%; }
.banner img { width: 100%; height: auto; background: var(--white); }

/* Works */
.works {
  width: 100%;
  margin-top: 120px;
  padding: 64px 48px;
  background: var(--white);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.works__title {
  margin: 0 0 100px;
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 38px;
  line-height: 1.4;
  letter-spacing: .03em;
  color: var(--text);
}
.works__list {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
}
.work {
  width: 290px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: var(--white);
  text-align: left;
}
.work__cover {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.work__title {
  width: 100%;
  margin: 0;
  padding: 0 6px;
  font-family: var(--font-maru);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: .05em;
  color: var(--text);
}
.load-more {
  margin-top: 48px;
  width: 282px; height: 40px;
  border-radius: 20px;
  background: #EEEEEE;
  font-family: var(--font-en);
  font-size: 15px;
  color: #333;
}
.load-more[hidden] { display: none; }

/* 作品のポップアップ */
.work-modal {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
  overflow-y: auto;
}
.work-modal::backdrop { background: rgba(0, 0, 0, .16); }
.work-modal__inner {
  min-height: 100%;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.work-modal__card {
  width: 720px;
  max-width: 100%;
  padding: 12px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, .2);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.work-modal__card img { width: 100%; height: auto; border-radius: 10px; }
.work-modal__close {
  position: fixed;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: var(--blue-text);
  font-size: 24px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}

/* ---------- 下層ページ共通 ---------- */
.page-title { margin: 88px 0 120px; }
.page-title h1 {
  margin: 0;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.4;
  letter-spacing: .03em;
  text-align: center;
  color: var(--text);
}
.page-title--tight { margin-bottom: 56px; }

.rich-text {
  width: 800px;
  max-width: 100%;
  margin-bottom: 48px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: .06em;
  text-align: justify;
  color: var(--text);
}
.rich-text p, .rich-text h2, .rich-text h3 { margin: 10px 0; }
.rich-text p:empty { min-height: 1em; }
.rich-text h2 { font-size: 18px; font-weight: 500; }
.rich-text h3 { font-size: 14px; font-weight: 700; }
.rich-text ul { margin: 0 0 19px 20px; padding: 0; }
.rich-text li { margin: 8px 0; }
.rich-text li p { margin: 0; }
.rich-text a { text-decoration: underline; }
.rich-text--privacy { margin-bottom: 180px; }

/* セミオーダー */
.semi-image {
  width: 800px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 5646 / 3126;
  object-fit: cover;
  border-radius: 24px;
  margin-bottom: 40px;
  background: #CFDFEC;
}
.order-button {
  margin: 24px 0 80px;
  padding: 16px 56px;
  background: var(--pink);
  border: 2px solid var(--pink-border);
  border-radius: 999px;
  font-family: var(--font-en);
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: .1em;
  color: var(--link-blue);
}

/* ---------- フッター ---------- */
.site-footer {
  background: var(--blue);
  padding: 80px 0 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-nav { display: flex; gap: 36px; margin-bottom: 32px; }
.footer-logo {
  margin-bottom: 28px;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 28px;
  line-height: 1.4;
  letter-spacing: .03em;
  color: var(--blue-text);
}
.site-footer .sns-circle { margin-bottom: 24px; }
.footer-privacy {
  margin-bottom: 17px;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .03em;
  color: var(--blue-text);
}
.copyright {
  margin: 0;
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: .03em;
  color: var(--blue-text);
}

/* ==========================================================
   タブレット（990px以下）
   ========================================================== */
@media (max-width: 1140px) {
  .site-header__bar { padding: 24px 32px; }
}

/* ==========================================================
   スマホ（690px以下）
   ========================================================== */
@media (max-width: 690px) {
  .site-header__bar {
    flex-direction: row-reverse;
    padding: 24px 16px;
    gap: 12px;
  }
  .site-header__side { width: auto; }
  .site-header__side--right { display: none; }
  .site-logo { font-size: 18px; letter-spacing: .03em; margin-right: auto; }

  .site-nav { gap: 12px; padding: 12px 8px; }
  .site-nav a { font-size: 13px; }
  .site-nav a[aria-current="page"]::before { top: -8px; }

  .frill {
    height: 49px;
    background-size: 800px auto;
    background-image: url("../../images/common/frill-1600.webp");
    background-image: -webkit-image-set(url("../../images/common/frill-800.webp") 1x, url("../../images/common/frill-1600.webp") 2x);
    background-image: image-set(url("../../images/common/frill-800.webp") 1x, url("../../images/common/frill-1600.webp") 2x);
  }

  .main { padding: 0 0 40px; }
  .banner img { border-radius: 24px; }

  .works { margin-top: 48px; padding: 48px 14px; }
  .works__title { font-size: 22px; margin-bottom: 32px; }
  .works__list { gap: 24px 12px; }
  .work { width: 47%; }
  .work__cover { height: 110px; }
  .work__title { padding: 0; font-size: 13px; line-height: 1.5; letter-spacing: .02em; }
  .load-more { margin-top: 32px; width: 220px; }

  .work-modal__inner { padding: 64px 12px 24px; }
  .work-modal__card { padding: 8px; gap: 8px; border-radius: 12px; }
  .work-modal__card img { border-radius: 8px; }

  .page-title { margin: 56px 0 56px; }
  .page-title h1 { font-size: 24px; }
  .rich-text { font-size: 15px; line-height: 1.8; letter-spacing: .02em; text-align: left; }
  .rich-text--semi { margin-bottom: 56px; }
  .rich-text--privacy { margin-bottom: 96px; }

  .semi-image { border-radius: 16px; }
  .order-button { margin-top: 0; padding: 14px 48px; }

  .site-footer { padding: 60px 0 40px; }
  .footer-nav { gap: 24px; }
  .footer-nav a { font-size: 14px; }
  .footer-logo { font-size: 22px; }
}
