/*
Theme Name: simultechnology
Theme URI: https://simultechnology.com/
Author: simultechnology
Author URI: https://simultechnology.com/
Description: The 2023 theme for WordPress by simultechnology
Version: 1.0
*/

@import url("css/reset.css");

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: #252525;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

a img {
    border: 0;
}

/*テーブルレイアウト*/
table {
    width: 100%;
    max-width: 100%;
    text-align: left;
    border-collapse: collapse;
    border-spacing: 0;
    box-sizing: border-box;
    margin-bottom: 16px;
}

.wp-block-table td {
    padding: 8px;
    border: 1px solid #DCDCDC;
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
}

/* =======================================
    structure
======================================= */
.page_container {
    margin-top: 102px;
    padding: 56px 0;
}

.inner_container {
    max-width: 1280px;
    margin: 0 auto;
}

.contents {
    padding: 88px 0;
    margin-bottom: 32px;
}


@media (max-width: 1080px) {
    .inner_container {
        width: 100%;
        padding: 0 24px;
    }
}

@media (max-width: 768px) {
    .contents {
        padding: 40px 0 24px;
    }
}


/* =======================================
  common
======================================= */
.mb8 {margin-bottom: 8px;}
.mb16 {margin-bottom: 16px;}
.mb24 {margin-bottom: 24px;}
.mb32 {margin-bottom: 32px;}
.mb40 {margin-bottom: 40px;}

.pt40 {padding-top: 40px;}
.pb40 {padding-bottom: 40px;}

.no_pc {
    display: none;
}

.no_sp {
    display: block;
}

.no_wrap {
    white-space: nowrap;
}

.a_center {
    text-align: center;
}

.a_right {
    text-align: right;
}

.notice {
    font-size: 12px!important;
}

.bold {
    font-weight: 600;
}

.bg_gray,.bg_color {
    background: #F2F4F8;
    position: relative;
}

.dotted {
    background-image: linear-gradient(to right, #000, #000 4px, transparent 1px, transparent 4px);
    background-size: 8px 1px;
    background-position: bottom;
    background-repeat: repeat-x;
}

.additional_info {
    font-size: 12px;
}

@media (max-width:768px) {
    .no_pc {
        display: block;
    }

    .no_sp {
        display: none;
    }

    .flex {
        display: block;
    }
}

/* ================================
　スクロールしたらふわっと表示させる表示
================================ */
.scroll_up {
    transition: 0.8s ease-in-out;
    transform: translateY(30px);
    opacity: 0;
}
.scroll_up.on {
    transform: translateY(0);
    opacity: 1;
}

/* ================================
 ボタン
================================ */
.btn_wrapper {
    padding: 56px 16px 0;
    text-align: center;
}

.btn {
    position: relative;
    max-width: 390px;
    padding: 12px 16px;
    font-size: 18px;
    letter-spacing: 1px;
    box-sizing: border-box;
    text-align: center;
    display: block;
    margin: 0 auto 16px;
    transition: all 0.3s ease;
}

.btn::before {
    position: absolute;
    top: 60%;
    right: 16px;
    font: 16px / 0.6 FontAwesome;
    text-rendering: auto;
    content: "";
    margin-top: -8px;
}

.btn.white {
    background: #fff;
    color: #222222;
}

.btn.black {
    background: #222222;
    color: #fff;
}

.btn.blue {
    background: #1153A4;
    color: #fff;
}

.btn.border {
    background: #fff;
    color: #222222;
    border: 1px solid #222222;
}

.btn.inline {
    margin: 0 0 16px;
}

.btn:hover {
    transform: translateY(-0.5em);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), 0 4px 4px -4px rgba(0, 0, 0, 0.2);
}

.btn.border:hover {
    background: #222222;
    color: #FFFFFF;
    opacity: 1;
}

.btn_banner_wrapper {
    padding: 16px 16px 0;
}

.btn_banner_wrapper img {
    max-width: 580px;
    margin: 0 auto;
}


/* ================================
 テキストと画像
================================ */
.text_wrapper, .img_wrapper {
    overflow: hidden;
    margin-bottom: 16px;
}

.text_wrapper {
    font-size: 16px;
}

.page_link:after {
    color: #1153A4;
    font-family: "Font Awesome 5 Free";
    content: ' \f054';
    font-weight: 900;
    margin-left: 6px;
}

/* ================================
 ページトップへ
================================ */
#page {
    position: relative;
}

#pageTop {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 32px; /* Place the button at the bottom of the page */
    right: 16px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    background-color: #1153A4; /* Set a background color */
    color: #fff; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 6px 16px 6px 16px; /* Some padding */
    border-radius: 2px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
}

#pageTop:hover {
    opacity: 0.8;
}

#pageTop a {
    color: #fff;
}

@media (max-width: 768px) {
    #pageTop {
        padding: 6px 15px 6px 16px;
        bottom: 32px;
    }
}

@media (max-width:320px) {
    #pageTop {
        bottom: 100px;
    }
}


/* ================================
 read more
================================ */
.read_more {
    max-width: 300px;
    margin: 0 auto 32px;
    text-align: center;
    background: #fff;
}

.read_more a {
    display: block;
    padding: 8px;
    border: 1px solid #252525;
}

.read_more a:after {
    color: #1153A4;
    font-size: 14px;
    font-family: "Font Awesome 5 Free";
    content: ' \f054';
    font-weight: 900;
}


/* =======================================
    タイトル要素
======================================= */
.title_wrapper {
    padding: 16px 0;
}

.title {
    letter-spacing: 2px;
    font-feature-settings: "palt";
    font-weight: 700;
    margin-bottom: 16px;
}

.title.main {
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 32px;
}

.title.block {
    font-size: 1.4rem;
    color: #1153A4;
    line-height: 1.4;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.title.block div {
    padding: 8px 0;
    font-size: 1rem;
    letter-spacing: 3px;
}

.title.block span {
    font-size: 1.1rem;
}

.title.sub {
    font-size: 1.2rem;
    border-bottom: 1px solid #1153A4;
}

.title.sub i {
    margin-right: 8px;
}

.title.box {
    font-size: 1rem;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.title_desc {
    line-height: 1.6;
    text-align: center;
    margin-bottom: 32px;
}

.title_desc.long {
    text-align: left;
}

@media (max-width:768px) {
    .title {
        letter-spacing: 2px;
    }

    .title.main {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }

    .title_desc {
        text-align: left;
        padding: 0 16px;
    }

    .title.sub i {
        margin-right: 4px;
    }
}


/* =======================================
    ヘッダー
======================================= */
header {
    width: 100%;
    position: absolute;
    top: 40px;
    background: transparent;
    z-index: 1;
}

header a, a:visited {
    color: #ffffff;

}

header a:hover {
    opacity: 0.8;
}

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

    padding: 16px 0;
    background-color: rgba(0,0,0,0.8);
}

header #logo {
    width: 280px;
    line-height: 1;
    padding: 0 24px;
}

#header.sticky {
    top: 0;
    position:fixed;

    background-color: rgba(0,0,0,0.8);
}
#header .sticky a,
#header .sticky a:visited {
    color: #fff;
}

nav ul {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    font-size: 14px;
    line-height: 1;
}

nav ul li {
    border-right: 1px solid #ffffff;
}

nav ul li:last-child {
    border-right: none;
}

nav ul li a {
    color: #ffffff;
    display: block;
    padding: 4px 24px;
    letter-spacing: 3px;
}

@media (max-width: 1080px) {
    header .container {
        display: block;
    }

    /*ハンバーガーメニュー */
    .menu-trigger-wrapper {
        display: block;
        position: absolute;
        top: 16px;
        right: 16px;
    }

    .menu-trigger,
    .menu-trigger span {
        display: inline-block;
        transition: all .4s;
        box-sizing: border-box;
    }

    .menu-trigger {
        position: relative;
        width: 26px;
        height: 22px;
    }

    .menu-trigger span {
        position: absolute;
        right: 0;
        width: 100%;
        height: 2px;
        background-color: #fff;
        border-radius: 4px;
    }

    .menu-trigger span:nth-of-type(1) {
        top: 0;
    }

    .menu-trigger span:nth-of-type(2) {
        top: 10px;
    }

    .menu-trigger span:nth-of-type(3) {
        bottom: 0;
    }

    /*ハンバーガーメニュークリック時のアイコンのエフェクト*/
    .menu-trigger.active span:nth-of-type(1) {
        -webkit-transform: translateY(20px) rotate(-45deg);
        transform: translateY(10px) rotate(-45deg);
    }

    .menu-trigger.active span:nth-of-type(2) {
        opacity: 0;
    }

    .menu-trigger.active span:nth-of-type(3) {
        -webkit-transform: translateY(-20px) rotate(45deg);
        transform: translateY(-10px) rotate(45deg);
    }

    /*ドロワーメニューの表示位置指定*/
    .menu-header_menu-container {
        position: absolute;
        width: 100%;
        margin: 0;
        top: 48px;
        left: 0;
        z-index: 110;
    }

    /*ハンバーガーメニュークリック時のドロワー*/
    header nav .menu {
        display: none;
        width: 100%;
        font-size: 1.1rem;

        /* アニメーションの指定 */
        animation: fadeIn 400ms ease 0s 1 normal;
        -webkit-animation: fadeIn 400ms ease 0s 1 normal;
        -webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.3);
        -moz-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.3);
        box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.3);
        overflow: scroll;
    }

    @keyframes fadeIn {
        0% {
            opacity: 0;
        }
        100% {
            opacity: 1;
        }
    }
    @-webkit-keyframes fadeIn {
        0% {
            opacity: 0;
        }
        100% {
            opacity: 1;
        }
    }
    header nav .menu.open {
        display: block;
        margin-top: 16px;
    }

    header nav .menu.close {
        display: none;
    }

    nav ul {
        display: block;
        font-size: 1rem;
    }

    nav ul li {
        border-right: none;
        font-size: 14px;
        border-bottom: 1px dashed #777;
        position: relative;
    }

    nav ul li a {
        padding: 16px;
        color: #FFF;
    }

    nav ul li a::before {
        color: #fff;
        position: absolute;
        top: 58%;
        right: 8px;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        content: "";
        margin-top: -8px;
        font: 14px / 0.6 FontAwesome;
    }

    .header_navigation .inner_wrapper {
        width: 100%;
    }
}

@media (max-width: 768px) {
    header #logo {
        width: 220px;
        padding: 0 16px;
    }
}

/* =======================================
    Posts
======================================= */
.category_name {
    background: #DCDCDC;
    padding: 4px 8px;
    margin-right: 8px;
    border-radius: 4px;
}

.wp-block-image figcaption {
    margin-top: -.5em!important;
    padding: 16px 0 8px;
    border-bottom: 1px solid #252525;
}

#post .text_wrapper img {
    width: 80%;
    margin-bottom: 16px;
}

#post > .inner_container > .text_wrapper > p {
    display: flex;
    margin-bottom: 16px;
}

#post > .inner_container > .text_wrapper > p img {
    padding: 4px;
}

@media (max-width: 768px) {
    #post > .inner_container > .text_wrapper > p {
        display: block;
    }
}


/* =======================================
    記事一覧ページ
======================================= */
.contents.news_info {
    flex-basis: 68%;
}

.pickup_posts {
    margin-bottom: 24px;
}

.pickup_posts .post_wrapper {
    display: flex;
    padding: 16px 8px;
}

.pickup_posts .post_wrapper .post_first_img {
    flex-basis: 30%;
    text-align: center;
    margin: 0 16px 0 0;
}

.pickup_posts .post_wrapper .post_first_img img {
    width: 100%;
}

.pickup_posts .post_wrapper .post_text {
    flex-basis: 68%;
}

.pickup_posts .post_wrapper .post_date {
    color: #999;
}

.pickup_posts .post_wrapper.no_img {
    display: block;
}

.img_lists {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.img_lists li {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 33%;
    flex: auto;
    padding: 4px;
    box-sizing: border-box;
}

.img_lists li .img_filter {
    overflow: hidden;
}


/* =======================================
    問い合わせページ
======================================= */
.contact_block {
    width: 60%;
    margin: 0 auto;
    background: #fff;
    padding: 8px 48px;
    border-radius: 8px;
}

div.wpforms-container-full .wpforms-page-button {
    border-radius: 0;
    background-color: #1153A4;
    position: relative;
    max-width: 430px;
    padding: 16px;
    font-size: 18px;
    line-height: 1.75;
    font-weight: 600;
    letter-spacing: 1px;
    box-sizing: border-box;
    text-align: center;
    display: block;
    margin: 0 auto 16px;
    transition: all 0.3s ease;
    height: auto;
}

div.wpforms-container-full input[type=submit]:not(:hover):not(:active),
div.wpforms-container-full button[type=submit]:not(:hover):not(:active),
div.wpforms-container-full .wpforms-page-button:not(:hover):not(:active),
.wp-core-ui div.wpforms-container-full input[type=submit]:not(:hover):not(:active),
.wp-core-ui div.wpforms-container-full button[type=submit]:not(:hover):not(:active),
.wp-core-ui div.wpforms-container-full .wpforms-page-button:not(:hover):not(:active){
    background-color: #1153A4!important;
    border-radius: 0!important;
}

.contents_wrapper.inquiry {
    width: 100%;
}

/* =======================================
    制作実績ページ
======================================= */
.projects {
    padding: 40px 0;
}

.projects_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.projects_list li {
    opacity: 1;
    font-size: 0.8rem;
    padding: 32px;
    background: #fff;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
}

.projects_list li a:hover {
    overflow: hidden;
}

.projects_list .title.box {
    line-height: 1.6;
    border-bottom: 1px solid #252525;
    padding: 6px 0;
    margin-bottom: 8px;
}

.category_label {
    background-color: #333;
    font-size: 0.8rem;
    line-height: 1;
    color: #FFF;
    padding: 2px 8px 3px;
    margin-bottom: 8px;
}
.projects_list .text_wrapper {
    font-size: 0.8rem;
}

.projects_list .btn.border {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 8px 24px;
    margin: 16px auto 0;
}

@media (max-width: 1080px) {
    .projects_list {
        grid-template-columns: repeat(2, 1fr);
    }
    .projects_list li {
        background: #fafafa;
    }
    .projects_list h3, .projects_list dl {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .projects_list {
        grid-template-columns: 1fr;
        margin-bottom: 40px;
    }
}


/* =======================================
    サービスページ
======================================= */
article.service {
    padding: 40px 0 0;
}

article.service .description {
    margin-bottom: 32px;
}

.service .col_2 {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.service .col_2 li {
    opacity: 1;
    width: 49%;
    padding: 24px 2.5%;
    background: #fafafa;
    position: relative;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.service dl dd {
    position: relative;
}

.service dl dd.long {
    min-height: 350px;
}

.service dl dd.mid {
    min-height: 280px;
}

.service dl dd.short {
    min-height: 200px;
}

.service dl dd .btn_wrapper {
    position: absolute;
    bottom: 0;
    width: 100%;
}

.service dl dd .btn_wrapper .btn {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .service .col_2 {
        display: block;
    }

    .service .col_2 li {
        width: 100%;
        padding: 24px 16px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    .service dl dd.long {
        min-height: 400px;
    }

    .service dl dd.long {
        min-height: 400px;
    }
}

/* =======================================
    サイドナビ
======================================= */
#sidebar {
    flex-basis: 28%;
    padding: 16px;
    background: #f2f2f2;
    margin-left: 1%;
}

#sidebar .widget h3 {
    font-weight: 600;
    border-bottom: 1px solid #222;
    margin-bottom: 16px;
}

#sidebar .widget ul {
    margin-bottom: 24px;
}


/* =======================================
    パンくずリスト
======================================= */
.breadcrumb {
    display: flex;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.breadcrumb a {
    color: #1153A4;
}

.breadcrumb a::after {
    content: " >";
    margin-right: 8px;
}

.breadcrumb .active {
    color: #252525;
}

.breadcrumb.bottom {
    display: none;
}

.breadcrumb_item {
    margin-right: 8px;
}


/* =======================================
    フッター
======================================= */
footer {
    background: #333333;
    border-top: 1px solid #252525;
}

.footer_nav_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 32px 0;
    margin-bottom: 46px;
}

.footer_logo {
    width: 220px;
}


@media (max-width:1200px) {
    .footer_nav_wrapper nav {
        width: 55%;
    }
}

@media (max-width: 768px) {
    .footer_nav_wrapper {
        display: block;
        margin-bottom: 32px;
    }
    .footer_nav_wrapper .footer_logo {
        margin: 0 auto 24px;
        width: 100%;
        padding: 0 4px;
    }

    .footer_nav_wrapper nav {
        width: 100%;
    }
}

/* =======================================
    コピーライト
======================================= */
.copyright {
    font-size: 12px;
    color: #fff;
    letter-spacing: 0.5px;
    text-align: center;
    padding: 8px 0;
    background: #252525;
}

.copyright a {
    color: #fff;
}

