/* <?php
  header('Content-Type: text/css; charset=utf-8');
  include_once( 'config.php' ); // 設定の有るファイルを読み込むとか？
?> */

 @charset "utf-8"; 
/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,h1, h2, h3, h4, h5, h6, p, blockquote, pre,abbr, address, cite, code,del, dfn, em, img, ins, kbd, q, samp,small, strong, sub, sup, var,b, i,dl, dt, dd, ol, ul, li,fieldset, form, label, legend,table, caption, tbody, tfoot, thead, tr, th, td,article, aside, canvas, details, figcaption, figure,footer, header, hgroup, menu, nav, section, summary,time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
        font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
}

article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {
    display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;  
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}
/* ここまでリセット */

/*全体ここから*/
html {
    
    font-size: 62.5%;
}
body {
    color: #242424;
}

.section_contents {
    position: relative;
}

.section_title {
    font-family:  '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
    text-align: center;
    font-size: 4.5vw;
    font-weight: 100;
    margin: 5vh;
}

@media screen and (max-width:599px){
    .section_title {
        font-size: 9.5vw;
    }
}

.section_title_en {
    position: absolute;
    top: 3vh;
    left: 54%;
    font-size: 5vh;
    color: #ebeef4;
    z-index: -1;
    font-family: 'Anton', sans-serif;
}

.more_info {
    border: 2px solid #3184cb;
    display: inline-block;
    font-size: 3.4vh;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8vh;
    box-shadow: 2px 2px 8px  #b1b1b1;
	transition: 0.3s all;
	text-decoration: none;
	padding: 1.2vw 2.4vw;
	color: #000;
	text-align: center;
}

.more_info:hover {
	background: #3184cb;
	transition: 0.3s all;
	color: #fff;
	transition: 0.3s all;
}

@media screen and (max-width:599px){
    .section_title_en {
        left: 46%;
    }
    
    .more_info {
        margin-top: 4vh;  
    }
}
/* 
.more_info a {
    padding: 1.8vh 2.4vh;
    text-decoration: none;
    color: #242424;
    display: block;
}
 */

.sp_only {
    display: none;
}
/*全体ここまで*/
/*headerここから*/
#header {
    height: 120px;

}

.header_inner {
    display: flex;
    width: 94%;
    margin: 15px auto 25px;
    justify-content: space-between;
    height: 100px;
}

.header_nav{
    width: 70%;
    position: relative;
}

.openbtn span{
	position: relative;
	background: #57a2c7;
	cursor: pointer;
	width: 50px;
	height: 50px;
	border-radius: 5px;
}
@media screen and (max-width:1008px){
    .header_nav{
        background-color: #28bfe7;
    }
}
.menu-item a{
    font-size: 25px;
}

.global_nav {
    position: absolute;
    width: 100%;
    bottom: 0;
}

#menu-global {
    display: flex;
    justify-content: space-between;
    color: #242424;
    position: absolute;
    bottom: -1.5vh;
    width: 100%;
    font-size: 24px;
}

#menu-global li {
    list-style: none;
}

#menu-global li a {
    text-decoration: none;
    color: #242424;
}

@media screen and (max-width:1008px){
    #menu-global li a {
        text-decoration: underline;
        color: #ffffff;
        font-size: 20px;
    }
}

.global_nav .nav_link { 
    text-decoration: none;
    color: #242424;
    font-size: 2.4em;
    font-weight: 900;
}

.menu-item-has-children>a {
    pointer-events: none;
    color: red;
}

@media screen and (max-width:599px){
    #menu-global .menu-item-has-children>a {
        text-decoration: none;
        
    }
}

.logo {
    width: 14%;
}

.logo img {
    height: 100px;
}

/*

.open_button {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 9999;
    cursor: pointer;
    width: 65px;
    height: 65px;
    overflow: hidden;
    border-left: 1px solid #ebeef4;
}


.open_button span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 50%;
    height: 5px;
    border-radius: 2px;
    background: #478297;
    width: 45%;
    margin: auto;
    transform: translateX(-50%);
}

.open_button span:nth-of-type(1){
    top: 15px
}

.open_button span:nth-of-type(2){
    top: 30px
}

.open_button span:nth-of-type(3){
    top: 45px
}
*/

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

    .logo img {
        height: 50px;
    }

    .sp_only {
        display: block;
    }

}

/*headerここまで*/
/*first_viewここから*/
h1 {
    font-family:  '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
    font-size: 4vw;
    font-weight: 100;
    letter-spacing: -0.6rem;
    line-height: 1.2;
    margin-bottom: 6%
}

.site_caption {
    font-size: 1.6vw
}

#first_view {
    position: relative;
    margin-bottom: 0;
	background:url(https://www.rnoda-studio.com/ytc/wp-content/uploads/2022/05/first_view2.jpg);
	background-size: cover;
	padding: 40px 0 150px 50px;
}


@media screen and (max-width:599px){ 
	
#first_view {
    position: relative;
    margin-bottom: 0;
	background:url(https://www.rnoda-studio.com/ytc/wp-content/uploads/2022/05/first_view2.jpg);
	background-size: cover;
	padding-top:30px;
	padding-right:30px;
	padding-left:30px;
	padding-bottom:30px;
}

	
}

#first_view img {
    width: 100%;
}

#first_view .wrapper {
/*     position: absolute; */
    top: 17%;
    left: 6%;
    background-color: rgba(255,255,255,0.7);
    width: 49%;
/*     height: 62%; */
    padding: 2%;
    box-sizing: border-box;
}


@media screen and (max-width:599px){
    h1 {
        font-size: 7vw;
        letter-spacing: -0.8vw;
    }
 
    .site_caption {
        font-size: 4.2vw;
        line-height: 1.2;
    }
    
    #first_view {
        height: 430px;
    }
    
    #first_view img {
        height: 100%;
        position: absolute;
        left: 0;
    }
    
    #first_view .wrapper {
        width: 100%;
/*         height: auto; */
/*         left: 50%; */
/*         transform: translateX(-50%); */
    }
}

/*first_viewここまで*/


/*policyここから*/
#policy {
    margin-top: -2px;
    background-color: #004d90;
    text-align: center;
    color: #fff;
    font-family:  '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
    padding: 2%
}

#policy {
    margin-bottom: 0;
}

#policy h2 {
    font-size: 2.5vw;
    font-weight: 100;
}

#policy p {
    font-size: 3.5vw;
    font-weight: 100;
    margin-top: 1.2%  
}

@media screen and (max-width:599px){
    #policy h2 {
        font-size: 4.2vw;
    }
    
    #policy p {
        font-size: 5.5vw; 
    }
}


/*policyここまで*/
/*TopMessageここから*/
.message_wrapper {
    width: 100%;
    font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
}

.message_contents {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.message_text {
    width: 50%;
}


@media screen and (max-width:599px){
    .message_contents {
        flex-direction: column-reverse
    }

    .message_text {
        width: 100%;
    }
}

.message_lead {
    background-color: #004d90;
    height: 6.5vh;
    font-size: 2.4vw;
    line-height: 6.5vh;
    color: #fff;
    text-align: center;
}


.message_inner {
    padding: 4vh 6vh
}

.message_inner>p:first-of-type {
    font-size: 3.2vh;
    line-height: 1.4;
}

.year_date {
    font-size: 2.8vh;
    margin-top: 2.5vh
}

.position_name {
    font-size: 3.6vh;
    margin: 2.5vh 0 2.5vh;
}
.top_name {
    font-size: 3.6vh;
    text-align:right;
    padding-right: 1.8vh;
}

.top_photo {
    width: 50%;
    padding: 5vh 8vh;
    box-sizing: border-box;
}

@media screen and (max-width:599px){   
    .message_lead {
        font-size: 5.6vw;
    }
    
    .top_photo {
        width: 90%;
        margin: auto;
        padding: 5vh 2vh;
    }
}

    
.top_photo img {
    width: 100%
}
/*TopMessageここまで*/f
/*事業紹介ここから*/
#business {
    margin-bottom: 30vh;
}
.business_list {
    display: flex;
    width: 92%;
    margin: auto;
    justify-content: space-between
}

.business_item {
    display: flex;
    flex-direction: column-reverse;
    width: 31%;
    height: auto;
    justify-content: space-between;
    border: 1px solid #e4e4e4;
    box-shadow: 2px 2px 8px  #b1b1b1;
    padding: 3vh;
    box-sizing: border-box;
}

@media screen and (max-width:599px){
    .business_list {
        display: inline;
    }
    
    .business_item {
        width: 80%;
        margin: 0 auto 30px;
    }
}


.business_item img {
    width: 100%;
    display: block;
/*    margin:  auto;*/
}
.business_text h3 {
    font-family:  '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
    border-bottom: 3px solid #cbcbcb;
    font-size: 3vh;
    text-align: center;
    margin-bottom: 2vh;
    line-height: 1.8;
    width: 100%;
}
.business_text p {
    font-size: 2.5vh
}

/*事業紹介ここまで*/
/*お知らせここから*/

#news_relaease {
    margin-bottom: 300px;
    margin-top: 270px;
}

@media screen and (max-width:599px){
    #news_relaease {
        margin-bottom: 120px;
        margin-top: 160px;
    }
    
}


.news_contents {
    width: 54%;
    padding: 6vh ;
    margin: auto;
    height: 36vh;
    border-top: 1px solid #7e7e7e;
    border-bottom: 1px solid #7e7e7e;
    box-sizing: border-box;
}


.news_contents ul li {
    list-style: none;
    color: #606060;
    font-size: 2vw;
    margin-bottom: 3.4vh;
}

@media screen and (max-width:599px){
    .news_contents {
        width: 80%;
        padding: 6vh 0vw;
    }
    
    .news_contents ul li {
        font-size: 4vw;
    }
}

.news_contents ul li a {
    color: #242424;
    margin-left: 2.5vw;
    text-decoration: none;
}

.news_contents .release {
    color: #606060;
    margin-right: 1.4vw;
}
/*お知らせここまで*/
/*footerここから*/
#footer {
    background-color: #033b6b;
    color: #fff;
    padding: 3vh 3vw 0;
    border-bottom: 10px solid #033b6b;
    position: relative;
    height: 140px;
}

@media screen and (max-width:599px){
    #footer {
        height: 100px;
    }
}

.footer_menu {
    display: flex;
    width: 40vw;
    justify-content: space-between;
    font-size: 2.0rem;
    margin-right: 15vw
}


.footer_contents {
    display: flex;
    justify-content: space-between;
    width: 93vw;
}

.menu_item a {
    color: #fff;
}

.recruit_menu li  {
    margin-top: 1vh;
    text-align: right;
    list-style-type:square;
    list-style-position: inside
}

.recruit_menu li a {
    font-size: 1.8rem;
}
.footer_logo {
    width: 14%;
}
.footer_logo img{
    width: 100%;
}

small p {
    margin-top: 1vh;
    text-align: center;
    font-size: 1vw;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%)
}

#menu-footernav {
    display: flex;
    width: 53vw;
    justify-content: space-around;
}

#menu-footernav li a{
    color: #fff;
    font-size: 1.2vw;
}


@media screen and (max-width:599px){
    small p{
        font-size: 2vw;
    }
    
    #menu-footernav {
        width: 77vw;
    }
    
    #menu-footernav li a{
        font-size: 2.2vw;
    }
}

#menu-footernav .menu-item-has-children a {
    text-decoration: none;
}

#menu-footernav li  .sub-menu {
    left: auto;
    top: auto;
    background: transparent;
}

#menu-footernav .sub-menu {
    position: absolute;
    left: auto;
    top: auto;
    z-index: 4;
    background: transparent;
    width: 180px;
    visibility: visible;
    opacity: 1;
/* 	transition: 0.3s all; */
}


#menu-footernav .sub-menu li {
    margin: 1.4vh 1vw;
    position: relative;
}

#menu-footernav .sub-menu li a{
    text-decoration: underline
}

@media screen and (max-width:599px){
      #menu-footernav .sub-menu li a{
          padding: 10px 0;
    }  
}

#menu-footernav .sub-menu li a:hover{
    background: transparent;
}


#menu-footernav .sub-menu li::before {
    display: block;
    content: '';
    width: 0.4vw;
    height: 0.8vw;
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
    color: transparent;
    position: absolute;
    left: -0.7vw;
    top: 0vh;
}

#menu-footernav .menu-item-has-children::before {
   display: none
}


/*footerここまで*/

/**子ページに共通ここから**/
.page_head  {
    height: 9vw;
    overflow: hidden;
    position: relative;
}
.page_head img {
    width: 100%;
    overflow: hidden;
    position: static;
    top: 8px;
    z-index: -1;
}

.page_title {
    z-index: 100;
    font-size: 3.5vw;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;;
    transform: translate(-50%,-50%);
}

.main_wrapper {
    width: 63%;
    margin: 5vh auto;
}

.main-wrapper {
    width: 63%;
    color: red;
}

.past_news_item  {
    font-size: 1.4vw;
    border-bottom: 2px dotted #bcbcbc;
    padding: 1.1vh 1.3vw  0.8vh;
    line-height: 1.8vh;
    list-style: none
}

.past_news_item time {
    color: #929292;
    margin-right: 1.6vw
}

.past_news_item a {
    color: #242424;
    text-decoration: none;
}

@media screen and (max-width:599px){
    .page_head{
        height: 15vw;
    }
    
    .page_title {
        font-size: 5.5vw;
    }
    
    .main_wrapper {
        width: 80%;
    }
}

/**子ページに共通ここまで**/


/*************会社概要、新卒採用、中途採用、アクセスここから*****************/

.table_wrapper {
    width: 50vw;
    margin: auto;
}


.company_info {
    width: 100%;
    font-size: 1.0vw;
    position: relative;
    margin:0 auto 10vh;
}

@media screen and (max-width:599px){
    .table_wrapper {
        width: 100%;
    }
    
    .company_info {
        font-size: 3.2vw;
    }
}

.company_info th {
    text-align: left;
    width: 30%;
    padding: 3vh 3vw;
}

.company_info td {
    padding: 3vh 0;
}

.company_info tr+tr{
    border-top: 1px solid #7e7e7e;
}

.company_info caption {
    position: absolute;
    font-size: 1.8vh;
    bottom: -5vh;
    right: 0
}

.table_wrapper>p {
    font-size: 1.2vw;
    margin-bottom: 5vh;
    line-height: 1.2;
}

@media screen and (max-width:599px){
    .table_wrapper>p {
        font-size: 3.2vw;
    } 
}

.entry_button {
    height: 10vh;
    width: 18vw;
    overflow: hidden;
    position: relative;
    margin: auto;
    display: block;
    border-style: outset;
    border-radius: 5px;
    border-width: 4px;
    background-image: linear-gradient(#015699 0%,#183c59 50%,#015699 100%);
    border-color: #4282b3;
    color: #fff;
    font-size: 1.6vw;
    line-height: 1.2;
    font-weight: bold
}

@media screen and (max-width:599px){
    .entry_button {
        width: 32vw;
        font-size: 3.6vw;
    }
}
.entry_button:hover  {
    background-image:linear-gradient(#6495be 0%,#6b8396 50%,#6495be 100%);
    border-color: #87afce;
}

.past_news {
    margin: auto;
    display: block;
    
}

.article_title {
    font-size: 2.5vw;
    margin-bottom: 3vh;
}

.office_list {
    display: flex;
    flex-wrap: wrap;
    width: 50vw;
    margin: auto;
    justify-content: space-between
}

.office_info {
    list-style: none;
    border: 1px solid #e4e4e4;
    box-shadow: 2px 2px 8px  #b1b1b1;
    display: inline-block;
    height: 32vh;
    width: 24vw;
    padding: 0.5vw;
    box-sizing: border-box;
    margin-bottom: 3vh;
    position: relative;
}

.office_name {
    padding: 0.5vw;
    border-bottom: 3px solid #4282b3;
    margin: 0 auto 1.5vh;
    padding: 1.3vh;
}

.office_name h3 {
    font-size: 2.8vw; 
    font-weight: normal;
}

.office_info a {
    position: absolute;
    right: 0.5vw;
    bottom: 0.5vw;
}


.address {
    margin-left: 1.3vh;
    margin-bottom: 1vh;
    font-size: 1.0vw;
    line-height: 1.2;
}

@media screen and (max-width:599px){
    .office_list {
        display: flex;
        width: 100%;
        flex-direction: column;
    }
    
    .office_info {
        width: 100%;
    }
    
    .office_name h3 {
        font-size: 6.8vw;
    }
    
    .address {
        font-size: 3.0vw;
    }
    
}

/*************会社概要、新卒採用、中途採用、アクセスここまで*****************/
/*************事業紹介ここから*****************/

.business_field {
    font-family:   '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif;
    font-size: 3.5vw;
    font-weight: 100;
    border-bottom: 5px solid #3184cb;
    padding-left: 0.6vw
}

.text_image {
    display: flex;
    padding: 3vh 3.2vw;
    justify-content: space-between;
}

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

.field_image {
    width: 28vw;
}

.field_image iframe{
    width: 100%
}

.field_image img{
    width: 100%;
}

.feature_wrapper {
    width: 45%;
}

.feature {
    background-color: #3184cb;
    color: #fff;
    padding: 1.2vh 1.5vw;
    display: inline-block;
    font-size: 3vh;
    margin-bottom: 1.5vh
}

.feature+p {
    font-size: 1.2vw;
    line-height: 1.2
}

@media screen and (max-width:599px){
    .business_field{
        font-size: 5.5vw;
    }
    
    .text_image,
    .rev {
        flex-direction: column-reverse;
    }
    
    .field_image {
        width: 80%;
        display: block;
        margin: auto;
    }
    
    .feature_wrapper {
        width: 100%;
    }
    
    .feature {
        
        margin: 1.5vh auto;
        display: block;
        text-align: center;
    }
    
    .feature+p {
        font-size: 3.2vw;
    }
}

.business_wrapper {
    margin-bottom: 6.5vh
}

.suppliers {
    margin:3vh 0 1.2vh ;
    font-size: 1.8vw;
}

.suppliers+p {
    font-size: 1.2vw;
    line-height: 1.2
}
@media screen and (max-width:599px){
    .suppliers {
        font-size: 3.8vw;
    }

    .suppliers+p {
        font-size: 2.6vw;
    }
}



/*************事業紹介ここまで*****************/
/*************記事一覧ここから*****************/
.newsLists {
    min-height: 36vh;
    width: 80%;
    margin: auto;
}


.newsLists .news-link {
    text-decoration: none;
}
.newsLists .news-body {
    display: flex;
    font-size: 1.4vw;
    border-bottom: 2px dotted #bcbcbc;
    padding: 1.1vh 1.3vw 0.8vh;
    line-height: 1.8vh;
    height: 2vh;
}

@media screen and (max-width:599px){
    .newsLists {
        width: 100%;
    }
    
    .newsLists .news-body {
        font-size: 3.2vw;
    }
}


.newsLists .release {
    color: #606060;
    font-size: 1.3vw;
    margin-right: 1.6vw;
}

.newsLists .title {
    color: #242424;
}

.main_container {
    margin-bottom: 6vh;
}

/*************記事一覧ここまで*****************/
/*************個別記事ここから*****************/
.news {
    position: relative;
    min-height: 36vh;
}

.news_header {
    position: relative;
}

.news .time {
    font-size: 0.8vw;
    position: absolute;
    right: 0.5vw;
    top: 1.5vh;
}

.news .title {
    font-size: 1.7vw;
    border-bottom: 3px solid #4282b3;
    padding: 0.5vw;
}

.news .news-body p {
    padding: 0.5vw;
    font-size: 1.2vw;
}

@media screen and (max-width:599px){
    .news .title {
        font-size: 5.5vw;
    }
    
    .news .time {
        font-size: 2.8vw;
        left: 1.5vw;
        top:auto;
        bottom: -3vh;
    }
    
    .news .news-body p {
        font-size: 3.2vw;
    }
    
    .news .news-body {
        margin-top: 4vh;        
    }
}

.more-news {
    position: relative;
    font-size: 1vw;;
}

.more-news div {
    position: absolute;
}

.next {
    right: 0;
}

.more-news div a {
    color: #242424;
}

@media screen and (max-width:599px){
    .prev a,
    .next a {
        font-size: 3vw;
    }
}


/*************個別記事ここまで*****************/

/*下の階層のulや矢印の基点にするためliにrelativeを指定*/
.header_nav li{
	position: relative;
}

/*ナビゲーションのリンク設定*/
.header_nav li a{
	display: block;
	text-decoration: none;
	color: #999;
	padding:3vh  0 ;
	transition:all .3s;
}


.header_nav li a:hover{
	color:#fff;	
}

/* @media screen and (max-width:599px){ */
   @media screen and (max-width:1008px){ 
    .header_nav li a{
        padding:10px 35px;
    }
    
    #header {
        height: auto;
    }
    
    .header_nav li a {
        text-align: center
    }
    

   

    
/*
    .header_nav {
        z-index: 999;
        top: 0;
        right: -120%;
        width: 100%;
        height: 100vw;
        background: #999;
        transition: all 0.6s;
    }
*/
/*
    
    .header_nav.panelactive {
        display: block;
        right: 0;
    }
*/
}


/* @media screen and (max-width:599px){ */

 @media screen and (max-width:1008px){
	 #menu-global{
        display: inline;
        position: static;
    }
	    
    .menu-item {
        display: block;
    }
	
	    .header_inner{
        display: inline
    }
	
	
    .header_nav {
        width: 100%;
    }
}


@media screen and (max-width:599px){}
/*==矢印の設定*/

/*2階層目を持つliの矢印の設定*/
.menu-item-has-children::before {
    content: '';
    position: absolute;
    left: -1.6vw;
    top: 40%;
    width: 0.5vw;
    height: 0.5vw;
    border-top: 2px solid #242424;
    border-right: 2px solid #242424;
    transform: rotate(135deg);
}

@media screen and (max-width:599px){
    .menu-item-has-children::before {
        display: none;
    }

}
/*== 2・3階層目の共通設定 */

/*下の階層を持っているulの指定*/
.sub-menu {
    /*絶対配置で位置を指定*/
	position: absolute;
	left:0;
	top:62px;
	z-index: 4;
    /*形状を指定*/
	background:#28BFE7;
	width:180px;
    /*はじめは非表示*/
	visibility: hidden;
	opacity: 0;
    /*アニメーション設定*/
	transition: 0.3s all;
}


/*hoverしたら表示*/
.menu-item-has-children:hover > ul,
.menu-item-has-children ul li:hover > ul,
.menu-item-has-children:active > ul,
.menu-item-has-children ul li:active > ul{
  visibility: visible;
  opacity: 1;
}

/*ナビゲーションaタグの形状*/


#menu-global .sub-menu li a{
	color: #fff;
	border-bottom:solid 1px rgba(255,255,255,0.6);
    padding-left: 19%;
}

/* @media screen and (max-width:599px){ */
	
@media screen and (max-width:1008px){
    .sub-menu {
        position: static;
        visibility:visible;
        opacity: 1;
        margin: auto;
        width: 150px;
    }
    
    .sub-menu li a {
        text-align: center;
    }
    
    .sub-menu li::before{
         display: block;
        content: '';
        width: 15px;
        height: 15px;
        border-left: 1px solid #fff;
        border-bottom: 1px solid #fff;
        color: transparent;
        position: absolute;
        left: 42px;
        top: 14px;
    }
    
    #menu-global .sub-menu li a{
        color: #fff;
        border-bottom:solid 1px #28bfe7;
        padding:10px 0;
        text-align: right;
    }
}

.menu-item-has-children ul li:last-child a{
	border-bottom:none;
}

.menu-item-has-children ul li a:hover,
.menu-item-has-children ul li a:active{
	background:#3577CA;
}

@media screen and (max-width:599px){
    .menu-item-has-children ul li a:hover,
    .menu-item-has-children ul li a:active{
        background: transparent;
    }
}
nav ul li.has-child::before{
	left:20px;	
}

nav ul ul li.has-child::before{
    transform: rotate(135deg);
	left:20px;
}
    
nav ul li.has-child.active::before{
    transform: rotate(-45deg);
}
