/*
Theme Name: Any-age-english
Theme URL: https://any-age-english.com/
Description: 海外駐在員・配偶者のための英語＆海外生活サポート専門店 Any Age English オンラインで英語学習をサポートします
Author: hirano
Version: テーマのバージョン
Tags: fun,enjoy,english（カンマ区切り/オプション）
License: テーマのライセンス
License URI: テーマのライセンスのURI
*/


/* トップ用 H2〜 */
h2 {
font-size: 45px;
align-items: left;
margin-bottom: 0.5em;
margin-top: 0;

}
@media all and (max-width: 767px) {
  .h2{
    font-size: 24px;
    color: #4c4137;
     }
}

h3 {
  font-size: 30px;
}
@media screen and (max-width: 767px) {
    .h3{
    font-size: 26px;
  }
}
h4 {
  font-size: 20px;
  margin-bottom: 20px;
 }
@media screen and (max-width: 767px) {
      .h4{
    font-size: 16px;
  }
}

/*====================
css共通
 =====================*/
.text-12{
  font-size: 12px;
}

/*====================
背景コンテナ
 =====================*/
#container-top {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

/*====================
 slick topスライダー
 =====================*/

 .main-sp {
    width: 100%;
  }
@media screen and (min-width: 481px) {
  .main-sp {
    display: none;
  }
}
@media screen and (max-width: 480px) {
  .main-pc {
    display: none;
  }
}

.slide-items {
  width: 100%;
  height: 100%;
  padding: 0;
  margin-top: 3em;
}
@media screen and (max-width: 767px) {
  .slide-items {
  margin-top: 0;
}
}

.slide-items img {
  width: 100%;
  object-fit: cover;
} 

/*====================
 news
 =====================*/
#news-top{
  padding: 50px;
  background-color: #ffffff;
}
@media screen and (max-width: 767px) {
  #news-top{
    padding: 2em 1em 3em 1em;
 }
}
div.container-news {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    border: #c0c0c0 solid 4px;
    padding: 2em;
    border-radius: 1em;
}
@media screen and (max-width: 767px) {
  div.container-news{
    padding: 1em;
 }
}
.news-all{
  display:flex;
  gap: 2em;
  border-bottom: 1px dashed #666;
  align-items: center;
  padding: 1.5em;
} 
.news-text{
    font-weight: 700;
    font-size: 14px;
    text-align: left;
    padding: 1em 0 0.3em 0;
    color: #ed7251;
}
.news-title{
    text-align: left;
    font-size: 18px;
}
@media screen and (max-width: 767px) {
  .news-all {
        gap: 0.4em;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 0.5em;
    }
  .news-title{
    margin-bottom: 0.8em;
    font-size: 4.375vw;
  }
  .news-text{
    padding: 0.3em 0 0.3em 0;
  }
}

/*====================
 レッスンメニュー
 =====================*/

.dome-shape{
  background-image: linear-gradient(90deg, #f2ecce, #c2b8a145);
  background-repeat: no-repeat;
  background-position: center;
}
.container-menu,.container-menu-page{
  padding: 50px;
  text-align: center;
}

.container-menu-page{
  background-color: #c2b8a145;
}
@media screen and (max-width: 767px) {
    .container-menu,.container-menu-page{
    padding: 2em;
   }
    .container-menu-page{
    padding-top: 5em;
    }
}
.inner-menu{
  margin-bottom: 7em;
}
@media screen and (max-width: 767px) {
  .inner-menu{
  margin-bottom: 4em;
  margin-top: 1.5em;
}
}
.lesson-menu-all {
  display: flex;
  justify-content: space-between;
  text-align: center;
  gap: 2em;
}
@media screen and (max-width: 767px) {
  .lesson-menu-all {
   display: block;
  }
}
.lesson-menu-all a:hover{ 
  opacity: 0.8 ;
}
.lesson-menu-inner{
  width: 33.3%;
  position: relative;
}
@media screen and (max-width: 767px){
 .lesson-menu-inner{
    width: 100%;
    margin-bottom: 2em;
  }
}
.kadomaru{
  background-color: #ffffff;
  border: 8px solid #ffffff;
  border-radius: 10px;
}
.link-menu a{
display: block;
}
.lesson-menu-detail{
  margin-top: 0.8em;
  line-height:1.8;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
}
.up2em{
  top: -2em;
}
@media screen and (max-width: 767px){
  .up2em{
    top: 0;
  }
}
.circle{
  display: inline-block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  position: absolute;
  left: -1.2em;
  top: -3em;
  margin: 0;
  text-align:center;
  line-height: 80px;
  font-size:small;
  color: #ffffff;
  letter-spacing: 0.06em;
}
.circle1{
  background: #ee909b;
}
.circle2{
  background: #ed7251;
}
.circle3{
  background: #e1c500;
}
.lesson-menu-text{
  font-size: 1.2em;
  padding:2.5em 0;
  text-align:center;
  font-weight: bold;
}
.lesson-menu-img{
  width: 100%;
  height: auto;
  border-radius: 50% / 30%;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.container-menu{
    position: relative;  
}
.cv-bnr-taiken{
  position: absolute;
  background: #db5835;
  padding: 1.3em 1em;
  border-radius: 0.2em;
  color: #FFF;
  width: 280px;
  right: 3em;
  margin: 0 auto;
	right: 0;
	left: 0;
  font-size: 18px;
}

/*====================
 point
 =====================*/
 .bnr-profile {
    background: #4ba9bd;
    padding: 0.6em;
    border-radius: 0.2em;
    color: #FFF;
    width: 250px;
    margin: 0 auto;
    font-size: 16px;
    text-align: center;
    font-weight: normal;
}
  
#container-point {
    background-size: 20px 20px;
    background-color: #fff;
    background-position: -14px 14px; 
    padding: 50px;
}
.aae-point {
  margin: 1em 0 0.5em 0;
}
.inner-point{
  margin-bottom: 4em;
}
div.inner-point{
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: space-around;
}

@media screen and (max-width: 767px) {
  #container-point {
    padding: 2em;
  }
 .aae-point{
   width: 100%;
   margin: 1em 0 0.3em 0;
 }
 .in-in-point{
   flex-direction: column;
   gap: 0;
 }
}
.inner-point-detail{
    line-height: 1.8;
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 2em;
    background-color: #d0eaec;
    text-align: left;
    width: 45%;
    display: flex;
	  flex-direction: column;
}

@media screen and (max-width: 767px) {
  .inner-point-detail {
  width: 100%;
  }
}

.in-in-point{
  position: relative;
  padding: 1.2em;
}
.point-number {
  height: 60px;
  position: absolute;
  left: 0em;
  top: -2.3em;
}
@media screen and (max-width: 767px) {
  .point-number {
    height: 40px;
    top: -1.3em;
  }
}
.desc-container{
  background-color: #FFF;
  border-top: dashed 2px#00a8bc;
  border-bottom: solid 2px#00a8bc;
  border-right: solid 2px#00a8bc;
  border-left: solid 2px#00a8bc;
  flex-grow: 1;
  padding: 0.5em;
}
p.desc{
  font-size: 18px;
  line-height: 1.8;
  padding: 1.2em 0.5em;
  margin: 0;
  text-align: left;
  font-weight: normal;
}

@media screen and (max-width: 767px) {
  .point-img ,.point-img2{
    width: 100%;
  }
  .point-number{
    height: 50px;
  }
  p.desc{
  font-size: 4.375vw;
}
}
.marker1{
  background-color: #fffa50;
  padding: 0.4em;
  margin-left: 0.5em;
  margin-right: 0.5em;
}
img.point-img{
  max-width: 100%;
}
/*====================
 ブログ
 =====================*/
 #container-blog{
   background-image: linear-gradient(rgba(210, 210, 210, 0.4) 1px, transparent 1px), linear-gradient(to right, rgba(210, 210, 210, 0.4) 1px, transparent 1px);
    background-size: 20px 20px;
    background-color: #fff;
    background-position: -14px 14px;
}
div.container1 {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.title-blog{
  padding: 2em 0;
}

.img-kirinuki2{
  position: relative;
}
.img-kirinuki{
  position: absolute;
  right: 0;
  top: -10px;
  z-index: 100;
}
@media screen and (max-width: 767px){
  .category_title{
    margin-bottom: 1em;
  }
}
.blog-all{
  display: flex;
    padding: 0px;
    justify-content: center;
    text-align: left;
    flex-wrap: wrap;
}
@media screen and (max-width: 767px) {
  .blog-all{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 1em;
    justify-content: center;
  }
  .blog-box-category {
    width: 40%;
  }
}
.blog-box-category {
    border-radius: 15px;
    text-align: center;
    margin: 10px;
    background-color: white;
    width: 30%;
}
.blog-box-img{
/* width: 250px; 固定したい幅 */
  height: 150px; /* 固定したい高さ */
  position: relative; /* 必要に応じて */
  overflow: hidden; /* コンテナからはみ出た部分を隠す */
}
.blog-box-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* coverまたは contain, fill */
  display: block; /* 余白をなくすため */
  border-radius: 1em;
}

.blog-titlebox{
  padding: 0 10px;
  margin-top: 1em;
  margin-bottom: 1em;
  line-height: 1.8;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
}
.blog-date-catedory{
  font-size: 12px;
}
.title-blog{
  padding: 2em 0;
}

/*====================
 SNS
 =====================*/
 #two {
  background-color: #ffffff;
  padding: 50px;
}
@media all and (max-width: 767px) {
   #two {
    padding: 1em 1em 2em 1em;
  }
}
.SNS{
  display: flex;
  gap: 2em;
}
.h3text{
  font-size: 14px;
  margin-bottom: 3em;
  text-align: left;
}
.insta,.potcast{
  width: 50%;
}
@media screen and (max-width: 767px) {
  .SNS{
    display: block;
  }
  .insta,.potcast{
    width: auto;
  }
}
/*====================
 インスタグラム
=====================*/
@media all and (max-width: 767px) {
  .insta{
  margin:0 0 40px 0;
  }
}
.insta,.potcast {
  padding: 1.5em;
  background-color:#fcfbf1ff;
  position:relative;
}
/*====================
 potcast
=====================*/
.wp_rss_retriever li {
  padding: 20px;
  list-style: none;
  color: rgb(0, 0, 0);
  text-align: left;
  background-color: #ffffff;
  border-radius:20px;
  font-size: 14px;
}

.btn-potcast{
  display: flex;
  margin: 0 auto;
  flex-wrap: nowrap;
}

@media all and (max-width: 767px) {
  .btn-potcast{
    display: block;
   
  }
}
/*====================
 CV　コンタクト
 =====================*/
.title-oya2 {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
@media screen and (max-width: 767px) {
  .title-oya,.title-oya2,.blog,.voice,.text-oya {
    flex-direction: column;
  }
}  
.mar-btm40{
  margin-bottom: 40px;
}
.contact-btn-2set{
display: flex;
justify-content: center;
flex-wrap: nowrap;
margin-bottom: 50px;
}
@media screen and (max-width: 767px) {
  .contact-btn-2set{
    display: block;
  }
}
.contact-btn-line,.contact-btn-form{
  margin: 0 10px;
}

.contact-btn-line a:hover img,.contact-btn-form a:hover img {
 opacity: 0.9 ;
}
@media screen and (max-width: 767px) {
  .contact-btn-line img,.contact-btn-form img{
width: 100%;
 }
}

/*====================
 top-コンタクト
=====================*/
#eight {
  background-color: #fff;
  padding: 50px;
} 
 
.section {
  max-width: 1024px;
  margin: 0 auto;
  padding: 50px 0px;
}
.section p._a {
  font-size: 12px;
  font-weight: bold;
  margin: 30px 0 0;
}
.section p._a .link {
  display: inline-block;
  color: #607D8B;
  padding-left: 1.3em;
  text-indent: -1.3em;
}
.section p._a .link:before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-top: 2px solid #607D8B;
  border-right: 2px solid #607D8B;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  margin-right: 10px;
}

/*====================
 CTA float 2025
=====================*/
.common-fixed-btn {
  display: none;
} 
.sp-foot-bottom0{
  display: none;
}
.close{
  position: absolute;
  left: 90px;
  top: 0.5em;
  z-index: 100;
  border-radius: 50%;
  border: 0;
  background-color: #abc2e8;
  color: #ffffff;
  width: 1.4em;
  height: 1.4em;
  font-size: 1.1em;
  text-align: center;
  vertical-align: middle;
}
@media (max-width: 767px) {
  .common-fixed-btn {
    display: block;
    position: fixed;
    bottom: 17vw;
    right: 5%;
}

  .sp-foot-bottom0{
   display: flex;
   bottom: 0;
   width: 100%;
   height: 60px;
   background-color: #625444;
   position: fixed;
   justify-content: center;
   align-items: center;
   opacity: 0.8;
  }

  .sp-foot-bottom0-inner{
    width: 25%;
    text-align: center;
    color: #fff;
  }
  .sp-foot-bottom0-text{
    color: #fff;
    font-size: 0.7em;
    font-weight: 400;
    letter-spacing: .12em;
    margin-top: 0.3em;
  }

.bottom-nav-a{
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
}
.online-btn-top img {
  z-index: 1000;
  width: 120px;
  filter: drop-shadow(0px 0px 8px rgba(0, 0, 0, 0.2));
  animation: animation_puni-data-v-9795c524 2s infinite running;
}
@keyframes animation_puni-data-v-9795c524 {
0% {
    transform: scale(1, 1) translateY(0);
}
49% {
    transform: scale(1, 1) translateY(0);
}
50% {
    transform: scale(0.9, 1.05) translateY(0);
}
58% {
    transform: scale(1.1, 0.9) translateY(10%);
}
65% {
    transform: scale(1, 1) translateY(0);
}
73% {
    transform: scale(1.05, 0.95) translateY(5%);
}
80% {
    transform: scale(1, 1) translateY(0);
}
87% {
    transform: scale(1.02, 0.98) translateY(2%);
}
95% {
    transform: scale(1, 1) translateY(0);
}
100% {
    transform: scale(1, 1) translateY(0);
}
}