@charset "UTF-8";
/* ============================================================
   style.css — 基盤スタイル（触らない側）
   案件ごとの調整は custom.css で行う

   ブレイクポイント（max-width統一）
     780px   SP・タブレット縦（メインBP）
     1080px  タブレット横・サイドバナー基準
     1400px  ワイドPC
   ============================================================ */


/* ========================= リセット ========================= */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

* { box-sizing: border-box; }

body    { line-height: 1; }
ol, ul  { list-style: none; }

blockquote, q { quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after { content: ''; content: none; }

table { border-collapse: collapse; border-spacing: 0; }

a   { text-decoration: none; color: #000; }
img { pointer-events: none; -webkit-user-drag: none; max-width: 100%; height: auto; vertical-align: bottom; }


/* ========================= 基本スタイル ========================= */

body img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.grecaptcha-badge { visibility: hidden; }

body    { padding-top: 0 !important; }
picture { line-height: 0; }
p       { font-size: 0.9rem; }

.ps-r      { position: relative; font-family: Noto Sans JP; }
.container { overflow: hidden; }
.inner1    { max-width: calc(1280px + 2%); }


/* ========================= ヘッダー（構造） ========================= */

header {
    width: 100%;
    z-index: 9999;
    top: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: auto;
}

#header {
    background-color: var(--header-color-bg);
    min-height: 60px;
    max-height: 100px;
    padding: 0.5% 3%;
    column-gap: 2%;
}

nav { display: flex; justify-content: flex-end; }
nav img { margin: 0; padding: 0; }

@media (max-width: 780px) {
    header { height: 82px; }
}


/* ========================= フォーム ========================= */

.panel-wrapper {
    background-size: cover;
    margin-top: 0;
    margin-bottom: 5%;
    background-repeat: no-repeat;
}

.panel {
    margin: auto;
    padding: 35px 45px;
    text-align: left;
    background-color: #fff;
    border-radius: 5px;
    /* box-shadow: 0 0 10px rgba(0,0,0,.2); */
}

.form-fields { display: flex; flex-direction: column; }

.form-row-inner {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 15px;
    border-bottom: 1px solid #fff;
}

.form-fields label           { order: 1; }
.form-fields input,
.form-fields textarea        { order: 2; width: 100%; }

label   { margin: 10px 0; color: #000; font-size: 1rem; }

.must {
    color: #fff;
    background-color: #e21000;
    padding: 2px 8px;
    font-size: 75%;
    font-weight: bold;
    margin: 0 auto 0 5px;
}

textarea {
    resize: none;
    width: 100%;
    height: 100px;
    background-color: #b7dfff;
    border: none;
    font-family: Noto Sans JP;
    color: #000 !important;
}

input {
    background-color: #e6e6e6;
    width: 100%;
    border: 0;
    margin: 7px 0;
    height: 35px;
}

input[type="checkbox"] { width: 15px; }

.form-txt              { color: #000; text-align: center; }
.input-btn           { background-color: #b9b9b9; color: #000; }
.input-text             { background: #b7dfff; color: #000; }
:placeholder-shown      { background: #b9b9b9; }

.top-privacy {
    max-width: 85%;
    padding: 15px;
    height: 120px;
    margin: 1.9em auto;
    overflow-y: scroll;
    border: 3px solid #ccc;
    font-size: 91%;
    background-color: #fff;
    line-height: 1.5em;
}

.check-box {
    display: flex;
    align-items: center;
    padding: 15px;
    justify-content: center;
    color: #000;
}

.form-submit-btn.flex.jc-center       { text-align: center; }
.form-submit-btn.flex.jc-center input { width: 50%; color: #000; }

#form { padding: 30px 4.5% 4%; background: var(--form-bg); }

@media (max-width: 780px) {
    label       { font-size: 0.88rem; }
    .form-row-inner  { flex-direction: column; margin-bottom: 10px; }
    .panel      { padding: 30px; width: 100%; box-shadow: none; }
}


/* ========================= 会社概要テーブル ========================= */

.company-table {
    border-radius: 10px;
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
}

.add-wrapper {
    width: 100%;
    line-height: 1.5;
    display: flex;
    background-color: #fff;
    padding: 1.2rem;
    border-radius: 5px;
    /* box-shadow: 0 0 10px rgba(0,0,0,.2); */
    justify-content: space-between;
    flex-direction: column;
}

.add-wrapper table th { width: 40%; padding: 10px; white-space: nowrap; }
.left-box table      { margin: 0; }
.left-box table td   { display: block; }
.right-box           { width: 100%; }
.right-box iframe    { width: 100%; height: 100%; }
table th             { width: 50%; padding: 10px; }
table td             { padding: 10px; line-height: 1.5; width: 100%; }

@media (max-width: 780px) {
    table                        { margin-top: 20px; }
    .add-wrapper                  { flex-direction: column; }
    .add-wrapper .left-box table th { float: left; width: 100%; }
    .left-box                    { width: 100%; margin-bottom: 30px; padding: 0; }
    .left-box table              { width: 100%; }
    .left-box table td           { float: left; border: none; width: 100%; text-align: center; font-size: 0.9rem; }
    th, td                       { box-sizing: border-box; }
}

@media (max-width: 1400px) {
    .company-table        { box-shadow: none; }
    .add-wrapper        { flex-direction: column; }
    .left-box          { width: 100%; margin-bottom: 50px; }
    .left-box table    { display: grid; place-items: center; }
    .left-box .contact td span { margin-left: -10px; }
}


/* ========================= フッター ========================= */

footer {
    width: 100%;
    text-align: center;
    background-color: #454545;
    color: #fff;
    /* height を固定しない → コンテンツに合わせて自然に伸びる */
    padding: 100px 20px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.footer-link   { text-align: center; }
.footer-link a { text-decoration: none; color: var(--footer-text-color); font-size: 16px; transition: color .3s ease; }
.footer-link a:hover { color: var(--footer-text-color-hover); }

.footer-divider { color: var(--footer-text-color); margin: 0 5px; }

.copy { color: var(--footer-text-color); font-size: 12px; }


/* ========================= アニメーション ========================= */

@keyframes UpAnime {
    from { opacity: 0; transform: translateY(150px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes DownAnime {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 1; transform: translateY(150px); }
}
@keyframes floatAnime {
    0%   { transform: translateX(0);    opacity: 0; }
    25%  { transform: translateX(-6px); opacity: 1; }
    50%  { transform: translateX(0); }
    100% { transform: translateX(6px);  opacity: 1; }
}

#page-top.DownMove { animation: DownAnime .5s forwards; }

@media (max-width: 780px) {
    #page-top { display: none !important; }
}


/* ========================= スライド ========================= */

.slidein    { margin: 50px auto; transition: 1s cubic-bezier(.75,0,.25,1); }
.slide_left  { transform: translateX(calc(-50vw - 50%)); }
.slide_right { transform: translateX(calc(50vw + 50%)); }
.show        { transform: translateX(0); }


/* ========================= サイドバナー（構造） ========================= */

.flatre02 { position: relative; }

.nara01 {
    position: absolute;
    display: flex;
    align-items: center;
    gap: .7rem;
    width: 80%;
    left: 12%;
    top: 12%;
}

.side_left, .side_right { bottom: 0; }

@media (max-width: 780px) {
    .side_left, .side_right { display: none; }
}


/* ========================= 採用テーブル ========================= */

.bosyu table { margin: 0 auto 80px; }

.bosyu table th {
    padding: 10px 0 10px 5px;
    border: 1px solid var(--table-title-border-color);
    background: var(--table-title-bg);
    color: var(--table-title-text-color);
}

.bosyu table td {
    border: 1px solid var(--table-data-border-color);
    background: var(--table-data-bg);
    color: var(--table-data-text-color);
}


/* ========================= フォームコンポーネント ========================= */

.form-row               { margin-bottom: 24px; }
.form-label             { display: block; margin-bottom: 6px; font-weight: bold; font-size: 1rem; }

.badge-required {
    display: inline-block;
    margin-left: 8px;
    font-size: .75rem;
    color: #fff;
    background-color: #e60012;
    padding: 2px 6px;
    border-radius: 4px;
}

.form-control {
    width: 100%;
    max-width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    background: #f3f3f3;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-radio-group { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: .5em; }

.form-radio { display: flex; align-items: center; gap: .4em; font-size: 1rem; white-space: nowrap; }
.form-radio input[type="radio"] { width: 1.2em; height: 1.2em; accent-color: #333; }

.form-checkbox          { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.form-checkbox label    { font-weight: bold; margin: 0; }
.form-checkbox input[type="checkbox"] { width: 18px; height: 18px; }

.form-row.form-row--checkbox {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 1rem;
}

form input[type="checkbox"] { cursor: pointer; }

/* バリデーションエラー */
.field-error {
    color: #dc3545;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    margin-top: -15px;
    margin-bottom: 16px;
    padding-left: 8px;
    display: none;
    word-wrap: break-word;
    max-width: 100%;
    text-align: right;
}
.field-error:empty { display: none; }

#privacy_error {
    color: #dc3545 !important;
    font-size: 12px;
    font-weight: 400;
    margin-top: -35px;
    margin-bottom: 20.5px;
    padding-left: 0;
    text-align: center;
}

.form-row-inner input.error,
.form-row-inner textarea.error,
textarea#comment.error { border: solid 2px #dc3545 !important; }

/* 送信ボタン（非アクティブ） */
main:not(#Confirm) .form-submit-btn input[type="submit"] {
    transition: all .3s ease;
    cursor: none;
    pointer-events: none;
}

/* 確認・完了画面 */
main#Confirm,
main#Thanks {
    max-width: 660px;
    margin: 150px auto !important;
    box-shadow: var(--shadow);
}

main#Confirm #contact,
main#Thanks .contact { background-color: #fff; padding: 30px 15px; }

main#Confirm .section-ttl,
main#Thanks .section-ttl { font-size: 32px; font-weight: 700; color: #222; text-align: center; margin-bottom: 30px; }

main#Confirm .form-txt,
main#Thanks .form-txt { font-size: 16px; font-weight: 400; line-height: 1.5em; color: #222; text-align: center; margin-bottom: 20px; }

main#Confirm .tbl-form.tbl-r02 { margin: 0 auto; }
main#Confirm .input-btn      { height: 40px; font-weight: 700; cursor: pointer; }

main#Confirm .reset-btn {
    background-color: #222;
    color: #fff;
    border: 1px solid #222;
    margin-right: 20px;
    padding: 0 20px;
}

main#Confirm #contactForm { padding: 10px; border: solid 2px #333; border-radius: 10px; }

main#Thanks .input-btn {
    display: grid;
    place-items: center;
    width: 100%;
    max-width: 300px;
    height: 40px;
    font-weight: 700;
    cursor: pointer;
    margin: 0 auto;
    text-align: center;
    transition: all .3s ease-out;
}

@media (max-width: 780px) {
    body::before { background-image: none; }

    main#Confirm,
    main#Thanks { margin: 50px auto !important; box-shadow: none !important; }

    .field-error { font-size: 11px; margin-top: 6px; margin-bottom: 12px; padding-left: 6px; }
}
