/* Index header/global navigation CSS rebuild.
   Loaded after common.css and scoped to index body class only. */

/* ------------------------------------------------------------------
   Common Header Block (rollout target for all pages)
------------------------------------------------------------------- */

/* Common font scope for header/navigation */
body.top-css-nav {
    font-family: "Yu Gothic","Hiragino Kaku Gothic ProN","Meiryo","MS PGothic",sans-serif;
}

/* Header background (CSS recreation of legacy h_bg2.png) */
body.top-css-nav #top_header {
    position: relative;
    background-color: #efefef;
    background-image: linear-gradient(
        to bottom,
        #fcfcfc 0px,
        #fcfcfc 86px,
        #fbfbfb 86px,
        #fbfbfb 91px,
        #fafafa 91px,
        #fafafa 94px,
        #f9f9f9 94px,
        #f9f9f9 97px,
        #f8f8f8 97px,
        #f8f8f8 100px,
        #f7f7f7 100px,
        #f7f7f7 102px,
        #f6f6f6 102px,
        #f6f6f6 105px,
        #f5f5f5 105px,
        #f5f5f5 108px,
        #f4f4f4 108px,
        #f4f4f4 111px,
        #f3f3f3 111px,
        #f3f3f3 114px,
        #f2f2f2 114px,
        #f2f2f2 117px,
        #f1f1f1 117px,
        #f1f1f1 120px,
        #f0f0f0 120px,
        #f0f0f0 123px,
        #efefef 123px,
        #efefef 127px,
        #eeeeee 127px,
        #eeeeee 130px,
        #ededed 130px,
        #ededed 134px,
        #ececec 134px,
        #ececec 138px,
        #ebebeb 138px,
        #ebebeb 140px,
        #ededed 140px,
        #ededed 141px,
        #f4f4f4 141px,
        #f4f4f4 142px,
        #fcfcfc 142px,
        #fcfcfc 143px,
        #fdfdfd 143px,
        #fdfdfd 144px,
        #fefefe 144px,
        #fefefe 149px,
        #ffffff 149px,
        #ffffff 170px,
        #a0a0a0 170px,
        #a0a0a0 171px
    );
    background-repeat: repeat-x;
    background-size: 100% 171px;
}

body.top-css-nav #top_header_in {
    position: relative;
    z-index: 2;
}

/* Header row geometry (avoid relative-position compensation on gnav) */
body.top-css-nav #h {
    height: 75px;
}

body.top-css-nav #h_left {
    height: 75px;
}

body.top-css-nav #h_left img {
    width: 60%;
    height: auto;
    display: block;
}

body.top-css-nav #h_left a {
    display: flex;
    align-items: center;
    height: 75px;
}

/* Header utility row */
body.top-css-nav #h_right {
    width: 745px;
    height: 42px;
    margin-top: 16px;
    float: right;
}

body.top-css-nav #SizeChange {
    width: 511px;
    height: 42px;
    float: left;
    display: block;
}

body.top-css-nav #SizeChange ul.utility-size {
    margin: 0;
    padding: 0;
    height: 42px;
    list-style: none;
}

body.top-css-nav #SizeChange ul.utility-size:after {
    content: "";
    display: block;
    clear: both;
}

body.top-css-nav #SizeChange li {
    float: left;
    display: block;
    height: 42px;
}

body.top-css-nav #SizeChange .utility-search {
    width: 290px;
    margin-left: 30px;
    margin-right: 24px;
    background-color: transparent;
    display: flex;
    align-items: center;
}

body.top-css-nav #SizeChange .utility-label {
    width: 80px;
    line-height: 42px;
    padding-left: 5px;
    box-sizing: border-box;
    text-align: center;
    font-size: 11px;
    white-space: nowrap;
    color: #f7f7f7;
    background-color: #a4a4a4;
}

body.top-css-nav #SizeChange .utility-size-btn {
    width: 24px;
    text-align: center;
    background-color: #a4a4a4;
}

body.top-css-nav #SizeChange .utility-size-btn:last-child {
    width: 39px;
}

body.top-css-nav #SizeChange .utility-size-btn a {
    display: block;
    position: relative;
    line-height: 42px;
    font-size: 12px;
    color: #f7f7f7;
    text-decoration: none;
    font-weight: bold;
    opacity: 1;
}

body.top-css-nav #SizeChange .utility-size-btn a[title="中"] {
    font-size: 14px;
}

body.top-css-nav #SizeChange .utility-size-btn a[title="大"] {
    font-size: 16px;
}

body.top-css-nav #SizeChange .utility-size-btn + .utility-size-btn a:before {
    content: "|";
    position: absolute;
    left: -2px;
    top: 0;
    color: #e4e4e4;
}

body.top-css-nav #SizeChange .utility-size-btn a:hover,
body.top-css-nav #SizeChange .utility-size-btn a.textresizer-active {
    color: #ffffff;
    background-color: #969696;
}

body.top-css-nav #SizeChange .utility-size-btn a:visited {
    color: #f7f7f7;
}

body.top-css-nav #SizeChange .utility-search #gsc {
    position: relative;
    top: 0;
    margin: 0;
    width: 100%;
}

body.top-css-nav #SizeChange .utility-search .gsc-control-cse,
body.top-css-nav #SizeChange .utility-search .gsc-control-wrapper-cse,
body.top-css-nav #SizeChange .utility-search .gsc-search-box,
body.top-css-nav #SizeChange .utility-search .gsc-search-box-tools {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

body.top-css-nav #SizeChange .utility-search .gsc-input-box {
    background: #ffffff !important;
}

body.top-css-nav #headlink.utility-links {
    float: right;
    width: 234px;
    height: 42px;
    margin: 0;
    padding: 0;
    background: none;
}

body.top-css-nav #headlink.utility-links a {
    position: relative;
    float: left;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 42px;
    padding-top: 6px;
    line-height: 1;
    font-size: 11px;
    white-space: nowrap;
    text-align: center;
    color: #f8f8f8;
    text-decoration: none;
    background-color: #a4a4a4;
    box-sizing: border-box;
}

body.top-css-nav #headlink.utility-links a:first-child {
    width: 86px;
}

body.top-css-nav #headlink.utility-links a:first-child:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 9px;
    right: 9px;
    height: 5px;
    border-radius: 4px;
    background-color: #d6d13a;
}

body.top-css-nav #headlink.utility-links a:nth-child(2) {
    width: 65px;
}

body.top-css-nav #headlink.utility-links a:nth-child(2):before {
    content: "";
    position: absolute;
    top: 5px;
    left: 9px;
    right: 9px;
    height: 5px;
    border-radius: 4px;
    background-color: #ddd544;
}

body.top-css-nav #headlink.utility-links a:nth-child(3) {
    width: 83px;
}

body.top-css-nav #headlink.utility-links a:nth-child(3):before {
    content: "";
    position: absolute;
    top: 5px;
    left: 10px;
    right: 10px;
    height: 5px;
    border-radius: 4px;
    background-color: #8bc63f;
}

body.top-css-nav #headlink.utility-links a:hover {
    color: #ffffff;
    background-color: #8f8f8f;
}

body.top-css-nav #headlink.utility-links a:visited {
    color: #f8f8f8;
}

body.top-css-nav #headlink.utility-links a + a:after {
    content: "";
    position: absolute;
    left: -1px;
    top: 6px;
    width: 1px;
    height: 30px;
    background-color: #b6b6b6;
}

/* Global navigation */
body.top-css-nav #h_nav.css-gnav {
    position: relative;
    top: 0;
    height: 65px;
    background: transparent;
    box-shadow: inset 0 1px 0 #6f84cc;
    overflow: hidden;
}

body.top-css-nav #h_nav.css-gnav ul {
    margin: 0;
    padding: 2px 0 0 0;
    width: 980px;
    height: 63px;
    list-style: none;
    overflow: hidden;
}

body.top-css-nav #h_nav.css-gnav ul:after {
    content: "";
    display: block;
    clear: both;
}

body.top-css-nav #h_nav.css-gnav li {
    float: left;
    display: block;
    width: 140px;
    height: 63px;
    box-sizing: border-box;
}

body.top-css-nav #h_nav.css-gnav li + li {
    position: relative;
}

body.top-css-nav #h_nav.css-gnav li + li:before {
    content: "";
    position: absolute;
    left: -1px;
    top: 8px;
    width: 1px;
    height: 49px;
    background-color: #c6c9d1;
}

body.top-css-nav #h_nav.css-gnav li a {
    position: relative;
    display: block;
    height: 63px;
    padding: 7px 4px 0 4px;
    text-align: center;
    text-decoration: none;
    background: transparent;
    box-sizing: border-box;
}

body.top-css-nav #h_nav.css-gnav li a:after {
    content: "";
    position: absolute;
    left: 6%;
    right: 6%;
    bottom: 4px;
    height: 3px;
    border-radius: 2px;
    background-color: #6f84cc;
    opacity: 0;
    transition: opacity 0.2s ease, background-color 0.2s ease, height 0.2s ease;
    pointer-events: none;
}

body.top-css-nav #h_nav.css-gnav li a:before {
    content: "";
    display: block;
    width: 88%;
    height: 5px;
    margin: 0 auto 4px auto;
    background-image:
        repeating-linear-gradient(to right, #c7cad2 0, #c7cad2 1px, transparent 1px, transparent 2px),
        repeating-linear-gradient(to right, #c7cad2 0, #c7cad2 1px, transparent 1px, transparent 2px),
        repeating-linear-gradient(to right, #c7cad2 0, #c7cad2 1px, transparent 1px, transparent 2px);
    background-repeat: repeat-x, repeat-x, repeat-x;
    background-size: auto 1px, auto 1px, auto 1px;
    background-position: 0 0, 2px 2px, 0 4px;
}

body.top-css-nav #h_nav.css-gnav li a .jp {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    line-height: 18px;
    color: #42444a;
    font-family: "Meiryo", "Yu Gothic UI", "Yu Gothic", "Hiragino Kaku Gothic ProN", "MS PGothic", sans-serif;
    font-weight: 700;
    white-space: nowrap;
}

body.top-css-nav #h_nav.css-gnav li a .en {
    display: block;
    font-size: 11px;
    line-height: 13px;
    color: #555a66;
    font-family: Arial, Helvetica, sans-serif;
}

body.top-css-nav #h_nav.css-gnav li a:hover {
    background-color: #f6f7fa;
}

body.top-css-nav #h_nav.css-gnav li a:hover:after,
body.top-css-nav #h_nav.css-gnav li a:focus:after {
    opacity: 1;
    height: 2px;
    background-color: #b6c2e3;
}

body.top-css-nav #h_nav.css-gnav li.is-current a {
    background-color: #f6f7fb;
}

body.top-css-nav #h_nav.css-gnav li.is-current a:after {
    opacity: 1;
    height: 3px;
    background-color: #7088cf;
}

body.top-css-nav #h_nav.css-gnav li.is-current a .jp {
    color: #313a5a;
}

/* Breadcrumb/contact row vertical alignment */
body.top-css-nav #h_pan {
    padding-top: 6px;
}

body.top-css-nav #h_pan ul {
    margin: 0;
    padding: 0;
    width: auto;
    height: auto;
    position: static;
    left: auto;
    list-style: none;
    line-height: 0;
    font-size: 0;
}

body.top-css-nav #h_pan li {
    display: inline-block;
    margin: 0;
    padding: 0;
    background: none;
    font-size: 0;
    vertical-align: top;
}

body.top-css-nav #h_pan a {
    display: inline-block;
    margin: 0;
    padding: 3px 12px 3px;
    border-radius: 12px;
    background: #d8deef;
    color: #2f4790;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

/* Contact row (container only) */
body.top-css-nav #h_contact {
    width: 492px;
    height: 28px;
    margin: 0;
    padding: 0;
    float: left;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    column-gap: 10px;
    box-sizing: border-box;
    white-space: nowrap;
}

body.top-css-nav #h_contact a {
    display: inline-block;
}

body.top-css-nav #h_contact .h_contact_label_text {
    width: 166px;
    height: 25px;
    display: inline-flex;
    align-items: flex-end;
    margin-right: 0;
    padding: 0;
    box-sizing: border-box;
    color: #2f4790;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-align: left;
    white-space: nowrap;
}

body.top-css-nav #h_contact a.btn_contact_css {
    position: relative;
    width: auto;
    min-width: 144px;
    height: 25px;
    margin: 3px 0 0 0;
    padding: 0 10px 0 34px;
    border: 1px solid #ccd0d9;
    border-radius: 4px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    background-color: #f8f8f8;
    background-image: url("common_img/icon_h_contact_form.svg?20260227");
    background-repeat: no-repeat;
    background-position: 8px center;
    background-size: 20px 15px;
    color: #2f4790;
    text-decoration: none;
    font-family: Arial, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", "MS PGothic", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-align: left;
    letter-spacing: 0;
}

body.top-css-nav #h_contact a.btn_contact_css:hover {
    background-color: #ffffff;
}

body.top-css-nav #h_contact .tel_text {
    display: inline-flex;
    align-items: center;
    width: auto;
    height: 25px;
    padding: 0 0 0 35px;
    box-sizing: border-box;
    background-image: url("common_img/icon_h_contact_tel.svg?20260227");
    background-repeat: no-repeat;
    background-position: 7px center;
    background-size: 22px 15px;
    color: #2f4790;
    font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", "MS PGothic", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
    text-align: left;
    margin-top: 3px;
    white-space: nowrap;
}

/* Keep Windows rendering larger/clearer while preserving Mac legacy look. */
body.top-css-nav.is-win #h_contact .tel_text {
    font-family: Arial, "Segoe UI", "Yu Gothic", "Meiryo", "MS PGothic", sans-serif;
    font-size: 16px;
}

body.top-css-nav #h_contact img {
    display: inline-block;
    vertical-align: top;
}

/* ------------------------------------------------------------------
   TOP Page Only Block
------------------------------------------------------------------- */

body.top-css-nav #top_img2,
body.top-css-nav #top_img2 * {
    font-family: Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", "MS PGothic", sans-serif;
}

/* Responsive phase remains intentionally empty for now. */
@media screen and (max-width: 1100px) {
}

@media screen and (max-width: 767px) {
}
