/* ! destyle.css v3.0.2 | MIT License | https://github.com/nicolas-cusan/destyle.css

/* Reset box-model and set borders */
/* ============================================ */

*,
::before,
::after {
    box-sizing: border-box;
    border-style: solid;
    border-width: 0;
}

å
/* Document */
/* ============================================ */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 * 3. Remove gray overlay on links for iOS.
 */

html {
    line-height: 1.15;
    /* 1 */
    -webkit-text-size-adjust: 100%;
    /* 2 */
    -webkit-tap-highlight-color: transparent;
    /* 3*/
}

/* Sections */
/* ============================================ */

/**
 * Remove the margin in all browsers.
 */

body {
    margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
    display: block;
}

/* Vertical rhythm */
/* ============================================ */

p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
    margin: 0;
}

/* Headings */
/* ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
    margin: 0;
}

/* Lists (enumeration) */
/* ============================================ */

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Lists (definition) */
/* ============================================ */

dt {
    font-weight: bold;
}

dd {
    margin-left: 0;
}

/* Grouping content */
/* ============================================ */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
    box-sizing: content-box;
    /* 1 */
    height: 0;
    /* 1 */
    overflow: visible;
    /* 2 */
    border-top-width: 1px;
    margin: 0;
    clear: both;
    color: inherit;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
    font-family: monospace, monospace;
    /* 1 */
    font-size: inherit;
    /* 2 */
}

address {
    font-style: inherit;
}

/* Text-level semantics */
/* ============================================ */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
    background-color: transparent;
    text-decoration: none;
    color: inherit;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
    text-decoration: underline dotted;
    /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
    font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
    font-family: monospace, monospace;
    /* 1 */
    font-size: inherit;
    /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Replaced content */
/* ============================================ */

/**
 * Prevent vertical alignment issues.
 */

svg,
img,
embed,
object,
iframe {
    vertical-align: bottom;
}

/* Forms */
/* ============================================ */

/**
 * Reset form fields to make them styleable.
 * 1. Make form elements stylable across systems iOS especially.
 * 2. Inherit text-transform from parent.
 */

button,
input,
optgroup,
select,
textarea {
    -webkit-appearance: none;
    /* 1 */
    appearance: none;
    vertical-align: middle;
    color: inherit;
    font: inherit;
    background: transparent;
    padding: 0;
    margin: 0;
    border-radius: 0;
    text-align: inherit;
    text-transform: inherit;
    /* 2 */
}

/**
 * Reset radio and checkbox appearance to preserve their look in iOS.
 */

[type="checkbox"] {
    -webkit-appearance: checkbox;
    appearance: checkbox;
}

[type="radio"] {
    -webkit-appearance: radio;
    appearance: radio;
}

/**
 * Correct cursors for clickable elements.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
    cursor: pointer;
}

button:disabled,
[type="button"]:disabled,
[type="reset"]:disabled,
[type="submit"]:disabled {
    cursor: default;
}

/**
 * Improve outlines for Firefox and unify style with input elements & buttons.
 */

:-moz-focusring {
    outline: auto;
}

select:disabled {
    opacity: inherit;
}

/**
 * Remove padding
 */

option {
    padding: 0;
}

/**
 * Reset to invisible
 */

fieldset {
    margin: 0;
    padding: 0;
    min-width: 0;
}

legend {
    padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
    vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
    overflow: auto;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
 * 1. Correct the outline style in Safari.
 */

[type="search"] {
    outline-offset: -2px;
    /* 1 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Fix font inheritance.
 */

::-webkit-file-upload-button {
    -webkit-appearance: button;
    /* 1 */
    font: inherit;
    /* 2 */
}

/**
 * Clickable labels
 */

label[for] {
    cursor: pointer;
}

/* Interactive */
/* ============================================ */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
    display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
    display: list-item;
}

/*
 * Remove outline for editable content.
 */

[contenteditable]:focus {
    outline: auto;
}

/* Tables */
/* ============================================ */

/**
1. Correct table border color inheritance in all Chrome and Safari.
*/

table {
    border-color: inherit;
    /* 1 */
    border-collapse: collapse;
}

caption {
    text-align: left;
}

td,
th {
    vertical-align: top;
    padding: 0;
}

th {
    text-align: left;
    font-weight: bold;
}

*/

/* ----------ここから書きます---------- */
body {
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
    position: relative;
}

/* -----ヘッダ----- */
.site_logo_r img {
    margin: 40px 30px 0 40px;
}

#humburger_icon {
    position: relative;
    height: 100px;
    width: 100px;
    background-color: #FF2A2A;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    right: 0;
    position: fixed;
    z-index: 10000;
    animation: fadeIn 1.5s;
    transition: 1s;
}

#humburger_icon:hover {
    opacity: 0.7;
}

#humburger_icon span {
    position: absolute;
    left: 30px;
    height: 2px;
    width: 50px;
    background: #fff;
    border-radius: 2px;
    box-sizing: border-box;
    transition: all 0.5s;
    display: inline-block;
}

#humburger_icon span:nth-of-type(1) {
    bottom: 65px;
}

#humburger_icon span:nth-of-type(2) {
    bottom: 50px;
}

#humburger_icon span:nth-of-type(3) {
    bottom: 35px;
}

#humburger_icon .active span:nth-of-type(1) {
    bottom: 70px;
    left: 33px;
    transform: translateY(6px) rotate(-135deg);
    /* width: 50%; */
}

#humburger_icon .active span:nth-of-type(2) {
    opacity: 0;
}

#humburger_icon .active span:nth-of-type(3) {
    bottom: 30px;
    left: 33px;
    transform: translateY(-6px) rotate(135deg);
    /* width: 50%; */
}

/* -----ハンバーガーメニューの中身----- */
#humburger_menu {
    background-color: #FF2A2A;
    height: 100%;
    width: 100%;
    display: flex;
    box-sizing: border-box;
    padding: 40px 0 0 40px;
    margin: 0;
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    -webkit-overflow-scrolling: touch;
    z-index: 100000;
    animation: fadeIn 1s;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* -----ロゴの部分----- */
.site_logo_w,
.site_logo_r {
    width: 110px;
}

.site_logo_w img {
    width: 100%;
}

/* -----中央の部分----- */
nav {
    margin: 0 auto;
    text-align: center;
    width: 100%;
    padding: 20px 120px 0 0;
    box-sizing: border-box;
}

nav ul li {
    color: #fff;
    padding-top: 20px;
    letter-spacing: 1.5px;
    font-weight: bold;
}

nav ul li:last-child a {
    padding: 20px 40px;
    margin-top: 40px;
    border: 2px solid #fff;
    display: inline-block;
    width: 250px;
    position: relative;
}

nav ul li:last-child a::after {
    content: "";
    width: 250px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    position: absolute;
    right: -7px;
    bottom: -7px;
    padding: 33px 0;
}

nav ul li:last-child a:hover {
    background: #fff;
    color: red;
    transition: 0.5s;
}

/* -----バツマークのアイコン----- */
.batsu {
    position: relative;
    width: 30px;
    height: 30px;
    position: absolute;
    right: 35px;
    top: 35px;
    animation: fadeIn 1.5s;
    z-index: 100;
}

.batsu::before,
.batsu::after {
    /* 共通設定 */
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2.3px;
    /* 棒の幅（太さ） */
    height: 50px;
    /* 棒の高さ */
    background: #fff;
}

.batsu::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.batsu::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.batsu:hover {
    cursor: pointer;
    opacity: 0.7;
}

/* ------メインビジュアル------ */
.main_visual {
    height: 720px;
    position: relative;
}

/* ------メインビジュアルの画像スライダー部分------ */
.slider {
    width: 80%;
    margin: 0 0 0 auto;
    height: 720px;
    position: relative;
}

.slider li {
    width: 75%;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    opacity: 0;
    animation: change-img-anim 15s infinite;
}

.slider li img {
    object-fit: cover;
    width: 100%;
    height: 600px;
}

.slider li:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    box-shadow: inset 0px 0px 20px 20px #fff;
}

.slider li:nth-child(1) {
    animation-delay: 0s;
}

.slider li:nth-child(2) {
    animation-delay: 5s;
}

.slider li:nth-child(3) {
    animation-delay: 10s;
}

@keyframes change-img-anim {
    0% {
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    30% {
        opacity: 1;
    }

    45% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* ------メインビジュアルのテキスト部分------ */
.main_visual_text {
    position: absolute;
    left: 10%;
    top: 200px;
}

.main_visual_text p {
    font-size: 36px;
    font-weight: bold;
    text-shadow: 0 5px 5px #fff;
}

.main_visual_text .btn {
    background: #FE4141;
    text-align: center;
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    border-bottom: 6px solid #9a0413;
    margin: 10px auto 0 auto;
    position: relative;
    width: 100%;
}

.main_visual_text .btn a {
    font-size: 20px;
    letter-spacing: 1px;
    display: block;
}

.main_visual_text .btn:hover {
    opacity: 0.9;
    transform: scale(1.08);
}

.main_visual_text .btn::after {
    content: "";
    width: 15px;
    height: 15px;
    position: absolute;
    top: 18px;
    right: 20px;
    transform: rotate(45deg);
    border-top: solid 3px #fff;
    border-right: solid 3px #fff;
}

/* ------選ばれる理由----- */
#selected .contents {
    background: #FF2A2A;
    padding: 80px 0;
    margin-bottom: 120px;
}

#selected .contents .item {
    display: flex;
    width: 48%;
    justify-content: space-between;
    flex-wrap: wrap-reverse;
}

#selected .contents .item:nth-of-type(1) {
    border-radius: 0 20px 20px 0;
}

#selected .contents .item:nth-of-type(2) {
    background: #FF2A2A;
}

#selected .contents .item:nth-of-type(3) {
    background: #FF2A2A;
}

#selected .contents .item:nth-of-type(4) {
    border-radius: 20px 0 0 20px;
    margin-top: 50px;
}

#selected .contents .item_inside {
    display: flex;
    align-items: center;
    margin: 0 auto;
    padding: 60px 40px;
}



.item_inside_image {
    width: 80px;
    margin-right: 30px;
}

.item2 {
    width: 50px;
}


#selected .item_inside ul li:first-child {
    color: #FE2A2A;
    font-size: 24px;
    font-weight: bold;
}

#selected .contents .item_inside ul li:last-child {
    font-size: 16px;
    font-weight: normal;
}

/* ------受講生の声------ */

.comment {
    display: flex;
    margin-bottom: 50px;
}

.comment .comment_profile {
    text-align: center;
}

.comment .comment_profile img {
    background-color: #CCCCCC;
    width: 120px;
    border-radius: 100px;
}

.comment .comment_profile p {
    letter-spacing: 3px;
    font-size: 12px;
}

.center {
    flex-flow: row-reverse;
}

/* -----吹き出し----- */

.text-right,
.text-left {
    position: relative;
    display: inline-block;
    margin: 0 30px;
    padding: 20px 20px;
    width: 500px;
    height: 130px;
    color: #555;
    font-size: 16px;
    background: #e0edff;
    border-radius: 15px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.text-right:before {
    content: "";
    position: absolute;
    top: 70%;
    left: -30px;
    margin-top: -15px;
    border: 15px solid transparent;
    border-right: 15px solid #e0edff;
}

.text-left:before {
    content: "";
    position: absolute;
    top: 70%;
    left: 100%;
    margin-top: -15px;
    border: 15px solid transparent;
    border-left: 15px solid #e0edff;
}

/* -----スクールの概要----- */
#overview {
    width: 100%;
    margin: 80px 0;
    background: url("img/bg.gif") repeat;
    animation: bgiLoop 6s infinite linear;
    height: 850px;
    padding: 60px 0;

}

@keyframes bgiLoop {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: -700px 700px;
    }
}

#overview .contents .item {
    width: 48%;
    margin-bottom: 30px;
    border-radius: 20px;
    text-align: center;
    box-sizing: border-box;
    padding: 60px 20px;
}

#overview .contents .item p {
    text-align: left;
    padding: 0 55px;
}

/* -----共通部分----- */
.wrapper {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
}

img {
    width: 100%;
}

h1 {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    position: relative;
    margin-bottom: 80px;
}

h1::after {
    content: "";
    width: 100px;
    height: 3px;
    display: inline-block;
    background-color: #000;
    position: absolute;
    bottom: -20px;
    left: calc(50% - 50px);
}

h2 {
    font-size: 24px;
    font-weight: bold;
}

h3 {
    font-weight: bold;
    margin-top: 3px;
    margin-bottom: 20px;
}

.contents {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contents .item {
    background-color: #fff;
    width: 50%;
    box-sizing: border-box;
}

/* -----試してみませんか?------ */
#try {
    text-align: center;
    margin-bottom: 80px;
    padding: 0 3%;
}

#try h1 {
    margin: 0;
}

#try h1::after {
    content: none;
}

#try p {
    margin-bottom: 20px;
}

#try a {
    background: red;
    display: block;
    border-radius: 100px;
    color: #fff;
    padding: 25px 50px;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
    border: 3px solid red;
}

#try a:hover {
    background: #fff;
    color: red;
    border: 3px solid red;
    transition: 0.3s;
}


/* -----フッター----- */
footer {
    background: #E8E8E8;
    padding: 80px 0 10px 0;
}

footer .contents {
    justify-content: space-around;
    margin-bottom: 50px;
}

footer .contents .item {
    background: #E8E8E8;
    width: 25%;
}

footer .contents .item ul li {
    margin: 0 0 5px 10px;
    font-weight: normal;
}


.copyright {
    text-align: center;
}


/* ------アニメーション------ */
.ani_right {
    animation: slideIn1 1s forwards;
}

@keyframes slideIn1 {
    0% {
        transform: translateX(180px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
    }

    40%,
    100% {
        opacity: 1;
    }
}

.ani_left {
    animation: slideIn2 1s forwards;
}

@keyframes slideIn2 {
    0% {
        transform: translateX(-180px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
    }

    40%,
    100% {
        opacity: 1;
    }
}

/* -----レスポンシブ------ */

@media screen and (max-width: 900px) {
    #humburger_icon {
        position: absolute;
        top: 0;
        right: 0;
        width: 70px;
        height: 70px;
        position: fixed;
        z-index: 10000;
        animation: fadeIn 1.5s;
        transition: 1s;
    }

    #humburger_icon span {
        position: absolute;
        left: 15px;
        height: 2px;
        width: 40px;
        background: #fff;
        border-radius: 2px;
        box-sizing: border-box;
        transition: all 0.5s;
        display: inline-block;
    }

    #humburger_icon span:nth-of-type(1) {
        bottom: 50px;
    }

    #humburger_icon span:nth-of-type(2) {
        bottom: 35px;
    }

    #humburger_icon span:nth-of-type(3) {
        bottom: 20px;
    }

    .batsu {
        right: 20px;
        top: 20px;
    }

    .batsu::before,
    .batsu::after {
        height: 30px;
    }


    .main_visual_text p {
        font-size: 24px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }

    .slider {
        width: 100%;
        margin-top: 40px;
    }

    .main_visual {
        height: 600px;
    }

    .slider li img {
        height: 300px;
    }

    .main_visual_text {
        width: 95%;
        top: 300px;
        left: 20px;
    }

    #selected .item_inside:nth-of-type(2) {
        margin-left: 230px;
    }

    #selected .contents .item:nth-of-type(1),
    #selected .contents .item:nth-of-type(4) {
        width: 95%;
    }

    #selected .contents .item:nth-of-type(2),
    #selected .contents .item:nth-of-type(3) {
        width: 5%;
    }

    #selected .contents .item_inside {
        padding: 40px;
    }

    .comment {
        flex-direction: column-reverse;
    }

    .text-right,
    .text-left {
        width: 96%;
        padding: 0;
        margin: 0 auto 30px auto;
        height: auto;
        padding: 20px;
        text-align: center !important;
    }

    .text-right p,
    .text-left p {
        margin: 0 auto;
        letter-spacing: 4px;
    }

    .text-right:before {
        content: "";
        position: absolute;
        top: 100%;
        left: 46%;
        margin-top: 0;
        border: 15px solid transparent;
        border-top: 15px solid #e0edff;
    }

    .text-left:before {
        content: "";
        position: absolute;
        top: 100%;
        left: 48%;
        margin-top: 0;
        border: 15px solid transparent;
        border-top: 15px solid #e0edff;
    }

    #overview {
        height: 980px;
    }

    #overview .contents .item {
        width: 96%;
        margin: 0 auto 30px auto;
    }

    #overview .contents .item {
        padding: 30px 10px;
    }

    #overview .contents .item p {
        padding-left: 30px;
    }

    footer {
        padding: 50px 0 10px 0;
    }

    footer .contents .item {
        width: 40%;
        justify-content: space-between;
        margin-bottom: 30px;
    }

    footer .item ul li a {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .copyright {
        font-size: 12px;
    }
}


/* .openbtn {
    position: relative;
    background: #83179e;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 5px;
}

.openbtn .openbtn-area {
    transition: all .4s;
}

.openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background: #fff;
    width: 45%;
}

.openbtn span:nth-of-type(1) {
    top: 15px;
}

.openbtn span:nth-of-type(2) {
    top: 23px;
}

.openbtn span:nth-of-type(3) {
    top: 31px;
}

.openbtn .active .openbtn-area {
    transform: rotateY(-360deg);
}

.openbtn .active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rorate(-135deg);
    width: 30%;
}

.openbtn .active span:nth-of-type(2) {
    opacity: 0;
}

.openbtn .active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rorate(135deg);
    width: 30%;
} */