@charset "utf-8";

/* ════ お知らせセクション ════ */
.news {
  background: #fff;
  padding: 60px 20px 50px;
}

/* セクションヘッダー */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 60px;
}

.section-icon {
  width: 210px;
  height: auto;
  margin-bottom: 12px;
}

.section-title-ja {
  color: #333;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.section-title-en {
  font-size: 16px;
  color: #aaa;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* カードグリッド */
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
  max-width: 1440px;
  margin: 0 auto 60px;
}

.news-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.news-card:hover { opacity: 0.8; }

.news-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  background: #e0e0e0;
}
.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 画像なしプレースホルダー */
.news-card-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: #d8dce8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.news-card-body {
  padding: 10px 0 0;
}

.news-card-date {
  font-size: 13px;
  color: #999;
  letter-spacing: 0.06em;
  margin-bottom: 5px;
}

.news-card-title {
  font-size: 15px;
  color: #333;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

/* もっと見るボタン */
.news-more {
  display: flex;
  justify-content: center;
}

.btn-more {
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-more:hover { opacity: 0.85; transform: translateY(-1px); }
.btn-img {
  display: block;
  height: 52px;
  width: auto;
}

/* レスポンシブ */
@media (max-width: 960px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 768px) {
  .section-icon {
    width: 160px;
    height: auto;
    margin-bottom: 12px;
  }
}
@media (max-width: 480px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
  .news { padding: 40px 16px 36px; }
}

/* ════ 教育理念セクション ════ */
.philosophy {
  position: relative;
  background: #f0eeeb;
  overflow: hidden;
  padding: 80px 40px;
}

.philosophy::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/top_intro_bg_2x.jpg') center/cover no-repeat;
}

.philosophy-inner {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.philosophy-heading {
  text-align: center;
  color: var(--accent-dark);
  line-height: 2;
  letter-spacing: 0.06em;
  font-size: 42px;
  font-weight: 500;
}
.philosophy-heading span {
  background-color: #fff;
  padding-left: 15px;
  padding-right: 15px;
  padding-bottom: 5px;
  padding-top: 10px;
}
.philosophy-body {
  text-align: center;
  font-size: 18px;
  color: #555;
  line-height: 3.0;
  letter-spacing: 0.1em;
}

.philosophy-body p + p {
  margin-top: 1em;
}

@media (max-width: 768px) {
  .philosophy {
    padding: 60px 24px;
  }
  .philosophy-heading {
    font-size: 24px;
  }
  .philosophy-body {
    text-align: center;
    font-size: 14px;
    color: #555;
    line-height: 2.0;
    letter-spacing: 0.1em;
  }
}

/* ════ お母さんへのバナー ════ */
.mothers-banner {
  padding: 50px 40px;
}

.mothers-inner {
  max-width: 1080px;
  margin-inline: auto;
  background-image: url('../images/top_mothers_bg.jpg');
}
.mothers-content {
  max-width: 800px;
  margin-inline: auto;
  background-color: var(--green);
  padding: 40px;
  text-align: center;
}

.mothers-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.mothers-heading {
  color: #fff;
  line-height: 1.7;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

.mothers-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.mothers-btn {
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}
.mothers-btn:hover { opacity: 0.85; transform: translateY(-1px); }
.mothers-btn-img {
  display: block;
  height: 52px;
  width: auto;
}
.mothers-holidaycare {
  display: block;
  height: 60px;
  width: auto;
  margin-bottom: 30px;
  margin-inline: auto;
}

.mothers-badge {
  width: 200px;
  height: auto;
  flex-shrink: 0;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .mothers-banner { padding: 40px 0px; }
  .mothers-badge { width: 180px; height: auto; }
  .mothers-inner {
    width: 100%;
    margin-inline: auto;
    background-image: url('../images/top_mothers_bg.jpg');
  }
  .mothers-content {
    width: 86%;
    margin-inline: auto;
    background-color: var(--green);
    padding: 40px 10px;
    text-align: center;
  }
}

/* ════ 3つのナビカード ════ */
.nav-cards {
  position: relative;
  padding: 70px 40px;
  background: transparent;
  overflow: hidden;
}

.nav-cards::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/top_subnav_bg_2x.jpg') center/cover no-repeat;
  opacity: 0.6;
}

.nav-cards-inner {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
}

.nav-card {
  flex: 0 1 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  gap: 16px;
}

.nav-card-icon {
  width: 360px;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-card:hover .nav-card-icon {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

@media (max-width: 640px) {
  .nav-cards { padding: 20px 5px; }
  .nav-cards-inner {
    justify-content: center;
    gap: 0px 20px;
  }
  .nav-card {
    flex: 0 1 45%;
  }
  .nav-card-icon {
    width: 180px;
    height: auto;
  }
}

/* ════ 施設紹介：北一条かがやき ════ */
.facility {
  background: #fff;
  padding: 60px 40px;
}
.facility-inner {
  max-width: 1080px;
  background-color: var(--green2);
  margin-inline: auto;
  padding: 40px;
  position: relative;
}
.facility-content {
  background: url(../images/top_kagayaki_bg.jpg) center/cover no-repeat;
  padding: 30px;
}
.facility-text-area {
  width: 500px;
  max-width: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 20px;
}
.facility-copy {
  width: 580px;
  height: auto;
  margin-bottom: 36px;
  flex-shrink: 0;
}
.facility-label { display: none; }
.facility-heading { display: none; }
.facility-title-ja {
  color: #8e9d7f;
  font-weight: 500;
  letter-spacing: 0.14em;
  margin-bottom: 15px;
  font-size: 32px;
  border-bottom: #8e9d7f 2px solid;
  padding-bottom: 5px;
}
.facility-title-ja span {
  font-size: 17px;
}
.facility-text {
  font-size: 15px;
  color: #666;
  line-height: 2.0;
  letter-spacing: 0.1em;
  text-align: justify;
}
.facility-photo {
  position: relative;
}
.facility-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}
.facility-icon {
  width: 240px;
  height: auto;
  display: block;
  position: absolute;
  bottom: -28px;
  right: -28px;
}
.facility-btn {
  display: inline-block;
  text-decoration: none;
  margin-top: 20px;
  transition: opacity 0.2s, transform 0.15s;
}
.facility-btn:hover { opacity: 0.85; transform: translateY(-1px); }
.facility-btn .btn-img {
  height: 48px;
  width: auto;
}
@media (max-width: 768px) {
  .facility { padding: 50px 24px; }
  .facility-inner {
    padding: 10px;
    position: relative;
  }
  .facility-icon {
    width: 140px;
    height: auto;
    display: block;
    position: absolute;
    bottom: -28px;
    right: -28px;
  }
}
@media (max-width: 480px) {
  .facility-content {
    padding: 0;
  }
  .facility-text-area {
    width: 100%;
    padding: 20px 10px;
  }
  .facility-copy {
    width: 100%;
    height: auto;
    margin-bottom: 36px;
    flex-shrink: 0;
  }
  .facility-icon {
    width: 100px;
    height: auto;
    display: block;
    position: absolute;
    bottom: -58px;
    right: -18px;
  }
  .facility-title-ja {
    font-weight: 400;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
    font-size: 20px;
  }
  .facility-text {
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0em;
  }
}

/* ════ 採用情報 ════ */
.recruit {
  background: #fff;
}
.recruit-inner {
  max-width: 900px;
  margin-inline: auto;
  background: url(../images/top_recruit_bg.jpg) center/cover no-repeat;
  padding: 20px;
}
.recruit-content {
  background-color: rgba(255, 255, 255, 0.9);
  margin-inline: auto;
  padding: 60px;
}
.recruit-icon {
  width: 210px;
  height: auto;
  display: block;
  margin: 0 auto 24px;
}
.recruit-title-ja {
  color: #333;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
  text-align: center;
}
.recruit-title-en {
  font-size: 13px;
  color: #aaa;
  letter-spacing: 0.2em;
  margin-bottom: 28px;
  display: block;
  text-align: center;
}
.recruit-heading {
  font-size: 22px;
  font-weight: 400;
  color: #555;
  line-height: 1.8;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
  text-align: center;
}
.recruit-text {
  font-size: 14px;
  color: #666;
  line-height: 2.0;
  letter-spacing: 0.04em;
  margin-bottom: 32px;
  text-align: center;
}
.btn-recruit {
  display: flex;
  justify-content: center;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-recruit:hover { opacity: 0.85; transform: translateY(-1px); }
@media (max-width: 768px) {
  .recruit-inner {
    padding: 15px;
    background-size: cover;
  }
  .recruit-content {
    padding: 30px 40px;
  }
  .recruit-heading {
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
  }
  .recruit-icon {
    width: 140px;
    margin: 0 auto 24px;
  }
  .recruit-text {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 24px;
  }
}

/* ════ 園へのアクセス ════ */
.access {
  background: #fff;
  padding: 70px 40px;
  text-align: center;
}
.access-inner {
  max-width: 1080px;
  margin: 0 auto;
}
.access-icon {
  width: 210px;
  height: auto;
  display: block;
  margin: 0 auto 14px;
}
.access-title-ja {
  color: #333;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.access-title-en {
  font-size: 11px;
  color: #aaa;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 28px;
  display: block;
}
.access-address {
  font-size: 13px;
  color: #666;
  line-height: 1.9;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.access-map {
  width: 100%;
  aspect-ratio: 16/6;
  overflow: hidden;
  margin-bottom: 28px;
}
.access-map iframe {
  width: 100%;
  height: calc(100% + 400px);
  margin-top: -200px;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}
.btn-access {
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-access:hover { opacity: 0.85; transform: translateY(-1px); }
@media (max-width: 768px) {
  .access { padding: 50px 24px; }
  .access-icon { width: 140px; }
}

/* ════ HEROセクション ════ */
.hero {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  position: relative;
  height: 800px;
  margin-top: 0px;
}

.hero-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.2s ease; /* ★フェード時間 CSSのtransitionと合わせる */
}

.hero-slide.active {
  opacity: 1;
}

@media (min-width: 2000px) {
  .hero { height: auto; padding-top: 52.08%; }
  .hero-slide { height: 100%; }
}

@media (max-width: 960px) {
  .hero {
    position: relative;
    width: 100%;
    height: 100vw;
    margin-top: -30px;
  }
}

/* ════════════════════════════════════════
   ローディング画面（シンプル：ロゴ フェードイン → フェードアウト）
   ════════════════════════════════════════ */

/* オーバーレイ */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #eceaf2; /* ★ペールラベンダー */
  display: flex;
  align-items: center;
  justify-content: center;
  /* フェードアウト用 transition（loading-done クラス付与時に発火） */
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loading-screen.loading-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* 中央コンテンツ */
.loading-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  user-select: none;
}

/* ── ロゴ：フェードイン ── */
.loading-logo {
  animation: loading-logo-in 0.7s ease both;
}
.loading-logo img {
  height: 250px;
  width: auto;
  display: block;
}

@keyframes loading-logo-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── ドットインジケーター ── */
.loading-dots {
  display: flex;
  gap: 8px;
  animation: loading-logo-in 0.7s ease 0.2s both;
}
.loading-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.3;
  animation: dot-pulse 1.2s ease-in-out infinite;
}
.loading-dots span:nth-child(1) { animation-delay: 0s; }
.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dot-pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.3); }
}

/* モバイル調整 */
@media (max-width: 480px) {
  .loading-logo img { height: 46px; }
}
