/*
File Name: common.css
Version: 3.0
*/

html {
overflow: auto;
}

body {
background-color: #fbfbf8;
color: #606058;
font-family: "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, "メイリオ", Meiryo, sans-serif;
font-size: 62.5%;
line-height: 1.0;
min-height: 100vh;
overflow-x: auto;
overflow-y: scroll;
}

body {
-webkit-text-size-adjust: 100%;
}

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

span.phrase,
span.wbr {
display: inline-block;
white-space: nowrap;
}

span.phr,
span.wd {
display: inline-block;
margin-right: 0.5em;
white-space: nowrap;
}

@media (max-width: 639px) {

span.phrase {
display: inline;
white-space: normal;
}

span.phr,
span.wd {
display: inline;
white-space: normal;
}

}


/*** #contents ***/

#contents {
height: auto;
width: 100%;
background: url("../uploads/bg_content.jpg");
min-height: 100vh;
min-width: 320px;
overflow: hidden;
position: relative;
z-index: 1;
}

#contents::before {
bottom: 0;
height: 100%;
left: 0;
right: 0;
top: 0;
width: 100%;
background-color: #ffffff;
content: '';
display: block;
opacity: 1;
position: absolute;
transition: opacity 0.7s;
z-index: 9999;
}

#contents.active::before {
bottom: 0;
height: 100%;
left: 0;
right: 0;
top: 0;
width: 100%;
opacity: 0;
pointer-events: none;
}


/*** header ***/

#header {
background-color: rgba(251,251,248,0.9);
color: #303028;
height: auto;
width: 100%;
z-index: 1000;
}

#header > .inner {
margin: 0 auto;
max-width: 1200px;
padding: 10px 30px;
position: relative;
width: 100%;
}

#header > .inner > .box1 {
height: auto;
position: relative;
width: 250px;
z-index: 1001;
}

#header > .inner > .box1 > .lnk {
display: block;
}

#header > .inner > .box1 > .lnk > .phd {
height: 0;
overflow: hidden;
text-indent: 100%;
white-space: nowrap;
}

#header > .inner > .box1 > .lnk > .shd {
font-size: 1.2em;
margin-bottom: 10px;
}

#header > .inner > .box1 > .lnk > .img {
height: auto;
display: block;
width: 100%;
}

#header > .inner > .box2 {
display: block;
height: 80px;
right: 30px;
position: absolute;
top: 0;
width: calc(100% - 270px);
z-index: 1003;
}

#header > .inner > .box2 > .inner {
height: auto;
left: 0;
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 100%;
}

#header > .inner > .box2 > .inner .lst {
align-items: center;
display: flex;
flex-wrap: wrap;
height: auto;
justify-content: flex-end;
width: 100%;
}

#header > .inner > .box2 > .inner .lst > .col1 {
height: auto;
order: 3;
margin-top: 5px;
width: 100%;
}

#header > .inner > .box2 > .inner .lst > .col2 {
height: auto;
order: 1;
width: auto;
}

#header > .inner > .box2 > .inner .lst > .col3 {
height: auto;
margin-left: 15px;
order: 2;
width: auto;
}

#header > .inner > .box2 > .inner .lst > [class^=col] > a {
display: none;
}

#header > .inner > .box2 > .inner .lst > [class^=col] > .sub-menu {
align-items: center;
display: flex;
height: auto;
justify-content: flex-end;
width: 100%;
}

#header > .inner > .box2 > .inner .lst > .col1 > .sub-menu > .itm {
font-size: 1.4em;
padding: 5px;
}

#header > .inner > .box2 > .inner .lst > .col1 > .sub-menu > .itm > .lnk {
position: relative;
transition: .3s;
}

#header > .inner > .box2 > .inner .lst > .col1 > .sub-menu > .itm > .lnk::after {
background-color: #606060;
bottom: -5px;
content: '';
height: 2px;
left: 50%;
position: absolute;
width: 0;
transform: translateX(-50%);
transition: .3s;
}

#header > .inner > .box2 > .inner .lst > .col1 > .sub-menu > .itm > .lnk:hover::after {
width: 100%;
}

#header > .inner > .box2 > .inner .lst > .col2 > .sub-menu > .itm {
font-size: 1.2em;
padding: 0 5px;
}

#header > .inner > .box2 > .inner .lst > .col2 > .sub-menu > .itm > .lnk:hover {
opacity: .6;
}

#header > .inner > .box2 > .inner .lst > .col2 > .sub-menu > .itm:last-of-type,
#header > .inner > .box2 > .inner .lst > .col2 > .sub-menu > .itm:last-of-type {
padding-right: 0;
}

#header > .inner > .box2 > .inner .lst > .col2 > .sub-menu > .itm:nth-of-type(n+3) {
border-left: 1px solid #808080;
}

#header > .inner > .box2 > .inner .lst > .col2 > .sub-menu > .itm:last-of-type {
border-left: none;
}

#header > .inner > .box2 > .inner .lst > .col2 > .sub-menu > .itm:nth-of-type(1) {
background-color: #9fc24d;
border-radius: 20px;
color: #ffffff;
margin: 0 5px;
padding: 5px;
}

#header > .inner > .box2 > .inner .lst > .col1 > .sub-menu > .itm7 {
height: auto;
width: 100px;
}

#header > .inner > .box2 > .inner .lst > .col1 > .sub-menu > .itm7 > a {
background-color: #68a4d9;
border-radius: 3px;
color: #ffffff;
display: block;
padding: 7px 0;
text-align: center;
}

#header > .inner > .box2 > .inner .lst > .col1 > .sub-menu > .itm7 > a::after {
display: none;
}

#header > .inner > .box2 > .inner .lst > .col1 > .sub-menu > .itm7 > a:hover {
opacity: 0.6;
}

#header > .inner > .box2 > .inner .lst > .col3 > .wpml-ls-legacy-list-horizontal {
border: none;
padding: 0;
}

#header > .inner > .box2 > .inner .lst > .col3 > .wpml-ls-legacy-list-horizontal ul {
display: flex;
}

#header > .inner > .box2 > .inner .lst > .col3 > .wpml-ls-legacy-list-horizontal ul li {
background-color: #d0d0d0;
display: block;
flex: 1;
font-size: 1.2em;
padding: 5px 10px;
text-align: center;
white-space: nowrap;
}

#header > .inner > .box2 > .inner .lst > .col3 > .wpml-ls-legacy-list-horizontal ul li.wpml-ls-current-language {
background-color: #606058;
color: #fbfbf8;
}

#header > .inner > .box2 > .inner .lst > .col3 > .wpml-ls-legacy-list-horizontal ul li a {
padding: 0;
}

#header > .inner > .box2 > .inner .lst > .col3 > .wpml-ls-legacy-list-horizontal ul li a:hover{
opacity: 0.6;
}

#header > .inner > .box3 {
display: none;
height: 16px;
right: 20px;
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 20px;
z-index: 1105;
}

#header > .inner > .box3 > .lnk {
height: 100%;
width: 100%;
display: block;
position: relative;
}

#header > .inner > .box3 > .lnk.hov {
transition: opacity 0.35s;
}

#header > .inner > .box3 > .lnk.hov:hover {
opacity: 0.5;
}

#header > .inner > .box3 > .lnk > .bar {
background-color: #303028;
height: 2px;
display: block;
left: 0;
position: absolute;
top: calc(50% - 1px);
transition: background-color 0.35s;
width: 100%;
}

#header > .inner > .box3 > .lnk > .bar::before {
background-color: #303028;
content: '';
height: 2px;
display: block;
left: 0;
position: absolute;
top: -7px;
transition: 0.35s;
width: 100%;
}

#header > .inner > .box3 > .lnk > .bar::after {
background-color: #303028;
content: '';
height: 2px;
display: block;
left: 0;
position: absolute;
top: 8px;
transition: 0.35s;
width: 100%;
}

#header > .inner > .box3 > .lnk.active > .bar {
background-color: transparent;
}

#header > .inner > .box3 > .lnk.active > .bar::before {
background-color: #303028;
top: 0;
transform: rotate(135deg);
}

#header > .inner > .box3 > .lnk.active > .bar::after {
background-color: #303028;
top: 0;
transform: rotate(225deg);
}

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

#header > .inner > .box2 {
background-color: rgba(255, 255, 255, 0.9);
border-bottom: 2px solid #f0f0f0;
border-left: 2px solid #f0f0f0;
height: 100vh;
overflow: hidden;
right: 0;
transform: translateX(100%);
transition: transform .35s;
width: 250px;
}

#header > .inner > .box2.active {
transform: translateX(0);
}

#header > .inner > .box2 > .inner {
height: 100%;
left: auto;
padding: 0 10px;
position: static;
top: auto;
transform: translate(0,0);
}

#header > .inner > .box2 > .inner > .lst {
height: 100%;
flex-direction: column;
justify-content: center;
}

#header > .inner > .box2 > .inner > .lst > .col1 {
margin-top: 0;
order: 1;
}

#header > .inner > .box2 > .inner > .lst > .col2 {
order: 2;
width: 100%;
}

#header > .inner > .box2 > .inner > .lst > .col3 {
margin-left: 0;
order: 3;
width: 100%;
}

#header > .inner > .box2 > .inner > .lst > [class^=col] > .sub-menu {
flex-wrap: wrap;
}

#header > .inner > .box2 > .inner > .lst > [class^=col] > .sub-menu .itm {
font-size: 1.2em;
margin-bottom: 20px;
padding: 0;
text-align: center;
width: 100%;
}

#header > .inner > .box2 > .inner > .lst > .col1 > .sub-menu .itm a:hover {
opacity: 0.6;
}

#header > .inner > .box2 > .inner > .lst > .col1 > .sub-menu .itm a:hover::after {
width: 0;
}

#header > .inner > .box2 > .inner .lst > .col1 > .sub-menu > .itm7 {
display: none;
}

#header > .inner > .box2 > .inner > .lst > .col2 {
}

#header > .inner > .box2 > .inner .lst > .col1 > .sub-menu > .itm:first-of-type,
#header > .inner > .box2 > .inner .lst > .col1 > .sub-menu > .itm:last-of-type,
#header > .inner > .box2 > .inner .lst > .col2 > .sub-menu > .itm:nth-of-type(3) {
border-bottom: 1px solid #303028;
padding-bottom: 20px;
}

#header > .inner > .box2 > .inner .lst > .col2 > .sub-menu > .itm:nth-of-type(n+3) {
border-left: none;
}

#header > .inner > .box2 > .inner .lst > .col2 > .sub-menu > .itm:nth-of-type(1) {
background-color: transparent;
border-radius: 0;
color: inherit;
margin: 0 0 20px;
padding: 0;
}

#header > .inner > .box3 {
display: block;
}
}

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

#header > .inner {
padding: 10px 15px;
}

#header > .inner > .box1 {
width: 200px;
}

#header > .inner > .box1 > .lnk > .shd {
font-size: 1em;
}

#header > .inner > .box2 > .inner > .lst > [class^=col] > .sub-menu .itm {
font-size: 1.2em;
margin-bottom: 15px;
}

#header > .inner > .box2 > .inner .lst > .col1 > .sub-menu > .itm:first-of-type,
#header > .inner > .box2 > .inner .lst > .col1 > .sub-menu > .itm:last-of-type,
#header > .inner > .box2 > .inner .lst > .col2 > .sub-menu > .itm:nth-of-type(3) {
padding-bottom: 15px;
}

#header > .inner > .box3 {
height: 12px;
right: 15px;
width: 15px;
}
#header > .inner > .box3 > .lnk > .bar::before {
top: -5px;
}

#header > .inner > .box3 > .lnk > .bar::after {
top: 6px;
}

}


/*** #banner ***/

#banner.type1 {
height: auto;
overflow: hidden;
width: 100%;
}

#banner.type1 > .inner  {
height: auto;
width: 100%;
}

#banner.type1 > .inner > .box1  {
height: auto;
width: 100%;
}

#banner.type1 > .inner > .box1 > .lst {
height: auto;
width: 100%;
}

#banner.type1 > .inner > .box1 > .lst > [class*=itm]  {
height: auto;
width: 100%;
}

#banner.type1 > .inner > .box1 > .lst > [class*=itm] > .box1  {
height: auto;
width: 100%;
}

#banner.type1 > .inner > .box1 > .lst > [class*=itm] > .box1 > .img {
display: block;
height: auto;
width: 100%;
}

#banner.type1 > .inner > .box1 > .lst > [class*=itm] > .box2 {
height: auto;
left: 50%;
max-width: 991px;
padding: 15px;
position: absolute;
top: 50%;
transform: translate(-50%, -50%);
width: auto;
}

#banner.type1 > .inner > .box1 > .lst > [class*=itm] > .box2  {
height: auto;
width: 100%;
}

#banner.type1 > .inner > .box1 > .lst > [class*=itm] > .box2 .phd {
color: #303030;
font-size: 2.5em;
height: auto;
line-height: 1.5;
margin-bottom: 0.5em;
text-shadow: 1px 1px #ffffff;
width: 100%;
}

#banner.type1 > .inner > .box1 > .lst > [class*=itm] > .box2 .par {
color: #303030;
font-size: 1.4em;
height: auto;
line-height: 1.5;
text-shadow: 1px 1px #ffffff;
width: 100%;
}

#banner.type1 > .inner > .box1 > .lst > .itm6 > .box2 > .inner {
background-color: rgba(0, 96, 255, 0.6);
max-width: 600px;
padding: 15px;
}

#banner.type1 > .inner > .box1 > .lst > .itm6 > .box2 > .inner > .phd {
color: #ffffff;
font-size: 2em;
text-shadow: none;
}

#banner.type1 > .inner > .box1 > .lst > .itm6 > .box2 > .inner > .par {
color: #ffffff;
text-shadow: none;
}

@media (max-width: 991px) {

#banner.type1 > .inner > .box1 > .lst > [class*=itm] > .box2 .phd {
font-size: 2em;
}

#banner.type1 > .inner > .box1 > .lst > [class*=itm] > .box2 .par {
font-size: 1.3em;
}

}

@media (max-width: 639px) {

#banner.type1 {
margin-left: -37.5%;
margin-right: -37.5%;
height: auto;
width: 175%;
}

#banner.type1 > .inner > .box1 > .lst > [class*=itm] > .box2 {
width: 57.14%;
}

#banner.type1 > .inner > .box1 > .lst > .itm6 > .box2 > .inner {
padding: 10px;
}

#banner.type1 > .inner > .box1 > .lst > [class*=itm] > .box2 .phd {
font-size: 1.6em;
}

#banner.type1 > .inner > .box1 > .lst > [class*=itm] > .box2 .par {
font-size: 1.2em;
}

}

#banner.type2 {
background-color: #e8e8e0;
height: auto;
margin-bottom: 30px;
position: relative;
width: 100%;
}

#banner.type2 > .inner {
background-position: center center;
background-size: cover;
background-repeat: no-repeat;
height: 25vh;
margin: 0 auto;
max-width: 1200px;
min-height: 250px;
position: relative;
width: 100%;
}

#banner.type2 > .inner > .phd {
font-size: 2.5em;
left: 30px;
position: absolute;
text-shadow: 1px 1px 2px #e8e8e0, -1px 1px 2px #e8e8e0, 1px -1px 2px #e8e8e0, -1px -1px 2px #e8e8e0;
top: 70%;
transform: translate(0, -30%);
}

#banner.type2 > .inner > .par {
font-size: 1.0em;
left: 30px;
position: absolute;
top: 10px;
width: calc(100% - 60px);
}

@media (max-width: 991px) {

#banner.type2 > .inner {
background-position: right center;
}

#banner.type2 > .inner > .phd {
font-size: 2.0em;
}

}

@media (max-width: 639px) {

#banner.type2 {
margin-bottom: 15px;
}

#banner.type2 > .inner > .phd {
left: 15px;
}

#banner.type2 > .inner > .par {
left: 15px;
}

}


/*** main ***/

#main {
height: auto;
margin-bottom: 60px;
width: 100%;
}

#main > .inner {
height: auto;
width: 100%;
}

@media (max-width: 639px) {

#main {
margin-bottom: 30px;
}

}

/*** tail ***/

#tail {
height: auto;
margin-bottom: 60px;
width: 100%;
}

#tail > .inner {
height: auto;
width: 100%;
}

#tail > .inner > .sec1 {
height: auto;
padding: 0 15px;
width: 100%;
}

#tail > .inner > .sec1 > .inner {
align-items: center;
background-color: #807060;
border-radius: 10px;
display: flex;
margin: 0 auto;
max-width: 740px;
padding: 15px;
width: 100%;
}

#tail > .inner > .sec1 > .inner > p:first-of-type {
width: 100px;
}

#tail > .inner > .sec1 > .inner > p:first-of-type > img {
display: block;
height: 100px;
margin: 0 auto;
width: 100px;
}

#tail > .inner > .sec1 > .inner > p:nth-of-type(2) {
color: #ffffff;
font-size: 1.2em;
line-height: 1.5;
margin: 0 15px;
width: calc(100% - 250px);
}

#tail > .inner > .sec1 > .inner > p:nth-of-type(2) strong {
display: inline-block;
font-size: 1.8em;
margin-bottom: 0.5em;
}

#tail > .inner > .sec1 > .inner > p:last-of-type {
color: #ffffff;
width: 120px;
}

#tail > .inner > .sec1 > .inner > p:last-of-type a {
background-color: #e06900;
border-radius: 5px;
color: #ffffff;
display: inline-block;
font-size: 1.2em;
line-height: 1.5;
padding: 10px;
text-align: center;
width: 100%;
}

#tail > .inner > .sec1 > .inner > p:last-of-type a:hover {
opacity: 0.6;
}

@media (max-width: 639px) {

#tail {
margin-bottom: 30px;
}

#tail > .inner > .sec1 {
padding: 15px;
}

#tail > .inner > .sec1 > .inner {
display: block;
max-width: 400px;
}

#tail > .inner > .sec1 > .inner > p:first-of-type {
margin: 0 auto 15px;
}

#tail > .inner > .sec1 > .inner > p:nth-of-type(2) {
margin: 0 0 15px;
text-align: center;
width: 100%;
}

#tail > .inner > .sec1 > .inner > p:nth-of-type(2) strong {
font-size: 1.4em;
}

#tail > .inner > .sec1 > .inner > p:last-of-type {
margin: 0 auto 15px;
width: 120px;
}

}


/*** footer ***/

#footer {
background-color: #e8e8e0;
border: 1px solid #e8e8e0;
color: #606058;
height: auto;
width: 100%;
}

#footer > .inner {
height: auto;
margin: 0 auto;
max-width: 1200px;
width: 100%;
}

#footer > .inner > .box1 {
height: auto;
width: 100%;
padding: 30px;
}

#footer > .inner > .box1 > .lst {
display: flex;
flex-wrap: wrap;
height: auto;
width: 100%;
}

#footer > .inner > .box1 > .lst > [class*=col] {
flex: 1;
height: auto;
padding: 25px;
width: auto;
}

#footer > .inner > .box1 > .lst > [class*=col] > a {
display: block;
font-size: 1.4em;
font-weight: bold;
margin-bottom: 0.5em;
}

#footer > .inner > .box1 > .lst > .col2 > a {
visibility: hidden;
}

#footer > .inner > .box1 > .lst > [class*=col] > a::before {
content: '\f0ac';
display: inline-block;
font-family: 'Font Awesome 5 Free';
font-weight: bold;
margin-right: 0.5em;
}

#footer > .inner > .box1 > .lst > [class*=col] > .sub-menu {
height: auto;
width: 100%;
}

#footer > .inner > .box1 > .lst > [class*=col] > .sub-menu > .itm {
height: auto;
font-size: 1.2em;
margin-bottom: 0.5em;
width: 100%;
}

#footer > .inner > .box2 {
bottom: 10px;
height: 36px;
position: fixed;
right: 10px;
width: 36px;
z-index: 10000;
}

#footer > .inner > .box2 > .lnk {
background-color: #807060;
border-radius: 50%;
color: #ffffff;
display: block;
font-family: 'Font Awesome 5 Free';
font-size: 1.6em;
height: 100%;
text-align: center;
padding: 10px;
width: 100%;
}

#footer > .inner > .box3 {
height: auto;
padding: 15px;
width: 100%;
}

#footer > .inner > .box3 > .par {
font-size: 1.2em;
height: auto;
line-height: 1.5;
text-align: center;
width: 100%;
}



@media (max-width:991px) {

#footer > .inner > .box1  {
display: none;
}

}

@media (max-width:639px) {

#footer > .inner > .box3 > .par {
font-size: 1.0em;
}

}

#modal {
background-color: rgba(36,36,36,0.9);
display: none;
height: 100vh;
left: 0;
position: fixed;
width: 100vw;
top: 0;
z-index: 10001;
}

#modal > .inner {
height: 100%;
position: relative;
width: 100%;
}

#modal > .inner > .frm {
background-color: rgba(104,164,217,0.9);
border-radius: 5px;
height: auto;
left: 50%;
max-width: 280px;
padding: 30px;
position: absolute;
top: 50%;
width: 100%;
transform: translate(-50%, -50%);
}

#modal > .inner > .frm > .phd {
color: #ffffff;
font-size: 2.0em;
margin-bottom: 1.0em;
text-align: center;
}

#modal > .inner > .frm > .lst > .itm {
height: auto;
width: 100%;
}

#modal > .inner > .frm > .lst > .itm {
color: #ffffff;
font-size: 1.4em;
height: auto;
margin-bottom: 1.0em;
width: 100%;
}

#modal > .inner > .frm > .lst > .itm > .ipt {
border: none;
color: #606058;
height: auto;
margin-bottom: 1.0em;
font-size: 1.2em;
padding: 0.5em;
width: 100%;
}

#modal > .inner > .frm > .lst > .itm > .ipb {
-webkit-appearance: none;
appearance: none;
background-color: #ff6600;
border: 0;
border-radius: 0;
color: #ffffff;
cursor: pointer;
font-size: 1.2em;
height: auto;
padding: 0.5em;
width: 100%;
}
