@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP:400,500,700,900&display=swap&subset=japanese');
@import url('https://fonts.googleapis.com/css?family=Roboto:700,900&display=swap');

html {
    margin: 0;
    padding: 0;
    font-size: 62.5%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    width: 100%;
    height: 100%;
    background: #FFFCF4;
}

body {
    margin: 0;
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "Helvetica Neue", sans-serif;
    color: #333;
    height: 100%;
    width: 100%;
    font-size: 1.6rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "palt";
}

div {
    box-sizing: border-box;
}
a {
    color: #000;
    text-decoration: none;
}
a:hover {
    color: #000;
    text-decoration: none;
}
a:visited {
    color: #000;
}
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
img {
    width: 100%;
    height: auto;
}
input[type="text"],
input[type="email"],
select,
input[type="tel"] {
    -webkit-appearance:none;
}
select::-ms-expand {
    display: none;
}
input[type="submit"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    border-radius: 0;
}
textarea {
    -webkit-appearance:none;
}
input[type="submit"]:focus {
    outline: 0;
}

/*---------------------------------
Common
---------------------------------*/

#wrapper {
    position: relative;
    margin-top: 56px;
    min-height: 100%;
    height: auto;
    animation: fadein 2s ease 0s 1 normal;
    -webkit-animation: fadein 2s ease 0s 1 normal;
}

.obj-fit-img img,
img.obj-fit-img {
    object-fit: cover;
    object-position: center;
    font-family: 'object-fit: cover; object-position: center;'
}

.container {
    margin: 0 16px;
}

.image {
    margin: 24px auto 0;
}
.image img {
    width: 100%;
}

.display_pc {
    display: none;
}
.display_sp {
    display: block;
}
@media (min-width: 768px) {
    #wrapper {
        margin-top: 118px;
    }
    .display_pc {
        display: block;
    }

    .display_sp {
        display: none;
    }
    .container {
        max-width: 1280px;
        padding: 0 40px;
        margin: 0;
    }

    .page_contents .container {
        max-width: 1080px;
        margin: 0 auto;
    }
}
@media (min-width: 1201px) {
    .container {
        margin: 0 auto;
    }
}

/*
Btn
---------------------------------*/
a.btn {
    position: relative;
    display: block;
    text-align: center;
    color: #333;
    border: 1px solid #E62828;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 12px;
    border-radius: 24px;
    margin: 40px auto 0;
    background: #fff;
    max-width: 260px;
    width: 100%;
    box-shadow: 0px 4px 16px rgba(212, 61, 52, 0.1);
}
a.btn::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 16px;
    margin: auto;
    background: url(../img/icon_circle-arrow-red-r.png) no-repeat center 100%/100%;
    height: 16px;
    width: 16px;
    transition: .3s;
}
@media (min-width: 768px) {
    a.btn {
        max-width: 320px;
        margin: 56px auto 0;
        font-size: 1.6rem;
        padding: 13px;
        border-radius: 26px;
        transition: .3s;
    }
    a.btn:hover {
        box-shadow: 0px 4px 16px rgba(212, 61, 52, 0.3);
        background: #E62828;
        color: #fff;
    }
    a.btn:hover::after {
        background: url(../img/icon_circle-arrow-w-r.png) no-repeat center 100%/100%;
    }
}


/*
Breadcrumbs
---------------------------------*/
.breadcrumb_wrapper {
    margin: 0 16px;
}
.breadcrumb {
    padding: 16px 0;
}
.breadcrumb li {
    display: inline-block;
    position: relative;
    padding-right: 20px;
    font-size: 1.5rem;
}
.breadcrumb li:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    padding: 0 3px;
    width: 8px;
    height: 16px;
    background: url(../img/icon_arrow-bk-r.png) no-repeat  center/100%;
}
.breadcrumb li +li {
    margin-left: 12px;
}
.breadcrumb li:last-child {
    padding-right: 0;
}
.breadcrumb li:last-child::after {
    content: none;
}
.breadcrumb li a {
    transition: opacity .3s;
}
@media (min-width: 768px) {
    .breadcrumb_wrapper {
        margin: 0 40px;
    }
    .breadcrumb li {
        padding-right: 24px;
        font-size: 1.6rem;
    }
    .breadcrumb li +li {
        margin-left: 16px;
    }
    .breadcrumb li a:hover {
        opacity: .7;
    }
}
@media (min-width: 1201px) {
    .breadcrumb_wrapper {
        margin: 0 auto;
        max-width: 1680px;
        padding: 0 40px;
    }
}

/*
Pagenation
---------------------------------*/
.pagination {
    margin: 32px 0 0;
}
.pagination_list {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.pagination_list li {
    margin-top: 8px;
}
.pagination_list li a {
    display: block;
    width: 32px;
    height: 32px;
    text-align: center;
    padding: 4px 0;
    margin: 0 8px;
    font-weight: 500;
    font-size: 1.4rem;
    border: solid 1px #ed9b1a;
    background: #fff;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0px 4px 8px rgb(237 155 27 / 10%);
    transition: .3s;
}
.pagination_list li .previouspostslink,
.pagination_list li .first,
.pagination_list li .nextpostslink,
.pagination_list li .last {
    padding: 3px 0;
}
.pagination_list li .current {
    display: block;
    width: 32px;
    height: 32px;
    text-align: center;
    padding: 4px 0;
    margin: 0 4px;
    font-weight: 700;
    font-size: 1.4rem;
    border: solid 1px #ed9b1a;
    background: #ed9b1a;
    border-radius: 50%;
    color: #fff;
}
.pagination_list li a:hover {
    text-decoration: none;
}
@media (min-width: 768px) {
    .pagination {
        margin-top: 56px;
    }
    .pagination_list li a {
        font-size: 1.6rem;
        padding: 6px 0;
        width: 40px;
        height: 40px;
    }
    .pagination_list li .previouspostslink,
    .pagination_list li .first,
    .pagination_list li .nextpostslink,
    .pagination_list li .last {
        padding: 4px 0;
    }
    .pagination_list li .current {
        font-size: 1.6rem;
        padding: 6px 0;
        width: 40px;
        height: 40px;
    }
    .pagination_list li a {
        transition: background-color .3s;
    }
    .pagination_list li a:hover {
        background: #ed9b1a;
        color: #fff;
    }
}

/*
Title Text
---------------------------------*/
.section_title {
    position: relative;
    margin: 0 0 40px;
    padding-bottom: 16px;
    text-align: center;
}
.section_title .en {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1em;
    letter-spacing: 0.1em;
}
.section_title .ja {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 8px 0 0;
    letter-spacing: 0.1em;
}
.section_title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 8px;
    width: 100%;
    background: url(../img/dot-line.png);
    background-size: auto 100%;
    background-position: center;
    background-repeat: no-repeat;
}
.section_title.left {
    text-align: left;
}
.section_title.left::after {
    background-position: left;
}

.page_title {
    position: relative;
    margin: 40px 0 56px;
    padding-bottom: 16px;
    text-align: center;
}
.page_title .en {
    display: block;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1em;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.page_title .ja {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 8px 0 0;
    letter-spacing: 0.1em;
}
.page_title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 8px;
    width: 100%;
    background: url(../img/dot-line.png);
    background-size: auto 100%;
    background-position: center;
    background-repeat: no-repeat;
}
@media (min-width: 768px) {
    .section_title {
        margin: 0 0 48px;
        padding-bottom: 28px;
    }
    .section_title .en {
        font-size: 5.2rem;
    }
    .section_title .ja {
        font-size: 1.6rem;
        margin: 16px 0 0;
    }
    .section_title::after {
        height: 12px;
    }

    .page_title {
        margin: 52px 0 80px;
        padding-bottom: 28px;
    }
    .page_title .en {
        font-size: 5.2rem;
    }
    .page_title .ja {
        font-size: 1.6rem;
        margin: 16px 0 0;
    }
    .page_title::after {
        height: 12px;
    }
}

/*
Animation
---------------------------------*/
@keyframes fadein {
    0% {opacity: 0}
    100% {opacity: 1}
}
@-webkit-keyframes fadein {
    0% {opacity: 0}
    100% {opacity: 1}
}

.-effect {
    opacity: 0;
}
.-effect.-animated {
    -webkit-animation: effect-visible .7s .2s cubic-bezier(.25,.46,.45,.94);
    animation: effect-visible .7s .2s cubic-bezier(.25,.46,.45,.94);
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
@keyframes effect-visible {
    0% {
        opacity: 0;
        -webkit-transform: translateY(20px);
        -moz-transform: translateY(20px);
        -ms-transform: translateY(20px);
        -o-transform: translateY(20px);
        transform: translateY(20px)
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
        transform: translateY(0)
    }
}
.-effect-child {
    opacity: 0
}
.-animated .-effect-child:nth-child(1) {
    -webkit-animation: effect-visible .6s .55s cubic-bezier(.25, .46, .45, .94);
    animation: effect-visible .6s .55s cubic-bezier(.25, .46, .45, .94);
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
}
.-animated .-effect-child:nth-child(2) {
    -webkit-animation: effect-visible .6s .7s cubic-bezier(.25, .46, .45, .94);
    animation: effect-visible .6s .7s cubic-bezier(.25, .46, .45, .94);
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
}
.-animated .-effect-child:nth-child(3) {
    -webkit-animation: effect-visible .6s .85s cubic-bezier(.25, .46, .45, .94);
    animation: effect-visible .6s .85s cubic-bezier(.25, .46, .45, .94);
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
}
.-animated .-effect-child:nth-child(4) {
    -webkit-animation: effect-visible .6s 1s cubic-bezier(.25, .46, .45, .94);
    animation: effect-visible .6s 1s cubic-bezier(.25, .46, .45, .94);
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
}
.-animated .-effect-child:nth-child(5) {
    -webkit-animation: effect-visible .6s 1.15s cubic-bezier(.25, .46, .45, .94);
    animation: effect-visible .6s 1.15s cubic-bezier(.25, .46, .45, .94);
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
}
.-animated .-effect-child:nth-child(6) {
    -webkit-animation: effect-visible .6s 1.3s cubic-bezier(.25, .46, .45, .94);
    animation: effect-visible .6s 1.3s cubic-bezier(.25, .46, .45, .94);
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
}
.-animated .-effect-child:nth-child(7) {
    -webkit-animation: effect-visible .6s 1.45s cubic-bezier(.25, .46, .45, .94);
    animation: effect-visible .6s 1.45s cubic-bezier(.25, .46, .45, .94);
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
}
.-animated .-effect-child:nth-child(8) {
    -webkit-animation: effect-visible .6s 1.6s cubic-bezier(.25, .46, .45, .94);
    animation: effect-visible .6s 1.6s cubic-bezier(.25, .46, .45, .94);
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
}
.-animated .-effect-child:nth-child(9) {
    -webkit-animation: effect-visible .6s 1.75s cubic-bezier(.25, .46, .45, .94);
    animation: effect-visible .6s 1.75s cubic-bezier(.25, .46, .45, .94);
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
}
.-animated .-effect-child:nth-child(10) {
    -webkit-animation: effect-visible .6s 1.9s cubic-bezier(.25, .46, .45, .94);
    animation: effect-visible .6s 1.9s cubic-bezier(.25, .46, .45, .94);
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
}
.-animated .-effect-child:nth-child(11) {
    -webkit-animation: effect-visible .6s 2.5s cubic-bezier(.25, .46, .45, .94);
    animation: effect-visible .6s 2.5s cubic-bezier(.25, .46, .45, .94);
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
}
.-animated .-effect-child:nth-child(12) {
    -webkit-animation: effect-visible .6s 2.65s cubic-bezier(.25, .46, .45, .94);
    animation: effect-visible .6s 2.65s cubic-bezier(.25, .46, .45, .94);
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
}

/*---------------------------------
Header Footer
---------------------------------*/
/*
Header
---------------------------------*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    height: 56px;
    width: 100%;
    z-index: 99;
    background: #FFFCF4;
}
.header_inner {
    margin: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
}
.header_logo {
    display: block;
    width: 118px;
    height: auto;
    margin: 0;
    transition: opacity .3s;
}
.header_company_name {
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    margin-left: 16px;
    margin-right: auto;
    font-weight: 500;
    margin-top: 16px;
}
@media (min-width:  768px) {
    .header {
        height: 118px;
    }
    .header_inner {
        margin: 0 32px;
        position: relative;
        justify-content: space-between;
    }
    .header_logo {
        width: 200px;
        transition: opacity .3s;
    }
    .header_logo:hover {
        opacity: .7;
    }
    .header_company_name {
        font-size: 1.4rem;
        margin-left: 32px;
        margin-top: 24px;
    }

}
@media (min-width: 1201px) {
    .header_inner {
        margin: 0 auto;
        max-width: 1680px;
        padding: 0 40px;
    }
}

/*
Menu Btn
---------------------------------*/
.btn_menu {
    display: block;
    height: 56px;
    width: 56px;
    position: absolute;
    top: 0;
    right: 0;
    margin: auto;
    cursor: pointer;
    transition: opacity .3s;
    text-decoration: none;
}
.btn_menu:hover {
    text-decoration: none;
}
.btn_menu span {
    display: block;
    height: 3px;
    width: 24px;
    background: #E62828;
    border-radius: 1.5px;
    margin: 16px auto 0;
    transition: transform .3s;
    transform-origin: left;
}
.btn_menu span:nth-child(2) {
    margin-top: 7px;
    background: #ED9B1A;
    transition: opacity.3s;
}
.btn_menu span:nth-child(3) {
    margin-top: 7px;
    background: #0084CD;
    transform-origin: left;
}
.btn_menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(2px, -2px);
    width: 28px;
}
.btn_menu.active span:nth-child(2) {
    opacity: 0;
}
.btn_menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(2px, 2px);
    width: 28px;
}
@media (min-width:  768px) {
    .btn_menu {
        display: block;
        height: 48px;
        width: 48px;
        top: 32px;
        position: static;
        margin: 0;
    }
    .btn_menu span {
        height: 6px;
        width: 48px;
        margin: 0;
        border-radius: 3px;
    }
    .btn_menu span:nth-child(2) {
        margin-top: 15px;
    }
    .btn_menu span:nth-child(3) {
        margin-top: 15px;
    }
    .btn_menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(2px, -2px);
        width: 60px;
    }
    .btn_menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(2px, 2px);
        width: 60px;
    }
}

/*
Global Nav
---------------------------------*/
.global_nav {
    position: fixed;
    top: 56px;
    left: 0;
    width:  100%;
    visibility: hidden;
    height: 100vh;
    opacity: 0;
    transition: .3s;
    background: #FFFCF4;
    overflow: hidden;
    transition: visibility .3s,opacity .3s;
}
.global_nav.active {
    visibility: visible;
    opacity: 1;
}
.global_nav_inner {
    overflow: scroll;
    height: 100%;
    padding-bottom: 160px;
}
.global_nav_list {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.global_nav_item a {
    padding: 0 16px;
    font-weight: 700;
    font-size: 1.8rem;
    color: #333;
    transition: opacity .3s;
}
.global_nav_item a:hover {
    text-decoration: none;
}
.global_nav_item + .global_nav_item {
    margin-top: 16px;
}
.global_nav_item span:first-child {
    min-width: 144px;
}
.global_nav_item span:last-child {
    margin-left: 20px;
    font-size: 1.4rem;
}
@media (min-width:  768px) {
    .global_nav {
        top: 118px;
        width:  100%;
    }
    .global_nav_inner {
        overflow: hidden;
    }
    .global_nav_item + .global_nav_item {
        margin-top: 24px;
    }
    .global_nav_item a {
        font-size: 2.4rem;
    }
    .global_nav_item a:hover {
        opacity: .7;
    }
}

/*
Footer
---------------------------------*/
.footer {
    background: #fff;
    padding: 40px 0;
    width: 100%;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.05);
    margin-top: 56px;
}
.footer_inner {
    margin: 0 16px;
}
.footer_nav {
    margin-top: 32px;
}
.footer_nav_item + .footer_nav_item {
    margin: 12px 0 0;
}
.footer_nav_item a {
    font-size: 1.6rem;
    font-weight: 700;
    transition: opacity .3s;
}
.footer_nav_item a:hover {
    text-decoration: none;
}
.footer_logo {
    display: block;
    width: 118px;
    height: auto;
    transition: opacity .3s;
}
.copyright {
    margin-top: 24px;
    font-size: 1.4rem;
    text-align: center;
}
#return_top {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 99;
}
#return_top a {
    background: #fff;
    width: 48px;
    height: 48px;
    display: block;
    position: relative;
    text-align: center;
    border-radius: 50%;
    border: solid #0084cd 1px;
    box-shadow: 0px 4px 16px rgba(0, 132, 205, 0.1);
    transition: .3s;
}
#return_top a::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    height: 16px;
    width: 24px;
    background: url(../img/icon_arrow-bk-t.png) center/100% no-repeat;
    transition: .3s;
}

@media (min-width: 768px) {
    .footer {
        padding: 80px 0;
        box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.05);
        margin-top: 72px;
    }
    .footer_inner {
        display: flex;
        align-items: center;
        margin: 0 32px;
    }
    .footer_nav {
        margin: 0 0 0 96px;
        display: flex;
    }
    .footer_nav_item + .footer_nav_item {
        margin: 0 0 0 40px;
    }
    .footer_nav_item a:hover {
        opacity: .7;
    }
    .footer_logo {
        width: 200px;
    }
    .footer_logo:hover {
        opacity: .7;
    }
    .copyright {
        margin-top: 32px;
    }
    #return_top a {
        width: 64px;
        height: 64px;
    }
    #return_top a::after {
        height: 18px;
        width: 28px;
    }
    #return_top a:hover {
        background: #0084cd;
    }
    #return_top a:hover::after {
        background: url(../img/icon_arrow-w-t.png) center/100% no-repeat;
    }
}
@media (min-width: 1201px) {
    .footer {
        margin-top: 80px;
    }
    .footer_inner {
        margin: 0 auto;
        max-width: 1680px;
        padding: 0 40px;
    }
}

/*---------------------------------
Main
---------------------------------*/
.section {
    margin: 56px 0;
}
@media (min-width: 768px) {
    .section {
        margin: 72px 0;
    }
}
@media (min-width: 1201px) {
    .section {
        margin: 80px 0;
    }
}

/*
Main Visual
---------------------------------*/
.main_visual {
    position: relative;
}
.main_visual_movie {
    margin: 0 16px;
}
.main_visual_movie video {
    width: 100%;
    height: auto;
}
.main_visual_inner {
    text-align: center;
    margin: 120px 16px 0;
    z-index: 2;
}
.mv_copy {
    font-size: 3.2rem;
    margin: 0;
    font-weight: 700;
}
.mv_link {
    display: inline-block;
    position: relative;
    font-size: 1.6rem;
    font-weight: 700;
    padding-right: 24px;
    margin-top: 16px;
    transition: opacity .3s;
}
.mv_link::after {
    content: "";
    position: absolute;
    top: 5px;
    right: 0;
    height: 16px;
    width: 16px;
    background: url(../img/icon_circle-arrow-red-r.png);
    background-size: 100%;
}
.mv_news {
    margin: 0 16px;
}
.mv_news_inner {
    background: #fff;
    border-radius: 16px;
    padding: 24px 16px;
    display: flex;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.05);
}
.mv_news_title {
    white-space: nowrap;
    border-right: #333 solid 1px;
    padding-right: 16px;
    margin-right: 16px;
}
.mv_news_title .en {
    font-size: 1.6rem;
    font-weight: 700;
}
.mv_news_title .ja {
    font-weight: 700;
    font-size: 1rem;
}
.news_item_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
@media (min-width: 768px) {
    .main_visual {
        height: calc( 100vh - 118px );
    }
    .main_visual_movie {
        margin: 0 8%;
        position: relative;
        height: 100%;
    }
    .main_visual_movie video {
        width: 100%;
        height: auto;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
    }
    .main_visual_inner {
        position: absolute;
        top: 96px;
        left: 0;
        right: 0;
        margin: auto;
    }
    .mv_copy {
        font-size: 6.4rem;
    }
    .mv_link {
        font-size: 2rem;
        margin-top: 24px;
    }
    .mv_link:hover {
        opacity: .7;
    }
    .mv_link::after {
        top: 8px;
    }
    .mv_news {
        position: absolute;
        bottom: 40px;
        right: 0;
        left: 0;
        margin: auto;
        max-width: 1280px;
        padding: 0 40px;
        width: 100%;
    }
    .mv_news_inner {
        max-width: 800px;
        padding: 32px;
        box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.05);
    }
    .mv_news_title {
        border-right: #333 solid 2px;
        padding-right: 32px;
        margin-right: 32px;
    }
    .mv_news_title .en {
        font-size: 2rem;
    }
    .mv_news_title .ja {
        font-size: 1.2rem;
    }
    .news_item_header {
        display: block;
    }
    .mv_news .news_item_title {
        margin: 8px 0 0;
    }
}

/*---------------------------------
Common Class
---------------------------------*/
/*
Bg block
---------------------------------*/
.bg_block {

}
.bg_block_inner {
    background: #fff;
    border-radius: 16px;
    padding: 48px 16px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.05);
}

.bg_block_inner:nth-child(3){
	margin: 40px auto 0;
}

@media (min-width: 768px) {
    .bg_block_inner {
        padding: 64px 56px;
        box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.05);
    }
}

/*
Section Service
---------------------------------*/
.section_service_inner p {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.6em;
    margin: 0;
}
.section_service_inner h3 {
    font-size: 1.8rem;
    margin: 24px 0 16px;
}
.section_service_inner .image {
    margin: 24px auto;
    max-width: 260px;
}
@media (min-width: 768px) {
    .section_service {
        margin-top: 40px;
    }
    .section_service_inner {
        max-width: 600px;
        margin: 0 auto;
    }
    .section_service_inner .image {
        max-width: 320px;
    }
}

/*
Section Case
---------------------------------*/
.case_list {
    display: block;
}
.case_item {
    background: #fff;
    max-width: 300px;
    margin: 0 auto;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.05);
}
@media (max-width: 769px) {
    .case_item + .case_item {
        margin-top: 32px;
    }
}
.case_thumb {
    display: block;
    transition: opacity .3s;
}
.case_thumb img {
    height: 75vw;
    max-height: 186px;
}
.case_title {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 16px 0 0;
}
.case_title a {
    transition: opacity .3s;
}
.case_info {
    margin: 16px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.case_date {
    font-size: 1.3rem;
}
.case_cat {
    display: inline-block;
    text-align: center;
    font-size: 1.4rem;
    color: #333;
    background: #EFEFEF;
    border-radius: 12px;
    padding: 1px;
    margin-left: 8px;
    min-width: 100px;
    height: 24px;
    white-space: nowrap;
    width: 160px;
    transition: opacity .3s;
}
.case_tag {
    margin: 16px 0 0;
}
.case_tag a {
    color: #0084cd;
    transition: opacity .3s;
    display: inline-block;
}
.case_prev,
.case_next {
    display: none;
}
@media (min-width: 768px) {
    .section_case {
        overflow: hidden;
    }
    .section_case .container {
        padding: 0;
    }
    .section_case .section_title {
        padding: 0 40px 28px;
    }
    .section_case .section_title::after {
        left: 40px;
    }
    .case_list_parent {
        margin: 0 40px;
        max-width: 1200px;
    }
    .case_list_container {
        overflow: visible;
    }
    .case_list {
        display: flex;
    }
    .case_item {
        max-width: 312px;
        padding: 32px;
        box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.05);
        margin: 0;
        height: auto;
    }
    .case_thumb:hover {
        opacity: .7;
    }
    .case_title {
        margin: 24px 0 0;
    }
    .case_title a:hover {
        opacity: .7;
    }
    .case_date {
        font-size: 1.4rem;
    }
    .case_cat:hover {
        opacity: .7;
    }
    .case_tag {
        font-size: 1.6rem;
        min-height: 24px;
    }
    .case_tag a:hover {
        opacity: .7;
    }
    .case_prev {
        right: 64px;
        left: auto;
        top: -72px;
        display: block;
        border: solid #ED9B1A 2px;
        background: #fff;
        height: 40px;
        width: 40px;
        border-radius: 50%;
        box-shadow: 0px 4px 8px rgba(237, 155, 27, 0.1);
        transition: .3s;
    }
    .case_prev::after {
        font-size: 0;
        background: url(../img/icon_arrow-bk-l.png) center/100% no-repeat;
        height: 18px;
        width: 10px;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        transition: .3s;
    }
    .case_next {
        right: 0;
        top: -72px;
        display: block;
        border: solid #ED9B1A 2px;
        background: #fff;
        height: 40px;
        width: 40px;
        border-radius: 50%;
        box-shadow: 0px 4px 8px rgba(237, 155, 27, 0.1);
        transition: .3s;
    }
    .case_next::after {
        font-size: 0;
        background: url(../img/icon_arrow-bk-r.png) center/100% no-repeat;
        height: 18px;
        width: 10px;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        transition: .3s;
    }
    .case_prev:hover,
    .case_next:hover {
        box-shadow: 0px 4px 8px rgba(237, 155, 27, 0.3);
        background: #ED9B1A;
        color: #fff;
    }
    .case_prev:hover::after {
        background: url(../img/icon_arrow-w-l.png) center/100% no-repeat;
    }
    .case_next:hover::after {
        background: url(../img/icon_arrow-w-r.png) center/100% no-repeat;
    }

}
@media (min-width: 1281px) {
    .case_list_parent {
        margin: 0 auto;
        max-width: 1200px;
    }
}

/*
Section News
---------------------------------*/
.news_item a {
    transition: opacity .3s;
}
.news_item + .news_item {
    margin-top: 24px;
}
.news_date {
    color: #666;
    font-size: 1.3rem;
    white-space: nowrap;
}
.news_cat {
    display: inline-block;
    text-align: center;
    font-size: 1.4rem;
    color: #333;
    background: #EFEFEF;
    border-radius: 12px;
    padding: 1px;
    margin-left: 8px;
    min-width: 100px;
    height: 24px;
    white-space: nowrap;
    width: 160px;
    transition: opacity .3s;
}
.news_item_title {
    margin: 4px 0 0;
    font-weight: 500;
    font-size: 1.5rem;
}
.news_item_title a {
    transition: opacity .3s;
}
@media (min-width: 768px) {
    .news_list {
        max-width: 800px;
        margin: 0 auto;
    }
    .news_item {
        display: flex;
    }
    .news_item + .news_item {
        margin-top: 32px;
    }
    .news_date {
        font-size: 1.4rem;
    }
    .news_cat {
        margin-left: 24px;
        min-width: 160px;
    }
    .news_cat:hover {
        opacity: .7;
    }
    .news_item_title {
        margin: 0 0 0 24px;
        font-size: 1.6rem;
    }
    .news_item_title a:hover {
        opacity: .7;
    }
    .news_item a:hover {
        opacity: 0.7;
    }
}

/*
Section Column
---------------------------------*/
.section_column {
    background: #fff;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.05);
}
.section_column_inner {
    padding: 48px 16px;
}
.section_column_item + .section_column_item {
    margin-top: 48px;
    padding-top: 48px;
    border-top: solid 1px #333;
}
.section_column h2 {
    text-align: center;
    margin: 0;
    font-size: 2.2rem;
}
.section_column p {
    text-align: center;
    margin: 8px 0 0;
    font-size: 1.5rem;
    line-height: 1.6em;
    font-weight: 500;
}
.section_column .image {
    max-width: 260px;
}
@media (min-width: 768px) {
    .section_column_inner {
        display: flex;
        padding: 64px 0;
    }
    .section_column_item {
        width: 50%;
    }
    .section_column_item + .section_column_item {
        margin: 0;
        padding: 0;
        border-top: none;
        border-left: solid 2px #333;
    }
}


/*
Section Contact
---------------------------------*/
a.contact_btn {
    font-size: 1.8rem;
    color: #e62828;
    max-width: 300px;
    padding: 13.5px;
    border-radius: 28px;
}
@media (min-width: 768px) {
    a.contact_btn {
        font-size: 2rem;
        max-width: 1000px;
        padding: 32px;
        border-radius: 48px;
    }
    a.contact_btn::after {
        right: auto;
        margin-left: 16px;
        height: 20px;
        width: 20px;
    }
}

/*---------------------------------
Page
---------------------------------*/
/*
Common
---------------------------------*/
.contents {
}
.contents h2 {
    position: relative;
    font-size: 2rem;
    padding-left: 12px;
    margin: 32px 0 0;
}
.contents h2:first-child {
    margin: 0;
}
.contents h2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 3px;
    border-radius: 3px;
    background: #e62828;
}
.contents h2.blue::before {
    background: #0084cd;
}
.contents h2.yellow::before {
    background: #ed9b1a;
}

.contents h2.purple::before {
    background: #a43ee1;
}

.contents h3 {
    font-size: 1.8rem;
    border-bottom: solid 1px #333;
    padding-bottom: 4px;
    margin: 24px 0 0;
}
.contents h3:first-child {
    margin: 0;
}
.contents p {
    line-height: 2;
    margin: 16px 0 0;
}
.contents p:first-child {
    margin: 0;
}
.contents a {
    color: #0084CD;
}
.contents ul {
    margin: 32px 0;
}
.contents ul li {
    padding-left: 16px;
    position: relative;
}
.contents ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    height: 8px;
    width: 8px;
    background: #ED9B1A;
    border-radius: 50%;
}
.contents li + li {
    margin-top: 0.5em;
}
.contents ol {
    padding-left: 1.2em;
    margin: 32px 0;
}
ul.page_toc_list li {
    max-width: 240px;
    margin: 0 auto;
}
ul.page_toc_list li::before {
    content: none;
    padding: 0;
}
ul.page_toc_list li + li {
    margin-top: 16px;
}
.page_toc_list a {
    position: relative;
    display: block;
    text-align: center;
    color: #333;
    border: 1px solid #E62828;
    font-size: 1.6rem;
    font-weight: 700;
    padding: 4px;
    border-radius: 17px;
    margin: 0 auto;
    background: #fff;
    width: 100%;
    box-shadow: 0px 4px 16px rgba(212, 61, 52, 0.1);
}
.page_toc_list li:nth-of-type(2n) a {
    border: 1px solid #0084cd;
    box-shadow: 0px 4px 16px rgba(0, 132, 205, 0.1);
}
.page_toc_list li:nth-of-type(3n) a {
    border: 1px solid #e19e3e;
    box-shadow: 0px 4px 16px rgba(237, 155, 26, 0.1);
}

.page_toc_list li:nth-of-type(4n) a {
    border: 1px solid #a43ee1;
    box-shadow: 0px 4px 16px rgba(237, 155, 26, 0.1);
}

.page_toc_list a::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 16px;
    margin: auto;
    background: url(../img/icon_circle-arrow-red-b.png) no-repeat center 100%/100%;
    height: 16px;
    width: 16px;
    transition: .3s;
}
.page_toc_list li:nth-of-type(2n) a::before {
    background: url(../img/icon_circle-arrow-blue-b.png) no-repeat center 100%/100%;
}
.page_toc_list li:nth-of-type(3n) a::before {
    background: url(../img/icon_circle-arrow-yellow-b.png) no-repeat center 100%/100%;
}
@media (min-width: 768px) {
    .contents h2 {
        font-size: 2.2rem;
        padding-left: 16px;
        margin: 40px 0 0;
    }
    .contents h2::before {
        width: 4px;
        border-radius: 2px;
    }
    .contents h3 {
        padding-bottom: 8px;
        margin: 32px 0 0;
    }
    .contents p {
        margin: 24px 0 0;
    }
    .contents ul {
        margin-top: 32px;
    }
    ul.page_toc_list {
        display: flex;
        justify-content: center;
        margin: 64px 0;
    }
    ul.page_toc_list li {
        margin: 0;
        padding: 0;
        width: 200px;
        max-width: 200px;
    }
    ul.page_toc_list li + li {
        margin: 0 0 0 32px;
    }
    .page_toc_list a {
        font-size: 2rem;
        padding: 8px;
        border-radius: 24px;
        text-indent: 16px;
    }
    .page_toc_list a::before {
        left: auto;
        margin-left: -24px;
    }
}

/*
Case
---------------------------------*/
@media (min-width: 768px) {
    .page_archive .case_list {
        flex-wrap: wrap;
        max-width: 656px;
        margin: 0 auto;
    }
    .page_archive .case_item {
        margin: 0 0 0 32px;
    }

}
@media (min-width: 768px) and (max-width: 1080px) {
    .page_archive .case_item:nth-of-type(2n+1) {
        margin-left: 0;
    }
    .page_archive .case_item:nth-of-type(n+3) {
        margin-top: 32px;
    }
}
@media (min-width: 1081px) {
    .page_archive .case_list {
        max-width: 100%;
    }
    .page_archive .case_item:nth-of-type(3n+1) {
        margin-left: 0;
    }
    .page_archive .case_item:nth-of-type(n+4) {
        margin-top: 32px;
    }
}

/*
Contact
---------------------------------*/
.form_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0px;
    text-align: left;
}
.form_table th {
    width: 100%;
    display: block;
}
.form_table tr:nth-child(n+2) th {
    margin-top: 24px;
}
.form_table td {
    width: 100%;
    display: block;
    margin-top: 8px;
}
.form_label {
    font-size: 1.5rem;
    font-weight: 700;
}
.required {
    color: #E62828;
    font-size: 1rem;
    margin-left: 8px;
    padding: 1px 8px 2px;
    border-radius: 10px;
    font-weight: 700;
    border: solid 1px #E62828;
    letter-spacing: 0.3em;
    text-indent: 0.3em;
    display: inline-block;
}
.form_control {
    display: block;
    width: 100%;
    height: 40px;
    padding: 8px 12px;
    font-size: 1.6rem;
    background: #F2F2F2;
    border-radius: 4px;
    border: none;
    box-sizing: border-box;
}
textarea.form_control {
    height: 160px;
}

.wpcf7-checkbox input[type=checkbox] {
    display: none;
}
.wpcf7-checkbox .wpcf7-list-item {
    display: block;
    margin: 0;
}
.wpcf7-checkbox .wpcf7-list-item + .wpcf7-list-item {
    margin: 16px 0 0 0;
}
.wpcf7-checkbox label span {
    font-size: 1.5rem;
    position: relative;
    cursor: pointer;
    margin: 0 0 0 32px;
    display: inline-block;
}
.wpcf7-checkbox input[type=checkbox] + span::before {
    content: "";
    position: absolute;
    left: -32px;
    top: 0;
    bottom: 0;
    width: 24px;
    height: 24px;
    background: #F2F2F2;
    border-radius: 4px;
}
.wpcf7-checkbox input[type=checkbox] + span::after {
    content: "";
    position: absolute;
    left: -26px;
    top: 2px;
    bottom: 0;
    width: 22px;
    height: 10px;
    border-left: solid 4px #0084CD;
    border-bottom: solid 4px #0084CD;
    transform: rotate(-45deg);
    opacity: 0;
    transition: opacity .3s;
}
.wpcf7-checkbox input[type=checkbox]:checked + span::after {
    opacity: 1;
}
.wpcf7-form-control-wrap {
    width: 100%;
    position: relative;
    display: block;
}
.wpcf7-form-control-wrap.type::after {
    content: "";
    position: absolute;
    top: 18px;
    right: 8px;
    width: 16px;
    height: 8px;
    background: url(../img/icon_arrow-bk-b.png) no-repeat  center/100%;
    pointer-events: none;
}
.send_btn {
    position: relative;
    margin: 40px auto 0;
    max-width: 260px;
}
.send_btn input {
    position: relative;
    display: block;
    text-align: center;
    color: #E62828;
    border: 1px solid #E62828;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 12px;
    border-radius: 24px;
    background: #fff;
    width: 100%;
    box-shadow: 0px 4px 16px rgb(212 61 52 / 10%);
    transition: .3s;
}
.send_btn::after {
    content: "";
    position: absolute;
    top: 16px;
    right: 16px;
    background: url(../img/icon_circle-arrow-red-r.png) no-repeat center 100%/100%;
    height: 16px;
    width: 16px;
    transition: .3s;
    pointer-events: none;
}
.wpcf7-not-valid-tip {
    color: #E62828;
    font-size: 1.4rem;
    font-weight: 500;
    margin-top: 8px;
}
.wpcf7 form .wpcf7-response-output {
    margin: 2em 0.5em 1em;
    padding: 0.2em 1em;
    border: none;
    background: #EFEFEF;
    border-radius: 4px;
    margin-left: 0;
    margin-right: 0;
    padding: 8px 12px;
    font-size: 1.4rem;
}
.wpcf7 form.init .wpcf7-response-output {
    display: none;
}
.wpcf7 form.sent .wpcf7-response-output {
    background-color: #c7edff;
}
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    background-color: #ffd6d6;
}
.wpcf7 form.spam .wpcf7-response-output {
    background-color: #ffe5d8;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    background-color: #fff9d1;
}
.wpcf7 .ajax-loader {
    display: none;
}
@media (min-width: 769px) {
    .form_table tr {
        display: flex;
    }
    .form_table th {
        width: 320px;
    }
    .form_table tr:nth-child(n+2) th {
        margin-top: 32px;
    }
    .form_table td {
        width: calc( 100% - 320px );
        margin-top: 0;
        margin-left: 4%;
        display: flex;
        align-items: center;
        font-size: 1.6rem;
    }
    .form_table tr:nth-child(n+2) td {
        margin-top: 32px;
    }
    .form_label {
        font-size: 1.6rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: 8px;
    }
    .required {
        font-size: 1.4rem;
        padding: 2px 12px 3px;
        border-radius: 14px;
    }
    .form_control {
        border-radius: 8px;
        padding: 12px 16px;
        height: 48px;
    }
    .wpcf7-form-control-wrap.type::after {
        top: 21px;
    }
    .send_btn {
        margin: 40px auto 0;
        max-width: 320px;
    }
    .send_btn input {
        font-size: 1.8rem;
        padding: 11px 12px 12px;
        border-radius: 26px;
    }
    .send_btn::after {
        top: 18px;
    }
    .send_btn:hover input {
        box-shadow: 0px 4px 16px rgb(212 61 52 / 30%);
        background: #E62828;
        color: #fff;
    }
    .send_btn:hover::after {
        background: url(../img/icon_circle-arrow-w-r.png) no-repeat center 100%/100%;
    }
    .wpcf7-checkbox label span {
        font-size: 1.6rem;
        padding-top: 4px;
        margin: 0 0 0 48px;
    }
    .wpcf7-checkbox input[type=checkbox] + span::before {
        width: 32px;
        height: 32px;
        left: -48px;
        border-radius: 8px;
    }
    .wpcf7-checkbox input[type=checkbox] + span::after {
        width: 28px;
        height: 12px;
        left: -40px;
    }
    .wpcf7 form .wpcf7-response-output {
        text-align: center;
    }
}




/*---------------------------------
Single
---------------------------------*/
/*
Common
---------------------------------*/
.single_header .case_tag {
    margin: 8px 0 0 0;
}
.page_thumb img {
    height: 56.25vw;
    max-height: 499.5px;
    margin-bottom: 24px;
}
.single_header h1 {
    position: relative;
    font-size: 2.4rem;
    margin: 32px 0 24px;
    padding-left: 32px;
}
.single_header h1::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    height: 20px;
    width: 20px;
    background: url(../img/icon_single_title.png) center/100% no-repeat;
}
@media (min-width: 768px) {
    .single_header .case_tag {
        display: inline-block;
        margin: 0 0 0 24px;
    }
    .single_header h1 {
        font-size: 3rem;
        margin: 48px 0 40px;
        padding-left: 40px;
    }
    .single_header h1::before {
        top: 14px;
        height: 24px;
        width: 24px;
    }
}

/*---------------------------------
404
---------------------------------*/
.page_not_found h1 {
    margin-top: 0;
}

/*---------------------------------
Gutenberg
---------------------------------*/
/*
Common
---------------------------------*/
.page_contents .has-small-font-size {
    font-size: 12px;
}
.page_contents .has-normal-font-size {
    font-size: 14px;
}
.page_contents .has-medium-font-size {
    font-size: 16px;
}
.page_contents .has-large-font-size {
    font-size: 18px;
}
.page_contents .has-huge-font-size {
    font-size: 20px;
}

.wp-block-columns {
    margin-top: 32px;
}
.wp-block-column + .wp-block-column {
    margin-top: 24px;
}

.wp-block-image {
    margin: 0 0 1em 0;
}

ul.blocks-gallery-grid li {
    padding-left: 0;

}

ul.blocks-gallery-grid li::before {
    content: none;
}

.wp-block-table {
    margin: 16px 0 0 0;
}
.wp-block-table table th,
.wp-block-table table td {
    padding: 8px 0;
}
.is-style-regular table th,
.is-style-regular table td {
    border-bottom: solid #333 1px;
}
.is-style-stripes table th,
.is-style-stripes table td {
    padding: 8px;
}

@media (min-width: 768px) {
    .page_contents .has-small-font-size {
        font-size: 14px;
    }
    .page_contents .has-normal-font-size {
        font-size: 16px;
    }
    .page_contents .has-medium-font-size {
        font-size: 18px;
    }
    .page_contents .has-large-font-size {
        font-size: 24px;
    }
    .page_contents .has-huge-font-size {
        font-size: 28px;
    }

    .wp-block-columns {
        margin-top: 56px;
    }
    .wp-block-column + .wp-block-column {
        margin-top: 0;
    }

    .wp-block-table {
        margin: 24px 0 0 0;
    }
}


p.submit-quiz {
    text-align: center;
    margin: 40px 0;
}

input.wpcf7-form-control.wpcf7-quiz.quiz {
    border-radius: 15px;
    padding: 10px;
    width: 300px;
    text-align: center;
    border: 3px solid #ed9c1d;
    background-color: #fffcf4;
}