/*
Theme Name: FGV
Theme URI: https://fuji-glamping-villas.com
Author: Hina
Description: Custom accommodation portal theme for Fuji Glamping & Villas
Version: 1.0.0
Text Domain: fgv-accommodation
*/

@font-face {
  font-family: 'Noto Sans JP';
  src: url('./assets/fonts/noto-sans-javanese-v25-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans JP';
  src: url('./assets/fonts/noto-sans-javanese-v25-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cinzel';
  src: url('./assets/fonts/cinzel-v26-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* =========================
     Color
  ========================= */
  --color-primary: #7c93a6;
  --color-primary-dark: #587489;
  --color-base: #f5f3ee;
  --color-base-deep: #ebe7df;
  --color-accent: #4f6a63;
  --color-accent-dark: #9a6d49;
  --color-text: #1f1f1c;
  --color-text-light: #5f5d57;
  --color-border: #d8d2c7;
  --color-white: #fcfbf8;

  /* =========================
     Font
  ========================= */
  --font-ja: 'Noto Sans JP', sans-serif;
  --font-en: 'Cinzel', serif;

  /* =========================
     Layout
  ========================= */
  --site-width: min(100%, 1680px);
  --content-width: min(100%, 1440px);
  --narrow-width: min(100%, 1100px);

  --space-side: clamp(16px, 2vw, 36px);
  --space-section-y: clamp(72px, 9vw, 140px);
  --space-section-y-sm: clamp(48px, 6vw, 88px);

  /* =========================
     Radius / Shadow
  ========================= */
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 36px;

  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 18px 50px rgba(0, 0, 0, 0.12);

  /* =========================
     Transition
  ========================= */
  --transition: 0.35s ease;
}

/* =========================
   Reset / Base
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-white);
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition), color var(--transition), background-color var(--transition);
}

a:hover {
  opacity: 0.85;
}

button,
input,
textarea,
select {
  font: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
}

p:last-child,
li:last-child,
dd:last-child {
  margin-bottom: 0;
}

/* =========================
   Common Layout
========================= */
.site-wrap {
  width: 100%;
  overflow: clip;
}

.site-container {
  width: var(--site-width);
  margin-inline: auto;
  padding-inline: var(--space-side);
}

.content-container {
  width: var(--content-width);
  margin-inline: auto;
  padding-inline: var(--space-side);
}

.narrow-container {
  width: var(--narrow-width);
  margin-inline: auto;
  padding-inline: var(--space-side);
}

.section {
  padding-block: var(--space-section-y);
}

.section--sm {
  padding-block: var(--space-section-y-sm);
}
.SP{display: none;}
.PC{display: block;}
/* =========================
   Typography
========================= */
.en-title,
.font-en {
  font-family: var(--font-en);
  letter-spacing: 0.08em;
  font-weight: 500;
}

.section-label {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--color-accent);
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(28px, 4vw, 64px);
  line-height: 1.15;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.section-text {
  color: var(--color-text-light);
}
.en-title,
.font-en {
  font-family: var(--font-en);
}
/* =========================
   Basic utility
========================= */
.bg-base {
  background: var(--color-base);
}

.bg-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.text-accent {
  color: var(--color-accent);
}

/* =========================
   Drawer / Footer CTA Button
========================= */
.drawer-cta__button {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* ← 左寄せから中央寄せへ */
  text-align: center;  /* ← テキスト中央 */
  width: 100%;
  min-height: 72px;
  padding: 16px 24px;
  border-radius: 999px;
  overflow: hidden;
  text-decoration: none;
  line-height: 1.4;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.drawer-cta__button:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 16px 32px rgba(0,0,0,0.14);
}

.drawer-cta__button--faq {
  color: #2f2a28;
  border: 1px solid rgba(60, 52, 45, 0.12);
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.95), rgba(246,240,233,0.95));
}

.drawer-cta__button--contact {
  color: #fff;
  border: 0;
  background:
    linear-gradient(
      135deg,
      #587489 0%,
      #6b8599 42%,
      #7c93a6 100%
    );
}

.drawer-cta__label {
  display: block;
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.18em;
  opacity: 0.82;
  margin-bottom: 4px;
}

.drawer-cta__text {
  display: block;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0.08em;
}

.drawer-cta__button span {
  display: block;
}
/* =========================
   sns
========================= */
.drawer-sns {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 24px;
}

.drawer-sns__item {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(60, 52, 45, 0.12);
  box-shadow: 0 8px 18px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.drawer-sns__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 24px rgba(0,0,0,0.10);
}

.drawer-sns__icon,
.drawer-sns__icon-file,
.drawer-sns__icon-file svg {
  display: block;
  width: 24px;
  height: 24px;
}

.drawer-sns__icon-file svg path {
  fill: #4f3d33 !important;
}


/* バナー擬似要素の基準位置を固定 */
.drawer-banners__item {
  position: relative;
}

/* ドロワーパネルを必ず上に */
.site-drawer__panel {
  z-index: 2;
}

.site-drawer__overlay {
  z-index: 1;
}
@media (min-width: 768px) {

  .drawer-sns {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }}

@media (max-width: 768px) {
.PC{display: none;}
.SP{display: block;}
}


/* =========================
   Scroll Top Button
========================= */
.facility-scroll-top {
  position: fixed;
  right: clamp(14px, 2vw, 28px);
  bottom: clamp(18px, 2.6vw, 36px);
  z-index: 200;

  width: clamp(46px, 3.4vw, 58px);
  height: clamp(46px, 3.4vw, 58px);

  border-radius: 999px;
  border: 1px solid rgba(47, 42, 40, 0.12);

  background: rgba(255,255,255,0.92);

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);

  transition: all 0.3s ease;
}

.facility-scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.facility-scroll-top__icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;

  width: 10px;
  height: 10px;

  border-top: 2px solid #2f2a28;
  border-left: 2px solid #2f2a28;

  transform: translate(-50%, -30%) rotate(45deg);
}