/* 採用特設サイト — article 見出し（Lint 用・視覚非表示） */
article > h2.entry-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* 松山自動車 採用サイト — オリジナル見た目を崩さない最小限の修正 */

/* ヒーロー画像（PCは background-image、モバイルは img） */
.sydney-hero-area {
  overflow: hidden;
}

.header-slider,
.slides-container {
  width: 100%;
}

.slide-item {
  height: 600px !important;
  min-height: 400px;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-attachment: scroll !important;
  display: block !important;
  width: 100% !important;
}

@media only screen and (min-width: 1026px) {
  .site-header h1 {
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
  }
}

/* 画像レスポンシブ */
.so-widget-image,
.sow-image-container img,
.panel-grid-cell img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* モバイル用スライド画像（オリジナルテーマと同じ挙動） */
@media only screen and (max-width: 1025px) {
  .slide-item .mobile-slide {
    width: 100%;
    height: auto;
    display: block;
  }
}

/* エントリーフォーム — 中央寄せ（WPの3カラム workaround を上書き） */
#pg-106-20 > .panel-row-style {
  justify-content: center;
}
#pgc-106-20-0,
#pgc-106-20-2 {
  display: none !important;
}
#pgc-106-20-1 {
  width: 100% !important;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
#pg-106-19 .textwidget {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
#pg-106-20 .entrybox p,
#pg-106-20 .entry-form p {
  text-align: center;
}
#pg-106-20 .entry-form p.submit {
  margin-left: 0;
  text-align: center;
}

/* エントリーフォーム — CF7 互換スタイル（外側ラッパーのみ独自クラス） */
.entry-form-wrap {
  margin: 0;
  padding: 0;
}

.entry-form-wrap input[name="tel-918"],
.entry-form-wrap input[name="your-name"],
.entry-form-wrap input[name="your-email"],
.entry-form-wrap input[name="your-subject"],
.entry-form-wrap input[name="text-55"],
.entry-form-wrap input[name="text-848"] {
  width: 100%;
  height: 35px !important;
}

.entry-form-wrap textarea[name="your-message"],
.entry-form-wrap textarea[name="textarea-115"] {
  width: 100%;
}

.entry-form-wrap textarea[name="your-message"] {
  height: 350px !important;
}

.entry-form-wrap textarea[name="textarea-115"] {
  height: 70px;
}

.entry-form-wrap input[type="submit"],
.entry-form-wrap .wpcf7-submit {
  padding: 8px 80px;
}

.entry-form fieldset {
  border: none;
  margin: 0 0 1em;
  padding: 0;
  text-align: center;
}

.entry-form legend {
  display: block;
  width: 100%;
  margin-bottom: 0.5em;
}

.entry-form .wpcf7-list-item label {
  display: inline;
}

/* エントリーフォーム — 送信・メッセージ表示 */
.entry-form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.entry-form-response {
  margin: 1.5em auto 0;
  max-width: 100%;
  text-align: center;
}

.entry-form-response--error {
  border: 2px solid #c0392b;
  color: #c0392b;
  padding: 0.75em 1em;
}

.entry-form-response--success {
  border: 2px solid #398f14;
  color: #398f14;
  padding: 0.75em 1em;
}

/* 送信確認画面 */
.entry-form--confirming .entry-form-honeypot,
.entry-form--confirming > p,
.entry-form--confirming fieldset,
.entry-form--confirming .entry-form-input-actions {
  display: none !important;
}

.entry-form-confirm {
  text-align: center;
}

.entry-form-confirm-title {
  font-size: 1.25rem;
  margin: 0 0 0.75em;
  color: #443f3f;
}

.entry-form-confirm-lead {
  margin: 0 0 1.5em;
}

.entry-form-confirm-list {
  margin: 0 auto 1.5em;
  max-width: 520px;
  text-align: left;
  border-top: 1px solid #ddd;
}

.entry-form-confirm-list dt {
  margin: 1em 0 0.25em;
  font-weight: bold;
  color: #443f3f;
}

.entry-form-confirm-list dd {
  margin: 0 0 0.5em;
  padding-bottom: 0.75em;
  border-bottom: 1px solid #eee;
  white-space: pre-wrap;
  word-break: break-word;
}

.entry-form-confirm-actions {
  display: flex;
  justify-content: center;
  gap: 1em;
  flex-wrap: wrap;
}

.entry-form-btn {
  min-width: 140px;
  padding: 0.75em 1.5em;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.entry-form-btn--back {
  background: #767676;
  color: #fff;
}

.entry-form-btn--send {
  background: #d65050;
  color: #fff;
}

.entry-form-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.entry-form-thanks {
  max-width: 640px;
  margin: 80px auto 120px;
  padding: 0 20px;
  text-align: center;
}

.entry-form-thanks h1 {
  font-size: 1.5rem;
  margin-bottom: 1.5em;
}

.thanks-back-link {
  display: inline-block;
  margin-top: 2em;
  padding: 0.75em 2em;
  background: #d65050;
  color: #fff;
  text-decoration: none;
}

.thanks-back-link:hover {
  opacity: 0.9;
  color: #fff;
}

/* thanks.html — 最小スタイル */
body.recruit-thanks {
  margin: 0;
  font-family: "游ゴシック", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Verdana, "メイリオ", Meiryo, sans-serif;
  color: #444;
  background: #fff;
}

.thanks-footer {
  background-color: #a5a5a5;
  padding: 15px 0;
  text-align: center;
}

.thanks-footer .copyright {
  margin: 0;
  color: #515151;
}

/* Googleマップ */
.sow-google-map-canvas {
  width: 100%;
  min-height: 480px;
}

/* SEO: 見出しタグ化（見た目はオリジナル準拠） */
h2.midashi,
h2.title1 {
  font-size: inherit;
  font-weight: inherit;
  margin: inherit;
  padding: 0;
  line-height: inherit;
  color: inherit;
}

h2.midashi {
  font-size: 25px;
  text-align: center;
  margin-bottom: 0;
  font-weight: bold;
}

h2.title1 {
  font-size: 22px;
  margin-bottom: 40px;
  text-align: center;
  font-weight: bold;
}

h3.subsection-title {
  font-size: inherit;
  font-weight: bold;
  margin: 0 0 1em;
  padding: 0;
  line-height: inherit;
  color: inherit;
}

/* サイト固有スタイル（旧テーマカスタムCSS） */
.page-wrap {
  overflow: hidden;
}

.entry-content {
  padding: 0 !important;
}

.entrybox p {
  text-align: center;
  color: #666;
  padding: 0;
}

.copyright {
  text-align: center;
}

.site-header h1 {
  color: #fff !important;
  font-size: 12px !important;
  text-align: left !important;
  padding-left: 25px !important;
}

p.midashisub {
  font-size: 18px;
  text-align: center;
  margin-top: -7px;
  color: #07d;
}

.linen {
  text-align: center;
  font-size: 24px;
}

.jigyounaiyou th {
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 2px dotted #bbb;
  padding-top: 13px;
  padding-bottom: 13px;
  padding-left: 20px;
  text-align: left;
  background-color: #fff;
}

.jigyounaiyou td {
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 2px dotted #bbb;
  padding-top: 13px;
  padding-bottom: 13px;
  padding-left: 20px;
  text-align: left;
}

.gaiyou th,
.gaiyou td {
  border: 1px solid #ddd;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 20px;
  text-align: left;
}

.gaiyou th {
  width: 25%;
  background-color: #bbb;
}

.gaiyou ul {
  margin-bottom: 0;
  margin-left: -20px;
}
