@charset "utf-8";
/* CSS Document */

/* ===== リセット＆共通 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { height: auto; }

body {
  font-size: 14px;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  background-color: #FFF;
  overflow-x: hidden; /* 念のため横スクロール殺す */
}

li { list-style: none; }

p, input, textarea, select {
  font-size: 100%;
  font-weight: normal;
  color: #000000;
}

a { text-decoration: none; color: #000000; }
a:visited { color: #000; }

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

h1 { font-size: 30px; color: #e50011; }

h2 {
  font-size: 14px;
  color: #000000;
  display: inline;
  font-weight: 600;
  padding: 0px 7px 0 7px;
}

h3 {
  font-size: 14px;
  color: #000000;
  display: inline;
  font-weight: 600;
  padding: 0px 7px 0 7px;
  border-bottom: 2px solid #d53d3c;
}

/*ポイント時のリンク*/
#page a:hover { color: #d53d3c; }

/* ===== レイアウト（基本） ===== */
#container {
  max-width: 1200px;
  margin: 0 auto;
  background-image: url(../img/header/back.jpg);
  background-repeat: no-repeat;
  background-position: top left;
}

/* ===== ヘッダー（PC基準） ===== */
#header {
  text-align: left;
  padding: 20px 0 0 100px;
  min-height: 120px;
  position: relative;
}

#sns {
  width: 100px;
  height: 50px;
  float: right;
  margin: 0 200px 0 0;
  text-align: right;
}

#page {
  width: 1000px;
  min-height: 30px;
  float: left;
  text-align: right;
  padding: 20px 0 0 0;
}

#pageline {
  margin: 0 0 0 350px;
}

/* ===== メイン（PCは2カラム固定：flexで安定） ===== */
#main {
  display: flex;
  align-items: flex-start;
  gap: 40px;            /* 左右の間隔（読みやすさ改善） */
  padding: 0 100px 20px;/* PCでも左側の余白を確保 */
}

/* 左カラム幅：必要なら調整 */
#left {
  flex: 0 0 320px;
  min-width: 260px;
}

/* 右は可変 */
#right {
  flex: 1 1 auto;
  min-width: 0; /* 長い文字で横に押し広げない */
}

/* ===== フッター（横スクロール＆余白暴れ対策） ===== */
#footer {
  width: 100%;
  background-color: #000;
  text-align: center;
  padding: 20px 0;
  margin-top: 20px;
}

#footer p {
  color: #FFFFFF;
}

/* ===== フライヤー余白（PCでも不足してたので増やす） ===== */
.flyer {
  text-align: center;
  margin: 16px 0 40px; /* 下をしっかり空ける */
}

/* ===== メール：ダミー文字を隠す（コピペで@が残る方式） ===== */
.bot-hide { display: none; }

/* =========================
   レスポンシブ（スマホ）
========================= */
@media screen and (max-width: 768px) {

  #header {
    padding: 16px;
    text-align: center;
    min-height: auto;
  }

  #sns {
    float: none;
    margin: 10px auto 0;
    text-align: center;
  }

  #page {
    width: auto;
;
    float: none;
    text-align: center;
    padding: 10px 0 0 0;
  }

  #page h2, #page h3 {
    display: inline-block;
    margin: 6px;
    font-size: 14px;
  }

  #pageline {
    margin: 10px auto 0;
    text-align: center;
  }

  /* スマホ：縦並び＋左右余白を確保 */
  #main {
    display: block;
    padding: 0 16px 16px; /* ←左の余白不足をここで解消 */
  }

  #left, #right {
    width: 100%;
  }

  #right {
    line-height: 1.7;
  }

  /* スマホ：フライヤー下の余白をもっと確保 */
  .flyer {
    margin: 16px 0 32px;
  }

  .flyer img {
    max-width: 90%;
  }

  /* フッター：スマホで余白が増えたり横にはみ出したりしない */
  #footer {
    margin-top: 16px;
    padding: 16px 0;
  }
}

/*左側メニュー
--------------------*/
