/*
 * iro code. リセットCSS 2025（本番用・コメント軽量版）
 */

/* ボックスモデル */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* マージンリセット */
body, h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote, dl, dd {
  margin: 0;
  padding: 0;
}

/* テーブルセルのUA既定padding(1px)を除去（SPの積み上げレイアウトで1セルあたり+2pxの高さ誤差になる） */
th, td {
  padding: 0;
}

/* スマホタップ時のOS既定ハイライト（灰色のちらつき）を無効化 */
* {
  -webkit-tap-highlight-color: transparent;
}

/* HTML基本設定 */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* body基本設定 */
body {
  min-height: 100vh;
  min-height: 100dvh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* リスト */
ul, ol {
  list-style: none;
}

/* 画像・メディア */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 見出し・段落
   overflow-wrap は残す（URL・長い英単語・型番が「1語で行に収まらない時だけ」割る＝はみ出し防止）。
   text-wrap の balance / pretty は一律では入れない:
   - pretty は英文の孤立行対策。効かせるため前の行から文字を引き戻すので、和文では前の行が短くなり右側に余白が空く
   - balance は行長を揃えるため意図的に行を短くする→カンプの改行と食い違う
   - どちらも Firefox 未対応（2026-07時点）でブラウザ間の改行位置が変わる
   使いたい箇所だけ .u-balance / .u-pretty で個別に付ける */
h1, h2, h3, h4, h5, h6,
p {
  overflow-wrap: break-word;
}

/* リンク */
a {
  text-decoration: none;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* フォーム */
input, button, textarea, select {
  font: inherit;
  color: inherit;
}

textarea {
  resize: vertical;
}

input[type="submit"],
input[type="button"],
label, button, select {
  cursor: pointer;
}

/* アクセシビリティ配慮 */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
    interpolate-size: allow-keywords;
  }
}

:root {
  --color-main: #004252; --color-text: #1F1F1F; --color-white: #FFFFFF; --color-accent: #E58D00; --color-accent-light: #FFCA74; --color-border: #707070; --color-input: #F8F8F8; --color-error: #EB0000; --color-dim: #626262; --color-shadow: #000000; --color-line: #D5D5D5;
  --color-morning: #FFF7ED; --color-day: #EEF8F5; --color-sunset: #FBECE4; --color-night: #DCE7EE;
  --font-primary: "Yu Gothic", "YuGothic", sans-serif; --font-en: "Poppins", sans-serif; --font-serif: "Noto Serif JP", serif; --font-script: "Holland", cursive;
}
@font-face { font-family: "Holland"; src: url("../fonts/Holland.woff") format("woff"); font-display: swap; }
html { font-size: 100%; }
body { font-family: var(--font-primary); font-size: 1rem; color: var(--color-text); background: var(--color-white); text-spacing-trim: space-all; line-break: strict; }
a { color: inherit; }
.demo-notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; padding-block: .75rem; padding-inline: 1.25rem; color: var(--color-main); background: var(--color-white); font-family: var(--font-primary); font-size: .75rem; line-height: 1.75; }
.demo-notice a { margin-left: 1.5rem; text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 767px) { .demo-notice { display: block; } .demo-notice a { display: inline-block; margin-top: .375rem; margin-left: 0; } }
button { border: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 4px; }
.inner { width: calc(100% - 2.5rem); max-width: 67.5rem; margin-inline: auto; }
.hero { --hero-height: 52.75rem; position: relative; z-index: 0; height: var(--hero-height); color: var(--color-white); overflow: hidden; }
@media (min-width: 768px) { .hero { --hero-height: 48rem; } }
.hero__picture { position: absolute; z-index: -10; inset: 0; }
/* Clip the fixed photo to the moving FV; no background-attachment or scroll RAF. */
.hero.has-fixed-hero { clip-path: inset(0); }
.hero.has-fixed-hero .hero__picture { position: fixed; inset: 0 0 auto; height: var(--hero-height); }
.hero.is-outside .hero__picture { visibility: hidden; }
.hero__image { width: 100%; height: 100%; object-fit: cover; object-position: 43% center; }
@media (min-width: 768px) { .hero__image { object-position: center; } }
.header { position: absolute; z-index: 20; top: 1.5rem; inset-inline: 0; }
.header__logo { width: 5rem; }
@media (min-width: 768px) { .header__logo { width: 6.25rem; } }
.hero__content { position: relative; z-index: 0; width: min(100%, 30.375rem); margin-inline: auto; padding-top: 15rem; text-align: center; }
@media (min-width: 768px) { .hero__content { padding-top: 11.625rem; } }
.hero__content::before { content: ""; position: absolute; z-index: -10; top: 18.375rem; left: 0; width: 100%; height: 16rem; background: url("../images/optimized/hero/hero-map-1000.png") center / contain no-repeat;  background-image: url("../images/optimized/hero/hero-map-1000.png"); background-image: image-set(url("../images/optimized/hero/hero-map-640.webp") type("image/webp") 1x, url("../images/optimized/hero/hero-map-1000.webp") type("image/webp") 2x, url("../images/optimized/hero/hero-map-1000.png") type("image/png") 1x); }
@media (min-width: 768px) { .hero__content::before { top: 16.4375rem; height: 19.9375rem; } }
.hero__eyebrow { font: 400 1rem/1.5 var(--font-en); }
.hero__title { font: 400 2.5rem/1.5 var(--font-en); letter-spacing: 0; margin-top: .5rem; }
.hero__vertical { display: flex; flex-direction: row-reverse; justify-content: center; align-items: flex-start; margin-top: 2.25rem; }
.hero__vertical-main { writing-mode: vertical-rl; text-align: start; font: 400 2.5rem/1.2 var(--font-serif); letter-spacing: .2em; }
/* One quiet entrance, with no continuous photo movement. */
@media (prefers-reduced-motion: no-preference) {
  .is-motion .hero.is-intro .hero__picture { animation: hero-arrive 2.4s cubic-bezier(.2,.65,.3,1) both; }
  .is-motion .hero.is-intro .hero__eyebrow { animation: hero-copy-in 1s .12s both; }
  .is-motion .hero.is-intro .hero__title { animation: hero-copy-in 1.2s .28s both; }
  .is-motion .hero.is-intro .hero__vertical { animation: hero-copy-in 1.4s .48s both; }
}
@keyframes hero-arrive { from { transform: scale(1.035); } to { transform: scale(1); } }
@keyframes hero-copy-in { from { opacity: .25; translate: 0 .5rem; } to { opacity: 1; translate: 0 0; } }
.hero__vertical-sub { writing-mode: vertical-rl; text-align: start; font: 400 1.5rem/1.333 var(--font-serif); letter-spacing: .333em; margin-left: 0.625rem; transform: translateY(-1.25rem); }

@media (max-width: 767px) {
  .hero { --hero-height: clamp(44rem, 100svh, 52.75rem); }
  .hero__content { padding-top: clamp(11.5rem, 28.44svh, 15rem); }
}

/* Section titles / News */
.section-title { position: relative; z-index: 0; width: max-content; max-width: 100%; margin-inline: auto; padding-top: 4.375rem; text-align: center; }
.section-title::before { content: ""; position: absolute; z-index: -10; top: 0; left: calc(50% - 2.1875rem); width: 4.375rem; height: 3.25rem; background: url("../images/common/title-image.svg") center / contain no-repeat; }
.section-title__script { font: 400 1rem/1 var(--font-script); color: var(--color-accent); text-align: left; transform: rotate(-12deg); }
.section-title__text { font: 400 2rem/1.3 var(--font-en); letter-spacing: 0; }
@media (min-width: 768px) { .section-title__text { font-size: 2.5rem; } }
.section-title::after { content: ""; display: block; width: 12.5rem; max-width: 100%; height: 1px; margin-top: .375rem; margin-inline: auto; background: var(--color-border); transform-origin: left; }
.news { position: relative; z-index: 0; padding-top: 6.25rem; }
.news::before { content: ""; position: absolute; z-index: -10; inset: 0; background: url("../images/optimized/news/news-shadow-2880.png") left top / cover no-repeat; opacity: .565;  background-image: url("../images/optimized/news/news-shadow-2880.png"); background-image: image-set(url("../images/optimized/news/news-shadow-1920.webp") type("image/webp") 1x, url("../images/optimized/news/news-shadow-2880.webp") type("image/webp") 2x, url("../images/optimized/news/news-shadow-2880.png") type("image/png") 1x); }
.news::before { -webkit-mask-image: linear-gradient(to bottom, var(--color-shadow) 65%, transparent 100%); mask-image: linear-gradient(to bottom, var(--color-shadow) 65%, transparent 100%); }
.news__grid { margin-top: 2.5rem; }
@media (min-width: 768px) { .news__grid { display: grid; grid-template-columns: 50% minmax(0,1fr); gap: 1.5rem; } }
.news__card { position: relative; z-index: 0; display: block; background: var(--color-main); color: var(--color-white); overflow: visible; }
.news__figure { overflow: hidden; }
.news__figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.news__figure picture { height: 100%; }
.news__card--boat { display: grid; min-width: 0; }
.news__card--boat .news__figure { width: 100%; height: 100%; min-width: 0; aspect-ratio: 540 / 357; }
.news__card--yoga .news__figure, .news__card--hotel .news__figure { height: 10.4375rem; }
.news__card--yoga .news__figure img { object-position: center 53%; }
.news__card--hotel .news__figure img { object-position: center 50%; }
.news__subcards { margin-top: 1.25rem; }
@media (min-width: 768px) { .news__subcards { margin-top: 0; } }
.news__card--hotel { margin-top: 1.25rem; }
@media (min-width: 768px) { .news__card--hotel { margin-top: 1.5rem; } }
.news__copy { position: absolute; z-index: 10; inset: 1.25rem 1.25rem auto; }
.news__card--boat .news__copy { inset: 1.375rem 1.625rem auto; }
.news__card--hotel .news__copy { top: 4rem; }
.news__title { font: 400 2rem/1 var(--font-en); letter-spacing: 0; }
@media (min-width: 768px) { .news__title { font-size: 3rem; } }
.news__text { font-size: .875rem; line-height: 1.7; font-weight: 500; margin-top: .625rem; max-width: 26rem; }
@media (min-width: 768px) { .news__card--boat .news__text { font-size: 1rem; } }
.news__tag { position: absolute; z-index: 10; left: -.375rem; bottom: 1.125rem; background: var(--color-accent); font-size: 1rem; line-height: 1.5; font-weight: 700; padding-block: .1875rem; padding-inline: 1.375rem 1rem; }
@media (max-width: 767px) {
  .news__card--boat .news__figure { width: 100%; min-height: 13rem; }
  .news__card--boat .news__copy { inset: 1.25rem 1.625rem auto; }
  .news__card--boat .news__title { font-size: clamp(1.5rem, 8.2vw, 2rem); }
  .news__card--boat .news__text { margin-top: .25rem; max-width: 15.5rem; font-size: clamp(.75rem, 3.6vw, .875rem); line-height: 1.5; }
  .news__card--yoga .news__copy, .news__card--hotel .news__copy { top: auto; bottom: 1rem; }
  .news__card--yoga .news__text, .news__card--hotel .news__text { margin-top: .25rem; line-height: 1.5; }
  .news__tag { max-width: calc(100% - .75rem); padding-inline: 1rem .75rem; font-size: clamp(.75rem, 4.1vw, 1rem); }
}
.news__tag::after { content: ""; position: absolute; z-index: -10; top: 100%; left: 0; border-right: 6px solid var(--color-accent-light); border-bottom: 6px solid transparent; }
@media (any-hover: hover) { .news__card:hover img { transform: scale(1.035); } }

/* Go to Hawaii / Gallery */
.goto { padding-top: 6.25rem; }
@media (min-width: 768px) { .goto { padding-top: 7.5rem; } }
.goto__inner { max-width: 43.75rem; }
.goto__intro { margin-top: 2.5rem; font-family: var(--font-serif); font-size: 1rem; font-weight: 400; line-height: 1.75; max-width: 31.75rem; margin-inline: auto; }
.goto__initial { float: left; font: 400 4rem/1 var(--font-serif); margin-top: .25rem; }
.gallery { margin-top: 2.75rem; }
.gallery__main { aspect-ratio: 3 / 2; background: var(--color-main); }
.gallery__main picture { height: 100%; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbnails { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (min-width: 768px) { .gallery__thumbnails { margin-top: 1rem; } }
.gallery__thumbnail { display: block; min-height: 2.75rem; padding: 0; background: var(--color-main); opacity: .65; transition: opacity .3s; }
.gallery__thumbnail img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.gallery__thumbnail.is-active { opacity: 1; box-shadow: inset 0 0 0 3px var(--color-white); }
.gallery__thumbnail.is-active img { outline: 3px solid var(--color-white); outline-offset: -3px; }
.gallery__thumbnail:focus-visible { position: relative; z-index: 10; outline: 3px solid var(--color-accent); outline-offset: 3px; }
@media (any-hover: hover) { .gallery__thumbnail:hover { opacity: 1; } }
@media (prefers-reduced-motion: no-preference) { .is-motion .gallery__main img { animation: gallery-in .5s ease; } }
@keyframes gallery-in { from { opacity: .3; } to { opacity: 1; } }

/* Model Plan */
.plan { padding-top: 6.25rem; }
@media (prefers-reduced-motion: no-preference) { .plan.has-linked-plan { height: 190rem; } }
.plan__sticky { position: relative; z-index: 0; }
@media (prefers-reduced-motion: no-preference) { .has-linked-plan .plan__sticky { position: sticky; z-index: 0; top: 1.5rem; } }
.section-title--left { margin-left: 0; }
/* The sky layers crossfade only when the visible plan changes. */
.plan__sky { display: none; position: absolute; z-index: -10; inset: -2rem 0 -1rem; pointer-events: none; }
.has-daylight .plan__sky { display: block; }
.plan__sky-layer { position: absolute; z-index: 0; inset: 0; opacity: 0; }
.plan__sky-layer--morning { opacity: 1; background: var(--color-morning); }
.plan__sky-layer--day { background: var(--color-day); }
.plan__sky-layer--sunset { background: var(--color-sunset); }
.plan__sky-layer--night { background: var(--color-night); }
.plan[data-daylight="day"] .plan__sky-layer--day,
.plan[data-daylight="sunset"] .plan__sky-layer--sunset,
.plan[data-daylight="night"] .plan__sky-layer--night { opacity: 1; }
@media (prefers-reduced-motion: no-preference) { .plan__sky-layer { transition: opacity .9s ease; } }
@media (max-width: 767px) { .section-title--left { margin-inline: auto; } }
.plan__viewport { margin-top: 3rem; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; }
.plan__viewport, .items__viewport { scrollbar-width: none; scroll-padding-inline: max(1.25rem, calc((100vw - 67.5rem) / 2)); }
.plan__viewport::-webkit-scrollbar, .items__viewport::-webkit-scrollbar { display: none; }
/* Linked movement has one owner; native snapping stays available for touch. */
.has-linked-plan .plan__viewport { scroll-snap-type: none; scroll-behavior: auto; }
.plan__track { display: flex; width: max-content; padding-inline: max(1.25rem, calc((100vw - 67.5rem) / 2)); padding-block: 1rem; gap: 3.75rem; }
.plan__card { width: min(24.8125rem, calc(100vw - 2.5rem)); scroll-snap-align: start; }
.plan__card:nth-child(even) { margin-top: 2.5rem; }
.plan__photos { position: relative; z-index: 0; display: grid; grid-template-columns: 60% 40%; align-items: start; padding-inline: .375rem; }
.plan__photo { padding: .375rem; background: var(--color-white); box-shadow: 0 2px 8px color-mix(in srgb, var(--color-shadow) 25%, transparent); }
.plan__photo--1 { transform: rotate(-8deg); }
.plan__photo--2 { margin-top: 1rem; margin-left: -.75rem; transform: rotate(9deg); }
.plan__photo img { width: 100%; aspect-ratio: 228 / 169; object-fit: cover; }
.plan__name { position: absolute; z-index: 10; top: 45%; left: 20%; font: 400 4rem/1 var(--font-script); color: var(--color-white); text-shadow: 0 1px 4px var(--color-main); transform: rotate(-8deg); }
.plan__time { margin-top: 2.5rem; font: 400 1.5rem/2 var(--font-en); color: var(--color-main); font-variant-numeric: tabular-nums; white-space: nowrap; }
.plan__description { font-size: 1rem; line-height: 1.75; }
.plan__progress { display: none; }
.plan__progress[hidden] { display: none; }

@media (max-width: 767px) {
  .has-linked-plan .plan__sticky { display: flex; flex-direction: column; justify-content: center; min-height: calc(100vh - 1.5rem); min-height: calc(100dvh - 1.5rem); padding-block: 1.5rem calc(6rem + env(safe-area-inset-bottom, 0px)); }
  .plan__content { width: 100%; }
  .plan__track { padding-block: 2rem 1rem; gap: 2rem; }
  .plan__card { width: min(24.8125rem, calc(100vw - 4rem)); }
  .plan__card:nth-child(even) { margin-top: 0; }
  .plan__photos { grid-template-columns: 60% 46%; }
  .plan__name { left: 18%; font-size: clamp(2.5rem, 14vw, 4rem); }
  .plan__time { margin-top: 2rem; }
  .plan__progress { display: flex; align-items: center; justify-content: center; margin-top: 1.25rem; }
  .plan__progress-bar { width: 8rem; height: .125rem; background: color-mix(in srgb, var(--color-main) 15%, transparent); }
  .plan__progress-fill { display: block; width: 100%; height: 100%; background: var(--color-main); transform: scaleX(var(--plan-progress, .125)); transform-origin: left; }
  .plan__progress-count { margin-left: 1rem; min-width: 2.75rem; color: var(--color-main); font: 400 .8125rem/1.5 var(--font-en); font-variant-numeric: tabular-nums; }
}

/* Foods */
.foods { max-width: 90rem; margin-inline: auto; padding-top: 7.5rem; }
.foods__cover { margin-top: 2.5rem; width: calc(100% - 1.25rem); height: 7.5rem; }
@media (min-width: 768px) { .foods__cover { width: 66%; max-width: 56.25rem; height: 18.1875rem; } }
.foods__cover img { width: 100%; height: 100%; object-fit: cover; }
.foods__cover picture { height: 100%; }
.foods__cover--top { margin-left: auto; }
.foods__cover--bottom { margin-top: 3.25rem; }
@media (min-width: 768px) { .foods__cover--bottom { width: 50%; max-width: 42.6875rem; height: 13.8125rem; } }
.foods__item { position: relative; z-index: 0; margin-top: 2.5rem; max-width: 15rem; }
@media (min-width: 768px) { .foods__item { display: flex; align-items: center; max-width: 42.5rem; margin-top: 3.125rem; } }
.foods__photo { width: 10.9375rem; }
.foods__item--1 .foods__photo { width: 13.75rem; }
@media (min-width: 768px) { .foods__photo { width: 54%; flex-shrink: 0; } .foods__item--1 .foods__photo { width: 56%; } }
.foods__photo img { width: 100%; }
.foods__copy { margin-top: 1.5rem; max-width: 16.25rem; }
@media (min-width: 768px) { .foods__copy { margin-top: 0; margin-left: .625rem; flex-grow: 1; } }
.foods__name { font: 400 1.5rem/2 var(--font-en); color: var(--color-main); letter-spacing: 0; white-space: nowrap; }
.foods__description { font-size: .875rem; font-weight: 500; line-height: 1.7; }
.foods__price { margin-top: .5rem; font-size: .75rem; line-height: 1.7; text-align: right; }
.foods__item--2 { margin-left: auto; }
.foods__item--2 .foods__photo { margin-left: auto; }
@media (min-width: 768px) { .foods__item--2 { flex-direction: row-reverse; max-width: 35rem; margin-top: -4rem; } .foods__item--2 .foods__photo { margin-left: .625rem; } .foods__item--2 .foods__copy { margin-left: 0; } }
@media (min-width: 768px) { .foods__item--3 { margin-left: 19%; max-width: 35rem; margin-top: -3rem; } }
.foods__item::after { content: ""; position: absolute; z-index: -10; width: 4.375rem; height: 9rem; background: center / contain no-repeat; }
.foods__item--1::after { background-image: url("../images/foods/juice.svg"); top: 25%; right: -5rem; }
@media (min-width: 768px) { .foods__item--1::after { right: max(-24rem, calc(45rem - 100vw)); } }
.foods__item--2::after { background-image: url("../images/foods/yashinoki.svg"); top: 25%; left: -5rem; }
@media (min-width: 768px) { .foods__item--2::after { left: max(-25rem, calc(37.5rem - 100vw)); } }
.foods__item--3::after { background-image: url("../images/foods/hula.svg"); top: 25%; right: -5rem; }
@media (min-width: 768px) { .foods__item--3::after { right: max(-15rem, calc(19vw + 37.5rem - 100vw)); } }

@media (max-width: 767px) {
  .foods__item { display: grid; grid-template-columns: minmax(0,1fr) 5.625rem; column-gap: 1.25rem; max-width: none; }
  .foods__photo, .foods__item--1 .foods__photo { grid-column: 1; grid-row: 1; width: min(13.75rem,100%); }
  .foods__item--3 .foods__photo { width: min(10.9375rem,100%); }
  .foods__copy { grid-column: 1 / -1; grid-row: 2; width: 14.375rem; max-width: 100%; }
  .foods__item--3 .foods__copy { width: 15.75rem; }
  .foods__name { white-space: normal; overflow-wrap: normal; font-size: clamp(1.125rem,6.15vw,1.5rem); }
  .foods__item::after { position: static; grid-column: 2; grid-row: 1; align-self: center; justify-self: end; width: 5.625rem; height: 9.25rem; }
  .foods__item--2 { grid-template-columns: 5.625rem minmax(0,1fr); }
  .foods__item--2 .foods__photo { grid-column: 2; justify-self: end; width: min(10.9375rem,100%); }
  .foods__item--2 .foods__copy { justify-self: end; }
  .foods__item--2::after { grid-column: 1; justify-self: start; }
}

/* Items */
.items { padding-top: 6.25rem; }
@media (min-width: 768px) { .section-title--items { margin-left: 0; } }
.items__intro { margin-top: 1.5rem; font-size: 1rem; line-height: 1.75; }
.items__viewport { margin-top: 2.5rem; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; }
.items__track { display: flex; width: max-content; padding-inline: max(1.25rem, calc((100vw - 67.5rem) / 2)); padding-top: .5rem; gap: 1.25rem; }
.items__card { width: min(20rem, calc(100vw - 3.125rem)); scroll-snap-align: start; }
.items__photo { position: relative; z-index: 0; overflow: hidden; }
.items__photo img { width: 100%; aspect-ratio: 320 / 214; object-fit: cover; transition: transform .5s ease; }
.items__tag { position: absolute; z-index: 10; top: 1rem; left: 0; background: var(--color-accent); color: var(--color-white); padding-block: .375rem; padding-inline: 1rem; font-size: 1rem; font-weight: 700; line-height: 1.5; }
.items__name { font: 400 1.5rem/2 var(--font-en); color: var(--color-main); border-bottom: 1px solid var(--color-border); }
.items__navigation { display: flex; align-items: center; justify-content: flex-end; margin-top: 1.5rem; }
.items__navigation[hidden] { display: none; }
.items__arrow { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; flex-shrink: 0; padding: 0; border: 1px solid var(--color-main); border-radius: 50%; color: var(--color-main); background: var(--color-white); }
.items__arrow:disabled { opacity: .3; cursor: default; }
.items__arrow svg { width: 1.25rem; height: 1.25rem; }
.items__position { min-width: 8rem; margin-inline: 1rem; color: var(--color-main); text-align: center; }
.items__position-label { display: block; font-size: .75rem; }
.items__count { display: block; font: 400 1rem/1.5 var(--font-en); font-variant-numeric: tabular-nums; }
@media (max-width: 767px) { .items__navigation { justify-content: center; } }
@media (any-hover: hover) { .items__link:hover img { transform: scale(1.035); } }
@media (any-hover: hover) { .items__arrow:not(:disabled):hover { color: var(--color-white); background: var(--color-main); } }

/* Instagram */
.instagram { padding-top: 7.5rem; }
.instagram__viewport { margin-top: 2.5rem; overflow: hidden; }
.instagram__track { display: flex; width: 200%; }
.instagram__group { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .25rem; width: 50%; padding-right: .25rem; }
@media (min-width: 768px) { .instagram__group { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.25rem; padding-right: 1.25rem; } }
@media (max-width: 767px) { .instagram__photo:nth-child(n+7) { display: none; } }
.instagram__photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) { .is-motion .instagram__track { animation: instagram-drift 45s linear infinite; } }
@keyframes instagram-drift { to { transform: translateX(-50%); } }
@media (any-hover: hover) { .instagram__viewport:hover .instagram__track { animation-play-state: paused; } }
.button { display: block; width: max-content; min-width: 9.375rem; min-height: 2.75rem; margin-inline: auto; padding-block: .625rem; padding-inline: 1.5rem; border: 1px solid var(--color-main); background: var(--color-white); color: var(--color-main); font: 400 1rem/1.5 var(--font-en); transition: background-color .3s, color .3s; }
@media (any-hover: hover) { .button:hover { background: var(--color-main); color: var(--color-white); } }
.instagram__button { margin-top: 5rem; }
.modal { position: fixed; z-index: 100; width: min(34rem,calc(100% - 2.5rem)); border: 1px solid var(--color-line); padding: 2rem; background: var(--color-white); color: var(--color-main); }
.modal h2 { font-size: 1.5rem; line-height: 1.5; }
.modal p { margin-top: 1rem; line-height: 1.8; }
.modal__close { display: block; margin-left: auto; width: 2.75rem; height: 2.75rem; background: var(--color-input); color: var(--color-main); font-size: 1.5rem; }
.modal::backdrop { background: color-mix(in srgb, var(--color-shadow) 50%, transparent); }
body:has(dialog[open]) { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .modal { opacity: 0; translate: 0 .5rem; transition: opacity .25s, translate .25s, display .25s allow-discrete, overlay .25s allow-discrete; }
  .modal[open] { opacity: 1; translate: 0 0; }
  @starting-style { .modal[open] { opacity: 0; translate: 0 .5rem; } }
}

/* Contact / Footer */
.contact { position: relative; z-index: 0; padding-top: 7.5rem; padding-bottom: 2.75rem; }
@media (min-width: 768px) { .contact { padding-bottom: 7.5rem; } }
.contact::before { content: ""; position: absolute; z-index: -10; bottom: 0; left: 0; width: min(48.5%,41.4375rem); height: 70%; background: url("../images/optimized/contact/contact-wave-1600.png") left bottom / cover no-repeat; opacity: .4;  background-image: url("../images/optimized/contact/contact-wave-1600.png"); background-image: image-set(url("../images/optimized/contact/contact-wave-800.webp") type("image/webp") 1x, url("../images/optimized/contact/contact-wave-1600.webp") type("image/webp") 2x, url("../images/optimized/contact/contact-wave-1600.png") type("image/png") 1x); }
/* The radial mask reaches zero at both the top and right edges. */
.contact::before { -webkit-mask-image: radial-gradient(ellipse 100% 100% at left bottom, var(--color-shadow) 0%, var(--color-shadow) 35%, transparent 100%); mask-image: radial-gradient(ellipse 100% 100% at left bottom, var(--color-shadow) 0%, var(--color-shadow) 35%, transparent 100%); }
.contact__inner { max-width: 48rem; }
.contact__form { margin-top: 3.75rem; }
.contact__field { margin-top: 2.5rem; }
@media (min-width: 768px) { .contact__field { display: grid; grid-template-columns: 21.875% minmax(0,1fr); margin-top: 2.5rem; align-items: start; } }
.contact__field label { display: block; font-size: 1rem; font-weight: 700; line-height: 1.5; }
@media (min-width: 768px) { .contact__field label { padding-top: .875rem; } }
.contact__required { color: var(--color-error); font-size: .75rem; margin-left: .25rem; vertical-align: super; }
.contact__field input, .contact__field select, .contact__field textarea { display: block; margin-top: .375rem; width: 100%; min-height: 3rem; border: 1px solid transparent; border-radius: 0; background: var(--color-input); padding-block: .625rem; padding-inline: 1rem; font-size: 1rem; }
@media (min-width: 768px) { .contact__field input, .contact__field select, .contact__field textarea { margin-top: 0; } }
.contact__field textarea { min-height: 22.5rem; }
.contact__field input:user-invalid, .contact__field select:user-invalid { border-color: var(--color-error); }
.contact__submit { margin-top: 2.5rem; font-family: var(--font-primary); }
.contact__demo-note { margin-top: 1.5rem; font-size: .75rem; line-height: 1.8; color: var(--color-main); text-align: center; }
.footer { background: var(--color-main); color: var(--color-white); padding-block: 2.5rem 1.5rem; }
@media (min-width: 768px) { .footer { padding-top: 3.125rem; } }
.footer__inner { display: flex; align-items: center; justify-content: space-between; max-width: 35rem; }
.footer__logo { width: 4rem; }
@media (min-width: 768px) { .footer__logo { width: 7.5rem; } }
.footer__catch { font: 400 2.5rem/1 var(--font-script); }
.footer__copyright { text-align: center; margin-top: 2.5rem; font-size: .875rem; }
.footer__demo { text-align: center; margin-top: .75rem; font-size: .75rem; }
.contact-preview { margin-top: 1.5rem; }
.contact-preview dt { margin-top: 1rem; font-weight: 700; }
.contact-preview dd { white-space: pre-wrap; overflow-wrap: anywhere; }
/* Proposed shortcut: hidden near the FV, contact form, footer, and open dialogs. */
.floating-cta { position: fixed; z-index: 50; right: 1.5rem; bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)); }
.floating-cta[hidden], body:has(dialog[open]) .floating-cta { display: none; }
.floating-cta__link { display: flex; align-items: center; justify-content: center; min-height: 3.5rem; padding-block: .875rem; padding-inline: 1.5rem; border: 1px solid var(--color-main); border-radius: 2rem; background: var(--color-main); color: var(--color-white); box-shadow: 0 3px 14px color-mix(in srgb, var(--color-shadow) 14%, transparent); font-size: 1rem; font-weight: 700; line-height: 1.5; }
@media (max-width: 767px) { .floating-cta { right: 1.25rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); max-width: calc(100% - 2.5rem); } }
@media (any-hover: hover) { .floating-cta__link:hover { background: var(--color-white); color: var(--color-main); } }
@media (prefers-reduced-motion: no-preference) {
  .floating-cta { transition: opacity .25s, translate .25s; }
  @starting-style { .floating-cta { opacity: 0; translate: 0 .375rem; } }
}

/* Motion uses state classes; without JavaScript all content remains visible. */
@media (prefers-reduced-motion: no-preference) {
  .is-motion .section-title::after { transform: scaleX(0); transition: transform .8s ease; }
  .is-motion .section-title.is-visible::after { transform: scaleX(1); }
  .is-motion .foods__item, .is-motion .foods__cover { opacity: 0; transform: translateY(1rem); transition: opacity .8s ease, transform .8s ease; }
  .is-motion .foods__item.is-visible, .is-motion .foods__cover.is-visible { opacity: 1; transform: translateY(0); }
  .is-motion .news__figure img { clip-path: inset(0 100% 0 0); transition: clip-path .9s ease, transform .55s ease; }
  .is-motion .news__card.is-visible img { clip-path: inset(0); }
}
.is-still .instagram__track { animation: none; }
.is-still .plan { height: auto; }
.is-still .plan__sticky { position: relative; z-index: 0; }

.instagram__pause { margin-top: 1rem; font-family: var(--font-primary); font-size: .875rem; }
.instagram__pause[hidden] { display: none; }
.instagram.is-paused .instagram__track { animation-play-state: paused; }
.instagram.is-offscreen .instagram__track { animation-play-state: paused; }
.footer__motion { display: flex; justify-content: center; gap: 1.5rem; margin-top: 1rem; font-size: .875rem; }
.footer__motion a { text-decoration: underline; text-underline-offset: .2em; }
.is-still *, .is-still *::before, .is-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
