@charset "UTF-8";
/* CSS Document */
/*=======================================
全体
========================================*/

img {
  max-width: 100%;
}
html {
  font-size: 100%;
  scroll-behavior: smooth;
}
body {
  background: url("../images/bg.jpg");
  background-size: contain;
  font-family: a-otf-ud-shin-go-pr6n, sans-serif;
  font-weight: 300;
  font-style: normal;
}

a {
  text-decoration: none;
  color: #000;
}
.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
}
.handwrite {
  font-family: ta-koigokoro, sans-serif;
  font-weight: 400;
  font-style: normal;
}
.bg-yellow {
  background-color: #ffd700;
}
.black {
  color: #000 !important;
}
h2:before {
  content: "";
  display: inline-block;
  width: 60px;
  height: 60px;
  background-image: url("../images/icon.svg");
  background: contain;
  vertical-align: middle;
  margin-right: 2rem;
}
h2 {
  font-size: 2rem;
  font-weight: 700;
  border-bottom: 10px solid #ffd700;
  line-height: 60px;
}
footer {
  height: 3vh;
}
/*===========================================
トップページ
===========================================*/
/*ヘッダー*/
.header {
  position: relative;
  height: 60vh;
  width: auto;
  background-image: url("../images/top-bg.jpg");
  background-size: cover;
  background-position: center center;
}
.logo {
  position: absolute;
  width: 180px;
  min-width: 10vw;
  right: 2rem;
  top: 1rem;
}
.logo img {
  width: 100%;
}
.sub_title {
  width: 680px;
  position: absolute;
  top: 25%;
  right: 2rem;
}
.sub_title img {
  width: 100%;
}
.title {
  width: 680px;
  position: absolute;
  top: 40%;
  right: 2rem;
  overflow: hidden !important;
}
.title img {
  width: 100%;
}
/*コンテンツ*/

.bnr-grid {
  width: 80%;
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, 32%);
  grid-template-rows: repeat(2, 50%);
  margin-top: 2rem;
  margin-left: 1.5rem;
}
.bnr {
  width: 100%;
  padding: 1rem;
}
.bnr img {
  width: 100%;
}
.bnr img:hover {
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.5);
  transform: translateY(-10px) scale(1.1);
  transition-duration: 0.5s;
}
.about {
  padding: 1rem 2rem 2rem;
  background-image: url("../images/body_bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
}
.about h2 {
  width: 400px;
  margin: 0 auto 2rem;
}
.about-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.8);
  margin: 0 auto;
}
.flex {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  padding-top: 1rem;
  align-items: center;
}
.about-inner p {
  width: 50%;
  padding: 2rem 2rem;
  font-size: 1.1rem;
}
.about-img {
  width: 50%;
}
/*カレンダー*/
.lessondy {
  margin-top: 5rem;
  width: 100%;
}
.lessonday h2 {
  width: 360px;
  margin: 1rem 0 0 5rem;
}
.lessonday h3 {
  text-align: center;
  font-size: 1.5rem;
  margin-top: 1rem;
  font-weight: 500;
}
.arrow {
  position: relative;
  padding: 0 0 0 16px;
  text-align: right;
  padding-right: 5rem;
  font-size: 1.3rem;
}
.arrow::after {
  content: "";
  position: absolute;
  top: 50%; /* 縦軸をセンタリングする */
  right: 4%;
  transform: translateY(-50%); /* 縦軸をセンタリングする */
  border: 10px solid transparent;
  border-left: 15px solid #ffd700; /* 好みで色を変えてください */
}
.arrow a:hover {
  text-decoration: underline;
}
#calender {
  width: 90%;
  margin: 0 auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  margin-top: 2rem;
  table-layout: fixed;
}

td {
  border: 3px solid #ffd700;
  vertical-align: top;
  padding: 0 1rem 1rem;
}
.first-column th {
  border: #fff solid 5px;
  border-top: #ffd700 solid 5px;
  padding: 1rem;
  font-size: 1.5rem;
}
.border-left {
  border-left: 5px solid #ffd700 !important;
}
.border-right {
  border-right: solid 5px #ffd700 !important;
}
tr *:nth-last-child(2) {
  color: #0000ff;
}
tr *:last-child {
  color: #ff0000;
}
/*ボタン*/
.btn {
  padding: 1rem 2rem calc(1rem + 10px);
  background: #ffd700;
  width: 300px;
  height: 100px;
  margin: 2rem auto;
  font-size: 1.5rem;
  box-shadow: 10px 10px #eee8aa;
  text-align: center;
  padding-top: 20px;
}
.btn:hover {
  background-color: #ffb6c1;
}
/*アクセス*/
#access {
  padding: 1rem 5rem;
  background-image: url("../images/body_bg.jpg");
}
#access h2 {
  width: 250px;
  margin-bottom: 2rem;
}
.access-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.8);
}
.map {
  width: 50%;
}
.map iframe {
  width: 100%;
}
.access-inner p {
  width: 50%;
  padding: 5rem 2rem;
  font-size: 1.1rem;
}
footer {
  display: block;
  background-color: #ffd700;
  text-align: center;
  width: 100%;
  height: 30px;
  line-height: 30px;
}
article {
  padding-bottom: 3rem;
}
/*=============================================
SECOND PAGE
=============================================*/
.content-page {
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
}
#baby,
#season,
#outdoor {
  background-image: url("../images/body_bg.jpg");
}
.page-header {
  background-color: #ffd700;
  padding: 2rem;
  position: relative;
}
.second-title {
  width: 50%;
}
.second-logo {
  width: 20%;
  position: absolute;
  top: 2rem;
  right: 1rem;
}
.header-icon {
  position: absolute;
  right: 30%;
  top: 20%;
  width: 10%;
}
.second-logo a:hover {
  opacity: 0.7;
}
/*コンテンツ*/
.box {
  padding: 2rem;
}
.box-inner {
  position: relative;
  height: 20vh;
}

.icon {
  width: 50%;
  position: absolute;
  right: 2rem;
}
.hero {
  font-size: 1.5rem;
  font-weight: 500;
  width: 45%;
  position: absolute;
  bottom: 5rem;
}
.box-img {
  width: 50%;
  margin: 1rem;
  box-shadow: 7px 7px 3px rgba(0, 0, 0, 0.5);
}
.box-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.box-lead {
  width: 50%;
  height: 100%;
  padding: 2rem;
  border: dashed 3px #ffd700;
  margin-left: 2rem;
  border-radius: 20px;
  font-size: 1.1rem;
  line-height: 1.5;
  background-color: rgba(255, 255, 255, 0.8);
}
#outdoor .box-inner .hero {
  width: 40%;
}
#season .box-inner .icon {
  width: 40%;
}
#sience .box-inner .icon {
  width: 40%;
}
#sience .box-inner .icon img {
  width: 100%;
}
.siencebox {
  padding: 0;
}
/*コンタクトページ*/
.contact-wrapper {
  height: 100vh;
}
.contact-content {
  height: 100vh;
  background: #e6e6e6;
  padding: 3rem;
  margin: 0 auto;
  position: relative;
}
.contact-inner {
  height: 80vh;
  width: 100%;
  background: url("../images/note.jpg") no-repeat;
  background-size: contain;
  background-position: center center;
  position: relative;
}
.contact-inner h2 {
  position: absolute;
  top: 10rem;
  left: 10rem;
  font-size: 2rem;
}
.contact-inner p {
  position: absolute;
  top: 20rem;
  left: 15rem;
  font-size: 1.5rem;
}
.topage {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  margin: auto;
  line-height: 70px;
}

/*ここまでコンタクトページ*/
#page-top {
  width: 120px;
  height: 80px;
  position: fixed;
  right: 0;
  bottom: 2vh;
  opacity: 0.8;
  background-color: #3f98ef;
  border-radius: 30px;
  padding: 0.8rem;
  z-index: 999;
  text-align: center;
}
#page-top a {
  color: #fff;
  font-weight: 500;
  font-size: 1.2rem;
}
#page-top:hover {
  background-color: #ffb6c1;
}

/*==============================================
SP
==============================================*/
@media (max-width: 599px) {
  .wrapper {
    width: 100vw;

    margin: 0 auto;
  }
  /*ヘッダー*/
  .header {
    max-width: 100%;
    overflow: hi;
    background-image: url("../images/sp-top.jpg");
    background-size: cover;
    background-position: center center;
  }
  .logo {
    width: 30%;
  }
  .sub_title {
    width: 80% !important;
    margin: 0 auto;
    top: 40%;
  }
  .title {
    margin: 0 auto;
    width: 80%;
    top: 50%;
  }
  .bnr-grid {
    grid-template-columns: repeat(2, 176px);
    grid-template-rows: repeat(3, auto);
    grid-gap: 0.5rem;
    margin-top: 0;
    width: 100%;
    margin-left: 0;
    padding-left: 1rem;
  }

  .bnr {
    width: 100%;
    margin: 0 auto;
    padding: 1rem;
  }
  .bnr img {
    margin: 0;
    padding: 0;
  }
  .about h2 {
    width: 80%;
    line-height: 0.8rem;
    text-align: right;
  }
  .about-inner {
    flex-direction: column;
  }
  .about-inner p {
    padding: 1rem;
    width: 100%;
  }
  .about-img {
    width: 100%;
    width: o auto;
  }
  .about-img img {
    width: 100%;
  }
  .lessonday h2 {
    width: 80%;
    margin: 0 auto;
  }
  h2:before {
    margin-right: 1rem;
  }
  .lessonday P {
    width: 100vw;
  }
  .arrow {
    padding-right: 3rem;
  }
  #calender {
    margin: 0 auto;
  }
  table {
    width: 100%;
    margin-top: 2rem;
  }
  td {
    border: 3px solid #ffd700;
    vertical-align: top;
    width: 80px;
    font-size: 0.9rem;
    padding: 0;
    padding-bottom: 1rem;
  }
  .first-column th {
    border: #fff solid 5px;
    border-top: #ffd700 solid 5px;
    font-size: 0.8em;
  }
  #access {
    width: 100%;
    padding: 1rem;
  }
  #access h2 {
    margin: 0 auto 1rem;
  }
  .access-inner {
    flex-direction: column;
  }
  .access-inner p {
    width: 100%;
    padding: 1rem;
  }
  .map {
    width: 100%;
  }
  /*セカンドページ*/
  .second-title {
    width: 300px;
  }
  .header-icon {
    display: none;
  }
  .second-logo {
    width: 150px;
    top: 1rem;
    left: 50%;
    transform: translate(-50%);
  }
  .flex {
    flex-direction: column;
  }
  .box-lead {
    width: 100%;
    margin: 0 auto;
    padding: 1rem;
  }
  .box-img {
    width: 100%;
  }
  .box-inner {
    position: static;
  }
  .hero {
    width: 100%;
    position: static;
  }
  .icon {
    width: 100%;
    position: static;
    padding: 1rem;
  }
  #outdoor .box-inner .hero {
    width: 100%;
    white-space: nowrap;
  }
  #outdoor .box-inner .hero h2 {
    font-size: 1.5rem;
  }
  #season .box-inner .icon {
    width: 100% !important;
    padding-bottom: 5rem;
  }
  .halloween {
    margin-top: 18%;
  }
  #sience .box-inner .icon {
    width: 100%;
  }
  .siencebox {
    margin: 3rem 0 0 0;
    padding: 0;
    width: 100% !important;
  }
  .second-page {
    bottom: 0;
  }
  /*コンタクトページ*/

  .contact-content {
    width: 100%;
    height: 100vh;
    background: url("../images/body_bg.jpg");
    background-size: contain;
    background-position: center center;
    position: relative;
  }
  .contact-inner {
    background: none;
    width: 100%;
    height: 100%;
    position: static;
  }
  .contact-inner h2 {
    position: static;
    font-size: 2rem;
    margin-bottom: 5rem;
  }
  .contact-inner p {
    position: static;
    font-size: 1.5rem;
  }
  .topage {
    position: absolute;
    bottom: 3rem;
    line-height: 70px;
  }
}
