@charset "UTF-8";

/*********************
COLOR
*********************/

a {
    transition: .2s ease-out;
    color: #000;
}

a:hover {
    color: #999;
}
a.outlink:after,
.outlink a:after {
    font-family: "Font Awesome 5 Free";
    text-decoration: none;
    font-weight: 900;
    content: '\f35d';
    font-size: 12px;
    margin-left: 5px;
    opacity: .4;
}

.color-red {
    color: #dc143c;
}
.color-blue {
    color: #3776b8;
}
.color-purple {
    color: #9370db;
}
.color-white {
    color: white;
}
.color-yellow {
    color: yellow;
}
.color-orange {
    color: #e5a319;
}
.color-brown {
    color: #734c2d;
}
.color-green {
    color: #6dba37;
}
.color-gray {
    color: #666;
}
.marker {
    background: linear-gradient(transparent 50%, #ffff66 50%);
}

.bg-gray {
    background-color: #f1f1f1 !important;
}
.bg-dark {
    background-color: #222 !important;
}

.bg-white {
    background-color: white !important;
}

.bg-blue {
    background-color: #ebfbff !important;
}

.bg-orange {
    background-color: #e5a319 !important;
}

/*********************
BUTTON
*********************/

a.btn,
a.btn.small {
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    min-width: 10em;
    padding: .7em 1.5em;
    margin: 10px 0;
    text-align: center;
    border-radius: 3px;
    box-shadow: 0 2px 20px rgba(0,0,0,.1);
    color: white;
    background-color: #363636;
}
a.btn.full {
    width: 100%;
    padding: 1.3em;
}
a.btn.small {
    font-size: .8em;
    padding: .6em 1.2em;
}
a.btn:after {
    font-family: "Font Awesome 5 Free";
    text-decoration: none;
    font-weight: 900;
    content: '\f105';
    margin-left: 7px;
}
a.btn.outlink:after {
    font-family: "Font Awesome 5 Free";
    text-decoration: none;
    font-weight: 900;
    content: '\f35d';
    font-size: .9em;
    margin-left: 10px;
    opacity: .6;
}

a.btn:hover {
    background: #666;
}

a.btn.yellow {
    background: #c2912c;
}
a.btn.yellow:hover  {
    background: #e5a319;
}
a.btn.blue {
    background: #2692a8;
}
a.btn.blue:hover  {
    background: #4ebfd7;
}

a.btn.list:after {
    content: none;
    margin-left: 0;
}
a.btn.list:before {
    font-family: "Font Awesome 5 Free";
    text-decoration: none;
    font-weight: 900;
    content: '\f03a';
    margin-right: 7px;
}


@media screen and (min-width: 481px) {
    .btns-wrapper a.btn {
        margin: 0 10px 0 0;
    }
    .btns-wrapper a.btn:last-child {
        margin: 0;
    }
    a.btn.large {
        padding: 1.3em 2.4em;
    }
}
@media screen and (max-width: 480px) {
    a.btn,
    span.btn-under {
        display: block;
        width: 90%;
        margin: 15px auto;
        padding: 1em 2em;
    }
    a.btn.small {
        display: inline-block;
        font-size: .9em;
        width: auto;
    }
}


/*********************
ELEMENTS
*********************/

body {
    font-family: "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", Verdana, "メイリオ", Meiryo, sans-serif;
    font-weight: 500;
    color: black;
    position: relative;
}

h2.title {
    margin: 0 0 1.8em;
    padding: 0;
    line-height: 1;
}
h3.title {
    font-weight: bold;
    font-size: 1.3em;
    padding: 0;
    margin: 0 0 15px;
}
h4.title {
    font-weight: bold;
    padding: 0;
    margin: 0 0 15px;
}
h3.title.border {
    border-bottom: 1px solid #666;
    padding-bottom: 5px;
}
h4.title.border {
    border-bottom: 2px solid #EEE;
    padding-bottom: 5px;
    color: #666;
}

h2.title span.jp,
h3.title span.jp {
    font-size: 1.2em;
    margin: 0 5px 0 0;
    display: inline-block;
}
h2.title span.en,
h3.title span.en {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: normal;
    font-size: .6em;
    margin: 0;
    padding: 0;
    display: inline-block;
}

hr.hr-sp {
    display: none;
}

@media screen and (min-width: 991px) {
    body {
        font-size: 15px;
    }
    section.content-wrapper {
        padding: 80px 0;
    }
    section.content-wrapper-narrow {
        padding: 60px 0;
    }
    h3.title span.en {
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 990px) {
    html {
        height: 100%;
    }
    body {
        font-size: 14px;
        height: 100%;
    }
    section.content-wrapper {
        padding: 50px 0;
    }
    section.content-wrapper-narrow {
        padding: 50px 0;
    }
}

@media screen and (max-width: 680px) {
    html {
        height: 100%;
    }
    body {
        font-size: 12px;
        height: 100%;
    }
    section.content-wrapper {
        padding: 40px 0;
    }
    section.content-wrapper-narrow {
        padding: 40px 0;
    }
    h2 {
        font-size: 1.8em;
    }
    h2.page-title {
        padding: 30px 0 20px;
    }
    h2.page-title .jp {
        font-size: 3em;
    }

    h2.title span.jp,
    h3.title span.jp {
        font-size: 18px;
    }
    h2.title span.en,
    h3.title span.en {
        font-size: 11px;
        opacity: .6;
    }
    h3.title {
        margin: 0 0 10px;
    }
}

h5 {
    font-size: .85em;
}


th {
    text-align: left;
}

dt {
    font-weight: bold;
}

dd {
    margin: 0 0 30px;
}

section p.paragraph,
section div.paragraph,
p.caption {
    line-height: 1.9;
}

em {
    font-style: normal;
    font-weight: bolder;
}

ul,
ol,
li {
    padding: 0;
    margin: 0;
}

ul.list {
    list-style: none;
}
ul.list > li {
    padding: .4em 0;
}

ul.list-disc {
    margin-left: 1.5em;
}
ol {
    margin-left: 2em;
}

ul.list-disc li {
    list-style: disc;
    list-style-position: outside;
    margin-bottom: 10px;
}
ul.list-disc.narrow li {
    margin-bottom: 5px;
}
ul.list-disc li:last-child {
    margin-bottom: 0;
}

ol li {
    list-style-position: outside;
    margin-bottom: 1em;
}

ul.list-disc-small {
    margin-left: 1em;
    font-size: 0.86em;
}

ul.list-disc-small li {
    list-style: circle;
    list-style-position: outside;
    margin-bottom: 1em;
}

ol.list {
    margin-left: 2.4em;
    margin-top: 0.2em;
}

ol.list li {
    margin-bottom: 10px;
}

img.img100 {
    width: 100%;
}

img.circle {
    border-radius: 50%;
}

.data table,
table.data {
    width: 100%;
    background: white;
}
.bg-secondary .data table,
.bg-secondary table.data {
    background: transparent;
}
.data table tr,
table.data tr {
    border-top: 1px solid #DDD;
}
.data table tr:last-child,
table.data tr:last-child {
    border-bottom: 1px solid #DDD;
}

.data table td,
.data table th,
table.data td,
table.data th {
    padding: 1.4em 1em;
    text-align: left;
    border-right: 1px dashed #CCC;
}
.data table th,
table.data th{
    font-weight: bold;
}
.data table thead th,
table.data thead th {
    background: #222;
    color: white;
    border-right: 1px solid #cbe0ef;
}
.data table th:last-child,
table.data td:last-child {
    border-right: none;
}

table.data.center td,
table.data.center th {
    text-align: center;
}

table.stripe tr:nth-child(even) {
    background: #FAFAFA;
}

hr {
    height: 0;
    margin: 0;
    padding: 0;
    border: none;
}
hr.style01 {
    margin: 0 auto;
    display: block;
    border: 1px solid black;
    height: 5px;
    width: 90%;
}

hr.style02 {
    margin: 4em auto;
    display: block;
    border: 1px solid black;
    height: 5px;
    width: 100%;
}

@media screen and (max-width: 680px) {
    hr.style02 {
        margin: 2em auto;
    }
    table.data td,
    table.data th {
        text-align: left;
    }
    table.data.sp-row td,
    table.data.sp-row th {
        display: block;
    }
    
    table.stripe tr:nth-child(even) {
        background: transparent;
    }
    table.data.sp-row th {
        background: #FAFAFA;
        border-right: none;
    }
}
/* form */

input[type="submit"],
input[type="text"],
input[type="tel"],
input[type="email"],
textarea,
button {
    -moz-appearance: none;
    -webkit-appearance: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: none;
    border: none;
    background: white;
}


input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
    display: inline-block;
    font-size: 16px;
    padding: 12px 15px;
    max-width: 100%;
    transition: 0.3s;
    border-radius: 3px;
    border: 1px solid #CCC;
}
input[type="text"],
input[type="email"],
textarea {
    width: 100%;
}
.form-initial input {
    width: auto;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
textarea:focus {
    background: #f8f8f8;
    border: 1px solid #999;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

textarea[name="content"] {
    display: inline-block;
    width: 100%;
    height: 200px;
}

input::placeholder,
textarea::placeholder {
    color: #AAA;
}

input[type="submit"],
input[type="reset"],
input[type="button"] {
    transition: .2s ease-out;
    background: #363636;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    padding: .8em 2em;
    box-shadow: 0 2px 2px rgba(0,0,0,.1);
}

input[type="submit"]:disabled {
    background: #CCC;
    color: white;
    border: 2px solid #FAFAFA;
    box-shadow: none;
}
input[type="submit"]:enabled:hover {
    background: #666;
    color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,.1);
    cursor: pointer;
}
input[type="reset"] {
    background: #666;
}

input[type="button"] {
    background: #333;
    border: none;
}
input[type="button"]:hover {
    background: #666;
    box-shadow: 0 2px 5px rgba(0,0,0,.1);
    cursor: pointer;
}

select {
    display: inline-block;
    font-size: 16px;
    max-width: 100%;
    transition: 0.3s;
    border-radius: 3px;
    border: 1px solid #999;
}

.mwform-radio-field,
.mwform-checkbox-field {
    display: block;
}
.mw_wp_form .horizontal-item + .horizontal-item {
    margin-left: 0 !important;
}

/*********************
LAYOUT
*********************/
.side-column h4.title {
    font-size: 1.2em;
    border-bottom: 4px solid #3573b6;
    color: #3573b6;
    margin: 0;
    padding: 0 0 5px;
}
.side-column ul {
    list-style: none;
}
.side-column ul.subnavi a {
    display: block;
    border-bottom: 1px solid #EEE;
    text-decoration: none;
    padding: 10px 0;
}

.side-column ul.subnavi a:before {
    font-family: "Font Awesome 5 Free";
    text-decoration: none;
    color: #4ba0c7;
    font-weight: 900;
    content: '\f105';
    margin-right: 7px;
}

@media screen and (min-width: 991px) {
    .column-2 {
        display: flex;
    }
    .main-column {
        width: 75%;
        margin-right: 40px;
    }
    .side-column {
        width: calc(25% - 40px);
    }
}
@media screen and (max-width: 990px) {
    .main-column {
        margin-bottom: 40px;
    }
}

/*********************
DESIGN
*********************/
.fade {
    color: #999;
}

.height-max {
    height: 100%;
}
.box-height-wrapper {
    display: -wbkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

@media screen and (min-width: 991px) {
    .image-fit {
        width: 100%;
    }
}

@media screen and (max-width: 990px) {
    .image-fit {
        max-width: 70%;
    }
}

.box,
.box-gray {
    padding: 1.8em 2.4em;
    background: #f1f1f1;
    width: 100%;
}

.box-line {
    border: 1px solid #DADADA;
    padding: 1.8em 2.4em;
}

.box-line-blue {
    border: 4px solid #009be1;
    padding: 1.6em 1.8em;
}

.box-white {
    background: white;
    padding: 1.8em 2.4em;
}
.box-black {
    background: black;
    padding: 1.8em 2.4em;
}

.box.caution {
    background: white;
    border: 3px solid #222;
}
.style-round {
    border-radius: 7px;
}
.style-shadow {
    box-shadow: 0 0 7px rgba(0,0,0,.5);
}
a > img.style-shadow {
    display: block;
    border-radius: 7px;
    transition: .2s ease-out;
    box-shadow: 0 0 7px rgba(0,0,0,.5);
}
a > img.style-shadow:hover {
    box-shadow: 0 2px 15px rgba(0,0,0,.6);
    opacity: .8;
}

.minimum-area {
    min-height: 550px;
}

.bg-secondary {
    background-color: #f1f1f1 !important;
}
.bg-tertiary {
    background: #d0e0ec linear-gradient(135deg, #d0e0ec, #f8f9f9) !important;
}

.font-small {
    font-size: .85em;
}

.font-large {
    font-size: 1.2em;
}
.font-xlarge {
    font-size: 1.8em;
}

.strong {
    font-weight: bold;
}
.font-mincho {	font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;}


@media screen and (max-width: 990px) {
    .box,
    .box-line,
    .box-white {
        width: 100%;
    }
    .box,
    .box-gray {
        padding: 1.6em 1.8em;
    }
    .font-sm-large {
        font-size: 1.2em;
    }
}

@media screen and (max-width: 768px) {
    .s-box-none {
        background: none;
        border: none;
        padding: 0;
    }
}

/*********************
HEADER
*********************/

/* head-primary */
#head-primary {
    position: absolute;
    z-index: 98;
    top: 0;
    right: 20px;
}
#head-primary ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    font-size: 0;
}
#head-primary ul li {
    margin-right: 10px;
}
#head-primary ul li:last-child {
    margin-right: 0;
}
#head-primary ul li a {
    display: block;
    margin: 10px 0 0;
    padding: 7px 15px;
    background: black;
    border-radius: 15px;
}
#head-primary ul li a img {
    width: auto;
    height: 10px;
}

/* header */
#mobile-head img.logo {
    width: 100%;
}

#top-head {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    margin: auto;
    width: 100%;
    padding: 0;
    line-height: 0;
}

#head-navigation a {
    text-decoration: none;
}

#global-nav ul {
    list-style: none;
    overflow: hidden;
    font-size: 0;
}

#global-nav #menu-mobile {
    display: none;
}

/* Toggle Button */

#nav-toggle {
    position: absolute;
    cursor: pointer;
    z-index: 1001;
    display: none;
}

#nav-toggle div {
    position: relative;
}

#nav-toggle span {
    display: block;
    position: absolute;
    background: black;
    height: 2px;
    width: 100%;
    left: 0;
    -webkit-transition: .2s ease-in-out;
    -moz-transition: .2s ease-in-out;
    transition: .2s ease-in-out;
}

#nav-toggle div#toggle-menu {
    font-size: 10px;
    padding-top: 5px;
}
@media screen and (min-width: 991px) {
    #top-head {
        top: 25px;
        position: absolute;
        z-index: 99;
        -webkit-transition: .2s ease-in-out;
        -moz-transition: .2s ease-in-out;
        transition: .2s ease-in-out;
    }
    .content-first {
        margin-top: 81px;
    }

    #head-wrapper {
        background-color: white;
        border-radius: 7px;
        box-shadow: 0 0 10px rgba(0,0,0,.1);
        position: relative;
        margin: 20px;
    }

    #head-navigation {
        display: -webkit-flex;
        display: flex;
    }
    #mobile-head,
    #mobile-head h1 {
        display: none;
    }

    #head-navigation h1 {
        flex-basis: 300px;
        margin: 22px 0 0 30px;
        padding: 0;
    }
    #head-navigation h1 img.logo {
        width: 205px;
    }

    #global-nav {
        flex-basis: 100%;
    }
    #global-nav ul#menu {
        padding-right: 20px;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
    #global-nav ul#menu > li {
        list-style: none;
        margin: 20px 10px;
    }

    #global-nav ul#menu > li > a {
        display: block;
        padding: 15px;
        font-size: 16px;
        font-weight: bold;
        cursor: pointer;
        outline: none;
    }
    #global-nav ul#menu > li#header-contact > a {
        color: #2100a2;
        font-size: 15px;
        background: linear-gradient(-135deg, #4ca2c8, #326cb4);
        color: white;
        border-radius: 3px;
        padding: 1.6em 2em;
    }

    nav#global-nav a:hover,
    nav#global-nav a:focus {
        outline: none;
        opacity: .6;
    }
    nav#global-nav li.selected > a {
        color: #666;
    }
    #head-tel-sp {
        display: none;
    }
}
@media screen and (max-width: 1200px) {

    #head-navigation h1 {
        margin: 15px 0 0 30px;
        flex-basis: 220px;
    }
    #head-navigation h1 img.logo {
        width: 180px;
    }
    #global-nav ul#menu > li {
        margin: 10px;
    }

    #global-nav ul#menu > li > a {
        display: block;
        padding: 15px 2px;
        font-size: 15px;
        font-weight: bold;
        cursor: pointer;
        outline: none;
    }
}

@media screen and (max-width: 990px) {
    #head-primary {
        display: none;
    }
    #nav-toggle {
        position: absolute;
        right: 16px;
        top: 12px;
        width: 30px;
        height: 36px;
        display: block;
    }
    #nav-toggle div#toggle-menu {
        top: 24px;
    }
    #nav-toggle span:nth-child(1) {
        top: 0;
    }
    #nav-toggle span:nth-child(2) {
        top: 8px;
    }
    #nav-toggle span:nth-child(3) {
        top: 16px;
    }

    #head-navigation h1 {
        display: none;
    }
    #mobile-head h1 {
        width: 65%;
        max-width: 160px;
        margin: 10px 0 0 15px;
        padding: 0;
    }

    /*open*/
    body.open {
        overflow: hidden;
    }
    .open #nav-toggle span:nth-child(1) {
        top: 11px;
        -webkit-transform: rotate(225deg);
        -moz-transform: rotate(225deg);
        transform: rotate(225deg);
    }
    .open #nav-toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }
    .open #nav-toggle span:nth-child(3) {
        top: 11px;
        -webkit-transform: rotate(-225deg);
        -moz-transform: rotate(-225deg);
        transform: rotate(-225deg);
    }

    #head-navigation {
        position: absolute;
        display: block;
        background: white;
        transition: all .2s ease-out;
        overflow-y: auto;
        right: -100vw;
        top: 0;
        padding-top: 56px;
        width: 100%;
        z-index: 100;
        opacity: 0;
    }
    .open #head-navigation {
        right: 0;
        top: 0;
        position: fixed;
        height: 100%;
        opacity: 1;
    }

    #head-wrapper {
        width: 100%;
        height: 56px;
        position: absolute;
        z-index: 999;
        background: white;
        box-shadow: 0 0 10px rgba(0,0,0,.2);
    }
    #header,
    .head-inner {
        width: 100%;
        padding: 0;
    }
    #head-wrapper {
        top: 0;
        position: fixed;
        margin-top: 0;
    }
    ul#menu > li {
        border-top: 1px solid #DEDEDE;
    }
    ul#menu > li > a,
    ul#menu > li > span {
        display: block;
        width: 100%;
        line-height: 1;
    }
    ul#menu > li > a,
    ul#menu > li > span {
        padding: 20px 0;
        font-size: 13px;
        font-weight: bold;
        height: 100%;
        display: block;
    }
    ul#menu > li > span {
        padding: 20px 0 10px;
        margin-left: 10px;
    }
    ul#menu > li > a::before {
        font-family: "Font Awesome 5 Free";
        text-decoration: none;
        font-weight: 900;
        content: '\f105';
        margin-left: 10px;
        margin-right: 5px;
    }

    /* Fixed reset */
    #header.fixed {
        padding-top: 0;
    }
    .content-first,
    #home-img-wrapper,
    #home-mov-wrapper,
    #page-title-wrapper {
        margin-top: 56px;
    }
}



/*********************
FOOTER
*********************/

/* foot-banner */
#foot-banner {
    background: #fafafa;
    border-top: 1px solid #ededed;
}
#foot-banner.content-wrapper {
    padding: 50px 0;
}
#foot-banner a img {
    width: 100%;
    max-width: 340px;
    border-radius: 7px;
    box-shadow: 0 0 7px rgba(0,0,0,.1);
    transition: .2s ease-out;
}
#foot-banner a:hover img {
    box-shadow: 0 3px 14px rgba(0,0,0,.2);
}

#foot-banner01 img {
    border: 2px solid #CCC;
}
#foot-banner02 span {
    display: inline-block;
    border-radius: 7px;
    background: linear-gradient(-135deg, #8862a6 0%, #faedb6 100%);
}
#foot-banner02 span img {
    padding: 2px;
}
#foot-banner03 img {
    border: 2px solid white;
}
@media all and (max-width: 980px) {
    #foot-banner .banner-wrapper > div {
        text-align: center;
        margin: 5px 0;
    }
    #foot-banner img {
        max-width: 260px;
    }
}

/* footer-common */
#foot-container .content-wrapper {
    padding: 50px 0;
}
#foot-container {
    padding: 0;
    border-top: 1px solid #ededed;
}

/* foot-menu */
#foot-menu-wrapper {
    display: flex;
}
#foot-menu-wrapper dt,
#foot-menu-wrapper > ul {
    margin: 0 0 15px;
    font-weight: bold;
}
#foot-menu-wrapper ul {
    list-style: none;
}
#foot-menu-wrapper ul li {
    margin-bottom: 5px;
}
#foot-menu-wrapper ul li a {
    text-decoration: none;
    font-size: .9em;
}

/* appletown-ebook */
#appletown-ebook {
    text-align: center;
}
#appletown-ebook a {
    display: inline-block;
    width: 80%;
    max-width: 400px;
    border: 1px solid #CCC;
    box-shadow: 0 0 7px rgba(0,0,0,.2);
}
#appletown-ebook a:hover {
    display: inline-block;
    width: 80%;
    max-width: 400px;
    border: 1px solid #CCC;
    box-shadow: 0 3px 12px rgba(0,0,0,.3);
}
#appletown-ebook a img {
    width: 100%;
}

#foot-container .logo {
    width: 100%;
    max-width: 240px;
    text-align: center;
}


#foot-links ul {
    list-style: none;
    display: flex;
    font-size: 0;
    margin-bottom: 20px;
}
#foot-links ul li {
    margin-right: 10px;
}
#foot-links ul li:last-child {
    margin-right: 0;
}
#foot-links ul li a {
    display: block;
    margin: 10px 0 0;
    padding: 7px 15px;
    background: black;
    border-radius: 15px;
}
#foot-links ul li a img {
    width: auto;
    height: 10px;
}

ul#foot-menu {
    list-style: none;
    margin-bottom: 20px;
    text-align: right;
}
ul#foot-menu li {
    display: inline-block;
    margin-left: 2em;
}
ul#foot-menu li a {
    text-decoration: none;
    font-size: .8em;
    font-weight: bold;
}
ul#foot-menu li a::before {
    font-family: "Font Awesome 5 Free";
    text-decoration: none;
    font-weight: 900;
    content: '\f105';
    font-size: 12px;
    margin-right: 5px;
}

#foot-copyright {
    font-size: .8em;
    text-align: right;
    color: #666;
}

@media all and (min-width: 991px) {
    #foot-menu-wrapper {
        justify-content: space-between;
    }
    #foot-menu-wrapper div {
        margin-right: 30px;
    }
    #foot-menu-wrapper div:last-child {
        margin-right: 0;
    }
}
@media all and (max-width: 990px) {
    #foot-menu-wrapper {
        flex-wrap: wrap;
    }
    #foot-menu-wrapper div {
        flex-basis: calc( ( 100% - 30px ) / 3 );
        margin-right: 15px;
    }
    #foot-menu-wrapper div:nth-child(3) {
        margin-right: 0;
    }
    #foot-menu-wrapper > div.last {
        display: flex;
        flex-basis: calc( ( 100% - 30px ) / 3 * 2 + 15px );
        margin-right: 0;
    }
    #foot-menu-wrapper > div.last .child {
        flex-basis: 50%;
    }
    #foot-menu-wrapper > div.last .child.last {
        margin-right: 0;
    }
    #foot-menu-wrapper dt {
        background: #f0f5f8;
        padding: 4px 10px;
    }
    ul#foot-menu {
        text-align: left;
    }
    ul#foot-menu li {
        margin-left: 0; 
        margin-right: 2em;
    }
    #foot-copyright {
        text-align: left;
    }
}
@media all and (max-width: 680px) {
    #foot-container .content-wrapper {
        padding: 20px 0;
    }
    #foot-banner .banner-wrapper > div {
        text-align: center;
        margin: 5px 0;
    }
    #foot-menu-wrapper {
        display: none;
    }
    #front-page #foot-menu-wrapper {
        display: block;
    }
    #foot-links ul {
        display: block;
    }
    #foot-links ul li {
        display: inline-block;
    }
}

/* to_top */

#pageTop {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 70px;
    height: 70px;
    text-align: center;
    z-index: 12;
    margin: 0;
}

#pageTop a {
    display: block;
    width: 100%;
    height: 100%;
    padding-top: 20px;
    background: #222;
    text-decoration: none;
    color: white;
    font-size: 12px;
    text-align: center;
}

#pageTop a:hover {
    background: #999;
}

@media all and (max-width: 580px) {
    #pageTop {
        width: 40px;
        height: 40px;
    }

    #pageTop a {
        padding-top: 10px;
    }
}

/*********************
CONTENTS
*********************/

/* title */
#page-title-wrapper {
    background: linear-gradient(0deg,#8abdd9, #cee3e8);
    /*background-size: 60%;*/
}
#page-title-inner {
    background: #333;
    color: white;
    width: 40%;
    padding: 200px 40px 40px;
}
#page-title-inner h2.title > span {
    display: block;
}
#page-title-inner h2.title > span.jp {
    margin-bottom: 5px;
}
#page-title-inner h2.title > span.en {
    color: white;
    opacity: .6;
}
#page-title-inner h2.title > span.jp > span {
    display: inline-block;
    font-size: .6em;
    margin-left: 15px;
    padding-left: 15px;
    border-left: 1px solid #999;
}

/* bread-crumbs */
#bread-crumbs ul {
    list-style: none;
}
#bread-crumbs ul li {
    display: inline-block;
    margin-right: 5px;
    font-size: .8em;
}
#bread-crumbs ul li a {
    color: white;
}
#bread-crumbs ul li:after {
    font-family: "Font Awesome 5 Free";
    text-decoration: none;
    font-weight: 900;
    content: '\f105';
    margin-left: 7px;
    color: #CCC;
}
#bread-crumbs ul li:last-child:after {
    content: none;
}

@media screen and (max-width: 990px) {
    #page-title-wrapper {
        background-size: 50%;
    }
    #page-title-inner {
        width: 50%;
    }
}
@media screen and (max-width: 800px) {
    #page-title-wrapper {
        /*background-size: cover;*/
    }
    #page-title-inner {
        width: 100%;
        padding: 40px 20px;
        /*background: rgba(0,0,0,.6);*/
    }
    #page-title-inner h2.title {
        margin: 0 0 1em;
    }
}

/* 追加ここから */

.title-ex {
    text-align: center;
}
.title-ex h2 {
    position: relative;
    line-height: 1.4;
    font-size: 2em;
    margin: 0;
    padding: 0.25em 2em;
    display: inline-block;
    top: 0;
}

.title-ex h2:before, .title-ex h2:after { 
    position: absolute;
    top: 0;
    content:'';
    width: 8px;
    height: 100%;
    display: inline-block;
}
.title-ex h2:before {
    border-left: solid 2px black;
    border-top: solid 2px black;
    border-bottom: solid 2px black;
    left: 0;
}
.title-ex h2:after {
    content: '';
    border-top: solid 2px black;
    border-right: solid 2px black;
    border-bottom: solid 2px black;
    right: 0;
}
.title-ex h2 > span {
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

@media screen and (max-width: 680px) {
    .title-ex h2 {
        font-size: 1.4em;
        padding: 0.25em 1em;
    }
    .title-ex h2 > span {
        font-size: 10px;
        margin-bottom: 2px;
    }
}

.lead-copy {
    font-weight: bold;
    font-size: 1.1em;
    line-height: 1.8;
}

@media screen and (max-width: 800px) {
    .lead-copy {
        font-size: 1em;
    }
}

/* pagination */

.pagination .nav-links {
    text-align: center;
    margin-top: 40px;
}
.pagination .nav-links a.page-numbers {
    display: inline-block;
    margin: 2px;
    padding: 2px 6px;
    border: 1px solid #499cc6;
    border-radius: 3px;
    text-decoration: none;
}
.pagination .nav-links a.page-numbers:hover {
    background: #499cc6;
    color: #fff;
    transition: all .3s;
}
.pagination .nav-links a.prev.page-numbers,
.pagination .nav-links a.next.page-numbers {
    width: auto;
    font-size: .9em;
    font-weight: bold;
    color: #499cc6;
    padding-right: 6px;
    padding-left: 6px;
    border: 0;
    border-radius: 0;
}
.pagination .nav-links a.prev.page-numbers:hover,
.pagination .nav-links a.next.page-numbers:hover {
    opacity: .6;
    background: transparent;
}
.pagination .nav-links .current {
    display: inline-block;
    margin: 2px;
    padding: 2px 6px;
    border: 1px solid #499cc6;
    background: #499cc6;
    color: #fff;
    border-radius: 3px;
}
.pagination .nav-links .dots {
    display: inline-block;
    margin: 2px;
    font-weight: bold;
}

