@charset "utf-8";

/*!
* Copyright 2023 中部大学春日丘高等学校
*/

/*!
* Bootstrap  v5.3.1 (https://getbootstrap.com/)
* Copyright 2011-2023 The Bootstrap Authors
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
/*! modern-normalize v2.0.0 | MIT License | https://github.com/sindresorhus/modern-normalize */


/* ============================================================
# CSS variables
============================================================ */

:root {
  --primary: hsl(358 63% 48%);/*#c92e33*/
  --black: #000;
  --white: #fff;
  --yellow: #fff100;
  --body-font-family: var(--font-family-sans);
  --body-font-size: 1rem;
  --body-font-weight: 400;
  --body-line-height: 1.5;
  --body-color: #222;
  --body-bg: #faf5e5;
  --border-width: 1px;
  --border-style: solid;
  --border-color: #ccc;
  --link-color: hsl(358 63% 48%);
  --link-hover-color: hsl(358 68% 53%);
  --font-family-sans: "Noto Sans JP", sans-serif;
  --font-family-serif: serif;
  --font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}


/* ============================================================
# Reset
============================================================ */

*,
::before,
::after {
  box-sizing: border-box;
}
::selection {
  background: hsl(28 85% 45% / 0.5);
  text-shadow: none;
}
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
}
body {
  background-color: var(--body-bg);
  color: var(--body-color);
  font-family: var(--body-font-family);
  font-size: var(--body-font-size);
  font-weight: var(--body-font-weight);
  line-height: var(--body-line-height);
  margin: 0;
  text-align: left;
}
hr {
  border: 0;
  border-top: 1px solid var(--border-color);
  color: inherit;
  height: 0;
  margin: 1.5rem 0;
}
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 0.5rem;
}
h2, .h2,
h1, .h1 {
  font-size: clamp(1.625rem, 1.375rem + 1.5vw, 2.5rem);
}
h3, .h3 {
  font-size: clamp(1.4375rem, 1.325rem + 0.9vw, 2rem);
}
h4, .h4 {
  font-size: clamp(1.375rem, 1.3rem + 0.6vw, 1.75rem);
}
h5, .h5 {
  font-size: clamp(1.3125rem, 1.275rem + 0.3vw, 1.5rem);
}
h6, .h6 {
  font-size: clamp(1.125rem, 1.1rem + 0.25vw, 1.3125rem);
}
/* h6, .h6 {
  font-size: clamp(1rem, 0.975rem + 0.2vw, 1.125rem);
} */
p {
  font-size: clamp(0.875rem, 0.825rem + 0.25vw, 1rem);
  line-height: 2;
  margin-top: 0;
  margin-bottom: 1.5rem;
}
abbr[title] {
  text-decoration: underline dotted;
}
ol, ul {
  padding-left: 2rem;
}
ol, ul, dl {
  margin-top: 0;
  margin-bottom: 1.5rem;
}
ol ol, ul ul, ol ul, ul ol {
  margin-bottom: 0;
}
dt {
  font-weight: 700;
}
dd {
  margin-bottom: 0.5rem;
  margin-left: 0;
}
li, dt, dd {
  font-size: clamp(0.875rem, 0.825rem + 0.25vw, 1rem);
}
b, strong {
  font-weight: bolder;
}
small, .small {
  font-size: 0.875em;
  font-weight: lighter;
}
mark, .mark {
  background-color: #ff0;
  color: #000;
  padding: 0.2em;
}
sub, sup {
  font-size: 0.75em;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
a {
  color: var(--link-color);
  text-decoration: underline;
}
a:hover {
  color: var(--link-hover-color);
}
a:not([href]):not([class]),
a:not([href]):not([class]):hover {
  color: inherit;
  text-decoration: none;
}
pre, code, kbd, samp {
  font-family: var(--font-monospace);
  font-size: 1em;
}
figure {
  margin: 0 0 1.5rem;
}
img, svg {
  vertical-align: middle;
}
img {
  height: auto;
  max-width: 100%;
}
table {
  border-collapse: collapse;
  border-color: inherit;
  margin-bottom: 1.5rem;
  text-indent: 0;
}
caption {
  caption-side: bottom;
  color: #666;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  text-align: left;
}
thead, tbody, tfoot, tr, td, th {
  border-color: inherit;
  border-style: solid;
  border-width: 0;
}
input, button, select, optgroup, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  margin: 0;
}
button, select {
  text-transform: none;
}
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}
::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
:-moz-focusring {
  outline: 1px dotted ButtonText;
}
:-moz-ui-invalid {
  box-shadow: none;
}
textarea {
  overflow: auto;
  resize: vertical;
}
legend {
  padding: 0;
}
progress {
  vertical-align: baseline;
}
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
summary {
  cursor: pointer;
  display: list-item;
}




/* ============================================================
# Layout
============================================================ */

.container {
  margin-left: auto;
  margin-right: auto;
  width: min(100% - 15px * 2, 1080px);
}

@media not all and (min-width: 768px) {
  .container_full {
    width: min(100%, 1080px);
  }
}



/* ============================================================
# Content
============================================================ */

@media (min-width: 768px) {
  body {
    background-image: url("../img/desktop_header_bg.png");
    background-repeat: repeat-x;
  }
}


/* ## Site header
======================================== */

.mobile_headerTitle {
  background-image: url("../img/mobile_header_bg.png");
}

/* desktop_header-title.svg */
.mw-380px {
  max-width: 380px;
}
@media (min-width: 992px) {
  .mw-lg-590px {
    max-width: 590px;
  }
}


/* ## Hero
======================================== */

/* ### レイアウト
---------------------------------------- */

.hero {
  display: grid;
  margin-bottom: 15px;
}
@media not all and (min-width: 768px) {
  .hero__body {
    background-image: url("../img/mobile_header_bg.png");
    padding: 0 15px 15px;
  }
}
.hero__bodyInner {
  background-color: var(--white);
  display: flex;
  align-items: center;
  flex-direction: column;
}
.hero__goReport {
  background-color: var(--white);
}
.hero__visual {
  background-image: url("../img/hero_visual.jpg");
  background-position: center;
  background-size: cover;
  min-height: 215px;
}


@media (min-width: 768px) {
  .hero {
    border: 5px solid var(--primary);
    margin-top: 24px;
  }
  .hero__goReport {
    display: none;
  }
}
@media (min-width: 992px) {
  .hero {
    grid-template-columns: 1fr 1fr;
  }
  .hero__body {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }
  .hero__visual {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }
}


/* ### 各パーツ
---------------------------------------- */

/* 中学3年生対象 */
.heroBadge {
  background-color: var(--yellow);
  border: 3px solid var(--primary);
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 0.25em 0.75em;
}
@media (min-width: 992px) {
  .heroBadge {
    border-width: 5px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    font-size: 28px;
    line-height: 1.1;
    padding: 0;
    position: absolute;
    right: 50px;
    top: -50px;
    text-align: center;
    height: 120px;
    width: 120px;
    z-index: 1;
  }
}

/* 第2回 */
.heroNumSpace {
  letter-spacing: 0.2em;
  padding: 0.25rem calc(1rem - 0.2em / 2) 0.25rem 1rem;
}

/* 申し込みボタン */
.heroApplyBtn {
  background-color: hsl(215 100% 30%);
  border-radius: 0.5rem;
  color: var(--white);
  display: block;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.15s;
  user-select: none;
}
@media (hover: hover) {
  .heroApplyBtn:hover {
    background-color: hsl(215 100% 35%);
    color: var(--white);
    text-decoration: none;
  }
}

/* 幅制限 */
.w-min-100-500px {
  width: min(100%, 500px);
}

/* 学校説明会＆入試説明会レポートボタン */
.goReportBtn {
  background-color: #fff;
  border: 5px solid #222;
  color: #222;
  display: block;
  font-weight: 700;
  line-height: 1.4;
  padding: 0.25em 32px 0.25em 16px;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.15s, border 0.15s, color 0.15s;
  user-select: none;
}
@media (hover: hover) {
  .goReportBtn:hover {
    background-color: #fff;
    border: 5px solid #555;
    color: #222;
  }
}
.goReportBtn:focus {
  background-color: #fff;
  border: 5px solid #555;
  color: #222;
}
.goReportBtn:active {
  background-color: #fff;
  border-color: #777;
  color: #555;
}
.goReportBtn::after {
  border-color: currentColor currentColor transparent transparent;
  border-width: 3px 3px 0 0;
  border-style: solid;
  color: inherit;
  content: "";
  height: 8px;
  width: 8px;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

/* 春日丘の入試がわかる1日です！ */
.heroLead {
  background-color: var(--primary);
  color: var(--white);
  display: inline-block;
  font-size: clamp(1.25rem, 1vw + 1.125rem, 1.75rem);
  font-weight: 700;
  line-height: 1.4;
  padding: 0.25em 0.5em;
}
@media (min-width: 768px) {
  .heroLead {
    transform: translateY(30px);
  }
}
@media (min-width: 992px) {
  .heroLead {
    transform: translateY(74px);
  }
}

/* 3つのポイント */
.hero3point {
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
}
@media (min-width: 576px) {
  .hero3point {
    width: 380px;
    bottom: -60px;
  }
}

/* これが春日丘の全てを知る最後のチャンス。是非ご参加ください！ */
.heroBottomLead__wrap {
  margin-top: 96px;
}
@media (min-width: 576px) {
  .heroBottomLead__wrap {
    margin-top: 72px;
  }
}
.heroBottomLead {
  color: var(--primary);
  font-size: clamp(1rem, 3vw + 0.25rem, 2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  text-align: center;
  padding: 0 4rem;
}
.heroBottomLead::before,
.heroBottomLead::after {
  background-color: var(--primary);
  content: "";
  height: 3px;
  position: absolute;
  top: 50%;
  width: 80px;
}
.heroBottomLead::before {
  left: 0;
  transform: rotate(75deg);
}
.heroBottomLead::after {
  right: 0;
  transform: rotate(105deg);
}



/* ## Content
======================================== */

.bg-purple {
  background-color: #7a62a9;
  color: var(--white);
}
.bg-green {
  background-color: #6dbb4f;
  color: var(--white);
}
.bg-orange {
  background-color: #f0844a;
  color: var(--white);
}

.aspect-ratio-65x27 {
  aspect-ratio: 650 / 270;
}
@media (min-width: 768px) {
  .w-min-md-53-580px {
    width: min(53%, 580px);
  }
  .aspect-ratio-md-auto {
    aspect-ratio: auto;
  }
}

.object-fit-top {
  object-position: top;
}


/* ## Site footer
======================================== */

.siteFooterBorder {
  border-top: 50px solid #faf5e5;
}


/* ## Go top
======================================== */
.goTopTarget {
  height: 300px;/*出現までのスクロール量*/
  position: absolute;
  visibility: hidden;
}

.goTop {
  opacity: 0;
  position: fixed;
  right: 16px;
  bottom: 16px;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 10;
}
@media (min-width: 576px) {
  .goTop {
    right: 24px;
    bottom: 24px;
  }
}
.goTop.scrolled {
  opacity: 1;
  pointer-events: auto;
}

.goTop__link {
  background-color: rgb(0 0 0 / 0.5);
  border-radius: 5px 5px 0 0;
  color: var(--white);
  font-size: 10px;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
  height: 44px;
  width: 44px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
@media (hover: hover) {
  .goTop__link:hover {
    background-color: rgb(0 0 0 / 0.8);
    color: var(--white);
  }
}
.goTop__link:focus {
  background-color: rgb(0 0 0 / 0.8);
  color: var(--white);
}

.goTop__icon {
  border-color: transparent transparent currentColor transparent;
  border-width: 0 10px 14px 10px;
  border-style: solid;
  content: "";
  display: inline-block;
  height: 0;
  width: 0;
}
