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;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}


/* --------------------------- */


/*  base  */


/* --------------------------- */

a {
    color: #44390b;
    text-decoration: none;
    transition: all 0.6s;
}

a:hover {
    color: #9e1d1d;
}

h2 {
    font-size: 26px;
    padding: 5px 0 10px 0;
    line-height: 1.4;
}

h3 {
    font-size: 21px;
    padding: 5px 0 8px 0;
}

em {
    font-style: italic;
}

img {
    image-rendering: -webkit-optimize-contrast;
}

img,
img a {
    border: 0;
    text-decoration: none;
    box-sizing: content-box;
}

a img {
    transition: opacity .4s;
}

a img:hover {
    opacity: .8;
}

strong {
    font-weight: bold;
}


/* --------------------------- */


/*  layout  */


/* --------------------------- */


/*
        font-family: 'Noto Serif JP', serif;
*/

body {
    background-color: #fff;
    color: #222;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", Meiryo, sans-serif;
    font-size: 15px;
    letter-spacing: 0.02em;
}

#container {
    padding-bottom: 2em;
    line-height: 1.8;
}


/* ------ */


/*  Header  */


/* ------ */

header#main {
    max-width: 1050px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

header#main h1 img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 315px;
    height: auto;
    padding: 40px 0 0;
}

header#main .util .contact {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 15px 0 5px;
}

header#main .util .contact .otoiawase {
    font-size: 12px;
    border: 1px solid #999;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 1em;
}

header#main .util .contact .tel {
    font-size: 26px;
    font-weight: bold;
    padding-left: 20px;
}

header#main .util .address {
    font-size: 13px;
    text-align: right;
    display: none;
}

header#main ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

header#main ul li a {
    padding: 10px 0 5px;
    color: #333;
    transition: all .4s;
    position: relative;
    display: inline-block;
    text-decoration: none;
    margin: 0 20px;
}

header#main ul li a::after {
    position: absolute;
    bottom: -4px;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    background: #9e1d1d;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform .3s;
}

header#main ul li a:hover::after {
    transform: scale(1, 1);
}

header#main ul li a:hover {
    color: #9e1d1d;
}

header#main ul li:last-child a {
    margin: 0 0 0 20px;
}


/* sp header */

#top-head {
    top: -100px;
    position: absolute;
    width: 100%;
    margin: 100px auto 0;
    padding: 30px 0 0;
    line-height: 1;
    z-index: 999;
}

#top-head a,
#top-head {
    color: #fff;
    text-decoration: none;
}

#top-head .inner {
    position: relative;
}

#global-nav ul {
    list-style: none;
    right: 0;
    bottom: 0;
    font-size: 14px;
}

#global-nav ul li a {
    padding: 0 30px;
}

.back_hed .hed_wrap {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.back_hed .hed_wrap img {
    max-width: 964px;
    height: 558px;
    object-fit: cover;
    position: relative;
    z-index: 0;
}

.back_hed .hed_wrap.top {
    text-align: right;
}

.back_hed .hed_wrap.top h1 {
    position: absolute;
    top: 140px;
    left: 0;
    z-index: 1;
    padding: 0;
}

.back_hed .hed_wrap.top h1 img {
    height: auto;
    width: 185px;
}

.back_hed .hed_wrap.top p {
    position: absolute;
    top: 220px;
    left: 0;
    z-index: 1;
    font-size: 14px;
    letter-spacing: 0;
    padding-left: 0.1em;
}


/* Toggle Button */

#nav-toggle {
    display: none;
    position: absolute;
    right: 13px;
    top: 8px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 101;
}

#nav-toggle div {
    position: relative;
}

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

#nav-toggle span:nth-child(1) {
    top: 0;
}

#nav-toggle span:nth-child(2) {
    top: 9px;
}

#nav-toggle span:nth-child(3) {
    top: 18px;
}

#top-head {
    display: none;
}


/* spmenu */

@media (max-width: 960px) {
    header#main {
        display: none;
    }
    #top-head,
    .inner {
        width: 100%;
        padding: 0;
    }
    header#headtop.sp {
        display: block;
    }
    #top-head {
        top: 0;
        position: fixed;
        margin-top: 0;
        background-color: #fff;
        z-index: 8;
        display: block;
        box-shadow: 0px 0px 3px 0px #cccccc;
    }
    /* Fixed reset */
    #mobile-head {
        background: #fff;
        width: 100%;
        height: 38px;
        position: relative;
    }
    #top-head.ag .inner #mobile-head {
        border-top: 2px solid #f93;
        height: 36px;
    }
    #top-head .logo {
        position: absolute;
        left: 9px;
        top: 8px;
        font-size: 20px;
        z-index: 2;
    }
    #top-head .logo img {
        width: 200px;
        height: auto;
    }
    #global-nav {
        position: absolute;
        top: calc(-100vh - 40px);
        width: 100%;
        height: 100%;
        height: 100vh;
        overflow-y: scroll;
        text-align: center;
        padding: 0;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        background-color: #333;
        z-index: 3;
    }
    #global-nav ul {
        list-style: none;
        position: static;
        right: 0;
        bottom: 0;
        font-size: 14px;
        margin-top: 70px;
        padding-bottom: 20vh;
    }
    #global-nav ul li {
        margin: 0 auto;
        padding: 1em 2em 1em;
        text-align: left;
        line-height: 2.5;
    }
    #nav-toggle {
        display: block;
    }
    .open #nav-toggle span:nth-child(1) {
        top: 11px;
        -webkit-transform: rotate(135deg);
        -moz-transform: rotate(135deg);
        transform: rotate(135deg);
    }
    .open #nav-toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }
    .open #nav-toggle span:nth-child(3) {
        top: 11px;
        -webkit-transform: rotate(-135deg);
        -moz-transform: rotate(-135deg);
        transform: rotate(-135deg);
    }
    .open #global-nav {
        /* #global-nav top + #mobile-head height */
        -moz-transform: translateY(calc(100vh + 40px));
        -webkit-transform: translateY(calc(100vh + 40px));
        transform: translateY(calc(100vh + 40px));
    }
    header#headtop .back_hed.sp .hed_wrap {
        width: 97.5%;
        margin: 38px 0 0 auto;
    }
    .back_hed.sp .hed_wrap img {
        width: 80%;
        height: 480px;
    }
}


/* Common */

.content {
    max-width: 1100px;
    margin: 1em auto 2em;
}


/* top */

.main_vi {
    max-width: 1150px;
    margin: 2em auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.main_vi img {
    width: 100%;
    height: 540px;
    object-fit: cover;
    object-position: 0px center;
}

.main_vi .text_concept {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: calc( 74%);
    width: 200px;
}

.main_vi .text_concept h3 {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 0.1em;
    line-height: 1.6;
    font-size: 48px;
    background-color: #fff;
    border-radius: 5px;
    padding: 25px 15px;
    /* text-decoration: underline #8b8b8b; */
}

.main_vi h3 p {
    display: inline;
    background-color: #fff;
}

.main_vi h3 span.c_1 {
    color: rgb(150, 29, 21);
}

.main_vi h3 span {
    color: rgb(150, 29, 21);
}

.concept {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 5em auto;
    max-width: 1050px;
}

.concept img {
    max-width: 380px;
}

.concept .concept_text {
    line-height: 2.4;
    padding: 0 1em 0 2em;
    text-align: justify;
}

.concept .concept_text h4 {
    font-family: 'Noto Serif JP', serif;
    color: #9e1d1d;
    font-size: 21px;
    padding: 0 0 5px;
}

.red {
    color: #9e1d1d;
}

@media (max-width: 960px) {
    .concept {
        padding: 0 1.5em;
    }
    .concept .concept_text {
        padding: 0 0 0 2em;
    }
    #container {
        padding: 0 1.5em;
    }
    .main_vi .text_concept {
        left: 72%;
    }
}

@media (max-width: 700px) {
    .concept {
        flex-direction: column-reverse;
        margin: 3em auto;
    }
    .concept .concept_text {
        padding: 0;
    }
    .concept img {
        margin: 3em auto 0;
        max-width: 100%;
    }
    .main_vi img {
        object-position: center center;
    }
    .main_vi .text_concept {
        left: calc(80% - 100px);
    }
}

@media (max-width: 700px) {
    .main_vi .text_concept {
        left: calc(76% - 80px);
        width: 160px;
    }
    .main_vi .text_concept h3 {
        letter-spacing: 0.1em;
        line-height: 1.6;
        font-size: 40px;
        background-color: #fff;
        border-radius: 5px;
        padding: 25px 15px;
        /* text-decoration: underline #8b8b8b; */
    }
}


/* pages */

#container {
    max-width: 1050px;
    margin: 3em auto;
}

.center_box {
    text-align: center;
}

.icon2 {
    width: 100px;
    margin: 2em auto 1.5em;
}

h2.top_info {
    text-align: center;
    font-size: 28px;
    padding: 0 0 2em;
}

.wrap_info ul {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    flex-wrap: wrap;
}

.wrap_info ul li {
    width: 32%;
    background-color: #e1e9ee;
    margin-bottom: 30px;
    border-radius: 20px;
    position: relative;
    padding-bottom: 30px;
}

.wrap_info ul li a {
    color: #9e1d1d;
    transition: all .4s;
}

.wrap_info ul li a:hover {
    color: #9e1d1d;
}

.wrap_info ul li p {
    color: #333;
    padding: 1em 3em;
    line-height: 2.2;
    text-align: justify;
}

.wrap_info ul li.two {
    width: 49%;
    padding-bottom: 120px;
}

.wrap_info ul li h3 {
    color: #333;
    text-align: center;
    padding: 1.5em 0 .3em;
    margin: 0 auto;
    border: none;
    text-align: center;
    display: block;
}

.wrap_info ul li .in_bar {
    border: none;
    border-top: 1px dashed #333;
    margin: .3em auto;
    width: 180px;
}

.wrap_info ul li .bg_w {
    width: 70px;
    height: 70px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1em auto;
    position: absolute;
    bottom: 15px;
    left: calc(50% - 35px);
}

.wrap_info ul li .bg_w img {
    max-width: 45px;
    max-height: 45px;
}

@media (max-width: 767px) {
    .wrap_info ul {
        flex-direction: column;
    }
    .wrap_info ul li.two {
        width: 100%;
    }
    .wrap_info ul li {
        width: 100%;
        padding-bottom: 120px;
    }
}


/* lesson */

h2.page {
    font-size: 30px;
    padding: 2em 0 .5em;
}

main h2.page {
    font-size: 30px;
    text-align: center;
    letter-spacing: 0.05em;
}

main h2.page span {
    font-size: 14px;
    display: block;
    border-top: 1px solid #333;
    width: 200px;
    margin: .8em auto 0;
    padding-top: .8em;
    color: #666;
    letter-spacing: 0.05em;
}

main h3 {
    border-bottom: 3px solid #f93;
    padding-bottom: 0em;
    margin: 1.3em 0 1em;
    display: inline-block;
    padding-right: 1.5em;
    font-weight: 700;
    color: #555;
    letter-spacing: 0.05em;
}

main h4.bunpo {
    padding-top: 1.7em;
    padding-bottom: .3em;
    font-size: 20px;
    display: flex;
    align-items: center;
}

main h4.bunpo span {
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    text-align: center;
    border-radius: 50%;
    margin-left: .5em;
    border: 1px solid #333;
}

main p {
    text-align: justify;
    line-height: 2;
}

.bunpo_rei {
    padding: .5em 1em;
    background-color: #eee;
    border: 1px solid #999;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    margin: .5em auto;
}

.bunpoimg {
    max-width: 540px;
    border: 1px solid #999;
    margin: .5em 0;
}

.bunpo_rei p:first-child {
    padding-right: 1em;
    font-weight: 700;
}

main h5 {
    font-size: 18px;
    font-weight: 700;
    color: #f93;
}

.price {
    display: flex;
    align-items: center;
    font-size: 16px;
}

.price dt {
    margin: 0 1em 5px 0;
}

.price dd {
    margin: 0 1em 5px 0;
}

.price dd:last-child {
    font-weight: 700;
}

.lr_wrap {
    display: flex;
    align-items: flex-start;
}

.lr_wrap .left {
    width: 50%;
}

.lr_wrap .right {
    width: 50%;
}

.qa_q {
    display: flex;
    align-items: center;
    margin-bottom: 2em;
    margin-top: 1em;
}

.qa_q dt {
    font-size: 40px;
    font-family: 'Noto Serif JP', serif;
    color: #9e1d1d;
    line-height: 1;
}

.qa_q dd {
    padding-left: 1.5em;
    padding-top: 1em;
}

.qa_a dd {
    padding-left: 1.5em;
    padding-top: .3em;
    line-height: 2.1;
    text-align: justify;
}

.qa_a dt {
    font-size: 40px;
    font-family: 'Noto Serif JP', serif;
    color: #f93;
    line-height: 1;
}

.qa_a {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2em;
}


/* voice */

.lr_wrap.voice .left {
    width: 68%;
}

.lr_wrap.voice .right {
    width: 28%;
    margin-left: 4%;
}

.lr_wrap.voice .right img {
    width: 100%;
    margin-top: 3.5em;
}

@media (max-width: 1055px) {
    .lr_wrap.info {
        flex-direction: column;
    }
    .lr_wrap.info .left {
        width: 100%;
    }
    .lr_wrap.info .right {
        width: 100%;
    }
}

@media (max-width: 700px) {
    .bunpoimg {
        width: 100%;
    }
    main h2.page {
        font-size: 24px;
    }
    .lr_wrap.voice {
        flex-direction: column;
    }
    .lr_wrap.voice .left {
        width: 100%;
    }
    .lr_wrap.voice .right {
        text-align: center;
        margin: 0;
        width: 100%;
    }
    .lr_wrap.voice .right img {
        width: 50%;
    }
    main h3 {
        font-size: 18.5px;
    }
}


/* footer */

footer {
    background-color: #efefef;
    padding-top: 40px;
}

footer .foot_wrap {
    max-width: 1050px;
    margin: 0 auto 35px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

footer .foot_wrap {
    text-align: center;
    font-size: 13px;
    padding-bottom: .3em;
}

footer .foot_wrap .info {
    text-align: left;
}

footer .foot_wrap .info img {
    width: 280px;
    height: auto;
}

footer .foot_wrap .info ul {
    display: flex;
    align-items: center;
    color: #666;
    margin-top: 30px;
}

footer .foot_wrap .info ul li {
    padding: 0 20px;
    font-size: 14px;
}

footer .foot_wrap .info ul li:first-child {
    padding: 0 20px 0 0;
    font-size: 14px;
}

footer .foot_wrap .info ul li a {
    color: #333;
}

footer .foot_wrap .contact {
    display: flex;
    align-items: center;
    margin: 2em 0 1.5em;
    color: #666;
}

footer .foot_wrap .contact .otoiawase {
    font-size: 12px;
    padding: 5px 1em;
    border: 1px solid #666;
    border-radius: 4px;
    margin-right: 1em;
}

footer .foot_wrap .address {
    font-size: 14px;
    line-height: 1.6;
    padding-top: .6em;
    padding: .6em 1em .6em 0;
}

footer .foot_wrap .contact .tel {
    font-size: 28px;
    font-weight: 700;
}

footer .foot_wrap .map {
    padding-top: 10px;
}

footer .copy {
    text-align: center;
    padding-bottom: .4em;
}

@media (max-width: 1050px) {
    footer .foot_wrap {
        width: 100%;
        padding: 0 2em;
    }
}

@media (max-width: 880px) {
    footer .foot_wrap {
        width: 100%;
        padding: 0;
        flex-direction: column;
    }
    footer .foot_wrap .info {
        text-align: center;
        margin: 0 auto;
    }
    footer .foot_wrap .contact {
        margin: 2em auto 1.5em;
        justify-content: center;
    }
    footer .foot_wrap .map {
        margin: 1em auto 1.5em;
        width: 90%;
    }
    footer .foot_wrap .map iframe {
        width: 100%;
    }
    footer .foot_wrap .address {
        padding: .6em 1em .6em 1em;
    }
    
}

@media (max-width: 600px) {
    footer .foot_wrap .info ul {
        flex-wrap: wrap;
        justify-content: center;
        line-height: 2;
        padding: 0 1em;
    }
}


/* contact */

.form_wrap {
    margin: 2em auto;
    max-width: 780px
}

.form_wrap dl {
    display: flex;
    align-items: baseline;
    width: 100%;
    margin-bottom: .5em;
}

.form_wrap dl.tx {
    display: flex;
    align-items: flex-start;
    width: 100%;
    margin-bottom: .5em;
}

.form_wrap dl dt {
    width: 30%;
    padding: 1em 10px;
    color: #333;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.form_wrap.kr dl dt {
    width: 27%;
    padding: 1em 10px 1em 0;
}

.form_wrap dl dt span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 20px;
    padding-bottom: 1px;
    font-size: 11px;
    border-radius: 4px;
    background-color: #bbb;
    color: #fff;
    margin-right: .8em;
}

.form_wrap.kr dl dt span {
    width: 75px;
}

.form_wrap dl dt span.in {
    background-color: #5e3820;
}

.form_wrap dl dl {
    width: 70%;
}

.form_wrap dl dl .address {
    width: 100%;
}

.wpcf7-form-control-wrap {
    width: 100%;
}

.wpcf7-textarea {
    width: 100%;
    height: 150px;
}

textarea,
input {
    border: 0;
    padding: .3em;
    background-color: #fff;
}

.wpcf7-submit {
    width: 150px;
    height: 50px;
    cursor: pointer;
}

@media (max-width: 819px) {
    .form_wrap dl {
        flex-direction: column;
        align-items: flex-start;
    }
    .form_wrap dl dt {
        width: 100%;
        padding: 1em 10px 1em 0;
    }
    .form_wrap dl dl {
        width: calc(100% - 0.6em);
    }
}

@media (max-width: 600px) {
    #news .subvi {
        display: none;
    }
    #news .news_list ul li a {
        flex-direction: column;
    }
    #news .news_list ul li a time {
        white-space: nowrap;
        padding-bottom: 5px;
    }
    #news .news_list ul li a h4 {
        line-height: 1.3;
    }
}

.wpcf7-text {
    width: 80%;
    padding: 5px;
    margin-bottom: 1.5em;
    border: 0;
    border-bottom: 1px solid #aaa;
}

.wpcf7-textarea {
    width: 80%;
    padding: 5px;
    margin-bottom: 1em;
    border: 0;
    border: 1px solid #aaa;
    margin-top: 1em;
}

.wpcf7-submit {
    width: 200px;
    height: 50px;
    letter-spacing: .5em;
    background-color: #ccc;
}


/**/

.fdup {
    opacity: 0;
    transform: translate(0, 30px);
    transition: all 900ms;
}

.fdup.scroll {
    opacity: 1;
    transform: translate(0, 0);
}


/* --------------------------- */


/*  module  */


/* --------------------------- */

.pb30 {
    padding-bottom: 30px !important;
}

.pt10 {
    padding-top: 10px !important;
}

.pt20 {
    padding-top: 20px !important;
}

.pt40 {
    padding-top: 40px !important;
}

.pt30 {
    padding-top: 30px !important;
}

.pb20 {
    padding-bottom: 20px !important;
}

.pb30 {
    padding-bottom: 30px !important;
}

.mt20 {
    margin-top: 20px !important;
}

.mt40 {
    margin-top: 40px !important;
}

.mt100 {
    margin-top: 100px !important;
}

.mt150 {
    margin-top: 150px !important;
}

.mr20 {
    margin-right: 20px !important;
}

.fb-like-box {
    background: #fff;
}

.mini {
    font-size: 85%;
    color: #57290D;
    padding-left: 6px;
}

.mini_ls {
    clear: both;
    font-size: 85%;
    color: #57290D;
    padding-top: 10px;
}

.clear::after {
    content: "";
    display: block;
    clear: both;
}


/* img */

.aligncenter {
    display: block;
    margin: 0 auto;
}

.alignright {
    float: right;
}

.alignleft {
    float: left;
}

.alignright,
.alignleft {
    margin: 8px;
}

img[class*="wp-image-"],
img[class*="attachment-"] {
    height: auto;
    max-width: 100%;
}


/* button */


/* youtube in */

.youtube_wrap {
    width: 100%;
    padding-bottom: 56.25%;
    height: 0px;
    position: relative;
}

.youtube_wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}