@charset "UTF-8";

/* ======================
reset css
========================*/

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 62.5%;
  line-height: 1.7;
}
body {
  background-color: #fff;
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  background-repeat: repeat;
  /* background-attachment: fixed; */
  font-family: var(--font-ja);
}
img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
li {
  list-style: none;
}
a {
  display: block;
  color: #000;
  text-decoration: none;
  transition: all ease .5s;
}
a:hover {
  opacity: .5;
}
p {
  font-size: 1.4rem;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
td,
th {
  padding: 0;
  margin: 0;
}
.sp_only {
  display: block;
}
.pc_only {
  display: none;
}
@media screen and (min-width: 600px) {
  .sp_only {
    display: none;
  }
  .pc_only {
    display: block;
  }
}

/* ======================
root
========================*/
:root {
  --base-color-white: #fff;
  --base-color-black: #000;
  --main-color: #f0c4bb;
  --accent-color: #333;
  --pd-base-sp: 0 16px;
  --pd-base-pc: 0 60px;
  --tablet-max-width: 600px;
  --pc-max-width: 900px;
  --font-ja: "hiragino-kaku-gothic-pron", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", MS PGothic, sans-serif;
  --font-en: "peachy-keen-jf", sans-serif;
}

/* ======================
margin
========================*/
.mt0 {
  margin-top: 0 !important;
}
.mt4 {
  margin-top: 4px !important;
}
.mt8 {
  margin-top: 8px !important;
}
.mt16 {
  margin-top: 16px !important;
}
.mt24 {
  margin-top: 24px !important;
}
.mt32 {
  margin-top: 32px !important;
}
.mt40 {
  margin-top: 40px !important;
}
.mt48 {
  margin-top: 48px !important;
}
.mt60 {
  margin-top: 60px !important;
}
@media screen and (min-width: 1025px) {
  .mt4 {
    margin-top: 8px !important;
  }
  .mt8 {
    margin-top: 16px !important;
  }
  .mt16 {
    margin-top: 32px !important;
  }
  .mt24 {
    margin-top: 48px !important;
  }
  .mt32 {
    margin-top: 64px !important;
  }
  .mt40 {
    margin-top: 80px !important;
  }
  .mt48 {
    margin-top: 96px !important;
  }
  .mt60 {
    margin-top: 120px !important;
  }
}

/* ======================
animations
========================*/
.fade-in-image {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.fade-in-image.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-image-top {
  opacity: 0;
  transition: opacity 0.8s ease;
}
.fade-in-image-top.visible {
  opacity: 1;
}

/* ======================
schoolItem（全体を囲んでいる）
========================*/
.schoolItem {
  margin: 0 auto;
}

/* ======================
schoolItemHeader
========================*/
.schoolItemHeader {
  width: 100%;
}
.logo {
  width: 26%;
  margin: 0 auto;
  max-width: 140px;
  margin: 24px auto;
}

/* ======================
breadcrumbs
========================*/
.breadcrumbs {
  background-color: #e9ebf3;
  padding: 8px 0;
}
.breadcrumbs ul {
  display: flex;
  align-items: center;
  justify-content: start;
  padding: var(--pd-base-sp);
}
.breadcrumbs li {
  font-size: 1.2rem;
  color: var(--accent-color);
  font-weight: bold;
}
.breadcrumbs li:not(:last-of-type) {
  padding-right: 32px;
  position: relative;
}
.breadcrumbs li:not(:last-of-type)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translate(0, -50%) rotate(45deg);
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--accent-color);
  border-right: 1px solid var(--accent-color);
}
.breadcrumbs li a {
  font-size: 1.2rem !important;
}
@media screen and (min-width: 1025px) {
  .breadcrumbs {
    padding: 12px 0;
  }
  .breadcrumbs ul {
    max-width: 1200px;
    margin: 0 auto;
  }
}

/* ======================
schoolitemInner
========================*/
.schoolitemInner {
  margin: 0 auto;
}
@media screen and (min-width: 600px) {
  .schoolitemInner {
    max-width: var(--tablet-max-width);
  }
}
@media screen and (min-width: 1025px) {
  .schoolitemInner {
    max-width: var(--pc-max-width);
  }
}

/* ======================
hero
========================*/
.hero {
  padding: var(--pd-base-sp);
  max-width: 800px;
  margin: 0 auto;
}

/* ======================
item
========================*/
.item {
  width: 100%;
  padding: var(--pd-base-sp);
}
.itemHeadline {
  font-size: 2rem;
  font-family: var(--font-en);
  font-weight: 400;
  text-align: center;
}
.itemList {
  display: grid;
  column-gap: 20px; /* 横gap */
  row-gap: 32px;    /* 縦gap */
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.itemList__detail {
  width: 100%;
}
.itemList__detail p {
  font-size: 1.2rem;
  margin-top: 8px;
  text-align: center;
}
@media screen and (min-width: 1025px) {
  .itemHeadline {
    font-size: 3rem;
  }
  .itemList {
    row-gap: 50px;    /* 縦gap */
    grid-template-columns: repeat(4, 1fr);
  }
  .itemList__detail p {
    margin-top: 8px;
    font-size: 1.4rem;
  }
}

/* ======================
cta
========================*/
.cta {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 12px 20px;
  border: solid 1px var(--accent-color);
  width: 280px;
  margin: 0 auto;
  background-color: #fff;
  transition: all ease .3s;
}
.cta:hover {
  opacity: 1;
  background-color: #000;
}
.cta__text {
  line-height: 1;
  font-size: 1.4rem;
  font-weight: bold;
  text-align: center;
  padding-right: 8px;
  /* margin-top: 2px; */
  transition: all ease .5s;
}
.cta:hover .cta__text {
  color: #fff;
}
.cta__icon {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;   /* 三角形の上辺透明 */
  border-bottom: 6px solid transparent;/* 三角形の下辺透明 */
  border-left: 8px solid #000;       /* 三角形の色（右向きの場合は左ボーダー） */
  transition: all ease .5s;
}
.cta:hover .cta__icon {
  border-left-color: #fff;
}
@media screen and (min-width: 1025px) {
  .cta {
    padding: 28px 12px 24px;
  }
  .cta__text {
    font-size: 1.6rem;
    padding-right: 8px;
  }
  .cta__icon {
    border-top: 8px solid transparent;   /* 三角形の上辺透明 */
    border-bottom: 8px solid transparent;/* 三角形の下辺透明 */
    border-left: 10px solid #000;       /* 三角形の色（右向きの場合は左ボーダー） */
  }
}

/* ======================
to top
========================*/
.toTop {
  width: 12%;
  max-width: 50px;
  margin: 0 auto 64px;
}