/*
    apteq_original css
*/
@font-face {
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
    font-style: normal;
    src: url("https://use.fontawesome.com/releases/v5.6.1/webfonts/fa-solid-900.woff2") format("woff2");
    font-display: swap;
}
body {
    color: #222;
    font-size: 16px;
    font-family: UDDigiKyokasho R JIS2004, /*UD Shin Go Regular,*/ sans-serif;
}
a, a:visited {
    color: #222;
}
a:hover {
    text-decoration: none;
    color: #777;
}
h1, h2, h3, h4, h5, .midashimin {

}
h4 {
    margin: 1rem auto;
}
.btn.btn-info {
    border: solid 3px #17a2b8;
}
.btn.btn-info:visited {
    color: #fff;
}
.btn.btn-info:hover {
    background-color: #fff;
    color: #17a2b8;
}
.page {
    margin-bottom: 0;
}

/* header */
#header h1 {
    font-size: 1.5rem;
    letter-spacing: -2px;
    margin-top: 0.5rem;
    position: relative;
    /*padding: 0 25px;*/
    display: flex;
    justify-content: center;
    align-items: center;
}
#header h1::before, #header h1::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
}
#header h1::before {
    background: url("../img/greenhouse.png") no-repeat center center/contain;
}
#header h1::after {
    background: url("../img/apple.png") no-repeat center center/contain;
    margin-left: 5px;
}
.h_sotetsu{
    font-size: 1rem;
    display: block;
    text-align: center;
    margin-bottom: 1rem
}
.h_sotetsu_img::before {
    content: '';
    width: 30px !important;
    height: 30px !important;
    margin-bottom: -10px !important;
}
.navbar-brand a:hover {
    color: #777;
}
.navbar-toggler {
    border: none;
}
.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,0,0,1)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}
.navbar {
    padding: 0 0.5rem;
    background-color: #fff;
    /*box-shadow: 1px 0px 5px rgba( 127,192,144 , 0.5);*/
    box-shadow: 1px 0px 5px rgba(255,0,0,0.8);
    /*border-bottom: 4px solid red;*/
}
.navbar-toggler {
    padding: 0;
}
#bs-navi {
    justify-content: flex-end;
}
#primary-menu {
    margin-left: 0;
}
.nav-item {
    padding: 0.5rem 0 0.5rem 0.5rem;
    border-bottom: 1px dotted #ddd;
}

/* main */
main {
    min-height: calc(100vh - 260px);
}
#main {
    margin-top: 50px;
    overflow: hidden;
}
#main_slider {
    /*height: 100vh;*/
}
.slider_text.card-img-overlay {
    bottom: auto;
    top: 3rem;
}
.slider_text .text-white {
    font-size: 120%;
    text-shadow: 1px 1px 1px #000;
}
#news .news_inner {
    padding: 1.5rem;
    background-color: #eeeeee;
    border-radius: 5px;
    position: relative;
}
#news .news_inner::after {
    position: absolute;
    width: calc(100% - 1rem);
    height: calc(100% - 1rem);
    content: '';
    top: 0.5rem;
    left: 0.5rem;
    border-radius: 5px;
    border: dotted 2px #fff;
}
#news h5 {
    letter-spacing: -3px;
    display: inline-block;
    border-bottom: 3px dotted #fff;
    position: relative;
}
#news h5::before {
    content: '';
    display: inline-block;
    width: 25px;
    height: 25px;
    background: url("../img/apple.png") no-repeat center bottom/contain;
    margin-bottom: -5px;
}
#news .fas.fa-chevron-right {
    transition: all .4s;
    transform: translateX(-20px);
    vertical-align: middle;
}
#news .news_inner a:hover .fas.fa-chevron-right {
    transform: translateX(0);
}
#newslist {
    margin: 1rem auto 0;
    max-width: 960px;
}
#newslist .post-title {
    padding-left: 1rem;
}
#news a {
    position: relative;
    z-index: 1;
}
#news .news-post {
    z-index: 1;
    position: relative;
}
#anchor_1, #anchor_2, #anchor_3, #anchor_4, #anchor_5, #anchor_6 {
    margin-top: -3rem;
    padding-top: 3rem;
}
.top_content {
    padding: 4rem 0 3rem;
}
.top_content:nth-of-type(odd) {
    /*background-color: aquamarine;*/
}
.top_content h2 span {
    font-size: 50%;
    display: block;
    letter-spacing: 3px;
    margin: 0.5rem auto 3rem;
}
.strength_inner {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 1rem;
    border: solid aquamarine 3px;
}
.strength_img {
    max-width: 150px;
}
#greeting {
    background-color: aquamarine;
}
.greeting_img {
    align-self: flex-start;
    text-align: center;
}
.greeting_img img {
    /* max-width: 400px; *//* これを入れるとはみ出るときがある？ */
}
#business {
    background-color: rgba(90,192,136,0.2);
    padding-bottom: 0.5rem;
}
#business .col-xs-12 {
    margin-bottom: 1rem;
}
.business_inner {
    background-color: #fff;
    border-radius: 1rem;
    /*padding-bottom: 1rem;
    margin-bottom: 1rem;*/
}
.business_inner img {
    border-radius: 0.5rem 0.5rem 0 0;
}
.business_inner h4 {
    background: #7fc090;
    padding: 0.5rem;
    color: #fff;
    text-shadow: 1px 1px 1px #222;
    margin-top: 0;
}
.business_desc {
    padding: 0.5rem 1rem;
}

.business_img {
    width: 400px
}

.business_img_box{
    text-align: center;
    margin: 2rem 0
}

.business_akiti_title{
    margin: 4rem 0 0 0
}

.business_text_box{
    margin: 2rem 1rem;
}
/*
.business_inner a.btn {
    border-radius: 20px;
    letter-spacing: 2px;
}
.business_inner a.btn i {
    margin-right: 0.5rem;
}
*/
#company {
    /*background-color: #eee;*/
}
#company h3 {
    font-size: 1.5rem;
    padding: 2rem 0;
}
#company table {
    margin-top: 2rem;
}
#company th {
    padding: 1rem;
    font-weight: normal;
}
.table-striped tbody tr:nth-of-type(2n+1) {
    /*background-color: #fff;*/
}
.td_company_alliance2.typesquare_tags {
    line-height: 40px;
}
.sotetsu::before {
    content: '';
    width: 50px;
    height: 50px;
    display: inline-block;
    background: url("../img/sotetsu.png") no-repeat center center/contain;
    margin-bottom: -20px;
}
#access {
    background-color: rgba(90,192,136,0.2);
}
.access_img_box{
    margin: 1rem;
}
.access_img{
    margin: 0 0 1rem 0;
}
#contact {
    background-color : #ffffff;
    background-image:
        repeating-linear-gradient( -45deg,rgba(90,192,136,0.2) 0px 1px, transparent 1px 2px),
        repeating-linear-gradient( 45deg,rgba(90,192,136,0.2) 0px 1px, transparent 1px 2px);
}
/* footer */
#footer {
    /*background-color: #d7ebf6;*/
    color: #222;
    padding: 2rem 0 0;
    /*border-top: 4px solid red;*/
    box-shadow: -1px 0px 5px rgba(255,0,0,0.8);
    z-index: 1;
    position: relative;
}
#footer-menu {
    margin: auto 0 2rem;
    padding: 0;
}
#footer-menu li {
    padding: 0.2rem 0;
    list-style: none;
}
#footer-menu li a, #footer-menu li a:visited {
    color: #222;
    text-decoration: none;
}
#footer-menu li a:hover {
    color: #777;
}
#footer-menu li a:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f0da";
    padding-right: 0.5rem;
}
#footer-menu .nav-item {
    border-bottom: none;
}

.ikura-banner{
    margin: 2rem 5px 2rem 0;
}

.sns img {
    margin: 1rem 0.5rem;
    max-width: 50px;
}
.site-info a, .site-info a:visited {
    color: #222;
}
.site-info a:hover {
    color: #777;
}	
.site-info h2 {
    margin: 1rem auto 2rem;
    font-size: 1.2rem;
    /*position: relative;
    padding: 0 45px;
    display: inline-block;*/	
    letter-spacing: -1px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.site-info h2::before, .site-info h2::after {
    content: '';
    width: 40px;
    height: 40px;
}
.site-info h2::before {
    background: url("../img/greenhouse.png") no-repeat center center/contain;
}
.site-info h2::after {
    background: url("../img/apple.png") no-repeat center center/contain;
    margin-left: 5px;
}
#footer .footer_copy {
    margin-top: 2rem;
}

.print_box{
    text-align: center;
    font-size: 0.9rem;
    margin-top: 1rem
}
/* news page */
#primary {
    margin-top: 50px;
    padding: 3.5rem 0;
}
.nav-links {
    margin-top: 2rem;
}
.wp-pagenavi {
    text-align: center;
    margin-top: 1rem;
}
.wp-pagenavi a {
    border: none;
}
.wp-pagenavi span.current {
    color: red;
    border: none;
}
#secondary {
    /*border-top: 4px solid red;*/
    padding: 2rem 1rem 1rem;
    background-color: #def3e7;
}
#secondary h2 {
    font-size: 1.2rem;
}
#secondary h2:before {
    content: '';
    display: inline-block;
    width: 25px;
    height: 25px;
    background: url("../img/apple.png") no-repeat center/contain;
    margin-bottom: -3px;
}
#secondary ul {
    margin-left: 0;
}
#secondary li {
    list-style: none;
}
#secondary span.post-date {
    font-size: 80%;
}
#secondary span.post-date:before {
    content: ' ';
}
/* news single page */
.news_title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}
@media  all and (min-width: 576px) {    /* col-sm- */

}
@media  all and (min-width: 768px) {    /* col-md- */
    /* header */
    #header h1::before, #header h1::after {
        width: 30px;
        height: 30px;
    }
    .navbar {
        padding: 0 1rem;
    }
    .nav-item {
        padding: 0.5rem 0 0.5rem 0.5rem;
        font-size: 1.8vw;
        border-bottom: none;
    }
    /* footer */
    #footer-menu li {
        display: inline-block;
        margin: 0 1rem;
    }
    .site-info h2 {
        font-size: 1.8rem;
    }
    /* main */
    .slider_text .text-white {
        padding-right: 3rem;
    }
    #news .news_inner {
        padding: 2rem;
    }
    #business {
        background: transparent none no-repeat 100% 100%/cover fixed;
        background-image: linear-gradient( to bottom, rgba(255,255,255,0.9), rgba(255,255,255,0.6)), url("../img/business_bg.jpg");
    }
    #company h3 {
        font-size: 1.5rem;
        padding: 1rem 0 2rem;
    }
    .td_company_alliance2 {
        display: flex;
        align-items: center;
    }
    .sotetsu::before {
        margin-bottom: -10px;
    }
    /* news single page */
    .news_title {
        font-size: 2rem;
    }

    .h_sotetsu{
        margin-bottom: 0
    }
}
@media  all and (min-width: 992px) {    /* col-lg- */
    /* header */
    .nav-item {
        padding: 0.5rem 0 0.5rem 1rem;
        font-size: 16px;
    }
}
@media only screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 768px) {
    #business{
        background: rgba(90,192,136,0.2);
    }
}
/* move */
.move {
    transition: all 1s;
    transform: scale(0.2);
    opacity: 0;
}
.move.motion {
    transition: all 1s;
    transform: scale(1);
    opacity: 1;
}
#company.move, #contact.move, #access.move {
    transition: all 1s 0.5s;
    transform: scale(1);
}
.top_content h2.move {
    transform: translateX(-50%) scale(3);
}
.top_content h2.move.motion {
    transform: translateX(0) scale(1);
}
.slider_text {
    transition: all 1s;
    transform: translateY(-200px);
    opacity: 0;
}
.slick-active .slider_text {
    transition: all 1s;
    transform:  translateY(0);
    opacity: 1;
}

/* Contact Form7 */
.contact7 {
    max-width: 100%;
    box-sizing: border-box;
}
.contact7 dd {
    margin: 0 0 30px 0;
    background-color:
}
.contact7 dt {
    font-weight: normal;
    margin-bottom: 0.5rem;
}
.contact7 input {
    max-width: 100%;
}
/* 必須マーク */
.contact7 .must {
    background: #FF1A00;
}
/* 任意マーク */
.contact7 .optional {
    background: #999;
}
.contact7 .must, .contact7 .optional {
    color: #FFF;
    border-radius: 1rem;
    font-size: 12px;
    margin-left: 10px;
    padding: 2px 8px;
    letter-spacing: 1px;
}
.btn_contact7 {
    text-align: center;
}
.btn_contact7 input {
    width: 70%;
    background-color: #5ac088;
    color: #FFF;
    font-size: 1.1em;
    letter-spacing: 0.2em;
    border: 3px solid #5ac088;
    border-radius: 1rem;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    -ms-transition: 0.3s;
    transition: 0.3s;	
    padding: 0.5em;
    text-shadow: 1px 1px 0 #444;
}
.btn_contact7 input:hover {
    background-color: #FFF;
    color: #5ac088;
    border-color: #5ac088; 
    text-shadow: none;
}
@media screen and (min-width: 768px) {
    .contact7 dt {
        float: left;
        clear: left;
        width: 35%;
        padding: 5px 10px 5px 0;
    }
    .contact7 dd {
        margin-left: 35%;
    }
}

