/* Document
 * ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6,
p,
div,
ul,
ol,
dl {
  margin-top: 0;
  margin-bottom: 0;
  list-style: none;
}

ul,
ol,
dl {
  padding-left: 0;
  list-style: none;
}

/**
 * Add border box sizing in all browsers (opinionated).
 */
*,
::before,
::after {
  box-sizing: border-box;
}

/**
  * 1. Add text decoration inheritance in all browsers (opinionated).
  * 2. Add vertical alignment inheritance in all browsers (opinionated).
  */
::before,
::after {
  text-decoration: inherit; /* 1 */
  vertical-align: inherit; /* 2 */
}

/**
  * 1. Use the default cursor in all browsers (opinionated).
  * 2. Change the line height in all browsers (opinionated).
  * 3. Use a 4-space tab width in all browsers (opinionated).
  * 4. Remove the grey highlight on links in iOS (opinionated).
  * 5. Prevent adjustments of font size after orientation changes in
  *    IE on Windows Phone and in iOS.
  * 6. Breaks words to prevent overflow in all browsers (opinionated).
  */
html {
  cursor: default; /* 1 */
  line-height: 1.5; /* 2 */
  -moz-tab-size: 4; /* 3 */
  tab-size: 4; /* 3 */
  -webkit-tap-highlight-color: transparent;
  -ms-text-size-adjust: 100%; /* 5 */
  -webkit-text-size-adjust: 100%; /* 5 */
  word-break: break-word; /* 6 */
}

/* Sections
  * ========================================================================== */
/**
  * Remove the margin in all browsers (opinionated).
  */
body {
  margin: 0;
}

/**
  * Correct the font size and margin on `h1` elements within `section` and
  * `article` contexts in Chrome, Edge, Firefox, and Safari.
  */
h1 {
  font-size: 2em;
}

/* Grouping content
  * ========================================================================== */
/**
  * Remove the margin on nested lists in Chrome, Edge, IE, and Safari.
  */
dl dl,
dl ol,
dl ul,
ol dl,
ul dl {
  margin: 0;
}

/**
  * Remove the margin on nested lists in Edge 18- and IE.
  */
ol ol,
ol ul,
ul ol,
ul ul {
  margin: 0;
}

/**
  * 1. Add the correct sizing in Firefox.
  * 2. Show the overflow in Edge 18- and IE.
  */
hr {
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
  * Add the correct display in IE.
  */
main {
  display: block;
}

/**
  * Remove the list style on navigation lists in all browsers (opinionated).
  */
nav ol,
nav ul {
  list-style: none;
  padding: 0;
}

/**
  * 1. Correct the inheritance and scaling of font size in all browsers.
  * 2. Correct the odd `em` font sizing in all browsers.
  */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
  * ========================================================================== */
/**
  * Remove the gray background on active links in IE 10.
  */
a {
  background-color: transparent;
}

/**
  * Add the correct text decoration in Edge 18-, IE, and Safari.
  */
abbr[title] {
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
  * Add the correct font weight in Chrome, Edge, and Safari.
  */
b,
strong {
  font-weight: bolder;
}

/**
  * 1. Correct the inheritance and scaling of font size in all browsers.
  * 2. Correct the odd `em` font sizing in all browsers.
  */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
  * Add the correct font size in all browsers.
  */
small {
  font-size: 80%;
}

/* Embedded content
  * ========================================================================== */
/*
  * Change the alignment on media elements in all browsers (opinionated).
  */
audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/**
  * Add the correct display in IE 9-.
  */
audio,
video {
  display: inline-block;
}

/**
  * Add the correct display in iOS 4-7.
  */
audio:not([controls]) {
  display: none;
  height: 0;
}

/**
  * Remove the border on iframes in all browsers (opinionated).
  */
iframe {
  border-style: none;
}

/**
  * Remove the border on images within links in IE 10-.
  */
img {
  border-style: none;
}

/**
  * Change the fill color to match the text color in all browsers (opinionated).
  */
svg:not([fill]) {
  fill: currentColor;
}

/**
  * Hide the overflow in IE.
  */
svg:not(:root) {
  overflow: hidden;
}

/* Tabular data
  * ========================================================================== */
/**
  * Collapse border spacing in all browsers (opinionated).
  */
table {
  border-collapse: collapse;
}

/* Forms
  * ========================================================================== */
/**
  * Remove the margin on controls in Safari.
  */
button,
input,
select {
  margin: 0;
}

/**
  * 1. Show the overflow in IE.
  * 2. Remove the inheritance of text transform in Edge 18-, Firefox, and IE.
  */
button {
  overflow: visible; /* 1 */
  text-transform: none; /* 2 */
}

/**
  * Correct the inability to style buttons in iOS and Safari.
  */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
  * 1. Change the inconsistent appearance in all browsers (opinionated).
  * 2. Correct the padding in Firefox.
  */
fieldset {
  border: 1px solid #a0a0a0; /* 1 */
  padding: 0.35em 0.75em 0.625em; /* 2 */
}

/**
  * Show the overflow in Edge 18- and IE.
  */
input {
  overflow: visible;
}

/**
  * 1. Correct the text wrapping in Edge 18- and IE.
  * 2. Correct the color inheritance from `fieldset` elements in IE.
  */
legend {
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  white-space: normal; /* 1 */
}

/**
  * 1. Add the correct display in Edge 18- and IE.
  * 2. Add the correct vertical alignment in Chrome, Edge, and Firefox.
  */
progress {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
  * Remove the inheritance of text transform in Firefox.
  */
select {
  text-transform: none;
}

/**
  * 1. Remove the margin in Firefox and Safari.
  * 2. Remove the default vertical scrollbar in IE.
  * 3. Change the resize direction in all browsers (opinionated).
  */
textarea {
  margin: 0; /* 1 */
  overflow: auto; /* 2 */
  resize: vertical; /* 3 */
}

/**
  * Remove the padding in IE 10-.
  */
[type=checkbox],
[type=radio] {
  padding: 0;
}

/**
  * 1. Correct the odd appearance in Chrome, Edge, and Safari.
  * 2. Correct the outline style in Safari.
  */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
  * Correct the cursor style of increment and decrement buttons in Safari.
  */
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/**
  * Correct the text style of placeholders in Chrome, Edge, and Safari.
  */
::-webkit-input-placeholder {
  color: inherit;
  opacity: 0.54;
}

/**
  * Remove the inner padding in Chrome, Edge, and Safari on macOS.
  */
::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
  * 1. Correct the inability to style upload buttons in iOS and Safari.
  * 2. Change font properties to `inherit` in Safari.
  */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/**
  * Remove the inner border and padding of focus outlines in Firefox.
  */
::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
  * Restore the focus outline styles unset by the previous rule in Firefox.
  */
:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
  * Remove the additional :invalid styles in Firefox.
  */
:-moz-ui-invalid {
  box-shadow: none;
}

/* Interactive
  * ========================================================================== */
/*
  * Add the correct display in Edge 18- and IE.
  */
details {
  display: block;
}

/*
  * Add the correct styles in Edge 18-, IE, and Safari.
  */
dialog {
  background-color: white;
  border: solid;
  color: black;
  display: block;
  height: -moz-fit-content;
  height: -webkit-fit-content;
  height: fit-content;
  left: 0;
  margin: auto;
  padding: 1em;
  position: absolute;
  right: 0;
  width: -moz-fit-content;
  width: -webkit-fit-content;
  width: fit-content;
}

dialog:not([open]) {
  display: none;
}

/*
  * Add the correct display in all browsers.
  */
summary {
  display: list-item;
}

/* Scripting
  * ========================================================================== */
/**
  * Add the correct display in IE 9-.
  */
canvas {
  display: inline-block;
}

/**
  * Add the correct display in IE.
  */
template {
  display: none;
}

/* User interaction
  * ========================================================================== */
/*
  * 1. Remove the tapping delay in IE 10.
  * 2. Remove the tapping delay on clickable elements
       in all browsers (opinionated).
  */
a,
area,
button,
input,
label,
select,
summary,
textarea,
[tabindex] {
  -ms-touch-action: manipulation; /* 1 */
  touch-action: manipulation; /* 2 */
}

/**
  * Add the correct display in IE 10-.
  */
[hidden] {
  display: none;
}

/* Accessibility
  * ========================================================================== */
/**
  * Change the cursor on busy elements in all browsers (opinionated).
  */
[aria-busy=true] {
  cursor: progress;
}

/*
  * Change the cursor on control elements in all browsers (opinionated).
  */
[aria-controls] {
  cursor: pointer;
}

/*
  * Change the cursor on disabled, not-editable, or otherwise
  * inoperable elements in all browsers (opinionated).
  */
[aria-disabled=true],
[disabled] {
  cursor: not-allowed;
}

/*
  * Change the display on visually hidden accessible elements
  * in all browsers (opinionated).
  */
[aria-hidden=false][hidden] {
  display: initial;
}

[aria-hidden=false][hidden]:not(:focus) {
  clip: rect(0, 0, 0, 0);
  position: absolute;
}

body {
  font-family: "M PLUS 1p", sans-serif;
  transition: 0.4s;
  overflow-x: hidden;
}

main {
  max-width: 2000px;
  margin: 0 auto;
}

section {
  max-width: 2000px;
  margin: 0 auto;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

@media (min-width: 1280px) {
  .hidden-pc {
    display: none;
  }
}

@media (min-width: 600px) and (max-width: 1279px) {
  .hidden-tab {
    display: none;
  }
}

@media (max-width: 599px) {
  .hidden-sp {
    display: none;
  }
}

header {
  background-color: #ffa500;
  position: fixed;
  top: 0;
  z-index: 10;
  width: 100%;
  height: 80px;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: inherit;
  max-width: 2000px;
  margin: 0 auto;
  padding: 10px 20px;
}

.page-logo {
  text-align: center;
}
.page-logo img {
  width: auto;
  height: 50px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 28px;
}
.nav-list li {
  color: #00b16b;
  font-family: "M PLUS 1p", sans-serif;
  color: #333;
}
.nav-list li:hover {
  color: #00b16b;
  transition: 0.5s;
}
.nav-list li a:link {
  text-decoration: none;
  color: inherit;
}
.nav-list li a:visited {
  color: inherit;
}

.hamburger {
  position: relative;
  width: 40px;
  height: 24px;
  cursor: pointer;
}
.hamburger__item {
  position: absolute;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: #fff;
  color: #fff;
  transition: 0.4s;
}
.hamburger__item:first-of-type {
  top: 0;
}
.hamburger__item:nth-of-type(2) {
  top: 50%;
}
.hamburger__item:nth-of-type(3) {
  top: 100%;
}
.hamburger__item--menu {
  position: absolute;
  top: 125%;
  left: 8%;
  color: #fff;
  font-size: 12px;
}
.hamburger__item--close {
  position: absolute;
  top: 125%;
  left: 8%;
  color: #fff;
  font-size: 12px;
}

@media (max-width: 899px) {
  .hidden-nav {
    display: none;
  }
}

@media (min-width: 900px) {
  .hidden-hamburger {
    display: none;
  }
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 2000px;
  margin: 0 auto;
  padding: 40px;
}
.footer__inner ul li:not(:last-child) {
  margin-bottom: 8px;
}
@media (max-width: 599px) {
  .footer__inner {
    flex-direction: column;
    padding: 12px;
    font-size: clamp(12px, 3.5vw, 16px);
  }
  .footer__inner > ul {
    margin-bottom: 30px;
  }
}

@media (max-width: 599px) {
  .footer-logo {
    margin-bottom: 60px;
  }
}
.footer-logo img {
  width: auto;
  height: 80px;
}
@media (max-width: 599px) {
  .footer-logo img {
    height: 100px;
  }
}

.sns-icon-list {
  display: flex;
  justify-content: end;
  margin-top: 12px;
}
@media (max-width: 599px) {
  .sns-icon-list {
    display: none;
  }
}
.sns-icon-list__item {
  width: clamp(29px, 4vw, 48px);
  height: clamp(29px, 5vw, 48px);
}
@media (min-width: 1280px) {
  .sns-icon-list--sp {
    display: none;
  }
}
@media (min-width: 600px) and (max-width: 1279px) {
  .sns-icon-list--sp {
    display: none;
  }
}

@media (max-width: 599px) {
  .footer--sp__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}
@media (max-width: 599px) and (min-width: 401px) and (max-width: 599px) {
  .footer--sp__container {
    gap: clamp(140px, 28vw, 180px);
  }
}
@media (max-width: 599px) and (max-width: 500px) {
  .footer--sp__container {
    gap: 48px;
  }
}

@media (min-width: 1280px) {
  .container {
    margin-bottom: 80px;
    padding: 20px 80px;
  }
}
@media (min-width: 600px) and (max-width: 1279px) {
  .container {
    margin-bottom: 80px;
    padding: 40px;
  }
}
@media (max-width: 599px) {
  .container {
    margin-bottom: 60px;
    padding: 20px;
  }
}

.heading {
  display: inline-block;
  position: relative;
  left: 50%;
  margin-bottom: 60px;
  transform: translateX(-50%);
  font-family: "M PLUS 1p", sans-serif;
  font-size: clamp(24px, 7vw, 32px);
  text-align: center;
}
@media (max-width: 599px) {
  .heading {
    margin-bottom: 32px;
  }
}
.heading::after {
  position: absolute;
  bottom: 10px;
  left: 0;
  z-index: -10;
  width: 100%;
  height: 8px;
  background-color: #0c0;
  content: "";
}

.mb {
  margin-bottom: 80px;
}

.mb-20 {
  margin-bottom: 20px;
}

.balloon-icon {
  background-color: #f172a3;
  position: relative;
  margin: 0 auto 40px;
  padding: 0 5px;
  width: 90px;
  height: 90px;
  line-height: 90px;
  text-align: center;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  border-radius: 50%;
  box-sizing: border-box;
}

.balloon-icon::after {
  content: "";
  position: absolute;
  bottom: -25px;
  left: 50%;
  margin-left: -15px;
  border: 15px solid transparent;
  border-top: 15px solid #f172a3;
  z-index: 0;
}

button {
  padding: 4px 12px;
  border: none;
  border-radius: 20px;
  background-color: #0c0;
  color: #fff;
  font-size: 16px;
  font-family: "m-plus-1p";
}
button:hover {
  cursor: pointer;
}

.icon--instagram {
  width: 30px;
  min-width: 29px;
  height: 30px;
  min-height: 29px;
  margin-left: 4px;
}

.main__wrapper {
  background-color: #ffa500;
  width: 100%;
}

.hero {
  max-height: 1000px;
  margin-top: 80px;
  padding-bottom: 20px;
}
.hero-heading__container p {
  padding-left: 20px;
  font-size: 24px;
}

.page-title {
  font-family: "M PLUS 1p", sans-serif;
  padding-left: 28px;
  font-size: 48px;
}
@media (min-width: 600px) and (max-width: 1279px) {
  .page-title {
    font-size: clamp(32px, 6vw, 48px);
  }
}
@media (max-width: 599px) {
  .page-title {
    padding-left: 12px;
    font-size: clamp(28px, 8vw, 32px);
  }
}
.page-title--sub--top {
  font-size: 0.6em;
}
.page-title--sub--bottom {
  padding-left: 48px;
  font-size: 0.6em;
}
@media (max-width: 599px) {
  .page-title--sub--bottom {
    padding-left: clamp(36px, 10vw, 48px);
  }
}

.top__image {
  height: 50vw;
  max-height: 1000px;
  margin-bottom: 120px;
  padding: 40px;
  background-image: url(../pictures/hero.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
@media (min-width: 600px) and (max-width: 1279px) {
  .top__image {
    min-height: 70vw;
    margin-bottom: 80px;
  }
}
@media (max-width: 599px) {
  .top__image {
    height: clamp(280px, 80vw, 360px);
    margin-bottom: 60px;
  }
}

.about__description {
  font-size: clamp(16px, 3vw, 24px);
  line-height: 2;
  text-align: center;
}
@media (max-width: 599px) {
  .about__description {
    margin-bottom: 24px;
  }
}
@media (max-width: 599px) {
  .about__description:nth-of-type(3) {
    margin-bottom: 60px;
  }
}
@media (min-width: 1280px) {
  .about__description:not(:last-of-type) {
    margin-bottom: 60px;
  }
}
@media (min-width: 600px) and (max-width: 1279px) {
  .about__description:not(:last-of-type) {
    margin-bottom: 40px;
  }
}
.about__description__sub-heading {
  margin-bottom: 20px;
  font-size: clamp(16px, 3vw, 24px);
  text-align: center;
}

.strength {
  background-color: #fff0da;
  padding: 20px;
}
.strength__wrapper {
  background-color: #ffa500;
  margin-bottom: 100px;
}
@media (min-width: 1280px) {
  .strength__wrapper {
    padding: 80px 40px;
  }
}
@media (min-width: 600px) and (max-width: 1279px) {
  .strength__wrapper {
    padding: clamp(40px, 5vw, 60px) clamp(40px, 6.5vw, 80px);
  }
}
@media (max-width: 599px) {
  .strength__wrapper {
    margin-bottom: 60px;
    padding: 40px 20px;
  }
}

@media (min-width: 1280px) {
  .strength-list__item {
    display: flex;
    justify-content: space-between;
    column-gap: 40px;
    row-gap: 160px;
    margin-bottom: 120px;
  }
  .strength-list__item:nth-child(even) {
    flex-direction: row-reverse;
  }
}
@media (min-width: 600px) and (max-width: 1279px) {
  .strength-list__item {
    margin-bottom: clamp(60px, 7vw, 80px);
  }
}
@media (max-width: 599px) {
  .strength-list__item {
    margin-bottom: 60px;
  }
}
@media (min-width: 1280px) {
  .strength-list__image {
    width: 50%;
  }
}
@media (min-width: 600px) and (max-width: 1279px) {
  .strength-list__image {
    margin-bottom: 20px;
  }
}
@media (max-width: 599px) {
  .strength-list__image {
    margin-bottom: 20px;
  }
}
.strength-list__image img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}
@media (min-width: 1280px) {
  .strength-list__image img {
    height: clamp(320px, 30vw, 560px);
  }
}
@media (min-width: 600px) and (max-width: 1279px) {
  .strength-list__image img {
    height: clamp(320px, 45vw, 480px);
  }
}
@media (max-width: 599px) {
  .strength-list__image img {
    height: 320px;
  }
}
@media (min-width: 1280px) {
  .strength-list__text-container {
    width: 50%;
    padding: 20px 12px;
  }
}
@media (min-width: 600px) and (max-width: 1279px) {
  .strength-list__text-container {
    padding-right: clamp(8px, 1vw, 12px);
    padding-left: 8px;
  }
}
@media (max-width: 599px) {
  .strength-list__text-container {
    padding-right: 8px;
    padding-left: 8px;
  }
}
.strength-list__heading {
  margin-bottom: 20px;
  font-size: clamp(20px, 2.4vw, 24px);
}
.strength-list__heading > span {
  color: #0c0;
}
.strength-list__description {
  font-size: clamp(16px, 2vw, 20px);
}

.card {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: stretch;
  gap: 60px;
  min-height: 600px;
}
@media (min-width: 1280px) {
  .card {
    gap: clamp(20px, 3.4vw, 60px);
  }
}
@media (min-width: 600px) and (max-width: 1279px) {
  .card {
    gap: clamp(20px, 3.4vw, 60px);
  }
}
@media (max-width: 599px) {
  .card {
    gap: 40px;
  }
}
.card__item {
  width: 30%;
  min-height: 320px;
  border-radius: 12px 12px 4px 4px;
}
@media (min-width: 600px) and (max-width: 1279px) {
  .card__item {
    width: 48%;
    min-height: 280px;
  }
}
@media (max-width: 599px) {
  .card__item {
    width: 100%;
    min-height: 280px;
  }
}
.card__item:first-of-type {
  background-color: #d1f1cc;
}
.card__item:first-of-type .card__title {
  background-color: #81d674;
}
.card__item:nth-of-type(2) {
  background-color: #fffbd5;
}
.card__item:nth-of-type(2) .card__title {
  background-color: #ffe600;
}
.card__item:nth-of-type(3) {
  background-color: #f4d2de;
}
.card__item:nth-of-type(3) .card__title {
  background-color: #df81a2;
}
.card__item:nth-of-type(4) {
  background-color: #e5d7ee;
}
.card__item:nth-of-type(4) .card__title {
  background-color: #b492cc;
}
.card__item:nth-of-type(5) {
  background-color: #d5e0f1;
}
.card__item:nth-of-type(5) .card__title {
  background-color: #8ba7d5;
}
.card__item:last-of-type {
  background-color: #c8efea;
}
.card__item:last-of-type .card__title {
  background-color: #68cfc3;
}
.card__title {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  padding: 8px;
  border-radius: 12px 12px 0 0;
  color: #fff;
  text-align: center;
}
@media (min-width: 1280px) {
  .card__title {
    font-size: clamp(20px, 1.5vw, 24px);
  }
}
@media (min-width: 600px) and (max-width: 1279px) {
  .card__title {
    font-size: clamp(16px, 2vw, 20px);
  }
}
@media (max-width: 599px) {
  .card__title {
    font-size: 20px;
  }
}
.card__title span {
  font-size: 0.88em;
}
.card__description {
  padding: 20px;
}
@media (min-width: 1280px) {
  .card__description {
    font-size: clamp(16px, 1vw, 20px);
  }
}

.classes__attention {
  margin-top: 40px;
  padding-left: 20px;
  font-weight: bold;
}

.trial-image {
  text-align: center;
}
@media (min-width: 1280px) {
  .trial-image {
    margin-bottom: 80px;
  }
}
@media (min-width: 600px) and (max-width: 1279px) {
  .trial-image {
    margin-bottom: 40px;
  }
}
@media (max-width: 599px) {
  .trial-image {
    margin-bottom: 28px;
  }
}
.trial-image > img {
  height: auto;
  object-fit: cover;
}
@media (min-width: 1280px) {
  .trial-image > img {
    width: 80%;
    max-height: 560px;
  }
}
@media (min-width: 600px) and (max-width: 1279px) {
  .trial-image > img {
    width: 95%;
    max-height: 440px;
  }
}
@media (min-width: 1280px) {
  .trial__description {
    padding-left: clamp(120px, 10vw, 200px);
    padding-right: clamp(120px, 10vw, 200px);
  }
}
@media (min-width: 600px) and (max-width: 1279px) {
  .trial__description {
    padding-left: clamp(20px, 3vw, 40px);
    padding-right: clamp(20px, 3vw, 40px);
  }
}
@media (max-width: 599px) {
  .trial__description {
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media (min-width: 1280px) {
  .trial__text {
    margin-bottom: clamp(120px, 10vw, 160px);
    font-size: clamp(16px, 1vw, 20px);
  }
}
@media (min-width: 600px) and (max-width: 1279px) {
  .trial__text {
    margin-bottom: clamp(80px, 10vw, 160px);
  }
}
@media (max-width: 599px) {
  .trial__text {
    margin-bottom: 80px;
  }
}
.trial__button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  margin-bottom: 80px;
}
@media (min-width: 600px) and (max-width: 1279px) {
  .trial__button {
    gap: clamp(40px, 6.6vw, 80px);
  }
}
@media (max-width: 599px) {
  .trial__button {
    flex-direction: column;
    gap: 40px;
  }
}
.trial__button button.button--contact {
  height: 60px;
}
@media (min-width: 1280px) {
  .trial__button button.button--contact {
    width: 240px;
  }
}
@media (min-width: 600px) and (max-width: 1279px) {
  .trial__button button.button--contact {
    width: clamp(200px, 30vw, 320px);
  }
}
@media (max-width: 599px) {
  .trial__button button.button--contact {
    width: 100%;
  }
}
.trial__button button.button--phone {
  background-color: #3cf;
}
.trial__button a {
  display: block;
  color: inherit;
  text-decoration: none;
}
@media (min-width: 1280px) {
  .trial__heading--sub {
    margin-bottom: 32px;
    font-size: clamp(24px, 1.5vw, 28px);
  }
}
@media (min-width: 600px) and (max-width: 1279px) {
  .trial__heading--sub {
    margin-bottom: clamp(20px, 2.4vw, 28px);
    font-size: clamp(20px, 2.4vw, 24px);
  }
}
@media (max-width: 599px) {
  .trial__heading--sub {
    margin-bottom: 20px;
    font-size: 20px;
  }
}

.personal-data__heading {
  margin-bottom: 20px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  padding-right: 20px;
  padding-left: 20px;
  overflow: auto;
}
.modal > h2 {
  margin-top: 80px;
  margin-bottom: 60px;
  color: #fff;
  text-align: center;
}
@media (max-width: 860px) {
  .modal > h2 {
    margin-top: clamp(40px, 12vw, 80px);
    margin-bottom: clamp(32px, 10vw, 60px);
  }
}
.modal table {
  margin: 0 auto 60px;
}
@media (min-width: 861px) {
  .modal table {
    min-width: 820px;
  }
}
@media (max-width: 860px) {
  .modal table {
    max-width: 100%;
    margin-bottom: clamp(32px, 10vw, 60px);
    font-size: clamp(11px, 3vw, 16px);
  }
}
.modal table thead {
  margin: 0 auto 60px;
  background-color: #ffa500;
  color: #fff;
}
.modal table tbody {
  background-color: #fff;
  text-align: center;
}
@media (max-width: 860px) {
  .modal table tbody {
    font-size: clamp(10px, 3vw, 16px);
  }
}
.modal table th {
  height: 48px;
  border: 1px solid #999;
}
.modal table td {
  height: 60px;
  padding: 12px;
  border: 1px solid #999;
}
@media (max-width: 860px) {
  .modal table td {
    padding: 4px;
  }
}
.modal__announcement {
  color: #fff;
  font-size: clamp(16px, 4vw, 20px);
  text-align: center;
}
.modal-open:hover {
  cursor: pointer;
}
.modal-close {
  position: absolute;
  top: 4%;
  right: 8%;
  font-size: 20px;
}
.modal-close:hover {
  cursor: pointer;
}
@media (max-width: 599px) {
  .modal__text--small {
    font-size: clamp(6px, 2vw, 12px);
  }
}

.table__wrapper {
  overflow: auto;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

@media (min-width: 790px) {
  .hidden-wider {
    display: none;
  }
}

.profile {
  margin-top: 160px;
  margin-bottom: 200px;
  padding: 20px;
}
@media (max-width: 599px) {
  .profile {
    margin-bottom: 80px;
  }
}
.profile__table {
  width: 80%;
  margin: 0 auto;
}
@media (min-width: 1280px) {
  .profile__table {
    font-size: clamp(16px, 1vw, 20px);
  }
}
@media (max-width: 599px) {
  .profile__table {
    width: 95%;
  }
}
.profile__table tr {
  display: flex;
  height: 100px;
  align-items: center;
  border-bottom: 1px solid #000;
  vertical-align: middle;
}
@media (min-width: 600px) and (max-width: 1279px) {
  .profile__table tr {
    height: 80px;
  }
}
@media (max-width: 599px) {
  .profile__table tr {
    height: 80px;
  }
}
.profile__table th {
  color: #000;
  font-weight: bold;
  text-align: center;
}
@media (min-width: 1280px) {
  .profile__table th {
    width: 36%;
  }
}
@media (min-width: 600px) and (max-width: 1279px) {
  .profile__table th {
    width: clamp(30%, 4vw, 36%);
  }
}
@media (max-width: 599px) {
  .profile__table th {
    width: 40%;
  }
}
@media (min-width: 1280px) {
  .profile__table td {
    width: 80%;
  }
}
@media (min-width: 600px) and (max-width: 1279px) {
  .profile__table td {
    width: clamp(70%, 4vw, 80%);
  }
}
@media (max-width: 599px) {
  .profile__table td {
    width: 77%;
    margin-left: 4px;
  }
}

.teacher {
  padding: 20px;
}

.teacher-profile {
  line-height: 2;
  text-align: center;
}
.teacher-profile__image {
  width: 320px;
  margin: 0 auto 40px;
  border-radius: 50%;
}
.teacher-profile__image > img {
  border-radius: 50%;
}
.teacher-profile__heading {
  margin-bottom: 20px;
  font-size: clamp(20px, 2vw, 24px);
}
.teacher-profile__description {
  width: 56%;
  margin: 0 auto;
  font-size: clamp(16px, 1.5vw, 20px);
}
@media (max-width: 599px) {
  .teacher-profile__description {
    width: 100%;
  }
}

.access {
  gap: 50px;
  margin-top: 200px;
  margin-bottom: 200px;
}
@media (min-width: 600px) and (max-width: 1279px) {
  .access {
    margin-top: clamp(100px, 1.5vw, 160px);
    margin-bottom: clamp(60px, 10vw, 120px);
  }
}
@media (max-width: 599px) {
  .access {
    margin-top: 120px;
    margin-bottom: 48px;
  }
}
.access-address {
  margin-bottom: 80px;
  font-size: clamp(16px, 5vw, 24px);
  text-align: center;
}
.access-map img {
  display: block;
  max-height: 660px;
  margin: 0 auto;
  object-fit: cover;
  object-position: bottom;
}
@media (min-width: 1280px) {
  .access-map img {
    width: 60%;
    max-width: 1000px;
  }
}
@media (min-width: 600px) and (max-width: 1279px) {
  .access-map img {
    min-width: 540px;
    max-width: 90%;
  }
}
@media (max-width: 599px) {
  .access-map img {
    width: 90%;
    height: 320px;
  }
}

.contact {
  width: 80%;
  margin: 120px auto 0;
}
@media (min-width: 600px) and (max-width: 1279px) {
  .contact {
    width: 100%;
    max-width: 800px;
  }
}
@media (max-width: 599px) {
  .contact {
    width: 100%;
  }
}

.form__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  font-size: 20px;
}
@media (min-width: 600px) and (max-width: 1279px) {
  .form__item {
    display: block;
  }
}
@media (max-width: 599px) {
  .form__item {
    display: block;
  }
}
.form__item label {
  width: 50%;
}
@media (min-width: 600px) and (max-width: 1279px) {
  .form__item label {
    display: block;
    width: 100%;
    margin-bottom: 4px;
  }
}
@media (max-width: 599px) {
  .form__item label {
    display: block;
    width: 100%;
    margin-bottom: 4px;
  }
}
.form__item input {
  display: block;
  width: 100%;
  border-radius: 8px;
  height: 48px;
  background-color: #fff;
}
.form__item textarea {
  display: block;
  width: 100%;
  border-radius: 8px;
  height: 200px;
  background-color: #fff;
}
.form__item--attention {
  margin-left: 12px;
  font-size: 12px;
}
@media (min-width: 1280px) {
  .form__item--attention {
    display: block;
    font-size: 14px;
  }
}

.check-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  font-size: 20px;
}
@media (min-width: 600px) and (max-width: 1279px) {
  .check-button {
    display: block;
  }
}
@media (max-width: 599px) {
  .check-button {
    display: block;
  }
}
.check-button__heading {
  width: 50%;
}
@media (min-width: 600px) and (max-width: 1279px) {
  .check-button__heading {
    display: block;
    width: 100%;
    margin-bottom: 12px;
  }
}
@media (max-width: 599px) {
  .check-button__heading {
    display: block;
    width: 100%;
    margin-bottom: 12px;
  }
}
.check-button__item {
  width: 100%;
  padding-left: 12px;
}
.check-button__item > label {
  display: block;
}

.required {
  margin-left: 8px;
  padding: 4px;
  border-radius: 2px;
  background-color: #f33;
  color: #fff;
  font-size: 12px;
  vertical-align: middle;
}

button.button--confirm {
  display: block;
  width: 20%;
  height: 40px;
  margin: 100px auto 0;
  z-index: 5;
}
@media (min-width: 600px) and (max-width: 1279px) {
  button.button--confirm {
    width: 60%;
    max-width: 280px;
  }
}
@media (max-width: 599px) {
  button.button--confirm {
    width: 60%;
  }
}
button.button--confirm:hover {
  cursor: pointer;
}

.text-for-trial {
  text-align: center;
}

.confirm__table {
  margin: 0 auto 120px;
}
@media (min-width: 1280px) {
  .confirm__table {
    width: 80%;
    font-size: 20px;
  }
}
@media (min-width: 600px) and (max-width: 1279px) {
  .confirm__table {
    width: 100%;
    font-size: clamp(16px, 2vw, 20px);
  }
}
@media (max-width: 599px) {
  .confirm__table {
    width: 100%;
    margin-bottom: 80px;
    font-size: 16px;
  }
}
.confirm__table tr {
  width: 100%;
  height: 100px;
  border-bottom: 1px solid #000;
}
@media (min-width: 600px) and (max-width: 1279px) {
  .confirm__table tr {
    height: 80px;
  }
}
@media (max-width: 599px) {
  .confirm__table tr {
    height: 80px;
  }
}
.confirm__table th {
  color: #000;
  font-weight: bold;
}
@media (min-width: 1280px) {
  .confirm__table th {
    width: 36%;
  }
}
@media (min-width: 600px) and (max-width: 1279px) {
  .confirm__table th {
    width: clamp(30%, 4vw, 36%);
  }
}
@media (max-width: 599px) {
  .confirm__table th {
    width: 42%;
  }
}
.confirm__table td {
  text-align: center;
}
@media (min-width: 1280px) {
  .confirm__table td {
    width: 80%;
  }
}
@media (min-width: 600px) and (max-width: 1279px) {
  .confirm__table td {
    width: clamp(70%, 4vw, 80%);
  }
}
@media (max-width: 599px) {
  .confirm__table td {
    width: 58%;
  }
}

.form__confirmation {
  margin-bottom: 120px;
  font-size: 20px;
  text-align: center;
}
@media (max-width: 599px) {
  .form__confirmation {
    margin-bottom: 60px;
    font-size: clamp(14px, 4vw, 16px);
  }
}

.button__wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20%;
}
@media (max-width: 599px) {
  .button__wrapper {
    gap: 10%;
  }
}

button.button--submit {
  display: block;
  width: 20%;
  height: 40px;
}
@media (min-width: 600px) and (max-width: 1279px) {
  button.button--submit {
    width: 40%;
    max-width: 180px;
  }
}
@media (max-width: 599px) {
  button.button--submit {
    width: 40%;
  }
}

.button--back {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 20%;
  height: 40px;
  padding: 4px 12px;
  border: none;
  border-radius: 20px;
  background-color: #999;
  color: #fff;
  font-size: 16px;
  text-align: center;
}
@media (min-width: 600px) and (max-width: 1279px) {
  .button--back {
    width: 40%;
    max-width: 180px;
  }
}
@media (max-width: 599px) {
  .button--back {
    width: 40%;
  }
}
.button--back > a {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.contact__send {
  margin-bottom: 80px;
}
@media (max-width: 599px) {
  .contact__send {
    margin-bottom: 60px;
  }
}

.button--return-top {
  display: block;
  width: 20%;
  height: 40px;
  margin: 80px auto 0;
}
@media (min-width: 600px) and (max-width: 1279px) {
  .button--return-top {
    width: 40%;
    max-width: 180px;
  }
}
@media (max-width: 599px) {
  .button--return-top {
    width: 40%;
  }
}

.contact__text {
  margin-bottom: 20px;
  font-size: 20px;
  text-align: center;
}
@media (max-width: 599px) {
  .contact__text {
    padding-right: 4px;
    padding-left: 4px;
    font-size: clamp(12px, 4vw, 16px);
  }
}/*# sourceMappingURL=style.css.map */