@charset "UTF-8";

/* ==========================================================================
   Reset & Base
   ========================================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  vertical-align: bottom;
  width: 100%;
}

body {
  background-color: #f9f7f2; 
  color: #2c2c2c;
  font-family: "Noto Serif JP", serif;
  line-height: 1.8;
  letter-spacing: 0.05em;
  overflow-x: hidden;
}

/* ==========================================================================
   Layout
   ========================================================================= */
.wrapper {
  position: relative;
  width: 100%;
}

.container {
  width: 90%;
  max-width: 1000px; /* 以前の480pxから拡大し、読みやすく */
  margin: 0 auto;
}

/* ==========================================================================
   Header (Main Visual)
   ========================================================================= */
.header {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* 画像1: mainvisual.png を背景として設定 */
  background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)),
              url('../img/img01.png') no-repeat center center / cover;
  background-attachment: fixed; /* パララックス効果（高級感のある演出） */
}

.header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 10vw, 5rem); /* スマホとPCで適切なサイズに自動調整 */
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header h1 p {
  font-size: 1.2rem;
  font-family: "Noto Serif JP", serif;
  margin-bottom: 1.5rem;
  color: #f9f7f2;
  letter-spacing: 0.2em;
}

/* ==========================================================================
   Main Content
   ========================================================================= */
.main {
  padding: 100px 0;
}

.message {
  text-align: center;
  margin-bottom: 150px;
}

.message h2 {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 30px;
  line-height: 1.5;
}

/* Content Grid System (交互配置) */
.content_row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 120px;
  align-items: center;
}

/* 画像とテキストを交互に入れ替える設定 */
.content_reverse {
  direction: rtl;
}
.content_reverse .text {
  direction: ltr;
}

.photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #ddd;
  background-size: cover;
  background-position: center;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* 各セクションの画像（画像名に合わせて変更してください） */
.img01 { background-image: url('../img/img02.png'); }
.img02 { background-image: url('../img/img03.png'); }
.img03 { background-image: url('../img/img04.png'); }

.text h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #8c7b52;
  border-left: 2px solid #8c7b52;
  padding-left: 15px;
}

/* ==========================================================================
   Responsive (スマホ対応)
   ========================================================================= */
@media (max-width: 768px) {
  .content_row {
    grid-template-columns: 1fr; /* 1列に並べる */
    gap: 30px;
  }
  .content_reverse {
    direction: ltr; /* 反転を解除 */
  }
  .header h1 {
    font-size: 3rem;
  }
}

.footer {
  padding: 60px 0;
  text-align: center;
  border-top: 1px solid rgba(140, 123, 82, 0.2);
}