@charset "UTF-8";

/* ==========================================================================
   0. すべての要素の一括指定・初期化
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

button {
    font-size: inherit;     /* 文字サイズを引き継ぐ */
    color: inherit;         /* 文字色を引き継ぐ */
    font-family: inherit;   /* フォントを引き継ぐ */
    font-weight: normal;    /* 勝手に太字になるのを防ぐ（通常の太さに） */
    background: transparent;/* グレーの背景色を透明に */
    border: none;           /* 立体的な枠線を消す */
    cursor: pointer;        /* クリック可能なカーソルに変更 */
}

h1, h2, h3, h4, h5, h6 {
    font-size: inherit;   /* 周りの文字サイズに合わせる */
    font-weight: inherit; /* 周りの太さに合わせる */
    margin: 0;            /* 余白をゼロにする */
}

small {
    font-size: inherit;   /* 文字サイズを引き継ぐ */
}

a {
    color: inherit;       /* 文字色を引き継ぐ */
    text-decoration: none;
}

img {
    max-width: 100%;      /* 親要素からはみ出さないように設定 */
    height: auto;
    object-fit: contain;  /* 縦横比を維持して枠内に収める */
    display: block;       /* 下部の不要な隙間を削除 */
}


/* ==========================================================================
   1. Flexboxレイアウト設定
   ========================================================================== */

/* 子要素を横一列に並べる */
.flex { display: flex; }

/* 折り返して並べる */
.flex-wrap { display: flex; flex-wrap: wrap; }

/* 縦一列に並べる */
.flex-column { display: flex; flex-direction: column; }

/* 縦一列で、上下の中心線を揃える */
.flex-column-justify { display: flex; flex-direction: column; justify-content: center; }

/* 縦一列で、上下左右の中心線を揃える */
.flex-column-center { display: flex; flex-direction: column; justify-content: center; align-items: center; }

/* 空きスペースを埋めるように要素を横に伸ばす */
.flex-grow { flex-grow: 1; }

/* 横並びで、上下の中心線を揃える */
.flex-align-center { display: flex; align-items: center; }

/* 完全に真ん中（上下左右の中央）に配置する */
.flex-center { display: flex; justify-content: center; align-items: center; }

/* 左右の両端に寄せ、間の要素を均等に分ける */
.flex-between { display: flex; justify-content: space-between; }

/* 左右の両端に広げつつ、同時に上下の中心線もきれいに揃える */
.flex-between-center { display: flex; justify-content: space-between; align-items: center; }

/* 要素の左右に均等なスペースを空ける */
.flex-around { display: flex; justify-content: space-around; align-items: flex-start; }

/* 要素の左右に均等なスペースを空けつつ、同時に上下の中心線も揃える */
.flex-around-center { display: flex; justify-content: space-around; align-items: center; }

/* 横並びにした要素と要素の「間」だけに指定した隙間（初期値10px）を作る */
.flex-gap { display: flex; gap: var(--gap, 10px); }


/* ==========================================================================
   2. フォント設定
   ========================================================================== */

/* ========== 2-1. サイズ ========== */

.fz-2xl { font-size: 28px; } /* 【超々大】カタログタイトル */
.fz-xl  { font-size: 22px; } /* 【超大】カタログタイトル */
.fz-lg  { font-size: 18px; } /* 【大】サブヘッダー見出し */
.fz-mdl { font-size: 15px; } /* 【中】小見出し */
.fz-md  { font-size: 13px; } /* 【中】基本テキスト */
.fz-mds { font-size: 12px; } /* 【中】補足見出し */
.fz-sm  { font-size: 11px; } /* 【小】補足テキスト */
.fz-xs  { font-size: 10px; } /* 【極小】 */
.fz-2xs { font-size: 9px;  } /* 【超極小】 */

.font-normal { font-weight: normal; }
.font-bold   { font-weight: bold; }
.font-price  { color: #FF00FF; font-weight: bold; }


/* ========== 2-2. 色 ========== */

.fc-black     { color: #000000; } /* 漆黒 */
.fc-main      { color: #666666; } /* 基本テキスト色 */
.fc-sub       { color: #333333; } /* 補助テキスト色 */
.fc-orange    { color: #FF9933; } /* アクセントオレンジ */
.fc-white     { color: #FFFFFF; } /* 白 */
.fc-red       { color: #990000; } /* 赤 */
.fc-red_dark  { color: #C00000; } /* 暗い赤 */
.fc-blue-link { color: #0006FF; } /* リンク用青 #0044CC */

.color-change:hover { color: #0006FF; } /* 色をリンク用青に変更 */


/* ==========================================================================
   3. 全体の共通設定
   ========================================================================== */

/* ========== レイアウト ========== */

body {
    font-family: "Meiryo", "メイリオ", sans-serif;
    font-size: 16px; /* 基本の文字サイズ */
    color: #333333;
    line-height: 1.7;
    background-color: #FFFFFF; /* 画面全体の背景色（ホワイト） */

    /* 古いブラウザ向けのフォールバックと 100dvh の指定 */
    min-height: 100vh;
    min-height: 100dvh;

    display: flex;
    flex-direction: column;
}

/* 枠組みとフッター最下部固定を管理するコンテナ */
.site-wrapper {
    width: 100%; /* PC表示の幅を固定 */
    margin: 0 auto; /* 画面中央に配置 */
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* flex-grow: 1 で縦いっぱいに引き伸ばす */
}

.page-container {
    flex: 1; /* 中間コンテナを縦いっぱいに広げてフッターを最下部に押し出す */
    padding-top: 20px;
    padding-bottom: 30px;
    width: 700px;
}

#form1 {
    display: flex; /* フォームも縦いっぱいに広げる */
    flex-direction: column;
    flex-grow: 1;
    width: 100%;
}

/* 上下のグレーライン */
.main-top-line,
.main-footer {
    height: 4px;
    background-color: #C0C6D4;
    width: 100%;
    flex-shrink: 0;
}

.main-footer {
    height: 10px;
    margin-top: 3%;
}



/* ==========================================================================
   4. ヘッダーエリア
   ========================================================================== */

.main-header {
    border-bottom: 3px solid #015183;
}




/* ==========================================================================
   5. 入力手順
   ========================================================================== */

.step {
    width: 100%;
    margin: 3% 0;
}

.step div {
    width: 32%;
    padding: 1%;
    text-align: center;
    background-color: #ecf0f9;
    color: #afb5c2;
}


/* ==========================================================================
   6. ログイン画面
   ========================================================================== */

.box-entry {
    min-height: 50vh; /* headerを除いた、画面に収まる高さ */
}

.box-entry-input {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 6%;
    border: 1px solid #b7bdc9;
    padding: 5%;
}


.error {
    color: #fe3b36;
    text-align: center;
    margin-top: 6%;
}


/* ==========================================================================
   7. 入力フォーム
   ========================================================================== */

input {
    width: 100%;
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #b7bdc9;
    box-sizing: border-box;
    background-color: #fff;
}

input:placeholder-shown {
    background-color: #ffe8b2; /* 未入力 */
}

input:focus {
    background-color: #add8e6; /* 選択中 */
}

.input_radio {
    width: auto;
}

.any {
    background-color: #fff; /* 任意の入力欄 */
}

.any:placeholder-shown {
    background-color: #fff; /* 任意の未入力 */
}

.any:focus {
    background-color: #add8e6; /* 任意の選択中 */
}

/* selectbox */
select {
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #b7bdc9;
    background-color: #fff; /* 選択後 */
}

select:invalid {
    background-color: #ffe8b2; /* 未入力 */
}

select option {
    background-color: #add8e6; /* 選択中 */
}

@media all and (-ms-high-contrast: none) {
    select:invalid {
        background-color: #fff; /* 未入力 */
    }
    select option {
        background-color: #fff; /* 選択中 */
    }
}

/* 記入例の文字色 */
::placeholder {
    color: #b3b3b3;
}


/* ==========================================================================
   8. 送信ボタン
   ========================================================================== */

.submit_btnarea {
    width: 80%;
    margin: 0 auto;
    text-align: center;
}

/* フォームボタン */
.form-btn {
    width: 80%;
    padding: 10px;
    background: #005183;
    border: 1px solid #fff;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all .5s ease-out;
    position: relative;
}

.form-btn:hover {
    background: #fff;
    border-color: #005183;
    color: #005183;
}

.form-btn:disabled {
    cursor: default;
    opacity: 0.5;
}

/* フォームボタン（戻る） */
.form-btn-back {
    width: 80%;
    padding: 10px;
    background: #999999;
    border: 1px solid #fff;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all .5s ease-out;
    position: relative;
}

.form-btn-back:hover {
    background: #fff;
    border-color: #999999;
    color: #666666;
}

.form-btn-back:disabled {
    cursor: default;
    opacity: 0.5;
}

.bt-login {
    max-width: 120px;
}


/* ==========================================================================
   9. 会社情報の入力
   ========================================================================== */

.box-form {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.read { /* リード文 */
    margin-top: 5%;
    margin-bottom: 4%;
}

.title-form { /* 見出し */
    color: #0c3163;
    font-size: x-large;
    font-weight: bold;
    border-bottom: 3px solid #c0c6d4;
    margin-bottom: 5%;
}

/* 重要 */
.form-container {
    display: grid;
    /* 1列目（見出し）は230px固定、2列目（入力欄）は残り幅全て（1fr）の「2列構造」に固定 */
    grid-template-columns: 230px 1fr;
    gap: 30px 0px; /* 行・列の隙間 */
    align-items: center; /* 上下中央揃え */
}

.form-container input{/*入力文字の間隔*/
    letter-spacing: 2px;
}

.form-container > *:nth-child(even) {
    white-space: nowrap;
}

.form-container-3 {
    display: grid;
    /* 3列の場合（同じ幅で3分割） */
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 20px;
    align-items: center;
}

.radio-group {
    display: grid;
    grid-template-columns: repeat(3, 90px); /* 90px幅の列を3つ並べる */
    align-items: center;
    gap: 50px;
}

/* --- 入力フォームが半分の大きさ --- */
.form-half {
    max-width: 200px;
}

/* --- 入力フォームがさらに半分の大きさ --- */
.form-2half {
    max-width: 120px;
}

/* --- 項目間のスペース --- */
.field-spacer {
    margin-top: 12%;
}

/* 任意のアイコン */
.ic-any {
    color: #fff;
    background-color: #0e3060;
    display: inline-block;
    font-size: small;
    width: 50px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    margin-left: 10px; /* 5% */
}

/* 備考 */
.form-note {
    width: 100%;
    line-height: 1.5;
    height: 7em;
    resize: none;
}

/* お支払い条件 */
.box-check {
    margin: 40px 0px 80px 0px;
}

.box-check input {
    transform: scale(2.5);
    margin-left: 20px;
}


/* ==========================================================================
   10. 弊社の担当者情報
   ========================================================================== */

.title-staff {
    background-color: #f4f4f4;
    color: #2b3445;
    padding: 2%;
    font-size: medium;
    font-weight: bold;
    margin-bottom: 3%;
}

.img-staff {
    width: 24%;
    float: left;
    padding: 1px;
    background-color: #fff;
    margin-right: 5%;
}

.img-staff  img{
    border: 1px #eceef0 solid;
}

.info-name {
    white-space: nowrap;
}

.info-office {
    display: grid;
    margin-top: 4%;
    /* 1列目（見出し）は80px固定、2列目（入力欄）は残り幅全て（1fr）の「2列構造」に固定 */
    grid-template-columns: 80px 1fr;
    gap: 2px 0px; /* 行・列の隙間 */
    align-items: center; /* 上下中央揃え */
}

.info-office > *:nth-child(even) {
    white-space: nowrap;
}


/* ==========================================================================
   11. 弊社の担当者情報
   ========================================================================== */

#box_complete{
	width:55%;
	margin-top:12%;
	margin-bottom:5%;
	border-radius: 5px;
	border: 2px solid #4672cb;
	line-height:40px;
	padding:1.5%;
	margin-left:auto;
	margin-right:auto;
	color:#1d4aa3;
	font-size:large;
	font-weight:bold;
}

#ic_mail{
	width:16%;
	float:left;
	margin-right:8%;
}

#ic_mail img{
	max-height:40px;
	width:auto;
}


/* ==========================================================================
   98. 表示・非表示のまとめ
   ========================================================================== */

/* 表示・非表示 */
.mob { display: none; }

.page2 { display: none; }


/* ==========================================================================
   99. レスポンシブ対応 (モバイル・タブレット)
   ========================================================================== */

/* タブレット用 */
@media (max-width: 768px) {



/*フォントサイズの調整*/
body {
    font-size: 15px; /* 16 基本の文字サイズ */
}

.form-container label{
    font-size: 14px;
    margin-bottom: -4%;
}


/*flexの変更*/
.flex{
    flex-direction: column;
}

.box-staff{
    flex-direction: row;/*横並びのままにする*/
}


/*step*/
.step{
    flex-direction: row;/*横並びのままにする*/
    font-size: 11px;
}


/*その他*/

.radio-group {
    grid-template-columns: repeat(3, 30px);


}

.entry_form{/*垂直方向の調整*/
    margin-top: 2%;

}

.etc_form{/*その他の伝達事項*/
    white-space: normal;
}

.info-name{/*担当者名を縦に並べる*/
    display: flex;
    flex-direction: column;
}



    .page-container {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .form-container {
        grid-template-columns: 180px 1fr;
        gap: 20px 0px;
    }

    .form-container-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    /*#box_login,*/
    .box-entry-input {
        width: 85%;
    }

    .submit_btnarea {
        width: 90%;
    }

    .form-btn,
    .form-btn-back {
        width: 90%;
    }

}
/* /タブレット用 */


/* スマートフォン用 */
@media (max-width: 480px) {

/* 表示切り替え */
.pc{display: none;}



.entry_form{
    margin-top: 0;/*垂直方向の調整*/
    margin-bottom: 8%;/*フォーム同士の間隔*/
}


.title-form { /* 見出し */
    font-size: large;/*x-large*/
}


/*締日*/
.label-simebi{justify-content: flex-start; gap:20px;}


/*御社担当*/
.box-staff{
    flex-direction: column;/*縦並びにする*/
}

.info-office dt{ margin-bottom: -4%;}
.info-office dd{font-size: 15px; margin-bottom: 4%; border-bottom: #EEEEEE 1px solid;}


.mob { display: inline-block; }





    /*以下、調整中*/

    /* レイアウト枠線の調整 */
    .sub-container {
        padding: 0 10px;
    }

    /* Gridをすべて1列表示に変更 */
    .form-container,
    .form-container-3,
    .info-office {
        grid-template-columns: 1fr;
        gap: 10px 0px;
    }


    /* フォームの横幅を100%に拡大 */
    .box-entry-input,
    .submit_btnarea,
    .form-btn,
    .form-btn-back {
        width: 100%;
        max-width: 100%;
    }

    /* ステップ表示を調整 */
    .step div {
        font-size: 11px;
        padding: 2% 1%;
    }



    /* 画像とテキストの回り込み解除 */
    .img-staff {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
        display: flex; justify-content: center; align-items: center;
    }

    .img-staff img{
        width: 60%;
    }

    /* チェックボックスの折り返し対応 */
    .box-check {
        margin: 20px 0 40px 0;
    }

    .box-check input {
        transform: scale(1.8);
        margin-left: 10px;
    }

    .info-name {/*御社担当 名前*/
    white-space: normal;
    }

.title-staff {
    font-size: 15px;/*medium*/
    margin-top: 50px;/*上下方向の調整*/
}

.box-staff{
    display: flex;
    justify-content: center;
    align-items: center;
}



}
/* /スマートフォン用 */