
/*! 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;
}

/* Header Styles */

.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 (max-width: 749px) {
  .header-logo-link.--urban img {
    width: 52px;
    height: 17px;
  }
}


@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-main-dark-blue);
}

.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: var(--color-pure-black);
  text-align: center;
  color: var(--color-gray-light);
}

@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;
  }
}

/* Animation classes */

.fv-title {
  animation: fadeInBounce 0.5s ease-out;
  animation-fill-mode: both;
}

.fv-container::before {
  animation: fadeInBounce 0.6s ease-out .5s;
  animation-fill-mode: both;
}

/* スクロール検知用のアニメーションクラス */

.teaser-contents-title.scroll-hidden {
  opacity: 0;
  transform: scale(.3);
}

.teaser-contents-title.scroll-animate {
  animation: fadeInBounce 0.5s ease-out;
  animation-fill-mode: both;
}

.teaser-contents.scroll-hidden::before {
  opacity: 0;
  transform: translateX(-50%) scale(.3);
}

.teaser-contents.scroll-animate::before {
  animation: fadeInBounceWidthTranslate 0.5s ease-out;
  animation-fill-mode: both;
}

.section-title.scroll-animate {
  animation: fadeInBounce 0.5s ease-out;
  animation-fill-mode: both;
}

.section-inner.scroll-hidden::before {
  opacity: 0;
  transform: translateX(-50%) scale(.3);
}

.section-inner.scroll-animate::before {
  animation: fadeInBounceWidthTranslate 0.5s ease-out;
  animation-fill-mode: both;
}

.border-box {
  border: 5px solid var(--color-pure-white);
  box-shadow: 0 6px 0 color-mix(in srgb, var(--color-shadow-yellow) 70%, transparent);
  position: relative;
  display: block;
}

.border-box.-yellow {
  border-color: var(--color-main-yellow);
}

.bg-pink .border-box {
  border-color: var(--color-pure-white);
  box-shadow: 0 6px 0 var(--color-shadow-pink);

  .border-box-contents::after {
    background-color: var(--color-main-pink);
  }
}

.bg-yellow .border-box {
  border-color: var(--color-pure-white);
  box-shadow: 0 6px 0 var(--color-shadow-yellow);

  .border-box-contents::after {
    background-color: var(--color-yellow-dark);
  }
}

.bg-white .border-box {
  border-color: var(--color-pure-white);
  box-shadow: 0 6px 0 var(--color-gray-super-light);
}

.bg-white .border-box.-yellow {
  border-color: var(--color-main-yellow);
  box-shadow: 0 6px 0 var(--color-gray-super-light);
}

@media (min-width: 750px) {
  .border-box {
    border-width: 7px;
    box-shadow: 0 10px 0 color-mix(in srgb, var(--color-shadow-yellow) 70%, transparent);
  }

  .bg-pink .border-box {
    box-shadow: 0 10px 0 var(--color-shadow-pink);
  }

  .bg-yellow .border-box {
    box-shadow: 0 10px 0 var(--color-shadow-yellow);
  }

  .bg-white .border-box {
    box-shadow: 0 10px 0 var(--color-gray-super-light);
  }

  .bg-white .border-box.-yellow {
    box-shadow: 0 10px 0 var(--color-gray-super-light);
  }
}

@media (any-hover: hover) {
  a.border-box:hover {
    border-color: var(--color-main-pink);
  }

  .bg-pink a.border-box:hover {
    border-color: var(--color-main-yellow);
  }

  .bg-yellow a.border-box:hover {
    border-color: var(--color-main-pink);
  }

  .bg-white a.border-box.-yellow:hover {
    border-color: var(--color-main-pink);
  }
}

.border-box-contents {
  position: relative;
  text-align: left;
  background-color: var(--color-pure-white);
  padding: 15px 10px;
  height: 100%;

  &::after {
    position: absolute;
    content: '';
    bottom: 0;
    right: 0;
    inline-size: 10px;
    block-size: 10px;
    clip-path: polygon(100% 0%, 100% 100%, 0px 100%);
    background-color: var(--color-main-yellow);
  }
}

@media (min-width: 750px) {
  .border-box-contents::after {
    inline-size: 15px;
    block-size: 15px;
  }
}

.border-box-tag {
  display: inline-block;
  color: var(--color-pure-white);
  font-weight: var(--font-weight-bold);
  line-height: var(--leading-relaxed);
  --clamp-min: 10;
  --clamp-max: 10;
  padding-block: 4px;
  padding-inline: 6px;
  border-radius: 3px;
  margin-block-end: 6px;

  &.-orange {
    background-color: var(--color-orange);
  }

  &.-skyblue {
    background-color: var(--color-skyblue);
  }
}

.border-box-title {
  color: var(--color-pure-black);
  --clamp-min: 16;
  --clamp-max: 18;
  font-weight: var(--font-weight-bold);
  line-height: var(--leading-relaxed);
  white-space: break-spaces;
}

.border-box-text {
  margin-block-start: 6px;
  color: var(--color-pure-black);
  font-weight: var(--font-weight-regular);
  line-height: var(--leading-relaxed);
  --clamp-min: 13;
  --clamp-max: 14;
}

/* FV Styles */

.fv {
  position: relative;
}

.fv::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 20px;
  inset-block-end: 0;
  inset-inline: 0;
  background: linear-gradient(180deg,rgba(255, 255, 255, 0) 0%, rgba(255, 255, 98, 1) 100%);
  z-index: 1;
}

.fv-container {
  padding-block-start: 12.27vw;
  height: 142.4vw; /*(375px時に534pxとなる) */
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.fv-container::before {
  position: absolute;
  content: '';
  inset: 0;
  z-index: -1;
  max-inline-size: 1440px;
  margin-inline: auto;
  background: url('/area/g/funfunfes2025/assets/img/bg_fv_sm.png') no-repeat center center / cover;
}

.fv-title {
  text-align: center;
  padding-inline: 10px;
  max-inline-size: 83.2vw;
  margin-inline: auto;
}

@media (min-width: 750px) {

  .fv-title {
    max-inline-size: 700px;
  }

  .fv-container {
    height: 601px;
    padding-block-start: 40px;
  }

  .fv-container::before {
    background: url('/area/g/funfunfes2025/assets/img/bg_fv.png') no-repeat center center / cover;
  }
}

@media (min-width: 1441px)  {
  .fv-container {
    height: 41.736111vw;
    padding-block-start: 2.777778vw;
  }

  .fv-title {
    width: 100%;
    max-inline-size: 100%;

    img {
      width: calc(700 / 1440 * 100vw);
    }
  }

  .fv-container::before {
    max-inline-size: 100%;
    background: url('/area/g/funfunfes2025/assets/img/bg_fv.png') no-repeat center center / cover;
  }
}

.button-wrapper {
  max-width: 600px;
  margin-inline: auto;
  margin-block-start: 28px;

  @media (max-width: 749px) {
    &.chance-button {
      margin-block-start: 15px;
    }
  }
}

@media (min-width: 750px) {
  .button-wrapper.-lg {
    max-width: 780px;
  }

  .button-wrapper {
    padding-inline: 20px;
    margin-block-start: 40px;
  }
}

.button {
  position: relative;
  display: block;
  z-index: 1;
  margin-block-end: 6px;
  box-shadow: 0 6px 0 -3px var(--color-light-yellow), 0 6px 0 0px var(--color-main-dark-blue);
  border-radius: 6px;
}

/*
.button::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  border: 3px solid var(--color-main-dark-blue);
  background-color: var(--color-light-yellow);
  z-index: -1;
  cursor: pointer;
} */

/* .button-shadow-pink::after {
  background-color: var(--color-main-pink);
} */

.button-shadow-pink {
  background-color: var(--color-main-pink);
  box-shadow: 0 6px 0 -3px var(--color-main-pink), 0 6px 0 0px var(--color-main-dark-blue);
}

.button-inline {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-block: 13px;
  border-radius: 6px;
  border: 3px solid var(--color-main-dark-blue);
  background-color: var(--color-pure-white);
}

.nav .button-inline {
  padding-block: 13px 12px;
  padding-inline-end: 10px;
}

.button-inline svg {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
}

.button-arrow-back .button-inline svg {
  left: 16px;
  inline-size: 18px;
  fill: #3c3c94;
}

.button-notice-text {
  /* margin-block-start: 10px; */
  text-indent: -1em;
  padding-inline-start: 1em;
}

@media (min-width: 750px) {
  .button-inline {
    padding-block: 20px;
  }

  .button-inline svg {
    right: 20px;
  }

  .button-arrow-back .button-inline svg {
    left: 20px;
  }

  .nav .button-inline {
    padding-block: 18px 16px;
    padding-inline-end: 0;
  }

  .button-notice-text {
    /* margin-block-start: 20px; */
  }
}

@media (any-hover: hover) {
  .button:hover {
    background-color: var(--color-light-yellow);
    box-shadow: none;
    transform: translateY(6px);
  }

  .button:hover .button-inline {
    background-color: var(--color-light-yellow);
  }
}

.nav-container {
  position: relative;
  z-index: 2;
}

.nav-container::before {
  position: absolute;
  content: '';
  inset-block-start: 50%;
  inset-inline-start: 50%;
  transform: translate(-50%, -50%);
  inline-size: 100%;
  block-size: 189px;
  background: url('/area/g/funfunfes2025/assets/img/bg_section-cloud_sm.png') repeat-x center center / 517px auto;
}

.nav {
  padding-inline: 28px;
  margin-inline: auto;
  max-width: 100%;
}

.nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.nav-item {
  text-align: center;
  width: 100%;
  display: inline-block;
}

.nav-link svg {
  inline-size: 14px;
  aspect-ratio: 1/1;
}

.nav-link-img.-asobu {
  inline-size: 37px;
  block-size: 17px;
}

.nav-link-img.-kau {
  inline-size: 31px;
  block-size: 17px;
}

.nav-link-img.-taberu {
  inline-size: 50px;
  block-size: 17px;
}

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

  .nav-container::before {
    inline-size: 2247px;
    block-size: 200px;
    background: url('/area/g/funfunfes2025/assets/img/bg_section-cloud.png') repeat-x center center / auto 100%;
  }

  .nav {
    max-width: 767px;
    padding-inline: 8px;
  }

  .nav-list {
    gap: 30px;
  }

  .nav-item {
    width: 230px;
  }

  .nav-link svg {
    inline-size: 22px;
  }

  .nav-link-img.-asobu {
    inline-size: 48px;
    block-size: 22px;
  }

  .nav-link-img.-kau {
    inline-size: 43px;
    block-size: 22px;
  }

  .nav-link-img.-taberu {
    inline-size: 65px;
    block-size: 22px;
  }
}

@media (min-width: 2248px) {
  .nav-container::before {
    inline-size: 100%;
  }
}

/* 固定ナビゲーション用のスタイル */

.js-fixed-nav {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 999;
}

.js-fixed-nav .nav-container::before {
  content: none;
}

.js-fixed-nav.is-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  animation: slideUp 0.3s ease-out;
  z-index: 999;
}

.js-fixed-nav.is-fixed .nav-container {
  padding-block: 16px;
}

/* 固定時は::before擬似要素を非表示 */

.js-fixed-nav.is-fixed .nav-container::before {
  display: none;
}

.js-fixed-nav .nav-item {
  display: inline-block;
}

/* スライドアップアニメーション */

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@media (any-hover: hover) {
  .page-top-link:hover circle {
    fill: var(--color-gray-dark);
  }
}

/* Teaser Contents Styles */

.teaser-contents {
  padding-block: 85px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.teaser-contents::before {
  position: absolute;
  content: '';
  inset-block-start: 25px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  inline-size: 490px;
  block-size: 440px;
  pointer-events: none;
  background: url('/area/g/funfunfes2025/assets/img/bg_contents_sm.png') no-repeat top center / 100% auto;
}

.teaser-contents-title {
  max-inline-size: 320px;
  margin-inline: auto;
  margin-block-end: 24px;
}

.teaser-contents-list {
  position: relative;
  display: grid;
  gap: 20px;
  margin-block: 30px 32px;
}

.teaser-contents-link {
  display: block;
  pointer-events: none;
}

.teaser-contents-link img {
  inline-size: 100%;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 750px) {
  .teaser-contents {
    padding-block: 104px 110px;
  }

  .teaser-contents::before {
    inline-size: 1389px;
    block-size: 358px;
    inset-block-start: 36px;
    background: url('/area/g/funfunfes2025/assets/img/bg_contents.png') no-repeat center center / cover;
  }

  .teaser-contents-title {
    max-inline-size: 862px;
    margin-block-end: 40px;
  }

  .teaser-contents-list {
    margin-block: 64px 56px;
    grid-template-columns: repeat(2, 1fr);
    gap: 44px;
  }

  .teaser-contents-link {
    max-inline-size: 490px;
    margin-inline: auto;
    pointer-events: none;
  }
}

/* Section Styles */

.section {
  padding-block: 60px 10px;
  text-align: center;
  position: relative;
}

.section.bg-pink {
  background-color: var(--color-main-pink);
}

.section.bg-yellow {
  background-color: var(--color-main-yellow);
}

.section.bg-pink::before {
  position: absolute;
  content: '';
  top: -43px;
  left: 50%;
  transform: translateX(-50%);
  inline-size: 101%;
  block-size: 25.066667vw; /* 94px @ 375px => (94 / 375 * 100)vw */
  pointer-events: none;
  background: url('/area/g/funfunfes2025/assets/img/bg_section-cloud-pink_sm.png') repeat-x bottom center / 100% auto;
}

.section.bg-yellow::before {
  position: absolute;
  content: '';
  top: -74px;
  left: 50%;
  transform: translateX(-50%);
  inline-size: 101%;
  block-size: 25.066667vw; /* 94px @ 375px => (94 / 375 * 100)vw */
  pointer-events: none;
  background: url('/area/g/funfunfes2025/assets/img/bg_section-cloud-yellow_sm.png') repeat-x bottom center / 100% auto;
}

.section.bg-yellow.kau::before {
  top: -34px;
}

.section.bg-white::before {
  position: absolute;
  content: '';
  top: -74px;
  left: 50%;
  transform: translateX(-50%);
  inline-size: 101%;
  block-size: 25.066667vw; /* 94px @ 375px => (94 / 375 * 100)vw */
  pointer-events: none;
  background: url('/area/g/funfunfes2025/assets/img/bg_section-cloud-white_sm.png') repeat-x bottom center / 100% auto;
}

@media (max-width: 749px) {
  .section.bg-white.recommend-section::before {
    top: -54px;
  }
}

.section-contents {
  padding-block: 60px 10px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section-inner {
  /* overflow: hidden; */
  position: relative;
}

#asobu .section-inner::before {
  position: absolute;
  content: '';
  inset-block-start: -46px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  inline-size: 467px;
  block-size: 240px;
  pointer-events: none;
  background: url('/area/g/funfunfes2025/assets/img/bg_asobu-title_sm.png') no-repeat top center / 100% auto;
}

#kau .section-inner::before {
  position: absolute;
  content: '';
  inset-block-start: -46px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  inline-size: 467px;
  block-size: 251px;
  pointer-events: none;
  background: url('/area/g/funfunfes2025/assets/img/bg_kau-title_sm.png') no-repeat top center / 100% auto;
}

#sns .section-inner::before {
  position: absolute;
  content: '';
  inset-block-start: -20px;
  inset-inline-start: calc(50% - 12px);
  transform: translateX(-50%);
  inline-size: 395px;
  block-size: 240px;
  pointer-events: none;
  background: url('/area/g/funfunfes2025/assets/img/bg_sns-title_sm.png') no-repeat top center / 100% auto;
  z-index: 2;
}

#taberu .section-inner::before {
  position: absolute;
  content: '';
  inset-inline-start: 50%;
  inset-block-start: -24px;
  transform: translateX(-50%);
  inline-size: 467px;
  block-size: 251px;
  pointer-events: none;
  background: url('/area/g/funfunfes2025/assets/img/bg_taberu-title_sm.png') no-repeat top center / 100% auto;
}

#event .section-inner::before {
  position: absolute;
  content: '';
  inset-block-start: -116px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  inline-size: 483px;
  block-size: 300px;
  pointer-events: none;
  background: url('/area/g/funfunfes2025/assets/img/bg_event-title_sm.png') no-repeat top center / 100% auto;
}

.section-inner.facility::before {
  position: absolute;
  content: '';
  inset-block-start: 0;
  inset-inline-start: 50%;
  transform: translateX(-50%);
}

.section-title {
}

.section-contents-title {
  max-inline-size: 320px;
  margin-inline: auto;
  margin-block-end: 24px;
}

.section-contents-list {
  position: relative;
  display: grid;
  gap: 20px;
  margin-block: 30px 32px;
}

.section-contents-link {
  display: block;
}

.section-contents-link img {
  inline-size: 100%;
  object-fit: cover;
  object-position: center;
}

.section-title {
  position: relative;
}

.section-body {
  margin-block-start: 24px;
}

@media (min-width: 750px) {
  .section.bg-yellow {
    padding-block: 66px;
  }

  .section.bg-pink::before {
    position: absolute;
    content: '';
    top: -74px;
    left: 50%;
    transform: translateX(-50%);
    inline-size: 2247px;
    block-size: 100px;
    pointer-events: none;
    background: url('/area/g/funfunfes2025/assets/img/bg_section-cloud-pink.png') repeat-x center center / 100% auto;
  }

  .section.bg-yellow::before {
    position: absolute;
    content: '';
    top: -74px;
    left: 50%;
    transform: translateX(-50%);
    inline-size: 2247px;
    block-size: 100px;
    pointer-events: none;
    background: url('/area/g/funfunfes2025/assets/img/bg_section-cloud-yellow.png') repeat-x center center / 100% auto;
  }

  .section.bg-yellow.kau::before {
    top: -74px;
  }

  .section.bg-white::before {
    position: absolute;
    content: '';
    top: -74px;
    left: 50%;
    transform: translateX(-50%);
    inline-size: 2247px;
    block-size: 100px;
    pointer-events: none;
    background: url('/area/g/funfunfes2025/assets/img/bg_section-cloud-white.png') repeat-x center center / 100% auto;
  }

  .section-contents {
    padding-block: 70px 0;
  }

  #asobu .section-inner::before {
    inline-size: 1249px;
    block-size: 493px;
    inset-block-start: -60px;
    background: url('/area/g/funfunfes2025/assets/img/bg_asobu-title.png') no-repeat center center / cover;
  }

  #asobu .section-title-img {
    margin-inline-start: -56px;
  }

  #kau .section-inner::before {
    inset-block-start: -65px;
    inset-inline-start: calc(50% + 10px);
    inline-size: 1249px;
    block-size: 493px;
    background: url('/area/g/funfunfes2025/assets/img/bg_kau-title.png') no-repeat center center / cover;
  }

  #sns .section-inner::before {
    inset-block-start: -54px;
    inset-inline-start: calc(50% + 5px);
    inline-size: 1020px;
    block-size: 156px;
    background: url('/area/g/funfunfes2025/assets/img/bg_sns-title.png') no-repeat center center / 100% auto;
  }

  #taberu .section-inner::before {
    inline-size: 1249px;
    block-size: 493px;
    inset-block-start: -58px;
    inset-block-start: -30px;
    inset-inline-start: calc(50% - 3px);
    background: url('/area/g/funfunfes2025/assets/img/bg_taberu-title.png') no-repeat center center / 100% auto;
  }

  #event .section-inner::before {
    inline-size: 1249px;
    block-size: 493px;
    inset-block-start: -116px;
    background: url('/area/g/funfunfes2025/assets/img/bg_event-title.png') no-repeat center center / cover;
  }

  .section-contents-title {
    max-inline-size: 862px;
    margin-block-end: 40px;
  }

  .section-contents-list {
    margin-block: 64px 56px;
    grid-template-columns: repeat(2, 1fr);
    gap: 44px;
  }

  .section-contents-link {
    max-inline-size: 490px;
    margin-inline: auto;
  }

  .section-body {
    margin-block-start: 40px;
  }
}

@media (min-width: 2248px) {
  .section.bg-pink::before,
  .section.bg-yellow::before,
  .section.bg-white::before {
    inline-size: 100%;
  }
}

.column-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 20px;
}

.otoku .column-list {
  grid-template-columns: 192px 130px;
  grid-template-rows: auto auto;
  gap: 10px 0;
}

.column-list-link {
  display: block;
  height: 100%;
}

.column-list-link.-square {
  aspect-ratio: 1/1;
}

.column-list-link img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: center;
}

/* 全ブラウザ対応: subgridをflexに変更して安定化 */

.column-item-subgrid {
  display: flex;
  flex-direction: column;
  gap: 0;
  background-color: var(--color-pure-white);
}

.column-item-subgrid img {
  block-size: auto;
  object-fit: cover;
  object-position: center;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

@media (max-width: 749px) {
  .otoku .column-list {
    grid-template-columns: 192fr 130fr;
    grid-template-rows: 214fr 137fr;
    gap: 12px 0;
  }

  .column-list.col-sp2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .otoku .column-list-item:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }
  .otoku .column-list-item:nth-child(2) {
    grid-column: 1 / 2;
    grid-row: 2 / 2;
  }
  .otoku .column-list-item:nth-child(3) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }
}

@media (min-width: 750px) {
  .column-list {
    margin-block: 64px 56px;
    grid-template-columns: repeat(2, 1fr);
    gap: 44px;
  }

  .otoku .column-list {
    grid-template-columns: 74fr 74fr 49fr;
    grid-template-rows: 1fr;
    gap: 20px;
  }

  .column-list.gapPc20 {
    gap: 20px;
  }

  .column-list.col6 {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .column-list-link {
    max-inline-size: 490px;
    margin-inline: auto;
  }

  .sns-banner-link.column-list-link {
    max-inline-size: 595px;
  }

  .banner-lg .column-list-link {
    max-inline-size: 600px;
    margin-inline: auto;
  }
}

.facility-archive-contents.column-list {
  margin-block-start: 0;
}

.facility-contents {
  width: 100%;
}

.facility-tabs {
  margin-block: 26px 30px;
  padding-inline: 20px;
  position: inherit;
}

.facility-archive-body {
  padding-block-start: 10px;
  padding-bottom: 82px;
}

@media (min-width: 750px) {
  .facility-tabs {
    margin-block: 30px 32px;
  }
}

.facility-tabs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 750px) {
  .facility-archive-contents.column-list {
    margin-block-start: 6px;
  }

  .facility-tabs-list {
    gap: 12px;
  }
}

.facility-tabs-item {
  margin: 0;
}

.facility-tabs-button {
  background: #ffffff;
  border: 2px solid var(--color-main-pink);
  border-radius: 999px;
  cursor: pointer;
  padding: 8px 22px;
  display: flex;
  transition: background 0.3s;
}

.facility-tabs-button svg {
  fill: var(--color-main-pink);
  transition: fill 0.3s;
}

@media (min-width: 750px) {
  .facility-archive-body.bg-yellow {
    padding-block: 68px 54px;
  }
}

@media (any-hover: hover) {
  .facility-tabs-button:hover {
    background: var(--color-main-pink);
  }

  .facility-tabs-button:hover svg {
    fill: var(--color-pure-white);
  }
}

.facility-tabs-button.is-active {
  border-color: var(--color-pure-white);
  background: var(--color-main-pink);
  pointer-events: none;
}

.facility-tabs-button.is-active svg {
  fill: var(--color-pure-white);
}

.facility-panels {
  position: relative;
}

.facility-panel {
  display: none;
}

.facility-panel.is-active {
  display: block;
}

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

@media (min-width: 750px) and (max-width: 1023px) {
  .facility-cards {
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .facility-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

.facility-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.facility-card-link {
  color: inherit;
  display: block;
  text-decoration: none;
}

a.facility-card-link:hover .facility-card-image {
  border-color: var(--color-main-pink);
  cursor: pointer;
}

.facility-card-image {
  aspect-ratio: 1 / 1;
  border: 5px solid var(--color-pure-white);
  background-color: var(--color-pure-white);
  display: flex;
  align-items: center;
  justify-content: center;
  /* Safari対応: aspect-ratioのフォールバック */
  position: relative;
  width: 100%;
}

/* Safari対応: aspect-ratioがサポートされていない場合のフォールバック */

.facility-card-image::before {
  content: "";
  display: block;
  padding-top: 100%; /* 1:1のアスペクト比を維持 */
}

.facility-card-image picture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.facility-card-image img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  /* Safari対応: object-fitの再描画を強制 */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* Firefox対応: aspect-ratioとobject-fitの組み合わせで発生する余白を修正 */

.is-firefox .facility-card {
  display: flex;
  flex-direction: column;
}

.is-firefox .facility-card-image {
  display: block;
  flex-shrink: 0;
  margin-bottom: 0;
}

.is-firefox .facility-card-image::before {
  display: block;
  margin-bottom: 0;
}

.is-firefox .facility-card-image img {
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
}

.facility-card-body {
}

/* Firefox専用: カードの画像とコンテンツ間の余白を削除 */

.is-firefox .facility-card-body {
  margin-top: 0;
  padding-top: 0;
}

.is-firefox .facility-card-date {
  margin-block: 0 4px;
}

.is-firefox .facility-card-facility {
  margin-block-start: 0;
}

.facility-card-date {
  color: var(--color-pure-black);
  --clamp-min: 10;
  --clamp-max: 14;
  display: flex;
  font-weight: var(--font-weight-regular);
  margin-block: 4px;
}

.facility-card-facility {
  color: var(--color-pure-white);
  --clamp-min: 10;
  --clamp-max: 14;
  font-weight: var(--font-weight-bold);
  line-height: var(--leading-tight);
  margin-block-end: 4px;
  background-color: var(--color-main-pink);
  border-radius: 3px;
  padding: 6px 7px;
  text-align: left;
}

@media (min-width: 750px) {
  .facility-card-facility {
  }
}

.facility-card-title {
  color: var(--color-pure-black);
  --clamp-min: 14;
  --clamp-max: 16;
  font-weight: var(--font-weight-medium);
  line-height: var(--leading-normal);
  text-align: left;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
}

/* Facility Filter Accordion Styles */

.filter-area {
  margin-block-start: 24px;
  max-width: 560px;
  margin-inline: auto;
}

.facility-filter {
  display: block;
  position: relative;
  margin-bottom: 24px;
  border-radius: 6px;
  border: 3px solid var(--color-main-dark-blue);
  background-color: var(--color-pure-white);
  box-shadow: 0 6px 0 -3px var(--color-light-yellow), 0 6px 0 0px var(--color-main-dark-blue);
}

.facility-filter summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.facility-filter summary::-webkit-details-marker {
  display: none;
}

.filter-summary {
  padding-block: 13px;
  position: relative;
}

.filter-summary svg {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  transition: transform var(--transition-time);
}

.filter-summary img {
  width: 135px;
  height: 17px;
  transition: opacity var(--transition-time);
}

.filter-summary:hover img {
  opacity: 0.8;
}

.filter-options {
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow: hidden;
  transition: max-height var(--transition-time),
              opacity var(--transition-time),
              transform var(--transition-time),
              padding-top var(--transition-time),
              padding-bottom var(--transition-time);
  padding-inline: 16px;
  /* JavaScriptで制御するため、初期値は設定しない */
}

.filter-option {
  padding: 8px 16px;
  border: 2px solid var(--color-main-path-blue);
  background-color: var(--color-pure-white);
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition-time);
  font-weight: 500;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filter-option svg {
  fill: var(--color-main-path-blue);
  transition: fill var(--transition-time);
}

@media (any-hover: hover) {
  .filter-option:hover {
    background-color: var(--color-main-path-blue);
  }

  .filter-option:hover svg {
    fill: var(--color-pure-white);
  }
}

.filter-option.active {
  background-color: var(--color-main-path-blue);
  border-color: var(--color-main-path-blue);
}

a.filter-option.active {
  pointer-events: none;
}

.filter-option.active svg {
  fill: var(--color-pure-white);
}

/* .filter-option.active:hover {
  background-color: #003377;
  border-color: #003377;
} */

/* 「すべて」ボタンを非表示にする */

.filter-option[data-region="all"] {
  display: none;
}

.facility-filter[open] .filter-summary svg {
  transform: translateY(-50%) rotate(180deg);
}

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

  .facility-filter {
    max-width: 580px;
    margin-inline: auto;
    transition: background-color var(--transition-time);
  }


  .filter-summary {
    padding: 20px;
  }

  .filter-summary svg {
    right: 20px;
    width: 22px;
    height: 22px;
  }
}

@media (any-hover: hover) {
  .facility-filter:not([open]):hover {
    background-color: var(--color-light-yellow);
    box-shadow: none;
    transform: translateY(6px);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Prefecture text image styles */

.prefecture-text-image {
  height: 16px;
  width: auto;
  vertical-align: middle;
}

@media (min-width: 750px) {
  .facility-filter summary {
    display: block;
  }

  .filter-summary img {
    width: 175px;
    height: 22px;
  }

  .prefecture-text-image {
    height: 20px;
  }
}

.page-top {
  position: absolute;
  bottom: 20px;
  right: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-time), visibility var(--transition-time);
}

/* 表示状態 */

.page-top.is-visible {
  opacity: 1;
  visibility: visible;
}

/* sticky状態 */

.page-top.is-sticky {
  position: fixed;
  bottom: 90px;
  z-index: 99;
}

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

.page-top-link {
  display: block;
  inline-size: 40px;
  aspect-ratio: 1 / 1;
  background-color: var(--color-pure-black);
  border-radius: 50%;
}

.page-top-link circle {
  transition: fill var(--transition-time);
  fill: var(--color-pure-black);
}

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

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

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

@media (any-hover: hover) {
  .page-top-link:hover circle {
    fill: var(--color-gray-dark);
  }
}

.otoku {
  position: relative;
  margin-block-start: 32px;
}

.otoku::before {
  position: absolute;
  content: '';
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  inline-size: 351px;
  block-size: 46px;
  background: url(/area/g/funfunfes2025/assets/img/bg_otoku-title_sm.png) no-repeat center center / 100% auto;
  z-index: 1;
}

.otoku::after {
  position: absolute;
  content: '';
  top: 192px;
  left: 50%;
  transform: translateX(-50%);
  inline-size: 1129px;
  block-size: 336px;
  background: url(/area/g/funfunfes2025/assets/img/bg_otoku-banner.png) no-repeat center center / 100% auto;
  pointer-events: none;
}

@media (max-width: 749px) {
  .otoku::after {
    top: 54px;
    left: calc(50% - 10px);
    inline-size: 487px;
    block-size: 505px;
    background: url(/area/g/funfunfes2025/assets/img/bg_otoku_sm.png) no-repeat center center / 100% auto;
  }
}

.otoku-title {
  position: relative;
  margin-block-end: 24px;
  z-index: 1;
}

.otoku-title-text {
  font-weight: var(--font-weight-bold);
  --clamp-min: 15;
  --clamp-max: 20;
  color: var(--color-main-dark-blue);
  text-align: center;
  margin-block-end: 8px;
}

.otoku-title-img {
  width: 198px;
  margin-inline: auto;
}

.otoku-column-list {
  position: relative;
  z-index: 1;
  margin-block-end: 30px;
}

.otoku-banner-wrap {
  position: relative;
}

.tag {
  display: block;
  position: relative;
  margin-inline: auto;
  margin-block-end: 18px;

  img {
    inline-size: 182px;
  }
}

@media (min-width: 750px) {
  .tag img {
    inline-size: 233px;
  }
}

.banner-heading {
  margin-block-start: 24px;
  margin-inline: auto;
  inline-size: 320px;
  position: relative;
  z-index: 1;
}

@media (min-width: 750px) {
  .banner-heading {
    margin-block-start: 50px;
    inline-size: 650px;
  }
}

.banner-list-wrap {
  margin-block-start: 8px;
  position: relative;
  z-index: 1;
  display: flex;
  max-inline-size: 820px;
  aspect-ratio: 820 / 414;
  margin-inline: auto;
}

@media (min-width: 750px) {
  .banner-list-wrap {
    margin-block-start: 24px;
  }
}

.banner-list-bg {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 100%;
}

@media (max-width: 749px) {
}

.banner-list {
  position: absolute;
  inset-block-end: calc(40 / 375 * 100%);
  inset-inline-start: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 5px;
  transform: translateX(-6px);
}

@media (min-width: 750px) {
  .banner-list {
    gap: 12px;
    transform: translateX(-2px);
  }
}

.banner-list-item {
  max-inline-size: 43.54%;

}

@media (min-width: 750px) {
  .banner-list-item {
  }
}

.otoku-banner-link {
  &.-large {
    max-inline-size: 490px;
    margin-inline: auto;
  }

  img {
    width: 100%;
    height: auto;
  }
}

@media (min-width: 750px) {
  .banner-list-item .otoku-banner-link {
    transition: opacity var(--transition-time);
  }
}

@media (any-hover: hover) {
  .banner-list-item .otoku-banner-link:hover {
    opacity: var(--alpha-07);
  }
}

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

  .otoku::before {
    top: 4px;
    inline-size: 911px;
    block-size: 89px;
    left: 50%;
    background: url(/area/g/funfunfes2025/assets/img/bg_otoku-title.png) no-repeat center center / 100% auto;
  }

  .otoku-title {
    margin-block-end: 30px;
  }

  .otoku-title-img {
    width: 365px;
  }

  .otoku-title-text {
    margin-block-end: 20px;
  }

  .otoku-column-list {
    margin-block: 20px 34px;
  }
}

.chance {
  position: relative;
  z-index: 1;
  margin-block-start: 28px;
}

@media (max-width: 749px) {
  .chance {
    background: url(/area/g/funfunfes2025/assets/img/bg_chance-cloud_sm.png) no-repeat top 170px left -10px / 107px 93px;
  }
}

.chance::before {
  position: absolute;
  content: '';
  inline-size: 387px;
  block-size: 113px;
  inset-block-start: 8px;
  inset-inline-start: calc(50% - 10px);
  transform: translateX(-50%);
  background: url(/area/g/funfunfes2025/assets/img/bg_chance_sm.png) no-repeat center center / 100% auto;
}

.chance-heading {
  text-align: center;
}

.chance-title-text {
  display: block;
  width: 214px;
  margin-inline: auto;
  transform: translateX(-5px);
}

.chance-title {
  margin-block-start: 16px;
  color: var(--color-main-dark-blue);
  --clamp-min: 14;
  --clamp-max: 16;
  font-weight: var(--font-weight-medium);
}

.chance-title strong {
  font-weight: var(--font-weight-bold);
  color: var(--color-red);
  --clamp-min: 18;
  --clamp-max: 20;
  line-height: var(--leading-relaxed);
}

.chance-banner {
  margin-block-start: 12px;
}

.chance-button-list {
  grid-template-columns: repeat(2, 1fr);
  padding-inline: 28px;
  gap: 10px;
}

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

  .chance::before {
    inline-size: 1096px;
    block-size: 323px;
    inset-block-start: 70px;
    inset-inline-start: calc(50% - 33px);
    background: url(/area/g/funfunfes2025/assets/img/bg_chance.png) no-repeat center center / 100% auto;
  }

  .chance-title-text {
    margin-block-start: 0;
    width: 411px;
    transform: translate(-24px, -7px);

    img {
      width: 100%;
    }
  }

  .chance-title {
    margin-block-start: 26px;
  }

  .chance-banner {
    margin-block-start: 2px;
  }

  .chance-button-list {
    margin-block: 32px 10px;
    padding-inline: 0;
  }
}

/* オンラインストア */
.online-store-title-text {
  display: block;
  margin-block-start: 10px;
  width: 370px;
  margin-inline: auto;
  transform: translateX(6px);

  img {
    width: 100%;
  }
}

@media (min-width: 750px) {
  .online-store-title-text {
    width: 515px;
    margin-block-start: 32px;
    transform: translateX(23px);
  }
}

.online-store {
  text-align: center;
  margin-block: 10px 0;
}

@media (max-width: 749px) {
  .online-store {
    gap: 40px;
  }
  .chance-button-list {
    gap: 40px;
  }
}

.online-store-title {
  color: var(--color-main-dark-blue);
  font-weight: var(--font-weight-bold);
  --clamp-min: 14;
  --clamp-max: 18;
  margin-block-end: 10px;
}

.online-store-title-inline {
  padding-inline: 14px;
  position: relative;
  display: inline-block;
  word-break: keep-all;
}

.online-store-title-inline::before {
  content: '';
  position: absolute;
  inline-size: 2px;
  height: 1em;
  border-radius: 2px;
  background-color: var(--color-main-dark-blue);
  inset-inline-start: 0;
  inset-block-start: 50%;
  transform: translateY(-50%) rotate(-30deg);
}

.online-store-title-inline::after {
  content: '';
  position: absolute;
  inline-size: 2px;
  height: 1em;
  border-radius: 2px;
  background-color: var(--color-main-dark-blue);
  inset-inline-end: 0;
  inset-block-start: 50%;
  transform: translateY(-50%) rotate(30deg);
}

.online-store-button {
  padding-block: 0;
}

.online-store-button .button-inline {
  height: 50px;
}

.online-store-button.-mall svg {
  position: relative;
  right: auto;
  top: 0;
  transform: none;
  width: 90px;
}

.online-store-button.-outletpark svg {
  position: relative;
  right: auto;
  top: 0;
  transform: none;
  width: 120px;
}

@media (min-width: 750px) {
  .online-store {
    margin-block: 24px 0;
  }

  .online-store-title {
    margin-block-end: 20px;
  }

  .chance-button {
    margin-block-start: 24px;
  }

  .online-store-button .button-inline {
    height: 70px;
  }

  .online-store-button.-mall svg {
    width: 113px;
  }

  .online-store-button.-outletpark svg {
    width: 149px;
  }

}

.sns {
  position: relative;
  background-color: var(--color-pure-white);
  padding-block: 0 86px;
}

@media (max-width: 750px) {
  .sns {
    background: var(--color-pure-white) url(/area/g/funfunfes2025/assets/img/bg_sns-dots_sm.png) no-repeat left 10px bottom 26px / 34px auto;
  }
}

.sns::before {
  position: absolute;
  content: '';
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  inline-size: 351px;
  block-size: 46px;
  background: url(/area/g/funfunfes2025/assets/img/bg_sns-title_sm.png) no-repeat center center / 100% auto;
}

.sns::after {
  position: absolute;
  inline-size: 1262px;
  block-size: 73px;
  content: '';
  inset-block-end: 76px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  background: url(/area/g/funfunfes2025/assets/img/bg_sns-bottom.png) no-repeat center top / 100% auto;
}

.sns-title {
  margin-block-end: 10px;
  position: relative;
  z-index: 1;
}

.sns-title-img {
  display: block;
  width: 275px;
  margin-inline: auto;
}

.sns-lead {
  --clamp-min: 16;
  --clamp-max: 18;
  color: var(--color-main-dark-blue);
  font-weight: var(--font-weight-medium);
  text-align: center;
  margin-block-end: 24px;
  position: relative;
  z-index: 1;
}

.sns-banner {
  position: relative;
  padding-block-end: 20px;
}

.sns-banner::before {
  position: absolute;
  content: '';
  inset-block-start: -46px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  inline-size: 558px;
  block-size: 297px;
  background: url(/area/g/funfunfes2025/assets/img/bg_sns-contents_sm.png) no-repeat center bottom / 100% auto;
}

.sns-banner-link {
  position: relative;
  z-index: 2;
}

@media (min-width: 750px) {
  .sns {
    position: relative;
    margin-block-start: 48px;
    padding-block: 80px 126px;
  }

  .sns::before {
    inline-size: 749px;
    block-size: 63px;
    background: url(/area/g/funfunfes2025/assets/img/bg_sns-title.png) no-repeat center top / 100% auto;
  }

  .sns::after {
    inline-size: 1262px;
    block-size: 73px;
    background: url(/area/g/funfunfes2025/assets/img/bg_sns-bottom.png) no-repeat center top / 100% auto;
  }

  .sns-inner {
    overflow: visible;
  }

  .sns-title {
    margin-block-end: 30px;
  }

  .sns-title-img {
    width: 800px;

    img {
      width: 100%;
    }
  }

  .sns-lead {
    margin-block-end: 30px;
  }

  .sns-banner {
  }

  .sns-banner::before {
    top: -140px;
    inline-size: 1249px;
    block-size: 493px;
    background: url(/area/g/funfunfes2025/assets/img/bg_sns-contents.png) no-repeat center bottom / 100% auto;
  }
}

.taberu {
  position: relative;
  padding-block: 0 110px;
  background: url(/area/g/funfunfes2025/assets/img/bg_taberu-dots_sm.png) no-repeat left -26px bottom 82px / 83px auto;
}

.taberu-title {
  margin-block-end: 0ç;
  position: relative;
  z-index: 1;
}

.taberu-title-img {
  text-align: center;
}

.taberu-title-img img {
  width: 255px;
  padding-block-start: 22px;
  margin-inline-start: -20px;
}

.taberu-lead {
  --clamp-min: 16;
  --clamp-max: 16;
  color: var(--color-main-dark-blue);
  font-weight: var(--font-weight-medium);
  text-align: center;
  margin-block-end: 24px;
  position: relative;
  z-index: 1;
}

.taberu-banner {
  position: relative;
  padding-block-end: 20px;
}

@media (min-width: 750px) {
  .taberu {
    padding-block: 32px 104px;
    background: url(/area/g/funfunfes2025/assets/img/bg_asobu-bottom.png) no-repeat center bottom 80px / 1261px auto;
  }

  .taberu-title {
    margin-block-end: 24px;
    margin-inline-start: -52px;
  }

  .taberu-title-img img {
    margin-inline: auto;
    width: 387px;
  }

  .taberu-lead {
    margin-block-end: 30px;
  }

  .taberu-banner {
  }

  .taberu-banner::before {
    top: -120px;
    inline-size: 1249px;
    block-size: 493px;
    background: url(/area/g/funfunfes2025/assets/img/bg_sns-contents.png) no-repeat center bottom / 100% auto;
  }
}

.asobu {
  position: relative;
  padding-block: 20px 88px;
  background: url(/area/g/funfunfes2025/assets/img/bg_asobu-contents_sm.png) no-repeat center bottom 52px / 456px auto;
}

.asobu-title {
  margin-block-end: 0;
}

.section-title.asobu-title img {
  width: 225px;
  padding-inline: 0;
  margin-inline-start: -40px;
  margin-block-end: 4px;
}

.asobu-button-title {
  color: var(--color-pure-white);
  font-weight: var(--font-weight-medium);
  text-align: center;
  margin-block-end: 10px;
}

.asobu-button-title-text {
  --clamp-min: 15;
  --clamp-max: 18;
  position: relative;
  padding-inline: 1em;
}

.asobu-button-title-text strong {
  --clamp-min: 16;
  --clamp-max: 22;
}

.asobu-button-title-text::before {
  position: absolute;
  content: '';
  inset-inline-start: 0;
  inset-block-start: 50%;
  transform: translateY(-50%) rotate(-30deg);
  inline-size: 2px;
  block-size: 1.5em;
  border-radius: 2px;
  background-color: var(--color-pure-white);
}

.asobu-button-title-text::after {
  position: absolute;
  content: '';
  inset-inline-end: 0;
  inset-block-start: 50%;
  transform: translateY(-50%) rotate(30deg);
  inline-size: 2px;
  block-size: 1.5em;
  border-radius: 2px;
  background-color: var(--color-pure-white);
}

.asobu-button-img {
  width: 202px;
  height: 17px;
}

.asobu-button-img + svg {
  inline-size: 18px;
  aspect-ratio: 1/1;
  right: 18px;
}

@media (min-width: 750px) {
  .asobu {
    padding-block: 60px 117px;
    background: url(/area/g/funfunfes2025/assets/img/bg_asobu-bottom.png) no-repeat center bottom 88px / 1261px auto;
  }

  .asobu-column-list {
    margin-block: 20px 48px;
  }

  .section-title.asobu-title img {
    width: 327px;
    padding-inline: 0;
    margin-inline-start: -12px;
    margin-block-end: 4px;
  }

  .section-title.asobu-title {
    width: auto;
    padding-inline: 20px;
    left: auto;
    margin-block-end: 14px;
  }

  .asobu-button-title {
    margin-block-end: 20px;
  }

  .asobu-button-img {
    width: 262px;
    height: 22px;
  }
}

.kau {
  position: relative;
  padding-block: 28px 118px;
  background: url(/area/g/funfunfes2025/assets/img/bg_kau-contents_sm.png) no-repeat center top 372px / 456px auto;
}

.kau-title img {
  width: 226px;
}

@media (max-width: 750px) {
  .kau {
    padding-block-start: 28px;
  }

  .kau-title img {
    margin-inline-start: -44px;
  }
}

@media (min-width: 750px) {
  .kau {
    background: url(/area/g/funfunfes2025/assets/img/bg_asobu-bottom.png) no-repeat center bottom 25px / 1261px auto;
  }

  .kau-title img {
    width: 327px;
    margin-inline-start: -56px;
  }

  .kau-lead {
    margin-block-start: 16px;
  }

  .kau-column-list {
    margin-block: 20px 48px;
  }
}

.section.facility-archive {
  position: relative;
  padding-block: 0 110px;
}

@media (max-width: 750px) {
  .section.facility-archive {
    background: url(/area/g/funfunfes2025/assets/img/bg_event-cloud_sm.png) no-repeat right bottom 100px / 82px auto;
  }
}

.facility-archive-inner {
  overflow: visible;
}

.facility-archive-title-img {
  display: block;
  width: 280px;
  margin-inline: auto;
}

.facility-archive-notice {
  text-align: left;
  margin-block-start: 15px;
  position: relative;
  max-inline-size: 268px;
  margin-inline: auto;
}

.facility-archive .facility-archive-notice {
  margin-block-start: 5px;
}

@media (min-width: 750px) {
  .facility-archive-notice {
    margin-block-start: 20px;
    text-align: center;
    max-inline-size: 100%;
  }

  .facility-archive .facility-archive-notice {
    margin-block-start: 20px;
  }
}

.facility-archive-notice-text {
  letter-spacing: 0.01em;
  font-feature-settings: 'palt';
  --clamp-min: 10;
  --clamp-max: 12;
  color: var(--color-main-dark-blue);
  font-weight: var(--font-weight-normal);
  line-height: var(--leading-normal);
  text-indent: -1.2em;
  padding-inline-start: 1.2em;
}

@media screen and (max-width: 749px) {
  .facility-archive-button img {
    width: 175px;
  }

  .facility-archive-button svg {
    width: 18px;
    right: 16px;
  }
}

@media (min-width: 750px) {
  .facility-archive-button-wrapper {
    margin-block-start: 50px;
  }

  .section.facility-archive {
    padding-block: 111px 100px;
  }

  .facility-archive-title-img {
    width: auto;
  }

  .facility-archive-lead {
    margin-block-start: 24px;
  }
}

/* 下層ページ共通 */

.lower {
  background-color: var(--color-main-yellow);
}

.lower-section {
  padding-block: 24px 36px;
  text-align: center;
}

.lower-section .section-title-img {
  display: block;
  margin-inline: auto;
}

.lower-section .lead-text {
  margin-block-start: 20px;
}

.lower-head {
  position: relative;
  margin-block-end: 115px;
}

.lower-inner {
  background: url('/area/g/funfunfes2025/assets/img/bg_lower-heading_sm.png') no-repeat top 72px center / 450px auto;
}

@media (min-width: 750px) {
  .lower-section {
    padding-block: 36px 40px;
  }

  .lower-section .section-title-img img {
    width: auto;
    height: 111px;
  }

  .lower-section .lead-text {
    margin-block-start: 24px;
  }

  .lower-inner {
    background: url('/area/g/funfunfes2025/assets/img/bg_lower-heading.png') no-repeat top 20px center / 1043px auto;
  }

  .lower-head {
    margin-block-end: 106px;
  }

  .lower-head::after {
    content: '';
    position: absolute;
    inset-block-end: -48px;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    inline-size: 1262px;
    block-size: 74px;
    background: url('/area/g/funfunfes2025/assets/img/bg_lower-head.png') no-repeat top center / 1262px auto;
    pointer-events: none;
  }
}

.recommend-section {
  padding-block: 0 84px;
}

.recommend-section::after {
  position: absolute;
  content: '';
  inline-size: 437px;
  block-size: 133px;
  inset-block-start: -80px;
  inset-inline-start: calc(50% - 8px);
  transform: translateX(-50%);
  background: url('/area/g/funfunfes2025/assets/img/bg_recommend_sm.png') no-repeat top center / 100% auto;
}

.recommend-section-title {
  text-emphasis: center;
}

.reccomend-slider {
  margin-block-start: 22px;
}

.reccomend-button-wrapper {
  max-width: 560px;
  margin-inline: auto;
  margin-block-start: 40px;
  padding-inline: 28px;
}

.recommend-banner {
  margin-block-start: 0;
  padding-block-start: 10px;
}

.recommend-banner-title {
  position: relative;
  color: var(--color-main-dark-blue);
  font-weight: var(--font-weight-bold);
  line-height: var(--leading-relaxed);
  --clamp-min: 14;
  --clamp-max: 18;
  text-align: center;
  margin-block-end: 10px;
}

.recommend-banner-title::before {
  position: absolute;
  content: '';
  inset-block-start: -33px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  inline-size: 350px;
  block-size: 75px;
  background: url('/area/g/funfunfes2025/assets/img/bg_recommend-text_sm.png') no-repeat center center / 100% auto;
}

@media (max-width: 749px) {
  .recommend-banner .banner-lg {
    padding-inline: 48px;
  }
}

@media (min-width: 750px) {
  .recommend-section {
    padding-block: 20px 120px;
  }

  .bg-white.recommend-section::before {
    top: -110px;
  }

  .recommend-section::after {
    inset-block-start: -52px;
    inline-size: 1100px;
    block-size: 176px;
    background: url('/area/g/funfunfes2025/assets/img/bg_recommend.png') no-repeat top center / 100% auto;
  }

  .recommend-section-title img {
    width: 446px;
    margin-inline: auto;
  }

  .reccomend-slider {
    margin-block-start: 50px;
  }

  .recommend-banner {
    margin-block-start: 65px;
    background: url('/area/g/funfunfes2025/assets/img/bg_recommend-bottom.png') no-repeat bottom 48px center / 1262px auto;
  }

  .reccomend-button-wrapper {
    padding-inline: 0;
    margin-block-start: 60px;
  }

  .reccomend-button-wrapper img {
    width: 141px;
  }

  .recommend-banner-title {
  }

  .recommend-banner-title::before {
    inline-size: 770px;
    inset-block-start: -20px;
    block-size: 85px;
    background: url('/area/g/funfunfes2025/assets/img/bg_recommend-text.png') no-repeat top 0 center / 100% auto;
  }
}



/* Splide.js base styles */

.splide__container{box-sizing:border-box;position:relative}

.splide__list{backface-visibility:hidden;display:-ms-flexbox;display:flex;height:100%;margin:0!important;padding:0!important}

.splide.is-initialized:not(.is-active) .splide__list{display:block}

.splide__pagination{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:center;justify-content:center;margin:0;pointer-events:none}

.splide__pagination li{display:inline-block;line-height:1;list-style-type:none;margin:0;pointer-events:auto}

.splide:not(.is-overflow) .splide__pagination{display:none}

.splide__progress__bar{width:0}

.splide{position:relative;visibility:hidden}

.splide.is-initialized,.splide.is-rendered{visibility:visible}

.splide__slide{backface-visibility:hidden;box-sizing:border-box;-ms-flex-negative:0;flex-shrink:0;list-style-type:none!important;margin:0;position:relative}

.splide__slide img{vertical-align:bottom}

.splide__spinner{animation:splide-loading 1s linear infinite;border:2px solid #999;border-left-color:transparent;border-radius:50%;bottom:0;contain:strict;display:inline-block;height:20px;left:0;margin:auto;position:absolute;right:0;top:0;width:20px}

.splide__sr{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}

.splide__toggle.is-active .splide__toggle__play,.splide__toggle__pause{display:none}

.splide__toggle.is-active .splide__toggle__pause{display:inline}

.splide__track{overflow:hidden;position:relative;z-index:0}



@keyframes splide-loading{0%{transform:rotate(0)}to{transform:rotate(1turn)}}

.splide__track--draggable{-webkit-touch-callout:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}

.splide__track--fade>.splide__list>.splide__slide{margin:0!important;opacity:0;z-index:0}

.splide__track--fade>.splide__list>.splide__slide.is-active{opacity:1;z-index:1}

.splide--rtl{direction:rtl}

.splide__track--ttb>.splide__list{display:block}

.splide__arrow{-ms-flex-align:center;align-items:center;background:#ccc;border:0;border-radius:50%;cursor:pointer;display:-ms-flexbox;display:flex;height:2em;-ms-flex-pack:center;justify-content:center;opacity:.7;padding:0;position:absolute;top:50%;transform:translateY(-50%);width:2em;z-index:1}

.splide__arrow svg{fill:#000;height:1.2em;width:1.2em}

.splide__arrow:hover:not(:disabled){opacity:.9}

.splide__arrow:disabled{opacity:.3}

.splide__arrow:focus-visible{outline:3px solid #0bf;outline-offset:3px}

.splide__arrow--prev{left:1em}

.splide__arrow--prev svg{transform:scaleX(-1)}

.splide__arrow--next{right:1em}

.splide.is-focus-in .splide__arrow:focus{outline:3px solid #0bf;outline-offset:3px}

.splide__pagination{bottom:.5em;left:0;padding:0 1em;position:absolute;right:0;z-index:1}

.splide__pagination__page{background:#ccc;border:0;border-radius:50%;display:inline-block;height:8px;margin:3px;opacity:.7;padding:0;position:relative;transition:transform .2s linear;width:8px}

.splide__pagination__page.is-active{background:#fff;transform:scale(1.4);z-index:1}

.splide__pagination__page:hover{cursor:pointer;opacity:.9}

.splide__pagination__page:focus-visible{outline:3px solid #0bf;outline-offset:3px}

.splide.is-focus-in .splide__pagination__page:focus{outline:3px solid #0bf;outline-offset:3px}

.splide__progress__bar{background:#ccc;height:3px}

.splide__slide{-webkit-tap-highlight-color:rgba(0,0,0,0)}

.splide__slide:focus{outline:0}

@supports(outline-offset:-3px){.splide__slide:focus-visible{outline:3px solid #0bf;outline-offset:-3px}}

@media screen and (-ms-high-contrast:none){.splide__slide:focus-visible{border:3px solid #0bf}}

@supports(outline-offset:-3px){.splide.is-focus-in .splide__slide:focus{outline:3px solid #0bf;outline-offset:-3px}}

@media screen and (-ms-high-contrast:none){.splide.is-focus-in .splide__slide:focus{border:3px solid #0bf}.splide.is-focus-in .splide__track>.splide__list>.splide__slide:focus{border-color:#0bf}}

.splide__toggle{cursor:pointer}

.splide__toggle:focus-visible{outline:3px solid #0bf;outline-offset:3px}

.splide.is-focus-in .splide__toggle:focus{outline:3px solid #0bf;outline-offset:3px}

.splide__track--nav>.splide__list>.splide__slide{border:3px solid transparent;cursor:pointer}

.splide__track--nav>.splide__list>.splide__slide.is-active{border:3px solid #000}

.splide__arrows--rtl .splide__arrow--prev{left:auto;right:1em}

.splide__arrows--rtl .splide__arrow--prev svg{transform:scaleX(1)}

.splide__arrows--rtl .splide__arrow--next{left:1em;right:auto}

.splide__arrows--rtl .splide__arrow--next svg{transform:scaleX(-1)}

.splide__arrows--ttb .splide__arrow{left:50%;transform:translate(-50%)}

.splide__arrows--ttb .splide__arrow--prev{top:1em}

.splide__arrows--ttb .splide__arrow--prev svg{transform:rotate(-90deg)}

.splide__arrows--ttb .splide__arrow--next{bottom:1em;top:auto}

.splide__arrows--ttb .splide__arrow--next svg{transform:rotate(90deg)}

.splide__pagination--ttb{bottom:0;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;left:auto;padding:1em 0;right:.5em;top:0}

/* Slider styles for Splide.js */

.js-slider .splide {
  position: relative;
  padding-block-end: 36px;
}

@media (max-width: 749px) {
  .js-slider .splide {
    padding-inline: 48px;
  }
}

.js-slider .splide__slide {
  padding-block-end: 10px;
}

/* Navigation arrows positioning - PC表示時はページネーション横に配置 */

.js-slider .splide__arrows {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  height: auto;
  z-index: 10;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 230px;
}

.js-slider .splide__arrow {
  position: static;
  transform: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  transition: var(--transition-time);
  z-index: 10;
  opacity: 1;
}

.js-slider .splide__arrow:hover {
}

.js-slider .splide__arrow:disabled {
  opacity: var(--transition-time);
  cursor: not-allowed;
}

.js-slider .splide__arrow--prev {
  width: 30px;
  aspect-ratio: 1 / 1;
  background: url('/area/g/funfunfes2025/assets/img/icon_slider-arrow_prev.svg') no-repeat center center / 100% auto;
}

.js-slider .splide__arrow--next {
  width: 30px;
  aspect-ratio: 1 / 1;
  background: url('/area/g/funfunfes2025/assets/img/icon_slider-arrow_next.svg') no-repeat center center / 100% auto;
}

.js-slider .splide__arrow svg {
  opacity: 0;
  pointer-events: none;
}

/* Pagination positioning - PC表示時は矢印の間に配置 */

.js-slider .splide__pagination,
.js-slider .custom-pagination {
  position: absolute;
  bottom: -5px;
  transform: none;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.js-slider .splide__pagination__page {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3C3C94;
  opacity: var(--alpha-02);
  border: none;
  cursor: pointer;
  transition: var(--transition-time);
  transform: scale(1);
}

.js-slider .splide__pagination__page.is-active {
  background: var(--color-main-dark-blue);
  opacity: 1;
}

.js-slider .splide__pagination__page:hover {
  background: var(--color-main-dark-blue);
  opacity: var(--alpha-07);
}

/* Force pagination to show all slides */

.js-slider .custom-pagination .splide__pagination__page {
  display: block !important;
}

.js-slider .placeholder {
}

.js-slider .placeholder img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 750px) {
  /* モバイル表示時は従来の位置に戻す */
  .js-slider .splide__arrows {
    position: absolute;
    top: calc(50% - 12px);
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 0;
    bottom: auto;
    display: block;
    gap: 0;
  }

  .js-slider .splide__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
  }

  .js-slider .splide__arrow--prev {
    left: 4px;
  }

  .js-slider .splide__arrow--next {
    right: 4px;
  }

  .js-slider .splide__arrow svg {
    width: 16px;
    height: 16px;
  }

  .js-slider .splide__pagination,
  .js-slider .custom-pagination {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    gap: 4px;
  }

  .js-slider .splide__pagination__page {
    width: 6px;
    height: 6px;
  }
}

.popup-area {
  margin-block-start: 26px;
}

.popup-area .button {
  padding: 0;
  max-width: 560px;
  width: 100%;
  margin-inline: auto;
  display: block;
  position: relative;
  border-radius: 6px;
  border: 3px solid var(--color-main-dark-blue);
  background-color: var(--color-pure-white);
  box-shadow: 0 6px 0 -3px var(--color-light-yellow), 0 6px 0 0px var(--color-main-dark-blue);
  cursor: pointer;
}

.popup-area .button::after {
  content: none;
}

.popup-area .button-inline {
  border: none;
}

.popup-area .button-inline svg {
  width: 18px;
  right: 18px;
}

@media (min-width: 750px) {
  .popup-area .button-inline {
    transition: background-color var(--transition-time);
  }

  .popup-area .button-inline svg {
    width: 22px;
    height: 22px;
    right: 20px;
  }

  .popup-area .button-inline img {
    width: 100px;
  }
}

@media (any-hover: hover) {
  .popup-area .button:hover {
    background-color: var(--color-light-yellow);
    box-shadow: none;
    transform: translateY(6px);
  }
}

/* Popup Overlay */

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(111, 111, 111, 0.8);
  display: none;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity var(--transition-time);
  overflow-y: auto;
  padding-inline: 20px;
}

.popup-overlay.is-visible {
  display: flex;
  opacity: 1;
}

/* Popup Container */

.popup-container {
  margin: auto;
  position: relative;
  width: 100%;
  height: auto;
  max-height: 90svh;
  transition: transform var(--transition-time);
}

.popup-overlay.is-visible .popup-container {
}

/* Popup Content */

.popup-content {
  border: 3px solid var(--color-main-dark-blue);
  border-radius: 6px;
  position: relative;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 320px;
  max-width: 600px;
  margin-block-end: 20px;
  min-width: 90vw;
  overflow: auto;
  max-height: calc(100svh - 160px);
}

/* Popup Footer */

.popup-footer {
  padding-block-end: 40px;
}

/* Close Button */

.popup-close {
  padding: 0;
  max-width: 580px;
  width: 100%;
  margin-inline: auto;
  display: block;
  position: relative;
  border-radius: 6px;
  border: 3px solid var(--color-main-dark-blue);
  background-color: var(--color-pure-white);
  box-shadow: 0 6px 0 -3px var(--color-light-yellow), 0 6px 0 0px var(--color-main-dark-blue);
  cursor: pointer;
  outline: transparent;
}

@media (any-hover: hover) {
  .popup-close:hover {
    background-color: var(--color-light-yellow);
    box-shadow: none;
    transform: translateY(6px);
  }
}

.popup-close:focus,
.popup-close:focus-visible,
.popup-close:active,
.popup-close:hover {
  outline: transparent;
}

.popup-close.button::after {
  content: none;
}

.popup-close .button-inline {
  border: none;
}

/* Popup Body */

.popup-body {
  padding: 45px 35px 50px;
}

.popup-heading {
  text-align: center;
  width: 126px;
  margin-inline: auto;
  margin-block-end: 25px;
}

.popup-section {
  max-width: 250px;
  margin-inline: auto;
}

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

.popup-section-title {
  --clamp-min: 16;
  --clamp-max: 22;
  font-weight: var(--font-weight-bold);
  color: var(--color-main-dark-blue);
  margin-block-end: 26px;
  text-align: center;
  height: 26px;
  background: url(/area/g/funfunfes2025/assets/img/bg_popup-title_sm.png) no-repeat center center / 100% auto;
}

.popup-section-item {
  position: relative;
  padding-inline-start: 1em;
  --clamp-min: 14;
  --clamp-max: 16;
  font-weight: var(--font-weight-medium);
  color: var(--color-pure-black);
  line-height: var(--leading-relaxed);
}

.popup-section-item::before {
  position: absolute;
  content: '';
  inset-block-start: .6em;
  inset-inline-start: 0;
  inline-size: 10px;
  block-size: 10px;
  background-color: var(--color-main-dark-blue);
  aspect-ratio: 1/1;
  border-radius: 50%;
}

@media screen and (max-width: 749px) {
  .popup-section-title.-row {
    height: 50px;
    background: url(/area/g/funfunfes2025/assets/img/bg_popup-title-row.png) no-repeat center center / 100% auto;
  }
  .popup-section-item + .popup-section-item {
    margin-block-start: 4px;
  }
}

/* Responsive Design */

@media (min-width: 750px) {
  .popup-container {
    width: 800px;
  }

  .popup-body {
    padding-inline: 94px;
  }

  .popup-content {
    min-width: revert;
    max-width: 100%;
    max-height: calc(100vh - 180px);
  }

  .popup-heading {
    width: 189px;
    margin-block-end: 44px;
  }

  .popup-heading img {
    width: 100%;
  }

  .popup-section {
    max-width: 582px;
  }

  .popup-section + .popup-section {
    margin-block-start: 70px;
  }

  .popup-section-title {
    width: 492px;
    margin-inline: auto;
    height: 32px;
    margin-block-end: 44px;
    background: url(/area/g/funfunfes2025/assets/img/bg_popup-title.png) no-repeat center center / 100% auto;
  }

  .popup-section-list {
    display: grid;
    grid-template-columns: 310fr 278fr;
    gap: 0 20px;
  }

  .popup-close img {
    width: 70px;
  }
}

/* Animation for popup appearance */

@keyframes popupFadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes popupFadeOut {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.8);
  }
}

.links-container {
  margin-block-start: 30px;
  max-width: 600px;
  margin-inline: auto;
}

.links-list {
  margin-block-start: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding-inline: 36px;
}

.links-item {
  display: inline-block;
}

@media (min-width: 750px) {
  .links-container {
    margin-block-start: 40px;
  }

  .links-list {
    padding-inline: 10px;
  }
}

/* スムーススクロール設定 */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 62px;
}

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

/* ユーザーが視差効果を減らす設定にしている場合は無効化 */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* メイン文字色 */

@property --color-main-dark-blue {
  syntax: "<color>";
  inherits: false;
  initial-value: #004098;
}

/* path */

@property --color-main-path-blue {
  syntax: "<color>";
  inherits: false;
  initial-value: #3C3C94;
}

@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: #8F8F8F;
}

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

/* メインカラー */

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

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

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

@property --color-main-pink {
  syntax: "<color>";
  inherits: false;
  initial-value: #E85A9A;
}

@property --color-shadow-pink {
  syntax: "<color>";
  inherits: false;
  initial-value: #D8327D;
}

/* 白黒 */

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

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

/* その他カラー */

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

@property --color-skyblue {
  syntax: "<color>";
  inherits: false;
  initial-value: #1BB8CE;
}

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

@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-normal {
  syntax: "<number>";
  inherits: false;
  initial-value: 1.5;
}

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

/* 角丸 */

@property --rounded-md {
  syntax: "<length>";
  inherits: false;
  initial-value: 6px;
}

/* コンテンツ左右余白 */

@property --content-padding-inline {
  syntax: "<length>";
  inherits: false;
  initial-value: 20px;
}

/* コンテンツ左右余白（sp） */

@property --content-padding-inline-md {
  syntax: "<length>";
  inherits: false;
  initial-value: 28px;
}

/* 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-dark-blue);

  &: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;
}

/*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;
  }
}

.is-pc {
  display: none;
}

@media (min-width: 750px) {
  .is-pc {
    display: block;
  }
}

.is-mobile {
  display: block;
}

@media (min-width: 750px) {
  .is-mobile {
    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;
  background-color: var(--color-main-yellow);
  padding-block-start: 46px;
  position: relative;
}

.main.lower {
  background-color: var(--color-pure-white);
}

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

.container {
  max-inline-size: 100%;
  margin-inline: auto;
  padding-inline: var(--content-padding-inline-md);
  position: relative;
}

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

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

.lead-text.-primary {
  color: var(--color-main-dark-blue);
}

.lead-text.-light {
  color: var(--color-pure-white);
}

.appeal-text {
  font-weight: var(--font-weight-bold);
  color: var(--color-main-dark-blue);
  line-height: var(--leading-relaxed);
  --clamp-min: 18;
  --clamp-max: 22;
}

.notice-text {
  --clamp-min: 10;
  --clamp-max: 12;
  color: var(--color-main-dark-blue);
  line-height: var(--leading-relaxed);
  text-align: left;
}

@media (min-width: 750px) {
  .notice-text {
    text-align: center;
  }
}

/*  あしらい
--------------------------------------------- */

.bg-cloud {
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 0;
  pointer-events: none;
  inline-size: 126px;
  block-size: 99px;
}

.bg-cloud img {
  inline-size: 100%;
}

@media (min-width: 750px) {
  .bg-cloud {
    inline-size: 489px;
    block-size: 134px;
  }
}

.bg-cloud-right-side {
  position: absolute;
  bottom: 75px;
  right: -26px;
  inline-size: 106px;
  block-size: 92px;
  pointer-events: none;
}

.bg-cloud-right-side img {
  inline-size: 100%;
}

.bg-dots-right-side {
  position: absolute;
  bottom: 0;
  right: 18px;
  inline-size: 20px;
  block-size: 54px;
  pointer-events: none;
}

.bg-dots-right-side img {
  inline-size: 100%;
}




