
body {
  margin: 0;
  background-color: #E2D7C9;
  color: #333;
font-family:
    "Noto Serif JP",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;
}


/* トップページ */
/* ヘッダー */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: rgba(52,72,58,0.7);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  box-sizing: border-box;
  z-index: 100;
}

/* フッター */
.site-footer {
background-color: #34483A;
color: #E2D7C9;
text-align: center;
margin-top: 80px;
}

.footer-inner {
max-width: 1100px;
margin: 0 auto;
padding: 70px 20px 50px;
}

/* フッターの電話番号 */
.footer-phone {
  color: #E2D7C9;
  text-decoration: none;
}

/* ロゴ */
.footer-logo img {
width: 90px;
height: auto;
display: block;
margin: 0 auto 20px;
}

/* 寺院名 */
.footer-temple-name p {
margin: 0;
font-size: 24px;
letter-spacing: 0.12em;
}

.footer-temple-name span {
display: block;
margin-top: 8px;
font-size: 14px;
letter-spacing: 0.12em;
}

/* 霧の寺 */
.footer-catch {
margin: 28px 0 40px;
font-size: 14px;
letter-spacing: 0.2em;
}

/* メニュー */
.footer-nav {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 10px 24px;
margin-bottom: 45px;
}

.footer-nav a {
color: #E2D7C9;
text-decoration: none;
font-size: 14px;
}

/* 住所・電話 */
.footer-contact {
font-size: 13px;
line-height: 1.8;
}

.footer-contact p {
margin: 3px 0;
}

.footer-contact a {
color: #E2D7C9 !important;
text-decoration: none !important;
}

/* コピーライト */
.footer-bottom {
border-top: 1px solid rgba(226, 215, 201, 0.3);
padding: 20px;
font-size: 11px;
letter-spacing: 0.05em;
}

.footer-bottom p {
margin: 0;
}

/* ロゴ */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text span {
  font-size: 10px;
  font-weight: normal;
  color: white;
  letter-spacing: 0.1em;
}

.logo-text strong {
  font-size: 18px;
  font-weight: normal;
  color: white;
  letter-spacing: 0.1em;
}

.logo-text i {
  font-style: normal;
  margin: 0 4px;
}
/* メニューボタン */
.menu span{
  display: block;
  width: 35px;
  height: 2px;
  margin: 6px 0;
  background: transparent;
  border: none;
  background-color: white;
}
.menu {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}
.menu-list {
  position: absolute;
  top: 60px;
  right: 0;
  background-color: rgba(52, 72, 58, 0.7);
  padding: 20px;
  transform: translateX(120%);
  transition: transform 0.3s ease;
}
.menu-list a {
  display: block;
  color: white;
  text-decoration: none;
  padding: 10px 20px;
}
.menu-list.open {
  transform: translateX(0);
}

/* メイン画面 */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url("images/unkai.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ヒーローの文字 */
.hero-text {
  position: absolute;
  left: 10%;
  bottom: 60px;
  text-align: center;
  color: white;
}

/* 雲海を望む */
.hero-catch {
  opacity: 0;
  transform: translateY(20px);
  animation: catchFadeIn 1.5s ease forwards;
  font-size: 64px;
  font-weight: normal;
  letter-spacing: 0.15em;
  margin: 0;
  color: white;
}

/* 京都・亀岡「霧の寺」 */
.hero-sub {
  opacity: 0;
  transform: translateY(20px);
  animation: catchFadeIn 1.5s ease forwards;
  animation-delay: 0.5s;
  font-size: 24px;
  margin: 20px 0;
  color: white;
}
/* 千手寺 */
.hero-title {
  opacity: 0;
  transform: translateY(20px);
  animation: catchFadeIn 1.5s ease forwards;
  animation-delay: 1.0s;
  font-size: 28px;
  font-weight: normal;
  letter-spacing: 0.15em;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.hero-title span {
  opacity: 0;
  transform: translateY(20px);
  animation: catchFadeIn 1.5s ease forwards;
  animation-delay: 1.0s;
  width: 40px;
  height: 1px;
  background-color: white;
}
@keyframes catchFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
main{
  background-color: #E2D7C9;
}

/* =========================
   共通の見出し・文章
========================= */
.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}
.page-content > h2 {
  font-size: 28px;
  font-weight: normal;
  color: #34483A;
  border-left: 5px solid #852121;
  padding-left: 15px;
  margin: 0 0 30px;
}
.page-content p {
  font-size: 16px;
  line-height: 2;
  margin-left:20px;
  color: #333;

}

/* お知らせ */
.news{
  padding: 30px 20px 10px;
}

.news-more {
  display: block;

  margin-top: 15px;

  color: #852121;
  font-size: 14px;

  text-align: right;

  text-decoration: underline;
  text-underline-offset: 4px;
}

.news-more:hover {
  opacity: 0.6;
}
.news-list a {
  display: block;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(52, 72, 58, 0.3);
  color: #333;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.newslist-page .news-list .news-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px 10px;
  border-bottom: 1px solid rgba(52, 72, 58, 0.3);
  color: #333;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.news-date {
  width: 110px;
  color: #666;
  font-size: 14px;
  flex-shrink: 0;
}
.news-list a:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

/* ご案内 */
.guide {
  max-width: 800px;
  margin: 0 auto;
  padding: 10px 20px 50px;
}
.guide-card {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  position: relative;
  width: 300px;
  height: 300px;
  margin: 40px auto;
}
.guide-card.guide-show {
  opacity: 1;
  transform: translateY(0);
}
.guide-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hexagon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 230px;
  height: 265px;

  background-color: rgba(255, 255, 255, 0.45);

  clip-path: polygon(
    50% 0%,
    100% 25%,
    100% 75%,
    50% 100%,
    0% 75%,
    0% 25%
  );

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}
.hexagon:hover {
  transform: translate(-50%, -50%) scale(1.05);
}
.hexagon h2 {
  color: white;
  font-size: 42px;
  font-weight: normal;
  margin: 0 0 20px;
  border: none;
  padding: 0;
  width: 100%;
  text-align: center;
}

.hexagon span {
  color: white;
  font-size: 14px;
  text-decoration: underline;
  text-decoration-color: #852121;
  text-align: center;
}

.guide-cards {
  display: grid;
  grid-template-columns: repeat(3, 300px);
  justify-content: center;
  gap: 40px 20px;
}

/* パンくず */

.breadcrumb {
  max-width: 900px;
  margin: 0 auto;

  padding: 20px;

  font-size: 13px;
  color: #666;
}
.breadcrumb a {
  color: #34483A;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #852121;
  text-decoration: underline;
}

.breadcrumb span {
  color: #666;
}

/* アイコン */
.contact-links img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  display: block;
}

/* アイコンのリンク */
.contact-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.contact-links a:hover {
  transform: scale(1.1);
}

/* 各ページ */
.page-hero {
  height: 300px;
  background-image: url("images/page_top.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.page-hero h1 {
  font-size: 42px;
  font-weight: normal;
  margin: 0 0 15px;
}

.page-hero p {
  font-size: 18px;
  margin: 0;
}

/* 送付先 */
.shipping-address {
  margin: 50px auto 20px;
  padding: 25px 30px;
  max-width: 600px;
  background-color: rgba(255, 255, 255, 0.45);
  border-left: 3px solid #852121;
  text-align: left;
}

.shipping-address p {
  margin: 8px 0;
}

.shipping-address .shipping-title {
  margin-bottom: 18px;
  font-size: 1.2rem;
  font-weight: bold;
  color: #34483A;
}
/* スマホ対応 */

@media (max-width: 600px){
  .hero h1{
    font-size: 32px;
  }
  .guide-cards {
    grid-template-columns: 300px;
  }
  .hero-catch {
    font-size: 40px;
  }
  .hero-sub {
    font-size: 18px;
  }
  .hero-title {
    font-size: 24px;
  }
  .page-content {
    padding: 30px 20px;
  }
  .page-content > h2 {
    font-size: 23px;
    padding-left: 12px;
    margin-bottom: 25px;
  }
  .page-content p {
    font-size: 15px;
    line-height: 1.9;
  }
}
/* タブレット対応 */
@media (min-width: 601px) and (max-width: 1000px) {

  .guide-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .guide-card {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    margin: 20px auto;
  }
  .hexagon {
  width: 75%;
  height: auto;
  aspect-ratio: 230 / 265;
  }
}
