@charset "utf-8";
@import url(css/sanitize.css);

/* 変数 */

:root {
    --maincolor: #12569C;
    --textcolor: #000;
    --subcolor: #1DB189;

    --myfont: "din-2014", sans-serif;

    --dottedline: 1px dotted #707070;
}

/* 基本設定 */

html {
    font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
}

body {
    width: 100%;
    font-size: 1rem;
    line-height: 1.8;
}

a {
    color: #000;
    text-decoration: none;
}

li {
    list-style: none;
}

img {
    vertical-align: bottom;
}

main {
    padding-top: 100px;
}

/* 幅設定 */

.wrapper {
    width: 1200px;
    margin: 0 auto;
}

/* flexbox */

.flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 見出し */

h2 {
    text-align: center;
}

h2 .en {
    color: var(--maincolor);
    font-family: var(--myfont);
    font-style: italic;
    font-size: 48px;
    position: relative;
}

h2 .en::before {
    position: absolute;
    top: 0;
    left: -25px;
    right: 0;
    bottom: -1px;
    width: 20px;
    transform: skewX(-20deg);
    background-color: var(--maincolor);
    content: "";
}

h2 .en::after {
    content: "";
    display: block;
    width: 200px;
    height:1px;
    background-color: var(--maincolor);
    position: absolute;
    bottom: -1px;
    left: -20px;
}

h2 .ja {
    font-size: 18px;
    position: relative;
    top: -12px;
}

h3 {
    margin: 0;
}

h3 .ja {
    color: var(--maincolor);
}

h3 .en {
    font-weight: 300;
    color: #8D98A7;
}

h4 .en {
    color: var(--maincolor);
}

h5 {
    font-size: 2rem;
    margin: 0;
}

/* ボタン */

.btn {
    text-align: center;
    background-color: var(--subcolor);
    width: 280px;
    padding: 16px 0;
    border-radius: 40px;
    margin: 48px auto 0;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
    transition: .3s;
}

.btn a {
    display: block;
}

.btn p {
    color: #fff;
    font-size: 20px;
    display: inline-block;
    margin: 0 10px 0 0;
}

.fa-caret-right {
    color: #fff;
}

.btn:hover {
    transform: translate3d(0, 5px, 0);
    box-shadow: none;
    background: #139D78;;
}

/* ヘッダー */

header {
    position: fixed;
    padding: 0 40px;
    width: 100%;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 9999;
}

header .logo {
    width: 242px;
}

.header_img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* グローバルナビゲーション */

.globalnav ul li:not(:last-child) {
    margin-right: 16px;
    padding-right: 16px;
    border-right: 1px solid #707070;
    transform: skewX(150deg);
}

.globalnav ul li:nth-child(5) {
    border: none;
    margin-right: 8px;
}

.globalnav a:not(.nav_contact){
    display: block;
    color: var(--textcolor);
    font-weight: bold;
    transform: skewX(-150deg);
    transition: .2s;
}

.globalnav a:not(.nav_contact):hover {
    opacity: .6;
}

.globalnav li:last-child {
    border-radius: 10px;
    background-color: var(--subcolor);
    transition: .3s;
    box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, 0.2);
}

a.nav_contact {
    width: 160px;
    height: 50px;
    color: #fff;
    font-weight: bold;
    justify-content: center;
}

.globalnav li:last-child:hover {
    transform: translate3d(0, 3px, 0);
    box-shadow: none;
    background: #139D78;;
}

.mailicon {
    margin-right: 5px;
    font-size: 1.5rem;
    vertical-align: middle;
}

/* パンくずリスト */

#breadcrumb ul {
	list-style-type: none;
	padding: 0;
}

#breadcrumb ul li {
	display: inline;
}

#breadcrumb ul li::before {
    content: "\f105";
    display: inline-block;
    font-weight: 900;
    padding: 0 0.5em;
    font-family: "Font Awesome 5 Free";
}

#breadcrumb ul li:first-child::before {
    display: none;
}

/* 前後記事へのリンク */
.nav-links {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
    font-size: var(--f6);
}

.nav-links .fa-solid {
    color: var(--textcolor);
}

/* メインビジュアル */

.mv_container {
    position: relative;
    height: 860px;
    background-image: url(img/mv_bg.svg);
    background-position-y: 60%;
    background-size: contain;
    background-repeat: no-repeat;
}

.mainvisual {
    position: absolute;
    z-index: 1;
    right: 56px;
    width: 1016px;
    height: 692px;
    object-fit: cover;
    top: -50px;
}

.mv_copy{
    width: 100%;
    font-size: 50px;
    color: #fff;
    position: relative;
    z-index: 10;
    top: 200px;
    left: 0;
}

.mv_copy span{
    background-color: var(--subcolor);
    padding: 10px;
    box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, 0.2);
}

.mv_title {
    color: #fff;
    font-size: 120px;
    font-family: "DIN 2014";
    font-weight: 900;
    position: relative;
    top: 100px;
    left: 0;
    z-index: 10;
    font-style: italic;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.mv_txt {
    margin-top: -180px;
    padding-top: 220px;
    padding-bottom: 64px;
    background: linear-gradient(#7BB5F2,#0B5AAC);
    text-align: center;
    color: #fff;
    line-height: 2;
}

/* メイン */
/* SERVICE */

.service {
    padding: 96px;
    background-image: url(img/bg_service.jpg);
    background-size: cover;
    width: 100%;
    height: 852px;
}

.service section {
    width: 380px;
    height: 400px;
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 65px 70px;
}

.service section img {
    width: 124px;
}

.service section p {
    font-size: 14px;
    text-align: left;
}

/* バナー */

.banner {
    background-image: url(img/banner_bg.jpg);
    background-size: cover;
    width: 100%;
    height: 355px;
    text-align: center;
    margin-top: 80px;
}

/* COMPANY */

.wavebg {
    background-image: url(img/wav_bg.svg);
    background-position-y: bottom;
    background-size: contain;
    background-repeat: no-repeat;
}

.company {
    padding: 135px 0;
}

.company_title .en::after {
    width: 230px;
}

.company img {
    height: 580px;
    object-fit: cover;
    border-radius: 0 20px 20px 0;
    margin-left: calc(((99vw - 100%) / 2) * -1);
}

.company_txt {
    margin-left: 48px;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 16px;
    border-radius: 20px;
}

/* RECRUIT */

.recruit {
    padding-bottom: 135px;
}

.recruit .flex {
    flex-direction: row-reverse;
}

.recruit_title .en::after {
    width: 210px;
}

.recruit img {
    height: 580px;
    object-fit: cover;
    border-radius: 20px 0 0 20px;
    margin-right: calc(((99vw - 100%) / 2) * -1);
}

.recruit_txt {
    margin-right: 48px;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 16px;
    border-radius: 20px;
}

/* NEWS */

.news {
    padding: 0 0 112px;
}

.news_title .en::after {
    width: 150px;
}

.news li {
    display: flex;
    justify-content: left;
    align-items: center;
    border-bottom: var(--dottedline);
    margin-bottom: 10px;
    transition: .2s;
}

.news ul li a:hover {
    opacity: .7;
}

ul.post-categories {
    padding-left: 0;
}

.post-categories li {
    padding: 2px 16px;
    width: 110px;
    color: #fff;
    background-color: var(--maincolor);
    justify-content: center;
}

.post-categories li a {
    color: #fff;
    font-size: 0.8rem;
}


.news ul li time {
    font-weight: bold;
    width: 130px;
    text-align: center;
}


/* フッター */

.contact {
    width: 100%;
    padding: 130px 0;
    background: linear-gradient(90deg, #34D5BC, #2A83DD);
    color: #fff;
    text-align: center;
}

.contact_btn {
    border: 2px solid #fff;
    border-radius: 10px;
    width: 360px;
    height: 104px;
    margin: 0 auto;
    transition: .3s;
}

.contact_title .en::after{
    width: 220px;
}

.contact_btn a {
    display: block;
    color: #fff;
    font-size: 1.5rem;
    padding: 30px 20px;
}

.contact_btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.contact .mailicon {
    font-size: 2rem;
}

#footer {
    padding-top: 64px;
}

#footer .flex {
    align-items: flex-start;
    padding-bottom: 32px;
}

#footer img {
    width: 242px;
}

.footer_nav ul li a {
    display: block;
    transition: .2s;
}

.footer_nav ul li:not(:last-child) {
    margin-right: 16px;
    padding-right: 16px;
    border-right: 1px solid #707070;
    transform: skewX(150deg);
}

.footer_nav li a:not(.footer_contact){
    transform: skewX(-150deg);
}

.footer_nav ul li a:hover {
    opacity: .6;
}

#footer .copylight {
    text-align: center;
    padding-bottom: 16px;
}
/* トップへ戻るボタン */

#page-top a{
    display: flex;
    justify-content:center;
    align-items:center;
    background:var(--maincolor);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    color: #fff;
    text-align: center;
    text-transform: uppercase; 
    text-decoration: none;
    font-size: 0.6rem;
    transition:all 0.3s;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}

#page-top a:hover {
    background: #fff;
    color: var(--maincolor);
}
/*リンクを右下に固定*/
#page-top {
    position: fixed;
    right: 10px;
    bottom:10px;
    z-index: 2;
    /*はじめは非表示*/
    opacity: 0;
    transform: translateY(200px);
}

/*上に上がる動き*/

#page-top.UpMove{
    animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
    from {
    opacity: 0;
    transform: translateY(200px);
    }
    to {
    opacity: 1;
    transform: translateY(0);
    }
}

/*下に下がる動き*/

#page-top.DownMove{
    animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
    from {
    opacity: 1;
    transform: translateY(0);
    }
    to {
    opacity: 1;
    transform: translateY(200px);
    }
}
#page-top span{
    display: block;
}

/* メールフォーム */

/* Contact Form7 */

.contact7_txt {
    text-align: center;
    margin-bottom: 32px;
}

.contact7 {
	max-width: 880px;
	box-sizing: border-box;
    margin: 0 auto;
}
.contact7 dd {
	padding: 14px 0;
    border-top: var(--dottedline);
    margin-left: 35%;
}
.contact7 dt {
    float: left;
	clear: left;
	width: 35%;
	padding: 14px 88px 12px 0;
    text-align: right;
	font-weight: normal;
    border-top: var(--dottedline);

}
.contact7 input, .contact7 textarea {
    background-color: #e3e3e3;
    padding: 4px 0;
}

.contact7 textarea {
    width: 480px;
}

.must {
	color: #FF1A00;
	font-size: 0.7rem;
	margin-left: 5px;
	letter-spacing: 2px;
}

p.btn_contact7 {
    width: 250px;
    background-color: var(--subcolor);
    color: #fff;
    border-radius: 40px;
    text-align: center;
    font-size: 1.1em;
    font-weight: bold;
    letter-spacing: 0.2em;
    transition: 0.3s;	
    margin: 0 auto;
    padding: 8px 0;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
}

.wpcf7-spinner {
    width: 0 !important;
    margin: 0 !important;
}

.wpcf7-list-item:first-child {
    margin-left: 0;
}

.accept {
    text-align: center;
}

.btn_contact7 .fa-caret-right {
    margin-left: 8px;
}

.btn_contact7:hover {
    transform: translate3d(0, 5px, 0);
    box-shadow: none;
    background: #139D78;;
}

.page-contact {
    padding-bottom: 80px;
}

/* 下層ページ */
/* 下層ページのトップ画像 */

.pagemv_container {
    position: relative;
    width: 1200px;
    height: 600px;
    margin-bottom: 88px;
}

.pagemv_container img {
    position: absolute;
    left: 0;
    top: 0;
}

.pagemv_inner {
    text-align: right;
    position: absolute;
    right: 0;
    bottom: 48px;
}

.pagemv_copy span{
    background-color: var(--subcolor);
    padding: 10px;
    box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: 40px;

}

.pagemv_inner div {
    margin-top: 64px;
    padding: 24px;
    width: 625px;
    background-color: #fff;
    text-align: left;
    box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, 0.2);
}

/* 会社概要 */

.page-company {
    margin-bottom: 88px;
}

.page-company .flex {
    align-items: flex-start;
}

.company_tb {
    width: 700px;
}

table tr {
    border-top: var(--dottedline);
}

table th {
    text-align: left;
    color: var(--maincolor);
    width: 200px;
    padding: 24px 0 24px 55px;
}

table td {
    padding: 24px 0;
}

.timeline {
    width: 500px;
}

.timeline > li {
    margin-bottom: 0;
    position: relative;
    padding-bottom: 24px;
}

.timeline time {
    width: 110px;
    margin-top: 20px;
    font-weight: bold;
}

.timeline-content {
    width: 75%;
    float: left;
    border-left: 3px #e5e5d1 solid;
    padding-left: 30px;
}

.timeline-content:before {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--maincolor);
    position: absolute;
    left: -7px;
    top: 10px;
    border-radius: 100%;
    z-index: 99;
}

.timeline-content p {
    margin: 8px 0;
}

/* サービス */

.page_service .banner{
    margin-top: 16px;
}

.service_content {
    padding: 64px 0;
}

.service_content h3 {
    color: var(--maincolor);
    border-bottom: var(--dottedline);
    font-size: 24px;
}

.service_content img {
    height: 516px;
    object-fit: cover;
    border-radius: 0 20px 20px 0;
    margin-left: calc(((99vw - 100%) / 2) * -1);
}

.service_content div {
    margin-left: 30px;
}

.service_content span {
    background-color: var(--maincolor);
    color: #fff;
    padding: 2px 4px;
}

.reverse {
    flex-direction: row-reverse;
}

.reverse img {
    border-radius: 20px 0 0 20px;
    margin-right: calc(((99vw - 100%) / 2) * -1);
    margin-left: 0;
}

.reverse div {
    margin-right: 30px;
}

.service_content ul {
    padding-left: 0px;
}

.service_content ul li {
    position: relative;
    padding-left: 0.8rem;
}

.service_content ul li::before {
    border-radius: 50%;
    width: 8px;
    height: 8px;
    display: block;
    position: absolute;
    left: 0;
    top: 10px;
    content: "";
    background: var(--subcolor);
}
    
/* 採用情報 */
.recruit_wrapper {
    width: 880px;
    margin: 0 auto 88px;
}
.page_recruit h3 {
    text-align: left;
    color: var(--maincolor);
    font-size: 24px;
}

.recruit_tb {
    width: 880px;
    margin: 0 auto 112px;
}

.recruit_tb tr:last-child {
    border-bottom: var(--dottedline);
}

.recruit_contact h3 {
    border-bottom: var(--dottedline);
}

.wp-block-post-author {
	background: #F0F0F2;
	padding: 20px 30px;
	border-radius: 15px;
}
.wp-block-post-author__avatar img {
	width: 80px;
	height: 80px;
	border-radius: 50%;
}
.wp-block-post-author__name::before {
	content: "writer";
		color: #479ED8;
	padding-right: 8px;
}