@charset "UTF-8";

/* ==========================================================
   茶寮 凛 / Front Page

   編集ガイド
   - PC最大幅: 1200px
   - SP切替: 767px以下
   - 色・フォント: typo.css のカスタムプロパティを使用
   - セクション順に上から並べています
========================================================== */

/* ==========================================================
   01. 共通レイアウト
========================================================== */
.rin-main {
  overflow: hidden;
  background: #fff;
}

.rin-section {
  width: min(100%,1200px);
  margin-inline: auto;
  padding: 28px 22px;
}

/* PCセクションタイトル */
.rin-section-title {
  font-size: 24px;
  text-align: left;
}

/* ==========================================================
   02. FV / HERO
========================================================== */
.hero {
  width: min(100%,1200px);
  height: min(500px,calc(100vh - 56px));
  min-height: 440px;
  margin: auto;
  display: grid;
  grid-template-columns: 70% 15% 15%;
}

.hero-photo, .hero-photo video {
  width: 100%;
  height: 100%;
}

.hero-photo video {
  display: block;
  object-fit: cover;
}

.hero-copy {
  position: relative;
  color: #fff;
  font-family: var(--rin-font-heading);
  font-size: clamp(24px,2.4vw,34px);
  line-height: 1.65;
  letter-spacing: 1.5px;
}

.hero-copy p {
  position: absolute;
  top: 50px;
  margin: 0;
  writing-mode: vertical-rl;
}

.hero-copy--matcha p {
  left: 70%;
  transform: translateX(-50%);
}

.hero-copy--hojicha p {
  left: 5px;
}

.hero-copy--matcha {
  background: #78ac46;
}

.hero-copy--hojicha {
  background: #9c5e52;
}

.hero-sp-copy {
  display: none;
}

/* ==========================================================
   03. HISTORY
========================================================== */
.story {
  padding: 28px 0 0;
}

.story .rin-section-title {
  padding-inline: 22px;
}

.story-grid {
  position: relative;
  height: 450px;
  display: grid;
  grid-template-columns: minmax(0, 70%) minmax(280px, 30%);
  align-items: stretch;
  background: var(--rin-cream) url("https://sagesse-de-lune.com/wp-content/uploads/2026/08/story_bg.webp") center/cover;
  overflow: hidden;
}

.story-grid::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: rgba(255, 255, 255, .45);
  pointer-events: none;
}

.story-grid > * {
  position: relative;
  z-index: 1;
}

.story-text {
  order: 1;
  width: max-content;
  max-width: 100%;
  height: 450px;
  min-width: 0;
  margin-inline: auto;
  padding: 24px 5%;
  display: block;
  justify-self: center;
  writing-mode: vertical-rl;
  font-size: 16px;
  line-height: 2;
  overflow: hidden;
}

.story-text p {
  margin-left: 24px;
}

.story-text .story-lead {
  font-size: 16.8px;
}

.story-photos {
  order: 2;
  min-width: 0;
  height: 450px;
  display: grid;
  grid-template-rows: 1fr 1fr;
  overflow: hidden;
}

.story-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ==========================================================
   04. 店内プレビュー / GALLERY
========================================================== */
.rin-section--matcha {
  color: #fff;
  background: var(--rin-matcha);
}

.gallery {
  margin-top: 0;
}

.rin-section--matcha h2 {
  color: #fff;
}

.gallery-carousel {
  position: relative;
}

.gallery-main {
  position: relative;
  display: block;
  color: var(--rin-text);
  text-decoration: none;
  overflow: hidden;
}

.gallery-main img {
  display: block;
  width: 100%;
  aspect-ratio: 16/8;
  object-fit: cover;
  transition: opacity 300ms ease;
}

.gallery-main.is-changing img {
  opacity: .3;
}

.gallery-main .gallery-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 6px 18px;
  background: rgba(240,237,230,.67);
  font-size: 12.8px;
  line-height: 1.5;
  text-align: center;
}

.gallery-thumbnails {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 8px;
}

.gallery-thumbnails button {
  padding: 0;
  border: 2px solid transparent;
  background: none;
  cursor: pointer;
  overflow: hidden;
}

.gallery-thumbnails button.is-active {
  border-color: var(--rin-gold);
}

.gallery-thumbnails img {
  display: block;
  width: 100%;
  aspect-ratio: 16/6;
  object-fit: cover;
}

.gallery-indicators {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.gallery-indicators button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.gallery-indicators button[aria-current="true"] {
  background: #fff;
}

/* ==========================================================
   04. お品書き / MENU
========================================================== */
.menu {
  background: var(--rin-cream) url("https://sagesse-de-lune.com/wp-content/uploads/2026/08/menu_bg-2.webp") center/cover;
}

.menu-tabs {
  display: none;
}

.menu-category + .menu-category {
  margin-top: 18px;
}

.menu-category h3 {
  margin-bottom: 12px;
  padding: 5px 15px;
  background: linear-gradient(90deg,#eedb89,#f7efc8,#e7cd69);
  font-family: var(--rin-font-body);
  font-size: 14.4px;
  text-align: center;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 8px;
}

.menu-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.menu-card p {
  padding: 5px 3px;
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
}

.menu-card p span, .menu-card p strong, .menu-card p small {
  display: block;
}

.menu-card p strong {
  font-weight: 500;
}

.menu-card p small {
  font-size: 14px;
}

.menu-note {
  margin-top: 4px;
  text-align: center;
}

/* ==========================================================
   06. 価格・営業カレンダー
========================================================== */
.price-calendar-grid {
  display: grid;
  grid-template-columns: 22% 46% 32%;
  min-height: 395px;
  gap: 6px;
}

.price-box, .calendar-box {
  display: grid;
  place-content: center;
  padding: 20px;
  text-align: center;
  border: 1px solid var(--rin-gold);
  border-radius: 10px;
}

.price-calendar-grid > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.price-box__copy {
  text-align: left;
}

.calendar-box {
  place-content: stretch;
  padding: 0;
  overflow: hidden;
}

.calendar-box iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  border: 0;
}

/* ==========================================================
   07. ワークショップ・物販
========================================================== */
.experience-heading {
  width: min(100%,1200px);
  margin-inline: auto;
  padding: 15px 22px 10px;
}

.experience-heading.is-workshop {
  background: color-mix(in srgb,var(--rin-hojicha) 50%,white);
}

.experience-heading.is-shop {
  background: color-mix(in srgb,var(--rin-matcha) 50%,white);
}

.experience-title {
  margin: 0 0 10px;
  font-size: 24px;
  text-align: left;
}

.experience-switcher {
  width: 300px;
  height: 42px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  background: #fff;
  border: 2px solid #fff;
  border-radius: 12px;
}

.experience-switcher button {
  padding: 3px 10px;
  color: var(--rin-text);
  background: #fff;
  border: 0;
  cursor: pointer;
}

.experience-switcher button[aria-selected="true"] {
  color: #fff;
  background: var(--rin-matcha);
}

.experience {
  position: relative;
  padding-top: 0;
}

.experience[hidden] {
  display: none;
}

.experience--workshop {
  background: color-mix(in srgb,var(--rin-hojicha) 50%,white);
}

.experience--shop {
  background: color-mix(in srgb,var(--rin-matcha) 50%,white);
}

.experience-grid {
  display: grid;
  grid-template-columns: 52% 48%;
  gap: 12px;
}

.experience-grid > img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.workshop-banner {
  width: 100%;
}

.voice-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.voice-grid img {
  width: 100%;
}

.shop-grid {
  display: grid;
  grid-template-columns: 58% 42%;
  gap: 15px;
}

.shop-hero img {
  width: 100%;
  height: 525px;
  object-fit: cover;
}

.shop-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.shop-products figure {
  margin: 0;
}

.shop-products img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.shop-products figcaption {
  font-size: 12px;
  text-align: center;
}

.shop-products > p {
  grid-column: 1/-1;
  font-size: 18.4px;
  line-height: 1.75;
}

/* ==========================================================
   08. FAQ
========================================================== */
.faq {
  max-width: 1200px;
}

.faq-list {
  width: min(100%, 1040px);
  margin-inline: auto;
}

.faq-item {
  margin-bottom: 10px;
  border: 2px solid;
  border-radius: 10px;
  overflow: hidden;
}

.faq-item.is-matcha {
  border-color: var(--rin-matcha);
}

.faq-item.is-hojicha {
  border-color: var(--rin-hojicha);
}

.faq-item h3 {
  font-family: var(--rin-font-body);
  font-size: 18.4px;
}

.faq-item button {
  width: 100%;
  padding: 5px 12px 5px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--rin-text);
  background: #fff;
  border: 0;
  text-align: left;
}

.faq-item i {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 9px;
  position: relative;
  background: var(--rin-matcha);
}

.faq-item.is-hojicha i {
  background: var(--rin-hojicha);
}

.faq-item i::before, .faq-item i::after {
  content:"";
  position:absolute;
  top:13px;
  width:9px;
  height:2px;
  background:#fff;
}

.faq-item i::before {
  left:6px;
  transform:rotate(45deg);
}
.faq-item i::after {
  right:6px;
  transform:rotate(-45deg);
}

.faq-item button[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 4px 24px 8px;
  border-top: 1px solid currentColor;
}

/* ==========================================================
   09. ACCESS / CONTACT
========================================================== */
.access {
  padding-inline: 22px;
}

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 20px;
}

.access-info {
  height: 420px;
  display: grid;
  grid-template-rows: auto 1fr;
  text-align: center;
  border: 2px solid var(--rin-matcha);
  border-radius: 10px;
  overflow: hidden;
}

.access-info > div:first-child {
  padding: 14px;
}

.access-info h3 {
  font-weight: 700;
}

.access-info > img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.access-grid > iframe {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: 10px;
}

/* ==========================================================
   10. 追従CTA
========================================================== */
.floating-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999990;
  width: min(320px,calc(100vw - 48px));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 250ms ease,visibility 250ms ease,transform 250ms ease;
}

.floating-cta.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-cta__link {
  padding: 13px 16px 14px 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "small arrow" "label arrow";
  align-items: center;
  column-gap: 13px;
  color: var(--rin-text);
  background: color-mix(in srgb,var(--rin-matcha) 60%,white);
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(35,24,20,.26);
  text-decoration: none;
}

.floating-cta__small {
  grid-area: small;
  font-size: 11.52px;
  line-height: 1.3;
  letter-spacing: 1.92px;
  opacity: .78;
}

.floating-cta__label {
  grid-area: label;
  font-size: 15.68px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .96px;
}

.floating-cta__arrow {
  grid-area: arrow;
  font-family: serif;
  font-size: 28.8px;
  line-height: 1;
}

@media (hover: hover) and (pointer: fine) {
  .floating-cta__link:hover {
    color: var(--rin-text);
    background: color-mix(in srgb,var(--rin-matcha) 70%,white);
    transform: translateY(-2px);
  }
}

/* ==========================================================
   11. LIGHTBOX
========================================================== */
.lightbox {
  position: fixed;
  z-index: 200;
  inset: 0;
  padding: 5vw;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.88);
}

.lightbox[hidden] {
  display: none;
}

.lightbox figure {
  max-width: min(100%,1000px);
  margin: 0;
  color: #fff;
  text-align: center;
}

.lightbox img {
  display: block;
  max-width: 100%;
  max-height: 85vh;
  margin: auto;
}

.lightbox figcaption {
  padding-top: 10px;
  font-size: 14.4px;
  line-height: 1.6;
}

.lightbox button {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #fff;
  background: none;
  border: 0;
  font: 40px Arial;
}

/* ==========================================================
   12. SPレイアウト（767px以下）
========================================================== */
@media (max-width: 767px) {
  body.rin-lp-page {
  padding-bottom: 58px;
}

  .rin-main {
  width: min(100%,390px);
  margin: auto;
}

	.rin-section {
  padding: 18px 10px;
}

	.rin-section-title {
  margin-bottom: 8px;
  font-size: 19.2px;
  font-weight: 700;
  text-align: center;
}

	.hero {
  width: 100%;
  height: auto;
  min-height: 0;
  display: block;
}

	.hero-photo {
  height: 400px;
}

	.hero-copy {
  display: none;
}

	.hero-sp-copy {
  display: grid;
  color:#fff;
  text-align:center;
}

	.hero-sp-copy span {
  padding: 2px;
  background: var(--rin-hojicha);
}

	.hero-sp-copy strong {
  padding: 2px;
  background: var(--rin-matcha);
  font-weight: 400;
}

.story-lead {
  font-size: 14.4px;
}

	.story .rin-section-title {
  padding: 0 10px;
}

	.story-grid {
  height: auto;
  min-height: 0;
  display: block;
  overflow: visible;
}

	.story-text {
  width: 94%;
  height: 350px;
  margin: 12.8px auto;
  padding: 12px 7px 4px;
  font-size: 14.4px;
  line-height: 1.85;
  overflow-x: auto;
}

	.story-text p {
  margin: 0 12.8px;
}

	.story-photos {
  height: 140px;
  margin-top: -8px;
  grid-template: 140px / 1fr 1fr;
}

	.experience-heading {
  padding: 15px 10px 10px;
}

	.experience-title {
  margin: 0 0 10px;
  font-size: 19.2px;
  font-weight: 700;
  text-align: center;
}

	.experience-switcher {
  width: 210px;
  height: 34px;
  margin: 0 auto;
}

	.experience-switcher button {
  padding: 3px 4px;
  font-size: 9.92px;
}

	.gallery-main img {
  aspect-ratio: 4/3;
}

	.gallery-main .gallery-caption {
  padding: 4px 10px;
  font-size: 9.92px;
}

	.gallery-thumbnails img {
  aspect-ratio: 4/2;
}

	.menu-tabs {
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

	.menu-tabs button {
  min-height: 34px;
  padding: 4px 3px;
  color: var(--rin-text);
  background: rgba(255,255,255,.72);
  border: 1px solid var(--rin-hojicha);
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.25;
}

	.menu-tabs button[aria-selected="true"] {
  color: #fff;
  background: var(--rin-matcha);
  border-color: var(--rin-matcha);
}

	.menu-category {
  display: none;
}

	.menu-category.is-active {
  display: block;
}

	.menu-category + .menu-category {
  margin-top: 0;
}

	.menu-category h3 {
  display: none;
}

	.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  overflow: visible;
}

	.menu-card {
  min-width: 0;
	  width: 100%;
}

	.menu-card p {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
  display: block;
  align-self: stretch;
  box-sizing: border-box;
  font-size: 9.6px;
}

	.menu-card p small {
  font-size: 9.6px;
}

	.menu-note {
  font-size: 11.2px;
}

	.price-calendar-grid {
  grid-template-columns: 1fr;
  min-height: 0;
  gap: 4px;
}

	.price-box {
  min-height: 64px;
  padding: 8px;
  border: 0;
  border-radius: 0;
  background: color-mix(in srgb,var(--rin-matcha) 60%,white);
}

	.price-box h3 {
  font-size: 16px;
}

	.price-box p {
  display: block;
}

	.price-calendar-grid > img {
  display: block;
  height: auto;
}

	.calendar-box {
  grid-column: 1;
  min-height: 200px;
  border: 0;
  border-radius: 0;
  background: #ddd;
}

	.experience-grid {
  display: flex;
  flex-direction: column;
}

	.experience-grid > img {
  height: auto;
}

	.workshop-banner {
  margin-top: -8px;
}

	.voice-grid {
  display: none;
}

	.shop-grid {
  display: block;
}

	.shop-hero img {
  height: auto;
}

	.shop-products {
  margin-top: 3px;
}

	.shop-products figcaption {
  font-size: 12.5px;
}

	.shop-products > p {
  order: -1;
  padding: 0 12px;
  background: rgba(255,255,255,.48);
  font-size: 12.5px;
}

	.faq-item {
  margin-bottom: 0;
  border-width: 0 0 1px;
  border-radius: 0;
}

	.faq-item h3 {
  font-size: 18px;
}

	.faq-item button {
  min-height: 48px;
  padding: 8px 12px 8px 24px;
}

	.faq-item i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

	.faq-item i::before,.faq-item i::after {
  top:9px;
  width:7px;
}

	.faq-item i::before {
  left:4px;
}
.faq-item i::after {
  right:4px;
}

	.faq-answer {
  padding: 6px 21px 12px;
  font-size: 16px;
}

	.access {
  padding: 0;
  background: color-mix(in srgb,var(--rin-hojicha) 50%,white);
}

	.access .rin-section-title {
  padding-top: 12px;
}

	.access-grid {
  display: flex;
  flex-direction: column;
}

	.access-info {
  height: auto;
  border: 0;
  border-radius: 0;
}

	.access-info > img {
  order: -1;
  height: auto;
  margin: 0 20px;
  width: calc(100% - 40px);
}

	.access-grid > iframe {
  display: block;
  height: 300px;
  min-height: 0;
  border-radius: 0;
}

	.floating-cta {
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
}

	.floating-cta__link {
  min-height: 58px;
  padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
}

	.floating-cta__small {
  display: none;
}

	.floating-cta__label {
  font-size: 15.2px;
}

	.floating-cta__arrow {
  font-size: 24px;
}

}

/* 動きを減らす設定を利用しているユーザー向け */
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after {
  scroll-behavior:auto!important;
  transition:none!important;
}

}
