@charset "utf-8";
* {
  font-family: ヒラギノ角ゴ ProN W3, Hiragino Kaku Gothic ProN, メイリオ, Meiryo,
    system-ui, sans-serif !important;
  box-sizing: border-box;
}
#reason .cont,
#reason .cont ul,
.action,
.teacher .message,
header .order {
  box-sizing: border-box;
}

header .order,
header h1 {
  position: fixed;
  z-index: 1;
}

iframe,
img {
  max-width: 100%;
}

body {
  overflow-x: hidden;
}
html,
body {
  width: 100%;
  overscroll-behavior: none;
}

a,
abbr,
acronym,
address,
applet,
article,
aside,
audio,
b,
big,
blockquote,
body,
canvas,
caption,
center,
cite,
code,
dd,
del,
details,
dfn,
dialog,
div,
dl,
dt,
em,
embed,
fieldset,
figcaption,
figure,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
html,
i,
iframe,
img,
ins,
kbd,
label,
legend,
li,
main,
mark,
menu,
nav,
object,
ol,
output,
p,
pre,
q,
ruby,
s,
samp,
section,
small,
span,
strike,
strong,
sub,
summary,
sup,
table,
tbody,
td,
textarea,
tfoot,
th,
thead,
time,
tr,
tt,
u,
ul,
var,
video {
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  font-style: inherit;
  vertical-align: baseline;
  white-space: normal;
  text-align: left;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: 0 0;
}

#reason h2,
.catch,
.guide,
.limit,
.subcatch,
header .order,
header h1,
p,
p.cando,
p.cando_last {
  text-align: center;
}

header .order,
header h1 a {
  font-weight: lighter;
  letter-spacing: 6px;
  text-decoration: none;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section {
  display: block;
}

ol,
ul {
  list-style: none;
}

br.sp {
  display: none;
}
#deadline {
  display: inline-block;
}
header {
  text-align: center;
}

header h1 {
  background: rgba(0, 0, 0, 0.75);
  padding: 8px 0;
  line-height: 1;
  margin: 0;
  top: 0;
  width: 100%;
}

header h1 a {
  color: #fff;
  font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
  font-size: 2.5vw;
  display: block;
  text-align: center;
}

header .order {
  color: #000;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.95);
  width: 96%;
  line-height: 64px;
  bottom: 2%;
  left: 2%;
  border-radius: 32px;
  border: solid 3px #000;
  font-weight: 700;
}

#reason .cont p,
.strong,
p.but {
  font-weight: 700;
}

.buruburu {
  display: inline-block;
  animation: hurueru 1s infinite;
}

.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}
.popup-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px;
  width: 300px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}
.close-btn {
  position: absolute;
  top: 0px;
  right: 0px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
}
.close-btn:hover {
  color: #555;
}
.open-popup-link {
  cursor: pointer;
}
.popup-form input {
  width: 100%;
  padding: 10px;
  margin: 0 0 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: calc(100% - 20px);
}
.popup-form button {
  width: 100%;
  padding: 10px;
  background: #333;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.popup-form button:hover {
  background: #555;
}

@keyframes hurueru {
  0%,
  100%,
  20% {
    transform: translate(0, 0) rotateZ(0);
  }
  5% {
    transform: translate(2px, 2px) rotateZ(1deg);
  }

  10% {
    transform: translate(0, 2px) rotateZ(0);
  }

  15% {
    transform: translate(2px, 0) rotateZ(-1deg);
  }
}

@-webkit-keyframes bg-color {
  0%,
  100% {
    background-color: #fff;
  }

  20%,
  80% {
    background-color: #f5f5f5;
  }

  40%,
  60% {
    background-color: #eaeaea;
  }

  50% {
    background-color: #e0e0e0;
  }
}

@keyframes bg-color {
  0%,
  100% {
    background-color: #fff;
  }

  20%,
  80% {
    background-color: #f5f5f5;
  }

  40%,
  60% {
    background-color: #eaeaea;
  }

  50% {
    background-color: #e0e0e0;
  }
}

.catch {
  height: 42vw;
  background: url(images/catch-bg.webp) no-repeat;
  background-size: cover;
}

#list_1st,
#reason h2 {
  background: #f4f4f4;
  padding: 16px 0;
}

.catch .tms-logo {
  width: 18vw;
  margin-top: 13.5vw;
}

.catch p {
  color: #fff;
  font-size: 4vw;
  margin-top: 16px;
  font-weight: bold;
}

#reason {
  background: #666;
  padding-bottom: 8px;
}

#reason h2 {
  margin-bottom: 8px;
}

#reason h2 img {
  width: 60px;
  display: block;
  margin: 0 auto 8px;
}

#reason .cont img,
.content {
  width: 100%;
}

#reason .cont {
  background: #fff;
  margin: 8px 16px;
}

#reason .cont p {
  font-size: 5.5vw;
  border-bottom: dotted 1px #000;
  padding-bottom: 5px;
  width: 95%;
  margin: 0 auto;
}

#reason .cont ul {
  margin: 16px;
  list-style-type: square;
  padding-left: 16px;
  font-size: 3.3vw;
}

#reason .cont li {
  margin-bottom: 8px;
}

.content {
  margin: 0 auto;
}

.page-padding {
  padding: 0;
}

p {
  font-size: 0.85pc;
}

.highlight1,
.highlight2 {
  color: #000;
  font-size: 140%;
  font-weight: 700;
}

.strong {
  font-size: 140%;
}

p.but {
  color: #fff;
  font-size: 2.5pc;
  margin: 16px 0;
}

.limit,
.subcatch {
  color: #000;
  font-weight: 700;
}

.subcatch {
  font-size: 1.2pc;
}

.limit {
  font-size: 6vw;
  margin: 16px;
  padding: 12px 0;
  border: 4px double;
  text-align: center;
}

.limit span::before {
  content: "好評につき延長！";
  font-size: 4vw;
  display: block;
  text-align: center;
  color: #666;
}

#list_2nd {
  margin: 0;
  padding: 32px 0 0;
}

#list_3rd {
  margin: 0;
  padding: 0 16px;
}

.list1,
.list2,
.list3,
.list4,
.list5,
.list6,
.list7,
.list8 {
  padding: 8px 2px 12px;
  line-height: 2.3em;
  line-height: 1.4;
}

span.fill_pink,
span.fill_white {
  background-color: #fff;
  padding: 5px;
}

.list1 {
  transform: rotate(-2deg);
  -moz-transform: rotate(-2deg);
  -webkit-transform: rotate(-2deg);
}

.list2 {
  transform: rotate(2deg);
  -moz-transform: rotate(2deg);
  -webkit-transform: rotate(2deg);
}

.list4 {
  transform: rotate(-2deg);
  -moz-transform: rotate(-2deg);
  -webkit-transform: rotate(-2deg);
}

.list5 {
  transform: rotate(-1deg);
  -moz-transform: rotate(-1deg);
  -webkit-transform: rotate(-1deg);
}

.list7 {
  transform: rotate(2deg);
  -moz-transform: rotate(2deg);
  -webkit-transform: rotate(2deg);
}

span.fill_white {
  color: #555;
  font-size: 4vw;
}

span.fill_pink {
  color: #000;
  font-size: 4vw;
}

span.fill_red {
  background-color: #000;
  padding: 8px;
}

#faq .title {
  padding-top: 32px;
  padding-bottom: 16px;
}

.action,
.guide {
  padding: 16px;
}

.content-area {
  background-image: url(images/content-area_bg01.webp);
  background-size: contain;
}

.guide {
  line-height: 1.5em;
  border: 5px dotted #555;
}

.guide span {
  font-size: 120%;
  font-weight: 700;
}

.guide + .click {
  margin-top: 8px;
}

#value-inner {
  background: url(images/content-area_bg01.webp) center top no-repeat;
  background-size: cover;
}

#value .title {
  padding-top: 16px;
  padding-bottom: 16px;
}

p.cando {
  margin-bottom: 20px;
  line-height: 1.8em;
}

p.cando,
p.cando_last {
  color: #fff;
  font-weight: 700;
}

p.cando_last {
  margin-top: 0;
}

#result,
p.cando_last {
  padding: 0 0 20px;
  margin: 0;
}

#faq {
  background: #f1f1f1;
  padding-bottom: 30px;
}

p.question {
  color: #fff;
  font-weight: 500;
  transform: rotate(-1deg);
  -moz-transform: rotate(-1deg);
  -webkit-transform: rotate(-1deg);
  background: #777;
  background: -webkit-linear-gradient(left, #777 34%, #555 100%);
  background: linear-gradient(to right, #777 34%, #555 100%);
  margin: 32px 0 16px;
  padding: 8px;
}

p.question:first-child {
  margin-top: 8px;
}

p.answer,
p.question {
  font-size: 16px;
  text-align: left;
  line-height: 1.4;
}

p.answer {
  color: #333;
  font-weight: 700;
  background-color: #fdfdfd;
  margin: 0;
  padding: 8px;
  font-size: 13px;
}

.videoframe,
div#reason {
  margin: 0 auto;
  text-align: center;
}

#copyright {
  font-size: 70%;
  color: #fff;
  text-align: center;
  padding: 8px 0;
  background-color: #333;
  letter-spacing: 2px;
  margin-bottom: 90px;
}

#copyright span a {
  color: #fff;
}

.videoframe {
  padding: 20px;
}

.videoframe iframe {
  height: 53vw;
}

#lede {
  margin-top: 0;
}

div#reason {
  position: relative;
  overflow: hidden;
}

div#reason div.cont {
  float: left;
}

.fill_blk u {
  display: inline-block;
  font-size: 2.4em;
  text-decoration: none;
}

.process {
  margin-top: 20px;
}

.process p {
  display: block;
  font-size: 3vw;
  text-align: left;
  padding: 9px 16px 16px;
}
.trialtxt,
.trialtxt2 {
  font-size: 13px;
  text-align: left;
  padding: 0 16px 16px;
}

.trial h1,
.trial h3,
.trialtxt2 {
  text-align: center;
  font-weight: 700;
}

.trialtxt2 {
  color: #000;
  font-size: 1.1pc;
}

section h2 {
  font-size: 3vw;
  font-weight: 700;
}
.guide .want {
  font-size: 6vw;
}

.process h2 {
  font-size: 3.7vw;
}

.trial h1,
.trial h3 {
  margin: 32px 0;
  clear: both;
  font-size: 8vw;
}

.trial li,
section h2 {
  margin: 16px;
}

.trial li {
  background: #f1f1f1;
  padding-top: 0.1px;
  border-radius: 8px;
  box-shadow: 1px 1px 15px #444;
}

.guide .want {
  color: #666;
}

.guide .action {
  border-bottom: double 5px #000;
  padding: 0;
  color: #444;
  font-weight: 700;
}

.what {
  background: #fff;
}

.what h3 {
  margin: 0;
  padding: 32px 0;
}

.sp {
  display: inline;
}

.teacher h1 {
  text-align: center;
  font-weight: 700;
  margin: 0;
  padding: 32px 0;
}

.teacher {
  background: #efefef;
  text-align: center;
  padding-bottom: 8px;
}

.teacher img {
  width: 200px;
}

.teacher .message p {
  text-align: left;
}

.teacher .message {
  padding: 16px;
  margin: 16px;
  background: #fff;
  border-radius: 4px;
  position: relative;
}

.teacher .message::after {
  bottom: 100%;
  left: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: rgba(255, 255, 255, 0);
  border-bottom-color: #fff;
  border-width: 16px;
  margin-left: -16px;
}

.price {
  background-color: #f9f9f9;
  padding: 16px;
  text-align: center;
}

.price-inner {
  max-width: 800px;
  margin: 0 auto;
  font-family: "Arial", sans-serif;
}

.price-inner h1 {
  font-size: 6vw;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
}

.price-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.price-item {
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  flex: 1;
  min-width: 250px;
  max-width: 380px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.price-item h2 {
  font-size: 1.5rem;
  color: #333;
  margin: 0px;
}

.price-item p {
  font-size: 1rem;
  color: #555;
  margin: 0;
}

.price-amount {
  font-size: 1.8rem;
  font-weight: bold;
  color: #555;
}

@media (max-width: 600px) {
  .price-container {
    flex-direction: column;
    align-items: center;
  }

  .price-item {
    min-width: 100%;
    box-sizing: border-box;
  }
  .price-item h2 {
    text-align: center;
  }
}

@media (min-width: 767px) {
  header h1 {
    padding-top: 8px;
  }

  .catch .tms-logo {
    width: 20vw;
    margin-top: 13vw;
  }

  .catch p {
    font-size: 1rem;
    margin-top: 32px;
  }

  .subcatch {
    font-size: 3pc;
  }

  .limit {
    font-size: 170%;
  }

  .list1,
  .list2,
  .list3,
  .list4,
  .list5,
  .list6,
  .list7,
  .list8 {
    font-size: 150%;
  }

  .title-inner {
    font-size: 200%;
  }

  p.cando,
  p.cando_last {
    font-size: 180%;
  }

  #reason h2 {
    font-size: 150%;
  }

  #reason .cont {
    width: calc(33% - 30px);
    height: 49vw;
  }

  #reason .cont p {
    font-size: 1pc;
  }

  #reason .cont ul {
    font-size: 0.9pc;
  }

  .guide {
    font-size: 180%;
  }

  .guide + .click {
    font-weight: 700;
    font-size: 120%;
  }

  p.question {
    font-size: 20px;
  }

  p.answer {
    font-size: 16px;
  }

  .trial h1,
  .trial h3 {
    font-size: 200%;
  }

  .process p {
    font-size: 110%;
  }

  .trial li {
    width: calc(50% - 32px);
    float: left;
    min-height: 50vw;
  }

  .trialtxt {
    font-size: 16px;
  }

  header h1 a {
    letter-spacing: 6px;
    font-size: 1rem;
  }

  header .order {
    font-size: 1.6rem;
    font-weight: 700;
  }

  #copyright {
    font-size: 90%;
  }

  #company span {
    font-size: 100%;
  }

  .teacher h3 {
    font-size: 200%;
  }
  section h2 {
    font-size: 2vw;
  }
  .what h1 {
    padding-top: 32px;
  }
  .guide .want {
    font-size: 3vw;
  }
}

@media (min-width: 1024px) {
  .trial li {
    width: calc(20% - 32px);
  }

  #reason .cont {
    height: auto;
  }

  #reason .cont p {
    font-size: 1.3pc;
  }

  #reason .cont ul {
    font-size: 1pc;
    height: 15vw;
  }

  .trial li {
    min-height: 28vw;
  }

  .what img {
    width: 100%;
  }

  .process h2 {
    font-size: 1.2vw;
  }
  .process p {
    font-size: 1.3vw;
  }
}
