﻿@charset "utf-8";

/* ==============================================================
/*     Reset  
/* ============================================================== */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

/* ==============================================================
/*     Scroll Button
/* ============================================================== */
#myBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: #7662aa; /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
  }
  
  #myBtn:hover {
    background-color: #555; /* Add a dark-grey background on hover */
  }


/* ==============================================================
/*     Frame  
/* ============================================================== */
.inner{
	width: 940px;
	margin: 0 auto
}

/* ==============================================================
/*     HEADER
/* ============================================================== */
#header{
    position: relative;
}
#logo{
    margin: 20px 0 30px;
}

#liLang, #liSns{
    position: absolute;
    top: 0;
    right: 0;
}
#liLang li, #liSns li{
    display: inline;
    padding-left: 25px;
    color: #7662aa;
    font-size: 14px;
}
#liLang li a{
    color: #555;
    text-decoration: none;
}
#liLang li a:hover{
    text-decoration: underline;
}

#liSns{
    top: 40px;
}
#liSns li{
    padding-left: 15px;
}


#gnav{
    border-top: 1px solid #ddd;
}
#gnav li{
    float: left;
    width: 187px;
    border-left: 1px solid #ddd;
    text-align: center;
}
#gnav li.lastL{
    width: 186px;
    border-right: 1px solid #ddd;
}
#gnav li a{
    display: block;
    padding: 18px 0;
    color: #555;
    text-decoration: none;
    font-weight: bold;
}
#gnav li a:hover, #gnav li.active a{
    background: #f1eff6;
    color: #7662aa;
}

/* ==============================================================
/*     div#mCol
/* ============================================================== */

#contents_header{
    padding: 30px 0;
    background: #7662aa;
}
#contents_header h1{
    padding: 40px 0;
    color: #fff;
    text-align: center;
}

#contents_inner h2{
    clear: both;
	position: relative;
    margin: 80px 0 50px;
    color: #7662aa;
	text-align: center;
}
#contents_inner h2 span{
	position: relative;
	z-index: 2;
	display: inline-block;
	margin: 0 2.5em;
	padding: 0 1em;
	background-color: #fff;
	text-align: left;
}
#contents_inner h2::before{
	position: absolute;
	top: 40%;
	z-index: 1;
	content: '';
	display: block;
	width: 100%;
	height: 2px;
	background-color: #7662aa;
}
#contents_inner h3{
    margin: 60px 0 30px;
	text-align: center;
}


#contents_inner p, #contents_inner ul, #contents_inner dl{
	margin-bottom: 1em
}
#toTop{
	position: absolute;
	bottom: 0;
	right: 0
}


#contents_footer{
    margin-top: 60px;
    padding: 60px 0;
    background: #e5e5e5;
}
#contents_footer div div{
    float: left;
    width: 460px;
}
#contents_footer div div.lastL{
    margin-left: 20px;
}
#contents_footer h4{
    margin-bottom: 20px;
    padding: 15px 0;
    color: #fff;
    background: #7662aa;
    text-align: center;
}

/* ==============================================================
/*     FOOTER
/* ============================================================== */
footer{
    border-top: 5px solid #7662aa;
    background: #666;
    text-align: center;
}
footer .inner{
    padding: 60px 0 40px;
}

footer .inner li{
    display: inline;
    padding: 0 20px;
    color: #fff;
    font-size: 14px;
}
footer .inner a{
    color: #fff;
    text-decoration: none;
}
footer .inner a:hover{
    text-decoration: underline;
}
footer .inner p{
    margin-top: 40px;
    color: #fff;
    font-size: 12px;
}


/* ==============================================================
/*     BASE
/* ============================================================== */

body{
	background: #fff;
	color: #555;
    border-top: 5px solid #7662aa;
	font-family: "Hiragino Kaku Gothic Pro","ヒラギノ角ゴ Pro W3","メイリオ","Meiryo","ＭＳ Ｐゴシック",sans-serif;
	line-height: 1
}
body.en, body.id{
	font-family: Avantgarde, TeX Gyre Adventor, URW Gothic L, sans-serif;
    /* italic alternative using class*/
    .italic{
        font-style:italic;
        }
}
h1{ font-size: 40px}
h2{ font-size: 26px}
h3{ font-size: 22px}
h4{ font-size: 20px}
h1,h2,h3,h4,h5,h6,strong{ font-weight:bold}

em{
	font-weight: bold;
    font-style: normal;
}
ol li{
	list-style: decimal outside;	
}
ul li{
	list-style: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
th,td{
	border:1px solid #ccc;
	padding:.5em;
}
p, li, th, td, dt, dd, address{
	font-size: 16px;
    line-height: 1.6;
}
input, select, button{
	vertical-align:middle;
	font-family: "Hiragino Kaku Gothic Pro","ヒラギノ角ゴ Pro W3","メイリオ","Meiryo","ＭＳ Ｐゴシック",sans-serif;

}

/* link
---------------------------------*/
img{
	vertical-align: bottom;
}

a{ /* \*/ overflow:hidden; /* */}
a, a:visited{
	color: #555;
}
a:hover, a:active{
    color: #999;
}
a img, a:visited img{
	opacity: 1;
	filter: alpha(opacity=100)
}
a:hover img, a:active img{
	opacity: 0.8;
	filter: alpha(opacity=80)
}

/* clearfix
---------------------------------*/
div:after, ul:after, .cf:after{
	content: "";
	display: block;
	clear: both;
}


/* ==============================================================
/*     LAYOUT
/* ============================================================== */

.imgR{
    float: right;
    margin: 0 0 30px 30px; 
}
.liDot li{
    margin-left: 1.5em;
    list-style: disc;
    font-weight: bold;
}
.rTxt{
    text-align: right;
}

/* TOP
---------------------------*/
.newsBox{
    margin: 60px 0 -20px;
}
.newsBox h2{
    display: table-cell;
    width: 200px;
    margin: 0 !important;
    background: #7662aa;
    color: #fff !important;
    font-size: 18px;
}
.newsBox h2:before{
    display: none !important;
}
.newsBox ul{
    display: table-cell;
    width: 710px;
    padding: 10px 15px;
    background: #f6f6f6;
}

/* Application
---------------------------*/
.liFile li{
    margin-bottom: 5px;
    padding: 25px;
    background: #f2f2f2;
}
.label{
    vertical-align: middle;
    padding: 0 15px;
    background: #7662aa;
    color: #fff;
    font-size: 11px;
}
h6{
    padding-top: 10px;
}


/* Office
---------------------------*/
.dlLine{
    border-top: 1px solid #ddd;
}
.dlLine dt{
    float: left;
    width: 100px;
    padding: 25px 0 25px 20px;
    font-weight: bold;
}
.dlLine dd{
    width: 820px;
    padding: 25px 0 25px 120px;
    border-bottom: 1px solid #ddd;
}
.en .dlLine dt, .id .dlLine dt{
    width: 150px;
}
.en .dlLine dd, .id .dlLine dd{
    width: 770px;
    padding: 25px 0 25px 170px;
}

/* Introduction
---------------------------*/
.grBox{
    padding: 1px 25px 25px;
    background: #f2f2f2;
}

/* Charges
---------------------------*/
.dlLineL{
    margin-top: 60px;
}
.dlLineL dt{
    float: left;
    width: 45% !important;
    padding: 25px 5% 25px 0;
    text-align: right
}
.dlLineL dd{
    width: 50% !important;
    padding: 25px 0 25px 50% !important;
}

/* Nihongo Partner
---------------------------*/
.np p{
    margin-bottom: 40px;
    font-size: 20px;
}


@media screen and (max-width:640px){
    
.inner{
	width: 100%;
	margin: 0 auto
}
header #liSns{ display: none}

h1{ font-size: 20px}
h2{ font-size: 18px}
h3{ font-size: 16px}
h4{ font-size: 15px}
p, li, th, td, dt, dd, address{
	font-size: 14px;
    line-height: 1.6;
}

/* ==============================================================
/*     HEADER
/* ============================================================== */
#logo{
    margin: 40px 0 15px 10px;
}
#logo img{
    width: auto;
    height: 50px;
}


#liLang{
    position: absolute;
    top: -40px;
    right: 0;
    width: 100%;
    border-bottom: 1px solid #ddd;
}
#liLang li{
    display: block;
    float: left;
    width: 33%;
    padding: 5px 0;
    color: #7662aa;
    font-size: 12px;
    text-align: center;
}
#liLang li:nth-child(2){
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}
#liLang li a:hover{
    text-decoration: underline;
}

#gnav{
    display: none;
    border-top: 1px solid #ddd;
}
#gnav li{
    float: none;
    width: 100% !important;
    border: none !important;
    border-bottom: 1px solid #999 !important;
    text-align: center;
}
#gnav li a{
    display: block;
    padding: 15px 0;
    color: #fff !important;
    background: #666 !important;
    text-decoration: none;
    font-weight: bold;
}

#menuBtn{
    display: inline-block;
    position: absolute;
    width: 50px;
    height: 40px;
    top: 5px;
    right: 15px;
}
#menuBtn span{
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 3px;
    margin: -1px 0 0 -7px;
    background: #7662aa;
    transition: .2s;
}
#menuBtn span:before, #menuBtn span:after{
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 30px;
    height: 3px;
    background: #7662aa;
    transition: .3s;
}
#menuBtn span:before{
    margin-top: -12px;
}
#menuBtn span:after{
    margin-top: 8px;
}
#menuBtn .close{
    background: transparent;
}
#menuBtn .close:before, #menuBtn .close:after{
    margin-top: 0;
}
#menuBtn .close:before{
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}
#menuBtn .close:after{
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

/* ==============================================================
/*     LAYOUT
/* ============================================================== */

img{
    max-width: 100%;
    height: auto;
    width /***/:auto;
}
.imgR{
    display: block;
    float: none;
    margin: 0 auto 30px;
    text-align: center;
}

/* TOP
---------------------------*/
.newsBox{
    margin: 20px 0 0;
}
.newsBox h2{
    box-sizing: border-box;
    display: block;
    width: 100%;
    padding: 10px 15px;
    font-size: 16px;
    text-align: left !important;
}
.newsBox ul{
    box-sizing: border-box;
    display: block;
    width: 100%;
    padding: 10px 15px;
}

.intro3{
    text-align: center;
}
.intro3 img{
    display: inline-block;
    margin-bottom: 20px;
}

/* Office
---------------------------*/
.dlLine dt, .dlLineL dt{
    float: none;
    width: 100% !important;
    padding: 15px 0 5px;
    text-align: left;
}
.dlLine dd, .dlLineL dd{
    width: 100% !important;
    padding: 0 0 15px !important;
}
/* Charges
---------------------------*/
.dlLineL{
    margin-top: 20px;
}


/* ==============================================================
/*     div#mCol
/* ============================================================== */

#contents_header{
    padding: 0;
}
#contents_inner{
    width: 90%;
    margin: 20px 0;
    padding: 0 5%;
}
#contents_inner h2{
    margin: 40px 0 30px;
}


#contents_footer{
    margin-top: 60px;
    padding: 20px 5%;
}
#contents_footer div div{
    float: none;
    width: 100%;
}
#contents_footer div div.lastL{
    margin: 20px 0 0;
}
#contents_footer h4{
    margin-bottom: 0;
}

/* === Slider === */
* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 3s;
}
/* === Slider === */

/* === Thumbnail === */
.iframe-container {
  overflow: hidden;
  position: relative;
}

.iframe-container iframe {
  aspect-ratio: 16 / 9;
  width: 100%;
}
/* === Thumbnail === */

/* ==============================================================
/*     FOOTER
/* ============================================================== */
footer .inner{
    padding: 0 0 20px;
}
footer .inner li{
    float: left;
    width: 50%;
    display: block;
    padding: 10px 0;
    box-sizing: border-box;
    border-bottom: 1px solid #888;
}
footer .inner li:nth-child(2n-1){
    border-right: 1px solid #888;
}
footer .inner p{
    margin-top: 20px;
}
    
}