
/*! kiso.css v1.2.2 | MIT License | https://github.com/tak-dcxi/kiso.css */

/* ======================================================
//  MARK: Universal
// ====================================================== */
*,
::before,
::after {
  /*
  * Includes padding and border in the element's specified dimensions.
  * It is highly recommended to set box-sizing: border-box; by default, as it makes styling much easier, especially when specifying width: 100%;.
  */
  box-sizing: border-box;
}

/* ======================================================
//  MARK: Document and Body Elements
// ====================================================== */
:where(:root) {
  /* In Safari, if font-family is not specified, a serif font is applied by default, so sans-serif is set as the default here. */
  font-family: sans-serif;

  /*
  * For accessibility, it is recommended to set the line-height to at least 1.5 times the text size within paragraphs.
  * @see https://waic.jp/translations/WCAG21/#visual-presentation
  */
  line-height: 1.5;

  /* Remove space when punctuation marks are adjacent, and also remove leading spaces in a line. */
  text-spacing-trim: trim-start;

  /* Improves readability by inserting a small space between Japanese and alphanumeric characters. */
  text-autospace: normal;

  /* Prevents misreading by applying strict line-breaking rules. */
  line-break: strict;

  /* Wraps English words mid-word. Specifying anywhere also prevents content from overflowing in layouts like flex or grid. */
  overflow-wrap: anywhere;

  /*
  * Mobile browsers have an algorithm that automatically adjusts font sizes to prevent text from becoming too small.
  * This controls the auto-adjustment feature to prevent unwanted resizing.
  */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;

  /* Prevents layout shift caused by the appearance or disappearance of the scrollbar. */
  scrollbar-gutter: stable;

  /* Suppresses the tap highlight on iOS. */
  -webkit-tap-highlight-color: transparent;
}

:where(body) {
  /*
  * When creating a sticky footer, a minimum height is often required.
  * Setting the min-block-size to the dynamic viewport height ensures enough space for the footer.
  */
  min-block-size: 100dvb;

  /* The margin specified in the User Agent (UA) stylesheet is often unnecessary, so it is reset here. */
  margin: unset;
}

/* ======================================================
// MARK: Sections
// ------------------------------------------------------ */
:where(h1, h2, h3, h4, h5, h6) {
  /* Prevents the last line of text from ending with a single word, which can look awkward (known as an orphan). */
  text-wrap: pretty;
}

:where(h1) {
  /*
  * Adjusts user agent (UA) styles for h1 elements within sectioning content.
  * This addresses DevTools warnings that appear when h1 elements nested within sectioning content lack font-size and margin properties.
  * @see https://html.spec.whatwg.org/#sections-and-headings
  */
  margin-block: 0.67em;
  font-size: 2em;
}

:where(h2, h3, h4, h5, h6) {
  /* The margin-block specified in the User Agent (UA) stylesheet is often unnecessary, so it is reset. */
  margin-block: unset;
}

:where(search) {
  /*
  * The <search> element is supported from Safari 17.
  * This prevents it from being displayed as an inline element in unsupported environments.
  */
  display: block flow;
}

/* ======================================================
//  MARK: Grouping content
// ====================================================== */
:where(p, blockquote, figure, pre, address, ul, ol, dl, menu) {
  /* The margin-block specified in the User Agent (UA) stylesheet is often unnecessary, so it is reset. */
  margin-block: unset;
}

:where(blockquote, figure) {
  /* The margin-inline specified in the User Agent (UA) stylesheet is often unnecessary, so it is reset. */
  margin-inline: unset;
}

:where(p:lang(en)) {
  /*
  * In English, a single word on the last line is called a "widow" or "orphan" and is considered something to avoid as it makes the text harder to read.
  * Therefore, when lang="en", this prevents the last line from ending with a single word.
  */
  text-wrap: pretty;
}

:where(address:lang(ja)) {
  /* Italic style is not common in Japanese, so the font-style is reset. */
  font-style: unset;
}

:where(ul, ol, menu) {
  /* The padding-inline-start specified in the User Agent (UA) stylesheet is often unnecessary, so it is reset. */
  padding-inline-start: unset;

  /*
  * In Safari, using list-style: none prevents screen readers from announcing lists.
  * list-style-type: "" is used to hide markers without affecting accessibility.
  * @see https://matuzo.at/blog/2023/removing-list-styles-without-affecting-semantics
  */
  list-style-type: "";
}

:where(dt) {
  /* It is common to display <dt> elements in bold, so font-weight: bolder; is set by default. */
  font-weight: bolder;
}

:where(dd) {
  /* The margin-inline-start specified in the User Agent (UA) stylesheet is often unnecessary, so it is reset. */
  margin-inline-start: unset;
}

:where(pre) {
  /*
  * Since text-spacing-trim can affect spacing in <pre> elements even with its initial value, the final rendering may depend on the user's font settings.
  * To ensure consistent alignment, space-all is explicitly specified and inheritance is prevented.
  */
  text-spacing-trim: space-all;

  /* Set to no-autospace as it can cause misalignment with monospaced fonts. */
  text-autospace: no-autospace;
}

/* ======================================================
//  MARK: Text-level semantics
// ====================================================== */
:where(em:lang(ja)) {
  /* In Japanese, emphasis is commonly represented by bold text, so font-weight: bolder; is set by default. */
  font-weight: bolder;
}

:where(:is(i, cite, em, dfn, var):lang(ja)) {
  /* Italic style is not common in Japanese, so the font-style is reset. */
  font-style: unset;
}

:where(code, kbd, samp) {
  /*
  * Set a monospace font family referencing Tailwind.
  * @see https://tailwindcss.com/docs/font-family
  */
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;

  /* Font feature settings can have adverse effects on monospaced fonts, so their values are explicitly set to initial to prevent inheritance. */
  font-feature-settings: initial;
  font-variation-settings: initial;

  /* Resets the font-size specified in the UA stylesheet to allow inheritance. */
  font-size: unset;

  /*
  * Disables font ligatures for programming fonts (like Fira Code)
  * to prevent character combinations like => from being rendered as a single symbol (e.g., ⇒).
  */
  font-variant-ligatures: none;
}

:where(abbr[title]) {
  /*
  * The <abbr> element with the title attribute isn't helpful regarding accessibility because support is inconsistent, and it's only accessible to some users.
  * This rule shows a dotted underline on abbreviations in all browsers (there's a bug in Safari) and changes the cursor.
  * @see https://adrianroselli.com/2024/01/using-abbr-element-with-title-attribute.html
  */
  text-decoration-line: underline;
  text-decoration-style: dotted;
  cursor: help;
}

:where(time) {
  /* Set to no-autospace because date notations in typography do not include spaces. */
  text-autospace: no-autospace;
}

@media (forced-colors: active) {
  :where(mark) {
    /*
    * In forced-colors mode, the color of the mark element may not change, which can be problematic. Use system colors in forced-colors mode.
    * @see https://adrianroselli.com/2017/12/tweaking-text-level-styles.html#MarkWHCM
    */
    background-color: Highlight;
    color: HighlightText;
  }
}

@media print {
  :where(mark) {
    /*
    * Not all printers support color, and users might print in grayscale.
    * It's worth adding a non-disruptive style that scales with the text, as an alternative to relying only on background color.
    * @see https://adrianroselli.com/2017/12/tweaking-text-level-styles.html#MarkPrint
    */
    border-width: 1px;
    border-style: dotted;
  }
}

/* ======================================================
//  MARK: Links
// ====================================================== */
:where(a:any-link) {
  /* The default color from the UA stylesheet is rarely used as is, so it's reset to allow inheritance. */
  color: unset;

  /*
  * While link underlines can be useful, they are often obstructive.
  * They are disabled by default.
  * If needed, restore them using text-decoration-line: revert;.
  */
  text-decoration-line: unset;

  /* Set the underline thickness to the font's default thickness. */
  text-decoration-thickness: from-font;
}

/* ======================================================
//  MARK: Embedded content
// ====================================================== */
:where(img, svg, picture, video, canvas, model, audio, iframe, embed, object) {
  /* Automatically adjust block size based on content. */
  block-size: auto;

  /* Prevents overflow by setting the maximum width to 100%. */
  max-inline-size: 100%;

  /* Prevents extra space from appearing at the bottom of the element. */
  vertical-align: bottom;
}

:where(iframe) {
  /* The border specified in the UA stylesheet is often unnecessary, so it is reset. */
  border: unset;
}

/* ======================================================
//  MARK: Tabular data
// ====================================================== */
:where(table) {
  /* Collapse borders for a more refined table design. */
  border-collapse: collapse;
}

:where(caption, th) {
  /* The text-align specified in the UA stylesheet is often unnecessary, so it is reset. */
  text-align: unset;
}

:where(caption) {
  /* Prevents the last line of text from ending with a single word, which can look awkward (known as an orphan). */
  text-wrap: pretty;
}

/* ======================================================
//  MARK: Forms
// ====================================================== */
:where(button, input, select, textarea),
::file-selector-button {
  /*
  * These elements are often styled with a border, so a 1px border is applied by default for consistency.
  * This ensures readability even for unstyled elements.
  * When resetting, it's recommended to use border-color: transparent instead of border: none to account for forced color modes.
  */
  border-width: 1px;
  border-style: solid;

  /* These styles specified in the UA stylesheet are often unnecessary, so they are reset to allow for inheritance. */
  border-color: unset;
  border-radius: unset;
  color: unset;
  font: unset;
  letter-spacing: unset;
  text-align: unset;
}

:where(input:is([type="radio" i], [type="checkbox" i])) {
  /* The margin specified in the User Agent (UA) stylesheet is often unnecessary, so it is reset here. */
  margin: unset;
}

:where(input[type="file" i]) {
  /* The border is often unnecessary, so it is reset here. */
  border: unset;
}

:where(input[type="search" i]) {
  /* Remove the rounded corners of search inputs on macOS and normalize the background color. */
  -webkit-appearance: textfield;
}

@supports (-webkit-touch-callout: none) {
  :where(input[type="search" i]) {
    /* normalize the background color on iOS. */
    background-color: Canvas;
  }
}

:where(
    input:is(
        [type="tel" i],
        [type="url" i],
        [type="email" i],
        [type="number" i]
      ):not(:placeholder-shown)
  ) {
  /*
  * Certain input types need to maintain left alignment even in right-to-left (RTL) languages.
  * However, this only applies when the value is not empty, as the placeholder should be right-aligned.
  * @see https://rtlstyling.com/posts/rtl-styling#form-inputs
  */
  direction: ltr;
}

:where(textarea) {
  /* The margin-block specified in Firefox's UA stylesheet is often unnecessary, so it is reset. */
  margin-block: unset;

  /* Allows vertical resizing for <textarea> elements. */
  resize: block;
}

:where(
    input:not([type="button" i], [type="submit" i], [type="reset" i]),
    textarea,
    [contenteditable]
  ) {
  /* Set to no-autospace because text-autospace can insert spaces during input, potentially causing erratic behavior. */
  text-autospace: no-autospace;
}

:where(
    button,
    input:is([type="button" i], [type="submit" i], [type="reset" i])
  ),
::file-selector-button {
  /* The background-color specified in the User Agent (UA) stylesheet is often unnecessary, so it is reset here. */
  background-color: unset;
}

:where(
    button,
    input:is([type="button" i], [type="submit" i], [type="reset" i]),
    [role="tab" i],
    [role="button" i],
    [role="option" i]
  ),
::file-selector-button {
  /*
  * On iOS, double-tapping a button can cause zooming, which harms usability.
  * touch-action: manipulation is specified to disable zooming on double-tap.
  * Third-party plugins such as Swiper sometimes use div elements with these roles as buttons, since double-tapping a div can still trigger zooming, it's advisable to specify this property.
  */
  touch-action: manipulation;
}

:where(
    button:enabled,
    label[for],
    select:enabled,
    input:is(
        [type="button" i],
        [type="submit" i],
        [type="reset" i],
        [type="radio" i],
        [type="checkbox" i]
      ):enabled,
    [role="tab" i],
    [role="button" i],
    [role="option" i]
  ),
:where(:enabled)::file-selector-button {
  /* Indicate clickable elements with a pointer cursor. */
  cursor: pointer;
}

:where(fieldset) {
  /*
  * Prevent fieldset from causing overflow.
  * Reset the default min-inline-size: min-content to prevent children from stretching fieldset.
  * @see https://github.com/twbs/bootstrap/issues/12359
  */
  min-inline-size: 0;

  /* The following default styles are often unnecessary, so they are reset. */
  margin-inline: unset;
  padding: unset;
  border: unset;
}

:where(legend) {
  /* The default padding-inline is often unnecessary, so it is reset. */
  padding-inline: unset;
}

:where(progress) {
  /* Resets the vertical alignment of the <progress> element to its initial value. */
  vertical-align: unset;
}

::placeholder {
  /* Standardize the opacity of placeholder text (it may be set lower by default in Firefox). */
  opacity: unset;
}

/* ======================================================
//  MARK: Interactive elements
// ====================================================== */
:where(summary) {
  /* The default triangle marker is often unnecessary, so it is disabled. */
  list-style-type: "";

  /* Changing the cursor to a pointer clarifies the clickability of the element. */
  cursor: pointer;
}

:where(summary)::-webkit-details-marker {
  /* In Safari versions earlier than 18.4 (released in April 2025), a triangle icon is displayed using the -webkit-details-marker CSS pseudo-element, so it should be removed. */
  display: none;
}

:where(dialog, [popover]) {
  /*
  * When these fixed-position elements are scrolled, preventing scroll chaining on the underlying page and bounce effects on mobile improves usability.
  * Disabling block-direction scroll chaining is recommended.
  */
  overscroll-behavior-block: contain;

  /* The following default styles are often unnecessary, so they are reset. */
  padding: unset;
  border: unset;
}

:where(dialog:not([open], [popover]), [popover]:not(:popover-open)) {
  /*
  * These elements can be easily displayed by explicitly setting their display property.
  * To prevent them from appearing when not in an open state, they are forcibly hidden.
  */
  display: none !important;
}

:where(dialog) {
  /*
  * The max width and height of a <dialog> element are typically determined by the design.
  * These UA stylesheet properties are reset as they can be obstructive, especially when trying to make the dialog full-screen.
  */
  max-inline-size: unset;
  max-block-size: unset;
}

:where(dialog)::backdrop {
  /* Normalize the background color of the ::backdrop element. */
  background-color: oklch(0% 0 0deg / 30%);
}

:where([popover]) {
  /*
  * While the UA stylesheet's margin for <dialog> elements is useful for centering with inset: 0,
  * but margin for popover elements is often obstructive as they frequently use Anchor Positioning.
  */
  margin: unset;
}

/* ======================================================
//  MARK: Focus Styles
// ====================================================== */
:where(:focus-visible) {
  /* Add space between the content and the focus outline. */
  outline-offset: 3px;
}

[tabindex="-1"]:focus {
  /* Prevent programmatically focused elements from displaying an outline unless they are naturally focusable. */
  outline: none !important;
}

/* ======================================================
//  MARK: Misc
// ====================================================== */
:where(:disabled, [aria-disabled="true" i]) {
  /* Display the default cursor on disabled elements to reflect their non-interactive state. */
  cursor: default;
}

[hidden]:not([hidden="until-found" i]) {
  /* Ensure that elements intended to be hidden are not displayed, improving clarity and layout control. */
  display: none !important;
}


/* スムーススクロール設定 */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 46px;
}

@media (min-width: 750px) {
  html {
    scroll-padding-top: 74px;
  }
}

/* ユーザーが視差効果を減らす設定にしている場合は無効化 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (min-width: 376px) and (max-width: 749px) {
  html {
    scroll-behavior: auto;
  }
}

h1 {
  margin: 0;
}

svg {
  image-rendering: -webkit-optimize-contrast; /* WebKit独自のアンチエイリアシング最適化 */
  shape-rendering: geometricPrecision; /* SVGの形状レンダリングをシャープに */
  text-rendering: geometricPrecision; /* テキストのレンダリング精度を向上 */
}

button,
a {
  &:focus-visible {
    outline: 2px solid transparent;
    outline-offset: 2px;
  }
}

/* メイン文字色 */
@property --color-main-black {
  syntax: "<color>";
  inherits: false;
  initial-value: #555555;
}

@property --color-red {
  syntax: "<color>";
  inherits: false;
  initial-value: #E20064;
}

/* グレー */
@property --color-gray {
  syntax: "<color>";
  inherits: false;
  initial-value: #585757;
}

@property --color-gray-dark {
  syntax: "<color>";
  inherits: false;
  initial-value: #4D4D4D;
}

@property --color-gray-light {
  syntax: "<color>";
  inherits: false;
  initial-value: #F5F5F5;
}

@property --color-gray-light-2 {
  syntax: "<color>";
  inherits: false;
  initial-value: #AAAAAA;
}

/* メインカラー */
@property --color-main-green {
  syntax: "<color>";
  inherits: false;
  initial-value: #06AE77;
}

@property --color-main-green-l {
  syntax: "<color>";
  inherits: false;
  initial-value: #62C098;
}

@property --color-main-green-hover {
  syntax: "<color>";
  inherits: false;
  initial-value: #B8F7DD;
}

@property --color-main-green-ld {
  syntax: "<color>";
  inherits: false;
  initial-value: #048E61;
}

@property --color-sub-orange {
  syntax: "<color>";
  inherits: false;
  initial-value: #FF6E4F;
}

@property --color-sub-orange-l {
  syntax: "<color>";
  inherits: false;
  initial-value: #F8937E;
}

@property --color-sub-yellow {
  syntax: "<color>";
  inherits: false;
  initial-value: #FFFF67;
}

@property --color-sub-yellow-l {
  syntax: "<color>";
  inherits: false;
  initial-value: #FFFFC4;
}

/* 白黒 */
@property --color-pure-white {
  syntax: "<color>";
  inherits: false;
  initial-value: #fff;
}

@property --color-pure-black {
  syntax: "<color>";
  inherits: false;
  initial-value: #000;
}

@property --alpha-02 {
  syntax: "<number>";
  inherits: false;
  initial-value: 0.2;
}

@property --alpha-07 {
  syntax: "<number>";
  inherits: false;
  initial-value: 0.7;
}

@property --transition-time {
  syntax: "<time>";
  inherits: false;
  initial-value: 0.3s;
}

/* フォント */
@property --font-noto-sans-jp {
  syntax: "*";
  inherits: false;
  initial-value: "Noto Sans JP", sans-serif;
}

@property --font-weight-bold {
  syntax: "<number>";
  inherits: false;
  initial-value: 700;
}

@property --font-weight-medium {
  syntax: "<number>";
  inherits: false;
  initial-value: 500;
}

@property --font-weight-regular {
  syntax: "<number>";
  inherits: false;
  initial-value: 400;
}

@property --font-weight-thin {
  syntax: "<number>";
  inherits: false;
  initial-value: 300;
}

/* 行間 */
@property --leading-tight {
  syntax: "<number>";
  inherits: false;
  initial-value: 1.25;
}

@property --leading-medium {
  syntax: "<number>";
  inherits: false;
  initial-value: 1.4;
}

@property --leading-normal {
  syntax: "<number>";
  inherits: false;
  initial-value: 1.5;
}

@property --leading-relaxed {
  syntax: "<number>";
  inherits: false;
  initial-value: 1.75;
}

/* コンテンツ左右余白 */
@property --content-padding-inline {
  syntax: "<length>";
  inherits: false;
  initial-value: 20px;
}

/* z-index header / footer */
@property --z-index-topmost {
  syntax: "<number>";
  inherits: false;
  initial-value: 999;
}

/* タブレットスケーリング用の共通関数 */
@property --tablet-viewport-min {
  syntax: "<number>";
  inherits: false;
  initial-value: 750;
}

@property --tablet-viewport-max {
  syntax: "<number>";
  inherits: false;
  initial-value: 1024;
}

/* color setting */
:root {
  background-color: var(--color-pure-white);
  color: var(--color-main-black);

  &:lang(en) {
    font-kerning: normal;
  }

  &:lang(ja) {
    font-kerning: none;
  }
}

/* font-size setting */
*,
::before,
::after {
  --clamp-root-font-size: 16;
  --clamp-slope: calc((var(--clamp-max) - var(--clamp-min)) / (var(--clamp-viewport-max) - var(--clamp-viewport-min)));
  --clamp-y-axis-intersection: calc(var(--clamp-min) - (var(--clamp-slope) * var(--clamp-viewport-min)));
  --clamp-preffered-value: calc(
    var(--clamp-y-axis-intersection) * (1rem / var(--clamp-root-font-size)) + (var(--clamp-slope) * 100vi)
  );
  --clamp: clamp(
    calc(var(--clamp-min) * (1rem / var(--clamp-root-font-size))),
    var(--clamp-preffered-value),
    calc(var(--clamp-max) * (1rem / var(--clamp-root-font-size)))
  );

  font-size: var(--clamp);
}

body {
  font-family: var(--font-noto-sans-jp);
  /* bodyにデフォルト値を設定する */
  --clamp-viewport-min: 375;
  --clamp-viewport-max: 1024;
  --clamp-min: 14;
  --clamp-max: 16;
  min-block-size: 100svb;
  background: var(--color-pure-white) url('/area/g/funfunfes2025/eatfair/assets/img/common/bg_stripe.png') repeat center center / 375px 14px;
}

/* How to use */
.foo {
  --clamp-min: 20; /* 最小値 */
  --clamp-max: 24; /* 最大値 */
}

/* memo */
/*
1
  hoverスタイルはany-hoverを使う
  └入力デバイスのいずれかにhoverに対応している入力デバイスが含まれる場合に適用する
  例
  @media (any-hover: hover) {
    .button:hover {
      background-color: var(--background-hover);
    }
  }

2
  メインビジュアルのデカい画像にfetchpriority="high"を指定しておくと◎
*/

/*  util
--------------------------------------------- */
.mobile-visible {
  display: block;
}

@media (min-width: 750px) {
  .mobile-visible {
    display: none;
  }
}

.pc-visible {
  display: block;
}

@media (max-width: 749px) {
  .pc-visible {
    display: none;
  }
}

/*  共通パーツ
--------------------------------------------- */
/* ビューポートスケーリング（376px〜749px） */
@media (min-width: 376px) and (max-width: 749px) {
  /* スケール時のbodyの幅調整 */
  body:has(.main) {
    overflow-x: hidden;
    width: 100vw;
  }

  .main {
    /* 375pxを基準にスケール計算 */
    /* --scale-factor: calc(100vw / 375);
    transform: scale(var(--scale-factor));
    transform-origin: top left;
    overflow-x: hidden; */
  }
}

.main {
  overflow: hidden;
  padding-block-start: 46px;
  position: relative;
}

@media (min-width: 750px) {
  .main {
    padding-block-start: 74px;
  }
}

.container {
  max-inline-size: 100%;
  margin-inline: auto;
  position: relative;
  overflow: visible;
}

.container-padding {
  padding-inline: var(--content-padding-inline);
}

@media (min-width: 750px) {
  .container {
    max-inline-size: calc(1200px + var(--content-padding-inline) * 2);
  }

  .container-pc-padding {
    padding-inline: var(--content-padding-inline);
  }

}

.lead-text {
  position: relative;
  font-weight: var(--font-weight-medium);
  color: var(--color-main-black);
  line-height: var(--leading-relaxed);
  --clamp-min: 14;
  --clamp-max: 18;
  text-align: center;
}

.header {
  position: fixed;
  inset-block-start: 0;
  inset-inline-start: 0;
  inline-size: 100%;
  background-color: var(--color-pure-white);
  z-index: var(--z-index-topmost);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-container.container {
  padding-inline: 10px;
  padding-block: 14px;
  max-inline-size: 100%;
}

@media (min-width: 750px) {
  .header-container.container {
    max-inline-size: calc(1024px + var(--content-padding-inline) * 2);
    padding-block: 18px;
    padding-inline: var(--content-padding-inline);
  }
}

.header-logo-list {
  display: grid;
  grid-template-columns: 52px 60px 52px 54px;
  gap: 10px;
}

.header-logo-item {
  display: flex;
  align-items: center;
}

@media (min-width: 750px) {
  .header-logo-list {
    grid-template-columns: 98px 112px 98px 102px;
    gap: 30px;
  }
}

@media (min-width: 750px) and (max-width: 1023px) {
  .header-logo-list {
    grid-template-columns:
      clamp(74px, calc(74px + (98px - 74px) * ((100vw - 750px) / (1024px - 750px))), 98px)
      clamp(84px, calc(84px + (112px - 84px) * ((100vw - 750px) / (1024px - 750px))), 112px)
      clamp(74px, calc(74px + (98px - 74px) * ((100vw - 750px) / (1024px - 750px))), 98px)
      clamp(77px, calc(77px + (102px - 77px) * ((100vw - 750px) / (1024px - 750px))), 102px);
    gap: clamp(22px, calc(22px + (30px - 22px) * ((100vw - 750px) / (1024px - 750px))), 30px);
  }
}

.header-logo-link {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity var(--transition-time);
}

.header-logo-link.--fudosan {
  width: 81px;
}

@media (min-width: 750px) {
  .header-logo-link.--fudosan {
    width: 208px;
  }
}

@media (min-width: 750px) and (max-width: 1023px) {
  .header-logo-link.--fudosan {
    width: clamp(156px, calc(156px + (208px - 156px) * ((100vw - 750px) / (1024px - 750px))), 208px);
  }
}

@media (any-hover: hover) {
  .header-logo-link:hover {
    opacity: var(--alpha-07);
  }
}

/* Footer Styles */
.footer {
  position: sticky;
  inset-block-start: 100%;
  background-color: var(--color-pure-white);
  border-block-start: 3px solid var(--color-pure-white);
}

.footer-logos {
  padding-block: 40px;
  padding-inline: 20px;
}

@media (min-width: 750px) {
  .footer-logos {
    padding-block: 36px;
  }
}

@media (min-width: 750px) and (max-width: 1023px) {
  .footer-logos {
    padding-block: clamp(27px, calc(27px + (36px - 27px) * ((100vw - 750px) / (1024px - 750px))), 36px);
  }
}

.footer-logo-list {
  gap: 22px 20px;
  max-inline-size: 320px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

@media (min-width: 750px) {
  .footer-logo-list {
    gap: 24px 36px;
    max-inline-size: 858px;
  }
}

@media (min-width: 750px) and (max-width: 1023px) {
  .footer-logo-list {
    gap: clamp(18px, calc(18px + (24px - 18px) * ((100vw - 750px) / (1024px - 750px))), 24px) clamp(27px, calc(27px + (36px - 27px) * ((100vw - 750px) / (1024px - 750px))), 36px);
    max-inline-size: clamp(644px, calc(644px + (858px - 644px) * ((100vw - 750px) / (1024px - 750px))), 858px);
  }
}

.footer-nav {
  background-color: var(--color-gray);
  color: var(--color-pure-white);
  padding-block: 28px;
  padding-inline: 20px;
  text-align: center;
}

@media (min-width: 750px) {
  .footer-nav {
    padding-block: 32px;
  }
}

@media (min-width: 750px) and (max-width: 1023px) {
  .footer-nav {
    padding-block: clamp(24px, calc(24px + (32px - 24px) * ((100vw - 750px) / (1024px - 750px))), 32px);
  }
}

.footer-nav-item {
  line-height: 1;
}

@media (max-width: 749px) {
  .footer-nav-list + .footer-nav-list {
    margin-block-start: 12px;
  }
  .footer-nav-item + .footer-nav-item {
    margin-block-start: 12px;
  }
}

.footer-nav-link {
  display: block;
  font-size: 9px;
  font-weight: var(--font-weight-thin);
}

@media (min-width: 750px) {
  .footer-nav {
    padding-block: 44px;
  }

  .footer-nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .footer-nav-list + .footer-nav-list {
    margin-block-start: 8px;
  }

  .footer-nav-item {
    border-inline-start: 1px solid;
    padding-inline: 0.5em;
  }
  .footer-nav-item:last-child {
    border-inline-end: 1px solid;
  }

  .footer-nav-link {
    font-size: 12px;
  }
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-block: 32px;
}

.footer-bottom-link {
  display: block;
  transition: opacity var(--transition-time);
  inline-size: 247px;
  padding: 12px;
}

@media (min-width: 750px) {
  .footer-bottom-link {
    padding: 16px 15px;
  }
  .footer-bottom {
    gap: 16px;
  }
}

@media (any-hover: hover) {
  .footer-bottom-link:hover {
    opacity: var(--alpha-07);
  }
}

.footer-copyright {
  font-size: 9px;
  line-height: 2;
  color: #8F8F8F;
  text-align: center;
}

@media (min-width: 750px) {
  .footer-bottom {
    padding-block: 12px;
    padding-inline: 120px 80px;
    max-inline-size: 1440px;
    margin-inline: auto;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
  }

  .footer-bottom-link {
    inline-size: 285px;
  }

  .footer-copyright {
    font-size: 11px;
  }
}
/* Fade in with bounce */
@keyframes fadeInBounce {
  0% {
    opacity: 0;
    -webkit-transform: scale(.3);
    -ms-transform: scale(.3);
    transform: scale(.3);
  }

  50% {
    opacity: 1;
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
  }

  70% {
    -webkit-transform: scale(.9);
    -ms-transform: scale(.9);
    transform: scale(.9);
  }

  100% {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes fadeInBounceWidthTranslate {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-50%) scale(.3);
    -ms-transform: translateX(-50%) scale(.3);
    transform: translateX(-50%) scale(.3);
    transform-origin: center center;
  }

  50% {
    opacity: 1;
    -webkit-transform: translateX(-50%) scale(1.05);
    -ms-transform: translateX(-50%) scale(1.05);
    transform: translateX(-50%) scale(1.05);
    transform-origin: center center;
  }

  70% {
    -webkit-transform: translateX(-50%) scale(.9);
    -ms-transform: translateX(-50%) scale(.9);
    transform: translateX(-50%) scale(.9);
    transform-origin: center center;
  }

  100% {
    -webkit-transform: translateX(-50%) scale(1);
    -ms-transform: translateX(-50%) scale(1);
    transform: translateX(-50%) scale(1);
    transform-origin: center center;
  }
}

.modal {
  padding: 20px;
  background: transparent;
  min-inline-size: 360px;
  block-size: min(calc(100svb - calc(20px * 2)), 580px);
  margin: auto;
  transition: opacity var(--transition-time), scale var(--transition-time);
  contain: strict;

  &:not([data-active="true"]) {
    opacity: 0;
    scale: 0.95;

    .modal-inner {
      scroll-behavior: auto;
    }
  }

  &::backdrop {
    background-color: rgb(88 88 88 / 90%);
    transition: opacity var(--transition-time);
  }

  &:not([data-active="true"])::backdrop {
    opacity: 0;
  }

  &:focus-visible {
    outline: 1px solid transparent;
    outline-offset: 1px;
  }
}

@media (min-width: 750px) {
  .modal {
    inline-size: min(calc(100% - calc(20px * 2)), 1064px);
  }

  .modal.region-filter-modal {
    block-size: min(calc(100svb - calc(20px * 2)), 652px);
  }
}

.modal-inner {
  border-radius: 10px;
  background-color: var(--color-pure-white);
  block-size: 100%;
  padding: 40px 22px 32px;
  overflow: auto;
  overscroll-behavior: contain;
  scroll-behavior: auto;

  &:focus-visible {
    outline: 1px solid transparent;
    outline-offset: 1px;
  }
}

@media (min-width: 750px) {
  .modal-inner {
    padding: 60px;
  }
}

.headline {
  inline-size: fit-content;
  margin-inline: auto;
}

@media screen and (max-width: 749px) {
  .headline img {
    width: 155px;
  }
}

.description {
  margin-block-start: 1lh;
  line-height: 1.75;
}

.close {
  position: absolute;
  inset-block-start: 0;
  inset-inline-end: 0;
  z-index: 1;
  inline-size: 42px;
  aspect-ratio: 1;
  appearance: none;
  cursor: pointer;
  background-color: var(--color-main-green-l);
  border: 2px solid var(--color-pure-white);
  border-radius: 50%;
  transition: background-color var(--transition-time);

  &::before,
  &::after {
    position: absolute;
    inset: 0;
    display: inline-block;
    width: 45%;
    height: 2px;
    margin: auto;
    content: "";
    background-color: var(--color-pure-white);
  }

  &::before {
    rotate: 45deg;
  }

  &::after {
    rotate: 135deg;
  }

  &:focus-visible {
    background-color: var(--color-main-green);
  }

  @media (min-width: 750px) {
    inline-size: 60px;
  }

  @media (any-hover: hover) {
    &:hover {
      background-color: var(--color-main-green);
    }
  }
}

.section {
  &+& {
    margin-block-start: 30px;
  }
}

@media (min-width: 750px) {
  .section {
    &+& {
      margin-block-start: 50px;
    }
  }
}

.section-inner {
  position: relative;
  border-radius: 20px;
  background-color: var(--color-pure-white);
  padding-block: 40px;
  padding-inline: 20px;

  &::before {
    position: absolute;
    content: '';
    pointer-events: none;
  }

  &::after {
    position: absolute;
    content: '';
    inset-block-start: 30px;
    inset-inline-end: -5px;
    inline-size: 22px;
    block-size: 136px;
    background: url(/area/g/funfunfes2025/eatfair/assets/img/motif_section-text.svg) no-repeat top left / 100% auto;
    pointer-events: none;
  }
}

@media (min-width: 750px) {
  .section-inner {
    padding-block: 70px 60px;
    padding-inline: 7.333333%; /* 88px / 1200px * 100 = 7.333333% */

    &::after {
      inline-size: 59px;
      inset-block-start: 64px;
      inset-inline-end: -14px;
      block-size: 364px;
      background: url(/area/g/funfunfes2025/eatfair/assets/img/motif_section-text.svg) no-repeat top left / 100% auto;
    }
  }
}

#world-gourmet .section-inner {
  &::before {
    inline-size: 22px;
    block-size: 150px;
    inset-block-start: 82px;
    inset-inline-start: -5px;
    background: url(/area/g/funfunfes2025/eatfair/assets/img/motif_world-gourmet-text.svg) no-repeat top left / 100% auto;
  }
}

@media (min-width: 750px) {
  #world-gourmet .section-inner {
    &::before {
      inset-block-start: 130px;
      inset-inline-start: -14px;
      inline-size: 59px;
      block-size: 401px;
    }
  }
}

#cafe-sweets .section-inner {
  &::before {
    inline-size: 22px;
    block-size: 148px;
    inset-block-start: 82px;
    inset-inline-start: -5px;
    background: url(/area/g/funfunfes2025/eatfair/assets/img/motif_cafe-sweets.svg) no-repeat top left / 100% auto;
  }
}

@media (min-width: 750px) {
  #cafe-sweets .section-inner {
    &::before {
      inset-block-start: 130px;
      inset-inline-start: -14px;
      inline-size: 59px;
      block-size: 397px;
    }
  }
}

#great-value-meal .section-inner {
  &::before {
    inline-size: 22px;
    block-size: 197px;
    inset-block-start: 82px;
    inset-inline-start: -5px;
    background: url(/area/g/funfunfes2025/eatfair/assets/img/motif_great-valuemeals.svg) no-repeat top left / 100% auto;
  }
}

@media (min-width: 750px) {
  #great-value-meal .section-inner {
    &::before {
      inset-block-start: 130px;
      inset-inline-start: -14px;
      inline-size: 59px;
      block-size: 529px;
    }
  }
}

#famous-restaurant .section-inner {
  &::before {
    inline-size: 22px;
    block-size: 211px;
    inset-block-start: 82px;
    inset-inline-start: -5px;
    background: url(/area/g/funfunfes2025/eatfair/assets/img/motif_famous-restaurant.svg) no-repeat top left / 100% auto;
  }
}

@media (min-width: 750px) {
  #famous-restaurant .section-inner {
    &::before {
      inset-block-start: 130px;
      inset-inline-start: -14px;
      inline-size: 59px;
      block-size: 566px;
    }
  }
}

.section-title {
  position: relative;
  text-align: center;
  margin-block-end: 20px;

  img {
    width: auto;
    height: 92px;
  }
}

#famous-restaurant .section-title {
  img {
    height: 128px;
  }
}

.lead .section-title {
  img {
    height: 120px;
  }
}

@media (min-width: 750px) {
  .section-title {
    margin-block-end: 42px;
  }

  .lead .section-title {
    img {
      height: 118px;
    }
  }
}

#world-gourmet .section-title {
  &::before {
    position: absolute;
    content: '';
    inset-block-start: -20px;
    inset-inline-start: calc(50% - 10px);
    transform: translateX(-50%);
    inline-size: 334px;
    block-size: 146px;
    background: url(/area/g/funfunfes2025/eatfair/assets/img/bg-title_world-gourmet_sm.png) no-repeat top center / 100% auto;
    pointer-events: none;
  }
}

@media (min-width: 750px) {
  #world-gourmet .section-title::before {
    inset-block-start: -11px;
    inset-inline-start: calc(50% - 24px);
    transform: translateX(-50%);
    inline-size: 666px;
    block-size: 89px;
    background: url(/area/g/funfunfes2025/eatfair/assets/img/bg-title_world-gourmet.png) no-repeat top center / 100% auto;
  }
}

#cafe-sweets .section-title {
  &::before {
    position: absolute;
    content: '';
    inset-block-start: -27px;
    inset-inline-start: calc(50% - 10px);
    transform: translateX(-50%);
    inline-size: 347px;
    block-size: 170px;
    background: url(/area/g/funfunfes2025/eatfair/assets/img/bg-title_cafe-sweets_sm.png) no-repeat top center / 100% auto;
    pointer-events: none;
  }
}

@media (min-width: 750px) {
  #cafe-sweets .section-title::before {
    inset-block-start: -30px;
    inset-inline-start: calc(50% - 10px);
    transform: translateX(-50%);
    inline-size: 673px;
    block-size: 127px;
    background: url(/area/g/funfunfes2025/eatfair/assets/img/bg-title_cafe-sweets.png) no-repeat top center / 100% auto;
  }
}

#great-value-meal .section-title {
  &::before {
    position: absolute;
    content: '';
    inset-block-start: -8px;
    inset-inline-start: calc(50% - 8px);
    transform: translateX(-50%);
    inline-size: 338px;
    block-size: 123px;
    background: url(/area/g/funfunfes2025/eatfair/assets/img/bg-title_great-valuemeals_sm.png) no-repeat top center / 100% auto;
    pointer-events: none;
  }
}

@media (min-width: 750px) {
  #great-value-meal .section-title::before {
    inset-block-start: -18px;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    inline-size: 608px;
    block-size: 119px;
    background: url(/area/g/funfunfes2025/eatfair/assets/img/bg-title_great-valuemeals.png) no-repeat top center / 100% auto;
  }
}

#famous-restaurant .section-title {
  &::before {
    position: absolute;
    content: '';
    inset-block-start: -3px;
    inset-inline-start: calc(50% + 3px);
    transform: translateX(-50%);
    inline-size: 295px;
    block-size: 44px;
    background: url(/area/g/funfunfes2025/eatfair/assets/img/bg-title_famouse_sm.png) no-repeat top center / 100% auto;
    pointer-events: none;
  }
}

@media (min-width: 750px) {
  #famous-restaurant .section-title::before {
    inset-block-start: -12px;
    inset-inline-start: calc(50% + 6px);
    transform: translateX(-50%);
    inline-size: 707px;
    block-size: 119px;
    background: url(/area/g/funfunfes2025/eatfair/assets/img/bg-title_famouse.png) no-repeat top center / 100% auto;
  }
}

@media (min-width: 750px) {
  .section-title {
    img {
      height: 140px;
    }
  }
}
.fv {
  padding-block: 12px 8px;
}

@media (min-width: 750px) {
  .fv {
    padding-block: 46px 16px;
  }
}

.fv-title {
  text-align: center;
}
.lead {
  position: relative;
  padding-block: 22px 40px;
  margin-block-start: 46px;
  background: var(--color-pure-white);
}

.lead::before {
  position: absolute;
  content: '';
  inset-block-start: -46px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  z-index: 1;
  inline-size: 100%;
  block-size: 47px;
  background: url(/area/g/funfunfes2025/eatfair/assets/img/bg_lead_sm.png) no-repeat top center / 100% 100%;
}

@media (min-width: 750px) {
  .lead {
    margin-block-start: 90px;
    padding-block: 0 50px;

    &::before {
      inset-block-start: -100px;
      block-size: 247px;
      background: url(/area/g/funfunfes2025/eatfair/assets/img/bg_lead.png) no-repeat top center / 100% 100%;
    }
  }
}

.lead-heading {
  position: relative;
  z-index: 1;
}

@media (min-width: 750px) {
  .lead-heading {
    margin-block-end: 50px;
  }
}

.lead-heading::before {
  position: absolute;
  content: '';
  inset-block-start: 6px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  inline-size: 361px;
  block-size: 158px;
  background: url(/area/g/funfunfes2025/eatfair/assets/img/bg_lead-title_sm.png) no-repeat top center / auto;
  pointer-events: none;
}

@media (min-width: 750px) {
  .lead-heading::before {
    inline-size: 1074px;
    block-size: 178px;
    background: url(/area/g/funfunfes2025/eatfair/assets/img/bg_lead-title.png) no-repeat top center / 100% auto;
  }
}

.lead-title {
  display: block;
  max-width: 234px;
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

@media (min-width: 750px) {
  .lead-title {
    max-width: 730px;
  }
}
.nav-container {
  margin-block-start: 20px;
  margin-inline: auto;
}

@media screen and (min-width: 750px) {
  .nav-container {
    max-inline-size: 800px;
  }
}

.nav-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 3px solid var(--color-main-green);
  border-radius: 8px;
  box-shadow: 0 3px 0 0 var(--color-main-green);
  background-color: var(--color-pure-white);
  overflow: hidden;
}

.nav-item {
  display: inline-block;
  &+& {
    border-inline-start: 3px solid var(--color-main-green);
  }
}


.nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 76px;
  background-color: var(--color-pure-white);
  transition: background-color var(--transition-time);
}

@media screen and (max-width: 749px) {
  .nav-link {
    padding-block: 18px 10px;
    svg {
      margin-block-start: auto;
      flex-shrink: 0;
    }
  }
}

@media screen and (min-width: 750px) {
  .nav-link {
    padding-block-start: 10px;
    gap: 16px;
    height: 96px;
  }
}

@media screen and (any-hover: hover) {
  .nav-link:hover {
    background-color: var(--color-main-green-hover);
  }
}


.nav-link-img {
  &.-world-gourmet img {
    width: 44px;
  }

  &.-cafe-sweets img {
    width: 47px;
  }

  &.-great-value-meal img {
    width: 54px;
  }

  &.-famous-restaurant img {
    width: 62px;
  }
}

@media screen and (max-width: 749px) {
  .nav-link-img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
}

@media screen and (min-width: 750px) {
  .nav-link-img {
    &.-world-gourmet img {
      width: 114px;
    }

    &.-cafe-sweets img {
      width: 123px;
    }

    &.-great-value-meal img {
      width: 73px;
    }

    &.-famous-restaurant img {
      width: 129px;
    }
  }
}

/* 固定ナビゲーション用のスタイル */
.js-fixed-nav {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.js-fixed-nav.is-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 1;
  visibility: visible;
  animation: slideUp 0.3s ease;
}

.js-fixed-nav.is-fixed .nav-container {
  margin-block-start: 0;
  padding-inline: 10px;
  padding-block: 0 12px;
}

@media screen and (min-width: 750px) {
  .js-fixed-nav.is-fixed .nav-container {
    padding-block: 0 16px;
    padding-inline: 0;
  }
}

/* スライドアップアニメーション */
@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}
.carousel {
	overflow: hidden;
  margin-block-start: 20px;
  display: flex;
  gap: 10px;
}

@media (min-width: 750px) {
  .carousel {
    margin-block-start: 46px;
  }
}

.carousel__track {
	display: flex;
  gap: 10px;
	animation: carousel-track 40s linear infinite;
	will-change: transform;
}

@media (any-hover: hover) {
  .carousel__track a {
    transition: opacity var(--transition-time);
  }

  .carousel__track a:hover {
    opacity: var(--alpha-07);
  }
}

.carousel__track img {
	flex: 0 0 auto;
  width: 200px;
  height: 133px;
  max-width: revert;
}

@media screen and (min-width: 750px) {
  .carousel__track img {
    width: 246px;
    height: 164px;
  }
}

@keyframes carousel-track {
	from { transform: translateX(0); }
	to   { transform: translateX(-2060px); } /* 1枚ぶん流したら最初に戻る */
}
.pickup {
  position: relative;
  padding-block: calc(58px + 26px) 30px;
}

.pickup::before {
  position: absolute;
  content: '';
  inline-size: 100%;
  block-size: 58px;
  inset-block-start: -1px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  background: url(/area/g/funfunfes2025/eatfair/assets/img/bg_pickup_sm.png) no-repeat top center / 100% 100%;
}

@media (min-width: 750px) {
  .pickup {
    padding-block: 118px 36px;
  }

  .pickup::before {
    block-size: 120px;
    background: url(/area/g/funfunfes2025/eatfair/assets/img/bg_pickup.png) no-repeat top center / 100% 100%;
  }
}

.pickup-heading {
  position: relative;
  text-align: center;
  margin-block-end: 16px;
}

@media screen and (max-width: 749px) {
  .pickup-heading svg {
    inline-size: 200px;
  }
}

@media (min-width: 750px) {
  .pickup-heading {
    margin-block-end: 30px;
  }
}

.pickup-heading::before {
  position: absolute;
  content: '';
  inset-block-end: 18px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  inline-size: 354px;
  block-size: 132px;
  background: url(/area/g/funfunfes2025/eatfair/assets/img/bg_pickup-title_sm.png) no-repeat top center / 100% auto;
  pointer-events: none;
}

@media (min-width: 750px) {
  .pickup-heading::before {
    inset-block-start: -135px;
    inset-inline-start: calc(50% - -7px);
    inline-size: 774px;
    block-size: 166px;
    background: url(/area/g/funfunfes2025/eatfair/assets/img/bg_pickup-title.png) no-repeat top center / 100% auto;
  }
}

.pickup-title {
  display: block;
  inline-size: 200px;
  margin-inline: auto;
}

@media (min-width: 750px) {
  .pickup-title {
    inline-size: 334px;
    block-size: auto;
  }
}
.filter-box {
  margin-block-start: 18px;
}

@media (min-width: 750px) {
  .filter-box {
    margin-block-start: 26px;
  }
}

.filter-button {
  max-inline-size: 800px;
  margin-inline: auto;
}

.filter-button .button {
  text-align: center;
  padding-block: 16px;
}

@media (max-width: 749px) {
  .filter-button .button svg:not([class]) {
    inline-size: 110px;
    transform: translateY(-2px);
  }
}

@media (min-width: 750px) {
  .filter-button .button {
    height: 70px;
  }
}
.button {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  border: 3px solid var(--color-main-green);
  background-color: var(--color-sub-yellow);
  box-shadow: 0 3px 0 0 var(--color-main-green);
  transition: background-color var(--transition-time);
}

.button.-orange {
  border-color: var(--color-pure-white);
  background-color: var(--color-sub-orange);
  border-width: 2px;
  box-shadow: 0 3px 0 0 var(--color-pure-white);
}

.button.-green {
  border-width: 2px;
  background-color: var(--color-pure-white);
}

.button-icon-plus {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-end: 20px;
  transform: translateY(-50%);
  inline-size: 16px;
  block-size: 16px;
}

@media (any-hover: hover) {
  .button:hover {
    background-color: var(--color-sub-yellow-l);
  }

  .button.-orange:hover {
    background-color: var(--color-sub-orange-l);
  }
}
.facility-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  height: 100%;
}

@media (min-width: 750px) {
  .facility-cards {
    gap: 20px;
  }
}

/* 空のプレースホルダー用スタイル */
.facility-card-placeholder {
  visibility: hidden;
  pointer-events: none;
}

/* Splideスライダー用スタイル */
@media (max-width: 749px) {
.js-contents-body {
  margin-inline-end: 0;
    width: calc(100vw - 20px);
  }
}

.facility-cards-slider {
  position: relative;
  margin-block-start: 20px;
}

@media (min-width: 750px) {
  .facility-cards-slider {
    margin-block-start: 40px;
  }
}

.facility-cards-slider .splide__track {
  overflow: hidden;
}

@media (max-width: 749px) {
  .facility-cards-slider .splide__track {
    overflow: hidden; /* スワイプ判定を改善するためhiddenに変更 */
  }
}




.facility-cards-slider .splide__list {
  display: flex;
  padding: 0;
  margin: 0;
}

.facility-cards-slider .splide__slide {
  list-style: none;
}

.facility-card {
  background: var(--color-gray-light);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  border: 3px solid var(--color-gray-light);
  transition: border-color var(--transition-time);

  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  gap: 0;
}

@media (max-width: 749px) {
  .facility-card {
    padding: 5px 10px;
  }
}

@media (any-hover: hover) {
  .facility-card:hover {
    border-color: var(--color-main-green);
  }
}

.facility-card-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 4px;
  margin-block: auto 5px;
  background-color: var(--color-pure-white);
}

@media (min-width: 750px) {
  .facility-card-image {
    margin-block-end: 10px;
  }
}

.facility-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* object-position: top; */
}

.facility-card-info {
}

.facility-card-info:first-child {
  padding-top: 0;
}

.facility-card-info:last-child {
  padding-bottom: 0;
}

.facility-card-prefecture-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-block-end: 6px;

  span {
    --clamp-min: 9;
    --clamp-max: 11;
    font-weight: var(--font-weight-bold);
    color: var(--color-gray-light-2);
  }
}

@media (min-width: 750px) {
  .facility-card-prefecture-wrap {
    margin-block-end: 8px
  }
}

.facility-card-prefecture {
  display: inline-block;
  --clamp-min: 9;
  --clamp-max: 12;
  color: var(--color-pure-white);
  background-color: var(--color-main-green);
  padding-inline: 6px;
  padding-block: 2px;
  border-radius: 2px;
}

.facility-card-facility {
  --clamp-min: 12;
  --clamp-max: 14;
  font-weight: var(--font-weight-bold);
  color: var(--color-main-black);
  margin-block-end: 5px;
  line-height: var(--leading-medium);
}

@media (min-width: 750px) {
  .facility-card-facility {
    margin-block-end: 8px;
  }
}

.facility-card-shop {
  --clamp-min: 10;
  --clamp-max: 12;
  font-weight: var(--font-weight-regular);
}

/* 地域フィルター - 最低限のスタイル */
.region-filter-content {
  margin-block-start: 18px;
}

@media screen and (min-width: 750px) {
  .region-filter-content {
    margin-block-start: 40px;
  }
}

.region-filter-pc {
  display: block;
}

.region-filter-sp {
  display: none;
}

@media (max-width: 749px) {
  .region-filter-pc {
    display: none;
  }

  .region-filter-sp {
    display: block;
  }

  .facility-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.controller {
  position: relative;
  margin-block-start: 20px;
}

@media screen and (min-width: 750px) {
  .controller {
    margin-block-start: 30px;
  }
}

/* Splideページ送りボタンのスタイル */
.splide__arrows {
  width: 100%;
  display: flex;
  gap: 5.8em;
  pointer-events: none;
}

.splide__arrow {
  position: static !important;
  background: var(--color-main-green) !important;
  border: none !important;
  border-radius: 50% !important;
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  transition: opacity var(--transition-time), background-color var(--transition-time) !important;
  color: white !important;
  transform: none !important;
  opacity: 1 !important;
}

@media (any-hover: hover) {
  .splide__arrow:hover {
    opacity: var(--alpha-07) !important;
    background: var(--color-main-green-l) !important;
  }
}

.splide__arrow:disabled {
  opacity: var(--alpha-02) !important;
  cursor: not-allowed;
  pointer-events: none !important;
}

.splide__arrow {
  width: 24px !important;
  height: 24px !important;
}

@media (min-width: 750px) {
  .splide__arrow {
    width: 36px !important;
    height: 36px !important;
  }
}

.splide__arrow svg {
  width: 100% !important;
  height: 100% !important;
}

.splide__arrow--prev {
  left: 0 !important;
  transform: rotate(180deg) !important;
}

.splide__arrow--next {
  right: 0 !important;
}

/* ページ番号表示 */
.splide__pagination-wrapper {
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 50%;
  transform: translateY(-50%);
  padding-inline: 40px;
}

@media (min-width: 750px) {
  .splide__pagination-wrapper {
    padding-inline: 58px;
  }
}

.splide__page-info {
  --clamp-min: 15;
  --clamp-max: 18;
  font-weight: var(--font-weight-bold);
  color: var(--color-main-green);
  text-align: center;
  display: flex;
  align-items: center;
  gap: 12px;
}


/* プログレスバー */
.splide__progress {
  position: absolute;
  bottom: 14px;
  right: 0;
  width: calc(100% - 235px);
  height: 2px;
  background: var(--color-gray-light);
  border-radius: 2px;
  overflow: hidden;
}

.splide__progress__bar {
  height: 100%;
  background: var(--color-main-green) !important;
  transition: width var(--transition-time);
  border-radius: 1px;
}

@media (max-width: 749px) {
  .splide__arrows {
    gap: 4.6em;
  }

  .splide__arrow {
    width: 32px;
    height: 32px;
  }

  .splide__arrow svg {
    width: 24px !important;
    height: 24px !important;
  }

  .splide__arrow--prev {
    left: -10px;
  }

  .splide__arrow--next {
    right: -10px;
  }

  .splide__page-info {
    font-size: 14px;
    gap: 6px;
  }

  .splide__progress {
    width: 200px;
    bottom: 10px;
    right: 20px;
  }
}

/* PC版：地域セクション */
.prefecture-list {
  margin-block-end: 20px;
}

@media (min-width: 750px) {
  .prefecture-list {
    margin-block-end: 0;
  }
}

.region-section {
  margin-block-end: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
}

@media screen and (min-width: 750px) {
  .region-section {
    margin-block-end: 15px;
    padding-block-end: 15px;
    display: grid;
    grid-template-columns: 190px auto;
    gap: 10px;
  }
}

.region-section:last-child {
  border-bottom: none;
  padding-block-end: 0;
}

.region-section-title {
  font-weight: bold;
  color: #06AE77;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.region-section-title svg {
  fill: var(--color-main-green);
  height: auto;
  max-height: 18px;
}

.prefecture-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.prefecture-btn {
  --clamp-min: 14;
  --clamp-max: 14;
  font-weight: var(--font-weight-bold);
  inline-size: 130px;
  text-align: center;
  padding: 8px 16px;
  border: 1px solid var(--color-main-green-l);
  background: var(--color-main-green-l);
  color: var(--color-pure-white);
  border-radius: 6px;
  cursor: pointer;
  transition: background-color var(--transition-time), border-color var(--transition-time);
}


@media (any-hover: hover) {
  .prefecture-btn:hover {
    background: var(--color-main-green-ld);
    border-color: var(--color-main-green-ld);
  }
}

.prefecture-btn.selected {
  background: var(--color-main-green-ld) !important;
  border-color: var(--color-main-green-ld) !important;
}

/* アコーディオン */
.region-group {
  border-radius: 4px;
  &+& {
    margin-block-start: 14px;
  }
}

.region-title {
  position: relative;
  padding: 15px;
  background: #f5f5f5;
  cursor: pointer;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-time);

  &::after {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    content: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMSIgaGVpZ2h0PSI4IiB2aWV3Qm94PSIwIDAgMTEgOCI+CiAgPHBhdGggaWQ9IuWkmuinkuW9ol8yMCIgZGF0YS1uYW1lPSLlpJrop5LlvaIgMjAiIGQ9Ik01LjA4OC42YS41LjUsMCwwLDEsLjgyNCwwbDQuNTQ5LDYuNjE3QS41LjUsMCwwLDEsMTAuMDQ5LDhILjk1MWEuNS41LDAsMCwxLS40MTItLjc4M1oiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDExIDgpIHJvdGF0ZSgxODApIiBmaWxsPSIjMDZhZTc3Ii8+Cjwvc3ZnPgo=');
    transition: transform var(--transition-time);
  }
}

.region-title svg {
  height: auto;
  max-height: 18px;
  margin-right: 8px;
  fill: var(--color-main-green);
}


@media (any-hover: hover) {
  .region-title:hover {
    background: #e0e0e0;
  }
}

.region-group[open] .region-title::after {
  transform: translateY(-50%) rotate(180deg);
}

.region-prefectures {
  transition: max-height var(--transition-time),
              opacity var(--transition-time),
              transform var(--transition-time);
  /* JavaScriptで制御するため、初期値は設定しない */
}

.region-prefectures-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  overflow: hidden;
  padding-top: 14px;
}

/* フィルターアクションボタン */
.filter-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding-top: 20px;
}

@media screen and (min-width: 750px) {
  .filter-actions {
    border-top: 1px solid #ddd;
  }
}

.filter-action-btn {
  height: 54px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
}

/* クリアボタン */
.filter-action-btn.clear-btn {
  background-color: var(--color-gray-light-2);
  width: 84px;
}

.filter-action-btn.clear-btn svg {
  width: 44.448px;
  height: 14.112px;
}

/* この地域で探すボタン */
.filter-action-btn.search-btn {
  background-color: var(--color-sub-orange);
  width: 180px;
  padding-inline: 16px;
}

.filter-action-btn.search-btn svg.btn-text {
  width: 107.616px;
  height: 14.704px;
  transform: translateX(-5px);
}

.filter-action-btn.search-btn svg.search-icon {
  width: 17.27px;
  height: 17.281px;
  position: absolute;
  right: 16px;
}

/* PC幅の調整 */
@media (min-width: 750px) {
  .filter-action-btn.clear-btn {
    width: 134px;
  }

  .filter-action-btn.search-btn {
    width: 280px;
  }
}

.filter-action-btn:hover {
  opacity: 0.8;
}

.clear-btn {
  background: #ccc;
  color: white;
}

.search-btn {
  background: #06AE77;
  color: white;
}

/* 詳細モーダル - グリッドレイアウト */
.facility-detail-content {
  display: grid;
  /* PC幅: 画像を左、情報を右に配置 */
  grid-template-columns: fit-content(340px) fit-content(541px);
  grid-template-areas:
    "image prefecture"
    "image facility-name"
    "image shop-name"
    "image shop-description"
    "image shop-url"
    "image fixed-text"
    "image more-info";
  column-gap: 24px;
}

.facility-image {
  grid-area: image;
}

@media screen and (max-width: 749px) {
  .facility-image {
    margin-block-end: 10px;
  }
}

.facility-image img {
  background-color: #f5f5f5;
  border-radius: 4px;
  overflow: hidden;
  width: 100%;
  height: auto;
  object-fit: contain;
  aspect-ratio: 1 / 1;
}

.facility-prefecture {
  grid-area: prefecture;
}

.facility-name {
  grid-area: facility-name;
}

.shop-name {
  grid-area: shop-name;
}

.shop-description {
  grid-area: shop-description;
}

.shop-url {
  grid-area: shop-url;
}

.fixed-text {
  grid-area: fixed-text;
}

.more-info-btn {
  grid-area: more-info;
}

.facility-name {
  --clamp-min: 14;
  --clamp-max: 18;
  font-weight: var(--font-weight-bold);
  margin-block-end: 15px;
  color: var(--color-main-black);
}

.shop-name {
  --clamp-min: 12;
  --clamp-max: 14;
  font-weight: var(--font-weight-bold);
  margin-block-end: 10px;
  color: var(--color-main-black);
}

.shop-url {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--color-main-green);
  /* text-decoration: underline; */
  --clamp-min: 12;
  --clamp-max: 14;

  &::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8.06' height='8.793' viewBox='0 0 8.06 8.793'%3E%3Cpath d='M3.782,1.127a.7.7,0,0,1,1.229,0l3.217,5.9A.7.7,0,0,1,7.614,8.06H1.179A.7.7,0,0,1,.565,7.025Z' transform='translate(8.06) rotate(90)' fill='%2306ae77'/%3E%3C/svg%3E");
    display: inline-block;
    margin-inline-end: 4px;
  }
}

.shop-url-link {
  text-decoration: underline;
  font-weight: var(--font-weight-bold);

  &:focus-visible {
    outline: 2px solid transparent;
    outline-offset: 2px;
  }
}

@media (any-hover: hover) {
  .shop-url-link:hover {
    text-decoration: none;
  }
}

.shop-description {
  --clamp-min: 12;
  --clamp-max: 14;
  font-weight: var(--font-weight-regular);
  margin-block-end: 10px;
  line-height: var(--leading-normal);
  color: var(--color-main-black);
}

.fixed-text {
  margin-block-start: 20px;
  text-align: center;
  --clamp-min: 14;
  --clamp-max: 16;
  font-weight: var(--font-weight-bold);
  line-height: var(--leading-normal);
  color: var(--color-main-black);
  align-self: end;
}

@media (min-width: 750px) {
  .fixed-text {
    margin-block-start: 50px;
    text-align: left;
    align-self: auto;
  }
}

.more-info-btn {
  margin-block-start: 10px;
  align-self: start;
}

.more-info-btn-link {
  position: relative;
  background-color: var(--color-main-orange);
  color: var(--color-pure-white);
  font-weight: var(--font-weight-bold);
  border-radius: 10px;
  height: 50px;
  display: flex !important;
  align-items: center;
  justify-content: center;

  &::after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8.06' height='8.793' viewBox='0 0 8.06 8.793'%3E%3Cpath d='M3.782,1.127a.7.7,0,0,1,1.229,0l3.217,5.9A.7.7,0,0,1,7.614,8.06H1.179A.7.7,0,0,1,.565,7.025Z' transform='translate(8.06) rotate(90)' fill='%23fff'/%3E%3C/svg%3E");
    position: absolute;
    inset-block-start: calc(50% - 2px);
    inset-inline-end: 10px;
    transform: translateY(-50%);
  }
}

.facility-note {
  --clamp-min: 10;
  --clamp-max: 12;
  font-weight: var(--font-weight-regular);
  color: var(--color-main-black);
  line-height: var(--leading-normal);
  margin-block-start: 10px;
}

@media (max-width: 749px) {
  .facility-detail-content {
    /* SP幅: 縦一列で指定の順番に配置 */
    grid-template-columns: 1fr;
    grid-template-areas:
      "prefecture"
      "facility-name"
      "image"
      "shop-name"
      "shop-description"
      "shop-url"
      "fixed-text"
      "more-info";
  }

  .facility-image img {
    max-width: 100%;
  }
}

.facility-prefecture-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-block-end: 6px;
}

.facility-prefecture-wrapper span:not([class]) {
  --clamp-min: 9;
  --clamp-max: 12;
  font-weight: var(--font-weight-bold);
  color: var(--color-gray-light-2);
}

@media (min-width: 750px) {
  .facility-detail-content .facility-prefecture-wrapper {
    margin-block-end: 8px;
  }
}

.facility-detail-content .facility-prefecture {
  display: inline-block;
  width: fit-content;
  --clamp-min: 9;
  --clamp-max: 12;
  background-color: var(--color-main-green);
  color: var(--color-pure-white);
  padding-inline: 8px;
  padding-block: 4px;
  border-radius: 2px;
}
.page-bottom {
  position: relative;
  padding-block: 22px 36px;
  margin-block-start: 74px;
  background: var(--color-main-green);
}

.page-bottom::before {
  position: absolute;
  content: '';
  inset-block-start: -47px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  z-index: 1;
  inline-size: 100%;
  block-size: 47px;
  background: url(/area/g/funfunfes2025/eatfair/assets/img/bg_bottom_sm.png) no-repeat top center / 100% 100%;
}

@media (min-width: 750px) {
  .page-bottom {
    margin-block-start: 200px;
    padding-block: 0 40px;

    &::before {
      inset-block-start: -100px;
      block-size: 247px;
      background: url(/area/g/funfunfes2025/eatfair/assets/img/bg_bottom.png) no-repeat top center / 100% 100%;
    }
  }
}

.inner {
  max-inline-size: 100%;
  margin-inline: auto;
  padding-inline: var(--content-padding-inline);
  position: relative;
  z-index: 1;
  transform: translateY(-8px);
}

@media (min-width: 750px) {
  .inner {
    transform: translateY(-26px);
    max-inline-size: calc(800px + var(--content-padding-inline) * 2);
  }
}


.lead-text.page-bottom-text {
  color: var(--color-pure-white);
  margin-block-end: 20px;
  --clamp-min: 18;
  --clamp-max: 22;
}

@media (min-width: 750px) {
  .lead-text.page-bottom-text {
    margin-block-end: 30px;
  }
}


.page-bottom-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
  text-align: center;
}

@media (min-width: 750px) {
  .page-bottom-button {
    height: 70px;
  }
}

@media (max-width: 749px) {
  .page-bottom-button svg:not([class]) {
    width: 108px;
  }
}

.page-bottom-button-icon {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-end: 20px;
  transform: translateY(-50%);
}
.page-top {
  position: absolute;
  bottom: 20px;
  right: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-time), visibility var(--transition-time);
  z-index: 999;
}

/* 表示状態 */
.page-top.is-visible {
  opacity: 1;
  visibility: visible;
}

/* sticky状態 */
.page-top.is-sticky {
  position: fixed;
  bottom: 100px;
  z-index: 99;
}

.lower .page-top.is-sticky {
  bottom: 20px;
}

.page-top-link {
  display: block;
  inline-size: 40px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
}
.page-top-link svg {
  width: 100%;
  height: 100%;
}

.page-top-link {
  transition: opacity var(--transition-time);
}

@media (min-width: 750px) {
  .page-top {
    bottom: 50px;
    right: 30px;
  }

  .page-top.is-sticky {
    position: fixed;
    bottom: 122px;
  }

  .page-top-link {
    inline-size: 60px;
  }
}

@media (any-hover: hover) {
  .page-top-link:hover {
    opacity: var(--alpha-07);
  }
}




