/**
 * 既存本番医薬品ナビサイトのCSS
 * ミツエーリンクス管理外の資材です
 * https://iyakuhin.medicarelife.com/common/css/iyakuhinnavi.css
 */

.iyn-table {
    width: 100%;
    border-collapse: collapse;
}

/*
 * .lyt-search-a
** ------------------------------------------------------ */
.lyt-search-a {
    display: -webkit-flex;
    display: flex;
    margin-left: -12px;
}

.lyt-search-a + *:not([class^="hdg-"]):not([class*=" hdg-"]) {
    margin-top: 16px;
}

.lyt-search-a > * {
    display: -webkit-flex;
    display: flex;
    padding-left: 12px;
}

.lyt-search-a > *:first-child {
    width: 100%;
}

.lyt-search-a > *:last-child {
    margin-bottom: 2px;

    -webkit-flex-shrink: 0;
    flex-shrink: 0;
}

.lyt-search-a [class*="btn-"] {
    min-width: 157px;
    padding-left: 42px;
    font-size: 1.6rem;
}

@media only screen and (max-width: 767px) {
    .lyt-search-a [class*="btn-"] {
        min-width: 97px;
        padding: 14px 32px 14px 20px;
        font-size: 1.4rem;
    }
}
/*

/*
 * .iym-form-txt-a
** ------------------------------------------------------ */
.iym-form-txt-a {
    width: 100%;
    min-height: 44px;
    padding: 15px 20px;
    color: #333;
    line-height: 1.5;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 2px 2px 0 #f0f0f0 inset;
}

@media only screen and (max-width: 767px) {
    .iym-form-txt-a {
        padding-left: 10px;
    }
}
.tbl-form-a .iym-form-txt-a {
    max-width: 480px;
}

@media only screen and (max-width: 767px) {
    .tbl-form-a .iym-form-txt-a {
        max-width: inherit;
    }
}
.iym-form-txt-a + * {
    margin-top: 8px;
}

.box-register-a .iym-form-txt-a {
    margin-bottom: 16px;
}

.iym-form-txt-a.diff-error {
    border-color: #c61d2b;
    box-shadow: 2px 2px 6px #faeaeb inset;
}

/* ==============================================================================================
 Sprite
================================================================================================= */
.btn-a::before {
    background-image: url(../images/icon_sprite_iyn.png);
}

/*
 * .btn-a
** ------------------------------------------------------ */
.btn-a {
    position: relative;
    display: inline-block;
    padding: 15px 42px 14px 24px;
    color: #06c;
    text-align: center;
    line-height: 1.4;
    text-decoration: none;
    background: linear-gradient(#fff, #e4e4e4);
    border: 1px solid #dadada;
    border-radius: 4px;
    box-shadow: 0 2px 0 gainsboro;
    transition: background .2s;
}

@media only screen and (max-width: 767px) {
    .btn-a {
        padding: 14px 40px;
    }
}
.btn-a:hover, .btn-a:active, .btn-a:focus {
    color: #06c;
    background: linear-gradient(#e4e4e4, #fff);
}

.btn-a:hover::after, .btn-a:active::after, .btn-a:focus::after {
    width: 100%;
}

.btn-a::before {
    position: absolute;
    top: 50%;
    right: 12px;
    display: block;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    background-position: 0 0;
    content: "";
}

.btn-a .icon-a {
    margin-right: -4px;
}

@media only screen and (max-width: 767px) {
    .btn-a .icon-a {
        position: absolute;
        top: 50%;
        right: 16px;
        margin-right: 0;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
    }
}
.btn-a.diff-check {
    padding-left: 50px;
}

.btn-a.diff-check::after {
    position: absolute;
    top: 50%;
    left: 16px;
    display: block;
    width: 24px;
    height: 20px;
    margin-top: -10px;
    background-position: -16px 0;
    content: "";
}

/*
 * .iym-str-contents-wrapper
** ------------------------------------------------------ */
.iym-str-contents-wrapper {
    position: relative;
    margin: 0px 0 60px;
    padding: 18px 20px 34px;
    background: #fff;
    border-bottom: 4px solid #ddd8a7;
}

.iym-str-contents-wrapper::before, .iym-str-contents-wrapper::after {
    display: table;
    content: "";
}

.iym-str-contents-wrapper::after {
    clear: both;
}

@media only screen and (max-width: 767px) {
    .iym-str-contents-wrapper {
        margin: 20px 0 40px;
        padding: 20px 10px;
        border-bottom: 0;
    }
}
@media only screen and (max-width: 767px) {
    .iym-str-contents-wrapper.diff-common-a {
        margin: 0 0 16px;
        padding: 28px 0 0;
        background: none;
    }
}
.iym-str-contents-wrapper.diff-common-b {
    padding: 26px 20px 34px;
}

@media only screen and (max-width: 767px) {
    .iym-str-contents-wrapper.diff-common-b {
        margin: 0 0 16px;
        padding: 14px 16px 18px;
        border: 1px solid #ccc;
    }
}

/*
 * .iym-str-contents
** ------------------------------------------------------ */
.iym-str-contents {
    float: left;
    max-width: 720px;
}

@media only screen and (max-width: 767px) {
    .iym-str-contents {
        float: none;
        min-width: inherit;
        max-width: 100%;
    }
}
.iym-str-contents:only-child {
    float: none;
    width: 100%;
    max-width: 100%;
}

#str-type-a .iym-str-contents:only-child {
    max-width: 720px;
    margin: 0 auto;
}

.iym-str-contents + .iym-str-contents-side {
    margin-left: 20px;
}

@media only screen and (max-width: 767px) {
    .iym-str-contents + .iym-str-contents-side {
        margin-left: 0;
    }
}
.iym-str-contents > *:first-child {
    margin-top: 0 !important;
}

.iym-str-contents > .tab-a:last-child {
    margin-bottom: 0;
}

.iym-str-contents > aside > .hdg {
    margin-bottom: 20px;
    font-size: 2.2rem;
    text-align: center;
    line-height: 1.4;
}

@media only screen and (max-width: 767px) {
    .iym-str-contents > aside > .hdg {
        margin-bottom: 14px;
        font-size: 1.6rem;
    }
}
/*
 * .iynhdg-a
** ------------------------------------------------------ */
.iynhdg-a {
    padding: 14px 20px 12px;
    font-weight: bold;
    font-size: 2.4rem;
    color: #fff;
    line-height: 1.4;
    background: linear-gradient(to right, #f95e00, #ff8d47);
    border-radius: 3px;
}

.iynhdg-a + * {
    margin-top: 38px;
}

@media only screen and (max-width: 767px) {
    .iynhdg-a + * {
        margin-top: 27px;
    }
}
.iynhdg-a + .box-b:not(.diff-article-a) {
    margin-top: 24px;
}

/*
 * .iynhdg-b
** ------------------------------------------------------ */
.iynhdg-b {
    position: relative;
    margin-top: 36px;
    margin-bottom: 20px;
    padding-left: 18px;
    font-weight: bold;
    font-size: 2.4rem;
    line-height: 1.3;
}

@media only screen and (max-width: 767px) {
    .iynhdg-b {
        margin-top: 28px;
        margin-bottom: 16px;
        padding-left: 16px;
    }
}
.iynhdg-b::before {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 4px;
    height: calc(100% - 3px);
    background: #f95e00;
    border-radius: 2px;
    content: "";
}

@media only screen and (max-width: 767px) {
    .iynhdg-b::before {
        top: 1px;
    }
}
/*
 * .iynhdg-c
** ------------------------------------------------------ */
.iynhdg-c {
    margin: 34px 0 24px;
    font-weight: normal;
    font-size: 2.4rem;
    color: #22467c;
    line-height: 1.4;
}

@media only screen and (max-width: 767px) {
    .iynhdg-c {
        margin: 32px 0 20px;
        font-size: 2rem;
    }
}
.iynhdg-c + p:not([class*="lyt-"]), .iynhdg-c + [class^="list-"]:not([class*="list-btn-"]), .iynhdg-c + [class*=" list-"]:not([class*="list-btn-"]) {
    margin-top: -4px;
}

@media only screen and (max-width: 767px) {
    .iynhdg-c + p:not([class*="lyt-"]), .iynhdg-c + [class^="list-"]:not([class*="list-btn-"]), .iynhdg-c + [class*=" list-"]:not([class*="list-btn-"]) {
        margin-top: -2px;
    }
}
/*
 * .iynhdg-d
** ------------------------------------------------------ */
.iynhdg-d {
    margin: 24px 0 16px;
    padding-bottom: 10px;
    font-weight: bold;
    font-size: 1.8rem;
    color: #627088;
    line-height: 1.4;
    border-bottom: 1px solid #d8dce3;
}

@media only screen and (max-width: 767px) {
    .iynhdg-d {
        font-size: 1.6rem;
        line-height: 1.5;
    }
}
.iynhdg-d + p:not([class*="lyt-"]), .iynhdg-d + [class^="list-"]:not([class*="list-btn-"]), .iynhdg-d + [class*=" list-"]:not([class*="list-btn-"]) {
    margin-top: -2px;
}

@media only screen and (max-width: 767px) {
    .iynhdg-d + p:not([class*="lyt-"]), .iynhdg-d + [class^="list-"]:not([class*="list-btn-"]), .iynhdg-d + [class*=" list-"]:not([class*="list-btn-"]) {
        margin-top: 0;
    }
}
/*
 * .iynhdg-e
** ------------------------------------------------------ */
.iynhdg-e {
    margin: 16px 0;
    font-weight: bold;
    font-size: 1.6rem;
    color: #627088;
    line-height: 1.6;
}

.iynhdg-e + p:not([class*="lyt-"]), .iynhdg-e + [class^="list-"]:not([class*="list-btn-"]), .iynhdg-e + [class*=" list-"]:not([class*="list-btn-"]) {
    margin-top: -10px;
}

/*
 * .form-a
** ------------------------------------------------------ */
.form-a + *:not([class^="hdg-"]):not([class*=" hdg-"]) {
    margin-top: 20px;
}

.tblyaku {
	width: auto;
    font-size: 1.8rem;
    border-collapse: separate;
	border-spacing: 5px;
	line-height: 120%;
}

.tdyakuh {
    background: #f95e00;
    font-weight: bold;
    font-size: 1.6rem;
    color: #fff;
    text-align: center;
	white-space: nowrap;
    padding-right: 10px;
    padding-left: 10px;
}

.tdyakud1 {
    background: #f95e00;
    font-weight: bold;
    color: #fff;
    padding-right: 10px;
    padding-left: 10px;
}

.tdyakud {
    background: #ffd0b0;
    font-weight: normal;
    color: #000;
    padding-right: 10px;
    padding-left: 10px;
}
