/* 全体リセット・ベース設定 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Hiragino Kaku Gothic ProN', sans-serif;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #333;
  font-size: 16px;
  line-height: 1.6;
}

/* 背景透過イメージ */
.background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  /* 高級感あるグラデーション（例：ネイビーとゴールド風） */
  background: linear-gradient(135deg, #1a2a6c, #b7935f, #f0e6d2);
  opacity: 0.08;
  z-index: -1;
}


/* 中央の固定幅コンテンツ */
.container {
  max-width: 768px;
  margin: 0 auto;
  padding: 2rem 1rem;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
  text-align:center
}

.section img {
      max-width: 100%;
      height: auto;
      display: inline-block;
      margin-bottom: 1rem; /* 画像間の余白 */
    }

/* ヘッダー */
.main-header {
  margin: 0;
  padding: 0;
  width: 100%;
}

.header-bg {
  background: url("image/kaguhead.jpg") center center no-repeat;
  background-size: cover;
  padding: 4rem 1rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.header-bg::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.4); /* 暗めフィルター */
  z-index: 1;
}

.header-content {
  position: relative;
  z-index: 2;
  max-width: 768px;
  margin: 0 auto;
}

.header-content h1 span {
  font-size: 1rem;
  color: #e0d8cf;
  display: block;
}

.header-content h1 {
  font-size: 2rem;
  font-weight: 700;
}

.sub-header {
  font-size: 0.9rem;
  font-style: italic;
  color: #ccc;
  margin-top: 0.5rem;
}



/* セクション共通 */
.section {
  margin: 2.5rem;
}

.section h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #333;
  padding-left: 0.5rem;
  font-weight: 500;
}

p {
  margin-top: 1em;    /* 段落の上に余白 */
  margin-bottom: 3.2em; /* 段落の下に余白 */
  line-height: 1.6;   /* 行間も少し広げて読みやすく */
}

p strong {
  display: block;     /* ブロック化して改行＆上下に余白 */
  margin-top: 0.5em;
}

.section h3 {
  margin-top: 2em;  /* ここでスーッと空気通します */
  margin-bottom: 0.8em; /* 下も少し空けるとバランス◎ */
}

.section img {
  width: 100%;
  border-radius: 6px;
  margin: 1rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.present-info {
  background: #fdfdfd;
  border-left: 4px solid #f4ca64;
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 6px;
  font-size: 1.2em;
  color: #555;
}

.present-info .small-note {
  color: #555;
  font-size: 0.95em;
  margin: 0;
}


.important-note {
  color: #c62828; /* 少し落ち着いた赤 */
  font-weight: 600;
  padding: 12px;
  border-radius: 6px;
  margin: 24px 0 12px 0;
  font-size: 0.95em;
}


/* ギフトだけ少しハイライト */
.gift {
  background-color: #fff8e8;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #e0d7c6;
  display: inline-block; /* 内容サイズに合わせる */
  max-width: 100%;
}

.gift p {
  margin: 0;
}

/* リンク装飾 */
.section a {
  display: inline-block;
  text-decoration: none;
  color: #5a4a42;
  border: 1px solid #c4bfb9;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  background-color: #f9f6f2;
  transition: all 0.2s ease;
}

.section a:hover {
  background-color: #ede8e3;
  color: #000;
}

.event-link a {
  display: inline-block;
  padding: 0.75em 1.5em;
  background: transparent;
  color: #7b5e3f;
  border: 2px solid #7b5e3f;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.event-link a:hover {
  background: #7b5e3f;
  color: #ffffff;
}

.application-method {
  border: 2px solid #ccc; /* 薄いグレーの枠線 */
  padding: 15px 20px;      /* 内側余白 */
  margin-bottom: 30px;     /* 下の余白 */
  border-radius: 8px;      /* 角丸でやわらかく */
  background-color: #fafafa; /* 薄い背景色で目立たせる */
}

.section.karimoku {
  background: linear-gradient(135deg, #f9f6f1 0%, #e6dfd5 100%);
  padding: 2rem 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.section.karimoku h2 {
  color: #5a3e1b; /* 落ち着いたゴールド系 */
  font-weight: 700;
  font-size: 2rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}


.section.karimoku p {
  font-size: 1.1rem;
  color: #7a6b4f; /* 柔らかいブラウン系 */
  font-weight: 500;
}

.section.francebed h2 {
  color: #5a3e1b; /* 落ち着いたゴールド系 */
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.section.francebed p {
  color: #7a6b4f; /* 柔らかいブラウン系 */
  font-weight: 500;
  margin-bottom: 1rem;
}

.section.francebed a {
  color: #b7935f;
  text-decoration: none;
  font-weight: 600;
}

.section.francebed a:hover {
  text-decoration: underline;
}

.section.francebed img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.section.francebed {
  background: linear-gradient(135deg, #f9f6f1 0%, #e6dfd5 100%);
  padding: 2rem 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.site-footer {
  text-align: center;
  padding: 1.5rem 1rem;
  background-color: #f5f5f5;
  font-size: 1rem;
  color: #555;
  border-top: 1px solid #ddd;
  margin-top: 3rem;
}

.back-link {
  color: #5a3e1b;
  text-decoration: none;
  font-weight: 600;
}

.back-link:hover {
  text-decoration: underline;
  cursor: pointer;
}
