@charset "UTF-8";

/*----------------------------------------

	PC閲覧用
	- box1
	- box2
	
	SP閲覧用
	- box1
	- box2
	
-----------------------------------------*/
.red {
  color: red;
  font-weight: bold;
  font-size: inherit;
}

@media (min-width: 481px) {
  #box1 .inner {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
  }

  #box1 .inner p {
    width: 65%;
    line-height: 1.7;
  }

  #box1 .inner figure {
    width: 30%;
    margin-bottom: 15px;
  }
}

#box1 .inner p {
  margin-bottom: 15px;
}

#box1 .inner .img>img {
  width: 100%;
}

/* ==========================================================
	PC閲覧用 481px以上
========================================================== */
@media print,
screen and (min-width: 481px) {

  /*----------------------------------------
 box1
-----------------------------------------*/
  #box1 .inner {
    margin-top: 30px;
  }

  /*----------------------------------------
	クラス紹介
----------------------------------------*/
  #class_box .blue_box dd ul {
    margin-bottom: 1rem;
  }

  #class_box .blue_box dd li:last-child {
    color: #3eb2d4;
    font-weight: bold;
  }

  #class_box .blue_box dd li:last-child span {
    padding: 0 0.5rem;
  }

  #class_box .blue_box {
    padding: 3px;
    margin-top: 20px;
    background: url(../../img/cmn_main_color02.gif);
    margin-bottom: 20px;
  }

  #class_box .blue_box dl {
    padding: 15px;
    background: #fff;
    line-height: 1.7;
  }

  #class_box .blue_box dt {
    color: #3eb2d4;
    padding-bottom: 5px;
    margin-bottom: 8px;
    border-bottom: 1px dotted #3eb2d4;
    font-size: 120%;
    font-weight: bold;
  }

  #class_box dd:nth-child(n+2) {
    margin-top: 3px;
  }

  .red {
    color: #cc3333;
  }

  .blue_container {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
  }

  .blue_container .blue_inner {
    width: 430px;
  }

  .blue_container figure {
    width: 250px;
    padding: 10px;
    background-color: #fff;
  }

  .blue_container figure img {
    width: 100%;
    height: auto;
  }
}

/* ==========================================================
	SP閲覧用 480px以下
========================================================== */
@media screen and (max-width: 480px) {

  /*----------------------------------------
 box1
-----------------------------------------*/
  #box1 .inner {
    margin-top: 30px;
  }

  #box1 .img {
    width: 100%;
    height: auto;
  }

  /*----------------------------------------
	クラス紹介
----------------------------------------*/
  #class_box .blue_box dd ul {
    margin-bottom: 1rem;
  }

  #class_box .blue_box dd li:last-child {
    color: #3eb2d4;
    font-weight: bold;
  }

  #class_box .blue_box dd li:last-child span {
    padding: 0 0.5rem;
  }

  #class_box .blue_box {
    padding: 3px;
    margin: 20px 0;
    background: url(../../img/cmn_main_color02.gif);
  }

  #class_box .blue_box dl {
    padding: 15px;
    background: #fff;
  }

  #class_box .blue_box dt {
    color: #3eb2d4;
    padding-bottom: 5px;
    margin-bottom: 8px;
    border-bottom: 1px dotted #3eb2d4;
    font-size: 120%;
    font-weight: bold;
  }

  #class_box .nittei {
    color: #3eb2d4;
  }

  .red {
    color: #cc3333;
  }

  .blue_container figure {
    box-sizing: border-box;
    padding: 10px 2% 15px;
    background-color: #fff;
  }

  .blue_container figure img {
    width: 100%;
    height: auto;
  }

  #box1 .blue_container figure img {
    margin-top: 0;
  }
}