/*
Theme Name: JIN Child
Template: jin
*/

.hello-page {
    background: #f7f7f7;
    min-height: 100vh;
    padding: 80px 20px;
}

.hello-inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* ハロー枠は全面同色にする */

.page-template-page-hello body {
    background: #f7f7f7;
}

.page-template-page-hello header,
.page-template-page-hello .site-header,
.page-template-page-hello footer {
    background: transparent !important;
    box-shadow: none !important;
}

/* フッター帯も消す */
.page-template-page-hello .footer,
.page-template-page-hello .site-footer {
    background: transparent !important;
}

body.page-template-page-hello {
    background: #f7f7f7;
}

body.page-template-page-hello .l-content,
body.page-template-page-hello .l-main,
body.page-template-page-hello .site,
body.page-template-page-hello .c-container {
    background: transparent !important;
    box-shadow: none !important;
}

/* ハロー枠 投稿カード */
body.page-template-page-hello .hello-card {
  max-width: 520px;
  margin: 80px auto;
  padding: 40px 36px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  box-shadow: none;
  text-align: center;
}

/* テキスト少しだけ整える */
body.page-template-page-hello .hello-card p {
  margin-bottom: 16px;
  line-height: 1.8;
  font-size: 16px;
  color: #444;
}

/* ボタン */
body.page-template-page-hello .hello-card .hello-button {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 18px;
  border: 1px solid #bbb;
  border-radius: 4px;
  background: transparent;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: all .2s ease;
}

body.page-template-page-hello .hello-card .hello-button:hover {
  background: #f5f5f5;
}

/* 紙っぽい背景 */
body.page-template-page-hello .hello-page {
  padding: 100px 20px;
  background: #ecebe8;
  min-height: 100vh;
}

/* 紙 */
body.page-template-page-hello .hello-card {
    background: #fdfcf8;
    padding: 60px 40px;
    max-width: 520px;
    margin: 120px auto;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0 14px 30px rgba(0,0,0,0.06);
}


/* タイトル */
body.page-template-page-hello .hello-title {
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #333;
}

/* リード */
body.page-template-page-hello .hello-lead {
  font-size: 15px;
  margin-bottom: 34px;
  color: #555;
  line-height: 1.8;
}

/* ボタン */
body.page-template-page-hello .hello-button {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid #aaa;
  border-radius: 3px;
  background: transparent;
  color: #444;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}

body.page-template-page-hello .hello-button:hover {
  background: #f3f1ea;
}

/* 投稿エリア */
body.page-template-page-hello .hello-posts {
  margin-top: 40px;
}

/* presence */
body.page-template-page-hello .hello-presence {
  margin-top: 44px;
  font-size: 13px;
  color: #8a867d;
}

/* フォームを縦並びにする */
.hello-form form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* テキストエリアを中央に */
.hello-form textarea {
    width: 100%;
    max-width: 100%;
}

/* ボタンを中央に */
.hello-form button {
    margin-top: 10px;
}

.hello-form textarea {
    margin-bottom: 18px;
}

/* 投稿枠 */
.hello-post {
    background: #fffdf8;
    border: 1px solid rgba(0,0,0,0.08);
    padding: 20px;
    margin: 20px 0;
    border-radius: 4px;
    text-align: left;
    font-size: 14px;
    line-height: 1.7;
    box-shadow: 0 6px 14px rgba(0,0,0,0.04);
    transition: opacity 0.6s ease;
}

.hello-timer {
    font-size: 11px;
    color: #999;
    margin-top: 10px;
    text-align: right;
}

.hello-post {
    transition: opacity 0.6s ease;
}

.hello-name{
    font-size:12px;
    color:#888;
    margin-bottom:4px;
}

.hello-card{
    max-width:600px;
    margin:40px auto;
    padding:40px;
    background:#fffdf8;
    box-shadow:0 6px 18px rgba(0,0,0,0.05);
}

#helloName,
#helloText{
    width:100%;
    box-sizing:border-box;
    margin-bottom:10px;
    padding:8px;
}

.hello-name{
    font-size:12px;
    color:#888;
    margin-bottom:4px;
}

.hello-post{
    margin-top:20px;
    padding:15px;
    background:#fff;
    border:1px solid rgba(0,0,0,0.05);
}

#helloText{
    min-height: 100px;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.1);
    background: #fff;
}

#helloName,
#helloText{
    width:100%;
    box-sizing:border-box;
    padding:10px;
    border-radius:6px;
    border:1px solid rgba(0,0,0,0.15);
}

.hello-note{
    font-size:0.7em !important;
    color:#999;
    margin-top:30px;
    opacity:0;
    transform:translateY(8px);
    animation:floatIn 3.2s ease 0.8s forwards;
}

@keyframes floatIn{
    0%{
        opacity:0;
        transform:translateY(8px);
    }
    100%{
        opacity:1;
        transform:translateY(0);
    }
}

/* ハローワーク注記 PC */
.hello-note{
    font-size:0.7em !important;
    color:#999;
    margin-top:30px;
    opacity:0;
    transform:translateY(10px);
    animation:floatIn 3.2s ease-out 0.8s forwards;
}

/* スマホ用 上書き対策 */
@media (max-width:768px){
    .hello-note{
        font-size:0.7em !important;
    }
}

.hello-lucky {
  font-size: 0.75rem !important;
  opacity: 0.7;
}