#header {
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(3px);
}

#mainvisual {
    width: 100%;
    min-height: 100vh;
    padding-top: calc(10vw + 5rem);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

#mainvisual:after {
    content: ' ';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(50, 60, 70, 0.1);
    z-index: 1;
}

.mainvisual_message {
    padding: 1rem 10vw;
    position: relative;
    z-index: 2;
    border-left: 2.5vw solid #FFF;
}

.mainvisual_message .mainvisual_message-title,
.mainvisual_message .mainvisual_message-subtitle,
.mainvisual_message h1 {
    color: #FFF;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.mainvisual_message .mainvisual_message-title {
    font-size: 3rem;
    font-size: 10vh;
    line-height: 1.3;
}

.mainvisual_message .mainvisual_message-title strong {
    display: block;
}

.mainvisual_message .mainvisual_message-subtitle {
    margin: 1rem 0;
}

.mainvisual_message .mainvisual_message-subtitle strong {
    display: block;
    font-size: 1.1rem;
    font-weight: normal;
}

.mainvisual_message h1 {
    font-family: Arial, Meiryo, sans-serif;
}

.mainvisual-movie {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: url(../images/home/mainvisual.jpeg) no-repeat center center/cover;
}

#movie {
    width: 177.77777778vh;
    height: 56.25vw;
    min-height: 100%;
    min-width: 100%;
    transform: translate(-50%, -50%);
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -1;
}

#topbnr {
    position: absolute;
    bottom: 5vw;
    right: 0;
    z-index: 3;
}

#topbnr a {
    padding: 2rem;
    color: #333;
    width: 320px;
    background: rgba(255, 255, 255, 0.95);
    display: block;
}

#topbnr a:after {
    content: ' ';
    width: 1rem;
    height: 1rem;
    background: #00529f;
    border-radius: 50%;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

#topbnr a h3 {
    margin: 0;
}

#topbnr a p {
    font-size: 0.8rem;
    margin-bottom: 0;
}

@media screen and (orientation: portrait) {
    .mainvisual_message .mainvisual_message-title {
        font-size: 15vw;
    }

}

#news {
    position: relative;
    z-index: 2;
    margin-top: auto;
    width: 100%;
    padding: 3rem 10vw;
    border-bottom: 1px solid #DDD;
}

#news .news-title {
    margin: 0 0 1rem;
}

#news .news-title a {
    padding: 0.5rem;
    color: #333;
    font-size: 1rem;
}

#news .news-title a span {
    padding: 0.25rem 0;
    border-bottom: 1px dashed #333;
}

#news article a {
    color: #333;
    padding: 0.5rem;
    display: block;
}

#news article .news-text {
    display: block;
    font-size: 0.8rem;
    margin: 0.25rem 0;
}

#news article .news-article-title {
    margin: 0;
}

#news article .news-text .postmeta {
    display: inline-block;
    margin: 0 1rem;
}

#news article .news-text .postmeta:before {
    content: '[ ';
}

#news article .news-text .postmeta:after {
    content: ' ]';
}

@media screen and (min-width:1024px) {

    #news,
    #news article a {
        display: flex;
        align-items: center;
        padding: 1rem 5vw;
    }

    #news .news-title {
        margin: 0;
        padding: 2rem 0;
        border-right: 1px solid #DDD;
    }

    #news .news-title a {
        padding-right: 5vw;
    }
}

section {
    padding: 3rem 0 0;
}

@media screen and (min-width:1024px) {

    section {
        padding: 5rem 0 0;
    }
}

.section_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 0;
}

.section_header .section_header-title {
    font-size: 1.5rem;
    margin: 0;
    letter-spacing: 0.03em;
}

.section_header .section_header-title span {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 5px;
    font-weight: normal;
}

a.btn {
    display: inline-block;
    color: #333;
    padding: 0.5rem 0 0.5rem 1.5rem;
    font-size: 0.8rem;
    border-bottom: 1px dotted #333;
    position: relative;
}

a.btn:after {
    content: ' ';
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background: #00529f;
    position: absolute;
    top: calc(50% - 5px);
    left: 0;
    transition: all .5s;
}

a.btn:hover {
    opacity: 1;
    border-bottom: 1px solid #333;
}

a.btn:hover:after {
    transform: scale(1.1);
    background: #333;
}

@media screen and (max-width:768px) {
    .section_header {
        display: block;
        text-align: center;
        margin-bottom: 2rem;
    }
}

#outline {
    position: relative;
}

#outline:after {
    content: ' ';
    width: 100%;
    height: 100%;
    background: url(../images/bg.jpg) no-repeat center center/cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

#outline .container {
    position: relative;
    z-index: 2;
    padding: 0 0 5rem;
}

#outline .inner {
    margin: 0 auto;
    font-size: 1.15rem;
    width: fit-content;
}

#outline h2 {
    font-size: 1.75rem;
    margin: 0 0 3rem;
    letter-spacing: 0.05em;
}

#outline h2 span {
    display: block;
}

@media screen and (min-width:769px) {
    #outline {
        text-align: center;
    }
}

#services .inner {
    padding: 0 1rem;
}

.service_item {
    margin-bottom: 1rem;
}

.service_item>div {
    display: block;
    background: #dfe5eb;
}

.service_item a {
    color: #333;
    position: relative;
    overflow: hidden;
}

.service_item-inner {
    padding: 1.5rem;
}

.service_item.service_item-full figure span {
    width: 100%;
    padding-top: 56.25%;
    position: relative;
    display: block;
    overflow: hidden;
}

.service_item.service_item-full figure span img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

@media screen and (min-width:769px) {
    .service_item.service_item-full>div {
        display: flex;
        justify-content: space-between;
    }

    .service_item.service_item-full figure,
    .service_item.service_item-full .service_item-inner {
        width: calc(50% - 0.5rem);
    }

    .service_item-inner {
        padding: 3.5rem 3.5rem 2rem;
    }

    .service_item.service_item-full figure span {
        height: 100%;
        padding-top: 0;
    }
}

.service_item h3 {
    margin: 0 0 1.5rem;
}

.service_item h3 span {
    font-size: 0.8rem;
    display: block;
    color: #00529f;
}

.service_item h3 a:before {
    content: ' ';
    width: 100%;
    height: 1px;
    background: #333;
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: 0;
    transform: translateX(-100%);
    transition: all .5s;
}

.service_item h3 a:hover:before {
    opacity: 1;
    transform: translateX(0);
}

.service_item p {
    font-size: 0.9rem;
    margin: 0.5rem 0 0;
    color: #777;
}

.service_item-btn {
    margin-top: 2rem;
    border-top: 1px dotted #aaaeb5;
}

.service_item-btn a {
    padding: 1.25rem 2.25rem 1.25rem 2.25rem;
    display: block;
    background: url(../img/plus.svg) no-repeat center right 0.5rem / 1.25rem 1.25rem;
    transition: all .5s;
    position: relative;
    border-bottom: 1px dotted #aaaeb5;
}

.service_item-btn a:before {
    content: ' ';
    width: 0.5rem;
    height: 0.5rem;
    position: absolute;
    top: calc(50% - 0.25rem);
    left: 0.5rem;
    border-radius: 50%;
    background: #00529f;
    transition: all .5s;
}

.service_item-btn a:hover {
    opacity: 1;
    padding-left: 2.5rem;
    background-image: url(../img/right.svg);
}

.service_item-btn a:hover:before {
    transform: scale(1.5);
    background: #111;
}

#works .inner {
    padding: 0 1rem;
}

#works article {
    margin-bottom: 1rem;
    border: none;
    padding: 0;
}

#works article a {
    position: relative;
    color: #333;
    display: block;
}

#works article a figure {
    width: 100%;
    padding-top: 56.25%;
    position: relative;
    overflow: hidden;
}

#works article a figure span {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: all .5s;
    background: url(../img/noimg.jpg) no-repeat center center/cover;
}

#works article a figure span img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.works_item-text {
    padding: 1rem;
}


#works article a:hover figure span {
    transform: scale(1.1);
}

.works_item-text h3 {
    font-size: 1rem;
    margin: 0;
}

.works_item-text .postmeta ul {
    list-style: none;
    font-size: 0.75rem;
}

.works_item-text .postmeta ul li {
    display: inline-block;
    margin-right: 0.5rem;
}


@media screen and (min-width:1024px) {
    #works .inner {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    #works article {
        width: calc(50% - 0.5rem);
    }
}


.block-side ul {
    list-style: none;
    margin: 1rem 0 3rem;
    font-size: 0.9rem;
}

.block-side ul li a {
    color: #111;
    opacity: 0.75;
    padding: 1rem;
    position: relative;
}

.block-side ul li a:hover {
    opacity: 1;
}

.block-side ul li a:after {
    content: ' ';
    width: 0.5rem;
    height: 0.5rem;
    position: absolute;
    left: 0;
    top: 1.4rem;
    border-radius: 50%;
    background: #c1bdae;
    transition: all .75s;
}

.block-side ul li a:hover:after {
    background: #111;
    transform: scale(1.1);
}


@media (min-width: 1024px) {
    .block-inner {
        display: flex;
    }

    .block-side {
        order: 1;
        width: 15rem;
    }

    .block-contents {
        order: 2;
        flex: 1;
    }

    .block-side ul li a {
        padding: 0.5rem 0 0.5rem 1rem;
    }

    .block-side ul li a:after {
        top: 0.9rem;
    }

}


#faq {}

#faq .section_header-title,
#blog .section_header-title {
    margin: 0 0 3rem;
}

#faq .section_header-title span,
#blog .section_header-title span {
    margin-left: 1rem;
    font-size: 1rem;
    display: inline-block;
}

#faq .block-contents ul {
    list-style: none;
    border-top: 1px dotted #AAA;
}

#faq .block-contents ul li a {
    padding: 1.5rem 2.5rem 1.5rem 1rem;
    background: url(../img/right.svg) no-repeat center right 0.5rem / 1rem 1rem;
    color: #333;
    display: block;
    position: relative;
    overflow: hidden;
}

#faq .block-contents ul li a:hover {
    background-position: center right;
    opacity: 1;
    color: #111;
}

#faq .block-contents ul li a:before {
    content: ' ';
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: 0;
    left: 0;
    border-top: 1px dotted #AAA;
}

#faq .block-contents ul li a:after {
    content: ' ';
    width: 100%;
    height: 2px;
    position: absolute;
    bottom: 0;
    left: -100%;
    background: #00529f;
    transition: all 1s;
}

#faq .block-contents ul li a:hover:after {
    left: 100%;
}