﻿/*
Theme Name: Yuzuriha Gakuen
Theme URI: https://yuzuriha-gakuen.com/
Author: Codex
Description: ゆずりは学園リレスポンシブテーマ
Version: 1.2.7
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: yuzuriha
*/

:root {
  --yz-green: #53c47f;
  --yz-green-dark: #2cb160;
  --yz-mint: #e9fbf4;
  --yz-aqua: #d9f5ff;
  --yz-blue: #05a4d6;
  --yz-blue-dark: #005AC6;
  --yz-yellow: #ffe29a;
  --yz-coral: #ff9f8e;
  --yz-ink: #343434;
  --yz-muted: #607473;
  --yz-line: #d5ebe7;
  --yz-bg: #f8fdfa;
  --yz-white: #fff;
  --yz-grad: linear-gradient(135deg, #d8f7ff 0%, #e6fbf3 48%, #c6f0dc 100%);
  --yz-grad-strong: linear-gradient(135deg, #14c2f5 0%, #17d1a2 52%, #7be153 100%);
  --yz-grad-2color: linear-gradient(90deg, #53c47f, #3f93e2);
  --yz-shadow: 0 22px 58px rgba(36, 78, 78, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--yz-ink);
  background: var(--yz-bg);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.75;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.screen-reader-text { position: absolute; left: -10000px; }
h1, h2, h3, h4, h5, h6,
.wp-block-heading,
.brand strong {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-weight: 700;
}

.yz-announcement {
  overflow: hidden;
  color: var(--yz-announcement-color, var(--yz-white));
  background: #005cff;
  white-space: nowrap;
  font-weight: 700;
  font-size: 14px;
}
.yz-announcement a { color: currentColor; text-decoration: underline; text-underline-offset: 3px; }
.yz-marquee-track {
  display: flex;
  width: max-content;
  animation: yz-marquee var(--yz-announcement-speed, 24s) linear infinite;
}
.yz-marquee-track span {
  flex: 0 0 auto;
  padding: 8px 48px;
  min-width: 100vw;
}
.yz-announcement.is-static {
  white-space: normal;
}
.yz-announcement.is-static .yz-marquee-track {
  display: block;
  width: auto;
  animation: none;
}
.yz-announcement.is-static .yz-marquee-track span {
  display: block;
  min-width: 0;
  padding: 8px max(22px, calc((100vw - 1120px) / 2));
}
@keyframes yz-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(47,125,98,.14);
  backdrop-filter: blur(16px);
}
.admin-bar .site-header { top: 32px; }
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; font-weight: 900; }
.brand-logo {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--yz-mint); display: grid; place-items: center;
  color: var(--yz-green); font-weight: 900;
}
.brand img { width: 235px; max-height: 80px; object-fit: contain; }
.brand small { display: block; color: var(--yz-muted); font-weight: 700; font-size: 12px; line-height: 1.2; }
.primary-menu { display: flex; align-items: center; gap: 18px; font-weight: 800; font-size: 14px; }
.primary-menu ul { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.header-cta, .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--yz-green);
    color: var(--yz-white);
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(80, 191, 165, .24);
    color: #fff !important;
    text-align: center;
    font-size: 16px !important;
    font-weight: 600 !important;
}
.btn.secondary { background: rgba(255,255,255,.86); color: var(--yz-green-dark); border: 1px solid rgba(80,191,165,.24); box-shadow: 0 10px 24px rgba(36,78,78,.08); }
.menu-toggle {
  border: 0; background: var(--yz-grad-strong); color: var(--yz-ink); width: 46px; height: 46px;
  border-radius: 50%; display: inline-grid; place-items: center; cursor: pointer;
  box-shadow: 0 12px 28px rgba(80,191,165,.2);
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  width: 18px; height: 2px; background: currentColor; display: block; content: "";
}
.menu-toggle span::before { transform: translateY(-6px); }
.menu-toggle span::after { transform: translateY(4px); }

.fullscreen-menu {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(248,253,250,.97);
  display: none; padding: 42px min(6vw, 76px); overflow-y: auto;
  backdrop-filter: blur(20px);
}
.fullscreen-menu.is-open { display: block; animation: yz-fade .22s ease both; }
.fullscreen-menu .close-menu {
    position: absolute;
    right: 40px;
    top: 0px;
    border: none;
    width: 52px;
    height: 52px;
    background: none;
    color: #343434;
    font-size: 101px;
    cursor: pointer;
    font-weight: normal !important;
}
.fullscreen-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.fullscreen-menu a { display: block; font-size: clamp(18px, 2.5vw, 25px); font-weight: 900; color: var(--yz-ink); }
.drawer-brand { max-width: 1180px; margin: 0 auto 5px; padding-right: 60px; }
.drawer-layout {
	max-width: 1180px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
	align-items: stretch;
}

/* 最後の要素を下段の横幅いっぱいにする */
.drawer-layout > :last-child {
	grid-column: 1 / -1;
}

/* スマートフォンではすべて縦並び */
@media (max-width: 767px) {
	.drawer-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.drawer-layout > :last-child {
		grid-column: auto;
	}
}
.drawer-menu-block {
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(80,191,165,.22);
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--yz-shadow);
}
.drawer-free-text {
    background: none !important;
    border: none;
    border-radius: 0;
    padding: 26px;
    box-shadow: none;
    text-align: center;
}
.drawer-free-text a.btn {
    display: inline-block;
    min-width: 300px;
    margin-top: 18px;
}
.drawer-menu-block h2 {
  margin: 0 0 18px;
  color: var(--yz-green-dark);
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.drawer-free-text p { color: var(--yz-muted); font-weight: 700; }

.hero {
  position: relative; overflow: hidden; min-height: clamp(560px, 78vh, 760px);
  display: grid; align-items: center; border-bottom: 1px solid var(--yz-line);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(251,252,248,.97), rgba(251,252,248,.74) 46%, rgba(251,252,248,.28)),
    var(--hero-image, none) center/cover no-repeat;
}
.hero-inner, .section-inner, .page-hero-inner {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
  position: relative;
}
.eyebrow { color: var(--yz-green); font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.hero h1, .page-hero h1 {
  margin: 10px 0 18px;
  font-size: clamp(1.8rem, 6vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}
.hero p, .page-hero p { max-width: 680px; color: var(--yz-muted); font-size: clamp(17px, 2vw, 21px); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 36px; max-width: 680px; }
.stat { background: rgba(255,255,255,.88); border: 1px solid var(--yz-line); border-radius: 8px; padding: 16px; box-shadow: var(--yz-shadow); }
.stat strong { display: block; font-size: 24px; color: var(--yz-green-dark); }

.section { padding: clamp(54px, 8vw, 104px) 0; }
.section.alt { background: #fff; }
.section-title { margin-bottom: 30px; }
.section-title h2 { margin: 4px 0 8px; font-size: clamp(28px, 4vw, 46px); line-height: 1.22; }
.section-title p { margin: 0; color: var(--yz-muted); font-weight: 700; }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.card {
  grid-column: span 4;
  background: #fff;
  border: 1px solid var(--yz-line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 10px 28px rgba(36,51,45,.07);
  transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--yz-shadow); }
.card h3 { margin: 0 0 8px; font-size: 22px; }
.card p { color: var(--yz-muted); margin: 0 0 14px; }
.link-more { color: var(--yz-green); font-weight: 900; }
.wide-card { grid-column: span 6; }
.full-card { grid-column: 1 / -1; }
.feature-band { background: var(--yz-green-dark); color: #fff; }
.feature-band p { color: rgba(255,255,255,.82); }
.feature-band .tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.feature-band .tag-list span { border: 1px solid rgba(255,255,255,.24); border-radius: 999px; padding: 8px 14px; font-weight: 800; }

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 54px;
  background: var(--yz-grad);
  border-bottom: 1px solid var(--yz-line);
}
.page-hero-image {
  color: var(--yz-ink);
  background:
    linear-gradient(90deg, rgba(248,253,250,.9), rgba(216,247,255,.72)),
    var(--page-hero-image) center/cover no-repeat;
}
.page-hero-image .breadcrumbs,
.page-hero-image .eyebrow,
.page-hero-image p { color: var(--yz-muted); }
.page-hero-pattern-leaf {
  background:
    radial-gradient(circle at 12% 24%, rgba(47,125,98,.16) 0 80px, transparent 82px),
    radial-gradient(circle at 88% 18%, rgba(244,201,93,.26) 0 74px, transparent 76px),
    linear-gradient(135deg, var(--page-hero-bg, #e9f6ef), #fff);
}
.page-hero-pattern-dot {
  background-color: var(--page-hero-bg, #e9f6ef);
  background-image: radial-gradient(rgba(47,125,98,.18) 1.5px, transparent 1.5px);
  background-size: 18px 18px;
}
.page-hero-pattern-stripe {
  background: repeating-linear-gradient(135deg, var(--page-hero-bg, #e9f6ef), var(--page-hero-bg, #e9f6ef) 16px, rgba(255,255,255,.7) 16px, rgba(255,255,255,.7) 32px);
}
.breadcrumbs { color: var(--yz-muted); font-size: 13px; font-weight: 700; margin-bottom: 20px; }
.content-area { width: min(960px, calc(100% - 44px)); margin: 0 auto; padding: 56px 0 96px; }
.content-area h2 { font-size: clamp(25px, 3vw, 38px); margin: 46px 0 14px; }
.content-area h3 { font-size: 22px; margin: 26px 0 8px; }
.content-area p, .content-area li { color: var(--yz-muted); font-weight: 650; }
.timeline { display: grid; gap: 14px; counter-reset: step; }
.timeline-item { position: relative; padding: 22px 22px 22px 76px; background: #fff; border: 1px solid var(--yz-line); border-radius: 8px; }
.timeline-item::before {
  counter-increment: step; content: counter(step); position: absolute; left: 20px; top: 20px;
  width: 38px; height: 38px; border-radius: 50%; background: var(--yz-yellow); display: grid; place-items: center; font-weight: 900;
}
.cta-panel { margin-top: 56px; padding: 34px; background: var(--yz-green-dark); color: #fff; border-radius: 8px; }
.cta-panel p { color: rgba(255,255,255,.84); }

.site-footer { 
    background: linear-gradient(140deg, #0e7d74, #16b6ac 48%, #12a3cc);
    color: #fff;
    padding: clamp(48px, 7vw, 80px) 0 30px;
    clear: both !important;       /* floatの回り込みを強制解除 */
    position: relative !important; /* absoluteやfixedによる浮きを標準に戻す */
    display: block !important;     /* 崩れたレイアウトの箱をブロック要素にリセット */
    width: 100% !important; 
}
.footer-inner { width: min(1120px, calc(100% - 44px)); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer p, .site-footer a { color: rgba(255,255,255,.78); }
.copyright {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 30px 20px 0;
    color: rgba(255, 255, 255, .64);
    font-size: 16px;
    max-width: 1200px;
    margin: 30px auto 0;
    text-align: center;
}

.scroll-top {
    font-size: 20px !important;
    font-weight: 800;
    padding-bottom: 6px;
    position: fixed;
    right: 22px;
    bottom: 24px;
    z-index: 70;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: #24322f;
    color: #fff;
    box-shadow: var(--yz-shadow);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}
.scroll-top.is-visible { opacity: 1; pointer-events: auto; }
.desktop-floating-banners {
  position: fixed;
  right: 22px;
  bottom: 88px;
  z-index: 60;
  display: grid;
  gap: 12px;
  justify-items: end;
}
.desktop-floating-banner { display: block; width: min(var(--desktop-banner-width, 240px), 30vw); }
.desktop-floating-banner img { border-radius: 18px; box-shadow: var(--yz-shadow); border: 1px solid rgba(255,255,255,.7); }

.mobile-bottom-area { display: none; }
.yz-popup {
  position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center;
  background: rgba(24,56,45,.46); padding: 22px;
}
.yz-popup.is-open { display: flex; animation: yz-fade .2s ease both; }
.yz-popup-box { width: min(520px, 100%); background: #fff; border-radius: 8px; padding: 18px; position: relative; box-shadow: var(--yz-shadow); }
.yz-popup-close { position: absolute; right: 10px; top: 10px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #fff; cursor: pointer; }
@keyframes yz-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 920px) {
  body { padding-bottom: var(--mobile-fixed-offset, 82px); }
  .primary-menu, .header-cta { display: none; }
  .header-inner { padding: 10px 16px; }
  .brand strong { font-size: 15px; }
  .hero { min-height: 620px; align-items: start; padding-top: 70px; }
  .hero::before { background: linear-gradient(180deg, rgba(251,252,248,.98), rgba(251,252,248,.76)), var(--hero-image, none) center bottom/cover no-repeat; }
  .stats, .grid, .footer-inner { grid-template-columns: 1fr; }
  .card, .wide-card { grid-column: 1 / -1; }
  .mobile-bottom-area {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  }
  .mobile-banners { display: grid; gap: 6px; padding: 8px 10px 0; }
  .mobile-banners a { display: block; }
  .mobile-banners img { width: 100%; max-height: 72px; object-fit: cover; border-radius: 8px; }
  .mobile-nav-bar { display: grid; grid-template-columns: repeat(var(--mobile-items, 4), 1fr); gap: 2px; padding: 8px;background: #333; }
  .mobile-nav-bar a { display: grid; gap: 2px; place-items: center; min-height: 54px; color: #fff; font-size: 11px; font-weight: 700 !important; }
  .mobile-nav-bar img { width: 22px; height: 22px; object-fit: contain; }
  .scroll-top { bottom: calc(var(--mobile-fixed-offset, 82px) + 14px); right: 14px; }
  .desktop-floating-banners { display: none; }

  .yz-floating-menu-toggle {
    box-shadow: none;
    background: #005cff;
}
}

@media (max-width: 1100px) and (min-width: 701px) {
  .drawer-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .drawer-free-text {
    grid-column: 1 / -1;
  }
}

@media screen and (max-width: 767px) {
  .br-sp {
    display: block;
  }
}

@media (max-width: 700px) {
  .fullscreen-menu { padding: 28px 18px 110px; }
  .drawer-brand { margin-bottom: 18px; padding-right: 56px; }
  .drawer-layout { grid-template-columns: 1fr; gap: 14px; }
  .drawer-menu-block,
  .drawer-free-text { border-radius: 18px; padding: 20px; }
  .fullscreen-menu a { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Yuzuriha block editor/content blocks */
.yz-home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(560px, 78vh, 760px);
  display: grid;
  align-items: center;
  padding: 96px max(22px, calc((100vw - 1120px) / 2));
  background: var(--yz-home-hero-image, none) center/cover no-repeat;
}
.admin-bar .yz-floating-menu-toggle { top: 46px; }

/* メニューボタン */
/* .yz-floating-menu-toggle {
    position: fixed;
    top: 26px;
    right: 27px;
    z-index: 99;
    border: 0;
    background: #24322f;
    color: #fff;
    width: 46px;
    height: 46px;
    border-radius: 6px;
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(80, 191, 165, .2);
}
.yz-floating-menu-toggle span,
.yz-floating-menu-toggle span::before,
.yz-floating-menu-toggle span::after {
  width: 18px;
  height: 2px;
  background: currentColor;
  display: block;
  content: "";
}
.yz-floating-menu-toggle span::before { transform: translateY(-6px); }
.yz-floating-menu-toggle span::after { transform: translateY(4px); } */


.yz-announcement + #wrap_all .header_bg,
.yz-announcement + #wrap_all #header {
  transition: transform .2s ease;
}
.yz-home-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1 !important;
  background: var(--yz-home-hero-overlay, linear-gradient(0deg, rgba(255,255,255,.8), rgba(255,255,255,.8)));
  pointer-events: none;
}
.yz-home-hero-bg {
  position: absolute;
  top: 0 !important;
  right: auto !important;
  bottom: auto !important;
  left: 50% !important;
  z-index: 0 !important;
  width: 100vw !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 100% !important;
  transform: translateX(-50%) !important;
  margin: 0 !important;
  overflow: hidden;
  background: var(--yz-home-hero-image, none) center/cover no-repeat;
  pointer-events: none;
}
.yz-home-hero-bg video,
.yz-home-hero-bg iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.yz-home-hero-bg-youtube iframe {
  left: 50%;
  top: 50%;
  width: max(100vw, 177.78vh);
  height: max(56.25vw, 100vh);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.yz-home-hero > :not(.yz-home-hero-bg) {
  position: relative;
  max-width: 800px;
  z-index: 5 !important;
  margin: 0 auto;
}
.yz-home-hero > .wp-block-group__inner-container,
.yz-home-hero > :not(.yz-home-hero-bg) > .wp-block-group__inner-container {
  position: relative !important;
  z-index: 5 !important;
  isolation: isolate;
}
.yz-home-hero .wp-block-group__inner-container > * {
  position: relative !important;
  z-index: 5 !important;
}
.yz-home-hero .badge-w,
.yz-home-hero .wp-block-heading,
.yz-home-hero .wp-block-paragraph,
.yz-home-hero .yz-stats {
  position: relative !important;
  z-index: 5 !important;
}
.yz-home-hero h1 {
  margin: 10px 0 20px;
  font-size: clamp(1.6rem, 5vw, 3rem);
  line-height: 1.08;
  letter-spacing: 5px;
  color: var(--yz-home-hero-text, #fff) !important;
  text-shadow: 0 2px 18px rgba(0,0,0,.32);
}
.yz-home-hero .wp-block-heading,
.yz-home-hero .wp-block-paragraph {
  color: var(--yz-home-hero-text, #fff) !important;
  text-shadow: 0 2px 18px rgba(0,0,0,.3);
}
.yz-home-hero p { color: var(--yz-home-hero-text, #fff) !important; /* font-size: clamp(17px, 2vw, 21px); */ font-weight: 500; }
.yz-home-hero .btn { text-shadow: none; }
.yz-home-hero .btn.secondary { color: var(--yz-green-dark) !important; }
.yz-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}
.yz-stats div,
.yz-card,
.yz-campus-card,
.yz-voice-card,
.yz-step,
.yz-note {
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(80,191,165,.2);
  border-radius: 24px;
  padding: clamp(22px, 3vw, 32px);
  box-shadow: 0 18px 46px rgba(36,78,78,.09);
  backdrop-filter: blur(10px);
}
.yz-stats strong { display: block; color: var(--yz-green-dark); font-size: 25px; }
.yz-stats span { color: var(--yz-muted); font-weight: 800; }
.yz-section {
  padding: clamp(54px, 8vw, 104px) max(22px, calc((100vw - 1120px) / 2));
  max-width: none !important;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background:
    linear-gradient(180deg, rgba(255,255,255,.76), rgba(248,253,250,.86)),
    radial-gradient(circle at 12% 18%, rgba(216,247,255,.55), transparent 26%),
    radial-gradient(circle at 88% 78%, rgba(198,240,220,.42), transparent 28%);
}
.yz-section:nth-of-type(even) { background: linear-gradient(135deg, rgba(216,247,255,.68), rgba(233,251,244,.78) 52%, rgba(255,255,255,.94)); }
.yz-section > * { max-width: 1120px; margin-left: auto; margin-right: auto; }
.yz-section h2 {
  margin: 6px auto 14px;
  font-size: clamp(1.6rem, 5vw, 3rem);
  line-height: 1.18;
  letter-spacing: 0;
}
.yz-eyebrow {
  color: var(--yz-green);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.yz-lead { color: var(--yz-muted); font-weight: 700; font-size: 18px; }
.yz-card-grid,
.yz-quote-grid,
.wp-block-group.yz-card-grid,
.wp-block-group.yz-quote-grid,
.yz-card-grid > .wp-block-group__inner-container,
.yz-quote-grid > .wp-block-group__inner-container {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(18px, 2.2vw, 28px);
  margin-top: 28px;
  align-items: stretch;
}
.yz-card-grid > .wp-block-group__inner-container,
.yz-quote-grid > .wp-block-group__inner-container {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
  width: 100%;
}
.yz-card-grid.grid-2,
.yz-quote-grid.grid-2,
.grid-2 > .wp-block-group__inner-container {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.yz-card-grid.grid-3,
.yz-quote-grid.grid-3,
.grid-3 > .wp-block-group__inner-container {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.yz-card-grid.grid-4,
.yz-quote-grid.grid-4,
.grid-4 > .wp-block-group__inner-container {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.yz-card-grid.is-layout-constrained,
.yz-quote-grid.is-layout-constrained,
.yz-card-grid.is-layout-flow,
.yz-quote-grid.is-layout-flow { display: grid !important; }
.yz-card-grid > .wp-block-group,
.yz-quote-grid > .wp-block-group,
.yz-card-grid > .wp-block-group__inner-container > .wp-block-group,
.yz-quote-grid > .wp-block-group__inner-container > .wp-block-group { margin: 0 !important; height: 100%; }
.yz-card,
.yz-campus-card,
.yz-voice-card { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.yz-card:hover,
.yz-campus-card:hover,
.yz-voice-card:hover { transform: translateY(-5px); box-shadow: 0 26px 62px rgba(36,78,78,.14); border-color: rgba(80,191,165,.38); }
.yz-card h3,
.yz-campus-card h3,
.yz-voice-card h3,
.yz-step h3 { margin: 0 0 8px; font-size: 22px; }
.yz-card p,
.yz-campus-card p,
.yz-voice-card p,
.yz-step p { color: var(--yz-ink); font-weight: 500; }
.yz-text-link { color: var(--yz-green); font-weight: 900; }
.yz-dark { background: var(--yz-grad-strong); color: var(--yz-ink); }
.yz-dark .yz-eyebrow,
.yz-dark .yz-lead,
.yz-dark p { color: rgba(36,59,59,.76); }
.yz-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px auto; }
.yz-tags span { border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 8px 14px; font-weight: 900; }
.yz-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 26px; }
.yz-flow span { background: #fff; border: 1px solid rgba(80,191,165,.22); border-radius: 999px; padding: 10px 16px; font-weight: 900; box-shadow: 0 10px 26px rgba(36,78,78,.08); }
.yz-flow b { color: var(--yz-green); }
.yz-step-list { display: grid; gap: 14px; margin-top: 28px; }
.yz-step { position: relative; padding-left: 78px; }
.yz-step span {
  position: absolute;
  left: 22px;
  top: 22px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--yz-yellow);
  font-weight: 900;
}
.yz-campus-card span { color: var(--yz-green); font-weight: 900; }
.yz-campus-card strong { display: block; color: var(--yz-green-dark); font-size: 20px; margin-top: 10px; }
.yz-voice-card { border-left: 8px solid #89def7; }
.yz-cta {
  margin: clamp(50px, 8vw, 90px) auto;
  width: min(1120px, calc(100% - 44px));
  padding: clamp(30px, 5vw, 54px);
  background: var(--yz-grad-strong);
  color: var(--yz-ink);
  border-radius: 28px;
  box-shadow: var(--yz-shadow);
}
.yz-cta h2 { margin-top: 0; font-size: clamp(28px, 4vw, 46px); line-height: 1.2; }
.yz-cta p { color: rgba(36,59,59,.78); font-weight: 700; }
.yz-cta-tel { margin-left: 14px; font-weight: 900; }
.yz-admin-fieldset { border:1px solid #ccd0d4; padding:12px; margin:10px 0; background:#fff; }

@media (max-width: 920px) {
  .yz-home-hero { min-height: 620px; padding: 72px 22px; background: var(--yz-home-hero-image, none) center bottom/cover no-repeat; }
  .yz-card-grid,
  .yz-quote-grid,
  .yz-card-grid.grid-2,
  .yz-card-grid.grid-3,
  .yz-card-grid.grid-4,
  .yz-quote-grid.grid-2,
  .yz-quote-grid.grid-3,
  .yz-quote-grid.grid-4,
  .yz-card-grid > .wp-block-group__inner-container,
  .yz-quote-grid > .wp-block-group__inner-container,
  .grid-2 > .wp-block-group__inner-container,
  .grid-3 > .wp-block-group__inner-container,
  .grid-4 > .wp-block-group__inner-container,
  .yz-stats { grid-template-columns: 1fr; }
  .yz-section { padding-left: 22px; padding-right: 22px; }
  .yz-cta-tel { display: block; margin: 12px 0 0; }
}

/** カスタマイズ　**/
/** バッジ　**/
.badge-w {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--yz-grad-strong);;
    border: 1px solid #d8e8e5;
    border-radius: 50px;
    padding: 6px 14px;
    font-size: 0.78rem;
    color: var(--yz-muted);
    font-weight: 600;
    margin-bottom: 20px;
}

/** スマホで改行 **/
.br-sp {
  display: none;
}

.html_header_top.html_header_sticky #top #wrap_all #main {
    padding-top: 0px !important;
}

.entry-content {
    font-size: 14px;
}

/*---------FORM-----------*/

.wpforms-container-full .wpforms-form button[type=submit] {
    color: white !important;
    background: #ee7948 !important;
    border-color: #ee7948 !important;
    border-radius:5px;
}