@charset "UTF-8";

:root {
  --ink: #2b2621;
  --ink-soft: #5c5349;
  --paper: #f6f2ea;
  --paper-2: #ece5d8;
  --matcha: #6b7b52;
  --matcha-dk: #4f5c3d;
  --gold: #b08d57;
  --line: #ddd3c3;
  --white: #fffdf8;
  --maxw: 1120px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}
body {
  font-family: "Noto Serif JP", serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.9;
  font-weight: 300;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
.serif {
  font-family: "Noto Serif JP", serif;
}
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.sec-head {
  text-align: center;
  margin-bottom: 56px;
}
.sec-head .en {
  display: block;
  font-family: "Noto Serif JP", serif;
  font-size: 0.8rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.sec-head .ja {
  font-family: "Noto Serif JP", serif;
  font-size: 1.9rem;
  font-weight: 500;
  letter-spacing: 0.12em;
}
.sec-head .ja::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 22px auto 0;
}
section {
  padding: 72px 0;
}

/* ============ オープニング（ロゴ） ============ */
#intro {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  transition:
    opacity 1.1s var(--ease),
    visibility 1.1s var(--ease);
}
#intro.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.intro-logo {
  width: min(380px, 62vw);
  height: auto;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  animation: introLogo 1.8s var(--ease) 0.25s forwards;
}
@keyframes introLogo {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ============ ヘッダー（スマホ：ドロワー） ============ */
/* スマホ：ヘッダーは固定しない（スクロールで一緒に流れて消える） */
header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 18px 22px;
}
/* スクロール時の生成りバーは出さない（非表示のまま流す） */
header.scrolled {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

/* ブランドロゴ（濃い背景＝白縦ロゴ／スクロール後＝黒横ロゴ） */
.brand {
  display: block;
  line-height: 0;
}
.brand-logo {
  display: block;
  width: auto;
  transition: height 0.4s var(--ease);
}
.brand-logo--light {
  height: 150px;
}
.brand-logo--dark {
  display: none;
}
header.scrolled .brand-logo--light {
  display: block;
} /* スマホは常に白ロゴ */
header.scrolled .brand-logo--dark {
  display: none;
}

/* スマホ：ナビ非表示／ハンバーガーメニューも非表示 */
nav {
  display: none;
}
.nav-toggle {
  display: none;
}

/* ヘッダー右側：スマホは一休ロゴのみ表示 */
.header-right {
  display: flex;
  align-items: center;
}
.header-ikyu {
  display: inline-flex;
  align-items: center;
}
.ikyu-logo {
  height: 24px;
  width: auto;
  display: block;
}
.ikyu-logo--dark {
  display: none;
}
header.scrolled .ikyu-logo--light {
  display: block;
} /* スマホは常に白ロゴ */
header.scrolled .ikyu-logo--dark {
  display: none;
}

/* ============ TOP / Swiper ヒーロー ============ */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
}
.hero .swiper {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
}
.hero .swiper-wrapper {
  height: 100%;
  width: 100%;
}
.hero .swiper-slide {
  height: 100%;
  width: 100%;
}
.hero .swiper-slide {
  position: relative;
  overflow: hidden;
}
.hero .slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
  will-change: transform;
}
.hero .slide-img.kb {
  animation: kenburns 9s linear forwards;
}
@keyframes kenburns {
  from {
    transform: scale(1.1) translate(0, 0);
  }
  to {
    transform: scale(1.26) translate(-3%, -1.6%);
  }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(30, 27, 23, 0.48) 0%,
    rgba(30, 27, 23, 0.12) 26%,
    rgba(30, 27, 23, 0.08) 58%,
    rgba(30, 27, 23, 0.58) 100%
  );
}
.hero-copy {
  position: absolute;
  left: 24px;
  bottom: 60px;
  z-index: 5;
  color: var(--white);
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 1.6s var(--ease) 0.5s forwards;
}
.hero-copy h1 {
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: 0.14em;
  line-height: 1.7;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: none;
  }
}

.hero .swiper-pagination {
  z-index: 6;
  bottom: 40px !important;
  text-align: right;
  padding-right: 24px;
}
.hero .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  background: var(--white);
  opacity: 0.4;
  transition: opacity 0.3s;
  border-radius: 50%;
}
.hero .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--white);
}

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  font-family: "Noto Serif JP", serif;
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  color: var(--white);
}
.scroll-cue::after {
  content: "";
  display: block;
  width: 1px;
  height: 42px;
  background: var(--white);
  margin: 10px auto 0;
  animation: cue 2s var(--ease) infinite;
}
@keyframes cue {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  40% {
    transform: scaleY(1);
    transform-origin: top;
  }
  60% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ============ About ============ */
#about {
  background: var(--white);
}
.about-lead {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.about-lead .catch {
  font-family: "Noto Serif JP", serif;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 2;
  margin-bottom: 28px;
}
.about-lead p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}
/* スマホ：上に画像スライド ／ 下に文章（PCと逆） */
.about-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 56px;
  padding: 0 24px;
}
.about-intro-media {
  order: -1;
} /* 画像を上に */
.about-intro-text .catch {
  font-family: "Noto Serif JP", serif;
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 2;
  margin-bottom: 26px;
}
.about-intro-text p {
  color: var(--ink-soft);
  font-size: 0.94rem;
}
.about-intro-media {
  position: relative;
  min-width: 0;
}
.aboutSwiper {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  box-shadow: 0 20px 46px rgba(43, 38, 33, 0.14);
}
.aboutSwiper .swiper-slide {
  overflow: hidden;
}
.aboutSwiper .swiper-slide img {
  width: 100%;
  height: clamp(240px, 42vh, 360px);
  object-fit: cover;
  display: block;
}
.aboutSwiper .swiper-pagination {
  bottom: 16px !important;
}
.aboutSwiper .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  background: var(--white);
  opacity: 0.55;
  transition: opacity 0.3s;
  border-radius: 50%;
}
.aboutSwiper .swiper-pagination-bullet-active {
  opacity: 1;
}
.aboutSwiper .swiper-button-prev,
.aboutSwiper .swiper-button-next {
  color: var(--white);
  transform: scale(0.5);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  direction: ltr;
  gap: 28px;
  align-items: center;
}
.about-grid.reverse {
  direction: ltr;
}
.about-grid.reverse > * {
  direction: ltr;
}
.about-grid + .about-grid {
  margin-top: 80px;
}
.about-figure {
  position: relative;
}
.about-figure img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.about-figure .cap {
  position: absolute;
  bottom: -14px;
  left: -14px;
  background: var(--matcha);
  color: var(--white);
  font-family: "Noto Serif JP", serif;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  padding: 10px 20px;
}
.about-text h3 {
  font-family: "Noto Serif JP", serif;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  line-height: 1.7;
}
.about-text h3 span {
  display: block;
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.3em;
  margin-bottom: 10px;
}
.about-text p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* ============ Topics ============ */
#topics {
  padding: 0;
}
/* 背景は白（スマホは装飾パネルなし） */
.topics-band {
  padding: clamp(56px, 12vw, 80px) 0;
  background: var(--white);
}
/* 和風の葉の装飾（bk01）を角に配置 */
.topics-band--rooms {
  position: relative;
}
.topics-band--rooms > .wrap {
  position: relative;
  z-index: 1;
}
.deco-leaf {
  position: absolute;
  z-index: 0;
  height: auto;
  opacity: 0.45;
  pointer-events: none;
  user-select: none;
}
.deco-leaf--tr {
  top: 0;
  right: 0;
  width: clamp(190px, 48vw, 300px);
}
.deco-leaf--ml {
  top: 32%;
  left: 0;
  width: clamp(170px, 44vw, 280px);
  transform: scaleX(-1);
}
.deco-leaf--br {
  bottom: 0;
  right: 0;
  width: clamp(170px, 44vw, 280px);
  transform: scaleY(-1);
}
/* Topic02：テキストを画像の上（前）に配置 */
.cuisine-block .topics-caption {
  margin: 0 auto clamp(28px, 6vw, 44px);
}
.topics-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.topic {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: center;
  background: var(--white);
  padding: 20px 22px;
  transition: background 0.3s;
}
.topic:hover {
  background: var(--paper);
}
.topic .date {
  font-family: "Noto Serif JP", serif;
  color: var(--ink-soft);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}
.topic .tag {
  justify-self: start;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  border: 1px solid var(--matcha);
  color: var(--matcha-dk);
  padding: 4px 14px;
  border-radius: 2px;
}
.topic .txt {
  font-size: 0.92rem;
}
/* 画像スライド ＋ 中央キャプション */
.topics-block {
  margin-bottom: 84px;
}
.topics-block:last-child {
  margin-bottom: 0;
}
.topicSwiper {
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: 0 18px 42px rgba(43, 38, 33, 0.14);
}
.topicSwiper .swiper-slide {
  position: relative;
  overflow: hidden;
}
.topicSwiper .swiper-slide img {
  width: 100%;
  height: clamp(220px, 44vh, 360px);
  object-fit: cover;
  display: block;
}
/* 客室名キャプション（画像右下） */
.topic-cap {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: "Noto Serif JP", serif;
  font-size: 0.95rem;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  padding: 11px 22px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
}
.topic-cap::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--gold);
}
.topicSwiper .swiper-pagination {
  bottom: 16px !important;
}
.topicSwiper .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  background: var(--white);
  opacity: 0.55;
  transition: opacity 0.3s;
  border-radius: 50%;
}
.topicSwiper .swiper-pagination-bullet-active {
  opacity: 1;
}
/* 中央構成の上品なキャプション */
.topics-caption {
  position: relative;
  max-width: 780px;
  margin: 30px auto 0;
  padding: 10px 20px 0;
  text-align: center;
}
.topics-caption > :not(.tc-num) {
  position: relative;
  z-index: 1;
}
.tc-num {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Noto Serif JP", serif;
  font-size: 4.2rem;
  font-weight: 600;
  color: var(--gold);
  opacity: 0.1;
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.tc-cat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 22px;
}
.tc-cat::before,
.tc-cat::after {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--line);
}
.tc-cat-ja {
  font-family: "Noto Serif JP", serif;
  font-size: 0.98rem;
  letter-spacing: 0.42em;
  color: var(--matcha-dk);
  text-indent: 0.42em;
}
.tc-cat-en {
  font-family: "Noto Serif JP", serif;
  font-size: 0.58rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-indent: 0.4em;
}
.tc-title {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.25rem, 2.5vw, 1.62rem);
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.1em;
  color: var(--ink);
}
.tc-divider {
  display: block;
  width: 46px;
  height: 1px;
  background: var(--gold);
  margin: 28px auto;
}
.tc-body {
  color: var(--ink-soft);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  line-height: 2;
}

/* ============ Special Plan ============ */
/* ===== お部屋ごとのスライド（スマホ：縦積み・横書き） ===== */
.rooms-head {
  position: relative;
  max-width: 780px;
  margin: clamp(40px, 9vw, 60px) auto 4px;
  padding: 10px 16px 0;
  text-align: center;
}
.rooms-head > :not(.tc-num) {
  position: relative;
  z-index: 1;
}
.room-block,
.room-block--right {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 64px;
}
.room-block .room-caption,
.room-block--right .room-caption { order: -1; } /* 部屋名を上に */
.room-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.room-tag {
  writing-mode: horizontal-tb;
  border: 1px solid var(--line);
  color: var(--matcha-dk);
  font-family: "Noto Serif JP", serif;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  padding: 8px 16px;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
a.room-tag:active,
a.room-tag:hover {
  background: var(--matcha);
  border-color: var(--matcha);
  color: var(--white);
}
.room-name {
  writing-mode: horizontal-tb;
  font-family: "Noto Serif JP", serif;
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ink);
  margin: 0;
}
.room-meta {
  writing-mode: horizontal-tb;
  font-family: "Noto Serif JP", serif;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
}
.room-media { min-width: 0; }
.roomSwiper { overflow: hidden; box-shadow: 0 12px 30px rgba(43, 38, 33, 0.14); }
.roomSwiper .swiper-slide img {
  width: 100%;
  height: clamp(300px, 54vh, 440px);
  object-fit: cover;
  display: block;
}
.roomSwiper .swiper-pagination { bottom: 12px !important; }
.roomSwiper .swiper-pagination-bullet {
  width: 8px; height: 8px; background: var(--white);
  opacity: 0.6; border-radius: 50%;
}
.roomSwiper .swiper-pagination-bullet-active { opacity: 1; }
.roomSwiper .swiper-button-prev,
.roomSwiper .swiper-button-next { color: var(--white); }
.roomSwiper .swiper-button-prev::after,
.roomSwiper .swiper-button-next::after {
  font-size: 20px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

#plan {
  background: var(--paper);
}
.plan-lead {
  text-align: center;
  font-family: "Noto Serif JP", serif;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.95;
  color: var(--ink-soft);
  margin: -6px auto 40px;
  padding: 0 12px;
}
.plan-grid {
 display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        margin: 0 auto;
        gap: 32px;
}
.plan-card {
  background: var(--white);
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(43, 38, 33, 0.08);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(43, 38, 33, 0.12);
}
.plan-card .ph {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.plan-card .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.plan-card:hover .ph img {
  transform: scale(1.06);
}
.plan-card .badge {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--gold);
  color: var(--white);
  font-family: "Noto Serif JP", serif;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  padding: 7px 16px;
}
.plan-body {
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: center;
}
.plan-cat {
  font-family: "Noto Serif JP", serif;
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-indent: 0.14em;
  color: var(--ink);
}
.plan-cat span {
display: block;
        font-size: 0.975rem;
        letter-spacing: 0.15em;
        color: var(--gold);
        text-indent: 0.3em;
        margin-bottom: 10px;
}
.plan-body .desc {
  color: var(--ink-soft);
  font-size: 0.86rem;
  margin-bottom: 22px;
  flex: 1;
}
.plan-body .btn {
  margin-top: auto;
}
.plan-meta {
  border-top: 1px dashed var(--line);
  padding-top: 18px;
  margin-bottom: 22px;
}
.plan-meta .row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--ink-soft);
}
.plan-price {
  font-family: "Noto Serif JP", serif;
}
.plan-price .num {
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--matcha-dk);
}
.plan-price .unit {
  font-size: 0.75rem;
  color: var(--ink-soft);
}
.btn {
  display: inline-block;
  text-align: center;
  font-family: "Noto Serif JP", serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  padding: 14px;
  background: var(--ink);
  color: var(--white);
  transition: background 0.3s;
}
.btn:hover {
  background: var(--matcha-dk);
}

.btn a {
	display: block;
	width: 100%;
	color: #ffffff;
  line-height: 1.2;
	font-size: 0.9rem;
	text-align: center;
	-webkit-transition: all .5s;
  letter-spacing: 0;
	transition: all .5s;
}


.btn b {
	font-size: 1.2rem;
}

.off {
	display: block;
	font-size: 1.2rem !important;
}

.off strong {
	font-size: 0.9rem !important;
	display: block;
}

.shousai {
	font-size: 0.9rem !important;
	display: block;
}

.shousai .ll {
	display: none !important;
}

.shousai .s {
	font-size: 0.9rem !important;
}

.after_point_rate {
	font-size: 1.2rem !important;
}


/* ============ Photo Gallery ============ */
#gallery {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
#gallery .sec-head .ja {
  color: var(--paper);
}
/* 横に流れ続けるスライド（スマホは表示枚数を控えめに） */
.gallerySwiper {
  width: 100%;
  overflow: hidden;
}
.gallerySwiper .swiper-wrapper {
  transition-timing-function: linear !important;
}
.gallerySwiper .swiper-slide {
  overflow: hidden;
}
.gallerySwiper .swiper-slide img {
  width: 100%;
  height: clamp(200px, 46vw, 320px);
  object-fit: cover;
  display: block;
  filter: brightness(0.95);
}

/* ============ Access ============ */
#access {
  background: var(--paper);
}
/* マップ全幅（1面）＋ その下にテキスト */
.access-grid {
  display: block;
 
}
#access #gglmap {
  width: 100%;
  height: 320px;
  margin: 0;
  letter-spacing: 0;
  background: var(--paper-2);
}
.access-info {
  padding: 34px 24px;
 
  border-top: 1px solid var(--line);
}
/* 施設名 → 紹介文（縦積み） */
.access-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.access-intro .ai-name {
  font-family: "Noto Serif JP", serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.5;
  color: var(--ink);
}
.access-intro .ai-name-en {
  font-family: "Noto Serif JP", serif;
  font-size: 0.56rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-top: 8px;
}
.detail-btn {
  display: inline-block;
  margin-top: 20px;
  background: var(--matcha);
  color: var(--white);
  font-family: "Noto Serif JP", serif;
  font-size: 0.8rem;
  letter-spacing: 0.26em;
  text-indent: 0.26em;
  padding: 13px 28px;
  transition: background 0.3s;
}
.detail-btn:hover {
  background: var(--matcha-dk);
}
.access-intro .ai-title {
  font-family: "Noto Serif JP", serif;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: 16px;
}
.access-intro .ai-body {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 2;
}

/* ============ フッター ============ */
footer {
  background: var(--ink);
  color: var(--paper);
  text-align: center;        
  padding: 40px 24px 30px;
}
footer .logos {
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.2em;
  margin-bottom: 20px;
}
footer .logos img {
 width: 24%;
 object-fit: cover;
  height: auto;
  display: inline-block;
}
footer .logos .x {
  margin: 0 18px;
  opacity: 0.6;
  font-size: 0.9rem;
}
footer .note {
  font-size: 0.72rem;
  opacity: 0.7;
  letter-spacing: 0.1em;
  line-height: 2;
}
footer .copy {
  font-size: 0.68rem;
  opacity: 0.6;
  letter-spacing: 0.15em;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* TOPへ戻るボタン（500px以上スクロールで表示） */
#pagetop {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  width: 52px;
  height: 52px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.4s var(--ease),
    visibility 0.4s var(--ease),
    transform 0.4s var(--ease);
}
#pagetop.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}
#pagetop img {
  width: 100%;
  height: 100%;
  display: block;
}
