@charset "UTF-8";

@media (max-width: 767px) {
  /* ここに画面幅767px以下のCSSを記述する */
}

@media (min-width: 768px) {
  /* ここに画面幅768px以上のCSSを記述する */
}

/* ベースのスタイル
------------------------------------------------------------*/

body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.6;
  letter-spacing: .1em;
  color: #fff;
  background-color: #000000;
}

@media (min-width: 768px) {
  body {
    font-size: 1.125rem;
  }
}

a {
  color: #fff;
  text-decoration: none;
}

small {
  font-size: 0.75rem;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

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

body.menu-open {
  overflow: hidden;
}

/* ヘッダー全体
------------------------------------------------------------*/
.header {
  background: linear-gradient(135deg, #000000, #c10000);
  padding: clamp(0.75rem, 2vw, 1.5rem) clamp(1rem, 5vw, 2rem);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header__inner {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  gap: 1rem;
}

.header__logo img {
  width: clamp(40px, 5vw, 80px);
  height: auto;
}

.header__title {
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  font-weight: bold;
  white-space: nowrap;
}

.header__list {
  display: inline-flex;
  list-style: none;
  gap: clamp(0.5rem, 2vw, 1.5rem);
  margin: 0;
  padding: 0;
}

.header__link {
  text-decoration: none;
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.header__link:hover {
  color: #f0c040;
}

.header__toggle {
  display: none;
}

.header__button {
  display: none;
  flex-direction: column;
  gap: 0.8rem;
  cursor: pointer;
}

.header__button span {
  display: block;
  width: 2rem;
  height: 0.2rem;
  background: #fff;
  transition: 0.3s;
}

.header__nav {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #080202;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.header__toggle:checked~.header__nav {
  transform: translateX(0);
}

.header__list {
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem;
}

.header__button {
  display: flex;
}

.header__toggle:checked+.header__button span:nth-child(1) {
  transform: rotate(45deg) translateY(6px);
  transform-origin: left center;
}

.header__toggle:checked+.header__button span:nth-child(2) {
  opacity: 0;
}

.header__toggle:checked+.header__button span:nth-child(3) {
  transform: rotate(-45deg) translateY(-6px);
  transform-origin: left center;
}

@media (min-width: 768px) {
  .header__nav {
    display: block;
    position: static;
    transform: none;
    background: none;
  }

  .header__list {
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
  }

  .header__button {
    display: none;
  }

  .header__toggle {
    display: none;
  }
}



/*  ファストビュー
------------------------------------------ */
.hero {
  position: relative;
  width: 100%;
  height: 50vh;
  overflow: hidden;
}

.hero__bg {
  width: 100%;
  height: 100%;
  background-image: url("../img/background-top0001.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 5vw, 3rem);
}

@media (min-width: 768px) {
  .hero__bg {
    background-image: url("../img/background-top0000.png");
  }
}

.hero__text {
  text-align: center;
  color: #fff;
  max-width: clamp(300px, 90%, 700px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero__title {
  background-color: #ec1000;
  padding: 0.3em 0.5em;
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: bold;
  color: #fff;
  line-height: 1.2;
  border-radius: 0.3rem;
}

.hero__subtitle {
  margin-top: clamp(1rem, 3vw, 2rem);
  font-size: clamp(1.25rem, 4vw, 2.25rem);
  font-weight: bold;
  line-height: 1.4;
}

.hero__subtitle span {
  display: block;
  font-size: clamp(1rem, 3vw, 1.5rem);
  font-weight: normal;
}

.hero__bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}

.hero__text {
  position: relative;
  z-index: 1;
}



/*  目次
------------------------------------------ */
.qualification-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: auto;
  padding: 0.6rem;
}


@media (min-width: 768px) {
  .qualification-container {
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
  }
}

.qualification-card {
  background: linear-gradient(to bottom, #1f68d6, #2c3e50);
  border-radius: 10px;
  text-align: center;
  color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100px;
}

.qualification-card:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.qualification-card:nth-child(2) {
  background: linear-gradient(to bottom, #46698e, #2b3a4d);
}

.qualification-card:nth-child(3) {
  background: linear-gradient(to bottom, #3b7d71, #2c4d46);
}

.qualification-card:nth-child(4) {
  background: linear-gradient(to bottom, #708b4d, #4b5e36);
}

.qualification-card:nth-child(5) {
  background: linear-gradient(to bottom, #806a4d, #5a4532);
}

.qualification-card:nth-child(6) {
  background: linear-gradient(to bottom, #c98a4c, #9c5e2f);
}

.qualification-title {
  font-size: clamp(0.75rem, 1vw, 0.9rem);
  font-weight: bold;
  color: rgb(223, 223, 223);
  padding: 0.4rem 0.7rem;
  border-radius: 0.5rem;
  display: inline-block;
  margin: 0.8rem 0 0.3rem;
}

.qualification-plan {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  font-weight: bold;
  margin-bottom: 0.3rem;
}

.qualification-price {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.qualification-card.open .qualification-price i {
  transform: rotate(180deg);
}

.qualification-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.5s ease;
  padding: 0 1.2rem;
  text-align: left;
}

.qualification-card.open .qualification-answer {
  max-height: 500px;
  opacity: 1;
  margin-bottom: 1rem;
}


/*  自己紹介 self-introduction
------------------------------------------ */
.self-introduction {
  padding: clamp(2rem, 5vw, 4rem) 1rem;
  color: #ffffff;
}

.self-introduction-outer {
  max-width: 1024px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.self-introduction-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  text-align: center;
  margin-bottom: 1rem;
}

.self-introduction-inner {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
}

.self-introduction-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: clamp(10rem, 50vw, 20rem);
  width: 100%;
}

.self-introduction-img img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 0.3rem 1rem rgba(0, 0, 0, 0.1);
}

.self-introduction-img-text {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  text-align: center;
  margin-top: 0.5rem;
  color: #cf3737;
  text-shadow: 1px 1px 1rem #ffffff;
}

.self-introduction-text {
  font-size: clamp(1rem, 3vw, 1.25rem);
  line-height: 1.7;
  max-width: 45rem;
  padding: 0 1rem;
  margin: 0 auto;
  color: #ffffff;
}

/* PCサイズで横並びにする */
@media (min-width: 768px) {
  .self-introduction-inner {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .self-introduction-text {
    text-align: left;
  }
}


/*  フッター
------------------------------------------ */
.footer {
  background-color: #222;
  color: #ccc;
  padding: clamp(1rem, 2vw, 2rem) 1rem 0;
  font-size: 0.9rem;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer__logo img {
  width: clamp(100px, 20vw, 200px);
  height: auto;
}

.footer__nav {
  width: 100%;
}

.footer__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(0.4rem, 1vw, 1.5rem);
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__list li a {
  color: #ccc;
  text-decoration: none;
  padding: 0.5rem 1rem;
  display: block;
  transition: color 0.3s ease;
}

.footer__list li a:hover {
  color: #ca353b;
}

.footer__copy {
  text-align: center;
  padding: 1rem 0;
  font-size: clamp(0.7rem, 1vw, 0.9rem);
  font-family: 'Arial', sans-serif;
  color: #888;
  border-top: 1px solid #444;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer__nav {
    flex: 1;
  }

  .footer__list {
    justify-content: center;
  }
}