@charset "utf-8";

*{
    margin: 0;
    padding: 0;
}

*,
*::after,
*::before {
    box-sizing: border-box;
}

body {
    /*    min-height: 100vh;*/
    color: #57585c;
    background: #fff;
}

.pconly { display:inherit; }
.sonly { display:none; }

@media only screen and (max-width: 768px ) {
    .pconly { display:none; }
    .sonly { display:flex; }
}

header, nav, article, aside, section, footer {
    display:nblock;
}

img {
    max-width: 100%;
    height: auto;
    width /***/:auto;　/*IE8のみ適用*/
    border:0;
    vertical-align: bottom;
}

a {
    text-decoration: none;
    color: var(--color-link);
    outline: none;
}

a:hover,
a:focus {
    color: var(--color-link-hover);
    outline: none;
}

/* header
----------------------------------------------------*/
#header {
    width: 100%;
    box-shadow: 0px 3px 15px rgba(0,0,0,0.2);
    z-index: 99;
    position: fixed;
    top: 0;
    left: 0;
    background: #fff;
}

#h_top { width: 1100px; margin: 0 auto;}

#gNav ul {list-style-type: none;margin-right: 5px;}

#gNav a:hover { color: #999;}

nav li a { letter-spacing: 3px;}


@media only screen and (max-width: 768px ) {
    #header {
        padding: 10px 0;
        height: 60px;
    }
    .h_logo {
        width: 200px;
        position: absolute;
        top: 18px;
        left: 10px;
        z-index: 100;
    }
    #gNav .nav {
        overflow-y: auto;
        height: 100vh;
    }
    .mean-nav .container {
        padding: 0;
    }
    nav li .fa {
        display: none;
    }
}

@media print, screen and (min-width: 769px ) {
    #header {
        height: 80px;
    }
    .h_logo img {
        width: 300px;
    }
    #h_top {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    #gNav ul {
        position: relative;
        display: flex;
    }
    #gNav li {
        position: relative;
        margin-right: 3em;
    }
    #gNav li:last-child {
        margin-right: 0;
    }
    #gNav li i {
        font-size: 16px;
        margin-left: 5px;
    }
    #gNav li a {
        position: relative;
        display: block;
        text-align: center;
        line-height: 80px;
    }
    #gNav .sub-menu {
        visibility: hidden;
        opacity: 0;
        z-index: 1;
        display: block;
        position: absolute;
        top: 50px;
        left: 50%;
        margin-left: -100px;
        width: 200px;
        -webkit-transition: all .2s ease;
        transition: all .2s ease;
    }
    #gNav .sub-menu a {
        padding: 10px;
        display: block;
        border-bottom: none;
        padding: 20px;
        line-height: 1.2em;
    }
    #gNav .sub-menu a:hover:after {
        content: none;
    }
    #gNav .sub-menu li {
        display: block;
        font-size: 16px;
        padding: 0;
        margin: 0;
    }
    #gNav .sub-menu li:last-child {
        border-bottom: none;
    }
    #gNav ul > li:hover {
        -webkit-transition: all .5s;
        transition: all .5s;
    }
    #gNav ul > li:hover a,#gNav .current-menu-item a,#gNav .current-menu-parent a {
        color: #bfd0ff;
    }
    #gNav li:hover ul.sub-menu {
        top: 80px;
        visibility: visible;
        opacity: 1;
        z-index: 9999;
    }
    #gNav li ul li:after {
        content: none;
    }
    #gNav li:hover ul.sub-menu a {
        color: #111;
    }
    #gNav .sub-menu li a:hover {
        background: #fff;
    }
    #gNav .contact_btn a:hover {
        color: #fff;
    }
}

/* head
----------------------------------------------------*/
.head {
    width: 1080px;
    height: 250px;
    margin-top: 50px;
    background-image: url(../img/works/OSB.jpg);
    text-align: center;
}

.head h1 {
    font-size: 60px;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    width: 100%;
    margin: 0;
    padding: 80px 0;
    text-shadow: 3px 3px 0 #f93, -1px -1px 0 #52c2d0;
    color: #000;
}

@media only screen and (max-width: 768px ) {
    .head {
        width: 100%;
        height: 160px;
        margin-top: 0;
    }
    .head h1 {
        font-size: 40px;
        padding: 70px 0;
    }
}

/* article
----------------------------------------------------*/
article {
    width: 1080px;
    margin: 0 auto;
    padding:0;
    text-align:center;
}

article:after {
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
    clear: both;
}

section {
    width: 1050px;
    margin: 0 auto;
    padding:0;
}


@media only screen and (max-width: 768px ) {
    article { width: 100%;}
    section { width: 100%;}
}

/* サイドバー
----------------------------------------------------*/
aside{
    width: 180px;
    height: auto;
    float: left;
    //   position: absolute;
    //   display: flex;
    //   flex-flow: row wrap;
    //   justify-content: space-between;
    //    background-color:#d9fafb;

}
.sidebox {
    //   position: -webkit-sticky;
    //   position: sticky;
    //   top: 130px;
}

.side_a span,
.side_b span,
.side_c span {
    width: 100%;
    font-size: 110%;
    margin: 5px 0 15px 0;
    padding: 0 5px;
    box-shadow: 0px 8px 5px -5px rgba(0,0,0,0.5);
    filter: drop-shadow(3px 3px 2px rgba(0,0,0,0.5));
    display: block;
}

.side_a {
    display: block;
    width: 660px;
    margin-right: 20px;
}

.side_a,
.side_b,
.side_c {
    width: 100%;
    margin: -5px 0 15px;
    border: solid 1px #D3D3D3;
    clear: both;
}

.side_a img{
    width: 25%;
    float: right;
    margin: 13px 0 0 -33px;
}

.side_c img{
    width: 95%;
    margin: 0 auto;
}

.side_c span img{
    width: 15%;
    margin: 0 8px 0 0;
}

.side_c a img{
    width: 95.5%;
    margin: -6px 0 10px;
    border-top: solid 2.5px #FED100;
    border-left: solid 2.5px #FED100;
    border-right: solid 3px #1E50A2;
    border-bottom: solid 2.5px #1E50A2;
    box-shadow: 0px 8px 5px -5px rgba(0,0,0,0.5);
}

.small{
    font-size: 12px;
    font-weight: 700;
}

ul.plant {
    width: 97%;
    margin: -5px auto 0;
    padding: 0;
    color: #fff;
}

ul.plant li {
    width: 100%;
    height: 55px;
    margin: 3px 0;
    padding-top: 6px;
    list-style: none;
    line-height: inherit;
    background-color: salmon;
    font-size: 80%;
}

ul.plant li.plant_pu{ background-color:#f3b200;}
ul.plant li.plant_po{ background-color:#00b28d;}
ul.plant li.plant_so{ background-color:#234277;}
/*
ul.plant li.plant_mi{ background-color:#     }
ul.plant li.plant_of{ background-color:#     }
*/

.plant_pu:hover,
.plant_po:hover,
.plant_so:hover,
.side_c a:hover { opacity: 0.7;}


@media only screen and (max-width: 768px ) {
    aside{ display: none; }
}

/* サイドバー Button
----------------------------------------------------*/
/* Cross */
.btn-cross {
    display: inline-block;
    position: relative;
    padding: 0.25em 1em;
    border-top: solid 2px #444;
    border-bottom: solid 2px #444;
    text-decoration: none;
    font-weight: bold;
    color: #03A9F4;
    margin: 10px;
}

.btn-cross:before, .btn-cross:after {
    content: '';
    position: absolute;
    top: -7px;
    width: 2px;
    height: -webkit-calc(100% + 14px);
    height: calc(100% + 14px);
    background-color: #444;
    transition: .3s;
}

.btn-cross:before { left: 7px;}

.btn-cross:after { right: 7px;}

.btn-cross:hover:before {
    top: 0px;
    left:0;
    height: 100%;
}

.btn-cross:hover:after {
    top: 0px;
    right: 0;
    height: 100%;
}

/* Shrink */
.btn-shrink {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: transform;
    transition-property: transform;
}

.btn-shrink:hover, .hvr-shrink:focus, .hvr-shrink:active {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
}

/* footer
----------------------------------------------------*/
.contents{
    background: #fbfbfb;
    margin: auto;
    margin-bottom: 250px; /* footerの高さ */
    padding: 1em 0 10em 0;
    min-height: 100vh;
    box-shadow: 0 3px 3px 0 rgba(0,0,0,0.5);
//    overflow: scroll;
}

footer {
    position: fixed;
    z-index: -100;
    width: 100%;
    bottom: 0;
    left: 0;
    height: 250px;
    padding: 2.5em;
    background: #009fa8;
}

footer ul {
    width: 1000px;
    height: 60px;
    list-style: none;
    margin: 0 auto;
    padding-bottom: 80px;
}

footer li {
    height: auto;
    float: left;
    font-size: 90%;
    color: #bbffed;
    line-height: 1.5;
}

.f_txt_1 { width: 55%; padding: 0;}
.f_txt_2 { width: 45%; padding: 0 0 0 80px;}

.copyright {
    width: 1000px;
    margin: 0 auto;
    padding-left: 40px;
    font-size: 70%;
    letter-spacing: 1px;
    color: #fff;
}

footer .sns {
    float: right;
    margin-right: 65px;
}

footer .sns a {
    font-weight: bold;
    line-height: 2.5em;
    width: 2.5em;
    margin: auto 0.2em;
    margin-bottom: -25px;
    float: right;
    -webkit-transition: all, 0.3s;
    transition: all, 0.3s;
    text-align: center;
    text-decoration: none;
    color: #fff;
    border-radius: 4px;
    background-color: #00acc1;
}

footer .sns a:hover {
    -webkit-transition: all, 0.3s;
    transition: all, 0.3s;
    background-color: #222;
}

footer .sns .insta { background-color: #e4405f;}
footer .sns .tw { background-color: #55acee;}
footer .sns .fb { background-color: #3b5999;}


@media only screen and (max-width: 768px ) {
    .contents{
        margin-bottom: 260px; /* footerの高さ */
        padding: 1em 0 10em 0;
    }
    footer {
        bottom: 0;
        left: 0;
        height: 260px;
        padding: 1.5em;
    }
    footer ul {
        width: 100%;
        height: 60px;
        padding-bottom: 180px;
    }
    footer li {
        width: 100%;
        height: auto;
        float: none;
        font-size: 80%;
        color: #bbffed;
        line-height: 1.5;
    }
    .f_txt_1 { width: 100%; padding: 0;}
    .f_txt_2 { width: 100%; padding: 30px 0 0 0px;float: left;}
    .copyright {
        width: 100%;
        padding-left: 0;
    }
    footer .sns { margin:-120px 0 0 0;}
}


/*#footer {
//  background-image: linear-gradient(-20deg, #e9defa 0%, #fbfcdb 100%);
background-image: linear-gradient(-20deg, #ffdbe1 0%, #fbfcdb 100%);
font-size: 14px;
}
.f_logo,.f_logo p {
text-align: center;
}
.copy {
text-align: center;
}
@media only screen and ( max-width : 768px ) {
#footer {
padding: 40px 0;
}
.f_logo {
padding: 0 20px;
text-align: center;
}
.f_logo p {
text-align: center;
}
.f_logo img {
margin-bottom: 20px;
width: 150px;
}
}

@media only screen and ( max-width : 480px ) {
}

@media print, screen and ( min-width : 769px ) {
#footer {
padding: 30px 0;
}
.f_logo {
}
.f_logo img {
margin-bottom: 20px;
width: 200px;
}
.f_logo {
}
.copy {
}
}
*/


/*------------------下層ページ------------------*/

h1 {
    font-family:fantasy;
    filter: drop-shadow(3px 3px 2px rgba(255,255,255,0.5));
}

h2 {
    width: 420px;
    font-size: 160%;
    text-align: center;
    position: relative;
    margin: 0 0 20px;
    padding: 1rem 2rem calc(1rem + 5px);
    background: #ffb6c1;
    display: inline-block;
}

h2:before {
    position: absolute;
    top: -7px;
    left: -7px;
    width: 100%;
    height: 100%;
    content: '';
    border: 3px solid #BDC0B7;
}

h3 {
    font-size: 130%;
    margin-bottom: 20px;
    padding: 15px 15px 15px 20px;
    color: #494949;
    background: #fffaf4;
    border-left: solid 15px #ffaf58;
    text-align: left;
}

h4 {
    font-size: 130%;
    padding: 15px 15px 15px 20px;
    color: #ffaf58;
    background: #fffaf4;
    border-left: solid 15px #ffaf58;
    border-right: solid 15px #ffaf58;
}

h5 {
    width: 420px;
    font-size: 160%;
    display: inline-block;
}

h6 {
    position: relative;
    overflow: hidden;
    padding: 1.5rem 2rem 1.5rem 130px;
    border: 2px solid #404048;
    width: 1050px;
    font-size: 18px;
}

h6:before {
    position: absolute;
    top: -150%;
    left: -100px;
    width: 200px;
    height: 300%;
    content: '';
    -webkit-transform: rotate(25deg);
    transform: rotate(25deg);
    background: #404048;
}

h6 span {
    font-size: 45px;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    display: block;
    padding-top: 6px;
    padding-left: 5px;
    color: #fff;
}


h7 {
    position: relative;
    margin-bottom: 2em;
    padding: 0.5rem 1.5rem;
    border-radius: 10px;
    background: #00b28d;
    width: 20%;
    font-size: 25px;
    color: #fff;
}

h7:before,
h7:after {
    position: absolute;
    content: '';
    border-radius: 50%;
    background: #00b28d;
}

h7:before {
    bottom: -15px;
    left: 30px;
    width: 30px;
    height: 30px;
}

h7:after {
    bottom: -30px;
    left: 50px;
    width: 15px;
    height: 15px;
}


/*h5マーカーアニメーション*/

.marker-animation.active{
    background-position: -100% .5em;
}

.marker-animation {
    background-image: -webkit-linear-gradient(left, transparent 50%, rgb(255,182,193) 50%);
    background-image: -moz-linear-gradient(left, transparent 50%, rgb(255,182,193) 50%);
    background-image: -ms-linear-gradient(left, transparent 50%, rgb(255,182,193) 50%);
    background-image: -o-linear-gradient(left, transparent 50%, rgb(255,182,193) 50%);
    background-image: linear-gradient(left, transparent 50%, rgb(255,182,193) 50%);
    background-repeat: repeat-x;
    background-size: 200% .8em;
    background-position: 0 .5em;
    transition: all 2s ease;
    font-weight: bold;
}

/* アニメーション発火時 */
.js-marker.inview {
    background-size: 100% 30%; /* '30%'の部分は上で設定した太さに合わせる */
}

@media only screen and (max-width: 768px ) {
    h2 {
        width: 100%;
        font-size: 130%;
        margin: 0 ;
        padding: 10px 10px;
    }
    h2:before {
        top: -6px;
        left: -7px;
        width: 100%;
    }
    h3 {
        font-size: 110%;
        margin-bottom: 10px;
        padding: 10px;
        border-left: solid 10px #ffaf58;
    }
    h4 {
        font-size: 110%;
        padding: 10px;
        margin-bottom: 10px;
        border-left: solid 10px #ffaf58;
        border-right: solid 10px #ffaf58;
    }
    h5 { width: 100%;}
    h6 {
        padding: 0.5rem 1.0rem 0.5rem 72px;
        width: 100%;
        font-size: 15px;
    }
    h6:before {
        position: absolute;
        top: -150%;
        left: -140px;
    }
    h6 span {
        font-size: 20px;
        padding: 5px 0 0 5px;
    }
}


/*------------------ 事業内容 ------------------*/

/* RECOMMEND
----------------------------------------------------*/
.recommend {
    width: 100%;
    height: auto;
    display: inline-block;
    margin: 35px auto;
}

.recommend ul {
    width: 1000px;
    margin: 0 auto;
    text-align: center;
    list-style: none;
}

.recommend li {
    float: left;
    width: 330px;
    padding: 5px;
}

.rec_img {
    position:relative; /* positionの基準とするためrelativeを与えます。 */
}

.rec_list img {
    border-radius: 4px;
}

.rec_img:before{
    content: ''; /* このプロパティが無いと擬似要素は機能しません、お決まりの呪文です。 */
    display: block; /* ブロック要素にします。 */
    position: absolute; /* absoluteで上に乗っけます。 */
    top: 0; /* 縦横の値を入れるのは基本です。入れないとだめ！っと思っておくほうが今後の為いいです。 */
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 0px 8px rgba(255,255,255,0.6);
    border-radius: 4px;
}

.recommend video {
    width: 310px;
    height: 245px;
    margin-top: -33px;
    border-radius: 4px;
}


@media only screen and (max-width: 768px ) {
    .recommend { margin: 15px 0;}
    .recommend ul {
        width: 100%;
        margin: 0 auto;
    }
    .recommend li {
        float: left;
        width: 50%;
        padding: 6px;
    }
    .rec_img:before{
        box-shadow: inset 0 0 0px 6px rgba(255,255,255,0.6);
    }
    .recommend video {
        width: 204%;
        height: auto;
        margin: 0 auto;
        border: solid 2px #555;
        border-radius: 3px;
    }
    .point_txt {font-size: 80%;}
    .point_txt_m{width: 204%;font-size: 80%;}
}

/* 理念
----------------------------------------------------*/
.summary {
    width: 84%;
    border: 0;
    margin-left: 185px;
}

.rinen,
.kijyun {
    width: 420px;
    height: auto;
    float: left;
    margin: 0 15px;
}

.rinen { margin-right: -1px;}

.rinen ul,
.kijyun ul {
    width: 100%;
    height: 300px;
    margin: 0 auto;
    padding: 15px 15px;
    display: inline-block;
    background-color: #fff2f2;
    border: 1px solid #fff;
    border-radius: 4px;
    box-shadow:rgba(171, 173, 170, 0.592157) 0px 1px 4px 0px;
    -webkit-box-shadow:rgba(171, 173, 170, 0.592157) 0px 1px 4px 0px;
    -moz-box-shadow:rgba(171, 173, 170, 0.592157) 0px 1px 4px 0px;
}

.rinen li {
    list-style-type: none;
    line-height: 2;
}

.kijyun li {
    list-style-type: none;
    line-height: 2;
    border-bottom: ridge 1px #ffc0cb;
    text-align: left;
}
.kijyun li:last-child{ border-bottom:none;}

.rinen p {
    font-size: 22px;
    font-weight: bold;
    color: darkturquoise;
}


@media only screen and (max-width: 768px ) {
    .summary {
        width: 95%;
        margin: 0 auto;
        font-size: 90%;
    }
    .rinen,
    .kijyun {
        width: 100%;
        height: auto;
        float: none;
        margin: 0 auto;
    }
    .rinen { margin-right: 0;}
    .rinen ul,
    .kijyun ul {
        width: 100%;
        height: auto;
        margin: 8px auto 30px;
    }
    .rinen li { line-height: 1.5;}
    .kijyun li {
        width: 100%;
        line-height: 2;
        margin: 0;
        padding: 0;
    }
    .rinen p { font-size: 18px;}
    .kijyun_k { display: none;}
}

/* 生活介護サービス
----------------------------------------------------*/
.block_ttl {
    background: #F1FCE6;
    border-left: solid 15px #6BBC6F;
}

.about,
.about_2 {
    width: 880px;
    float: right;
    margin: -200px auto 0;
    padding: 0 10px;
}

.about_2{ margin: 0 auto 0;}

p.about_txt_1 {
    font-size: 120%;
    font-weight: bold;
    text-align: left;
    padding: 0 28px;
    line-height: 2;
}

p.about_txt_2 {
    font-size: 95%;
    text-align: left;
    margin-bottom: 35px;
    padding: 0 45px 0 38px;
}

p.about_txt_3 {
    font-size: 110%;
    font-weight: bold;
    text-align: left;
    padding: 0 43px;
    margin-top: 8px;
    margin-bottom: 105px;
}

.about_service {
    width: 800px;
    border-collapse: collapse;
    margin: 0 auto;
    font-size: 95%;
}

.about_service dt{
    display: inline-block;
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 50%;
    background: #52c2d0;
    text-align: center;
    font-size: 14px;
    color: white;
    float: left;
    margin-right: 30px;
    border: 1px solid #fff;
    box-shadow:rgba(171, 173, 170, 1.0) 0px 1px 6px 0px;
}

.about_service dd{
    width: 95%;
    text-align: left;
    margin: 30px;
    line-height: 2;
    padding: 5px 0;
}

.about_service dl dt span {
    position: absolute;
    display: inline-block;
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 100px;
    text-align:center;
}

dt.item_a{background:#008db7;}
dt.item_b{background:#f3a68c;}
dt.item_c{background:#ffe2c6;}
dt.item_d{background:#fdd35c;}
dt.item_e{background:#a5c9c1;}


@media only screen and (max-width: 768px ) {
    .about,
    .about_2 {
        width: 100%;
        margin: 0 auto;
    }
    p.about_txt_1 {
        width: 100%;
        font-size: 95%;
        margin-top: 8px;
        padding: 0 10px;
        line-height: 1.5;
    }
    p.about_txt_2 {
        font-size: 90%;
        margin: 8px auto 15px;
        padding: 0 15px;
    }
    p.about_txt_3 {
        font-size: 95%;
        padding: 0 13px;
        margin-bottom: 55px;
    //    text-indent: -1em;
    }
    .about_service {
        width: 100%;
        margin: 0 auto;
    }
    .about_service dt{
        display: inline-block;
        width: 70px;
        height: 70px;
        line-height: 70px;
        border-radius: 50%;
        font-size: 10px;
        margin-right: 10px;
    }
    .about_service dd{
        width: 75%;
        margin: 20px 0 15px 90px;
        line-height: 1.5;
     }
}


/* 施設案内
----------------------------------------------------*/
.guide_service {
    width: 800px;
    margin: 0 auto;
}

.guide_service dl{
    margin: 0 auto;
    border-bottom: 2px dotted #ccc;
    line-height: 3;
}

.guide_service dt{
    float: left;
    width: 30%;
    text-align: left;
}

.guide_service span{
    background: linear-gradient(transparent 75%, #a7d6ff 75%);
}

.guide_service dd{
    width: 95%;
    text-align: left;
    display: table-cell;
}

.guide_service ul{
    float: left;
    margin-left: -160px;
}

.guide_service li{
    width: 100%;
    list-style: none;
    margin-bottom: -10px;
}

@media only screen and (max-width: 768px ) {
    .guide_service {
        width: 100%;
    }
    .guide_service dl{
        width: 100%;
        line-height: 2;
    }
    .guide_service dt{
        width: 100%;
        margin-top: 8px;
    }
    .guide_service dt.lc{
        width: 100%;
    }
    .guide_service span{
        background: linear-gradient(transparent 70%, #a7d6ff 75%);
    }
    .guide_service dd{
        width: 100%;
        padding: 0 15px;
    }
    .guide_service ul{
        float: none;
        margin-left: -15px;
        margin-bottom:-10px;
    }
    .guide_service li{
        width: 100%;
        margin-left: 10px;
        margin-bottom: 5px;
    }
    .guide_service li:last-child{
        margin-bottom: 0;
    }
}

/* .guide_img {
width: 30%;
margin: 10px;
border: 1px solid #fff;
box-shadow:rgba(171, 173, 170, 1.0) 0px 1px 4px 0px;
}
/////////////////////////////////////////////*/

/* 各事業所
----------------------------------------------------*/
.each_office {
    width: 1080px;
    height:auto;
    margin: 0 auto;
    text-align: center;
    //    list-style: none;
    //  display: block; /*ブロック要素に変更*/
}

/*
.gaiyou_box{
//    width: 40%;
//    height:auto;
//    margin: 0 auto;
//    float: left;
//    float: left;
}
*/

.callout {
    display: flex;
    //	justify-content: center;
    align-items: center;
    font-size: 15px;
    letter-spacing: 2px;
}

.callout::before,
.callout::after {
    content: '';
    width: 3px;
    height: 40px;
    background-color: #3fc1c9;
}

.callout::before {
    margin-top: 40px;
    margin-right: 30px;
    transform: rotate(-35deg)
}
.callout::after {
    margin-top: 40px;
    margin-left: 30px;
    transform: rotate(35deg)
}

.plant {
    width: 730px;
    margin: -50px auto;
}

.introduction_img {
    width: 750px;
    margin: 80px 0 0 0;
}

.logo_title {
    float: left;
    width: 38%;
    margin: 10px 0 15px;
}

.plant_img {
    clear: both;
    float: left;
    width: 37%;
    margin: 0;
    padding: 0;
}

.map iframe{
    width: 100%;
    margin: 8px auto 0;
}

.plant_1,
.plant_2,
.plant_3 {
    float: left;
    width: 60%;
    margin: 0 0 0 15px;
}

.plant dt {
    float: left;
    width: 100%;
    font-weight: bold;
    padding: 3px 0;
}

.plant_1 dt {
    background: #ffede6;
    border-bottom: solid 2px #f39800;
    border-right: solid 2px #f39800;
}

.plant_2 dt {
    background: #c6f3f8;
    border-bottom: solid 2px #009fa8;
    border-right: solid 2px #009fa8;
}

.plant_3 dt {
    background: #dfecf9;
    border-bottom: solid 2px #25385d;
    border-right: solid 2px #25385d;
}

.plant dd {
    float: right;
    width: 100%;
    padding: 3px 0;
}

.plant_text {
    width: 83%;
    text-align: right;
    color: #25385d;
    font-weight: 600;
}


@media only screen and (max-width: 768px ) {
    .each_office { width: 98%;}
    .callout {
        width: 50%;
        height: 150px;
        font-size: 12px;
        letter-spacing: 0;
        padding: 50px 10px 10px;
    }
    .callout::before,
    .callout::after {
        content: '';
        width: 3px;
        height: 30px;
    }
    .callout::before { margin-right: 20px;}
    .callout::after { margin-left: 20px;}
    .plant {
        width: 95%;
        margin: 0 auto;
    }
    .introduction_img {
        width: 100%;
        margin: 20px 0 -10px 0;
    }
    .logo_title {
        width: 50%;
        margin: 0 auto;
        float: left;
    }
    .plant_img {
        width: 45%;
        float: right;
        margin: -160px 0 10px;
     }

    /*
    clear: both;
    float: left;
    width: 37%;*/

    .plant_1,
    .plant_2,
    .plant_3 {
        width: 100%;
        margin: 0 auto;
    }
    .plant dt { padding: 2px 0;}
    .plant dd { padding: 2px 0;}
    .plant_text {
        width: 100%;
        text-align: center;
        font-size: 80%;
    }
}


/*------------------ 年間行事 ------------------*/


/* スライド
----------------------------------------------------*/
.slide {
    width: 200px;
//    height: 300px;
}

.slide-paused ul {
    list-style: none;
}
.slide:nth-child(1) {
 //   background-color: tomato;
}
.slide:nth-child(2) {
//    background-color: orange;
}
.slide:nth-child(3) {
 //   background-color: blue;
}
.slide:nth-child(4) {
 //   background-color: green;
}
/* スライドレールの枠 */
.wrap {
    overflow: hidden;
    display: flex;
    align-items: center;
    height: 270px;
}
/* content4つをまとめたスライドブロック */
.slideshow {
    display: flex;
    -webkit-animation: loop-slide 20s infinite linear 1s both;
    animation: loop-slide 20s infinite linear 1s both;
}
@-webkit-keyframes loop-slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}
@keyframes loop-slide {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}
/* ホバー時に動きを止める */
.slide-paused:hover .slideshow {
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
}
/* ホバー時の装飾 */
.slide-hover {
    transition: all 0.2s;
    margin-right: 20px;
}
.slide-hover:hover {
    transform: translateY(-20px);
//    border-radius: 0 10%;
    box-shadow: 0 3px 10px 0 #333;
    opacity: 0.8;
    cursor: pointer;
}

@media only screen and (max-width: 768px ) {
    .slide { width: 100px;}
    .wrap {
        height: 120px;
        font-size: 10px;
    }
}

/* schedule
----------------------------------------------------*/
.schedule {
    width: 1080px;
    height: auto;
    text-align: left;
    background-image: url(../img/events/back.png);
    background-size:40%;
    background-repeat:no-repeat;
    background-position: 90% 80%;
    padding: 30px 70px;
}

.schedule table {
    width: 100%;
    float: left;
    padding: 20px;
    border-collapse: collapse;
}

.schedule th {
    width: 10%;
    line-height: 1.8em;
    padding: 5px 15px;
    text-align: right;
    border-bottom: 1px solid #E6D2C9;
}

.schedule td {
    width: 100%;
    border-bottom: 1px solid #E6D2C9;
}

p.schedule {
    font-size: 16px;
    margin-top: -30px;
    background-image:none;
}


@media only screen and (max-width: 768px ) {
    .schedule {
        width: 100%;
        background-image: none ;
        padding: 0 10px;
        font-size: 12px;
    }
    .schedule table {
        width: 100%;
        float: none;
        padding: 20px;
        border-collapse: collapse;
    }
    .schedule th {
        width: 100%;
        line-height: 1.0em;
        padding: 5px 8px 3px;
        text-align: left;
        float: left;
    }
    .schedule td {
        width: 100%;
        float: right;
        padding: 0 8px;
        line-height: 2.0em;
        background-color: #FFE6CE;
    }
    p.schedule {
        font-size: 16px;
        margin-top: 15px;
    }
}

/* month event
----------------------------------------------------*/
.month {
    width: 1050px;
    height: auto;
    margin: 15px;
}

.event {
    width: 100%;
    height: auto;
    text-align: left;
    margin-top: 60px;
}

.event ul { margin-top: 7px;}

.event li {
    margin: 6px 7.2px;
    list-style:none;
    float: left;
}

.event ul img {
    width: 248px;
 //   height: 157px;
    box-shadow: 5px 5px 8px #a9a9a9;
}


@media only screen and (max-width: 768px ) {
    .month {
        width: 95%;
        margin: 0 auto;
    }
    .event {
        width: 100%;
        margin-top: 30px;
    }
    .event ul { margin-top: 0;}
    .event li {
        width: 32%;
        margin: 5px 2px;
    }
    .event ul img {
        width: 100%;
        box-shadow: 3px 3px 3px #a9a9a9;
        float: left;
    }
    .event small {
        font-size: 16px;
        font-weight: normal;
    }
    .event p {
        font-size: 16px;
        margin: 5px;
    }
}


/*------------------ 採用情報 ------------------*/

/* スタッフ紹介
----------------------------------------------------*/
.voice {

}

.voice ul { list-style: none;}

.voice li {
    width: 1050px;
    height: 300px;
    margin: 35px 0 35px;
}

.profile_01,
.profile_02 {
    display: block;
    width: 32%;
    float: left;
}

.profile_02 { float: right;}

.name {
    width: 100%;
    margin: 75px auto 0;
}
.name img { width: 50%;}

.profile_01 p,
.profile_02 p{ margin-top: 35px;}

.profile_01 p span,
.profile_02 p span { font-size: 20px;}

.comment {
    width: 65%;
    float: right;
    height: auto;
    padding: 15px;
    border: 1px solid #e3e3e3;
//    background: rgba(0, 178, 141, 0.5);
    background:#fff;
    text-align: left;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

.comment dt {
    position: relative;
    padding: 0.3em;
    color: #fff;
    background-color: #f0f0f0;
    top:0;
    left: -30px;
}

.place_box dt { background-color: #f39800;}
.porte_box dt { background-color: #00b28d;}
.soleil_box dt { background-color: #25385d;}

.comment dt span {
    display: block;
    padding: 0.25em 1em;
    font-size: 18px;
    border: 1px dashed #fff;
}
.comment dt::before,
.comment dt::after
{
    content: '';
    position: absolute;
}
.comment dt::before {
    top: 100%;
    left: 0;
    border-width: 0 15px 15px 0;
    border-style: solid;
    border-color: transparent;
    border-right-color: #ccc;
}

.place_box dt::before { border-right-color: #8b4513;}
.porte_box dt::before { border-right-color: #2f4f4f;}
.soleil_box dt::before { border-right-color: #3a4861;}

.comment dt::after {
    top: 0;
    right: 0;
    z-index: 2;
    border-width: 25px 25px;
    border-style: solid;
    border-color: transparent;
    border-right-color: #fff;
}

.comment dd{ padding: 15px 0;}


@media only screen and (max-width: 768px ) {
   .voice {
    //    width: 100%;
    }
    .voice ul { list-style: none;    }
    .voice li {
        width: 100%;
        height: 100%;
        margin: 35px 0 35px;
    }
    .profile_01,
    .profile_02 {
        display: block;
        width: 100%;
        float: none;
    }
    .profile_02 { float: none;}

    .name {
        width: 100%;
        margin: 0 auto;
    }
    .profile_01 p,
    .profile_02 p{ margin-top: 15px;}
    .comment {
        width: 94%;
        float: none;
        margin: 0 auto;
        margin-left: 18px;
    }
    .comment dt {
        width: 110%;
        padding: 0.3em;
        left: -31px;
    }
    .comment dt span {
        padding: 0.15em 0.3em;
        font-size: 17px;
    }
    .comment dt::before { border-width: 0 15px 10px 0;    }
    .comment dt::after { border-width: 21px 21px;}
    .comment dd{ padding: 10px 0;}
}

/* スタッフ紹介
----------------------------------------------------*/
.recruit { margin: 55px 0;}

.recruit p {
    margin: 10px 50px;
    text-align: left;
}

.recruit .blinking {
    font-size: 23px;
    font-weight: 600;
    margin-top: 25px;
}

.recruit_p{ float: left;}

.recruit img.ritsu {
    width: 40%;
    float: right;
    padding: 0;
    margin: -115px 0 20px 0;
    border: none;
    background-color: #fbfbfb;
    background-image: none;
    box-shadow: none;
    padding: 10px;
}

.recruit_box{
    margin: 15px 10px;
    padding: 20px 40px;
    border: solid 1px #efefef;
    box-shadow: 0 10px 8px -6px #fbfbfb;
    -webkit-box-shadow: 0 10px 8px -6px #8d8c8c;
    -moz-box-shadow: 0 10px 8px -6px #8d8c8c;
    background-color: #f5f5f5;
    background-image: repeating-linear-gradient(25deg, #fff, #fff 3px,transparent 0, transparent 6px);
}

.recruit_box h5{
    display: flex;
    align-items: center;
    width: 100%;
    gap: 20px;
    font-size: 180%;
    margin-bottom: 20px;
    color: rgb(221, 150, 36);
}

.recruit_box02 h5{
    color: rgb(90, 159, 230);
}

.recruit_box03 h5{
    color: rgb(167, 17, 40);
}

.recruit_box04 h5{
    color: rgb(36, 37, 133);
}

.recruit_box05 h5{
    color: rgb(59, 103, 59);
}

.recruit_box06 h5{
    color: rgb(84, 31, 130);
}

.recruit_box h5>span{
    display: block;
}

.recruit_box h5>span>span{
    font-size: 0.6em;
}

.recruit_box h5>span:nth-of-type(2){
    text-align: left;
    font-size: 0.4em;
}

.recruit_box h5>span:nth-of-type(3){
    font-size: 0.8em;
}

.recruit_box .recruit_box_inner{
    display: flex;
    justify-content: space-between;
}

.recruit_box_inner_left{
    flex-basis: 50%;
}

.recruit_box .recruit_box_inner_left_inner_p{
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 12px;
    font-weight: bold;
    margin: 10px 20px;
}

.recruit_box .recruit_box_inner_left_inner_p>span:first-of-type{
    flex-basis: calc(2em + 10px);
    padding: 0 5px;
    background-color: rgb(221, 150, 36);
    color: #fff;
    border-radius: 2px;
}

.recruit_box02 .recruit_box_inner_left_inner_p>span:first-of-type{
    background-color: rgb(90, 159, 230);
}

.recruit_box03 .recruit_box_inner_left_inner_p>span:first-of-type{
    background-color: rgb(167, 17, 40);
}

.recruit_box04 .recruit_box_inner_left_inner_p>span:first-of-type{
    background-color: rgb(36, 37, 133);
}

.recruit_box05 .recruit_box_inner_left_inner_p>span:first-of-type{
    background-color: rgb(59, 103, 59);
}

.recruit_box06 .recruit_box_inner_left_inner_p>span:first-of-type{
    background-color: rgb(84, 31, 130);
}


.recruit_box .recruit_box_inner_left_inner_p>span:nth-of-type(2){
    flex-basis: calc(1em - 10px);
    padding: 0 5px;
    background-color: rgb(221, 150, 36);
    color: #fff;
    border-radius: 2px;
}

.recruit_box02 .recruit_box_inner_left_inner_p>span:nth-of-type(2){
    background-color: rgb(90, 159, 230);;
}

.recruit_box03 .recruit_box_inner_left_inner_p>span:nth-of-type(2){
    background-color: rgb(167, 17, 40);
}

.recruit_box04 .recruit_box_inner_left_inner_p>span:nth-of-type(2){
    background-color: rgb(36, 37, 133);
}

.recruit_box05 .recruit_box_inner_left_inner_p>span:nth-of-type(2){
    background-color:   rgb(59, 103, 59);
}

.recruit_box06 .recruit_box_inner_left_inner_p>span:nth-of-type(2){
    background-color: rgb(84, 31, 130);
}


.recruit_box03 .recruit_box_inner_left_inner_p:last-of-type>span:nth-of-type(2){
    flex-basis: 4em;
}

.recruit_box_inner_right{
    flex-basis: 47%;
}

.recruit_box .recruit_box_inner_right_inner_p{
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start;
    font-size: 12px;
    font-weight: bold;
    margin: 10px 0;
}

.recruit_box .recruit_box_inner_right_inner_p>span:first-of-type{
    flex-basis: calc(5em + 14px);
    padding: 0 5px;
    background-color: rgb(221, 150, 36);
    color: #fff;
    border-radius: 2px;
}

.recruit_box02 .recruit_box_inner_right_inner_p>span:first-of-type{
    background-color: rgb(90, 159, 230);;
}

.recruit_box03 .recruit_box_inner_right_inner_p>span:first-of-type{
    background-color: rgb(167, 17, 40);
}

.recruit_box04 .recruit_box_inner_right_inner_p>span:first-of-type{
    background-color: rgb(36, 37, 133);
}

.recruit_box05 .recruit_box_inner_right_inner_p>span:first-of-type{
    background-color: rgb(59, 103, 59);
}

.recruit_box06 .recruit_box_inner_right_inner_p>span:first-of-type{
    background-color: rgb(84, 31, 130);
}

.recruit_box .recruit_box_inner_right_inner_p>span:last-of-type{
    flex-basis:28em;
    text-align: left;
}

.recruit_box .recruit_box_inner_right_inner_p:last-of-type>span:first-of-type{
    flex-basis: calc(7em + 10px);
}

.recruit_box h6{
    font-size: 180%;
    position: relative;
    overflow: hidden;
    padding: 0;
    border: none;
    width: initial;
    color: rgb(221, 150, 36);
    text-align: left;
}

.recruit_box02 h6{
    color: rgb(90, 159, 230);
}

.recruit_box03 h6{
    color: rgb(167, 17, 40);
}

.recruit_box04 h6{
    color: rgb(36, 37, 133);
}

.recruit_box05 h6{
    color: rgb(59, 103, 59);
}

.recruit_box06 h6{
    color: rgb(84, 31, 130);
}

.recruit_box h6::before{
    display: none;
}

@media screen and (max-width: 768px) {
    .recruit_box{
        padding: 20px 10px;
    }

    .recruit_box h5{
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        row-gap: 0;
        margin-bottom: 10px;
    }

    .recruit_box .recruit_box_inner{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .recruit_box_inner_left{
        flex-basis: 100%;
    }

    .recruit_box .recruit_box_inner_left_inner_p{
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        row-gap: 0;
        padding: 0;
        margin: 10px 0;
    }

    .recruit_box .recruit_box_inner_left_inner_p>span:last-of-type{
        flex-basis: 100%;
    }

    .recruit_box .recruit_box_inner_left_inner_p .pc{
        display: none;
    }

    .recruit_box03 .recruit_box_inner_left_inner_p:last-of-type>span:nth-of-type(2){
        flex-basis: 4em;
    }

    .recruit_box_inner_right{
        flex-basis: 100%;
    }

    .recruit_box .recruit_box_inner_right_inner_p{
        flex-wrap: wrap;
        gap: 10px;
        row-gap: 0;
        padding: 0;
        margin: 0 0 10px;
    }
    .recruit_box .recruit_box_inner_right_inner_p>span:last-of-type{
        flex-basis:100%;
        text-align: left;
    }

    .recruit_box .recruit_box_inner_right_inner_p:last-of-type>span:first-of-type{
        flex-basis: calc(7em + 10px);
    }

    .recruit_box h6{
        font-size: 130%;
    }
}





.recruit img {
    margin: 15px 10px;
    padding: 10px;
    border: solid 1px #efefef;
    box-shadow: 0 10px 8px -6px #fbfbfb;
    -webkit-box-shadow: 0 10px 8px -6px #8d8c8c;
    -moz-box-shadow: 0 10px 8px -6px #8d8c8c;
    background-color: #f5f5f5;
    background-image: repeating-linear-gradient(25deg, #fff, #fff 3px,transparent 0, transparent 6px);
    line-height:0;
}

button{
    background:#ffaf58;
    color:#fff;
    border:none;
    position:relative;
    height:60px;
    font-size:1.6em;
    padding:0 2em;
    cursor:pointer;
    transition:800ms ease all;
    outline:none;
}
button:hover{
    background:#fff;
    color:#ffaf58;
}
button:before,button:after{
    content:'';
    position:absolute;
    top:0;
    right:0;
    height:2px;
    width:0;
    background: #ffaf58;
    transition:400ms ease all;
}
button:after{
    right:inherit;
    top:inherit;
    left:0;
    bottom:0;
}
button:hover:before,button:hover:after{
    width:100%;
    transition:800ms ease all;
}



@media only screen and (max-width: 768px ) {
    .recruit { margin: 1px 0;}
    .recruit p {
        margin: 0 auto;
        padding: 8px;
    }
    .recruit .blinking { margin-top: 10px;}
    .recruit_p{ float: none;}
    .recruit img.ritsu {
        width: 100%;
        float: none;
        padding: 0;
        margin: 0 auto 10px;
    }
    .recruit img {
        margin: 5px auto;
        padding: 0;
        box-shadow: 0 8px 5px -5px #fbfbfb;
        -webkit-box-shadow: 0 8px 5px -5px #8d8c8c;
        -moz-box-shadow: 0 8px 5px -5px #8d8c8c;
    }
}

/* 点滅
----------------------------------------------------*/
/* 点滅 */
.blinking{
    -webkit-animation:blink 1.5s ease-in-out infinite alternate;
    -moz-animation:blink 1.5s ease-in-out infinite alternate;
    animation:blink 1.5s ease-in-out infinite alternate;
}

p.blinking {
    font-size: 14px;
    color: #a51a1a;
}

@-webkit-keyframes blink{
    0% {opacity:0;}
    100% {opacity:1;}
}
@-moz-keyframes blink{
    0% {opacity:0;}
    100% {opacity:1;}
}
@keyframes blink{
    0% {opacity:0;}
    100% {opacity:1;}
}


/* hr
----------------------------------------------------*/
.line_as{
    width: 70%;
    border: dashed 0.01px #fff;
    margin: 1px auto;
    display: flex;
}

.line_1{
    box-shadow:rgba(171, 173, 170, 0.592157) 0px 1px 4px 0px;
    -webkit-box-shadow:rgba(171, 173, 170, 0.592157) 0px 1px 4px 0px;
    -moz-box-shadow:rgba(171, 173, 170, 0.592157) 0px 1px 4px 0px;
}

.line_2{
    border-bottom: solid 1px white;
}



/* clearfix
----------------------------------------------------*/
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix { display: inline-table; }

/* Hides from IE-mac \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }
/* End hide from IE-mac */



/*　page top
----------------------------------------------------*/
#page-top {
    position: fixed;
    bottom: 80px;
    right: 15px;
    z-index:100;
}

#page-top a {
    width: 63px;
    height: 63px;
    background: url(../img/pagetop.png) no-repeat;
    background-position:50% 50%;
    display: block;
}

#page-top a:hover {
    text-decoration: none;
    background-position:50% 50%;
    opacity: 0.7;
}



@media print, screen and (min-width: 769px ) {

}


@media only screen and (max-width: 768px ) {

}

@media print, screen and (min-width: 769px ) {

}
