html {
    height: 100%;
    background: #eeeeee;
}
body {
    background: #eeeeee;
    height: 100%;
    font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
a {
    text-decoration: none;
    color: #0061aa;
}
a:visited {
    text-decoration: none;
    color: #0061aa;
}
header {
    background: #FFF;
    min-width: 930px;
    height: 96px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
}
header .logo {
    /*float: left;*/
    /*width: 33.3333%;*/
    min-width: 300px;
    height: 96px;
    padding: 0 0 0 40px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}
header img {
    height: 32px;
    display: inline-block;
    margin: 32px 32px 32px 0;
    vertical-align: bottom;
}
header span {
    display: inline-block;
    font-size: 12px;
    color: #003595;
    font-weight: 700;
}
header nav {
    /*float: left;*/
    /*width: 33.3333%;*/
    min-width: 400px;
}
header .back {
    float: left;
    width: 33.3333%;
    padding: 20px 40px;
    box-sizing: border-box;
}
header .link {
    /*float: right;*/
    /*width: 33.3333%;*/
    padding: 20px 40px;
    box-sizing: border-box;
}
header ul {
    margin: 4px 0 0 0;
}
header a {
    font-size: 12px;
    font-weight: 400;
    background: url(/img/bullet.png) no-repeat left center;
    padding: 0 0 0 12px;
    background-size: 4px;
}
header .logo a {
    background: none;
    padding: 0;
}
header nav ul {
    /*width: 240px;*/
    /*width: 320px;*/
    min-width: 400px;
    margin: 0 auto;
}
header nav li {
    width: 80px;
    text-indent: -9999px;
    float: left;
    line-height: 1;
}
header nav li a {
    display: block;
    background: #CCC;
    width: 80px;
    height: 96px;
    line-height: 1;
}

/* グローバルメニューのアイコン */
header nav li.image_dl_icon a {
    background: #ffffff url(/img/icon1_off.png) no-repeat center center;
    background-size: 36px auto;
}
header nav li.contact_icon a {
    background: #ffffff url(/img/icon2_off.png) no-repeat center center;
    background-size: 32px auto;
}
header nav li.lensecare_icon a {
    background: #ffffff url(/img/icon3_off.png) no-repeat center center;
    background-size: 16px auto;
}
header nav li.prom_icon a {
    background: #ffffff url(/img/icon4_off.png) no-repeat center center;
    background-size: 42px auto;
}
header nav li.product_info_icon a {
    background: #ffffff url(/img/icon6_off.png) no-repeat center center;
    background-size: 42px auto;
}
.image header nav li.image_dl_icon a {
    background: #ffffff url(/img/icon1.png) no-repeat center center;
    background-size: 36px auto;
    border-bottom: 3px solid #0061aa;
    box-sizing: border-box;
}
.product_lens header nav li.contact_icon a {
    background: #ffffff url(/img/icon2.png) no-repeat center center;
    background-size: 32px auto;
    border-bottom: 3px solid #0061aa;
    box-sizing: border-box;
}
.product_care header nav li.lensecare_icon a {
    background: #ffffff url(/img/icon3.png) no-repeat center center;
    background-size: 16px auto;
    border-bottom: 3px solid #0061aa;
    box-sizing: border-box;
}
.promotional_items header nav li.prom_icon a {
    background: #ffffff url(/img/icon4.png) no-repeat center center;
    background-size: 42px auto;
    border-bottom: 3px solid #0061aa;
    box-sizing: border-box;
}
.product_info header nav li.product_info_icon a {
    background: #ffffff url(/img/icon6.png) no-repeat center center;
    background-size: 42px auto;
    border-bottom: 3px solid #0061aa;
    box-sizing: border-box;
}

.top_nav nav {
    margin: 0;
}
.top_nav ul, ul.index {
    width: 930px;
    margin: 0 auto;
}
ul.index {
    margin-top: 64px;
}
.top_nav li, .index li {
    float: left;
}
.index li {
    margin-bottom: 24px;
}
.top_nav li {
    margin-right: 24px;
    margin-bottom: 24px;
}
/*.top_nav li:nth-child(2), .index li:nth-child(3n-1) {*/
.index li:nth-child(3n-1) {
    margin: 0 45px;
}
.top_nav li a, .index li a {
    display: block;
    border-radius: 8px;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
    width: 280px;
    text-align: center;
    height: 280px;
    font-weight: 700;
    padding: 218px 0 0 0;
    box-sizing: border-box;
    transition: 0.0s linear 0;
    background: #FFF;
}
.index li a {
    height: auto;
    padding: 32px 0;
}

/* 2026/7 発注書詳細のboxはテキスト量が多くてレイアウトが崩れるので別途flexboxで対応 */
.po-detail .index li a {
    display: flex;
    align-items: center;
    height: 110px;
    justify-content: center;
    text-align: center;
    padding: 0;
}

.top_nav li a:hover,
.index li a:hover,
.top_menu li:hover {
    box-shadow: 0px 4px 12px 4px rgba(0, 0, 0, 0.08);
    transition: 0.3s linear 0;
}

/* トップページメニューのアイコン */
.top_nav li.image_dl_icon a {
    background: #ffffff url(/img/icon1.png) no-repeat center 66px;
    background-size: 110px auto;
}
.top_nav li.contact_icon a {
    background: #ffffff url(/img/icon2.png) no-repeat center 92px;
    background-size: 100px auto;
}
.top_nav li.lensecare_icon a {
    background: #ffffff url(/img/icon3.png) no-repeat center 54px;
    background-size: 56px auto;
}
.top_nav li.prom_icon a {
    background: #ffffff url(/img/icon4.png) no-repeat center 48px;
    background-size: 120px auto;
}
.top_nav li.marlo_icon a {
    background: #ffffff url(/img/icon5.png) no-repeat center 54px;
    background-size: 150px auto;
}
.top_nav li.product_info_icon a {
    background: #ffffff url(/img/icon6.png) no-repeat center 66px;
    background-size: 120px auto;
}

.menu_nav li:nth-child(1) a {
    background: #ffffff url(/img/icon_calendar.png) no-repeat center;
    background-size: 100px auto;
}
.menu_nav li:nth-child(2) a {
    background: #ffffff url(/img/icon_contact.png) no-repeat center;
    background-size: 100px auto;
}
.menu_nav li:nth-child(3) a {
    background: #ffffff url(/img/icon_transaction.png) no-repeat center;
    background-size: 100px auto;
}
.menu_nav li:nth-child(4) a {
    background: #ffffff url(/img/icon_purchase_order.png) no-repeat center;
    background-size: 100px auto;
}

.confirm {
    text-align: center;
    text-align: -webkit-center;
}
.confirm nav {
    /*margin: 160px 0 0 0;*/
    margin: 0;
    display: block;
    border-radius: 8px;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
    width: 940px;
    text-align: center;
    font-weight: 700;
    box-sizing: border-box;
    transition: 0.0s linear 0;
    background: #FFF;
}
.confirm nav p.head {
    padding: 40px 20px 0;
    font-size: 1.2rem;
    font-weight: bold;
}
.confirm nav p.main {
    padding: 10px 20px 0;
    font-size: 1.1rem;
    font-weight: bold;
}
.confirm nav p.annotation {
    padding: 10px 20px 40px;
    font-size: 0.9rem;
}
.confirm nav button {
    color: #0061aa;
    border-radius: 8px;
    border: none;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
    width: 260px;
    text-align: center;
    font-weight: 700;
    padding: 16px 0;
    margin: 16px 16px 32px;
    box-sizing: border-box;
    transition: 0.0s linear 0;
    background: #FFF;
    cursor: pointer;
}

.top_menu {
    padding-top: 40px;
}
.top_menu ul {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.top_menu ul li {
    /*margin: 160px 0 0 0;*/
    display: block;
    border-radius: 8px;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
    text-align: center;
    font-weight: 700;
    box-sizing: border-box;
    transition: 0.0s linear 0;
    background: #FFF;
}
.top_menu ul li:nth-child(2), .top_menu ul li:nth-child(3) {
    margin: 20px 0 0;
}
.top_menu ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    /*margin: 20px 0 20px 150px;*/
    margin: 20px 0 20px 0;
    /*padding-left: 150px;*/
    background-position: left;
    width: 830px;
    height: 140px;
}
.top_menu ul li:nth-child(1) a {
    background: #ffffff url(/img/icon1.png) no-repeat center;
    background-size: 100px auto;
    background-position: 20%;
}
.top_menu ul li:nth-child(2) a {
    background: #ffffff url(/img/icon_calendar.png) no-repeat center;
    background-size: 100px auto;
    background-position: 20%;
}


footer {
    text-align: center;
    min-width: 930px;
    background: #eeeeee;
}
footer a {
    padding: 5px 5px;
    font-size: 14px;
    font-weight: 400;
}
footer address {
    color: #0061aa;
    font-size: 12px;
    font-weight: 400;
}
.move_notice {
    color: #0061aa;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    margin: 64px 0;
}
.move_notice a {
    font-weight: 700;
    text-decoration: underline;
}
.top .content {
    /*height: calc(100vh - 80px);*/
    position: relative;
    /*min-height: 600px;*/
}
.content {
    min-width: 930px;
    /*min-height: calc(100vh - 80px);*/
    position: relative;
}
/*.content .top_nav {*/
/*    position: absolute;*/
/*    top: -240px;*/
/*    left: 0;*/
/*    right: 0;*/
/*    bottom: 0;*/
/*    margin: auto;*/
/*    width: 930px;*/
/*    height: 400px;*/
/*}*/
.body {
    padding: 40px;
}
h1 {
    color: #0066b1;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 24px 0;
}
p {
    color: #5d5d5d;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
    margin: 1em 0 0 0;
}
ul.index {
    width: 930px;
}
.clear {
    zoom: 1
}
.clear:after {
    display: block;
    visibility: hidden;
    clear: both;
    height: 0;
    content: '';
}


table#guideline {
    width: 930px;
    margin: 64px auto 0;
}
.notice {
    color: #000000;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    margin: 16px 0;
}
input.imagedownload_submit {
    color: #0061aa;
    display: block;
    border-radius: 8px;
    border: none;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
    width: 260px;
    text-align: center;
    font-weight: 700;
    padding: 16px 0;
    margin: 16px auto 32px;
    box-sizing: border-box;
    transition: 0.0s linear 0;
    background: #FFF;
}
input.imagedownload_submit:hover {
    cursor: pointer;
}
p.attention {
    color: red;
}
h2 {
    color: #0066b1;
    font-size: 16px;
    font-weight: 700;
    margin: 64px 0 12px;
    border-bottom: 1px solid #bfbfbf;
}
table.contact_lens_table, table.lenscare_table {
    /* table-layout: fixed; */
    border-spacing: 0;
    border-collapse: collapse;
    /* width: 1140px; */
    margin: 32px auto 64px;
}
table.contact_lens_table th, table.lenscare_table, th {
    text-align: center;
    border: solid 1px #bfbfbf;
    background-color: #ffffff;
    padding: 5px 10px 5px 10px;
}
table.contact_lens_table tr:nth-child(odd) td {
    text-align: center;
    border: solid 1px #bfbfbf;
    background-color: #ceefff;
    padding: 10px;
}
table.contact_lens_table tr:nth-child(even) td {
    text-align: center;
    border: solid 1px #bfbfbf;
    background-color: #ccffcc;
    padding: 10px;
}
table.contact_lens_table td.product_img, table.lenscare_table td.product_img {
    background-color: #ffffff !important;
    border: solid 1px #bfbfbf !important;
    padding: 5px !important;
}
table.lenscare_table td {
    text-align: center;
    border: solid 1px #bfbfbf;
    padding: 10px 10px 10px 10px;
}
table.lenscare_table tr.color_a_row td {
    background-color: #ccccff;
}
table.lenscare_table tr.color_b_row td {
    background-color: #bfdfff;
}
table.lenscare_table tr.color_c_row td {
    background-color: #e8ffd0;
}
table.lenscare_table tr.color_d_row td {
    background-color: #ffffb3;
}
table.lenscare_table tr.color_e_row td {
    background-color: #e1ffe1;
}
table.lenscare_table tr.color_f_row td {
    background-color: #cde7e7;
}
ul.imagedownload {
    width: 846px; /* for zoom */
    /* width: 842px; */
    margin: 64px auto 0;
}
ul.imagedownload li {
    float: left;
    margin-right:  23px;
    margin-bottom: 23px;
}
ul.imagedownload li:nth-child(5n) {
    margin-right: 0;
}
ul.imagedownload li a {
    display: table-cell;
    border-radius: 8px;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
    width:  150px;
    height: 150px;
    text-align: center;
    font-weight: 700;
    /* padding: 218px 0 0 0; */
    box-sizing: border-box;
    transition: 0.0s linear 0;
    background: #FFF;
    vertical-align: middle;
}
ul.imagedownload li a:hover {
    box-shadow: 0px 4px 12px 4px rgba(0, 0, 0, 0.08);
    transition: 0.3s linear 0;
}
div.img_note {
    display: block;
    width: 150px;
    height: 80px;
    margin-top: 5px;
    background-image: url(/img/arrow_icon.jpg);
    background-repeat: no-repeat;
    background-position: 3px 6px;
}
div.img_note > p {
    padding-left: 15px;
    font-size: 11px;
}
sup {
    top: -0.5em;
}
sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}
a.download_zip {
    color: #0061aa;
    display: block;
    border-radius: 8px;
    border: none;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
    width: 260px;
    text-align: center;
    font-weight: 700;
    padding: 16px 0;
    margin: 16px auto 32px;
    box-sizing: border-box;
    transition: 0.0s linear 0;
    background: #FFF;
}
footer p.approval {
    color: #0061aa;
    font-size: 12px;
    font-weight: 400;
    text-align: right;
    padding-right: 32px;
}

@media print {
    .no_print {
        display: none;
    }
    .print_page_break {
        page-break-before: always;
    }
}

body.promotional_items {
    position:relative;
}
.promotional_items #zoom_body {
    position:fixed;
    top:0;
    width:100vw;
    /*min-width: 930px;*/
    height:100vh;
    background-color:rgba(0,0,0,0.8);
    display:none;
    justify-content:center;
    align-items:center;
    z-index: 999;
}

/* モーダル画像コンテナ */
.promotional_items .modal-content {
    position: relative;
    background-color: #fff;
    width: 90%;
    max-width: 600px;
    max-height: 70vh;
    border-radius: 12px;
    padding: 16px;
    height: inherit;
    background-color: rgba(0, 0, 0, 0);
}

.promotional_items .modal-image {
    overflow-y: auto;
    max-height: 90%;
    background-color: #FFFFFF;
}

.promotional_items .modal-btn-area {
    display: flex;
    justify-content: end;
    margin-bottom: 16px;
}

.promotional_items #zoom_pict {
    width: 100%;
    height: auto;
    display: block;
}

.promotional_items .close-button {
    display: block;
    background: none;
    border: none;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 20px;
    cursor: pointer;
}

@media (max-width: 600px) {
    .promotional_items .modal-content {
        max-width: 80%;
    }
}

.promotional_items .notice {
    display: flex;
    justify-content: space-between;
    text-align: left;
    margin: 0 0 24px 0;
    padding: 15px 20px;
    background-color: #FFFFff;
    align-items: flex-end;
}

table.promotional_items_table {
    border-spacing: 0;
    border-collapse: collapse;
    width: 100%;
}

table.promotional_items_table th,
table.promotional_items_table td {
    text-align: center;
    border: solid 1px #bfbfbf;
    background-color: #ffffff;
    padding: 5px 10px 5px 10px;
    font-size: 17px;
}

.promotional_items td.image {
    padding: 10px;
}

/* item_code, image */
table.promotional_items_table th:nth-child(1),
table.promotional_items_table th:nth-child(4) {
    width: 15%;
}

/* item_name, description */
table.promotional_items_table th:nth-child(2),
table.promotional_items_table th:nth-child(3) {
    width: 30%;
}

/* order_unit */
table.promotional_items_table th:nth-child(5) {
    width: 10%;
}

table.promotional_items_table td .zoom{
    max-width: 100%;
    cursor: pointer;
}


.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #003595;
    color: #ffffff;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: none;
    animation: slideUp 0.4s ease-out;
}
.cookie-notice p {
    color: #ffffff;
}
.cookie-notice.show {
    display: block;
}
.cookie-notice .cookie-notice-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
@media only screen and (max-width: 768px) {
    .cookie-notice .cookie-notice-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}
.cookie-notice .cookie-notice-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
}
@media only screen and (max-width: 768px) {
    .cookie-notice .cookie-notice-text {
        font-size: 13px;
    }
}
.cookie-notice .cookie-notice-text a {
    color: #ffffff;
    text-decoration: underline;
}
.cookie-notice .cookie-notice-text a:hover {
    text-decoration: none;
}
.cookie-notice .cookie-notice-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}
@media only screen and (max-width: 768px) {
    .cookie-notice .cookie-notice-actions {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }
}
.cookie-notice .cookie-notice-btn {
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid #ffffff;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
}
@media only screen and (max-width: 768px) {
    .cookie-notice .cookie-notice-btn {
        width: 100%;
        padding: 12px 20px;
    }
}
.cookie-notice .cookie-notice-btn.accept {
    background-color: #ffffff;
    color: #003595;
}
.cookie-notice .cookie-notice-btn.accept:hover {
    background-color: #f0f0f0;
}
.cookie-notice .cookie-notice-btn.more-info {
    background-color: transparent;
    color: #ffffff;
}
.cookie-notice .cookie-notice-btn.more-info:hover {
    background-color: rgba(255, 255, 255, 0.1);
}
.cookie-notice .cookie-notice-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.cookie-notice .cookie-notice-close:hover {
    opacity: 1;
}
@media only screen and (max-width: 768px) {
    .cookie-notice .cookie-notice-close {
        top: 5px;
        right: 5px;
    }
}
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
