/*
Theme Name: takehaya
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: 保育士専門学校のための明るくポップなWordPressテーマ。Tailwind CSSを使用。
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: takehaya-hoikushi
Tags: education, school, responsive, custom-header, custom-menu, tailwind
*/

@custom-variant dark (&:is(.dark *));

:root {
  --font-size: 16px;
  --background: #ffffff;
  --foreground: oklch(0.145 0 0);
  --card: #ffffff;
  --card-foreground: oklch(0.145 0 0);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.145 0 0);
  --primary: #030213;
  --primary-foreground: oklch(1 0 0);
  --secondary: oklch(0.95 0.0058 264.53);
  --secondary-foreground: #030213;
  --muted: #ececf0;
  --muted-foreground: #717182;
  --accent: #e9ebef;
  --accent-foreground: #030213;
  --destructive: #d4183d;
  --destructive-foreground: #ffffff;
  --border: rgba(0, 0, 0, 0.1);
  --input: transparent;
  --input-background: #f3f3f5;
  --switch-background: #cbced4;
  --font-weight-medium: 500;
  --font-weight-normal: 400;
  --ring: oklch(0.708 0 0);
  --chart-1: oklch(0.646 0.222 41.116);
  --chart-2: oklch(0.6 0.118 184.704);
  --chart-3: oklch(0.398 0.07 227.392);
  --chart-4: oklch(0.828 0.189 84.429);
  --chart-5: oklch(0.769 0.188 70.08);
  --radius: 0.625rem;
  --sidebar: oklch(0.985 0 0);
  --sidebar-foreground: oklch(0.145 0 0);
  --sidebar-primary: #030213;
  --sidebar-primary-foreground: oklch(0.985 0 0);
  --sidebar-accent: oklch(0.97 0 0);
  --sidebar-accent-foreground: oklch(0.205 0 0);
  --sidebar-border: oklch(0.922 0 0);
  --sidebar-ring: oklch(0.708 0 0);

  /* spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 40px;
  --space-2xl: 48px;
  --space-3xl: 56px;
  --space-4xl: 72px;
  --space-5xl: 96px;

  /* fontsize */
  --max768-font-sm: 12px;
  --max768-font-md: 14px;
  --max768-font-lg: 16px;
  --max768-font-xl: 18px;
  --max768-font-2xl: 20px;
  --max768-font-3xl: 22px;
  --max768-font-4xl: 25px;
  --max768-font-5xl: 35px;
}

.dark {
  --background: oklch(0.145 0 0);
  --foreground: oklch(0.985 0 0);
  --card: oklch(0.145 0 0);
  --card-foreground: oklch(0.985 0 0);
  --popover: oklch(0.145 0 0);
  --popover-foreground: oklch(0.985 0 0);
  --primary: oklch(0.985 0 0);
  --primary-foreground: oklch(0.205 0 0);
  --secondary: oklch(0.269 0 0);
  --secondary-foreground: oklch(0.985 0 0);
  --muted: oklch(0.269 0 0);
  --muted-foreground: oklch(0.708 0 0);
  --accent: oklch(0.269 0 0);
  --accent-foreground: oklch(0.985 0 0);
  --destructive: oklch(0.396 0.141 25.723);
  --destructive-foreground: oklch(0.637 0.237 25.331);
  --border: oklch(0.269 0 0);
  --input: oklch(0.269 0 0);
  --ring: oklch(0.439 0 0);
  --font-weight-medium: 500;
  --font-weight-normal: 400;
  --chart-1: oklch(0.488 0.243 264.376);
  --chart-2: oklch(0.696 0.17 162.48);
  --chart-3: oklch(0.769 0.188 70.08);
  --chart-4: oklch(0.627 0.265 303.9);
  --chart-5: oklch(0.645 0.246 16.439);
  --sidebar: oklch(0.205 0 0);
  --sidebar-foreground: oklch(0.985 0 0);
  --sidebar-primary: oklch(0.488 0.243 264.376);
  --sidebar-primary-foreground: oklch(0.985 0 0);
  --sidebar-accent: oklch(0.269 0 0);
  --sidebar-accent-foreground: oklch(0.985 0 0);
  --sidebar-border: oklch(0.269 0 0);
  --sidebar-ring: oklch(0.439 0 0);
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);
  --color-popover: var(--popover);
  --color-popover-foreground: var(--popover-foreground);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-secondary: var(--secondary);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-muted: var(--muted);
  --color-muted-foreground: var(--muted-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
  --color-destructive: var(--destructive);
  --color-destructive-foreground: var(--destructive-foreground);
  --color-border: var(--border);
  --color-input: var(--input);
  --color-input-background: var(--input-background);
  --color-switch-background: var(--switch-background);
  --color-ring: var(--ring);
  --color-chart-1: var(--chart-1);
  --color-chart-2: var(--chart-2);
  --color-chart-3: var(--chart-3);
  --color-chart-4: var(--chart-4);
  --color-chart-5: var(--chart-5);
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --color-sidebar: var(--sidebar);
  --color-sidebar-foreground: var(--sidebar-foreground);
  --color-sidebar-primary: var(--sidebar-primary);
  --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
  --color-sidebar-accent: var(--sidebar-accent);
  --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
  --color-sidebar-border: var(--sidebar-border);
  --color-sidebar-ring: var(--sidebar-ring);
}

@layer base {
  * {
    @apply border-border outline-ring/50;
  }

  body {
    @apply bg-background text-foreground;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/**
 * Base typography. This is not applied to elements which have an ancestor with a Tailwind text class.
 */
@layer base {
  :where( :not(:has([class*=" text-"]), :not(:has([class^="text-"])))) {
    h1 {
      font-size: var(--text-2xl);
      font-weight: var(--font-weight-medium);
      line-height: 1.5;
    }

    h2 {
      font-size: var(--text-xl);
      font-weight: var(--font-weight-medium);
      line-height: 1.5;
    }

    h3 {
      font-size: var(--text-lg);
      font-weight: var(--font-weight-medium);
      line-height: 1.5;
    }

    h4 {
      font-size: var(--text-base);
      font-weight: var(--font-weight-medium);
      line-height: 1.5;
    }

    label {
      font-size: var(--text-base);
      font-weight: var(--font-weight-medium);
      line-height: 1.5;
    }

    button {
      font-size: var(--text-base);
      font-weight: var(--font-weight-medium);
      line-height: 1.5;
    }

    input {
      font-size: var(--text-base);
      font-weight: var(--font-weight-normal);
      line-height: 1.5;
    }
  }
}

html {
  font-size: var(--font-size);
}

.stroke-white {
  text-shadow:
    -2px -2px 0 #fff,
    2px -2px 0 #fff,
    -2px 2px 0 #fff,
    2px 2px 0 #fff,
    0px 2px 0 #fff,
    2px 0px 0 #fff,
    -2px 0px 0 #fff,
    0px -2px 0 #fff;
}

.bg-hero-gradient {
  background: linear-gradient(#fff7d600 65%,
      #fffdf5 60%,
      #fff 100%);
}

.stroke-white-strong {
  text-shadow:
    -3px -3px 0 #fff,
    3px -3px 0 #fff,
    -3px 3px 0 #fff,
    3px 3px 0 #fff,
    0px 3px 0 #fff,
    3px 0px 0 #fff,
    -3px 0px 0 #fff,
    0px -3px 0 #fff,
    2px 2px 2px rgba(0, 0, 0, 0.08);
}

.number-highlight {
  position: absolute;
  top: 10%;
  left: 15%;
  width: 30%;
  height: 40%;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  transform: rotate(-20deg);
  pointer-events: none;
}

.maru {
  font-family: "Zen Maru Gothic", sans-serif !important;
  font-weight: 400;
}

.four-str {
  line-height: 0.9 !important;
  margin: 0 0.25rem 0 0.5rem !important;
  font-size: 5.7rem !important;
}

.green-ribbon {
  display: inline-block;
  background: linear-gradient(180deg, #2fa65a 0%, #1f8c4a 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.25rem;
  border-radius: 9999px;
  box-shadow: 0 4px 0 #15733a;
  margin-top: -2rem;
}

.green-ribbon span {
  letter-spacing: 0.05em;
}

.speech-bubble {
  position: relative;
  display: inline-block;
  padding: 0.5rem;
  background: #ffffff;
  border: 3px solid #2fa65a;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.8rem;
  color: #2fa65a;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.1);
  width: 28.7%;
  margin: 0 0.1rem;
}

/* 三角部分 */
.speech-bubble::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 32px;
  border-width: 0 12px 12px 12px;
  border-style: solid;
  border-color: transparent transparent #2fa65a transparent;
}

.speech-bubble::after {
  content: "";
  position: absolute;
  top: -8px;
  left: 34px;
  border-width: 0 10px 10px 10px;
  border-style: solid;
  border-color: transparent transparent #ffffff transparent;
}

.midashi {
  line-height: 7;
}

.mid-area {
  padding: 14rem 1rem 0;
}

.sp-padding {
  padding: 0 5rem;
}

.site-title {
  font-size: clamp(21px, 3vw, 30px) !important;
}

H2.wp-block-heading {
  /* font-size: clamp(24px, 2vw, 36px) !important; */
  font-size: 1.7rem;
  border-bottom: 7px dotted #599de1;
  margin: 1.2rem 0;
}

h3.wp-block-heading {
  color: #ffc21a;
  margin-bottom: 0.5rem;
}

.wp-block-group__inner-container {
  margin-bottom: 2rem;
  border-bottom: 3px dashed #ddd;
  padding-bottom: 0.5rem;
}

.nittei {
  font-size: 25px;
  margin-top: 15px;
  text-align: left;
  padding-left: 43px;
}

.gengo {
  letter-spacing: 5px;
  width: 150px;
  display: inline-flex;
  justify-content: space-between;
}

#setumeikai630 {
  /* margin: 1rem 1rem 2rem 2rem; */
  margin: 2rem 0rem 2rem 0rem;
  width: 100%;
  height: auto;
  /* display: flex; */

  /* 以下は修正版用追加部分 */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 10px;

  /* flex-direction: row;
  justify-content: space-between; */
  background-image: none;
  background-repeat: no-repeat;
  background-size: contain;
  /* flex-wrap: wrap; */
}

#button-wrap {
  margin: 0 1rem 0 2rem;
  float: left;
  width: 940px;
  height: auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  background-image: none;
  background-repeat: no-repeat;
  background-size: contain;
  flex-wrap: wrap;
}

.button-box {
  /* width: 24%; */
  height: 60px;
  border-radius: 0.6rem;
  /* margin: 5px 0; */
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background-color: #ffffff;
  box-shadow: 3px 2px 4px 0px #d28938;
  padding-top: 0.4rem;
  border: 2px dashed #d28938;
}

.button-box a {
  width: 100%;
}

.button-box:hover {
  opacity: 0.8;
  background-color: #fbffdf;
}

.nittei-box {
  /* width: 24%; */
  height: 120px;
  border-radius: 0.6rem;
  /* margin: 5px 0; */
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background-color: #ffffff;
  box-shadow: 3px 2px 4px 0px #d28938;
}

.nittei-title {
  width: 100%;
  align-items: center;
  height: 70px;
  position: relative;

  /* 追加部部 */
  grid-column: 1 / -1;
}

.nittei-title img {
  position: absolute;
  width: 100px;
  left: 25%;
  transform: rotate(-8deg);
}

.calendar-title {
  font-size: 1.8rem !important;
}

.blank {
  background-color: transparent;
  box-shadow: none;
}

.image-space {
  width: 49%;
  overflow: hidden;
}

.hojo {
  width: 74.5%;
  justify-content: flex-start;
}

#setumeikai30 {
  width: 1005px;
  height: 1540px;
  background-image: url(./image/setumeikai/main0168.png);
  background-repeat: no-repeat;
  background-size: contain;
}

#toflow {
  position: absolute;
  left: 210px;
  padding: 3px 15px;
  background-color: #256448;
  top: 47px;
  border-radius: 6px;
  color: #fff;
}

#toflow:hover {
  opacity: 0.8;
}

.settime {
  font-size: 25px !important;
  margin-top: 4px;
}

.menjocard {
  position: absolute;
  width: 390px;
  top: -146px;
  right: 3px;
  transform: rotate(-3deg);
}

.sc-text,
.sc-button {
  width: 100%;
  text-align: center;
}

.sc-text {
  font-size: 1.5rem;
}

.nittei-y {
  margin: 0.4rem 0 0.2rem;
  font-size: 0.9rem ;
}

.nittei-m {
  font-size: 2.7rem;
  width: 100%;
  /* text-align: right; */
  text-align: center;
  /* margin: -0.6rem; */
  background-color: #eeffe1;
  background-color: #f6fbf9;
  /* ↓追加分 */
  margin: 0px 7% 0 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-variant-numeric: tabular-nums;
}

.nittei-t {
  font-size: 1rem;
}

.youbi {
  color: white;
  font-size: 1.2rem;
  border-radius: 70px;
  display: inline-block;
  margin: 0px 1rem 0px 13px;
  padding: 6px 5px 3px;
  line-height: 0.9;
  font-weight: bold;
  background-color: red;
  vertical-align: middle;
}

.yaji {
  font-size: 0.8rem;
  color: white;
  border-radius: 21px;
  display: inline-block;
  margin: 0 auto;
  padding: 7px 4px 4px;
  line-height: 0.8;
  font-weight: bold;
  background-color: #2bf285;
  vertical-align: middle;
}

.doyou {
  background-color: #7878ff;
}

.heijitsu {
  background-color: #6baf9e;
}

.shukujitsu {
  background-color: orange;
}

.date-space {
  margin-left: 0.9rem;
  margin-right: 0.8rem;
}

.hojo-title {
  color: #d05268;
  width: 30%;
  font-size: 25px !important;
  margin: 0.7rem 0.3rem 0;
}

.hojo-title::before {
  content: "●";
  margin: 0.2rem;
}

.flow-wrapper {
  border: 2px solid #648e74;
  border-radius: 0.7rem;
  margin-top: 1rem;
  background-color: #fbf4d5;
  padding: 0.8rem 0;
  width: 100.2%;
}

.hojo-content {
  width: 100%;
  margin: 1rem;
}

.hojo-attention {
  width: 100%;
  margin: 0 0 0 1rem;
  font-size: 0.8em !important;
}

#flow_wrap {
  display: flex;
  width: 935px;
  margin: auto;
  justify-content: flex-start;
  flex-direction: column;
  flex-wrap: wrap;
}

.flow_block {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  flex-direction: row;
  flex-wrap: wrap;
  margin-bottom: 15px;
  border: 3px dotted #c3c3ab;
  border-radius: 10px;
  padding: 5px;
  background-color: #f6fbf9;
  position: relative;
}

.flow_block:after {
  content: "";
  position: absolute;
  bottom: -18px;
  left: 110px;
  border-top: 16px solid #c3c3ab;
  border-right: 21px solid transparent;
  border-left: 21px solid transparent;
}

#last_flow:after {
  content: none;
}

.time_disp {
  padding: 13px 10px 10px;
  font-size: 21px;
  width: 10%;
  text-align: right;
  border-right: 3px dotted #c3c3ab;
}

.content_wrap {
  width: 90%;
  padding: 0 10px;
}

.content_title {
  font-size: 24px;
  padding: 10px 10px 0;
  border-bottom: 4px solid #d2e062;
}

.content_text {
  padding: 10px;
  font-size: 18px;
}

.flow-title {
  margin: 1rem 2rem 0.7rem;
  border-bottom: 2px dashed #3e775f;
}

.news-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #f79646;
}

/* 枠組みの変更 */
.lg\:col-span-3 {
  min-width: 0;
}

/* 枠組みの変更 END */

/* --------ユーティリティ-------- */
.margin-top-5 {
  margin-top: 5px;
}

.margin-top-10 {
  margin-top: 10px;
}

.margin-top-20 {
  margin-top: 20px;
}

.margin-top-30 {
  margin-top: 30px;
}

.margin-top-40 {
  margin-top: 40px;
}

.margin-top-50 {
  margin-top: 50px;
}

.margin-top-60 {
  margin-top: 60px;
}

.margin-top-70 {
  margin-top: 70px;
}

@media (min-width: 769px) {
  ul.min768-margin-top-5 {
    margin-top: 5px;
  }
}

.margin-left-10 {
  margin-left: 10px;
}

.margin-left-20 {
  margin-left: 20px;
}

.margin-left-30 {
  margin-left: 30px;
}

.margin-left-40 {
  margin-left: 40px;
}

.margin-left-50 {
  margin-left: 50px;
}

.margin-left-60 {
  margin-left: 60px;
}

.margin-left-68 {
  margin-left: 68px;
}

.margin-left-auto {
  margin-left: auto;
}

H2.wp-block-heading.margin-top-70 {
  margin-top: 70px;
}

h2.margin-top-10 {
  margin-top: 10px;
}

h2.margin-top-30 {
  margin-top: 30px;
}

h2.margin-top-50 {
  margin-top: 50px;
}

.wp-block-columns.margin-top-10 {
  margin-top: 10px;
}

.wp-block-columns.margin-top-20 {
  margin-top: 20px;
}

.wp-block-columns.margin-top-30 {
  margin-top: 30px;
}

.wp-block-columns.margin-top-50 {
  margin-top: 50px;
}

@media (max-width: 781px) {
  .max768-width-100 {
    width: 100%;
  }
}

.lh-2 {
  line-height: 2;
}

.title-img {
  max-width: 500px;
}

.ol--decimal {
  list-style-type: decimal;
}

.ul--disc {
  list-style-type: disc;
}

.disc-mark {
  list-style: none;
  position: relative;
  padding-left: 1.2em;
}

.disc-mark::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  /* transform: translateY(-50%); */

  width: 14px;
  height: 14px;
  background-color: #000;
  border-radius: 50%;
}

@media (max-width: 768px) {
  .disc-mark.max768-top-5px::before {
    top: 5px;
  }
}


.no-list-style {
  list-style: none;
}

li.has-red-part strong {
  text-decoration: underline;
  color: red;
}

.ol--has-green-title li>strong {
  font-style: oblique;
  font-family: "Yu gothic", sans-serif;
  text-decoration: underline;
  color: #0e7348;
  text-decoration-thickness: 1px;
}
.ol--has-green-title.no-oblique li>strong {
  font-style: normal;
}

.green-title {
  font-style: oblique;
  font-family: "Yu gothic", sans-serif;
  text-decoration: underline;
  color: #0e7348;
  text-decoration-thickness: 1px;
}

.no-oblique {
  font-style: normal;
}

figure.person-picture {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.ul--requirements>li {
  font-size: 1.3rem;
  padding: 8px 0 5px;
  font-weight: bold;
  border-bottom: 2px dashed #31a1c2;
  margin: 0.5em 15px;
}

.row-list>div {
  /* グループ化した要素を横並びにする */
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

h2.h2--pink {
  background-color: #fc9bab;
  border: 8px double #fff;
  padding: 0 1.5rem 0;
  color: #fff;
  border-radius: 3.5rem;
  font-family: "Yu Gothic", sans-serif;
  font-style: oblique;
  width: 100%;
  font-weight: 500;
  box-shadow: 0px 0px 5px 1px #d4e0d6;
  text-align: center;

  margin-top: 50px;
}

h2 .small {
  font-size: clamp(16px, 3vw, 20px);
}

.button--blue {
  border: 1px solid #31a1c2;
  color: #fff;
  background-color: #31a1c2;
  border-radius: 0.5rem;
  text-align: center;
}

.button--blue {
  position: relative;
}

.button--blue::before,
.button--blue::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 12px;
  height: 3px;
  background: #fff;
  /* 白 */
  transform-origin: right center;
  pointer-events: none;
}

.button--blue::before {
  transform: translateY(1px) rotate(45deg);
}

.button--blue::after {
  transform: translateY(-1px) rotate(-45deg);
}

.annotation--black {
  color: black;
}

.has-asterisk {
  position: relative;
}

.has-asterisk::before {
  content: "\203B";
  font-family: "Yu Gothic", "Meiryo", sans-serif;
  position: absolute;
  top: 0;
  left: -20px;
}

span.has-red-part {
  color: red;
  text-decoration: none;
}

span.has-red-part--underline {
  color: red;
  text-decoration: underline 2px;
}

span.underline-1px {
  text-decoration: underline 1px;
}

span.inline-block {
  display: inline-block;
}

span.gray {
  color: #888;
}

.no-border-bottom div {
  border-bottom: none;
  margin-bottom: 0;
}

h2.no-border-bottom {
  border-bottom: none;
}

.opacity-hover {
  transition: opacity 0.1s;
}
.opacity.img-link img {
  transition: opacity 0.1s;
}

.before-top-2px::before {
  top: 2px;
}
@media (max-width: 768px) {
  .max-768-before-top-2px::before {
    top: 1px;
  }
}

.indent-1em {
  padding-left: 1em;
  text-indent: -1em;
}

.text-indent-0 {
  text-indent: 0;
}

.no-wrap {
  white-space: nowrap;
}

.text-indent-4-3em {
  text-indent: 4.3em;
}

@media (max-width: 768px) {
  .max-768-text-indent-4-5em {
    text-indent: 4.5em;
  }
}



@media (max-width: 768px) {
  .max768-fs-22 {
    font-size: 22px;
  }

  .max768-fs-20 {
    font-size: 20px;
  }

  .max768-fs-18 {
    font-size: 18px !important;
  }

  .max768-fs-16 {
    font-size: 16px;
  }

  .max768-fs-14 {
    font-size: 14px;
  }

  .max768-fs-12 {
    font-size: 12px;
  }

  .max768-lh-25 {
    line-height: 2.5;
  }

  .max768-lh-2 {
    line-height: 2;
  }

  .max768-lh-15 {
    line-height: 1.5;
  }

  .max768-ls-03 {
    letter-spacing: .3rem;
  }

  .before-max768-top-1px::before {
    top: 1px;
  }
}

/* --------ユーティリティ END-------- */

/* 余白調整修正版 */
.mt-xs {
  margin-top: var(--space-xs);
}

.mt-sm {
  margin-top: var(--space-sm);
}

.mt-md {
  margin-top: var(--space-md);
}

.mt-lg {
  margin-top: var(--space-lg);
}

.mt-xl {
  margin-top: var(--space-xl);
}

.mt-2xl {
  margin-top: var(--space-2xl);
}

.mt-3xl {
  margin-top: var(--space-3xl);
}

.mt-4xl {
  margin-top: var(--space-4xl);
}

.mt-5xl {
  margin-top: var(--space-5xl);
}

.mt-none {
  margin-top: 0;
}

.mb-none {
  margin-bottom: 0;
}

/* H2.wp-block-heading */
H2.wp-block-heading.mt-xs {
  margin-top: var(--space-xs);
}

H2.wp-block-heading.mt-sm {
  margin-top: var(--space-sm);
}

H2.wp-block-heading.mt-md {
  margin-top: var(--space-md);
}

H2.wp-block-heading.mt-lg {
  margin-top: var(--space-lg);
}

H2.wp-block-heading.mt-xl {
  margin-top: var(--space-xl);
}

H2.wp-block-heading.mt-2xl {
  margin-top: var(--space-2xl);
}

H2.wp-block-heading.mt-3xl {
  margin-top: var(--space-3xl);
}

H2.wp-block-heading.mt-4xl {
  margin-top: var(--space-4xl);
}

H2.wp-block-heading.mt-5xl {
  margin-top: var(--space-5xl);
}

H2.wp-block-heading.mt-none {
  margin-top: 0;
}

H2.wp-block-heading.mb-none {
  margin-bottom: 0;
}

h3.wp-block-heading.mb-none {
  margin-bottom: 0;
}

/* .wp-block-columns */
.wp-block-columns.mt-xs {
  margin-top: var(--space-xs);
}

.wp-block-columns.mt-sm {
  margin-top: var(--space-sm);
}

.wp-block-columns.mt-md {
  margin-top: var(--space-md);
}

.wp-block-columns.mt-lg {
  margin-top: var(--space-lg);
}

.wp-block-columns.mt-xl {
  margin-top: var(--space-xl);
}

.wp-block-columns.mt-2xl {
  margin-top: var(--space-2xl);
}

.wp-block-columns.mt-3xl {
  margin-top: var(--space-3xl);
}

.wp-block-columns.mt-4xl {
  margin-top: var(--space-4xl);
}

.wp-block-columns.mt-5xl {
  margin-top: var(--space-5xl);
}



@media (max-width: 768px) {
  :root {
    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 40px;
    --space-3xl: 48px;
    --space-4xl: 56px;
    --space-5xl: 72px;
  }
}

/* 余白調整修正版 END */

/* レスポンシブフォントサイズ・行間調整 */
.fs-12 {
  font-size: 12px;
}

.fs-13 {
  font-size: 13px;
}

.fs-14 {
  font-size: 14px;
}

.fs-15 {
  font-size: 15px;
}

.fs-16 {
  font-size: 16px;
}

.fs-17 {
  font-size: 17px;
}

.fs-18 {
  font-size: 18px;
}

.fs-19 {
  font-size: 19px;
}

.fs-20 {
  font-size: 20px;
}

.fs-21 {
  font-size: 21px;
}

.fs-22 {
  font-size: 22px;
}

.fs-23 {
  font-size: 23px;
}

.fs-24 {
  font-size: 24px;
}

.fs-25 {
  font-size: 25px;
}

.fs-26 {
  font-size: 26px;
}

.fs-27 {
  font-size: 27px;
}

.fs-28 {
  font-size: 28px;
}

.fs-29 {
  font-size: 29px;
}

.fs-30 {
  font-size: 30px;
}

.fs-31 {
  font-size: 31px;
}

.fs-32 {
  font-size: 32px;
}

.fs-33 {
  font-size: 33px;
}

.wp-block-buttons.fs-20 a {
  font-size: 20px;
}

H2.wp-block-heading.fs-20 {
  font-size: 20px;
}

.fs-18 a {
  font-size: 18px;
}

@media (max-width: 768px) {
  .max768-fs-sm {
    font-size: var(--max768-font-sm);
  }

  .max768-fs-md {
    font-size: var(--max768-font-md);
  }

  .max768-fs-lg {
    font-size: var(--max768-font-lg);
  }

  .max768-fs-xl {
    font-size: var(--max768-font-xl);
  }

  .max768-fs-2xl {
    font-size: var(--max768-font-2xl);
  }

  .max768-fs-3xl {
    font-size: var(--max768-font-3xl);
  }

  .max768-fs-4xl {
    font-size: var(--max768-font-4xl);
  }

  .max768-fs-5xl {
    font-size: var(--max768-font-5xl);
  }

  h2.wp-block-heading.max768-fs-sm {
    font-size: var(--max768-font-sm);
  }

  h2.wp-block-heading.max768-fs-md {
    font-size: var(--max768-font-md);
  }

  h2.wp-block-heading.max768-fs-lg {
    font-size: var(--max768-font-lg);
  }

  h2.wp-block-heading.max768-fs-xl {
    font-size: var(--max768-font-xl);
  }

  h2.wp-block-heading.max768-fs-2xl {
    font-size: var(--max768-font-2xl);
  }

  h2.wp-block-heading.max768-fs-3xl {
    font-size: var(--max768-font-3xl);
  }

  h2.wp-block-heading.max768-fs-4xl {
    font-size: var(--max768-font-4xl);
  }

  h2.wp-block-heading.max768-fs-5xl {
    font-size: var(--max768-font-5xl);
  }

  .wp-block-buttons.max768-fs-lg a {
    font-size: var(--max768-font-lg);
  }

  h2 span.max768-fs-xl {
    font-size: var(--max768-font-xl);
  }

  .max768-lh-15 {
    line-height: 1.5;
  }

  .max768-lh-175 {
    line-height: 1.75;
  }

  .max768-lh-2 {
    line-height: 2;
  }

  .max768-lh-25 {
    line-height: 2.5;
  }
}

/* レスポンシブフォントサイズ・行間調整 END */

/* --------アクセスマップ-------- */
.accessmap__location-img {
  margin-top: 30px;
}

.area-map img {
  width: 100%;
}

.accessmap__direction-from-Korakuen {
  position: relative;
}

.accessmap__direction-from-Korakuen--description {
  position: absolute;
  top: 0;
  right: 0;
}

.accessmap__direction-from-Myougadani {
  position: relative;
}

.accessmap__direction-from-Myougadani--description {
  position: absolute;
  top: 0;
  right: 0;
}

.wp-block-image.accessmap__back-to-top>a {
  display: block;
}

.accessmap__back-to-top img {
  margin-top: 30px;
  margin-left: auto;
}

/* .accessmap__img--Korakuen,
.accessmap__img--Myougadani {
  overflow-x: auto;
}
.accessmap__img--Korakuen img {
  min-width: 600px;
}
.accessmap__img--Myougadani img {
  min-width: 640px;
} */
/* --------アクセスマップ END-------- */

/* --------ご挨拶-------- */
.greeting__school-building.wp-block-columns {
  margin-top: 8px;
}

figure.greeting__school-building-img {
  height: auto;
}

@media (max-width: 550px) {
  .greeting__person-name {
    font-size: 22px;
  }
}

/* .greeting__map {
  overflow-x: auto;
}
.greeting__map img {
  min-width: 700px;
} */
/* --------ご挨拶 END-------- */

/* --------よくある質問-------- */
h2.QandA__h2--about {
  margin-top: 50px;
}


.QandA__button-wrapper {
  display: flex;
  gap: 15px;
}

.QandA__button {
  flex: 0 1 200px;
  max-width: 300px;
}

@media (max-width: 400px) {
  .QandA__button-wrapper {
    flex-direction: column;
  }

  .QandA__button-wrapper>.QandA__button {
    width: 100%;
    max-width: 100%;
    flex: 1;
  }
}

/* --------よくある質問 END-------- */

/* --------カリキュラム（保育士科） -------- */
.padding-side-1rem a {
  padding-left: 1rem;
  padding-right: 1rem;
}

.nursery-course__certification {
  background-color: #0e7348;
  border-radius: 0.5rem;
  padding: 1rem 0.5rem;
  height: 4rem;

  display: flex;
  align-items: center;
  justify-content: center;
}

.nursery-course__timetable-group {
  position: relative;
}

.nursery-course__timetable-title {
  height: 30px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.nursery-course__timetable,
.nursery-course__timetable thead,
.nursery-course__timetable th,
.nursery-course__timetable td {
  border: 1px solid #fff;
}

.nursery-course__timetable thead th {
  background-color: #0e7348;
  color: #fff;
}

.nursery-course__timetable tr:nth-child(n+1) td:nth-child(1) {
  background-color: #ebf2c5;
  width: 112px;
}

.nursery-course__timetable tbody tr:nth-child(n+1):nth-child(-n+4) td:nth-child(n+2):nth-child(-n+5) {
  background-color: #dbf6db
}

.nursery-course__timetable tbody tr:nth-child(n+1):nth-child(-n+4) td:nth-child(n+6):nth-child(-n+8),
.nursery-course__timetable tbody tr:nth-child(5) td:nth-child(n+2) {
  background-color: #ffdbdb
}

.nursery-course__timetable-float {
  position: absolute;
  top: 32%;
  padding: 25px 10px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70px;
  font-size: 1.3rem;
  background-color: #fff;
  opacity: 0.8;
  border-radius: 2.8rem;
  width: 340px;
}

.float1 {
  left: calc(37.5% - 170px);
}

.float2 {
  left: calc(81.25% - 170px);
}

.nursery-course__timetable-annotation {
  padding: 0.5rem 1.5rem;
  border-radius: 0.25rem;
  display: inline-block;
}

h4.nursery-course__h4--hoikutankyu {
  color: #0e7348;
  font-size: 2.1rem;
  font-family: "Yu Gothic", sans-serif;
  border-bottom: 2px dashed;
  margin-bottom: 1rem;
  font-weight: bold;
}
@media (max-width: 768px) {
  h4.nursery-course__h4--hoikutankyu {
      font-size: 1.5rem;
  }
}

.nursery-course__button--to-exemption {
  background-color: #805fd8;
  color: #fff;
  padding: 7px 15px;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: bold;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.nursery-course__table--A th {
  background-color: #0d5f48;
  color: #fff;
  border-color: #fff;
}

.nursery-course__table--A thead {
  border: none;
  font-size: 22px;
}

.nursery-course__table--A thead span {
  font-size: 14px;
}

.nursery-course__table--A td {
  background-color: #bfdfaf;
  border-color: #fff;
}

.nursery-course__table--A tbody tr td:nth-child(1) {
  color: #0a2b22;
  font-size: 18px;
}

h2.nursery-course__h2--tuition-fee.fs-24 {
  font-size: 24px;
}

@media (max-width: 768px) {
  h2.nursery-course__h2--tuition-fee.max768-fs-3xl {
    font-size: 22px;
  }
}

.nursery-course__table--tuition-fee {
  font-size: 18px;
}

.nursery-course__table--tuition-fee.max768 {
  display: none;
}

.nursery-course__table--tuition-fee tr:nth-child(1) th:nth-child(1) {
  background: #DCEEFF;
  color: #2F4F6F;
  font-weight: 700;
}

.nursery-course__table--tuition-fee tr th:nth-child(1) {
  /* background-color: #e73780;
  color: #fff;
  border-color: #fff;
  font-size: 22px; */
  background: #F8FBFD;
  color: #444444;
  font-weight: normal;
  text-align: left;
  font-size: 1rem;
  border-color: #D8E1E8;
}

/* .has-fixed-layout tbody > tr:first-child > th {
    background: #DCEEFF;
    color: #2F4F6F;
    font-weight: 700;
} */

.nursery-course__table--tuition-fee td {
  /* background-color: #fecada;
  border-color: #fff; */
  background-color: #ffffff;
  border-color: #D8E1E8;
  font-size: 1.05rem;
  /* text-align: right; */
}

.nursery-course__table--tuition-fee tr:nth-child(3) td:nth-child(n+3):nth-child(-n+5) {
  text-align: center;
}

.nursery-course__table--tuition-fee tr:first-child th:nth-child(n+2):nth-child(-n+3) {
  /* background-color: #fecada;
  color: #143f30;
  border-color: #fff;
  font-size: 22px; */
  background-color: #EAF4FF;
  color: #143f30;
  border-color: #D8E1E8;
  font-size: 1.15rem;
  padding: 0.25rem;
}

.nursery-course__table--tuition-fee tr:nth-child(2) th:nth-child(n+1):nth-child(-n+4) {
  /* background-color: #fecada;
  color: #143f30;
  border-color: #fff;
  font-size: 18px; */
  background-color: #EAF4FF;
  color: #143f30;
  border-color: #D8E1E8;
  font-size: 1rem;
  text-align: center;
  font-weight: 700;
  padding: 0.25rem 0;
}

/* .has-fixed-layout tbody > tr:last-child > th,
.has-fixed-layout tbody > tr:last-child > td {
    background: #fffae5;
    color: #333333;
    font-weight: normal;
    font-size: 1.1rem;
} */
.nursery-course__table--tuition-fee tr:last-child > th,
.nursery-course__table--tuition-fee tr:last-child > td {
  background: #fffae5;
  color: #333333;
  font-weight: normal;
  font-size: 1.1rem;
}


.nursery-course__table--tuition-fee tbody tr:nth-child(n+4):nth-child(-n+5) td:nth-child(2) {
  /* background-color: #b5e3ba; */
  background-color:#f8fbff;
}

.nursery-course__table--tuition-fee tbody tr:nth-child(4) td:nth-child(2) {
  border-top: 2px solid #ff0000;
  border-left: 2px solid #ff0000;
  border-right: 2px solid #ff0000;
}

.nursery-course__table--tuition-fee tbody tr:nth-child(5) td:nth-child(2) {
  border-bottom: 2px solid #ff0000;
  border-left: 2px solid #ff0000;
  border-right: 2px solid #ff0000;
}

.nursery-course__table--tuition-fee.max768 tbody tr:nth-child(n+4):nth-child(-n+5) td:nth-child(2) {
  background-color: #fff;
}

.nursery-course__table--tuition-fee.max768 tbody tr:nth-child(4) td:nth-child(2),
.nursery-course__table--tuition-fee.max768 tbody tr:nth-child(5) td:nth-child(2) {
  border: 1px solid #D8E1E8;
}

.nursery-course__exemption-wrap>.wp-block-group__inner-container {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  flex-wrap: nowrap;
  height: 100px;
  background-color: #fffdff;
  margin: 2em;
  box-shadow: 3px 5px 13px -5px #888;

  border: none;
}

.nursery-course__exemption-arrow {
  width: 70px;
  height: 25px;
  background-color: #ff4444;
  position: relative;
}

.nursery-course__exemption-arrow::after {
  content: "";
  position: absolute;
  border-bottom: 24px solid transparent;
  border-left: 50px solid #ff4444;
  border-top: 24px solid transparent;
  height: 0px;
  right: -43px;
  width: 7px;
  top: -12px;
}

.nursery-course__exemption-wrap p.red-border {
  border: 4px solid red;
  padding: 8px 15px;
  width: auto;
  height: 50px;
  text-align: center;
  font-size: 20px;
  margin-left: 24px;
}

.nursery-course__ul>li>a,
.nursery-course__ul>li>a {
  color: #4BAA22;
  font-size: 21px;
}

/* .nursery-course__timetable-figure,
.nursery-course__table--tuition-fee {
  overflow-x: auto;
}
.nursery-course__timetable-figure img {
  min-width: 900px;
}
.nursery-course__table--tuition-fee table {
  min-width: 900px;
} */

/* --------カリキュラム（保育士科） END-------- */

/* --------カリキュラム（幼稚園教員・保育士科） -------- */
h3.learning-style {
  color: #0e7348;
  font-size: 2.1rem;
  font-family: "Yu Gothic", sans-serif;
  font-style: oblique;
  text-align: center;
  border-bottom: 2px dashed;
  margin-bottom: 1rem;
  font-weight: bold;
  /* max-width: 395px */
}
h3.learning-style.no-oblique {
  font-style: normal;
}
h3.learning-style.no-oblique {
  text-align: left;
}

.learning-style .number {
  font-size: 2.8rem;
  font-family: "Yu Gothic", sans-serif;
  font-style: oblique;
  margin: 0 -4px 0 0px;
  font-weight: bold;
  color: #fc9bab;
  text-shadow: 1px 1px 1px #7D555C;

  display: inline-block;
}
.learning-style .number.no-oblique {
  font-style: normal;
}
@supports (-webkit-touch-callout: none) {
  .learning-style .number {
    font-family: "Hiragino Sans", sans-serif;
    transform: scaleX(0.8);
    transform-origin: 30% 50%;
    text-shadow: none;
  }
}

.learning-style .small {
  font-size: 1.2rem;
  margin-left: .7rem;
}


.kindergarten-and-nursery__certifications {
  gap: 8px;
  align-items: stretch;
  justify-content: flex-start;
}

.kindergarten-and-nursery__certifications p {
  display: flex;
  /* width: 315px; */
  flex: 1 1 40%;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 0;
  color: #ffff;
  background-color: #0e7348;
  border-radius: 0.5rem;
  padding: 1rem 0.5rem;
  font-family: "Yu Gothic", sans-serif;
  /* height: 4rem; */
}


.kindergarten-and-nursery__certifications span.small {
  font-size: .7rem;
  width: 100%;
  color: #ffff;
  text-align: center;
}

.kindergarten-and-nursery__timetable-group {
  position: relative;
}

.kindergarten-and-nursery__timetable-title {
  height: 30px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.kindergarten-and-nursery__timetable,
.kindergarten-and-nursery__timetable thead,
.kindergarten-and-nursery__timetable th,
.kindergarten-and-nursery__timetable td {
  border: 1px solid #fff;
}

.kindergarten-and-nursery__timetable thead th {
  background-color: #0e7348;
  color: #fff;
}

.kindergarten-and-nursery__timetable tr:nth-child(n+1) td:nth-child(1) {
  background-color: #ebf2c5;
  width: 112px;
}

.kindergarten-and-nursery__timetable tbody tr:nth-child(n+1):nth-child(-n+5) td:nth-child(n+2):nth-child(-n+5) {
  background-color: #dbf6db
}

.kindergarten-and-nursery__timetable tbody tr:nth-child(n+1):nth-child(-n+5) td:nth-child(n+7):nth-child(-n+8) {
  background-color: #ffdbdb
}

.kindergarten-and-nursery__timetable tbody tr:nth-child(n+1):nth-child(-n+5) td:nth-child(6) {
  border-bottom: 1px solid #dadada;
}

.kindergarten-and-nursery__timetable-float {
  position: absolute;
  top: 45%;
  padding: 25px 10px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70px;
  font-size: 1.3rem;
  background-color: #fff;
  opacity: 0.8;
  border-radius: 2.8rem;
}

.kindergarten-and-nursery__float1 {
  width: 340px;
  left: calc(37.5% - 170px);
}

.kindergarten-and-nursery__float2 {
  width: 150px;
  left: calc(87.5% - 75px);
}


.kindergarten-and-nursery__wrapper--my-style {
  padding: 15px;
  width: 100%;
  /* margin: 0 auto; */
  background-color: #fff;
  border-radius: 1.5rem;
  border: 2px solid #fc9bab;
  position: relative;
}

.kindergarten-and-nursery__wrapper--my-style::before {
  content: "";
  position: absolute;
  top: -44px;
  left: 62.3%;
  border-width: 128px;
  border-style: solid;
  border-left: solid transparent 64px;
  border-right: solid transparent 6px;
  border-top: transparent;
  border-bottom: 43px solid #fc9bab;
}

.kindergarten-and-nursery__wrapper--my-style::after {
  content: "";
  position: absolute;
  top: -40px;
  left: 62%;
  border-width: 128px;
  border-style: solid;
  border-left: solid transparent 64px;
  border-right: solid transparent 6px;
  border-top: transparent;
  border-bottom: 43px solid #fff;
  z-index: 2;
}

.kindergarten-and-nursery__h4--my-style {
  margin-bottom: 10px;
  background-color: #fc9bab;
  color: #fff;
  padding: 0.1rem 1rem 0.1rem;
  width: fit-content;
  border-radius: 0.5rem;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

h4.kindergarten-and-nursery__h4--hoikutankyu {
  color: #0e7348;
  font-size: 2.1rem;
  font-family: "Yu Gothic", sans-serif;
  border-bottom: 2px dashed;
  margin-bottom: 1rem;
  font-weight: bold;
}
@media (max-width: 768px) {
  h4.kindergarten-and-nursery__h4--hoikutankyu {
      font-size: 1.5rem;
  }
}

.kindergarten-and-nursery-curriculum__h3 {
  height: 30px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.kindergarten-and-nursery-curriculum__wrapper>.wp-block-group__inner-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
}

.kindergarten-and-nursery-curriculum__contents {
  /* flex: 1 1 380px; */
  flex: 1 1 330px;
}

.kindergarten-and-nursery-curriculum__contents h4 {
  color: #fc9bab;
  font-size: 15px;
}

.kindergarten-and-nursery-curriculum__contents ul {
  /* display: flex;
  flex-direction: row;
  flex-wrap: wrap; */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 5px;
  margin-top: 5px;
  margin-left: 10px;
}

.kindergarten-and-nursery-curriculum__contents ul li {
  /* width: 32%; */
  font-size: 13px;
}

.kindergarten-and-nursery-curriculum__contents p {
  font-size: 13px;
}

/* .kindergarten-and-nursery__timetable-figure {
  overflow-x: auto;
} */

/* .kindergarten-and-nursery__timetable-figure img {
  min-width: 900px;
} */

.disc-mark--pink {
  list-style: none;
  position: relative;
  padding-left: 1.1em;
}

.disc-mark--pink::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  /* transform: translateY(-50%); */

  width: 14px;
  height: 14px;
  background-color: #fc9bab;
  border-radius: 50%;
}

@media (max-width: 768px) {
  h3.learning-style {
    font-size: 1.5rem;
  }

  .learning-style .number {
    font-size: 2.1rem;
    text-shadow: none;
  }

  .learning-style .small {
    font-size: .9rem;
    margin-left: .4rem;
  }

  .kindergarten-and-nursery__certifications p {
    flex: 1 1 100%;
    height: 4rem;
  }
}

/* --------カリキュラム（幼稚園教員・保育士科） END-------- */

/* --------保育探求講座  -------- */
.club__article {
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); */
  box-shadow: 0 4px 12px #d2893880;
  padding: 20px;
  margin-top: var(--space-md);
}

/* --------保育探求講座 END -------- */

/* --------入試情報 -------- */
h2.entrance-exam__h2--pink {
  /* font-size: 2.1rem; */
  background-color: #fc9bab;
  border: 8px double #fff;
  padding: 0 1.5rem 0;
  color: #fff;
  border-radius: 3.5rem;
  font-family: "Yu Gothic", sans-serif;
  font-style: oblique;
  width: 100%;
  font-weight: 500;
  box-shadow: 0px 0px 5px 1px #d4e0d6;
  text-align: center;
  /* margin-top: 1.5rem; */
}

h3.entrance-exam__h3--green {
  /* margin-top: 20px; */
  padding: 0.3em;
  font-size: 1.2em;
  font-weight: bold;
  color: #085014;
  text-align: center;
  background-color: #D1F4BB;
}

h3.entrance-exam__h3--green>strong {
  color: black;
  font-weight: bold;
  font-size: 16px;
}

.entrance-exam__button--blue {
  position: relative;
}

.entrance-exam__button--blue::before,
.entrance-exam__button--blue::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 12px;
  height: 3px;
  background: #fff;
  /* 白 */
  transform-origin: right center;
}

.entrance-exam__button--blue::before {
  transform: translateY(1px) rotate(45deg);
}

.entrance-exam__button--blue::after {
  transform: translateY(-1px) rotate(-45deg);
}

.exam-info__table1 tr:nth-child(1) th,
.exam-info__table2 tr:nth-child(1) th,
.exam-info__table3 tr:nth-child(1) th {
  border: 1px solid #000;
  background-color: #0F397F;
  color: #FEFCFC;
}

.exam-info__table1 tr:nth-child(n+2) th,
.exam-info__table2 tr:nth-child(n+2) th,
.exam-info__table3 tr:nth-child(n+2) th {
  border: 1px solid #000;
  background-color: #EEEEEE;
}

.tuition-fee__table1 tr:nth-child(1) th,
.tuition-fee__table2 tr:nth-child(1) th {
  border: 1px solid #000;
  background-color: #C70A40;
  color: #FEFCFC;
}

.tuition-fee__table1 tr:nth-child(2) th,
.tuition-fee__table2 tr:nth-child(2) th,
.tuition-fee__table1 tr:nth-child(n+3) th,
.tuition-fee__table2 tr:nth-child(n+3) th {
  border: 1px solid #000;
  background-color: #FFECF5;
}

.tuition-fee__table1 tr:nth-child(4) td:nth-child(2),
.tuition-fee__table1 tr:nth-child(5) td:nth-child(2) {
  border: 1px solid #000;
  background-color: #fcff71;
}


.exam-info__button--green>a {
  text-decoration: none;
  font-weight: bold;
  /* text-align: center; */
  /* font-size: 13px;
        width: 12em;
        padding: 10px; */
  background: -moz-linear-gradient(top, #99CC00 0%, #339900);
  background: -webkit-gradient(linear, left top, left bottom, from(#99CC00), to(#339900));
  color: #FFF;
  border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border: 1px solid #01661C;
  -moz-box-shadow: 0px 1px 2px rgba(000, 000, 000, 0.2), inset 0px -1px 0px rgba(74, 201, 0, 1);
  -webkit-box-shadow: 0px 1px 2px rgba(000, 000, 000, 0.2), inset 0px -1px 0px rgba(74, 201, 0, 1);
  text-shadow: 0px -1px 0px rgba(000, 000, 000, 0), 0px 1px 0px rgba(0, 0, 0, 0.5);
}

.fee-exemption {
  display: flex;
  flex-direction: column;
  width: 100%;
  flex-wrap: nowrap;
  align-items: center;
  background-color: #fffdff;
  box-shadow: 3px 5px 13px -5px #888;
  text-align: center;
}

.fee-exemption>.wp-block-group__inner-container {
  border: none;
}

.fee-exemption__arrow {
  width: 30px;
  height: 40px;
  background-color: #ff4444;
  position: relative;
  margin: 15px auto 35px;
}

.fee-exemption__arrow::after {
  content: "";
  position: absolute;
  border-left: 40px solid transparent;
  border-top: 30px solid #ff4444;
  border-right: 40px solid transparent;
  height: 27px;
  right: -25px;
  width: 0px;
  bottom: -18px;
}

.fee-exemption p.red-border {
  border: 4px solid red;
  padding: 8px 15px;
  text-align: center;
}

.scholarship__ul>li>a,
.student-loan__ul>li>a {
  color: #4BAA22;
}

.scholarship__link,
.student-loan__link {
  color: #4BAA22;
}

/* スクロールは無し */
/* .exam-info__table1 {
  overflow-x: auto;
}
.exam-info__table1 table {
  min-width: 550px;
} */
/* --------入試情報 END-------- */

/* --------卒業生の方へ 各種証明書の発行について-------- */
/* --------卒業生の方へ 各種証明書の発行について END-------- */

/* --------学校生活 -------- */
.yeardo__button {
  width: 32%;
}

.yeardo__table th,
.yeardo__table td {
  border: none;
}

.yeardo__table tr th:first-child {
  min-width: 100px;
  width: 12%;
}

.yeardo__table tr td:first-of-type {
  width: auto;
}

.yeardo__table tr td:nth-child(3) {
  background-repeat: no-repeat;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  background-size: cover;
  box-sizing: border-box;
  display: block;
}

.yeardo__table tr:nth-child(1) td:nth-child(3) {
  background-image: url(https://www.takehaya.ac.jp/wordpress/wp-content/uploads/2026/04/01.png);
}

.yeardo__table tr:nth-child(2) td:nth-child(3) {
  background-image: url(https://www.takehaya.ac.jp/wordpress/wp-content/uploads/2026/04/021-1-scaled.jpg);
  border: 2px solid #b2b2b2;
}

.yeardo__table tr:nth-child(3) td:nth-child(3) {
  background-image: url(https://www.takehaya.ac.jp/wordpress/wp-content/uploads/2026/04/04.png);
}

.yeardo__table tr:nth-child(5) td:nth-child(3) {
  background-image: url(https://www.takehaya.ac.jp/wordpress/wp-content/uploads/2026/04/05.png);
}

.yeardo__table tr:nth-child(7) td:nth-child(3) {
  background-image: url(https://www.takehaya.ac.jp/wordpress/wp-content/uploads/2026/04/010.png);
}

.yeardo__table tr:nth-child(9) td:nth-child(3) {
  background-image: url(https://www.takehaya.ac.jp/wordpress/wp-content/uploads/2026/04/new_pic4-1-scaled.jpg);
  border: 2px solid #b2b2b2;
}

.yeardo__table tr:nth-child(12) td:nth-child(3) {
  background-image: url(https://www.takehaya.ac.jp/wordpress/wp-content/uploads/2026/04/new_pic2-2-scaled.jpg);
  border: 2px solid #b2b2b2;
}

.yeardo__table--customHTML {
  max-width: 800px;
  margin: 50px auto 0;
}

.yeardo__table-wrapper .yeardo__table--customHTML {
  max-width: 800px;
  margin: 0;
}

.yeardo__table--customHTML .col-th {
  width: 12%;
}

.yeardo__table--customHTML .col-main {
  width: auto;
}

.yeardo__table--customHTML .col-side {
  width: 100px;
}

.yeardo__table-wrapper>div {
  display: flex;
  margin-top: var(--space-xl);
}

.yeardo__table-wrapper>div>*:first-child {
  flex: 1;
}


/* yeardo__table--customHTML--2 */
.yeardo__table--customHTML--2 {
  margin-top: var(--space-xl);
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.yeardo__table--customHTML--2,
.yeardo__table--customHTML--2 tr,
.yeardo__table--customHTML--2 th,
.yeardo__table--customHTML--2 td {
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .yeardo__table--customHTML--2 {
    font-size: var(--max768-font-md);
  }
}
@media (max-width: 550px) {
  .yeardo__table--customHTML--2 {
    font-size: 13px;
  }
  .yeardo__table--customHTML--2 table {
    border-collapse: separate;
    border-spacing: 0 12px;
  }
}
/* yeardo__table--customHTML2 END */


.yeardo__gallery {
  flex-direction: column;
  width: 200px;
}

.yeardo__gallery figure+figure {
  margin-top: 130px;
}

.yeardo__gallery figure.margin-top-157 {
  margin-top: 165px;
}

.yeardo__gallery>div {
  width: 200px;
}

.yeardo__gallery .square img {
  border: 3px solid #b2b2b2;
  border-radius: 50%;
  height: 200px;
  overflow: hidden;
  object-fit: cover;
}

.yeardo__gallery .round img {
  border-radius: 50%;
}

.yeardo__gallery .round-border img {
  border: 3px solid #b2b2b2;
  border-radius: 50%;
}

@media (min-width: 800px) {
  .yeardo__table-wrapper .yeardo__table--customHTML tr td:nth-child(3) {
    display: none;
  }

  .yeardo__table-wrapper .yeardo__table--customHTML .col-main {
    width: calc(100% - 12%);
  }
}

@media (max-width: 799px) {
  .yeardo__gallery {
    display: none;
  }
}

@media (max-width: 500px) {
  .yeardo__table--customHTML {
    font-size: 14px;
  }

  .yeardo__table--customHTML tr th:first-child {
    min-width: 90px;
  }

  .yeardo__table--customHTML tr td:nth-child(3) {
    width: 90px;
    height: 90px;
  }
}

@media (max-width: 450px) {
  .yeardo__table--customHTML {
    font-size: 13px;
  }
}

/* --------学校生活  END-------- */

/* --------学校紹介 -------- */
/* h3.introduction__h3 {
  margin: 1rem 0;
} */

.introduction__article {
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); */
  box-shadow: 0 4px 12px #d2893880;
  padding: 20px;
  margin-top: var(--space-md);
}

/* --------学校紹介 END-------- */

/* --------学校説明会 -------- */
.info-session__button-anchor {
  width: 24%;
  height: 70px;
  border-radius: 0.6rem;
  margin: 5px 0;
  background-color: #ffffff;
  box-shadow: 3px 2px 4px 0px #d28938;
  border: 2px dashed #d28938;
}

.info-session__button-anchor--arrow {
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-session__button--apply>div {
  min-width: 230px;
}

.info-session__article {
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); */
  box-shadow: 0 4px 12px #d2893880;
  padding: 20px;
  margin-top: var(--space-md);
}

.info-session__article.first {
  margin-top: var(--space-lg);
}

span.star-mark {
  color: #e0e00a;
}

span.annotation--red {
  color: red;
  font-size: 20px;
  margin-left: 15px;
}

span.info-session__h2-span--small {
  font-size: 17px;
  margin-bottom: 4px;
  text-indent: 0em;
}

@media (max-width: 768px) {
  span.info-session__h2-span--small {
    margin-bottom: 2px;
  }
}

/* --------学校説明会 END-------- */

/* --------学生の声 -------- */
/* --------学生の声 END-------- */

/* --------役員紹介 -------- */
h2.executive-directors__h2 {
  border: none;
}

.executive-directors__table tr:nth-child(1) td:nth-child(1) {
  background-color: #b4d15b;
  color: #012b31;
  width: 20%;
}

.executive-directors__table tr:nth-child(7) td:nth-child(1) {
  background-color: #dceaae;
  color: #012b31;
  width: 20%;
}



/* --------役員紹介 END-------- */

/* --------就職活動 -------- */
h2.job-hunting__h2--black-bord {
  font-size: 30px;
  padding: 20px 20px;
  text-align: center;
  background: #0d5f48;
  margin-bottom: 0.5em;
  /* text-decoration: underline yellow wavy 2px; */
  color: white;
  /* text-underline-offset: 0.2em; */
  border: 4px solid #e7bb82;
}
h2.job-hunting__h2--black-bord span.yellow-line {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='16' viewBox='0 0 24 16'%3E%3Cpath d='M-12 8 C-8 0 -4 16 0 8 C4 0 8 16 12 8 C16 0 20 16 24 8 C28 0 32 16 36 8' fill='none' stroke='%23ffff00' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: left bottom;
  background-size: 24px 16px;
  padding-bottom: 10px;

  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* h2.job-hunting__h2--black-bord span.inline-block {
  text-decoration: underline yellow wavy 2px;
  color: white;
  text-underline-offset: 0.2em;
} */

.job-hunting__h2--black-bord>span.small {
  font-size: 1.2rem;
  text-decoration: underline #0d5f48 solid 8px;
}


/* --------就職活動 END-------- */

/* --------学費・奨学金 -------- */
.kindergarten-and-nursery__table--tuition-fee {
  /* font-size: 18px; */
  font-size: 1rem;
}
.kindergarten-and-nursery__table--tuition-fee th, 
.kindergarten-and-nursery__table--tuition-fee td {
  border-color: #D8E1E8;
}

.kindergarten-and-nursery__table--tuition-fee.max768 {
  display: none;
}

.kindergarten-and-nursery__table--tuition-fee tr:nth-child(1) th:nth-child(1) {
  background: #DCEEFF;
  color: #2F4F6F;
  font-weight: 700;
}

.kindergarten-and-nursery__table--tuition-fee tr th:nth-child(1) {
  background: #F8FBFD;
  color: #444444;
  font-weight: normal;
  text-align: left;
}

.kindergarten-and-nursery__table--tuition-fee td {
  background-color: #ffffff;
  font-size: 1.05rem;
}

.kindergarten-and-nursery__table--tuition-fee tr:nth-child(3) td:nth-child(n+3):nth-child(-n+5) {
  text-align: center;
}

.kindergarten-and-nursery__table--tuition-fee tr:first-child th:nth-child(n+2):nth-child(-n+3) {
  background-color: #EAF4FF;
  color: #143f30;
  font-size: 1.15rem;
  font-weight: 700;
}

.kindergarten-and-nursery__table--tuition-fee tr:nth-child(2) th:nth-child(n+1):nth-child(-n+4) {
  background-color: #EAF4FF;
  color: #143f30;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

.kindergarten-and-nursery__table--tuition-fee tbody tr:nth-child(n+4):nth-child(-n+5) td:nth-child(2) {
  /* background-color: #b5e3ba; */
  background-color: #f8fbff;
}

.kindergarten-and-nursery__table--tuition-fee tbody tr:nth-child(4) td:nth-child(2) {
  border-top: 3px solid #ff0000;
  border-left: 3px solid #ff0000;
  border-right: 3px solid #ff0000;
}

.kindergarten-and-nursery__table--tuition-fee tbody tr:nth-child(5) td:nth-child(2) {
  border-bottom: 3px solid #ff0000;
  border-left: 3px solid #ff0000;
  border-right: 3px solid #ff0000;
}

.kindergarten-and-nursery__table--tuition-fee tbody tr:last-child > th,
.kindergarten-and-nursery__table--tuition-fee tbody tr:last-child > td {
  background: #fffae5;
  color: #333333;
  font-weight: normal;
  font-size: 1.1rem;
}

.kindergarten-and-nursery__table--tuition-fee.max768 tbody tr:nth-child(n+4):nth-child(-n+5) td:nth-child(2) {
  background-color: #ffffff;
}

.kindergarten-and-nursery__table--tuition-fee.max768 tbody tr:nth-child(4) td:nth-child(2),
.kindergarten-and-nursery__table--tuition-fee.max768 tbody tr:nth-child(5) td:nth-child(2) {
  border: 1px solid #D8E1E8;
}

/* .nursery-course__timetable-figure,
.kindergarten-and-nursery__table--tuition-fee {
  overflow-x: auto;
}
.nursery-course__timetable-figure img {
  min-width: 900px;
}
.kindergarten-and-nursery__table--tuition-fee table {
  min-width: 900px;
} */

@media (max-width: 768px) {

  .kindergarten-and-nursery__table--tuition-fee tr:first-child th:nth-child(3),
  .kindergarten-and-nursery__table--tuition-fee tr:nth-child(2) th:nth-child(n+3):nth-child(-n+4),
  .kindergarten-and-nursery__table--tuition-fee tr:nth-child(n+3):nth-child(-n+6) td:nth-child(n+4):nth-child(-n+6) {
    display: none;
  }

  .kindergarten-and-nursery__table--tuition-fee.max768 {
    display: block;
  }
}

@media (max-width: 500px) {
  .classes__grid.is-layout-grid {
    grid-template-columns: 1fr;
  }

  .classes__grid.is-layout-grid img {
    width: 100%;
  }

  .kindergarten-and-nursery__table--tuition-fee {
    font-size: 16px;
  }

  .kindergarten-and-nursery__table--tuition-fee tr th:nth-child(1) {
    font-size: 1rem;
  }

  .kindergarten-and-nursery__table--tuition-fee tr:first-child th:nth-child(n+2):nth-child(-n+3) {
    font-size: 1rem;
  }

  .kindergarten-and-nursery__table--tuition-fee tr:nth-child(2) th:nth-child(n+1):nth-child(-n+4) {
    font-size: 16px;
  }
}

/* --------学費・奨学金 END-------- */

/* --------役員紹介 -------- */
/* --------役員紹介 END-------- */

/* --------情報公開 （2つ共通）-------- */
details.open-info__details>summary {
  list-style: none;
  padding-left: 1.5rem;
  position: relative;
}

details.open-info__details>summary::-webkit-details-marker {
  display: none;
}

details.open-info__details>summary::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  transform: translateY(-50%);

  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid #4baa22;
}

details.open-info__details[open]>summary::before {
  top: 18px;

  border-top: 10px solid #4baa22;
  border-right: 6px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 6px solid transparent;
}

.open-info__link {
  padding-left: 1.5rem;
  position: relative;
}

.open-info__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  transform: translateY(-50%);

  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid #4baa22;
}

@media (max-width: 768px) {
  details.open-info__details.max768-top-12 > summary::before {
    top: 12px;
  }

  details.open-info__details[open].max768-top-15--open>summary::before {
    top: 15px;
  }

  .open-info__link.max768-top-12::before {
    top: 12px;
  }
}

/* --------情報公開 （2つ共通） END-------- */

/* --------授業風景 -------- */
.classes__button-wrapper {
  gap: 8px;
}

.classes__button {
  flex: 1;
}

/* --------授業風景 END-------- */

/* --------教員紹介------- */
.teachers-grid {
  align-items: flex-start;
  row-gap: var(--space-xl);
  column-gap: var(--space-sm);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.teachers-media-text {
  grid-template-columns: 100%;
  flex: 1;
}
.teachers-media-text img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.teachers-media-text .wp-block-media-text__content{
  grid-column: 1;
  grid-row: 2;
  text-align: center;
  padding: 0;

  display: flex;
  flex-direction: column;
}
.teachers-media-text span.name {
  margin-left: .3em;
}
.teachers-media-text span.honorific {
  font-size: 18px;
  margin-left: .7em;
}
@media (max-width: 768px) {
  .teachers-media-text span.honorific {
    font-size: var(--max768-font-lg);
  }
}
@media (max-width: 580px) {
  div.teachers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 400px) {
  /* div.teachers-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  } */
  .teachers-media-text .school-sublect {
    font-size: 13px;
  }
}
/* --------教員紹介 END-------- */

/* --------教育・保育実習 -------- */
.education__button-wrapper {
  gap: 8px;
}

.education__button {
  flex: 1;
}

/* --------教育・保育実習 END-------- */

/* --------竹早学園 -------- */
/* div.school__chairman-greeting {
  margin-left: 50px
} */

@media (max-width: 550px) {
  .school__person-name {
    font-size: 22px;
  }
}

.school__table {
  border: 9px double #1e4345;
  background-color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(31, 68, 70, 0.15);
  font-size: 20px;
  /* overflow-x: auto; */
}

/* .school__table table {
  min-width: 680px;
} */

.school__table thead {
  border-bottom: none;
}

.school__table thead th {
  background-color: #1f4446;
  color: #ffffff;
  font-size: 24px;
  border: none;
}

.school__table thead th:first-child {
  border-right: 1px solid;
}

.school__table td:first-child,
.school__table th:first-child {
  width: 36%;
}

.school__table tbody th {
  font-weight: normal;
}

.school__button-wrapper {
  display: flex;
  gap: 15px;
}

.school__button {
  flex: 1 1 250px;
  max-width: 300px;
}

/* --------竹早学園 END-------- */

/* --------3つのポリシー -------- */
H2.wp-block-heading.has-disc {
  position: relative;
  padding-left: 1.5rem;
}

H2.wp-block-heading.has-disc::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);

  width: 16px;
  height: 16px;
  background-color: #599de1;
  border-radius: 50%;
}

/* --------3つのポリシー END-------- */

/* --------全国幼稚園教員養成機関連合会加盟校一覧 -------- */
.school-list-grid>div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.school-list li {
  margin-top: 8px;
}

/* --------全国幼稚園教員養成機関連合会加盟校一覧 END-------- */

/* --------同窓会 -------- */
@media (max-width: 768px) {
  .school__table.alumni th {
    font-size: 18px;
  }

  .school__table.alumni tr {
    font-size: 14px;
  }
}

/* --------同窓会 END-------- */

@media (min-width: 768px) {
  .sp-padding {
    padding: 10px 20px;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .school__table {
    font-size: 16px;
  }

  .school__table thead th {
    font-size: 20px;
  }

  .nursery-course__table--tuition-fee tr:first-child th:nth-child(3),
  .nursery-course__table--tuition-fee tr:nth-child(2) th:nth-child(n+3):nth-child(-n+4),
  .nursery-course__table--tuition-fee tr:nth-child(n+3):nth-child(-n+6) td:nth-child(n+4):nth-child(-n+6) {
    display: none;
  }

  .nursery-course__table--tuition-fee.max768 {
    display: block;
  }
}

@media (min-width: 601px) {
  /* .introduction__article.wp-block-media-text>.wp-block-media-text__content {
    padding: 15px 8%;
  } */

  .introduction__article:nth-of-type(odd)>.wp-block-media-text__content {
    padding: 15px 8%;
    padding-left: 0;
  }

  .introduction__article:nth-of-type(even)>.wp-block-media-text__content {
    padding: 15px 8%;
    padding-right: 0;
  }

  .info-session__article:nth-of-type(odd)>.wp-block-media-text__content {
    padding: 15px 8%;
    padding-right: 0;
  }

  .info-session__article:nth-of-type(even)>.wp-block-media-text__content {
    padding: 15px 8%;
    padding-left: 0;
  }

  .kindergarten-and-nursery__media-text.wp-block-media-text>.wp-block-media-text__content {
    padding: 0 8%
  }

  /* .club__article.wp-block-media-text>.wp-block-media-text__content {
    padding: 15px 8%;
  } */
  .club__article:nth-of-type(odd)>.wp-block-media-text__content {
    padding: 15px 8%;
    padding-right: 0;
  }

  .club__article:nth-of-type(even)>.wp-block-media-text__content {
    padding: 15px 8%;
    padding-left: 0;
  }
}

@media (max-width: 600px) {
  /* .introduction__article.wp-block-media-text {
    margin-top: 70px;
  } */

  .introduction__article.wp-block-media-text.first-article {
    /* margin-top: 20px; */
    margin-top: var(--space-md);
  }

  /* .info-session__article.wp-block-media-text {
    margin-top: 80px;
  } */
  .info-session__article.wp-block-media-text {
    margin-top: var(--space-md);
  }

  .club__article.wp-block-media-text {
    margin-top: var(--space-md);
  }
}


@media (max-width: 781px) {
  .greeting__school-building .greeting__school-building-img img {
    margin-left: auto;
    margin-right: auto;
  }

  .greeting__school-building div:nth-of-type(n+2) img {
    margin-top: 30px;
  }
}

@media (max-width: 730px) {

  .accessmap__direction-from-Korakuen--description,
  .accessmap__direction-from-Myougadani--description {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: var(--space-md);
  }

  .accessmap__img--Korakuen,
  .accessmap__img--Myougadani {
    margin-top: 20px;
  }
}

@media (max-width: 700px) {
  .nursery-course__exemption-wrap>.wp-block-group__inner-container {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    flex-wrap: nowrap;
    height: auto;
    background-color: #fffdff;
    margin: 2em;
    box-shadow: 3px 5px 13px -5px #888;
    text-align: center;

    border: none;
  }

  .nursery-course__exemption-arrow {
    width: 30px;
    height: 40px;
    background-color: #ff4444;
    position: relative;
    margin: 15px auto 35px;
  }

  .nursery-course__exemption-arrow::after {
    content: "";
    position: absolute;
    border-left: 40px solid transparent;
    border-top: 30px solid #ff4444;
    border-right: 40px solid transparent;
    height: 27px;
    right: -25px;
    width: 0px;
    top: 28px;
  }

  .nursery-course__exemption-wrap p.red-border {
    margin-left: 0;
  }
}

@media (max-width: 670px) {
  .executive-directors__table tr:nth-child(1) td:nth-child(1) {
    width: 15%;
  }

  .executive-directors__table tr:nth-child(7) td:nth-child(1) {
    width: 15%;
  }

  .executive-directors__table th,
  .executive-directors__table tr {
    font-size: 18px;
  }

  .executive-directors__table tr td:last-child {
    width: 53%;
  }
}

@media (max-width: 600px) {
  .row-list>div {
    /* sp版では縦並びにする */
    flex-direction: column;
  }

  .max600-mt-0 {
    margin-top: 0;
  }
}

@media (max-width: 600px) {
  .education__button-wrapper {
    flex-direction: column;
  }

  .education__button-wrapper>.education__button {
    width: 100%;
  }
}

@media (max-width: 580px) {
  .yeardo__button-wrapper {
    flex-direction: column;
  }

  .yeardo__button-wrapper>.yeardo__button {
    width: 100%;
  }
}

@media (max-width: 500px) {
  .classes__grid.is-layout-grid {
    grid-template-columns: 1fr;
  }

  .classes__grid.is-layout-grid img {
    width: 100%;
  }

  .nursery-course__table--tuition-fee {
    font-size: 1.05rem;
  }

  .nursery-course__table--tuition-fee tr th:nth-child(1) {
    font-size: 1rem;
  }

  .nursery-course__table--tuition-fee tr:last-child > th {
    font-size: 1.1rem;
  }

  .nursery-course__table--tuition-fee tr:first-child th:nth-child(n+2):nth-child(-n+3) {
    font-size: 1rem;
  }

  .nursery-course__table--tuition-fee tr:nth-child(2) th:nth-child(n+1):nth-child(-n+4) {
    font-size: 1rem;
  }

  .executive-directors__table th,
  .executive-directors__table tr {
    font-size: 14px;
  }
}

@media (max-width: 450px) {
  .exam-info__table1 {
    font-size: 14.3px;
  }

  .exam-info__table1 tr:nth-child(1) th {
    padding: 5px 0;
  }

}

@media (hover: hover) and (pointer: fine) {
  .opacity-hover:hover {
    opacity: 0.7;
  }
  .opacity.img-link img:hover {
    opacity: 0.7;
  }

  .open-info__link:hover {
    color: #4baa22;
  }

  details.open-info__details a:hover,
  .school-list a:hover,
  .hover--green a:hover,
  .reunion__link--hover-green:hover {
    color: #4baa22;
  }

  .scholarship__ul>li>a:hover,
  .student-loan__ul>li>a:hover {
    opacity: 0.7;
  }

  .scholarship__link:hover,
  .student-loan__link:hover {
    opacity: 0.7;
  }
}

.profile-card {
  border: 4px solid #eee;
  border-radius: 60px;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
}

.profile-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  height: 300px;
}

.summary {
  font-weight: bold;
  border-left: 7px solid #17953c;
  padding-left: 0.5rem;
  margin: 1rem 0px;
  color: #0073aa;
}

.comment-body.is-collapsed {
  max-height: 60px;
  overflow: hidden;
  position: relative;
}

/* グラデーションで「続き感」 */
.comment-body.is-collapsed::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(to bottom, transparent, #fff);
}

/* 展開時 */
.comment-body.is-open {
  max-height: none;
}

.comment-body.is-open::after {
  display: none;
}

.toggle-btn a {
  font-weight: bold;
  color: #0073aa;
  background-color: transparent;
  font-size: 0.8rem;
}

.toggle-btn a::after {
  content: "▼";
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.3s ease;
}

/* 開いたとき（上向き） */
.comment-body.is-open+.wp-block-buttons .toggle-btn a::after {
  transform: rotate(180deg);
}

.dot-bg {
  position: relative;
  display: inline-block;
  border-radius: 60px;
  padding: 0.5rem;
  background: linear-gradient(144deg, rgb(255 255 255) 50%, #ffffae);
}

/* ドット① */
.dot-bg::before {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  background-image: radial-gradient(#ccc 2px, transparent 2px);
  background-size: 10px 10px;
  top: -10px;
  left: -10px;
  z-index: 0;
}

/* ドット② */
.dot-bg::after {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  background-image: radial-gradient(#ddd 2px, transparent 2px);
  background-size: 12px 12px;
  bottom: -10px;
  right: -10px;
  z-index: 0;
}

.dot-bg::before {
  content: "";
  position: absolute;
  width: 99px;
  height: 81px;
  background-image: radial-gradient(#4689ff 2px, transparent 2px);
  top: -31px;
  left: -32px;
  z-index: 0;
  transform: rotate3d(14, 0, 7, 145deg);
}

.dot-bg::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 74px;
  background-image: radial-gradient(#D5ADFF 2px, transparent 3px);
  background-size: 12px 12px;
  bottom: -17px;
  right: -13px;
  z-index: 0;
  transform: rotate(64deg);
  filter: blur(0.7px);
  border-radius: 43%;
}

/* 画像を前面に */
.dot-bg img {
  position: relative;
  z-index: 1;
  display: block;
}

.wp-block-columns.same-gap {
  gap: 16px;
  --wp--style--block-gap: 16px;
}

.wp-block-columns.same-gap .wp-block-column>* {
  margin-top: 0;
  margin-bottom: 0;
}

.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
  flex-basis: 0;
  flex-grow: 1;
  margin-bottom: 0;
}

.wp-block-columns {
  gap: 16px;
  --wp--style--block-gap: 16px;
  margin: 0;
}

/* メイン見出しスタイル */
.decorative-heading {
  position: relative;
  text-align: center;
  padding: 20px 0;
  margin: 40px 0;
}

.decorative-heading h2 {
  font-size: 2.5rem;
  font-weight: 900;
  color: #2d2d2d;
  letter-spacing: 0.1em;
  position: relative;
  display: inline-block;
  z-index: 2;
}

/* 点線のライン */
.decorative-heading::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  height: 2px;
  background-image: repeating-linear-gradient(to right,
      #a855a0 0px,
      #a855a0 8px,
      transparent 8px,
      transparent 16px);
  z-index: 1;
}

/* 左側の丸い装飾 */
.decorative-heading::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 150px;
  height: 80px;
  z-index: 0;
}

.circle-decoration-left {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  gap: 8px;
  z-index: 1;
}

.circle-decoration-left .circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.circle-decoration-left .circle:nth-child(1) {
  background: #0ea5e9;
  width: 35px;
  height: 35px;
}

.circle-decoration-left .circle:nth-child(2) {
  background: #6366f1;
  width: 40px;
  height: 40px;
  margin-top: -5px;
}

.circle-decoration-left .circle:nth-child(3) {
  background: #a855f7;
  width: 32px;
  height: 32px;
  margin-top: 2px;
}

/* 右側の丸い装飾 */
.circle-decoration-right {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 8px;
  z-index: 1;
}

.circle-decoration-right .circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.circle-decoration-right .circle:nth-child(1) {
  background: #ec4899;
  width: 38px;
  height: 38px;
  margin-top: -3px;
}

.circle-decoration-right .circle:nth-child(2) {
  background: #f43f5e;
  width: 35px;
  height: 35px;
}

/* バリエーション */
.heading-variant-2 {
  background: linear-gradient(to right,
      rgba(219, 234, 254, 0.3) 0%,
      rgba(252, 231, 243, 0.3) 50%,
      rgba(254, 243, 199, 0.3) 100%);
  border-radius: 20px;
  padding: 30px 20px;
}

.heading-variant-2 .decorative-heading::after {
  background-image: repeating-linear-gradient(to right,
      #17953C 0px,
      #17953C 8px,
      transparent 8px,
      transparent 16px);
}

.heading-variant-2 h2 {
  color: #17953C;
}

.heading-variant-2 .circle-decoration-left .circle:nth-child(1) {
  background: #fbbf24;
}

.heading-variant-2 .circle-decoration-left .circle:nth-child(2) {
  background: #f59e0b;
}

.heading-variant-2 .circle-decoration-left .circle:nth-child(3) {
  background: #ec4899;
}

.heading-variant-2 .circle-decoration-right .circle:nth-child(1) {
  background: #8b5cf6;
}

.heading-variant-2 .circle-decoration-right .circle:nth-child(2) {
  background: #a855f7;
}

/* デモ用のスペーシング */
.demo-section {
  margin: 60px 0;
  padding: 40px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.demo-label {
  display: inline-block;
  background: #17953C;
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  font-weight: 700;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .decorative-heading h2 {
    font-size: 1.8rem;
  }

  .circle-decoration-left,
  .circle-decoration-right {
    display: none;
  }

  .subpage-hero {
    padding: 1rem 0 3rem !important;
  }

  /* .subpage-hero img {
    height: 220px;
  } */

  /* .subpage-title {
    margin-top: 3rem;
  } */

  #home {
    height: 270px;
    min-height: unset;
  }

  .mid-area {
    padding: 0 !important;
    position: absolute !important;
    bottom: 3%;
    transform: scale(0.9);
  }

  #setumeikai630 {
    margin: 0.5rem auto 1.5rem;
    /* width: 98%; */
    height: auto;

    /* 追加部分 */
    grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
    margin-top: var(--space-lg);

    /* display: flex;
    flex-direction: row;
    justify-content: space-between; */
    background-image: none;
    background-repeat: no-repeat;
    background-size: contain;
    /* flex-wrap: wrap; */
  }

  .nittei-box {
    /* width: 48%; */
    border-radius: 0.6rem;
    /* margin: 5px 0; */
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background-color: #ffffff;
    box-shadow: 3px 2px 4px 0px #d28938;
  }

  .nittei-title {
    width: 100%;
    align-items: center;
    height: 70px;
    position: relative;
  }

  .nittei-title img {
    position: absolute;
    width: 88px;
    left: 0;
    transform: rotate(-8deg);
  }

  .calendar-title {
    font-size: 1.8rem !important;
    margin-left: 1rem;
  }

  .blank {
    background-color: transparent;
    box-shadow: none;
  }

  .image-space {
    width: 100%;
    overflow: hidden;
    height: auto;
  }

  .image-space img {
    width: 100%;
  }

  .hojo {
    width: 100%;
    height: 144px;
  }

  .settime {
    font-size: 25px !important;
    margin-top: 4px;
  }

  .sc-text,
  .sc-button {
    width: 100%;
    text-align: center;
  }

  .sc-text {
    font-size: 1.5rem;
  }

  .nittei-y {
    margin: 0.4rem 0 0.2rem;
    font-size: 0.9rem;
  }

  .nittei-m {
    font-size: clamp(21px, 6vw, 30px);
    width: 100%;
    /* text-align: right; */
    /* margin: -0.6rem; */
    margin-right: 13%;
    background-color: #eeffe1;
    background-color: #f6fbf9;
  }

  .nittei-t {
    font-size: 1rem;
  }

  .youbi {
    color: white;
    font-size: 1.2rem;
    border-radius: 70px;
    display: inline-block;
    margin: 0px 1rem 0px 13px;
    padding: 5px 4px 4px;
    line-height: 0.9;
    font-weight: bold;
    background-color: red;
    vertical-align: middle;
  }

  .yaji {
    font-size: 0.8rem;
    color: white;
    border-radius: 21px;
    display: inline-block;
    margin: 0 auto;
    padding: 7px 4px 4px;
    line-height: 0.8;
    font-weight: bold;
    background-color: #2bf285;
    vertical-align: middle;
  }

  .doyou {
    background-color: #7878ff;
  }

  .heijitsu {
    background-color: #6baf9e;
  }

  .shukujitsu {
    background-color: orange;
  }

  .date-space {
    /* margin-left: 0.9rem;
    margin-right: 0.8rem; */
    margin-left: 5%;
    margin-right: 4.44%;
    font-size: inherit;
  }

  .hojo-title {
    color: #d05268;
    width: 100%;
    font-size: 25px !important;
    margin: 0.7rem 0.3rem 0;
  }

  .hojo-title::before {
    content: "●";
    margin: 0.2rem;
  }

  .hojo-content {
    width: 100%;
    margin: 0 2.3rem;
  }

  .hojo-attention {
    width: 100%;
    margin: 0 0 0 2.3rem;
    font-size: 0.8em !important;
  }

  .wp-block-media-text>.wp-block-media-text__content {
    padding: 0;
    word-break: break-word;
  }
}
@media (max-width: 550px) {
  #setumeikai630 {
    grid-template-columns: repeat(auto-fit, minmax(105px, 1fr));
  }

  .nittei-box:not(.nittei-title) {
    align-items: flex-start;
    height: auto;
  }

  .nittei-y {
    margin: 0.2rem 0 0.4rem;
    line-height: 1;
    font-size: .8rem;
  }

  .nittei-m {
    font-size: clamp(21px, calc(21px + 9 * ((100vw - 375px) / 393)), 30px);
    margin: 0 7% 0 0;
  }

  .youbi {
    margin: 0 0 0 9px;
  }

  .nittei-t {
    margin: 0.4rem 0 0.2rem;
    line-height: 1;
    font-size: 14px;
  }
}

.wp-block-button__link {
  color: #fff;
  background-color: #31a1c2;
  border-radius: 0.5rem;
  box-shadow: none;
  text-decoration: none;
  padding: 0.5rem 2rem;
  font-size: 1rem;
}

.subpage-title {
  text-shadow: 3px 2px 2px #fff;
}

H2.wp-block-heading {
  font-size: clamp(25px, 4vw, 30px);
  /* font-size: clamp(25px, 4vw, 30px) !important; */
  /* background-image: linear-gradient(90deg, #ede2ff 17% 16%, #edecdd 31% 35%, #e3eef9 50% 75%, transparent 92%);
  background-repeat: no-repeat;
  background-size: 100% 0.3rem;
  background-position: bottom; */
}

.heading-sub {
  font-size: clamp(14px, 2vw, 21px) !important;
  color: #0b36b4;
}

.wp-block-spacer {
  height: 3rem !important;
}

.menjo_card {
  box-sizing: border-box;
  height: auto;
  max-width: 100%;
  vertical-align: bottom;
  margin: 1rem 2rem 0px;
  transform: rotate(3deg);
}

/* .kindergarten-and-nursery__timetable {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}


.kindergarten-and-nursery__timetable table {
  min-width: 720px; 
  border-collapse: collapse;
}

.kindergarten-and-nursery__timetable {
  position: relative;
}

.kindergarten-and-nursery__timetable::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 24px;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(to left, #fff, transparent);
}

.kindergarten-and-nursery__timetable th {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
}

.kindergarten-and-nursery__timetable td:first-child,
.kindergarten-and-nursery__timetable th:first-child {
  position: sticky;
  left: 0;
  background: #fff;
  z-index: 3;
} */

#sp-bottom-menu {
  display: none;
}

[id^="chartJSCanvas"] {
  /* ここに適用したいスタイルを記述 */
  /* 例: */
  width: 100% !important;
}

#chartJSContainer_11 {
  height: 144px !important;
  position: relative !important;
  overflow: hidden !important;
}

#chartJSCanvas_11 {
  height: 144px !important;
  position: absolute;
  top: -41%;
}

/* h3.feature-title {
    background-image: repeating-linear-gradient(-45deg,
        #21ff00 0, #21ff00 3px,
        transparent 3px, transparent 6px);
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 100% 50%;
} */
h3.feature-title {
  background-image: repeating-linear-gradient(135deg, #baffaf 0, #ffffff 5px, transparent 8px, transparent 8px);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100% 43%;
}

.sp-only {
  display: none;
}

/* footer ul {
  padding-inline-start: 1rem;
} */

.head-nav-btn a {
  /* background-image: url(https://www.takehaya.ac.jp/wordpress/wp-content/uploads/2026/06/colorbtn-g.png); */
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  padding: 1rem 0;
  color: #2e1a1a;
}

/* .head-nav-btn a.nav-access {
  background-image: url(https://www.takehaya.ac.jp/wordpress/wp-content/uploads/2026/06/colorbtn-p.png);
}

.head-nav-btn a.nav-nyusi {
  background-image: url(https://www.takehaya.ac.jp/wordpress/wp-content/uploads/2026/06/colorbtn-b.png);
}

.head-nav-btn a.nav-ka {
  background-image: url(https://www.takehaya.ac.jp/wordpress/wp-content/uploads/2026/06/colorbtn-y.png);
} */

.head-nav-btn a.nav-se {
  color: #000000;
  /* background-image: url(https://www.takehaya.ac.jp/wordpress/wp-content/uploads/2026/06/colorbtn-r.png); */
}

/* 6/18 追加分 */
nav.head-nav-btn:not(#mobile-menu) {
  gap: 1rem;
}

@media (max-width: 1023px) {
  nav.head-nav-btn:not(#mobile-menu) {
    gap: .5rem;
  }

  nav.head-nav-btn:not(#mobile-menu) a {
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0%;
    width: 75px;
  }
}

/* 6/18 追加分 END */


@media (max-width: 768px) {

  /* .kindergarten-and-nursery__timetable table {
    font-size: 12px;
  }

  .kindergarten-and-nursery__timetable th,
  .kindergarten-and-nursery__timetable td {
    padding: 6px 8px;
    white-space: nowrap;
  } */

  #sp-bottom-menu {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
    position: fixed;
    bottom: 0px;
    width: 100%;
    z-index: 990;
    max-width: 640px;
    margin: auto;
  }

  #bottom-menu {
    width: 100%;
    text-align: center;
    /* background-color: rgba(255, 242, 180, 0.9); */
    background-color: transparent;
    background-color: #fff;
    border-collapse: collapse;
    box-shadow: 0px 1px 5px 0px #aaa;
    color: #333;
  }
  #bottom-menu tr td:nth-of-type(1) {
    background-color: rgba(251, 140, 153, 0.9);
    color: #222;
  }
  #bottom-menu tr td:nth-of-type(2) {
    background-color: rgba(125, 191, 232, 0.9);
    color: #222;
  }
  #bottom-menu tr td:nth-of-type(3) {
    background-color: rgba(104, 211, 165, 0.9); 
    color: #222;
  }
  #bottom-menu tr td:nth-of-type(4) {
    background-color: rgba(249, 236, 174, 0.9);
    color: #222;
  }

  #bottom-menu td {
    padding: 0;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: bottom;
    height: 70px;
    border: 1px solid #dadada;
    width: 25%;
  }

  #bottom-menu a {
    display: inline;
    width: 100%;
    height: 100%;
  }

  #bottom-menu img {
    display: block;
    margin: 5px auto;
    height: 43px;
  }

  .kindergarten-and-nursery__wrapper--my-style::before {
    /* left: 51.3%; */
    left: calc(92.65vw * 0.68 - 62px);
  }

  .kindergarten-and-nursery__wrapper--my-style::after {
    /* left: 51%; */
    left: calc(92.65vw * 0.68 - 64px);
  }

  .sp-only {
    display: block;
  }

  .pc-only {
    display: none;
  }

  .shocho {
    width: 50%;
    margin: auto !important;
  }

  .news-summary-wrapper {
    display: none;
  }

  .news-summary-wrapper.is-open {
    display: block;
    font-size: 0.92rem;
    margin-top: 0.5rem;
  }

  .news-card.is-open {
    flex-wrap: wrap;
  }

  .news-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #17953C;
    border-radius: 9999px;
    color: #fff;
    background: #17953C;
    padding: 0.3rem 0.75rem;
    font-size: 0.875rem;
    line-height: 1.2;
    white-space: nowrap;
  }

  .date-tag {
    flex-direction: row !important;
    margin: 0 !important;
    justify-content: space-between;
  }
}

/* 6/18 固定ページのhero部分追加 */
.subpage-hero {
  /* height: 18rem; */
  width: 100%;
  height: 40vw;
}

.subpage-hero__img-container img {
  /* height: 18rem; */
  width: 100%;
  height: 40vw;
}

.subpage-hero__wave {
  bottom: -3px;
}

.subpage-hero__bredcrambs-and-title-container nav {
  position: absolute;
  z-index: 1;
  /* top: calc(14rem + 1rem); */
  top: calc(40vw - 4rem + 0.2rem);
}

.subpage-hero__bredcrambs-and-title-container .title-wrapper {
  text-align: left;
}

.subpage-hero__bredcrambs-and-title-container h1 {
  position: relative;
  display: inline-block;
  z-index: 1;
  /* top: -2rem; */
  top: calc(40vw - 4rem - 14vw);
}

.subpage-hero__bredcrambs-and-title-container h1::before {
  content: "";
  position: absolute;

  /* inset: -1rem -2rem; */
  inset: -0.1rem -1.1rem;

  border-radius: 2rem;
  background: rgba(255, 255, 255, .91);
  /* filter: blur(8px); */

  z-index: -1;
  pointer-events: none;
}

/* @media (min-width: 1441px) {
  .subpage-hero {
    height: 40vw;
  }
  .subpage-hero__img-container img {
    height: 40vw;
  }
} */
@media (max-width: 1024px) {
  /* .subpage-hero__bredcrambs-and-title-container nav {
    top: 14.3rem;
  } */
}

@media (max-width: 768px) {
  .subpage-hero {
    /* height: 220px; */
    height: 40vw;
  }

  .subpage-hero__img-container img {
    /* height: 220px; */
    height: 40vw;
  }

  /* .subpage-hero__wave {
    top: calc(223px - (100vw / 12));
  } */

  .subpage-hero__bredcrambs-and-title-container nav {
    /* top: calc(12.75rem + 1rem); */
    /* top: 13.2rem; */
    top: calc(40vw - 1rem + 0.3rem);
    gap: .2rem
  }

  .subpage-hero__bredcrambs-and-title-container h1 {
    /* top: -2.4rem; */
    /* top: 0rem; */
    top: calc(40vw - 4rem - 16vw);
  }

  .subpage-hero__bredcrambs-and-title-container h1 {
    font-size: clamp(18px, calc(5.6px + 2.9vw), 28px);
  }

  .subpage-hero__bredcrambs-and-title-container h1::before {
    inset: 0rem -0.5rem;
  }


}

/* 6/18 固定ページのhero部分追加 END */
/* 6/25 固定ページのhero部分追加 */
.subpage-hero__breadcrumbs-wrapper nav {
  position: absolute;
  z-index: 1;
  /* top: calc(14rem + 1rem); */
  bottom: calc(-25px - 1.5rem);
  ;
}

div.subpage-hero__title-wrapper {
  text-align: left;
}

.subpage-hero__title-wrapper h1 {
  position: absolute;
  display: inline-block;
  z-index: 1;
  /* top: -2rem; */
  bottom: 10vw;
}

.subpage-hero__title-wrapper.no-thumbnail h1 {
  bottom: calc(50% + (100vw / 100));
  /*wave部分の半分の高さ上げる*/
  transform: translateY(50%);
}

.subpage-hero__title-wrapper h1::before {
  content: "";
  position: absolute;

  /* inset: -1rem -2rem; */
  inset: -0.1rem -1.1rem;

  border-radius: 2rem;
  background: rgba(255, 255, 255, .91);
  /* filter: blur(8px); */

  z-index: -1;
  pointer-events: none;
}

.subpage-hero__title-wrapper.no-thumbnail h1::before {
  background: transparent;
}

@media (max-width: 768px) {
  section.subpage-hero--no-thumbnail {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .subpage-hero__title-wrapper h1 {
    /* top: -2.4rem; */
    /* top: 0rem; */
    bottom: 8vw;
  }

  .subpage-hero__title-wrapper.no-thumbnail h1 {
    top: 5px;
    transform: translateY(0%);
  }

  .subpage-hero__title-wrapper h1 {
    font-size: clamp(18px, calc(5.6px + 2.9vw), 28px);
  }

  .subpage-hero__title-wrapper h1::before {
    inset: 0rem -0.5rem;
  }

  .subpage-hero__breadcrumbs-wrapper nav {
    /* top: calc(12.75rem + 1rem); */
    /* top: 13.2rem; */
    bottom: calc(-25px - 1.5rem);
    ;
    gap: .2rem
  }
}

/* 6/25 固定ページのhero部分追加 END */

#banner-slider {
  width: 100%;
  overflow: hidden;
  margin: 2rem auto 0;
}

#banner-slider .splide__slide {
  padding: 0 10px;
}

#banner-slider img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

#banner-slider .splide__track {
  overflow: visible;
}

.sub-icon {
  position: absolute;
  top: 3%;
  right: 4%;
  width: 7%;
}

#banner-slider .splide__slide {
  width: 34%;
}

footer .content-area {
  margin-bottom: 2rem;
}

#front-page {
  background-image: url(https://www.takehaya.ac.jp/wordpress/wp-content/uploads/2026/07/bg-3.png);
  background-repeat: repeat;
  background-size: auto 430px;
}

#news {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0, rgba(255, 255, 255, 1) 0.1rem, rgba(255, 255, 255, 0) 100%);
    padding-top: 0.5rem;
}

@media (max-width: 768px) {
  #banner-slider .splide__slide {
    width: 75%;
  }
}

@media (max-width: 767px) {
  div.max767-flex-row {
    flex-direction: row;
  }

  .max767-display-none {
    display: none;
  }

  .news-title {
    /* padding-left: 13px; */
    font-size:0.92rem;
  }
  .news-date-area {
    font-size: 0.8rem !important;
    padding-right: 0.4rem;
  } 
}

#sp-bottom-menu > #instagram-link {
  width: 46px;
  bottom: 10.5rem;
  background: transparent;
  position:fixed;
  z-index: 998;
  right: 1.57rem;
}

/* single.php変更 0714から */
.single-hero {
  height: 40vw;
}

.single-hero__breadcrumbs nav {
  /* position: absolute;
  z-index: 1; */
  /* bottom: calc(-25px - 1.5rem); */
  /* top: 100%; */
  margin-bottom: 0px;
  transform: translateY(8px);
}

/* .single-hero__title {
  
}
.single-hero__title.no-thumbnail {
  
} */

.single-hero__title h1 {
  position: absolute;
  display: inline-block;
  z-index: 1;

  /* font-size: 2.25rem; */
  margin-left: 1.1rem;

  width: fit-content;
  text-align: left;
  z-index: 2;
  bottom: 10vw;
}

/* .single-hero__title h1 {
  position: relative;
} */
.single-hero__title.no-thumbnail h1 {
  margin-left: 0px;

  bottom: 50%;
  transform: translateY(50%);
}

.single-hero__title h1::before {
  content: "";
  position: absolute;

  inset: -0.1rem -1.1rem;
  border-radius: 2rem;
  background: rgba(255, 255, 255, .91);

  z-index: -1;
  pointer-events: none;
}
.single-hero__title.no-thumbnail h1::before {
  background: transparent;
}

.tag-info {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.tag-info time {
  padding-top: 1px;
}

@media (max-width: 768px) {
  section.single-hero--no-thumbnail {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .single-hero__breadcrumbs nav {
    /* bottom: calc(-25px - 1.5rem); */
    gap: .2rem;
  }

  /* .single-hero__title {
    
  }
  .single-hero__title.no-thumbnail {
    
  } */

  .single-hero__title h1 {
    font-size:  clamp(25px, calc(25px + 3 * ((100vw - 375px) / 393)), 28px);
    margin-left: .5rem;
    bottom: 8vw;
  }
  .single-hero__title.no-thumbnail h1 {
    transform: translateY(45%);
  }

  .single-hero__title h1::before {
    inset: 0rem -0.5rem;
  }
}
/* single.php変更 0714から END */