/* ========================================
   こゆるり神社 - スタイルシート
   Author: WEBDESIGNBUILD
======================================== */

:root {
  --color-bg: #FAF7F2;
  --color-bg-warm: #F5EDE3;
  --color-bg-section: #FDF9F4;
  --color-text: #5C4D3C;
  --color-text-light: #8B7B68;
  --color-accent: #C4A882;
  --color-accent-dark: #A68B5B;
  --color-white: #FFFFFF;
  --color-border: #E8DFD3;
  --font-serif: 'Noto Serif JP', serif;
  --font-round: 'Zen Maru Gothic', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-serif);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.9;
  font-size: 15px;
  font-weight: 300;
}

ul{
	margin-left: 36px;
}


/* ========================================
   Header
======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(10px);
  padding: 16px 24px;
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--color-text);
}

.logo-icon {
  width: 42px;
  height: 320x;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon img {
  width: 100%;
  height: 100%;
}

.logo-text {
  font-family: var(--font-round);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

/* ========================================
   Hero Section
======================================== */
.hero {
  padding-top: 80px;
  background: linear-gradient(to bottom, var(--color-bg-warm), var(--color-bg));
}

#sub .hero {
    padding-top: 80px;
    background: linear-gradient(to bottom, #c4a882, var(--color-bg));
}

.hero-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 24px;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-round);
  font-size: 11px;
  font-weight: 400;
  padding: 8px 16px;
  border-radius: 4px;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.hero-image {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--color-bg-warm);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: 0 8px 32px rgba(92, 77, 60, 0.1);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

/* ========================================
   Main Content
======================================== */
.main {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Title */
.section-title {
  text-align: center;
  padding: 60px 0 40px;
}

.section-title h2 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--color-text);
  position: relative;
  display: inline-block;
}

.section-title h2::before,
.section-title h2::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 24px;
  height: 1px;
  background: var(--color-accent);
}

.section-title h2::before {
  right: calc(100% + 16px);
}

.section-title h2::after {
  left: calc(100% + 16px);
}

/* Article Content */
.article-content {
  padding-bottom: 48px;
}

.article-content p {
  margin-bottom: 1.5em;
  text-align: justify;
  font-feature-settings: "palt";
}

.article-content p:last-child {
  margin-bottom: 0;
}

/* Photo Section */
.photo-section {
  padding: 32px 0;
}

.photo-frame {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 16px;
  box-shadow: 0 4px 16px rgba(92, 77, 60, 0.06);
}

.photo-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--color-bg-warm) 0%, var(--color-bg) 100%);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-family: var(--font-round);
  font-size: 14px;
}

.photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}

/* Divider */
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-border), transparent);
  margin: 40px 0;
}

/* Info Box */
.info-box {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 32px 24px;
  margin: 32px 0;
}

.info-box-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 24px;
  color: var(--color-text);
  letter-spacing: 0.08em;
}

.info-box ul {
  list-style: none;
}

.info-box li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  font-size: 14px;
}

.info-box li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

/* Subsection */
.subsection {
  background: var(--color-bg-section);
  border-radius: 8px;
  padding: 40px 24px;
  margin: 48px 0;
}

.subsection-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 32px;
  letter-spacing: 0.1em;
  position: relative;
}

.subsection-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-accent);
  margin: 16px auto 0;
}

/* ========================================
   Footer
======================================== */
.footer {
  background: var(--color-bg-warm);
  padding: 48px 24px;
  margin-top: 80px;
  text-align: center;
  border-top: 1px solid var(--color-border);
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.footer-logo img {
  width: 42px;
  height: 30px;
}

.footer-logo span {
  font-family: var(--font-round);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.footer-info {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 2;
}
.footer-info a{
  color: var(--color-text-light);
}

.footer-copyright {
  margin-top: 32px;
  font-size: 11px;
  color: var(--color-text-light);
}

/* ========================================
   Photo Slider (Full Width)
======================================== */
.photo-slider-section {
  padding: 60px 0;
  background: var(--color-bg-warm);
  margin: 0;
  width: 100%;
}

.photo-slider-title {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-light);
  margin-bottom: 24px;
  letter-spacing: 0.1em;
}

.photo-swiper {
  width: 100%;
  padding-bottom: 48px;
}

.photo-swiper .swiper-slide {
  width: 320px;
  height: 220px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-swiper .swiper-slide:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(92, 77, 60, 0.15);
}

.photo-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-swiper .swiper-pagination-bullet {
  background: var(--color-accent);
  opacity: 0.4;
}

.photo-swiper .swiper-pagination-bullet-active {
  opacity: 1;
}

@media (min-width: 768px) {
  .photo-swiper .swiper-slide {
    width: 400px;
    height: 280px;
  }
}

/* ========================================
   Lightbox
======================================== */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close::before,
.lightbox-close::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: #fff;
}

.lightbox-close::before {
  transform: rotate(45deg);
}

.lightbox-close::after {
  transform: rotate(-45deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
  left: -70px;
}

.lightbox-next {
  right: -70px;
}

.lightbox-nav svg {
  width: 24px;
  height: 24px;
  stroke: #fff;
  stroke-width: 2;
  fill: none;
}

.lightbox-counter {
  position: absolute;
  bottom: -36px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-round);
  font-size: 13px;
}

@media (max-width: 768px) {
  .lightbox-nav {
    display: none;
  }
  
  .photo-swiper .swiper-slide {
    width: 280px;
    height: 190px;
  }
}

/* ========================================
   Animations
======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.8s ease-out forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* ========================================
   Responsive
======================================== */
@media (min-width: 768px) {
  body {
    font-size: 16px;
  }

  .hero-title {
    font-size: 36px;
  }

  .section-title h2 {
    font-size: 24px;
  }

  .main {
    padding: 0 40px;
  }

  .subsection {
    padding: 48px 40px;
  }
}

.footer-link{
	margin-bottom:1em;
}
.footer-link,
.footer-link a ,
.footer-link a:hover{
	    color: #8b7b68;
    font-size: 12px;
}




/* 授与品セクション */
.gift-section {
  max-width: 1100px;
  margin: 0 auto 80px;
  padding: 0 20px;
}

.gift-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.gift-item {
  text-align: center;
}
.gift-image{
	background-color: #ffffff;
}
.gift-image img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  margin: 0 auto 16px;
}

.gift-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.gift-price {
  font-size: 0.95rem;
  color: #555;
}

/* スマホ表示：縦並び */
@media (max-width: 768px) {
  .gift-grid {
    grid-template-columns: 1fr;
  }
}