@charset "UTF-8";

/* 共通部分
------------------------------- */
html {
    font-size: 100%;
}
body{
    font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
    line-height: 1.7;
    color: #432;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400
}
a {
    text-decoration: none;
    color: rgb(68, 51, 34);
}
a:hover {
    color:  #bfaf95;
    font-weight: 600;
}
h2{
    margin: 10px 0px;
    font-size: 2rem;
    font-weight: 800;
}
h3{
    margin: 5px 0px;
    font-size: 1.25rem;
    font-weight: 600;
}
img {
    max-width: 100%;
}
.wrapper {
/*    max-width: 1100px;*/
    margin: 0 auto;
    padding: 0 4%;
}
.sub-title{
    margin: 0 0 30px 0;
}

/* header
------------------------------- */
.header{
}
.title{
    font-size: 2rem;
    font-weight: 800;
    padding: 1%;
}
.nav-item{
    padding-left: 10px;
}
.nav-item a:hover {
    color:  #bfaf95;
    font-weight: 600;
}
.navbar{
    background-color: #bfaf95;
}


/* MAIN
------------------------------- */
.wrap{}
.page_top {
    display: flex;
    justify-content: space-between;
    margin: 120px 0px 50px 0px;
}

/* side_bar */
/*aside {
    width: 22%;
}*/
.sub-title{}
.sub-menu {
    margin-bottom: 60px;
    list-style: none;
}
.sub-menu li {
    border-bottom: 1px #ddd solid;
}
.sub-menu a {
    color: #432;
    padding: 10px;
    display: block;
}
.sub-menu a:hover {
    color: #fff;
    background-color: #e4d9c6;
}
aside p {
    padding: 12px 10px;
    font-size: 0.8rem;
}
.icon-area{
    text-align: center;
    margin-top: 30px;
}
.icon-area .fab{
    font-size: 2rem;
    margin: 0 1rem;
    color:  #bfaf95;
}


/* top_img */
article {
    width: 100%;
}
.top-main {
    position: relative;
    padding-top: 4px;
    margin-bottom: 40px;
}
article img {
    width: 100%;
}
article p {
    margin-bottom: 1rem;
}

/* news */
.news{
    padding: 20px;
}

.news_list{
    display: flex;
    justify-content: left;
    border-bottom:  #bfaf95 dashed 1px;
}
.news_list p{
    font-size: 0.9rem;
    margin: 10px 5px;
}
.news_category{
    padding: 0px 2px;
    margin-left: 8px;
    width: 100px;
    height: 1.6rem;
    min-width: 100px;
    color:  #bfaf95;
    border: #bfaf95 1px solid;
    text-align: center;
    border-radius:8px;
    font-size: 0.8rem;
}
.news_title{
    margin-left: 10px;
    max-width: 450px;
}
.news_list:hover {
    color:  #bfaf95;
    font-size: 1rem;
    font-weight: 600;
}
.more_block{
    display: flex;
    align-items: center;
    margin: 10px;
}
.more{
    text-align: center;
    font-size: 0.9rem;
    margin: 0;
    padding: 10px;
}
.more:hover {
    color:  #bfaf95;
    font-size: 1rem;
    font-weight: 600;
}
.news .arrow img{
    width: 30px;
    filter: brightness(0) saturate(100%) invert(54%) sepia(32%) saturate(319%) hue-rotate(358deg) brightness(97%) contrast(86%);
}


/* contents */
.contents{
    margin-bottom: 80px;
}
.contents_box{
    display: flex;
    justify-content: space-between;
    min-width: 830px;
}
.contents_item{
    text-align: center;
    width: 20%;
    padding: 10px;
}
.contents_item:hover{
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    cursor: pointer;
}
.item1{
    background-color: rgba(228, 217, 198, 0.8);
}
.item2{
    background-color: rgba(255, 249, 240, 0.8);
}
.contents_icon img{
    width: 130px;
    height: 130px;
    filter: brightness(0) saturate(100%) invert(45%) sepia(0%) saturate(2249%) hue-rotate(198deg) brightness(98%) contrast(82%);
}
.contents_name{
    margin: 15px 0px;
}
.ja{
    font-size: 1.3rem;
    font-weight: 600;
}
.en{
    font-size: 0.9rem;
    color:  #9f8c6d;
}
.arrow{}
.contents .arrow img{
    width: 50px;
    filter: brightness(0) saturate(100%) invert(54%) sepia(32%) saturate(319%) hue-rotate(358deg) brightness(97%) contrast(86%);
}

/* contact */
.contact{
    margin-bottom: 80px;
}

.contact-form{
    max-width: 100%;
    text-align: center;
}

.contact-text{
    padding: 5px 30px;
}

.contact-message{
    text-align: left;
    font-size: 1rem;
    margin-top:10px;
    margin-bottom: 30px;
    padding-left: 5px;
}

.contact-input{
    text-align: left;
    overflow: hidden;
    margin: 0 auto;
    margin-bottom: 20px;
}

.contact-item{
    float: left;
    margin-right: 5px;
    padding-left: 5px;
    width: 25%;
    border-left: 6px solid #bfaf95;
}

.contact-inp{
    float: left;
    width: 70%;
}

input[type="text"],
input[type="email"]{
    background-color:  rgba(255, 249, 240, 0.8);
    border: 1px solid rgb(68, 51, 34);
    padding: 10px;
    border-radius: 10px;
    font-size: 1rem;
    max-width:100%;
}

textarea{
    background-color:  rgba(255, 249, 240, 0.8);
    border: 1px solid rgb(68, 51, 34);
    padding: 10px;
    border-radius: 10px;
    font-size: 1rem;
    height: 8rem;
    max-width:100%;
}

.contact-btn{
    width: 100px;
}

input[type="submit"]{
    color: #bfaf95 ;
    background-color:   rgba(228, 217, 198, 0.8);
    border: 2px solid  #bfaf95;
    border-radius: 10px;
    font-weight: bold;
    margin: 0 5px;
}

input[type="reset"]{
    color:gray;
    background-color: white;
    border: 1px solid gray;
    border-radius: 10px;
    font-weight: bold;
    margin: 0 5px;
}


/* footer */
.footer{
    background-color: #bfaf95;
    padding:5px 0px;  
}

.copy-write{
    font-size: 0.8rem;
    margin-top: 1rem;
    padding-bottom: 10px;
    text-align: center;
}

/* news.html */
.page{
    display: flex;
    justify-content: center;
    width: 250px;
}
.page span{
    margin: 10px;
}

/* standerds.html */
.tab{
    display: flex;
    flex-wrap: wrap;
}

.tab li a{
    display: block;
    border:  #bfaf95 2px solid;
    border-bottom:   #bfaf95 3px solid;
    border-radius: 10px 10px 0 0;
    margin: 2px 2px 0px 2px;
    padding: 10px;
}
.area{
    background-color:  rgba(255, 249, 240, 0.8);
    border:  #bfaf95 2px solid;
    padding: 20px;
}
.active a{
    background-color: rgba(228, 217, 198, 0.8);
    border-radius: 10px 10px 0 0;

}

/* licence.html */
.info-box{
    background-color:rgba(255, 249, 240, 0.8);
    padding: 10px;
    margin: 10px;
}
.info-box li a{
    font-size: 0.9rem;
}

/* glossary.html */
.kana-box{

}
.kana-item{
    display: flex;
}
.kana-item a{
    border-radius: 5px;
    background-color: rgba(228, 217, 198, 0.8);
    padding: 5px;
    margin: 3px;
}
.glossary-box{
    margin: 10px;
    min-width: 650px;
}
.kana-back{
    margin-top: 25px;
}
.kana-back p{
    max-width: 45px;
    background-color:#bfaf95;
    border-radius: 22.5px;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    padding: 5px;
    margin: 3px;
}
.table-scroll{
/*    overflow-x: scroll; */
    padding: 10px;
}
.word{
    font-weight: 600;
    width: 150px;
    min-width: 100px;
}
.kana{
    font-size: 0.9rem;
    width: 150px;
    min-width: 100px;
}
.explain{
    font-size: 0.9rem;
    min-width: 450px;
}

/* download.html */
.download-box{
    padding: 10px;
    margin: 10px;
}
.download-box ul{
    padding: 10px;
}

/* link.html */
.link-box{
    padding: 10px;
    margin: 10px;
}
.link-box ul{
    padding: 10px;
}

/* contact.html */
.contact{
    padding: 10px;
    margin: 10px;
}


/*1280px以下で文字色が黄色に*/
@media screen and (max-width: 1280px) {
    .tablet {
    /* 1280px以下で適用させたいcssを記述する部分 */
     color: #F9D342;}
    }
    /*768px以下で文字色が青色に*/
    @media screen and (max-width: 768px) {
     .sp {
    /*768 px未満で表示させたいcssを記述する部分 */
     color: #213C5F;
      }
    }