/* =========================================================
  Jobseeker Contact 専用CSS
========================================================= */

:root { --jsc-header-gap: 0px; }

/* ヒーローセクション - 専用クラスで管理 */
body.page-template-page-jobseeker-contact-php .jobseeker-contact-hero,
.jobseeker-contact-hero {
  position: relative !important;
  background: linear-gradient(135deg, #00a676 0%, #00d4aa 100%) !important;
  min-height: 100px !important;
  padding: 30px 20px !important;
  margin-top: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  color: #fff !important;
  text-align: center !important;
  overflow: visible !important;
  margin-bottom: 30px !important;
  width: 100% !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body.page-template-page-jobseeker-contact-php .jobseeker-contact-hero::before,
.jobseeker-contact-hero::before{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  background: rgba(255,255,255,.1) !important;
  z-index:0 !important;
}

body.page-template-page-jobseeker-contact-php .jobseeker-contact-hero .hero-content,
.jobseeker-contact-hero .hero-content{
  position: relative !important;
  z-index: 1 !important;
  max-width: 800px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  transform: none !important;
  display: block !important;
}

body.page-template-page-jobseeker-contact-php .jobseeker-contact-hero .hero-title,
.jobseeker-contact-hero .hero-title{
  font-size: 26px !important;
  margin-bottom: 8px !important;
  color: #fff !important;
  text-shadow: 1px 1px 2px rgba(0,0,0,.3) !important;
  line-height: 1.3 !important;
  font-weight: bold !important;
  display: block !important;
}

body.page-template-page-jobseeker-contact-php .jobseeker-contact-hero .hero-subtitle,
.jobseeker-contact-hero .hero-subtitle{
  font-size: 16px !important;
  color: rgba(255,255,255,.9) !important;
  text-shadow: 1px 1px 2px rgba(0,0,0,.3) !important;
  margin: 0 !important;
  line-height: 1.4 !important;
  display: block !important;
}

/* SP最適化 */
@media (max-width: 768px){
  body.page-template-page-jobseeker-contact-php .jobseeker-contact-hero,
  .jobseeker-contact-hero{
    min-height: 80px !important;
    padding: 20px 15px !important;
    margin-bottom: 20px !important;
  }
  body.page-template-page-jobseeker-contact-php .jobseeker-contact-hero .hero-title,
  .jobseeker-contact-hero .hero-title{ 
    font-size: 22px !important; 
    margin-bottom: 6px !important;
  }
  body.page-template-page-jobseeker-contact-php .jobseeker-contact-hero .hero-subtitle,
  .jobseeker-contact-hero .hero-subtitle{ 
    font-size: 14px !important; 
  }
}

/* コンテンツ幅 */
body.page-template-page-jobseeker-contact-php .jobseeker-contact{
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px 100px; 
}

body.page-template-page-jobseeker-contact-php .jobseeker-contact h2{
  font-size: 2rem;
  text-align: center;
  margin-bottom: .3rem;
  color: #00a676;
}

body.page-template-page-jobseeker-contact-php .jobseeker-contact .section-sub{
  text-align: center;
  margin-bottom: 2rem;
  font-size: .95rem;
  color: #444;
}

/* 紹介文 */
body.page-template-page-jobseeker-contact-php .contact-intro{
  background: #f8fffe;
  border-left: 4px solid #00a676;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 0 8px 8px 0;
}

body.page-template-page-jobseeker-contact-php .contact-intro p{
  margin: 0;
  color: #333;
  line-height: 1.6;
}

/* フォーム共通 */
body.page-template-page-jobseeker-contact-php .jobseeker-form label{
  display: inline-block;
  margin: 1.2em 0 .4rem;
  font-weight: 600;
  color: #333;
}

body.page-template-page-jobseeker-contact-php .jobseeker-form .required,
body.page-template-page-jobseeker-contact-php .jobseeker-form .optional{
  display: inline-block;
  padding: 2px 6px;       
  border-radius: 4px;       
  line-height: 1;
  font-size: .78rem;       
  color: #fff;
  vertical-align: middle;
  margin-left: .4em;        
}

body.page-template-page-jobseeker-contact-php .jobseeker-form .required{ 
  background: #e60033; 
}

body.page-template-page-jobseeker-contact-php .jobseeker-form .optional{ 
  background: #00a676; 
}

body.page-template-page-jobseeker-contact-php .jobseeker-form input[type="text"],
body.page-template-page-jobseeker-contact-php .jobseeker-form input[type="email"],
body.page-template-page-jobseeker-contact-php .jobseeker-form input[type="tel"],
body.page-template-page-jobseeker-contact-php .jobseeker-form textarea{
  width: 100%;
  padding: 12px;
  margin-bottom: 5px;
  font-size: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  box-sizing: border-box;
  background-color: #fff;
  transition: border-color .3s ease;
}

body.page-template-page-jobseeker-contact-php .jobseeker-form input[type="text"]:focus,
body.page-template-page-jobseeker-contact-php .jobseeker-form input[type="email"]:focus,
body.page-template-page-jobseeker-contact-php .jobseeker-form input[type="tel"]:focus,
body.page-template-page-jobseeker-contact-php .jobseeker-form textarea:focus{
  outline: none;
  border-color: #00a676;
  box-shadow: 0 0 0 3px rgba(0, 166, 118, 0.1);
}

body.page-template-page-jobseeker-contact-php .jobseeker-form .input-group{
  display:flex;
  gap:1rem;
  flex-wrap:wrap;
  margin-bottom: 10px;
}

body.page-template-page-jobseeker-contact-php .jobseeker-form .input-half{
  flex: 1 1 260px;
}

/* テキストエリア */
body.page-template-page-jobseeker-contact-php .jobseeker-form textarea{
  resize: vertical;
  min-height: 120px;
}

/* 注意文ボックス */
body.page-template-page-jobseeker-contact-php .jobseeker-contact .checkbox-wrap{
  display: grid;
  place-items: center;
  text-align: center;
  background: #f0f9f7;
  padding: 24px 20px;
  border-radius: 8px;
  margin: 24px auto;
  max-width: 820px;
  min-height: 140px;
  border: 1px solid #d4f1e8;
}

body.page-template-page-jobseeker-contact-php .jobseeker-contact .checkbox-wrap .privacy-note{
  margin:0;
  max-width: 760px;
  font-size:.9rem;
  line-height:1.8;
  color:#555;
}

/* 送信ボタン */
body.page-template-page-jobseeker-contact-php .jobseeker-form .form-block.submit-button{
  text-align:center;
  margin-top:24px;
  margin-bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

body.page-template-page-jobseeker-contact-php .jobseeker-form .form-block.submit-button .wpcf7-submit,
body.page-template-page-jobseeker-contact-php .jobseeker-form .form-block.submit-button input[type="submit"],
body.page-template-page-jobseeker-contact-php .jobseeker-form .form-block.submit-button button[type="submit"]{
  display:block;
  min-width:180px;
  padding:12px 30px;
  border:0;
  border-radius:6px;
  background: #00a676;
  color:#fff;
  font-size:1rem;
  font-weight: 600;
  cursor:pointer;
  transition: background-color .3s, transform .05s ease;
  line-height:1;
  -webkit-appearance: none;
  appearance: none;
  margin: 0 auto;
}

body.page-template-page-jobseeker-contact-php .jobseeker-form .form-block.submit-button .wpcf7-submit:hover{
  background: #008f63;
}

body.page-template-page-jobseeker-contact-php .jobseeker-form .form-block.submit-button .wpcf7-submit:active{
  transform: translateY(1px);
}

body.page-template-page-jobseeker-contact-php .jobseeker-form .form-block.submit-button .wpcf7-submit:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 166, 118, 0.2);
}

/* お問い合わせ先情報 */
body.page-template-page-jobseeker-contact-php .contact-info{
  background: #f8fffe;
  padding: 30px;
  border-radius: 8px;
  margin-top: 40px;
  border: 1px solid #d4f1e8;
}

body.page-template-page-jobseeker-contact-php .contact-info h3{
  color: #00a676;
  margin-bottom: 20px;
  font-size: 1.3rem;
}

body.page-template-page-jobseeker-contact-php .contact-details p{
  margin-bottom: 15px;
  line-height: 1.6;
}

body.page-template-page-jobseeker-contact-php .contact-details strong{
  color: #00a676;
}

/* LINEボタンスタイル */
body.page-template-page-jobseeker-contact-php .line-contact{
  margin-top: 20px;
}

body.page-template-page-jobseeker-contact-php .line-btn{
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: #00B900;
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 185, 0, 0.2);
}

body.page-template-page-jobseeker-contact-php .line-btn:hover{
  background: #00A000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 185, 0, 0.3);
  color: #fff;
  text-decoration: none;
}

body.page-template-page-jobseeker-contact-php .line-icon{
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

body.page-template-page-jobseeker-contact-php .line-text{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

body.page-template-page-jobseeker-contact-php .line-title{
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 4px;
}

body.page-template-page-jobseeker-contact-php .line-subtitle{
  font-size: 0.9rem;
  opacity: 0.9;
}

/* モバイル調整 */
@media (max-width: 768px){
  body.page-template-page-jobseeker-contact-php .jobseeker-contact{
    padding: 0 16px 72px;
  }
  body.page-template-page-jobseeker-contact-php .jobseeker-contact h2{ 
    font-size: 20px; 
  }
  body.page-template-page-jobseeker-contact-php .jobseeker-contact .section-sub{
    font-size:.88rem; 
    margin-bottom: 1.2rem;
  }
  body.page-template-page-jobseeker-contact-php .jobseeker-form .input-group{ 
    gap:.75rem; 
  }
  body.page-template-page-jobseeker-contact-php .jobseeker-form .form-block.submit-button .wpcf7-submit{
    width:100%; 
    max-width: 360px;
    margin: 0 auto;
  }
  body.page-template-page-jobseeker-contact-php .contact-info{
    padding: 20px;
  }
  
  /* LINEボタン モバイル調整 */
  body.page-template-page-jobseeker-contact-php .line-btn{
    padding: 16px;
    gap: 12px;
  }
  
  body.page-template-page-jobseeker-contact-php .line-icon{
    width: 36px;
    height: 36px;
  }
  
  body.page-template-page-jobseeker-contact-php .line-text{
    text-align: center;
    align-items: center;
  }
  
  body.page-template-page-jobseeker-contact-php .line-title{
    font-size: 1rem;
  }
  
  body.page-template-page-jobseeker-contact-php .line-subtitle{
    font-size: 0.85rem;
  }
}

