@charset "utf-8";
/* CSS Document */
/*
Theme Name: 株式会社昭栄堂
Theme URI:
Description: A theme by <a href="">株式会社昭栄堂</a>.
Version: 1.0
Author: DIGITAL STRIVE
Author URI: http://d-strive.com/
Requires at least: 5.2.1
Requires PHP: 7.1.3
*/

@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p:wght@300;400;500&family=Oswald:wght@300;400&family=Roboto:wght@300;500&display=swap');


html {
    font-size: 62.5%;
    /*10px*/
}

body {
    color: #333;
    background-color: #fff;
    font-size: 1.2em;
    /*12px*/
    line-height: 1.6rem;
}


/* 共通css--------------------- */

* {
    box-sizing: border-box;
}

.clear {
    clear: left;
}

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

img {
    vertical-align: bottom;
    border: 0;
    max-width: 100%;
    height: auto;
}

a img:hover {
    transition: all 0.5s;
    opacity: 0.8;
}

a img {
    border-width: 0px;
    border-style: none;
    border-color: #fff;
    background: transparent;
}


.pc_none {
    display: none;
}

.container {
    width: 1100px;
    margin: 0 auto 200px;
}

.container960 {
    width: 960px;
    max-width: 100%;
    margin: 0 auto 200px;
}

a.anchor {
    display: block;
    padding-top: 400px;
    margin-top: -400px;
}

.side_a {
    width: 15%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.5);
    padding-top: 70px;
    padding-left: 3%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
}

.side_b {
    width: 100%;
    position: relative;
}

.side_b_add01 {
    margin-top: 30px;
}

.header_nav,
.side_b {
    padding-left: 15%;
}

.flex {
    display: flex;
    flex-wrap: wrap;
}

a {
    text-decoration: none;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    color: #333;
}

.side_c {
    width: 960px;
    max-width: 80%;
    margin: 70px auto 200px;
    padding: 0;
}

.side_c_add1 {
    margin: 70px auto 120px;
}

.side_c_add2 {
    margin: 20px auto;
}

.side_c_add3 {
    margin: 20px auto;
    display: flex;
    justify-content: space-between;
}

.text_01 {
    font-size: 16px;
    line-height: 2em;
}

.title_01 {
    font-weight: 400;
}

.title_01_add01 {
    font-weight: 400;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

.title_01 span {
    font-family: 'Oswald', sans-serif;
    color: #2066C7;
    font-size: 150%;
    font-weight: 400;
    display: inline-block;
    margin-right: 20px;
}

a.hover02 {
    color: #333;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    position: relative;
    padding-left: 43px;
    margin-top: 30px;
}

a.hover02::before,
a.hover02::after {
    content: '';
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

a.hover02::before {
    width: 14px;
    height: 1px;
    background: #707070;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto;
}

a.hover02:after {
    width: 13px;
    height: 13px;
    border-top: solid 1px #707070;
    border-right: solid 1px #707070;
    transform: rotate(45deg);
    position: absolute;
    top: 0.5px;
    left: 9px;
}

a.hover02:hover::before,
a.hover02:active::before {
    width: 35px;
    background: #2066C7;
}

a.hover02:hover::after,
a.hover02:active::after {
    border-top: solid 1px #2066C7;
    border-right: solid 1px #2066C7;
    left: 20px;
}

a.hover02:hover,
a.hover02:active {
    color: #2066C7;
}

.copy_wrap {
    width: 100%;
    position: relative;
    z-index: 1;
}

.copy_wrap img {
    width: 100%;
}

.copy_wrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.1);
}

.copy_wrap h2 {
    color: #fff;
    font-size: 1.9vw;
    font-weight: 300;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    position: absolute;
    top: 5%;
    right: 20%;
    z-index: 3;
}

.copy_wrap h2 span {
    font-size: 100%;
    display: block;
}

.copy_wrap h2 span:nth-of-type(2) {
    margin-top: 7em;
    margin-right: 0.8em;
}

.copy_wrap_add1 h2 span:nth-of-type(2) {
    margin-top: 2em;
}

.copy_wrap_add1 h2 span:nth-of-type(3) {
    margin-top: 9em;
    margin-right: 0.8em;
}

.en01 {
    height: 16%;
    width: auto;
    position: absolute;
    bottom: -3%;
    left: 11%;
    z-index: 4;
}

.en02 {
    height: 16%;
    width: auto;
    position: absolute;
    bottom: -3%;
    left: 11%;
    z-index: 4;
}

.en03 {
    height: 16%;
    width: auto;
    position: absolute;
    bottom: -3%;
    left: 11%;
    z-index: 4;
}


/*-------------------------
ヘッダー
-------------------------*/
header,
.header_nav {
    height: 80px;
}

.header_nav {
    width: 100%;
    background: rgba(255, 255, 255, 0.7);
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 5;
}

.header_nav > li {
    margin: 0 10px;
}

.header_nav li:nth-of-type(1) {
    width: 40px;
}
.header_nav li:nth-of-type(2) {
    width: 50px;
}
.header_nav li:nth-of-type(3) {
    width: 50px;
}
.header_nav li:nth-of-type(4) {
    width: 80px;
}
.header_nav li:nth-of-type(5) {
    width: 80px;
}
.header_nav li:nth-of-type(6) {
    width: 50px;
}
.header_nav li:nth-of-type(7) {
    width: 50px;
}
.header_nav li:nth-of-type(8) {
    width: 80px;
}
.header_nav li:nth-of-type(9) {
    width: 120px;
}
.header_nav li:nth-of-type(10) {
    width: 80px;
}

.header_nav li a .nomal {
    color: #333;
    font-family: 'Oswald', sans-serif;
    font-size: 75%;
}

a .hover01 {
    display: none;
    font-size: 70%;
}

a:hover .nomal {
    display: none;
}

a:hover .hover01 {
    color: #2066C7;
    display: inline;
}

/*-------------------------
サイドバー
-------------------------*/
.side_logo {
    width: 15%;
    margin-bottom: 35px;
}

.side_logo a {
    display: block;
}

.side_text {
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    font-size: 112%;
    font-family: 'Roboto', sans-serif;
}

/*-------------------------
スライド
-------------------------*/
.slide01_wrap {
    width: 100%;
    position: relative;
    z-index: 1;
}

.slick-slide img.pc_none {
    display: none;
}

.slide01_wrap h1 {
    position: absolute;
    top: 15%;
    right: 18%;
    z-index: 2;
}

.slide01_wrap h1 img {
    width: 100px;
}

.slide01_wrap h2 {
    color: #fff;
    font-size: 1.9vw;
    font-weight: 300;
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    text-shadow: 0 0 3px #666;
    position: absolute;
    top: 15%;
    right: 30%;
    z-index: 3;
}

.slide01_wrap h2 span {
    font-size: 100%;
    display: block;
}

.slide01_wrap h2 span:nth-of-type(2) {
    margin-top: 5em;
    margin-right: 0.8em;
}

/*-------------------------
トップページ　お知らせ
-------------------------*/
.top_news {
    margin-top: 30px;
    display: inline-block;
}

.top_news > p {
    font-size: 14px;
}

.top_news > p:nth-of-type(2) {
    margin-top: 5px;
}

.top_news > p:nth-of-type(3) {
    margin-top: 30px;
    line-height: 2.0rem;
}

a.hover02 {
    margin-top: 40px;
}

/*-------------------------
トップページ　事業案内
-------------------------*/
.text_02 {
    color: #000;
    font-weight: 500;
    margin: 30px 0 0 0;
}

.text_02_add01 {
    margin: 960px;
    margin: 0 auto;
}

.text_03 {
    font-size: 87.5%;
    line-height: 2em;
    margin-top: 10px;
}

.image_01 {
    width: 90%;
    max-width: 240px;
    margin: 0 40px 0 0;
}

.btn_kaunet_dl {
    color :#fff;
    padding: 10px;
    background-color: #2066c7;
    width: 100%;
    max-width: 360px;
    margin: 40px auto;
    display: block;
    text-align: center;
    line-height: 1.2rem;
    border-radius: 4px;
}

.btn_kaunet_dl:hover {
    opacity: 0.8;
}

.top_case > li {
    width: calc(100% / 4 - 39px /4);
    margin-right: 13px;
    margin-top: 30px;
}

.top_case > li:nth-of-type(4n),
.works_case > li:nth-of-type(5n) {
    margin-right: 0;
}

.top_case > li a,
.works_case > li a {
    display: block;
}

.img_trim01 {
    position: relative;
    overflow: hidden;
    padding-top: 100%;
    /*比率*/
}

.img_trim01 > img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1 !important;
}

.top_case > li a p:nth-of-type(2),
.works_case > li a p:nth-of-type(2) {
    color: #666666;
    font-size: 87.5%;
    text-align: center;
    margin-top: 10px;
}

.top_case > li a:hover p:nth-of-type(2),
.top_case > li a:active p:nth-of-type(2),
.works_case > li a:hover p:nth-of-type(2),
.works_case > li a:active p:nth-of-type(2) {
    color: #000;
}

.top_case > li a p.img_trim01::before,
.works_case > li a p.img_trim01::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    transition: background-color 0.5s;
    background-color: rgba(0, 0, 0, 0.4);
}

.top_case > li a:hover p.img_trim01::before,
.top_case > li a:active p.img_trim01::before,
.works_case > li a:hover p.img_trim01::before,
.works_case > li a:active p.img_trim01::before {
    background-color: rgba(0, 0, 0, 0);
}

/*-------------------------
トップページ　アクセス
-------------------------*/
.top_map {
    width: 100%;
    height: 450px;
    margin-top: 30px;
}

/*-------------------------
フッター
-------------------------*/
.footer_wrap {
    width: 100%;
    border-top: solid 1px #999999;
    padding-top: 50px;
    padding-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer_wrap::before {
    content: '';
    width: 15%;
    height: 0;
    border-top: solid 1px #fff;
    position: absolute;
    top: -1px;
    left: 0;
    z-index: 2;
}

.footer_nav {
    width: 100%;
}

.footer_nav > li {
    margin: 0 20px;
}

.footer_nav > li:first-of-type {
    margin: 0 20px 0 0;
}

.footer_nav > li a {
    font-size: 75%;
}

.footer_info {
    margin-top: 70px;
}

.footer_info > p:nth-of-type(2) {
    margin: 10px auto;
}

.footer_info > p:nth-of-type(2) a {
    font-family: 'Roboto', sans-serif;
    font-size: 150%;
    font-weight: 500;
    display: inline-block;
}

.footer_info > p:nth-of-type(2) a i {
    display: inline-block;
    margin-right: 5px;
}

.footer_info > p:nth-of-type(3) {
    font-size: 75%;
}

.footer_info > p:nth-of-type(4) {
    margin-top: 15px;
}

.footer_info > p:nth-of-type(4) small {
    font-family: 'Oswald', sans-serif;
    font-size: 75%;
    font-weight: 400;
}

/*-------------------------
ページトップへボタンのスタイル
-------------------------*/
.page-top {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 90;
    width: 56px;
    height: 56px;
    background-color: #2066C7;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* 矢印のスタイル */
.page-top a {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
}

.page-top a::before,
.page-top a::after {
    content: "";
    position: absolute;
    background: #fff;
}

.page-top a::before {
    width: 1px;
    height: 38px;
    top: 9px;
    left: 28px;
}

.page-top a::after {
    content: "";
    width: 12px;
    height: 1px;
    transform: rotate(45deg);
    top: 12px;
    left: 26px;
}

/* ホバー時のスタイル */
.page-top:hover {
    opacity: 0.7;
}

/*-------------------------
スマホメニュー
-------------------------*/
.menu {
    width: 24px;
    height: 17px;
    position: absolute;
    right: 20px;
    top: 30px;
    z-index: 99;
    display: none;
}

.menu__line {
    background: #2066C7;
    display: block;
    height: 1px;
    position: absolute;
    transition: transform .3s;
    width: 100%;
}

.menu__line--center {
    top: 8px;
}

.menu__line--bottom {
    bottom: 0;
}

.menu__line.active {
    background: #fff;
}

.menu__line--top.active,
.menu__line--bottom.active {
    width: 9px;
    right: 0;
}

.menu__line--top.active {
    top: 5px;
    transform: rotate(45deg);
}

.menu__line--center.active {}

.menu__line--bottom.active {
    bottom: 5px;
    transform: rotate(135deg);
}

/*gnav*/
.gnav {
    background: #2066C7;
    display: none;
    height: 100%;
    position: fixed;
    width: 100%;
    z-index: 98;
    overflow-y: scroll;
    padding-bottom: 120px;
}

.gnav__wrap {
    margin-top: 30px;
    text-align: center;
}

.gnav_logo {
    width: 29%;
    margin-left: 5%;
}

.gnav__menu {
    margin-top: 120px;
}

.gnav__menu__item {
    margin: 35px 0 0;
}

.gnav__menu__item a {
    font-family: 'Oswald', sans-serif;
    color: #CCCCCC;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: .5s;
}

.gnav__menu__item a:hover {
    color: #666;
}

.hero {
    background: url(images/hero.jpg) no-repeat;
    background-position: 50% 50%;
    background-size: cover;
    height: 100vh;
}


/*-------------------------
お知らせ　一覧ページ
-------------------------*/
.wp_page_navi {
    width: 90%;
    margin: 40px auto;
    text-align: center;
}

page_nation {}

.wp_page_navi li {
    display: inline-block;
    width: 25px;
    height: 25px;
    line-height: 25px;
    font-size: 0.8rem;
    font-weight: 300;
    text-align: center;
    margin: 80px 4px 0;
    border: 1px solid #707070;
}

.wp_page_navi li:first-child,
.wp_page_navi li:last-child {
    width: 50px;
}

.current {
    color: #fff;
    background: #2066C7;
}


/*-------------------------
お知らせ　詳細ページ
-------------------------*/
.postnavi {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
}

.prev a,
.next a {
    color: #707070;
}

.prev a:hover,
.next a:hover {
    color: #2066C7;
}

.back_btn {
    width: 300px;
    height: 30px;
    margin: 100px auto 0;
    text-align: center;
    line-height: 30px;
}

.back_btn a {
    color: #fff;
    background: #2066C7;
    border: 1px solid #2066C7;
    display: block;
}

.back_btn a:hover {
    color: #2066C7;
    background: #fff;
    border: 1px solid #2066C7;
}


/*-------------------------
オフィス関連
-------------------------*/
.maker_border::after {
    content: "";
    width: 960px;
    height: 1px;
    background: #999;
    margin: 5px auto;
    display: block;
}

.makers {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
}

.makers li {
    width: 25%;
    padding: 80px 0;
    position: relative;
}

.makers img {
    width: 160px;
    height: 50px;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
}

.makers:last-child {
    margin-bottom: 120px;
}


/*-------------------------
会社概要
-------------------------*/
.profile_list,
.profile_list2,
.profile_list3 {
    width: 100%;
    max-width: 960px;
    margin: 40px auto;
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
}

.profile_list li,
.profile_list2 li,
.profile_list3 li {
    font-size: 14px;
    line-height: 1.4rem;
    color: #707070;
}

.profile_list li:nth-child(odd),
.profile_list2 li:nth-child(odd) {
    width: 12%;
    border-right: 1px solid #707070;
    margin-bottom: 20px;
    padding: 1% 0;
}

.profile_list li:nth-child(even),
.profile_list2 li:nth-child(even) {
    width: 84%;
    margin-bottom: 20px;
    padding: 1% 2%;
}

.profile_list li:nth-child(8),
.profile_list li:nth-child(10) {
    width: 34%;
    margin-bottom: 20px;
    padding: 1% 2%;
}

.profile_list > li > a {
    color: #000;
}

.profile_list > li > a:hover {
    color: #2066C7;
}

.portrait {
    margin: 20px 0 20px;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

.portrait img {
    width: 240px;
    height: 240px;;
}


/*-------------------------
納品事例
-------------------------*/
.works_case > li {
    width: calc(100% / 5 - 40px /5);
    margin-right: 10px;
    margin-top: 30px;
}

.works_main {
    margin: 30px 0 12px 0;
    overflow: hidden;
}

.works_main img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.works_thumb > li {
    width: calc((100% - 18px * 2) / 3);
    margin-right: 18px;
    overflow: hidden;
}

.works_thumb > li:nth-of-type(3n) {
    margin-right: 0;
}

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

.works_title {
    margin: 20px 0;
    text-align: center;
    font-size: 14px;
}

.works_detail {
    font-size: 12px;
    line-height: 1.8rem;
}



/*-------------------------
お問い合わせ
-------------------------*/


.mfp_title {
    color: #fff;
    font-size: 18px;
    text-align: center;
    padding: 15px 0;
    background-color: #999;
    margin: 30px 0;
}

/*
.mf_submit {
    font-size: 18px;
    color: #fff;
    width: 70%;
    max-width: 480px;
    height: 64px;
    margin: 30px auto;
    background: #2066c7;
    display: block;
}
*/

/*-------------------------
プライバシーポリシー
-------------------------*/
.privacy {
    margin-top: 30px;
    display: inline-block;
}

.privacy > p {
    font-size: 14px;
}

.privacy > p:first-child {
    margin-top: 30px;
}

.privacy > p:nth-of-type(odd) {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #bbb;
}

.privacy > p:nth-of-type(even) {
    font-size: 12px;
    line-height: 1.4rem;
    margin-bottom: 60px;
}
