html {
  font-size: 100%;
}
body {
  background-color: rgb(255, 225, 230);
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  margin: 0;
  height: 100%;
}
body:after{
  margin: 0;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  content: "";
  background: rgb(255, 225, 230);
  /* background: -moz-linear-gradient(top, #afeeee 0%,#FFF 100%); */
  /* background: -webkit-linear-gradient(top, #afeeee 0%,#FFF 100%); */
   background: linear-gradient(to bottom, rgb(253, 203, 211) 0%, #fff 100%);  
  z-index: -1;
}
i{
  margin-right: 9px;
}
ul {
  list-style: none;
}
a {
  text-decoration: none;
}
li{
  list-style: none;
}
p{
  font-size: 1.4rem;
}

header {
  width: 100%;
  background-color: #fff;
}
h1 {
  height: 140px;
  line-height: 140px;
  font-size: 3.5rem;
  text-align: center;
  color: white;
  text-shadow: 3px 4px 5px #868686;
}
nav {
  background-color: #593C2E;
}

.wrapper {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 5%;
  padding-top: 30px;
  margin-bottom: 100px;
}
.section-title {
  font-size: 2.1rem;
  text-align: center;
  position: relative;
  width: 100%;
  margin-bottom: 20px;
  margin-top: 20px;
  text-shadow: 0 4px 6px rgb(194, 194, 194);
  text-shadow: 1px 2px 3px #808080;
}
.section-title::before{
content: '';
display: inline-block;
width: 140px;
height: 140px;
background-image: url(aisome_car_color.png);
background-size: contain;
vertical-align: middle;
margin-right: 20px;
}
.section-title::after{
content: '';
display: inline-block;
width: 140px;
height: 140px;
background-image: url(sweets_color.png);
background-size: contain;
vertical-align: middle;
margin-left: 20px;
}
.section-text{
text-align: center;
font-size: 1.3rem;
padding-top: 10px;
padding-bottom: 30px;
max-width: 800px;
margin: 0 auto;
line-height: 1.7;
}

/*
グローバルナビゲーション
「position: relative;」で、サブメニュー（Wide）の基準位置として設定
*/
.menu {
  max-width: 1000px;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  position: relative;
}
.menu > li {
  width: 25%;
  height: 70px;
  line-height: 70px;
  text-align: center;
  font-size: 1.1rem;
}
.menu > li >a{
  text-decoration: none;
  color: #fff;
}
.menu > li:hover {
  opacity: 0.6;
}
/*
「display: block;」でリンク範囲を親要素と同じ範囲まで広げる
*/
.menu > li a {
  display: block;
}
/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 600px) {
  body {
    font-size: 0.75rem;
  }
}

.mainvisual{
  background: linear-gradient(45deg, #FCD4B6 0%, #FCD4B6 50%, #A8E5CF 50%, #A8E5CF 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 500px;
}



/*---------------------------------------------------------------------*/
.home-items{
    display: flex;
    justify-content:space-evenly;
    align-items: center;
    margin-top: 30px;
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 5%;
    padding-top: 30px;
    margin-bottom: 100px;
}

.home-items img{
  width: 300px;
}
#home-about .home-items h3{
  font-size: 1.4rem;
}
#home-about .home-items p{
  font-size: 1.2rem;
  line-height: 2.0;
}
.what_study{
    width:730px;
    margin-bottom: 10px;
}
.what_study h3{
    padding-bottom: 2px;
    
    font-size: 1.3rem;
    margin-bottom: 5px;
}
.what_study p{
  font-size: 1.2rem;
  line-height: 2.0;
}
/* main {margin: 1ex;} PLEASE Remove this if this is too much effective*/
.text-bg{
  background: linear-gradient(transparent 50%, rgb(253, 214, 140) 50%); 
}

#about{
  background-color: rgb(255, 248, 249);
  padding-bottom: 10px;
}
.oneArea {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  max-width: 1024px;
  margin: 50px auto;
  padding: 0 10px;
  margin-bottom: 100px;
}
.oneArea .onebox {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.oneArea .onebox:nth-child(even) {
  flex-direction: row-reverse;
  margin-top: 20px;
}
.oneArea .onebox .imgArea {
  width: 16%;
  position: relative;
}
.oneArea .onebox:nth-child(odd) .imgArea img {
  width: 100%;
  max-width: 130px;
  position: absolute;
  top: -20px;
  left: 0;
  padding-right: 30px;
}
.oneArea .onebox:nth-child(even) .imgArea img {
  width: 100%;
  max-width: 130px;
  position: absolute;
  top: -20px;
  left: auto;
  right: 0;
  padding-left: 30px;
}
.oneArea .onebox .fukiArea {
  width: 63%;
}
.oneArea .onebox .fukidasi {
  width: 100%;
  position: relative;
  padding: 25px;
  background-color: #d4dcfd;
  font-size: 18px;
  color: #231815;
  border-radius: 12px;
  box-sizing: border-box;
}
.oneArea .onebox .fukidasi::before {
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-radius: 50%;
  transform: rotate(45deg);
  top: 22px;
  border-right: 25px solid transparent;
  border-bottom: 25px solid transparent;
}
.oneArea .onebox .fukidasi::after {
  content: '';
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-radius: 50%;
  transform: rotate(45deg);
  top: 40px;
  border-right: 25px solid transparent;
  border-bottom: 25px solid transparent;
}
.oneArea .onebox:nth-child(odd) .fukidasi::before {
  left: -15px;
  border-left: 25px solid #d4dcfd;
  border-top: 25px solid transparent;
}
.oneArea .onebox:nth-child(odd) .fukidasi::after {
  left: -25px;
  border-left: 25px solid #ffffff;
  border-top: 25px solid transparent;
}
.oneArea .onebox:nth-child(even) .fukidasi {
  background-color: #fde5e5;
}
.oneArea .onebox:nth-child(even) .fukidasi::before {
  left: auto;
  right: -15px;
  border-left: 25px solid transparent;
  border-top: 25px solid #fde5e5;
}
.oneArea .onebox:nth-child(even) .fukidasi::after {
  left: auto;
  right: -25px;
  border-left: 25px solid transparent;
  border-top: 25px solid #ffffff;
}
.mg{
  margin-top: 30px;
}
@media screen and (max-width: 1024px) {
  .oneArea .onebox:nth-child(odd) .imgArea img {
    max-width: 70%;
    top: 0;
  }
  .oneArea .onebox:nth-child(even) .imgArea img {
    max-width: 70%;
    top: 0;
  }
  .oneArea .onebox .fukidasi {
    padding: 15px;
    font-size: 14px;
  }
  .oneArea .onebox .fukidasi::before {
    top: 8px;
  }
  .oneArea .onebox .fukidasi::after {
    top: 20px;
  }
}
@media screen and (max-width: 420px) {
  .oneArea {
    margin: 30px auto;
  }
  .oneArea .onebox:nth-child(even) {
    margin-top: 15px;
  }
  .oneArea .onebox .imgArea {
    width: 20%;
  }
  .oneArea .onebox .fukidasi {
    padding: 10px 15px;
    font-size: 12px;
  }
}

/*---------------------------------img-ex-------------------------------------*/
.ex-title{
  font-weight: normal;
  line-height: 1;
  margin-bottom: 50px;
}
.ex-title::after{
  content: "";
  width: 40px;
  height: 1px;
  background-color: #000;
  display: block;
}
.ex-title .en {
  display: block;
  font-size: 2.25rem;
  letter-spacing: 0.3em;
  margin-bottom: 10px;
}
.ex-title .ja {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 36px;
}
.img-ex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 40px;
  margin-bottom: 80px;
}
.img-ex .img {
  width: 55%;
}
.img-ex .img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.img-ex .text {
  width: 45%;
  padding: 0 5% 0 5%;
}
.img-ex .text p {
  line-height: 2.2;
  font-size: 1.0rem;
}

#slider img{
  max-width: 100%;
  vertical-align: bottom;
}
.content {
  width: 90%;
  margin-top: 40px;
  margin: 0 auto;
}
#slider {
  width: 90%;
  margin: 0 auto;
  position: relative;
  margin-top: 50px;
}
#slider .prev,
#slider .next {
  width: 40px;
  height: 40px;
  background-color:palevioletred;
  cursor: pointer;
  opacity: 0.7;
  position: absolute;
  top: 45%;
  transition: 0.5s;
  z-index: 10;
}
#slider .prev:hover,
#slider .next:hover {
  opacity: 0.5;
}
#slider .prev::before,
#slider .prev::after,
#slider .next::before,
#slider .next::after {
  content: "";
  display: block;
  width: 14px;
  height: 2px;
  background-color: white;
  position: absolute;
}

/*
スライダー左矢印
*/
#slider .prev {
  left: 0;
}
#slider .prev::before,
#slider .prev::after {
  left: 12px;
}
#slider .prev:before {
  top: 37%;
  transform: rotate(-45deg);
}
#slider .prev:after {
  bottom: 37%;
  transform: rotate(45deg);
}

/*
スライダー右矢印
*/
#slider .next {
  right: 0;
}
#slider .next::before,
#slider .next::after {
  right: 12px;
}
#slider .next:before {
  top: 37%;
  transform: rotate(45deg);
}
#slider .next:after {
  bottom: 37%;
  transform: rotate(-45deg);
}
/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 900px) {
  #slider .prev,
  #slider .next {
    top: 40%;
  }
}

/*----------------------------------------------------------use----------------------*/
#flow {
  padding-top: 40px;
}
#flow .step {
  display: flex;
  margin-top: 60px;
}
#flow .figure {
  position: relative;
}
/* 図形下の黄色い棒線を作成 */
#flow .figure::before {
  content: "";
  width: 50px;
  height: 600px;
  background-color: #ffdd00;
  position: absolute;
  top: 0;
  left: 75px;
}
/*
図形の四角部分を作成
*/
#flow .figure li {
  width: 200px;
  height: 80px;
  line-height: 80px;
  background-color: #593C2E;
  color: #fff;
  font-size: 0.875rem;
  margin-bottom: 60px;
  position: relative;
  text-align:center;
}
/*
図形の三角部分を疑似要素で作成
「position」を使用して、四角の下に配置
*/
/* #flow .figure li::before {
  content: "";
  border-top: 30px solid #593C2E;
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
  position: absolute;
  top: 80px;
  right: 0;
  left: 0;
  margin: 0 auto;
} */
#flow .figure li:last-child {
  margin-bottom: 0;
}
#flow .description {
  margin-left: 10%;
}
#flow .description dt {
  border-bottom: solid 1px #593C2E;
  font-size: 1.25rem;
  padding-bottom: 8px;
  margin-bottom: 10px;
  position: relative;
}
/*
丸数字を作成
「position」を使用して、タイトルの左側に配置
*/
#flow .description dt span {
  width: 35px;
  height: 35px;
  line-height: 35px;
  background-color: #593C2E;
  border-radius: 50%;
  color: #fff;
  display: block;
  font-size: 1rem;
  text-align: center;
  position: absolute;
  bottom: 0;
  left: -45px;
}
#flow .description dd {
  margin-bottom: 43px;
  font-size: 1.0rem;
}
#flow .description dd:last-child {
  margin-bottom: 0;
}

/*-----------------------------------------------------------------------------*/
.btn-div{
  text-align: center;
  margin-top: 10px;
}
/* ボタン本体 */
.btn {
  display: inline-block;
  padding: 0.8em 6em;
  background-color: #e3364a; /* 背景色 */
  box-shadow: 0 5px 0 #ca1c30; /* 影の太さ・色 */
  border-radius: 60px;
  color: #fff;
  cursor: pointer;
  text-decoration: none; /* 文字の下線を消す */
  margin: 0 auto;
  text-align: center;
}
a.btn{
  margin: 0 auto;
  text-align: center;
  font-size: 1.4rem;
}
/* ホバー時 */
.btn:hover {
  box-shadow: none;
  transform: translateY(5px);
  transition: 0.3s;
}
/* クリック時 */
.btn:active {
  box-shadow: none;
  transform: translateY(5px);
  transition: 0.3s;
}
.btn-small{
  text-align: center;
  margin-top: 80px;
  font-size: 1.0rem
}

/*-------------------------------------------------------------------*/
#index {
  background-color: #f5f5f5;
  padding: 60px;
  margin-bottom: 60px;
}
#index .index-inner {
  border: solid 1px #333;
  padding: 30px;
  text-align: center;
}
#index .index-inner .index-list {
  display: table;
  margin: 0 auto;
  text-align: left;
}
#index .index-inner .index-list li {
  margin-bottom: 20px;
  list-style: square;
  font-size: 1.1rem;
  text-align: left;
}
#index .index-inner .index-list li:last-child {
  margin-bottom: 0;
}
.mg-top{
  margin-top: 50px;
}
.index-title{
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding: 0.7rem 2rem;
  border-bottom: 6px solid rgb(248, 40, 203);
  display: inline-block;
}
.index-title::before{
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 20%;
  height: 6px;
  content: '';
  background: #f376bf;
}

/*-----------------------------------------------------------------------------------*/
/*-------------------------------------------
Contact
-------------------------------------------*/
/*
「z-index: 20;」でコンテンツが背景画像の上にくるようにする
*/
#contact {
  margin-bottom: 200px;
  position: relative;
  z-index: 20;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 5%;
}
#contact .btn {
  width: 400px;
  color: #fff;
  display: block;
  padding: 30px 0;
  margin: 0 auto 20px auto;
  position: relative;
  transition: 0.3s;
}
/*
ボタン矢印
*/
#contact .btn::before,
#contact .btn::after {
  content: "";
  position: absolute;
  right: -40px;
  height: 1px;
  background-color: #fff;
  transition: 0.3s;
}
/*
矢印の直線部分
*/
#contact .btn::before {
  width: 120px;
  top: 48px;
}
/*
矢印の先端部分
「rotate(25deg)」で角度をつける
*/
#contact .btn::after {
  width: 15px;
  top: 45px;
  transform: rotate(25deg);
}
#contact .btn:hover {
  opacity: 0.7;
}
#contact .btn:hover::before,
#contact .btn:hover::after {
  right: -50px;
}
.contact-inner{
  margin-bottom: 90px;
}

/*-----------------------------------------------sec---------------------------------------*/
.sec-text{
  text-align: center;
  margin-top: 40px;
  font-size: 1.3rem;
  line-height: 2.4rem;
}

.sec-list-item {
  padding: 30px;
  text-align: center;
}
.sec-list-item .sec-list {
  display: table;
  margin: 0 auto;
}
.sec-list-item .sec-list li {
  margin-bottom: 20px;
  font-size: 1.1rem;
}
.sec-list-item .sec-list li:last-child {
  margin-bottom: 0;
}
.mg-top-list{
  margin-top: 5px;
}
.list-title{
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding: 0.7rem 2rem;
  border-bottom: 6px solid rgb(248, 40, 203);
  display: inline-block;
}
.list-title::before{
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 20%;
  height: 6px;
  content: '';
  background: #f376bf;
}
.black{
  color: #000;
}
.black:hover{
  border-bottom: #000 solid 2px;
  padding-bottom: 1px;
  transition: 0.1s;
}
#footer {
  font-size: 0.5rem;
  padding: 20px 0;
  text-align: center;
  color: white;
  background-color: #593C2E;
}

/*-------------------------------------------食玩ページ------------------------------------------------*/

#quizu {
  margin-bottom: 200px;
  position: relative;
  z-index: 20;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 5%;
}
#quizu .btn {
  width: 400px;
  color: #fff;
  display: block;
  padding: 10px 0;
  margin: 0 auto 20px auto;
  position: relative;
  transition: 0.3s;
  background-color: rgb(252, 81, 138);
}
/*
ボタン矢印
*/
#quizu .btn::before,
#quizu .btn::after {
  content: "";
  position: absolute;
  right: -40px;
  height: 1px;
  background-color: rgb(255, 155, 242);
  transition: 0.3s;
}
/*
矢印の直線部分
*/
#quizu .btn::before {
  width: 120px;
  top: 48px;
}
/*
矢印の先端部分
「rotate(25deg)」で角度をつける
*/
#quizu .btn::after {
  width: 15px;
  top: 45px;
  transform: rotate(25deg);
}
#quizu .btn:hover {
  opacity: 0.7;
}
#quizu .btn:hover::before,
#quizu .btn:hover::after {
  right: -50px;
}
.quizu-inner{
  margin-bottom: 90px;
}
.index-mg{
  margin-top: 30px;
}