*{
  margin: 0;
  padding: 0;
  color: inherit;
  text-decoration: none;
  font-style: normal;
  font-family: inherit;
  font-size: inherit;
  list-style: none;
  box-sizing: border-box;
  border-collapse: collapse;
  outline: inherit;
}

:root{
  --blue:#2E5077;
  --green:#4DA1A9;
  --deep-green:#1c7178;
  --light-green:#79D7BE;
  --bright-green:#c5e8df;
  --ivory:#F6F4F0;
  --accent-color:#ffa200;
  --invalid-color: #b4b4b4;
  --invalid-back-color: #fbfbfb;
}

html{
  width: 100%;
  height: 100%;
  height: -webkit-fill-available;
  font-size: 10px;
}

body{
  min-height: 100vh;
  color: #000;
  line-height: 1.8;
  font-family: "Noto Sans JP", sans-serif;
  background: var(--green);
}

.container{
  width: 600px;
  height: 100%;
  height: 100dvh;
  margin: 0 auto;
  position: relative;
}

.flex{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

a{
  display: block;
}

img{
  max-width: 100%;
}

/* -----------------------ヘッダー----------------------- */
header {
  width: 600px;
  height: 60px;
  background: var(--green);
  color: var(--ivory);
  display: flex;
  justify-content: left;
  align-items: center;
  position: fixed;
  top: 0;
  z-index: 100;
}

.header_inner{
  width: 100%;
  position: relative;
  user-select: none;
}

.header_inner h1 {
  font-size: 2rem;
  padding-left: 10px;
}

.header_inner h1 a{
  display: inline-block;
}

/* -----------------------メニュー----------------------- */
.menu-wrapper{
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* メニュー非表示用 */
.menu-toggle {
  display: none;
}

/* ハンバーガーの見た目 */
.hamburger {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  width: 45px;
  height: 45px;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 10px;
  z-index: 200;
}

/* ハンバーガーの線 */
.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--ivory);
  transition: 0.3s;
  position: absolute;
}

/* 1本目（上の線） */
.hamburger span:nth-child(1) {
  top: 12px;
}

/* 2本目（中央の線） */
.hamburger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

/* 3本目（下の線） */
.hamburger span:nth-child(3) {
  bottom: 12px;
}

/* チェック時のアニメーション */
.menu-toggle:checked + .hamburger{
  background: none;
}

.menu-toggle:checked + .hamburger span{
  background: var(--deep-green);
}

.menu-toggle:checked + .hamburger span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  right: 10px;
}

.menu-toggle:checked + .hamburger span:nth-child(2) {
  opacity: 0;
}

.menu-toggle:checked + .hamburger span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  right: 10px;
}

/* メニューの表示 */
.menu {
  display: none;
  color: var(--deep-green);
}

.menu-toggle:checked ~ .menu {
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  width: 600px;
  background: var(--ivory);
  border: 4px solid var(--deep-green);
  border-radius: 10px;
  font-size: 1.8rem;
  font-weight: bold;
  text-align: center;
  padding-top: 40px;
  animation: slideIn 0.3s ease-in-out forwards;
}
@keyframes slideIn {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.menu li a {
  padding: 15px 0;
}

.menu li a:hover {
  background: var(--deep-green);
  color: var(--ivory);
  transition: 0.2s linear;
}

/* -----------------------カテゴリー選択----------------------- */
.category_wrapper{
  margin-top: 60px;
}

.category_inner h2{
  font-size: 2rem;
}

.category_inner a{
  height: 100px;
  background: var(--ivory);
  color: var(--deep-green);
  margin-bottom: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
}

.category_inner a:hover {
  background: #d6eae4;
  transition: 0.2s linear;
}

/* -----------------------コンテンツページ----------------------- */
.study_cnt_inner{
  width: 100%;
  height: calc(100dvh - 60px);
  font-size: 1.6rem;
  background: #fff;
  margin-top: 60px;
  padding-bottom: 93px;
  position: relative;
  overflow-y: scroll;
}

.study_cnt_inner h2{
  font-size: 3rem;
  text-align: center;
  background: var(--bright-green);
  color: var(--deep-green);
}

.study_cnt_inner .section{
  padding: 20px;
}

.study_cnt_inner h3 {
  color: var(--accent-color);
  font-size: 2rem;
  padding: 0 10px;
  margin-bottom: 10px;
  border-left: 5px solid var(--accent-color);
}

.study_cnt_inner p>span{
  font-weight: bold;
  background: rgba(255, 162, 0, 0.2);
}

.study_cnt_inner p>span.p_red{
  color: red;
  background: inherit;
}

/* SC_01 */
.table{
  border: solid 1px #ccc;
  margin-top: 10px;
}

.t_inner{
  border: solid 1px #ccc;
  padding: 10px;
}

.t_inner h4{
  background: var(--bright-green);
  border-radius: 20px;
  display: inline-block;
  padding: 0 10px;
  margin-bottom: 15px;
}

.t_inner ul{
  justify-content: left;
}

.t_inner .text2{
  justify-content: space-between;
  width: 300px;
  height: 40px;
}

.t_inner li{
  height: 50px;
  padding: 0 5px;
}

.t_inner .text1 li{
  width: 60px;
  height: 40px;
  text-align: center;
}

.t_inner .color_block1 li{
  width: 60px;
  height: 60px;
  background: #3243ff;
  margin: 0 5px 15px;
}

.t_inner .color_block1 li:nth-of-type(2){
  background: #ccff32;
}

.t_inner .color_block1 li:nth-of-type(3){
  background: #ff3254;
}

.t_inner .color_block2 li{
  width: 60px;
  height: 60px;
  background: #000000;
  margin: 0 5px 15px;
}

.t_inner .color_block2 li:nth-of-type(2){
  background: #8f8f8f;
}

.t_inner .color_block2 li:nth-of-type(3){
  background: #ffffff;
  border: 1px solid #000;
}

.t_inner img{
  width: 50px;
}

/* SC_02 */
#SC_02 figure{
  margin: 20px 0;
  max-width: 300px;
  text-align: center;
}

.hue_circle img{
  width: 250px;
}

.color_solid img{
  width: 300px;
}

/* SC_03 */
#SC_03 figure{
  margin: 15px 0;
}

.pccs_hue_circle img{
  width: 300px;
}

.pccs_hue_table ul{
  font-size: 1.4rem;
  justify-content: left;
}

.pccs_hue_table li{
  width: 25%;
  border-right: 1px solid #ccc;
  border-top: 1px solid #ccc;
  padding: 5px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.pccs_hue_table li:first-of-type{
  background: #faf8de;
  border-left: 1px solid #ccc;
}

.pccs_hue_table li:nth-of-type(3){
  background: #faf8de;
}

.pccs_hue_table ul:last-of-type li{
  border-bottom: 1px solid #ccc;
}

.pccs_hue_table li>span{
  font-weight: bold;
  width: 100%;
}

.pht_top{
  font-weight: bold;
}

.pht_top li:first-of-type,.pht_top li:nth-of-type(3){
  background: #efeaa7;
}

.pht_top li:nth-of-type(2),.pht_top li:nth-of-type(4){
  background: #e1e1e1;
}

/* SC_04 */
#SC_04 figure{
  margin: 15px 0;
}

.pccs_tone_table:first-of-type{
  margin-top: 30px;
}

.pccs_tone_table h4{
  width: 99%;
  background: #efcba7;
  border-top: 1px solid #ccc;
  border-right: 1px solid #ccc;
  border-left: 1px solid #ccc;
  text-align: center;
}

.pccs_tone_table:last-of-type h4{
  background: #a7d6ef;
}

.pccs_tone_table ul{
  font-size: 1.4rem;
  justify-content: left;
}

.pccs_tone_table li{
  width: 33%;
  background: #f5ece4;
  border-right: 1px solid #ccc;
  border-top: 1px solid #ccc;
  padding: 5px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.pccs_tone_table:last-of-type li{
  background: #e3f0f7;
}

.pccs_tone_table li:first-of-type{
  border-left: 1px solid #ccc;
  justify-content: center;
  font-weight: bold;
}

.pccs_tone_table ul:last-of-type li{
  border-bottom: 1px solid #ccc;
}

.ptt_top{
  font-weight: bold;
}

.ptt_top li{
  background: #fff!important;
  justify-content: center;
}

/* SC_05 */
.color_name_table:first-of-type{
  margin-top: 30px;
}

.color_name_table ul{
  font-size: 1.4rem;
  justify-content: left;
  width: 100%;
}

.color_name_table li{
  border-right: 1px solid #ccc;
  border-top: 1px solid #ccc;
  padding: 5px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.color_name_table li:first-of-type{
  border-left: 1px solid #ccc;
  justify-content: center;
  width: 10%;
  font-size: 3rem;
  text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5);
}

.color_name_table li:nth-of-type(2){
  justify-content: center;
  font-weight: bold;
  width: 25%;
}

.color_name_table li:last-of-type{
  width: 65%;
}

.color_name_table ul:last-of-type li{
  border-bottom: 1px solid #ccc;
}

.magenta{
  color: #e4007f;
}

.asagi{
  color: #00a1ae;
}

.carmine{
  color: #d7003a;
}

.scarlet{
  color: #ea5539;
}

.syu{
  color: #e94709;
}

.moegi{
  color: #afd147;
}

.gunjo{
  color: #4e67b0;
}

.kinari{
  color: #fbfaf3;
}

.marigold{
  color: 	#f39800;
}

.violet{
  color: #714f9d;
}

.mauve{
  color: #915da3;
}

.viridian{
  color: #008969;
}

.sepia{
  color:#6f4e27
}

.akane{
  color: #b7282d;
}

.ruri{
  color: #1d50a2;
}

.cobalt_blue{
  color: #0068b7;
}

/* SC_06 */
#SC_06 figure{
  margin: 20px 0;
  max-width: 450px;
  text-align: center;
}

.rbg_2{
  padding-bottom: 30px;
}

.rbg_1 img,.cmyk_1 img{
  width: 300px;
}

.rbg_2 img,.cmyk_2 img{
  width: 450px;
}

.eye_part_table ul{
  font-size: 1.4rem;
  justify-content: left;
  width: 100%;
}

.eye_part_table li{
  border-right: 1px solid #ccc;
  border-top: 1px solid #ccc;
  padding: 5px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.eye_part_table li:first-of-type{
  background: #faf8de;
  border-left: 1px solid #ccc;
  justify-content: center;
  width: 20%;
  font-weight: bold;
}

.eye_part_table li:nth-of-type(2){
  text-align: justify;
  width: 80%;
}

.eye_part_table ul:last-of-type li{
  border-bottom: 1px solid #ccc;
}

/* SC_07 */
#SC_07 figure{
  margin: 10px 0 20px;
}

/* SC_08 */
#SC_08 figure{
  margin: 10px 0 20px;
}

/* SC_09 */
#SC_09 p{
  border-bottom: 1px dashed var(--green);
  padding: 5px 0;
  margin: 5px 10px 0;
  text-align: justify;
}

/* page_btn */
.page_btn{
  width: 600px;
  background: var(--green);
  padding: 20px 0;
  position: fixed;
  bottom: 0;
}

.common-btn,.common-btn-invalid,.btn_back a{
  background: var(--ivory);
  border-radius: 10px;
  color: var(--deep-green);
  font-size: 1.8rem;
  font-weight: bold;
  padding: 10px 20px;
  margin: 0 20px;
  user-select: none;
}

.common-btn{
  cursor: pointer;
}

.common-btn-invalid{
  background-color: var(--invalid-back-color);
  color: var(--invalid-color);
}

.common-btn:hover,.btn_back a:hover {
  background: var(--deep-green);
  color: var(--ivory);
  transition: 0.2s linear;
}

.bx{
  vertical-align: middle;
  margin-bottom: 4px;
}

.bx-revision{
  font-size: 2.1rem;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .container{
    width: 485px;
  }
  
  /* -----------------------ヘッダー----------------------- */
  header {
    width: 485px;
    height: 50px;
  }

  .header_inner h1 {
    font-size: 1.8rem;
  }

  /* -----------------------メニュー----------------------- */
  .menu-toggle:checked ~ .menu {
    width: 485px;
    font-size: 1.6rem;
  }

  /* -----------------------カテゴリー選択----------------------- */
  .category_wrapper{
    margin-top: 50px;
  }

  .category_inner h2{
    font-size: 1.8rem;
  }

  .category_inner a{
    height: 80px;
  }
  /* -----------------------コンテンツページ----------------------- */
  .study_cnt_inner{
    height: calc(100dvh - 50px);
    font-size: 1.4rem;
    margin-top: 50px;
  }

  .study_cnt_inner h2{
    font-size: 2.5rem;
  }

  .study_cnt_inner .section{
    padding: 15px;
  }
  
  .study_cnt_inner h3 {
    font-size: 1.8rem;
  }

  .section p{
    line-height: 2rem;
  }

  /* page_btn */
  .page_btn{
    width: 486px;
  }

  .common-btn,.common-btn-invalid,.btn_back a{
    font-size: 1.6rem;
    padding: 5px 10px;
    margin: 0 auto;
  }

  .bx-revision{
    font-size: 1.9rem;
  }
}

@media screen and (max-width: 500px) {
  .container{
    width: 100%;
  }
  
  /* -----------------------ヘッダー----------------------- */
  header {
    width: 100%;
  }

  /* -----------------------メニュー----------------------- */
  .menu-toggle:checked ~ .menu {
    width: 100vw;
  }

  /* -----------------------コンテンツページ----------------------- */
  .study_cnt_inner{
    font-size: 1.3rem;
    margin-bottom: 75px;
  }

  .study_cnt_inner h2{
    font-size: 2rem;
  }
  
  .study_cnt_inner h3 {
    font-size: 1.6rem;
  }

  /* SC_01 */
  .t_inner{
    padding: 10px 5px;
  }

  .t_inner .text2{
    width: 250px;
    height: 30px;
  }

  .t_inner li{
    height: 45px;
  }

  .t_inner .text1 li{
    width: 50px;
    height: 30px;
  }

  .t_inner .color_block1 li,.t_inner .color_block2 li{
    width: 50px;
    height: 50px;
  }

  .t_inner img{
    width: 40px;
  }

  /* SC_03.04.05.06 */
  .pccs_hue_table ul,.pccs_tone_table ul,.color_name_table ul,.eye_part_table ul{
    font-size: 1.3rem;
    line-height: 2rem;
  }

  /* SC_05 */
  .color_name_table li:first-of-type{
    font-size: 2.5rem;
  }

  /* page_btn */
  .page_btn{
    width: 100%;
  }

  .common-btn,.common-btn-invalid,.btn_back a{
    font-size: 1.3rem;
  }

  .bx-revision{
    font-size: 1.6rem;
  }
}