@charset "UTF-8";

/*========= 全体設定========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Kosugi Maru", sans-serif;
  font-size: 16px;
}

body {
  overflow-x: hidden;
}

.kosugi-maru-regular {
  font-family: "Kosugi Maru", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-weight: normal;
}

html {
  font-size: 100%;
  text-align: center;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

p,
li,
h1,
h2,
a {
  color: #57696e;
  font-weight: normal;
}

.inner {
  text-align: center;
  max-width: 1266px;
  margin: 0 auto;
  width: 95%;
}

/* ヘッダー　メインフェードイン */
body {
  animation: loading 1.4s;
}
@keyframes loading {
  0% {
    opacity: 0;
    transform: scale(1.02);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* TOPページに戻る */
.top_btn {
  background-color: #9bdac1;
  border-radius: 50%;
  width: 4.81rem;
  height: 4.81rem;
  z-index: 10;
  position: fixed;
  opacity: 0.8;
  right: 2rem;
  bottom: 4rem;
  cursor: pointer;
  text-align: center;
}

.top_btn img {
  transform: rotate(-90deg);
  padding-top: 1.5rem;
  margin: 0 0.7rem;
}

.top_btn span {
  display: block;
  margin-top: -1rem;
}

/* お問い合わせ固定ボタン */
.btn_fix {
  z-index: 5;
  position: fixed;
  opacity: 0.8;
  right: 2rem;
  bottom: 0;
  cursor: pointer;
  display: none;
}

/* ハンバーガーメニュー */

header .site-header-navbtn {
  background-color: #fff;
  z-index: 10;
  border: none;
  position: fixed;
  right: 1rem;
  top: 1rem;
  display: none;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  box-shadow: 0 0.2rem 1.6rem rgb(35 56 81 / 10%);
  cursor: pointer;
}

header .site-header-navbtn span {
  width: 26px;
  height: 2px;
  display: block;
  background-color: #54b565;
  transition: 0.4s;
  margin: 0 auto;
}

header .site-header-navbtn span:first-child {
  margin-top: 1rem;
}

.on header .site-header-navbtn {
  background-color: #54b565;
}

.on header .site-header-navbtn span {
  background-color: #fff;
}

header .site-header-navbtn span:nth-child(2) {
  transform: translateY(10px);
}

header .site-header-navbtn span:last-child {
  transform: translateY(20px);
}

.on header .site-header-navbtn span:first-child {
  transform: translateY(12px) rotate(45deg);
}

.on header .site-header-navbtn span:nth-child(2) {
  display: none;
}

.on header .site-header-navbtn span:last-child {
  transform: translateY(10px) rotate(-45deg);
}

/* お問い合わせリンクボタン */
.btn {
  display: flex;
  border-radius: 30px;
  background-color: #54b565;
  padding: 0.6rem;
  text-decoration: none;
  color: white;
  width: 200px;
  height: 60px;
}

.btn img {
  width: 36px;
  height: 40px;
  margin: 0 auto;
}

.btn h1 {
  font-size: 18px;
  color: white;
  margin: auto auto;
  line-height: 1.6875rem;
}

.contact_btn {
  margin-top: 1rem;
}

/* リンクボタン共通 */
.btn_about {
  width: 252px;
  height: 60px;
  font-size: 1rem;
  display: block;
  display: flex;
  justify-content: center; /* 中身を中央に */
  align-items: center;
  position: relative; /* imgの絶対位置のために */
  border-radius: 30px;
  background-color: #54b565;
  text-decoration: none;
  color: white;
  margin: 0 auto;
  margin-top: 60px;
  padding: 0 2.5rem; /* 左右に余白（img分）を取っておく */
}

.btn_about img {
  width: 10px;
  height: 11px;
  position: absolute;
  right: 20px;
}

.btn_about #btn {
  text-align: center;
  width: 100%;
}

/* 横並びリンクボタン */
.link_line {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 5.625rem;
}

/* タイトル */
.title {
  text-align: center;
}

.title img {
  width: 45px;
  height: 34px;
  margin: 90px auto 0 auto;
  /* margin-top: clamp(3.75rem, -2.472rem + 16.62vw, 7.5rem); */
}

.title h2 {
  font-size: clamp(1.2rem, -0.127rem + 3.55vw, 2rem);
  color: #54b565;
}

span,
small {
  font-family: "Quicksand", sans-serif;
}

.title span {
  font-size: clamp(1rem, 0.17rem + 2.22vw, 1.5rem);
}

/* 下層ページタイトル */
.lower {
  position: relative;
  text-align: center;
}

.lower .main_title_p p {
  position: absolute;
  top: 63%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  padding: 5rem 6rem;
  color: #218834;
  background-image: url(../img/kumo2.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  white-space: nowrap;
}
/* 下層ページメイン画像 */
.main_fhoto {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* ヘッダー */
header {
  width: 100%;
  background-color: #ffe34d;
  height: 88px;
  position: fixed;
  z-index: 10;
}

header .site-header {
  display: flex;
  justify-content: space-between;
  text-align: center;
}

header .inner {
  margin-bottom: 0;
  display: flex;
  justify-content: space-between;
}

.logo {
  width: 207px;
  line-height: 3.75rem;
  margin-left: 0;
  margin-right: 5vw;
  margin-top: 14px;
}

.site-header-nav ul {
  display: flex;
  line-height: 88px;
}

.site-header-nav .nav a {
  font-size: 18px;
  margin-right: 2.5rem;
}

.site-header-nav ul li:hover {
  opacity: 0.8;
  transform: translateY(-5px);
}

/*=========TOP==========*/
/* メインビジュアル*/
.main {
  width: 100%;
  position: relative;
}

.main_picuture {
  width: 80vw;
  height: auto;
  object-fit: contain;
  padding-top: 8rem;
  margin-left: auto;
  margin-right: auto;
}

.main_title {
  position: absolute;
  z-index: 3;
  bottom: 10%;
  right: 12%;
  width: 30%;
  height: 30%;
}

.kumo1 {
  position: absolute;
  top: 20%;
  left: 13%;
  z-index: 2;
  width: clamp(5rem, 2.857rem + 9.52vw, 10rem);
  height: auto;
}

.kumo2 {
  position: absolute;
  top: 38%;
  left: 20%;
  z-index: 2;
  width: clamp(4rem, 2.286rem + 7.62vw, 8rem);
  height: auto;
}

/* 教育への想い */
#about1 {
  position: relative;
}

.about1 h3 {
  font-size: clamp(1.2rem, 0.909rem + 1.45vw, 2rem);
  font-weight: normal;
  margin-top: 72px;
}

.about1 p {
  font-size: 16px;
  margin-top: 60px;
  margin-bottom: 60px;
  width: 50%;
  margin-left: auto;
  margin-inline-end: auto;
  text-align: left;
}

.picture1 {
  width: 24%;
  height: auto;
  position: absolute;
  top: 0;
  right: 0;
}

.picture2 {
  position: absolute;
  top: 5%;
  left: 0;
  width: 16vw;
  height: auto;
}

.picture3 {
  position: absolute;
  top: 65%;
  left: 0;
  width: 13vw;
  height: auto;
}

.picture4 {
  position: absolute;
  top: 40%;
  right: 0;
  width: 15vw;
  height: auto;
}

.line {
  margin: 120px auto 120px auto;
  height: 21px;
}

/* みやび保育園のこと */
.title_miyabi {
  display: flex;
  height: 200px;
  justify-content: space-around;
  align-items: flex-end;
}

.title_miyabi .tree1 {
  width: clamp(3rem, 13.33vw, 10rem);
}

.title_miyabi .tree2 {
  width: clamp(3rem, -2.143rem + 22.86vw, 15rem);
}

/* カード */

.logo_white img {
  width: clamp(12.5rem, 2.13rem + 27.7vw, 18.75rem);
  height: auto;
  /* margin-top: 68px; */
  margin-left: auto;
  margin-right: auto;
  margin-top: 68px;
}

.about2_card {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 60px;
}

.card {
  background-color: #54b565;
  background-size: cover;
  width: 364px;
  height: 344px;
  border-radius: 50px;
}

.card:nth-child(2) {
  background-image: url(../img/miyabi_img1.png);
}

.card:nth-child(3) {
  background-image: url(../img/miyabi_img2.png);
}

.card:nth-child(4) {
  background-image: url(../img/miyabi_img3.png);
}

.card:nth-child(5) {
  background-image: url(../img/miyabi_img4.png);
}

.card:nth-child(6) {
  background-image: url(../img/miyabi_img5.png);
}

.card h4 {
  margin-left: auto;
  writing-mode: vertical-rl;
  font-size: 20px;
  letter-spacing: 0.1em;
  color: #218834;
  background-color: #fff;
  border-radius: 30px;
  padding: 24px 13px;
  margin-top: 24px;
  margin-right: 10px;
  font-weight: normal;
}

/* ニュース */

.news_title {
  text-align: left;
  margin-bottom: -60px;
}

.news_title span {
  font-size: 16px;
}

.news_list {
  display: flex;
  border-bottom: 1px solid #000000;
  justify-content: space-between;
}

.news_contents_text a:first-of-type dl {
  border-top: 1px solid #000000;
}

.news_list dt img {
  width: 46px;
  height: 44px;
  margin: 20px 40px;
  margin-left: 0;
}

/* ニュース　リンク共通→アイコン */
.icon {
  background-color: #fff;
  border-radius: 50%;
  width: 57px;
  height: 57px;
  margin: 16px auto;
  display: flex;
  align-items: center;
}

.news_list .icon {
  border-radius: 50%;
  width: 57px;
  height: 57px;
  margin: 16px auto;
  display: flex;
  align-items: center;
}

.icon img {
  width: 20px;
  height: 20px;
  margin: 0 auto;
}

.news_contents {
  display: flex;
  justify-content: center;
}

.news_list {
  align-items: center;
}

.news_bird {
  width: 7%;
  height: auto;
  margin-top: 100px;
  margin-right: 4%;
}

.news_contents_text {
  width: 75%;
  margin-left: 2.5rem;
}

.news .text {
  flex-grow: 1;
  display: block;
  text-align: left;
  margin-right: 2vw;
}

/* Instagram */

.instagram {
  margin-top: 90px;
}

.instagram .icon {
  background-color: #fff;
  margin-right: 2rem;
  margin-top: 27%;
}

.instagram .icon img {
  margin: 0 18px;
}

.instagram_contents {
  background-color: #ffe34d;
  border-radius: 34px;
  width: 100%;
  height: 411px;
  display: flex;
}

.instagram_title_img img {
  width: 85px;
  height: 100px;
  margin-right: 16px;
}

.instagram_title {
  margin-right: 2rem;
}

.instagram_title_img {
  display: flex;
  align-items: center;
  padding-top: 100px;
  margin-left: 77px;
}

.instagram_title span {
  font-size: 2rem;
  line-height: 150%;
}

.instagram_title p {
  text-align: left;
  margin-left: 5.5rem;
}
/* Instagram　スライダー */
.instagram_slide img {
  width: 213px;
  height: 203px;
}

.instagram_slide {
  width: 58%;
  height: 50vh;
}

.slider {
  margin-top: 6.5rem;
  margin-left: 0;
  margin-right: 0;
}

/* リンク */
.link {
  display: flex;
  justify-content: center;
  margin-top: 120px;
}

.link p {
  text-align: left;
  margin-top: 24px;
}

.link_title {
  display: flex;
  justify-content: center;
}

.link_title h2 {
  writing-mode: vertical-rl;
  font-size: 24px;
  letter-spacing: 0.3em;
  margin-left: 2rem;
}

.link1 {
  margin-right: 12%;
}

.link .icon {
  background-color: #9bdac1;
  margin-right: 1%;
  margin-top: -3.4rem;
}

.link .icon img {
  margin: auto 14px;
}

/* フッター */

.footer_picture {
  width: 100%;
  margin-bottom: -20%;
  position: relative;
  margin-top: 180px;
}

.footer_bird {
  position: absolute;
}

.bird2 {
  width: 10%;
  height: auto;
  top: 5%;
  left: 5%;
}

.bird3 {
  width: 14%;
  height: auto;
  top: 0;
  left: 15%;
}

footer {
  background-color: #54b565;
  margin-top: 0;
  width: 100%;
  position: absolute;
}

.footer_nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  text-align: left;
  justify-content: center;
  padding-top: 5.625rem;
}

.footer_nav .nav {
  border-left: 1px solid #fff;
  padding-left: 2rem;
  height: 80px;
  margin-top: 2rem;
}

.footer_nav a {
  color: #fff;
}

.footer_nav ul li {
  margin-top: 5px;
}

.nav_main {
  font-size: 1.125rem;
  margin-right: 2rem;
}

.footer_logo {
  width: 14%;
  height: auto;
  margin-right: 1.25rem;
}

.footer_link ul {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2.75rem;
}

.footer_link ul li {
  margin-right: 1.25rem;
  position: relative;
}

.footer_link ul h1 {
  color: #57696e;
  font-size: 18px;
}

.footer_link .btn {
  background-color: #ffe34d;
}

.footer_link .btn_insta {
  background-color: #49a259;
  color: #fff;
}

.footer_link .btn_insta h1 {
  color: #fff;
}

.footer_link .btn_google {
  background-color: #fafbfc;
}

.footer_link ul li:not(:first-of-type) {
  width: 200px;
}

footer small {
  display: block;
  text-align: center;
  color: #fff;
  padding-bottom: 80px;
  padding-top: 2rem;
}
