@charset "UTF-8";
/* CSS Document */
/* ページ全体の設定 */
body {
  font-family: "a-otf-gothic-mb101-pr6n", sans-serif;
  font-weight: 300;
  font-style: normal;
}
header .container {
  width: 100%;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  webkit-box-align: center;
  ms-flex-align: center;
  align-items: center;
  position: fixed;
  top: 0;
  padding: 4% 5% .9%;
  z-index: 500;
  background: #fff;
}
header h1 {
  width: 130px;
  position: relative;
  margin: 0;
}
header .sns {
  width: 43px;
  height: 35px;
  background: url("../images/Trialadmission2025/Instagram35.png") no-repeat center;
  background-size: contain;
}
header .sns a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}
header #nav-tog {
  position: relative;
  cursor: pointer;
  z-index: 1000;
}
header #nav_tog > div {
  width: 30px;
  height: 16px;
}
header #nav_toggle span {
  /* #nav-toggle close */
}
header #nav_toggle span:nth-child(1) {
  top: 0;
}
header #nav_toggle span:nth-child(2) {
  top: 8px;
}
header #nav_toggle span:nth-child(3) {
  top: 16px;
}
header #nav_toggle p {
  font-size: 1rem;
}
.hero {
  height: 100vh;
  max-height: 570px;
  margin: 0 5%;
  padding: 70px 0 80px;
}
.hero-bg {
  position: relative;
  width: 100%;
  height: 100%;
  background: url("../images/openschool/hero_sr.jpg") no-repeat;
  background-size: cover;
}
.hero-bg .circle {
  display: block;
  position: absolute;
  bottom: -15%;
  right: 4%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 140px;
  height: 140px;
  border-radius: 70px;
  background-color: #fff;
  text-align: center;
}
.hero-bg .circle .container {
  margin-top: -6px;
}
.hero-bg .circle .text {
  margin-top: 1rem;
  line-height: 0.6;
}
.hero-bg .circle .day {
  font-size: 3rem;
  line-height: 0.9;
}
.hero-bg .circle .date {
  margin-top: 0.4em;
  font-size: 1rem;
}
.contents {
  margin-bottom: 50px;
}
.contents h2 {
  margin-block-start: 0.83em;
  margin: 0 auto 18px;
  text-align: center;
  letter-spacing: 0.4rem;
}
.contents p {
  text-align: center;
  font-weight: 500;
}
.detail {
  min-height: 65vh;
  padding: 10% 8%;
  background-color: #a62f03;
  color: #fff;
  /*background: url("../images/Trialadmission2025/background3000.jpg") no-repeat;
  background-size: cover;*/
}
.detail h2 {
  margin-bottom: 10%;
  text-align: center;
}
.detail article {
  margin: 5% 0;
}
.object p {
  text-indent: -1em; /* 1行目だけ1文字分左へずらす */
  padding-left: 1em; /* 段落全体を1文字分右へずらす */
}
.object p::before {
  content: "｜";
  color: #fff;
}
.schedule P {
  padding-left: 1em; /* 段落全体を1文字分右へずらす */
}
.detail btn {
  display: block;
  width: 15rem;
  margin: 10% auto 0 auto;
  padding: 0.5rem;
  background: rgba(254, 254, 254, 1);
  text-align: center;
  border-radius: 8px; /* 角丸 */
}
.detail a {
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  text-decoration: none;
  color: #000;
}
.detail-grid h3 {
  letter-spacing: 1rem;
}
.detail-grid span {
  display: none;
}
.application {
  padding: 5%;
  margin-bottom: 5%;
}
.application h2 {
  margin-bottom: 10%;
  text-align: center;
}
.application_flow p {
  text-indent: -1em; /* 1行目だけ1文字分左へずらす */
  padding-left: 1em; /* 段落全体を1文字分右へずらす */
}
.rounded-btn {
  width: 100%;
  margin-bottom: 1em;
  display: inline-block; /* インライン要素をブロック化して大きさを持たせる */
  background-color: #a62f03; /* 背景色 */
  color: white; /* 文字色 */
  padding: 10px 20px; /* 内側の余白 */
  text-decoration: none; /* 下線を消す */
  border-radius: 8px; /* 角丸 */
}
.rounded-btn-2 {
  width: 100%;
  margin-bottom: 1em;
  display: inline-block; /* インライン要素をブロック化して大きさを持たせる */
  color: #000; /* 文字色 */
  padding: 10px 20px; /* 内側の余白 */
  text-decoration: none; /* 下線を消す */
  border-radius: 8px; /* 角丸 */
  border: solid 1px #a62f03;
}
.rounded-btn:hover {
  background-color: #FB642D; /* 背景色 */
}
.application-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5%;
  place-items: center;
  color: #fff;
}
.application-grid article {
  display: block;
  text-align: center;
  position: relative;
  width: 100%;
  aspect-ratio: 3/2;
  opacity: 1;
  background: #a62f03;
  border-radius: 8px; /* 角丸 */
}
.application-grid article:hover {
  opacity: 0.5s;
}
.application-grid article:hover {
  background-color: #FB642D; /* 背景色 */
}
.application-grid h3 {
  color: #fff;
  font-size: .8rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  padding: 0 1rem;
}
.application-grid a {
  display: block;
  width: 100%;
  height: 100%;
}
footer .container {
  width: 100%;
  background-color: #fff;
}
.copyright {
  text-align: center;
  padding: 20px 0;
}
/**desktop**/
@media(min-width:760px) {
  /**↓タブレット用**/
  header .container {
    padding: 2% 5% 2%;
  }
  .hero {
    height: 100vh;
    max-height: 1080px;
    margin: 0 5%;
    padding: 70px 0 80px;
  }
  .hero-bg {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 2/1;
    background: url("../images/openschool/hero_sr.jpg") no-repeat;
    background-size: cover;
  }
  .hero-bg .circle {
    display: block;
    position: absolute;
    bottom: -10%;
    right: 4%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 200px;
    height: 200px;
    border-radius: 100px;
    background-color: #fff;
    text-align: center;
  }
  .hero-bg .circle .container {
    margin-top: -6px;
  }
  .hero-bg .circle .text {
    margin-top: 1rem;
    line-height: 0.6;
  }
  .hero-bg .circle .day {
    font-size: 3rem;
    line-height: 0.9;
  }
  .hero-bg .circle .date {
    margin-top: 0.4em;
    font-size: 1rem;
  }
  .application-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    place-items: center;
  }
  .application-grid article {
    text-align: center;
    position: relative;
    width: 100%;
    aspect-ratio: 3/2;
  }
  /**↑タブレット用**/
}
@media(min-width:960px) {
  /**↓デスクトップ用**/
  header .container {
    padding: 2% 5% 2%;
    justify-content: space-between;
  }
  .hero {
    height: 100vh;
    max-height: 1080px;
    margin: 0 5%;
    padding: 50px 0 70px;
  }
  .hero-bg {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 2/1;
    background: url("../images/openschool/hero_dr.jpg") no-repeat center center;
    background-size: cover;
  }
  .hero-bg .circle {
    display: block;
    position: absolute;
    bottom: 15%;
    right: 4%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 200px;
    height: 200px;
    border-radius: 100px;
    background-color: #fff;
    text-align: center;
  }
  .hero-bg .circle .container {
    margin-top: -6px;
  }
  .hero-bg .circle .text {
    margin-top: 1rem;
    line-height: 0.6;
  }
  .hero-bg .circle .day {
    font-size: 3rem;
    line-height: 0.9;
  }
  .hero-bg .circle .date {
    margin-top: 0.4em;
    font-size: 1rem;
  }
  .contents h2 {
    margin-block-start: 0.83em;
    margin: 0 auto 18px;
    text-align: center;
    letter-spacing: 0.6rem;
  }
  .detail {
    min-height: 90vh;
    padding: 5% 8% 5%;
  }
  .detail h2 {
    letter-spacing: 1rem;
    margin-bottom: 5%;
    text-align: center;
  }
  .detail h3 {}
  .detail-grid {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10%;
  }
  .detail-grid article {}
  .detail-grid p {
    line-height: 2;
  }
  .detail-grid span {
    display: inline;
    text-indent: 1rem;
  }
  .detail-grid span::before {
    content: " ";
  }
  .detail btn {
    display: block;
    width: 15rem;
    margin: 5% auto 0 auto;
    padding: 0.5rem;
    background: rgba(254, 254, 254, 1);
    text-align: center;
  }
  .schedule div {
    display: flex;
  }
  .schedule time {
    flex: 1;
  }
  .application {
    min-height: 50vh;
    margin-bottom: 0;
  }
  .application h2 {
    margin-bottom: 5%;
    letter-spacing: 1rem;
  }
  .application-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2%;
    place-items: center;
  }
  .application-grid article {
    text-align: center;
    position: relative;
    width: 100%;
    aspect-ratio: 5/2;
  }
  /**↑デスクトップ用**/
}