/*
Theme Name: AFFINGER Child
Template: affinger
Description: AFFINGER6 対応
Version: 20240601
*/


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  color: #1f2937;
  line-height: 1.8;
  background: #f7fbff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font: inherit;
}

ul {
  padding-left: 1.2em;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 32px;
}

.section-label {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #1b70b8;
  background: #e8f3ff;
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 1.35;
  color: #113b66;
}

.section-note {
  text-align: center;
  color: #5f6b7a;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.lead {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(17, 59, 102, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}

.site-logo {
  font-weight: 800;
  color: #113b66;
  font-size: 1rem;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.global-nav a {
  font-size: 0.95rem;
  color: #24476a;
  font-weight: 600;
}

.global-nav .nav-entry {
  background: #ff7f32;
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #113b66;
  margin: 5px auto;
  transition: 0.3s ease;
}

/* Loading
.loading-screen {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #1560a7, #40b6ff);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.hide {
  opacity: 0;
  visibility: hidden;
}

.loading-logo-wrap {
  text-align: center;
  color: #fff;
}

.loading-logo {
  width: min(180px, 42vw);
  margin: 0 auto 16px;
  animation: logoPop 1.2s ease;
}

.loading-text {
  font-weight: 700;
  letter-spacing: 0.08em;
}

@keyframes logoPop {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.8);
  }
  70% {
    opacity: 1;
    transform: translateY(0) scale(1.06);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
 */

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(11, 68, 121, 0.75), rgba(42, 168, 255, 0.55)),
    url("hero.jpg") center/cover no-repeat;
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.18), rgba(0,0,0,0.24));
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 88px 0;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
  font-size: 0.92rem;
}

.hero-sub {
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.08em;
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero-title span {
  color: #ffe36d;
}

.hero-copy {
  width: min(760px, 100%);
  margin: 0 auto 24px;
  font-size: 1.04rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-meta-item {
  background: rgba(255,255,255,0.15);
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 0.94rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 30px;
}

.cta-button,
.sub-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.cta-button {
  background: #ff7f32;
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.cta-button:hover,
.sub-button:hover {
  transform: translateY(-2px);
  opacity: 0.96;
}

.cta-button.large {
  font-size: 1.06rem;
  padding: 16px 34px;
}

.sub-button {
  background: rgba(255,255,255,0.16);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.22);
}

.deadline-box {
  width: min(620px, 100%);
  margin: 0 auto;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 18px;
  padding: 16px 20px;
}

.deadline-label {
  font-size: 0.85rem;
  font-weight: 700;
  opacity: 0.9;
}

.deadline-date {
  font-size: 1.15rem;
  font-weight: 800;
}

.deadline-note {
  font-size: 0.88rem;
  opacity: 0.88;
}

/* Notice */
.notice-bar {
  background: #113b66;
  color: #fff;
  padding: 12px 0;
}

.notice-inner {
  text-align: center;
  font-size: 0.94rem;
}

/* About */
.about {
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.about-text p + p {
  margin-top: 14px;
}

.about-image img {
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(17, 59, 102, 0.12);
}

/* Features */
.features {
  background: #edf6ff;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  background: #fff;
  border-radius: 20px;
  padding: 24px 20px;
  box-shadow: 0 10px 24px rgba(17, 59, 102, 0.08);
}

.feature-card h3 {
  font-size: 1.08rem;
  margin-bottom: 10px;
  color: #113b66;
}

/* Recommend */
.recommend {
  background: #fff;
}

.recommend-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.recommend-card {
  background: linear-gradient(135deg, #1560a7, #33aefb);
  color: #fff;
  border-radius: 18px;
  padding: 22px 18px;
  text-align: center;
  font-weight: 700;
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Jobs */
.jobs {
  background: #f7fbff;
}

.job-category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.job-category-card {
  border-radius: 20px;
  color: #fff;
  padding: 24px 20px;
  min-height: 150px;
}

.job-category-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.job-category-card.blue {
  background: linear-gradient(135deg, #1560a7, #3aa8ff);
}

.job-category-card.pink {
  background: linear-gradient(135deg, #d9468c, #ff76b4);
}

.job-category-card.orange {
  background: linear-gradient(135deg, #e4552c, #ff9047);
}

.job-category-card.green {
  background: linear-gradient(135deg, #17724d, #2eaf72);
}

.job-list-wrap {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid #d9e7f5;
  box-shadow: 0 10px 24px rgba(17, 59, 102, 0.06);
}

.sub-title {
  font-size: 1.2rem;
  color: #113b66;
  margin-bottom: 16px;
}

.job-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-left: 0;
}

.job-list li {
  background: #f8fbff;
  border: 1px solid #e3eef8;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 600;
}

/* Gallery */
.gallery {
  background: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 10px 20px rgba(17, 59, 102, 0.08);
}

/* Parents */
.parents {
  background: #edf6ff;
}

.parents-box {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 10px 24px rgba(17, 59, 102, 0.08);
}

.parents-box p + p {
  margin-top: 14px;
}

/* Info table */
.schedule {
  background: #fff;
}

.info-table {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #dce9f5;
  box-shadow: 0 10px 24px rgba(17, 59, 102, 0.08);
}

.info-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-bottom: 1px solid #e6eef7;
}

.info-row:last-child {
  border-bottom: none;
}

.info-head {
  background: #f2f8fd;
  padding: 18px 20px;
  font-weight: 700;
  color: #113b66;
}

.info-body {
  padding: 18px 20px;
}

/* Timeline */
.timeline {
  background: #f7fbff;
}

.timeline-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.timeline-item {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  align-items: start;
  box-shadow: 0 8px 20px rgba(17, 59, 102, 0.06);
}

.timeline-time {
  font-weight: 800;
  color: #1560a7;
  font-size: 1.05rem;
}

.timeline-content h3 {
  margin-bottom: 6px;
  color: #113b66;
}

/* Access */
.access {
  background: #fff;
}

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.access-map iframe {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: 20px;
}

.access-info {
  background: #f8fbff;
  border: 1px solid #dce9f5;
  border-radius: 20px;
  padding: 24px;
}

.access-info h3 {
  color: #113b66;
  margin-bottom: 8px;
  margin-top: 14px;
}

.access-info h3:first-child {
  margin-top: 0;
}

.access-info ul {
  margin-top: 8px;
}

.access-info li + li {
  margin-top: 8px;
}

/* Notes */
.notes {
  background: #edf6ff;
}

.notes-box {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: 26px 24px;
  box-shadow: 0 10px 24px rgba(17, 59, 102, 0.08);
}

.notes-list li + li {
  margin-top: 10px;
}

/* FAQ */
.faq {
  background: #fff;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: #f8fbff;
  border: 1px solid #dce9f5;
  border-radius: 16px;
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 700;
  color: #113b66;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 20px 18px;
  color: #344256;
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, #0f3b66, #1560a7);
  color: #fff;
}

.cta-box {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 24px;
  padding: 40px 24px;
}

.cta-label {
  display: inline-block;
  background: rgba(255,255,255,0.16);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.cta-box h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 16px;
}

.cta-text {
  margin-bottom: 24px;
}

.cta-note {
  margin-top: 12px;
  font-size: 0.9rem;
  opacity: 0.86;
}

/* Organizer */
.organizer {
  background: #fff;
}

.organizer-box {
  max-width: 860px;
  margin: 0 auto;
  background: #f8fbff;
  border: 1px solid #dce9f5;
  border-radius: 20px;
  padding: 28px 24px;
}

.organizer-box p + p {
  margin-top: 10px;
}

/* Footer */
.footer {
  background: #0b2035;
  color: #fff;
  padding: 34px 0;
}

.footer-inner {
  text-align: center;
}

.footer-title {
  font-weight: 800;
  margin-bottom: 10px;
}

.footer-copy {
  opacity: 0.88;
}

.copyright {
  margin-top: 12px;
  font-size: 0.86rem;
  opacity: 0.7;
}

/* Page top */
.page-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: none;
  background: #ff7f32;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0,0,0,0.18);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 1200;
}

.page-top.show {
  opacity: 1;
  visibility: visible;
}

/* Fade */
.fade-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-item.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 960px) {
  .feature-grid,
  .recommend-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .job-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .access-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }

  .header-inner {
    min-height: 62px;
  }

  .menu-toggle {
    display: block;
  }

  .global-nav {
    position: absolute;
    top: 62px;
    right: 4%;
    width: min(320px, 92vw);
    background: #fff;
    border: 1px solid #dbe8f5;
    border-radius: 16px;
    box-shadow: 0 16px 32px rgba(17, 59, 102, 0.12);
    padding: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .global-nav.open {
    display: flex;
  }

  .global-nav .nav-entry {
    text-align: center;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 74px 0 62px;
  }

  .hero-copy {
    font-size: 0.96rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-button,
  .sub-button {
    width: 100%;
  }

  .feature-grid,
  .recommend-grid,
  .job-category-grid,
  .job-list,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .info-row,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .info-head {
    padding-bottom: 8px;
  }

  .info-body {
    padding-top: 0;
  }

  .timeline-time {
    margin-bottom: 4px;
  }

  .access-map iframe {
    height: 300px;
  }
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/*ここからパーキングのCSS*/

.parking-page{
  max-width: 980px;
  margin: 0 auto;
  padding: 24px 20px 60px;
}

.parking-hero{
  margin-bottom: 24px;
}

.parking-page h1{
  font-size: 32px;
  line-height: 1.4;
  margin-bottom: 14px;
}

.parking-page h2{
  font-size: 24px;
  line-height: 1.4;
  margin-bottom: 14px;
}

.parking-page h3{
  font-size: 18px;
  margin-bottom: 8px;
}

.lead{
  font-size: 16px;
  line-height: 1.9;
  margin: 0;
}

.parking-notice{
  background: #fff7e8;
  border: 1px solid #f0d9a7;
  border-radius: 14px;
  padding: 18px 16px;
  line-height: 1.9;
  margin-bottom: 34px;
}

.parking-section{
  margin-bottom: 42px;
}

.section-text{
  line-height: 1.9;
  margin-bottom: 18px;
}

.parking-gallery{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.parking-item{
  display: block;
  text-decoration: none;
}

.parking-item img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid #e5e5e5;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.parking-item:hover img{
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.parking-summary{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.summary-card{
  background: #f8f9fb;
  border: 1px solid #e8ebf0;
  border-radius: 14px;
  padding: 18px 16px;
}

.summary-card p{
  margin: 0;
  line-height: 1.8;
}

.parking-list{
  margin: 0;
  padding-left: 1.2em;
  line-height: 2;
}

@media (max-width: 767px){
  .parking-page{
    padding: 20px 16px 48px;
  }

  .parking-page h1{
    font-size: 26px;
  }

  .parking-page h2{
    font-size: 21px;
  }

  .parking-gallery{
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .parking-summary{
    grid-template-columns: 1fr;
  }
}

/*ここまで*/

/*ヘッダー上の余白*/
/*ヘッダー上の余白*/
/* =========================
   LP用調整ここから
   page-id-2 専用
========================= */

/* AFFINGER側の不要要素だけ消す */
.page-id-2 #header,
.page-id-2 #headbox,
.page-id-2 #st-header,
.page-id-2 #st-text-logo,
.page-id-2 .sitename,
.page-id-2 #breadcrumb,
.page-id-2 .breadcrumb,
.page-id-2 .single-ranking,
.page-id-2 .adbox,
.page-id-2 .st-page-header {
  display: none !important;
}

/* 本文エリアの余計な余白を消す */
.page-id-2 #wrapper,
.page-id-2 #content,
.page-id-2 #contentInner,
.page-id-2 .st-main,
.page-id-2 .mainbox,
.page-id-2 .entry-content,
.page-id-2 article,
.page-id-2 .post,
.page-id-2 main {
  margin: 0 !important;
  padding: 0 !important;
}

/* 自作ヘッダーは表示 */
.page-id-2 .site-header {
  display: block !important;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(17, 59, 102, 0.08);
}

/* LP全体のコンテナは通常幅に戻す */
.page-id-2 .container {
  width: min(1100px, 92%) !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ただしヘッダー内だけ少し余白を持たせる */
.page-id-2 .site-header .container {
  padding-left: 16px !important;
  padding-right: 16px !important;
}

/* ヘッダー行 */
.page-id-2 .header-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 62px !important;
  gap: 12px !important;
}

/* ロゴ */
.page-id-2 .site-logo {
  display: inline-block !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  color: #113b66 !important;
  line-height: 1.2 !important;
}

/* ハンバーガー */
.page-id-2 .menu-toggle {
  display: none;
}

.page-id-2 .menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px 0;
  background: #113b66;
  border-radius: 2px;
}

/* ヒーロー */
.page-id-2 .hero {
  margin-top: 0 !important;
  padding-top: 0 !important;
  width: 100% !important;
  margin-left: 0 !important;
}

/* ヒーロー内の幅は通常に */
.page-id-2 .hero-inner {
  padding: 88px 0 !important;
}

/* CTAボタンはPCでは横並びを維持 */
.page-id-2 .hero-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 14px !important;
}

.page-id-2 .cta-button,
.page-id-2 .sub-button {
  display: inline-flex !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  text-align: center !important;
}

/* AboutはPCでは横並び */
.page-id-2 .about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr !important;
  gap: 28px !important;
  align-items: center !important;
}

/* ギャラリー画像 */
.page-id-2 .gallery-item img {
  width: 100%;
  object-fit: cover;
}

/* テーマ側のページトップだけ消す */
.page-id-2 #page-top,
.page-id-2 .st-pagetop,
.page-id-2 .pagetop {
  display: none !important;
}

/* 自作ページトップは残す */
.page-id-2 .page-top {
  display: block !important;
}

/* CTAセクションの余白 */
.page-id-2 .cta-section {
  margin-top: 0 !important;
}

/* ===== スマホ・タブレット調整 ===== */
@media screen and (max-width: 767px) {

  /* スマホではヒーローだけ全幅 */
  .page-id-2 .hero {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
  }

  /* スマホではセクション余白を少し詰める */
  .page-id-2 .section {
    padding: 36px 0 !important;
  }

  /* スマホではコンテナに左右余白 */
  .page-id-2 .container {
    width: calc(100% - 32px) !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* ただしヒーロー内は少しゆとりをつける */
  .page-id-2 .hero-inner {
    padding: 74px 16px 62px !important;
  }

  /* ハンバーガー表示 */
  .page-id-2 .menu-toggle {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    padding: 0 !important;
    border: 1px solid #2b6cb0 !important;
    background: #fff !important;
    border-radius: 4px !important;
    cursor: pointer !important;
  }

  .page-id-2 .site-header {
    background: rgba(255, 255, 255, 0.95) !important;
  }

  /* スマホメニュー */
  .page-id-2 .global-nav {
    position: absolute;
    top: 62px;
    right: 16px;
    width: min(320px, 88vw);
    background: #fff;
    border: 1px solid #dbe8f5;
    border-radius: 16px;
    box-shadow: 0 16px 32px rgba(17, 59, 102, 0.12);
    padding: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    z-index: 1100;
  }

  .page-id-2 .global-nav.open {
    display: flex !important;
  }

  .page-id-2 .global-nav .nav-entry {
    text-align: center;
  }

  /* スマホでは縦並び */
  .page-id-2 .about-grid,
  .page-id-2 .access-grid,
  .page-id-2 .feature-grid,
  .page-id-2 .recommend-grid,
  .page-id-2 .job-category-grid,
  .page-id-2 .job-list,
  .page-id-2 .gallery-grid,
  .page-id-2 .info-row,
  .page-id-2 .timeline-item {
    grid-template-columns: 1fr !important;
  }

  .page-id-2 .about-image {
    margin-top: 16px !important;
  }

  /* スマホの文字 */
  .page-id-2 p,
  .page-id-2 li {
    font-size: 14px !important;
    line-height: 1.9 !important;
  }

  .page-id-2 h1 {
    font-size: 30px !important;
    line-height: 1.4 !important;
  }

  .page-id-2 h2 {
    font-size: 22px !important;
    line-height: 1.5 !important;
  }

  .page-id-2 h3 {
    font-size: 18px !important;
    line-height: 1.5 !important;
  }

  /* ボタンは縦並び */
  .page-id-2 .hero-actions {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .page-id-2 .cta-button,
  .page-id-2 .sub-button {
    display: flex !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
  }

  /* ギャラリー画像の縦横固定を解除 */
  .page-id-2 .gallery-item img {
    aspect-ratio: auto !important;
    height: auto !important;
  }

  .page-id-2 .access-map iframe {
    height: 300px !important;
  }
}

/* タブレットだけ */
@media screen and (min-width: 768px) and (max-width: 959px) {
  .page-id-2 .feature-grid,
  .page-id-2 .recommend-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .page-id-2 .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .page-id-2 .job-list {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .page-id-2 .about-grid,
  .page-id-2 .access-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ===== LPを1カラム全幅にする修正 ===== */
.page-id-2 #contentInner,
.page-id-2 #content,
.page-id-2 .st-main,
.page-id-2 .mainbox,
.page-id-2 .post,
.page-id-2 article {
  width: 100% !important;
  max-width: 100% !important;
}

/* 右カラム・サイドバーを消す */
.page-id-2 #side,
.page-id-2 aside,
.page-id-2 .sidebar,
.page-id-2 .st-sidebar,
.page-id-2 #st-side,
.page-id-2 .widget-area {
  display: none !important;
  width: 0 !important;
  max-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 2カラム指定を解除 */
.page-id-2 #contentInner,
.page-id-2 .content-inner,
.page-id-2 .st-content-flex {
  display: block !important;
}

/* メインコンテンツを中央固定 */
.page-id-2 .st-main {
  float: none !important;
  margin: 0 auto !important;
}

/* PCでもLP全体を中央に */
@media screen and (min-width: 768px) {
  .page-id-2 .container {
    width: min(1100px, 92%) !important;
    max-width: 1100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .page-id-2 .hero {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
.job-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.job-list li {
  list-style: none;
}
 
/* AFFINGERの下側フッターを消す */
.page-id-2 #footer-wrapper {
  display: none !important;
}

/* page-id-2 のテーマ側フッター下部を消す */
.page-id-2 .sns,
.page-id-2 #st-footer-under-widgets-box,
.page-id-2 #footer-wrapper {
  display: none !important;
}

.footer-links {
  margin-top: 16px;
  font-size: 0.95rem;
}

.footer-links a {
  color: #fff;
  text-decoration: underline;
  margin: 0 6px;
}

.footer-links a:hover {
  opacity: 0.7;
}

.back-home {
  margin-bottom: 12px;
}

.back-home a {
  font-size: 0.9rem;
  text-decoration: underline;
  color: #1b70b8;
}

/* =========================
   ロゴとハンバーガー最終調整
========================= */

/* ロゴ */
.page-id-2 .site-logo {
  display: flex !important;
  align-items: center !important;
  max-width: calc(100% - 56px) !important;
  line-height: 1 !important;
}

.page-id-2 .site-logo img {
  display: block !important;
  height: 42px !important;
  width: auto !important;
  max-width: 230px !important;
  object-fit: contain !important;
}

/* PCだけ少し大きく */
@media screen and (min-width: 768px) {
  .page-id-2 .site-logo img {
    height: 72px !important;
    max-width: 520px !important;
  }
}

/* ハンバーガーボタン */
.page-id-2 .menu-toggle {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 1px solid #7ea7cf !important;
  border-radius: 8px !important;
  position: relative !important;
  flex-shrink: 0 !important;
  font-size: 0 !important;
  color: transparent !important;
}

/* 既存の謎アイコンを消す */
.page-id-2 .menu-toggle::before,
.page-id-2 .menu-toggle::after,
.page-id-2 .menu-toggle i,
.page-id-2 .menu-toggle svg,
.page-id-2 .menu-toggle span {
  display: none !important;
  content: none !important;
}

/* 三本線を自作 */
.page-id-2 .menu-toggle {
  background-image:
    linear-gradient(#113b66, #113b66),
    linear-gradient(#113b66, #113b66),
    linear-gradient(#113b66, #113b66) !important;
  background-size: 20px 2px, 20px 2px, 20px 2px !important;
  background-position: center 13px, center 20px, center 27px !important;
  background-repeat: no-repeat !important;
}

/* スマホ */
@media screen and (max-width: 767px) {
  .page-id-2 .site-logo img {
    height: 34px !important;
    max-width: 190px !important;
  }

  .page-id-2 .menu-toggle {
    width: 40px !important;
    height: 40px !important;
    background-size: 18px 2px, 18px 2px, 18px 2px !important;
    background-position: center 12px, center 19px, center 26px !important;
  }
}

@media screen and (min-width: 768px) {
  .page-id-2 .menu-toggle {
    display: none !important;
  }
}


/* =========================
   代表挨拶ページ
========================= */

.message-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 20px 20px 70px;
}

.message-page h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.35;
  color: #113b66;
  text-align: center;
  margin-bottom: 18px;
}

.message-page .lead {
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1b70b8;
  margin-bottom: 30px;
}

.message-page > p {
  max-width: 820px;
  margin: 0 auto 18px;
  font-size: 1rem;
  line-height: 2;
  color: #334155;
}

.message-page .greeting-sign {
  max-width: 820px;
  margin: 34px auto 0;
  text-align: right;
  font-size: 1rem;
  line-height: 1.9;
  font-weight: 700;
  color: #113b66;
}

/* =========================
   メンバー一覧
========================= */

.members {
  margin-top: 56px;
  padding: 34px 28px;
  background: #f8fbff;
  border: 1px solid #dce9f5;
  border-radius: 24px;
  box-shadow: 0 12px 28px rgba(17, 59, 102, 0.06);
}

.members h3 {
  text-align: center;
  font-size: 1.45rem;
  line-height: 1.5;
  color: #113b66;
  margin-bottom: 26px;
}

.roles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 18px;
}

.roles li {
  background: #fff;
  border: 1px solid #e3edf7;
  border-radius: 20px;
  padding: 20px 14px 16px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(17, 59, 102, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.roles li:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(17, 59, 102, 0.10);
}

.avatar {
  width: 112px;
  height: 112px;
  margin: 0 auto 12px;
  border-radius: 999px;
  object-fit: cover;
  border: 4px solid #edf6ff;
  background: #fff;
  box-shadow: 0 8px 18px rgba(17, 59, 102, 0.08);
}

.role {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  font-weight: 700;
  color: #113b66;
}

/* =========================
   タブレット
========================= */

@media screen and (max-width: 959px) {
  .roles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* =========================
   スマホ
========================= */

@media screen and (max-width: 767px) {
  .message-page {
    padding: 12px 16px 50px;
  }

  .message-page h1 {
    margin-bottom: 14px;
  }

  .message-page .lead {
    font-size: 1rem;
    margin-bottom: 22px;
  }

  .message-page > p {
    font-size: 0.95rem;
    line-height: 1.95;
    margin-bottom: 16px;
  }

  .message-page .greeting-sign {
    margin-top: 28px;
    font-size: 0.95rem;
  }

  .members {
    margin-top: 42px;
    padding: 24px 16px;
    border-radius: 18px;
  }

  .members h3 {
    font-size: 1.15rem;
    margin-bottom: 20px;
  }

  .roles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .roles li {
    padding: 16px 10px 14px;
    border-radius: 16px;
  }

  .avatar {
    width: 84px;
    height: 84px;
    margin-bottom: 10px;
  }

  .role {
    font-size: 0.88rem;
    line-height: 1.6;
  }
}

.roles {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.roles li {
  list-style: none !important;
}

.parents-button-wrap {
  text-align: center;
  margin-bottom: 24px;
}

.parents-message-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  background: #113b66;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(17, 59, 102, 0.18);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.parents-message-button:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

@media screen and (max-width: 767px) {
  .parents-message-button {
    width: 100%;
    font-size: 0.9rem;
    padding: 13px 18px;
  }
}

.parents-message-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 360px;
  padding: 16px 32px;
  line-height: 1;
}

.parents-message-button {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.parents-message-button span,
.parents-message-button {
  transform: translateY(-2px);
}
.parents-message-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  min-width: 320px;
  border-radius: 999px;
  background: #113b66;
  color: #fff !important;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(17, 59, 102, 0.18);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

@media screen and (max-width: 767px) {
  .parents-message-button {
    min-width: 0;
    width: 100%;
    white-space: normal;
    padding: 14px 20px;
    font-size: 0.95rem;
  }
}





.footer-social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
}

.footer-social a {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-social a:hover {
  transform: translateY(-3px);
  background: #113b66;
  border-color: #113b66;
}

.footer-social .fa-instagram {
  color: #fff;
}

.footer-social .fa-line {
  color: #fff;
}

.footer-social .fa-youtube {
  color: #fff;
}


/*ボタン文字ズレ修正はここから*/

/* =========================
   ボタン文字ズレの確定修正版
   ========================= */

.flyer-btn,
.flyer-pdf-btn,
.cta-button,
.sub-button,
.parents-message-button,
.flyer-entry-btn,
.nav-entry {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 56px !important;
  padding: 0 28px !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
  text-align: center !important;
  line-height: 1 !important;
  border-radius: 999px;
  vertical-align: middle !important;
}

/* 文字は必ずspanで中央化 */
.flyer-btn > span,
.flyer-pdf-btn > span,
.cta-button > span,
.sub-button > span,
.parents-message-button > span,
.flyer-entry-btn > span,
.nav-entry > span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100%;
  height: 100%;
  line-height: 1 !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
  top: 0;
  transform: none !important;
  letter-spacing: 0 !important;
  white-space: nowrap;
}

/* 白ボタン */
.flyer-btn-outline {
  min-width: 240px !important;
  padding: 0 32px !important;
}

/* 青ボタン */
.flyer-btn {
  min-width: 220px !important;
}

/* PDFボタン */
.flyer-pdf-btn {
  min-width: 220px !important;
  padding: 0 24px !important;
}

/* 念のためテーマの擬似要素を無効化 */
.flyer-btn::before,
.flyer-btn::after,
.flyer-pdf-btn::before,
.flyer-pdf-btn::after,
.cta-button::before,
.cta-button::after,
.sub-button::before,
.sub-button::after,
.parents-message-button::before,
.parents-message-button::after,
.flyer-entry-btn::before,
.flyer-entry-btn::after,
.nav-entry::before,
.nav-entry::after {
  content: none !important;
}

/* スマホ */
@media screen and (max-width: 767px) {
  .flyer-btn,
  .flyer-pdf-btn,
  .cta-button,
  .sub-button,
  .parents-message-button,
  .flyer-entry-btn,
  .nav-entry {
    min-height: 52px !important;
    font-size: 15px !important;
  }

  .flyer-btn-outline,
  .flyer-btn,
  .flyer-pdf-btn {
    min-width: auto !important;
    width: 100% !important;
  }
}
.contact-link-text a {
  color: #2563eb !important;
  text-decoration: underline;
  font-weight: 700;
}

.contact-link-text a:hover {
  color: #1d4ed8 !important;
  text-decoration: underline;
}


/*開催地ちらし用文字ズレ */


.info-row .info-body {
  display: flex;
  align-items: center;
}

.info-row .info-body a.flyer-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px;
  padding: 0 18px;
  margin: 0;
  background: #fff;
  color: #1d4ed8 !important;
  border: 2px solid #1d4ed8;
  text-decoration: none !important;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1 !important;
  box-sizing: border-box;
  transition: all 0.25s ease;
}

.info-row .info-body a.flyer-button > span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #1d4ed8 !important;
  line-height: 1 !important;
  white-space: nowrap;
}

.info-row .info-body a.flyer-button:hover {
  background: #1d4ed8;
  color: #fff !important;
}

.info-row .info-body a.flyer-button:hover > span {
  color: #fff !important;
}
@media screen and (max-width: 767px) {
  .info-row .info-body a.flyer-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 44px !important;
    padding: 0 18px !important;
    background: #fff !important;
    border: 2px solid #1d4ed8 !important;
    border-radius: 999px !important;
    color: #1d4ed8 !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
  }

  .info-row .info-body a.flyer-button > span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #1d4ed8 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }
}


/*告知コーナー*/
.organizer-box p {
  margin: 0 0 18px;
  line-height: 1.9;
  color: #1f2937;
  font-size: 15px;
}

.organizer-box strong {
  display: inline-block;
  min-width: 72px;
  color: #0F3554;
}

.organizer-box .small-note {
  margin-top: 24px;
  font-size: 13px;
  color: #6b7280;
}



/*ここから企業案内CSS*/

.guide-page{
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 16px 56px;
}

.guide-hero{
  background: linear-gradient(135deg, #0f3d75, #1d4ed8);
  color: #fff;
  padding: 28px 22px;
  border-radius: 18px;
  margin-bottom: 24px;
}

.guide-hero,
.guide-hero h1,
.guide-hero h2,
.guide-hero p{
  color: #fff !important;
}

.guide-hero h1,
.guide-hero h2{
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.4;
  font-weight: 800 !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.guide-hero p{
  margin: 0;
  line-height: 1.9;
  font-size: 15px;
  color: rgba(255,255,255,0.92) !important;
}

.guide-section{
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 22px 18px;
  margin-bottom: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

.guide-section h3{
  margin: 0 0 14px;
  font-size: 20px;
  color: #0f172a;
  border-left: 5px solid #1d4ed8;
  padding-left: 10px;
}

.guide-section p,
.guide-section li{
  line-height: 1.9;
  font-size: 15px;
}

.guide-section ul,
.guide-section ol{
  margin: 0;
  padding-left: 1.2em;
}

.guide-note{
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  padding: 18px;
  line-height: 1.9;
}

.guide-cards{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.guide-card{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  box-sizing: border-box;
}

.guide-card h3{
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.5;
  color: #111827 !important;
}

.guide-card p{
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.9;
  color: #4b5563 !important;
}

.guide-card-button{
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 10px 16px;
  background: #eff6ff;
  color: #1d4ed8 !important;
  text-decoration: none !important;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  margin-top: auto;
}

.guide-card-button:hover{
  opacity: .9;
  transform: translateY(-2px);
}

.guide-map-image{
  width: 100%;
  height: auto;
  display: block;
  margin-top: 16px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.guide-entry-card{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.guide-entry-text h3{
  margin: 0 0 10px;
  font-size: 22px;
  color: #0f172a;
}

.guide-entry-text p{
  margin: 0;
  color: #475569;
  line-height: 1.8;
}

.guide-entry-button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  background: #1d4ed8;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
  transition: all .2s ease;
}

.guide-entry-button:hover{
  opacity: .9;
  transform: translateY(-2px);
}

@media (max-width: 767px){
  .guide-hero h1,
  .guide-hero h2{
    font-size: 22px;
  }

  .guide-cards{
    grid-template-columns: 1fr;
  }

  .guide-card{
    min-height: auto;
  }

  .guide-section{
    padding: 18px 14px;
  }

 guide-entry-card{
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .guide-entry-text{
    width: 100%;
    text-align: center;
  }

  .guide-entry-button{
    width: auto;
    margin: 0 auto;
  }
}
@media (max-width: 767px){
  .guide-entry-card{
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 18px !important;
  }

  .guide-entry-text{
    width: 100% !important;
    text-align: center !important;
  }

  .guide-entry-text h3{
    margin: 0 0 12px !important;
    font-size: 28px !important;
    line-height: 1.5 !important;
  }

  .guide-entry-text p{
    margin: 0 !important;
    line-height: 1.9 !important;
  }

  .guide-entry-button{
    width: auto !important;
    margin: 0 auto !important;
  }
}

.deadline-alert{
  margin: 12px 0 0;
  padding: 10px 14px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  color: #dc2626;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

@media (max-width: 767px){
  .deadline-alert{
    margin-top: 10px;
    padding: 9px 12px;
    font-size: 13px;
    line-height: 1.7;
  }
}

/*media Queries タブレット（600px）以上で適応したいCSS -タブレット・PC
---------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) {


	/*-- ここまで --*/
}

/*media Queries PCサイズ（960px）以上で適応したいCSS - PCのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (min-width: 960px) {


	/*-- ここまで --*/
}

/*media Queries スマホサイズ（599px）以下で適応したいCSS - スマホのみ
---------------------------------------------------------------------------------------------------*/
@media print, screen and (max-width: 599px) {

	
	/*-- ここまで --*/
}
