@charset "UTF-8";

/******************************************************************
共通スタイル・リセットCSSに係るスタイルシート
******************************************************************/


/* 変数 */
:root{
  --main-color: #8B1129;
  --serif: "Noto Serif JP", serif;
}


/* リキッドレイアウト対応 */
body {
  font-family: "ヒラギノ角ゴ StdN", "Hiragino Kaku Gothic StdN", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  font-weight: 400;
}

.u-desktop {
  display: none;
}
@media screen and (min-width: 768px) {
  .u-desktop {
    display: block;
  }
}

@media screen and (min-width: 768px) {
  .u-mobile {
    display: none;
  }
}

html {
  font-size: 16px;
}
@media (max-width: 375px) {
  html {
    font-size: 4.2666666667vw;
  }
}
@media screen and (min-width: 768px) {
  html {
    font-size: 1.1111111111vw;
  }
}
@media (min-width: 1440px) {
  html {
    font-size: 16px;
  }
}

body {
  letter-spacing: 1px;
  letter-spacing: 0.0625rem;
}

/* pcの電話番号発信対応 */
@media screen and (min-width: 768px) {
  a[href^="tel:"] {
    pointer-events: none;
  }
}

/* ホバー */
a {
  text-decoration: none;
  color: inherit;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}
@media screen and (min-width: 768px) {
  a:hover {
    opacity: 0.8;
  }
}

/*タイトル*/
h1 {
  font-size: 35px;
  font-size: 2.1875rem;
  line-height: 1.4285714286;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  color: #fff;
}
@media screen and (min-width: 768px) {
  h1 {
    font-size: 55px;
    font-size: 3.4375rem;
    line-height: 1.4363636364;
    letter-spacing: 4px;
    letter-spacing: 0.25rem;
  }
}

h2 {
  text-align: center;
  font-size: 25px;
  font-size: calc( 25 / 16 * 1rem );
  font-weight: 700;
  line-height: 1.1428571429;
  letter-spacing: 2px;
  letter-spacing: 0.125rem;
  font-family: var(--serif);
  position: relative;
  padding-bottom: 17px;
}

h2::after{
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  translate: -50%;
  width: 51px;
  height: 4px;
  background-color: var(--main-color);
}


@media screen and (min-width: 768px) {
  h2 {
    font-size: 50px;
    font-size: calc( 50 / 16 * 1rem );
    line-height: 1.1571428571;
    letter-spacing: 4px;
    letter-spacing: 0.25rem;
    padding-bottom: 30px;
  }
  h2::after{
    width: 81px;
    height: 7px;
  }
}

@media screen and (min-width: 768px) {
  h2.taL {
    text-align: left;
  }
  h2.taL::after{
    left: 0;
    translate: 0;
  }
}

h2 span {
  display: block;
  text-align: center;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 2;
  font-family: "Noto Serif JP", serif;
}
@media screen and (min-width: 768px) {
  h2 span {
    font-size: 25px;
    font-size: 1.5625rem;
    line-height: 2;
  }
}

@media screen and (min-width: 768px) {
  h2.taL span {
    text-align: left;
  }
}

h3 {
  font-size: 18px;
  font-size: 1.125rem;
  line-height: 1.4444444444;
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  padding-bottom: 9.5px;
  padding-bottom: 0.59375rem;
  border-bottom: 1px solid #000;
  border-bottom: 0.0625rem solid #000;
}
@media screen and (min-width: 768px) {
  h3 {
    font-size: 30px;
    font-size: 1.875rem;
    line-height: 1.4666666667;
    padding-bottom: 11px;
    padding-bottom: 0.6875rem;
  }
}

h4 {
  font-size: 16px;
  font-size: 1rem;
  font-family: "Noto Serif JP", serif;
  line-height: 1.8;
  padding-left: 8px;
  padding-left: 0.5rem;
  border-left: 4px solid var(--main-color);
  border-left: 0.25rem solid var(--main-color);
}
@media screen and (min-width: 768px) {
  h4 {
    font-size: 25px;
    font-size: 1.5625rem;
    line-height: 1.6;
    padding-left: 20px;
    padding-left: 1.25rem;
    border-width: 5px;
    border-width: 0.3125rem;
  }
}

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

/* Remove default padding */
ul,
ol {
  padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Set core root defaults */
html {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* Remove list styles on ul, ol elements with a class attribute */
ul,
ol {
  list-style: none;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img {
  max-width: 100%;
  display: block;
  width: 100%;
}

/* Natural flow and rhythm in articles by default */
article > * + * {
  margin-top: 1em;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Blur images when they have no alt attribute */
img:not([alt]) {
  filter: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="filter"><feGaussianBlur stdDeviation="10" /></filter></svg>#filter');
  -webkit-filter: blur(10px);
          filter: blur(10px);
}

/* フォームリセット */
input,
button,
select,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  border-radius: 0;
  font: inherit;
  outline: none;
}

textarea {
  resize: vertical;
}

input[type=checkbox],
input[type=radio] {
  display: none;
}

input[type=submit],
input[type=button],
label,
button,
select {
  cursor: pointer;
}

select::-ms-expand {
  display: none;
}


/* パンくずリストのスタイル */
.bread {
  margin-top: 15px;
  margin-top: 0.9375rem;
  font-family: var(--serif);
}
@media screen and (min-width: 768px) {
  .bread {
    margin-top: 33px;
    margin-top: 2.0625rem;
  }
}

.bread__item,
.bread__arrow {
  font-size: 12px;
  font-size: 0.75rem;
  white-space: nowrap;
}
@media screen and (min-width: 768px) {
  .bread__item,
  .bread__arrow {
    font-size: 16px;
    font-size: 1rem;
  }
}

.bread__arrow {
  display: inline-block;
  margin-inline: 2px;
  margin-inline: 0.125rem;
}

/* ボタンに係るスタイル */
.fixed-btn {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  z-index: 2;
  font-family: var(--serif);
}
@media screen and (min-width: 768px) {
  .fixed-btn {
    left: auto;
    left: initial;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    position: absolute;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
  }
}

.fixed-btn__item {
  width: 50%;
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 5px;
  gap: 0.3125rem;

  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding-block: 20px;
  padding-block: 1.25rem;
  flex-direction: column;
}
@media screen and (min-width: 768px) {
  .fixed-btn__item {
    width: 402px;
    width: 25.125rem;
    gap: 30px;
    gap: 1.875rem;
    padding-block: 26px;
    padding-block: 1.625rem;
    flex-direction: row;
  }
  .fixed-btn--top .fixed-btn__item--contact {
    display: none;
  }
  .fixed-btn--top.scrolled .fixed-btn__item--contact {
    display: flex;
  }
}

.fixed-btn__item--enter {
  background-color: var(--main-color);
  color: #fff;
}
.fixed-btn__item--contact {
  background-color:#D9BA25;
  color: #fff;
}

.fixed-btn__icon {
  height: 18px;
  height: 1.125rem;
}
@media screen and (min-width: 768px) {
  .fixed-btn__icon {
    height: 35px;
    height: 2.1875rem;
  }
}

.fixed-btn__icon img {
  -o-object-fit: contain;
     object-fit: contain;
  width: auto;
  height: 100%;
}

.fixed-btn__text {
  font-size: 14px;
  font-size: 0.875rem;
  line-height: 1.5;
  font-weight: 600;
}
@media screen and (min-width: 768px) {
  .fixed-btn__text {
    font-size: 26px;
    font-size: 1.625rem;
    line-height: 1.5;
  }
}

.fixed-btn__item--student {
  background-color: #fff;
  color: var(--main-color);
  border: 1px solid var(--main-color);
  border: 0.0625rem solid var(--main-color);
}

@media screen and (min-width: 768px) {
  .fixed-btn.hidden {
    opacity: 0;
    -webkit-transition: opacity 0.7s ease-out;
    transition: opacity 0.7s ease-out;
  }
}
@media screen and (min-width: 768px) {
  .fixed-btn.scrolled {
    position: fixed;
    bottom: auto;
    bottom: initial;
    left: auto;
    left: initial;
    right: 88px;
    right: 5.5rem;
    top: 21px;
    top: 1.3125rem;
    gap: 19px;
    gap: 1.1875rem;
    opacity: 1;
  }
  .fixed-btn.scrolled .fixed-btn__item {
    width: 272px;
    width: 17rem;
    gap: 17px;
    gap: 1.0625rem;
    padding-block: 12px;
    padding-block: 0.75rem;
  }
  .fixed-btn.scrolled .fixed-btn__icon {
    height: 22px;
    height: 1.375rem;
  }
  .fixed-btn.scrolled .fixed-btn__text {
    font-size: 18px;
    font-size: 1.125rem;
    line-height: 1.5;
  }
}




/******************************************************************
共通innerのスタイル
******************************************************************/
.inner {
  width: 100%;
  padding-right: 20px;
  padding-left: 20px;
  margin-right: auto;
  margin-left: auto;
}
@media screen and (min-width: 768px) {
  .inner {
    max-width: 1490px;
    padding-right: 25px;
    padding-left: 25px;
  }
}


/******************************************************************
スクロールテキストのスタイル
******************************************************************/

.text-scroll {
  font-size: 45.348vw;
  font-family: "Arial", "Helvetica", sans-serif;
  font-weight: 700;
  line-height: 1.1487179487;
  width: auto;
  white-space: nowrap;
  color: transparent;
  -webkit-animation: text_scroll 30s linear infinite;
          animation: text_scroll 30s linear infinite;
}
@media screen and (min-width: 768px) {
  .text-scroll {
    font-size: 19.687vw;
    line-height: 1.1481481481;
    -webkit-animation: text_scroll 40s linear infinite;
            animation: text_scroll 40s linear infinite;
  }
}

@-webkit-keyframes text_scroll {
  0% {
    -webkit-transform: translateX(100%);
            transform: translateX(100%);
  }
  100% {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
}

@keyframes text_scroll {
  0% {
    -webkit-transform: translateX(100%);
            transform: translateX(100%);
  }
  100% {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
}
.text {
  font-size: 12px;
  font-size: 0.75rem;
  line-height: 2.25;
  letter-spacing: 0;
}
@media screen and (min-width: 768px) {
  .text {
    font-size: 18px;
    font-size: 1.125rem;
    line-height: 1.9444444444;
  }
}


/******************************************************************
記事関係：ページネーションの共通スタイル
******************************************************************/
.pagination {
  margin-top: 73px;
  margin-top: 4.5625rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--serif);
  font-weight: 700;
}

@media screen and (min-width: 768px) {
  .pagination {
    margin-top: 109px;
    margin-top: 6.8125rem;
  }
  
}

.pagination__prev,
.pagination__next,
.pagination__num
  {
  color: var(--main-color);
  border: 1px solid #D8D8D8;
  
  height: 37px;
  height: 2.3125rem;
}

@media screen and (min-width: 768px) {
  .pagination__prev,
  .pagination__next,
  .pagination__num
    {
      height: 59px;
      height: 3.6875rem;
  }
}

.pagination__prev,
.pagination__next {
  font-size: 10px;
  font-size: 0.625rem;
  width: 50px;
  width: 3.125rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  position: relative;
}

@media screen and (min-width: 768px) {
  .pagination__prev,
  .pagination__next {
    font-size: 20px;
    font-size: 1.25rem;
    width: 113px;
    width: 7.0625rem;
  }
}

.pagination__prev {
  padding-left: 20px;
  padding-left: 1.25rem;
  margin-right: 7px;
  margin-right: 0.4375rem;
}

@media screen and (min-width: 768px) {
  .pagination__prev {
    padding-left: 46px;
    padding-left: 2.875rem;
    margin-right: 24px;
    margin-right: 1.5rem;
  }

}

.pagination__prev::before{
  position: absolute;
  content: "";
  left: 9px;
  left: 0.5625rem;
  top: 50%;
  translate: 0 -50%;
  width: 8px;
  width: 0.5rem;
  height: 4px;
  height: 0.25rem;
  background: url('/images/common/arrow_left.svg') no-repeat center;
}

@media screen and (min-width: 768px) {
  .pagination__prev::before{
    left: 21px;
    left: 1.3125rem;
    width: 11px;
    height: 6px;
    height: 0.375rem;
    width: 0.6875rem;
  }
}

.pagination__next {
  padding-right: 20px;
  padding-right: 1.25rem;
  padding-left: 9px;
  padding-left: 0.5625rem;
  margin-left: 7px;
  margin-left: 0.4375rem;
}

@media screen and (min-width: 768px) {
  .pagination__next {
    padding-right: 46px;
    padding-right: 2.875rem;
    padding-left: 26px;
    padding-left: 1.625rem;
    margin-left: 24px;
    margin-left: 1.5rem;
  }
}

.pagination__next::after{
  position: absolute;
  content: "";
  right: 9px;
  right: 0.5625rem;
  top: 50%;
  translate: 0 -50%;
  width: 8px;
  width: 0.5rem;
  height: 4px;
  height: 0.25rem;
  background: url('/images/common/arrow_right.svg') no-repeat center;
}

@media screen and (min-width: 768px) {
  .pagination__next::after{
    right: 21px;
    right: 1.3125rem;
    width: 11px;
    height: 6px;
    height: 0.375rem;
    width: 0.6875rem;
  }
}

.pagination__num {
  display: grid;
  place-items: center;
  width: 38px;
  width: 2.375rem;
}


@media screen and (min-width: 768px) {
  .pagination__num {
    font-size: 29px;
    font-size: 1.8125rem;
    width: 59px;
    width: 3.6875rem;
    
  }
}

.pagination__num:not(:first-child) {
  margin-left: 3px;
  margin-left: 0.1875rem;
}

@media screen and (min-width: 768px) {
  .pagination__num:not(:first-child) {
    margin-left: 5px;
    margin-left: 0.3125rem;
  }
}

.pagination__num.active {
  color: #fff;
  background-color: var(--main-color);
  border: none;
  cursor: default;
  pointer-events: none;
}


/* パンくずリスト対策 */
.bread__inner a{
  padding: 0;
}



/*# sourceMappingURL=styles.css.map */
