@charset "utf-8";

/* ==================================================
   会社情報ページ専用スタイル (company.css)
   ================================================== */

/* --------------------------------------------------
   共通変数
   -------------------------------------------------- */
:root {
    --text-dark-brown: #5d3416;
    --accent-pink: #ff5288;
    --pale-pink: #ffe6f0;
    --accent-orange: #eb6100;
}

/* --------------------------------------------------
   見出しスタイル (.company_heading)
   -------------------------------------------------- */
.company_heading {
    border-left: 10px solid var(--accent-orange);
    padding: 10px 20px;
    margin-bottom: 40px;
    font-family: "M PLUS 1p", sans-serif;
    letter-spacing: 0.05em;
    text-align: center;
    /* ユーザー要望によりセンター揃え */
    font-size: 1.6rem;
    color: var(--text-dark-brown);
}


/* --------------------------------------------------
   フォーム・テーブルスタイル (.Form)
   -------------------------------------------------- */
/* 元々company.htmlのstyleタグ内にあったスタイルを移植 */

.Form {
    max-width: 800px;
    margin: 20px auto;
    background: #fff;
    border: 1px solid #ddd;
    /* フォント設定はbody継承だが、念のため指定 */
    font-family: sans-serif;
    line-height: 1.6;
}

.Form table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}

.Form th,
.Form td {
    padding: 10px;
    vertical-align: top;
    border-bottom: 1px solid #ddd;
}

.Form th {
    background: #e0f0f6;
    width: 25%;
    min-width: 120px;
    text-align: center;
    font-weight: bold;
    color: #333;
}

/* ラベルなど */
.Form td label {
    display: inline-block;
    margin-right: 10px;
    cursor: pointer;
}

/* 入力フィールド */
.Form input[type="text"],
.Form input[type="email"],
.Form select,
.Form textarea {
    width: 98%;
    padding: 6px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-size: 1rem;
}

.Form textarea {
    height: 100px;
}

/* 必須マーク */
.Form .required {
    color: #c00;
    margin-left: 5px;
    font-size: 0.8em;
    background: #fff;
    padding: 2px 4px;
    border: 1px solid #c00;
    border-radius: 4px;
}

/* 送信ボタン */
button[type="submit"] {
    background: #ff6600;
    color: #fff;
    border: none;
    padding: 15px 40px;
    cursor: pointer;
    font-size: 1.1rem;
    border-radius: 5px;
    transition: background 0.3s;
}

button[type="submit"]:hover {
    background: #e65500;
}

/* --------------------------------------------------
   アクセスマップ
   -------------------------------------------------- */
#access iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* --------------------------------------------------
   レスポンシブ (スマホ表示)
   -------------------------------------------------- */
@media (max-width: 600px) {

    .Form th,
    .Form td {
        display: block;
        width: 100%;
    }

    .Form th {
        background: #e0f0f6;
        padding: 8px;
    }

    .company_heading {
        font-size: 1.4rem;
        padding: 8px 15px;
        margin-bottom: 30px;
    }
}