@charset "UTF-8";

/* =========================
   Base
========================= */
:root {
  --bg: #fffdf8;
  --bg-soft: #f7f1e7;
  --bg-deep: #f0e4d2;
  --text: #2f2a24;
  --subtext: #6e6256;
  --brown: #7a4f2a;
  --brown-dark: #5b371a;
  --green: #6f8f72;
  --green-dark: #506b52;
  --line: rgba(122, 79, 42, 0.14);
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(60, 34, 13, 0.12);
  --shadow-soft: 0 10px 30px rgba(60, 34, 13, 0.08);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family:
    "Hiragino Sans",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    "Yu Gothic UI",
    "Noto Sans JP",
    sans-serif;
  line-height: 1.8;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.center {
  text-align: center;
}

.section-label {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-title {
  margin: 0 0 20px;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.3;
  font-weight: 700;
  color: var(--brown-dark);
}

.section-intro {
  max-width: 720px;
  margin: 0 auto;
  color: var(--subtext);
}

.section-heading {
  margin-bottom: 40px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.grid-2.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.section-copy p {
  margin: 0 0 16px;
  color: var(--subtext);
}

.about-image img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

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

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.82);
  color: var(--brown-dark);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

/* =========================
   Header
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
}

.site-logo {
  margin: 0;
}

.site-logo img {
  width: 220px;
  max-width: 100%;
  display: block;
}

.global-nav ul {
  display: flex;
  gap: 24px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.global-nav a {
  position: relative;
  color: var(--brown-dark);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.global-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.global-nav a:hover::after,
.global-nav a.is-current::after {
  transform: scaleX(1);
}

/* =========================
   Header（言語切替追加）
========================= */

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* JP/ENをロゴの高さに揃える */
.lang-switch-header {
  align-items: center;
}

/* 微調整（必要ならON） */
.lang-switch-header a {
  transform: translateY(-2px);
}

/* ★追加：ロゴとJP/ENの距離を自然にする */
.site-logo {
  margin-right: 24px;
}

.lang-switch-header {
  margin-left: 12px;
}

.lang-switch-header {
  display: flex;
  gap: 8px;
}

/* =========================
   Header compact on scroll
========================= */
.site-header {
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.header-inner,
.site-logo img,
.lang-switch-header a,
.global-nav a {
  transition:
    min-height 0.25s ease,
    padding 0.25s ease,
    gap 0.25s ease,
    width 0.25s ease,
    height 0.25s ease,
    font-size 0.25s ease,
    transform 0.25s ease,
    opacity 0.25s ease;
}

.site-header.is-compact .header-inner {
  min-height: 64px;
}

.site-header.is-compact .site-logo img {
  width: 180px;
}

.site-header.is-compact .global-nav a {
  font-size: 0.9rem;
}

.site-header.is-compact .lang-switch-header a {
  min-width: 40px;
  height: 30px;
  font-size: 0.72rem;
}

/* =========================
   Hero
========================= */
.hero {
  position: relative;
  min-height: calc(100vh - 86px);
  background:
    linear-gradient(rgba(50, 34, 22, 0.30), rgba(50, 34, 22, 0.48)),
    url("../img/tennai.JPG") center center / cover no-repeat;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 248, 240, 0.08) 0%, rgba(255, 248, 240, 0) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 56px;
  padding-bottom: 56px;
  color: var(--white);
}

.hero-lead-en {
  margin: 0 0 16px;
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.95;
}

.hero-title {
  margin: 0 0 20px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.22;
  font-weight: 700;
}

.hero-text {
  margin: 0;
  max-width: 640px;
  font-size: clamp(1rem, 2vw, 1.18rem);
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 42px;
}

.badge-card {
  padding: 18px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.badge-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.85rem;
  opacity: 0.88;
}

.badge-card strong {
  font-size: 1.05rem;
  line-height: 1.5;
}

/* =========================
   Highlights
========================= */
.highlights {
  background: linear-gradient(180deg, #fffdf8 0%, #faf5ee 100%);
}

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

.menu-card {
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(122, 79, 42, 0.08);
}

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

.menu-card-body {
  padding: 20px;
}

.menu-card-body h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  color: var(--brown-dark);
}

.menu-card-body p {
  margin: 0;
  color: var(--subtext);
  line-height: 1.7;
}

.section-button {
  margin-top: 32px;
}

/* =========================
   Space section
========================= */
.space-section {
  background: var(--bg-soft);
}

/* =========================
   News preview
========================= */
.news-preview {
  background: #fff;
}

.news-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(122, 79, 42, 0.08);
}

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

.news-card-body {
  padding: 20px;
}

.news-date {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 0.9rem;
  font-weight: 700;
}

.news-card h3 {
  margin: 0 0 10px;
  color: var(--brown-dark);
  font-size: 1.2rem;
}

.news-card p:last-child {
  margin-bottom: 0;
  color: var(--subtext);
}

/* =========================
   Info
========================= */
.info-section {
  background: linear-gradient(180deg, #f9f4eb 0%, #f6efe4 100%);
}

.info-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
}

.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(122, 79, 42, 0.08);
}

.info-card h3 {
  margin: 0 0 20px;
  font-size: 1.3rem;
  color: var(--brown-dark);
}

.info-list {
  margin: 0;
}

.info-list>div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.info-list>div:first-child {
  padding-top: 0;
}

.info-list>div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-list dt {
  font-weight: 700;
  color: var(--brown-dark);
}

.info-list dd {
  margin: 0;
  color: var(--subtext);
}

.info-list a {
  color: var(--green-dark);
  font-weight: 700;
}

.address-text {
  margin: 0 0 24px;
  font-size: 1.05rem;
  color: var(--subtext);
}

.map-button-wrap {
  margin-bottom: 20px;
}

.access-note {
  margin: 0;
  color: var(--subtext);
}

/* =========================
   CTA
========================= */
.contact-cta {
  background: var(--bg);
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff7ea 0%, #f4eadb 100%);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(122, 79, 42, 0.08);
}

.cta-box .section-title {
  margin-bottom: 12px;
}

.cta-text {
  margin: 0;
  color: var(--subtext);
}

/* =========================
   Footer
========================= */
.site-footer {
  padding-top: 32px;
  background: #4f3320;
  color: rgba(255, 255, 255, 0.92);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
}

.footer-logo {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-text {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.82);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-content: flex-start;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.88);
}

.copyright {
  margin: 0;
  padding: 16px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.74);
}

/* =========================
   Responsive
========================= */
@media (max-width: 1024px) {

  .hero-badges,
  .menu-cards,
  .news-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-2,
  .grid-2.reverse,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .cta-box,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .header-inner {
    min-height: auto;
    padding: 6px 0 8px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .header-top {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .site-logo {
    margin-right: 0;
    flex: 0 0 auto;
  }

  .site-logo img {
    width: 170px;
    max-width: 100%;
    display: block;
  }

  .lang-switch-header {
    margin-left: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
  }

  .lang-switch-header a {
    transform: none;
    min-width: 36px;
    height: 28px;
    padding: 0 8px;
    font-size: 0.72rem;
    opacity: 0.9;
  }

  .global-nav {
    width: 100%;
    margin-top: 0;
  }

  .global-nav ul {
    display: grid;
    grid-template-columns: repeat(6, max-content);
    justify-content: center;
    column-gap: 18px;
    row-gap: 6px;
  }

  .global-nav li:nth-child(1) {
    grid-column: 1 / span 2;
  }

  .global-nav li:nth-child(2) {
    grid-column: 3 / span 2;
  }

  .global-nav li:nth-child(3) {
    grid-column: 5 / span 2;
  }

  .global-nav li:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .global-nav li:nth-child(5) {
    grid-column: 4 / span 2;
  }

  .global-nav li {
    text-align: center;
  }

  .global-nav a {
    font-size: 0.88rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 44px;
    padding-bottom: 56px;
  }

  .hero-title br,
  .hero-text br {
    display: none;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .hero-text {
    font-size: 0.93rem;
  }

  .hero-badges,
  .menu-cards,
  .news-cards {
    grid-template-columns: 1fr;
  }

  .badge-card {
    padding: 16px;
  }

  .info-list>div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .cta-box {
    padding: 24px;
  }

 .site-header.is-compact .header-inner {
  padding: 0 0 2px;
  gap: 1px;
}

.site-header.is-compact .site-logo img {
  width: 138px;
}

.site-header.is-compact .header-top {
  gap: 6px;
}

.site-header.is-compact .global-nav {
  margin-top: -2px;
}

.site-header.is-compact .global-nav ul {
  row-gap: 2px;
  column-gap: 16px;
}

.site-header.is-compact .global-nav a {
  font-size: 0.78rem;
}

.site-header.is-compact .lang-switch-header {
  gap: 6px;
}

.site-header.is-compact .lang-switch-header a {
  min-width: 28px;
  height: 20px;
  padding: 0 5px;
  font-size: 0.58rem;
  opacity: 0.88;
}

  .site-header.is-compact .hero-inner {
    padding-top: 36px;
  }

}


@media (max-width: 480px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .btn {
    width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .site-logo img {
    width: 170px;
  }

  .lang-switch-header {
    gap: 6px;
  }

  .lang-switch-header a {
    min-width: 34px;
    height: 26px;
    padding: 0 7px;
    font-size: 0.68rem;
    opacity: 0.9;
  }
}

/* =========================
   Page hero
========================= */
.page-hero {
  padding: 96px 0 72px;
  color: var(--white);
}

.page-hero-menu {
  background:
    linear-gradient(rgba(50, 34, 22, 0.52), rgba(50, 34, 22, 0.58)),
    url("../img/menu-bg.JPG") center center / cover no-repeat;
}

.page-hero-inner {
  text-align: center;
}

.page-title {
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  line-height: 1.25;
  font-weight: 700;
}

.page-intro {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.9;
  opacity: 0.95;
}

/* =========================
   Menu page
========================= */
.menu-page-section {
  padding: 88px 0;
}

.menu-soft-bg {
  background: var(--bg-soft);
}

.menu-grid-large {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.menu-grid-sweets {
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
  margin: 0 auto;
}

.menu-item-card {
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(122, 79, 42, 0.08);
}

.menu-item-card:hover {
  transform: translateY(-4px);
  transition: 0.3s;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

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

.menu-item-card.drink-focus img {
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  object-position: center 60%;
}

/* ドリンク写真を少し明るくする */
.menu-item-card.drink-focus img {
  filter: brightness(1.05);
}

.menu-item-body {
  padding: 22px 20px 24px;
}

.menu-category {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.menu-item-body h3 {
  margin: 0 0 10px;
  color: var(--brown-dark);
  font-size: 1.22rem;
}

.menu-text {
  margin: 0;
  color: var(--subtext);
  line-height: 1.75;
}

@media (max-width: 1024px) {

  .menu-grid-large,
  .menu-grid,
  .menu-grid-sweets {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 72px 0 56px;
  }

  .page-intro br {
    display: none;
  }

  .menu-grid-large,
  .menu-grid,
  .menu-grid-sweets {
    grid-template-columns: 1fr;
  }
}

/* =========================
   News page hero
========================= */
.page-hero-news {
  background:
    linear-gradient(rgba(50, 34, 22, 0.50), rgba(50, 34, 22, 0.58)),
    url("../img/news_midashi.JPG") center center / cover no-repeat;
}

/* =========================
   News topics
========================= */
.news-topics-section {
  padding: 88px 0 72px;
  background: linear-gradient(180deg, #fffdf8 0%, #faf5ee 100%);
}

.news-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-topic-card {
  display: block;
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(122, 79, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-topic-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(60, 34, 13, 0.12);
}

.news-topic-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.news-topic-body {
  padding: 20px;
}

.news-topic-meta {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.news-topic-body h3 {
  margin: 0 0 10px;
  color: var(--brown-dark);
  font-size: 1.2rem;
}

.news-topic-body p:last-child {
  margin-bottom: 0;
  color: var(--subtext);
}

/* =========================
   News layout
========================= */
.news-articles-section {
  padding: 24px 0 96px;
  background: var(--bg);
}

.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
}

.news-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.news-article-card {
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(122, 79, 42, 0.08);
}

.news-article-image img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.news-article-body {
  padding: 32px;
}

.news-article-header {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.news-category {
  margin: 0;
  color: var(--green-dark);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.news-article-title {
  margin: 0 0 20px;
  color: var(--brown-dark);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.4;
}

.news-article-body p {
  margin: 0 0 18px;
  color: var(--subtext);
}

.news-inline-image {
  margin: 22px 0;
}

.news-inline-image img {
  width: 100%;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.news-info-box {
  margin-top: 24px;
  padding: 22px;
  border-radius: 20px;
  background: #f7f1e7;
  border: 1px solid rgba(122, 79, 42, 0.08);
}

.news-info-box h3 {
  margin: 0 0 14px;
  color: var(--brown-dark);
  font-size: 1.1rem;
}

.news-info-box ul {
  margin: 0;
  padding-left: 1.2em;
  color: var(--subtext);
}

.news-info-box li+li {
  margin-top: 8px;
}

/* =========================
   Sidebar
========================= */
.news-sidebar {
  position: sticky;
  top: 108px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  padding: 24px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(122, 79, 42, 0.08);
}

.sidebar-card h2 {
  margin: 0 0 16px;
  color: var(--brown-dark);
  font-size: 1.15rem;
}

.sidebar-link-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-link-list li+li {
  margin-top: 10px;
}

.sidebar-link-list a {
  color: var(--green-dark);
  font-weight: 700;
}

.sidebar-info-list {
  margin: 0;
}

.sidebar-info-list>div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.sidebar-info-list>div:first-child {
  padding-top: 0;
}

.sidebar-info-list>div:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.sidebar-info-list dt {
  font-weight: 700;
  color: var(--brown-dark);
}

.sidebar-info-list dd {
  margin: 0;
  color: var(--subtext);
}

.sidebar-button-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-secondary-btn {
  border: 1px solid rgba(122, 79, 42, 0.14);
}

/* =========================
   Responsive: news
========================= */
@media (max-width: 1024px) {
  .news-topic-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-layout {
    grid-template-columns: 1fr;
  }

  .news-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .news-topic-grid {
    grid-template-columns: 1fr;
  }

  .news-article-body {
    padding: 24px 20px;
  }

  .sidebar-card {
    padding: 20px;
  }

  .sidebar-info-list>div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* ニュースリンク */

.news-link {
  color: #2f6f4f;
  font-weight: 600;
  text-decoration: none;
}

.news-link:hover {
  text-decoration: underline;
}

.news-article-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

/* calendar */

.calendar-wrapper {
  max-width: 900px;
  margin: auto;
  padding: 40px 20px;
}

.calendar-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
}

.calendar-table th {
  background: #8b5a2b;
  color: white;
  padding: 10px;
  text-align: center;
}

.calendar-table td {
  height: 90px;
  border: 1px solid #eee;
  vertical-align: top;
  padding: 8px;
  font-size: 14px;
}

.calendar-table td a {
  color: #2f6f4f;
  font-weight: 600;
  text-decoration: none;
}

.calendar-table td a:hover {
  text-decoration: underline;
}

.table_calender {
  width: 28px;
  margin-top: 5px;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.calendar-legend div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.calendar-legend img {
  width: 30px;
}

.calendar-advice {
  margin-top: 10px;
  color: #666;
  font-size: 14px;
}

/* =========================
   Calendar page
========================= */

.page-hero-calendar {
  background:
    linear-gradient(rgba(50, 34, 22, 0.52), rgba(50, 34, 22, 0.58)),
    url("../img/calender_1.JPG") center center / cover no-repeat;
}

.calendar-wrapper {
  width: min(100% - 32px, 1080px);
  margin: 0 auto;
  padding: 56px 0 96px;
}

.calendar-intro-box {
  margin-bottom: 32px;
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(122, 79, 42, 0.08);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}

.calendar-intro-box p {
  margin: 0;
  color: var(--subtext);
  line-height: 1.8;
}

.calendar-legend {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.calendar-legend div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 62px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid rgba(122, 79, 42, 0.08);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  color: var(--brown-dark);
  font-weight: 700;
  text-align: center;
}

.calendar-legend img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
}

.calendar-advice {
  margin: 0 0 18px;
  color: var(--subtext);
  font-size: 0.95rem;
  line-height: 1.8;
}

.calendar-holiday {
  margin: 0 0 44px;
  padding: 16px 18px;
  background: #f7f1e7;
  border-left: 5px solid var(--green);
  border-radius: 14px;
  color: var(--brown-dark);
  font-weight: 700;
}

.calendar-month {
  margin-bottom: 44px;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid rgba(122, 79, 42, 0.08);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.calendar-month h2,
.calendar-month h3 {
  margin: 0 0 20px;
  color: var(--brown-dark);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.4;
}

.calendar-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.calendar-table {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  margin-bottom: 18px;
}

.calendar-table th {
  padding: 12px 10px;
  background: var(--brown);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.calendar-table th:first-child {
  border-top-left-radius: 16px;
}

.calendar-table th:last-child {
  border-right: none;
  border-top-right-radius: 16px;
}

.calendar-table td {
  position: relative;
  height: 120px;
  padding: 10px;
  vertical-align: top;
  background: #fffdf9;
  border-right: 1px solid #eadfce;
  border-bottom: 1px solid #eadfce;
  font-size: 0.95rem;
  line-height: 1.55;
}

.calendar-table tr td:first-child {
  border-left: 1px solid #eadfce;
}

.calendar-table tr:last-child td:first-child {
  border-bottom-left-radius: 16px;
}

.calendar-table tr:last-child td:last-child {
  border-bottom-right-radius: 16px;
}

.calendar-table td.empty {
  background: #f8f5ef;
}

.calendar-day {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2em;
  margin-bottom: 6px;
  color: var(--brown-dark);
  font-size: 1rem;
  font-weight: 700;
}

.calendar-event-link,
.calendar-event-text {
  display: block;
  margin-top: 2px;
  font-size: 0.88rem;
  line-height: 1.55;
  word-break: break-word;
}

.calendar-event-link {
  color: #2f6f4f;
  font-weight: 700;
  text-decoration: none;
}

.calendar-event-link:hover {
  text-decoration: underline;
}

.calendar-event-text {
  color: var(--subtext);
  font-weight: 700;
}

.table_calender {
  display: inline-block;
  width: 28px;
  height: 28px;
  margin-top: 8px;
  object-fit: contain;
  vertical-align: middle;
}

.calendar-summary {
  margin-top: 14px;
  padding: 16px 18px;
  background: #f9f4eb;
  border-radius: 16px;
  color: var(--subtext);
  line-height: 1.8;
}

.calendar-summary a {
  color: #2f6f4f;
  font-weight: 700;
  text-decoration: none;
}

.calendar-summary a:hover {
  text-decoration: underline;
}

/* event type colors */
.is-live {
  background: #fff6ec !important;
}

.is-reading {
  background: #eef8ee !important;
}

.is-philosophy {
  background: #eef5ff !important;
}

.is-event {
  background: #fff2f0 !important;
}

.is-holiday {
  background: #f2f2f2 !important;
}

/* optional today's highlight */
.is-today {
  box-shadow: inset 0 0 0 2px #d98b2b;
}

/* Responsive */
@media (max-width: 1024px) {
  .calendar-legend {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .calendar-wrapper {
    width: min(100% - 24px, 1080px);
    padding: 40px 0 72px;
  }

  .calendar-legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .calendar-month {
    padding: 22px 16px;
    border-radius: 22px;
  }

  .calendar-table td {
    height: 108px;
    padding: 8px;
    font-size: 0.88rem;
  }

  .calendar-event-link,
  .calendar-event-text {
    font-size: 0.82rem;
  }
}

@media (max-width: 480px) {
  .calendar-legend {
    grid-template-columns: 1fr;
  }

  .calendar-intro-box,
  .calendar-month {
    padding: 18px 14px;
  }

  .calendar-holiday,
  .calendar-summary {
    padding: 14px;
  }
}

/* =========================
   Navigation hover upgrade
========================= */

.global-nav a {
  position: relative;
  transition: transform 0.2s ease, color 0.2s ease;
  letter-spacing: 0.05em;
}

.global-nav a:hover {
  transform: translateY(-2px);
  color: var(--green-dark);
}

.global-nav a::after {
  height: 3px;
  border-radius: 2px;
  transition: transform 0.25s ease;
}

/* =========================
   Contact page hero
========================= */
.page-hero-contact {
  background:
    linear-gradient(rgba(50, 34, 22, 0.50), rgba(50, 34, 22, 0.58)),
    url("../img/contact-bg.JPG") center center / cover no-repeat;
}

/* =========================
   Contact page
========================= */
.contact-page-section {
  background: linear-gradient(180deg, #fffdf8 0%, #faf5ee 100%);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(122, 79, 42, 0.08);
}

.contact-alert {
  margin-bottom: 24px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff1ee;
  border: 1px solid rgba(180, 72, 45, 0.16);
  color: #9a3d22;
  line-height: 1.7;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--brown-dark);
}

.form-input,
.form-textarea {
  width: 100%;
  border: 1px solid rgba(122, 79, 42, 0.18);
  border-radius: 16px;
  background: #fffdfa;
  color: var(--text);
  font: inherit;
  padding: 14px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input {
  min-height: 52px;
}

.form-textarea {
  min-height: 220px;
  resize: vertical;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(111, 143, 114, 0.12);
}

.contact-submit-btn {
  width: fit-content;
}

.contact-info-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-confirm-box,
.contact-complete-box {
  padding: 8px 0 0;
}

.confirm-row {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.confirm-row:first-child {
  padding-top: 0;
}

.confirm-row:last-of-type {
  margin-bottom: 28px;
}

.confirm-row h3 {
  margin: 0 0 10px;
  color: var(--brown-dark);
  font-size: 1rem;
}

.confirm-row p {
  margin: 0;
  color: var(--subtext);
  line-height: 1.9;
}

.contact-confirm-actions,
.contact-complete-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.contact-map-section {
  background: var(--bg-soft);
}

.contact-map-card {
  overflow: hidden;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(122, 79, 42, 0.08);
}

.contact-map-card iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}

@media (max-width: 1024px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-form-card {
    padding: 24px;
  }

  .contact-submit-btn {
    width: 100%;
  }

  .contact-confirm-actions,
  .contact-complete-actions {
    flex-direction: column;
  }

  .contact-map-card iframe {
    min-height: 340px;
  }
}

/* =========================
   Calendar icon adjustment
========================= */

.calendar-icon-wrap {
  margin-top: 10px;
}

.table_calender {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
}

.calendar-event-text,
.calendar-event-link {
  display: block;
  margin-top: 6px;
  line-height: 1.5;
}

/* =========================
   Weekend calendar layout
   Paste this at the END of home-renew.css
========================= */

.weekend-calendar {
  width: min(100% - 32px, 1200px);
  margin: 0 auto;
  padding: 56px 0 96px;
}

.weekend-calendar .calendar-intro-box {
  margin-bottom: 32px;
}

.weekend-calendar .calendar-legend {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.weekend-calendar .calendar-legend div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 62px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid rgba(122, 79, 42, 0.08);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  color: var(--brown-dark);
  font-weight: 700;
  text-align: center;
}

.weekend-calendar .calendar-legend img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
}

.weekend-calendar .calendar-advice {
  margin: 0 0 18px;
  color: var(--subtext);
  font-size: 0.95rem;
  line-height: 1.8;
}

.weekend-calendar .calendar-holiday {
  margin: 0 0 44px;
  padding: 16px 18px;
  background: #f7f1e7;
  border-left: 5px solid var(--green);
  border-radius: 14px;
  color: var(--brown-dark);
  font-weight: 700;
}

.calendar-month-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.weekend-month {
  margin-bottom: 0;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid rgba(122, 79, 42, 0.08);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.weekend-month h2,
.weekend-month h3 {
  margin: 0 0 20px;
  color: var(--brown-dark);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.4;
}

.weekend-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  margin-bottom: 18px;
}

.weekend-table th {
  padding: 14px 10px;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

.weekend-table th.weekend-sat {
  background: #9a6a42;
  border-top-left-radius: 18px;
}

.weekend-table th.weekend-sun {
  background: #6f4423;
  border-top-right-radius: 18px;
}

.weekend-table td {
  position: relative;
  height: 156px;
  padding: 12px;
  vertical-align: top;
  background: #fffdf9;
  border-right: 1px solid #eadfce;
  border-bottom: 1px solid #eadfce;
  font-size: 0.95rem;
  line-height: 1.6;
}

.weekend-table tr td:first-child {
  border-left: 1px solid #eadfce;
}

.weekend-table tr:last-child td:first-child {
  border-bottom-left-radius: 18px;
}

.weekend-table tr:last-child td:last-child {
  border-bottom-right-radius: 18px;
}

.weekend-table td.empty {
  background: #f8f5ef;
}

.weekend-table .calendar-day {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2em;
  margin-bottom: 8px;
  color: var(--brown-dark);
  font-size: 1.05rem;
  font-weight: 700;
}

.weekend-table .calendar-event-link,
.weekend-table .calendar-event-text {
  display: block;
  margin-top: 2px;
  font-size: 0.92rem;
  line-height: 1.65;
  word-break: break-word;
}

.weekend-table .calendar-event-link {
  color: #2f6f4f;
  font-weight: 700;
  text-decoration: none;
}

.weekend-table .calendar-event-link:hover {
  text-decoration: underline;
}

.weekend-table .calendar-event-text {
  color: var(--subtext);
  font-weight: 700;
}

.weekend-table .table_calender {
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-top: 10px;
  object-fit: contain;
  vertical-align: middle;
}

.weekend-table .calendar-icon-wrap {
  margin-top: 2px;
}

.weekend-calendar .calendar-summary {
  margin-top: 14px;
  padding: 16px 18px;
  background: #f9f4eb;
  border-radius: 16px;
  color: var(--subtext);
  line-height: 1.8;
}

.weekend-calendar .calendar-summary a {
  color: #2f6f4f;
  font-weight: 700;
  text-decoration: none;
}

.weekend-calendar .calendar-summary a:hover {
  text-decoration: underline;
}

/* event colors */
.weekend-table td.is-live {
  background: #fff6ec !important;
}

.weekend-table td.is-reading {
  background: #eef8ee !important;
}

.weekend-table td.is-philosophy {
  background: #eef5ff !important;
}

.weekend-table td.is-event {
  background: #fff2f0 !important;
}

.weekend-table td.is-closed {
  background: #f3efe8 !important;
}

@media (max-width: 1024px) {
  .calendar-month-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .weekend-calendar {
    width: min(100% - 24px, 100%);
    padding: 32px 0 56px;
  }

  .weekend-calendar .calendar-legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .weekend-month {
    padding: 22px 16px;
    border-radius: 22px;
  }

  .weekend-table th {
    padding: 12px 8px;
    font-size: 0.95rem;
  }

  .weekend-table td {
    height: 140px;
    padding: 10px;
  }

  .weekend-table .calendar-event-link,
  .weekend-table .calendar-event-text {
    font-size: 0.88rem;
    line-height: 1.55;
  }
}

@media (max-width: 480px) {
  .weekend-calendar .calendar-legend {
    grid-template-columns: 1fr;
  }

  .weekend-table td {
    height: 132px;
  }

  .weekend-table .table_calender {
    width: 26px;
    height: 26px;
  }
}


/* =========================
   Language Switch
========================= */
.lang-switch {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(122, 79, 42, 0.16);
  background: rgba(255, 255, 255, 0.82);
  color: var(--brown-dark);
  font-size: 0.9rem;
  font-weight: 700;
  transition: 0.2s ease;
}

.lang-switch a:hover,
.lang-switch a.is-current {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.header-tools {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.header-tools .global-nav ul {
  justify-content: flex-end;
}

.language-note {
  color: var(--subtext);
  font-size: 0.95rem;
  margin-top: 12px;
}

@media (max-width: 768px) {
  .header-tools {
    width: 100%;
    align-items: flex-start;
  }

  .lang-switch {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

/* スマホ */
@media (max-width: 768px) {
  .global-nav {
    margin-top: -8px;
  }

  .global-nav ul {
    row-gap: 4px;
  }
}

.site-logo img {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* スクロール前だけ余白を広げる */
.site-header:not(.is-compact) .global-nav {
  margin-top: 6px;
}

/* JP EN を控えめに */
.lang-switch-header a {
  min-width: 34px;
  height: 26px;
  padding: 0 8px;
  font-size: 0.68rem;
  opacity: 0.85;
  font-weight: 700; 
}

.lang-switch-header a:not(.is-current) {
  opacity: 0.6;
}

.menu-item-card img {
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.menu-item-card:hover img {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .lang-switch-header a {
    min-width: 36px;
    height: 28px;
    padding: 0 8px;
    font-size: 0.72rem;
  }
}

@media (max-width: 480px) {
  .lang-switch-header a {
    min-width: 34px;
    height: 26px;
    padding: 0 7px;
    font-size: 0.68rem;
  }
}

/* =========================
   lang-switch-header final
========================= */
.lang-switch-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 0;
  flex-shrink: 0;
}

.lang-switch-header a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(122, 79, 42, 0.16);
  background: rgba(255, 255, 255, 0.92);
  color: var(--brown-dark);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.85;
  transform: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.lang-switch-header a.is-current {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
  opacity: 1;
}

.lang-switch-header a:not(.is-current) {
  opacity: 0.6;
}

@media (max-width: 768px) {
  .lang-switch-header a {
    min-width: 36px;
    height: 28px;
    padding: 0 8px;
    font-size: 0.72rem;
  }
}

@media (max-width: 480px) {
  .lang-switch-header a {
    min-width: 34px;
    height: 26px;
    padding: 0 7px;
    font-size: 0.68rem;
  }
}

/* ===== language switch final fix ===== */
.lang-switch.lang-switch-header a,
.lang-switch-header a {
  background: rgba(255, 255, 255, 0.92) !important;
  color: var(--brown-dark) !important;
  border: 1px solid rgba(122, 79, 42, 0.16) !important;
  opacity: 0.6 !important;
}

.lang-switch.lang-switch-header a.is-current,
.lang-switch-header a.is-current {
  background: var(--green) !important;
  color: var(--white) !important;
  border-color: var(--green) !important;
  opacity: 1 !important;
}

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

.news-card-link:hover .news-card,
.news-card-link:focus .news-card {
  transform: translateY(-2px);
  transition: 0.25s ease;
}