/* @group ClearFix */
.clearfix:after {
  content:" ";
  display:block;
  clear:both;
}

html {
/* overflow-yプロパティは、ボックスの範囲内に内容が収まらない場合に、はみ出た要素の上下の表示方法を指定する際に使用 */
overflow-y: scroll;
/* iPhone や Android のブラウザーは、縦向き (Portrate mode) と横向き (Landscape mode) の文字サイズを自動調整する機能 */
-webkit-text-size-adjust: 100%;
font-size: 62.5%;
}

/* input[type="submit"] {
  -webkit-appearance: none;
  border-radius: 0;
} */

body {
  margin: 0 auto;
  font-family:"Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
  font-size: 1.8rem;
  line-height: 3.8rem;
  background-color: #F7F5ED;
  color: #1a1818;

  overflow: hidden;
}

section {
  padding: 3rem 2.5rem;
}

h1 {
  padding: 2rem 1rem 2.5rem;
}

.logoImg {
  width: 28rem;
}

.logoImg:hover {
  opacity: 0.6;
}

h2, h3 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  letter-spacing: 0.08rem;
}

h4 {
  font-weight: bold;
  margin-bottom: 1rem;
  letter-spacing: 0.08rem;
}

.br-sp {
  display: inline-block;
}

.only_sp {
  display: block;
}

.only_pc {
  display: none;
}

/* ヘッダ部ここから */

header {
  margin: 0 auto;
}

.header_menu {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 1.5rem;
  margin-bottom: 2rem;
}

.header_menu li {
  width: 11rem;
  padding: 0.5rem;
  background-color: #D2E0C3;

  font-size: 1.6rem;
  font-weight: bold;
  text-align: center;
  line-height: 2.5rem;
}

.header_menu .highlight {
  background-color: #B6C9A2;
}

.header_menu li a {
  width: 100%;
  display: block;
}

.header_icon {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background-color: #F7F5ED !important;
  padding: 0 !important;
}

.icon_FB {
  margin-right: 2rem;
}

.icon_FB::before {
  font-family: 'Font Awesome 5 Brands';
  font-weight: 100;
  font-size: 3.8rem;
  content: '\f082';
  color: #008ee7;
}

.icon_FB.SP::before {
  display: block;
}

.icon_FB.PC::before {
  display: none;
}

.icon_inst::before {
  font-family: 'Font Awesome 5 Brands';
  font-weight: 100;
  font-size: 4rem;
  content: '\f16d';
  color: #dd0d3c;
}

/* メインここから */

.top_visual img,.kyoshithu_visual img {
  width: 100vw;
  position: relative;
  z-index: 100;
}

.top_visual_SP {
  display: block;
}

.top_visual_PC {
  display: none;
}

.top_first {
  margin-bottom: 3rem;
}

.top_first h2, .top_first p {
  position: relative;
  z-index: 100;
}

.top_first_midashi {
  position: relative;
}

.top_maru {
  width: 15rem;
  height: 15rem;
  line-height: 15rem;
  background-color: #FAD689;
  border-radius: 50%;
  text-align: center;

  position: absolute;
  top: 0;
  bottom: 0;
  left: -1.5rem;
  margin: auto;
  z-index: 1;
}

.top_3_imges {
  text-align: center;
}

.top_3_imges li {
  margin-bottom: 2.5rem;
}

.top_3_imges li img {
  width: 100%;
}

.top_3_imges li p {
  font-size: 1.6rem;
}

.top_3_menues li {
  margin-bottom: 6rem;
}

.top_3_menues a:hover {
  cursor: pointer;
  font-weight: bold;
  /* opacity: 0.6; */
}

/* .top_3_menues .icon_FB {
  margin-left: 0.5rem;
} */

.top_3_midashi, .top_3_menues h3, .top_3_menues p {
  position: relative;
  z-index: 100;
}

.top_sankaku {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 55px 0 55px 110px;
  border-color: transparent transparent transparent #FAD689;

  position: absolute;
  top: -3.7rem;
  bottom: 0;
  left: -1.5rem;
  z-index: 1;
}

.top_sankaku.green {
  border-color: transparent transparent transparent #D2E0C3;
}

.icon_window::before {
  font-family: 'Font Awesome 5 free';
  font-weight: 900;
  font-size: 1.5rem;
  content: '\f35d';
  margin: 0 2px 0 3px;
}

/* いけばな教室ここから */

.class_card {
  width: 100%;
  max-width: 1200px;
  background-color: #fff;
  padding: 1rem;
  margin-top: 3rem;
  word-break: break-all;
  position: relative;
}

.leaf_img {
  display: none;
}

.class_info {
  margin-bottom: 2rem;
}

.class_search {
  display: flex;
}

.class_search > h3 {
  margin-right: 5.8rem;
}

.class_search ul li {
  margin-bottom: 1rem;
}

.class_search ul li::before {
  font-family: 'Font Awesome 5 free';
  font-weight: 900;
  content: '\f04b';
  color: #DB4D6D;
  margin-right: 1rem;
}

.under_solid {
  border-bottom: solid 1px #1a1818;
  /* border-color: midnightblue; */
  padding-bottom: 0.5rem;
}

.under_solid:hover {
  font-weight: bold;
}

.class_shikaku {
  width: 23rem;
  height: 7rem;
  line-height: 7rem;
  background-color: #FAD689;
  text-align: left;
  padding-left: 4rem;
  margin-top: 6rem;
  margin-left: -3rem;
}

.class_shikaku:first-child {
  margin-top: 0;
}

.class_card_top {
  margin-bottom: 4rem;
}

.class_card_top > div {
  display: flex;
  font-size: 1.4rem;
}

.class_card_top > p {
  margin-bottom: 1rem;
}

.badge_01 {
  border: 1px solid #707070;
  padding: 0 0.5rem;
  line-height: initial;
  margin-right: 1rem;
}

.badge_01.taiken {
  background-color: #F7D4CC;
}

.badge_01.kids {
  background-color: #D0E3EF;
}

.badge_01.eng {
  background-color: #F7E6B9;
}

.class_card_bottom li {
  display: flex;
  margin-top: 1rem;
}

.class_card_koumoku {
  background-color: #F5F1E0;
  min-width: 6.4rem;
  height: fit-content;
  margin-right: 1rem;
  padding: 0 0.5rem;
}

.badge_02 {
  display: flex;
  overflow: hidden;
  font-size: 1.6rem;
}

.badge_02 p {
  margin-right: 1rem;
}

.badge_02 > .youbi {
  height: 3.7rem;
  width: 3.7rem;
  border-radius: 50%;
  text-align: center;
  border: 1px solid #707070;
}

.badge_02 > .ou_soudan {
  height: 3.7rem;
  width: 7rem;
  border-radius: 30px;
  text-align: center;
  border: 1px solid #707070;
}

.TLTL::before, .mlml::before, .site::before {
  font-family: 'Font Awesome 5 free';
  font-weight: 900;
  font-size: 1.7rem;
}

.TLTL::before {
  content: '\f095';
  margin-right: 1rem;
}

.mlml::before {
  content: '\f0e0';
  margin-right: 1rem;
}

.site::before {
  content: '\f015';
  margin-right: 0.6rem;
}

.modoru_block {
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 5rem;
}

.circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  background-color: #D2E0C3;
  cursor: pointer;
}

.circle:hover {
  background-color: #aabe95;
}

.icon_arrow::before {
  font-family: 'Font Awesome 5 free';
  font-weight: 900;
  font-size: 2.5rem;
  content: '\f077';
  color: #fff;
}

/* アドレス対策 */
.no-spam {
  display: none;
}

/* フッタ部ここから */

.footer_contents {
  width: 100vw;
  text-align: center;
  padding: 2.5rem 2rem 2rem;
  background-color: #D2E0C3;
  margin-top: 5rem;
}

.footer_contents .icon_FB::before {
  margin: 0 0.5rem;
}

.footer_icon {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.footer_info {
  margin-bottom: 2rem;
}

.footer_info div {
  margin-top: 0.5rem;
}

.footer_contents p {
  font-size: 1.5rem;
  margin-top: 2.5rem;
}

/* フッタ部ここまで */

/* 画面サイズがiPhone5以下のとき */
@media screen and (max-width: 350px){

/*小さめスマホのみ改行「されない」スタイル*/
  .br-spMini_01 {
    display: none;
  }

/*小さめスマホのみ改行「される」スタイル*/
  .br-spMini_02 {
    display: inline-block;
  }
}

/* タブレット以上 */
@media print, screen and (min-width: 768px) {

  .only_sp {
    display: none;
  }

  .only_pc {
    display: block;
  }

  .br-sp {
    display: none;
  }

  .logoImg {
    width: 35rem;
  }

  .header_menu {
    padding: 1rem 8rem;
    margin-bottom: 2rem;

    background-color: #D2E0C3;
  }

  .header_menu a {
    display: block;
    padding: 0 0 5px;
    text-decoration: none;
    margin-top: 12px;
  }

  .header_menu a::after {
    border-bottom: solid 6px #A7BA94;
    bottom: 0;
    content: "";
    display: block;
    transition: all .3s ease;
    -webkit-transition: all .3s ease;
    width: 0;
  }
  .header_menu a:hover::after {
    width: 100%;
  }

  .header_menu li {
    width: auto;
    /* width: 100%; */
    height: 3rem;
    padding: 0;
    display: flex;
    align-items:  flex-start;
    align-items: center;
    /* justify-content: center; */
    margin-right: 5rem;
  }

  .header_menu li:hover {
    cursor: pointer;
    /* font-size: 2rem;
    transition: font-size .2s; */
  }

  .header_icon {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: #D2E0C3 !important;
    padding: 0 !important;
  }
  
  .icon_FB {
    margin-right: 2rem;
  }
  
  .icon_FB::before {
    font-family: 'Font Awesome 5 Brands';
    font-weight: 100;
    font-size: 2.8rem;
    content: '\f082';
    color: #008ee7;
  }

  .icon_FB_heder::before {
    font-family: 'Font Awesome 5 Brands';
    font-weight: 100;
    font-size: 1.8rem;
    content: '\f082';
    color: #008ee7;
    margin-left: 0.5rem;
  }

  
  .icon_FB.SP::before {
    display: block;
  }
  
  .icon_FB.PC::before {
    display: none;
  }
  
  .icon_inst::before {
    font-family: 'Font Awesome 5 Brands';
    font-weight: 100;
    font-size: 3rem;
    content: '\f16d';
    color: #dd0d3c;
  }

  .icon_inst_heder::before {
    font-family: 'Font Awesome 5 Brands';
    font-weight: 100;
    font-size: 2rem;
    content: '\f16d';
    color: #dd0d3c;
    margin-left: 0.4rem;
  }

  .icon_FB.SP::before {
    display: none;
  }
  
  .icon_FB.PC::before {
    display: inline-flex;
    margin-left: 0.5rem;
  }

  .iconhover:hover {
    opacity: 0.6;
  }

  .top_visual_SP {
    display: none;
  }

  .top_visual_PC {
    display: block;
  }

  section {
    padding: 4rem 8rem;
  }

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

  .top_3_imges li img {
    width: 20rem;
  }

  .class_search > h3 {
    margin-right: 1.5rem;
    margin-bottom: 0;
  }

  .class_search ul {
    display: flex;
    margin-right: -10rem;
  }

  .class_search ul li {
    margin-bottom: 0;
    margin-right: 2rem;
  }

  .class_search ul li::before {
    margin-right: 0.2rem;
  }

  .class_card {
    display: flex;
  }

  .class_card_top, .class_card_bottom {
    width: 50%;
  }

  .class_card_top {
    margin-right: 1rem;
  }

  .class_card_bottom li:first-child  {
    margin-top: 4.5rem;
  }
}

/* ノートPC以上 */
@media print, screen and (min-width: 992px) {

  h2, h3 {
    font-size: 2.2rem;
  }

  .header_menu {
    justify-content: flex-start;
    padding: 1rem 13rem;
    /* padding: 1rem 15rem; */
    margin-bottom: 2rem;
  }

  .top_visual {
    margin: 0 13rem;
  }

  .top_visual img {
    width: 100%;
  }

  .kyoshithu_visual img {
    width: 65%;
    margin: 0 auto;
  }

  section {
    padding: 9rem 19rem 0rem;
  }

  .class_search ul li::before {
    margin-right: 0.5rem;
  }

  .footer_contents {
    margin-top: 10rem;
    padding: 3.5rem 2rem 3rem;
  }

  .footer_info {
    display: flex;
    justify-content: center;
    align-items: flex-end;
  }

  .footer_info .logoImg {
    margin-right: 3rem;
  }

}

/* デスクトップPC */
@media print, screen and (min-width: 1200px) {
  
  h1 {
    padding: 2rem 13rem;
  }

  h2, h3 {
    margin-bottom: 0;
  }

  .header_menu {
    /* padding: 1rem 25rem; */
    margin-bottom: 3rem;
  }

  .top_first {
    display: flex;
    margin-bottom: 5rem;
  }

  .top_first p {
    position: static;
  }

  .top_first_midashi {
    width: 32%;
  }

  .top_maru {
    top: -10.4rem;
  }

  .top_3_menues li {
    display: flex;
    margin-bottom: 11rem;
  }

  .top_first h2, .top_3_midashi h3 {
    margin-right: 3rem;
  }

  .top_3_imges {
    justify-content: space-between;
  }

  .top_3_imges li img {
    width: 33rem;
    border-right: #F7F5ED 1.5px solid;
  }

  .top_maru.class {
    top: -12rem;
  }

  .class_search > h3 {
    margin-right: 5rem;
  }

  .class_shikaku {
    width: 30rem;
    margin-left: -2rem;
  }

  .class_card {
    padding: 2rem;
    margin-top: 5rem;
  }

  .leaf_img {
    display: block;
    position: absolute;
    width: 17rem;
    right: 0.5rem;
    top: 0.5rem;
  }

  .footer_contents {
    margin-top: 15rem;
  }
}

/* デスクトップの大きめのPC */
@media print, screen and (min-width: 1700px) {

  .top_3_imges {
    justify-content: flex-start;
  }

  .top_3_imges li {
    margin-right: 4rem;
}

  .top_first_midashi {
    width: auto;
  }
}