@charset "UTF-8";

/** --------------------------------------------------------------------------*
 * @file        共通CSS定義ファイル（クライアント配置）
 *
 * @author      Kuniaki Nakajima
 * @version     1.0.0
 * 
 *----------------------------------------------------------------------------*/

.communicationColorList {
    color: #002B62;
    color: #EB6E00;
    color: #04127C;
    color: #65B3A4;
    color: #1E32A5;
    color: #286EBE;
    color: #419B91;
    color: #D2BE00;
    color: #A0D8Ad;
    color: #DC8C23;
    color: #BE375A;
    color: #858585;
    color: #000000;
    color: #ffffff;
}


/** ========================================================================= *
 *  ■ タグ共通 CSS定義
 ** ========================================================================= */

html {
    line-height: 1.5;
    font-family: verdana, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", Sans-Serif;
    margin: auto;
}
h2 {
    margin: 0em 0em 1em 0em;
    padding: 0.1em 0.5em;/*上下 左右の余白*/
    background:#ececec;
    border-left: solid 10px #286EBE;/*左線*/
    border-bottom: solid 3px #858585;
}
h4 {
    margin: 1.5em 0em 0.1em 0em;
    background:#ececec;
}
p {
    margin: 0.5em 1.5em 0.5em 1.5em;
}
::placeholder{
    color: #818a8b
}
textarea {
    overflow-wrap: break-word;
}
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border: 4px solid #286EBE;
    background-color: lemonchiffon;
}
input, select {
    padding: 0.5em;
}
a {
    color:#286EBE;
    font-weight: bold;
}
table {
    width: 100%;
    border-collapse: collapse;
    border:1px solid #bbb; 
}
table th,
table td {
    border:1px solid #bbb; 
}
table th {
    white-space: nowrap;
    text-align: center;
    background-color: lightgrey;
    padding: 0.5em;
}
table td {
    text-align: left;
}
textarea {
    width: 100%;
    margin-right: auto;
    display: block;
}

/** ========================================================================= *
 *  ■ 共通クラス定義
 ** ========================================================================= */

/*-- 親Boxの表示位置に依存しないBox表示 --*/
.flex-parent {
    width:100%;
    display:flex;
    justify-content:center;
}
/*-- 注意事項 --*/
.attention {
    color: red;
    font-weight: bold;
}
/*-- 注意事項（マーク有り）--*/
.att-header {
	color: #ff0000; 
	font-weight: bold;
	background: transparent url(/contents/image/layout/icon/att_icon.gif) no-repeat center left;
}
p.att-header {
    padding-left: 1em;
}
/*-- 字下げ --*/
.indent {
    text-indent: 1em; 
}
/*-- ぶら下げ --*/
.hanging {
    margin-left: 1em;
    text-indent: -1em; 
}
/*-- 文字ラベル（レッド）---*/
.redLabel {
    border-radius: 4px;
    margin-left: 1em;
    margin-right: 1em;
    margin-bottom: 0.2em;
    padding: 0.1em 0.4em 0.2em 0.4em;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    background: #990000;
    color: #fff;
    font-size: smaller;
}
/*-- 文字ラベル（グレー）---*/
.grayLabel {
    border-radius: 4px;
    margin-left: 1em;
    margin-bottom: 0.2em;
    padding: 0.1em 0.4em 0.2em 0.4em;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    background: #666666;
    color: #fff;
    font-size: smaller;
    font-weight: normal;
}

/*-- 共通テーブルBox用 クラス --*/
table.tableBox {
    border-collapse: collapse;
    border:1px solid #bbb; 
    margin-bottom:0.5em;
}
table.tableBox tr {
    width: 100%;
    margin-bottom:1em;
}
table.tableBox td {
    padding-left: 0.5em;
    padding-right: 0.5em;
}

/*-- 外枠用Box クラス --*/
.outBox ul {
    padding-left: 2.5em;
}
.outBox p {
    margin-left: 1em;
}
.outBox ul {
    margin-left: 1em;
    padding-left: 1em;
}
/*-- 内枠用Box クラス --*/
.inBox {
    padding: 0em 0.5em 0em 0.5em;
    border:1px solid #bbb; 
    text-align: left;
}
.inBox .head {
    font-size: medium;
    font-weight: bold;
    margin: 0.5em 0em 0.5em 0em;
}
.inBox hr {
    margin-top: 1em;
}
/*-- 入力パラメータ用 inBox内向け クラス--*/
.inBox input,
.inBox select {
    margin: 0.2em 0.2em 0.2em 0.5em;
    padding: 0.1em;
}
/*-- 入力パラメータ用 クラス--*/
.tableWrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
/*-- テキストエリアの横幅固定(2文字減) --*/
textarea.fixedWidth {
    margin-left:1em;
    width:calc(100% - 2em);
    max-width:calc(100% - 2em); 
    resize:vertical;
}

/** ========================================================================= *
 *  ■ 共通機能用定義
 ** ========================================================================= */

/** ------------------------------------------------------------------------- *
 *  ■ inomationアイコンボタン関連
 ** ------------------------------------------------------------------------- */
.info-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    font: inherit;
    line-height: 1;
}

.info-icon-img {
    display: inline-block;
    height: 1.2em;
    width: auto;
}

/** ------------------------------------------------------------------------- *
 *  ■ ツールチップ関連　クラス／ＩＤ定義
 *     ※詳細は common.js ファイル参照
 ** ------------------------------------------------------------------------- */
 /* ツールチップ全体 */
.tooltip {
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
}

.tooltip-text {
    display: none;
}

/* 画面上に実際に表示するツールチップ */
#global-tooltip {
    position: fixed;
    z-index: 99999;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease;
    background-color:cornsilk;
    color: #333;
    border: 1px solid #b7aa5a;
    border-radius: 4px;
    padding: 6px 10px;
    text-align: left;
    line-height: 1.4;
    box-sizing: border-box;
    pointer-events: none;
    max-width: min(340px, calc(100vw - 16px));
    white-space: normal;
    word-break: break-word;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-size: small;
}

#global-tooltip.show {
    visibility: visible;
    opacity: 1;
}

/** ------------------------------------------------------------------------- *
 *  ■ modalAlert,modalConfirm関連　クラス／ＩＤ定義
 *     ※詳細は common.js ファイル参照
 ** ------------------------------------------------------------------------- */

#modal {
    display: none;
    padding: 0.5em;
    background-color: white;
    border: 2px solid lightgray;
    border-radius: 5px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5);   /* modalに影を作る */
    position:fixed;
    z-index: 10;                /* z-indexでmodalを一番上に位置させる */
}

#modalOverlay {
    display:none;
    width: 100%;
    height: 120%;
    background-color: #00000066;   
    position: fixed;
    top: 0;
    left: 0;
    z-index: 5;                 /* z-indexの数字を0と10の間の数字にし、bodyとmodalの真ん中に位置させる */
    /* backdrop-filter: blur(3px); */  /* 一番下のbody領域をぼやかす */
}

#modal p {
    font-size: medium;
    text-align: left;
    margin: 5px 10px 5px 10px;
}

#modal .button {
    display: inline-block;
    margin-top: 5px;
    padding: 5px 25px 3px 25px;
    text-decoration: none;
    background: #4a80ff;/*ボタン色*/
    color: #FFF;
    border-bottom: solid 4px #627295;
    border-radius: 3px;
    font-size: smaller;
}

#modal .button:active {
    /*ボタンを押したとき*/
    -webkit-transform: translateY(4px);
    transform: translateY(4px);/*下に動く*/
    border-bottom: none;/*線を消す*/
}


/** ========================================================================= *
 *  ■ デバイス対応定義（設定調整）
 ** ========================================================================= */

/* パソコン用       1024px～ */
@media screen and (min-width:769px){
    /* modalAlert,modalConfirm用 */
    #modal {
        width: 50%;
        max-width: 500px;
    }
}

/* タブレット用     641px～1023px */
@media screen and (min-width:641px) and (max-width:768px){
    /* modalAlert,modalConfirm用 */
    #modal {
        width: 70%;
        max-width: 500px;
    }
}

/* スマホ用         420px～640px     */
@media screen and (min-width:420px) and (max-width:768px){
    /* modalAlert,modalConfirm用 */
    #modal {
        width: 90%;
    }
}

/* スマホ初期型用   ～419px */
@media screen and (max-width:419px){
    /* modalAlert,modalConfirm用 */
    #modal {
        width: 90%;
    }
}


/** (End Of File) ----------------------------------------------------------- **/
