@charset "utf-8";

@import url(//fonts.googleapis.com/earlyaccess/notosansjapanese.css);
@import url(//fonts.googleapis.com/css?family=Sawarabi+Gothic);
@import url(//fonts.googleapis.com/css?family=Oswald:400,600);

/* ========================================================
	template.css => テンプレート用CSS
======================================================== */
html,body{
    width: 100%;
}
html{
    margin-top:0 !important;
    font-size: 13px;
}
@media (min-width: 992px) {
  html{ font-size:16px; }
}
body {
	background-color: #fff;
	font-size: 1rem;
	line-height: 1.7;
	color: #333333;
    font-family: 'Sawarabi Gothic', sans-serif;
	-webkit-text-size-adjust: 100%;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
	line-height: 1.7;
}
a {
	text-decoration: none;
	-webkit-transition: all .3s;
	-o-transition: all .3s;
	transition: all .3s;
    outline: none;
}

a.a_reverse,
.a_reverse a {
	text-decoration: none;
}
a.a_reverse[href]:hover,
.a_reverse a[href]:hover {
	text-decoration: underline;
}
a:not(.btn), a:link:not(.btn) {color: #333333;}
a:visited:not(.btn) {color: #333333;}

label {
	cursor: pointer;
}
input, select, textarea, button {
	margin: 0;
	vertical-align: middle;
	font-family: inherit;
	outline: none;
	font-size: 100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

button {
	cursor: pointer;
}
iframe {
	vertical-align: middle;
}
img {
	max-width: 100%;
	height: auto;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
@media screen and (max-width: 768px) {
	img {
		max-width: 100%;
		height: auto;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	iframe {
		max-width: 100%;
		height: 200px;
	}
}

/*object-fit-img*/
.ofi {
  object-fit: cover;
  font-family: 'object-fit: cover;'
}
.ofi_top {
  object-fit: cover;
  object-position: top;
  font-family: 'object-fit: cover; object-position: top;'
}
.ofi_contain {
  object-fit: contain;
  font-family: 'object-fit: contain;'
}


* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

/* pc / sp
============================================================================================================ */
.sp {display: none !important;
}
@media screen and (max-width: 768px) {
	.pc  {display: none !important;}
	.sp {display: block !important;}
}

/* text-align
============================================================================================================ */
.text-left {
    text-align: left;
}
.text-right {
    text-align: right;
}
.text-center {
    text-align: center;
}
@media (min-width: 992px){
    .text-lg-left {
        text-align: left !important;
    }
    .text-lg-right {
        text-align: right !important;
    }
    .text-lg-center {
        text-align: center !important;
    }
}

/* text
============================================================================================================ */
.big{font-size:1.1em;}
.large{font-size:1.25em;}
.bigger{font-size:1.7rem;}
.spacing{letter-spacing:0.1em;}
.sawarabi{font-family: 'Sawarabi Gothic', sans-serif;}


/* display
============================================================================================================ */
.d-block {
    display: block !important;
}
.d-none {
    display: none!important;
}
@media (min-width: 576px) {
    .d-sm-inline-block {
        display: inline-block !important;
    }
}
@media (min-width: 768px) {
    .d-md-none {
        display: none !important;
    }
    .d-md-block {
        display: block !important;
    }
}

/* border
============================================================================================================ */
.border {border: 1px solid #dddddd;padding:1.5rem;}
.bd { border:2px solid #333333; padding:20px; overflow:hidden; }
img.bd{border:1px solid #f1f1f1; padding:0;}

/* background
============================================================================================================ */
.bg {
    background: #F5F5F1;
    padding: 1em;
}

/* padding
============================================================================================================ */
.pd_l {
    padding-top: 5rem !important; padding-bottom: 5rem !important;
}
.pd_m {
	padding-top: 3rem !important; padding-bottom: 3rem !important;
}
.pd_s {
	padding-top: 1.5rem !important; padding-bottom: 1.5rem !important;
}
.pd_s_s {
	padding-right: 10px !important; padding-left: 10px !important;
}

/* margin
============================================================================================================ */
.mg_l {
    margin-top: 5rem !important; margin-bottom: 5rem !important;
}
.mg_m {
	margin-top: 3rem !important; margin-bottom: 3rem !important;
}
.mg_s {
	margin-top: 1.5rem !important; margin-bottom: 1.5rem !important;
}
.mg_b_l {
    margin-bottom: 5rem !important;
}
.mg_b_m {
	margin-bottom: 3rem !important;
}

/* flex
============================================================================================================ */
.d-flex {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
}
.d-flex-reverse {
  	-webkit-box-orient: horizontal;
  	-webkit-box-direction: reverse;
  	-ms-flex-direction: row-reverse;
  	flex-direction: row-reverse;
}
.align-items-center {
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}
.align-items-end {
	-webkit-box-align: end;
    -webkit-align-items: flex-end;
    -ms-flex-align: end;
    align-items: flex-end;
}
.justify-content-center {
	-webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.justify-content-lg-between {
	-webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.flex-wrap {
	-webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.flex1{flex:1;}
.align-self-end {
    -ms-flex-item-align: end;
    -webkit-align-self: flex-end;
    align-selft: flex-end;
}


/* container
============================================================================================================ */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1140px;
}
.container_s {max-width: 1000px; margin:0 auto;}
.container_ss {max-width: 800px; margin:0 auto;}
.container_xxs {max-width: 600px; margin:0 auto;}
.container_smallest {max-width: 300px; margin:0 auto;}

@media screen and (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}
@media screen and (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}
@media screen and (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}
@media screen and (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}
main {
    overflow: hidden;
}

/* Headings
============================================================================================================ */
h1, .h1 { font-size: 2.5rem; }
h2, .h2 { font-size: 2rem; }
h3, .h3 { font-size: 1.75rem; }
h4, .h4 { font-size: 1.5rem; }
h5, .h5 { font-size: 1.25rem; }
h6, .h6 { font-size: 1rem; }
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-bottom: .5rem;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.2;
    color: inherit;
    clear: both;
}
h3,h4,h5,h6 {letter-spacing:.1em;}
h3 {margin-top:2em; margin-bottom:.6em;}
h4 {margin-top:1.5em; margin-bottom:.5em;}
h5 {margin-top:1em;}
h6 {margin-top:0.5em; font-size:1.08em;}
p {
    margin-top: 0;
    margin-bottom: 1rem;
}
h3.red {
    font-size: 1.65rem;
    margin-top: 1.5em;
}
.border > h3 {
    margin-top: 1rem;
}
.title_center {
    text-align: center;
    margin-top: 2em;
    margin-bottom: 0.8em;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 2.5rem;
    letter-spacing: 0.1em;
    border: none;
}
.title_center span {
    font-family:'メイリオ', Meiryo, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', sans-serif !important;
    display:block;
    font-size:45%;
    margin-top:5px;
    font-weight: 400;
}
.title_border {
    font-size: 1.75rem;
    letter-spacing: .1em;
    position: relative;
    padding-bottom: .5em;
    margin-top: 2em;
    margin-bottom: .6em;
    border-bottom: 4px solid #ccc;
}
.title_border:after {
    position: absolute;
    bottom: -4px;
    left: 0;
    z-index: 2;
    content: '';
    width: 20%;
    height: 4px;
    background-color: #A62236;
}
.title_border.japanese-culture:after {
    background-color: #C53A4F;
}
.title_border.english-and-cultures:after {
    background-color: #66D6FC;
}
.title_border.evening-classes:after {
    background-color: #1C2C80;
}
.title_l_border {
    font-size: 1.75rem;
    letter-spacing: .1em;
    position: relative;
    padding-bottom: .5em;
    margin-top: 1.5em;
    margin-bottom: .6em;
    border-bottom: 2px solid #A62236;
}
.title_l_border.evening-classes {
    border-bottom: 2px solid #1C2C80;  
}
.title_catch {
    font-size: 1.75rem;
    text-align: left;
    position: relative;
    padding-bottom: 1em;
    border-bottom: 4px solid #ccc;
    margin-top: 2em;
    margin-bottom: 2rem;
    letter-spacing: .1em;
}
.title_catch span {
    display: block;
    margin-top: .4em;
    color: #A62236;
    font-size: 70%;
}
.title_catch:after {
	position: absolute;
	bottom: -4px;
	left: 0; right:0; margin:0 auto;
	z-index: 2;
	content: '';
	width: 20%;
	height: 4px;
	background-color: #A62236;
}
.title_catch.japanese-culture span {
    color: #C53A4F;
}
.title_catch.japanese-culture:after {
    background-color: #C53A4F;
}
.title_catch.english-and-cultures span {
    color: #66D6FC;
}
.title_catch.english-and-cultures:after {
    background-color: #66D6FC;
}
.title_bg {
    font-size: 1.6rem;
    letter-spacing: .1em;
    position: relative;
    padding: .5em;
    margin-top: 2em;
    margin-bottom: .8em;
    background: #F5F5F1;
    border-left: 3px solid #A62236;
}
.title_dot {
    font-size: 1.5rem;
    padding-bottom: 0.5em;
    border-bottom: 1px dotted #A62236;
    margin-top: 2em;
    margin-bottom: .5em;
}
.container > .title_center:first-child,
.container > .title_border:first-child,
.container > .title_catch:first-child,
.container > .title_bg:first-child{
    margin-top: 0;
}
@media (min-width:768px) {
    .title_catch {
        text-align: center;
    }
}

/* header
============================================================================================================ */
.navbar {
    background: #fff;
    padding: .25rem 1rem;
    position:relative;
    -webkit-box-shadow: 0px 1px 4px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 1px 4px rgba(0,0,0,0.3);
	-ms-box-shadow: 0px 1px 4px rgba(0,0,0,0.3);
	box-shadow: 0px 1px 4px rgba(0,0,0,0.3);
    display: -webkit-box; 
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    z-index: 10;
}
.navbar .logo {
    max-width: 420px;
    width: 100%;
    margin: 0 1rem 0 0;
    display: inline-block;
    padding-top: .3125rem;
    padding-bottom: .3125rem;
    margin-right: 1rem;
    font-size: 1.25rem;
    line-height: inherit;
    white-space: nowrap;
}
.navbar > div {
    display: -webkit-box; 
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}
.navbar .navbar-nav {
    display: -webkit-box; 
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    margin-right: 0.5rem;
}
.navbar .navbar-nav li {
    margin-right: 0.5em;
    display: none;
}
.navbar .navbar-nav li img {
    height: 50px;
}
.navbar .navbar-nav li a,
.navbar .navbar-nav li p {
    letter-spacing: .08em;
    padding: 0.5rem .2em .1em;
    font-size: 90%;
    display: block;
    margin-bottom: 0;
}
.navbar .dropdown {
    cursor: pointer;
}
.navbar .dropdown-menu {
    display: none;
}
.navbar .dropdown-menu {
    position: absolute; 
    right:0 ;
    border-radius: 0; 
    background-color: rgba(255,255,255,.4); border:none; margin:0;
    top: 100%;
    z-index: 1000;
    /*min-width: 10rem;*/
    padding: .5rem 0;
}
.dropdown-item {
    display: block;
    width: 100%;
    padding: .25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}
.navbar .navbar-nav li:last-child {
    display: block;
    color: rgba(0,0,0,.5);
    margin-right: 0;
}
.navbar .navbar-nav li:last-child img {
    display: none;
}
.navbar .navbar-nav li i {
    display: block;
}
.fixed {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}
@media (min-width:768px) {
     .navbar .navbar-nav {
        margin-right: 1rem;
    }
    .navbar .navbar-nav li {
        display: block;
        color: #000;
    }
    .navbar .navbar-nav li:last-child img {
        display: block;
    }
    .navbar .navbar-nav li i {
        display: none;
    }
}

/* google search btn
============================================================================================================ */
table.gsc-search-box {
    margin-bottom: 0 !important;
}
form.gsc-search-box {
    margin-bottom: 0 !important;
}
/* デフォルトで設定されている(疑似的な)テキストボックスのデザイン設定を解除 */
.gsc-search-box .gsc-input-box,
.gsc-search-box .gsc-input-box-hover,
.gsc-search-box .gsc-input-box-focus {
	border: none !important;
	-webkit-box-shadow: none !important;
	-moz-box-shadow: none !important;
	box-shadow: none !important;
}
.gsc-control-cse {
    padding: 0 !important;
    border: none !important;
    background-color: transparent !important;
}
.gsc-search-box-tools .gsc-search-box .gsc-input {
    padding-right: 0 !important;
    margin-bottom: 0 !important;
    height: 1.8em !important;
    width: 200px !important;
}
.gsc-input-box {
    border: 1px solid #a9a9a9 !important;
}
/* テキストボックスに文字入力したときに出る「×」マークの位置調整 */
.gsc-search-box .gsst_b {
	position: absolute;
	width: 20px;
    top: 0.7em;
    right: 5.5em;
}
.gsib_a {
    padding: 7px 9px 6px 9px;
}

/* 検索ボタンの背景をボタンのように見せかける */
.gsc-search-box .gsc-search-button {
	position: relative;
	background: #A62236;
    border: 1px solid #A62236;
    color: #ffffff;
	cursor: pointer;
    width: 4em !important;
    height: 1.8em !important;
    margin-left: 0 !important;
    text-decoration: none;
	-webkit-transition: all .3s;
	-o-transition: all .3s;
	transition: all .3s;
}
/* 検索ボタンの背景部分にテキストを表示させる */
.gsc-search-box .gsc-search-button:before {
	position: absolute;
	top: 0.4em;
	left: 0.6em;
	content: '検索' !important;
	color: #fff;
	font-size: 16px;
}
.gsc-search-box .gsc-search-button:hover {
    background: #ffffff;
    border: 1px solid #A62236;
    text-decoration: none !important;
}
.gsc-search-box .gsc-search-button:hover:before {
	color: #A62236 !important;
}
/* 検索ボタンを透明化し背景のみを表示させる */
.gsc-search-box button.gsc-search-button-v2,
.gsc-search-box button.gsc-search-button {
	width: 100% !important;
	height: 100% !important;
	padding: 0 !important;
	opacity: 0;
}
.gsc-search-box button.gsc-search-button-v2:before {
    content: none !important;
}
@media screen and (max-width: 768px) {
    .gsc-input-box {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        border-top-left-radius: 0 !important;
        border-bottom-left-radius: 0 !important;
    }
    table.gsc-search-box td {
        display: table-cell;
    }
    .gsc-search-box .gsst_b {
        right: 5em;
    }
}

/* btn
============================================================================================================ */
.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    -webkit-transition: all 0.15s;
	-o-transition: all 0.15s;
	transition: all 0.15s;
    position: relative;
}
.btn:hover {
    cursor:pointer;
}
.btn-block {
    display: block;
    width: 100%;
}
.btn-default {
    background: #A62236;
    border: 1px solid #A62236;
    color: #ffffff;
}
.btn-default:hover,
.btn-default:focus {
    background: #ffffff; 
    border:1px solid #A62236; 
    color:#A62236;
    text-decoration: none !important;
}
.btn-default:active {
    background: #ffffff; 
    border:1px solid #A62236; 
    color:#A62236;
}
.btn-outline-default{
    background:#ffffff; 
    border:1px solid #A62236; 
    color:#A62236;
}
.btn-outline-default:hover {
    background: #A62236; 
    border:1px solid #A62236; 
    color:#ffffff;
    text-decoration: none !important;
}
.btn-group-lg>.btn, .btn-lg {
    padding: .5rem 1rem;
    font-size: 1.25rem;
    line-height: 1.5;
}
main a.btn.pdf:before{
  font-family: "Font Awesome 5 Free";
  content: '\f1c1'; font-weight: 900;
  display:inline-block;
  margin-right:5px;
    -webkit-transition: all .3s;
    transition: all .3s;
    color:#cc0000;
    font-size:1.2em;
}

main a.btn.book:before{
  font-family: "Font Awesome 5 Free";
  content: '\f02d'; font-weight: 900;
  display:inline-block;
  margin-right:5px;
    -webkit-transition: all .3s;
    transition: all .3s;
    color:#A62236;
    font-size:1.2em;
}
main a.btn.book:hover:before,main a.btn:hover:before{color:#ffffff;}

@media screen and (max-width: 768px) {
    .btn {
        white-space: inherit;
    }
}

/* bottom_banner
============================================================================================================ */
.banner_area {
    padding-top: 0 !important;
    padding-bottom: 3rem !important;
}
ul.bottom_banner{list-style-type:none; padding:0; margin:0 -10px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap;}
ul.bottom_banner li{ flex-basis: 50%; max-width:50%;}
ul.bottom_banner li a{ margin:0 5px 10px; display:block;}
ul.bottom_banner li img{border:#cccccc 1px solid;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transition: all .3s;
  transition: all .3s;}
  ul.bottom_banner li a:hover > img{opacity: 0.7;  filter: alpha(opacity=70); -ms-filter: "alpha(opacity=70)";}
  @media (min-width:768px) {
    ul.bottom_banner{flex-wrap:nowrap; margin:0;}
    ul.bottom_banner li a{border:none; margin:0;}
    ul.bottom_banner li img{border:none;border-left:#cccccc 1px solid;}
    ul.bottom_banner li:last-child a img{border-right:#cccccc 1px solid;}
  }


/* footer
============================================================================================================ */
footer{background-color:#A62236; color:#ffffff; margin-bottom:70px;padding: 1.5rem 0;}
/*
footer .footer_intro{display:none;}
footer .footer_menu{display:none;}
*/
footer .footer_intro{display:flex; flex-wrap:wrap;}
footer .footer_menu{display:block;text-align:center;}

footer div.footer_intro a,footer .footer_menu > ul a{color:#ffffff !important;}
footer div.footer_intro a:hover,footer .footer_menu > ul a:hover{text-decoration: underline;}
footer .footer_intro div{border-right:#ffffff 1px solid;flex-basis: 50%; max-width:50%; padding:0 1rem;}
footer .footer_intro div:last-child{border-right:none !important;}
footer .footer_intro div:nth-child(n+2){border-right:none;}
footer .footer_intro div:nth-child(n+3){padding:1rem 0 0; margin-top:1rem; border-top:#ffffff 1px solid;display:flex; flex-direction: column;}
footer .footer_intro div strong{font-weight:normal;}
footer .footer_intro div ul{list-style-type:none; padding:0; font-size:.93rem; margin-bottom:0;}
footer .footer_intro div:nth-child(n+3) ul{padding:0 1rem; flex-grow:1; min-height:0;}
footer .footer_intro div:last-child ul{border-left:#ffffff 1px solid;}
footer .footer_intro div > ul > li{display:block; font-weight:bold; margin-bottom:3px;}
footer .footer_intro div > ul > li > span{display:block;}
footer .footer_intro div:first-child > ul > li > span{width:90px;}
footer .footer_intro div:nth-child(2) > ul > li > span{width:90px;}
footer .footer_intro div > ul > li > ul{display:table-cell; display:none; font-weight:normal;}
footer .container > img{max-width:230px;}
footer .footer_menu > ul{border-top:1px solid #ffffff; border-bottom:1px solid #ffffff; padding:15px 0; margin:20px 0 10px;}
footer .footer_menu div{display:flex; justify-content:center;}
footer .footer_menu div a{width:40px; height:40px; line-height:1; margin:5px 3px;}
footer .footer_menu div a > img{
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
-webkit-transition: all .3s;
transition: all .3s;}
footer .footer_menu div a:hover > img{opacity: 0.7;  filter: alpha(opacity=70); -ms-filter: "alpha(opacity=70)";}
footer .footer_menu + div img{width:230px; padding:15px 5px 0;}
footer a.tel{text-decoration:underline !important;}
footer .footer_intro a[target="_blank"]:after,
footer .footer_menu ul a[target="_blank"]:after{
    font-family: 'Font Awesome 5 Free';
    content: '\f35d';
    font-size: 0.8em;
    margin: 0px 0 0 5px;
    font-weight: 900;
}
footer .footer_menu ul li {display: inline-block;}
footer .footer_menu ul li:not(:last-child) {margin-right: .5rem;}
footer .footer_logo {
    display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: end;
    -webkit-align-items: flex-end;
    -ms-flex-align: end;
    align-items: flex-end;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
}
@media (max-width: 992px) {
  footer .footer_menu + div img{margin-bottom: 13px;}
  footer .footer_logo {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
}
@media (min-width: 576px) {
  footer{margin-bottom:0px;}
  footer a.tel{pointer-events:none; text-decoration:none !important;}
  footer .footer_intro div > ul > li{display:table; font-weight:normal;  margin-bottom:0px;}
  footer .footer_intro div > ul > li > span{display:table-cell;}
  footer .footer_intro div > ul > li > ul{display:table-cell;}
}
@media (min-width:992px) {
  footer{padding: 1.5rem 0;}
  footer .footer_intro{ flex-wrap:nowrap;justify-content: space-between;}
  footer .footer_intro div{flex-grow:1;flex-basis: auto; max-width:auto;}
  footer .footer_intro div:nth-child(n+2){border-right:#ffffff 1px solid;}
  footer .footer_intro div:nth-child(n+3){padding:0 1rem; margin-top:0; border-top:none;}
  footer .footer_intro div:last-child ul{border-left:none;}
  footer .footer_menu > ul{border:none; padding:0; margin:0;}
  footer .footer_menu{border-top:1px solid #ffffff; border-bottom:1px solid #ffffff; padding:15px 0;  display:flex; margin-top:20px; justify-content: space-between; align-items:center;}
  footer .footer_menu div a{width:35px; height:35px; margin:0 0 0 5px;}
  footer .footer_logo {
        -webkit-box-pack: justify;
        -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }
}

/* page_top
============================================================================================================ */
#page_top { position: fixed; bottom: 50px; right:10px; z-index:15;}
#page_top img{width:60px;}
#page_top a{background-color:#cccccc; text-decoration:none; color:#ffffff; display:flex; position: relative; width:40px; height:40px; font-size:1em; justify-content:center; align-items:flex-end; font-weight:500; padding-bottom:2px; font-family: 'Oswald', sans-serif;}
#page_top a:before{
  content: ' ';
  width:0;
  height: 0; display:block;
  position:absolute;
  border:10px solid transparent;
  top:-0.2em;
  margin:auto; left:0; right:0;border-bottom-color:#ffffff;
}

@media (min-width:576px) {
  #page_top a{width:60px; height:60px; font-size:1.1em; padding-bottom:3px;}
  #page_top a:before{border:18px solid transparent; top:-0.5em;border-bottom-color:#ffffff;}
}

/* sp-navi
============================================================================================================ */
#sm_bottom{
    bottom:0; z-index:3;position: fixed;width: 100%;
    display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
}
#sm_bottom a{
    background-color:#000000; color:#ffffff !important; line-height:1.2; border-right:1px dotted #ffffff; padding: 1.8rem .5rem; text-decoration:none;
    display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: end;
    -webkit-align-items: flex-end;
    -ms-flex-align: end;
    align-items: flex-end;
    flex:1;
    text-align: center;
}
#sm_bottom a:last-child{border:none;}
#sm_bottom a i {
    margin-right: .25rem;
}
@media (min-width:576px) {
    #sm_bottom {
        display: none;
    }
}



/* table
============================================================================================================ */
table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
}
table th {
    font-weight: bold;
}
@media (max-width: 767px){
    table th {
        width: 100%;
        display: block;
        border: none;
        text-align: left;
    }
    table td {
        width: 100%;
        display: block;
    }
	.scroll{
		overflow: auto;
		white-space: nowrap;
	}
	.scroll{-webkit-overflow-scrolling:touch;}
    
}
.table {
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}
.table td, .table th {
    padding: .75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
}
.table th {
    font-weight: bold;
}
.table > tbody > tr > th, .table > tbody > tr > td {
    border-top: none;
    border-bottom: 1px solid #ddd;
    vertical-align: middle;
}
.table > thead > tr > th {
    background-color: #fafafa;
}
.table-bordered {
    border: 1px solid #dee2e6;
}
.table-bordered th {
    border: 1px solid #dee2e6;
}
.table-bordered td {
    border: 1px solid #dee2e6;
}
.table-bordered thead td, .table-bordered thead th {
    border-bottom-width: 2px;
}
.table-sm td, .table-sm th {
    padding: .3rem;
}
.table.table_h th {
    background-color: #fafafa;
}
.table.table_h_none > thead {
    display: none;
}
.table.table_h_none > tbody > tr > td:first-child {
    font-weight: bold;
    background-color: #fafafa;
}
table.ten th, table.fifteen th, table.twenty th, table.quarter th, table.thirty th, table.fourty th, table.half th, table.half td {
    width: 100%;
}
table.table_default th, table.table_default td {
    display: table-cell;
    width: inherit;
}
table.table-left-th th {
    background: #fafafa;
}
table.th_center th {
    text-align: center;
}
table.td_center td {
    text-align: center;
}

@media screen and (min-width: 768px) {
    .table.table_h_none > thead {
        display: table-header-group;
    }
    .table.table_h_none > tbody > tr > td:first-child {
        font-weight: normal;
        background-color: #fff;
    }
    table.ten th{width:10%;}
    table.fifteen th{width:15%;}
    table.twenty th{width:20%;}
    table.quarter th{width:25%;}
    table.thirty th{width:30%;}
    table.fourty th{width:40%;}
    table.half th,table.half td{width:50%;}
}
@media screen and (max-width: 768px) {
    table.sp_th_left th {
        text-align: left !important;
    }
	table.scroll-table {
		width: 100%;
		table-layout:auto;
	}
	.scroll{
		overflow: auto;
		white-space: nowrap;
	}
	.scroll{-webkit-overflow-scrolling:touch;}
}



/* list
============================================================================================================ */
ul.note li{border-bottom:#aaaaaa 1px dotted;  padding:5px 5px 5px 8px;}
ul.s_dot{list-style-type:none; padding-left:1em; margin-bottom: 1rem;}
ul.s_dot li{ position: relative;}
ul.s_dot li:before {
  display: inline-block;
  content: '・';
  position: absolute;
  left: -1em;
}
ul.dot,
ul.file{list-style-type:none; padding:0 0 0 20px;margin-bottom: 1rem;}
ul.dot li{ position: relative;}
ul.dot li::after {
  display: block;
  content: '';
  position: absolute;
  top: .5em;
  left: -1.1em;
  width: 12px;
  height: 12px;
  background-color:#A62236;
  border-radius: 100%;
}
ul.dot li ol li::after {display: none;}
ol.num {
	counter-reset: num;
	list-style-type: none;
	padding-left: 0;
}
ol.num li {
	text-indent: -1.3em;
	padding-left: 1.3em;
}
ol.num li:before {
	counter-increment: num;
	content: counter(num)'.';
	padding-right: .3em;
}
ul.list-unstyled > li.pdf a{position: relative;}
ul.list-unstyled > li.pdf a::before{
    font-family: "Font Awesome 5 Free";
    content: '\f1c1'; font-weight: 900;
    display:inline-block;
    margin-right:5px;
      -webkit-transition: all .3s;
      transition: all .3s;
      color:#cc0000;
      font-size:1.2em;
  }
ul.list_indent_brackets li {
    text-indent: -3.5em;
    padding-left: 3.5em;
}
ul.comment li {
	text-indent: -1em;
	padding-left: 1em;
}
a.pdf:not(.btn)::before{
    font-family: "Font Awesome 5 Free";
    content: '\f1c1'; font-weight: 900;
    display:inline-block;
    margin-right:5px;
      -webkit-transition: all .3s;
      transition: all .3s;
      color:#cc0000;
      font-size:1.2em;
  }
ol.alpha{list-style-type:upper-alpha;}

p.dot,span.dot { padding:0 0 0 1em;margin-bottom: 1rem; position: relative;}
p.dot:after,span.dot:after {
  display: block;
  content: '';
  position: absolute;
  top: .5em;
  left: 0;
  width: 12px;
  height: 12px;
  background-color:#A62236;
  border-radius: 100%;
}

/* file_icon
============================================================================================================ */
/* PDF */
.file a[href$=".pdf"]:before{
  font-family: "Font Awesome 5 Free";
  content: '\f1c1'; font-weight: 900;
  display:inline-block;
  margin-right:5px;
    -webkit-transition: all .3s;
    transition: all .3s;
    color:#cc0000;
    font-size:1.2em;
}

/* word */
.file a[href$=".doc"]:before,.file a[href$=".docx"]:before{
  font-family: "Font Awesome 5 Free";
  content: '\f1c2'; font-weight: 900;
  display:inline-block;
  margin-right:5px;
    -webkit-transition: all .3s;
    transition: all .3s;
    color:#2d5c9f;
    font-size:1.2em;
}

/* excel */
.file a[href$=".xls"]:before,.file a[href$=".xlsx"]:before{
  font-family: "Font Awesome 5 Free";
  content: '\f1c3'; font-weight: 900;
  display:inline-block;
  margin-right:5px;
    -webkit-transition: all .3s;
    transition: all .3s;
    color:#23784a;
    font-size:1.2em;
}

/* iphone reset
============================================================================================================ */
@media screen and (max-width: 768px) {
    input,
    textarea{
        border-radius: 0;
        -webkit-appearance: none;
    }
    input[type="submit"],
    input[type="button"] {
      border-radius: 0;
      -webkit-box-sizing: content-box;
      -webkit-appearance: button;
      appearance: button;
      border: none;
      box-sizing: border-box;
      cursor: pointer;
    }
    input[type="submit"]::-webkit-search-decoration,
    input[type="button"]::-webkit-search-decoration {
      display: none;
    }
    input[type="submit"]::focus,
    input[type="button"]::focus {
      outline-offset: -2px;
    }
}

/* img float
============================================================================================================ */
.img-fr {
    float: none;
    width: 100%;
    margin-bottom: 1em;
}
.img-fl {
    float: none;
    width: 100%;
    margin-bottom: 1em;
}
.img-fr img,.img-fl img {
    max-width: 100%;
    height: auto;
}
@media (min-width:768px) {
    .img-fr {
        float: right;
        width: 31.5%;
        margin-left: 3.5%;
    }
    .img-fl {
        float: left;
        width: 31.5%;
        margin-right: 3.5%;
    }
}

/* ページャー*/
.pagination{
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: .25rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}
.page-link{;border: 2px solid #cccccc;position: relative;display: block;padding: .5rem .75rem;line-height: 1.25;}
.pagination li{margin-right:5px;}
.pagination li:last-child{margin-right:0px;}
.pagination li:first-child .page-link,
.pagination li:last-child .page-link{border-radius:0;}
.pagination li.active .page-link {background-color: #A62236; border-color: #A62236; }
.pagination li a{text-decoration:none;}
.pagination li a:hover {background: #dee2e6;}
.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover{background-color:#A62236; border-color:#A62236; color:#ffffff;}
.page-link:focus {box-shadow: 0 0 0 .2rem rgba(123,123,123,.25);}


/* 前の記事次の記事*/
.single .pagination {
	-webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-top: 5rem;
}
.single .pagination li{border:none; padding:0; flex:1;line-height: 1.25;}
.single .pagination li:hover{background-color:transparent;}
.single .pagination a{position: relative; display:block; font-size:85%; margin:0 5px 5px; padding:.5em; border-bottom:2px solid #A62236; text-decoration:none;text-align: left;}
.single .pagination a:hover{background-color:#eeeeee; text-decoration:none;}
.single .pagination .all a{border:none; border:#A62236 1px solid; background-color:#ffffff; color:#A62236 !important; padding:.5em 1.3em; line-height:1; text-align:center; display: inline-block;}
.single .pagination .all a:hover{color:#ffffff !important; background-color:#A62236;}
.single .pagination .next a{padding-left:1.5rem;}
.single .pagination .old a{padding-right:1.5rem; display:flex; justify-content: end;}
.single .pagination a:before{
  display: block;
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  margin:auto;
  box-sizing: border-box;
}
.single .pagination .next a:before{
  top: 0; bottom:0;
  left:-0.3em;
  border:10px solid transparent;
  border-right-color:#A62236;
}
.single .pagination .old a:before{
  top: 0; bottom:0;
  right:-0.3em;
  border:10px solid transparent;
  border-left-color:#A62236;
}
.single div.topics span{margin-left: 0px; margin-right:5px;}
@media (min-width:768px) {
    .single .pagination {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-align: end;
        -webkit-align-items: flex-end;
        -ms-flex-align: end;
        align-items: flex-end;
    }
  .single .pagination .all{ max-width:124px !important; flex-basis: 124px !important;}
  .single .pagination .all a{ display: block;}
}
@media (min-width: 992px) {
  .single .pagination a{margin-bottom:0;}
}

/* ページ内リンクの位置調整 */
.anchor{
    padding-top: 50px;
    margin-top: -50px;
}