﻿@charset "utf-8";

article {
  margin-top: 80px;
}

article section#skill > div:first-of-type {
  width: var(--main_width);
  height: auto;
  display: grid;
  grid-template-columns: 41.5% 1fr;
  column-gap: 4%;
}
article section#skill > div:first-of-type > img {
  width: 100%;
  height: auto;
  border-top-right-radius: min(50px, 4.03vw);
  border-bottom-right-radius: min(50px, 4.03vw);
  margin-top: max(0px, calc(-41.89vw + 510.86px));
}
article section#skill > div:first-of-type > div {
  padding-right: 7vw;
  padding-top: 100px;
}
article section#skill > div:first-of-type p {
  color: #fff;
}
article section#skill > div:first-of-type p:first-of-type {
  font-size: 3rem;
  font-family: var(--font_main);
}
article section#skill > div:first-of-type p:last-of-type {
  font-size: 2rem;
  font-family: var(--font_maru);
  text-indent: 1em;
  text-align: justify;
  margin-top: 20px;
  line-height: 1.6;
}
article section#skill > div:last-of-type {
  margin-top: 60px;
  width: var(--main_width);
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 7vw;
}
@media screen and (max-width: 859px) {
  article section#skill > div:first-of-type {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    justify-items: center;
  }
  article section#skill > div:first-of-type img {
    border-radius: min(40px, 3.23vw);
    margin-top: 100px;
  }
  article section#skill > div:first-of-type > div {
    padding: 30px 5vw;
  }
  article section#skill > div:first-of-type p:first-of-type {
    text-align: center;
  }
}
@media screen and (min-width: 500px) {
  article section#skill {
    background-color: #00885e;
    background-image: url(../images/wave_over.png),
      url(../images/wave_under.png);
    background-position: top center, bottom center;
    background-repeat: repeat-x, repeat-x;
    padding-bottom: 70px;
  }
  article section#skill > div:last-of-type > div:first-of-type {
    text-align: right;
  }
  article section#skill > div:last-of-type > div:last-of-type {
    text-align: left;
  }
  article section#skill > div:last-of-type > div > img {
    width: min(400px, 100%);
    border-radius: min(40px, 3.23vw);
  }
}
@media screen and (max-width: 499px) {
  article section#skill {
    background-color: #00885e;
    padding: 30px 1vw;
  }
  article section#skill > div:first-of-type img {
    border-radius: min(40px, 3.23vw);
    margin-top: 0px;
  }
  article section#skill > div:last-of-type {
    margin-top: 10px;
    width: var(--main_width);
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    row-gap: 10px;
  }
  article section#skill > div:last-of-type > div > img {
    width: 100%;
    border-radius: min(40px, 3.23vw);
  }
}
@media screen and (max-width: 479px) {
  article section#skill > div:first-of-type p:first-of-type {
    line-height: 0.5;
  }
  article section#skill > div:first-of-type p:first-of-type > span::before {
    content: "\A";
    white-space: pre;
  }
}

article section:not(#skill) > div {
  width: var(--main_width);
  height: auto;
}
article p.sub_title {
  font-size: 4.3rem;
  text-align: center;
  font-family: var(--font_main);
}

article section#yume {
  background-color: var(--sub_color_1);
  padding-top: 50px;
}
article section#yume > div {
  padding: 0px min(120px, 10vw);
}
article section#yume > div > p.sub_title {
  color: var(--main_color);
}
article section#yume > div > p:not(.sub_title) {
  font-size: 2.1rem;
  font-family: var(--font_maru);
  text-align: justify;
  text-indent: 1em;
  line-height: 1.6;
}
article section#yume > div > p:nth-of-type(2) {
  margin-top: 40px;
}
@media screen and (max-width: 859px) {
  article section#yume > div {
    padding: 0px 5vw;
  }
}
@media screen and (min-width: 400px) {
  article section#yume > div > p.sub_title > span::before {
    content: "・";
    color: var(--main_color);
    font-size: 4.3rem;
    font-family: var(--font_main);
  }
}
@media screen and (max-width: 399px) {
  article section#yume > div > p.sub_title {
    line-height: 0.5;
  }
  article section#yume > div > p.sub_title > span::before {
    content: "\A";
    white-space: pre;
  }
}
/* #region profile */
article section#profile {
  background-color: var(--sub_color_1);
  padding-top: 80px;
  padding-bottom: 80px;
  background-image: url(../images/circle.png);
  background-repeat: repeat-x;
  background-position: bottom;
}
article section#profile > div:first-of-type > p {
  color: var(--main_color);
}
article section#profile > div:nth-of-type(2) {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 30% 1fr;
  column-gap: min(70px, 4vw);
  padding: 0px min(120px, 10vw) 0px min(170px, 13.7vw);
}
article section#profile > div:nth-of-type(2) > div p,
article section#profile > div:nth-of-type(2) > div li {
  font-family: var(--font_maru);
}
article
  section#profile
  > div:nth-of-type(2)
  > div:first-of-type
  > p:first-of-type {
  font-size: 2.4rem;
}
article
  section#profile
  > div:nth-of-type(2)
  > div:first-of-type
  > p:nth-of-type(2) {
  font-size: 3rem;
}
article
  section#profile
  > div:nth-of-type(2)
  > div:first-of-type
  > p:nth-of-type(3) {
  font-size: 2.1rem;
  color: var(--main_color);
  margin-top: 10px;
}
article section#profile > div:nth-of-type(2) > div:first-of-type > ul {
  list-style-type: square;
  padding-left: 2em;
}
article section#profile > div:nth-of-type(2) > div:first-of-type > ul li {
  font-size: 1.8rem;
}
article section#profile > div:nth-of-type(2) > div:nth-of-type(2) p,
article section#profile > div:nth-of-type(2) > div:nth-of-type(2) li {
  font-size: 1.9rem;
}
article section#profile > div:nth-of-type(2) > div:nth-of-type(2) > ul {
  padding-left: 2em;
}
@media screen and (max-width: 859px) {
  article section#profile > div:nth-of-type(2) {
    padding: 0px 5vw;
  }
}
@media screen and (min-width: 730px) {
  article
    section#profile
    > div:nth-of-type(2)
    > div:first-of-type
    > ul
    li
    > span::before {
    content: "\A";
    white-space: pre;
  }
}
@media screen and (max-width: 409px) {
  article
    section#profile
    > div:nth-of-type(2)
    > div:first-of-type
    > ul
    li
    > span::before {
    content: "\A";
    white-space: pre;
  }
}
@media screen and (max-width: 729px) {
  article section#profile > div:nth-of-type(2) {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    row-gap: 20px;
  }
  article
    section#profile
    > div:nth-of-type(2)
    > div:first-of-type
    > p:first-of-type,
  article
    section#profile
    > div:nth-of-type(2)
    > div:first-of-type
    > p:nth-of-type(2) {
    text-align: center;
  }
}
/* #endregion */
article section#photo {
  background-color: var(--sub_color_2);
  margin-top: -29.5px;
}
article section#photo > div {
  display: grid;
  grid-template-columns: repeat(2, 50%);
}
article section#photo > div img {
  width: 100%;
  height: auto;
}
@media screen and (max-width: 599px) {
  article section#photo > div {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    row-gap: 5px;
    padding: 0px 0.5vw;
  }
  article section#photo > div img {
    border-radius: 3.23vw;
  }
}

article section#setsubi {
  background-color: var(--sub_color_2);
  padding-top: 80px;
}
article section#setsubi > div {
  padding: 0px min(170px, 13.7vw);
}
article section#setsubi > div > p {
  color: #fff;
}
article section#setsubi > div > ul {
  list-style: none outside none;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 20px;
}
article section#setsubi > div > ul li {
  font-family: var(--font_maru);
  color: #fff;
  font-size: 2.1rem;
  width: fit-content;
}
article section#setsubi > div > ul li::before {
  content: "\025cf";
}
article section#setsubi > div > ul li::after {
  content: "\02003";
}
@media screen and (max-width: 999px) {
  article section#setsubi > div {
    padding: 0px 8vw;
  }
}
/* #region course */
article section#course {
  background-color: var(--sub_color_2);
  padding-top: 110px;
  padding-bottom: 50px;
}
article section#course > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 410px;
  column-gap: 2.4vw;
  padding: 0px min(120px, 10vw);
}
article section#course > div > div {
  width: 100%;
  height: 100%;
  border-radius: min(30px, 2.4vw);
  background-color: #fff;
  box-shadow: 5px 5px 0px rgba(101, 160, 218, 1);
  padding: 0px 10px;
}
article section#course > div > div > img {
  width: 220px;
  height: auto;
  position: relative;
  top: -40px;
}
article section#course > div > div > div {
  text-align: right;
  font-family: var(--font_main);
  font-size: 3rem;
  color: var(--main_color);
  --haba: 1.4px;
  --iro: #fff;
  text-shadow: var(--haba) var(--haba) 0 var(--iro),
    calc(var(--haba) * -1) calc(var(--haba) * -1) 0 var(--iro),
    calc(var(--haba) * -1) var(--haba) 0 var(--iro),
    var(--haba) calc(var(--haba) * -1) 0 var(--iro),
    0px var(--haba) 0 var(--iro), 0 calc(var(--haba) * -1) 0 var(--iro),
    calc(var(--haba) * -1) 0 0 var(--iro), var(--haba) 0 0 var(--iro);
  line-height: 1;
  position: relative;
  top: -100px;
  z-index: 1;
}
article section#course > div > div > p,
article section#course > div > div > ul {
  position: relative;
  top: -80px;
}
article section#course > div > div > p,
article section#course > div > div > ul li {
  font-size: 2rem;
  font-family: var(--font_maru);
  line-height: 1.4;
}
article section#course > div > div > p {
  text-indent: 1em;
  text-align: justify;
  line-height: 1.3;
}
article section#course > div > div > ul {
  list-style: none outside none;
  padding-left: 1em;
}
article section#course > div > div > ul > li::before {
  content: "\025cf";
}
article section#course > div > div > ul > li > ul {
  list-style: none outside none;
  padding-left: 1em;
}
article section#course > div > div > ul > li > ul > li {
  font-size: 1.4rem !important;
}
article section#course > div > div > ul > li > ul > li::before {
  content: "\0203b";
}
@media screen and (max-width: 1099px) {
  article section#course > div {
    padding: 0px min(120px, 6vw);
  }
}
@media screen and (max-width: 959px) {
  article section#course > div {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 410px);
    column-gap: 5vw;
    row-gap: 80px;
    padding: 0px min(120px, 5vw);
  }
}
@media screen and (min-width: 580px) and (max-width: 730px) {
  article section#course > div > div > div {
    font-size: clamp(2.5rem, calc(3.33vw + 0.56667rem), 30rem);
  }
}
@media screen and (max-width: 579px) {
  article section#course > div {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 410px);
    row-gap: 80px;
    padding: 0px min(120px, 10vw);
  }
  article section#course > div > div > div {
    font-size: 3rem;
  }
}
/* #endregion */

article section#syuttyou {
  background-color: var(--sub_color_2);
}
article section#syuttyou > div {
  padding: 0px min(120px, 10vw);
}
article section#syuttyou > div > div {
  width: 100%;
  border-radius: min(30px, 2.4vw);
  background-color: #fffbdd;
  font-size: 3.4rem;
  font-family: var(--font_main);
  color: var(--main_color);
  text-align: justify;
  padding: 15px min(70px, 5vw);
}
@media screen and (max-width: 829px) {
  article section#syuttyou > div {
    padding: 0px 5vw;
  }
}
@media screen and (max-width: 499px) {
  article section#syuttyou > div > div {
    font-size: clamp(2.5rem, calc(5.04vw + 0.78705rem), 3.3rem);
  }
}

article section#yotei {
  background-color: var(--sub_color_2);
  padding-top: 80px;
  padding-bottom: 40px;
}
article section#yotei > div > p {
  color: #fff;
}
article section#yotei > div > div {
  margin: 30px auto 0px auto;
  width: min(1140px, 100%);
}
@media screen and (max-width: 1139px) {
  article section#yotei > div > div {
    /**/
    overflow-x: scroll;
    /**/
  }
}
article section#yotei > div > div > table {
  margin: 0px auto;
  border-collapse: collapse;
  width: 1140px;
}
article section#yotei > div > div > table th,
article section#yotei > div > div > table td {
  font-family: var(--font_maru);
  font-size: 2rem;
  border: 1px solid #aaa;
}
article section#yotei > div > div > table th {
  background-color: #f4f1ea;
  text-align: left;
  font-weight: normal;
  padding: 5px 10px 5px 10px;
  width: min(201px, 49vw);
  /**/
  position: sticky;
  left: 0;
  /**/
}
/**/
article section#yotei > div > div > table th::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 100%;
  height: 100%;
  border: 1px solid #aaa;
}
/**/
article section#yotei > div > div > table th > span {
  font-size: 80%;
}
article section#yotei > div > div > table td {
  text-align: center;
  padding: 5px 5px 5px 5px;
  width: 131px;
}
article section#yotei > div > div > table tr:first-child td:nth-child(2) {
  background-color: #e1d2e5;
}
article section#yotei > div > div > table tr:first-child td:nth-child(3) {
  background-color: #dee3f7;
}
article section#yotei > div > div > table tr:first-child td:nth-child(4) {
  background-color: #dbebe1;
}
article section#yotei > div > div > table tr:first-child td:nth-child(5) {
  background-color: #fffbdd;
}
article section#yotei > div > div > table tr:first-child td:nth-child(6) {
  background-color: #f9ebd1;
}
article section#yotei > div > div > table tr:first-child td:nth-child(7) {
  background-color: #daecfa;
}
article section#yotei > div > div > table tr:first-child td:last-child {
  background-color: #f2dce8;
}
article section#yotei > div > div > table tr:not(:first-child) td {
  background-color: #fff;
}
