@charset "utf-8";


/*========= ローディング画面のためのCSS（home用） ===============*/
/*
 * 2026-07-28 にこいち改修（P0：表示速度）
 * 旧実装は footer.php の $(window).on('load') 依存だった。
 * 全リソース読み込み完了 ＋ 1.5秒待ってから消える設計のため、
 * モバイルのLCPが24.8秒（実測で23秒間「読み込み中」を表示）になっていた。
 * → JSを介さず、CSSアニメーションだけで必ず消えるようにする。
 */
#splash {
    position: fixed;
    inset: 0;
    background: #3E4F63;
    z-index: 9999999;
    pointer-events: none;
    /* 1.05秒見せてから0.55秒でフェードアウト。JSの状態に依存しない */
    animation: splashFadeOut .55s cubic-bezier(.4, 0, .2, 1) 1.05s forwards;
}

@keyframes splashFadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

#splash-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* マスクの外に出た部分を隠す器 */
    overflow: hidden;
    line-height: 0;
}

#splash-logo img {
    display: block;
    width: min(260px, 56vw);
    height: auto;
    /* 左から右へ、マスクが開くようにロゴが現れる */
    clip-path: inset(0 100% 0 0);
    animation: splashLogoReveal .95s cubic-bezier(.22, .61, .36, 1) .12s forwards;
}

@keyframes splashLogoReveal {
    to {
        clip-path: inset(0 0 0 0);
    }
}

/*
 * 同一セッションで2回目以降は出さない（header.php のインラインスクリプトが付与）。
 * 毎回フルスクリーンの演出を見せられるのは、回遊するユーザーにとって邪魔になるため。
 */
.splash-seen #splash {
    display: none;
}

/* 動きを減らす設定の人には、演出せず即座に消す */
@media (prefers-reduced-motion: reduce) {

    #splash,
    #splash-logo img {
        animation: none;
    }

    #splash {
        display: none;
    }
}


/*========= 画面遷移のためのCSS（home用） ===============*/

/*画面遷移アニメーション*/
.splashbg {
    display: none;
}

/*bodyにappearクラスがついたら出現*/
body.appear .splashbg {
    display: block;
    content: "";
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    transform: scaleX(0);
    background-color: #3E4F63;
    /*伸びる背景色の設定*/
    animation-name: PageAnime;
    animation-duration: 1.2s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}

@keyframes PageAnime {
    0% {
        transform-origin: left;
        transform: scaleX(0);
    }

    50% {
        transform-origin: left;
        transform: scaleX(1);
    }

    50.001% {
        transform-origin: right;
    }

    100% {
        transform-origin: right;
        transform: scaleX(0);
    }
}

/*画面遷移の後現れるコンテンツ設定*/
/*
 * 2026-07-28 にこいち改修（P0：表示速度）
 * 旧: opacity: 0 ―― JSで body に .appear が付くまで本文が透明だった。
 *     つまり「本文が見えるかどうか」自体がJSの完走に依存していた。
 *     これがLCP 24.8秒の直接原因。
 * 新: 最初から可視。JSやCSSアニメーションの成否に関わらず本文は必ず表示される。
 */
#container {
    opacity: 1;
}

/*
 * 旧 body.appear #container の演出は撤去。
 * .appear を付与していたJS（footer.php）ごと廃止したため、この指定は到達不能だった。
 */


/*========= Youtube BOX ===============*/
@media screen and (min-width:768px) {
    .sby_info_item {
        min-height: 80px;
    }
}


/*========= Product slide ===============*/

.slide_ttl {
    border-left: 3px solid #3E4F63 !important;
    padding-left: 16px !important;
}


/* 2026-10-20：旧 Smart Slider の点の位置（#n2-ss-3・#n2-ss-6）は common/nicoichi-sliders.css 3章へ移した */

@media (max-width:768px) {

    .slide_ttl {
        font-size: 20px !important;
    }

    .slide_sub_ttl {
        font-size: 15px !important;
    }

    .slide_sub_ttl p {
        padding: 10px 0 !important;
    }

    .slide_detail {
        font-size: 13px !important;
    }
}


/*========= Product popup ===============*/

*:focus {
    outline: none;
}

.popup_table {
    font-size: 13px;
}

.popup_table th {
    width: 120px;
}

.popup_table th,
.popup_table td {
    border-bottom: 1px solid #c5c5c5;
    text-align: left;
    font-weight: normal;
    padding: 12px 0;
    margin: 0;
}

.dialog-close-button {
    text-decoration: none;
}

@media (max-width:768px) {

    .popup_table th,
    .popup_table td {
        padding: 4px 0;
    }
}


table.page_table {
    font-size: 16px;
}

table.page_table {
    border-top: 1px solid #8d8d8d;
    border-left: 1px solid #8d8d8d;
}

table.page_table th, table.page_table td {
    border-bottom: 1px solid #8d8d8d;
    border-right: 1px solid #8d8d8d;
    padding: 14px 10px;
    text-align: center;
}

table.page_table th {
    background-color: #F1F1F1;
    text-align: center;
}

table.page_table tr.calent_year td {
    font-weight: bold;
    text-align: center;
    color: #942827;
}

@media (max-width:768px) {
    table.page_table {
        font-size: 13px;
    }
}


table.company_table {
    font-size: 16px;
}

table.company_table {
    border-top: 1px solid #8d8d8d;
    border-left: 1px solid #8d8d8d;
}

table.company_table th, table.company_table td {
    border-bottom: 1px solid #8d8d8d;
    border-right: 1px solid #8d8d8d;
    padding: 14px 10px;
    text-align: left;
}

table.company_table th {
    background-color: #F1F1F1;
    text-align: left;
    width: 240px;
}

table.company_table tr.calent_year td {
    font-weight: bold;
    text-align: center;
    color: #942827;
}

@media (max-width:768px) {
    table.company_table th {
        width: 33%;
    }

    table.company_table {
        font-size: 13px;
    }
}


/*========= form ===============*/
.form_wrap table {
    border-top: 1px solid #cccccc;
    border-left: 1px solid #cccccc;
    background-color: #FFFFFF;
}

.form_wrap table th,
.form_wrap table td {
    border-bottom: 1px solid #cccccc;
    border-right: 1px solid #cccccc;
    padding: 16px;
}

.form_wrap table th {
    background-color: #FBFBFB;
    text-align: left;
    width: 260px;
    position: relative;
}

.form_wrap table td input.f_width,
.form_wrap table td textarea.f_width {
    width: calc(100% - 16px);
    padding: 8px;
    border-color: #cccccc;
    border-width: 1px;
    -webkit-appearance: none;
    margin-bottom: 3px;
}

.form_wrap table td input.s_width,
.form_wrap table td textarea.s_width {
    padding: 8px;
    border-color: #cccccc;
    border-width: 1px;
    -webkit-appearance: none
}

.form_wrap table th .required {
    display: block;
    float: right;
    width: 50px;
    font-size: 12px;
    background-color: #942827;
    color: #FFFFFF;
    text-align: center;
    border-radius: 3px;
}

.send_btn {
    margin: 32px;
    text-align: center;
}

.send_btn input {
    font-size: 18px;
    padding: 5px 16px;
    color: #fff;
    background-color: #3E4F63;
    border: none;
    box-shadow: none;
    margin: 0 12px;
}


.confirm_check {
    display: none;
}

.mw_wp_form_confirm .confirm_check {
    display: block;
    color: #1d70ee;
    margin: 24px 0;
    font-weight: bold;
}

.seminar_form_disable {
    text-align: center;
    margin: 24px 0;
    color: #F05887;
}

.mw_wp_form .horizontal-item,
.mw_wp_form .horizontal-item+.horizontal-item {
    display: inline-block;
    margin-left: 0px !important;
    margin-right: 10px !important;
}

.form_send {
    text-align: center;
    margin: 36px 0;
    color: #1d70ee;
    font-size: 18px;
    font-weight: bold;
}

@media (max-width:767px) {

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

    .form_wrap table td input.f_width,
    .form_wrap table td textarea.f_width {
        width: 100%;
    }
}

