/* ---------------------------------------------------------
   基本読み込み
---------------------------------------------------------*/
@import url(http://netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css);
@import "grid.css";
@import "ui.totop.css";
@import "superfish-menu.css";

/* ---------------------------------------------------------
   ベース
---------------------------------------------------------*/
body {
  font: 400 15px/1.7 -apple-system, BlinkMacSystemFont,
        "Helvetica Neue", "游ゴシック体", "YuGothic",
        "Hiragino Sans", "メイリオ", sans-serif;
  color: #222;
  background: #5b2628;
  margin: 0;
}

img {
  max-width: 100%;
}

a {
  text-decoration: none;
  color: #2ca9e1;
  transition: all 0.3s ease;
}

a:hover {
  opacity: .8;
}

.container {
  background: #fff;
}

/* sr-only 完全非表示（画面に出さない） */
.sr-only {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
}

/* ---------------------------------------------------------
   ヘッダー
---------------------------------------------------------*/

header {
  background: url(../images/10000.jpg) center center no-repeat;
  height: 360px;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 16px solid #3e0e0e;
}

header h1 {
  color: #fff;
  font-size: 52px;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  text-shadow: 0 4px 18px rgba(0,0,0,0.55);
  margin: 0;
}

/* サブタイトル */
.site-subtitle {
  max-width: 900px;
  margin: 32px auto 6px;
  padding: 0 16px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;
  color: #333;
}

/* 説明文（1行あたりの文字数を絞って読みやすく） */
.site-lead {
  max-width: 680px;
  margin: 0 auto 36px;
  padding: 0 16px;
  font-size: 14px;
  line-height: 1.9;
  text-align: center;
  color: #555;
}


/* ---------------------------------------------------------
   10000日 計算フォーム
---------------------------------------------------------*/

/* PC・タブレット → 横一列 */
.numeric {
  padding: 50px 0 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 14px;
  flex-wrap: nowrap;
}

.numeric .form-control {
  min-width: 110px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 16px;
  text-align: center;
}

.numeric input[name="h_year"] {
  min-width: 140px;
}

/* 計算ボタン */
.numeric .btn {
  padding: 12px 26px;
  border-radius: 999px;
  background: #e96a74;
  color: #fff;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 5px 12px rgba(0,0,0,0.15);
}

.numeric .btn:hover {
  background: #dc555f;
}

/* スマホ（縦1列） */
@media (max-width: 768px) {
  .numeric {
    flex-direction: column;
    row-gap: 12px;
  }

  .numeric .form-control {
    width: 100%;
    max-width: 250px;
    font-size: 18px;
  }

  .numeric input[name="h_year"] {
    max-width: 250px;
  }

  .numeric .btn {
    width: 100%;
    max-width: 250px;
    margin-top: 4px;
    font-size: 17px;
  }
}

/* ---------------------------------------------------------
   SNSシェアエリア
---------------------------------------------------------*/
.share-area {
  text-align: center;
  margin: 10px auto 20px;  /* 上を少し詰めて下を少し広げる */
}


.share-area > * {
  display: inline-block;
  vertical-align: middle;
  margin: 0 4px;
}

.share-area .share-line {
  margin: 0 4px;
}

/* ---------------------------------------------------------
   コメント投稿フォーム
---------------------------------------------------------*/
.comment-form {
  padding: 40px 24px 48px;
  max-width: 900px;
  margin: 0 auto 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fafafa;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  border: 1px solid #f1e1e5;
}

.comment-form .form-control {
  width: 100%;
  padding: 12px 18px;
  font-size: 16px;
}

#message::placeholder,
#user::placeholder {
  color: #999;
}

/* reCAPTCHA */
.g-recaptcha {
  margin: 8px auto 0;
}

/* 投稿ボタン */
.btn-primary {
  background: #e96a74;
  border: none;
  border-radius: 999px;
  padding: 12px 28px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 5px 12px rgba(0,0,0,0.15);
  cursor: pointer;
}

.btn-primary:hover {
  background: #dc555f;
}

/* ---------------------------------------------------------
   投稿一覧 見出し
---------------------------------------------------------*/
.itiran {
  background: #fff;
  padding: 50px 16px 20px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #444;
}

/* ---------------------------------------------------------
   投稿カード
---------------------------------------------------------*/
.panel {
  max-width: 900px;
  margin: 0 auto 20px;
  border-radius: 12px;
  border: 1px solid #e3d5dd;
  background: #ffffff;
  box-shadow: 0 6px 14px rgba(0,0,0,0.07);
  box-sizing: border-box;
  overflow: hidden;
}

/* ニックネーム＋日付 */
.panel-heading {
  padding: 12px 18px 8px;
  font-size: 16px;
  font-weight: 600;
  color: #222 !important;
  border-bottom: 1px solid #e7dae3;
  background: #e7dae3;
}

.panel-heading::before {
  content: "👤 ";
  color: #999 !important;
  font-weight: normal;
}

/* コメント本文 */
.panel-body {
  padding: 18px 18px 22px;
  font-size: 18px;
  color: #111 !important;
  font-weight: 400;
  line-height: 1.9;
  word-break: break-word;
}

/* スマホでのカード幅 */
@media (max-width: 768px) {
  .panel {
    max-width: none;
    width: 100%;
    margin: 0 12px 18px;
  }

  .panel-heading {
    font-size: 13px;
  }

  .panel-body {
    font-size: 15px;
  }
}

/* ---------------------------------------------------------
   footer
---------------------------------------------------------*/
footer {
  padding: 30px;
  background: #fff;
  text-align: center;
}

footer a {
  text-decoration: underline;
}

footer a:hover {
  text-decoration: none;
}

/* ---------------------------------------------------------
   超小画面対応
---------------------------------------------------------*/
@media (max-width: 480px) {

  header {
    height: 150px;
  }

  header h1 {
    padding-top: 12px;
    font-size: 32px;
  }

  .comment-form {
    margin: 20px 12px 40px;
    padding: 30px 18px 36px;
  }
}
/* 広告ブロックもコメントカードと同じ幅にそろえる */
.adsbygoogle {
  display: block !important;
  margin: 0 auto 20px !important;
  max-width: 900px !important;
}
