@charset "utf-8";

/* ===================================================================== */
/* Base * /
/* ===================================================================== */
@font-face {
  font-family: "Hannari";
  src: url(../font/HannariMincho-Regular.otf);
}

html {
  width: 100%;
  height: 100%;
}

body {
  width: 100%;
  height: 100%;
  /*   font-family: "Hannari", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    "Noto Sans", Meiryo, sans-serif; */
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans", Meiryo,
    sans-serif;
  line-height: 1.8;
  text-align: justify;
  text-justify: inter-ideograph;
  -webkit-font-feature-settings: "pkna";
  font-feature-settings: "pkna";
  letter-spacing: 0.12em;
  color: var(--text-color);
  background-color: white;
}
@media (max-width: 767px) {
  body {
    font-size: var(--fs14);
  }
}

:root {
  --main-color1: #007a88;
  --main-color2: #95c2b6;
  --sub-color1: #d2ae26;
  --sub-color2: #d85395;
  --sub-color3: #b0b8b0;
  --sub-color4: #834822;
  --sub-color5: #e5eed8;
  --text-color: #70706f;
  --bg-color: #f5f5f5;
  --bg-color2: #fcfcfc;
  --white: #fff;
  --fs14: clamp(0.6rem, 0.875rem + 0.2vw, 0.875rem); /* 14px */
  --fs18: clamp(0.8rem, 1.125rem + 0.3vw, 1.125rem); /* 18px */
  --fs20: clamp(0.9rem, 1.25rem + 0.35vw, 1.25rem); /* 20px */
  --fs22: clamp(1rem, 1.375rem + 0.2vw, 1.375rem); /* 22px */
  --fs24: clamp(1.1rem, 1.5rem + 0.25vw, 1.5rem); /* 24px */
  --fs28: clamp(1.2rem, 1.75rem + 0.3vw, 1.75rem); /* 28px */
  --fs32: clamp(1.4rem, 2rem + 0.35vw, 2rem); /* 32px */
  --fs36: clamp(1.8rem, 2.25rem + 0.5vw, 2.25rem); /* 36px */
  --fs42: clamp(2rem, 2.625rem + 0.6vw, 2.625rem); /* 42px */
  --fs48: clamp(2.2rem, 3rem + 0.7vw, 3rem); /* 48px */
  --fs52: clamp(2.4rem, 3.25rem + 0.75vw, 3.25rem); /* 52px */
}

/* ===================================================================== */
/* Link * /
  /* ===================================================================== */
a,
a:link,
a:active {
  color: var(--text-color);
  text-decoration: none;
  outline: none;
  transition: 0.2s;
}

a:hover {
  color: var(--sub-color2);
  text-decoration: none;
  transition: 0.2s;
}

a img {
  border: none;
  transition: 0.2s;
}

a:hover img {
  opacity: 0.5;
  transition: 0.2s;
}

a.link-btn {
  &::before {
    font-family: "Material Icons";
    content: "\e5cc";
    position: absolute;
    top: 0;
    right: 5px;
    bottom: 0;
    margin: auto;
    height: 0;
    line-height: 0;
  }

  &:hover {
    transition: 0.2s;
  }

  &:hover::before {
    transition: 0.2s;
  }
}

/* ===================================================================== */
/* Image * /
  /* ===================================================================== */
img {
  max-width: 100%;
  max-height: 100%;
  filter: brightness(1.1) contrast(1.1) grayscale(0.2);
}

.object-fit {
  object-fit: cover;
  font-family: "object-fit: cover;";
  /*IE対策*/
}

.img-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 2;

  &::before {
    content: "";
    display: block;
    width: 100%;
    height: 0;
    padding-bottom: 66.6666%;
  }

  &::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
  }

  img {
    position: absolute;
    top: 0;
    left: 0;
    margin: auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
    font-family: "object-fit: cover;";
    /*IE対策*/
    object-position: center center;
  }
}

/* ===================================================================== */
/* Title * /
  /* ===================================================================== */

.content_title {
  font-size: var(--fs36);
  line-height: 1.3;
  border-left: 5px solid var(--main-color2);
  padding-left: 0.3em;
  padding-bottom: 0.1em;
  margin-bottom: 60px;
  font-family: "Hannari", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    "Noto Sans", Meiryo, sans-serif;
  display: inline-block;
  position: relative;
}

.content_sub_title {
  font-size: var(--fs20);
  text-align: center;
  margin-bottom: 60px;
  font-weight: bold;
  font-family: "Hannari", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    "Noto Sans", Meiryo, sans-serif;
}
@media (max-width: 767px) {
  .content_title {
    font-size: var(--fs24);
    margin-bottom: 0;
  }
  .content_sub_title {
    font-size: var(--fs18);
    margin-bottom: 40px;
  }
}
/* ===================================================================== */
/* Link Btn * /
  /* ===================================================================== */

/* ===================================================================== */
/* Utility * /
  /* ===================================================================== */
.flex {
  display: flex;
  justify-content: space-between;
}

.line_btn {
  width: 400px;
  height: 70px;
  border-radius: 20px;
  background: #00b900;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans", Meiryo,
    sans-serif;
  font-weight: bold;
  font-size: var(--fs20);
  text-align: center;
  transition: 1s;
  position: relative;
  margin-right: auto;
  margin-left: auto;

  &::before {
    content: "";
    background: url(../images/line_132.png) center/ cover;
    width: 44px;
    height: 44px;
    display: block;
    position: absolute;
    top: 50%;
    left: 10%;
    translate: 0 -50%;
    pointer-events: none;
  }

  a {
    color: var(--white);
    display: block;
    width: 100%;
    height: 100%;
    padding-top: 15px;
    padding-left: 35px;
  }

  &:hover {
    background: #048b3b;
    transition: 0.4s;
  }
}

.arrow {
  font-family: "Alex Brush", serif;
  font-weight: 400;
  font-style: normal;
}
#totop {
  position: fixed;
  right: 3%;
  bottom: 3%;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--main-color1);
  z-index: 1000000;
  display: none;

  a {
    width: 100%;
    height: 100%;
    line-height: 50px;
    display: block;
    color: var(--white);
    text-align: center;
    font-size: var(--fs28);
  }
}
@media (min-width: 768px) and (max-width: 1098px) {
  .flex {
    flex-direction: column;
  }
}
@media (max-width: 767px) {
  .flex {
    flex-direction: column;
  }
  .line_btn {
    width: 80%;
    height: 60px;
    font-size: var(--fs16);
    a {
      padding-top: 18px;
    }
  }
  #totop {
    position: fixed;
    right: 3%;
    bottom: 10%;
  }
}
/* ===================================================================== */
/* fot Smartphone * /
  /* ===================================================================== */
@media screen and (min-width: 481px) {
  .sp-br {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .pc-br {
    display: none;
  }
}

/* ===================================================================== */
/* ID * /
  /* ===================================================================== */

#courses {
  position: relative;
  &::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      to bottom,
      var(--bg-color2) 0%,
      var(--bg-color2) 40%,
      var(--white) 40%,
      var(--white) 60%,
      var(--bg-color) 60%,
      var(--bg-color) 80%,
      var(--bg-color2) 80%,
      var(--bg-color2) 100%
    );
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
  }
}
