@charset "utf-8";
/* 共通CSS */

/* 全ページ共通 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@400;700&family=Lora:wght@400;600&display=swap');

* {
    box-sizing: border-box;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 2em;
    color: #212836;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body {
    width: 100%;
    height: 100%;
    background: #fff;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: none;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    image-rendering: -webkit-optimize-contrast;
}
a {
    text-decoration: none;
}
a.textdeco {
    text-decoration: underline;
}
a.textdeco:hover,
a.textdeco:focus {
    color: #5286BB;
}
.mincho {
    font-family: 'Noto Serif JP', serif;
}
button {
    font-size: 1em;
}
hr {
    border: none;
    border-top: 1px solid #D1CFCF;
}
.hr-vertical {
    border-top: none;
    border-left: 1px solid #D1CFCF;
}

/* flex共通 */
.flex, .flex_pc, .flex_spc {
    display:-webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.flex_fw {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.flex_rv {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
}
.flex_jsb {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.flex_jc {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.flex_ac {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.flex_afe {
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}
@media all and (max-width: 1100px) {
    .flex_spc {
        display: block;
    }
}
@media all and (max-width: 750px) {
    .hr-vertical {
        margin: 20px 0;
        border-top: 1px solid #D1CFCF;
        border-left: none;
    }

    .flex_pc {
        display: block;
    }
}

/* ヘッダー */
header {
    position: fixed;
    z-index: 999;
    width: 100%;
    background-color: #fff;
    transition: background-color .2s;
}
.header--top {
    background-color: transparent;
    opacity: 0;
}
.header--top::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 150%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 10%, transparent);
}
header.open {
    overflow-y: scroll;
}
.header--top.open {
    height: 124.5px;
}
.header--top.open::before {
    height: 100%;
}
.header__logo {
    position: relative;
    z-index: 2;
    width: 170px;
    padding: 25px 20px 0;
}
.header__link {
    position: relative;
    z-index: 2;
    font-size: 0;
}
.header__link li {
    display: inline-block;
    font-size: 16px;
    vertical-align: middle;
    transition: background .2s;
}
.header--top .header__link li {
    transition: opacity .2s;
}
.header__link li a {
    display: block;
    transition: background .2s;
}
.header__link-search span {
    position: relative;
    display: block;
    width: 83px;
    height: 83px;
    cursor: pointer;
    transition: background-color .2s;
}
.header--top .header__link-search img,
.open .header__link-search img,
.header__link-search span.hover img{
    filter: invert(1) brightness(200%);
}
.header__link-search span.hover,
.header--top .header__link-search span.hover {
    background-color: #D52227;
}
.header__link--contact a {
    position: relative;
    width: 83px;
    height: 83px;
    background-color: #335E80;
}
.header--top .header__link--contact a {
        background-color: transparent;
}
.header__link--contact a.hover,
.header--top .header__link--contact a.hover {
    background-color: #D52227;
}
.header__link-search img,
.header__link--contact a img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35px;
    height: auto;
}
.header__link--contact-en a {
    position: relative;
    width: 83px;
    height: 83px;
    background: transparent url(../img/icon_contact_blue.svg) center center / 34px 24px no-repeat;
    color: rgba(0, 0, 0, 0);
}
.header__link--contact-en a::after {
    content: "Under\Amaintenance";
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    place-content: center;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 0.8em;
    line-height: 1.5em;
    text-align: center;
}
.header--top .header__link--contact-en a,
.open .header__link--contact-en a {
    background-image: url(../img/icon_contact_small.svg);
}
.header__link--contact-en a.hover {
    background-image: url(../img/icon_contact_small.svg);
    background-color: #D52227;
}
.header__link-search img {
    width: 27px;
}

.header__search {
    position: absolute;
    top: 83px;
    left: 0;
    display: none;
    width: 100%;
    padding: 30px 25px 35px;
    background-color: #EFF7FA;
}
.search__form {
    width: 100%;
    max-width: 1110px;
    margin: -3em auto 3.5em;
    padding: 1em 2em;
    background-color: #EFF7FA;
}
.header__search-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 25px;
    height: 25px;
    cursor: pointer;
}
.header__search-close::before,
.header__search-close::after {
    position: absolute;
    content: "";
    top: 11px;
    left: 0;
    transform: rotate(45deg);
    width: 25px;
    height: 2px;
    background-color: #252525;
    border-radius: 2px;
}
.header__search-close::after {
    transform: rotate(-45deg);
}
.header__search > p {
    padding-bottom: 1em;
}
.header__search > p,
.header__search .flex {
    width: 100%;
    max-width: 1110px;
    margin: 0 auto;
}
.search__form input,
.header__search input {
    flex: 1;
    padding: 1em;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.search__form input::placeholder,
.header__search input::placeholder {
    color: #CACACA;
}
.search__form button,
.header__search button {
    width: 55px;
    margin-left: 0.75em;
    background-color: #D52227;
    border: none;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: background-color .2s;
}
.search__form button:hover,
.search__form button:focus,
.header__search button:hover,
.header__search button:focus {
    background-color: #335E80;
}

.header__link--nav-hum {
    position: relative;
    width: 83px;
    height: 83px;
    vertical-align: top;
    cursor: pointer;
}
.header__link--nav-hum span {
    position: absolute;
    left: 24px;
    display: inline-block;
    height: 2px;
    background-color: #212836;
    transition: transform .3s, opacity .3s, width .3s;
}
.header--top .header__link--nav-hum span,
.header__link.open .header__link--nav-hum span {
    background-color: #fff;
}
.header__link--nav-hum span:first-child {
    top: 1.9em;
    width: 35px;
}
.header__link--nav-hum span:nth-child(2) {
    top: 2.5em;
    width: 26px;
}
.header__link--nav-hum span:last-child {
    top: 3.1em;
    width: 19px;
}
.header__link--nav-hum.open span:first-child {
    top: 2.5em;
    transform: rotate(315deg);
}
.header__link--nav-hum.open span:nth-child(2) {
    opacity: 0;
}
.header__link--nav-hum.open span:last-child {
    top: 2.5em;
    transform: rotate(-315deg);
    width: 35px;
}
.header__link--nav-hum.hover {
    background-color: #335E80;
}

.header__link--nav-hum.hover span {
    background-color: #fff;
}

nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    display: none;
    width: 100%;
    max-width: 600px;
    padding: 120px 25px 30px;
    background-color: #335E80;
}
.nav--en {
    background-color: #224967;
}
.header__nav {
    width: 100%;
    max-width: 370px;
    margin: 0 auto;
}
.header__nav > li {
    position: relative;
    padding: 1em 0;
}
.header__nav > li > a {
    font-weight: bold;
}
.header__nav > li > a.header__nav--parent-link {
    width: calc(100% - 2em);
}
.header__nav a {
    position: relative;
    display: block;
    color: #fff;
}
.header__nav a::after {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-bottom: 1px solid #fff;
    transition: width .2s;
}
.header__nav--parent {
    position: absolute;
    top: 1em;
    right: 0;
    display: block;
    width: 2em;
    height: 2em;
    cursor: pointer;
}
.header__nav--parent::after {
    position: absolute;
    content: "";
    top: 50%;
    right: 0.25em;
    transform: translate(0, -75%)    rotate(45deg);
    width: 0.6em;
    height: 0.6em;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    transition: transform .2s;
}
.header__nav--parent.open::after {
    transform: translate(0, -10%) rotate(225deg);
}
.header__nav--child {
    display: none;
    padding-top: 0.75em;
    padding-left: 1.6em;
}
.header__nav--child li {
    padding: 0.5em 0;
}
.header__nav--child a {
    position: relative;
    width: 100%;
    margin: 0 20px 0 auto;
}
.header__nav--child a::before {
    position: absolute;
    content: "";
    top: 50%;
    left: -1.5em;
    width: 0.75em;
    height: 0;
    border-top: 1px solid #fff;
}
.header__nav a.hover::after {
    width: 100%;
}

.header__link--pc {
    margin-right: 1.4em;
}
.header__link--pc.header__link--lang {
    margin-right: 2em;
}
.header__link--sp {
    display: none;
}
.header__link--lang,
.header__link--lang span,
.header__link--lang a {
    color: #335E80;
    font-weight: 500;
}
.header--top .header__link--lang,
.header--top .header__link--lang span,
.header--top .header__link--lang a,
.open .header__link--lang,
.open .header__link--lang span,
.open .header__link--lang a,
.header__link--sp .header__link--lang,
.header__link--sp .header__link--lang span,
.header__link--sp .header__link--lang a {
    color: #fff;
}
.header__link--lang span,
li.header__link--lang a {
    display: inline-block;
    margin: 0 0.25em;
    padding: 0 0.25em;
    border-bottom: 1px solid transparent;
    transition: border-color .2s;
}
.header__link--lang span,
li.header__link--lang a.hover {
    border-color: #335E80;
}
.header--top .header__link--pc.header__link--lang span,
.header--top .header__link--pc.header__link--lang a.hover,
.open .header__link--pc.header__link--lang span,
.open .header__link--pc.header__link--lang a.hover,
.header__link--sp .header__link--lang span {
    border-color: #fff;
}
.header__link--sp .header__link--lang {
    margin-top: 2em;
}
.header__link--external-pc {
    width: 250px;
}
.header__link--external-sp {
    width: 100%;
    max-width: 400px;
    margin: 2em auto 0;
}
.header__link--external-pc a,
.header__link--external-sp a {
    display: inline-block;
    width: 100%;
    border: 2px solid #335E80;
    border-radius: 2em;
    text-align: center;
}
.header--top .header__link--external-pc a,
.open .header__link--external-pc a,
.header__link--external-sp a {
    border: 2px solid #fff;
}
.header__link--external-pc a span,
.header__link--external-sp a span {
    display: inline-block;
    padding: 0.2em 2.75em 0.2em 1.5em;
    background: transparent url(../img/icon_external_link_blue.svg) right 1.25em center / 15px 15px no-repeat;
    color: #335E80;
    font-weight: 500;
    transition: background .2s, color .2s, border-color .2s;
}
.header__link--external-pc a.hover {
    background-color: #335E80;
    border: 2px solid #335E80;
    color: #fff;
}
.header--top .header__link--external-pc a span,
.open .header__link--external-pc a span,
.header__link--external-pc a.hover span,
.header__link--external-sp a span {
    background-image: url(../img/icon_external_link_white.svg);
    color: #fff;
}
.open .header__link--external-pc a.hover {
    background-color: #fff;
}
.open .header__link--external-pc a.hover span {
    background-image: url(../img/icon_external_link_blue.svg);
    color: #335E80;
}

.header__link .header__link--login-pc {
    margin: 0;
}
.header__link--login-pc a {
    display: block;
    width: 83px;
    height: 83px;
    background: transparent url(../img/icon_login_blue.svg) center center / 29px 33px no-repeat;
    color: rgba(0, 0, 0, 0);
}
.header--top .header__link--login-pc a,
.open .header__link--login-pc a {
    background-image: url(../img/icon_login_white.svg);
}
.header__link--login-pc a.hover {
    background-image: url(../img/icon_login_white.svg);
    background-color: #335E80;
}
@media all and (max-width: 750px) {
    .header--top {
        background-color: #fff;
    }
    .header--top::before {
        background: none;
    }
    .header--top .header__link--contact a {
        background-color: #335E80;
    }
    .header__logo {
        width: 125px;
        padding: 14px 20px 0;
    }
    .header__link-search span,
    .header__link--contact a,
    .header__link--nav-hum {
        width: 60px;
        height: 60px;
    }
    .header--top .header__link--nav-hum span {
        background-color: #212836;
    }
    .header__link-search img,
    .header--top .header__link-search img {
        filter: brightness(0);
    }
    .open .header__link-search img {
        filter: invert(1) brightness(200%);
    }
    .header__link--contact a img {
        width: 28px;
    }
    .header__link--contact-en a {
        width: 60px;
        height: 60px;
        background: transparent url(../img/icon_contact_blue.svg) center top 21.5px / 28px auto no-repeat;
    }
    .header__link--contact-en a::after {
        font-size: 0.6em;
    }
    .header--top .header__link--contact-en a {
        background-image: url(../img/icon_contact_blue.svg);
    }
    .open .header__link--contact-en a {
        background-image: url(../img/icon_contact_small.svg);
    }

    .header__search {
        top: 60px;
        padding: 20px 25px 25px;
    }
    .search__form {
        margin: -1em auto 2.5em;
        padding: 1em 25px;
    }

    .header__link--nav-hum span {
        left: 17px;
    }
    .header__link--nav-hum span:first-child {
        top: 1.35em;
        width: 26px;
    }
    .header__link--nav-hum span:nth-child(2) {
        top: 1.85em;
        width: 19px;
    }
    .header__link--nav-hum span:last-child {
        top: 2.35em;
        width: 13px;
    }
    .header__link--nav-hum.open span:first-child {
        top: 1.85em;
    }
    .header__link--nav-hum.open span:last-child {
        top: 1.85em;
        width: 26px;
    }

    nav {
        padding-top: 65px;
    }
    .header__nav,
    .header__link--external {
        max-width: 400px;
    }
    .header__nav > li {
        border-bottom: 1px solid #fff;
    }

    li.header__link--pc {
        display: none;
    }
    .header__link--sp {
        display: block;
        text-align: center;
    }
    .header__link--sp-en li {
        display: inline-block;
    }
    .header__link--login-sp {
        text-align: center;
    }
    .header__link--login-sp a {
        display: inline-block;
        margin-left: 3em;
        padding-left: 2em;
        background: transparent url(../img/icon_login_white.svg) left center / 1.5em auto no-repeat;
        color: #fff;
    }
}

/* メイン */
main {
    display: block;
    padding-top: 83px;
}
.inner,
.breadcrumbs {
    position: relative;
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 25px;
}
.breadcrumbs {
    padding: 25px 25px 107px;
}
.breadcrumbs--recruit {
    position: absolute;
    top: 90px;
    left: calc((100% - 1160px) / 2);
}
.breadcrumbs li {
    display: inline-block;
    color: #212836;
    line-height: 1.5em;
}
.breadcrumbs a {
    position: relative;
    display: block;
    margin-right: 2em;
    color: #D1CFCF;
    line-height: 1.5em;
}
.breadcrumbs a:hover,
.breadcrumbs a:focus {
    color: #5286BB;
}
.breadcrumbs a::after {
    position: absolute;
    content: "";
    top: 0.6em;
    right: -1.25em;
    transform: rotate(45deg);
    width: 0.3em;
    height: 0.3em;
    border-top: 2px solid #212836;
    border-right: 2px solid #212836;
}
.breadcrumbs br {
    display: none;
}

.width100 {
    width: 100%;
}
.width60 {
    width: 60%;
}
.width55 {
    width: 55%;
}
.width50 {
    width: 50%;
}
.width45 {
    width: 45%;
}
.width40 {
    width: 40%;
}

.margin-tb180 {
    margin-top: 180px;
    margin-bottom: 180px;
}
.margin-t150b80 {
    margin-top: 150px;
    margin-bottom: 80px;
}
.margin-tb100 {
    margin-top: 100px;
    margin-bottom: 100px;
}
.margin-tb40 {
    margin-top: 40px;
    margin-bottom: 40px;
}
.margin-t180b60 {
    margin-top: 180px;
    margin-bottom: 60px;
}
.margin-t90b30 {
    margin-top: 90px;
    margin-bottom: 30px;
}
.margin-t20b90 {
    margin-top: 20px;
    margin-bottom: 90px;
}
.margin-t175b230 {
    margin-top: 175px;
    margin-bottom: 230px;
}
.margin-t80 {
    margin-top: 80px;
}
.margin-t100 {
    margin-top: 100px;
}
.margin-t120 {
    margin-top: 120px;
}
.margin-t200 {
    margin-top: 200px;
}
.margin-t240 {
    margin-top: 240px;
}
.margin-b25 {
    margin-bottom: 25px;
}
.margin-b90 {
    margin-bottom: 90px;
}
.margin-b125 {
    margin-bottom: 125px;
}
.margin-b150 {
    margin-bottom: 150px;
}
.margin-b180 {
    margin-bottom: 180px;
}
.padding-tb90 {
    padding-top: 90px;
    padding-bottom: 90px;
}
.padding-tb175 {
    padding-top: 175px;
    padding-bottom: 175px;
}
.padding-b100 {
    padding-bottom: 100px;
}
.padding-b125 {
    padding-bottom: 125px;
}
.padding-b40 {
    padding-bottom: 40px;
}
.padding-b25 {
    padding-bottom: 25px;
}
.padding-b15 {
    padding-bottom: 15px;
}
.padding-t125 {
    padding-top: 125px;
}
.padding-65 {
    padding: 65px;
}
.padding-90 {
    padding: 90px;
}
.padding-6590 {
    padding: 65px 90px;
}
.padding-659090 {
    padding: 65px 90px 90px;
}

.font18 {
    font-size: 1.125em;
}
.font20 {
    font-size: 1.25em;
}
.font24 {
    font-size: 1.5em;
}
.font32 {
    font-size: 2em;
}

.text-center {
    text-align: center;
}
.text-center-left {
    text-align: center;
}
.text-right-left {
    text-align: right;
}
.text-right {
    text-align: right;
}
.text-bold {
    font-weight: bold;
}

.p-br span {
    display: inline-block;
}

.br-sp {
    display: none;
}

.bg-rightblue {
    background-color: #EFF7FA;
}
.bg-white {
    background-color: #fff;
}
.bg-halfblue {
    position: relative;
}
.bg-halfblue::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: calc(50% + 175px);
    height: 100%;
    background-color: #EFF7FA;
}
.bg-bottomblue {
    position: relative;
    padding-top: 90px;
}
.bg-bottomblue::before {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
    width: 100%;
    height: 50%;
    background-color: #F1F7FA;
}
.bg-contact-nomargin {
    margin-bottom: -100px;
}
@media all and (max-width: 1650px) {
    .font18 {
        font-size: 1.075em;
    }
    .font20 {
        font-size: 1.125em;
    }
    .font24 {
        font-size: 1.35em;
    }
    .font32 {
        font-size: 1.8em;
    }
}
@media all and (max-width: 1160px) {
    .breadcrumbs--recruit {
        left: 0;
    } 
}
@media all and (max-width: 1000px) {
    .padding-90,
    .padding-6590 {
        padding: 65px;
    }
}
@media all and (max-width: 750px) {
    main {
        padding-top: 60px;
    }
    .breadcrumbs {
        padding: 25px 25px 60px;
        font-size: 0.85em;
    }
    .breadcrumbs--recruit {
        position: relative;
        top: auto;
        left: auto;
        background-color: #EFF7FA;
        padding-bottom: 0;
    }

    .width60,
    .width55,
    .width50,
    .width45,
    .width40 {
        width: 100%;
    }

    .margin-tb180 {
        margin-top: 80px;
        margin-bottom: 80px;
    }
    .margin-t150b80 {
        margin-top: 60px;
        margin-bottom: 30px;
    }
    .margin-tb100 {
        margin-top: 60px;
        margin-bottom: 60px;
    }
    .margin-tb40 {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .margin-t180b60 {
        margin-top: 80px;
        margin-bottom: 30px;
    }
    .margin-t90b30 {
        margin-top: 40px;
        margin-bottom: 25px;
    }
    .margin-t20b90 {
        margin-top: 15px;
        margin-bottom: 40px;
    }
    .padding-tb90 {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .padding-tb175 {
        padding-top: 70px;
        padding-bottom: 75px;
    }
    .margin-t175b230 {
        margin-top: 85px;
        margin-bottom: 85px;
    }
    .margin-t80 {
        margin-top: 25px;
    }
    .margin-t100 {
        margin-top: 0;
    }
    .margin-t120 {
        margin-top: 60px;
    }
    .margin-t200 {
        margin-top: 125px;
    }
    .margin-t240 {
        margin-top: 120px;
    }
    .margin-b90 {
        margin-bottom: 60px;
    }
    .margin-b125,
    .margin-b150 {
        margin-bottom: 75px;
    }
    .margin-b180 {
        margin-bottom: 125px;
    }
    .margin-sp-t25 {
        margin-top: 25px;
    }
    .padding-b100,
    .padding-b125 {
        padding-bottom: 75px;
    }
    .padding-b40 {
        padding-bottom: 25px;
    }
    .padding-b15 {
        padding-bottom: 0;
    }
    .padding-t125 {
        padding-top: 60px;
    }
    .padding-65 {
        padding: 25px 0 40px;
    }
    .padding-90 {
        padding: 40px 25px;
    }
    .padding-6590 {
        padding: 25px;
    }
    .padding-659090 {
        padding: 0;
    }

    .font18,
    .font20 {
        font-size: 1em;
    }
    .font24,
    .font32 {
        font-size: 1.25em;
    }

    .text-center-left ,
    .text-right-left {
        text-align: left;
    }

    .p-br span {
        display: inline;
    }
    .p-br br {
        display: none;
    }
    .p-br br.pc-display {
        display: inline-block;
    }

    .br-pc {
        display: none;
    }
    .br-sp {
        display: inline-block;
    }

    .bg-halfblue::before {
        width: 100%;
    }
    .bg-bottomblue {
        padding-top: 25px;
    }
    .bg-bottomblue::before {
        height: 100%;
    }
    .bg-contact-nomargin {
        margin-bottom: 0;
    }
}

/* ボタン */
.btn__navy,
.btn__white,
.btn__blue,
.btn__gray,
.btn__transparent,
.btn__navy-back,
.btn__gray-back {
    position: relative;
    display: inline-block;
    padding: 0.5em 3em;
    background-color: #212836;
    border: 1px solid #212836;
    color: #fff;
    font-weight: bold;
    text-align: center;
    outline: none;
    transition: background-color .2s;
    cursor: pointer;
}
.btn__blue {
    background-color: #335E80;
    border-color: #335E80;
}
.btn__gray,
.btn__gray-back {
    background-color: #717171;
    border-color: #717171;
}
.btn__white {
    background-color: #fff;
    color: #212836;
}
.btn__transparent {
    background-color: transparent;
    border-color: #fff;
}
.btn__navy-back {
    min-width: 15em;
}
.btn__navy::before,
.btn__navy::after,
.btn__blue::before,
.btn__blue::after,
.btn__gray::before,
.btn__gray::after,
.btn__transparent span,
.btn__transparent span::before,
.btn__transparent span::after,
.btn__navy-back::before,
.btn__navy-back::after,
.btn__gray-back::before,
.btn__gray-back::after {
    position: absolute;
    content: "";
    top: 50%;
    right: 12px;
    height: 0;
    border-top: 1px solid #fff;
    font-size: 0;
    transition: right .2s, left .2s;
}
.btn__navy-back::before,
.btn__navy-back::after,
.btn__gray-back::before,
.btn__gray-back::after {
    left: 12px;
    right: auto;
}
.btn__navy::before,
.btn__blue::before,
.btn__gray::before,
.btn__white span,
.btn__transparent span,
.btn__navy-back::before,
.btn__gray-back::before {
    width: 22px;
}
.btn__navy::after,
.btn__blue::after,
.btn__gray::after,
.btn__white span::after,
.btn__transparent span::after,
.btn__navy-back::after,
.btn__gray-back::after {
    transform: translate(0, -350%) rotate(35deg);
    width: 10px;
}
.btn__navy-back::after,
.btn__gray-back::after {
    transform: translate(0, -350%) rotate(-35deg);
}
.btn__white span,
.btn__white span::before,
.btn__white span::after {
    position: absolute;
    content: "";
    top: 50%;
    right: 11px;
    height: 0;
    border-top: 1px solid #212836;
    transition: right .2s;
}
.btn__white span::before,
.btn__transparent span::before {
    top: -1px;
    right: auto;
    left: 0;
    width: 11px;
}
.btn__white span::after,
.btn__transparent span::after {
    top: -1px;
    right: 0;
}
.btn__navy.hover,
.btn__navy-back.hover {
    background-color: #fff;
    color: #212836;
}
.btn__blue.hover {
    background-color: #fff;
    color: #335E80;
}
.btn__gray.hover,
.btn__gray-back.hover {
    background-color: #fff;
    color: #717171;
}
.btn__white.hover {
    background-color: #212836;
    color: #fff;
}
.btn__transparent.hover {
    background-color: #fff;
    color: #224967;
}
.btn__navy.hover::before,
.btn__navy.hover::after,
.btn__blue.hover::before,
.btn__blue.hover::after,
.btn__gray.hover::before,
.btn__gray.hover::after,
.btn__white.hover span,
.btn__transparent.hover span {
    right: -12px;
    border-color: #212836;
}
.btn__blue.hover::before,
.btn__blue.hover::after {
    border-color: #335E80;
}
.btn__gray.hover::before,
.btn__gray.hover::after {
    border-color: #717171;
}
.btn__white.hover span::before,
.btn__transparent.hover span {
    border-color: #fff;
}
.btn__transparent.hover span::before {
    border-color: #224967;
}
.btn__navy-back.hover::before,
.btn__navy-back.hover::after,
.btn__gray-back.hover::before,
.btn__gray-back.hover::after {
    left: -13px;
    border-color: #212836;
}
.btn__gray-back.hover::before,
.btn__gray-back.hover::after {
    border-color: #717171;
}
.btn__blue.btn__external {
    padding-right: 4em;
    background-image: url(../img/icon_external_link_white.svg);
    background-position: right calc(50% - 5.75em) center;
    background-size: 0.9em 0.9em;
    background-repeat: no-repeat;
}
.btn__blue.btn__external2 {
    background-position: right calc(50% - 6.25em) center;
}
.btn__blue.btn__external.hover {
    background-image: url(../img/icon_external_link_darkblue.svg);
}
.btn__bg-up {
    position: relative;
    display: inline-block;
}
.btn__bg-up::before,
.btn__bg-up::after {
    position: absolute;
    content: "";
}
.btn__bg-up::before {
    z-index: 1;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: #212836;
    transition: height .2s;
}
.btn__bg-up::after {
    top: 50%;
    right: 24px;
    z-index: 3;
    width: 11px;
    border-top: 1px solid #212836;
    transition: right .2s;
}
.btn__bg-up span {
    position: relative;
    z-index: 2;
    display: block;
    padding: 0.7em 3em 0.7em 0;
}
.btn__bg-up span::before,
.btn__bg-up span::after {
    position: absolute;
    content: "";
    top: 50%;
    right: 13px;
    height: 0;
    border-top: 1px solid #212836;
    transition: right .2s;
}
.btn__bg-up span::before {
    width: 22px;
}
.btn__bg-up span::after {
    transform: translate(0, -350%) rotate(35deg);
    width: 10px;
}
.btn__bg-up.hover::before {
    height: 100%;
}
.btn__bg-up.hover::after {
    border-color: #fff;
    right: 0;
}
.btn__bg-up.hover span {
    padding-left: 0.5em;
    color: #fff;
}
.btn__bg-up.hover span::before,
.btn__bg-up.hover span::after {
    right: -11px;
}

.btn-wide {
    width: 565px;
    padding: 1em 3em;
}

.btn-wrapper {
    text-align: center;
}
.btn-wrapper--form {
    margin-top: -1em;
}
.btn-wrapper form {
    display: inline-block;
    margin: 1em 0.8em 0;
}
.btn-wrapper a,
.btn-wrapper button {
    min-width: 255px;
}
.btn__2btn {
    margin-right: 1.65em;
}
.btn__top-bottom {
 position: absolute;
 top: 0;
 right: 25px;
}
@media all and (max-width: 750px){
    .btn__navy,
    .btn__white,
    .btn__blue,
    .btn__gray,
    .btn__transparent,
    .btn__navy-back,
    .btn__gray-back {
        display: block;
        width: calc(100% - 50px);
        margin: 0 auto;
    }

    .btn__fullwidth {
        width: 100%;
    }

    .btn-wrapper--form {
        margin-top: 0;
    }
    .btn-wrapper--form form {
        margin: 1.25em 0 0;
        width: 100%;
    }
    .btn-wrapper--form form button {
        width: 100%;
        min-width: auto;
        max-width: 400px;
    }
    .btn__2btn {
        margin-bottom: 1.25em;
    }
    .btn__top-bottom {
        position: relative;
        top: auto;
        right: auto;
        margin-top: 40px;
     }
}
.tabs {
  padding-top: 1em;
}
.tabs__medical-documents {
  position: relative;
  padding: 0 0 90px;
}
.tabs__medical-documents::before,
.tabs__medical-documents::after {
  content: "";
  display:block;
  width: 23%;
  height: 0;
}
.tabs__medical-documents::before {
  order: 1;
}
.tabs li {
  position: relative;
  width: 48.5%;
  cursor: pointer;
}
.tabs__medical-documents li {
  width: 23%;
  margin-bottom: 2em;
}
.tabs li::before {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: #335E80;
  transition: height .2s;
}
.tabs span {
  position: relative;
  display: block;
  padding: 0.75em;
  font-weight: 500;
  text-align: center;
}
.tabs__medical-documents span {
  padding: 1em;
}
.tabs li.hover::before,
.tabs li.active::before {
  height: 100%;
}
.tabs li.hover span,
.tabs li.active span {
  color: #fff;
}
.tab-content {
  position: relative;
  display: none;
  padding: 60px 0 15px;
}
.tab-content__csi {
  padding: 80px 0;
}
.tab-content__medical-documents {
  padding: 80px 0 100px;
}
.tab-content.active {
  display: block;
}
.tab-content__box {
  margin-top: 80px;
  padding-bottom: 80px;
}
.tab-content .tab-content__box:first-child {
  margin-top: 0;
}
.tab-content__date {
  position: relative;
  padding-bottom: 2em;
  border-bottom: 1px solid #D1CFCF;
}
.tab-content__tag {
  display: block;
  width: 6em;
  margin-top: 1em;
  padding: 0.25em 0 0.35em;
  background-color: #335E80;
  border-radius: 2em;
  color: #fff;
  font-size: 0.9em;
  font-weight: bold;
  line-height: 1em;
  text-align: center;
}
.tab-content__link:hover,
.tab-content__link:focus {
  color: #5286BB;
}
.tab-content__pdf {
  position: absolute;
  right: 0;
  bottom: 2em;
}
.tab-content__pdf:hover,
.tab-content__pdf:focus {
  opacity: 0.7;
}
.tab-content__pdf img {
  width: 21px;
  height: 28px;
}
.tab-content__title {
  padding: 1.25em 0 0.75em;
  font-weight: bold;
}
.tab-content__title .link--external {
  background: transparent url(../img/icon_external_link_darkblue.svg) right 0.25em center / 1em 1em no-repeat;
  color: #335E80;
  line-height: 1.5em;
}
.tab-content__title .link--external:hover,
.tab-content__title .link--external:focus {
  background: transparent url(../img/icon_external_link_blue.svg) right 0.25em center / 1em 1em no-repeat;
  color: #5286BB;
}
.tab-content__more-btn {
  padding: 20px 0 100px;
  background-color: #fff;
}
.tabs-arrow {
  font-size: 0.9em;
}
.tabs-arrow-medical,
.tabs-arrow-seminar {
  font-size: 1em;
}
.tabs-arrow li {
  position: relative;
  width: 20em;
  cursor: pointer;
}
.tabs-arrow-medical li,
.tabs-arrow-seminar li {
  width: 50%;
}
.tabs-arrow-policy li {
  width: calc(100% / 3);
}
.tabs-arrow-seminar li br {
  display: none;
}
.tabs-arrow li::before {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background-color: #335E80;
  transition: height .2s;
}
.tabs-arrow span {
  position: relative;
  display: block;
  padding: 0.75em;
  color: #335E80;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-align: center;
}
.tabs-arrow span::after {
  position: absolute;
  content: "";
  top: 50%;
  right: 2em;
  transform: translate(0, -50%) rotate(45deg);
  width: 0.5em;
  height: 0.5em;
  margin-top: -0.175em;
  border-right: 3px solid #335E80;
  border-bottom: 3px solid #335E80;
  transition: border-color .2s;
}
.tabs-arrow li.hover::before,
.tabs-arrow li.active::before {
  height: 100%;
}
.tabs-arrow li.hover span,
.tabs-arrow li.active span {
  color: #fff;
}
.tabs-arrow li.hover span::after,
.tabs-arrow li.active span::after {
  border-color: #fff;
}

/* タブおよびニュース、共通するページがトップとその下層ページにまたがっているのでここに記載 */
.tabs {
    padding-top: 1em;
}
.tabs__medical-documents {
    position: relative;
    padding: 0 0 90px;
  }
.tabs__medical-documents::before,
.tabs__medical-documents::after {
    content: "";
    display:block;
    width: 23%;
    height: 0;
}
.tabs__medical-documents::before {
    order: 1;
}
.tabs li {
    position: relative;
    width: 48.5%;
    cursor: pointer;
}
.tabs__medical-documents li {
    width: 23%;
    margin-bottom: 2em;
}
.tabs li::before {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: #335E80;
    transition: height .2s;
}
.tabs span {
    position: relative;
    display: block;
    padding: 0.75em;
    font-weight: 500;
    text-align: center;
}
.tabs__medical-documents span {
    padding: 1em;
}
.tabs li.hover::before,
.tabs li.active::before {
    height: 100%;
}
.tabs li.hover span,
.tabs li.active span {
    color: #fff;
}
.tab-content {
    position: relative;
    display: none;
    padding: 60px 0 15px;
}
.tab-content__csi {
    padding: 80px 0;
}
.tab-content__medical-documents {
    padding: 80px 0 100px;
}
.tab-content.active {
    display: block;
}
.tab-content__box {
    margin-top: 80px;
    padding-bottom: 80px;
}
.tab-content .tab-content__box:first-child {
    margin-top: 0;
}
.tab-content__date {
    position: relative;
    padding-bottom: 2em;
    border-bottom: 1px solid #D1CFCF;
}
.tab-content__tag {
    display: block;
    width: 6em;
    margin-top: 1em;
    padding: 0.25em 0 0.35em;
    background-color: #335E80;
    border-radius: 2em;
    color: #fff;
    font-size: 0.9em;
    font-weight: bold;
    line-height: 1em;
    text-align: center;
}
.tab-content__link:hover,
.tab-content__link:focus {
    color: #5286BB;
}
.tab-content__pdf {
    position: absolute;
    right: 0;
    bottom: 2em;
}
.tab-content__pdf:hover,
.tab-content__pdf:focus {
    opacity: 0.7;
}
.tab-content__pdf img {
    width: 21px;
    height: 28px;
}
.tab-content__title {
    padding: 1.25em 0 0.75em;
    font-weight: bold;
}
.tab-content__title .link--external {
    background: transparent url(../img/icon_external_link_darkblue.svg) right 0.25em center / 1em 1em no-repeat;
    color: #335E80;
    line-height: 1.5em;
}
.tab-content__title .link--external:hover,
.tab-content__title .link--external:focus {
    background: transparent url(../img/icon_external_link_blue.svg) right 0.25em center / 1em 1em no-repeat;
    color: #5286BB;
}
.tab-content__more-btn {
    padding: 20px 0 100px;
    background-color: #fff;
}
.tabs-arrow {
    font-size: 0.9em;
}
.tabs-arrow-medical,
.tabs-arrow-seminar {
    font-size: 1em;
}
.tabs-arrow li {
    position: relative;
    width: 20em;
    cursor: pointer;
}
.tabs-arrow-medical li,
.tabs-arrow-seminar li {
    width: 50%;
}
.tabs-arrow-policy li {
    width: calc(100% / 3);
}
.tabs-arrow-seminar li br {
    display: none;
}
.tabs-arrow li::before {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background-color: #335E80;
    transition: height .2s;
}
.tabs-arrow span {
    position: relative;
    display: block;
    padding: 0.75em;
    color: #335E80;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-align: center;
}
.tabs-arrow span::after {
    position: absolute;
    content: "";
    top: 50%;
    right: 2em;
    transform: translate(0, -50%) rotate(45deg);
    width: 0.5em;
    height: 0.5em;
    margin-top: -0.175em;
    border-right: 3px solid #335E80;
    border-bottom: 3px solid #335E80;
    transition: border-color .2s;
}
.tabs-arrow li.hover::before,
.tabs-arrow li.active::before {
    height: 100%;
}
.tabs-arrow li.hover span,
.tabs-arrow li.active span {
    color: #fff;
}
.tabs-arrow li.hover span::after,
.tabs-arrow li.active span::after {
    border-color: #fff;
}
.news__table {
    table-layout: fixed;
    width: 100%;
    margin-bottom: 15px;
}
.news__table tr {
    border-bottom: 1px solid #D1CFCF;
}
.news__table td {
    padding: 1em 0;
    vertical-align: middle;
}
td.news__table-date {
    position: relative;
    width: 150px;
    height: 6em;
}
.news__table-date::after {
    position: absolute;
    content: "";
    top: 50%;
    right: 10px;
    width: 0;
    margin-top: -2em;
    height: 4em;
    border-left: 1px solid #D1CFCF;
}
.news__table-ymd {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40px);
    margin-left: -13.5px;
    font-size: 0.9em;
}
.news__table-tag {
    display: inline-block;
    width: 8.5em;
    padding: 0.25em 0 0.35em;
    background-color: #335E80;
    border: 1px solid #335E80;
    border-radius: 2em;
    color: #fff;
    font-size: 0.9em;
    font-weight: bold;
    line-height: 1em;
    text-align: center;
}
td.news__table-content {
    padding-right: 2.5em;
}
.news__table-content a {
    display: block;
    line-height: 1.55em;
}
.news__table-pdf {
    background: transparent url(../img/icon_pdf.svg) right center / 21px 28px no-repeat;
}
.news__table-content a:hover,
.news__table-content a:focus {
    color: #5286BB;
}
.news__table-mark {
    width: 200px;
    text-align: right;
}
.news__table-important,
.news__table-new {
    display: inline-block;
    width: 130px;
    margin-left: 4px;
    padding: 0.25em 0.5em 0.35em;
    border: 1px solid #1274CB;
    color: #1274CB;
    font-size: 0.9em;
    line-height: 1em;
    text-align: center;
}
.news__table-new {
    width: 50px;
    border-color: #D52227;
    color: #D52227;
}
.news__btn-wrapper {
    padding: 20px 0 100px;
    background-color: #fff;
}
@media all and (max-width: 1100px) {
    .tabs-arrow li {
      width: 15em;
    }
    .tabs-arrow-medical li,
    .tabs-arrow-seminar li {
      width: 50%;
    }
    .tabs-arrow-policy li {
      width: calc(100% / 3);
    }
}
@media all and (max-width: 1000px) {
    .news__table td {
        display: block;
        width: 100%;
        text-align: left;
    }
    td.news__table-date {
        height: auto;
        padding: 1.1em 0 0.75em;
    }
    .news__table-date::after {
        border: none;
    }
    .news__table-ymd {
        position: relative;
        top: auto;
        left: auto;
        transform: translate(0, 0);
        margin-left: 0;
        font-size: 1em;
    }
    .news__table-tag {
        display: block;
    }
    td.news__table-content {
        padding: 0;
        background-image: none;
    }
    td.news__table-mark {
        padding: 0.75em 0 1.1em;
    }
    .news__table-pdf + td.news__table-mark {
        min-height: 3.75em;
        padding-left: 35px;
        background: transparent url(../img/icon_pdf.svg) left top 17px / 18px 24px no-repeat;
    }
    .news__table-important,
    .news__table-new {
        margin: 0 4px 0 0;
        font-size: 0.85em;
    }
    .news__btn-wrapper {
        padding: 50px 25px 10px;
        background-color: transparent;
    }
}
@media all and (max-width: 900px) {
    .tabs-arrow-seminar li br {
      display: inline;
    }
    .tabs-arrow-seminar li span {
      padding: 0.25em;
      line-height: 1.5em;
    }
}
@media all and (max-width: 750px) {
    .tabs li {
      width: 100%;
    }
    .tabs__medical-documents li {
      width: 48%;
      height: 64px;
      margin-bottom: 1em;
    }
    .tabs__medical-documents span {
      padding: 0.75em;
      line-height: 1.25em;
    }
    .tab-content__csi {
      padding: 60px 0 20px;
    }
    .tab-content__medical-documents {
      padding: 40px 0 60px;
    }
    .tab-content__box {
      margin-top: 40px;
      padding-bottom: 40px;
    }
    .tab-content__date {
      padding-bottom: 1em;
    }
    .tab-content__tag {
      display: inline-block;
      margin: 0;
    }
    .tab-content__pdf {
      bottom: 1.25em;
    }
    .tab-content__pdf img {
      width: 18px;
      height: 24px;
    }
    .tab-content__more-btn {
      padding: 40px 0 0;
      background-color: transparent;
    }
    .tabs-arrow li {
      width: 100%;
      margin-right: 0;
    }
    .tabs-arrow-seminar li br {
      display: none;
    }
    .tabs-arrow-seminar li span {
      padding: 0.75em;
      line-height: 2em;
    }
    .news__tab-content {
      padding-top: 1em;
    }
}
@media all and (max-width: 470px) {
    .tabs-arrow-seminar li br {
      display: inline;
    }
    .tabs-arrow-seminar li span {
      padding: 0.25em;
      line-height: 1.5em;
    }
}


/* フッター系 */
.contact {
    margin-top: 100px;
    padding: 110px 25px;
    background-color: #224967;
    color: #fff;
    text-align: center;
}
.contact__lead {
    display: inline-block;
    padding-left: 2em;
    background: transparent url(../img/icon_contact_large.svg) left center / 47px 33px no-repeat;
    color: #fff;
    font-size: 2em;
}
.contact__text {
    padding: 0 2em;
    color: #fff;
    font-size: 1.125em;
}

.button-to-top {
    position: fixed;
    bottom: 0;
    right: 0;
    display: none;
    z-index: 100;
}
.button-to-top a {
    position: relative;
    display: block;
    width: 80px;
    height: 80px;
    background-color: #335E80;
    transition: background-color .2s;
}
.button-to-top a::before,
.button-to-top a::after {
    position: absolute;
    content: "";
    top: 50%;
    left: 50%;
    transition: top .2s;
}
.button-to-top a::before {
    width: 1px;
    height: 23px;
    background-color: #fff;
    transform: translate(0, -50%);
}
.button-to-top a::after {
    width: 8px;
    height: 8px;
    margin-top: -10px;
    border-top: 1px solid #fff;
    border-left: 1px solid #fff;
    transform: translate(-45%, 0) rotate(45deg);
}
.button-to-top a.hover {
    background-color: #3B87C0;
}

footer {
    position: relative;
    padding-top: 5em;
    background-color: #212836
}
footer * {
    color: #fff;
}
.footer__link a,
.footer__green a {
    position: relative;
}
.footer__link a::after,
.footer__green a::after {
    position: absolute;
    content: "";
    left: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-top: 2px solid #fff;
    transition: width .2s;
}
.footer__link a.hover::after,
.footer__green a.hover::after {
    width: 100%;
}
.footer__logo {
    flex: 1;
}
.footer__logo img {
    width: 130px;
}
.footer__link {
    width: 280px;
    padding-bottom: 5em;
}
.footer__link--en {
    width: 425px;
}
.footer__link:last-child {
    width: auto;
}
.footer__link li {
    position: relative;
    padding: 0.2em 0;
}
.footer__link a {
    display: inline-block;
    padding: 0.15em 0;
    word-break: normal;
}
.footer__link > li > a {
    font-weight: bold;
}
.footer__link--child {
    font-size: 0.9em;
}
.footer__link--child li {
    position: relative;
    padding-left: 1.4em;
}
.footer__link--child li::before {
    position: absolute;
    content: "";
    top: 50%;
    left: 0;
    width: 0.7em;
    height: 0;
    border-top: 1px solid #fff;
}

.footer__green {
    padding: 1em 0;
    background-color: #67B5A4;
    font-size: 0.9em;
}
.footer__green li {
    padding: 0 1.5em;
    display: inline-block;
    line-height: 1em;
}
.footer__green a {
    line-height: 1.25em;
}
@media all and (max-width: 1650px) {
    .contact__lead {
        font-size: 1.85em;
    }
    .contact__text {
        font-size: 1.075em;
    }
}
@media all and (max-width: 1100px) {
    .contact__text {
        padding: 1.5em 0 2em;
    }
}
@media all and (max-width: 1000px) {
    .footer__logo {
        position: absolute;
        top: 0;
    }
    .footer__link {
        width: 33%;
        padding-top: 5em;
        padding-right: 1em;
    }
    .footer__link--en {
        width: 50%;
    }
}
@media all and (max-width: 750px) {
    .contact {
        margin-top: 80px;
        padding: 60px 25px;
    }
    .contact__lead {
        padding-left: 2em;
        background-size: 31px 22px;
        font-size: 1.5em;
    }
    .contact__text {
        font-size: 1em;
    }

    .button-to-top {
        display: none;
    }

    footer {
        padding-top: 2.5em;
    }
    .footer__logo {
        flex: auto;
        position: relative;
        padding-bottom: 2.5em;
        text-align: center;
    }
    .footer__logo img {
        width: 106px;
    }
    .footer__link {
        width: 100%;
        padding: 0;
    }
    .footer__link:last-child {
        padding-bottom: 2.5em;
    }
    .footer__link > li {
        padding: 0.6em 0;
        border-bottom: 1px solid #fff;
    }
    .footer__link--parent {
        position: absolute;
        top: 0;
        right: 0.25em;
        margin-top: 1.25em;
        transform: rotate(45deg);
        width: 0.6em;
        height: 0.6em;
        border-right: 1px solid #fff;
        border-bottom: 1px solid #fff;
        transition: transform .2s;
    }
    .footer__link--parent.open {
        transform: translate(0, 40%) rotate(225deg);
    }
    .footer__link--child {
        display: none;
    }

    .footer__green {
        padding: 1em 0 1.5em;
    }
    .footer__green ul {
        padding-bottom: 1em;
    }
    .footer__green li {
        display: block;
        padding: 0.6em 0;
    }
}

/* クッキーポリシーポップアップ */
.cookie-consent {
    display: flex;
    visibility: hidden;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    bottom: -200px;
    width: 100%;
    background: #fff;
    padding: 2em 4em 2em 6em;
    border: 1px solid #ddd;
    transition: .5s;
    z-index: 1000;
}
.cookie-consent.is-show {
    bottom: 0;
    visibility: visible;
}
.cookie-text {
    font-size: 1em;
    width: 80%;
}
.cookie-agree {
    color: #fff;
    font-size: 0.9em;
    background: #335E80;
    border: solid 1px #335E80;
    padding: .5em 4em;
    margin-right: 4em;
    font-weight: bold;
    text-align: center;
    transition: background-color .2s;
}
.cookie-agree.hover{
    background-color: #FFF;
    color: #335E80;
}
.cookie-agree:hover {
    cursor: pointer;
}
.cross-btn {
    display: inline-block;
    position: relative;
    width: 1.5em;
    height: 1.5em;
    transition: opacity .2s;
    cursor: pointer;
}
.cross-btn::before,
.cross-btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.1em;
    height: 1.5em;
    background: #232835;
}
.cross-btn::before {
    transform: translate(-50%,-50%) rotate(45deg);
}
.cross-btn::after {
    transform: translate(-50%,-50%) rotate(-45deg);
}
.cross-btn.hover {
    opacity: 0.7;
}

.cc-hide {
    animation: fadeOut 0.5s ease-out 0.1s;
    animation-fill-mode: forwards;
    visibility: hidden;
}
@keyframes fadeOut {
    from {
        bottom: 0;
    }
    to {
        bottom: -20%;
    }
}
/* メディアクエリ */
@media all and (max-width: 750px) {
    .cookie-consent {
        flex-direction: column;
        padding: 5em 1.5em 3em;
        width: 20.5em;
        bottom: -100%;
        height: 28em;
        left: calc(50% - 20.5em/2)
    }
    .cookie-consent.is-show {
        top: 50%;
        bottom: auto;
        transform: translate(0, -50%);
    }
    .cookie-text {
        width: 100%;
        font-size: 1em;
        padding-bottom: 2em;
    }
    .cookie-agree {
        width: 17.5em;
        margin-right: 0;
    }
    .cross-btn {
        display: inline-block;
        position: absolute;
        top: 1em;
        right: 1em;
    }
    .cc-hide {
        animation: fadeOutSP 0.5s ease-out 0.1s;
        animation-fill-mode: forwards;
    }
    @keyframes fadeOutSP {
        from {
            bottom: 25%;
        }
        to {
            bottom: -100%;
            visibility: hidden;
        }
    }
}
@media all and (max-width: 1250px) and (min-width: 751px) {
    .cookie-consent{
        padding: 1.5em 2.5em;
    }
    .cookie-text {
        font-size: 0.8em;
    }
    .cookie-agree {
      font-size: 0.7em;
      padding: .5em 3em;
      margin-right: 3em;
    }
}
