@charset "UTF-8";

/* =========================================================
   00-foundation.css
   Foundation Asset：フォント・変数・基本タイポグラフィ・SWELL基礎調整

   Site:
   日本料理 あふひ

   Style:
   Standard / Regular

   方針：
   ・サイト全体の土台だけを定義
   ・本文は読みやすい400
   ・見出しは強すぎない500
   ・日本料理らしい上品さを残しながら、古くなりすぎない印象にする
   ・日本語は Noto Sans JP
   ・英字・数字は必要に応じて Montserrat
   ・画像は基本角丸なし
   ・角丸が必要な場合のみ u-radius-* を付与
========================================================= */


/* =========================
   フォント読み込み
========================= */

/* Montserrat */
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* 英字・数字を少し強く使う場合用 */
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/Montserrat-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* Noto Sans JP */
@font-face {
  font-family: 'Noto Sans JP';
  src: url('../fonts/NotoSansJP-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans JP';
  src: url('../fonts/NotoSansJP-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans JP';
  src: url('../fonts/NotoSansJP-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans JP';
  src: url('../fonts/NotoSansJP-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* =========================
   基本変数
========================= */

:root {
  /* Font */
  --font-ja: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  --font-en: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --font-base: var(--font-ja);

  /* Font Weight */
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-bold: 700;

  /* Font Size */
  --fz-body: 15px;
  --fz-body-sp: 15px;

  /* Display Font Size：必要な時だけ各アセットで参照 */
  --fz-display-sm: clamp(28px, 4vw, 48px);
  --fz-display-md: clamp(38px, 6vw, 72px);
  --fz-display-lg: clamp(52px, 9vw, 108px);

  /* Line Height */
  --lh-heading: 1.3;
  --lh-body: 1.9;

  /* Letter Spacing */
  --ls-ja: 0.025em;
  --ls-en: 0.12em;

  /* Color */
  --color-text: #222;
  --color-sub: #444;
  --color-muted: #777;

  /* Space */
  --space-page-sp: 22px;

  /* Radius：必要なときだけ使う */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 12px;
}


/* =========================
   Base：html / body
========================= */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: var(--fz-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-ja);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (max-width: 767px) {
  body {
    font-size: var(--fz-body-sp);
  }
}


/* =========================
   Base：見出し
   ※ SWELLの太い見出しを標準的な中太へ統一
========================= */

h1,
h2,
h3,
h4,
h5,
h6,
.post_content h1,
.post_content h2,
.post_content h3,
.post_content h4,
.post_content h5,
.post_content h6,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  margin: 0 0 0.8em;
  font-family: var(--font-base) !important;
  font-weight: var(--fw-medium) !important;
  line-height: var(--lh-heading) !important;
  letter-spacing: var(--ls-ja) !important;
  color: var(--color-text);
}


/* =========================
   Base：段落
========================= */

p,
.post_content p,
.entry-content p {
  margin: 0 0 1.4em;
  font-family: var(--font-base);
  font-size: var(--fz-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-ja);
  color: var(--color-text);
}

p:last-child,
.post_content p:last-child,
.entry-content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  p,
  .post_content p,
  .entry-content p {
    font-size: var(--fz-body-sp);
  }
}


/* =========================
   Base：リンク
========================= */

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}


/* =========================
   Base：画像
   ※ 基本は角丸なし
   ※ 角丸が必要な場合のみ u-radius-* を付与
========================= */

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


/* =========================
   Utility：基本タイポ補助
   ※ 使いすぎない。必要な時だけ付与。
========================= */

.u-font-ja {
  font-family: var(--font-ja) !important;
}

.u-font-en {
  font-family: var(--font-en) !important;
  letter-spacing: var(--ls-en) !important;
}

.u-text-light {
  font-weight: var(--fw-light) !important;
}

.u-text-regular {
  font-weight: var(--fw-regular) !important;
}

.u-text-medium {
  font-weight: var(--fw-medium) !important;
}

.u-text-bold {
  font-weight: var(--fw-bold) !important;
}

.u-display-sm {
  font-size: var(--fz-display-sm) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.01em !important;
}

.u-display-md {
  font-size: var(--fz-display-md) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.02em !important;
}

.u-display-lg {
  font-size: var(--fz-display-lg) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.035em !important;
}


/* =========================
   Utility：角丸補助
   ※ 画像は基本角丸なし。必要な場所だけ使う。
========================= */

.u-radius-sm {
  border-radius: var(--radius-sm) !important;
  overflow: hidden;
}

.u-radius-md {
  border-radius: var(--radius-md) !important;
  overflow: hidden;
}

.u-radius-lg {
  border-radius: var(--radius-lg) !important;
  overflow: hidden;
}


/* =========================
   SWELL：スマホ本文左右余白
   ※ サイト全体の基本余白として管理
========================= */

@media (max-width: 767px) {
  .l-mainContent__inner {
    padding-left: var(--space-page-sp);
    padding-right: var(--space-page-sp);
  }
}


/* =========================
   SWELL：ヘッダー・追従ヘッダーフォント統一
========================= */

.l-header,
.l-header a,
.l-header__inner,
.c-gnav,
.c-gnav a,
.c-gnav__a,
.c-headLogo,
.c-headLogo a,
[data-scrolled="true"] .l-header,
[data-scrolled="true"] .l-header a,
.is-fixed .l-header,
.is-fixed .l-header a,
.is-sticky .l-header,
.is-sticky .l-header a,
.l-header.is-fixed,
.l-header.is-fixed a,
.l-header.is-sticky,
.l-header.is-sticky a,
.l-header.is-scrolled,
.l-header.is-scrolled a {
  font-family: var(--font-base) !important;
  font-weight: var(--fw-medium) !important;
  letter-spacing: 0.045em !important;
}


:root {
  --fz-prose: 15px;
  --fz-prose-sp: 15px;
}