@charset "utf-8";
/* ============================
 * 
 *       video / top
 *
 * ============================ */


/****************

*** First View ***

*****************/

/** first view **/

#fv-wrap {
    width: 100%;
    padding-bottom: 2em;
    line-height: 0;
}

#fv-img {
    position: relative;
}

#fv-img img {
    width: 100%;
}

#fv-img video {
    width: 100%;
}

#fv-title-wrap {
    position: absolute;
    top: 20%;
    text-align: center;
    font-size: 500%;
    right: 1em;
}

#fv-title {
    font-weight: 700;
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px 1px #164a84, -1px 1px 1px #164a84, 1px -1px 1px #164a84, -1px -1px 1px #164a84, 1px 0px 1px #164a84, 0px 1px 1px #164a84, -1px 0px 1px #164a84, 0px -1px 1px #164a84;
}

#fv-subtitle {
    text-align: center;
    font-size: 25%;
    font-weight: 700;
    color: #fff;
    text-shadow: 1px 1px 1px #164a84, -1px 1px 1px #164a84, 1px -1px 1px #164a84, -1px -1px 1px #164a84, 1px 0px 1px #164a84, 0px 1px 1px #164a84, -1px 0px 1px #164a84, 0px -1px 1px #164a84;
    margin-top: 3em;
}

.index {
    width: 100%;
    padding: 1em;
    border-bottom: #164a84 3px solid;
    margin: 3em 0 1em;
}

h3 {
    font-size: 200%;
    font-weight: 700;
    color: #164a84;
}


/*** link ***/

#home-link {
    position: fixed;
    top: 1em;
    left: 1em;
    padding: 1em;
    width: 15em;
}

#home-link img {
    width: 100%;
}

#top-link ul {
    display: flex;
    flex-wrap: wrap;
    position: absolute;
    position: fixed;
    line-height: normal;
    text-align: center;
    width: 100%;
    top: 0%;
    z-index: 2;
    transition: 0.3s;
}



#top-link li {
    flex: 1;
    font-weight: 700;
    transition: 0.3s;
}

#top-link a {
    display: block;
    color: #fff;
    font-size: 85%;
    padding-top: 0.5em;
    transition: 0.3s;

    height: 2.5em;
}

#top-link ul:hover a {
    height: 6em;
    padding-top: 2.2em;
}

#top-link a span {
    display: none;
    font-size: 70%;
    font-weight: 200;
    transition: 0.3s;
}

#top-link a:hover span {
    display: inherit;
}

#top-link li:nth-child(1) {
    background-color: #0E3057;
    background-color: rgba(14, 48, 87, 0.7);
    background: linear-gradient(to right, rgba(11, 36, 65, 0.6), rgba(14, 48, 87, 0.6));
}

#top-link li:nth-child(2) {
    background-color: #123C6D;
    background-color: rgba(18, 60, 109, 0.7);
    background: linear-gradient(to right, rgba(14, 48, 87, 0.6), rgba(18, 60, 109, 0.6));
}

#top-link li:nth-child(3) {
    background-color: #164A84;
    background-color: rgba(22, 74, 132, 0.7);
    background: linear-gradient(to right, rgba(18, 60, 109, 0.6), rgba(22, 74, 132, 0.6));
}

#top-link li:nth-child(4) {
    background-color: #195598;
    background-color: rgba(25, 85, 152, 0.7);
    background: linear-gradient(to right, rgba(22, 74, 132, 0.6), rgba(25, 85, 152, 0.6));
}

#top-link li:nth-child(5) {
    background-color: #1D61AE;
    background-color: rgba(29, 97, 174, 0.7);
    background: linear-gradient(to right, rgba(25, 85, 152, 0.6), rgba(29, 97, 174, 0.6));
}

#top-link li:nth-child(6) {
    background-color: #216DC4;
    background-color: rgba(33, 125, 196, 0.7);
    background: linear-gradient(to right, rgba(29, 97, 174, 0.6), rgba(33, 125, 196, 0.6));
}

#top-link li:nth-child(7) {
    background-color: #2479DA;
    background-color: rgba(36, 121, 218, 0.8);
    background: linear-gradient(to right, rgba(33, 125, 196, 0.6), rgba(36, 121, 218, 0.6));
}

#top-link li:nth-child(8) {
    background-color: #3A86DD;
    background-color: rgba(58, 134, 221, 0.8);
    background: linear-gradient(to right, rgba(36, 121, 218, 0.6), rgba(58, 134, 221, 0.6));
}


#top-link ul:hover li:nth-child(1) {
    background: linear-gradient(to right, rgba(11, 36, 65, 0.8), rgba(14, 48, 87, 0.8));
}

#top-link ul:hover li:nth-child(2) {
    background: linear-gradient(to right, rgba(14, 48, 87, 0.8), rgba(18, 60, 109, 0.8));
}

#top-link ul:hover li:nth-child(3) {
    background: linear-gradient(to right, rgba(18, 60, 109, 0.8), rgba(22, 74, 132, 0.8));
}

#top-link ul:hover li:nth-child(4) {
    background: linear-gradient(to right, rgba(22, 74, 132, 0.8), rgba(25, 85, 152, 0.8));
}

#top-link ul:hover li:nth-child(5) {
    background: linear-gradient(to right, rgba(25, 85, 152, 0.8), rgba(29, 97, 174, 0.8));
}

#top-link ul:hover li:nth-child(6) {
    background: linear-gradient(to right, rgba(29, 97, 174, 0.8), rgba(33, 125, 196, 0.8));
}

#top-link ul:hover li:nth-child(7) {
    background: linear-gradient(to right, rgba(33, 125, 196, 0.8), rgba(36, 121, 218, 0.8));
}

#top-link ul:hover li:nth-child(8) {
    background: linear-gradient(to right, rgba(36, 121, 218, 0.8), rgba(58, 134, 221, 0.8));
}

#top-link a:hover {
    background-color: rgba(233, 84, 100, 0.8);
}



/* ---- Dropdown Menu ---- */

#top-link .has-dropdown {
    position: relative;
}

#top-link .dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 14em;
    margin: 0;
    padding: 0;
    list-style: none;
    background: rgba(14, 48, 87, 0.95);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

#top-link .has-dropdown:hover > .dropdown-menu,
#top-link .has-dropdown > a[aria-expanded="true"] + .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#top-link .dropdown-menu li {
    flex: none;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: none;
}

#top-link .dropdown-menu li:last-child {
    border-bottom: none;
}

#top-link .dropdown-menu a {
    display: block;
    color: #fff;
    font-size: 80%;
    font-weight: 400;
    padding: 0.8em 1.2em;
    height: auto;
    text-align: left;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

#top-link .dropdown-menu a:hover {
    background-color: rgba(233, 84, 100, 0.8);
}

#top-link ul:hover .dropdown-menu a {
    height: auto;
    padding-top: 0.8em;
}

#top-link .dropdown-menu a span {
    display: none;
}

/* ---- End of Dropdown Menu ---- */

@media screen and (max-width: 960px) {
    #fv-img {}

    #top-link ul {
        position: static;
    }

    #top-link ul:hover a {
        padding: 1.5em 0;
        height: inherit;
    }

    #top-link ul li {
        width: calc(100% / 4);
        background-color: #164a84;
        border-right: #fff 1px solid;
    }

    #top-link ul li:nth-child(1),
    #top-link ul li:nth-child(2),
    #top-link ul li:nth-child(3),
    #top-link ul li:nth-child(4) {
        border-bottom: #fff 1px solid;
    }

    #top-link ul li:nth-child(4),
    #top-link ul li:nth-child(8) {
        border-right: none;
    }

    #top-link li:nth-child(1) {
        background-color: #0E3057;
        background-color: rgba(14, 48, 87, 0.7);
        background: linear-gradient(to right, rgba(11, 36, 65, 1), rgba(14, 48, 87, 1));
    }

    #top-link li:nth-child(2) {
        background-color: #123C6D;
        background-color: rgba(18, 60, 109, 0.7);
        background: linear-gradient(to right, rgba(14, 48, 87, 1), rgba(18, 60, 109, 1));
    }

    #top-link li:nth-child(3) {
        background-color: #164A84;
        background-color: rgba(22, 74, 132, 0.7);
        background: linear-gradient(to right, rgba(18, 60, 109, 1), rgba(22, 74, 132, 1));
    }

    #top-link li:nth-child(4) {
        background-color: #195598;
        background-color: rgba(25, 85, 152, 0.7);
        background: linear-gradient(to right, rgba(22, 74, 132, 1), rgba(25, 85, 152, 1));
    }

    #top-link li:nth-child(5) {
        background-color: #1D61AE;
        background-color: rgba(29, 97, 174, 0.7);
        background: linear-gradient(to right, rgba(25, 85, 152, 1), rgba(29, 97, 174, 1));
    }

    #top-link li:nth-child(6) {
        background-color: #216DC4;
        background-color: rgba(33, 125, 196, 0.7);
        background: linear-gradient(to right, rgba(29, 97, 174, 1), rgba(33, 125, 196, 1));
    }

    #top-link li:nth-child(7) {
        background-color: #2479DA;
        background-color: rgba(36, 121, 218, 0.8);
        background: linear-gradient(to right, rgba(33, 125, 196, 1), rgba(36, 121, 218, 1));
    }

    #top-link li:nth-child(8) {
        background-color: #3A86DD;
        background-color: rgba(58, 134, 221, 0.8);
        background: linear-gradient(to right, rgba(36, 121, 218, 1), rgba(58, 134, 221, 1));
    }

    #top-link ul:hover li:nth-child(1) {
        background: linear-gradient(to right, rgba(11, 36, 65, 1), rgba(14, 48, 87, 1));
    }

    #top-link ul:hover li:nth-child(2) {
        background: linear-gradient(to right, rgba(14, 48, 87, 1), rgba(18, 60, 109, 1));
    }

    #top-link ul:hover li:nth-child(3) {
        background: linear-gradient(to right, rgba(18, 60, 109, 1), rgba(22, 74, 132, 1));
    }

    #top-link ul:hover li:nth-child(4) {
        background: linear-gradient(to right, rgba(22, 74, 132, 1), rgba(25, 85, 152, 1));
    }

    #top-link ul:hover li:nth-child(5) {
        background: linear-gradient(to right, rgba(25, 85, 152, 1), rgba(29, 97, 174, 1));
    }

    #top-link ul:hover li:nth-child(6) {
        background: linear-gradient(to right, rgba(29, 97, 174, 1), rgba(33, 125, 196, 1));
    }

    #top-link ul:hover li:nth-child(7) {
        background: linear-gradient(to right, rgba(33, 125, 196, 1), rgba(36, 121, 218, 1));
    }

    #top-link ul:hover li:nth-child(8) {
        background: linear-gradient(to right, rgba(36, 121, 218, 1), rgba(58, 134, 221, 1));
    }

    #top-link a:hover {
        background-color: rgba(233, 84, 100, 1);
    }

    #top-link a {
        display: block;
        padding: 1.5em 0;
        height: inherit;
    }

    #top-link a span {
        display: inherit;
        font-size: 70%;
        font-weight: 200;
        transition: 0.3s;
    }

    /* Dropdown: タブレット以下では非表示 */
    #top-link .dropdown-menu {
        display: none;
    }


    #fv-title-wrap {
        font-size: 500%;
        right: 0.2em;
    }

    #fv-title {
        font-size: 80%;
    }

    #fv-subtitle {}
}

/** End of @media screen and (max-width: 960px) **/


@media screen and (max-width: 640px) {
    #fv-img {
        position: static;
    }


    #top-link ul {
        position: static;
    }

    #top-link ul li {
        width: calc(100% / 2);
        background-color: #164a84;
        border-right: #fff 1px solid;
    }

    #top-link ul li:nth-child(1),
    #top-link ul li:nth-child(2),
    #top-link ul li:nth-child(3),
    #top-link ul li:nth-child(4),
    #top-link ul li:nth-child(5),
    #top-link ul li:nth-child(6) {
        border-bottom: #fff 1px solid;
    }

    #top-link ul li:nth-child(2n) {
        border-right: none;
    }

    #top-link a {
        display: block;
        padding: 1.5em 0;
    }


    #fv-title-wrap {
        top: 3.5em;
        right: 0;
        width: 100%;
    }

    #fv-title {
        font-size: 60%;
    }

    #fv-subtitle {
        font-size: 20%;
    }
}

/** End of @media screen and (max-width: 640px) **/



/* ============================
 * 
 *     main contents
 *
 * ============================ */


/****************

*** contents box ***

*****************/

#contents-box-wrap {
    position: static;
    width: 100%;
}

.contents-box {
    display: flex;
    flex-wrap: wrap;
    max-width: 60em;
    text-align: justify;
    margin: 0 auto;
}

.contents-title-text {
    width: 100%;
    padding: 0 1em;
}

.contents-title-text p span {}

.principle {
    font-weight: 700;
    font-size: 150%;
    line-height: 1.6em;
    color: #d9333f;
    padding: 1em 0;
}

.contents-title {
    width: 100%;
    line-height: 1.1em;
    font-size: 4em;
    font-weight: 700;
    text-align: center;
    padding: 2em 0 1em;
    
    font-family: 'Noto Serif JP', serif;
}

.contents-title span {
    color: #e83929;
}

.contents-text {
    width: 60%;
    padding: 0 1em;
}

.contents-text img {
    width: 100%;
    padding-top: 2em;
}

.contents-img {
    width: 40%;
    line-height: 1em;
    padding-left: 1em;
    padding-right: 1em;
}

.contents-img img {
    width: 100%;
}

.contents-img-2 {
    width: 40%;
    line-height: 1em;
    padding-left: 5.5em;
    padding-right: 5.5em;
}

.contents-img-2 img {
    width: 100%;
}

.contents-img-3 {
    width: 40%;
    line-height: 1em;
    padding-left: 2em;
    padding-right: 2em;
}

.contents-img-3 img {
    width: 100%;
}

.contents-full-img {
    width: 100%;
    padding: 1em;
}

.contents-full-img img,
.contents-60-img img {
    width: 100%;
}

.contents-60-img {
    width: 60%;
    margin: 0 auto;
    padding: 1em;
}

@media screen and (max-width:960px) {
    .contents-title-text {
        width: 100%;
        padding: 0 1em;
    }

    .contents-text {
        width: 100%;
        padding: 1em;
        order: 0;
    }

    .contents-img {
        width: 100%;
        padding: 1em;
        order: 1;
    }
}

@media screen and (max-width:640px) {
    .contents-title {
        font-size: 2.5em;
    }
}


#link-wrap ul li:nth-child(4) a {
    background-color: #82ae46;
    cursor: default;
    box-shadow: 0 0.25em 0.25em rgba(50, 70, 102, 0.5);
}


/* ============================
 * 
 *     footer
 *    medical-com.css
 *
 * ============================ */
