.content_lightblue {
    margin: 0px auto;
    width: 100%;
    display: table;
    background-color: #D4E9F9;
}
.content_orange {
    margin: 0px auto;
    width: 100%;
    display: table;
    background: #fff0cc;
    box-shadow: 0px rgba(0, 0, 0, 0);
}
.content_flag {
    margin: 0px auto;
    width: 100%;
    display: table;
    background-image: url(./spain.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.content_box {
    margin:50px 0;
}
.row {
    display:grid;
    grid-template-columns: 150px 1fr;
    gap:30px;
}
.row.reverse {
    grid-template-columns: 1fr 150px;
}
ul li {
    list-style-type: none;
}

@media screen and (max-width: 767px) {
.content_box {
    margin:5em 0;
}
section.gutter {
    width:95%;
}
}

/* フェードインアニメーション
-------------------------------------------*/
.fadeIn_item.offs,
.offs .fadeIn_item{
    opacity: 0;
    transform: translate(0, -150px);
}
.fadeIn_item.ons,
.ons .fadeIn_item{
    transition: all 0.5s cubic-bezier(0.30, -1.03, 0.31, 2);
    opacity: 1;
    transform: translate(0, 0);
}
/* ここまで ------------------------------*/

/* メイン画像 */
.main_img_wrapper {
    position: relative;
    background-image:url(./spanish-salon-mainImg.webp);
    background-size:cover;
    background-position: 50%;
    height:500px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
}
.main_img {
    position:absolute;
    height:340px;
    bottom:-130px;
    text-align: center;
}
.main_img img {
    width:98%;
    height:auto;
}

h3.main_img_time {
    position:relative;
    text-align:center;
    font-size:22px;
    font-weight:700;
    margin-bottom: 20px;
    padding: 20px 0 20px;
    background: transparent;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
    line-height: 180%;
    color: #004da0;
}
h3.main_img_time::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: 0;
    border: transparent;
    border-top: transparent;
}
h3.main_img_time span {
    display:inline-block;
    font-size:150%;
    font-weight:900;
}
h3.main_img_time img {
    height:1.3em;
    margin:0 .5em;
}
.main_lead {
    position:relative;
    padding:30px 50px;
    background-color: #FFFFFF;
    border-radius: 40px;
    margin-bottom:50px;
}
.main_lead h4 {
    text-align:center;
    color:#BC1724;
    font-size:22px;
    font-weight:700;
    line-height:160%;
}
.main_lead h4 span {
    color:#ED8D03;
}
.main_lead p {
    margin-top:30px;
    line-height:180%;
}
.main_lead img.illust {
    position:absolute;
    display:block;
}
.main_lead img:nth-of-type(1) {
    top:-30px;
    width:100px;
    height:auto;
}
.main_lead img:nth-of-type(2) {
    right:30px;
    bottom:20px;
    width:130px;
    height:auto;
}

@media screen and (max-width: 767px) {
.main_img_wrapper {
    position: relative;
    background-image:url(./spanish-salon_sp.webp);
    background-position: top center;
    width:100%;
    height:300px;
}
.main_img {
    display:block;
    width:100%;
    height:auto;
    bottom:-10px;
}
.main_img img {
    display:block;
    height:auto;
    width:100%;
}

h3.main_img_time {
    position:relative;
    text-align:center;
    font-size:18px;
    font-weight:700;
    margin: 0 0;
    padding: 1em 0 2em;
    background: transparent;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
    line-height: 180%;
    color: #004da0;
}
h3.main_img_time::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: 0;
    border: transparent;
    border-top: transparent;
}
h3.main_img_time span {
    display:inline-block;
    font-size:150%;
    font-weight:900;
}
h3.main_img_time img {
    height:1.3em;
    margin:0 .5em;
}
.main_lead {
    position:relative;
    padding:50px 1em;
    background-color: #FFFFFF;
    border-radius: 20px;
    margin-bottom:50px;
}
.main_lead h4 {
    text-align:center;
    color:#BC1724;
    font-size:18px;
    font-weight:700;
    line-height:150%;
}
.main_lead h4 span {
    color:#ED8D03;
}
.main_lead p {
    margin-top:30px;
    line-height:180%;
}
.main_lead img.illust {
    position:absolute;
    display:block;
}
.main_lead img:nth-of-type(1) {
    left:50%;
    transform: translateX(-50%);
    height:70px;
    width:auto;
}
.main_lead img:nth-of-type(2) {
    left:50%;
    transform: translateX(-50%);
    bottom:-50px;
    height:100px;
    width:auto;
}
}

/* teacher
----------------------------------------------------------------------- */
#teacher div.grid{
    margin:50px 0;
    display:grid;
    grid-template-columns: 150px 1fr;
    gap:30px;
}

#teacher h4.arrow {
    position:relative;
    margin-top:30px;
    font-size:130%;
    line-height:150%;
}
#teacher h4.arrow:before {
    position:absolute;
    top:-40px;
    left:-30px;
    content:"";
    display:block;
    background-image: url(./illust_6.png);
    background-repeat: no-repeat;
    width:100%;
    height:40px;
    background-size: contain;
}
#teacher figure {
    width:100%;
    height:150px;
}
#teacher figure img {
    width:100%;
    height:100%;
    object-fit: cover;
    object-position: 0 0;
    border-radius: 30px;
}


#spanish-salon .contact_box {
    display: flex;
    justify-content: center;
    align-items: center;
    margin:50px 0;
}
.contact_box .contact_txt {
    position:relative;
}
.contact_box figure {
    width:120px;
    height:auto;
}
.contact_box figure img {
    width:100%;
    height:100%;
    object-fit: contain;
}

.contact_box .btn {
    width:60%;
}
.contact_box .btn a {
    display: inline-block;
    text-align: center;
    margin: 0 auto;
    border: 0;
    background: #ED8D03;
    background-image: none;
    padding: 20px 50px;
    font-size: 18px;
    text-decoration: none;
    color: #FFFFFF;
    border-radius: 100px;
    width:100%;
}
.contact_box .phone a {
    display: inline-block;
    text-align: center;
    margin: 0 auto;
    border: 0;
    padding: 15px 40px;
    font-size: 18px;
    text-decoration: none;
    color: #ED8D03;
    font-weight: 700;
    font-size: 30px;
}

@media screen and (max-width: 767px) {
.contact_box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap:1em;
    margin:50px 0;
}
.contact_box .btn {
    width:100%;
}
}

/* FAQ
----------------------------------------------------------------------- */
h3.faq {
    position:relative;
    text-align:center;
    font-size:22px;
    font-weight:700;
    margin-bottom: 20px;
    padding: 20px 0 20px;
    background: transparent;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
    line-height: 180%;
    color:#BC1724;
    padding:0 0 30px;
    z-index:0;
}
h3.faq::before {
    content: "Preguntas frecuentes";
    color:#F1C683;
    position: absolute;
    width: 100%;
    left:0;
    top:25px;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    font-weight:bold;
    font-size:50px;
    font-style: italic;
    letter-spacing: -0.02em;
    z-index: -1;
    margin-left: 0;
    border: transparent;
    border-top: transparent;
}

.faq_box {
    margin-bottom:50px;
    display:flex;
    flex-direction: column;
    gap:30px;
}
.faq_box h4 {
    color: #F66108;
    margin-bottom:0.5em;
}
.faq_box li {
    background-color: #FFF;
    border-radius: 20px;
    padding:3em;
    background-image: url(./illust_5-2.png);
    background-repeat: no-repeat;
    background-size: 130px;
    background-position: -30px -30px;
}
.faq_box .faq_q {
    font-weight:bold;
}
.faq_box .faq_a {
    margin-top:0.5em;
    padding-top:1em;
    border-top:dashed 2px #F66108;
    padding-left:1.5em;
    line-height:180%;
}
.faq_box .faq_a .flex{
    display: flex;
    justify-items: center;
    align-items: center;
}
.faq_box .faq_a .flex img {
    display:block;
    width:135px;
    height:auto;
    padding-right:2em;
}
.faq_box .faq_a .flex span {
    display:block;
    width:100%;
}

@media screen and (max-width: 767px) {
.faq_box li {
    background-color: #FFF;
    border-radius: 20px;
    padding:2.5em 2em;
}
.faq_box .faq_a {
    padding-left:0;
}
.faq_box .faq_a .flex{
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
}
.faq_box .faq_a .flex img {
    display:block;
    width:30%;
    height:auto;
    padding:0 0 2em 0;
}
}

